/* GPU Desk. One typeface (Geist, SIL OFL 1.1, self-hosted), ink + paper + one green accent, light and dark.
   Contrast checked: body text 16.9:1, secondary 7.3:1, tertiary 5.4:1, accent links 5.8:1, control borders 3.6:1
   (light mode; dark mode is higher). No inline styles anywhere (the CSP forbids them), so every layout lives here. */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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: "Geist";
  src: url("/assets/fonts/geist-latin-ext-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light dark;
  --paper: oklch(0.993 0.002 170);
  --paper-2: oklch(0.972 0.004 170);
  --paper-3: oklch(0.95 0.006 170);
  --ink: oklch(0.22 0.016 200);
  --ink-2: oklch(0.45 0.014 200);
  --ink-3: oklch(0.52 0.012 200);
  --rule: oklch(0.915 0.005 190);
  --rule-2: oklch(0.86 0.006 190);
  --control: oklch(0.62 0.01 200);
  --accent: oklch(0.49 0.105 162);
  --accent-ink: oklch(0.42 0.09 162);
  --accent-hover: oklch(0.44 0.1 162);
  --on-accent: oklch(0.993 0.002 170);
  --tint: oklch(0.955 0.03 162);
  --warn: oklch(0.5 0.11 65);
  --warn-tint: oklch(0.962 0.035 85);
  --band: oklch(0.235 0.03 190);
  --band-ink: oklch(0.97 0.006 170);
  --band-ink-2: oklch(0.8 0.015 180);
  --band-accent: oklch(0.82 0.13 162);
  --dot-abroad: oklch(0.6 0.01 200);
  --err: oklch(0.5 0.17 27);
  /* isometric art: t = top face, r = right face, l = left face */
  --pcb-t: oklch(0.44 0.06 180); --pcb-r: oklch(0.36 0.055 180); --pcb-l: oklch(0.3 0.05 180);
  --al-t: oklch(0.93 0.006 200); --al-r: oklch(0.8 0.008 200); --al-l: oklch(0.71 0.01 200);
  --fin-t: oklch(0.985 0.003 200); --fin-r: oklch(0.87 0.008 200); --fin-l: oklch(0.76 0.01 200);
  --lit-t: oklch(0.92 0.08 162); --lit-r: oklch(0.74 0.13 162); --lit-l: oklch(0.6 0.12 162);
  --vrm-t: oklch(0.34 0.01 200); --vrm-r: oklch(0.27 0.01 200); --vrm-l: oklch(0.22 0.01 200);
  --glow: oklch(0.82 0.15 162);
  --art-shadow: oklch(0.3 0.04 190 / 0.2);

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.8125rem;
  --fs-ui: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.875rem;
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;
  --wrap: 75rem;
  --gutter: 1.5rem;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: oklch(0.175 0.009 200);
    --paper-2: oklch(0.205 0.01 200);
    --paper-3: oklch(0.235 0.011 200);
    --ink: oklch(0.955 0.004 180);
    --ink-2: oklch(0.78 0.01 190);
    --ink-3: oklch(0.68 0.01 190);
    --rule: oklch(0.29 0.01 200);
    --rule-2: oklch(0.35 0.01 200);
    --control: oklch(0.54 0.01 200);
    --accent: oklch(0.8 0.12 162);
    --accent-ink: oklch(0.84 0.11 162);
    --accent-hover: oklch(0.86 0.11 162);
    --on-accent: oklch(0.175 0.009 200);
    --tint: oklch(0.27 0.04 162);
    --warn: oklch(0.83 0.11 80);
    --warn-tint: oklch(0.27 0.04 80);
    --band: oklch(0.235 0.02 190);
    --dot-abroad: oklch(0.62 0.01 200);
    --err: oklch(0.78 0.13 27);
    --pcb-t: oklch(0.36 0.05 180); --pcb-r: oklch(0.29 0.045 180); --pcb-l: oklch(0.25 0.04 180);
    --al-t: oklch(0.62 0.01 200); --al-r: oklch(0.5 0.01 200); --al-l: oklch(0.43 0.01 200);
    --fin-t: oklch(0.76 0.008 200); --fin-r: oklch(0.57 0.01 200); --fin-l: oklch(0.46 0.01 200);
    --lit-t: oklch(0.92 0.1 162); --lit-r: oklch(0.76 0.14 162); --lit-l: oklch(0.62 0.12 162);
    --vrm-t: oklch(0.24 0.01 200); --vrm-r: oklch(0.19 0.01 200); --vrm-l: oklch(0.16 0.01 200);
    --art-shadow: oklch(0 0 0 / 0.45);
  }
}

