/* The launch post. The look comes from style.css beside it, loaded before this
   file. Here: the site's top bar and footer, the site's title face and colours over his variables, a
   dark theme, the review marks and footnotes of the writing, and the one figure drawn by
   tools/blog_figures.py (the ladder). */
:root {
  --surface: #ffffff; --ink-3: #6b7076;
  --font-head: "Zilla Slab", "Charter", "Iowan Old Style", Georgia, serif; --w-title: 600; --w-head: 600;
  --fill-bg: #fff1a8; --fill-ink: #5a4700; --check: #a35f00;
  --ph-experiments: #e2ab3c; --ph-finish: #9b8fc6; /* the site's phase colours; a dark page keeps this amber and its own grey */
  --claude: #cb6f4f; --claude-2: #964a2f; --claude-3: #e6a189; --openai: #1f9e74; --openai-2: #007653;
  --google: #4f90d5; --kimi: #d07399; --muse: #d99a1e; --glm: #7173d7;
  --olmicro: #c46b8e; --mult: #2f6fd0;
}
/* Dark, as on the site: follow the system until the switch in the bar is used. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121315; --surface: #1b1c1f; --ink: #d3d5d8; --ink-2: #a0a4aa; --ink-3: #868b92; --rule: #2b2d31; --wash: #1c1d20;
    --accent: #e5787c; --accent-wash: #2b2022; --ref: #5f666e; --lab-ink: #5c6068; --lab-wash: #1a1b1e; --hl: #e0a100; --hl-ink: #e6b84a;
    --ph-prep: #3b3f46; --ph-train: #d5d8dc; --ph-finish: #7c828a;
    --fill-bg: rgba(238, 200, 70, 0.24); --fill-ink: #f2dc8f; --check: #e0a640;
    --claude: #dc7f5e; --claude-2: #f1aa92; --claude-3: #af5d40; --openai: #3bb388; --openai-2: #84d1af;
    --google: #5e9fe6; --kimi: #d7799f; --muse: #dca23a; --glm: #8b90f0; --mult: #8fb4f0;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121315; --surface: #1b1c1f; --ink: #d3d5d8; --ink-2: #a0a4aa; --ink-3: #868b92; --rule: #2b2d31; --wash: #1c1d20;
  --accent: #e5787c; --accent-wash: #2b2022; --ref: #5f666e; --lab-ink: #5c6068; --lab-wash: #1a1b1e; --hl: #e0a100; --hl-ink: #e6b84a;
  --ph-prep: #3b3f46; --ph-train: #d5d8dc; --ph-finish: #7c828a;
  --fill-bg: rgba(238, 200, 70, 0.24); --fill-ink: #f2dc8f; --check: #e0a640;
  --claude: #dc7f5e; --claude-2: #f1aa92; --claude-3: #af5d40; --openai: #3bb388; --openai-2: #84d1af;
  --google: #5e9fe6; --kimi: #d7799f; --muse: #dca23a; --glm: #8b90f0; --mult: #8fb4f0;
  color-scheme: dark;
}
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 3px; }

/* The site's top bar, as in app.css. Its accent is the ink, not the post's red. */
.page { max-width: 1328px; margin: 0 auto; padding-inline: 24px; font: 400 14px/1.45 "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; --accent: var(--ink); --accent-ink: var(--ink); }
@media (max-width: 640px) { .page { padding-inline: 16px; } }
.top { display: flex; align-items: stretch; gap: 30px; height: 52px; border-bottom: 1px solid var(--rule); }
.mark { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--font-head); font-size: 19.5px; font-weight: 600; letter-spacing: -0.005em; } /* the name in the title face */
.mark-icon { width: 24px; height: 24px; flex: none; margin-block: -2px; }
/* The mark is the dotted one from ../shared/logo-mark.svg, unboxed: it takes the text colour and keeps its red dot. */
.mark-icon { color: var(--ink); }
.mark-icon, h1 .logo-mark { overflow: visible; } /* never clipped: the red dot reaches the edge of the drawing box */
.ft-accent { color: var(--accent-ink); }
.tabs { display: flex; gap: 28px; min-width: 0; margin: 0 0 -1px auto; }
.tabs a { display: inline-flex; align-items: center; padding-top: 2px; border-bottom: 2px solid transparent; text-decoration: none; white-space: nowrap; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.top .mark, .tabs a { position: relative; }
.top .mark:focus-visible, .tabs a:focus-visible { outline: none; }
.top .mark:focus-visible::after, .tabs a:focus-visible::after { content: ""; position: absolute; left: -7px; right: -7px; top: 50%; height: 30px; margin-top: -15px; border: 2px solid var(--ink); border-radius: 7px; pointer-events: none; }
.theme-toggle { display: grid; place-items: center; align-self: center; width: 34px; height: 34px; margin: 0 -8px 0 -10px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--ink-2); cursor: pointer; }
.theme-toggle:hover { color: var(--ink); background: var(--wash); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle[data-to="dark"] .to-light, .theme-toggle[data-to="light"] .to-dark, .theme-toggle:not([data-to]) .to-light { display: none; }
@media (max-width: 720px) {
  .top { flex-wrap: wrap; height: auto; column-gap: 16px; row-gap: 0; }
  .mark { height: 48px; }
  .tabs { order: 3; width: calc(100% + 18px); height: 40px; gap: 16px; justify-content: space-between; margin-inline: -9px; padding-inline: 9px; overflow-x: auto; scrollbar-width: none; }
  .top .theme-toggle { margin-left: auto; }
  .tabs::-webkit-scrollbar { display: none; }
}
@media (max-width: 370px) { .tabs { gap: 12px; } }
@media (max-width: 359px) { .tabs { gap: 10px; } .tabs a { font-variation-settings: "wdth" 85; } }
.page .foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin: 0 0 36px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.page .foot nav { display: flex; gap: 24px; }
.page .foot a { font-weight: 500; color: var(--ink-2); text-decoration: none; padding-block: 6px; margin-block: -6px; }
.page .foot a:hover { color: var(--ink); }

/* The post under the bar: his page left room at the bottom for its draft tools */
.post { padding-top: 56px; padding-bottom: 72px; }
.summary .dek + .dek { margin-top: 10px; }
.authors span, .affil span { white-space: nowrap; }
.authors a { text-decoration: none; }
.authors .lead a { font-weight: 600; } /* the two lead authors */
.authors a:hover { text-decoration: underline; text-underline-offset: 3px; }
.buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.buttons a { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding-inline: 14px 16px; border: 1px solid color-mix(in srgb, var(--ink) 30%, var(--bg)); border-radius: 7px; font: 500 13.5px/1 var(--font-body); text-decoration: none; color: var(--ink); background: var(--surface); }
/* the outline is one pixel in a mid grey: the page's hairline colour was too faint to read as a button */
.buttons a:hover { border-color: var(--ink); }
.buttons a.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.buttons a.primary:hover { opacity: 0.88; }
.buttons svg { width: 15px; height: 15px; }
/* his cards take the site's smaller corner */
.card { border-radius: 6px; }
/* Red is for outlines and headings only: the key cards and the verifier's zone take the grey of the
   other boxes and keep their red edge and red title */
.card.key { background: var(--wash); }
.sbx-zone.ver { background: transparent; }
.sbx-zone.ver .sbx-box { background: var(--wash); }

/* The figures from figures.js and ../shared/hero.js colour each agent with a fixed hex
   value from data.js, in an SVG fill or stroke or an inline style. Each value is mapped
   here onto the colours above, so the figures follow the site's palette and its dark theme. */
[fill="#d97757" i] { fill: var(--claude); } [stroke="#d97757" i] { stroke: var(--claude); } [style*="#d97757" i] { background: var(--claude) !important; fill: var(--claude) !important; }
[fill="#9f4229" i] { fill: var(--claude-2); } [stroke="#9f4229" i] { stroke: var(--claude-2); } [style*="#9f4229" i] { background: var(--claude-2) !important; fill: var(--claude-2) !important; }
[fill="#eeb5a2" i] { fill: var(--claude-3); } [stroke="#eeb5a2" i] { stroke: var(--claude-3); } [style*="#eeb5a2" i] { background: var(--claude-3) !important; fill: var(--claude-3) !important; }
[fill="#10a37f" i] { fill: var(--openai); } [stroke="#10a37f" i] { stroke: var(--openai); } [style*="#10a37f" i] { background: var(--openai) !important; fill: var(--openai) !important; }
[fill="#00684e" i] { fill: var(--openai-2); } [stroke="#00684e" i] { stroke: var(--openai-2); } [style*="#00684e" i] { background: var(--openai-2) !important; fill: var(--openai-2) !important; }
[fill="#5b93e6" i] { fill: var(--google); } [stroke="#5b93e6" i] { stroke: var(--google); } [style*="#5b93e6" i] { background: var(--google) !important; fill: var(--google) !important; }
[fill="#e87ba4" i] { fill: var(--kimi); } [stroke="#e87ba4" i] { stroke: var(--kimi); } [style*="#e87ba4" i] { background: var(--kimi) !important; fill: var(--kimi) !important; }
[fill="#504af4" i] { fill: var(--glm); } [stroke="#504af4" i] { stroke: var(--glm); } [style*="#504af4" i] { background: var(--glm) !important; fill: var(--glm) !important; }
[fill="#eda100" i] { fill: var(--muse); } [stroke="#eda100" i] { stroke: var(--muse); } [style*="#eda100" i] { background: var(--muse) !important; fill: var(--muse) !important; }

/* A picture between two paragraphs keeps its distance from the one after it */
.sec :is(.ipo, .cards) + p { margin-top: 22px; }

/* The three ways a run is scored: no boxes. Each holds a small labelled chart of real numbers: the 22
   tasks by group, the runs' average bits-per-byte on each kind of text, and a tick for each run in
   its agent's colour. */
.evals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 20px; margin: 14px 0 0; }
.ev { display: flex; flex-direction: column; border-top: 1px solid var(--ink); padding-top: 9px; }
.ev dd { margin: 0; }
.ev dt { font-family: var(--font-head); font-weight: var(--w-head); font-size: 19px; line-height: 1.25; color: var(--ink); }
.ev-pic { margin: 11px 0 0 !important; --mark: color-mix(in srgb, var(--ink) 70%, var(--bg)); }
.ev-rows { display: grid; row-gap: 2px; }
.ev-rows > div { display: grid; grid-template-columns: 80px 99px auto; justify-content: start; align-items: center; column-gap: 8px; height: 14px; font-size: 12px; line-height: 1; }
.ev-rows span { color: var(--ink-2); }
.ev-rows b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.ev-units { height: 9px; width: calc(var(--n) * 11px - 2px); background: repeating-linear-gradient(90deg, var(--mark) 0 9px, transparent 9px 11px); }
.ev-bar { height: 9px; width: calc(var(--v) * 99px); border-radius: 1.5px; background: var(--mark); }
.ev-ticks { display: block; max-width: 100%; height: auto; }
.ev-judge { display: flex; flex-direction: column; gap: 7px; }
.ev-all { font-size: 12px; line-height: 1; color: var(--ink-2); }
.ev-all b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.sec .evals + p { margin-top: 20px; }
@media (max-width: 700px) {
  .evals { grid-template-columns: 1fr; gap: 18px 0; }
}
@media print { .evals { break-inside: avoid; } }
}

