:root {
  --bg: #fbfaf7;
  --bg-alt: #f2efe8;
  --surface: #ffffff;
  --text: #1c1b19;
  --muted: #5d5a53;
  --line: #e2ddd2;
  --accent: #1f5f4a;
  --accent-ink: #ffffff;
  --accent-soft: #e3efe9;
  --warn-bg: #fff4d6;
  --warn-ink: #6b4e00;
  --yes: #1f7a4f;
  --yes-bg: #e2f3ea;
  --no: #8a3b2e;
  --no-bg: #f8e6e2;
  --bar: #c9c3b6;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141513;
    --bg-alt: #1b1d1a;
    --surface: #20221f;
    --text: #ecebe6;
    --muted: #a6a39b;
    --line: #34362f;
    --accent: #6fc3a0;
    --accent-ink: #0f1f18;
    --accent-soft: #1d3329;
    --warn-bg: #3a3017;
    --warn-ink: #f3d68a;
    --yes: #7fd1a6;
    --yes-bg: #1c3427;
    --no: #f0a395;
    --no-bg: #3a2420;
    --bar: #4a4c45;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.3);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); }
img { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: .95rem; margin-top: 1.2em; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.prelaunch-bar {
  background: var(--warn-bg);
  color: var(--warn-ink);
  text-align: center;
  font-size: .875rem;
  padding: 8px 16px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: 60px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); text-decoration: none; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font-size: .9rem;
}
.nav { display: none; gap: 20px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--text); }
.header-inner .btn-small { margin-left: auto; }
@media (min-width: 820px) {
  .nav { display: flex; }
  .header-inner .btn-small { margin-left: 8px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .3em;
  min-height: 46px; padding: 0 20px; border-radius: 10px; border: 0;
  background: var(--accent); color: var(--accent-ink);
  font: 600 1rem var(--font); text-decoration: none; cursor: pointer;
}
.btn:hover { filter: brightness(1.07); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, .table-scroll:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px;
}
.btn-ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn-small { min-height: 36px; padding: 0 14px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Hero */
.hero { padding: 48px 0 40px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.35fr 1fr; gap: 48px; } .hero { padding: 72px 0 64px; } }
.eyebrow { color: var(--accent); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .75em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: var(--muted); font-size: .95rem; }
.hero-facts li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: middle; }

.hero-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.hero-card-title { font-weight: 600; margin: 12px 0 14px; }
.engine-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.hero-card-foot { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }

.tag { display: inline-block; font-size: .75rem; font-weight: 600; padding: 3px 8px; border-radius: 6px; letter-spacing: .02em; }
.tag-example { background: var(--warn-bg); color: var(--warn-ink); }
.pill { font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pill-yes { background: var(--yes-bg); color: var(--yes); }
.pill-no { background: var(--no-bg); color: var(--no); }

/* Sections */
.section { padding: 56px 0; scroll-margin-top: 60px; }
.section-alt { background: var(--bg-alt); }
.section-lead { color: var(--muted); max-width: 70ch; }
.fineprint { font-size: .85rem; color: var(--muted); }
.center { text-align: center; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 12px; }
.steps p { color: var(--muted); margin: 0; }

/* Tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); margin: 20px 0 12px; }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
thead th { font-size: .85rem; color: var(--muted); font-weight: 600; background: var(--bg-alt); }
td small, th small { color: var(--muted); font-weight: 400; }
.compare { min-width: 860px; }
.compare tbody th { font-weight: 600; width: 180px; }
.compare th:first-child, .compare td:first-child { position: sticky; left: 0; background: var(--surface); z-index: 1; }
.compare thead th:first-child { background: var(--bg-alt); }
.compare .col-us { background: var(--accent-soft); }
.compare thead .col-us { color: var(--text); }
@media (max-width: 600px) {
  .compare tbody th { width: 120px; min-width: 120px; font-size: .85rem; }
}

/* Calculator */
.calc { display: grid; gap: 20px; margin-top: 24px; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1fr; gap: 32px; } }
.calc-inputs { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; align-content: start; }
.calc-inputs > label, .calc-inputs fieldset { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.calc-inputs fieldset { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px 12px; margin: 0; }
.calc-inputs legend { padding: 0 6px; }
input[type=number], input[type=email], input[type=text], select {
  width: 100%; min-height: 44px; padding: 8px 12px; border-radius: 9px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 1rem var(--font);
}
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .95rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.engines .check { margin-top: 4px; }

.calc-out { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 14px; align-content: start; }
.calc-big { display: grid; gap: 2px; }
.calc-label { font-size: .85rem; color: var(--muted); font-weight: 600; }
.calc-value { font-size: 2.2rem; font-weight: 700; color: var(--accent); }
.calc-sub { font-size: .88rem; color: var(--muted); }
.calc-rows { display: grid; border-top: 1px solid var(--line); }
.calc-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.calc-row span { color: var(--muted); }
.calc-row strong { white-space: nowrap; text-align: right; }
.calc-note { font-size: .88rem; color: var(--muted); margin: 0; }

/* Report */
.lang-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 8px 0 16px; background: var(--surface); }
.lang-btn { border: 0; background: transparent; color: var(--muted); padding: 8px 16px; font: 600 .9rem var(--font); cursor: pointer; min-height: 40px; }
.lang-btn.is-active { background: var(--accent); color: var(--accent-ink); }

