:root {
  color-scheme: light;
  --page: #f9f9f7;
  --surface: #fcfcfb;
  --raised: #ffffff;
  --ink: #0b0b0b;
  --ink-2: #52514e;
  --ink-3: #6f6e69;
  --muted: #898781;
  --grid: #e1e0d9;
  --axis: #c3c2b7;
  --hair: rgba(11,11,11,0.10);
  --gain: #2a78d6;
  --pos: #12805c;
  --loss: #e34948;
  --gain-wash: rgba(42,120,214,0.10);
  --loss-wash: rgba(227,73,72,0.14);
  --neutral-bar: #b9b8b0;
  --accent-ink: #1c5cab;
  --select: #0b0b0b;
  --select-ink: #fcfcfb;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #0d0d0d;
    --surface: #1a1a19;
    --raised: #1f1f1e;
    --ink: #f0efec;
    --ink-2: #c3c2b7;
    --ink-3: #a3a29a;
    --muted: #898781;
    --grid: #2c2c2a;
    --axis: #383835;
    --hair: rgba(255,255,255,0.10);
    --gain: #3987e5;
  --pos: #4cc794;
    --loss: #e66767;
    --gain-wash: rgba(57,135,229,0.14);
    --loss-wash: rgba(230,103,103,0.18);
    --neutral-bar: #4a4a46;
    --accent-ink: #86b6ef;
    --select: #f0efec;
    --select-ink: #1a1a19;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0d0d0d;
  --surface: #1a1a19;
  --raised: #1f1f1e;
  --ink: #f0efec;
  --ink-2: #c3c2b7;
  --ink-3: #a3a29a;
  --muted: #898781;
  --grid: #2c2c2a;
  --axis: #383835;
  --hair: rgba(255,255,255,0.10);
  --gain: #3987e5;
  --pos: #4cc794;
  --loss: #e66767;
  --gain-wash: rgba(57,135,229,0.14);
  --loss-wash: rgba(230,103,103,0.18);
  --neutral-bar: #4a4a46;
  --accent-ink: #86b6ef;
  --select: #f0efec;
  --select-ink: #1a1a19;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-ink); text-underline-offset: 3px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.num { font-variant-numeric: tabular-nums; }

/* ── nav ─────────────────────────────────────────── */
.site-nav { border-bottom: 1px solid var(--hair); background: var(--page); }
.site-nav .wrap { display: flex; align-items: center; gap: 24px; min-height: 60px; flex-wrap: wrap; }
.wordmark { font-weight: 650; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; margin-right: auto; }
.site-nav ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; font-size: 14px; flex-wrap: wrap; }
.site-nav ul a { color: var(--ink-2); text-decoration: none; }
.site-nav ul a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.btn-quiet {
  font-size: 14px; color: var(--ink); text-decoration: none;
  border: 1px solid var(--axis); border-radius: 6px; padding: 6px 12px;
}
@media (max-width: 860px) { .site-nav ul { display: none; } }

/* ── masthead ────────────────────────────────────── */
.masthead { padding-top: 56px; padding-bottom: 32px; }
.eyebrow { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 16px; font-weight: 650; }
.dataset-flag {
  display: inline-block; font-size: 18px; font-weight: 600; letter-spacing: 0.01em;
  border: 1.5px solid var(--ink); border-radius: 6px; padding: 4px 12px; margin: 0 0 20px;
}
.standfirst { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 720px; margin: 0 0 24px; }
.runmeta { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; color: var(--ink-3); margin: 0; padding: 0; list-style: none; }
.runmeta b { color: var(--ink); font-weight: 600; }

/* ── tier bar ────────────────────────────────────── */
.tierbar {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--page) 92%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
}
.tierbar .wrap { display: flex; align-items: center; gap: 12px 20px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.seg { display: inline-flex; border: 1px solid var(--axis); border-radius: 8px; padding: 2px; gap: 2px; }
.seg button {
  font: inherit; font-size: 14px; font-weight: 550; color: var(--ink-2);
  background: transparent; border: 0; border-radius: 6px; padding: 6px 14px; cursor: pointer;
}
.seg button[aria-pressed="true"] { background: var(--select); color: var(--select-ink); }
.seg button:focus-visible { outline: 2px solid var(--gain); outline-offset: 1px; }
.tierbar .showing { font-size: 14px; color: var(--ink-2); }
.tierbar .showing b { color: var(--ink); font-weight: 600; }

/* ── sections ────────────────────────────────────── */
section { padding: 48px 0 8px; }
h2 { font-size: 26px; line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 8px; font-weight: 650; }
h3 { font-size: 17px; margin: 0 0 6px; font-weight: 600; }
.lede { color: var(--ink-2); max-width: 720px; margin: 0 0 24px; }
.prose { max-width: 720px; }
.prose p { margin: 0 0 14px; }

/* ── headline figures: profit and pain at equal size ── */
.kpi-head { font-size: 26px; font-weight: 650; letter-spacing: -0.015em; margin: 0 0 18px; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: 10px; overflow: hidden; }
@media (min-width: 720px) { .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kpi { background: var(--surface); padding: 18px 20px; }
.kpi .label { font-size: 13px; color: var(--ink-3); margin: 0 0 4px; }
.kpi .value { font-size: 26px; font-weight: 650; letter-spacing: -0.015em; margin: 0; }
.kpi .sub { font-size: 13px; color: var(--ink-3); margin: 4px 0 0; }

/* ── figures ─────────────────────────────────────── */
figure { margin: 0; }
.fig { background: var(--surface); border: 1px solid var(--hair); border-radius: 10px; padding: 18px 18px 12px; position: relative; }
.fig-title { font-size: 15px; font-weight: 600; margin: 0 0 2px; }
.fig-sub { font-size: 13px; color: var(--ink-3); margin: 0 0 12px; }
.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
figcaption { font-size: 13px; color: var(--ink-3); margin: 10px 2px 0; max-width: 760px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink-2); margin: 0 0 10px; padding: 0; list-style: none; }
.legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }
.legend i.box { height: 10px; width: 10px; border-radius: 2px; }

