/* Search decisions · Ledger: audit paper, pine ink, rust for problems, stamps for proof. */
:root {
  color-scheme: light;
  --bg: #FBFAF6;
  --bg-2: #F2F0E8;
  --panel: #FFFFFF;
  --ink: #15201C;
  --ink-rgb: 21, 32, 28;
  --muted: #5E6B66;
  --line: rgba(21, 32, 28, .13);
  --rule: rgba(20, 112, 94, .16);
  --accent: #14705E;
  --accent-deep: #0E5244;
  --accent-soft: #E3F0EB;
  --on-accent: #F4FBF8;
  --rust: #B4532A;
  --rust-soft: #F6E6DD;
  --amber: #C98A1B;
  --amber-soft: #FBF0DA;
  --pine-deep: #0F3D33;
  --mint: #8ED9C2;
  --mint-soft: #E5F3ED;
  --sand: #F5ECDD;
  --sec: clamp(72px, 9vw, 120px);
  --display: "Fraunces", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: max(20px, 4vw);
  --ease: cubic-bezier(.7, 0, .2, 1);
  --max: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; scroll-padding-top: 80px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); overflow-x: hidden;
  background-image: repeating-linear-gradient(180deg, transparent 0 31px, var(--rule) 31px 32px);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
section { position: relative; }
h1, h2, h3 { text-wrap: balance; }
em { font-family: var(--display); font-style: italic; font-weight: 400; }
code, pre { font-family: var(--mono); }

