/* Outsample Research — "The Journal" identity (B), locked by G 2026-08-18.
   Two-layer system: paper ground + dark instrument panels. One accent, spent sparingly. */

@font-face { font-family: "Plex Serif"; src: url("/fonts/plex-serif-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Sans";  src: url("/fonts/plex-sans-400.woff2")  format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Sans";  src: url("/fonts/plex-sans-500.woff2")  format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Mono";  src: url("/fonts/plex-mono-400.woff2")  format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono";  src: url("/fonts/plex-mono-500.woff2")  format("woff2"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: dark;
  /* page layer — the Journal at night (dark is the default, G 2026-08-18) */
  --bg: #0B0F18;
  --bg2: #0F1420;
  --surface: #131A29;
  --surface2: #0F141F;
  --line: #1E2534;
  --line2: #2A3247;
  --ink: #E9E5DA;
  --muted: #8E8B7F;
  --accent: #46B8DC;          /* cyan ink, the one popping color (G 2026-08-18) */
  --accent-strong: #6FCBE6;   /* text-weight accent on dark */
  --accent-contrast: #06131B; /* text on accent-filled surfaces */
  --field: #0D1119;
  /* verdicts */
  --robust: #3FA46A;
  --fragile: #C7783C;
  --overfit: #C0453E;
  /* instrument layer (panels; constant across themes) */
  --i-bg: #10141F;
  --i-surface: #131826;
  --i-surface2: #171D2E;
  --i-line: #232A3A;
  --i-line2: #2C3448;
  --i-ink: #E9E5DA;
  --i-muted: #8E8B7F;
  --i-accent: #46B8DC;
  --i-robust: #3FA46A;
  --i-fragile: #C7783C;
  --i-overfit: #C0453E;
  --serif: "Plex Serif", Georgia, serif;
  --sans: "Plex Sans", system-ui, sans-serif;
  --mono: "Plex Mono", ui-monospace, Consolas, monospace;
  --w: 1200px;
}
[data-theme="light"] {
  color-scheme: light;
  /* the paper Journal, one toggle away */
  --bg: #F6F4ED;
  --bg2: #EFEDE3;
  --surface: #FFFFFF;
  --surface2: #FBFAF4;
  --line: #DFDACB;
  --line2: #C9C3B0;
  --ink: #191C16;
  --muted: #6F6C5F;
  --accent: #0E7DA0;          /* deep cyan ink on paper */
  --accent-strong: #0A6580;
  --accent-contrast: #FFFFFF;
  --field: #FFFFFF;
  --robust: #2F7D4E;
  --fragile: #A85E1C;
  --overfit: #B0322C;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--accent-contrast); }
a { color: var(--accent-strong); text-decoration: none; }
b { font-weight: 500; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- header (aligned to the content grid, nav centered) ---------- */
.site-head { position: sticky; top: 0; z-index: 20; padding: 0 32px; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.head-inner { max-width: var(--w); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 13px 0; }
.wordmark { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--ink); justify-self: start; }
.mark { width: 30px; height: 20px; }
.mark path, .mark line { fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mark-is { stroke: var(--muted); }
.mark-oos { stroke: var(--accent); }
.mark-div { stroke: var(--line2); stroke-dasharray: 3 3; }
.site-head nav { display: flex; gap: 26px; justify-self: center; }
.site-head nav a { color: var(--muted); font-size: 14px; transition: color .18s; }
.site-head nav a:hover { color: var(--ink); }
.head-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.head-cta { font-size: 13px; padding: 9px 18px; }
.theme-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: none; border: 1px solid var(--line2); border-radius: 7px; color: var(--muted); cursor: pointer; transition: color .18s, border-color .18s; }
.theme-btn:hover { color: var(--ink); border-color: var(--muted); }
.theme-btn svg { width: 17px; height: 17px; display: block; }
.tb-moon { display: none; }
[data-theme="light"] .tb-sun { display: none; }
[data-theme="light"] .tb-moon { display: block; }
@media (max-width: 860px) { .site-head { padding: 0 20px; } .head-inner { display: flex; justify-content: space-between; padding: 12px 0; } .site-head nav { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; line-height: 1.15; font-family: var(--mono); font-size: 13.5px; padding: 13px 24px; border-radius: 5px; border: 1px solid var(--line2); cursor: pointer; background: none; color: var(--ink); transition: transform .16s, border-color .16s, background .16s, box-shadow .16s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-solid { background: var(--accent); color: var(--accent-contrast); border-color: var(--accent); font-weight: 500; }
.btn-solid:hover { background: var(--accent-strong); box-shadow: 0 8px 26px -10px color-mix(in srgb, var(--accent) 60%, transparent); }
.btn-ghost:hover { border-color: var(--muted); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 32px 96px; }
.hero-wash { position: absolute; top: -280px; right: -180px; width: 940px; height: 940px; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 7%, transparent), transparent 62%); pointer-events: none; animation: drift 44s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-70px, 50px); } }
.hero-grid { position: relative; max-width: var(--w); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: center; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } .hero { padding-top: 54px; } }