/* ---------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 { line-height: 1.15; margin: 0; font-weight: 640; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); letter-spacing: -0.035em; line-height: 1.04; font-weight: 660; }
h2 { font-size: var(--fs-lg); }
h3 { font-size: var(--fs-md); }
p { margin: 0; text-wrap: pretty; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); }
img, svg { display: block; }
.num, .p, time, .t-price, .f-val { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--tint); color: var(--ink); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 0.75rem; top: -3rem; z-index: 10; background: var(--ink); color: var(--paper); padding: 0.5rem 0.875rem; border-radius: var(--r-sm); }
.skip:focus { top: 0.75rem; }
.sample { margin: 0; padding: 0.625rem var(--gutter); background: var(--warn-tint); color: var(--warn); font-weight: 600; font-size: var(--fs-ui); text-align: center; }

/* ---------------------------------------------------------------- header and footer */

header.site { border-bottom: 1px solid var(--rule); background: var(--paper); }
.bar { display: flex; align-items: center; gap: 1rem; min-height: 3.75rem; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; margin-right: auto; color: var(--ink); text-decoration: none; font-weight: 680; font-size: 1.0625rem; letter-spacing: -0.02em; min-height: 44px; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand img { border-radius: 6px; }
nav.main { display: flex; align-items: center; gap: 0.25rem; }
nav.main a { color: var(--ink-2); text-decoration: none; font-size: var(--fs-ui); font-weight: 520; padding: 0.5rem 0.625rem; border-radius: var(--r-sm); min-height: 40px; display: inline-flex; align-items: center; white-space: nowrap; transition: background-color 150ms var(--ease), color 150ms var(--ease); }
nav.main a:hover { color: var(--ink); background: var(--paper-2); }
nav.main a[aria-current] { color: var(--ink); }
nav.main a[aria-current="page"] { font-weight: 620; }

footer.site { margin-top: 6rem; border-top: 1px solid var(--rule); background: var(--paper-2); color: var(--ink-2); font-size: var(--fs-sm); }
footer.site .wrap { padding-block: 2.5rem 3rem; display: grid; gap: 1.25rem; }
.foot-top { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: baseline; }
.foot-top p { max-width: 36rem; }
.foot-top b { color: var(--ink); font-weight: 620; }
footer nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
footer nav a { color: var(--ink-2); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
footer nav a:hover { color: var(--ink); text-decoration: underline; }
.co { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; color: var(--ink-3); font-size: var(--fs-xs); line-height: 1.6; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.co a { color: var(--ink-2); }

/* ---------------------------------------------------------------- buttons and controls */

.btn, form.quote button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 44px; padding: 0.625rem 1.125rem; border: 0; border-radius: var(--r);
  background: var(--accent); color: var(--on-accent); font: inherit; font-size: var(--fs-ui); font-weight: 600;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 150ms var(--ease), transform 120ms var(--ease);
}
.btn:hover, form.quote button[type="submit"]:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn:active, form.quote button[type="submit"]:active { transform: scale(0.97); }
.btn.quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule-2); }
.btn.quiet:hover { background: var(--paper-2); color: var(--ink); }
nav.main a.btn { margin-left: 0.375rem; min-height: 38px; padding: 0.5rem 0.875rem; border-radius: var(--r-sm); background: var(--accent); color: var(--on-accent); font-weight: 600; }
nav.main a.btn:hover { background: var(--accent-hover); color: var(--on-accent); }

input, select, textarea { font: inherit; color: var(--ink); }
input[type="text"], input[type="search"], input[type="email"], input[type="number"], input[type="date"], input:not([type]), select, textarea {
  width: 100%; min-height: 44px; padding: 0.5625rem 0.75rem; border: 1px solid var(--control); border-radius: var(--r-sm);
  background: var(--paper); font-size: var(--fs-base);
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
input:hover, select:hover, textarea:hover { border-color: var(--ink-3); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent) 22%, transparent); }
select { appearance: none; -webkit-appearance: none; padding-right: 2.25rem; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 1.125rem) 50%, calc(100% - 0.8125rem) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
textarea { min-height: 7rem; resize: vertical; line-height: 1.5; }
::placeholder { color: var(--ink-3); opacity: 1; }

/* segmented control (a radio group) */
.seg { display: inline-flex; padding: 3px; border: 0; margin: 0; min-width: 0; border-radius: var(--r); background: var(--paper-3); gap: 2px; }
.seg legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.seg label { position: relative; display: inline-flex; }
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 34px; padding: 0.25rem 0.75rem; border-radius: 7px; font-size: var(--fs-ui); font-weight: 520; color: var(--ink-2); white-space: nowrap; transition: background-color 150ms var(--ease), color 150ms var(--ease), box-shadow 150ms var(--ease); }
.seg label:hover span { color: var(--ink); }
.seg input:checked + span { background: var(--paper); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px oklch(0.22 0.02 200 / 0.12), 0 0 0 1px var(--rule); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }

