/* Local font faces (vendored from @fontsource 5.2.5). No runtime network access. */
@font-face{font-family:"Bricolage";font-style:normal;font-weight:200 800;font-display:swap;src:url(lib/fonts/bricolage-grotesque-latin-wght-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Plex";font-style:normal;font-weight:400;font-display:swap;src:url(lib/fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Plex";font-style:normal;font-weight:500;font-display:swap;src:url(lib/fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Plex";font-style:normal;font-weight:600;font-display:swap;src:url(lib/fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Plex";font-style:italic;font-weight:400;font-display:swap;src:url(lib/fonts/ibm-plex-sans-latin-400-italic.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"JBMono";font-style:normal;font-weight:400;font-display:swap;src:url(lib/fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"JBMono";font-style:normal;font-weight:600;font-display:swap;src:url(lib/fonts/jetbrains-mono-latin-600-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Bricolage";font-style:normal;font-weight:200 800;font-display:swap;src:url(lib/fonts/bricolage-grotesque-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Plex";font-style:normal;font-weight:400;font-display:swap;src:url(lib/fonts/ibm-plex-sans-latin-ext-400-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Plex";font-style:normal;font-weight:500;font-display:swap;src:url(lib/fonts/ibm-plex-sans-latin-ext-500-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Plex";font-style:normal;font-weight:600;font-display:swap;src:url(lib/fonts/ibm-plex-sans-latin-ext-600-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Plex";font-style:italic;font-weight:400;font-display:swap;src:url(lib/fonts/ibm-plex-sans-latin-ext-400-italic.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"JBMono";font-style:normal;font-weight:400;font-display:swap;src:url(lib/fonts/jetbrains-mono-latin-ext-400-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"JBMono";font-style:normal;font-weight:600;font-display:swap;src:url(lib/fonts/jetbrains-mono-latin-ext-600-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

/* Design tokens, themes and base typography. Light is the default; dark via [data-theme="dark"]. */
:root {
  color-scheme: light;
  --f-display: "Bricolage", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Plex", "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  --f-mono: "JBMono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Light is the default theme: warm paper, navy ink. */
  --bg: oklch(0.982 0.006 85);
  --bg-2: oklch(0.962 0.008 85);
  --surface: oklch(0.995 0.003 85);
  --surface-2: oklch(0.945 0.01 85);
  --line: oklch(0.8 0.012 256);
  --line-soft: oklch(0.89 0.01 256);
  --ink: oklch(0.21 0.03 258);
  --ink-2: oklch(0.37 0.024 258);
  --ink-3: oklch(0.49 0.02 258);
  --grid: oklch(0.4 0.03 256 / 0.045);
  --shadow: 0 1px 2px oklch(0.3 0.03 258 / 0.06), 0 8px 28px -12px oklch(0.3 0.03 258 / 0.18);

  /* Semantic palette (same meaning everywhere): ok = good result, warn = attention / human
     approval, no = refusal, llm = AI model, ver = verification, old = existing, unchanged. */
  --ok: oklch(0.5 0.14 152);    --ok-bg: #e8f5e9;
  --warn: oklch(0.55 0.14 60);  --warn-bg: #fff3e0;
  --no: oklch(0.52 0.19 25);    --no-bg: #ffe5e5;
  --llm: oklch(0.5 0.16 302);   --llm-bg: #ede7f6;
  --ver: oklch(0.49 0.15 255);  --ver-bg: #e3f2fd;
  --old: oklch(0.48 0.012 250); --old-bg: #f1f1f0;

  --r-s: 6px; --r-m: 12px; --r-l: 20px;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-xs: clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
  --t-s: clamp(0.84rem, 0.8rem + 0.15vw, 0.92rem);
  --t-m: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --t-l: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  --t-xl: clamp(1.7rem, 1.3rem + 1.8vw, 2.8rem);
  --t-xxl: clamp(2.3rem, 1.4rem + 4vw, 5.2rem);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: oklch(0.168 0.014 256);
  --bg-2: oklch(0.198 0.016 256);
  --surface: oklch(0.222 0.017 256);
  --surface-2: oklch(0.255 0.018 256);
  --line: oklch(0.36 0.018 256);
  --line-soft: oklch(0.29 0.015 256);
  --ink: oklch(0.955 0.01 85);
  --ink-2: oklch(0.82 0.014 250);
  --ink-3: oklch(0.68 0.016 250);
  --grid: oklch(0.6 0.02 256 / 0.05);
  --shadow: 0 1px 2px oklch(0 0 0 / 0.3), 0 10px 30px -12px oklch(0 0 0 / 0.5);
  --ok: oklch(0.79 0.17 152);   --ok-bg: oklch(0.31 0.07 152 / 0.55);
  --warn: oklch(0.81 0.15 68);  --warn-bg: oklch(0.34 0.07 68 / 0.55);
  --no: oklch(0.72 0.18 24);    --no-bg: oklch(0.32 0.09 24 / 0.55);
  --llm: oklch(0.76 0.14 302);  --llm-bg: oklch(0.32 0.08 302 / 0.55);
  --ver: oklch(0.76 0.13 252);  --ver-bg: oklch(0.32 0.08 252 / 0.55);
  --old: oklch(0.72 0.012 250); --old-bg: oklch(0.3 0.012 250 / 0.55);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--ink);
  font: 400 var(--t-m)/1.6 var(--f-body);
  font-feature-settings: "tnum" 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out);
}
img, svg { max-width: 100%; }
a { color: var(--ver); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--warn); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ver-bg); color: var(--ink); }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 640; letter-spacing: -0.02em; line-height: 1.08; margin: 0; text-wrap: balance; }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-l); letter-spacing: -0.012em; }
h4 { font-size: var(--t-m); letter-spacing: 0; }
p { margin: 0; text-wrap: pretty; }
code, pre, .mono { font-family: var(--f-mono); font-size: 0.88em; }
code, pre, .mono, mark { font-variant-ligatures: none; font-feature-settings: "calt" 0, "liga" 0; }
.num { font-family: var(--f-display); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 600 var(--t-xs)/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.lead { font-size: var(--t-l); line-height: 1.45; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-3); }
.small { font-size: var(--t-s); }
.xs { font-size: var(--t-xs); }

/* Semantic text colors */
.c-ok { color: var(--ok); } .c-warn { color: var(--warn); } .c-no { color: var(--no); }
.c-llm { color: var(--llm); } .c-ver { color: var(--ver); } .c-old { color: var(--old); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-s);
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }
.noscript { padding: 40px 0; font-size: var(--t-l); }
@media (prefers-reduced-motion: reduce) {
  /* "none", not a tiny duration: a 0.01ms transition on every property would make GSAP read
     mid-transition values when it records the end state of a tween (pitch scenes stayed hidden). */
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Page frame: sticky header, tab rail with measuring ruler, panels and footer. */
.top {
  position: sticky; top: 0; z-index: 20;
  padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.top-row {
  max-width: var(--maxw); margin: 0 auto; padding: 14px var(--gutter) 6px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; min-width: 0; }
.seal { width: 34px; height: 34px; flex: none; }
.seal-ring { fill: none; stroke: var(--ver); stroke-width: 1.5; stroke-dasharray: 2 2.45; }
.seal-inner { fill: var(--ver-bg); stroke: var(--ver); stroke-width: 1.2; }
.seal-tick { fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.brand-name { font: 700 1.24rem/1 var(--f-display); letter-spacing: -0.02em; }
.brand-tag {
  font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
  padding-left: 12px; border-left: 1px solid var(--line); white-space: nowrap;
}
.top-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.contact-btn, .lang-btn, .theme-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 99px; text-decoration: none;
  font: 600 var(--t-xs)/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase;
  transition: border-color .25s, color .25s, background-color .25s;
}
.contact-btn { padding: 0 14px 0 16px; background: var(--ink); border-color: var(--ink); color: var(--bg); }
.contact-btn:hover { background: var(--ver); border-color: var(--ver); color: var(--surface); }
.contact-btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.lang-btn { min-width: 44px; padding: 0 12px; background: transparent; color: var(--ink); font-family: var(--f-mono); letter-spacing: .12em; }
.lang-btn:hover { border-color: var(--ver); color: var(--ver); }
.theme-btn { padding: 0 12px; background: transparent; color: var(--ink-2); }
.theme-btn:hover, .lang-btn:hover { background: var(--surface); }
.theme-btn:hover { border-color: var(--ink-3); color: var(--ink); }
.theme-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }

.tabs-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.tabs {
  display: flex; gap: 0; overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch; padding: 4px 0 0;
}
/* Edge fades (set by core/router.js) when the rail is wider than the screen. */
.tabs.fade-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.tabs.fade-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px); mask-image: linear-gradient(90deg, transparent, #000 48px); }
.tabs.fade-l.fade-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; position: relative;
  display: inline-flex; align-items: baseline; gap: 4px; padding: 10px 6px 13px;
  background: none; border: 0; cursor: pointer; color: var(--ink-3);
  font: 500 var(--t-s)/1 var(--f-body); white-space: nowrap; border-radius: 8px 8px 0 0;
  transition: color .25s var(--ease-out), background-color .25s var(--ease-out);
}
.tab .n { font: 600 0.68rem/1 var(--f-mono); color: var(--ink-3); opacity: .7; }
.tab:hover { color: var(--ink); background: color-mix(in srgb, var(--surface) 60%, transparent); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"] .n { color: var(--ver); opacity: 1; }
.ruler {
  position: relative; height: 9px; overflow: hidden;
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 8px);
  background-size: 100% 4px; background-repeat: no-repeat; background-position: bottom;
  opacity: .9;
}
.ruler-ind {
  position: absolute; left: 0; bottom: 0; height: 3px; width: 40px; border-radius: 2px;
  background: var(--ver); transform-origin: left center;
}