.report {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); max-width: 900px;
}
@media (min-width: 720px) { .report { padding: 36px; } }
.report-watermark {
  position: absolute; right: -40px; top: 40%; transform: rotate(-20deg);
  font-size: 5.5rem; font-weight: 800; color: var(--text); opacity: .04; pointer-events: none; letter-spacing: .1em;
}
.report-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; border-bottom: 2px solid var(--text); padding-bottom: 16px; margin-bottom: 20px; }
.report-head h3 { font-size: 1.4rem; margin: 10px 0 8px; }
.report-meta { font-size: .9rem; color: var(--muted); margin: 0; }
.report-logo { flex: none; width: 72px; height: 72px; border: 1.5px dashed var(--line); border-radius: 10px; display: grid; place-items: center; font-size: .65rem; font-weight: 700; color: var(--muted); text-align: center; line-height: 1.2; }
.kpis { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .kpis { grid-template-columns: repeat(3, 1fr); } }
.kpi { background: var(--bg-alt); border-radius: 10px; padding: 14px; display: grid; gap: 2px; }
.kpi-val { font-size: 1.8rem; font-weight: 700; }
.kpi-label { font-size: .88rem; color: var(--muted); }
.kpi-delta { font-size: .8rem; font-weight: 600; }
.kpi-delta.up { color: var(--yes); }
.kpi-delta.flat { color: var(--muted); }
.report-cols { display: grid; gap: 8px 32px; }
@media (min-width: 720px) { .report-cols { grid-template-columns: 1fr 1fr; } }
.bars { display: grid; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 110px 1fr 40px; gap: 10px; align-items: center; font-size: .88rem; }
.bar-row b { text-align: right; font-weight: 600; }
.bar { height: 10px; background: var(--bg-alt); border-radius: 5px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--bar); border-radius: 5px; }
.bar i.us, .report-cols > div:first-child .bar i { background: var(--accent); }
.report-small { font-size: .8rem; color: var(--muted); margin: 8px 0 0; }
.qtable { min-width: 520px; font-size: .88rem; }
.qtable td.y { color: var(--yes); font-weight: 600; }
.qtable td.n { color: var(--muted); }
.qtable td:not(:first-child), .qtable th:not(:first-child) { text-align: center; width: 90px; }
@media (max-width: 600px) {
  .qtable { min-width: 0; font-size: .82rem; }
  .qtable th, .qtable td { padding: 10px 6px; }
  .qtable td:not(:first-child), .qtable th:not(:first-child) { width: auto; }
  .qtable thead th { font-size: .7rem; }
  .bar-row { grid-template-columns: 96px 1fr 38px; }
}
.sources, .next { padding-left: 20px; margin: 0; font-size: .9rem; display: grid; gap: 6px; }
.sources span { color: var(--muted); }
.report-foot { margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }

/* Reserve */
.reserve-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .reserve-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } }
.included { padding-left: 20px; display: grid; gap: 8px; }
.waitlist { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.form-state { display: grid; gap: 8px; }
.form-state[hidden] { display: none; }
.waitlist label { font-size: .9rem; font-weight: 600; margin-top: 6px; }
.waitlist .check { font-weight: 400; font-size: .88rem; margin-top: 10px; }
.form-row { display: grid; gap: 8px 12px; grid-template-columns: 1fr 1fr; }
.form-row > div { display: grid; gap: 8px; }
.form-error { color: var(--no); background: var(--no-bg); padding: 10px 12px; border-radius: 8px; font-size: .9rem; margin: 6px 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 420px) { .form-row { grid-template-columns: 1fr; } .calc-inputs { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 0 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style-position: outside; }
.faq details p { color: var(--muted); margin: 0 0 16px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: .9rem; color: var(--muted); }
.footer-inner p { margin: 0 0 8px; }
.footer-inner a { margin-right: 16px; }

/* Local debug panel (?debug=1) */
.debug { position: fixed; right: 12px; bottom: 12px; z-index: 50; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 12px; font: 12px/1.4 var(--mono); box-shadow: var(--shadow); max-width: calc(100vw - 24px); }
.debug pre { margin: 8px 0; white-space: pre-wrap; }

/* Legal pages */
.legal { max-width: 760px; padding: 40px 16px 64px; margin: 0 auto; }
.legal h1 { font-size: 1.8rem; }
.legal h2 { font-size: 1.2rem; margin-top: 1.6em; }
.placeholder { background: var(--warn-bg); color: var(--warn-ink); padding: 0 4px; border-radius: 4px; }

/* Round 1 fixes (28 Nov) */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.tag { font-size: .8125rem; }
.compare small, .col-us small { font-size: .8125rem; }
.qtable thead th { font-size: .8125rem; }
.swipe-hint { display: none; font-size: .875rem; color: var(--muted); margin: 0 0 6px; }
@media (max-width: 760px) { .swipe-hint { display: block; } }
.compare th a { color: inherit; text-decoration-color: var(--line); text-underline-offset: 3px; }
.founder { margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--radius) var(--radius) 0; font-size: .95rem; }
.optional { font-weight: 400; color: var(--muted); }
.waitlist-closed h3 { margin-top: 0; }
.survey { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.survey-q { margin: 0 0 10px; font-weight: 600; }
.survey-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.survey-opts button { font: inherit; font-size: .95rem; color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 10px; padding: 9px 13px; cursor: pointer; min-height: 44px; }
.survey-opts button:hover:not(:disabled) { border-color: var(--accent); }
.survey-opts button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.survey-opts button:disabled:not([aria-pressed="true"]) { opacity: .55; cursor: default; }
.footer-links a { display: inline-block; padding: 4px 0; margin-right: 14px; }
.site-footer a { display: inline-block; padding: 3px 0; }
.legal-links a { display: inline-block; padding: 4px 0; margin-right: 16px; }
.hero { padding-bottom: 24px; }
.linklike { font: inherit; color: var(--accent); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.addr { overflow-wrap: anywhere; }
