/* RawDrive Marketing: public site. Same tokens as the R1 app.
   The one loud element is the hero contact sheet; everything else stays quiet. */

:root {
  color-scheme: light;
  --paper: #f3f5f9;
  --surface: #ffffff;
  --surface-2: #f8f9fc;
  --ink: #151a24;
  --ink-2: #4e5869;
  --muted: #6f7888;
  --line: #e2e6ee;
  --line-strong: #cfd5e0;
  --accent: #2f49ff;
  --accent-ink: #ffffff;
  --accent-soft: #eaedff;
  --brand: #0e7c66;
  --brand-ink: #ffffff;
  --brand-deep: #0a5c4c;
  --pencil: #d03b3b;
  --good: #0ca30c;
  --bad: #d03b3b;
  --film: #1d2129;
  --film-frame: #2a2f39;
  --film-edge: #e8a33c;
  --font-ui: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Cabinet Grotesk", "Geist", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0f1218; --surface: #191d26; --surface-2: #1f2430; --ink: #e9ecf3; --ink-2: #b3bbca; --muted: #8a93a5;
    --line: #2a303d; --line-strong: #3a4252; --accent: #7183ff; --accent-ink: #0f1218; --accent-soft: #252c4d;
    --brand: #13987d; --brand-deep: #0b4a3e; --pencil: #ff6b6b; --film: #0b0e13; --film-frame: #1c2029;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0f1218; --surface: #191d26; --surface-2: #1f2430; --ink: #e9ecf3; --ink-2: #b3bbca; --muted: #8a93a5;
  --line: #2a303d; --line-strong: #3a4252; --accent: #7183ff; --accent-ink: #0f1218; --accent-soft: #252c4d;
  --brand: #13987d; --brand-deep: #0b4a3e; --pencil: #ff6b6b; --film: #0b0e13; --film-frame: #1c2029;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--font-ui); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 820px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); padding: 8px 14px; font: 600 14px/1.2 var(--font-ui); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--surface-2); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.07); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--ink-2); }
.btn.ghost:hover { color: var(--ink); background: var(--surface-2); }
.btn.lg { padding: 12px 18px; font-size: 15.5px; border-radius: 9px; }
.icon { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; cursor: pointer; color: var(--ink-2); }
.icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* header: a teal rule ties the site to the app's business frame */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in oklab, var(--paper) 88%, transparent); backdrop-filter: blur(8px); border-top: 4px solid var(--brand); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 18px/1 var(--font-display); color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.mark { width: 30px; height: 30px; border-radius: 8px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font: 800 13px/1 var(--font-display); }
.links { display: flex; gap: 22px; margin-left: 12px; }
.links a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.links a:hover { color: var(--ink); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

/* hero */
.hero { padding: 72px 0 84px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
h1 { font: 800 clamp(44px, 6vw, 78px)/0.98 var(--font-display); letter-spacing: -0.03em; margin: 0 0 24px; max-width: 13ch; text-wrap: balance; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 56ch; margin: 0 0 28px; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.for { margin: 22px 0 0; color: var(--muted); font-size: 15px; max-width: 52ch; }

/* contact sheet */
.sheet { margin: 0; }
.sheet-film { background: var(--film); border-radius: 6px; padding: 26px 14px; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 10px; box-shadow: 0 30px 60px -30px rgba(21, 26, 36, 0.45); transform: rotate(-1.2deg); }
.frame { position: relative; background: var(--film-frame); border-radius: 3px; padding: 7px 7px 6px; color: #d9dee8; }
.frame .edge { position: absolute; top: -17px; left: 2px; font: 500 9.5px/1 var(--font-mono); color: var(--film-edge); letter-spacing: 0.04em; opacity: 0.9; white-space: nowrap; }
.frame .pic { aspect-ratio: 4 / 3; border-radius: 2px; display: grid; place-items: center; font: 800 20px/1 var(--font-display); color: rgba(255, 255, 255, 0.92); }
.frame .who { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: #f1f3f8; }
.frame .st { display: block; font-size: 11px; line-height: 1.3; color: #9aa3b4; min-height: 2.6em; }
.frame svg.gp-mark { position: absolute; inset: -10px; width: calc(100% + 20px); height: calc(100% + 20px); pointer-events: none; overflow: visible; }
.gp { fill: none; stroke: var(--pencil); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.frame .gp { stroke-width: 2.4; stroke-dasharray: 1; stroke-dashoffset: 0; }
.frame.drawn .gp { animation: draw 700ms ease-out both; animation-delay: var(--d, 0ms); }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .frame.drawn .gp { animation: none; } }
figcaption { margin-top: 26px; color: var(--ink-2); font-size: 14.5px; }
figcaption b { color: var(--ink); }
.key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; }
.key span { display: inline-flex; align-items: center; gap: 6px; }
.key svg { width: 22px; height: 22px; }
.key .gp { stroke-width: 3.4; }

/* sections */
.section { padding: 88px 0; border-top: 1px solid var(--line); }
.section.alt { background: var(--surface); }
.h2 { font: 800 clamp(32px, 4vw, 48px)/1.05 var(--font-display); letter-spacing: -0.02em; margin: 0 0 16px; max-width: 22ch; }
.intro { color: var(--ink-2); max-width: 60ch; margin: 0 0 40px; font-size: 18px; }
h3 { font: 700 22px/1.2 var(--font-display); margin: 0 0 10px; letter-spacing: -0.01em; }

/* proof rows: claim on the left, the real interface on the right */
.proof { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.proof-text p { color: var(--ink-2); margin: 0; max-width: 46ch; }
.frag { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; font-size: 14px; }
.frag-note { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.frag-head { display: flex; gap: 10px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.frag-head b { display: block; }
.frag-head span { color: var(--muted); font-size: 13px; }
.av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); font-weight: 600; font-size: 13px; color: var(--ink-2); }
.frag-checks ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.frag-checks li { display: flex; gap: 10px; align-items: flex-start; }
.frag-checks li span { color: var(--ink-2); }
.frag-checks li b { display: block; color: var(--ink); }
.frag-checks i { width: 18px; height: 18px; border-radius: 50%; flex: none; margin-top: 2px; position: relative; }
.frag-checks .ok i { background: color-mix(in oklab, var(--good) 18%, var(--surface)); }
.frag-checks .ok i::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid var(--good); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.frag-checks .no i { background: color-mix(in oklab, var(--bad) 16%, var(--surface)); }
.frag-checks .no i::before, .frag-checks .no i::after { content: ""; position: absolute; left: 8px; top: 4px; width: 2px; height: 10px; background: var(--bad); transform: rotate(45deg); }
.frag-checks .no i::after { transform: rotate(-45deg); }
.eq { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.eq span { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font-weight: 650; font-size: 16px; font-variant-numeric: tabular-nums; }
.eq small { color: var(--muted); font-weight: 500; font-size: 12px; }
.eq span.res { border-color: var(--brand); background: color-mix(in oklab, var(--brand) 10%, var(--surface)); }
.eq em { font-style: normal; color: var(--muted); }
.bar { display: flex; gap: 2px; height: 12px; border-radius: 4px; overflow: hidden; margin-top: 14px; }
.bar i { display: block; }
.bar .b1 { background: #2a78d6; } .bar .b2 { background: #e0a312; } .bar .b3 { background: var(--surface-2); outline: 1px solid var(--line-strong); outline-offset: -1px; } .bar .b4 { background: color-mix(in oklab, var(--good) 40%, var(--surface)); }
.stopbar { display: flex; gap: 12px; align-items: center; background: #b42323; color: #fff; border-radius: 8px; padding: 12px 14px; }
.stopbar svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.stopbar b { display: block; font-size: 15px; }
.stopbar span { font-size: 13px; opacity: 0.92; }
.frag-reply { background: var(--paper); display: flex; flex-direction: column; gap: 12px; }
.bubble.in { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; max-width: 80%; }
.replybox { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.rb-top, .rb-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-2); }
.stamp { background: var(--brand); color: #fff; border-radius: 5px; padding: 2px 7px; font-weight: 700; font-size: 12px; }
.rb-text { border: 1px solid var(--line-strong); border-radius: 7px; padding: 9px 10px; }
.send { background: var(--accent); color: var(--accent-ink); border-radius: 7px; padding: 6px 11px; font-weight: 600; }

/* steps: a real sequence, so it is numbered */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: s; }
.steps li { border-top: 3px solid var(--ink); padding-top: 18px; }
.steps .n { font: 800 44px/1 var(--font-display); color: var(--brand); display: block; margin-bottom: 14px; }
.steps p { color: var(--ink-2); margin: 0; }

/* teal band */
.band { background: var(--brand-deep); color: #eaf5f2; border-top: 0; }
.band .h2 { color: #fff; }
.band-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.never { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.never li { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.22); color: #cfe7e1; }
.never li:first-child { border-top: 0; padding-top: 4px; }
.never b { color: #fff; display: block; font-size: 18px; margin-bottom: 2px; }

/* pricing: one block with columns, not three floating cards */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); overflow: hidden; }
.plan { padding: 26px 24px; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan.meta { background: var(--surface-2); }
.price { font: 800 28px/1.1 var(--font-display); margin: 0 0 16px; }
.plan.meta .price { color: var(--ink-2); }
.plan ul { margin: 0; padding: 0 0 0 18px; color: var(--ink-2); display: flex; flex-direction: column; gap: 6px; font-size: 15.5px; }
.fine { color: var(--muted); font-size: 14.5px; margin: 16px 0 0; }

/* questions */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 24px/1 var(--font-ui); color: var(--muted); transition: transform 160ms ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-2); max-width: 64ch; }

/* early access form */
.early p { color: #cfe7e1; max-width: 42ch; }
.early form { background: var(--surface); color: var(--ink); border-radius: 12px; padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.early label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 14px; }
.early input, .early select { font: inherit; font-size: 15px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 10px 11px; background: var(--surface); color: var(--ink); }
.early input:focus, .early select:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.early label.agree { grid-column: 1 / -1; flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--ink-2); }
.early label.agree input { margin-top: 3px; }
.early .btn { grid-column: 1 / -1; justify-self: start; }
.early [aria-invalid="true"] { border-color: var(--bad); }
.form-msg { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--ink-2); min-height: 0; }
.form-msg.err { color: var(--bad); }
.form-msg.ok { color: var(--ink); background: color-mix(in oklab, var(--good) 12%, var(--surface)); border-radius: 8px; padding: 10px 12px; }

.foot { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
.foot-in { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.foot-in .brand { font-size: 15px; }
.foot-in span:last-child { margin-left: auto; }

@media (max-width: 1000px) {
  .links { display: none; }
  .hero-in, .proof, .band-in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .top-actions .btn.ghost { display: none; }
  .top-in { gap: 12px; }
  .brand > span:last-child { display: none; }
  .hero { padding: 44px 0 56px; }
  .section { padding: 60px 0; }
  .sheet-film { transform: none; gap: 22px 8px; padding: 22px 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .frame .who { font-size: 11.5px; }
  .early form { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .foot-in span:last-child { margin-left: 0; }
}

/* ---------- multi-page additions ---------- */
.links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.links .only-menu { display: none; }
.menu-btn { display: none; }

/* footer */
.foot { padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-brand p { margin: 14px 0 0; max-width: 34ch; font-size: 14px; }
.foot h2 { font: 600 14px/1.3 var(--font-ui); color: var(--ink); margin: 4px 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot ul a { color: var(--muted); text-decoration: none; font-size: 14px; }
.foot ul a:hover { color: var(--ink); text-decoration: underline; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; }

/* inner page heading */
.page-hero { padding: 64px 0 40px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 64px); max-width: 18ch; margin-bottom: 18px; }
.page-hero .lede { margin-bottom: 0; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.jump a { border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 13px; text-decoration: none; color: var(--ink-2); font-size: 14.5px; background: var(--surface); }
.jump a:hover { color: var(--ink); border-color: var(--ink-2); }

/* feature detail */
.detail { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: 48px; padding: 52px 0; border-top: 1px solid var(--line); align-items: start; scroll-margin-top: 80px; }
.detail h2 { font: 800 clamp(28px, 3vw, 36px)/1.1 var(--font-display); letter-spacing: -0.015em; margin: 0 0 12px; }
.detail > div > p { color: var(--ink-2); margin: 0 0 16px; max-width: 52ch; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 5px; height: 10px; border: solid var(--brand); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ticks b { color: var(--ink); }
.soon { display: inline-block; font-size: 12px; font-weight: 600; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: 4px; padding: 0 6px; margin-left: 6px; vertical-align: 2px; white-space: nowrap; }
.frag table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.frag th { text-align: left; color: var(--muted); font-weight: 500; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.frag td { padding: 8px; border-bottom: 1px solid var(--line); }
.frag tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; border-radius: 999px; padding: 1px 8px; font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--ink-2); }
.pill.good { background: color-mix(in oklab, var(--good) 15%, var(--surface)); color: color-mix(in oklab, var(--good) 75%, var(--ink)); }
.pill.warn { background: color-mix(in oklab, #e0a312 20%, var(--surface)); color: color-mix(in oklab, #b07d00 80%, var(--ink)); }
.pill.bad { background: color-mix(in oklab, var(--bad) 14%, var(--surface)); color: var(--bad); }

/* who it's for */
.who-block { padding: 56px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; scroll-margin-top: 80px; }
.who-block h2 { font: 800 clamp(30px, 3.4vw, 42px)/1.05 var(--font-display); margin: 0 0 12px; letter-spacing: -0.02em; }
.who-block > div:first-child p { color: var(--ink-2); max-width: 40ch; }
.uses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.uses > div { padding: 20px; border-top: 1px solid var(--line); }
.uses > div:nth-child(-n+2) { border-top: 0; }
.uses > div:nth-child(even) { border-left: 1px solid var(--line); }
.uses h3 { font-size: 18px; margin-bottom: 6px; }
.uses p { margin: 0; color: var(--ink-2); font-size: 15px; }
.uses .msg { margin-top: 12px; background: color-mix(in oklab, #1fa855 10%, var(--surface)); border: 1px solid color-mix(in oklab, #1fa855 30%, var(--line)); border-radius: 10px; padding: 8px 11px; font-size: 13.5px; color: var(--ink); }

/* pricing */
.compare { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; font-size: 15px; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { font: 700 16px/1.2 var(--font-display); background: var(--surface-2); }
.compare td:not(:first-child), .compare th:not(:first-child) { width: 19%; }
.compare .y::before { content: "Included"; color: var(--ink); }
.compare .n::before { content: "—"; color: var(--muted); }
.table-scroll { overflow-x: auto; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; background: var(--surface); }
.calc-in { padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc-in label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.calc-in input { font: inherit; font-size: 16px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 9px 10px; background: var(--surface); color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-in input:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.calc-in .hint { grid-column: 1 / -1; color: var(--muted); font-size: 13px; margin: 0; }
.calc-out { padding: 24px; background: var(--surface-2); border-left: 1px solid var(--line); }
.calc-out dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; }
.calc-out dt { color: var(--ink-2); }
.calc-out dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; }
.calc-out .big dt, .calc-out .big dd { font-size: 20px; color: var(--ink); font-family: var(--font-display); font-weight: 800; }
.calc-out .big { display: contents; }
.calc-out .big dt, .calc-out .big dd { border-top: 1px solid var(--line-strong); padding-top: 12px; }
.calc-out p { color: var(--muted); font-size: 13px; margin: 14px 0 0; }

/* how it works */
.need { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.need > div { padding: 18px 20px; border-top: 1px solid var(--line); }
.need > div:nth-child(-n+2) { border-top: 0; }
.need > div:nth-child(even) { border-left: 1px solid var(--line); }
.need b { display: block; margin-bottom: 4px; }
.need span { color: var(--ink-2); font-size: 15px; }
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.timeline li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.timeline .n { font: 800 40px/1 var(--font-display); color: var(--brand); }
.timeline h3 { margin-bottom: 6px; }
.timeline p { margin: 0; color: var(--ink-2); max-width: 64ch; }

/* roadmap */
.road { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); overflow: hidden; }
.road > div { padding: 22px; }
.road > div + div { border-left: 1px solid var(--line); }
.road h3 { margin-bottom: 4px; }
.road .when { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.road ul { margin: 0; padding-left: 18px; color: var(--ink-2); display: flex; flex-direction: column; gap: 5px; font-size: 15px; }
.road > div.now { background: color-mix(in oklab, var(--brand) 8%, var(--surface)); }

/* prose for legal and about */
.prose { max-width: 720px; }
.prose h2 { font: 700 24px/1.2 var(--font-display); margin: 36px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 12px 0; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; vertical-align: top; }
.prose th { color: var(--muted); font-weight: 500; }
.draft { border: 1px dashed var(--pencil); border-radius: 10px; padding: 14px 16px; color: var(--ink); background: color-mix(in oklab, var(--pencil) 6%, var(--surface)); margin-bottom: 24px; }
.callout { border-left: 4px solid var(--brand); background: var(--surface); padding: 16px 20px; border-radius: 0 10px 10px 0; color: var(--ink-2); max-width: 72ch; }
.callout b { color: var(--ink); }

.cta-band { padding: 72px 0; background: var(--brand-deep); color: #eaf5f2; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font: 800 clamp(28px, 3.4vw, 40px)/1.1 var(--font-display); color: #fff; margin: 0 0 6px; letter-spacing: -0.015em; }
.cta-band p { margin: 0; color: #cfe7e1; }
.cta-band .btn { border-color: transparent; }
.cta-band .btn.on-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }

.notfound { padding: 120px 0; }

@media (max-width: 1000px) {
  .menu-btn { display: grid; }
  .links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; padding: 8px 28px 16px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px -20px rgba(21, 26, 36, 0.35); }
  .links.open { display: flex; }
  .links a { padding: 12px 0; border-top: 1px solid var(--line); font-size: 17px; }
  .links a:first-child { border-top: 0; }
  .links .only-menu { display: block; }
  .links a[aria-current="page"] { text-underline-offset: 6px; }
  .detail, .who-block { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc-out { border-left: 0; border-top: 1px solid var(--line); }
  .road { grid-template-columns: minmax(0, 1fr); }
  .road > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .links { padding: 8px 16px 16px; }
  .uses, .need { grid-template-columns: minmax(0, 1fr); }
  .uses > div:nth-child(2), .need > div:nth-child(2) { border-top: 1px solid var(--line); }
  .uses > div:nth-child(even), .need > div:nth-child(even) { border-left: 0; }
  .calc-in { grid-template-columns: minmax(0, 1fr); }
  .timeline li { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .timeline .n { font-size: 30px; }
  .page-hero { padding: 40px 0 28px; }
  .top-actions .btn.primary { padding: 8px 11px; font-size: 13.5px; }
}
.more { margin: 24px 0 0; font-weight: 600; }
.proof .more { margin-top: 14px; }
.early label.wide { grid-column: 1 / -1; }
.early textarea { font: inherit; font-size: 15px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 10px 11px; background: var(--surface); color: var(--ink); resize: vertical; }
.early textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.band .sub { font: 700 18px/1.3 var(--font-display); color: #fff; margin: 28px 0 8px; }
.next-steps { margin: 0; padding-left: 20px; color: #cfe7e1; display: flex; flex-direction: column; gap: 6px; }
.band a { color: #fff; }
.prose ul { padding-left: 20px; }
.detail.stacked { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.calc-in > *, .calc-out { min-width: 0; }