svg .grid { stroke: var(--grid); stroke-width: 1; }
svg .zero { stroke: var(--axis); stroke-width: 1; }
svg .tick { fill: var(--muted); font-size: 12px; font-family: var(--font); font-variant-numeric: tabular-nums; }
svg .lbl { fill: var(--ink-2); font-size: 12px; font-family: var(--font); font-variant-numeric: tabular-nums; }
svg .lbl-strong { fill: var(--ink); font-size: 12px; font-weight: 600; font-family: var(--font); font-variant-numeric: tabular-nums; }
svg .eq-line { fill: none; stroke: var(--gain); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
svg .eq-area { fill: var(--gain-wash); }
svg .dd-line { fill: none; stroke: var(--loss); stroke-width: 1.5; stroke-linejoin: round; }
svg .dd-area { fill: var(--loss-wash); }
svg .bar-gain { fill: var(--gain); }
svg .bar-pos { fill: var(--pos); }
svg .bar-loss { fill: var(--loss); }
svg .bar-neutral { fill: var(--neutral-bar); }
svg .cross { stroke: var(--ink-3); stroke-width: 1; }
svg .dot { stroke: var(--surface); stroke-width: 2; }
svg .hit { fill: transparent; }
svg .dim { opacity: 0.35; }

.tip {
  position: absolute; pointer-events: none; z-index: 5;
  background: var(--raised); border: 1px solid var(--hair); border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  padding: 8px 10px; font-size: 13px; line-height: 1.45; min-width: 150px;
  opacity: 0; transition: opacity 80ms;
}
.tip.on { opacity: 1; }
.tip .t-date { color: var(--ink-3); margin-bottom: 2px; }
.tip .t-row { display: flex; justify-content: space-between; gap: 14px; }
.tip .t-row span:first-child { color: var(--ink-2); }
.tip .t-row span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }
.tip .k { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }

/* ── tables ──────────────────────────────────────── */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--hair); border-radius: 10px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
caption { text-align: left; font-size: 13px; color: var(--ink-3); padding: 12px 14px 0; caption-side: top; }
th, td { padding: 9px 14px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--grid); font-variant-numeric: tabular-nums; }
th:first-child, td:first-child { text-align: left; }
thead th { font-weight: 600; font-size: 13px; color: var(--ink-2); vertical-align: bottom; }
thead th .w { display: block; font-weight: 400; color: var(--ink-3); font-size: 12px; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 400; color: var(--ink-2); }
tr.group th { padding-top: 18px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.col-on { background: color-mix(in srgb, var(--gain) 7%, transparent); }
thead .col-on { color: var(--ink); }

.monthly { font-size: 13px; }
.monthly th, .monthly td { padding: 8px 7px; }
.monthly th:first-child { padding-left: 14px; }
.monthly td.yr { padding-right: 14px; }
.monthly td.empty { color: var(--muted); }
.monthly td.yr { font-weight: 600; border-left: 1px solid var(--grid); }

details.more { margin-top: 16px; }
details.more summary { cursor: pointer; font-size: 15px; font-weight: 600; padding: 8px 0; color: var(--ink); }
details.more summary:focus-visible { outline: 2px solid var(--gain); outline-offset: 2px; border-radius: 4px; }
details.more[open] summary { margin-bottom: 8px; }

/* ── callouts ────────────────────────────────────── */
.callout { border-left: 3px solid var(--ink); padding: 4px 0 4px 18px; margin: 0 0 8px; max-width: 760px; }
.facts { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: 10px; overflow: hidden; margin: 18px 0; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fact { background: var(--surface); padding: 16px 18px; }
.fact .label { font-size: 13px; color: var(--ink-3); margin: 0 0 8px; }
.fact .row { display: flex; justify-content: space-between; font-size: 14px; padding: 2px 0; }
.fact .row span:first-child { color: var(--ink-2); }
.fact .row span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }
.fact .row.on span { color: var(--ink); }
.fact .row.on span:first-child::before { content: "▸ "; }

.door { background: var(--surface); border: 1px solid var(--hair); border-radius: 12px; padding: 28px; }
.door .lead { font-size: 22px; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 12px; max-width: 720px; }
.door-compact { margin-top: 18px; padding: 22px 28px; }
.door-compact .lead { font-size: 18px; }
.widths-table { max-width: 560px; margin: 18px 0 16px; }
.widths-table table { font-size: 14px; }
.widths-table td { text-align: center; }
.btn {
  display: inline-block; font-weight: 600; font-size: 15px; text-decoration: none;
  background: var(--select); color: var(--select-ink); border-radius: 8px; padding: 10px 18px; margin-top: 8px;
}
ul.plain { margin: 0 0 14px; padding-left: 20px; }
ul.plain li { margin: 0 0 6px; }
dl.defs { margin: 0; display: grid; grid-template-columns: 1fr; gap: 14px; max-width: 760px; }
dl.defs dt { font-weight: 600; }
dl.defs dd { margin: 2px 0 0; color: var(--ink-2); }

/* ── footer ──────────────────────────────────────── */
footer { margin-top: 64px; border-top: 1px solid var(--hair); padding: 28px 0 48px; font-size: 13px; color: var(--ink-3); }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; }
footer nav a { color: var(--ink-2); }
footer p { margin: 0 0 8px; max-width: 760px; }