/* switch (a checkbox) */
.switch { display: inline-flex; align-items: center; gap: 0.625rem; min-height: 40px; cursor: pointer; font-size: var(--fs-ui); font-weight: 520; color: var(--ink); user-select: none; }
.switch input { appearance: none; -webkit-appearance: none; margin: 0; width: 2.25rem; height: 1.375rem; border-radius: 999px; background: var(--control); position: relative; cursor: pointer; flex: none; transition: background-color 150ms var(--ease); }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 1rem; height: 1rem; border-radius: 50%; background: var(--paper); box-shadow: 0 1px 2px oklch(0 0 0 / 0.25); transition: transform 180ms var(--ease); }
.switch input:checked { background: var(--accent); }
.switch input:checked::after { transform: translateX(0.875rem); }
.switch input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------------------------------------------------------------- page heads */

.hero { padding-block: clamp(2.25rem, 1.25rem + 4vw, 4.5rem) 0.5rem; display: grid; gap: 1.125rem; max-width: 50rem; }
.hero .lede { font-size: var(--fs-md); color: var(--ink-2); max-width: 38rem; }
.hero.has-art { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 31rem); align-items: center; gap: 2rem 3.5rem; }
.hero-text { display: grid; gap: 1.125rem; min-width: 0; }
.hero-art { position: relative; perspective: 1100px; padding-bottom: 1.5rem; }
.tilt { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 700ms var(--ease); }
.iso { display: block; height: auto; overflow: visible; }
.iso.board { width: 100%; filter: drop-shadow(0 28px 28px var(--art-shadow)); }
.iso polygon { stroke-linejoin: round; }
.iso .bt { fill: var(--pcb-t); } .iso .br { fill: var(--pcb-r); } .iso .bl { fill: var(--pcb-l); }
.iso .st { fill: var(--al-t); } .iso .sr { fill: var(--al-r); } .iso .sl { fill: var(--al-l); }
.iso .ft { fill: var(--fin-t); } .iso .fr { fill: var(--fin-r); } .iso .fl { fill: var(--fin-l); }
.iso .at { fill: var(--lit-t); } .iso .ar { fill: var(--lit-r); } .iso .al { fill: var(--lit-l); }
.iso .vt { fill: var(--vrm-t); } .iso .vr { fill: var(--vrm-r); } .iso .vl { fill: var(--vrm-l); }
.iso .fr, .iso .ar { stroke: oklch(0 0 0 / 0.07); stroke-width: 0.5; }
.iso .fan { fill: var(--vrm-l); }
.iso .fan2 { fill: var(--vrm-t); }
.iso .hub { fill: var(--al-r); }
.iso .glow { fill: url(#g-glow); }
.iso .g0 { stop-color: var(--glow); stop-opacity: 0.75; }
.iso .g1 { stop-color: var(--glow); stop-opacity: 0; }
.chip { position: absolute; left: 0; bottom: 0; display: grid; gap: 0.125rem; padding: 0.75rem 1rem 0.8125rem; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-lg); box-shadow: 0 1px 2px oklch(0 0 0 / 0.06), 0 12px 28px -8px var(--art-shadow); color: var(--ink); text-decoration: none; transition: border-color 150ms var(--ease), transform 120ms var(--ease); }
.chip:hover { border-color: var(--accent); color: var(--ink); }
.chip:active { transform: scale(0.97); }
.chip .c-k { font-size: var(--fs-xs); color: var(--ink-3); }
.chip .c-v { font-size: 1.5rem; font-weight: 640; letter-spacing: -0.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.chip .c-v small { font-size: var(--fs-sm); font-weight: 400; letter-spacing: 0; color: var(--ink-3); margin-left: 0.375rem; }
.chip .c-w { font-size: var(--fs-xs); color: var(--ink-2); }
.chip .c-in { font-size: var(--fs-xs); color: var(--ink-2); margin-top: 0.375rem; padding-top: 0.4375rem; border-top: 1px solid var(--rule); }
.chip .c-in b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.t-loc::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 0.3125rem; vertical-align: 0.06em; box-shadow: inset 0 0 0 1.25px var(--dot-abroad); }
.t-loc.in::before { background: var(--accent); box-shadow: none; }
.page-head { padding-block: 1.75rem 1.5rem; display: grid; gap: 0.75rem; max-width: 52rem; }
.page-head h1 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.1; }
.page-head .lede { font-size: var(--fs-md); color: var(--ink-2); }
.page-head.has-art { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem 3rem; }
.head-text { display: grid; gap: 0.75rem; max-width: 52rem; min-width: 0; }
.iso.module { width: 9.5rem; margin-right: 1.5rem; filter: drop-shadow(0 16px 16px var(--art-shadow)); }
.iso.card { width: 12rem; margin-right: 1rem; filter: drop-shadow(0 16px 16px var(--art-shadow)); }
.crumb { font-size: var(--fs-sm); color: var(--ink-3); display: flex; gap: 0.5rem; align-items: center; }
.crumb a { color: var(--ink-2); text-decoration: none; }
.crumb a:hover { color: var(--ink); text-decoration: underline; }
.meta { font-size: var(--fs-sm); color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.meta a { color: var(--ink-2); }
.meta .live { color: var(--ink-2); }
.meta .live::before { content: ""; display: inline-block; vertical-align: 0.1em; width: 7px; height: 7px; margin-right: 0.4375rem; border-radius: 50%; background: var(--accent); }

section { margin-top: 3.5rem; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.375rem 1.5rem; margin-bottom: 1rem; }
.sec-head p { color: var(--ink-3); font-size: var(--fs-sm); }
.sec-head > a { font-size: var(--fs-ui); font-weight: 560; text-decoration: none; }
.sec-head > a:hover { text-decoration: underline; }

/* find a GPU */
.find { display: grid; gap: 0.5rem; max-width: 34rem; margin-top: 0.75rem; }
.find label { font-size: var(--fs-sm); font-weight: 560; color: var(--ink-2); }
.find .row { display: flex; gap: 0.5rem; }
.find input { font-size: var(--fs-base); min-height: 48px; border-radius: var(--r); padding-left: 0.875rem; }
.find .btn { min-height: 48px; }

/* ---------------------------------------------------------------- the board (home) */

.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; background: var(--rule); gap: 1px; }
.tiles li { display: flex; background: var(--paper); min-width: 0; }
.tile { flex: 1; display: flex; flex-direction: column; padding: 1.25rem 1.25rem 1.125rem; color: var(--ink); text-decoration: none; transition: background-color 150ms var(--ease); min-width: 0; }
.tile:hover { background: var(--paper-2); color: var(--ink); }
.tile:hover .t-name { color: var(--accent-ink); }
.tile:focus-visible { outline-offset: -3px; border-radius: 0; }
.t-head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
.t-name { font-weight: 640; font-size: 1.0625rem; letter-spacing: -0.015em; transition: color 150ms var(--ease); }
.t-n { font-size: var(--fs-xs); color: var(--ink-3); white-space: nowrap; }
.t-price { margin-top: 0.875rem; display: flex; align-items: baseline; gap: 0.375rem; flex-wrap: wrap; }
.t-price b { font-size: var(--fs-xl); font-weight: 640; letter-spacing: -0.035em; line-height: 1; }
.t-price small { font-size: var(--fs-sm); color: var(--ink-3); }
.t-who { margin-top: 0.375rem; font-size: var(--fs-sm); color: var(--ink-2); }
.t-who .t-loc { display: block; margin-top: 0.125rem; color: var(--ink-3); }
.t-strip { display: block; margin-top: 0.875rem; }
.t-strip svg { display: block; width: 100%; height: 14px; overflow: visible; }
.t-strip line { stroke: var(--rule-2); stroke-width: 1; }
.t-strip circle { fill: var(--paper); stroke: var(--dot-abroad); stroke-width: 1.25; }
.t-strip circle.in { fill: var(--accent); stroke: var(--paper); stroke-width: 1; }
.t-range { display: flex; justify-content: space-between; font-size: 0.6875rem; color: var(--ink-3); margin-top: 0.125rem; font-variant-numeric: tabular-nums; }
.sec-head .k-in, .sec-head .k-ab { white-space: nowrap; margin-left: 0.375rem; }
.sec-head .k-in::before, .sec-head .k-ab::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 0.3125rem; vertical-align: 0.04em; }
.sec-head .k-in::before { background: var(--accent); }
.sec-head .k-ab::before { box-shadow: inset 0 0 0 1.25px var(--dot-abroad); }
.t-more { margin: auto 0 0; padding-top: 1rem; display: grid; grid-template-columns: auto 1fr; gap: 0.3125rem 0.75rem; font-size: var(--fs-sm); }
.t-more::before { content: ""; grid-column: 1 / -1; border-top: 1px solid var(--rule); margin-bottom: 0.4375rem; }
.t-more dt { color: var(--ink-3); }
.t-more dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; font-weight: 560; color: var(--ink); white-space: nowrap; }
.t-more dd.na { color: var(--ink-3); font-weight: 400; }
.t-more .gov { color: var(--ink-2); }
.gpus td.num .tag { margin: 0 0.375rem 0 0; }
.t-more dd .tag { display: block; width: fit-content; margin: 0.1875rem 0 0 auto; }

