/* Hallmark · shape: Index-First · genre: atmospheric · theme: Lumen (deal 3/3, seed daily-updated-list-language-models-0cbb·a505933d·2026-12-05·r0) · redesign: full · lumen: night
 * hero: Banner, the head and the takeaways well over the model table · nav: edge-aligned, wordmark, three links, search · footer: mast with the Syntax GTM credit · imagery: none, the model table is the product · signature: the full free-model list with mono model ids, readable at a glance
 * axes: dark/roman-serif/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P2 H2 E2 S2 R2 V2 · weakest: no picture, the table and the serif heads carry the page */
/* waive 58: the takeaways list under the h1 and the question-and-answer splits are the AEO answer blocks; answer engines quote them whole */
/* waive 77: the hero is a deliberate 6 and 6 split, the head beside the takeaways well, so each half reads narrow to the linter */
:root {
  color-scheme: dark;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(72% 0.15 27); --color-success: oklch(76% 0.13 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --color-paper: oklch(12.5% 0.027 290); --color-paper-2: oklch(16% 0.03 290); --color-paper-3: oklch(20% 0.032 290);
  --color-ink: oklch(96% 0.01 300); --color-ink-2: oklch(85% 0.017 298); --color-muted: oklch(69% 0.026 295);
  --color-rule: oklch(27% 0.034 290); --color-rule-2: oklch(36% 0.04 292); --rule-blueprint: oklch(96% 0.01 300 / 0.05);
  --color-accent: oklch(80% 0.15 62); --color-accent-2: oklch(72% 0.15 12); --color-accent-ink: oklch(14% 0.028 290);
  --color-live: oklch(80% 0.13 155); --color-focus: oklch(80% 0.15 62);
  --font-display: "Instrument Serif", ui-serif, Georgia, serif; --font-body: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-outlier: "Geist Mono", ui-monospace, monospace;
  --radius-card: 10px; --radius-pill: 999px; --rule-hair: 1px;
  --shadow-card: 0 28px 64px -30px oklch(4% 0.02 290 / 0.8);
  --tracking-display: -0.015em; --display-weight: 400;
}
:root {
  --color-accent-soft: oklch(22% 0.045 62); --color-plate: var(--color-paper-2); --color-band: transparent;
  --color-btn: var(--color-accent); --color-btn-ink: var(--color-accent-ink); --color-btn-hover: oklch(85% 0.13 62); --color-card-hover: var(--color-paper-3);
  --rule-bar: 1px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: max(var(--text-md), 1.0625rem); line-height: 1.6; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 25%, transparent); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 68ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }

/* SEO Prep Kit components. Colours and fonts come only from the theme tokens. */
body { font-size-adjust: from-font; }
.skip { position: absolute; left: var(--space-md); top: -100px; z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }
.muted { color: var(--color-muted); }

.site-header { border-bottom: var(--rule-hair) solid var(--color-rule); background: var(--color-paper); }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-xl); padding-block: var(--space-md); }
.wordmark { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-lg); letter-spacing: var(--tracking-display); text-decoration: none; color: var(--color-ink); }
.site-header nav ul, .site-footer nav ul { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); list-style: none; margin: 0; padding: 0; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }
.site-header .header-search { margin-inline-start: auto; }
input[type="search"] { min-height: 44px; padding: var(--space-xs) var(--space-md); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-plate, var(--color-paper-2)); color: var(--color-ink); min-width: 12rem; }
input[type="search"]:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--space-xs); list-style: none; margin: var(--space-lg) 0 0; padding: 0; font-size: var(--text-sm); color: var(--color-muted); }
.crumbs li + li::before { content: ">"; margin-inline-end: var(--space-xs); color: var(--color-muted); }
.crumbs a { color: var(--color-muted); }
.crumbs a[aria-current] { color: var(--color-ink); text-decoration: none; }

.page-head { padding-block: var(--space-2xl) var(--space-xl); display: grid; gap: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.page-head h1 { font-size: var(--text-display-s); max-width: 22ch; }
.page-home .page-head h1 { font-size: var(--text-display); }
.page-head .lead { color: var(--color-ink-2); max-width: 60ch; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-md); }
.byline { font-size: var(--text-sm); color: var(--color-muted); }
.byline a { color: var(--color-ink-2); }