@media (forced-colors: active) {
  svg .eq-line, svg .dd-line { stroke: CanvasText; }
  svg .bar-gain, svg .bar-pos, svg .bar-loss, svg .bar-neutral { fill: CanvasText; }
}

/* ── strategy cards (Portfolio page) ─────────────── */
.cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border: 1px solid var(--hair); border-radius: 12px;
  padding: 20px 22px; color: var(--ink); text-decoration: none;
  transition: border-color 120ms;
}
.card:hover { border-color: var(--axis); }
.card:focus-visible { outline: 2px solid var(--gain); outline-offset: 2px; }
.card h3 { font-size: 20px; letter-spacing: -0.01em; margin: 0; }
.card .tag { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
.card .desc { font-size: 14px; color: var(--ink-2); margin: 0; }
.card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 4px 0 0; }
.card dt { font-size: 12px; color: var(--ink-3); }
.card dd { margin: 0; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.card .go { font-size: 14px; color: var(--accent-ink); margin-top: auto; padding-top: 4px; }
.card .cap { font-size: 12px; color: var(--ink-3); margin: 0; }

/* ── strategy picker ─────────────────────────────── */
.picker { background: var(--surface); border: 1px solid var(--hair); border-radius: 14px; padding: 14px 16px 16px; margin: 0 0 28px; }
.picker-h { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.picker-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 640px) { .picker-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.picker-list a, .picker-list span { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--axis); border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.picker-list button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--axis); border-radius: 10px; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); background: transparent; cursor: pointer; }
.picker-list button:hover { border-color: var(--ink-3); }
.picker-list button[aria-pressed="true"] { background: var(--select); color: var(--select-ink); border-color: var(--select); }
.picker [aria-pressed="true"] .sot-marker .on { fill: var(--select-ink); }
.picker [aria-pressed="true"] .sot-marker .ring.on { stroke: var(--select-ink); }
.picker [aria-pressed="true"] .sot-marker .off { fill: color-mix(in srgb, var(--select-ink) 25%, transparent); }
.picker [aria-pressed="true"] .sot-marker .ring.off { fill: none; stroke: color-mix(in srgb, var(--select-ink) 25%, transparent); }
.picker-month { max-width: 420px; }
.picker-month .picker-h { display: block; }
.picker-month select.pick { width: 100%; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); background: var(--raised); border: 1px solid var(--axis); border-radius: 10px; padding: 10px 12px; }
.picker-list a:hover { border-color: var(--ink-3); background: color-mix(in srgb, var(--ink) 4%, transparent); }
.picker-list [aria-current="page"] { background: var(--select); color: var(--select-ink); border-color: var(--select); }
.picker .sot-marker { width: 20px; height: 20px; flex: none; }
.picker-tier { margin: 0; }
.picker-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.picker-tier .seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border: 0; padding: 0; border-radius: 0; flex: 0 1 420px; min-width: 260px; }
.picker-tier .seg button { padding: 10px 12px; border: 1px solid var(--axis); border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--ink); background: transparent; }
.picker-tier .seg button:hover { border-color: var(--ink-3); }
.picker-tier .seg button[aria-pressed="true"] { background: var(--select); color: var(--select-ink); border-color: var(--select); }
.picker .sot-marker .on { fill: var(--ink); } .picker .sot-marker .off { fill: var(--grid); }
.picker .sot-marker .ring { fill: none; stroke-width: 4; } .picker .sot-marker .ring.on { stroke: var(--ink); } .picker .sot-marker .ring.off { stroke: var(--grid); }
.picker .sot-marker .rev.on { fill: var(--gain); }
.picker [aria-current="page"] .sot-marker .on { fill: var(--select-ink); }
.picker [aria-current="page"] .sot-marker .ring.on { stroke: var(--select-ink); }
.picker [aria-current="page"] .sot-marker .rev.on { fill: var(--gain); }
.picker [aria-current="page"] .sot-marker .off { fill: color-mix(in srgb, var(--select-ink) 25%, transparent); }
.picker [aria-current="page"] .sot-marker .ring.off { fill: none; stroke: color-mix(in srgb, var(--select-ink) 25%, transparent); }

