/* the faces, served with the page (OFL; licences in fonts/): B612 for figures, Newsreader for reading text,
   variable over weight and optical size, in its Latin and Latin Extended subsets */
@font-face { font-family: "B612"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/B612-Regular.woff2") format("woff2"); }
@font-face { font-family: "B612"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/B612-Bold.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/Newsreader-Roman-latin.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: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/Newsreader-Roman-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("../fonts/Newsreader-Italic-latin.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: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("../fonts/Newsreader-Italic-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Exstill Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ExstillDisplay-Regular.woff2") format("woff2"); }
@font-face { font-family: "Exstill Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/ExstillDisplay-Bold.woff2") format("woff2"); }
@font-face { font-family: "Exstill Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/ExstillDisplay-Italic.woff2") format("woff2"); }
/* The post pages' one stylesheet. Layout: one reading column of 38rem in Newsreader, figures breaking out to 52rem
   in outlined cards; headings and furniture in Exstill Display (Linux Biolinum, served), figures in B612. Light only, on purpose, matching the launch
   page: white ground, violet for Exstill, amber for annotation and the hypothetical, grey for the GPU. */
:root {
  color-scheme: light;
  --paper: #ffffff;   --wash: #f6f3fc;    --wash-2: #ede6f9;  --ink: #17121f;    --ink-2: #3b3447;
  --muted: #625a70;   --faint: #766e83;   --rule: #e7e2ef;    --grid: #ece7f3;
  --violet: #9b4aed;  --link: #6a2bc4;    --link-hover: #4f1d99; --amber: #ed9b4a;
  --mark-us: #8b3fe6; --mark-amber: #d9781f; --mark-gpu: #928a9f; --mark-gpu-strong: #5f5770;
  /* part 2's two reads, both the GPU's, in its two greys: the model, shared, dark; each conversation, light */
  --cat-1: #5f5770;   --cat-2: #bdb5ca;   --meas: #12805c;
  --band-bg: #fff4e5; --band-ink: #6e3d0b; --band: #f8f6fb;
  --display: "Exstill Display", Optima, "Optima Nova", Candara, "Noto Sans", "Segoe UI", sans-serif;
  --text: "Newsreader", Georgia, "Times New Roman", serif;
  --fig: "B612", "Noto Sans", "Segoe UI", sans-serif;
  /* as on the launch page: corners say what a thing is (evidence unboxed under a rule; one frame for an instrument,
     tighter tiles inside it; pills for controls), and the display scale has four steps: the title; a section's
     headline, unused here; a claim, the post's section headings; a title, a figure's or the method's */
  --r-frame: 6px;  --r-tile: 4px;
  --t1: clamp(2.8rem, 6.4vw, 5.2rem); --t3: clamp(1.8rem, 2.9vw, 2.4rem); --t4: 1.35rem;
}
/* provenance is in a mark's shape: filled, measured; hollow, pre-silicon or simulated; dashed, calculated. Its colour
   says whose: violet for Exstill, graphite for the GPU; simulated from both is the violet ring round a graphite centre.
   Amber annotates. */
.dot.us, .dot.sim { background: transparent; box-shadow: inset 0 0 0 2px var(--c); }
.dot.calc { background: transparent; border: 1.5px dashed var(--faint); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--display); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--paper); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; letter-spacing: -0.01em; }
a { color: var(--link); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }
/* the brand's ×: the logo's own cross in its amber, on every headline ratio; the character stays, hidden, for copying
   and for screen readers */
.x { display: inline-block; width: 0.44em; height: 0.44em; margin-left: 0.06em; }
.x svg { display: block; width: 100%; height: 100%; fill: var(--mark-amber); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
p, figcaption, .s, .rs { text-wrap: pretty; }
.wrap { max-width: 76rem; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

/* band and header */
.band { background: var(--band-bg); color: var(--band-ink); font-size: 0.85rem; }
.band .wrap { padding-block: 0.55rem; }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: rgba(255, 255, 255, 0.84); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--rule); }
.top .wrap { padding-block: 0.8rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.7rem 2rem; }
.brand { display: flex; align-items: flex-end; gap: 0.9rem; flex-wrap: wrap; text-decoration: none; color: var(--ink); }
.wordmark { display: block; height: 2.05rem; width: auto; color: var(--ink); }
.brand .line { font-size: 0.95rem; color: var(--muted); padding-bottom: 0.3rem; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 1.5rem; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 0.98rem; }
.nav a:hover { color: var(--link); }
/* the site's menu, four plain links; a post marks its section, the co-processor, as the launch pages mark theirs */
.nav .btn { display: inline-flex; align-items: center; min-height: 42px; padding: 0 1.1rem; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 0.95rem; }
.nav .btn:hover { background: var(--link); color: var(--paper); }
@media (max-width: 720px) { .top .wrap { flex-wrap: nowrap; gap: 0.6rem; padding-block: 0.6rem; } .brand .line { display: none; } .wordmark { height: 1.7rem; } .nav { flex-wrap: nowrap; gap: 0.7rem; } .nav a { font-size: 0.86rem; white-space: nowrap; } .nav .btn { min-height: 0; padding: 0; border-radius: 0; background: none; color: var(--ink-2); font-size: 0.86rem; } .nav .btn:hover { background: none; color: var(--link); } }
/* the co-processor's link names it in full, and "Co-processor" at phone widths; on the narrowest phones the logo is
   the way to the thesis */
.nav .nav-s { display: none; }
@media (max-width: 720px) { .nav .nav-l { display: none; } .nav .nav-s { display: inline; } }
@media (max-width: 430px) { .nav .nav-thesis { display: none; } }
.nav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--violet); text-decoration-thickness: 2px; text-underline-offset: 0.5em; }

