/* siftraq.com — the public website's styles. Light, the product shown as it is, made to be
   skimmed: one idea a section, a picture or a small drawn panel beside every claim, the long
   wording folded away until it is asked for.
   Every colour, shadow and radius is a token here, in this one block (the app's tokens live in
   public/css/tokens.css; the website has its own, lighter palette from the same brand kit).
   Two things move, and only those: the order panel stepping through the models, and the
   statement band filling in as it scrolls into view. Neither moves under prefers-reduced-motion. */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2");
}

:root {
  color-scheme: light;
  /* Brand kit v2 */
  --navy: #042C53;
  --blue: #185FA5;
  --sky: #378ADD;
  --mist: #B5D4F4;
  /* Paper and ink */
  --paper: #F8F7F3;
  --paper-2: #F1EFE8;
  --surface: #FFFFFF;
  --surface-2: #FBFAF7;
  --ink: #0C1726;
  --ink-2: #3B4757;
  --ink-3: #7C8696;        /* the second, quieter half of a heading */
  --muted: #687384;
  --rule: #E4E1D8;
  --rule-strong: #CDC9BD;
  /* Accents */
  --accent: #185FA5;
  --accent-hover: #124C86;
  --accent-soft: #E7F0FA;
  --accent-line: #B5D4F4;
  --warm: #B4530F;
  --warm-soft: #FBEEE3;
  --good: #1E7342;
  --good-soft: #E5F3EA;
  --critical: #A8321F;
  --critical-soft: #FBE9E5;
  --on-navy: #FFFFFF;
  --on-navy-2: #C9DDF3;
  /* Series in product panels */
  --s1: #185FA5;
  --s2: #378ADD;
  --s4: #B4530F;
  /* Depth */
  --shadow-card: 0 1px 2px rgba(12, 23, 38, 0.05), 0 12px 32px -18px rgba(12, 23, 38, 0.22);
  --shadow-shot: 0 2px 4px rgba(4, 44, 83, 0.08), 0 28px 60px -30px rgba(4, 44, 83, 0.45);
  --shadow-pressed: 0 1px 2px rgba(12, 23, 38, 0.10);
  --shadow-order: 0 18px 40px -18px rgba(24, 95, 165, 0.45);
  --focus: 0 0 0 3px rgba(24, 95, 165, 0.28);
  --statement-dot: rgba(4, 44, 83, 0.13);
  --statement-sheen: rgba(255, 255, 255, 0.55);
  --shadow-mark: 0 12px 30px -10px rgba(4, 44, 83, 0.55);
  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--surface); padding: 8px 14px; border-radius: var(--radius-sm); z-index: 100; }
.skip:focus { top: 12px; }