.chip { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); border: 1px solid var(--line2); border-radius: 999px; padding: 7px 14px 7px 7px; margin-bottom: 26px; background: var(--surface2); transition: border-color .2s, color .2s; }
.chip:hover { border-color: var(--accent); color: var(--ink); }
.chip-tag { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-strong); border-radius: 999px; padding: 3px 10px; font-weight: 500; }
.chip-arrow { color: var(--accent-strong); }

.eyebrow { font-family: var(--mono); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 18px; }
h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 4.6vw, 62px); line-height: 1.06; letter-spacing: -0.015em; margin-bottom: 22px; }
.lede { font-size: 17px; color: var(--muted); max-width: 520px; margin-bottom: 30px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-foot { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }

/* ---------- word reveal (Fxology pattern, journal register) ---------- */
.wr span { display: inline-block; opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.wr.wr-in span { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .wr span { opacity: 1; transform: none; transition: none; } }

/* ---------- the artifact (instrument layer) ---------- */
.artifact { position: relative; }
.art-window { background: linear-gradient(180deg, var(--i-surface2), var(--i-surface)); border: 1px solid var(--i-line2); border-radius: 12px; overflow: hidden; box-shadow: 0 34px 80px -34px rgba(24, 22, 12, .45), 0 6px 24px -12px rgba(24, 22, 12, .25); transition: box-shadow .3s; }
.artifact:hover .art-window { box-shadow: 0 40px 95px -34px rgba(24, 22, 12, .55), 0 8px 28px -12px rgba(24, 22, 12, .3); }
.art-titlebar { display: flex; justify-content: space-between; align-items: center; padding: 13px 18px; border-bottom: 1px solid var(--i-line); }
.art-title { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; color: var(--i-muted); }
.cursor { display: inline-block; margin-left: 7px; color: var(--i-accent); animation: blink 1.1s steps(1) infinite; font-size: 10px; }
@keyframes blink { 50% { opacity: 0; } }
.art-verdict { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; padding: 4px 11px; border-radius: 4px; font-weight: 500; }
.chip-fragile { background: color-mix(in srgb, var(--i-fragile) 18%, transparent); color: var(--i-fragile); border: 1px solid color-mix(in srgb, var(--i-fragile) 35%, transparent); }
.art-body { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1px; background: var(--i-line); }
.art-main, .art-side { background: var(--i-surface); min-width: 0; }
.art-main { padding: 16px 18px 12px; display: flex; flex-direction: column; }
.art-side { display: flex; flex-direction: column; gap: 1px; background: var(--i-line); }
.art-sidepane { background: var(--i-surface); padding: 12px 14px; flex: 1; min-width: 0; }
.art-pane-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: var(--i-muted); margin-bottom: 8px; display: flex; justify-content: space-between; gap: 8px; white-space: nowrap; overflow: hidden; }
.art-pane-sub { color: var(--i-line2); text-overflow: ellipsis; overflow: hidden; }
.art-chart { display: block; width: 100%; flex: 1; min-height: 250px; }
.agrid { stroke: var(--i-line); stroke-width: 0.6; opacity: .5; }
.adiv { stroke: var(--i-muted); stroke-width: 1; stroke-dasharray: 5 5; opacity: .75; }
.afill-is { fill: color-mix(in srgb, var(--i-muted) 7%, transparent); stroke: none; }
.acurve-is { fill: none; stroke: var(--i-muted); stroke-width: 1.8; }
.acurve-oos { fill: none; stroke: var(--i-accent); stroke-width: 2.6; }
.atip { fill: var(--i-accent); }
.atip-pulse { fill: none; stroke: var(--i-accent); stroke-width: 1.2; opacity: 0; animation: radar 2.6s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes radar { 0% { opacity: .8; transform: scale(1); } 70% { opacity: 0; transform: scale(4); } 100% { opacity: 0; } }
.art-hist { display: block; width: 100%; height: 56px; }
.art-hist rect, .art-float svg rect { fill: color-mix(in srgb, var(--i-muted) 36%, transparent); transition: y .5s cubic-bezier(.2,.7,.2,1), height .5s cubic-bezier(.2,.7,.2,1); }
.amark { stroke: var(--i-fragile); stroke-width: 1.4; stroke-dasharray: 3 3; transition: x1 .5s, x2 .5s; }
.amark.gold { stroke: var(--i-accent); }
.art-kv { display: flex; gap: 8px; align-items: baseline; font-family: var(--mono); font-size: 11px; color: var(--i-muted); margin-top: 8px; flex-wrap: wrap; }
.art-kv b { color: var(--i-ink); font-weight: 500; margin-right: 8px; }
.art-kv b.warn { color: var(--i-fragile); }
.art-kv b.gold-t { color: var(--i-accent); }
.art-gates { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.art-gates li { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11.5px; color: var(--i-muted); }
.art-gates b { font-weight: 500; font-size: 11px; padding: 2px 8px; border-radius: 3px; }
.g-pass { color: var(--i-robust); background: color-mix(in srgb, var(--i-robust) 12%, transparent); }
.g-warn { color: var(--i-fragile); background: color-mix(in srgb, var(--i-fragile) 14%, transparent); }
.art-strip { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 11px 18px 11px 196px; border-top: 1px solid var(--i-line); font-family: var(--mono); font-size: 11px; color: var(--i-muted); justify-content: flex-end; }
@media (max-width: 1000px) { .art-strip { padding-left: 18px; justify-content: flex-start; } }
.reroll { flex: 0 0 auto; background: none; border: 1px solid var(--i-line); border-radius: 4px; color: var(--i-accent); font-family: var(--mono); font-size: 10px; padding: 2px 8px; cursor: pointer; letter-spacing: .04em; transition: border-color .18s, background .18s; }
.reroll:hover { border-color: var(--i-accent); background: color-mix(in srgb, var(--i-accent) 8%, transparent); }
.art-float { position: absolute; left: -26px; bottom: -34px; width: 200px; background: var(--i-surface2); border: 1px solid var(--i-line2); border-radius: 10px; padding: 12px 14px; box-shadow: 0 24px 55px -18px rgba(24, 22, 12, .5); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; animation: bob 7s 1.2s ease-in-out infinite alternate; }
.artifact:hover .art-float { transform: translateY(-5px); }
.art-float svg { display: block; width: 100%; height: 40px; }
.art-float2 { left: -30px; top: 96px; bottom: auto; width: 190px; animation: bob 8.5s 1.6s ease-in-out infinite alternate; }
.art-float2 svg { height: 34px; }
.pp-a { fill: none; stroke: var(--i-muted); stroke-width: 2.6; opacity: .9; }
.pp-b { fill: none; stroke: var(--i-accent); stroke-width: 1.3; stroke-dasharray: 4 4; }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-7px); } }
@media (max-width: 1000px) { .art-float { left: 12px; bottom: -30px; } .art-float2 { display: none; } .artifact { margin-bottom: 40px; } }
@media (max-width: 560px) { .art-body { grid-template-columns: 1fr; } }

