:root {
  --bg: #090d20;
  --bg-2: #10142e;
  --bg-3: #171c3d;
  --ink: #eef1fb;
  --ink-dim: #a8b0d0;
  --ink-faint: #6b7399;
  --accent: #ffd98a;
  --accent-2: #9db4ff;
  --line: rgba(157, 180, 255, 0.14);
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .brand {
  font-family: "Space Grotesk", "Inter", sans-serif;
  letter-spacing: -0.02em;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(9, 13, 32, 0.72);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.15rem; color: var(--ink);
}
.brand img { width: 34px; height: 34px; }
.brand:hover { text-decoration: none; }
nav.main { display: flex; gap: 26px; align-items: center; }
nav.main a { color: var(--ink-dim); font-size: 0.95rem; }
nav.main a:hover { color: var(--ink); text-decoration: none; }
nav.main a.cta {
  color: #0b0f24; background: var(--accent);
  padding: 8px 16px; border-radius: 999px; font-weight: 600;
}
nav.main a.cta:hover { filter: brightness(1.08); }
@media (max-width: 640px) { nav.main a:not(.cta) { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 80px;
  text-align: center;
  overflow: hidden;
}
#stars {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.hero .inner { position: relative; z-index: 2; }
.hero img.mark {
  width: 96px; height: 96px; margin-bottom: 28px;
  filter: drop-shadow(0 0 24px rgba(157, 180, 255, 0.45));
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700; line-height: 1.12;
  max-width: 720px; margin: 0 auto 20px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent) 20%, var(--accent-2) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede {
  color: var(--ink-dim); font-size: 1.15rem;
  max-width: 620px; margin: 0 auto 40px;
}

/* countdown */
.countdown {
  display: flex; justify-content: center; gap: 14px;
  margin-bottom: 44px; flex-wrap: wrap;
}
.countdown .cell {
  background: rgba(23, 28, 61, 0.65);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 92px; padding: 16px 10px 12px;
}
.countdown .num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.1rem; font-weight: 700; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.countdown .lbl {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink-faint);
}
.countdown-title {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--accent-2); margin-bottom: 16px;
}

/* store buttons */
.stores { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store-btn {
  display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: #0b0f24;
  border-radius: 14px; padding: 12px 22px;
  font-weight: 600; line-height: 1.2; text-align: left;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.store-btn:hover {
  text-decoration: none; transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(157, 180, 255, 0.25);
}
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn small { display: block; font-size: 0.68rem; font-weight: 500; opacity: 0.7; }
.store-btn span.name { font-size: 1.02rem; }

/* ---------- sections ---------- */
section.block { padding: 88px 0; position: relative; }
section.block.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--accent); margin-bottom: 14px;
}
section.block h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700;
  margin-bottom: 18px; max-width: 640px;
}
section.block p.sub { color: var(--ink-dim); max-width: 640px; margin-bottom: 48px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.card .step {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255, 217, 138, 0.12); color: var(--accent);
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.1rem;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--ink-dim); font-size: 0.95rem; }

/* why block */
.why-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 8px; }
.figure {
  border-left: 2px solid var(--accent);
  padding-left: 20px;
}
.figure strong {
  display: block; font-family: "Space Grotesk", sans-serif;
  font-size: 1.9rem; color: var(--ink); margin-bottom: 4px;
}
.figure span { color: var(--ink-dim); font-size: 0.95rem; }

/* final cta */
.final { text-align: center; padding: 110px 0; position: relative; overflow: hidden; }
.final h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 14px; }
.final p { color: var(--ink-dim); margin-bottom: 36px; }
.moon {
  position: absolute; top: -140px; left: 50%; transform: translateX(-50%);
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(157, 180, 255, 0.22), transparent 65%);
  pointer-events: none;
}

/* ---------- footer ---------- */
footer.site {
  border-top: 1px solid var(--line);
  padding: 44px 0 56px;
  color: var(--ink-faint); font-size: 0.9rem;
}
footer.site .wrap {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center;
}
footer.site nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer.site a { color: var(--ink-dim); }
footer.site a:hover { color: var(--ink); }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.7rem); margin-bottom: 8px; }
.legal .meta { color: var(--ink-faint); font-size: 0.9rem; margin-bottom: 44px; }
.legal h2 { font-size: 1.35rem; margin: 44px 0 14px; }
.legal h3 { font-size: 1.05rem; margin: 28px 0 10px; color: var(--accent-2); }
.legal p, .legal li { color: var(--ink-dim); }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 14px 22px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal .toc {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 26px; margin-bottom: 12px;
}
.legal .toc ul { margin: 0 0 0 20px; }
.legal .toc li { margin-bottom: 6px; }