/* overflow-x: clip keeps entrance animations (scaled stamps, shifted cards) from widening the page. */
.panels { max-width: var(--maxw); margin: 0 auto; padding: clamp(28px, 4vw, 56px) var(--gutter) 64px; overflow-x: clip; }
.panel { outline: none; }
.panel:focus-visible { outline: 1px dashed var(--line); outline-offset: 12px; }
.panel-head { display: grid; gap: 14px; margin-bottom: clamp(24px, 3.5vw, 44px); max-width: 980px; }
.ph-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.panel-head h2 { font-size: var(--t-xxl); font-weight: 680; letter-spacing: -0.035em; }
.panel-head h2 em { font-style: normal; color: var(--ver); }

.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.split.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split.wide-r { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.stack { display: grid; gap: 16px; }
.split > *, .stack > *, .fc-grid > *, .ar-grid > *, .fc-side > *, .lanes > *, .demo > * { min-width: 0; }
.section { margin-top: clamp(40px, 6vw, 80px); }
.section > .eyebrow { margin-bottom: 14px; }
.section-title { font-size: var(--t-xl); margin-bottom: 10px; }
.rule { height: 1px; background: var(--line-soft); border: 0; margin: 28px 0; }

.foot {
  max-width: var(--maxw); margin: 0 auto; padding: 28px var(--gutter) 44px;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 14px 32px; align-items: start;
  background: linear-gradient(var(--line-soft), var(--line-soft)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  color: var(--ink-3); font-size: var(--t-xs);
}
.foot-brand { display: grid; gap: 4px; }
.foot-brand b { font: 650 var(--t-s)/1.2 var(--f-display); color: var(--ink); letter-spacing: -0.01em; }
.foot-note { max-width: 52ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.foot-links a { color: var(--ink-2); }

.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.scroll-hint { display: none; font-size: var(--t-xs); color: var(--ink-3); margin: 6px 0 0; }

@media (max-width: 900px) {
  .split, .split.even, .split.wide-r { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .brand-tag { display: none; }
  .theme-lbl { display: none; }
  .top-row { gap: 10px; }
  .brand { gap: 9px; }
  .brand-name { font-size: 1.1rem; }
  .seal { width: 30px; height: 30px; }
  .top-actions { gap: 6px; }
  .contact-btn { padding: 0 12px; }
  .contact-btn svg { display: none; }
  .theme-btn { width: 36px; padding: 0; }
  .lang-btn { min-width: 40px; padding: 0 8px; }
  .tab { padding: 10px 10px 12px; }
  .scroll-hint { display: block; }
  html { scroll-padding-top: 120px; }
}

/* Shared components: controls, badges, chips, ledger rows, stamps, expandable cards. */
.seg {
  display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px;
  border: 1px solid var(--line); border-radius: 99px; background: var(--bg-2);
}
.seg button {
  border: 0; background: transparent; cursor: pointer; padding: 8px 14px; border-radius: 99px;
  font-size: var(--t-s); color: var(--ink-2); transition: background-color .25s var(--ease-out), color .25s;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.seg-label { font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; display: block; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line);
  background: transparent; color: var(--ink); font-size: var(--t-s);
  transition: border-color .2s, background-color .2s;
}
.btn:hover { border-color: var(--ink-3); background: var(--surface); }
.btn { text-decoration: none; }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.primary:hover { background: var(--ver); border-color: var(--ver); color: var(--surface); }
.btn svg { width: 14px; height: 14px; fill: currentColor; flex: none; }
.btn svg.arr { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transition: transform .25s var(--ease-out); }
.btn:hover svg.arr { transform: translate(2px, -2px); }
.btn-lg { padding: 13px 22px; font-size: var(--t-m); font-weight: 500; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px;
  font: 600 var(--t-xs)/1.5 var(--f-body); letter-spacing: .04em; white-space: nowrap;
  border: 1px solid currentColor;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.b-ok { color: var(--ok); background: var(--ok-bg); }
.b-warn { color: var(--warn); background: var(--warn-bg); }
.b-no { color: var(--no); background: var(--no-bg); }
.b-llm { color: var(--llm); background: var(--llm-bg); }
.b-ver { color: var(--ver); background: var(--ver-bg); }
.b-old { color: var(--old); background: var(--old-bg); }

.chip {
  display: inline-flex; align-items: center; padding: 5px 11px; border-radius: var(--r-s);
  background: var(--surface); border: 1px solid var(--line-soft); font-size: var(--t-s); color: var(--ink-2);
}

/* Ledger: rows separated by hairlines, big figure on the left */
.ledger { border-top: 1px solid var(--line); }
.ledger-row {
  display: grid; grid-template-columns: minmax(150px, 0.55fr) minmax(0, 1.5fr) minmax(0, 0.6fr);
  gap: 18px 28px; padding: 24px 0; border-bottom: 1px solid var(--line-soft); align-items: baseline;
}
.ledger-fig { font: 680 clamp(2.4rem, 1.6rem + 3vw, 4.4rem)/0.95 var(--f-display); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.ledger-fig small { font-size: .42em; letter-spacing: -0.01em; margin-left: .12em; font-weight: 560; }
.ledger-txt h3 { margin-bottom: 6px; }
.ledger-src { font-size: var(--t-xs); color: var(--ink-3); line-height: 1.5; }
.ledger-src a { color: var(--ink-2); }

.src { font-size: var(--t-xs); color: var(--ink-3); }
.src a { color: var(--ink-2); word-break: break-word; }

/* Box with a hairline frame (used sparingly) */
.frame { border: 1px solid var(--line-soft); border-radius: var(--r-m); padding: clamp(16px, 2vw, 24px); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.frame.ver { border-color: color-mix(in srgb, var(--ver) 45%, var(--line-soft)); }
.frame.warn { border-color: color-mix(in srgb, var(--warn) 45%, var(--line-soft)); }
.frame.no { border-color: color-mix(in srgb, var(--no) 45%, var(--line-soft)); }
.frame-title { font: 600 var(--t-xs)/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }

/* Verdict stamp */
.stamp {
  display: inline-grid; place-items: center; text-align: center; padding: 10px 18px;
  border: 2.5px solid currentColor; border-radius: 10px; transform: rotate(-4deg);
  font: 760 var(--t-l)/1.05 var(--f-display); letter-spacing: .02em; text-transform: uppercase;
  box-shadow: inset 0 0 0 2px var(--bg), inset 0 0 0 3.5px currentColor;
}
.stamp small { display: block; font: 600 var(--t-xs)/1.3 var(--f-mono); text-transform: none; letter-spacing: 0; margin-top: 4px; }

/* Expandable card body via grid rows */
.expand { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.expand > div { overflow: hidden; }
.open > .expand, .expand.open { grid-template-rows: 1fr; }

/* Definition list as two columns */
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; font-size: var(--t-s); margin: 0; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; color: var(--ink); }

/* Lists with numbered markers */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: st; display: grid; gap: 2px; }
.steps > li { counter-increment: st; display: grid; grid-template-columns: 2.4em minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.steps > li::before { content: counter(st, decimal-leading-zero); font: 600 var(--t-s)/1.6 var(--f-mono); color: var(--ink-3); }

.callout {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 16px 18px; border-radius: var(--r-m); background: var(--warn-bg); color: var(--ink);
}
.callout.ver { background: var(--ver-bg); }
.callout.no { background: var(--no-bg); }
.callout .mark { font: 760 1.4rem/1 var(--f-display); color: var(--warn); }
.callout.ver .mark { color: var(--ver); }
.callout.no .mark { color: var(--no); }

.quote {
  font: 600 var(--t-xl)/1.15 var(--f-display); letter-spacing: -0.025em; max-width: 26ch;
}

@media (max-width: 760px) {
  .ledger-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

/* Story tab: cinematic stage, scenes, transport controls, chapter markers. */
.stage-wrap { container-type: inline-size; }
.stage {
  position: relative; overflow: hidden; border-radius: var(--r-l);
  aspect-ratio: 16 / 9; min-height: 520px; max-height: 76vh; width: 100%;
  background:
    radial-gradient(120% 90% at 85% 0%, color-mix(in srgb, var(--ver) 10%, transparent), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--line-soft);
}
.stage::after { /* registration marks in the corners, like a measuring plate */
  content: ""; position: absolute; inset: 14px; pointer-events: none;
  background:
    linear-gradient(var(--line), var(--line)) left top / 14px 1px no-repeat,
    linear-gradient(var(--line), var(--line)) left top / 1px 14px no-repeat,
    linear-gradient(var(--line), var(--line)) right bottom / 14px 1px no-repeat,
    linear-gradient(var(--line), var(--line)) right bottom / 1px 14px no-repeat;
}
.scene {
  position: absolute; inset: 0; padding: clamp(22px, 4.2cqi, 64px);
  display: grid; align-content: center; gap: clamp(12px, 2cqi, 28px);
}
.sc-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.sc-top .badge { font-size: clamp(.62rem, 1cqi, .74rem); padding: 2px 9px; }
.sc-k { font: 600 clamp(.66rem, 1.1cqi, .8rem)/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.sc-h { font: 680 clamp(1.6rem, 4.6cqi, 4.2rem)/1.02 var(--f-display); letter-spacing: -0.035em; max-width: 20ch; }
.sc-h.xl { font-size: clamp(2.2rem, 7.4cqi, 6.6rem); max-width: 14ch; }
.sc-p { font-size: clamp(.95rem, 1.6cqi, 1.3rem); color: var(--ink-2); max-width: 54ch; line-height: 1.45; }
.sc-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2.4cqi, 36px); }
.sc-stat .num { display: block; font-size: clamp(2.4rem, 7cqi, 6rem); line-height: .9; font-weight: 700; }
.sc-stat p { font-size: clamp(.82rem, 1.3cqi, 1.05rem); color: var(--ink-2); margin-top: 8px; max-width: 30ch; }
.flip { position: relative; display: inline-grid; margin-top: 10px; }
.flip > span { grid-area: 1 / 1; }
.sc-src { font-size: clamp(.68rem, 1cqi, .8rem); color: var(--ink-3); }

.sc-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(16px, 4cqi, 56px); align-items: center; }
.sc-svg { width: 100%; height: auto; max-height: 56cqi; overflow: visible; }
.sc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(6px, 1cqi, 12px); }
.sc-list li { display: flex; gap: 12px; align-items: baseline; font-size: clamp(.86rem, 1.45cqi, 1.15rem); color: var(--ink-2); }
.sc-list li b { color: var(--ink); font-weight: 600; }

.sc-steps-m { display: none; }
.rung { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); align-items: center; gap: 10px;
  padding: clamp(6px, 1cqi, 11px) 14px; border-radius: 8px; background: var(--ver-bg); color: var(--ink);
  font-size: clamp(.8rem, 1.35cqi, 1.05rem); transform-origin: left center; }
.rung b { font: 700 1em/1 var(--f-mono); color: var(--ver); }
.envelope {
  border: 1.5px solid var(--ver); border-radius: 12px; padding: clamp(12px, 2cqi, 22px);
  background: color-mix(in srgb, var(--ver-bg) 70%, transparent); display: grid; gap: 10px; justify-items: start;
}
.envelope .mono { font-size: clamp(.68rem, 1.1cqi, .86rem); color: var(--ink-2); }

.copies { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.6cqi, 22px); }
.copy { border: 1px solid var(--line); border-radius: 12px; padding: clamp(10px, 1.6cqi, 18px); display: grid; gap: 8px; align-content: start; position: relative; min-height: clamp(110px, 16cqi, 190px); background: var(--surface); }
.copy h4 { font-size: clamp(.82rem, 1.35cqi, 1.08rem); }
.copy p { font-size: clamp(.72rem, 1.1cqi, .9rem); color: var(--ink-3); }
.copy.real { border-color: var(--ver); }
.copy .stamp { position: absolute; right: 10px; bottom: 10px; font-size: clamp(.7rem, 1.3cqi, 1rem); padding: 5px 10px; }
.verdict-bar { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; font-size: clamp(.86rem, 1.5cqi, 1.2rem); }

.roles { display: flex; flex-wrap: wrap; gap: 8px; }
.role { padding: 7px 13px; border-radius: 99px; background: var(--llm-bg); color: var(--ink); border: 1px solid color-mix(in srgb, var(--llm) 55%, transparent); font-size: clamp(.78rem, 1.3cqi, 1rem); }
.modes { display: grid; gap: 10px; }
.mode { display: grid; grid-template-columns: minmax(7em, auto) minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: clamp(.8rem, 1.3cqi, 1.02rem); color: var(--ink-2); }
.mode b { font-family: var(--f-display); font-size: 1.12em; color: var(--ink); }
.bars { display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr) 4.2em; gap: 12px; align-items: center; font-size: clamp(.74rem, 1.15cqi, .92rem); color: var(--ink-2); }
.bar i { display: block; height: 10px; border-radius: 5px; background: var(--old); transform-origin: left center; }
.bar.hi i { background: var(--ver); }
.bar .num { font-size: 1.15em; color: var(--ink); text-align: right; }

.proofs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(16px, 3cqi, 44px); }
.proofs li { display: grid; grid-template-columns: 2.6em minmax(0, 1fr) auto; align-items: start; gap: 10px; padding: clamp(8px, 1.2cqi, 14px) 0; border-bottom: 1px solid var(--line-soft); font-size: clamp(.8rem, 1.3cqi, 1.05rem); }
.proofs b { font: 700 1em/1.4 var(--f-mono); color: var(--ver); }
.proofs li > .badge { font-size: .72em; }
.proofs span em { font-style: normal; color: var(--ok); font-weight: 600; }

.track { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.ms { display: grid; gap: 6px; align-content: start; font-size: clamp(.68rem, 1.1cqi, .9rem); color: var(--ink-3); }
.ms i { height: 12px; border-radius: 4px; background: var(--line-soft); transform-origin: left center; }
.ms.done i { background: var(--ok); }
.ms b { font: 700 1.2em/1 var(--f-mono); color: var(--ink); }

/* Transport bar */
.transport { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; }
.progress { flex: 1 1 260px; position: relative; height: 34px; cursor: pointer; touch-action: none; }
.progress-track { position: absolute; left: 0; right: 0; top: 15px; height: 4px; border-radius: 2px; background: var(--line-soft); }
.progress-fill { position: absolute; left: 0; top: 15px; height: 4px; width: 100%; border-radius: 2px; background: var(--ver); transform-origin: left; transform: scaleX(0); }
.progress-mark { position: absolute; top: 11px; width: 2px; height: 12px; background: var(--ink-3); border-radius: 1px; }
.time { font: 500 var(--t-xs)/1 var(--f-mono); color: var(--ink-3); min-width: 9.5ch; }
.chapters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chapters button { border: 1px solid var(--line-soft); background: transparent; color: var(--ink-3); border-radius: 99px; padding: 5px 11px; font-size: var(--t-xs); cursor: pointer; }
.chapters button[aria-current="true"] { color: var(--ink); border-color: var(--ver); background: var(--ver-bg); }
.sc-p .ph { display: inline-block; }
.transcript { margin-top: 22px; }
.transcript summary { cursor: pointer; color: var(--ink-2); font-size: var(--t-s); }
.transcript ol { margin: 14px 0 0; padding-left: 1.2em; display: grid; gap: 8px; color: var(--ink-2); max-width: 80ch; }

@container (max-width: 760px) {
  .stage { aspect-ratio: auto; min-height: 800px; max-height: none; }
  /* The stage can be taller than a phone screen: the controls stay in reach at the bottom. */
  .transport { position: sticky; bottom: env(safe-area-inset-bottom, 0px); z-index: 3; padding: 10px 0; background: var(--bg); }
  .mode { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 6px 0; }
  .modes { gap: 4px; }
  .role { padding: 5px 10px; }
  .bars { gap: 4px; }
  .track { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ms { grid-template-columns: 2.4em 44px minmax(0, 1fr); align-items: center; gap: 10px; }
  .sc-row, .sc-cols, .proofs { grid-template-columns: minmax(0, 1fr); }
  .copies { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scene { align-content: start; padding-top: 34px; }
  .sc-svg { max-height: 260px; }
  .bar { grid-template-columns: minmax(0, 1fr) 4em; }
  .bar i { grid-column: 1 / -1; grid-row: 2; }
  .sc-h { font-size: clamp(1.5rem, 7.4cqi, 2.4rem); }
  .sc-h.xl { font-size: clamp(2rem, 11cqi, 3.4rem); }
  .sc-stat .num { font-size: clamp(2.2rem, 12cqi, 3.4rem); }
  .copy { min-height: 120px; }
  .ring-lbl { display: none; }
  .sc-steps-m { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 14px; margin: 8px 0 0; padding-left: 1.3em; font-size: .85rem; color: var(--ink-2); }
}

/* SVG diagrams: pitch ring, loop cycle, architecture, decision flowchart, sovereignty map. */
svg text { font-family: var(--f-body); fill: var(--ink); }

/* Pitch ring */
.ring-path { fill: none; stroke: var(--line); stroke-width: 2; }
.ring-node { fill: var(--surface-2); stroke: var(--line); stroke-width: 1.5; transition: fill .4s; }
.ring-node.on { fill: var(--ver-bg); stroke: var(--ver); }
.ring-node.ok { fill: var(--ok-bg); stroke: var(--ok); }
.ring-num { font: 700 13px var(--f-mono); fill: var(--ink); }
.ring-lbl { font: 500 15px var(--f-body); fill: var(--ink-2); }
.ring-dot { fill: var(--ver); }
.ring-center { font: 700 26px var(--f-display); fill: var(--ink); }
.ring-center-s { font: 500 14px var(--f-body); fill: var(--ink-3); }
.rung.ok { background: var(--ok-bg); transition: background-color .4s; }
.rung.ok b { color: var(--ok); }

/* Loop cycle (tab Bucla) */
.cy-svg { width: 100%; max-width: 560px; height: auto; display: block; margin: 0 auto; }
.cy-ticks { fill: none; stroke: var(--line-soft); stroke-width: 6; stroke-dasharray: 1 9; }
.cy-ring { fill: none; stroke: var(--line); stroke-width: 2.5; }
.cy-node { cursor: pointer; }
.cy-c { fill: var(--surface); stroke: var(--line); stroke-width: 2; transition: fill .35s, stroke .35s; }
.cy-node:hover .cy-c { stroke: var(--ink-3); }
.cy-node.on .cy-c { fill: var(--ver-bg); stroke: var(--ver); stroke-width: 3; }
.cy-n { font: 700 22px var(--f-display); fill: var(--ink); pointer-events: none; }
.cy-dot { fill: var(--warn); }
.cy-k { font: 600 13px var(--f-mono); fill: var(--ink-3); letter-spacing: .12em; text-transform: uppercase; }
.cy-t { font: 680 30px var(--f-display); fill: var(--ink); letter-spacing: -0.02em; }

/* Architecture */
.ar-svg { display: block; width: 100%; min-width: 860px; height: auto; }
.zone rect { fill: color-mix(in srgb, var(--zc) 7%, transparent); stroke: var(--zc); stroke-width: 1.4; stroke-dasharray: 7 6; transition: fill .3s; }
.zone { cursor: pointer; outline: none; }
.zone:hover rect, .zone.on rect, .zone:focus-visible rect { fill: color-mix(in srgb, var(--zc) 15%, transparent); stroke-width: 2.2; }
.z-ver { --zc: var(--ver); } .z-old { --zc: var(--old); } .z-ok { --zc: var(--ok); } .z-llm { --zc: var(--llm); } .z-warn { --zc: var(--warn); }
.z-t { font: 680 16px var(--f-display); fill: var(--ink); letter-spacing: -0.01em; }
.z-s { font: 500 12px var(--f-body); fill: var(--ink-3); }
.mini rect { fill: var(--surface); stroke: var(--line-soft); }
.mini text { font: 500 13px var(--f-body); fill: var(--ink-2); }
.mini-new rect { fill: var(--ver-bg); stroke: var(--ver); stroke-dasharray: 4 3; }
.mini-new .sb-s { fill: var(--ver); font-weight: 600; }
.sb-t { font: 600 14px var(--f-body) !important; fill: var(--ink) !important; }
.sb-s { font: 500 12px var(--f-body); fill: var(--ink-3); }
.sb-s.refuz { fill: var(--no); font-weight: 700; }
.vault rect { fill: var(--bg-2); stroke: var(--ver); stroke-width: 1.4; }
.v-t { font: 700 10.5px var(--f-mono); fill: var(--ver); letter-spacing: .01em; text-transform: uppercase; }
.v-i { font: 500 12.5px var(--f-body); fill: var(--ink-2); }
.comp { cursor: pointer; outline: none; }
.comp rect { fill: var(--surface); stroke: var(--kc, var(--ver)); stroke-width: 1.6; transition: fill .25s, stroke-width .25s; }
.comp.k-llm { --kc: var(--llm); } .comp.k-ok { --kc: var(--ok); }
.comp:hover rect, .comp:focus-visible rect { fill: color-mix(in srgb, var(--kc, var(--ver)) 16%, var(--surface)); }
.comp.on rect { fill: color-mix(in srgb, var(--kc, var(--ver)) 26%, var(--surface)); stroke-width: 3; }
.c-n { font: 700 11px var(--f-mono); fill: var(--kc, var(--ver)); letter-spacing: .06em; }
.c-t { font: 640 14px var(--f-display); fill: var(--ink); }
.c-s { font: 500 12px var(--f-body); fill: var(--ink-3); }
.flow { fill: none; stroke: var(--line); stroke-width: 2; }
.f-gen { stroke: color-mix(in srgb, var(--llm) 60%, var(--line)); }
.f-ext { stroke: color-mix(in srgb, var(--warn) 60%, var(--line)); stroke-dasharray: 6 6; }
.f-back, .f-learn { stroke: color-mix(in srgb, var(--ok) 55%, var(--line)); }
.f-sbx { stroke: color-mix(in srgb, var(--ok) 55%, var(--line)); }
.arrow { fill: var(--ink-3); }
.conn { fill: none; stroke: var(--ink-3); stroke-width: 1.6; }
.packet { stroke: var(--bg); stroke-width: 2; }
.p-ver { fill: var(--ver); } .p-ok { fill: var(--ok); } .p-llm { fill: var(--llm); } .p-warn { fill: var(--warn); }
.probe { fill: var(--warn); stroke: var(--bg); stroke-width: 3; }

/* Flowchart */
.fc-svg { display: block; width: 100%; min-width: 540px; max-width: 640px; height: auto; }
.fn rect, .fn polygon { fill: var(--surface); stroke: var(--line); stroke-width: 1.4; transition: fill .3s, stroke .3s, opacity .3s; }
.fn text { font: 600 14px var(--f-body); fill: var(--ink-2); transition: fill .3s; }
.fn text.sub { font: 500 12px var(--f-mono); }
.fn.k-llm rect { stroke: color-mix(in srgb, var(--llm) 50%, var(--line)); }
.fn.lit text { fill: var(--ink); }
.fn.lit rect, .fn.lit polygon { stroke-width: 2.4; }
.fn.lit.k-ver rect, .fn.lit.dec polygon { fill: var(--ver-bg); stroke: var(--ver); }
.fn.lit.k-old rect { fill: var(--old-bg); stroke: var(--old); }
.fn.lit.k-llm rect { fill: var(--llm-bg); stroke: var(--llm); }
.fn.lit.k-ok rect { fill: var(--ok-bg); stroke: var(--ok); }
.fn.lit.k-no rect { fill: var(--no-bg); stroke: var(--no); }
.fn.lit.k-warn rect { fill: var(--warn-bg); stroke: var(--warn); }
.fn.end rect { stroke-width: 3.4; }
.fe { fill: none; stroke: var(--line-soft); stroke-width: 2; }
.fe-hl { fill: none; stroke: var(--ver); stroke-width: 3; stroke-linecap: round; }
.fe-l { font: 600 12px var(--f-mono); fill: var(--ink-3); }

/* Sovereignty map */
.sov-svg { display: block; width: 100%; min-width: 640px; height: auto; }
.sv-zone rect { fill: none; stroke: var(--line); stroke-width: 1.4; stroke-dasharray: 6 6; transition: stroke .3s, fill .3s; }
.sv-client rect { stroke: var(--ink-3); }
.sv-box rect { fill: var(--surface); stroke: var(--line); }
.sv-box text, .sv-zone text { font: 600 16px var(--f-body); }
.sv-zone .s, .sv-box .s { font: 500 14px var(--f-body); fill: var(--ink-3); }
.sv-zone .s.warn { fill: var(--warn); font-weight: 600; }
.sv-ver rect { stroke: var(--ver); }
.sv-m { opacity: .35; transition: opacity .3s; }
.sv-m.on { opacity: 1; } .sv-m.on rect { stroke: var(--ok); fill: var(--ok-bg); }
.sv-cai.on rect { stroke: var(--ver); fill: color-mix(in srgb, var(--ver) 10%, transparent); }
.sv-ext.on rect { stroke: var(--warn); fill: color-mix(in srgb, var(--warn) 10%, transparent); }
.sv-path { fill: none; stroke: var(--line-soft); stroke-width: 2; transition: stroke .3s; }
.sv-path.tunnel { stroke-width: 7; stroke-linecap: round; }
.sv-path.dashed { stroke-dasharray: 6 6; }
.sv-path.on { stroke: var(--ink-3); }
.sv-path.tunnel.on { stroke: color-mix(in srgb, var(--ver) 50%, transparent); }
.sv-lbl { font: 600 13px var(--f-mono); fill: var(--ink-3); }
.sv-lbl.on { fill: var(--ver); }

/* Tabs: Problem, How it works, Architecture, Safeguards (demo and terrains). */
/* Problem */
.cheat { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); border-top: 1px solid var(--line); padding-top: 28px; }
.cheat article { display: grid; gap: 14px; align-content: start; }
.cheat h3 { font-size: var(--t-xl); max-width: 18ch; }
.dots { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 4px; max-width: 440px; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: var(--line-soft); }
.dots i.no { background: var(--no); } .dots i.ok { background: var(--ok); }
.ledger-txt .dots { margin-top: 12px; gap: 3px; }
.range { position: relative; height: 16px; margin-top: 16px; margin-bottom: 30px; border-radius: 8px; background: var(--line-soft); max-width: 520px; }
.range-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 55%; border-radius: 8px; background: linear-gradient(90deg, var(--no), var(--warn)); transform-origin: left center; }
.range-l, .range-r { position: absolute; top: 22px; font: 600 var(--t-xs)/1 var(--f-mono); color: var(--ink-3); }
.range-l { left: 0; } .range-r { left: 55%; transform: translateX(-50%); }

/* How it works */
.cy-wrap { align-items: center; }
.cy-steps { display: flex; flex-wrap: wrap; gap: 6px; }
.cy-steps button { display: inline-flex; gap: 8px; align-items: baseline; padding: 8px 13px; border-radius: 99px; border: 1px solid var(--line-soft); background: transparent; cursor: pointer; color: var(--ink-2); font-size: var(--t-s); }
.cy-steps button b { font: 700 .8rem/1 var(--f-mono); color: var(--ink-3); }
.cy-steps button[aria-pressed="true"] { border-color: var(--ver); background: var(--ver-bg); color: var(--ink); }
.cy-steps button[aria-pressed="true"] b { color: var(--ver); }
.cy-detail { display: grid; gap: 12px; min-height: 230px; align-content: start; }
.cy-detail-head { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: space-between; }
.cy-detail h3 { font-size: var(--t-xl); }
.cy-gate { display: grid; gap: 4px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.cy-gate span:last-child { font-weight: 500; }
#cy-toggle { justify-self: start; }
.ladder { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; align-items: end; }
.lv { display: grid; gap: 8px; align-content: end; padding: 14px; border-radius: var(--r-m); min-height: calc(90px + var(--i) * 34px); background: var(--lc-bg); border: 1px solid color-mix(in srgb, var(--lc) 45%, transparent); }
.lv b { font: 700 1.6rem/1 var(--f-display); color: var(--lc); }
.lv span { font-size: var(--t-s); color: var(--ink); }
.lv-old { --lc: var(--old); --lc-bg: var(--old-bg); } .lv-llm { --lc: var(--llm); --lc-bg: var(--llm-bg); } .lv-ver { --lc: var(--ver); --lc-bg: var(--ver-bg); }
.lv-warn { --lc: var(--warn); --lc-bg: var(--warn-bg); }
.lv-no { --lc: var(--no); --lc-bg: repeating-linear-gradient(135deg, var(--no-bg) 0 10px, transparent 10px 20px); }
.lv-no b { text-decoration: line-through; text-decoration-thickness: 3px; }

/* Architecture */
.ar-tools { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-bottom: 16px; }
.legend { display: inline-flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: var(--t-xs); color: var(--ink-3); }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid; vertical-align: -2px; margin-right: 2px; }
.lg.ver { border-color: var(--ver); background: var(--ver-bg); } .lg.llm { border-color: var(--llm); background: var(--llm-bg); }
.lg.old { border-color: var(--old); background: var(--old-bg); } .lg.ok { border-color: var(--ok); background: var(--ok-bg); }
.lg.warn { border-color: var(--warn); border-style: dashed; }
.ar-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; align-items: start; margin-top: 18px; }
.ar-scroll { border: 1px solid var(--line-soft); border-radius: var(--r-l); background: var(--bg-2); padding: 8px; }
.ar-detail { display: grid; gap: 12px; min-height: 280px; align-content: start; }
.ar-detail h3 span { font-weight: 500; font-size: .8em; }
.ar-rule { display: grid; gap: 4px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-weight: 500; }
.ar-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 6px; align-content: start; }
.ar-list button { width: 100%; text-align: left; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; padding: 9px 12px; border-radius: var(--r-s); background: transparent; border: 1px solid var(--line-soft); cursor: pointer; font-size: var(--t-s); }
.ar-list button b { font: 700 .75rem/1 var(--f-mono); color: var(--ver); }
.ar-list button span { color: var(--ink-3); font-size: var(--t-xs); }
.ar-list button[aria-pressed="true"] { border-color: var(--ver); background: var(--ver-bg); }
.ct-ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.ladder-rungs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ladder-rungs li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 16px; align-items: start; padding: 14px 18px; border-radius: var(--r-m); background: var(--ver-bg); margin-left: calc(var(--i) * clamp(0px, 2.4vw, 36px)); }
.ladder-rungs b { font: 700 1.8rem/1 var(--f-display); color: var(--ver); }
.ladder-rungs h4 { margin-bottom: 4px; }
.clients { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0; border-top: 1px solid var(--line); }
.client { display: grid; gap: 8px; align-content: start; padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line-soft); }
.client .badge { justify-self: start; }

