:root {
  --bg: #0f1011;
  --bg-2: #141517;
  --panel: #18191c;
  --line: #2a2c30;
  --line-2: #3a3d42;
  --text: #f2f1ec;
  --muted: #9c9d99;
  --dim: #6d6e6b;
  --accent: #c5f25a;
  --accent-2: #a6d93c;
  --accent-ink: #0f1011;
  --warn: #f0c35a;
  --error: #ff8a7a;
  --ok: #7fe0a7;
  --radius: 14px;
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
h1, h2, h3 { font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); font-weight: 500; font-size: 17px;
  padding: 14px 22px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  transition: background .15s, transform .15s;
}
.btn:hover { background: #d3fa74; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: progress; }
.btn .arr { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-ink); color: var(--accent); font-size: 14px; transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-sm { padding: 8px 10px 8px 16px; font-size: 15px; }
.btn-sm .arr { width: 22px; height: 22px; font-size: 12px; }
.btn-lg { padding: 18px 20px 18px 28px; font-size: 19px; }
.btn-lg .arr { width: 32px; height: 32px; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: var(--panel); }
.link { background: none; border: 0; padding: 0; cursor: pointer; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.link:hover { color: var(--text); }

/* ---------- nav ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: rgba(15,16,17,.82); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.logo { font-weight: 600; font-size: 21px; letter-spacing: -0.03em; text-decoration: none; }
.logo-dot { color: var(--accent); }
.nav-links { display: flex; gap: 28px; font-size: 15px; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 88px 0 96px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -30% -10% auto 40%; height: 700px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(197,242,90,.13), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; margin-bottom: 28px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(197,242,90,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(197,242,90,0); } 100% { box-shadow: 0 0 0 0 rgba(197,242,90,0); } }
.hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 300; }
.lede { font-size: 19px; color: var(--muted); margin-top: 24px; max-width: 34em; }
.lede strong { color: var(--text); font-weight: 500; }
.hero-ticks { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; color: var(--muted); }
.hero-ticks li::before { content: '✓'; color: var(--accent); margin-right: 8px; }

.hero-card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.7); }
.card-kicker { display: flex; justify-content: space-between; font-size: 14px; color: var(--accent); margin-bottom: 20px; }
.card-kicker .mono { color: var(--dim); }
.hero-q { display: block; font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 24px; }
.hero-card-foot { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-top: 24px; }
.hint { color: var(--dim); font-size: 15px; }

/* ---------- shared question input ---------- */
.q-input {
  width: 100%; background: var(--bg-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 10px;
  font: 400 24px var(--font); padding: 22px 24px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.q-input::placeholder { color: var(--dim); }
.q-input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(197,242,90,.12); }
.q-input[aria-invalid="true"] { border-color: var(--error); }
.q-error { color: var(--error); font-size: 15px; margin-top: 10px; }
.q-error::before { content: '! '; font-weight: 600; }

/* ---------- proof strip ---------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 32px 24px; border-left: 1px solid var(--line); }
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-num { font-size: 34px; letter-spacing: -0.03em; font-weight: 300; }
.proof-label { color: var(--muted); font-size: 14px; margin-top: 6px; max-width: 22em; }

/* ---------- sections ---------- */
.section { padding: 112px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-kicker { color: var(--accent); font-size: 14px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.section h2, .band h2, .final h2 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 300; }
.section-lede { color: var(--muted); font-size: 18px; margin-top: 20px; max-width: 40em; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.fine-print { color: var(--dim); font-size: 14px; margin-top: 40px; }

.tiles { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tiles li { background: var(--bg); padding: 28px; transition: background .2s; }
.tiles li:hover { background: var(--panel); }
.tile-ic { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: rgba(197,242,90,.1); color: var(--accent); font-family: var(--mono); font-size: 15px; margin-bottom: 18px; }
.tiles h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.tiles p { color: var(--muted); font-size: 15px; margin-top: 6px; }

.checks { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.checks li { display: grid; grid-template-columns: 28px 1fr; column-gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.checks li::before { content: '✓'; grid-row: span 2; color: var(--accent); }
.checks strong { font-weight: 500; }
.checks span { color: var(--muted); font-size: 15px; }

.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: linear-gradient(180deg, var(--panel), var(--bg)); }
.step-n { color: var(--accent); font-size: 15px; }
.steps h3 { font-size: 23px; margin: 40px 0 12px; }
.steps p { color: var(--muted); font-size: 16px; }

.cards { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 16px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards li { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: linear-gradient(180deg, var(--panel), var(--bg)); }
.cards h3 { font-size: 28px; font-weight: 400; letter-spacing: -0.02em; color: var(--accent); }
.cards p { color: var(--muted); font-size: 16px; margin-top: 10px; }

.band { padding: 72px 0; background: var(--accent); color: var(--accent-ink); }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.band h2 { max-width: 14em; }
.band .btn { background: var(--accent-ink); color: var(--text); }
.band .btn .arr { background: var(--accent); color: var(--accent-ink); }

.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 40px 24px 0; font-size: 20px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 22px; color: var(--accent); font-size: 24px; font-weight: 300; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 40px 24px 0; }

.final { padding: 140px 0; text-align: center; position: relative; overflow: hidden; }
.final::before { content: ''; position: absolute; inset: auto 20% -60% 20%; height: 500px; background: radial-gradient(closest-side, rgba(197,242,90,.14), transparent 70%); pointer-events: none; }
.final-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final .lede { margin: 20px 0 40px; }

.footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: start; }
.footer-disclosure { color: var(--dim); font-size: 14px; max-width: 46em; }
.footer-links { display: flex; gap: 20px; font-size: 14px; color: var(--muted); }

/* ---------- flow overlay ---------- */
.flow { position: fixed; inset: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--bg); display: flex; flex-direction: column; overflow-y: auto; animation: fadein .2s ease; }
.flow[hidden] { display: none; }
@keyframes fadein { from { opacity: 0; } }
.flow-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 20px 24px; }
.flow-top .link:last-child { justify-self: end; }
.flow-top .link { text-decoration: none; font-size: 15px; }
.flow-top .flow-back.is-hidden { visibility: hidden; }
.progress { height: 2px; background: var(--line); }
.progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .35s ease; }
.flow-body { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 24px 80px; }

.q { width: 100%; max-width: 760px; animation: rise .35s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.q-count { font-family: var(--mono); color: var(--dim); font-size: 14px; margin-bottom: 18px; }
.q-title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 300; }
.q-help { color: var(--muted); font-size: 19px; margin-top: 14px; }
.q .q-input, .q .choices { margin-top: 40px; }
.choices { display: flex; flex-wrap: wrap; gap: 12px; }
.choice {
  display: inline-flex; align-items: center; gap: 12px; min-width: 140px; justify-content: center;
  background: transparent; border: 1px solid var(--line-2); border-radius: 10px; padding: 20px 24px; font-size: 20px;
  color: var(--muted); cursor: pointer; transition: border-color .15s, color .15s, background .15s;
}
.choice:hover { border-color: var(--muted); color: var(--text); }
.choice[aria-checked="true"] { border-color: var(--accent); color: var(--text); background: rgba(197,242,90,.08); }
.choice:focus-visible { outline: 2px solid var(--muted); outline-offset: 3px; border-radius: 10px; }
.choice kbd { font-family: var(--mono); font-size: 12px; color: var(--dim); border: 1px solid var(--line-2); border-radius: 5px; padding: 1px 6px; }
.choice[aria-checked="true"] kbd { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.q-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.q-expert { font-size: 17px; }
.q-expert a { color: var(--accent); text-decoration: none; }
.q-expert a:hover { text-decoration: underline; }
.q-actions { display: flex; align-items: center; gap: 20px; }
.q-enter { color: var(--dim); font-size: 16px; }
.q-enter span { margin-left: 16px; }

/* ---------- result ---------- */
.result { text-align: center; max-width: 860px; animation: rise .4s ease; }
.result-h { font-size: clamp(26px, 3.2vw, 38px); font-weight: 400; }
.range { font-size: clamp(40px, 7.4vw, 88px); font-weight: 500; letter-spacing: -0.04em; color: var(--accent); margin-top: 14px; font-variant-numeric: tabular-nums; line-height: 1.05; }
.range .dash { color: var(--dim); font-weight: 300; margin: 0 .08em; }
.result .lede { margin: 28px auto 40px; max-width: 32em; }
.disclosure { color: var(--muted); font-size: 14px; margin-top: 24px; }
.important { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.important h2 { color: var(--warn); font-size: 17px; font-weight: 500; letter-spacing: 0; }
.important p { color: var(--dim); font-size: 15px; margin-top: 10px; }
.result-again { margin-top: 24px; font-size: 15px; }


/* ---------- lead form ---------- */
.lead { width: 100%; max-width: 760px; animation: rise .35s ease; }
.lead-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 40px; }
.lead-summary p { color: var(--muted); font-size: 14px; }
.lead-summary strong { display: block; font-size: 26px; font-weight: 500; color: var(--accent); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lead h1 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 300; }
.lead > .lede { margin: 12px 0 32px; font-size: 18px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid .span-2 { grid-column: span 2; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span, .field-label { font-size: 15px; color: var(--muted); }
.field .opt { color: var(--dim); }
.field input, .field textarea, .field select {
  background: var(--bg-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 10px; font: 400 17px var(--font);
  padding: 14px 16px; outline: none; width: 100%; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(197,242,90,.12); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field [aria-invalid="true"] { border-color: var(--error); }
.f-err { color: var(--error); font-size: 14px; }
.f-ok { color: var(--ok); font-size: 14px; }
.f-note { color: var(--dim); font-size: 14px; }
.row { display: flex; gap: 10px; }
.row > .btn { flex: 0 0 auto; }
.dev-code { font-family: var(--mono); color: var(--warn); font-size: 13px; }

.consent { border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 20px; margin: 28px 0 0; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 14px 0; cursor: pointer; font-size: 15px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.form-error { color: var(--error); margin-top: 16px; font-size: 15px; }
.lead-submit { margin-top: 28px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.lead .fine { color: var(--dim); font-size: 13px; margin-top: 18px; }
.lead .fine a { color: var(--muted); }

/* ---------- thanks ---------- */
.thanks { width: 100%; max-width: 720px; animation: rise .35s ease; }
.thanks h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 300; }
.thanks > .lede { margin: 14px 0 36px; }
.next-steps { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.next-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.next-steps .mono { color: var(--accent); font-size: 15px; padding-top: 4px; }
.next-steps h2 { font-size: 22px; }
.next-steps p { color: var(--muted); font-size: 16px; margin-top: 6px; }

/* ---------- modal ---------- */
.modal { border: 1px solid var(--line-2); border-radius: 18px; background: var(--panel); color: var(--text); padding: 0; width: min(480px, calc(100vw - 32px)); }
.modal::backdrop { background: rgba(0,0,0,.65); backdrop-filter: blur(3px); }
.modal-inner { padding: 32px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.modal h2 { font-size: 26px; }
.modal-x { position: absolute; top: 18px; right: 20px; text-decoration: none; font-size: 18px; }
.modal .btn { align-self: flex-start; }

/* ---------- 404 / privacy ---------- */
.doc { max-width: 760px; padding: 72px 24px 120px; margin: 0 auto; }
.doc h1 { font-size: 44px; font-weight: 300; }
.doc h2 { font-size: 24px; margin: 44px 0 12px; }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; }
.doc li + li { margin-top: 6px; }
.doc .updated { color: var(--dim); margin-top: 12px; font-size: 15px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .two-col, .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 64px; }
  .nav-links { display: none; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tiles { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cards-3, .cards-4 { grid-template-columns: 1fr 1fr; }
  .steps h3 { margin-top: 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 16px; }
  .section { padding: 80px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero-card { padding: 22px; }
  .hero-q { font-size: 22px; }
  .q-input { font-size: 20px; padding: 18px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item { border-left: 0 !important; padding: 20px 0 !important; border-top: 1px solid var(--line); }
  .proof-item:first-child { border-top: 0; }
  .tiles { grid-template-columns: 1fr; }
  .cards-2, .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .grid .span-2 { grid-column: auto; }
  .flow-top { padding: 14px 16px; }
  .flow-body { padding: 28px 16px 56px; align-items: flex-start; }
  .choice { flex: 1 1 calc(50% - 6px); min-width: 0; font-size: 17px; padding: 16px 12px; }
  .q-foot { flex-direction: column-reverse; align-items: stretch; }
  .q-actions { justify-content: flex-end; }
  .q-enter { display: none; }
  .q-actions .btn { flex: 1; justify-content: space-between; }
  .btn-lg { font-size: 17px; padding: 16px 16px 16px 22px; }
  .band-inner .btn, .final .btn { width: 100%; justify-content: space-between; }
  .row { flex-wrap: wrap; }
  .row > input { flex: 1 1 160px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
