/* Scrollytelling tokens —— 编辑排印 + explorable（R2D3 / Ciechanowski 范式）
   颜色即语义：每个管线阶段一个颜色，正文中的 <span class="k-obs"> 等与图中同色 */
:root{
  --font-serif:"Source Serif 4","Source Serif Pro",ui-serif,Georgia,"Times New Roman",serif;
  --font-sans:"Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --font-mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --fs-body:clamp(1.0625rem,1.1vw,1.1875rem);--lh-body:1.7;--fs-title:clamp(2.5rem,6vw,5rem);
  --bg:#fcfbf8;--paper:#ffffff;--line:#e7e3da;--ink:#1d1d1f;--ink-2:#45474d;--ink-3:#62656c;
  /* 阶段色（均 ≥4.5:1 于白底） */
  --c-obs:#b4461b;   /* observation */
  --c-enc:#6a3fb5;   /* encoder */
  --c-tok:#0f6e8c;   /* tokens */
  --c-pol:#1d6b3a;   /* policy */
  --c-act:#a3197a;   /* action */
  --node-bg:#f4f2ec;--node-line:#d9d4c8;--dim:.22;
  --r:12px;--r-lg:18px;
  --s-2:8px;--s-3:12px;--s-4:16px;--s-6:24px;--s-8:32px;--s-12:48px;--s-16:64px;--s-24:96px;
  --measure:36ch;--gutter:clamp(20px,4vw,48px);
  --ease:cubic-bezier(.65,0,.35,1);--ease-out:cubic-bezier(.16,1,.3,1);--dur:600ms;
  /* 断点：900（左右双栏 → 上图下文） */
}
@media (prefers-reduced-motion:reduce){:root{--dur:0ms}}