/* the article */
.col { max-width: 42rem; margin: 0 auto; }
.wide { max-width: 58rem; margin: 0 auto; width: 100%; }
/* the title block: the part's number beside it, as on the index */
.head { padding-block: 4rem 2.5rem; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 1.2rem; align-items: start; }
.partnum { font: 400 3.6rem/0.8 var(--display); color: var(--violet); letter-spacing: -0.05em; }
@media (min-width: 720px) { .head { grid-template-columns: 5.8rem minmax(0, 1fr); column-gap: 1.2rem; } .partnum { grid-row: 1 / span 3; font-size: 6.6rem; margin-top: 0.3rem; } }
.meta a { color: var(--link); text-decoration: none; }
.meta a:hover { text-decoration: underline; }
.head h1 { font-size: var(--t1); line-height: 0.96; letter-spacing: -0.035em; }
.dek { font: 400 1.35rem/1.45 var(--text); color: var(--ink-2); }
.meta { display: flex; flex-wrap: wrap; gap: 0.3rem 1.6rem; font-size: 0.95rem; color: var(--muted); padding-top: 1rem; border-top: 1px solid var(--rule); }
.article { padding-bottom: 4rem; display: flex; flex-direction: column; gap: 2.6rem; }
.prose { font: 400 1.25rem/1.68 var(--text); color: var(--ink); display: flex; flex-direction: column; gap: 1.15rem; }
.prose h2 { font: 400 var(--t3)/1.1 var(--display); margin-top: 2.2rem; letter-spacing: -0.02em; color: var(--ink); }
.prose ul { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.7rem; }
.prose li::marker { color: var(--faint); }
.prose strong { font-weight: 500; }
.prose .pull { font: 400 var(--t3)/1.2 var(--display); letter-spacing: -0.02em; color: var(--ink); padding-block: 1.3rem 1.25rem; margin-block: 0.7rem; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.prose .cite { font-size: 1rem; color: var(--muted); }
/* a figure derived in one line: its terms in B612, what each is under it, the operators quiet */
.prose .eq { display: grid; grid-template-columns: repeat(5, auto); justify-content: start; align-items: start; column-gap: 1.1rem; padding-block: 1.3rem; border-block: 1px solid var(--rule); }
.prose .eq .n { font: 400 clamp(1.6rem, 3vw, 2.2rem)/1 var(--fig); letter-spacing: -0.02em; white-space: nowrap; }
.prose .eq .u { margin-top: 0.5rem; max-width: 11rem; font: 400 0.85rem/1.4 var(--display); color: var(--muted); }
.prose .eq > div:first-child .u { max-width: 12.5rem; }
.prose .eq .op { font: 400 clamp(1.4rem, 2.6vw, 1.9rem)/1.1 var(--fig); color: var(--faint); }
@media (max-width: 600px) { .prose .eq { grid-template-columns: auto; row-gap: 0.5rem; } .prose .eq .op { display: none; } .prose .eq .u, .prose .eq > div:first-child .u { max-width: none; } }

/* receipts: a post's key figures sit beside the paragraph that makes the claim, each with its provenance mark and
   a link to how it was measured. In the margin where the page is wide enough (the prose becomes a two-column grid,
   the note taking the second column of its paragraph's row); after the paragraph everywhere else. */
.note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.25rem 0.8rem; align-items: baseline; max-width: 32rem; margin-top: 0.2rem; padding-top: 0.6rem; border-top: 1px solid var(--ink); font: 400 0.85rem/1.4 var(--display); color: var(--muted); }
.note b { font: 400 1.5rem/1 var(--fig); letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.note b .x { width: 0.4em; height: 0.4em; }
.note .src { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 0.15rem; font-size: 0.8rem; color: var(--muted); text-decoration: none; }
.note .src:hover { color: var(--link); text-decoration: underline; }
.note .src .dot { width: 8px; height: 8px; }
@media (min-width: 1240px) {
  .content .prose.col { display: grid; grid-template-columns: minmax(0, 42rem) 13rem; column-gap: 2rem; max-width: 57rem; }
  .content .wide { max-width: 57rem; }
  .prose > * { grid-column: 1; }
  .prose > .note { grid-column: 2; grid-template-columns: 1fr; align-self: start; max-width: none; margin-top: 0.45rem; gap: 0.3rem; }
  .prose > .note b { display: block; }
  .prose > .note b + b { margin-top: 0.5rem; }
}

/* figures and charts */
figure { margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
figure.wide { padding-top: 0.9rem; border-top: 1px solid var(--ink); }
.fig-title { font-size: var(--t4); }
.fig-sub { max-width: 44rem; font-size: 0.95rem; color: var(--muted); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 640px) { .pair { grid-template-columns: 1fr; } }
.pair > div { display: flex; flex-direction: column; gap: 0.4rem; }
.pair .t { font-size: 1.05rem; }
.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.c-grid line { stroke: var(--grid); stroke-width: 1; }
.c-base { stroke: var(--faint); stroke-width: 1; }
.c-axis text { fill: var(--faint); font: 400 11px var(--fig); }
.c-axt { fill: var(--faint); font: 400 12px var(--display); }
.c-ref { stroke: var(--mark-amber); stroke-width: 2; stroke-dasharray: 6 5; stroke-linecap: round; fill: none; }
.c-gap { stroke: var(--mark-amber); stroke-width: 2; stroke-linecap: round; fill: none; }
.c-hollow { fill: var(--paper); stroke: var(--mark-amber); stroke-width: 2; }
.c-gpu { fill: var(--mark-gpu); stroke: var(--paper); stroke-width: 2; }
.c-gpu-strong { fill: var(--mark-gpu-strong); stroke: var(--paper); stroke-width: 2; }
.c-us { fill: var(--mark-us); stroke: var(--paper); stroke-width: 2; }
.c-power { stroke: var(--mark-gpu); stroke-width: 1.5; stroke-dasharray: 2 4; stroke-linecap: round; fill: none; }
/* a figure drawn twice, for the reading column and for a phone, so its labels stay readable at either width */
.chart.c-phone { display: none; }
@media (max-width: 560px) { .chart.c-desk { display: none; } .chart.c-phone { display: block; } }
.c-power-us { stroke: var(--mark-us); stroke-width: 1.5; stroke-dasharray: 2 4; stroke-linecap: round; fill: none; }
.c-gpu-line { stroke: var(--mark-gpu); stroke-width: 2; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.c-bar-gpu { fill: var(--mark-gpu-strong); }
.c-bar-est { fill: var(--mark-amber); }
.c-model { fill: var(--cat-1); }
.c-conv { fill: var(--cat-2); }
.c-val { fill: var(--ink); font: 700 12px var(--fig); }
/* quieter point labels, for a line of many points (part 2's Figure 3): the value in grey, the two ends in a soft ink with their ratio */
.c-lab { fill: var(--muted); font: 400 10.5px var(--fig); }
.c-lab.end { fill: var(--ink-2); font-size: 11px; }
.c-num { fill: var(--ink); font: 400 13px var(--fig); }
.c-note { fill: var(--ink-2); font: 400 13px var(--display); }
.legend { display: flex; flex-wrap: wrap; gap: 0.3rem 1.3rem; font-size: 0.9rem; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 0.5rem; }
.legend i { flex: none; width: 12px; height: 12px; border-radius: 3px; background: var(--c); }
.prov { display: block; max-width: 100%; font-size: 0.85rem; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.prov .dot { margin-right: 0.45rem; vertical-align: 0.05em; }
.prov .dot + .dot, .prov .dot:not(:first-child) { margin-left: 0.6rem; }
.dot { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.hit { position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; padding: 0; border: 2px solid transparent; border-radius: 50%; background: transparent; cursor: crosshair; }
.hit:hover, .hit:focus-visible { border-color: var(--link); outline: none; }
.tip { position: absolute; z-index: 3; transform: translate(-50%, calc(-100% - 16px)); background: var(--paper); color: var(--ink); border: 1px solid var(--rule); border-radius: var(--r-frame); padding: 0.45rem 0.75rem; box-shadow: 0 10px 28px rgba(23, 18, 31, 0.12); pointer-events: none; white-space: nowrap; display: flex; flex-direction: column; gap: 0.15rem; }
.tip.l { transform: translate(-12px, calc(-100% - 16px)); }
.tip.r { transform: translate(calc(-100% + 12px), calc(-100% - 16px)); }
.tip strong { font: 700 0.9rem var(--fig); }
.tip span { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--muted); }
.tip i { width: 12px; height: 2px; background: var(--k, var(--mark-gpu)); }
details.numbers { font-size: 0.875rem; color: var(--muted); }
details.numbers summary { cursor: pointer; width: max-content; max-width: 100%; }
.tbl { overflow-x: auto; }
/* where a table or a chart without a phone twin is wider than a phone, it pans, and a shadow at the edge that has more says so (the
   shadow scrolls with the content, the paper over it does not, so each shows only on the side that overflows) */
.tbl, .chart.pan { background: linear-gradient(to right, var(--paper) 30%, rgba(255,255,255,0)) left/40px 100% no-repeat local, linear-gradient(to left, var(--paper) 30%, rgba(255,255,255,0)) right/40px 100% no-repeat local, radial-gradient(farthest-side at 0 50%, rgba(23,18,31,0.16), transparent) left/14px 100% no-repeat scroll, radial-gradient(farthest-side at 100% 50%, rgba(23,18,31,0.16), transparent) right/14px 100% no-repeat scroll; }
@media (max-width: 560px) { figure.wide > .chart:not(.c-desk):not(.c-phone), .chart.c-desk:not(:has(~ .c-phone)) { overflow-x: auto; } figure.wide > .chart:not(.c-desk):not(.c-phone) > svg, .chart.c-desk:not(:has(~ .c-phone)) > svg { min-width: 32rem; } }
.tbl table { margin-top: 0.6rem; border-collapse: collapse; font: 400 0.875rem/1.4 var(--display); color: var(--ink); }
.tbl th { text-align: left; font-weight: 400; color: var(--muted); padding: 0.4rem 1.4rem 0.4rem 0; border-bottom: 1px solid var(--rule); }
.tbl td { padding: 0.32rem 1.4rem 0.32rem 0; }
.tbl .n { text-align: right; font-family: var(--fig); font-variant-numeric: tabular-nums; }

/* method, series navigation, footer */
.method { border-top: 1px solid var(--ink); padding-top: 1.2rem; display: flex; flex-direction: column; gap: 0.9rem; font-size: 0.95rem; line-height: 1.6; color: var(--ink-2); }
.method .key { display: flex; flex-wrap: wrap; gap: 0.3rem 1.3rem; font-size: 0.85rem; color: var(--muted); }
.method .key span { display: inline-flex; align-items: center; gap: 0.45rem; }
.method dl { margin: 0.2rem 0 0; display: flex; flex-direction: column; }
.method dl > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 0.2rem 1.4rem; padding-block: 0.8rem; border-top: 1px solid var(--rule); }
.method dl > div:last-child { border-bottom: 1px solid var(--rule); }
.method dt { color: var(--ink); }
.method dd { margin: 0; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .method dl > div { grid-template-columns: 1fr; } }
.method h2 { font-size: var(--t4); color: var(--ink); }
.method p b { font-weight: 400; color: var(--ink); }
/* the hand-off: the next part set as the launch page's list sets a part, its number quiet, its title large, its dek in
   the reading face, so the reader is carried on rather than pointed; the whole list shows where the rail does not */
.next { border-top: 1px solid var(--ink); padding-top: 1.6rem; display: flex; flex-direction: column; gap: 0.45rem; }
.next .next-k { font-size: 0.95rem; color: var(--muted); }
.next .next-t { font-size: var(--t3); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.next .next-t a { color: var(--ink); text-decoration: none; }
.next .next-t a:hover { color: var(--link); }
.next .next-d { max-width: 38rem; font: 400 1.1rem/1.5 var(--text); color: var(--ink-2); }
.next .next-ask { font-size: 1rem; color: var(--muted); }
.next .next-all { margin-top: 0.6rem; font-size: 0.95rem; }
.next ol { margin: 1rem 0 0; padding-left: 1.6rem; display: flex; flex-direction: column; gap: 0.35rem; font-size: 1rem; color: var(--muted); }
.next ol li::marker { font-family: var(--display); color: var(--faint); }
.next .here { color: var(--ink); }
/* the footer, as the launch page's: the wordmark, the boilerplate and the addresses; the post's provenance beside them */
.foot { background: var(--wash-2); }
.foot .wrap { padding-block: 3rem 3.5rem; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem 4rem; font-size: 0.9rem; color: var(--muted); }
.foot .foot-l { display: flex; flex-direction: column; gap: 0.8rem; }
.foot .mark { display: block; } .foot .wordmark { display: block; height: 3.4rem; width: auto; }
.foot .boiler { max-width: 36rem; margin: 0; color: var(--ink-2); font-size: 0.95rem; line-height: 1.55; }
.foot p { margin: 0; }
/* the footer: what Exstill is and how to reach it on the left; on the right the two pages' sections, as a site map */
.foot-nav { display: grid; grid-template-columns: repeat(2, max-content); justify-content: end; align-content: start; gap: 1.5rem 4rem; }
.foot-nav ul { display: grid; gap: 0.35rem; margin: 0; padding: 0; list-style: none; }
.foot-nav .foot-h { margin: 0 0 0.6rem; font-size: 0.95rem; }
.foot-nav .foot-h a { color: var(--ink); }
.foot-nav a { color: var(--ink-2); text-decoration: none; }
.foot-nav a:hover { color: var(--link); }
@media (max-width: 760px) { .foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: start; gap: 1.5rem 2rem; } }
.addr { font-family: var(--fig); font-size: 0.85rem; color: var(--link); user-select: all; }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: 1fr; } }

/* the levels figure, as the November deck's map: how far down the side, how much is measured across. Numbers land as
   pills; the usual route is a grey line from the whole model at Architecture to one kernel at Gate, drawn cell by
   cell; ours is a violet wash down the whole-model column. On a phone the pills wrap, so the table fits the screen */
.levels { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 0.95rem; }
.levels col.lv { width: 14.5rem; }   /* the levels' column fits its words; the two map columns share the rest */
.levels th { font-weight: 400; text-align: left; vertical-align: bottom; padding: 0 0 0.4rem; }
.levels thead th { text-align: center; font-size: 0.98rem; color: var(--ink); }
.levels thead th span { display: block; font-size: 0.85rem; color: var(--muted); }
.levels thead .ax { text-align: left; color: var(--muted); font-size: 0.88rem; }
.levels thead .ax.across { text-align: center; padding-bottom: 0.15rem; }
.levels tbody th, .levels tbody td { border-bottom: 1px solid var(--rule); }
.levels tbody th { padding: 0.45rem 0.5rem 0.45rem 0; vertical-align: middle; }
.levels tbody th b { display: block; font-weight: 400; font-size: 1.1rem; color: var(--ink); }
.levels tbody th span { color: var(--muted); font-size: 0.88rem; }
.levels td { position: relative; height: 3.6rem; text-align: center; vertical-align: middle; padding: 0.3rem 0.5rem; }
.levels td.band { background: var(--wash-2); }
.levels td.band.top { border-radius: var(--r-tile) var(--r-tile) 0 0; }
.levels td.band.bottom { border-radius: 0 0 var(--r-tile) var(--r-tile); }
.levels .cell-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--rule); }
.levels .pill { position: relative; z-index: 1; display: inline-block; padding: 0.3rem 0.8rem; border-radius: 999px; border: 1.5px solid var(--mark-gpu); background: var(--paper); color: var(--ink-2); font-size: 0.9rem; line-height: 1.3; white-space: nowrap; }
.levels .nw { white-space: nowrap; }
.levels .pill.us { background: var(--mark-us); border-color: var(--mark-us); color: #fff; }
.levels .pill.gpu { background: var(--mark-gpu-strong); border-color: var(--mark-gpu-strong); color: #fff; }
.levels td.from::before, .levels td.corner::before { content: ""; position: absolute; top: 50%; border-top: 2px solid var(--mark-gpu); }
.levels td.from::before { left: 0; right: 50%; }
.levels td.corner::before { left: 50%; right: 0; }
.levels td.corner::after, .levels td.down::before, .levels td.end::before { content: ""; position: absolute; left: 50%; margin-left: -1px; border-left: 2px solid var(--mark-gpu); }
.levels td.corner::after { top: 50%; bottom: -1px; }
.levels td.down::before { top: 0; bottom: -1px; }
.levels td.end { vertical-align: top; padding-top: 0.9rem; }
.levels td.end::before { top: 0; height: calc(0.9rem - 8px); }
.levels td.end::after { content: ""; position: absolute; left: 50%; top: calc(0.9rem - 9px); transform: translateX(-50%); border: 5px solid transparent; border-top: 8px solid var(--mark-gpu); border-bottom: 0; }
@media (max-width: 560px) {
  .levels thead th { font-size: 0.88rem; } .levels thead th span { font-size: 0.78rem; }
  .levels col.lv { width: 34%; } .levels tbody th span { font-size: 0.8rem; }
  .levels td { padding: 0.3rem 0.2rem; }
  .levels .pill { white-space: normal; font-size: 0.75rem; padding: 0.25rem 0.55rem; border-radius: 0.9rem; }
}

/* part 3: the three questions as a checklist, answered for ours, under the pull quote that closes the argument (its
   rule is the checklist's top); and the labels list, each label with the mark the figures use */
.prose .ask { font-family: var(--display); }
.prose .pull:has(+ .ask) { border-bottom: 0; padding-bottom: 0.2rem; }
.ask-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 1.6rem; margin: 0; padding-bottom: 0.45rem; border-bottom: 1px solid var(--ink); font-size: 0.85rem; color: var(--muted); }
.ask-head span + span { color: var(--link); }
.ask dl { margin: 0; }
.ask dl > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 1.6rem; align-items: baseline; padding-block: 0.85rem; border-bottom: 1px solid var(--rule); }
.ask dt { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.ask dd { margin: 0; font: 400 1.12rem/1.45 var(--text); color: var(--ink-2); text-wrap: pretty; }
@media (max-width: 600px) {
  .ask-head, .ask dl > div { grid-template-columns: 1fr; row-gap: 0.3rem; }
  .ask-head span + span { display: none; }
  .ask dd::before { content: "Ours: "; font-family: var(--display); color: var(--link); }
}
.prose ul.labels { list-style: none; padding-left: 0; }
.prose ul.labels li { position: relative; padding-left: 1.5rem; }
.prose ul.labels li > .dot { position: absolute; left: 0.15rem; top: 0.62em; }

/* provenance dots and legend keys, by class, so the pages need no style attributes */
.dot.gpu { --c: var(--mark-gpu-strong); } .dot.meas { --c: var(--meas); } .dot.us { --c: var(--mark-us); }
.dot.sim { --c: var(--mark-us); background: radial-gradient(circle, var(--mark-gpu-strong) 0 1.5px, transparent 2px); } .dot.calc { --c: var(--faint); }
.legend i.model { --c: var(--cat-1); } .legend i.conv { --c: var(--cat-2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.levels-wrap { overflow-x: auto; }

/* wide screens: a sticky rail of the ten parts on the left; text aligned to it at a reading measure, the title
   block and figures using the full content width. Below 1100px the rail hides and the column centres. */
.rail { display: none; }
.rail-h { font-size: 0.9rem; color: var(--muted); text-decoration: none; }
.rail-h:hover { color: var(--link); }
.rail ol { margin: 0; padding-left: 1.7rem; display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.92rem; line-height: 1.35; text-wrap: pretty; }
.rail li::marker { color: var(--faint); font-size: 0.85rem; }
.rail a { color: var(--ink-2); text-decoration: none; }
.rail a:hover { color: var(--link); }
.rail .here { color: var(--link); }
.rail .here::marker { color: var(--violet); }
.rail .later { color: var(--faint); }
@media (min-width: 1100px) {
  .layout { display: grid; grid-template-columns: 11rem minmax(0, 1fr); column-gap: 3rem; }
  .rail { display: flex; flex-direction: column; gap: 0.9rem; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 5.5rem); align-self: start; padding-top: 4.9rem; max-height: calc(100vh - 6rem); overflow-y: auto; }
  .content .col { margin: 0; max-width: 42rem; }
  .content .wide { margin: 0; max-width: 60rem; }
  .content .head { max-width: 52rem; }
}

/* single charts stop at a width where their type reads at its set size; pairs fill their halves */
figure.wide > .chart { max-width: 46rem; }
@media (min-width: 1100px) { .next ol { display: none; } }

/* printed: the rail and sticky header off, figures and the key figures kept whole on a page */
@media print { .rail { display: none; } .top { position: static; } figure.wide, .keynums, .method, .next { break-inside: avoid; } details.numbers { display: none; } }

/* part 4: the search cloud, the levels-against-breadth figure and the engine picture */
:root { --cloud-in: #cfc8da; --cloud-out: #ebe7f0; --front-soft: #c9a9f5; }
.c-cloud-in { stroke: var(--cloud-in); stroke-width: 3.2; stroke-linecap: round; fill: none; }
.c-cloud-out { stroke: var(--cloud-out); stroke-width: 3.2; stroke-linecap: round; fill: none; }
.c-bar { stroke: var(--ink-2); stroke-width: 1.5; stroke-dasharray: 7 6; fill: none; }
.c-front { fill: var(--mark-us); }
.c-front-soft { fill: var(--front-soft); }
.c-ring { fill: none; stroke: var(--mark-amber); stroke-width: 3; }
.c-us-big { fill: var(--paper); stroke: var(--mark-us); stroke-width: 3; }
.legend i.usual { --c: var(--mark-amber); height: 3px; border-radius: 2px; }
.legend i.front { --c: var(--mark-us); border-radius: 50%; }
.legend i.ours { --c: transparent; border: 2.5px solid var(--mark-us); border-radius: 50%; }
.legend i.cin { --c: var(--cloud-in); border-radius: 50%; }
.legend i.cout { --c: var(--cloud-out); border-radius: 50%; }
.legend i.ring { --c: transparent; border: 2.5px solid var(--mark-amber); border-radius: 50%; }
.engine-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.6rem; align-items: center; }
.engine-row img { display: block; width: 255px; max-width: 100%; height: auto; border-radius: var(--r-tile); background: #15101c; }
.engine-cap { display: flex; flex-direction: column; gap: 0.6rem; }
@media (max-width: 560px) { .engine-row { grid-template-columns: 1fr; justify-items: center; } }
.c-halo { paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }

/* a name kept on one line */
.nw { white-space: nowrap; }

/* part 5: one architecture taking four jobs in turn (the requests on the left, the one architecture in the middle
   with the weights it carries, the output on the right; a phone stacks them), the results tables, and code */
.prose h3 { font: 400 1.5rem/1.2 var(--display); margin-top: 2rem; letter-spacing: -0.01em; color: var(--ink); }
.prose code, .prose pre { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.prose p code { font-size: 0.85em; padding: 0.05em 0.3em; border-radius: 3px; background: var(--wash); }
.prose pre.code { margin: 0; padding: 1rem 1.1rem; overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r-frame); background: var(--wash); font-size: 0.8rem; line-height: 1.55; color: var(--ink); tab-size: 4; }
.prose pre.code.out { background: var(--paper); color: var(--ink-2); white-space: pre-wrap; }
.prose .todo { color: var(--band-ink); }
.res table { width: 100%; }
.res th span { display: block; font-size: 0.78rem; }
.res th.n { text-align: right; }
.res thead th.n:last-child { font-family: var(--display); }
.res td { border-bottom: 1px solid var(--grid); }
.res tr.grp th { padding-top: 1.1rem; color: var(--ink); font-size: 0.95rem; border-bottom: 1px solid var(--rule); }
.res tr.sum td { border-top: 1px solid var(--ink); font-weight: 500; }
.res td.n { color: var(--ink); }
.res .bn { display: inline-block; min-width: 3.4rem; font-family: var(--fig); color: var(--muted); font-variant-numeric: tabular-nums; }
.res td:last-child { color: var(--muted); padding-right: 0; }
.fam-stage { display: grid; grid-template-columns: minmax(0, 1.25fr) 2.2rem minmax(0, 1fr) 2.2rem minmax(0, 1.25fr); align-items: center; gap: 0; padding-block: 0.6rem; }
.fam-in { display: flex; flex-direction: column; gap: 0.55rem; }
.fam-req { display: flex; flex-direction: column; gap: 0.2rem; text-align: left; padding: 0.6rem 0.8rem; border: 1px solid var(--rule); border-radius: var(--r-tile); background: var(--paper); font: inherit; color: var(--muted); cursor: pointer; transition: border-color .25s, background .25s, color .25s; }
.fam-req:hover { border-color: var(--violet); }
.fam-req.on { border-color: var(--mark-us); background: var(--wash); color: var(--ink); }
.fam-role { font-size: 0.8rem; color: var(--faint); }
.fam-req.on .fam-role { color: var(--link); }
.fam-txt { font: 400 0.92rem/1.35 var(--text); }
.fam-wire { position: relative; height: 2px; background: var(--rule); }
.fam-wire i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--mark-us); opacity: 0; }
.fam.go .fam-wire i { animation: fam-flow 1.1s ease-in-out both; }
.fam.go .fam-wire + .fam-core + .fam-wire i { animation-delay: .9s; }
@keyframes fam-flow { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
.fam-box { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; padding: 1.3rem 0.8rem; text-align: center; border: 2px solid var(--mark-us); border-radius: var(--r-frame); background: linear-gradient(180deg, var(--wash) 0%, var(--paper) 100%); }
.fam-chip { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; text-align: center; }
.fam-chip .fam-name { margin: 0; font: 400 1.12rem/1.3 var(--display); color: var(--link); }
.fam-chip .fam-name em { display: inline-block; font-style: italic; color: var(--violet); }
.fam-chip .fam-name em.reel { animation: fam-reel 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes fam-reel { from { transform: translateY(0.55em); opacity: 0; } }
.fam-cap { margin: 0 0 0.5rem; font-size: 0.8rem; line-height: 1.35; color: var(--muted); }
.fam-die { display: block; width: 100%; max-width: 15rem; height: auto; }
/* each time a role's weights load, a slight violet glow around the chip that fades within a second; none under reduced motion */
.fam-die.flash { animation: fam-flash 1s cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes fam-flash { 0% { filter: drop-shadow(0 0 0 rgba(155, 74, 237, 0)); } 30% { filter: drop-shadow(0 0 9px rgba(155, 74, 237, 0.3)); } 100% { filter: drop-shadow(0 0 0 rgba(155, 74, 237, 0)); } }
@media (prefers-reduced-motion: reduce) { .fam-die.flash { animation: none; } }
.fam-diebox { fill: var(--paper); stroke: var(--ink); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.fam-fp1 { fill: #f6f0fd; } .fam-fp2 { fill: #efe4fc; } .fam-fp3 { fill: #e8d9fa; } .fam-fp4 { fill: #e1cdf8; } .fam-fp5 { fill: #dac2f7; }
.fam-slot { fill: var(--paper); stroke: var(--violet); stroke-width: 1.2; }
.fam-slot-text { font: 400 13px var(--display); fill: var(--link); }
.fam-name { font-size: 1.15rem; color: var(--ink); }
.fam-sub { font-size: 0.8rem; color: var(--muted); }
.fam-w { margin-top: 0.5rem; display: flex; flex-direction: column; align-items: center; gap: 0.2rem; }
.fam-wl { font-size: 0.75rem; color: var(--faint); }
.fam-w b { display: none; padding: 0.25rem 0.75rem; border-radius: 999px; background: var(--mark-us); color: var(--paper); font: 400 0.85rem/1.3 var(--display); }
.fam-out { min-height: 9.5rem; display: grid; }
.fam-o { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 0.45rem; align-self: center; padding: 0.8rem 0.9rem; border-left: 2px solid var(--mark-us); opacity: 0; visibility: hidden; transition: opacity .35s .9s, visibility 0s 1.25s; }
.fam-ol { font-size: 0.8rem; color: var(--faint); }
.fam-o p { font: 400 0.95rem/1.4 var(--text); color: var(--ink); }
.fam-o code { font: 400 0.85rem/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--ink); }
.fam-toks { display: flex; flex-wrap: wrap; gap: 0.2rem; }
.fam-toks i { width: 0.95rem; height: 0.95rem; border-radius: 2px; border: 1.5px solid var(--mark-us); background: var(--wash-2); }
.fam[data-on="guard"] .fam-w b[data-for="guard"], .fam[data-on="finance"] .fam-w b[data-for="finance"], .fam[data-on="draft"] .fam-w b[data-for="draft"], .fam[data-on="agent"] .fam-w b[data-for="agent"] { display: inline-block; }
.fam[data-on="guard"] .fam-o[data-for="guard"], .fam[data-on="finance"] .fam-o[data-for="finance"], .fam[data-on="draft"] .fam-o[data-for="draft"], .fam[data-on="agent"] .fam-o[data-for="agent"] { opacity: 1; visibility: visible; transition: opacity .35s .9s, visibility 0s .9s; }
@media (max-width: 760px) {
  .fam-stage { grid-template-columns: minmax(0, 1fr); row-gap: 0.4rem; }
  .fam-wire { width: 2px; height: 1.4rem; justify-self: center; }
  .fam-wire i { left: -3px; top: 0; }
  .fam-out { min-height: 8.5rem; }
  @keyframes fam-flow { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 8px); opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) { .fam-chip .fam-name em.reel { animation: none; } .fam.go .fam-wire i { animation: none; } .fam-o, .fam[data-on] .fam-o { transition: none; } .fam-req { transition: none; } }
/* the reading column takes the article's width (its auto margins would otherwise size it to its content), so a
   code block scrolls inside it rather than widening the page */
.article > .prose { width: 100%; }
@media (max-width: 600px) { .res .bn { display: block; } .res td:last-child { font-size: 0.8rem; line-height: 1.3; } .res td, .tbl th { padding-right: 0.8rem; } }
/* part 5's references: a numbered list in the method's type */
.method .refs { margin: 0; padding-left: 1.4rem; display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.92rem; }
.method .refs li::marker { color: var(--faint); }
/* part 5: the model's name, part by part, each term large beside what it means */
.prose dl.name { margin: 0.3rem 0; display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.prose dl.name > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.3rem 1.2rem; align-items: baseline; padding-block: 0.8rem; border-bottom: 1px solid var(--rule); }
.prose dl.name dt { font: 400 1.6rem/1.1 var(--display); color: var(--violet); letter-spacing: -0.02em; }
.prose dl.name dd { margin: 0; font-size: 1.1rem; line-height: 1.55; }
@media (max-width: 560px) { .prose dl.name > div { grid-template-columns: 1fr; } }
/* part 5's results: each job's average in ink, the benchmarks behind it indented and quieter, the reference in grey */
.res tr.grp th span { margin-left: 0.6rem; font-size: 0.82rem; color: var(--muted); }
.res tr.avg td { color: var(--ink); font-weight: 500; }
.res tr.sub td { font-size: 0.82rem; color: var(--ink-2); padding-block: 0.22rem; }
.res tr.sub td:first-child { padding-left: 1.1rem; }
.res tr.avg td.ref, .res tr.sub td.ref { color: var(--muted); }
/* the strongest baseline's name heads its own column, on the job's row */
.res tr.grp th.bl { text-align: right; font-family: var(--display); font-size: 0.85rem; color: var(--muted); font-weight: 400; vertical-align: bottom; padding-right: 0; white-space: nowrap; }
/* small print under a table: how a simulated figure is modelled */
.prov.fine { max-width: 46rem; margin-top: 0.3rem; font-size: 0.8rem; line-height: 1.55; }
.prov.fine b { font-weight: 500; color: var(--ink-2); }

/* part 6: the speculative-decoding animation, from the deck's "How drafting works" slide at the page's scale (the
   drafting chip on the left, the GPU on the right, the lane between them; stacked on a phone) */
.sdfig .sd { display: grid; gap: 1rem; }
.sd-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.sd-steps > div { border-top: 2px solid var(--rule); padding-top: 0.5rem; display: grid; gap: 0.15rem; align-content: start; transition: border-color 0.3s; }
.sd-steps .n { font: 400 0.75rem var(--fig); color: var(--faint); transition: color 0.3s; }
.sd-steps h4 { margin: 0; font: 400 1.05rem/1.2 var(--display); color: var(--muted); transition: color 0.3s; }
.sd-steps p { font: 400 0.82rem/1.4 var(--display); color: var(--faint); transition: color 0.3s; }
.sd-steps p i { font-style: italic; }
.sd-steps > div.on { border-color: var(--violet); }
.sd-steps > div.on .n { color: var(--violet); }
.sd-steps > div.on h4 { color: var(--ink); }
.sd-steps > div.on p { color: var(--ink-2); }
.sd-stage { display: grid; grid-template-columns: 11rem minmax(0, 1fr) 11rem; align-items: center; gap: 0.6rem; min-height: 11rem; padding: 0.9rem; border-radius: var(--r-frame); background: var(--wash); }
.sd-card { display: grid; align-content: space-between; gap: 0.5rem; min-height: 9rem; padding: 0.7rem 0.8rem; border: 1px solid var(--rule); border-radius: var(--r-tile); background: var(--paper); }
.sd-card .k { font-size: 0.8rem; color: var(--muted); }
.sd-core { padding: 0.5rem 0.65rem; border-radius: 4px; background: color-mix(in srgb, var(--violet) 12%, white); transition: box-shadow 0.3s; }
.sd-card.gpu .sd-core { background: color-mix(in srgb, var(--mark-gpu) 18%, white); }
.sd-core b { display: block; font-weight: 400; font-size: 0.95rem; color: var(--ink); }
.sd-core span { font-size: 0.78rem; color: var(--muted); }
.sd-card .st { min-height: 1.2rem; font-size: 0.8rem; color: var(--link); }
.sd-card.gpu .st { color: var(--mark-gpu-strong); }
.sd-card.busy .sd-core { box-shadow: 0 0 0 2px var(--front-soft); }
.sd-card.gpu.busy .sd-core { box-shadow: 0 0 0 2px var(--mark-gpu); }
.sd-mid { position: relative; height: 9rem; overflow: hidden; }
.sd-cap { position: absolute; left: 0; right: 0; top: 0.6rem; text-align: center; font-size: 0.85rem; color: var(--muted); }
.sd-lane { position: absolute; left: 0.5rem; right: 0.5rem; top: 3.2rem; height: 4rem; }
.sd-row { position: absolute; left: 0; top: 0; display: flex; gap: 0.35rem; transition: transform 0.7s ease; }
.sd-tok { position: relative; padding: 0.3rem 0.5rem; border-radius: 5px; background: var(--violet); color: #fff; white-space: pre; font: 400 0.85rem/1.2 ui-monospace, "SF Mono", Menlo, monospace; animation: sd-in 0.25s ease both; }
@keyframes sd-in { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.sd-tok.chk { box-shadow: 0 0 0 2px var(--wash), 0 0 0 3.5px var(--mark-gpu); }
.sd-tok.miss { background: var(--paper); color: var(--mark-amber); box-shadow: inset 0 0 0 1.5px var(--amber); text-decoration: line-through; text-decoration-color: var(--amber); }
.sd-tok.gone { opacity: 0.25; }
.sd-tok.own { background: var(--ink); color: #fff; }
.sd-tok i { position: absolute; left: 50%; top: calc(100% + 4px); transform: translateX(-50%); font: 0.8rem/1 var(--fig); font-style: normal; opacity: 0; transition: opacity 0.2s calc(var(--i, 0) * 90ms); }
.sd-tok.ok i { opacity: 1; color: var(--violet); }
.sd-tok.miss i { opacity: 1; color: var(--amber); text-decoration: none; }
.sd-tok.own i { opacity: 1; color: var(--ink); font-family: var(--display); font-size: 0.72rem; white-space: nowrap; }
.sd-ans { display: grid; grid-template-columns: 6rem minmax(0, 1fr) auto; align-items: center; gap: 0.4rem 1rem; padding: 0.7rem 0.9rem; border: 1px solid var(--rule); border-radius: var(--r-tile); }
.sd-ans .lab { font-size: 0.8rem; color: var(--faint); }
.sd-prompt { grid-column: 2 / 4; font-size: 0.9rem; color: var(--ink-2); }
.sd-prompt .src { margin-left: 0.6rem; font-size: 0.75rem; color: var(--faint); }
.sd-text { min-height: 1.5rem; white-space: pre; overflow: hidden; font: 0.92rem/1.5 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink); }
.sd-text .d { color: var(--violet); }
.sd-text .t { text-decoration: underline; text-decoration-color: var(--mark-gpu); text-underline-offset: 4px; }
.sd-text .fresh { animation: sd-fresh 0.9s ease; }
@keyframes sd-fresh { from { background: var(--wash-2); } to { background: transparent; } }
.sd-count { font-size: 0.8rem; color: var(--muted); text-align: right; white-space: nowrap; }
.sd-count b { font-family: var(--fig); font-weight: 400; color: var(--violet); }
.sd-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1.2rem; }
.sd-foot .ctl { display: flex; gap: 0.4rem; }
.sd-btn { font: 400 0.82rem var(--display); color: var(--ink-2); background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; padding: 0.35rem 0.8rem; cursor: pointer; }
.sd-btn:hover { border-color: var(--violet); color: var(--link); }
.sd-key { display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; font-size: 0.8rem; color: var(--muted); }
.sd-key i { display: inline-block; width: 0.7rem; height: 0.7rem; border-radius: 3px; margin-right: 0.4rem; vertical-align: -1px; }
.sd-key .k1 { background: var(--violet); } .sd-key .k2 { background: var(--ink); }
.sd-key .k3 { box-shadow: inset 0 0 0 1.5px var(--amber); } .sd-key .k4 { background: var(--violet); opacity: 0.25; }
@media (max-width: 760px) {
  .sd-steps { grid-template-columns: repeat(2, 1fr); }
  .sd-stage { grid-template-columns: 1fr; }
  .sd-card { min-height: 0; }
  .sd-mid { height: 7.5rem; }
  .sd-ans { grid-template-columns: 1fr; }
  .sd-prompt { grid-column: auto; }
  .sd-count { text-align: left; }
}
/* Figure 1 on a phone: the grids may shrink below their content, the pass counter wraps, and on the narrowest
   screens the tokens tighten so a round of seven fits the lane */
@media (max-width: 760px) {
  .sd-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sd-stage, .sd-ans { grid-template-columns: minmax(0, 1fr); }
  .sd-count { white-space: normal; }
}
@media (max-width: 420px) {
  .sd-row { gap: 0.22rem; }
  .sd-tok { padding: 0.26rem 0.36rem; font-size: 0.76rem; }
  .sd-stage { padding: 0.7rem; }
  .sd-mid { height: 8.6rem; }
  .sd-cap { font-size: 0.8rem; padding-inline: 0.4rem; }
  .sd-lane { top: 4.2rem; }
}
@media (prefers-reduced-motion: reduce) { .sd-row, .sd-tok, .sd-tok i { transition: none; animation: none; } }
/* part 6's tables: every column is data, so the last one is in ink like the others */
.res.plain td:last-child, .res.plain tr.avg td:last-child { color: var(--ink); }
/* part 6's plain tables: every numeric header in the figure face (part 5's text-only last column doesn't apply), and
   a group heading that spans the benchmark columns */
.res.plain thead th.n:last-child { font-family: var(--fig); }
.res.plain tr.gh th { text-align: center; padding-bottom: 0.15rem; border-bottom: 1px solid var(--rule); color: var(--ink-2); font-size: 0.85rem; }
.res.plain tr.gh th:first-child { border-bottom: 0; }
.res.plain tr.gh + tr th { border-bottom: 1px solid var(--rule); padding-top: 0.45rem; }
.prose p.tcap { margin-bottom: -0.55rem; font: 400 var(--t4)/1.3 var(--display); color: var(--ink); }

/* part 6's Figure 2, off the shelf or co-designed: the deck's chart, its marks hollow because the speedups are
   simulated (the page's rule), Qwen3-1.7B in graphite and ours in violet; its table is for screen readers once drawn */
.cd { position: relative; width: 100%; }
.cd svg { display: block; width: 100%; height: auto; overflow: visible; }
.cd.drawn .cd-tbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cd-all { fill: var(--wash); }
.cd-grid line { stroke: var(--grid); stroke-width: 1.5; }
.cd-tick { fill: var(--faint); font: 400 15px var(--fig); }
.cd-hd { fill: var(--muted); font: 400 18px var(--display); }
.cd-lg { fill: var(--ink-2); font: 400 18px var(--display); }
.cd-lab { fill: var(--ink-2); font: 400 20px var(--display); }
.cd-lab.all { fill: var(--ink); }
.cd-v { font: 400 17px var(--fig); fill: var(--ink-2); }
.cd-v.all { font-size: 20px; }
.cd-v.q, .cd-v .q { fill: var(--mark-gpu-strong); }
.cd-v.o, .cd-v .o { fill: var(--mark-us); }
.cd-link { stroke: color-mix(in srgb, var(--mark-us) 38%, white); stroke-width: 4; stroke-linecap: round; }
.cd-q { fill: var(--paper); stroke: var(--mark-gpu); stroke-width: 3; }
.cd-o { fill: var(--paper); stroke: var(--mark-us); stroke-width: 3.5; }
.cd svg.n .cd-tick { font-size: 18px; }
.cd svg.n .cd-hd, .cd svg.n .cd-lg { font-size: 20px; }
.cd svg.n .cd-lab { font-size: 23px; }
.cd svg.n .cd-v { font-size: 20px; }
.cd svg.n .cd-v.all { font-size: 22px; }

/* part 6's Figure 3, the deck's drafting sandbox at the post's scale: the race on the left, the target's figures on the
   right; under 900px the figures go below, under 640px the lanes stack */
.sbx { display: grid; grid-template-columns: minmax(0, 1fr) 15.5rem; gap: 1rem 1.4rem; width: 100%; }
.sbx-ctl { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.6rem; }
.sbx-ctl .replay { margin-left: auto; font-size: 0.88rem; padding: 0.42rem 0.9rem; }
.sbx-seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); }
.sbx-seg button { border: 0; background: none; border-radius: 999px; padding: 0.36rem 0.72rem; font: 400 0.88rem/1.1 var(--display); color: var(--muted); cursor: pointer; white-space: nowrap; }
.sbx-seg button:hover { color: var(--link); }
.sbx-seg button[aria-pressed="true"] { background: var(--wash-2); color: var(--ink); }
.sbx-race { display: grid; gap: 0.9rem; align-content: start; min-width: 0; }
.sbx-prompt { padding: 0.7rem 1rem; border: 1px solid var(--wash-2); border-radius: var(--r-frame); background: var(--wash); }
.sbx-prompt .lab { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.2rem 1rem; font: 400 0.82rem/1.35 var(--display); color: var(--muted); }
.sbx-prompt .eff b { font-weight: 400; color: var(--link); }
.sbx-prompt .tx { margin-top: 0.3rem; font: 400 0.9rem/1.45 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--ink); }
.sbx-lanes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.sbx-lane { display: grid; gap: 0.35rem; min-width: 0; padding: 0.8rem 1rem 0.9rem; border: 1px solid var(--rule); border-radius: var(--r-frame); background: var(--paper); }
.sbx-lane.ours { border-color: color-mix(in srgb, var(--mark-us) 55%, white); }
.sbx-lane .hd { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.2rem 0.6rem; }
.sbx-lane .who { font: 400 1.1rem/1.2 var(--display); color: var(--ink); }
.sbx-lane .done, .sbx-lane .sub { font-size: 0.86rem; color: var(--muted); }
.sbx-lane .sub { min-height: 1.3em; }
.sbx-lane.ours .who, .sbx-lane.ours .done, .sbx-lane.ours .sub { color: var(--link); }
.sbx-lane .stats { display: flex; flex-wrap: wrap; gap: 0.2rem 0.75rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--rule); font-size: 0.82rem; color: var(--muted); }
.sbx-lane .stats b { font: 400 1.02rem var(--fig); color: var(--ink); }
.sbx-lane .code { height: 15rem; overflow-y: auto; overscroll-behavior: contain; padding-right: 0.4rem; font: 400 0.74rem/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink-2); scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--mark-us) 40%, white) transparent; }
.sbx-lane .code:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.sbx-lane .code .think { font-style: italic; color: var(--faint); }
.sbx-lane .code .think + .ans::before { content: "\A\A"; }
.sbx-lane .code .wait { color: var(--faint); }
.sbx-lane .prog { height: 4px; border-radius: 2px; background: var(--grid); overflow: hidden; }
.sbx-lane .prog i { display: block; height: 100%; width: 0; background: var(--mark-gpu); }
.sbx-lane.ours .prog i { background: var(--mark-us); }
.sbx-figs { display: grid; gap: 0.9rem; align-content: start; }
.sbx-card { display: grid; gap: 0.2rem; align-content: start; padding: 0.9rem 1.1rem; border: 1px solid var(--rule); border-radius: var(--r-frame); background: var(--paper); }
.sbx-card .big { font: 400 3.6rem/0.95 var(--fig); letter-spacing: -0.02em; color: var(--ink); }
.sbx-card .unit { margin-top: 0.3rem; font-size: 1.05rem; color: var(--ink-2); }
.sbx-card .small, .sbx-card .k { font-size: 0.86rem; line-height: 1.4; color: var(--muted); }
.sbx-card .row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.6rem; font-family: var(--fig); }
.sbx-card .row .a { font-size: 1.3rem; color: var(--mark-gpu-strong); }
.sbx-card .row .ar { font-family: var(--display); color: var(--faint); }
.sbx-card .row .b { font-size: 1.9rem; color: var(--mark-us); }
.sbx-card .r { font-size: 0.92rem; color: var(--link); text-align: right; }
.sbx-key { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; font-size: 0.82rem; color: var(--muted); }
.sbx-key .dot { margin-right: 0.4rem; vertical-align: 0.05em; }
@media (max-width: 900px) {
  .sbx { grid-template-columns: minmax(0, 1fr); }
  .sbx-figs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sbx-key { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .sbx-lanes, .sbx-figs { grid-template-columns: minmax(0, 1fr); }
  .sbx-seg[data-sbx="models"] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; border-radius: 16px; }
  .sbx-seg[data-sbx="models"] button { text-align: center; }
  .sbx-seg[data-sbx="models"] button:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .sbx-lane .code { height: 11rem; }
  .sbx-ctl .replay { margin-left: 0; }
}