/* ── strategy sub-navigation ─────────────────────── */
.subnav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px; font-size: 14px; margin: 0 0 20px; padding: 0; list-style: none; }
.subnav a, .subnav span { padding: 4px 10px; border-radius: 6px; text-decoration: none; color: var(--ink-2); }
.subnav a:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.subnav [aria-current="page"] { color: var(--ink); font-weight: 600; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.subnav .fwd { color: var(--accent-ink); margin-left: 8px; }

/* ── structure table ─────────────────────────────── */
table.struct th[scope="row"] { width: 34%; white-space: normal; }
table.struct td { text-align: left; white-space: normal; color: var(--ink); }
.note { font-size: 14px; color: var(--ink-2); max-width: 760px; margin: 14px 0 0; }
.pair { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ═══ Site layer — design v2 (Nov 2026), on top of the shared design system above ═══ */

/* ── type: IBM Plex Sans, self-hosted ─────────────── */
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/ibm-plex-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/ibm-plex-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/ibm-plex-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/ibm-plex-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ── tokens ──────────────────────────────────────── */
:root {
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Charter, "Bitstream Charter", "Iowan Old Style", "Sitka Text", Cambria, Georgia, serif;
  --page: #ffffff; --surface: #ffffff;
  --soft: #f9f9f7; --tint: #eef3fa;
  --brand: #2a78d6; --btn: #2a78d6; --brand-wash: rgba(42,120,214,0.10);
  --pos: #12805c; --neg: #c43a39;
  --navy: #0d1b2e; --on-navy: #f0efec; --on-navy-2: #a9b4c4; --navy-accent: #86b6ef; --navy-pos: #7fdcb5; --navy-neg: #f0a3a3;
  --panel: #0b0b0b; --panel-line: transparent;
  --shadow: 0 1px 2px rgba(11,11,11,0.04), 0 18px 48px -24px rgba(13,27,46,0.22);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #0d0d0d; --surface: #1a1a19; --soft: #141413; --tint: #111a26;
    --brand: #3987e5; --brand-wash: rgba(57,135,229,0.14);
    --pos: #4cc794; --neg: #ee8080;
    --navy: #0f1d31; --panel: #050505; --panel-line: rgba(255,255,255,0.12);
    --shadow: 0 1px 2px rgba(0,0,0,0.3), 0 18px 48px -24px rgba(0,0,0,0.6);
  }
}
:root[data-theme="dark"] {
  --page: #0d0d0d; --surface: #1a1a19; --soft: #141413; --tint: #111a26;
  --brand: #3987e5; --brand-wash: rgba(57,135,229,0.14);
  --pos: #4cc794; --neg: #ee8080;
  --navy: #0f1d31; --panel: #050505; --panel-line: rgba(255,255,255,0.12);
  --shadow: 0 1px 2px rgba(0,0,0,0.3), 0 18px 48px -24px rgba(0,0,0,0.6);
}

/* ── base ────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--gain); outline-offset: 2px; }
a:hover { color: var(--ink); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1180px; }
.narrow { max-width: 880px; }
h1 { font-weight: 700; letter-spacing: -0.03em; }
h2 { font-weight: 700; letter-spacing: -0.02em; }
.kpi-head { font-weight: 700; }
.sgn-pos { color: var(--pos); }
.sgn-neg { color: var(--neg); }

/* ── nav ─────────────────────────────────────────── */
.site-nav { background: color-mix(in srgb, var(--page) 94%, transparent); }
.site-nav .wrap { gap: 12px 28px; min-height: 72px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.wordmark .sot-mark { width: 38px; height: 38px; }
.site-nav ul { gap: 22px; }
.site-nav ul a:hover { color: var(--ink); }
.nav-cta { display: inline-block; font-size: 14px; font-weight: 600; color: var(--page); background: var(--ink); text-decoration: none; border-radius: 8px; padding: 9px 16px; }
.nav-cta:hover { color: var(--page); opacity: 0.9; }
.menu { display: none; position: relative; }
@media (max-width: 860px) { .menu { display: block; } }
.menu summary { list-style: none; cursor: pointer; font-size: 14px; color: var(--ink); border: 1px solid var(--axis); border-radius: 8px; padding: 8px 12px; }
.menu summary::-webkit-details-marker { display: none; }
.menu .menu-list {
  display: flex; flex-direction: column; gap: 2px; list-style: none; margin: 0; padding: 8px;
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 200px;
  background: var(--raised); border: 1px solid var(--hair); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.menu .menu-list a { display: block; padding: 8px 10px; border-radius: 6px; color: var(--ink-2); text-decoration: none; font-size: 15px; }
.menu .menu-list a[aria-current="page"] { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .site-nav nav { display: none; } }
@media (max-width: 520px) {
  .wordmark { font-size: 16px; gap: 10px; }
  .wordmark .sot-mark { width: 32px; height: 32px; }
  .nav-cta { display: none; }
}

/* ── buttons ─────────────────────────────────────── */
.btn { background: var(--btn); color: #fff; border-radius: 8px; padding: 12px 22px; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(11,11,11,0.16); }
.btn-quiet { display: inline-block; font-size: 15px; font-weight: 600; color: var(--ink); background: var(--surface); text-decoration: none; border: 1px solid var(--axis); border-radius: 8px; padding: 11px 21px; }
.btn-quiet:hover { border-color: var(--ink-3); color: var(--ink); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 40px; }
.ctas .btn, .next .btn, .door .btn { margin-top: 0; }

/* ── inner-page masthead: a full-width tinted band ── */
.masthead {
  background: var(--tint); box-shadow: 0 0 0 100vmax var(--tint); clip-path: inset(0 -100vmax);
  padding-top: 64px; padding-bottom: 40px; margin-bottom: 8px;
}
.masthead h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; }
.masthead .standfirst { color: var(--ink-2); }
.dataset-flag { background: var(--surface); }
.title-row { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.title-row h1 { margin-bottom: 0; }
.title-row .sot-marker { width: clamp(36px, 4.4vw, 48px); height: auto; aspect-ratio: 1; }

/* ── selectors: every one is a labelled box (strategy, size, view) ── */
.tierbar { border: 0; background: color-mix(in srgb, var(--page) 88%, transparent); }
.tierbar .wrap { display: block; padding-top: 10px; padding-bottom: 10px; }
.picker { box-shadow: 0 1px 2px rgba(11,11,11,0.04); }
.tierbar .picker { box-shadow: 0 6px 20px -12px rgba(13,27,46,0.35); }

/* ── shared blocks, restyled ─────────────────────── */
.kpis { gap: 12px; background: none; border: 0; border-radius: 0; overflow: visible; }
.kpi { border: 1px solid var(--hair); border-radius: 14px; padding: 18px 20px; }
.kpi .value { font-weight: 700; letter-spacing: -0.02em; }
.fig { border-radius: 16px; padding: 22px 22px 14px; box-shadow: var(--shadow); }
.table-scroll { border-radius: 14px; }
.facts { gap: 12px; background: none; border: 0; overflow: visible; }
.facts .fact { border: 1px solid var(--hair); border-radius: 14px; }
.card { border-radius: 16px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(13,27,46,0.35); border-color: var(--brand); }
.door { background: var(--navy); color: var(--on-navy); border: 0; border-radius: 22px; padding: clamp(28px, 5vw, 48px); }
.door .lead { color: var(--on-navy); }
.door .note { color: var(--on-navy-2); }
.next { background: var(--tint); border: 0; border-radius: 18px; padding: 28px; }
.next .btn-quiet { margin-left: 6px; }
.callout { border-left-color: var(--brand); }
footer { margin-top: 88px; background: var(--soft); padding: 36px 0 48px; }
.home + footer, main:has(> .home) + footer { margin-top: 0; }

/* ── strategy markers ────────────────────────────── */
.sot-mark { display: block; flex: none; width: 28px; height: 28px; }
.sot-mark .t { fill: var(--ink); }
.sot-mark .b { stroke: var(--gain); stroke-width: 2; }
.sot-mark .p { fill: none; stroke: var(--page); stroke-width: 5; stroke-linecap: square; }
.sot-marker { display: inline-block; flex: none; width: 20px; height: 20px; vertical-align: -4px; }
.sot-marker .on { fill: var(--ink); }
.sot-marker .off { fill: var(--grid); }
.sot-marker .ring { fill: none; stroke-width: 4; }
.sot-marker .ring.on { stroke: var(--ink); }
.sot-marker .ring.off { stroke: var(--grid); }
.sot-marker .rev.on { fill: var(--gain); }

/* ── equity chart with hover read-out (home) ─────── */
.hc { position: relative; padding-left: 52px; touch-action: pan-y; cursor: crosshair; }
.hc-panel { position: relative; }
.hc-panel svg { display: block; width: 100%; }
.hc-eq svg { height: clamp(180px, 30vw, 320px); }
.hc-dd { margin-top: 10px; }
.hc-dd svg { height: clamp(56px, 8vw, 84px); }
.hc .yt { position: absolute; left: -52px; width: 44px; text-align: right; transform: translateY(-50%); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hc-x { position: relative; height: 22px; margin-top: 6px; }
.hc .xt { position: absolute; transform: translateX(-50%); font-size: 12px; color: var(--muted); }
.hc .xt::before { content: ""; position: absolute; left: 50%; top: -6px; height: 4px; border-left: 1px solid var(--axis); }
.hc-dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--loss); border: 2px solid var(--surface); transform: translate(-50%, -50%); }
.hc-note { font-size: 13px; color: var(--ink-2); margin: 4px 0 0; line-height: 1.4; }
.hc-key { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--loss); margin-right: 8px; vertical-align: 0; }
.hc-guide, .hc-hov, .hc .tip { display: none; }
.hc.hov .hc-guide, .hc.hov .hc-hov { display: block; }
.hc.hov .tip { display: block; opacity: 1; }
.hc-guide { position: absolute; width: 0; border-left: 1px solid var(--ink-3); pointer-events: none; }
.hc-hov { position: absolute; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--surface); transform: translate(-50%, -50%); pointer-events: none; }
.hc-hov-eq { background: var(--gain); }
.hc-hov-dd { background: var(--loss); }
.hc .tip { min-width: 190px; }

/* ═══ Home ═══ */
.home > section { padding: 0; }
.home .band { padding: 88px 0; }
@media (max-width: 720px) { .home .band { padding: 64px 0; } }
.home .band-tint { background: var(--tint); }
.home h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; margin: 0 0 14px; }
.home .lede { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 720px; margin: 0 0 32px; }