.btn { display: inline-flex; align-items: center; min-height: 48px; padding: var(--space-sm) var(--space-lg); border: 0; border-radius: var(--radius-pill); font-weight: 500; text-decoration: none; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out); }
.btn--primary { background: var(--color-btn, var(--color-ink)); color: var(--color-btn-ink, var(--color-paper)); }
.btn--primary:hover { background: var(--color-btn-hover, var(--color-ink-2)); }
.btn--secondary { color: var(--color-ink); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule-2, var(--color-ink)); background: transparent; }
.btn--secondary:hover { box-shadow: inset 0 0 0 2px var(--color-ink); }
.btn:active { transform: translateY(1px); }

.content { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); padding-block: var(--space-xl) var(--space-3xl); }
.content > *, .table-tools, .picker-out { min-width: 0; }
.content > h2 { margin-top: var(--space-xl); font-size: var(--text-2xl); max-width: 36ch; }
.content > h3 { margin-top: var(--space-md); }
.content > p, .content > ul, .content > ol, .content > .faq, .content > dl { max-width: 72ch; }
.answer { border: var(--rule-hair) solid var(--color-accent); background: var(--color-accent-soft, var(--color-paper-2)); padding: var(--space-md) var(--space-lg); max-width: 72ch; }
.answer p { font-size: var(--text-lg); line-height: 1.5; color: var(--color-ink); }
.list, .steps { display: grid; gap: var(--space-xs); padding-inline-start: 1.25em; margin: 0; }
.list li::marker { color: var(--color-accent); }

.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 0; margin: 0; border-top: var(--rule-bar, 2px) solid var(--color-ink); max-width: none !important; }
.facts div { padding: var(--space-sm) var(--space-md) var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.facts dt { font-size: var(--text-sm); color: var(--color-muted); font-weight: 500; }
.facts dd { margin: var(--space-2xs) 0 0; }

.table-filter { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-md); }
.table-filter label { font-weight: 500; font-size: var(--text-sm); }
.table-filter output { font-size: var(--text-sm); color: var(--color-muted); }
.table-wrap { container-type: inline-size; overflow: auto; max-height: 80vh; border-top: var(--rule-bar, 2px) solid var(--color-ink); }
.table-wrap:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.spec { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.spec caption { text-align: start; padding: var(--space-sm) 0; font-weight: 500; color: var(--color-muted); caption-side: top; }
.spec th, .spec td { text-align: start; vertical-align: top; padding: var(--space-sm) var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.spec thead th { position: sticky; top: 0; z-index: var(--z-raised); background: var(--color-paper); font-weight: 500; color: var(--color-muted); white-space: nowrap; text-wrap: balance; }
.spec tbody th { font-weight: 500; min-width: 11rem; }
.spec .num { text-align: end; font-variant-numeric: tabular-nums; }
.spec tbody tr:nth-child(even) > * { background: var(--color-band, var(--color-paper-2)); }
.spec tbody th { position: sticky; inset-inline-start: 0; z-index: 1; background: var(--color-paper); }
@media (hover: hover) { .spec tbody tr:hover > * { background: var(--color-accent-soft, var(--color-paper-2)); } }
.spec .sort { all: unset; cursor: pointer; }
.spec .sort:focus-visible { outline: 2px solid var(--color-focus); }
.spec th[aria-sort="ascending"] .sort::after { content: " (a to z)"; }
.spec th[aria-sort="descending"] .sort::after { content: " (z to a)"; }
.code { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; }
.tag { display: inline-block; padding: 0 var(--space-xs); margin: 0 var(--space-2xs) var(--space-2xs) 0; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); font-size: var(--text-xs); white-space: nowrap; }

.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: var(--space-lg); }
.card { display: grid; align-content: start; gap: var(--space-xs); height: 100%; padding: var(--space-lg); text-decoration: none; color: var(--color-ink); background: var(--color-plate, var(--color-paper-2)); border: var(--card-border, var(--rule-hair) solid var(--color-rule)); border-radius: var(--radius-card); box-shadow: var(--shadow-card, none); transition: box-shadow var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out); }
.card:hover { box-shadow: var(--shadow-card-hover, none); background: var(--color-card-hover, var(--color-plate, var(--color-paper-2))); }
.card h3 { font-size: var(--text-lg); }
.card .meta { font-size: var(--text-sm); color: var(--color-muted); }
.card p { color: var(--color-ink-2); font-size: var(--text-sm); }