.eyebrow {
  font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
}
.h2 { font: 600 clamp(38px, 5.6vw, 84px)/1 var(--display); letter-spacing: -.035em; font-variation-settings: "opsz" 144; }
.h2 em { color: var(--accent); }
.lede { color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); max-width: 56ch; margin-top: 24px; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- progress + nav ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--accent); z-index: 120; }
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; gap: 28px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 14px; transition: transform .5s var(--ease), background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(251, 250, 246, .86); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
.nav.hide { transform: translateY(-110%); }
.logo { display: flex; align-items: center; gap: 10px; font: 600 18px var(--display); letter-spacing: -.01em; }
.logo-mark { width: 28px; height: 28px; border-radius: 7px; background: var(--accent); display: grid; place-items: center; flex: none; }
.logo-mark svg { width: 17px; height: 17px; fill: none; stroke: var(--on-accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav-links a { position: relative; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-signin { font-size: 15px; font-weight: 500; }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink); transition: transform .3s; }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 99; background: var(--bg); display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 0 var(--gutter); }
.mobile-menu a { font: 600 40px var(--display); letter-spacing: -.03em; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 6px;
  font: 600 16px var(--sans); overflow: hidden; isolation: isolate; transition: color .35s; white-space: nowrap; border: 0; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary::before { background: var(--ink); }
.btn-ghost { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: var(--bg); }
.btn-small { padding: 10px 18px; font-size: 14px; background: var(--ink); color: var(--bg); }
.btn-small::before { background: var(--accent); }
.btn-xl { padding: 22px 38px; font-size: 19px; }

/* ---------- 01 hero ---------- */
.hero {
  min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center;
  max-width: var(--max); margin: 0 auto; padding: calc(120px + env(safe-area-inset-top, 0px)) var(--gutter) 80px;
}
.margin-rule { position: absolute; top: 0; bottom: 0; left: calc(var(--gutter) - 18px); width: 1px; background: var(--rust); opacity: .35; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(20, 112, 94, .5); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(20, 112, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(20, 112, 94, 0); } }
.hero-title { font: 700 clamp(46px, 7.2vw, 108px)/.95 var(--display); letter-spacing: -.045em; font-variation-settings: "opsz" 144; }
.hero-title .line { display: block; }
.hero-title .w { display: inline-block; }
.hero-title em { color: var(--accent); font-weight: 400; letter-spacing: -.03em; }
.hero-sub { margin-top: 28px; font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 46ch; }
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-meta { margin-top: 28px; font: 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.report {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: grid; gap: 14px;
  box-shadow: 0 1px 0 rgba(var(--ink-rgb), .04), 0 30px 60px -30px rgba(var(--ink-rgb), .25); min-width: 0; transform: rotate(.6deg);
}
.report-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.report-site { font: 600 15px var(--display); }
.report-tag { font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 4px 8px; border: 1px solid var(--line); border-radius: 4px; }
.report-status { display: flex; justify-content: space-between; font: 12px var(--mono); color: var(--muted); }
.report-status b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.scan { width: 100%; height: 150px; display: block; }
.decisions { list-style: none; display: grid; gap: 7px; }
.decisions li {
  display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--bg); transition: opacity .5s, transform .5s var(--ease);
}
.js .decisions.wait li { opacity: 0; transform: translateY(10px); }
.decisions li:nth-child(2) { transition-delay: .08s; } .decisions li:nth-child(3) { transition-delay: .16s; }
.decisions li:nth-child(4) { transition-delay: .24s; } .decisions li:nth-child(5) { transition-delay: .32s; }
.d-n { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font: 600 11px var(--mono); }
.d-t { min-width: 0; }
.d-t b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-t small { display: block; font: 11px var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stamp {
  font: 600 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); padding: 3px 7px;
  border: 1.5px solid var(--accent); border-radius: 3px; transform: rotate(-6deg); display: inline-block;
}
.stamp.big { font-size: 22px; padding: 6px 14px; border-width: 2.5px; letter-spacing: .18em; }

/* ---------- 02 marquee ---------- */
.marquee-wrap { padding: 28px 0; border-block: 1px solid var(--line); background: var(--bg); overflow: hidden; display: grid; gap: 10px; }
.marquee { overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 32px; align-items: center; font: 500 clamp(22px, 2.6vw, 36px) var(--display); letter-spacing: -.02em; padding-right: 32px; will-change: transform; }
.marquee-track b { color: var(--rust); font-weight: 400; }
.marquee-track.alt { font-family: var(--display); font-style: italic; font-weight: 400; color: var(--muted); }
.marquee-track.alt b { color: var(--accent); }

/* ---------- 03 problem ---------- */
.problem-pin { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; max-width: var(--max); margin: 0 auto; padding: 100px var(--gutter); }
.tick { color: var(--rust); font-variant-numeric: tabular-nums; }
.chips { position: relative; height: min(70svh, 560px); }
.chip {
  position: absolute; font: 500 12px var(--mono); padding: 6px 10px; border-radius: 4px; white-space: nowrap;
  background: var(--panel); border: 1px solid var(--line); color: var(--muted); box-shadow: 0 6px 16px -10px rgba(var(--ink-rgb), .3);
}
.chip.warn::before { content: "▲ "; color: var(--amber); }
.chip.keep { color: var(--ink); border-color: var(--accent); font-weight: 600; z-index: 2; }
.chip.keep::before { content: "✓ "; color: var(--accent); }

/* ---------- 04 how ---------- */
.how-pin { min-height: 100svh; max-width: var(--max); margin: 0 auto; padding: 110px var(--gutter) 60px; display: grid; gap: 40px; align-content: center; }
.how-body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.steps-rail { list-style: none; display: grid; gap: 6px; }
.steps-rail li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 14px 16px; border-radius: 8px; transition: background .4s, opacity .4s; opacity: .42; }
.steps-rail li.on { opacity: 1; background: var(--panel); box-shadow: inset 3px 0 0 var(--accent); }
.steps-rail li.done { opacity: .75; }
.steps-rail span { font: 500 13px var(--mono); color: var(--accent); padding-top: 3px; }
.steps-rail b { font: 600 19px var(--display); letter-spacing: -.01em; }
.steps-rail p { font-size: 15px; color: var(--muted); margin-top: 4px; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.steps-rail li.on p { max-height: 120px; }
.no-js-open .steps-rail p, html:not(.js) .steps-rail p { max-height: none; }
html:not(.js) .steps-rail li { opacity: 1; }

.app { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(var(--ink-rgb), .35); min-width: 0; }
.app-bar { display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.app-url { font: 11.5px var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-body { padding: 16px; display: grid; gap: 14px; }
.app-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tile { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; display: grid; gap: 2px; min-width: 0; }
.tile small { font-size: 11px; color: var(--muted); line-height: 1.3; }
.tile b { font: 600 22px var(--display); }
.tile em { font: 500 11px var(--mono); font-style: normal; }
.tile .up { color: var(--accent); } .tile .flat { color: var(--muted); }
.app-pages { display: grid; grid-template-columns: repeat(25, minmax(0, 1fr)); gap: 3px; }
.app-pages i { aspect-ratio: 1; border-radius: 2px; background: var(--bg-2); transition: background .3s; }
.app-pages i.seen { background: var(--accent-soft); }
.app-pages i.flag { background: var(--amber); }
.app-pages i.proven { background: var(--rust); }
.app-pages i.gone { background: var(--bg-2); outline: 1px dashed var(--line); }
.app-list { display: grid; gap: 6px; }
.app-label { font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.app-row { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 13.5px; transition: opacity .4s, transform .4s var(--ease); }
.js .app-row.wait { opacity: 0; transform: translateX(12px); }
.app-row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-row em { font: 11px var(--mono); font-style: normal; color: var(--muted); }
.sev { width: 8px; height: 8px; border-radius: 50%; }
.sev.bad { background: var(--rust); } .sev.warn { background: var(--amber); }

/* ---------- 05 journey ---------- */
.journey { overflow: hidden; background: var(--ink); color: var(--bg); background-image: none; }
.journey .eyebrow { color: #7FC8B4; }
.journey .h2 em { color: #7FC8B4; }
.journey .lede { color: rgba(251, 250, 246, .65); }
.journey-track { display: flex; gap: 28px; padding: 120px var(--gutter) 80px; align-items: center; width: max-content; min-height: 100svh; }
.panel { align-self: center; min-height: 440px; }
.journey-intro { width: min(560px, 80vw); flex: none; display: flex; flex-direction: column; justify-content: center; }
.panel {
  width: min(420px, 82vw); flex: none; background: rgba(251, 250, 246, .05); border: 1px solid rgba(251, 250, 246, .14);
  border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 14px;
}
.panel-index { font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #7FC8B4; }
.panel h3 { font: 600 28px/1.1 var(--display); letter-spacing: -.02em; }
.panel > p { color: rgba(251, 250, 246, .7); font-size: 16px; }
.mini { margin-top: auto; background: var(--bg); color: var(--ink); border-radius: 8px; padding: 16px; font-size: 14px; }
.mini-decision { display: grid; gap: 6px; }
.mini-decision small { color: var(--muted); font-size: 12.5px; }
.pill { display: inline-block; width: fit-content; font: 600 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; }
.pill.todo { background: var(--rust-soft); color: var(--rust); }
.pill.sent { background: #FBF0DA; color: #8A5A07; }
.pill.fixed { background: var(--accent-soft); color: var(--accent); }
.pill.ghosted { opacity: .35; }
.mini-code { font-size: 12.5px; line-height: 1.7; white-space: pre-wrap; overflow-x: auto; }
.c-rm { color: var(--rust); } .c-add { color: var(--accent); font-weight: 500; } .c-note { color: var(--muted); }
.mini-status { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .mini-status i { color: var(--muted); font-style: normal; }
.mini-recheck { display: flex; align-items: center; gap: 12px; font: 13px var(--mono); }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--accent-soft); border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.mini-fixed { display: grid; gap: 12px; justify-items: start; }
.mini-fixed small { color: var(--muted); }
.mini-chart svg { width: 100%; height: 90px; display: block; }
.mini-chart .area { fill: var(--accent-soft); } .mini-chart .ln { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.mini-chart .fixline { stroke: var(--rust); stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.mini-chart small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.mini-chart b { color: var(--accent); }

/* ---------- 06 ai ---------- */
.ai { max-width: var(--max); margin: 0 auto; padding: 140px var(--gutter) 100px; }
.ai-q { margin: 48px 0 20px; font: italic 400 clamp(22px, 2.4vw, 32px) var(--display); display: grid; gap: 8px; }
.ai-q span { font: 500 12px var(--mono); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ai-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ai-card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; transition: border-color .4s, box-shadow .4s; }
.ai-card.lit[data-hit="yes"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.ai-engine { font: 600 13px var(--mono); }
.ai-text { font-size: 15px; color: var(--muted); flex: 1; }
.ai-text span { color: var(--ink); }
.ai-text mark { background: var(--accent-soft); color: var(--accent-deep); font-weight: 600; padding: 0 3px; border-radius: 3px; }
.ai-res { font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.ai-res.hit { color: var(--accent); } .ai-res.miss { color: var(--rust); }
.js .ai-card .ai-text { clip-path: inset(0 0 0 0); }

/* ---------- 07 money ---------- */
.money { max-width: var(--max); margin: 0 auto; padding: 100px var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.ledger-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: grid; gap: 18px; min-width: 0; }
.lc-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--muted); }
.lc-head b { font: 600 44px var(--display); color: var(--ink); }
.bar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: var(--bg-2); }
.bar span { width: var(--w); transition: width 1.2s var(--ease); }
.js .bar.wait span { width: 0; }
.b1 { background: var(--accent); } .b2 { background: #5FA390; } .b3 { background: var(--amber); } .b4 { background: var(--ink); }
.b5 { background: repeating-linear-gradient(45deg, var(--muted) 0 3px, transparent 3px 6px); }
.lc-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.lc-table td { padding: 9px 0; border-top: 1px solid var(--line); }
.lc-table td:nth-child(2) { text-align: right; font-weight: 600; width: 60px; }
.lc-table td:nth-child(3) { text-align: right; color: var(--muted); font: 13px var(--mono); width: 130px; }
.k { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 10px; vertical-align: 0; }

/* ---------- 08 two readers ---------- */
.two-readers { max-width: var(--max); margin: 0 auto; padding: 100px var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.flip { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; min-width: 0; }
.flip-tabs { display: flex; border-bottom: 1px solid var(--line); }
.flip-tabs button { flex: 1; padding: 14px; background: none; border: 0; font: 500 14px var(--sans); color: var(--muted); cursor: pointer; position: relative; }
.flip-tabs button[aria-selected="true"] { color: var(--ink); }
.flip-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }
.flip-view { padding: 24px; display: grid; gap: 14px; font-size: 16px; }
.fv-title { font: 600 22px/1.2 var(--display); letter-spacing: -.01em; }
.fv-meta { font-size: 14px; color: var(--muted); display: grid; gap: 2px; border-top: 1px dashed var(--line); padding-top: 12px; }
.fv-meta span { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.flip-view pre { background: var(--ink); color: #DDEDE7; padding: 16px; border-radius: 8px; font-size: 13px; overflow-x: auto; }
.flip-view code { font-size: .92em; }

/* ---------- 09 principles ---------- */
.principles { max-width: var(--max); margin: 0 auto; padding: 100px var(--gutter); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.stat { padding: 28px 24px 28px 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 600 clamp(72px, 9vw, 140px)/1 var(--display); letter-spacing: -.05em; color: var(--accent); }
.stat p { color: var(--muted); margin-top: 10px; max-width: 24ch; }
.rules { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 40px; }
.rules li { padding: 16px 0 16px 28px; border-top: 1px solid var(--line); position: relative; font-size: 17px; }
.rules li::before { content: "§"; position: absolute; left: 0; color: var(--rust); font-family: var(--display); }

/* ---------- 10 vault ---------- */
.vault-sec { max-width: var(--max); margin: 0 auto; padding: 100px var(--gutter); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.vault { position: relative; aspect-ratio: 1; max-width: 380px; width: 100%; margin: 0 auto; display: grid; place-items: center; }
.ring { position: absolute; border-radius: 50%; border: 1.5px solid var(--accent); }
.r1 { inset: 0; opacity: .2; border-style: dashed; } .r2 { inset: 14%; opacity: .35; } .r3 { inset: 28%; opacity: .6; border-width: 2px; }
.core { width: 30%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.core svg { width: 46%; fill: none; stroke: var(--on-accent); stroke-width: 2; }
.vault-list { list-style: none; margin-top: 32px; display: grid; gap: 0; }
.vault-list li { padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); }
.vault-list b { color: var(--ink); font-weight: 600; }

/* ---------- 11 pricing ---------- */
.pricing { max-width: var(--max); margin: 0 auto; padding: 100px var(--gutter); }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; margin-top: 48px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); }
.calc-controls { padding: 28px; display: grid; gap: 10px; border-right: 1px solid var(--line); }
.calc-controls label { display: flex; justify-content: space-between; font-size: 15px; margin-top: 8px; }
.calc-controls output { font: 600 15px var(--mono); color: var(--accent); }
input[type="range"] { width: 100%; accent-color: var(--accent); }
.calc-result { padding: 28px; display: grid; gap: 10px; align-content: center; background: var(--bg-2); }
.calc-small { font-size: 14px; color: var(--muted); }
.calc-big { font: 600 64px/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.cap-bar { position: relative; height: 10px; border-radius: 99px; background: var(--panel); border: 1px solid var(--line); }
.cap-bar span { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: var(--accent); transition: width .5s var(--ease); }
.cap-bar i { position: absolute; top: -6px; bottom: -6px; width: 2px; background: var(--rust); right: 0; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.plan { border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: grid; gap: 14px; align-content: start; background: var(--panel); }
.plan-alt { background: transparent; border-style: dashed; }
.plan-name { font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.plan-price { font: 600 48px/1 var(--display); letter-spacing: -.03em; }
.plan ul { list-style: none; display: grid; gap: 8px; margin: 6px 0 10px; }
.plan li { padding-left: 24px; position: relative; color: var(--muted); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }
.plan .btn { justify-self: start; }

/* ---------- 12 setup + faq ---------- */
.setup, .faq { max-width: var(--max); margin: 0 auto; padding: 100px var(--gutter) 40px; }
.setup-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; counter-reset: none; }
.setup-list li { border-top: 2px solid var(--line); padding-top: 18px; display: grid; gap: 10px; align-content: start; transition: border-color .5s; }
.setup-list li.on { border-top-color: var(--accent); }
.sn { font: 600 40px/1 var(--display); color: var(--accent); }
.setup-list b { font: 600 20px var(--display); }
.setup-list p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.faq { padding-bottom: 100px; }
.faq-list { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font: 600 clamp(19px, 1.8vw, 24px) var(--display); letter-spacing: -.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 400 28px var(--mono); color: var(--accent); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 70ch; }

/* ---------- 13 final + footer ---------- */
.final { padding: 140px var(--gutter); text-align: center; display: grid; justify-items: center; gap: 36px; background: var(--accent); color: var(--on-accent); background-image: none; overflow: hidden; }
.final-title { font: 700 clamp(48px, 8vw, 128px)/.95 var(--display); letter-spacing: -.045em; display: grid; }
.final-title em { font-weight: 400; color: #CFEDE3; }
.final .btn-primary { background: var(--bg); color: var(--ink); }
.final .btn-primary::before { background: var(--ink); }
.final .btn-primary:hover { color: var(--bg); }
.final-note { font-size: 15px; opacity: .8; }
.final-note a { text-decoration: underline; text-underline-offset: 3px; }
.footer { background: var(--ink); color: var(--bg); padding: 60px var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.footer-big { font: 700 clamp(48px, 11vw, 180px)/.9 var(--display); letter-spacing: -.05em; white-space: nowrap; opacity: .95; }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; font-size: 14px; color: rgba(251, 250, 246, .6); }
.footer-row a:hover { color: var(--bg); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .ai-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .setup-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .journey-track { flex-direction: column; width: auto; padding: 90px var(--gutter); }
  .journey-intro, .panel { width: auto; }
  .nav-links, .nav-signin { display: none; }
  .nav .btn-small { margin-left: auto; }
  .burger { display: block; }
  .hero, .problem-pin, .how-body, .money, .two-readers, .vault-sec, .calc { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: auto; }
  .report { transform: none; }
  .chips { height: 360px; }
  .problem-pin, .how-pin { min-height: auto; }
  .calc-controls { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .rules, .plans { grid-template-columns: minmax(0, 1fr); }
  .margin-rule { display: none; }
  .steps-rail p { max-height: none; }
  .steps-rail li { opacity: 1; }
}
@media (max-width: 560px) {
  .ai-grid, .setup-list { grid-template-columns: minmax(0, 1fr); }
  .app-tiles { grid-template-columns: minmax(0, 1fr); }
  .lc-table td:nth-child(3) { width: auto; }
  .stat b { font-size: 64px; }
  .nav .btn-small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* ================= v2: colour, icons, responsive polish ================= */
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* eyebrow pills */
.eyebrow { background: var(--accent-soft); padding: 7px 12px; border-radius: 99px; line-height: 1; }
.journey .eyebrow, .band-pine .eyebrow { background: rgba(142, 217, 194, .12); color: var(--mint); }
.band-sand .eyebrow { background: #F0DFC6; color: var(--rust); }

/* section rhythm */
.money, .two-readers, .principles, .vault-sec, .pricing { padding-top: var(--sec); padding-bottom: var(--sec); }
.ai { padding-top: var(--sec); padding-bottom: var(--sec); }
.setup { padding-top: var(--sec); }
.faq { padding-bottom: var(--sec); }

/* full-bleed bands: section keeps its max-width content via inner padding */
.band-mint, .band-sand, .band-pine { max-width: none; margin: 0; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.band-mint { background: var(--mint-soft); }
.band-sand { background: var(--sand); }
.band-pine { background: var(--pine-deep); color: #EEF6F2; }
.how.band-mint { padding-left: 0; padding-right: 0; }

/* hero extras */
.mark { background: linear-gradient(180deg, transparent 62%, rgba(201, 138, 27, .32) 62%, rgba(201, 138, 27, .32) 92%, transparent 92%); padding: 0 .06em; border-radius: 2px; }
.sources { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.sources li { display: inline-flex; align-items: center; gap: 7px; font: 500 13px var(--sans); padding: 7px 12px; border-radius: 99px; background: var(--panel); border: 1px solid var(--line); }
.sources li:nth-child(1) .ic { color: var(--accent); } .sources li:nth-child(2) .ic { color: var(--amber); }
.sources li:nth-child(3) .ic { color: var(--rust); } .sources li:nth-child(4) .ic { color: #6C5BD6; }
.sources .ic { width: 16px; height: 16px; }
.report-wrap { position: relative; min-width: 0; }
.report-wrap .report { position: relative; z-index: 1; }
.glow { position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0; pointer-events: none; }
.g1 { width: 70%; aspect-ratio: 1; background: rgba(142, 217, 194, .55); top: -12%; right: -14%; }
.g2 { width: 55%; aspect-ratio: 1; background: rgba(242, 178, 90, .38); bottom: -14%; left: -12%; }
.float-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; font: 600 13px var(--sans); padding: 10px 14px; border-radius: 10px; box-shadow: 0 14px 30px -14px rgba(var(--ink-rgb), .45); white-space: nowrap; }
.fc1 { top: -18px; left: -26px; background: var(--pine-deep); color: #EEF6F2; transform: rotate(-3deg); }
.fc1 .ic { color: var(--mint); }
.fc2 { bottom: -20px; right: -18px; background: var(--amber-soft); color: #7A4F05; border: 1px solid #EBCF97; transform: rotate(2deg); }
.d-n { background: var(--pine-deep); }
.decisions li:first-child { background: var(--rust-soft); border-color: rgba(180, 83, 42, .3); }
.decisions li:first-child .d-n { background: var(--rust); }

/* marquee band */
.marquee-wrap { background: var(--pine-deep); border: 0; color: #EEF6F2; }
.marquee-track b { color: var(--amber); }
.marquee-track.alt { color: rgba(238, 246, 242, .6); }
.marquee-track.alt b { color: var(--mint); }

/* problem */
.problem::before { content: ""; position: absolute; right: 4%; top: 18%; width: 46%; height: 64%; border-radius: 50%; background: radial-gradient(closest-side, rgba(180, 83, 42, .12), transparent); pointer-events: none; }
.chip.keep { background: var(--pine-deep); color: #EEF6F2; border-color: var(--pine-deep); }
.chip.keep::before { color: var(--mint); }

/* how (mint band) */
.how .app { box-shadow: 0 40px 80px -40px rgba(15, 61, 51, .45); }
.step-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--panel); color: var(--accent); border: 1px solid rgba(20, 112, 94, .18); padding: 0 !important; }
.steps-rail li { grid-template-columns: 36px minmax(0, 1fr); gap: 14px; }
.steps-rail li.on { background: var(--panel); box-shadow: inset 3px 0 0 var(--accent), 0 10px 24px -16px rgba(15, 61, 51, .4); }
.steps-rail li.on .step-ic { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* journey glow */
.journey { background: radial-gradient(60% 80% at 15% 20%, rgba(142, 217, 194, .14), transparent 60%), radial-gradient(50% 70% at 90% 90%, rgba(201, 138, 27, .12), transparent 60%), var(--ink); }

/* ai (sand band) */
.ai-q { color: var(--ink); }
.ai-card { border-width: 1.5px; }
.ai-card[data-hit="no"] { background: #FFFBF6; }
.ai-card[data-hit="yes"] { background: var(--panel); }
.ai-card.lit[data-hit="no"] { border-color: rgba(180, 83, 42, .45); }
.ai-card.lit[data-hit="yes"] { background: var(--mint-soft); }
.ai-engine { display: flex; align-items: center; gap: 8px; }
.eng-dot { width: 10px; height: 10px; border-radius: 3px; background: var(--muted); }
.ai-card:nth-child(1) .eng-dot { background: #10A37F; } .ai-card:nth-child(2) .eng-dot { background: #20808D; }
.ai-card:nth-child(3) .eng-dot { background: #4C7CF0; } .ai-card:nth-child(4) .eng-dot { background: #E8A33D; }
.ai-res { display: inline-block; width: fit-content; padding: 4px 9px; border-radius: 99px; }
.ai-res.hit { background: var(--accent); color: var(--on-accent); }
.ai-res.miss { background: var(--rust-soft); }

/* money */
.ledger-card { box-shadow: 0 30px 60px -36px rgba(var(--ink-rgb), .35); }
.bar { height: 18px; }

/* two readers */
.flip { box-shadow: 0 30px 60px -36px rgba(var(--ink-rgb), .35); }
.flip-tabs { background: var(--bg-2); }
.flip-tabs button[aria-selected="true"] { background: var(--panel); }

/* principles (pine band) */
.band-pine .stats { border-top-color: var(--mint); }
.band-pine .stat { border-right-color: rgba(238, 246, 242, .14); }
.band-pine .stat b { color: var(--mint); }
.band-pine .stat p { color: rgba(238, 246, 242, .7); }
.band-pine .rules li { border-top-color: rgba(238, 246, 242, .14); display: flex; gap: 14px; align-items: flex-start; padding-left: 0; }
.band-pine .rules li::before { content: none; }
.band-pine .rules .ic { color: var(--amber); margin-top: 3px; }
@media (max-width: 860px) { .band-pine .stat:nth-child(-n+2) { border-bottom-color: rgba(238, 246, 242, .14); } }

/* vault */
.vault-list li { display: flex; gap: 14px; align-items: flex-start; }
.vault-list .ic { width: 22px; height: 22px; color: var(--accent); margin-top: 1px; padding: 0; }
.vault-list li:nth-child(even) .ic { color: var(--rust); }
.r2 { border-color: var(--amber); }
.core { box-shadow: 0 0 0 10px rgba(20, 112, 94, .12), 0 20px 40px -16px rgba(15, 61, 51, .6); }

/* pricing (mint band) */
.calc { box-shadow: 0 30px 60px -36px rgba(15, 61, 51, .35); }
.calc-result { background: var(--pine-deep); color: #EEF6F2; }
.calc-result .calc-small { color: rgba(238, 246, 242, .7); }
.cap-bar { background: rgba(238, 246, 242, .1); border-color: rgba(238, 246, 242, .2); }
.cap-bar span { background: var(--mint); }
.cap-bar i { background: var(--amber); }
.plan-featured { background: var(--pine-deep); color: #EEF6F2; border-color: var(--pine-deep); position: relative; }
.plan-featured .plan-name { color: var(--mint); }
.plan-featured li { color: rgba(238, 246, 242, .78); }
.plan-featured li::before { color: var(--mint); }
.plan-featured .btn-primary { background: var(--mint); color: var(--pine-deep); }
.plan-featured .btn-primary::before { background: #EEF6F2; }
.plan-badge { position: absolute; top: 20px; right: 20px; font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; background: var(--amber); color: var(--pine-deep); }
.plan-alt { border-color: rgba(15, 61, 51, .3); }

/* setup */
.sn { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; }
.sn .ic { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.setup-list li:nth-child(2) .sn .ic { background: var(--amber-soft); color: #8A5A07; }
.setup-list li:nth-child(3) .sn .ic { background: var(--rust-soft); color: var(--rust); }
.setup-list li:nth-child(4) .sn .ic { background: var(--pine-deep); color: var(--mint); }
.sn i { font-style: normal; font: 500 13px var(--mono); color: var(--muted); }

/* final */
.final { background: radial-gradient(70% 90% at 50% 0%, rgba(142, 217, 194, .28), transparent 70%), var(--accent); }

/* ---------- responsive polish ---------- */
@media (max-width: 1000px) {
  .hero, .problem-pin, .how-body { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: auto; padding-top: calc(110px + env(safe-area-inset-top, 0px)); }
  .report-wrap { max-width: 620px; width: 100%; margin: 24px auto 0; }
  .problem-pin, .how-pin { min-height: auto; }
  .chips { height: 380px; }
  .steps-rail p { max-height: none; }
  .steps-rail li { opacity: 1; }
  .journey-track { flex-direction: column; width: auto; min-height: 0; padding: var(--sec) var(--gutter); }
  .journey-intro, .panel { width: auto; min-height: 0; }
  .money, .two-readers, .vault-sec { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .vault { max-width: 260px; }
}
@media (max-width: 860px) {
  .fc1 { left: -6px; } .fc2 { right: -6px; }
}
@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .hero-title { font-size: clamp(40px, 11.5vw, 56px); }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .decisions li, .app-row { align-items: start; }
  .d-t b, .d-t small, .app-row span { white-space: normal; overflow: visible; text-overflow: clip; }
  .decisions li { grid-template-columns: 24px minmax(0, 1fr); }
  .decisions .stamp { grid-column: 2; justify-self: start; margin-top: 4px; }
  .app-row { grid-template-columns: 8px minmax(0, 1fr); }
  .app-row em { grid-column: 2; }
  .app-row .sev { margin-top: 6px; }
  .float-chip { font-size: 12px; padding: 8px 11px; }
  .fc1 { top: -16px; } .fc2 { bottom: -18px; }
  .h2 { font-size: clamp(34px, 9.6vw, 44px); line-height: 1.04; }
  .lede { font-size: 17px; }
  .chips { height: 340px; }
  .chip { font-size: 11px; }
  .panel { padding: 22px; } .panel h3 { font-size: 24px; }
  .ai-q { font-size: 22px; margin-top: 32px; }
  .calc-controls, .calc-result, .plan { padding: 22px; }
  .calc-big { font-size: 52px; }
  .plan-price { font-size: 40px; }
  .plan .btn, .final .btn { width: 100%; justify-content: center; }
  .final-title { font-size: clamp(40px, 12vw, 56px); }
  .btn-xl { padding: 18px 26px; font-size: 17px; }
  .faq summary { font-size: 19px; }
  .footer-big { font-size: 15vw; }
  .tile { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; }
  .tile small { grid-column: 1 / -1; }
  .lc-table td:nth-child(3) { font-size: 12px; }
  .lc-head b { font-size: 36px; }
}
.hero { overflow-x: clip; }
.js .decisions.wait li { opacity: .22; transform: none; }
.js .decisions.wait .stamp { opacity: 0; }
.decisions .stamp { transition: opacity .4s .3s; }
@media (max-width: 560px) {
  .decisions li { position: relative; padding-right: 12px; }
  .decisions .stamp { position: absolute; top: 9px; right: 10px; margin: 0; font-size: 9px; padding: 2px 5px; }
  .d-t b { padding-right: 58px; font-size: 13.5px; line-height: 1.35; }
  .d-t small { margin-top: 3px; line-height: 1.4; }
}