/* ---------------------------------------------------------------- tables */

.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-ui); }
.tbl caption { caption-side: top; text-align: left; color: var(--ink-3); font-size: var(--fs-sm); padding: 0 0 0.75rem; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 0.75rem 0.875rem; border-bottom: 1px solid var(--rule); }
.tbl thead th { position: sticky; top: 0; z-index: 1; background: var(--paper-2); color: var(--ink-2); font-size: var(--fs-xs); font-weight: 560; letter-spacing: 0.01em; padding-block: 0.625rem; border-bottom: 1px solid var(--rule-2); white-space: nowrap; vertical-align: bottom; }
.tbl .num { text-align: right; }
.tbl tbody tr { transition: background-color 120ms var(--ease); }
.tbl tbody tr:hover { background: var(--paper-2); }
.tbl tbody th { font-weight: 600; }
.panel { border: 1px solid var(--rule); border-radius: var(--r-lg); background: var(--paper); overflow: clip; }
.panel .tbl tbody:last-of-type tr:last-child > * { border-bottom: 0; }
.panel caption { padding: 0.875rem 1rem; border-bottom: 1px solid var(--rule); }

/* sort buttons (assets/table.js wraps each sortable header in one) */
.tbl thead th[data-sort] { padding: 0; }
.tbl thead th[data-sort] > button { all: unset; box-sizing: border-box; display: flex; align-items: flex-end; gap: 0.25rem; width: 100%; min-height: 40px; padding: 0.625rem 0.875rem; cursor: pointer; color: inherit; font: inherit; }
.tbl thead th.num[data-sort] > button { justify-content: flex-end; }
.tbl thead th[data-sort] > button:hover { color: var(--ink); }
.tbl thead th[data-sort] > button:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; border-radius: 6px; }
.tbl thead th[aria-sort] { color: var(--ink); }
.arr { color: var(--ink-3); width: 0.875em; display: inline-block; text-align: center; }
th[aria-sort] .arr { color: var(--accent-ink); }
.tbl thead .sub { color: var(--ink-3); font-weight: 450; }