.linklist { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-xs); columns: 2; }
.faq details { border-bottom: var(--rule-hair) solid var(--color-rule); padding-block: var(--space-md); }
.faq summary { cursor: pointer; font-weight: 500; font-size: var(--text-lg); }
.faq details > div { padding-top: var(--space-sm); color: var(--color-ink-2); }
.sources { font-size: var(--text-sm); color: var(--color-muted); display: grid; gap: var(--space-2xs); overflow-wrap: anywhere; }
.sources a { color: var(--color-muted); }

.site-footer { color: var(--color-ink); border-top: var(--rule-bar, 2px) solid var(--color-ink); padding-block: var(--space-2xl); background: var(--color-paper-2); }
.site-footer .container { display: grid; gap: var(--space-md); }
.site-footer a { color: var(--color-ink-2); font-size: var(--text-sm); }
.site-footer p { font-size: var(--text-sm); max-width: 70ch; }

@media (max-width: 40rem) {
  .bar { flex-wrap: nowrap; flex-direction: column; align-items: stretch; gap: 0; padding-block: var(--space-sm) 0; }
  .site-header nav ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: var(--space-lg); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .site-header nav li { flex: none; }
  .site-header .header-search { display: none; }
  .linklist { columns: 1; }
  .page-head { padding-block: var(--space-xl) var(--space-lg); }
  .actions .btn { flex: 1 1 auto; justify-content: center; }
  .table-wrap { max-height: none; overflow: visible; }
}
.contact { display: grid; gap: var(--space-md); max-width: 40rem; }
.contact label { font-weight: 500; font-size: var(--text-sm); }
.contact input:not([type="hidden"]), .contact select, .contact textarea { width: 100%; min-height: 44px; padding: var(--space-xs) var(--space-md); border: var(--rule-hair) solid var(--color-rule-2, var(--color-ink)); border-radius: var(--radius-pill); background: var(--color-plate, var(--color-paper-2)); color: var(--color-ink); }
.contact :is(input, select, textarea):focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.verdict { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: var(--space-lg); }
.verdict > div { padding: var(--space-lg); border: var(--card-border, var(--rule-hair) solid var(--color-rule)); border-radius: var(--radius-card); background: var(--color-plate, var(--color-paper-2)); }
.verdict h3 { margin-bottom: var(--space-xs); }

:disabled, [aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }

/* Hero search and task links (directory pattern: search first, then common jobs) */
.hero-search { display: grid; gap: var(--space-xs); max-width: 40rem; }
.hero-search label { font-weight: 500; }
.hero-search-row { display: flex; gap: var(--space-xs); }
.hero-search input[type="search"] { flex: 1; min-width: 0; min-height: 52px; font-size: var(--text-md); border-radius: var(--radius-pill); }
.tasks { display: grid; gap: var(--space-xs); }
.tasks p { font-size: var(--text-sm); color: var(--color-muted); }
.tasks ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.tasks a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule-2, var(--color-rule)); border-radius: var(--radius-pill); text-decoration: none; font-size: var(--text-sm); background: var(--color-plate, var(--color-paper-2)); transition: border-color var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out); }
@media (hover: hover) { .tasks a:hover { border-color: var(--color-accent); background: var(--color-accent-soft, var(--color-paper-2)); } }