/* Safeguards: demo and terrains */
.demo { display: grid; gap: 16px; }
.demo-tools { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.lanes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lane { border: 1px solid var(--line-soft); border-radius: var(--r-m); background: var(--surface); padding: 16px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.lane.l-mut { border-color: color-mix(in srgb, var(--no) 40%, var(--line-soft)); }
.code { margin: 0; padding: 12px; border-radius: var(--r-s); background: var(--bg); overflow-x: auto; font-size: .78rem; line-height: 1.7; }
.code .ln { display: block; white-space: pre; }
.code .add { background: var(--ok-bg); color: var(--ink); }
.code .del { background: var(--no-bg); color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--no); }
.tests { height: 6px; border-radius: 3px; background: var(--line-soft); overflow: hidden; }
.tests-fill { display: block; height: 100%; width: 100%; background: var(--ver); transform-origin: left center; transform: scaleX(0); }
.lane-res { display: flex; gap: 14px; align-items: center; min-height: 64px; }
.lane-res .stamp { font-size: 1rem; padding: 6px 12px; }
.lane-res .stamp:empty { display: none; }
.lane-note { color: var(--ink-2); }
.terrains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(16px, 3vw, 40px); border-top: 1px solid var(--line); }
.terrain { display: grid; gap: 10px; align-content: start; padding-top: 20px; }
.terrain .badge { justify-self: start; }
.terrain h3 { font-size: var(--t-xl); }