/* GPU index (home) */
.gpus tbody th a { color: var(--ink); text-decoration: none; font-weight: 600; }
.gpus tbody th a::after { content: ""; position: absolute; inset: 0; }
.gpus tbody tr { position: relative; }
.gpus tbody tr:hover th a { color: var(--accent-ink); }
.gpus .spec { display: block; color: var(--ink-3); font-size: var(--fs-xs); font-weight: 400; margin-top: 0.125rem; }
.gpus td .who { display: block; color: var(--ink-3); font-size: var(--fs-xs); margin-top: 0.125rem; font-weight: 400; }
.gpus td.num { font-weight: 560; white-space: nowrap; }
.gpus td.na { color: var(--ink-3); font-weight: 400; }
.gpus td.cnt { color: var(--ink-2); font-weight: 400; }

/* offers table */
.prices th[scope="row"] { min-width: 12rem; }
.prices .loc { display: flex; align-items: center; gap: 0.4375rem; margin-top: 0.1875rem; font-weight: 400; font-size: var(--fs-sm); color: var(--ink-2); }
.prices .loc::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--dot-abroad); }
.prices .loc.in::before { background: var(--accent); box-shadow: none; }
.prices .per { display: block; color: var(--ink-3); font-size: var(--fs-sm); }
.prices td.tm { color: var(--ink-2); white-space: nowrap; }
.prices td.p { white-space: nowrap; }
.prices td.p .v { font-size: var(--fs-base); font-weight: 620; letter-spacing: -0.01em; }
.prices td.t { color: var(--ink-2); white-space: nowrap; }
.prices td.src a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 0.2em; white-space: nowrap; }
.prices td.src a:hover { color: var(--accent-ink); text-decoration: underline; }
.prices tr.stale td, .prices tr.stale th { color: var(--ink-3); }
.prices tr.stale td.p .v { font-weight: 500; }
.prices tr.gh th { background: var(--paper-2); color: var(--ink-2); font-weight: 450; font-size: var(--fs-sm); padding-block: 0.625rem; }
.prices tr.gh:hover { background: transparent; }
.prices tbody.more td, .prices tbody.empty td { text-align: center; padding: 1.25rem; color: var(--ink-2); }
.prices tbody.more button, .prices tbody.empty button { font: inherit; font-size: var(--fs-ui); font-weight: 600; min-height: 44px; padding: 0.5rem 1.125rem; margin-left: 0.75rem; border: 0; border-radius: var(--r); background: var(--paper-3); color: var(--ink); cursor: pointer; transition: background-color 150ms var(--ease), transform 120ms var(--ease); }
.prices tbody.more button { margin-left: 0; }
.prices tbody.more button:hover, .prices tbody.empty button:hover { background: var(--rule); }
.prices tbody.more button:active, .prices tbody.empty button:active { transform: scale(0.97); }
.prices tbody.more tr:hover, .prices tbody.empty tr:hover { background: transparent; }