.animate-entrance .art-window { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.animate-entrance .art-float { animation: rise .8s .25s cubic-bezier(.2,.7,.2,1) both, bob 7s 1.2s ease-in-out infinite alternate; }
.animate-entrance .art-float2 { animation: rise .8s .45s cubic-bezier(.2,.7,.2,1) both, bob 8.5s 1.6s ease-in-out infinite alternate; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.animate-entrance .anim-draw  { stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 1.3s .5s cubic-bezier(.4,0,.2,1) forwards; }
.animate-entrance .anim-draw2 { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1s 1.7s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.parallax { will-change: transform; }

/* ---------- stat band: the bordered journal grid ---------- */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); }
.band-inner { max-width: var(--w); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.stat { padding: 34px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
@media (max-width: 820px) { .stat { border-right: none; border-bottom: 1px solid var(--line); } .stat:last-child { border-bottom: none; } }
.stat b { display: block; font-family: var(--mono); font-size: 31px; font-weight: 500; color: var(--ink); margin-bottom: 3px; }
.stat span { font-size: 13px; color: var(--muted); }

/* ---------- sections ---------- */
.sect { max-width: var(--w); margin: 0 auto; padding: 84px 32px 0; }
.sect h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -0.01em; margin-bottom: 20px; }
.sect-lede { color: var(--muted); max-width: 700px; margin-bottom: 36px; }
.sect-lede b { color: var(--ink); }
.cols { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; gap: 36px; } }
.prose h2 { margin-bottom: 18px; }
.prose p { margin-bottom: 15px; max-width: 520px; color: var(--muted); }
.prose p:last-child { color: var(--ink); font-weight: 500; }

/* figures = instrument panels on paper */
.fig { border: 1px solid var(--i-line2); border-radius: 10px; background: linear-gradient(180deg, var(--i-surface2), var(--i-surface)); padding: 20px 20px 14px; box-shadow: 0 26px 60px -32px rgba(24, 22, 12, .45); }
.fig-img { display: block; width: 100%; height: auto; }
.fig figcaption { font-family: var(--mono); font-size: 11.5px; color: var(--i-muted); padding-top: 12px; }

[data-reveal] { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }
.pending-reveal[data-reveal] { opacity: 0; transform: translateY(14px); }
.revealed[data-reveal] { opacity: 1; transform: none; }

/* ---------- gates: the gauntlet path on paper ---------- */
.gates { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.gate { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; transition: border-color .25s, box-shadow .25s; box-shadow: 0 18px 44px -34px rgba(24, 22, 12, .4); }
.gate:nth-child(even) { grid-template-columns: 1fr 1.25fr; }
.gate:nth-child(even) .gate-body { order: 2; }
.gate:nth-child(even) .gate-figwrap { order: 1; border-right: 1px solid var(--i-line); border-left: none; }
.gate:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: 0 24px 54px -32px rgba(24, 22, 12, .5); }
.gate-body { padding: 26px 28px 24px; }
.gate-figwrap { display: flex; align-items: center; justify-content: center; background: var(--i-bg); border-left: 1px solid var(--i-line); padding: 18px; }
.gate-img { display: block; width: 100%; max-width: 380px; height: auto; }
.gate-no { font-family: var(--mono); font-size: 11px; color: var(--accent-strong); letter-spacing: .14em; display: block; }
.gate h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin: 7px 0 8px; }
.gate p { font-size: 14px; color: var(--muted); max-width: 460px; }
.gate-out { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; background: var(--surface2); }
.gate:hover .gate-out { color: var(--fragile); border-color: color-mix(in srgb, var(--fragile) 40%, var(--line)); }
.gate:first-child:hover .gate-out { color: var(--muted); border-color: var(--line); }
@media (max-width: 760px) {
  .gate, .gate:nth-child(even) { grid-template-columns: 1fr; }
  .gate:nth-child(even) .gate-body { order: 1; }
  .gate:nth-child(even) .gate-figwrap { order: 2; border: none; border-top: 1px solid var(--i-line); }
  .gate-figwrap { border-left: none; border-top: 1px solid var(--i-line); }
}
.gate-outcome { margin-top: 26px; }
.outcome-label { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-bottom: 12px; }
.outcome-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.v-chip { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; font-weight: 500; padding: 8px 18px; border-radius: 5px; }
.v-robust  { color: var(--robust);  background: color-mix(in srgb, var(--robust) 10%, var(--surface));  border: 1px solid color-mix(in srgb, var(--robust) 40%, transparent); }
.v-fragile { color: var(--fragile); background: color-mix(in srgb, var(--fragile) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--fragile) 40%, transparent); }
.v-overfit { color: var(--overfit); background: color-mix(in srgb, var(--overfit) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--overfit) 40%, transparent); }
.method-note { margin-top: 28px; font-size: 14px; color: var(--muted); max-width: 640px; }