@media (max-width: 980px) {
  .ar-grid { grid-template-columns: minmax(0, 1fr); }
  .ar-detail { position: static; min-height: 0; }
  .lanes, .terrains { grid-template-columns: minmax(0, 1fr); }
  .terrain { padding-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
}
@media (max-width: 760px) {
  .cheat { grid-template-columns: minmax(0, 1fr); }
  .ladder { grid-template-columns: minmax(0, 1fr); }
  .lv { min-height: 0; grid-template-columns: max-content minmax(0, 1fr); align-items: center; column-gap: 14px; }
  .lv b { white-space: nowrap; font-size: 1.3rem; }
}

/* Tabs: The verdict, Models, What's different (pillar cards), Sources. */
/* Verdict */
.fc-controls, .md-controls { margin-bottom: 20px; }
.fc-grid { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.fc-scroll { padding: 4px; }
.fc-side { position: sticky; top: 150px; display: grid; gap: 16px; }
.fc-step { display: grid; gap: 4px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-weight: 500; min-height: 4.6em; }
.fc-verdict { display: flex; justify-content: center; min-height: 92px; align-items: center; }
.fc-verdict .stamp { font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); padding: 12px 24px; }
.env { display: grid; gap: 10px; }
.env-pre { margin: 0; padding: 14px; border-radius: var(--r-s); background: var(--bg); overflow-x: auto; font-size: .74rem; line-height: 1.6; min-height: 22em; white-space: pre; color: var(--ink-2); }
.j-k { color: var(--ver); } .j-s { color: var(--ink); } .j-ok { color: var(--ok); font-weight: 600; } .j-no { color: var(--no); font-weight: 600; }
.j-warn { color: var(--warn); font-weight: 600; } .j-ph { color: var(--llm); font-style: italic; }

/* Models */
.md-grid { align-items: stretch; }
.roles-board { display: grid; gap: 8px; align-content: start; }
.role-slot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r-m); background: var(--llm-bg); border: 1px solid color-mix(in srgb, var(--llm) 35%, transparent); }
.role-slot.exp { border-color: var(--llm); border-width: 2px; }
.role-slot h4 { font-size: var(--t-m); }
.cand { font: 700 var(--t-s)/1 var(--f-mono); padding: 7px 12px; border-radius: 99px; background: var(--bg); color: var(--llm); white-space: nowrap; display: inline-block; }
.llm-frame { border-color: color-mix(in srgb, var(--llm) 45%, var(--line-soft)); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; gap: 8px; justify-items: start; font: 600 var(--t-l)/1.3 var(--f-display); letter-spacing: -0.01em; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.sov-grid { align-items: center; }
.sov-grid .lead { font-size: var(--t-m); }
.sov-grid .lead .badge { margin-right: 6px; }
.study { display: grid; gap: 12px; }
.st-row { display: grid; grid-template-columns: minmax(0, 1fr) 4.4em; gap: 6px 12px; align-items: center; font-size: var(--t-s); color: var(--ink-2); }
.st-row i { grid-column: 1 / -1; grid-row: 2; display: block; height: 12px; width: var(--w); border-radius: 6px; background: var(--old); }
.st-row.st-ver i { background: var(--ver); }
.st-row b { font-size: 1.3rem; text-align: right; color: var(--ink); }

/* What's different: pillar cards */
.inv-tools { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: end; margin-bottom: 22px; }
.inv-list { border-top: 1px solid var(--line); }
.inv { border-bottom: 1px solid var(--line-soft); }
.inv-head { width: 100%; display: grid; grid-template-columns: 4.2rem minmax(0, 1fr) 28px; gap: 16px; align-items: center; padding: 18px 4px; background: transparent; border: 0; text-align: left; cursor: pointer; }
.inv-head:hover .inv-id { color: var(--ver); }
.inv-id { font-family: var(--f-mono); letter-spacing: -0.04em; font-size: clamp(1.3rem, 1rem + 1.1vw, 2rem); font-weight: 600; color: var(--ink-3); transition: color .25s; }
.inv.open .inv-id { color: var(--ver); }
.inv-t { display: grid; gap: 2px; }
.inv-t b { font: 640 var(--t-l)/1.2 var(--f-display); letter-spacing: -0.01em; }
.inv-plus { position: relative; width: 20px; height: 20px; }
.inv-plus::before, .inv-plus::after { content: ""; position: absolute; left: 3px; right: 3px; top: 9px; height: 2px; background: var(--ink-2); transition: transform .35s var(--ease-out); }
.inv-plus::after { transform: rotate(90deg); }
.inv.open .inv-plus::after { transform: rotate(0deg); }
.inv-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; padding: 4px 4px 24px calc(4.2rem + 20px); }

