/*
 * gpufor.com theme. Layout = concept 5b (owner 2026-11-22), measured 1:1 at 1440 px. Light by default, dark on toggle.
 * Faces: IBM Plex Sans for text, JetBrains Mono for the logo, the price strip and run-card prices (as in 5b).
 *
 * Type scale: every font size on the site is one of the nine --t-* steps below (owner: "no vinaigrette of sizes").
 * Phones change the nine steps, never single rules. A size that is not a --t-* token is a bug.
 */
:root {
  --paper: #f7f8fa; --surface: #fff; --ink: #0d1b2a; --muted: #5b6b7f; --rule: #d9dee5;
  --brand: #15803d; --brand-ink: #fff; --price: #15803d; --band: #1a222d; --band-ink: #eef1f5; --band-muted: #9aa6b5;
  --draft: #fff8e6; --draft-rule: #f0d58a; --draft-ink: #6b5410;
  --cover1: #1a222d; --band-light: #ecebe8;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --t-xs: 14px;   /* notes, badges, crumbs, table heads */
  --t-s: 16px;    /* body, tables, base line */
  --t-m: 18px;    /* card lines, dates, footer links, strip, buttons, guide titles */
  --t-l: 21px;    /* list headlines, card headings, search, footer headings */
  --t-xl: 24px;   /* nav, hero lead, card titles, run-card heading and model names */
  --t-2xl: 28px;  /* prices, figures */
  --t-3xl: 34px;  /* section headings, page h1, featured title */
  --t-4xl: 42px;  /* logo, provider names */
  --t-hero: 70px; /* home headline */
}
[data-theme="dark"] {
  --paper: #0b1420; --surface: #111d2c; --ink: #e8edf4; --muted: #93a4b8; --rule: #22324a;
  --brand: #3fb871; --brand-ink: #0b1420; --price: #3fb871; --band: #070c12; --band-ink: #eef1f5; --band-muted: #8a96a6;
  --draft: #2a2412; --draft-rule: #5c4a12; --draft-ink: #e6d7a8;
  --cover1: #18212c; --band-light: #0f1824;
}
@media (max-width: 900px) {
  :root { --t-xs: 13px; --t-s: 15px; --t-m: 16px; --t-l: 16px; --t-xl: 18px; --t-2xl: 21px; --t-3xl: 24px; --t-4xl: 24px; --t-hero: 38px; }
}

* { box-sizing: border-box; }
html { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-s)/1.55 var(--body); font-variant-numeric: tabular-nums; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--body); font-weight: 700; letter-spacing: -.02em; }
.wrap { max-width: 1332px; margin: 0 auto; padding: 0 16px; }

/* Header */
.top { background: var(--surface); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; gap: 44px; height: 92px; }
.logo { font: 600 var(--t-4xl)/1 var(--mono); letter-spacing: -.04em; text-decoration: none; }
.logo b { color: var(--brand); font-weight: 600; }
.top nav { display: flex; gap: 32px; margin-left: 12px; }
.top nav a, .top nav .navsoon { color: var(--ink); font-size: var(--t-xl); text-decoration: none; }
.top nav .navsoon { cursor: default; }
.top nav a.on { font-weight: 600; }
.top nav a:hover { color: var(--brand); }
.icon-btn { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; background: none; color: var(--ink); border-radius: 8px; cursor: pointer; }
.icon-btn svg { width: 28px; height: 28px; }
/* Mouse only: on a phone :hover sticks after a tap and leaves a square behind the icon. */
@media (hover: hover) { .icon-btn:hover { background: var(--paper); } }
.search-btn { margin-left: auto; }
.top .wrap > .toggle { margin-left: -30px; }
.toggle .i-moon, [data-theme="dark"] .toggle .i-sun { display: none; }
.toggle .i-sun, [data-theme="dark"] .toggle .i-moon { display: block; }