/* part 6's Figure 4, the deck's "The gain holds": three panels, one per target, stacked under 760px. Ours is hollow
   violet (simulated), the GPU drafters filled graphite, derived points drawn like published ones; the table is for
   screen readers */
.hold-leg { gap: 0.3rem 1.1rem; font-size: 0.85rem; }
.hold-leg span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hold-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem 1.6rem; }
.hold-p { display: grid; gap: 0.1rem; min-width: 0; }
.hold-h { font: 400 1.02rem/1.25 var(--display); color: var(--ink); }
.hold-h span { color: var(--muted); font-size: 0.9rem; margin-left: 0.2rem; }
.hold-a { font: 400 0.78rem/1.3 var(--fig); color: var(--muted); }
.hold-p svg { display: block; width: 100%; height: auto; overflow: visible; margin-top: 0.3rem; }
.hold-tbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hd-grid { stroke: var(--grid); stroke-width: 1.5; }
.hd-one { stroke: var(--ink-2); stroke-width: 1.5; stroke-dasharray: 6 5; fill: none; }
.hd-tick { fill: var(--faint); font: 400 19px var(--fig); }
.hd-gline { stroke: var(--mark-gpu); stroke-width: 2; fill: none; }
.hd-gpu { fill: var(--mark-gpu-strong); stroke: var(--paper); stroke-width: 1.5; }
.hd-plus { stroke: var(--mark-gpu-strong); stroke-width: 3; stroke-linecap: round; fill: none; }
.hd-us-line { stroke: var(--mark-us); stroke-width: 3; fill: none; stroke-linejoin: round; }
.hd-us { fill: var(--paper); stroke: var(--mark-us); stroke-width: 3; }
.hd-usv { fill: var(--link); font: 400 21px var(--fig); }
@media (max-width: 760px) { .hold-grid { grid-template-columns: minmax(0, 1fr); } .hold-p svg { max-width: 30rem; } }

