:root{--ground:#fbfbfd;--chalk:#1d1d1f;--ink:#1d1d1f;--muted:#626268;--line:#d8d8de;--blue:#0066cc;--purple:#6941c6;--amber:#6941c6;--font:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{background:var(--ground);scroll-padding-top:24px;scroll-behavior:smooth}
body{margin:0;padding-bottom:64px;background:var(--ground);color:var(--ink);font-family:var(--font);font-synthesis:none;-webkit-font-smoothing:antialiased}
h1,h2,p,figure{margin:0}
button,input{font:inherit;color:inherit}
button{cursor:pointer;-webkit-tap-highlight-color:transparent}
button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid var(--blue);outline-offset:6px}
::selection{color:var(--ink);background:#d6e9ff}
#story{max-width:1800px;margin:auto}
.reading-stop{scroll-margin-top:0}
.story-section{min-height:calc(100svh - 64px);padding:52px max(32px,calc((100vw - 1120px)/2)) 46px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;isolation:isolate}
.story-section+.story-section{padding-top:68px;padding-bottom:64px}
.story-section:nth-of-type(even){background:#fff}
.study-name{font-size:15px;font-weight:550;letter-spacing:-.01em;color:var(--muted);margin-bottom:23px}
h1{font-size:clamp(62px,6.4vw,92px);line-height:1.035;letter-spacing:-.065em;font-weight:650;max-width:1060px;text-wrap:balance}
h2{font-size:clamp(42px,4.6vw,66px);line-height:1.055;letter-spacing:-.055em;font-weight:650;max-width:1050px;text-wrap:balance}
.section-heading{width:100%;display:flex;align-items:center;flex-direction:column}
.section-deck{font-size:clamp(19px,1.8vw,25px);line-height:1.4;letter-spacing:-.025em;color:var(--muted);max-width:820px;margin-top:19px;text-wrap:balance}
.section-deck strong{color:var(--ink);font-weight:550}
.opening .section-deck{margin-top:25px}
.opening-art{width:min(100%,980px);margin-top:44px}
figure svg{display:block;width:100%;height:auto;overflow:visible;font-family:var(--font)}
figure svg text{font-family:var(--font)}
.mobile-art{display:none}
.sequence-demo{display:flex;align-items:center;justify-content:center;gap:12px;font-size:28px;letter-spacing:.22em;font-variant-numeric:tabular-nums;font-family:ui-monospace,"Cascadia Mono",Consolas,monospace;margin-top:27px;min-height:48px;color:#626268}
.sequence-demo span{white-space:nowrap}
#base-toggle{display:grid;place-items:center;width:48px;height:48px;border:0;border-radius:12px;background:var(--blue);color:#fff;font-size:28px;line-height:1;letter-spacing:0;font-weight:650;transition:transform .25s ease,background .25s ease}
#base-toggle:hover{transform:scale(1.07);background:#0057ae}
#base-toggle[aria-pressed="true"]{background:#00498f}
.action-hint{font-size:13px;line-height:1.4;color:var(--blue);margin-top:10px}
.model-art{width:min(100%,1000px);margin-top:23px}
.demo-caption{font-size:17px;line-height:1.5;letter-spacing:-.02em;color:var(--ink);max-width:860px;margin-top:18px;text-wrap:balance}
.evidence-note{font-size:12px;line-height:1.5;letter-spacing:0;color:var(--muted);max-width:830px;margin-top:12px;text-wrap:balance}
.pair-identity{font-size:24px;line-height:1.2;font-weight:550;letter-spacing:-.025em;margin-top:25px}
.pair-identity span{color:var(--muted);font-weight:400;margin-inline:12px}
.pair-art{width:min(100%,1020px);margin-top:20px}
.demo-action{border:0;background:var(--blue);color:#fff;border-radius:24px;padding:12px 24px;min-height:44px;font-size:16px;font-weight:500;line-height:1.25;margin-top:22px;transition:background .25s ease,transform .25s ease}
.demo-action:hover{background:#0057ae;transform:translateY(-1px)}
.demo-action[aria-pressed="true"]{background:#eee9f8;color:#503099}
.recorded-controls{display:inline-flex;border-radius:26px;background:#ebebef;padding:4px;gap:2px;margin-top:25px}
.recorded-controls button{border:0;background:transparent;color:var(--muted);padding:9px 22px;font-size:15px;line-height:1.4;min-height:40px;border-radius:22px;transition:background .25s ease,color .25s ease}
.recorded-controls button[aria-pressed="true"]{background:var(--ink);color:#fff}
.recorded-controls button:hover:not([aria-pressed="true"]){color:var(--ink)}
.agent-art{width:min(100%,1040px);margin-top:27px}
.rule-art{width:min(100%,1000px);margin-top:34px}
.comparison-section .section-heading h2{font-size:clamp(38px,4vw,58px)}
.comparison-section .section-deck{font-size:20px;margin-top:15px}
.query-ruler{display:grid;grid-template-columns:1fr auto;gap:7px 25px;width:min(100%,430px);margin-top:25px;text-align:left;font-size:14px;line-height:1.4}
.query-ruler label{font-weight:550}
.query-ruler output{font-variant-numeric:tabular-nums;font-weight:550}
.query-ruler input{grid-column:1/-1;width:100%;margin:0;height:28px;accent-color:var(--blue);cursor:ew-resize}
.ruler-ends{grid-column:1/-1;display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin-top:-8px}
.comparison-art{width:min(100%,1120px);margin-top:20px}
.comparison-explanation{font-size:14px;line-height:1.5;color:var(--muted);max-width:850px;margin-top:15px;text-wrap:balance}
.comparison-section .evidence-note{font-size:11px;margin-top:8px}
.closing h2{font-size:clamp(45px,5.1vw,74px);max-width:1080px}
.closing .section-deck{font-size:21px;max-width:800px}
.uncertainty-art{width:min(100%,840px);margin-top:36px}
.interval-caption{font-size:14px;line-height:1.5;color:var(--muted);margin-top:12px}
.closing-next{font-size:18px;line-height:1.5;letter-spacing:-.02em;color:var(--muted);max-width:790px;margin-top:26px;text-wrap:balance}
#controls{position:fixed;z-index:8;bottom:0;left:0;right:0;min-height:64px;background:var(--ground);border-top:1px solid var(--line);display:flex;align-items:center;gap:24px;padding:12px 32px;font-size:12px;line-height:1.4}
.reading-progress{position:absolute;top:-1px;left:0;right:0;height:2px;background:transparent}
#reading-progress-fill{display:block;height:100%;width:100%;transform:scaleX(0);transform-origin:left;background:var(--blue);transition:transform .2s ease}
#story-position{font-weight:550;min-width:130px}
.byline{color:var(--muted);margin-left:auto}
#story-next{border:0;background:transparent;color:var(--blue);padding:8px 0 8px 16px;font-size:13px;font-weight:550;line-height:1.4}
#story-next:hover{text-decoration:underline;text-underline-offset:4px}
#story-notes{border:1px solid var(--line);padding:28px 32px;max-width:680px;width:calc(100% - 40px);border-radius:18px;background:#fff;color:var(--ink);box-shadow:0 20px 80px #0002;max-height:calc(100svh - 80px);overflow:auto}
#story-notes::backdrop{background:#14141b50}
.notes-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}
.notes-top h2{font-size:27px;font-weight:600;letter-spacing:-.035em}
.notes-top button{border:0;background:#eeeef2;color:var(--ink);font-size:13px;padding:8px 15px;border-radius:18px}
#story-notes-copy{font-size:16px;line-height:1.7;white-space:pre-line}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
svg .edited-profile{transition:d .65s cubic-bezier(.2,.7,.2,1),opacity .5s ease}
svg .mean-line{transition:all .65s cubic-bezier(.2,.7,.2,1)}
svg .pair-output{transition:width .65s cubic-bezier(.2,.7,.2,1)}
svg .pair-extra{transition:opacity .45s ease}
.rule-transfer{opacity:0;transform:translate(var(--from-x),var(--from-y));transform-origin:0 0}
.rule-art.is-visible .rule-transfer{animation:join-length 1.1s cubic-bezier(.2,.7,.2,1) both}
.rule-art.is-visible .rule-transfer.second{animation-delay:.18s}
@keyframes join-length{0%{opacity:0;transform:translate(var(--from-x),var(--from-y)) rotate(0)}20%{opacity:1;transform:translate(var(--from-x),var(--from-y)) rotate(0)}100%{opacity:1;transform:translate(var(--to-x),var(--to-y)) rotate(-90deg)}}

/* A continuous research account, with the worked example kept in view. */
.story-section{padding-block:40px;text-align:left}
.story-section+.story-section{padding-block:40px}
.section-heading{align-items:flex-start}
h1{font-size:clamp(38px,4.1vw,58px);line-height:1.1;letter-spacing:-.045em;font-weight:600;text-wrap:pretty}
h2,.comparison-section .section-heading h2,.closing h2{font-size:clamp(32px,3.3vw,46px);line-height:1.14;letter-spacing:-.035em;font-weight:600;text-wrap:pretty}
.section-deck,.opening .section-deck,.comparison-section .section-deck,.closing .section-deck{font-size:19px;line-height:1.5;letter-spacing:-.01em;color:#4e4e56;max-width:1060px;margin-top:16px;text-wrap:pretty}
.study-name{font-size:14px;font-weight:500;letter-spacing:0;margin-bottom:18px}
.demo-caption,.comparison-explanation,.interval-caption,.closing-next,.evidence-note{width:100%;max-width:1100px;text-wrap:pretty}
.demo-caption{font-size:16px;line-height:1.45;margin-top:12px}
.evidence-note{font-size:12px;line-height:1.5;margin-top:8px}
.comparison-explanation,.interval-caption{font-size:14px;line-height:1.5;margin-top:12px}
.closing-next{font-size:17px;line-height:1.5;margin-top:24px}
.model-section{display:grid;grid-template-columns:1fr 1.05fr;gap:64px;align-items:center}
.model-intro,.model-visual{min-width:0}
.model-intro h1{font-size:50px;line-height:1.1}
.model-intro .section-deck{font-size:19px;line-height:1.55;margin-top:24px}
.context-note{font-size:14px;line-height:1.5;color:var(--muted);margin-top:26px;max-width:460px}
.model-visual{text-align:center}
.model-visual .demo-caption,.model-visual .evidence-note{text-align:left}
.model-visual .sequence-demo{margin-top:0;font-size:25px;gap:9px}
.model-visual .action-hint{margin-top:9px}
.model-art{margin-top:24px}
.model-art .desktop-art{display:none}
.model-art .mobile-art{display:block;max-height:300px}
.pair-art{margin-top:20px}
.pair-art svg{max-height:310px}
.demo-action{margin-top:16px;align-self:center;font-size:15px;padding:11px 22px}
.recorded-controls{margin-top:20px;align-self:center}
.agent-art{margin-top:20px}
.agent-art svg{max-height:270px}
.rule-art{margin-top:24px}
.rule-art svg{max-height:275px}
.opening-art{margin-top:30px}
.opening-art svg{max-height:240px}
.query-ruler{margin-top:18px}
.comparison-art{margin-top:18px}
.comparison-art svg{max-height:270px}
.uncertainty-art{margin-top:28px;align-self:center}
.uncertainty-art svg{max-height:190px}
#story-next{display:inline-flex;align-items:center;gap:10px}
#story-next::after{content:"";display:block;width:6px;height:6px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg)}
@media(min-width:1051px) and (max-height:780px){.story-section,.story-section+.story-section{padding-block:24px}.model-section{gap:48px}.model-intro h1{font-size:47px}.model-intro .section-deck{font-size:18px;line-height:1.55;margin-top:22px}.context-note{font-size:13px;margin-top:22px}.section-deck,.opening .section-deck,.comparison-section .section-deck,.closing .section-deck{font-size:18px;line-height:1.45;margin-top:14px}h2,.comparison-section .section-heading h2,.closing h2{font-size:42px}.model-art .mobile-art{max-height:280px}.model-visual .demo-caption{font-size:15px}.pair-art svg{max-height:300px}.agent-art svg{max-height:255px}.rule-art svg{max-height:260px}.comparison-art svg{max-height:260px}}
@media(max-width:1050px){.story-section,.story-section+.story-section{padding:56px 38px;min-height:calc(100svh - 64px)}.model-section{display:flex;gap:38px}.model-intro{width:100%}.model-intro h1{font-size:50px;max-width:720px}.model-intro .section-deck{max-width:740px}.model-visual{width:100%;max-width:540px}.model-art .mobile-art{max-height:300px}.context-note{max-width:700px}.pair-art svg,.agent-art svg,.rule-art svg,.comparison-art svg{max-height:none}.agent-art,.rule-art{max-width:800px}.byline{display:none}#story-position{margin-right:auto}#controls{padding-inline:24px}}
@media(max-width:650px){html{scroll-padding-top:0}body{padding-bottom:60px}.story-section,.story-section+.story-section{padding:36px 22px 44px;min-height:calc(100svh - 60px)}.model-section{gap:30px}.study-name{font-size:12px;line-height:1.5;margin-bottom:16px}.model-intro h1,h1{font-size:36px;line-height:1.12;letter-spacing:-.035em}h2,.comparison-section .section-heading h2,.closing h2{font-size:30px;line-height:1.18;letter-spacing:-.03em}.section-deck,.opening .section-deck,.comparison-section .section-deck,.closing .section-deck,.model-intro .section-deck{font-size:17px;line-height:1.55;margin-top:18px}.context-note{font-size:13px;line-height:1.5;margin-top:18px}.sequence-demo{font-size:21px;gap:7px;letter-spacing:.13em}#base-toggle{width:42px;height:42px;font-size:24px;border-radius:10px}.model-visual .sequence-demo{font-size:21px;gap:7px}.action-hint{font-size:12px}.model-art{margin-top:23px}.model-art .mobile-art{max-height:none}.demo-caption,.model-visual .demo-caption{font-size:15px;line-height:1.5;margin-top:16px}.evidence-note{font-size:11px;line-height:1.6;margin-top:10px}.pair-art{margin-top:24px}.pair-art svg{max-height:none}.demo-action{font-size:14px;margin-top:20px}.recorded-controls{margin-top:22px}.recorded-controls button{font-size:14px;padding:8px 19px}.agent-art{margin-top:26px}.rule-art{margin-top:26px}.opening-art{margin-top:28px}.opening-art svg{max-height:none}.query-ruler{width:100%;margin-top:24px}.comparison-art{margin-top:27px}.comparison-explanation,.interval-caption{font-size:13px;line-height:1.55;margin-top:16px}.comparison-section .evidence-note{font-size:11px;line-height:1.6}.uncertainty-art{margin-top:24px}.uncertainty-art svg{max-height:none}.closing-next{font-size:15px;line-height:1.6;margin-top:22px}#controls{min-height:60px;padding:10px 18px;gap:15px}#story-position{font-size:11px;min-width:0}#story-next{font-size:12px;padding-left:0;max-width:160px;text-align:right}.notes-top h2{font-size:24px}#story-notes{padding:24px}#story-notes-copy{font-size:15px}.desktop-art{display:none}.mobile-art{display:block}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.rule-transfer{opacity:1;transform:translate(var(--to-x),var(--to-y)) rotate(-90deg)}}
@media print{body{padding-bottom:0;background:#fff}.story-section,.story-section+.story-section{display:block;padding:24px;min-height:0;break-inside:avoid;background:#fff}h1,.model-intro h1{font-size:40px}h2,.closing h2{font-size:30px}.section-deck{font-size:16px}.model-visual{margin:25px auto;max-width:540px}figure{max-height:400px}#controls,#story-notes,.action-hint{display:none}.rule-transfer{opacity:1;transform:translate(var(--to-x),var(--to-y)) rotate(-90deg)}}