/* Table tools: text filter, facet chips, count */
.table-tools { display: grid; gap: var(--space-md); }
.table-filter { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); }
.table-filter input { flex: 1 1 16rem; max-width: 28rem; }
.facets { display: grid; gap: var(--space-sm); }
.facet { min-inline-size: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); border: 0; margin: 0; padding: 0; }
.facet legend { padding: 0; margin-block-end: var(--space-2xs); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip > span { display: inline-flex; align-items: center; gap: var(--space-2xs); min-height: 36px; padding: 0 var(--space-sm); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); font-size: var(--text-sm); background: var(--color-paper); transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.chip-n { color: var(--color-muted); font-variant-numeric: tabular-nums; }
.chip input:checked + span { background: var(--color-ink); color: var(--color-paper); border-color: var(--color-ink); }
.chip input:checked + span .chip-n { color: inherit; }
.chip input:focus-visible + span { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.table-count { font-size: var(--text-sm); color: var(--color-muted); }
.btn--small { min-height: 44px; padding-block: var(--space-xs); justify-self: start; }

/* Compare picker */
.picker { display: grid; gap: var(--space-md); padding: var(--space-lg); border: var(--card-border, var(--rule-hair) solid var(--color-rule)); border-radius: var(--radius-card); background: var(--color-plate, var(--color-paper-2)); }
.picker-title { font-family: var(--font-display); font-size: var(--text-title); }
.picker-row { display: flex; flex-wrap: wrap; align-items: end; gap: var(--space-md); }
.picker label { display: grid; gap: var(--space-2xs); flex: 1 1 14rem; font-size: var(--text-sm); font-weight: 500; }
.picker select { min-height: 48px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule-2, var(--color-rule)); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); }
.picker select:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.picker-out:empty { display: none; }
.spec--pair td { width: 40%; }

.code-block { overflow-x: auto; padding: var(--space-md); background: var(--color-paper-2); border-radius: var(--radius-card); font-family: var(--font-outlier); font-size: var(--text-sm); }

/* Tables become labelled cards when their box is narrow */
@container (width < 40rem) {
  .spec, .spec tbody, .spec tr, .spec th, .spec td { display: block; }
  .spec thead { display: none; }
  .spec caption { display: block; }
  .spec tbody tr { padding: var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
  .spec tbody tr:nth-child(even) > * { background: transparent; }
  .spec tbody th { position: static; padding: 0 0 var(--space-2xs); border: 0; font-size: var(--text-md); background: transparent; }
  .spec td { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: var(--space-sm); padding: var(--space-2xs) 0; border: 0; }
  .spec td::before { content: attr(data-label); color: var(--color-muted); font-size: var(--text-sm); }
  .spec td.num { text-align: start; }
}

/* Key takeaways: the first block on entity pages, set apart by a rule, not a box. */
.takeaways { border-block: var(--rule-bar, 2px) solid var(--color-ink); padding-block: var(--space-md); max-width: 72ch; }
.takeaways h2 { margin-top: 0; font-size: var(--text-lg); }
.takeaways .list li { margin-block: var(--space-2xs); }
/* Question headings with the answer directly under each one. */
.qa { max-width: 72ch; }
.qa section { padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.qa h3 { margin: 0 0 var(--space-2xs); font-size: var(--text-lg); }
.qa p { margin: 0; color: var(--color-ink-2); }

/* Key takeaways: 3-6 quotable bullets right under the H1 */
.takeaways { max-width: 72ch; border-inline-start: var(--rule-hair) solid var(--color-accent); padding-inline-start: var(--space-lg); }
.takeaways h2 { font-size: var(--text-lg); margin-block-start: 0; }
.takeaways ul { padding-inline-start: 1.1em; }
.takeaways li + li { margin-block-start: var(--space-xs, .4em); }

/* Free Model Board · Lumen (night) layer over the kit. Colours and faces come only from theme.css tokens. */

body { font-variant-numeric: tabular-nums; line-height: 1.55; }
h1, h2, h3, .wordmark, .site-header nav, thead th, caption, .table-filter label, .takeaways h2, .btn { text-transform: lowercase; }
h1, h2, h3 { font-weight: 400; }
code, .mid, pre { font-family: var(--font-outlier); font-size: 0.8125rem; }
:not(pre) > code { color: var(--color-ink-2); }
a { text-decoration-color: color-mix(in oklab, currentColor 40%, transparent); transition: text-decoration-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
a:hover { text-decoration-color: var(--color-accent); }
a:active { color: var(--color-accent); }

/* Chrome: an edge-aligned bar, the wordmark in the serif. */
.site-header { background: var(--color-paper); border-bottom-color: var(--color-rule); }
.bar { min-height: 72px; padding-block: var(--space-xs); }
.wordmark { font-size: var(--text-xl); }
.site-header nav a { font-weight: 400; color: var(--color-muted); }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--color-ink); text-decoration-color: var(--color-accent); }
input[type="search"] { background: var(--color-paper-2); border-color: var(--color-muted); border-radius: var(--radius-card); }
input[type="search"]::placeholder { color: var(--color-muted); }
input[type="search"]:hover { border-color: var(--color-muted); }

/* Every page: heads a step large, prose in ink-2, a calm measure. */
.page-head { border-bottom: 0; padding-block: var(--space-3xl) var(--space-xl); gap: var(--space-md); }
.page-head h1 { font-size: var(--text-display); line-height: 0.98; max-width: 18ch; }
.page-head .lead { color: var(--color-ink-2); }
.byline { color: var(--color-muted); }
.content { gap: var(--space-lg); padding-block: var(--space-lg) var(--section-gap-s); }
.content > h2 { font-size: var(--text-section); line-height: 1; margin-top: var(--section-gap-s); max-width: 22ch; }
.content > h2 + * { margin-top: var(--space-xs); }
.content > p, .content > ul, .content > ol { color: var(--color-ink-2); max-width: 65ch; }
.crumbs ol { margin-top: var(--space-xl); }

/* Takeaways: a well, the first thing under the head. */
.takeaways { max-width: 72ch; padding: var(--space-xl); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); }
.takeaways h2 { font-family: var(--font-body); font-size: var(--text-sm); letter-spacing: 0; color: var(--color-muted); margin-bottom: var(--space-sm); max-width: none; }
.takeaways ul { margin: 0; padding-inline-start: 1.1em; display: grid; gap: var(--space-sm); color: var(--color-ink); }
.takeaways li::marker { color: var(--color-accent); }