/* note disclosure: a small "i" after the provider; opens the fetcher's note under it */
details.nt { display: inline; font-weight: 400; }
details.nt summary { display: inline-flex; align-items: center; justify-content: center; vertical-align: 0.0625em; width: 1.125rem; height: 1.125rem; margin-left: 0.3125rem; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--rule-2); color: var(--ink-3); font-family: Georgia, serif; font-size: 0.75rem; font-weight: 700; font-style: italic; cursor: pointer; list-style: none; position: relative; user-select: none; }
details.nt summary::-webkit-details-marker { display: none; }
details.nt summary::before { content: ""; position: absolute; inset: -0.75rem; }
details.nt summary:hover, details.nt[open] summary { color: var(--accent-ink); box-shadow: inset 0 0 0 1px var(--accent); }
details.nt p { display: block; margin-top: 0.5rem; padding: 0.625rem 0.75rem; max-width: 28rem; border-radius: var(--r-sm); background: var(--paper-3); color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.5; white-space: normal; }

/* status tags */
.tag { display: inline-block; vertical-align: 0.125em; margin-left: 0.375rem; padding: 0.0625rem 0.4375rem; border-radius: 5px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.02em; line-height: 1.45; white-space: nowrap; }
.t-unv, .t-rev { background: var(--warn-tint); color: var(--warn); }
.t-stale { background: var(--paper-3); color: var(--ink-2); }
.t-gov { background: var(--paper-3); color: var(--ink-2); letter-spacing: 0; }

/* toolbar */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; margin-bottom: 1rem; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.625rem 1rem; }
.filters .fld { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--fs-ui); color: var(--ink-2); }
.filters .fld select { width: auto; min-width: 13rem; min-height: 40px; font-size: var(--fs-ui); padding-block: 0.4375rem; }
.filters .fld.search input { width: 15rem; min-height: 40px; font-size: var(--fs-ui); padding-block: 0.4375rem; }
.clear { font: inherit; font-size: var(--fs-ui); font-weight: 560; min-height: 40px; padding: 0.375rem 0.75rem; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--accent-ink); cursor: pointer; }
.clear:not(.on) { display: none; }
.clear:hover { background: var(--paper-2); }
.count { font-size: var(--fs-sm); color: var(--ink-3); }
.count #count { color: var(--ink-2); }
.under { margin-top: 0.75rem; font-size: var(--fs-sm); color: var(--ink-3); display: grid; gap: 0.25rem; max-width: 52rem; }
.under .off { display: none; }

/* ---------------------------------------------------------------- GPU page */

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; gap: 1px; background: var(--rule); margin: 0; }
.facts > div { background: var(--paper); padding: 1.125rem 1.25rem 1.25rem; display: grid; gap: 0.25rem; align-content: start; min-width: 0; }
.facts dt { font-size: var(--fs-sm); color: var(--ink-2); }
.facts dd { margin: 0; }
.facts .f-val { display: block; font-size: 1.625rem; font-weight: 640; letter-spacing: -0.03em; line-height: 1.15; }
.facts .f-who { display: block; font-size: var(--fs-sm); color: var(--ink-3); margin-top: 0.25rem; }
.facts .na .f-val { font-size: var(--fs-base); font-weight: 500; color: var(--ink-3); letter-spacing: 0; line-height: 1.4; }
.facts .gov .f-val { color: var(--ink-2); }
.facts .f-val .tag { vertical-align: 0.5em; }

.lanes { margin: 1rem 0 0; padding: 1rem 1.25rem 0.5rem; border: 1px solid var(--rule); border-radius: var(--r-lg); }
.lanes-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; margin-bottom: 0.5rem; font-size: var(--fs-sm); color: var(--ink-2); }
.lanes-head b { color: var(--ink); font-weight: 600; }
.key { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; color: var(--ink-3); }
.key span { display: inline-flex; align-items: center; gap: 0.375rem; }
.key span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; }
.key .k-in::before { background: var(--accent); }
.key .k-ab::before { box-shadow: inset 0 0 0 1.5px var(--dot-abroad); }
.key .k-lo::before { box-shadow: inset 0 0 0 2px var(--ink); }
.lane { display: grid; grid-template-columns: 6.5rem 1fr; align-items: center; min-height: 2.5rem; border-top: 1px solid var(--rule); }
.lanes-head + .lane { border-top: 0; }
.lane > span { font-size: var(--fs-sm); color: var(--ink-2); }
.lane svg, .axis svg { width: 100%; overflow: visible; }
.lane svg { height: 2.5rem; }
.lane circle { fill: var(--paper); stroke: var(--dot-abroad); stroke-width: 1.5; }
.lane circle.in { fill: var(--accent); stroke: var(--paper); stroke-width: 1; }
.lane circle.lo { stroke: var(--ink); stroke-width: 2; }
.lane circle:hover { stroke: var(--ink); stroke-width: 2; }
.axis { display: grid; grid-template-columns: 6.5rem 1fr; border-top: 1px solid var(--rule-2); }
.axis svg { height: 1.75rem; }
.axis text { fill: var(--ink-3); font-size: 11px; font-family: var(--sans); font-variant-numeric: tabular-nums; }
.axis line { stroke: var(--rule-2); }
.gapchart .lane svg { overflow: visible; }
.gapchart line.zero { stroke: var(--rule-2); stroke-width: 1; }
.gapchart rect.in { fill: var(--accent); }
.gapchart rect.up { fill: var(--ink-3); }
.gapchart rect:hover { stroke: var(--ink); stroke-width: 1.5; }
.gapchart .lane text { fill: var(--ink-2); font-size: 11px; font-family: var(--sans); font-variant-numeric: tabular-nums; }
.gapchart .lane a { color: inherit; text-decoration: none; }
.gapchart .lane a:hover { color: var(--ink); text-decoration: underline; }
.key .k-bar::before, .key .k-up::before { border-radius: 2px; }
.key .k-up::before { background: var(--ink-3); }