.sec .fig + p, .sec .fig + h3 { margin-top: 0; }

/* Review marks: a number to check, and a blank only the authors can fill. Both go before launch. */
sup.check { font-size: 0.62em; line-height: 0; vertical-align: 0.6em; margin-left: 2px; color: var(--check); font-weight: 500; letter-spacing: 0.02em; cursor: help; border-bottom: 1px dotted currentColor; }
.fill { background: var(--fill-bg); color: var(--fill-ink); padding: 1px 4px; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Footnotes */
sup.fnref { font-size: 0.72em; line-height: 0; margin-left: 1px; }
sup.fnref a { position: relative; color: var(--ink-3); text-decoration: none; }
sup.fnref a::after { content: ""; position: absolute; inset: -8px; } /* a tap target a thumb can hit */
.footnotes { margin-top: 56px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.footnotes ol { margin: 0; padding-left: 20px; }
.footnotes li + li { margin-top: 4px; }
.footnotes a.fnback { text-decoration: none; margin: -4px -6px -4px -2px; padding: 4px 6px; }

/* The ladder figure, a still drawing from tools/blog_figures.py */
.fig-board .panels { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
.fig-board svg { flex: 1 1 300px; max-width: 370px; height: auto; display: block; overflow: visible; }
.fig-board svg text { font-family: var(--font-data); }
.t-hd { font-size: 11.5px; font-weight: 600; fill: var(--ink); }
.t-sub { font-weight: 400; fill: var(--ink-3); }
.t-ax { font-size: 10.5px; fill: var(--ink-3); font-variant-numeric: tabular-nums; }
.t-nm { font-size: 11px; fill: var(--ink); }
.t-val { font-size: 10.5px; fill: var(--ink-2); font-variant-numeric: tabular-nums; }
.t-nm.lab, .t-val.lab, .t-lab { fill: var(--ink-3); }
/* A lab model's bar in the leaderboard figure: a faint gray, thin gray slanted lines and a hairline edge, as on the site. The lines come
   from the #lab-hatch pattern in the page; figures.js marks these bars only by their fill. */
:root { --lab-ink: #aeb3ba; --lab-wash: #f4f5f6; }
.lab-hatch-bg { fill: var(--lab-wash); }
.lab-hatch-line { stroke: var(--lab-ink); stroke-width: 0.9; }
#fig-leaderboard rect[fill="var(--ref)"] { fill: url(#lab-hatch); stroke: var(--lab-ink); stroke-width: 1; }
.t-lab { font-size: 10.5px; }
.t-mult { font-size: 10.5px; font-weight: 600; fill: var(--c, var(--mult)); }
.fig-board .grid { stroke: var(--rule); stroke-width: 1; }
.fig-board .axis { stroke: var(--ink-3); stroke-width: 1; }
.m-claude { --c: var(--claude); } .m-openai { --c: var(--openai); } .m-google { --c: var(--google); }
.m-kimi { --c: var(--kimi); } .m-muse { --c: var(--muse); } .m-glm { --c: var(--glm); } .m-lab { --c: var(--ref); } .m-olmicro { --c: var(--olmicro); }
.fig-board .ladder { fill: none; stroke: var(--ref); stroke-width: 1.6; stroke-dasharray: 4 3; }
.fig-board .ladder.olmicro { stroke: var(--olmicro); stroke-dasharray: 2 3; opacity: 0.85; }
.lad-pt { fill: var(--ref); stroke: var(--bg); stroke-width: 1; }
.lad-pt.olmicro { fill: var(--olmicro); }
.t-lab.olmicro { fill: var(--olmicro); }
.fig-board .pt { fill: var(--c); stroke: var(--bg); stroke-width: 1.2; }
.fig-board .ring { fill: var(--bg); stroke: var(--c); stroke-width: 2; }
/* The arrow and its label take their agent's colour. Gemini 4 Neon's keep the deeper blue, which reads better as small text. */
.fig-board .mult, .fig-board .mult-head { fill: none; stroke: var(--c, var(--mult)); stroke-width: 1.4; }
.fig-board :is(.mult, .mult-head, .t-mult).m-google { --c: var(--mult); }
.fig-board .mult { stroke-dasharray: 3 3; }
.fig3 .t-ag { font-size: 10.5px; fill: var(--ink-2); paint-order: stroke; stroke: var(--bg); stroke-width: 3px; stroke-linejoin: round; }

@media print { .page { display: none; } }

/* The summary under the opening picture, the prompt behind a fold, and the references */
.summary { margin: 20px 0 0; padding-left: 20px; }
.hero .summary { width: fit-content; max-width: min(640px, 100%); margin-inline: auto; }
details.prompt + .ipo { margin-top: 26px; }
.summary li + li { margin-top: 6px; }
details.prompt { margin-top: 15px; border: 1px solid var(--rule); border-radius: 6px; background: var(--surface); }
details.prompt summary { cursor: pointer; padding: 9px 14px; font-size: 13.5px; font-weight: 500; }
details.prompt[open] summary { border-bottom: 1px solid var(--rule); }
.prompt-body { max-height: 340px; overflow-y: auto; padding: 2px 16px 14px; font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.prompt-body h4 { margin: 14px 0 4px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.sec .prompt-body p { margin-top: 8px; }
.prompt-body ul { margin: 4px 0 0; padding-left: 18px; }
.prompt-body code { font-size: 0.92em; }
.refs { margin: 0; padding-left: 26px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.refs li + li { margin-top: 6px; }
.refs a { overflow-wrap: anywhere; }
/* a citation in the text: the bracketed numbers, each a link to its entry in the list */
.cite a { color: inherit; text-decoration: none; }
.cite a:hover { text-decoration: underline; }
.refs li:target { background: var(--wash, rgba(127,127,127,0.12)); }
/* The reference a citation number points to, shown while the pointer is on the number. It hangs off the
   number itself, so it sits just above it in every browser, whatever the page's zoom. */
.cite a { position: relative; }
.cite-tip { position: absolute; left: 50%; bottom: calc(100% + 7px); z-index: 30; transform: translateX(calc(-50% + var(--dx, 0px))); box-sizing: border-box; width: max-content; max-width: min(320px, calc(100vw - 32px)); padding: 7px 11px 8px; background: var(--bg); border: 1px solid var(--rule); border-radius: 8px; box-shadow: 0 6px 22px rgba(0, 0, 0, 0.14); font-size: 13px; font-weight: 400; line-height: 1.45; letter-spacing: 0; white-space: normal; text-align: left; color: var(--ink); pointer-events: none; }
.cite-tip.below { bottom: auto; top: calc(100% + 7px); }
.cite-tip span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-3); }

/* A denser page than style.css gives: everything in the post a step smaller, less air
   between its parts, and the title block centred. A phone keeps its text size. */
@media (min-width: 701px) { .post { zoom: 0.95; } }
body { line-height: 1.58; }
.post { padding-top: 40px; }
.hero .mast { text-align: center; }
/* The title is the name, then the question on its own line, both large and in the full ink, with no
   mark: the mark already sits in the bar above. Two lines keep it inside the column at every window
   size, clear of the index on the left. */
h1 { font-size: 41px; line-height: 1.14; letter-spacing: -0.015em; margin-top: 0; }
h1 .t2 { display: block; color: var(--ink-2); text-wrap: balance; } /* the question, on its own line under the name, in the dark grey */
/* The title block in clear steps: the names well under the title, the institutions as a quieter pair of
   lines, the note about them on its own line, then the buttons and the strip each with room above. */
.authors { margin-top: 22px; font-size: 15.5px; line-height: 1.6; text-wrap: balance; }
.affil { margin-top: 10px; font-size: 13px; line-height: 1.65; color: var(--ink-2); text-wrap: balance; }
.affil sup { color: var(--ink-3); }
.affil.note { margin-top: 3px; font-size: 12.5px; color: var(--ink-3); }
.buttons { justify-content: center; margin-top: 22px; }
@media (max-width: 420px) { .buttons { gap: 6px; } .buttons a { gap: 5px; padding-inline: 9px 11px; font-size: 13px; } } /* three buttons on one row of a phone */
/* One width for the text and the figures, so every block shares the same two edges */
:root { --col: 740px; --wide: 700px; }
.hx { margin-top: 34px; }
@media (max-width: 700px) {
  .post { padding-top: 28px; }
  h1 { font-size: 30px; }
  .authors { margin-top: 16px; font-size: 14.5px; }
  .affil { font-size: 12.5px; }
  .hx { margin-top: 26px; }
}
.sec > h2 { font-size: 24px; margin: 32px 0 9px; }
.sec h3 { font-size: 18px; margin: 20px 0 6px; }
.sec p { margin-top: 9px; }
.fig { margin: 16px 0 18px; }
figcaption { margin-top: 8px; }
.cards { margin: 12px 0 2px; }
.footnotes { margin-top: 36px; }
/* The two ladder panels stay side by side in the narrower figure width */
.fig-board .panels { gap: 12px 28px; }
.fig-board svg { max-width: 340px; }
/* Its two panels stay side by side at the shared width */
@media (min-width: 701px) { .fig-board .panels { flex-wrap: nowrap; column-gap: 24px; } .fig-board svg { flex: 1 1 0; min-width: 0; } }

/* The appendix is one section, and each of its parts opens on a click. A part's letter sits in the
   column of the section numbers, so its title lines up with the section titles. */
.appx { border-top: 1px solid var(--rule); }
.appx:last-of-type { border-bottom: 1px solid var(--rule); }
.sec > h2 + .appx { margin-top: 14px; }
.appx > summary { display: flex; align-items: center; gap: 14px; padding: 11px 2px 11px 0; cursor: pointer; list-style: none; }
.appx > summary::-webkit-details-marker { display: none; }
.appx > summary h3 { flex: 1; display: flex; align-items: baseline; gap: 14px; margin: 0; font-size: 18px; scroll-margin-top: 24px; }
.appx > summary .num { min-width: 2ch; font-family: var(--font-data); font-size: 15px; font-weight: 500; letter-spacing: 0.04em; color: var(--accent); }
.appx > summary::after { content: ""; width: 7px; height: 7px; margin-right: 4px; border-right: 1.6px solid var(--ink-3); border-bottom: 1.6px solid var(--ink-3); transform: translateY(-2px) rotate(45deg); transition: transform 0.15s; }
.appx[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.appx > summary:hover::after { border-color: var(--ink); }
.appx[open] { padding-bottom: 16px; }
.appx > summary + * { margin-top: 2px; }
.appx h4 { font-family: var(--font-head); font-weight: var(--w-head); font-size: 16.5px; line-height: 1.35; margin: 18px 0 6px; }
.appx > summary + h4 { margin-top: 4px; }
@media print { .appx > summary::after { display: none; } }