/* ---------- flow: Fig. 2 in a full-bleed highlighted band ---------- */
.sect-band { margin-top: 84px; padding: 72px 0 78px; background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sect-band .sect { padding: 0 32px; }
.flow-fig { margin: 44px 0 0; }
.flow-svg { display: block; width: 100%; height: auto; }
.flow-mobile { display: none; max-width: 380px; margin: 0 auto; }
@media (max-width: 860px) { .flow-desktop { display: none; } .flow-mobile { display: block; } }
.fl-node rect { fill: var(--i-surface); stroke: var(--i-line2); stroke-width: 1; }
.fl-node text { font-family: var(--mono); font-size: 14px; fill: var(--i-ink); }
.fl-node .fl-sub { font-size: 11.5px; fill: var(--i-muted); }
.fl-stage { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; fill: var(--accent-strong); }
.fl-conn { fill: none; stroke: var(--line2); stroke-width: 1.4; }
.fl-conn.animated { stroke-dasharray: 6 6; animation: dashflow 1.6s linear infinite; }
@keyframes dashflow { to { stroke-dashoffset: -24; } }
.fl-pulse { fill: var(--accent); }
.fl-badge rect { fill: color-mix(in srgb, var(--accent) 10%, var(--surface)); stroke: var(--accent); }
.fl-badge text { fill: var(--accent-strong); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; }
.flow-caption { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .fl-conn.animated { animation: none; } .fl-pulse { display: none; } }

/* ---------- services ---------- */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 32px 30px; box-shadow: 0 22px 50px -36px rgba(24, 22, 12, .45); transition: border-color .25s, box-shadow .25s; }
.card:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.card h3 { font-family: var(--serif); font-size: 23px; font-weight: 600; margin-bottom: 8px; }
.card-lede { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.tiers { list-style: none; border-top: 1px solid var(--line); margin-bottom: 18px; }
.tiers li { display: grid; grid-template-columns: 138px 1fr auto; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tier-name { font-weight: 500; font-size: 14.5px; }
.tier-desc { font-size: 13px; color: var(--muted); }
.tier-price { font-family: var(--mono); font-size: 14.5px; color: var(--accent-strong); white-space: nowrap; }
@media (max-width: 560px) { .tiers li { grid-template-columns: 1fr auto; } .tier-desc { grid-column: 1 / -1; padding-top: 2px; } }
.card-note { font-size: 12.5px; color: var(--muted); margin-bottom: 20px; }

/* ---------- verdicts + platforms ---------- */
.v-cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.v-cols .sect-lede { margin-bottom: 28px; max-width: none; }
@media (max-width: 860px) { .v-cols { grid-template-columns: 1fr; gap: 36px; } }
.platforms { display: flex; flex-wrap: wrap; gap: 12px; }
.p-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line2)); border-radius: 9px; color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--surface2)); transition: color .18s, border-color .18s, background .18s, transform .18s; }
.p-icon svg { width: 21px; height: 21px; display: block; }
.p-icon:hover { color: var(--accent-strong); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--surface2)); transform: translateY(-1px); }
.p-icon-sm { width: 38px; height: 38px; border-radius: 8px; background: none; }
.p-icon-sm svg { width: 17px; height: 17px; }
.ep-card { background: linear-gradient(180deg, var(--i-surface2), var(--i-surface)); border: 1px solid var(--i-line2); border-radius: 12px; padding: 18px 20px 8px; box-shadow: 0 26px 60px -32px rgba(24, 22, 12, .45); }
.ep-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; color: var(--i-muted); padding-bottom: 12px; border-bottom: 1px solid var(--i-line); }
.ep-status { color: var(--i-accent); border: 1px solid color-mix(in srgb, var(--i-accent) 40%, transparent); background: color-mix(in srgb, var(--i-accent) 10%, transparent); border-radius: 4px; padding: 2px 8px; letter-spacing: .12em; font-size: 10.5px; }
.ep-status-overfit { color: var(--i-overfit); border-color: color-mix(in srgb, var(--i-overfit) 40%, transparent); background: color-mix(in srgb, var(--i-overfit) 12%, transparent); }
.ep-rows a { color: var(--accent-strong); }
.ep-rows { list-style: none; }
.ep-rows li { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--i-line); font-family: var(--mono); font-size: 12px; }
.ep-rows li:last-child { border-bottom: none; }
.ep-rows span { color: var(--i-muted); }
.ep-rows b { color: var(--i-ink); font-weight: 400; }