/* ── Type ─────────────────────────────────────────────────────────────── */
h1, h2, h3 { color: var(--ink); font-weight: 560; letter-spacing: -0.032em; line-height: 1.04; }
h1 { font-size: clamp(40px, 5.4vw, 68px); }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; }
h3 { font-size: 19px; letter-spacing: -0.015em; line-height: 1.25; }
h1 .soft, h2 .soft { color: var(--ink-3); }
.lede { font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.5; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 15.5px; font-weight: 560; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--ink); color: var(--surface); }
.btn-primary:hover { background: var(--navy); color: var(--surface); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--rule-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-small { height: 38px; padding: 0 16px; font-size: 14.5px; }
.link-arrow { font-weight: 560; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--rule); }
.site-header .wrap { display: flex; align-items: center; height: 72px; gap: 28px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo svg { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav > a {
  font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none;
  padding: 8px 12px; border-radius: 8px; display: inline-flex; align-items: center;
}
.nav > a:hover { color: var(--ink); background: var(--paper-2); }
.nav > a[aria-current="page"] { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .signin { font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; padding: 8px 10px; }
.nav-actions .signin:hover { color: var(--ink); }
.menu-toggle { display: none; background: none; border: 1px solid var(--rule-strong); width: 42px; height: 42px; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; color: var(--ink); }
.menu-toggle svg { width: 18px; height: 18px; }
.mobile-signin { display: none; margin-top: 18px; gap: 10px; }

/* ── Sections ─────────────────────────────────────────────────────────── */
section { padding: 96px 0; }
.band { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band-2 { background: var(--paper-2); }
.tint { background: var(--accent-soft); border-top: 1px solid var(--accent-line); border-bottom: 1px solid var(--accent-line); }
.center-head { text-align: center; margin: 0 auto 52px; max-width: 800px; }
.center-head h2 { margin-top: 16px; }
.center-head h2 .soft { display: block; }
/* Words on one side, something to look at on the other. */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.split.top { align-items: start; }
.split.flip > :first-child { order: 2; }
.split h2 { margin: 16px 0 22px; }
.split .lede + .ticks { margin-top: 26px; }
.ticks { list-style: none; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16.5px; color: var(--ink-2); }
.ticks svg { width: 18px; height: 18px; margin-top: 4px; fill: none; stroke: var(--good); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ticks b { color: var(--ink); font-weight: 600; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding: 64px 0 72px; text-align: center; }
.hero h1 { margin: 0 auto 22px; max-width: 13em; }
.hero .lede { margin: 0 auto; }
.hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.hero-simple { text-align: left; padding-bottom: 96px; }
.hero-simple h1 { font-size: clamp(38px, 4.6vw, 56px); margin: 16px 0 22px; }
.hero-simple .lede { margin: 0; }

/* The stage: the app's own pages, one at a time, on the brand's blue. */
.stage { margin-top: 56px; padding: 18px 18px 16px; border-radius: 26px; background-color: var(--mist);
  background-image: radial-gradient(circle, var(--statement-dot) 1px, transparent 1.6px), linear-gradient(160deg, var(--statement-sheen), transparent 60%);
  background-size: 26px 26px, 100% 100%; }
.tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--statement-sheen); }
.tabs button { font: inherit; font-size: 14.5px; font-weight: 560; color: var(--navy); background: none; border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-pressed); }
.stage-frame { margin-top: 16px; }
.stage picture { display: block; border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-shot); }
.stage img { width: 100%; height: auto; aspect-ratio: 2480 / 1400; object-fit: cover; object-position: top; }
.stage figcaption { margin: 16px auto 0; max-width: 46em; font-size: 15.5px; font-weight: 500; line-height: 1.45; color: var(--navy); }
.stage-note { margin-top: 4px; font-size: 13px; color: var(--blue); }

.works-with { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; font-size: 14.5px; color: var(--muted); }
.works-with > span { font-size: 12.5px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; }
.works-with ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.works-with li { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 500; }
.works-with svg { width: 18px; height: 18px; flex: none; color: var(--ink); }
.works-with svg.line { fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ── Small parts ──────────────────────────────────────────────────────── */
.chip { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; color: var(--ink-2); border: 1px solid var(--rule); background: var(--surface-2); white-space: nowrap; }
.badge { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 11px; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.badge svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.track { flex: 1; height: 6px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.track > i { display: block; height: 100%; border-radius: 999px; background: var(--s1); }
.figure-caption { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.figure-caption.center { text-align: center; }

/* The same days counted three ways. */
.answers { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 26px 26px 20px; }
.answers-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.answers-title { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.meter + .meter { margin-top: 20px; }
.meter-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--ink-2); }
.meter-top b { font-size: 38px; font-weight: 600; letter-spacing: -0.035em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.meter .track { height: 10px; margin-top: 10px; background: var(--surface); }
.meter .track > i { background: var(--navy); }
.meter.short .track > i { background: var(--sky); }
.meter.over .track > i { background: var(--warm); }
.meter.over .meter-top b { color: var(--warm); }
.answers figcaption { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* A small piece of the app, drawn: rows with a state or a value at the end. */
.mini { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 6px 18px; font-size: 14px; }
.mini-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0 12px; font-size: 15px; font-weight: 600; }
.check { display: grid; grid-template-columns: 62px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--rule); }
.check b { display: block; font-weight: 600; font-size: 15px; color: var(--ink); }
.check div span { display: block; margin-top: 2px; color: var(--muted); font-size: 13.5px; }
.state { justify-self: start; margin-top: 1px; padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.state.act { color: var(--critical); background: var(--critical-soft); }
.state.watch { color: var(--warm); background: var(--warm-soft); }
.state.fine { color: var(--good); background: var(--good-soft); }
.mini .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; color: var(--ink-2); }
.mini .row + .row { border-top: 1px solid var(--rule); }
.mini .row.on span { color: var(--ink); font-weight: 600; }
.mini .row em { font-style: normal; font-size: 12.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; color: var(--accent); background: var(--accent-soft); white-space: nowrap; }
.mini .row em.good { color: var(--good); background: var(--good-soft); }
.mini .row em.warn { color: var(--critical); background: var(--critical-soft); }

/* ── Attribution: one order, the credit moving between its visits ─────── */
.models { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; margin-bottom: 18px; }
.models button {
  flex: none; font: inherit; font-size: 13px; font-weight: 500; color: var(--ink-2); background: none; border: 0;
  padding: 7px 11px; border-radius: 7px; cursor: pointer; white-space: nowrap;
}
.models button:hover { color: var(--ink); }
.models button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-pressed); font-weight: 600; }
.order-panel { position: relative; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--rule); box-shadow: var(--shadow-card); }
.order-panel .op-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.order-panel .op-title { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.order-panel .op-title small { display: block; margin-top: 2px; font-weight: 400; font-size: 13px; color: var(--muted); }
.op-journey { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 120px; column-gap: 64px; align-items: center; }
.op-touches { display: grid; gap: 10px; }
.op-touch { position: relative; z-index: 1; padding: 10px 14px 11px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--rule); transition: border-color 0.4s, background-color 0.4s; }
.op-touch.on { border-color: var(--accent-line); background: var(--surface); }
.op-touch-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.op-touch-name { font-size: 14px; font-weight: 500; }
.op-touch-when { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.op-touch-bar { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.op-touch .track > i { width: 0; transition: width 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.op-touch-num { min-width: 96px; text-align: right; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.op-touch-num b { font-weight: 600; color: var(--ink); }
.op-order { position: relative; z-index: 1; padding: 16px 10px; border-radius: 16px; text-align: center; background: var(--accent-soft); border: 1px solid var(--accent-line); box-shadow: var(--shadow-order); }
.op-order svg { width: 22px; height: 22px; margin: 0 auto; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.op-order-amt { margin-top: 6px; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.op-order-id { font-size: 12.5px; color: var(--ink-2); }
.op-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.op-links path { fill: none; stroke: var(--sky); stroke-linecap: round; transition: stroke-width 0.6s, opacity 0.6s; }
.op-links path.flow { stroke: var(--accent); stroke-dasharray: 3 15; animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -18; } }
.op-verdict { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 14px; line-height: 1.55; color: var(--ink-2); min-height: 58px; }
.op-verdict b { font-weight: 600; color: var(--ink); }

/* The statement band: one sentence that fills in, word by word, as it scrolls into view. */
.statement { margin-top: 72px; padding: 72px 40px 60px; border-radius: 26px; text-align: center; color: var(--navy);
  background-color: var(--mist);
  background-image: radial-gradient(circle, var(--statement-dot) 1px, transparent 1.6px), linear-gradient(160deg, var(--statement-sheen), transparent 60%);
  background-size: 26px 26px, 100% 100%; }
.statement-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.statement-text { max-width: 880px; margin: 16px auto 28px; font-size: clamp(28px, 3.8vw, 52px); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; color: var(--navy); }
.js .statement-text span { opacity: 0.2; transition: opacity 0.4s ease; }
.js .statement-text span.lit { opacity: 1; }
.statement img { margin: 0 auto; border-radius: 13px; box-shadow: var(--shadow-mark); }

/* ── The everyday reports ─────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.card h3 { margin-top: 18px; font-size: 20px; }
.card > p { margin-top: 6px; font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.viz { flex: 1; margin-top: 20px; padding: 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--rule); font-size: 13.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.viz-label { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--rule); }
.fn { display: grid; grid-template-columns: 92px minmax(0, 1fr) 44px; gap: 10px; align-items: center; padding: 6px 0; }
.fn b { text-align: right; font-weight: 600; color: var(--ink); }
.fn .track > i { background: var(--s2); }
.exit-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(60px, 34%) 40px; gap: 12px; align-items: center; padding: 9px 0; }
.exit-row + .exit-row { border-top: 1px solid var(--rule); }
.exit-row code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; color: var(--ink); }
.exit-row b { text-align: right; font-weight: 600; color: var(--ink); }
.exit-row .track > i { background: var(--s4); }
.chat { display: grid; gap: 10px; align-content: center; }
.bubble { padding: 10px 13px; border-radius: 16px; max-width: 94%; font-size: 14px; line-height: 1.5; color: var(--ink); }
.bubble.q { margin-left: auto; background: var(--accent-soft); border: 1px solid var(--accent-line); border-bottom-right-radius: 6px; }
.bubble.a { background: var(--surface-2); border: 1px solid var(--rule); border-bottom-left-radius: 6px; }
.bubble small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }

/* Who it is for: four in a row. */
.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--rule); }
.who svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.who h3 { margin-top: 14px; font-size: 17px; }
.who p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }

/* ── Steps: three boxes that share their walls ────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.step { padding: 28px 28px 30px; display: flex; flex-direction: column; }
.step + .step { border-left: 1px solid var(--rule-strong); }
.step-n { font-size: 13px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.step h3 { margin-top: 12px; font-size: 20px; }
.step p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.step .mini { margin-top: 22px; box-shadow: none; background: var(--paper); padding: 2px 16px; }

/* ── Your data: a picture first, the wording on request ───────────────── */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr) 96px minmax(0, 1fr); align-items: center; }
.node { height: 100%; padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--rule); }
.node svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.node b { display: block; margin-top: 14px; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.node span { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.node.main { background: var(--navy); border-color: var(--navy); }
.node.main svg { stroke: var(--mist); }
.node.main b { color: var(--on-navy); }
.node.main span { color: var(--on-navy-2); }
.link { position: relative; height: 1px; border-top: 2px dashed var(--accent-line); }
.link::after { content: ""; position: absolute; right: -1px; top: -6px; border: 5px solid transparent; border-left-color: var(--sky); }
.link span { position: absolute; left: 50%; top: -12px; transform: translateX(-50%); padding: 2px 8px; border-radius: 999px; background: var(--surface); font-size: 12.5px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.pledge { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; margin-top: 32px; }
.pledge li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 999px; border: 1px solid var(--rule); background: var(--paper); font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.pledge svg { width: 15px; height: 15px; fill: none; stroke: var(--good); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.detail-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; margin-top: 64px; }
.detail-cols h3 { font-size: 20px; margin-bottom: 14px; }
.limited-use { margin-top: 36px; max-width: 62em; }

/* Rows that open: the short line always, the full wording when asked for. */
.acc { border-top: 1px solid var(--ink); }
.acc details { border-bottom: 1px solid var(--rule); }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 15px 0; font-size: 16px; font-weight: 560; color: var(--ink); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary span { flex: 1; }
.acc summary em { font-style: normal; font-size: 12.5px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.acc summary::after { content: "+"; flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--rule-strong); color: var(--ink-2); font-size: 15px; font-weight: 400; line-height: 1; }
.acc details[open] summary::after { content: "–"; }
.acc summary:hover::after { border-color: var(--ink); color: var(--ink); }
.acc details p { padding: 0 34px 18px 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.acc.big summary { padding: 20px 0; font-size: 18px; letter-spacing: -0.01em; }
.acc.big details p { font-size: 16px; }

/* ── What comes next ──────────────────────────────────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--accent-line); }
.tile svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile h3 { margin-top: 14px; font-size: 17.5px; }
.tile p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }

/* ── About ────────────────────────────────────────────────────────────── */
.about-hero { padding-bottom: 80px; }
.about-hero h1 { max-width: 15em; }
.person { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 28px; }
.person-head { padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.person-head b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.person-head span { display: block; font-size: 14.5px; color: var(--muted); }
.person p { margin-top: 18px; color: var(--ink-2); }
.person-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 24px; }

/* ── Forms ────────────────────────────────────────────────────────────── */
.signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: start; }
.signup h2 { margin: 16px 0 20px; }
.form { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-card); display: grid; gap: 18px; text-align: left; }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 560; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); width: 100%;
  border: 1px solid var(--rule-strong); border-radius: 10px; padding: 11px 13px;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .fine { font-size: 13px; color: var(--muted); line-height: 1.5; }
.form-status { font-size: 14.5px; border-radius: 10px; padding: 12px 14px; display: none; }
.form-status.ok { display: block; background: var(--good-soft); color: var(--good); }
.form-status.err { display: block; background: var(--warm-soft); color: var(--critical); }
.form button[disabled] { opacity: .6; cursor: progress; }
.signup-points { list-style: none; margin-top: 30px; display: grid; gap: 14px; }
.signup-points li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15.5px; color: var(--ink-2); }
.signup-points svg { width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }

/* ── Legal documents ──────────────────────────────────────────────────── */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 32px 112px; }
.doc .eyebrow { margin-bottom: 18px; }
.doc h1 { font-size: clamp(38px, 5vw, 56px); margin-bottom: 14px; }
.doc .updated { color: var(--muted); font-size: 15px; margin-bottom: 36px; }
.doc .summary { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 44px; }
.doc .summary h2 { font-size: 18px; margin: 0 0 10px; letter-spacing: -0.01em; }
.doc h2 { font-size: 26px; letter-spacing: -0.02em; margin: 52px 0 14px; line-height: 1.2; }
.doc h3 { font-size: 18px; margin: 30px 0 10px; }
.doc p, .doc li { font-size: 16.5px; color: var(--ink-2); line-height: 1.68; }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; margin: 12px 0; display: grid; gap: 8px; }
.doc .summary ul { margin-bottom: 0; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc .tbl { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.doc .tbl th, .doc .tbl td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.doc .tbl th { font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--rule); padding: 64px 0 40px; background: var(--paper); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-grid p { font-size: 14.5px; color: var(--muted); margin-top: 16px; max-width: 26em; }
.footer-grid h4 { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
.footer-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 12px 40px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.footer-base span:last-child { max-width: 46em; }

/* ── Narrower screens ─────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .split, .signup, .detail-cols { grid-template-columns: 1fr; gap: 40px; }
  .split.flip > :first-child { order: 0; }
  .answers, .split > .mini, .order-panel, .person { max-width: 640px; }
  .cards { grid-template-columns: 1fr; }
  .card { max-width: 640px; }
  .who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  section { padding: 72px 0; }
  .hero { padding: 36px 0 56px; }
  .nav, .nav-actions .signin { display: none; }
  .nav-actions { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  body.menu-open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: fixed; inset: 72px 0 0 0; background: var(--paper); padding: 16px 20px 32px; overflow-y: auto; z-index: 49;
  }
  body.menu-open .nav > a { font-size: 18px; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--rule); width: 100%; }
  body.menu-open .nav .mobile-signin { display: flex; }
  .center-head { margin-bottom: 36px; }
  .stage { margin-top: 40px; padding: 12px 12px 14px; border-radius: 20px; }
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px solid var(--rule-strong); }
  .flow { grid-template-columns: 1fr; }
  .link { height: 44px; width: 1px; margin: 0 auto; border-top: 0; border-left: 2px dashed var(--accent-line); }
  .link::after { right: auto; left: -6px; top: auto; bottom: -1px; border: 5px solid transparent; border-top-color: var(--sky); }
  .link span { top: 50%; transform: translate(-50%, -50%); }
  .statement { margin-top: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  /* The phone's picture of a page is as wide as a phone: shown at its own shape. */
  .stage img { aspect-ratio: 780 / 1180; }
  .tabs { border-radius: 18px; }
  .tabs button { padding: 8px 12px; font-size: 14px; }
}
@media (max-width: 520px) {
  .tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .answers { padding: 22px 20px 18px; }
  .meter-top { font-size: 14.5px; }
  .meter-top b { font-size: 32px; }
  .order-panel { padding: 18px; }
  .op-journey { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .op-links { display: none; }
  .who, .tiles { grid-template-columns: 1fr; gap: 24px; }
  .tiles { gap: 12px; }
  .statement { padding: 52px 22px 44px; border-radius: 22px; }
  .acc summary { flex-wrap: wrap; row-gap: 0; }
  .acc summary em { order: 3; flex-basis: 100%; margin-top: 2px; }
  .field-row { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .hero .actions .btn { flex: 1 1 auto; }
  .doc { padding: 40px 20px 80px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .op-links path.flow { animation: none; }
  .js .statement-text span { opacity: 1; }
}