/* Sources */
.src-list { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line); counter-reset: s; }
.src-list li { counter-increment: s; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) minmax(0, auto); gap: 8px 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.src-list li::before { content: counter(s, decimal-leading-zero); font: 600 var(--t-xs)/1.8 var(--f-mono); color: var(--ink-3); }
.src-list li > a, .src-list li > .badge { justify-self: end; font-size: var(--t-xs); word-break: break-all; max-width: 34ch; }
.src-list li > .badge { white-space: normal; word-break: normal; overflow-wrap: normal; }

@media (max-width: 1100px) {
  .fc-grid { grid-template-columns: minmax(0, 1fr); }
  .fc-side { position: static; }
}
@media (max-width: 860px) {
  .inv-body { grid-template-columns: minmax(0, 1fr); padding-left: 4px; }
  .inv-head { grid-template-columns: 3.2rem minmax(0, 1fr) 24px; }
  .src-list li { grid-template-columns: 2rem minmax(0, 1fr); }
  .src-list li > a, .src-list li > .badge { grid-column: 2; justify-self: start; max-width: none; }
}

/* Overview tab (first screen) and the shared closing CTA band. */
.ov-hero {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px);
  align-items: start; padding-bottom: clamp(12px, 2vw, 24px);
}
.ov-hero-main { display: grid; gap: 20px; align-content: start; }
.ov-eyebrow { color: var(--ver); }
.ov-title {
  font: 680 clamp(2.2rem, 1.2rem + 3.2vw, 4rem)/1.02 var(--f-display); letter-spacing: -0.038em; max-width: 17ch;
}
.ov-title em { font-style: normal; color: var(--ver); display: block; margin-top: .12em; }
.ov-lead { max-width: 56ch; }
.ov-for { max-width: 62ch; margin: -6px 0 0; font-size: var(--t-s); color: var(--ink-2); padding-left: 12px; border-left: 2px solid var(--ver); }
.ov-steps-sec { margin-top: clamp(32px, 4vw, 56px); }
.ov-ctas { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 6px; }

