:root {
  --bg: #0a0a0f;
  --bg-elev: #11111a;
  --bg-card: #14141e;
  --ink: #f5f3ef;
  --ink-dim: #a9a4b3;
  --ink-mute: #6f6a7a;
  --accent: #ff4d6d;
  --accent-hot: #ff2e59;
  --accent-soft: #ff4d6d22;
  --rule: #22222e;
  --rule-soft: #1a1a25;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 20px 60px -20px #00000080, 0 2px 8px #00000040;
  --max: 1160px;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', 'Inter', Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* ─── decorative overlays ───────────────────────────────── */
.grid-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, #ffffff05 1px, transparent 1px),
    linear-gradient(to bottom, #ffffff05 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 40%, transparent 75%);
}
.glow {
  position: fixed; pointer-events: none; z-index: 0;
  width: 70vmax; height: 70vmax; border-radius: 50%;
  filter: blur(120px); opacity: 0.35;
}
.glow--top { top: -30vmax; right: -20vmax; background: radial-gradient(circle, #ff4d6d55, transparent 65%); }
.glow--bottom { bottom: -35vmax; left: -25vmax; background: radial-gradient(circle, #7a3bff44, transparent 65%); opacity: 0.3; }

/* ─── navigation ────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 48px);
  background: #0a0a0fcc;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule-soft);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand__word { color: var(--ink); }
.brand__word strong { color: var(--accent); font-weight: 700; }
.nav__links { display: flex; gap: 6px; align-items: center; }
.nav__links a {
  color: var(--ink-dim);
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color .15s, background .15s;
}
.nav__links a:hover { color: var(--ink); background: #ffffff06; }
.nav__cta {
  background: var(--accent);
  color: #1a0006 !important;
  font-weight: 600;
}
.nav__cta:hover { background: var(--accent-hot) !important; color: #1a0006 !important; }

@media (max-width: 640px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ─── hero ──────────────────────────────────────────────── */
main { position: relative; z-index: 1; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 14px;
}

.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(48px, 9vw, 120px) clamp(20px, 4vw, 48px) clamp(60px, 8vw, 110px);
  text-align: center;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(52px, 10vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
}
.hero__line { display: block; }
.hero__line--accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 700;
}
.hero__sub {
  max-width: 640px; margin: 0 auto 36px;
  color: var(--ink-dim);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
}
.hero__ctas {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 72px;
}
.hero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 720px; margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid var(--rule-soft);
}
.hero__stats div { display: flex; flex-direction: column; gap: 4px; }
.hero__stats strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hero__stats span { font-size: 13px; color: var(--ink-mute); }
@media (max-width: 640px) {
  .hero__stats { grid-template-columns: 1fr; gap: 18px; text-align: center; }
}

/* ─── buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s, border-color .15s, color .15s;
  white-space: nowrap;
  background: none;
  position: relative;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--accent);
  color: #1a0006;
  box-shadow: 0 10px 30px -8px #ff4d6d66;
}
.btn--primary:hover { background: var(--accent-hot); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--full { width: 100%; padding: 16px 24px; font-size: 16px; }
.btn__spinner { display: none; width: 18px; height: 18px; border: 2px solid #1a0006; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.btn.is-loading .btn__label { opacity: 0.5; }
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── sections ──────────────────────────────────────────── */
section { position: relative; }
.section__head {
  max-width: 760px; margin: 0 auto;
  text-align: center;
  padding: 0 clamp(20px, 4vw, 48px);
}
.section__head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}
.section__lede { color: var(--ink-dim); font-size: 17px; margin: 0; }

/* ─── how ───────────────────────────────────────────────── */
.how {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(60px, 9vw, 110px) clamp(20px, 4vw, 48px);
}
.steps {
  list-style: none; padding: 0; margin: 56px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color .2s, transform .2s;
}
.step:hover { border-color: var(--accent); transform: translateY(-2px); }
.step__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 34px;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.step h3 {
  font-size: 20px;
  margin: 0 0 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.step p { color: var(--ink-dim); margin: 0; font-size: 15px; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
}

/* ─── safety ────────────────────────────────────────────── */
.safety {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(60px, 9vw, 110px) clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--rule-soft);
}
.pledges {
  list-style: none; padding: 0; margin: 48px 0 28px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.pledges li {
  padding: 24px 26px;
  background: linear-gradient(180deg, #14141e, #0f0f17);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--ink-dim);
  line-height: 1.6;
}
.pledges li strong { color: var(--ink); display: block; margin-bottom: 4px; font-weight: 600; }
.safety__foot {
  text-align: center;
  color: var(--ink-mute);
  font-size: 13px;
  max-width: 640px;
  margin: 24px auto 0;
}
@media (max-width: 720px) {
  .pledges { grid-template-columns: 1fr; }
}

/* ─── waitlist form ─────────────────────────────────────── */
.waitlist {
  max-width: 720px; margin: 0 auto;
  padding: clamp(40px, 7vw, 90px) clamp(20px, 4vw, 48px) clamp(80px, 10vw, 140px);
}
.waitlist__card {
  background:
    radial-gradient(circle at 0% 0%, #ff4d6d22, transparent 60%),
    radial-gradient(circle at 100% 100%, #7a3bff1f, transparent 60%),
    var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow);
}
.waitlist__card h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.waitlist__lede {
  color: var(--ink-dim);
  margin: 0 0 32px;
  font-size: 15px;
}
.waitlist__lede strong { color: var(--ink); }

.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__row { margin-bottom: 18px; }
.form__row--two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form__row--two { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > span {
  font-size: 12px; font-weight: 600;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.field > span em { color: var(--ink-mute); font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; }

.field input, .field select {
  background: #0a0a10;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  transition: border-color .15s, background .15s;
}
.field input::placeholder { color: var(--ink-mute); }
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  background: #11111a;
}

.check {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 13px; color: var(--ink-dim); line-height: 1.5;
  margin: 8px 0 24px;
  cursor: pointer;
}
.check input { accent-color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.check a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.form__note {
  margin: 16px 0 0;
  font-size: 14px;
  text-align: center;
  min-height: 1.2em;
}
.form__note.is-success { color: #7de0a6; }
.form__note.is-error { color: #ff7a8a; }

/* ─── footer ────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--rule-soft);
  padding: 48px clamp(20px, 4vw, 48px);
  text-align: center;
  color: var(--ink-mute);
  font-size: 13px;
}
.footer__brand {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 500;
}
.footer__brand span { color: var(--ink); }
.footer__tag {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-dim);
  margin: 4px 0 14px;
  font-size: 15px;
}
.footer__contact { margin: 0 0 6px; }
.footer__contact a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.footer__meta { margin: 0; font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
