:root {
  color-scheme: dark;
  font-family: "Sora", sans-serif;
  background: #060e26;
  color: #f5f7ff;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 50% 48%, #142b54 0%, #0b1836 38%, #060e26 75%);
}

.sky { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }

.star {
  position: absolute;
  top: -8px;
  left: var(--x);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: #e2edff;
  opacity: var(--opacity);
  box-shadow: 0 0 7px #b7d4ff55;
  animation: drift var(--duration) linear infinite;
  animation-delay: var(--delay);
}

main {
  position: relative;
  width: min(100%, 690px);
  padding: 64px 24px;
  text-align: center;
  animation: arrive 900ms ease-out both;
}

.logo { display: block; width: min(290px, 72%); height: auto; margin: 0 auto 42px; }

h1 {
  margin: 0 auto;
  max-width: 610px;
  font-size: clamp(23px, 4.2vw, 34px);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -1.1px;
  text-wrap: balance;
}

h1 span { color: #ff5c00; font-weight: 600; }

.actions { display: grid; gap: 16px; max-width: 430px; margin: 40px auto 0; }

.button {
  min-height: 78px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid transparent;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  text-align: left;
  transition: background 180ms, transform 180ms, box-shadow 180ms, border-color 180ms;
}

.button svg { flex: 0 0 42px; width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: #ffffff12; }
.button-label { flex: 1; }
.button-caption { display: block; margin-top: 4px; color: #aebfda; font-size: 11px; font-weight: 400; }
.arrow { margin-left: auto; font-size: 21px; font-weight: 400; opacity: .75; }
.button-primary { color: #062719; background: linear-gradient(120deg, #70efb1, #32cf8b); border-color: #a5ffd055; box-shadow: inset 0 1px 0 #ffffff40, 0 8px 30px #20c77d20; }
.button-primary svg { background: #063c2012; }
.button-secondary { color: #f3f6ff; background: linear-gradient(120deg, #233858b3, #152744cc); border-color: #91b1e044; box-shadow: inset 0 1px 0 #ffffff08, 0 8px 24px #00000015; }
.button[href]:hover { transform: translateY(-2px); }
.button-primary[href]:hover { box-shadow: inset 0 1px 0 #ffffff60, 0 10px 36px #20c77d38; border-color: #b8ffda; }
.button-secondary[href]:hover { background: #294467; border-color: #91b1e080; }
.button[href]:active { transform: translateY(0); }
.button:focus-visible { outline: 3px solid #b2d6ff; outline-offset: 5px; }
.button[aria-disabled="true"] { cursor: default; }

@keyframes drift { to { transform: translate3d(-80px, calc(100vh + 16px), 0); } }
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 380px) {
  main { padding-inline: 20px; }
  .button { padding-inline: 14px; gap: 10px; font-size: 12px; }
  .button svg { flex-basis: 36px; width: 36px; height: 36px; padding: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  main, .star { animation: none; }
  .star { top: var(--y); }
  .button { transition: none; }
}