/* The answer and spec wells on model pages. */
.answer { background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-inline-start: 2px solid var(--color-accent); border-radius: var(--radius-card); padding: var(--space-lg) var(--space-xl); }
.answer p { font-size: var(--text-lead); color: var(--color-ink); }
pre { margin: 0; overflow-x: auto; padding: var(--space-lg) var(--space-xl); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); color: var(--color-ink-2); line-height: 1.7; }
pre:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* Tables: hairline rows, the model id in mono under its name, inputs as tags. */
.table-wrap { border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); max-height: none; }
.spec { font-size: var(--text-sm); }
.spec caption { padding: var(--space-md) var(--space-lg); color: var(--color-muted); font-weight: 400; border-bottom: var(--rule-hair) solid var(--color-rule); }
.spec th, .spec td { padding: var(--space-md) var(--space-lg); vertical-align: middle; border-bottom-color: var(--color-rule); }
.spec thead th { position: static; background: var(--color-paper-3); font-weight: 400; color: var(--color-muted); white-space: nowrap; }
.spec .sort { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.spec .sort:hover { color: var(--color-ink); }
.spec tbody th { background: var(--color-paper-2); font-weight: 500; min-width: 14rem; }
.spec tbody tr:last-child > * { border-bottom: 0; }
.spec tbody tr:nth-child(even) > * { background: transparent; }
.spec tbody tr:nth-child(even) > th { background: var(--color-paper-2); }
@media (hover: hover) { .spec tbody tr:hover > * { background: var(--color-paper-3); } }
.spec tbody th a { color: var(--color-ink); text-decoration: none; font-size: var(--text-md); }
.spec tbody th a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.spec .mid { display: block; margin-top: var(--space-3xs); color: var(--color-muted); font-weight: 400; overflow-wrap: anywhere; }
.spec td { color: var(--color-ink-2); }
.tag { padding: var(--space-3xs) var(--space-sm); margin: var(--space-2xs) var(--space-2xs) var(--space-2xs) 0; border-color: var(--color-rule-2); color: var(--color-ink-2); background: var(--color-paper); }
.table-filter { margin-top: var(--space-md); }
.table-filter label { color: var(--color-muted); font-weight: 400; }
.table-filter input { min-height: 48px; }
.table-filter output { font-family: var(--font-outlier); font-size: 0.8125rem; }

/* FAQ as hairline rows. */
.faq { border-top: var(--rule-hair) solid var(--color-rule); }
.faq details { padding-block: var(--space-lg); }
.faq summary { font-family: var(--font-display); font-weight: 400; font-size: var(--text-title); line-height: 1.2; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-outlier); font-size: var(--text-md); color: var(--color-muted); }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--color-ink-2); }
.faq summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: 4px; }
.faq details > div { max-width: 65ch; }