/* Price strip */
.strip { background: var(--band); color: var(--band-ink); font: 500 var(--t-m) var(--mono); }
.strip .wrap { display: flex; justify-content: center; align-items: center; gap: 16px; height: 56px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.strip .wrap::-webkit-scrollbar { display: none; }
.strip-l { letter-spacing: .02em; }
.strip a { color: var(--band-ink); text-decoration: none; }
.strip a:hover { text-decoration: underline; }
.strip .dot { width: 6px; height: 6px; background: #4ade80; border-radius: 1px; display: inline-block; }
.chev { vertical-align: -2px; margin-left: 2px; }

/* Shared page parts */
.crumbs { color: var(--muted); font-size: var(--t-xs); margin: 24px 0 6px; }
.crumbs a { text-decoration: none; }
h1 { font-size: var(--t-4xl); line-height: 1.15; margin: 0 0 8px; }
.sub { color: var(--muted); font-size: var(--t-m); margin: 0 0 22px; }
.lead { font-size: var(--t-m); line-height: 1.5; color: var(--muted); margin: 0 0 22px; max-width: 34em; }
.strong { font-weight: 600; }
.dim { color: var(--muted); font-size: var(--t-xs); }
.note { font-size: var(--t-xs); color: var(--muted); margin: 10px 0 0; }
.best { color: var(--price); font-weight: 600; }
.num { text-align: right !important; white-space: nowrap; }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 20px; margin-bottom: 18px; }
.card h2 { font-size: var(--t-xl); margin: 0 0 12px; }
.grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; }
/* Grid children may shrink below their tables' width; the tables scroll inside .scroll instead of widening the page. */
.grid > *, .vs-head > * { min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.kpi { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 14px 16px; text-decoration: none; display: block; }
.kpi .l, .kpi .s { color: var(--muted); font-size: var(--t-xs); }
.kpi .v { font-size: var(--t-2xl); font-weight: 600; }
.scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; }
table.data th { text-align: left; font-size: var(--t-xs); color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--ink); padding: 8px; }
table.data td { border-bottom: 1px solid var(--rule); padding: 11px 8px; vertical-align: top; }
table.data a { text-decoration: none; }
table.data a:hover { color: var(--brand); }
.go { font-size: var(--t-xs); font-weight: 600; text-decoration: none; color: var(--brand); white-space: nowrap; }
.go:hover { text-decoration: underline; }
.ad { border: 1px dashed var(--rule); border-radius: 8px; color: var(--muted); display: grid; place-items: center; font-size: var(--t-xs); margin-bottom: 18px; }
.draft { color: var(--draft-ink); background: var(--draft); border: 1px solid var(--draft-rule); border-radius: 6px; padding: 10px 12px; margin: 0; }
.badge { font-size: var(--t-xs); color: var(--draft-ink); background: var(--draft); border: 1px solid var(--draft-rule); border-radius: 4px; padding: 0 7px; }
.level { background: var(--surface); border-left: 3px solid var(--brand); padding: 10px 14px; margin-bottom: 18px; }
.side dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; }
.side dt { color: var(--muted); }
.side dd { margin: 0; }
details { border-bottom: 1px solid var(--rule); padding: 12px 0; }
summary { font-weight: 600; cursor: pointer; }
.prose { max-width: 40em; font-size: var(--t-m); line-height: 1.65; }
.more { margin-left: auto; font-size: var(--t-m); font-weight: 600; text-decoration: none; color: var(--brand); white-space: nowrap; }
.more:hover { text-decoration: underline; }
.btn-out { display: block; text-align: center; border: 1px solid var(--ink); border-radius: 6px; padding: 8px 12px; font-weight: 600; font-size: var(--t-m); text-decoration: none; margin-top: auto; }
.btn-out:hover { background: var(--ink); color: var(--surface); }
.block { margin-top: 64px; }
.block-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; }
.block-head h2 { font-size: var(--t-3xl); margin: 0; }
.block > .note { font-size: var(--t-s); }