/* ---------- verdict article pages ---------- */
.vp { max-width: 860px; padding-top: 64px; }
.vp-title { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.1; letter-spacing: -0.015em; margin-bottom: 14px; }
.vp-meta { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 26px; max-width: 760px; }
.vp-verdict-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.vp-chip { font-size: 16px; padding: 12px 26px; letter-spacing: .16em; }
.vp-verdict-note { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.vp-lede { max-width: 720px; }
.vp h2 { font-size: clamp(22px, 2.6vw, 30px); margin-top: 54px; }
.vp-prose { color: var(--muted); max-width: 720px; margin-bottom: 18px; }
.vp-prose b { color: var(--ink); }
.vp-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 18px 0 22px; }
.vp-kv div { border: 1px solid var(--line); border-radius: 9px; padding: 13px 15px; background: var(--surface2); }
.vp-kv b { display: block; font-family: var(--mono); font-size: 19px; font-weight: 400; color: var(--ink); }
.vp-kv span { font-size: 11.5px; color: var(--muted); }
.vp-fig { margin: 10px 0 8px; }
.vp-limits { margin: 10px 0 10px 18px; color: var(--muted); max-width: 720px; display: flex; flex-direction: column; gap: 8px; }
.vp-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 8px; }

/* ---------- faq ---------- */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.faq-list details:nth-child(-n+2) { border-top: 1px solid var(--line); }
@media (max-width: 860px) { .faq-list { grid-template-columns: 1fr; } .faq-list details:nth-child(2) { border-top: none; } }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; font-family: var(--serif); font-size: 17px; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); color: var(--accent-strong); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 2px 20px; color: var(--muted); max-width: 640px; }