.ov-outcomes { display: grid; gap: 14px; padding-top: 6px; }
.ov-out-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ov-out { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.ov-out-n { font: 600 var(--t-s)/1.5 var(--f-mono); color: var(--ver); }
.ov-out h3 { font-size: var(--t-l); margin-bottom: 6px; }
.ov-out p { color: var(--ink-2); font-size: var(--t-s); line-height: 1.55; }

.ov-sec-head { display: grid; gap: 10px; margin-bottom: 22px; }
.ov-sec-head .section-title { margin: 0; max-width: 30ch; }
.ov-more { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; font-weight: 500; }
.ov-more a { text-decoration: none; }
.ov-more a:hover { text-decoration: underline; }

/* Four steps with a travelling dot */
.ov-strip { position: relative; padding: 4px 0 0; }
.ov-step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 36px); position: relative; }
.ov-line { position: absolute; left: 22px; right: 22px; top: 26px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 10px); }
.ov-step { display: grid; gap: 8px; align-content: start; }
.ov-node {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  font: 700 1rem/1 var(--f-display); background: var(--surface); border: 2px solid var(--line); color: var(--ink-2);
  transition: background-color .4s var(--ease-out), border-color .4s, color .4s;
}
.ov-step.on .ov-node { background: var(--ver-bg); border-color: var(--ver); color: var(--ver); }
.ov-step:last-child.on .ov-node { background: var(--ok-bg); border-color: var(--ok); color: var(--ok); }
.ov-step h3 { font-size: var(--t-l); margin-top: 8px; }
.ov-step p { color: var(--ink-2); font-size: var(--t-s); }
.ov-dot { position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--warn); z-index: 2; box-shadow: 0 0 0 4px color-mix(in srgb, var(--warn) 22%, transparent); opacity: 0; pointer-events: none; }