.gap-line { font-size: var(--fs-base); color: var(--ink-2); max-width: 46rem; margin-bottom: 1.25rem; }
.gap-line b { color: var(--ink); font-weight: 600; }

dl.defs { margin: 0; display: grid; grid-template-columns: minmax(8rem, 13rem) 1fr; border-top: 1px solid var(--rule); }
dl.defs dt, dl.defs dd { padding: 0.875rem 0; border-bottom: 1px solid var(--rule); margin: 0; }
dl.defs dt { font-weight: 600; padding-right: 1.5rem; }
dl.defs dt .tag { margin-left: 0; }
dl.defs dd { color: var(--ink-2); max-width: 44rem; }

/* ---------------------------------------------------------------- quote band */

.band { margin-top: 4rem; background: var(--band); color: var(--band-ink); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem; }
.band h2 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); letter-spacing: -0.025em; max-width: 34rem; }
.band p { color: var(--band-ink-2); margin-top: 0.5rem; max-width: 38rem; }
.band .btn { background: var(--band-accent); color: var(--band); min-height: 48px; padding-inline: 1.375rem; font-size: var(--fs-base); }
.band .btn:hover { background: oklch(0.87 0.12 162); color: var(--band); }
.band :focus-visible { outline-color: var(--band-accent); }
@media (prefers-color-scheme: dark) { .band { box-shadow: inset 0 0 0 1px var(--rule-2); } }

/* ---------------------------------------------------------------- quote page */

.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 3rem; align-items: start; }
form.quote { display: grid; gap: 2rem; max-width: 42rem; }
form.quote fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1rem; min-width: 0; }
form.quote legend { font-weight: 640; font-size: var(--fs-md); letter-spacing: -0.015em; padding: 0; margin-bottom: 1rem; }
form.quote .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.f { display: grid; gap: 0.375rem; align-content: start; }
.f > label { font-size: var(--fs-ui); font-weight: 560; }
.f .opt { color: var(--ink-3); font-weight: 400; }
.f .err { color: var(--err); font-size: var(--fs-sm); font-weight: 500; }
.f [aria-invalid="true"] { border-color: var(--err); }
.consent { display: flex; gap: 0.75rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--ink-2); cursor: pointer; }
.consent input { width: 1.125rem; height: 1.125rem; margin: 0.1875rem 0 0; flex: none; accent-color: var(--accent); }
.small { font-size: var(--fs-sm); color: var(--ink-3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.send { display: grid; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
form.quote button[type="submit"] { justify-self: start; min-height: 48px; padding-inline: 1.5rem; font-size: var(--fs-base); }
form.quote button[aria-disabled="true"] { opacity: 0.6; cursor: progress; }
.next { position: sticky; top: 1.5rem; border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 1.5rem; background: var(--paper-2); }
.next h2 { font-size: var(--fs-md); margin-bottom: 1.125rem; }
.next ol { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 1.125rem; }
.next li { counter-increment: s; display: grid; grid-template-columns: 1.75rem 1fr; gap: 0.125rem 0.5rem; font-size: var(--fs-ui); color: var(--ink-2); }
.next li::before { content: counter(s); grid-row: span 2; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule-2); display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-xs); font-weight: 600; color: var(--ink); }
.next li b { color: var(--ink); font-weight: 600; }
.next .small { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.thanks .btn { margin-top: 0.5rem; justify-self: start; }

/* ---------------------------------------------------------------- prose (about, legal) */

.prose { max-width: 44rem; }
.prose h1 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.1; margin: 2rem 0 1rem; }
.prose h2 { margin: 2.5rem 0 0.75rem; font-size: var(--fs-lg); }
.prose h3 { margin: 1.75rem 0 0.5rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1rem; }
.prose .lede { font-size: var(--fs-md); color: var(--ink-2); }
.prose li { margin-bottom: 0.375rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose blockquote { margin: 0 0 1rem; padding-left: 1rem; border-left: 3px solid var(--rule-2); color: var(--ink-2); }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2rem 0; }
.prose code { font-size: 0.9em; background: var(--paper-3); padding: 0.0625rem 0.3125rem; border-radius: 4px; }
.prose dl.defs { margin-bottom: 1rem; }
.notice { background: var(--warn-tint); color: var(--warn); padding: 1rem; border-radius: var(--r); }
ul.links { list-style: none; padding: 0; display: grid; gap: 0.5rem; margin-top: 1.5rem; }
ul.errors { color: var(--err); padding-left: 1.25rem; }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 68rem) {
  .hero.has-art { grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); gap: 2rem; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .next { position: static; }
}