/* hero */
.h-hero { padding: 64px 0 88px !important; }
.h-hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.h-hero-text { flex: 1 1 440px; min-width: 0; }
.h-hero h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.04; margin: 0 0 18px; }
.h-sub { font-size: clamp(19px, 2vw, 21px); line-height: 1.5; color: var(--ink-2); margin: 0 0 18px; }
.h-lede { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin: 0; max-width: 560px; }
.payoff { flex: 1 1 460px; min-width: 0; margin: 0; background: var(--panel); border: 1px solid var(--panel-line); border-radius: 28px; padding: 28px; }
@media (max-width: 600px) { .payoff { padding: 16px; border-radius: 20px; } }
.payoff svg { display: block; width: 100%; height: auto; }
.payoff text { font-family: var(--font); }

/* evidence */
.h-evidence h2 { max-width: 900px; }
.h-flagrow { display: flex; gap: 10px 14px; align-items: center; flex-wrap: wrap; margin: 0 0 22px; }
.h-flagrow .dataset-flag { margin: 0; font-size: 15px; padding: 3px 10px; }
.h-period { margin: 0; font-size: 14px; color: var(--ink-2); }
.h-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 16px; }
@media (max-width: 760px) { .h-kpis { grid-template-columns: 1fr; } }
.h-kpi { background: var(--surface); border-radius: 16px; padding: 22px 24px; }
.h-kpi-label { margin: 0 0 6px; font-size: 13px; color: var(--ink-3); }
.h-kpi-val { margin: 0; font-size: clamp(30px, 3.6vw, 40px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.chart-card { background: var(--surface); border-radius: 16px; padding: 24px 24px 18px; box-shadow: var(--shadow); }
@media (max-width: 600px) { .chart-card { padding: 18px 14px 14px; } }
.chart-card figcaption { margin: 12px 0 0; max-width: 820px; }
.h-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 16px 0 0; }
@media (max-width: 900px) { .h-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .h-facts > :last-child { grid-column: 1 / -1; } }
.h-facts > div { background: var(--surface); border-radius: 14px; padding: 16px 20px; }
.h-facts dt { font-size: 13px; color: var(--ink-3); }
.h-facts dd { margin: 2px 0 0; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.h-evidence .note { margin: 20px 0 0; font-size: 15px; }

/* strategy cards */
.h-cap { margin: 0 0 6px; font-size: 13px; color: var(--ink-3); }
.h-cap + .h-cap { margin-bottom: 16px; }
.h-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1100px) { .h-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .h-cards { grid-template-columns: 1fr; } }
.h-card { position: relative; display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--hair); border-radius: 16px; padding: 22px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.h-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(13,27,46,0.35); border-color: var(--brand); }
.h-card:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
.h-card h3 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.h-card h3 .sot-marker { width: 28px; height: 28px; }
.h-card h3 a { color: var(--ink); text-decoration: none; }
.h-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.h-card h3 a:focus-visible { outline: none; }
.glyph { display: block; width: 100%; height: 70px; background: var(--soft); border-radius: 10px; }
.glyph .g { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.glyph.rev .g { stroke: var(--gain); }
.glyph .band-line { stroke: var(--axis); stroke-dasharray: 4 4; }
.h-desc { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); flex-grow: 1; }
.h-tag { margin: 0; padding-top: 12px; border-top: 1px solid var(--grid); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.h-stats { display: grid; grid-template-columns: 1fr; margin: -4px 0 0; }
.h-stats > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-top: 1px solid var(--grid); }
.h-stats > div:first-child { border-top: 0; }
.h-stats dt { font-size: 13px; color: var(--ink-3); }
.h-stats dd { margin: 0; font-size: 16px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.h-pf { position: relative; margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; background: var(--navy); color: var(--on-navy); border-radius: 16px; padding: 24px 26px; transition: transform .2s ease, box-shadow .2s ease; }
.h-pf:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(13,27,46,0.5); }
.h-pf:focus-within { outline: 2px solid var(--navy-accent); outline-offset: 2px; }
.h-pf .who { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.h-pf h3 { margin: 0; font-size: 20px; font-weight: 700; }
.h-pf h3 a { color: var(--on-navy); text-decoration: none; }
.h-pf h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.h-pf .who p { margin: 0; font-size: 14px; color: var(--on-navy-2); }
.h-pf .sot-marker { width: 40px; height: 40px; }
.h-pf .sot-marker .on { fill: var(--on-navy); }
.h-pf .sot-marker .ring.on { stroke: var(--on-navy); }
.h-pf .sot-marker .rev.on { fill: #3987e5; }
.h-pf dl { display: flex; gap: 28px; flex-wrap: wrap; margin: 0; }
.h-pf dt { font-size: 12px; color: var(--on-navy-2); }
.h-pf dd { margin: 0; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.home .pos { color: var(--pos); }
.home .neg { color: var(--neg); }
.h-pf .pos { color: var(--navy-pos); }
.h-pf .neg { color: var(--navy-neg); }

/* how it works */
.h-how { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.h-how-deco { position: absolute; right: -80px; top: -60px; width: 420px; height: 420px; opacity: 0.07; pointer-events: none; }
.h-how h2 { margin-bottom: 48px; }
.h-how-cta { margin: 48px 0 0; }
.h-steps { position: relative; }
.h-steps ol { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 28px; }
.h-steps li { position: relative; padding-left: 60px; }
.h-steps .n { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); border: 2px solid #3987e5; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; z-index: 1; }
.h-steps b { display: block; font-size: 17px; line-height: 1.35; margin: 0 0 6px; }
.h-steps .d { display: block; font-size: 15px; line-height: 1.55; color: var(--on-navy-2); }
.h-line, .h-fill { position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: rgba(240,239,236,0.12); }
.h-fill { background: linear-gradient(180deg, #3987e5, #86b6ef); transform-origin: top; }
@media (min-width: 1000px) {
  .h-steps ol { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .h-steps li { padding-left: 0; padding-top: 60px; }
  .h-line, .h-fill { left: 20px; right: 20px; top: 19px; bottom: auto; width: auto; height: 2px; }
  .h-fill { background: linear-gradient(90deg, #3987e5, #86b6ef); transform-origin: left; }
}

/* who it is for */
.h-fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .h-fit-grid { grid-template-columns: 1fr; } }
.h-fit { background: var(--soft); border: 1px solid var(--hair); border-radius: 16px; padding: 28px; }
.home .h-fit h2 { font-size: 26px; margin: 0 0 16px; }
.h-fit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.h-fit li { position: relative; padding-left: 32px; color: var(--ink-2); line-height: 1.5; }
.h-fit li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-wash); }
.h-fit li::after { content: ""; position: absolute; }
.h-fit.yes li::after { left: 7px; top: 6px; width: 5px; height: 9px; border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.h-fit.no li::before { background: var(--grid); }
.h-fit.no li::after { left: 5px; top: 11px; width: 10px; height: 2px; background: var(--ink-3); }

/* founder */
.home .h-founder h2 { font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); font-weight: 600; margin: 0; }
.h-founder blockquote { margin: 24px 0 0; max-width: 860px; }
.h-quote { margin: 0 0 18px; font-family: var(--serif); font-size: clamp(20px, 2.3vw, 25px); line-height: 1.55; color: var(--ink); }
.h-quote .hang { font-size: 2.6em; line-height: 0; vertical-align: -0.38em; color: var(--brand); margin-right: 0.04em; }
@media (min-width: 960px) { .h-quote .hang { margin-left: -0.5em; } }
.h-by { margin: 0 0 14px; font-weight: 600; }

/* record */
.h-door { display: grid; gap: 24px; }
.home .h-door h2 { margin: 0; color: var(--navy-accent); font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.h-door .lead { margin: 0; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.45; font-weight: 600; max-width: 860px; }
.h-door .btn { justify-self: start; }

/* pricing */
.h-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 18px; }
@media (max-width: 760px) { .h-prices { grid-template-columns: 1fr; } }
.h-price { border: 1px solid var(--grid); border-radius: 18px; padding: 26px; background: var(--surface); }
.h-price.free { border: 2px solid var(--brand); background: var(--tint); }
.h-price .when { margin: 0 0 6px; font-size: 13px; color: var(--ink-3); }
.h-price .what { margin: 0 0 10px; font-size: 30px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.h-price .pnote { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.5; }

/* newsletter */
.h-news { background: var(--tint); border-radius: 24px; padding: clamp(28px, 5vw, 48px); }
.home .h-news h2 { font-size: 30px; }
.h-news .lede { margin-bottom: 20px; }
.news-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 560px; }
.news-form input[type="email"] { flex: 1 1 260px; min-width: 0; font: inherit; padding: 12px 14px; border: 1px solid var(--axis); border-radius: 8px; background: var(--surface); color: var(--ink); }
.news-form button { font: inherit; font-weight: 600; padding: 12px 22px; border: 0; border-radius: 8px; background: var(--ink); color: var(--page); cursor: pointer; }
.news-form .consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink-2); width: 100%; }
.news-form .consent input { margin-top: 3px; }
.news-msg { width: 100%; font-size: 14px; color: var(--ink-2); margin: 0; }

/* home motion — only with JS on and no reduced-motion request */
@keyframes sot-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes sot-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sot-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes sot-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes sot-grow { from { transform: scale(0); } to { transform: scale(1); } }
@media (prefers-reduced-motion: no-preference) {
  .h-hero-text > * { animation: sot-up .7s ease-out both; }
  .h-hero-text > :nth-child(2) { animation-delay: .08s; }
  .h-hero-text > :nth-child(3) { animation-delay: .16s; }
  .payoff .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: sot-draw 1.6s cubic-bezier(.5,0,.2,1) both; }
  .payoff .fade { animation: sot-fade .9s ease-out both; }
  .js .home [data-reveal] { opacity: 0; }
  .js .home [data-reveal].in { opacity: 1; animation: sot-up .7s ease-out both; }
  .js .chart-card .hc-panel svg { clip-path: inset(0 100% 0 0); }
  .js .chart-card.in .hc-panel svg { animation: sot-wipe 2.2s cubic-bezier(.35,.6,.2,1) .2s both; }
  .js .chart-card .hc-dot, .js .chart-card .hc-note { opacity: 0; }
  .js .chart-card.in .hc-dot, .js .chart-card.in .hc-note { animation: sot-fade .5s ease-out 2.3s both; }
  .js .h-cards .h-card { opacity: 0; }
  .js .h-cards.in .h-card { animation: sot-up .7s ease-out both; animation-delay: var(--d); }
  .js .glyph .g { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .h-cards.in .glyph .g { animation: sot-draw 1.4s cubic-bezier(.5,0,.2,1) both; animation-delay: var(--d2); }
  .js .h-fill { transform: scale(0); }
  .js .h-steps.in .h-fill { animation: sot-grow 2.4s ease-in-out .3s both; }
  .js .h-steps li { opacity: 0; }
  .js .h-steps.in li { animation: sot-up .7s ease-out both; }
  .js .h-steps.in li:nth-child(2) { animation-delay: .4s; }
  .js .h-steps.in li:nth-child(3) { animation-delay: .85s; }
  .js .h-steps.in li:nth-child(4) { animation-delay: 1.3s; }
  .js .h-steps.in li:nth-child(5) { animation-delay: 1.75s; }
}

/* ═══ Essays: Start here, The system ═══ */
.essay-head { padding-bottom: 40px; }
.doc { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 1000px) { .doc { grid-template-columns: 190px minmax(0, 1fr); } }
.toc { display: none; font-size: 14px; }
@media (min-width: 1000px) { .toc { display: block; position: sticky; top: 24px; align-self: start; padding-top: 52px; } }
.toc-h { font-size: 13px; color: var(--ink-3); margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--hair); }
.toc li a { display: block; padding: 4px 0 4px 14px; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.toc li a:hover { color: var(--ink); }
.essay { font-family: var(--serif); font-size: 19px; line-height: 1.7; max-width: 680px; min-width: 0; }
@media (max-width: 600px) { .essay { font-size: 18px; } }
.essay h2 { font-family: var(--font); font-size: 28px; margin: 56px 0 14px; scroll-margin-top: 24px; }
.essay h2:first-child { margin-top: 32px; }
.essay h3 { font-family: var(--font); font-size: 19px; margin: 36px 0 10px; }
.essay p { margin: 0 0 20px; }
.essay strong { font-weight: 700; }
.essay ol, .essay ul { padding-left: 1.4em; margin: 0 0 20px; }
.essay li { margin: 0 0 14px; padding-left: 4px; }
.essay li p { margin: 0 0 12px; }
.essay .cont { margin: 0 0 20px 1.4em; padding-left: 4px; }
.essay blockquote.q { font-family: var(--font); font-size: 22px; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; margin: 8px 0 28px; padding: 22px 26px; background: var(--tint); border-radius: 16px; }
.essay blockquote.q p { margin: 0; }
.essay .table-scroll { margin: 8px 0 28px; font-family: var(--font); }
.essay table.prose-table { font-size: 14px; line-height: 1.45; }
.essay table.prose-table th, .essay table.prose-table td { text-align: left; white-space: normal; vertical-align: top; min-width: 90px; }
.essay table.prose-table thead th { color: var(--ink); }
.essay table.prose-table tr > :first-child { white-space: nowrap; min-width: 0; }
.essay table.prose-table.legal tr > :first-child { white-space: normal; min-width: 0; width: 45%; }
.next { font-family: var(--font); margin: 48px 0 0; }
.next p { margin: 0 0 14px; font-size: 17px; font-weight: 600; }

/* ═══ Pricing ═══ */
table.schedule th, table.schedule td { white-space: normal; text-align: left; vertical-align: top; padding-top: 14px; padding-bottom: 14px; }
table.schedule th[scope="row"] { white-space: nowrap; color: var(--ink); font-weight: 600; }
table.schedule td.txt { color: var(--ink-2); }
table.schedule td b { color: var(--ink); }

/* ═══ Performance ═══ */
.picker-view { max-width: 560px; margin: 8px 0 0; }
.picker-view .picker-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
section.perf { scroll-margin-top: 16px; }
section.perf + section.perf { margin-top: 48px; border-top: 1px solid var(--hair); padding-top: 56px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ═══ Members' record page ═══ */
.site-nav .members-flag { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--axis); border-radius: 999px; padding: 5px 12px; }
.standing { background: var(--surface); border: 1px solid var(--hair); border-radius: 14px; padding: 16px 18px; }
.picker-month { margin: 0 0 18px; }
@media (max-width: 520px) {
  .site-nav .wrap:has(.members-flag) { flex-wrap: nowrap; column-gap: 10px; }
  .site-nav .members-flag { font-size: 10px; letter-spacing: .04em; padding: 4px 8px; white-space: nowrap; }
}

/* pre-launch: coming-soon banner (build.py, WAITLIST) */
.soon-bar { background: var(--tint); border-bottom: 1px solid var(--axis); }
.soon-bar .wrap { padding-top: 10px; padding-bottom: 10px; text-align: center; }
.soon-bar p { margin: 0; font-size: 15px; color: var(--ink-2); }
.soon-bar b { color: var(--ink); }
.soon-bar a { color: var(--brand); font-weight: 600; }
.news-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.news-form button:disabled { opacity: .6; cursor: wait; }
#waitlist { scroll-margin-top: 90px; }
.welcome { max-width: 460px; width: calc(100% - 40px); border: 0; border-radius: 20px; padding: 32px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.welcome::backdrop { background: rgba(11,11,11,.45); }
.welcome h2 { margin: 0 0 12px; font-size: 24px; }
.welcome p { color: var(--ink-2); margin: 0 0 22px; }
.welcome .btn { border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.door .news-form { margin-top: 4px; }
.door .news-form .consent, .door .news-msg { color: rgba(255,255,255,.82); }
.door .news-form .consent a { color: #fff; }
.door .news-form button { background: var(--btn); color: #fff; }
.h-pf .sot-marker .ring.on { fill: none; }