/* What it covers */
.ov-kinds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 0 clamp(16px, 2.6vw, 36px); }
.ov-kind { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: 2px 10px; align-content: start; padding: 16px 0; border-top: 1px solid var(--line-soft); }
.ov-kind-n { grid-row: span 2; font: 600 var(--t-xs)/1.9 var(--f-mono); color: var(--ink-3); }
.ov-kind b { font: 640 var(--t-m)/1.3 var(--f-display); }
.ov-kind span:last-child { color: var(--ink-3); font-size: var(--t-s); }

/* Who it's for */
.ov-who-table { border-top: 1px solid var(--line); }
.ov-who-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px clamp(16px, 3vw, 40px); padding: 18px 0; border-bottom: 1px solid var(--line-soft); align-items: baseline; }
.ov-who-row h3 { font-size: var(--t-m); letter-spacing: -0.005em; line-height: 1.3; }
.ov-who-hd { padding: 10px 0; font: 600 var(--t-xs)/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.ov-pain { color: var(--ink-2); }
.ov-gain { color: var(--ink); font-weight: 500; }
.ov-tag { display: none; font: 600 var(--t-xs)/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }

/* Proof points */
.ov-why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 44px); border-top: 1px solid var(--line); }
.ov-fig { margin: 0; padding-top: 22px; display: grid; gap: 12px; align-content: start; }
.ov-fig-n { font-size: clamp(2.6rem, 1.6rem + 3vw, 4.4rem); line-height: .95; font-weight: 700; }
.ov-fig-n small { font-size: .42em; margin-left: .1em; font-weight: 560; letter-spacing: -0.01em; }
.ov-fig p:first-child { color: var(--ink-2); max-width: 34ch; }

