:root {
  --ink: #12151a;
  --ink-2: #3c434f;
  --muted: #5b6370;
  --line: #e4e6ea;
  --bg: #fbfaf7;
  --card: #ffffff;
  --brand: #0e7a5f;
  --brand-ink: #ffffff;
  --brand-soft: #e4f4ee;
  --amber: #b45309;
  --amber-soft: #fef3c7;
  --grey-bar: #eceef1;
  --radius: 16px;
  --shadow: 0 1px 2px rgb(18 21 26 / 6%), 0 8px 24px rgb(18 21 26 / 6%);
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef0f3; --ink-2: #c9ced6; --muted: #a2a9b4; --line: #2a2f37; --bg: #0f1216; --card: #171b21;
    --brand: #3fc59b; --brand-ink: #06231a; --brand-soft: #123329; --amber: #f5b454; --amber-soft: #3a2b10;
    --grey-bar: #2a3038; --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 25%);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: var(--bg); }
a { color: var(--brand); text-underline-offset: 3px; }
img, svg { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; z-index: 10; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink);
  text-decoration: none; letter-spacing: -0.02em; }
.logo svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 20px; align-items: center; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.nav .cta { color: var(--brand-ink); background: var(--brand); padding: 9px 16px; border-radius: 999px; font-weight: 700; }
@media (max-width: 680px) { .nav a:not(.cta) { display: none; } }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; gap: 36px; } .hero { padding-top: 40px; } }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft); padding: 5px 10px; border-radius: 999px; }
h1 { font-size: clamp(38px, 6vw, 62px); line-height: 1.04; letter-spacing: -0.035em; margin: 16px 0 18px; }
h1 em { font-style: normal; color: var(--brand); }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); margin: 0 0 28px; max-width: 34em; }
.lede q { quotes: "\201C" "\201D"; font-weight: 600; color: var(--ink); }

/* Waitlist form */
.waitlist { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow); max-width: 560px; }
.waitlist .row { display: flex; gap: 10px; }
@media (max-width: 520px) { .waitlist .row { flex-direction: column; } }
.waitlist input[type=email] { flex: 1; min-height: 52px; font: inherit; padding: 0 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); }
.waitlist input[type=email]:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.btn { min-height: 52px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--brand); color: var(--brand-ink);
  font: inherit; font-weight: 800; cursor: pointer; white-space: nowrap; }
.btn:hover { filter: brightness(1.05); }
.btn[disabled] { opacity: .6; cursor: default; }
.interests { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; border: 0; padding: 0; }
.interests legend { font-size: 14px; color: var(--muted); margin-bottom: 8px; padding: 0; }
.interests label { position: relative; }
.interests input { position: absolute; opacity: 0; inset: 0; }
.interests span { display: inline-block; font-size: 14px; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--line);
  cursor: pointer; user-select: none; }
.interests input:checked + span { background: var(--brand-soft); border-color: var(--brand); color: var(--ink); font-weight: 700; }
.interests input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-top: 12px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 10px 0 0; font-size: 15px; min-height: 1.2em; }
.form-msg.ok { color: var(--brand); font-weight: 700; }
.form-msg.err { color: var(--amber); font-weight: 600; }
.small { font-size: 14px; color: var(--muted); }

/* Demo card */
.demo { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 18px; }
.demo-query { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; border-radius: 14px; background: var(--bg);
  border: 1px solid var(--line); font-size: 15px; }
.demo-query .q { width: 100%; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.chip { font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); }
.chip.soft { background: var(--grey-bar); color: var(--ink-2); font-weight: 600; }
.result { display: grid; grid-template-columns: 34px 1fr auto; gap: 4px 12px; align-items: center; padding: 14px 4px;
  border-bottom: 1px solid var(--line); }
.result:last-child { border-bottom: 0; }
.rank { font-weight: 800; font-size: 18px; color: var(--muted); }
.rname { font-weight: 700; }
.rmatch { font-weight: 800; color: var(--brand); font-size: 15px; }
.bars { grid-column: 2 / 4; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.bar { font-size: 12.5px; color: var(--muted); }
.bar b { float: right; color: var(--ink); }
.bar i { display: block; height: 6px; border-radius: 3px; background: var(--grey-bar); margin-top: 3px; overflow: hidden; }
.bar i::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--brand); border-radius: 3px; }
.bar.fail i::after { background: var(--amber); }
.why { grid-column: 2 / 4; font-size: 13px; color: var(--amber); background: var(--amber-soft); border-radius: 8px; padding: 4px 8px; }
.demo-note { margin: 10px 4px 0; font-size: 12.5px; color: var(--muted); }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.025em; line-height: 1.12; margin: 0 0 14px; }
.section-lede { color: var(--ink-2); max-width: 40em; margin: 0 0 36px; font-size: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
section.alt .card { background: var(--bg); }
.card h3 { margin: 10px 0 6px; font-size: 20px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--ink-2); }
.step { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft);
  color: var(--brand); font-weight: 800; }
.icon { width: 36px; height: 36px; color: var(--brand); }
.cats { display: flex; flex-wrap: wrap; gap: 10px; }
.cats span { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 600; }
.cats span.live { border-color: var(--brand); background: var(--brand-soft); }
.cats span small { color: var(--brand); font-weight: 800; margin-left: 6px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--brand); }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-2); margin: 10px 0 0; max-width: 46em; }

/* Final CTA */
.final { text-align: center; }
.final .waitlist { margin: 24px auto 0; text-align: left; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--ink-2); }

/* Legal pages */
.legal { padding: 48px 0 72px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); }
.legal h2 { font-size: 24px; margin-top: 36px; }
.legal h3 { font-size: 18px; margin-top: 24px; }
.legal p, .legal li { color: var(--ink-2); }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px; border-bottom: 1px solid var(--line); }
.legal .updated { color: var(--muted); font-size: 15px; }
.note { background: var(--amber-soft); border-radius: 12px; padding: 12px 16px; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