.sources { margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.linklist a, .links a { color: var(--color-ink-2); }

/* Home: the head and the takeaways side by side, then the list, then split sections and a band. */
@media (min-width: 60rem) {
  .page-home main { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }
  .page-home main > * { grid-column: 1 / -1; }
  .page-home .content { display: contents; }
  .page-home .page-head { grid-column: 1 / 7; padding-block: var(--space-3xl) var(--space-xl); }
  .page-home .content > .takeaways { grid-column: 7 / -1; margin-top: var(--space-3xl); max-width: none; }
  .page-home .content > * { grid-column: 1 / -1; }
  .page-home .content > h2:has(+ p):not(#x) { grid-column: 1 / 6; }
  .page-home .content > h2 + p:not(#x) { grid-column: 7 / -1; margin-top: var(--section-gap-s); font-size: var(--text-lead); line-height: 1.5; padding-top: var(--space-xs); }
  .page-home .content > .faq:not(#x) { grid-column: 4 / -1; margin-top: var(--section-gap-s); }
  .page-home .content > .sources { margin-bottom: var(--section-gap-s); }
}
.page-home .page-head h1 { font-size: var(--text-display); max-width: 12ch; }
.page-home .content > h2#which-models-are-free-on-openrouter-in-dec-2026,
.page-home .content > h2[id^="which-models-are-free"] { max-width: 24ch; }

/* The band: a change of paper, edge to edge, the container kept. */
.band { color: var(--color-ink); margin-top: var(--section-gap-s); padding-block: var(--section-gap-s); background: var(--color-paper-2); box-shadow: 0 0 0 100vmax var(--color-paper-2); clip-path: inset(0 -100vmax); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-lg); }
.band h2 { grid-column: 1 / 6; font-size: var(--text-section); line-height: 1; }
.band p { grid-column: 7 / -1; font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink-2); max-width: 52ch; }
@media (max-width: 60rem) { .band h2, .band p { grid-column: 1 / -1; } }

/* Footer: a mast, the wordmark large over the credit and links. */
.site-footer { color: var(--color-ink); background: var(--color-paper); border-top: var(--rule-hair) solid var(--color-rule); padding-block: var(--space-3xl) var(--space-2xl); }
.site-footer .wordmark { font-size: var(--text-display-s); line-height: 1; }
.site-footer a { color: var(--color-ink-2); }
.site-footer a:hover { color: var(--color-ink); }
.site-footer .muted, .site-footer .credit { color: var(--color-muted); }

/* Controls: all states. */
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn--primary:active { background: var(--color-accent); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
input[type="search"]:disabled { opacity: 0.5; cursor: not-allowed; }

@container (width < 40rem) {
  .spec tbody tr { padding: var(--space-md) var(--space-lg); }
  .spec tbody th, .spec tbody tr:nth-child(even) > th { padding: 0 0 var(--space-xs); background: transparent; }
  .spec td { padding: var(--space-2xs) 0; align-items: center; }
  .spec td::before { text-transform: lowercase; }
  .tags { display: flex; flex-wrap: wrap; gap: var(--space-2xs); }
  .tags .tag { margin: 0; }
}
@media (max-width: 40rem) {
  .page-head { padding-block: var(--space-2xl) var(--space-lg); }
  .takeaways { padding: var(--space-lg); }
  .spec tbody th { min-width: 0; }
}