/* First questions */
.ov-qa { margin: 14px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 4vw, 56px); }
.ov-q { padding: 18px 0; border-top: 1px solid var(--line-soft); }
.ov-q dt { font: 640 var(--t-l)/1.25 var(--f-display); letter-spacing: -0.01em; margin-bottom: 8px; }
.ov-q dd { margin: 0; color: var(--ink-2); }

/* Closing CTA band, shared by several tabs */
.cta-band {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: end;
  padding: clamp(26px, 4vw, 52px); border-radius: var(--r-l); background: var(--ink); color: var(--bg);
  position: relative; overflow: hidden;
}
.cta-band::before { /* measuring ticks along the top edge */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; opacity: .35;
  background: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 10px);
}
.cta-inner { display: grid; gap: 12px; }
.cta-band .eyebrow { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.cta-title { font-size: var(--t-xl); max-width: 24ch; color: var(--bg); }
.cta-text { max-width: 64ch; color: color-mix(in srgb, var(--bg) 82%, transparent); }
.cta-band .btn.primary { background: var(--bg); color: var(--ink); border-color: var(--bg); padding: 13px 22px; font-size: var(--t-m); font-weight: 500; white-space: nowrap; }
.cta-band .btn.primary:hover { background: var(--ver-bg); border-color: var(--ver-bg); color: var(--ink); }

@media (max-width: 1000px) {
  .ov-hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .ov-step-list { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ov-step { grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; }
  .ov-step .ov-node { grid-row: span 2; }
  .ov-step h3 { margin-top: 10px; }
  .ov-line { left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 10px); }
  .ov-who-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ov-who-hd { display: none; }
  .ov-tag { display: block; }
  .ov-why-grid, .ov-qa { grid-template-columns: minmax(0, 1fr); }
  .ov-fig { padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
  .cta-band { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .cta-band .btn.primary { white-space: normal; justify-self: start; }
}

/* Tabs: new parts of Problem, How it works, Story, Safeguards, What's different, Deployment. */
/* Problem */
.ib-quote { font: 600 var(--t-l)/1.3 var(--f-display); letter-spacing: -0.01em; color: var(--ink); max-width: 30ch; padding-left: 16px; border-left: 2px solid var(--no); }
.costs { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 32px); }
.cost { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 2px solid var(--no); }
.cost-n { font: 600 var(--t-xs)/1 var(--f-mono); color: var(--no); }
.cost h4 { font-size: var(--t-l); }

/* How it works: step detail */
.cy-row { display: grid; gap: 4px; }
.cy-gate, .cy-why { padding-top: 12px; border-top: 1px solid var(--line-soft); }
.cy-gate span:last-child { font-weight: 500; }

/* Story: product kinds, start track, closing row */
.kinds { display: flex; flex-wrap: wrap; gap: 8px; max-width: 70ch; }
.kind { padding: 7px 13px; border-radius: 99px; background: var(--ver-bg); color: var(--ink); border: 1px solid color-mix(in srgb, var(--ver) 50%, transparent); font-size: clamp(.78rem, 1.3cqi, 1rem); }
.track.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.6cqi, 18px); }
.track.four .ms { font-size: clamp(.74rem, 1.2cqi, .95rem); }
.track.four .ms strong { display: block; color: var(--ink); font-weight: 600; }
.ms.warn i { background: var(--warn); }
.fin-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.fin-row .fin { margin: 0; }
.sc-cta { flex: none; }
.env-p { font-size: clamp(.85rem, 1.35cqi, 1.05rem); }

/* Safeguards */
.guards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 36px) clamp(16px, 2.4vw, 32px); }
.guard { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 2px solid var(--gc); }
.guard-n { font: 760 2rem/0.9 var(--f-display); color: var(--gc); letter-spacing: -0.03em; }
.guard h3 { font-size: var(--t-l); }
.g-ok { --gc: var(--ok); } .g-no { --gc: var(--no); } .g-ver { --gc: var(--ver); } .g-warn { --gc: var(--warn); }
.terrain { --tc: var(--ver); border-top: 2px solid var(--tc); }
.tr-llm { --tc: var(--llm); } .tr-warn { --tc: var(--warn); } .tr-ok { --tc: var(--ok); } .tr-ver { --tc: var(--ver); }
.terrains { border-top: 0; gap: clamp(16px, 3vw, 40px); }
.lanes.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.faq-head { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: end; justify-content: space-between; margin-bottom: 12px; }
.faq-head .section-title { margin: 0; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-h { margin: 0; font-size: inherit; }
.faq-btn { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 16px; align-items: center; padding: 18px 2px; background: none; border: 0; text-align: left; cursor: pointer; font: 640 var(--t-l)/1.3 var(--f-display); letter-spacing: -0.01em; color: var(--ink); }
.faq-btn:hover { color: var(--ver); }
.faq-item.open .inv-plus::after { transform: rotate(0deg); }
.faq-a { padding: 0 2px 20px; color: var(--ink-2); max-width: 80ch; }

/* What's different */
.inv-means p { font: 600 var(--t-l)/1.3 var(--f-display); letter-spacing: -0.01em; color: var(--ok); }
.bar-box { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(20px, 4vw, 56px); padding: clamp(22px, 3vw, 40px); border: 1px solid color-mix(in srgb, var(--ok) 45%, var(--line-soft)); border-radius: var(--r-l); background: color-mix(in srgb, var(--ok-bg) 45%, transparent); }
.bar-box .section-title { margin: 12px 0; }
.accept { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.accept li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-weight: 500; }
.accept li:last-child { border-bottom: 0; }
.accept-tick, .sec-tick { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--ok); background: var(--ok-bg); position: relative; margin-top: 2px; }
.accept-tick::after, .sec-tick::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Deployment */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; position: relative; }
.jr { display: grid; gap: 12px; align-content: start; padding: 18px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line-soft); }
.jr.first { border-color: color-mix(in srgb, var(--ok) 55%, var(--line-soft)); background: color-mix(in srgb, var(--ok-bg) 55%, var(--surface)); }
.jr:last-child { border-color: color-mix(in srgb, var(--ver) 55%, var(--line-soft)); }
.jr-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 .95rem/1 var(--f-display); background: var(--ink); color: var(--bg); }
.jr h4 { margin-bottom: 6px; font-size: var(--t-m); }
.sec-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 4vw, 56px); }
.sec-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }

@media (max-width: 1100px) {
  .guards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .costs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .guards, .journey, .costs, .sec-list, .lanes.two, .bar-box { grid-template-columns: minmax(0, 1fr); }
  .faq-btn { font-size: var(--t-m); }
}
@container (max-width: 760px) {
  .track.four { grid-template-columns: minmax(0, 1fr); }
  .kind { padding: 5px 10px; }
}