/* Home hero: search on the left, the run card on the right */
.hero2 { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 64px; align-items: center; padding: 72px 0 8px; }
.hero2 h1 { font-size: var(--t-hero); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 18px; }
.hero2 .lead { font-size: var(--t-xl); line-height: 1.35; color: var(--ink); }
.search { position: relative; display: flex; max-width: 800px; margin: 0 0 16px; padding: 7px; background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 1px 2px rgba(13, 27, 42, .06); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: var(--t-l) var(--body); padding: 12px 18px; }
.search input:focus-visible { outline: none; }
.search:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
.search button { border: 0; border-radius: 8px; background: var(--brand); color: var(--brand-ink); font: 500 var(--t-l) var(--body); padding: 0 26px; cursor: pointer; }
/* Home search suggestions: at most 6 rows under the box, name left, where it leads right */
.sugg { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; list-style: none; margin: 0; padding: 6px; background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 6px 20px rgba(13, 27, 42, .12); }
.sugg a { display: flex; justify-content: space-between; gap: 16px; padding: 8px 14px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: var(--t-m); }
.sugg .dim { color: var(--muted); font-size: var(--t-s); white-space: nowrap; }
.sugg li.on a, .sugg a:hover { background: var(--paper); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chips .dim { font-size: var(--t-m); color: var(--ink); }
.chip { font-size: var(--t-m); padding: 3px 12px; border: 1px solid var(--rule); background: var(--surface); border-radius: 999px; text-decoration: none; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.runcard { margin: 0; padding: 24px 24px 12px; border: 1px solid var(--rule); border-radius: 10px; }
.runcard h2 { font-size: var(--t-xl); font-weight: 500; letter-spacing: 0; margin: 0 0 4px; }
.runrow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.runrow:last-of-type { border-bottom: 0; }
.runrow .strong { font-size: var(--t-xl); font-weight: 500; }
.runrow .dim { font-size: var(--t-m); color: var(--ink); }
.runrow:hover .strong { color: var(--brand); }
.runprice { font: 500 var(--t-2xl)/1 var(--mono); letter-spacing: -.02em; color: var(--price); white-space: nowrap; }

/* Compare cards: flat, one hairline, no shadow (owner: as in concept 2), centred text as 5b */
.tiles4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.vs-card { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 22px 18px 18px; display: flex; flex-direction: column; gap: 10px; text-align: center; }
.vs-pics { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px; margin: 0 0 6px; }
.vs-pics img { width: 100%; height: auto; display: block; mix-blend-mode: multiply; }
.vs-pics .vs-x { display: none; }
[data-theme="dark"] .vs-pics img, [data-theme="dark"] .gpu-pic { mix-blend-mode: normal; border-radius: 6px; }
.vs-title { font-size: var(--t-xl); font-weight: 500; letter-spacing: -.01em; }
.vs-prices { font-size: var(--t-2xl); font-weight: 600; white-space: nowrap; }
.vs-prices i { font-style: normal; font-weight: 400; font-size: var(--t-s); margin: 0 4px; }
.vs-mem { font-size: var(--t-m); }
.vs-card .btn-out { margin-top: 8px; }
.gpu-pic { width: 200px; max-width: 50%; height: auto; float: right; margin: -6px -6px 6px 12px; mix-blend-mode: multiply; }

/* Featured story: picture on top fading into a dark title band; price checks beside it as headline + date */
.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: stretch; }
.feature { border-radius: 10px; overflow: hidden; background: #151b24; color: #fff; }
.feature-art { display: block; width: 100%; height: auto; aspect-ratio: 5 / 2; object-fit: cover; }
/* The band starts over the picture and fades it into the dark, as 5b: no hard edge under the photo. */
.feature-text { position: relative; margin-top: -96px; padding: 100px 28px 26px; background: linear-gradient(rgba(21, 27, 36, 0), rgba(21, 27, 36, .8) 56px, #151b24 100px); }
.feature-text h3 { font-size: var(--t-3xl); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 10px; max-width: 22em; }
.byline { color: #c9d1dc; font-size: var(--t-m); }
.updates { margin: 0; padding: 24px; border-radius: 10px; display: flex; flex-direction: column; gap: 14px; }
.updates h2 { font-size: var(--t-3xl); margin: 0 0 2px; }
.update { display: block; text-decoration: none; }
.update .strong { font-size: var(--t-l); line-height: 1.3; }
.update .dim { font-size: var(--t-m); color: var(--ink); opacity: .85; }
.update:hover .strong { color: var(--brand); }

/* Guides: picture + title */
.tiles6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.guide { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.guide-art { aspect-ratio: 8 / 7; overflow: hidden; background: var(--cover1); border-bottom: 1px solid var(--rule); }
.guide-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.guide-title { font-size: var(--t-m); font-weight: 600; line-height: 1.3; padding: 12px 12px 16px; }
.guide:hover .guide-title { color: var(--brand); }

/* Provider band, full bleed */
.provrow { background: var(--band-light); width: 100vw; margin: 64px 0 -80px calc(50% - 50vw); padding: 36px 0; }
.provrow .wrap { display: flex; justify-content: center; flex-wrap: wrap; gap: 72px; }
.provrow a, .provrow span { font-size: var(--t-4xl); font-weight: 600; letter-spacing: -.01em; color: var(--ink); opacity: .8; text-decoration: none; }
.provrow a:hover { opacity: 1; }

/* Compare page */
.vs-head { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vs-head h2 a { text-decoration: none; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 16px; }
.pair dt { color: var(--muted); font-size: var(--t-xs); }
.pair dd { margin: 2px 0 0; font-size: var(--t-2xl); font-weight: 600; }
.pair dd.dim { font-size: var(--t-xs); font-weight: 400; }

/* Footer as 5b: four centred columns, one centred base line */
.foot { background: var(--band); color: var(--band-ink); font-size: var(--t-m); padding: 44px 0 24px; margin-top: 80px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, auto); justify-content: center; column-gap: 140px; row-gap: 28px; }
.foot h4 { font-size: var(--t-l); letter-spacing: 0; margin: 0 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0 0 6px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.soon { color: var(--muted); opacity: .55; cursor: default; }
.foot .soon { color: var(--band-muted); }
.foot-base { text-align: center; margin-top: 36px; font-size: var(--t-s); color: var(--band-muted); }

/* Article layout (concept B, owner pick 2026-11-22): compare pages now, guides on the same frame.
   Title + lead picture, "At a glance", then contents | text | sidebar, author and related at the end. */
.art-head { margin: 4px 0 28px; }
.art-head.has-art { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.art-head h1 { font-size: var(--t-4xl); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 12px; }
.art-by { font-size: var(--t-m); margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.art-lead { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; display: block; }
.glance { padding: 24px; }
.glance h2 { font-size: var(--t-xl); margin: 0 0 16px; }
.glance-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.glance-gpu { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; align-items: center; }
.glance-gpu img { width: 100%; height: auto; mix-blend-mode: multiply; }
[data-theme="dark"] .glance-gpu img { mix-blend-mode: normal; border-radius: 6px; }
.glance-name { font-size: var(--t-xl); font-weight: 600; text-decoration: none; }
.glance-price { font-size: var(--t-2xl); font-weight: 700; line-height: 1.1; color: var(--price); letter-spacing: -.02em; }
.glance-sub { font-size: var(--t-s); }
.verdict { font-size: var(--t-m); line-height: 1.5; margin: 20px 0 0; }
.art-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr) 310px; gap: 32px; margin-top: 32px; align-items: start; }
.toc-d { position: sticky; top: 24px; border-left: 2px solid var(--rule); padding-left: 16px; }
.toc-t { font-size: var(--t-s); font-weight: 600; margin-bottom: 6px; }
.toc a { display: block; padding: 5px 0; font-size: var(--t-s); line-height: 1.35; color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--brand); }
.toc-m { display: none; }
.art-body { font-size: var(--t-m); line-height: 1.6; }
.art-body > p { margin: 0 0 16px; }
.art-body h2 { font-size: var(--t-2xl); line-height: 1.25; margin: 40px 0 14px; scroll-margin-top: 16px; }
.art-body h3 { font-size: var(--t-xl); margin: 28px 0 10px; }
.art-body .ad { margin: 28px 0; }
.art-body table.data { font-size: var(--t-s); line-height: 1.45; }
.art-body .note { font-size: var(--t-xs); }
.art-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 24px; }
.art-side .ad { margin: 0; }
.art-side .updates { gap: 12px; }
.art-side .updates h2 { font-size: var(--t-xl); }
.art-side .update .strong { font-size: var(--t-s); }
.art-side .update .dim { font-size: var(--t-xs); }
.art-foot { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; margin-top: 56px; align-items: start; }
.rel h2 { font-size: var(--t-2xl); margin: 0 0 12px; }
.author h2 { font-size: var(--t-xl); margin: 0 0 10px; }
.author p { margin: 6px 0 0; color: var(--muted); font-size: var(--t-s); }
.tiles3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rel-card { display: flex; flex-direction: column; gap: 12px; background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 16px; text-decoration: none; font-size: var(--t-m); font-weight: 600; }
.rel-card:hover span { color: var(--brand); }

/* Own blocks in the sidebars where ads would go: the run card in a small size and "Compare with" pairs */
.side-run { padding: 18px 20px 12px; }
.side-run h2 { font-size: var(--t-xl); font-weight: 600; margin: 0 0 2px; }
.side-run .runrow { padding: 10px 0; }
.side-run .runrow .strong { font-size: var(--t-m); }
.side-run .runrow .dim { font-size: var(--t-s); }
.side-run .runprice { font-size: var(--t-xl); }
.side-run .note { font-size: var(--t-xs); }
.side-vs { padding: 18px 20px; }
.side-vs h2 { font-size: var(--t-xl); margin: 0 0 8px; }
.side-vs-row { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 600; }
.side-vs-row:last-child { border-bottom: 0; padding-bottom: 0; }
.side-vs-row .vs-pics { margin: 0 0 8px; }
.side-vs-row:hover span { color: var(--brand); }

/* Price pages on the article layout: product shot in the head, facts in At a glance */
.art-grid > * { min-width: 0; } /* tables scroll inside their column instead of widening the page */
.art-grid.no-toc { grid-template-columns: minmax(0, 1fr) 310px; }
.art-side dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: var(--t-s); }
.art-side dt { color: var(--muted); }
.art-side dd { margin: 0; }
.art-product { aspect-ratio: 5 / 3; object-fit: contain; mix-blend-mode: multiply; max-width: 520px; justify-self: end; border-radius: 0; }
[data-theme="dark"] .art-product { mix-blend-mode: normal; border-radius: 10px; }
.facts4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.f-l { font-size: var(--t-s); color: var(--muted); }
.f-v { font-size: var(--t-2xl); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.f-s { font-size: var(--t-s); }
.art-side .specs h2 { font-size: var(--t-xl); }
.vs-noimg { display: grid; place-items: center; aspect-ratio: 5 / 3; background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; font-size: var(--t-s); font-weight: 600; color: var(--muted); }
.buy-bare .pair { margin-top: 4px; }

/* Card picture with its origin under it (data/media.csv) */
.art-fig { margin: 0; justify-self: end; max-width: 560px; width: 100%; }
.art-photo { aspect-ratio: 5 / 3; object-fit: cover; border-radius: 10px; }
.art-cap { font-size: var(--t-xs); color: var(--muted); margin-top: 6px; }
.art-cap a { color: inherit; }

/* Calculators */
.calc { padding: 24px; }
.calc-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.calc-in label { display: flex; flex-direction: column; gap: 6px; font-size: var(--t-s); color: var(--muted); }
.calc-in select, .calc-in input { font: var(--t-m) var(--body); color: var(--ink); background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; padding: 8px 10px; }
.calc-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--rule); }
.calc .note:empty { display: none; }
.tool-body h2:first-of-type { margin-top: 36px; }

/* Calculator controls: segmented buttons and sliders */
.calc { display: flex; flex-direction: column; gap: 22px; }
.ctl { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ctl-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: var(--t-s); color: var(--muted); }
.ctl-h output { font-size: var(--t-m); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.ctl-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px 32px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 7px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); font-size: var(--t-m); color: var(--ink); transition: background .12s, color .12s, border-color .12s; }
.seg label:hover span { border-color: var(--ink); }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.seg input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.calc input[type=range] { width: 100%; accent-color: var(--brand); height: 28px; cursor: pointer; }
.calc .calc-out { margin-top: 0; }

/* Search page */
.search-page { margin: 8px 0 24px; }
.hits { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.hits li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.hits a { text-decoration: none; }
.hits a:hover { color: var(--brand); }

/* Compare head: both cards side by side as the picture */
.art-pair { justify-self: end; width: 100%; max-width: 560px; }
.art-pair .vs-pics { gap: 20px; }

/* Layout breakpoints: geometry only, sizes come from the scale */
@media (max-width: 1100px) {
  .art-grid { grid-template-columns: 180px minmax(0, 1fr); }
  .art-side { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; position: static; }
  .tiles4 { grid-template-columns: repeat(2, 1fr); }
  .tiles6 { grid-template-columns: repeat(3, 1fr); }
  .hero2 { grid-template-columns: 1fr; gap: 40px; }
  .top nav { gap: 20px; margin-left: 0; }
  .top nav a, .top nav .navsoon { font-size: var(--t-m); }
}
@media (max-width: 900px) {
  .grid, .feature-row, .vs-head { grid-template-columns: 1fr; }
  .art-head.has-art, .glance-row, .art-grid, .art-grid.no-toc, .art-foot, .tiles3 { grid-template-columns: 1fr; }
  .art-head.has-art { gap: 20px; }
  .glance-gpu { grid-template-columns: 120px minmax(0, 1fr); gap: 14px; }
  .glance-row { gap: 20px; }
  .toc-d { display: none; }
  .toc-m { display: block; border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); padding: 12px 16px; margin: 0 0 20px; }
  .toc-m summary { list-style-position: inside; }
  .art-side { position: static; flex-direction: column; }
  .art-side > * { width: 100%; }
  .art-foot { margin-top: 32px; }
  .hero2 { gap: 28px; padding-top: 32px; }
  .br-d, .hide-m { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .top .wrap { height: 64px; gap: 14px; }
  .top nav { gap: 12px; }
  .icon-btn { width: 40px; height: 40px; }
  .icon-btn svg { width: 22px; height: 22px; }
  .top .wrap > .toggle { margin-left: -14px; }
  .strip .wrap { justify-content: flex-start; height: 46px; }
  .block { margin-top: 48px; }
  .tiles6 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .feature-text { margin-top: -72px; padding: 72px 22px 22px; background: linear-gradient(rgba(21, 27, 36, 0), #151b24 72px); }
  .provrow { margin-top: 48px; padding: 28px 0; }
  .provrow .wrap { gap: 12px 32px; }
  .foot-cols { grid-template-columns: 1fr 1fr; justify-content: stretch; gap: 28px; }
}
@media (max-width: 560px) {
  .tiles4 { grid-template-columns: 1fr; }
  .search button { padding: 0 14px; }
  /* Logo, nav and two icons do not fit one row: the icons shrank to 24 px and touched (owner 2026-11-23).
     Nav moves to a second row; the icons get a full 44 px tap target with space between. */
  .top .wrap { flex-wrap: wrap; height: auto; gap: 0 6px; padding-top: 8px; padding-bottom: 4px; }
  .top nav { order: 3; width: 100%; gap: 24px; height: 40px; align-items: center; }
  .icon-btn { width: 44px; height: 44px; flex-shrink: 0; }
  .top .wrap > .toggle { margin-left: 0; }
}

/* A wide table inside the article text column: drop the machine details (they stay on the card and provider pages). */
.in-text .hide-m { display: none; }

/* Cards that are links (home guides, featured story, category tiles): no underline on the whole card, only on hover of the title. */
a.guide { text-decoration: none; color: inherit; }
a.feature { text-decoration: none; }  /* keeps .feature's white text */
a.guide:hover .guide-title, a.feature:hover h3 { text-decoration: underline; }

/* Phones: tighter table cells so a price table with its "View offer" column fits the card (QA 2026-11-23: 10 px over). */
@media (max-width: 600px) { table.data th, table.data td { padding-left: 6px; padding-right: 6px; } table.data td.num .dim { white-space: normal; } }

/* ---- Benchmark pages (/benchmarks/*, article meta layout: wide): charts, bars, hover card. Planner #6193. */
/* chart tokens: brand green for MoE, a validated blue for dense (validate_palette.js, light and dark pass) */
:root { --c-moe: #15803d; --c-dense: #3f6aa6; }
[data-theme="dark"] { --c-moe: #3fb871; --c-dense: #5b93e0; }
.bench-glance .tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .bench-glance .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.chart { width: 100%; height: auto; display: block; margin: 12px 0 0; overflow: visible; }
.chart text { font-family: var(--body); fill: var(--ink); }
.chart .lab, .chart .val { font-size: var(--t-xs); }
.chart .val { font-weight: 600; }
.chart .dimv, .chart .tick { fill: var(--muted); font-size: var(--t-xs); }
.chart .grid { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 2 4; }
.chart .track { fill: var(--rule); opacity: .45; }
.chart .bar.moe, .chart .dot.moe { fill: var(--c-moe); } .chart .bar.dense, .chart .dot.dense { fill: var(--c-dense); }
.chart .hitrow { fill: transparent; }
.chart.bars .row, .chart.lines .series { transition: opacity .15s; }
.chart.bars:hover .row { opacity: .35; } .chart.bars .row:hover { opacity: 1; }
.chart.lines:hover .series { opacity: .3; } .chart.lines .series:hover { opacity: 1; }
.chart .zone { fill: var(--rule); opacity: .35; }
.chart .zone-t { fill: var(--muted); font-size: var(--t-xs); }
.chart .ln { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart .ln.moe { stroke: var(--c-moe); } .chart .ln.dense { stroke: var(--c-dense); }
.chart .area { fill: var(--c-moe); opacity: .1; }
.chart .pt { stroke: var(--paper); stroke-width: 2; transition: r .15s; }
.chart .pt.moe { fill: var(--c-moe); } .chart .pt.dense { fill: var(--c-dense); }
.chart .pt:hover, .chart .pt:focus { r: 7; outline: none; } .chart .pt.small:hover, .chart .pt.small:focus { r: 5; }
.chart .pt.late { fill: var(--paper); stroke-width: 2.5; }
.chart .pt.late.moe { stroke: var(--c-moe); } .chart .pt.late.dense { stroke: var(--c-dense); }
.chart-m { display: none; }
@media (max-width: 600px) { .chart-d { display: none; } .chart-m { display: block; } }
/* users-at-comfort bars in HTML: label | track | value; on a phone the track goes under the label */
.hbars { margin-top: 12px; }
.hbars .hb { display: grid; grid-template-columns: 240px minmax(0, 1fr) 200px; gap: 16px; align-items: center; padding: 5px 0; transition: opacity .15s; }
.hbars:hover .hb { opacity: .35; } .hbars .hb:hover { opacity: 1; }
.hb-l { font-size: var(--t-xs); text-align: right; }
.hb-t { height: 12px; border-radius: 6px; background: color-mix(in srgb, var(--rule) 45%, transparent); overflow: hidden; }
.hb-b { display: block; height: 100%; min-width: 12px; border-radius: 6px; }
.hb-b.moe { background: var(--c-moe); } .hb-b.dense { background: var(--c-dense); }
.hb-v { font-size: var(--t-xs); line-height: 1.3; white-space: nowrap; } .hb-v b { font-weight: 600; margin-right: 8px; } .hb-v .dimv { color: var(--muted); font-weight: 500; }
.hb-v .dim { color: var(--muted); }
.hb-note { margin-left: 256px; }
@media (max-width: 600px) {
  .hbars .hb { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 6px 0; }
  .hb-l { text-align: left; } .hb-t { grid-column: 1 / -1; grid-row: 2; } .hb-v { text-align: right; }
  .hb-note { margin-left: 0; }
}
/* first table column stays put while the numbers scroll sideways on a phone */
.art-grid.wide table.data th:first-child, .art-grid.wide table.data td:first-child { position: sticky; left: 0; background: var(--paper); z-index: 1; }
@media (max-width: 600px) { .art-grid.wide table.data td:first-child { min-width: 150px; } }
.axis-note { font-size: var(--t-xs); color: var(--muted); margin-top: 4px; }
.tip { position: fixed; z-index: 50; pointer-events: none; background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 10px 12px; font-size: var(--t-xs); line-height: 1.45; color: var(--ink); max-width: 260px; opacity: 0; transition: opacity .12s; }
.tip b { display: block; font-size: var(--t-s); margin-bottom: 2px; }
.tip.on { opacity: 1; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: var(--t-xs); color: var(--muted); }
.key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
/* page geometry: contents + one wide column. Text runs the full column width like the tables and charts
   (owner 2026-11-30: a 760px cap made the text blocks look narrower than the rest) */
.art-grid.wide { grid-template-columns: 220px minmax(0, 1fr); }
@media (max-width: 900px) { .art-grid.wide { grid-template-columns: 1fr; } }
.key.moe { background: var(--c-moe); } .key.dense { background: var(--c-dense); }