/* ---------- footer ---------- */
.site-foot { max-width: var(--w); margin: 84px auto 0; padding: 36px 32px 46px; border-top: 1px solid var(--line); }
.foot-brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; margin-bottom: 14px; }
.foot-legal { font-size: 12.5px; color: var(--muted); max-width: 640px; margin-bottom: 18px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; font-family: var(--mono); font-size: 12.5px; align-items: center; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--accent-strong); }
.foot-link-btn { background: none; border: none; color: var(--muted); font-family: var(--mono); font-size: 12.5px; cursor: pointer; padding: 0; }
.foot-link-btn:hover { color: var(--accent-strong); }

/* ---------- intake dialog (paper) ---------- */
dialog#intake { margin: auto; border: 1px solid var(--line2); border-radius: 14px; background: var(--surface); color: var(--ink); padding: 0; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow-y: auto; box-shadow: 0 44px 120px -30px rgba(24, 22, 12, .5); }
dialog#intake::backdrop { background: rgba(6, 8, 13, 0.55); backdrop-filter: blur(3px); }
.in-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px 0; }
.in-head .eyebrow { margin-bottom: 0; }
.in-close { background: none; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); width: 30px; height: 30px; cursor: pointer; font-size: 13px; }
.in-close:hover { color: var(--ink); border-color: var(--muted); }
.in-step { padding: 18px 22px 24px; }
.in-step h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin-bottom: 16px; }
.in-choices { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.in-choice { text-align: left; background: var(--surface2); border: 1px solid var(--line); border-radius: 10px; padding: 15px 17px; cursor: pointer; color: var(--ink); font-family: var(--sans); display: block; transition: border-color .18s, transform .18s; position: relative; }
.in-choice:hover { border-color: var(--accent); transform: translateY(-1px); }
.in-choice b { display: block; font-size: 15px; margin-bottom: 3px; }
.in-choice span { display: block; font-size: 13px; color: var(--muted); max-width: 85%; }
.in-choice .in-price { position: absolute; right: 16px; top: 15px; font-family: var(--mono); font-size: 12.5px; color: var(--accent-strong); max-width: none; }
.in-back { background: none; border: none; color: var(--muted); font-family: var(--mono); font-size: 12.5px; cursor: pointer; padding: 4px 0; }
.in-back:hover { color: var(--ink); }
.in-fields { display: flex; flex-direction: column; gap: 13px; margin-bottom: 14px; }
.in-fields label { font-size: 12.5px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.in-row { display: grid; grid-template-columns: 1.2fr 1fr 0.8fr; gap: 10px; }
@media (max-width: 560px) { .in-row { grid-template-columns: 1fr; } }
.in-fields input, .in-fields select, .in-fields textarea { background: var(--field); border: 1px solid var(--line2); border-radius: 7px; color: var(--ink); font-family: var(--sans); font-size: 14px; padding: 10px 12px; width: 100%; }
.in-fields input:focus, .in-fields select:focus, .in-fields textarea:focus { outline: none; border-color: var(--accent); }
.in-fields textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; top: -9999px; height: 1px; width: 1px; opacity: 0; }
.in-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.in-note { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.in-error { font-family: var(--mono); font-size: 12.5px; color: var(--overfit); margin-bottom: 10px; }
.in-nextsteps { margin: 0 0 20px 18px; color: var(--muted); font-size: 14px; display: flex; flex-direction: column; gap: 8px; }

/* ---------- motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .animate-entrance .art-window, .animate-entrance .art-float { animation: none; }
  .animate-entrance .anim-draw, .animate-entrance .anim-draw2 { animation: none; stroke-dashoffset: 0; }
  .pending-reveal[data-reveal] { opacity: 1; transform: none; }
  .btn, .gate, .platforms a, .in-choice { transition: none; }
  .cursor, .atip-pulse, .hero-wash { animation: none; }
  .art-float, .art-float2 { animation: none; }
  .atip-pulse { opacity: 0; }
}