/* part 7's Figure 1, the deck's guard animation: the message, its trip to the guard on the chip, the verdict and the
   two timers, on a violet wash; under 640px each piece takes its own row. Then the deck's speed table */
.gh-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 4.5rem 15rem; grid-template-areas: "src lane guard" "out out out" "tim tim tim" "dots dots dots";
  gap: 0.9rem 0; padding: 1.1rem; border-radius: var(--r-frame); overflow: hidden;
  background: radial-gradient(60% 70% at 12% 10%, color-mix(in srgb, var(--violet) 20%, transparent), transparent 70%),
              radial-gradient(50% 60% at 92% 25%, color-mix(in srgb, var(--amber) 14%, transparent), transparent 70%),
              radial-gradient(70% 60% at 55% 110%, color-mix(in srgb, var(--violet) 16%, transparent), transparent 70%), var(--wash); }
.gh-src, .gh-guard, .gh-out { background: rgba(255, 255, 255, 0.88); border: 1px solid rgba(255, 255, 255, 0.95); border-radius: var(--r-frame); box-shadow: 0 14px 30px -22px rgba(60, 30, 110, 0.45); }
.gh-src { grid-area: src; height: 12.5rem; padding: 0.85rem 1rem; display: grid; gap: 0.35rem; align-content: start; min-width: 0; }
.gh-kick { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--muted); }
.gh-icon { width: 1.3rem; height: 1.3rem; display: grid; place-items: center; border-radius: var(--r-tile); background: var(--wash-2); color: var(--link); font-size: 0.8rem; letter-spacing: 0; }
.gh-who { font-size: 0.82rem; color: var(--muted); }
.gh-msg { font: 400 0.98rem/1.45 var(--text); color: var(--ink); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.gh-lane { grid-area: lane; position: relative; align-self: center; height: 2px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--violet) 45%, white), transparent); }
.gh-lane i { position: absolute; top: -5px; left: calc(var(--p, 0) * 100%); width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 12px var(--violet); opacity: 0; }
.gh-guard { grid-area: guard; height: 12.5rem; padding: 0.85rem 1rem; display: grid; gap: 0.6rem; align-content: start; }
.gh-logo { color: var(--ink); letter-spacing: 0.06em; }
.gh-core { padding: 0.75rem 0.85rem; border-radius: var(--r-tile); background: color-mix(in srgb, var(--violet) 12%, white); display: grid; gap: 0.15rem; transition: box-shadow 0.2s; }
.gh-core b { font-weight: 400; font-size: 0.98rem; color: var(--ink); }
.gh-core span { font-size: 0.82rem; color: var(--muted); }
.gh-core.busy { box-shadow: 0 0 0 3px color-mix(in srgb, var(--violet) 30%, white), 0 0 24px color-mix(in srgb, var(--violet) 45%, transparent); }
.gh-outcome { justify-self: start; padding: 0.25rem 0.85rem; border-radius: 999px; font-size: 0.95rem; color: #fff; opacity: 0; }
.gh-outcome.safe, .gx-verdict .badge.safe { background: var(--meas); } .gh-outcome.review, .gx-verdict .badge.review { background: #b86a1d; } .gh-outcome.block, .gx-verdict .badge.block { background: #b4362f; }
.gh-out { grid-area: out; min-height: 3.6rem; padding: 0.5rem 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 1rem; }
.gh-out .lab { font-size: 0.82rem; color: var(--muted); }
.gh-verdict { flex: 1 1 18rem; min-height: 1.4em; font: 400 0.86rem/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--link); }
.gh-verdict .nl { display: inline-block; width: 1rem; }
.gh-sure { font-size: 0.82rem; color: var(--muted); opacity: 0; } .gh-sure b { font-family: var(--fig); font-weight: 400; color: var(--ink); }
.gh-timers { grid-area: tim; display: grid; gap: 0.5rem; }
.gh-t { display: grid; grid-template-columns: 7rem minmax(0, 1fr) 4.6rem; gap: 0.8rem; align-items: center; }
.gh-t .lbl { font-size: 0.9rem; color: var(--ink-2); }
.gh-t .tb { height: 9px; border-radius: 5px; background: rgba(255, 255, 255, 0.75); overflow: hidden; }
.gh-t .tb i { display: block; height: 100%; width: 0; background: var(--mark-gpu-strong); border-radius: 5px; }
.gh-t.us .tb i { background: var(--mark-us); }
.gh-t .ms { font: 400 0.9rem var(--fig); color: var(--muted); text-align: right; }
.gh-t.done .ms { color: var(--ink); } .gh-t.us.done .ms { color: var(--link); }
.gh-dots { grid-area: dots; justify-self: end; display: flex; gap: 0.35rem; }
.gh-dots i { width: 7px; height: 7px; border-radius: 50%; opacity: 0.45; transition: transform 0.2s, opacity 0.2s; }
.gh-dots i.safe { background: var(--meas); } .gh-dots i.review { background: var(--amber); } .gh-dots i.block { background: #b4362f; }
.gh-dots i.on { opacity: 1; transform: scale(1.5); }
@media (max-width: 640px) {
  .gh-stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "src" "lane" "guard" "out" "tim" "dots"; gap: 0.5rem; padding: 0.8rem; }
  .gh-src { height: 10.5rem; }
  .gh-guard { height: auto; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .gh-guard .gh-kick { grid-column: 1 / -1; }
  .gh-lane { width: 2px; height: 1.6rem; justify-self: center; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--violet) 45%, white), transparent); }
  .gh-lane i { left: -5px; top: calc(var(--p, 0) * 100%); margin: -6px 0 0; }
  .gh-t { grid-template-columns: 6rem minmax(0, 1fr) 4.2rem; gap: 0.5rem; }
  .gh-dots { justify-self: start; }
}
.gh-speed { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.gh-speed th { font-weight: 400; color: var(--muted); text-align: right; padding: 0.3rem 0.6rem; font-size: 0.85rem; }
.gh-speed td { padding: 0.4rem 0.6rem; border-top: 1px solid var(--rule); text-align: right; font-family: var(--fig); color: var(--ink-2); white-space: nowrap; }
.gh-speed td:first-child, .gh-speed th:first-child { text-align: left; font-family: var(--display); color: var(--ink-2); white-space: normal; padding-left: 0; }
.gh-speed .us { color: var(--link); } .gh-speed td.xr { color: var(--ink); font-size: 1.05rem; }
.gh-speed td.xr .x { width: 0.5em; height: 0.5em; }
@media (max-width: 560px) { .gh-speed { font-size: 0.86rem; } .gh-speed td, .gh-speed th { padding-inline: 0.35rem; } }

/* part 7's Figure 2, the deck's screening sandbox: the controls, then the conversation as it streams beside the guard;
   stacked under 760px */
.gx { display: grid; gap: 0.8rem; }
.gx-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.6rem; }
.gx-ctl .k { font-size: 0.85rem; color: var(--muted); }
.gx-ctl .sbx-seg + .k { margin-left: 0.4rem; }
.gx-ctl .sbx-seg button { display: inline-flex; align-items: center; gap: 3px; }
.gx-ctl [data-gx="play"] { margin-left: auto; font-size: 0.88rem; padding: 0.42rem 0.9rem; min-width: 5.2rem; }
.gx-ctl .vd { width: 7px; height: 7px; border-radius: 50%; }
.gx-ctl .vd:last-of-type { margin-right: 4px; }
.gx-ctl .vd.safe { background: var(--meas); } .gx-ctl .vd.review { background: var(--amber); } .gx-ctl .vd.block { background: #b4362f; }
.gx-main { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 1rem; }
.gx-convo { min-width: 0; border: 1px solid var(--rule); border-radius: var(--r-frame); padding: 0.7rem 1rem; display: grid; gap: 0.4rem; align-content: start; }
.gx-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.2rem 0.8rem; font-size: 0.85rem; color: var(--muted); }
.gx-head .n { font: 400 0.78rem var(--fig); }
.gx-text { height: 20rem; overflow-y: auto; overscroll-behavior: contain; padding-right: 0.4rem; font: 400 0.74rem/1.55 ui-monospace, "SF Mono", Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink-2); scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--mark-us) 40%, white) transparent; }
.gx-text:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.gx-text .msg { display: block; margin: 0 0 0.5rem; padding: 0.45rem 0.7rem; border-radius: var(--r-tile); background: var(--wash); font: 400 0.92rem/1.45 var(--text); white-space: normal; color: var(--ink); }
.gx-text .msg b { font: 400 0.8rem var(--display); color: var(--muted); margin-right: 0.45rem; }
.gx-text .msg.on { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--violet); }
/* the user's prompt stays at the top of the box while the answer streams and scrolls under it */
.gx-text .msg.pin { position: sticky; top: 0; z-index: 1; box-shadow: 0 6px 10px -6px rgba(40, 20, 70, 0.18); }
.gx-text .msg.pin.on { box-shadow: inset 0 0 0 1.5px var(--violet), 0 6px 10px -6px rgba(40, 20, 70, 0.18); }
.gx-text .think { font-style: italic; color: var(--faint); }
.gx-text .mark { display: inline-block; margin: 2px 4px; padding: 0 6px; border-radius: var(--r-tile); font: 400 0.7rem/1.6 var(--fig); color: #fff; background: var(--meas); font-style: normal; }
.gx-text .mark.review { background: #b86a1d; } .gx-text .mark.block { background: #b4362f; }
.gx-text .stopped { display: block; margin-top: 0.6rem; padding: 0.45rem 0.7rem; border-radius: var(--r-tile); background: #fbeceb; color: #8f2a24; font: 400 0.9rem var(--display); white-space: normal; }
.gx-guard { min-width: 0; border: 1px solid color-mix(in srgb, var(--mark-us) 55%, white); border-radius: var(--r-frame); padding: 0.8rem 1rem; display: grid; gap: 0.55rem; align-content: start; background: var(--paper); transition: box-shadow 0.2s; }
.gx-guard.busy { box-shadow: 0 0 0 3px color-mix(in srgb, var(--violet) 22%, white); }
.gx-who { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.2rem 0.6rem; align-items: baseline; }
.gx-who .k { font-size: 1rem; color: var(--link); }
.gx-who .st { font-size: 0.8rem; color: var(--muted); }
.gx-verdict { display: flex; flex-wrap: wrap; gap: 0.3rem 0.6rem; min-height: 1.9rem; align-items: center; }
.gx-verdict .badge { padding: 0.15rem 0.7rem; border-radius: 999px; font-size: 0.9rem; color: #fff; }
.gx-verdict .f { font-size: 0.85rem; color: var(--ink-2); }
.gx-verdict .f i { font-style: normal; color: var(--muted); }
.gx-raw { margin: 0; min-height: 4.2rem; padding: 0.45rem 0.7rem; border-radius: var(--r-tile); background: var(--wash); font: 400 0.74rem/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.gx-sure { font-size: 0.78rem; line-height: 1.4; color: var(--muted); min-height: 2.2em; }
.gx-sure b { font-family: var(--fig); font-weight: 400; color: var(--ink); }
.gx-time { display: grid; gap: 0.4rem; }
.gx-time .row { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr) 4rem; gap: 0.5rem; align-items: center; }
.gx-time .who { font-size: 0.85rem; color: var(--ink-2); }
.gx-time .bar { height: 8px; border-radius: 4px; background: var(--grid); overflow: hidden; }
.gx-time .bar i { display: block; height: 100%; width: 0; background: var(--mark-gpu-strong); border-radius: 4px; }
.gx-time .bar.us i { background: var(--mark-us); }
.gx-time .v { font: 400 0.85rem var(--fig); color: var(--ink); text-align: right; }
.gx-time .fine { font-size: 0.76rem; color: var(--muted); }
.gx-total { font-size: 0.88rem; line-height: 1.4; color: var(--link); min-height: 3.7em; }
@media (max-width: 760px) {
  .gx-main { grid-template-columns: minmax(0, 1fr); }
  .gx-text { height: 14rem; }
  .gx-ctl [data-gx="play"] { margin-left: 0; }
}
@media (max-width: 480px) {
  .gx-ctl .k { flex-basis: 100%; }
  .gx-ctl .sbx-seg + .k { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .gh-dots i, .gh-core, .gx-guard { transition: none; } }

/* part 7's Figure 3, the deck's guard-quality chart as grouped bars: both Polyglot-DC1-Guard sizes in violet (the 4B
   full, the 1.7B light), the public guards in greys that alternate dark and light so neighbours separate; F1 on the
   left, harmless prompts flagged on the right, each from zero. Under 560px each panel is redrawn for the phone */
.gbfig { --gb-17: #c7a3f5; --gb-4: var(--mark-us); --gb-q6: #b9b1c4; --gb-q4: var(--mark-gpu-strong); --gb-l4: #dcd6e3; --gb-gs: #8e8699; }
.gb-leg { font-size: 0.85rem; gap: 0.3rem 1.1rem; }
.gb-leg i.g17 { --c: var(--gb-17); } .gb-leg i.g4 { --c: var(--gb-4); } .gb-leg i.q6 { --c: var(--gb-q6); }
.gb-leg i.q4 { --c: var(--gb-q4); } .gb-leg i.l4 { --c: var(--gb-l4); } .gb-leg i.gs { --c: var(--gb-gs); }
.gb-panels { display: grid; grid-template-columns: minmax(0, 620fr) minmax(0, 330fr); gap: 1.6rem; align-items: end; }
.gb-b.g17 { fill: var(--gb-17); } .gb-b.g4 { fill: var(--gb-4); } .gb-b.q6 { fill: var(--gb-q6); }
.gb-b.q4 { fill: var(--gb-q4); } .gb-b.l4 { fill: var(--gb-l4); } .gb-b.gs { fill: var(--gb-gs); }
.gb-chart svg { overflow: visible; }
.gb-grid { stroke: var(--grid); stroke-width: 1; }
.gb-base { stroke: var(--faint); stroke-width: 1; }
.gb-tick { fill: var(--faint); font: 400 12px var(--fig); }
.gb-axt { fill: var(--muted); font: 400 13px var(--display); }
.gb-lab { fill: var(--ink-2); font: 400 14px var(--display); }
.gb-sub { fill: var(--muted); font: 400 13px var(--display); }
.gb-in { font: 400 13px var(--fig); }
.gb-v { font: 400 14px var(--fig); fill: var(--link); }
.gb-split { stroke: var(--rule); stroke-width: 1.5; stroke-dasharray: 4 6; }
.c-phone .gb-v { font-size: 16px; }
.gb-in.g4 { fill: #fff; } .gb-in.g17 { fill: var(--ink); }
.c-phone .gb-tick { font-size: 14px; } .c-phone .gb-axt, .c-phone .gb-sub { font-size: 15px; } .c-phone .gb-lab { font-size: 16px; } .c-phone .gb-in { font-size: 15px; }
.gbfig .tip i { background: var(--k); }
@media (max-width: 560px) { .gb-panels { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; } }
/* part 7's verdict format, as the model card shows it */
.prose pre.verdict-fmt { margin: 0; padding: 0.7rem 1rem; border-radius: var(--r-tile); background: var(--wash); font: 400 0.84rem/1.55 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--ink); overflow-x: auto; }
.gb-in.out { fill: var(--link); }
@media (max-width: 560px) { .gb-p { display: grid; gap: 1rem; } }

/* part 7's Figure 4: harmless prompts flagged on PHTest, one bar per guard in Figure 3's colours, from zero to 30% */
.ph-chart { display: grid; gap: 0.45rem; max-width: 46rem; }
.ph-row { display: grid; grid-template-columns: 13rem minmax(0, 1fr) 3.4rem; gap: 0.8rem; align-items: center; }
.ph-n { font-size: 0.9rem; color: var(--ink-2); }
.ph-row.us .ph-n { color: var(--ink); }
.ph-t { position: relative; height: 1.15rem; background: repeating-linear-gradient(90deg, var(--grid) 0 1px, transparent 1px 33.333%); }
.ph-t i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 0 4px 4px 0; }
.ph-t i.g17 { background: var(--gb-17); } .ph-t i.g4 { background: var(--gb-4); } .ph-t i.q6 { background: var(--gb-q6); }
.ph-t i.q4 { background: var(--gb-q4); } .ph-t i.l4 { background: var(--gb-l4); } .ph-t i.gs { background: var(--gb-gs); }
.ph-v { font: 400 0.9rem var(--fig); color: var(--ink-2); text-align: right; }
.ph-row.us .ph-v { color: var(--link); }
.ph-ax { margin-top: -0.2rem; }
.ph-ticks { position: relative; height: 1.1rem; border-top: 1px solid var(--faint); }
.ph-ticks span { position: absolute; top: 0.15rem; transform: translateX(-50%); font: 400 0.74rem var(--fig); color: var(--faint); }
.ph-ticks span:first-child { transform: none; }
.ph-ticks span:last-child { transform: translateX(-100%); }
@media (max-width: 560px) {
  .ph-row { grid-template-columns: minmax(0, 1fr) 3.2rem; gap: 0.15rem 0.6rem; }
  .ph-n { grid-column: 1 / -1; font-size: 0.85rem; }
  .ph-ax .ph-n, .ph-ax .ph-v { display: none; }
}
/* part 7's speed table: a heading row over each guard size's rows */
.gh-speed tr.gh-grp th { padding: 0.9rem 0 0.3rem; text-align: left; font: 400 0.85rem var(--display); color: var(--muted); }
.gh-speed tbody tr.gh-grp:first-child th { padding-top: 0.4rem; }

/* a heading linked from the launch page clears the sticky header */
h2[id] { scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 5.5rem); }

/* part 8's Figure 1, the deck's finance animation on part 7's stage: the reasoning runs in grey italics, then the
   answer lands in violet beside the reference; then the slide's speed card */
.fh .gh-verdict { font-style: italic; color: var(--faint); }
.fh .gh-verdict.done { font-style: normal; color: var(--link); font-size: 1rem; }
.gh-outcome.ans { background: var(--mark-us); font-family: var(--fig); }
.gh-dots i.ans { background: var(--violet); }
.fh-figs { display: grid; gap: 0.35rem; padding: 0.9rem 1.2rem; border-radius: var(--r-frame); background: var(--wash); max-width: 34rem; }
.fh-big { display: flex; align-items: center; gap: 1rem; padding-bottom: 0.35rem; }
.fh-big b { font: 400 3.4rem/1 var(--fig); color: var(--ink); white-space: nowrap; }
.fh-big > span { display: grid; font-size: 1.05rem; color: var(--ink); }
.fh-big i { font-style: normal; font-size: 0.85rem; color: var(--muted); }
.fh-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 0.55rem; align-items: baseline; padding-top: 0.4rem; border-top: 1px solid var(--rule); font-size: 0.9rem; color: var(--muted); }
.fh-row .a { font: 400 0.95rem var(--fig); color: var(--muted); } .fh-row .to { color: var(--faint); } .fh-row .b { font: 400 1.15rem var(--fig); color: var(--link); }
@media (max-width: 480px) { .fh-big b { font-size: 2.7rem; } .fh-row { grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 0.35rem; font-size: 0.84rem; } }

/* part 8's Figure 2, the deck's finance sandbox: the problems, the problem as the model saw it with the reference and
   its answer, two lanes decoding it, and the controls; the lanes stack under 700px */
.fxp { display: grid; gap: 0.75rem; }
.fxp-prob { display: grid; gap: 0.45rem; padding: 0.7rem 1rem; border: 1px solid var(--wash-2); border-radius: var(--r-frame); background: var(--wash); }
.fxp-head { display: flex; flex-wrap: wrap; gap: 0.2rem 1rem; align-items: baseline; font-size: 0.85rem; color: var(--muted); }
.fxp-head .use { font-size: 0.82rem; color: var(--link); }
.fxp-head .n { margin-left: auto; font: 400 0.78rem var(--fig); }
.fxp-prompt { max-height: 7.5rem; overflow-y: auto; overscroll-behavior: contain; padding-right: 0.4rem; font: 400 0.76rem/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--mark-us) 40%, white) transparent; }
.fxp-prompt .msg { display: block; margin-bottom: 0.3rem; }
.fxp-prompt .msg b { font: 400 0.8rem var(--display); color: var(--muted); margin-right: 0.5rem; }
.fxp-prompt .sys { color: var(--muted); }
.fxp-ans { display: flex; flex-wrap: wrap; gap: 0.3rem 1.6rem; align-items: baseline; min-height: 1.6rem; font-size: 0.9rem; color: var(--muted); }
.fxp-ans i { font-style: normal; }
.fxp-ans b { font: 400 1.05rem var(--fig); color: var(--ink); }
.fxp-ans .ours b { color: var(--link); }
.fxp-ans .ok { margin-left: 0.4rem; padding: 0.1rem 0.55rem; border-radius: 999px; background: var(--meas); color: #fff; font-size: 0.78rem; }
.fxp-lanes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.fxp-lane { display: grid; gap: 0.4rem; min-width: 0; padding: 0.7rem 1rem 0.8rem; border: 1px solid var(--rule); border-radius: var(--r-frame); background: var(--paper); }
.fxp-lane.ours { border-color: color-mix(in srgb, var(--mark-us) 55%, white); }
.fxp-lane .hd { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.2rem 0.8rem; }
.fxp-lane .who { font-size: 1.05rem; color: var(--ink); }
.fxp-lane.ours .who, .fxp-lane.ours .done { color: var(--link); }
.fxp-lane .done { font-size: 0.85rem; color: var(--muted); }
.fxp-lane .stats { display: flex; flex-wrap: wrap; gap: 0.2rem 1rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--rule); font-size: 0.8rem; color: var(--muted); }
.fxp-lane .stats b { font: 400 0.98rem var(--fig); color: var(--ink); }
.fxp-lane .stats i { font-style: normal; }
.fxp-lane .code { height: 14rem; overflow-y: auto; overscroll-behavior: contain; padding-right: 0.4rem; font: 400 0.74rem/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink-2); scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--mark-us) 40%, white) transparent; }
.fxp-lane .code .think { font-style: italic; color: var(--faint); }
.fxp-lane .code .ans { display: block; margin-top: 0.5rem; padding-top: 0.4rem; border-top: 1px dashed var(--rule); color: var(--ink); }
.fxp-lane .code .wait { color: var(--faint); }
.fxp-lane .prog { height: 4px; border-radius: 2px; background: var(--grid); overflow: hidden; }
.fxp-lane .prog i { display: block; height: 100%; width: 0; background: var(--mark-gpu); }
.fxp-lane.ours .prog i { background: var(--mark-us); }
.fxp-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.8rem; min-height: 2.2rem; font-size: 0.9rem; color: var(--link); }
.fxp-foot [data-fx="total"] { flex: 1 1 16rem; }
.fxp-foot [data-fx="play"] { font-size: 0.88rem; padding: 0.42rem 0.9rem; min-width: 5.2rem; }
@media (max-width: 700px) { .fxp-lanes { grid-template-columns: minmax(0, 1fr); } .fxp-lane .code { height: 10rem; } }

/* part 8's Figure 3, the deck's finance-quality chart: the 4B in violet, the 1.7B light violet, the open models in
   greys, as the slide has them */
.fbfig { --gb-o4: var(--mark-us); --gb-o1: #c7a3f5; --gb-g: var(--mark-gpu-strong); --gb-n: #928a9f; --gb-m: #b9b1c4; --gb-q: #dcd6e3; }
.fbfig .gb-leg i.o4 { --c: var(--gb-o4); } .fbfig .gb-leg i.o1 { --c: var(--gb-o1); } .fbfig .gb-leg i.g { --c: var(--gb-g); }
.fbfig .gb-leg i.n { --c: var(--gb-n); } .fbfig .gb-leg i.m { --c: var(--gb-m); } .fbfig .gb-leg i.q { --c: var(--gb-q); }
.gb-b.o4 { fill: var(--gb-o4); } .gb-b.o1 { fill: var(--gb-o1); } .gb-b.g { fill: var(--gb-g); } .gb-b.n { fill: var(--gb-n); } .gb-b.m { fill: var(--gb-m); } .gb-b.q { fill: var(--gb-q); }
@media (max-width: 760px) { .fxp-cases { border-radius: 16px; } }