/* Under 60rem the six-column tables no longer fit, so each row becomes one block: name and price on the first line,
   details under. */
@media (max-width: 60rem) {
  .stack thead tr { display: flex; }
  .stack thead th { display: none; }
  .stack thead th.keep { display: block; flex: 1; }
  .stack thead th.keep.num { flex: none; }
  .stack tbody tr { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.875rem; row-gap: 0.125rem; padding: 0.875rem; border-bottom: 1px solid var(--rule); }
  .stack tbody tr > * { border: 0; padding: 0; }
  .stack tbody th[scope="row"] { order: 0; flex: 1 1 0; min-width: 0; }
  .stack tbody td.p, .stack tbody td.lead { order: 1; flex: none; text-align: right; }
  .stack tbody tr::after { content: ""; order: 2; flex-basis: 100%; height: 0.25rem; }
  .stack tbody tr > td:not(.p):not(.lead) { order: 3; font-size: var(--fs-sm); text-align: left; }
  .stack tbody tr.gh, .stack tbody.more tr, .stack tbody.empty tr { display: block; padding: 0; }
  .stack tbody tr.gh > th, .stack tbody.more td, .stack tbody.empty td { display: block; padding: 0.75rem 0.875rem; }
  .stack tbody tr.gh::after, .stack tbody.more tr::after, .stack tbody.empty tr::after { content: none; }
  .panel .stack tbody:last-of-type tr:last-child { border-bottom: 0; }
  .prices th[scope="row"] { min-width: 0; }
  .prices .per { display: inline; }
  .prices .per::before { content: ", "; }
  .prices td.t, .prices td.src a, .prices td.tm { color: var(--ink-3); }
  .gpus td .who { display: none; }
  .gpus td.lead .who { display: block; text-align: right; }
  .gpus td.num:not(.lead) { font-weight: 400; color: var(--ink-2); }
  .gpus td.num:not(.lead)::before { content: attr(data-l) " "; color: var(--ink-3); }
  .gpus td.cnt { display: none; }
  .gpus td.lead { font-weight: 620; font-size: var(--fs-base); }
}

@media (max-width: 48rem) {
  :root { --gutter: 1rem; }
  .hero.has-art { grid-template-columns: 1fr; }
  .hero-art { padding-bottom: 0; perspective: none; }
  .hero-art .tilt { display: none; }
  .chip { position: static; }
  .page-head.has-art { grid-template-columns: 1fr; }
  .page-head .iso { display: none; }
  .bar { min-height: 3.5rem; gap: 0.25rem; }
  nav.main { gap: 0; }
  nav.main a { padding-inline: 0.5rem; }
  nav.main a.btn { margin-left: 0.25rem; padding-inline: 0.75rem; }
  section { margin-top: 2.75rem; }
  footer.site { margin-top: 4rem; }
  .find .row { flex-direction: column; }
  .find .btn { width: 100%; }
  dl.defs { grid-template-columns: 1fr; }
  dl.defs dt { border-bottom: 0; padding-bottom: 0.125rem; }
  dl.defs dd { padding-top: 0; }
  form.quote .grid { grid-template-columns: 1fr; }
  .lane, .axis { grid-template-columns: 4.75rem 1fr; }
  .lanes { padding-inline: 0.875rem 1.125rem; }
}

@media (max-width: 36rem) {
  nav.main a.wide { display: none; }
  .axis text:nth-of-type(even) { display: none; }
  .tiles { grid-template-columns: 1fr; }
  .tile { padding: 1rem; }
  .t-price { margin-top: 0.5rem; }
  .t-more { padding-top: 0.75rem; }
  .facts > div { padding: 0.875rem 1rem 1rem; }
  .facts .f-val { font-size: 1.375rem; }
  .filters { width: 100%; }
  .filters .fld { width: 100%; }
  .filters .fld select, .filters .fld.search input { flex: 1; width: auto; min-width: 0; }
  .seg span { padding-inline: 0.625rem; }
  .band .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}

@media print {
  header.site nav, .toolbar, .band, .find, footer nav, .hero-art, .iso { display: none; }
  .tbl thead th { position: static; }
}
