/* public/css/app.css — the whole visual system of the public shop.
 *
 * One stylesheet, no build step, no web font, no image request. The admin console does not use
 * this file (it keeps the vendored house CSS).
 *
 * ── DIRECTION: the marketing mockup's „data sheet" (D26) ───────────────────────────────────
 *
 * Taken from the specialist's mockup (/home/ubuntu/hdd-shop-preview/src/style.css), which the
 * owner approved: off-white paper, ink-black rules and a heavy header line, one deep-green accent,
 * and every measured value in a monospace face so a buyer can compare figures digit by digit. The
 * example drive and the buy box are drawn as a "measurement label": a black head strip, key/value
 * rows, a dashed tear-off line above the price and a hard offset shadow.
 *
 * Palette (light / dark)
 *   paper   #f4f3ee / #121416   the sheet
 *   card    #fffefa / #1b1e21   label plates, panels, rows on hover
 *   ink     #15171a / #e9e7e0   text, heavy rules, primary buttons, the label's head strip
 *   muted   #5d636b / #a2a79f   field names, secondary text (AA on paper and card)
 *   accent  #0d5c4a / #79cfb2   the ONE accent: eyebrows, link underlines, the second headline line
 *   amber   #8a5a00 / #e3b25c   a short self-test, and the erasure box's edge
 *   focus   #1f6feb / #7cb2ff   the keyboard focus ring, nothing else
 *
 * Type: the system UI face for text (no web font — the CSP would block one anyway), a system
 * monospace for measured values, IDs, prices in tables and the small capitals of field names.
 *
 * ⛔ COLOUR CARRIES NOTHING ON ITS OWN. A status is a word first and a tint second; a self-test
 *    chip says "kurz · bestanden" whatever its colour; an invalid field carries aria-invalid and a
 *    thicker edge.
 *
 * ⛔ THE CHECKOUT'S LEGAL ELEMENTS ARE NEVER DE-EMPHASISED. The button, both boxes, the shipping
 *    line and the totals are drawn at full ink, full size — see the checkout section below.
 *
 * ⛔ public/js/cart.mjs READS `[data-cart-link]`, `[data-cart-count]` and `[data-cart-add]`, and
 *    hides them with the `hidden` attribute until it runs; `[hidden]` below must keep winning.
 */

:root {
  color-scheme: light dark;
  --paper: #f4f3ee;
  --paper2: #ecebe4;
  --card: #fffefa;
  --ink: #15171a;
  --ink2: #2b2f35;
  --muted: #5d636b;
  --rule: #d8d5ca;
  --rule2: #e8e6de;
  --field: #868b84;
  --field-bg: #ffffff;
  --accent: #0d5c4a;
  --accent-ink: #ffffff;
  --accent-soft: #e2eee9;
  --accent-edge: #b9d6cb;
  --amber: #8a5a00;
  --amber-soft: #f6ecd6;
  --amber-edge: #e6cf9c;
  --none-bg: #eeeeec;
  --none-ink: #4f5357;
  --bad: #9b2c1f;
  --bad-bg: #fbe7e5;
  --active: #1d5a96;
  --active-bg: #e4eefa;
  --focus: #1f6feb;
  --shadow: #15171a;
  --band: #15171a;
  --band-ink: #f4f3ee;
  --band-ink2: #d9dcd6;
  --band-muted: #a9aea7;
  --band-rule: #3a3f45;
  --band-accent: #8fd3bd;
  --foot: #0f1113;
  --foot-ink: #c9ccc6;
  --foot-muted: #8d928c;
  --sans: "Inter", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --w: 1240px;
  --radius: 6px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121416;
    --paper2: #181b1e;
    --card: #1b1e21;
    --ink: #e9e7e0;
    --ink2: #cfccc4;
    --muted: #a2a79f;
    --rule: #3a3f44;
    --rule2: #2a2e32;
    --field: #7b8189;
    --field-bg: #15181a;
    --accent: #79cfb2;
    --accent-ink: #0b1f19;
    --accent-soft: #15302a;
    --accent-edge: #2f5c4f;
    --amber: #e3b25c;
    --amber-soft: #2c2312;
    --amber-edge: #5b4620;
    --none-bg: #26292c;
    --none-ink: #c4c7c2;
    --bad: #f08a7c;
    --bad-bg: #2d1614;
    --active: #8fbcf2;
    --active-bg: #14243a;
    --focus: #7cb2ff;
    --shadow: #000000;
    --band: #0a0b0c;
    --foot: #0a0b0c;
  }
}

/* ── base ────────────────────────────────────────────────────────────────── */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 16px/1.55 var(--sans); font-feature-settings: "tnum" 1;
  display: flex; flex-direction: column; min-height: 100vh;
}
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
/* `hidden` must win over every display rule: the cart controls are hidden until the script runs. */
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 32px; }
.mono { font-family: var(--mono); font-feature-settings: "tnum" 1, "zero" 1; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nw { white-space: nowrap; display: inline-block; }
.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 10px 16px; font-weight: 700; text-decoration: none; border-radius: var(--radius);
}
.skip:focus { left: 8px; }
p { margin: 0 0 1em; }

/* ── type ────────────────────────────────────────────────────────────────── */

.eyebrow { font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.08; margin: 0 0 12px; color: var(--ink); }
h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 850; }
h2 { font-size: 24px; font-weight: 800; }
h3 { font-size: 20px; font-weight: 750; letter-spacing: -.01em; }
.sec-head h2, .band h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 0; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink2); max-width: 36em; }
.note { font-size: 14px; color: var(--muted); margin: 8px 0 0; max-width: 72ch; }
.note-warn { color: var(--amber); }
.note-good { color: var(--accent); }
code, .hash { font-family: var(--mono); font-size: .9em; }
.hash { word-break: break-all; }
.tag, .card-label, .card-facts dt, .order-lines thead th, .members th {
  font: 600 11px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
}
.tag { display: inline-block; margin: 0 0 6px; }

/* ── top bar, header, footer ─────────────────────────────────────────────── */

.topbar { border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--muted); }
.topbar .wrap { display: flex; gap: 8px 24px; justify-content: space-between; align-items: center; min-height: 36px; flex-wrap: wrap; }
.topbar ul { display: flex; gap: 4px 20px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--ink); text-decoration: underline; }

header.site { background: var(--paper); border-bottom: 2px solid var(--ink); position: sticky; top: 0; z-index: 10; }
header.site .wrap { display: flex; align-items: center; gap: 8px 32px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: -.01em; font-size: 17px; line-height: 1.1; color: var(--ink); }
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; letter-spacing: .02em; }
.brand .mark { flex: none; color: var(--ink); }
.brand .mark .arm { stroke: var(--accent); }
nav.main { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 600; }
nav.main a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
nav.main a:hover, nav.main a[aria-current] { border-color: var(--accent); }
.cart { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--ink); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 14px; text-decoration: none; }
.cart b { background: var(--ink); color: var(--paper); border-radius: 999px; min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; font-size: 12px; }

.site-main { flex: 1 0 auto; }
.wrap.site-main { padding-top: 36px; padding-bottom: 72px; }

footer.site { background: var(--foot); color: var(--foot-ink); padding: 56px 0 28px; font-size: 14px; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
footer.site h2 { color: #ffffff; font: 600 13px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
footer.site ul { list-style: none; padding: 0; margin: 0; line-height: 2; }
footer.site a { text-decoration: none; }
footer.site a:hover { text-decoration: underline; color: #ffffff; }
footer.site :focus-visible { outline-color: #7cb2ff; }
footer.site address { font-style: normal; line-height: 1.8; }
footer.site .base { margin-top: 44px; padding-top: 20px; border-top: 1px solid #2a2e33; display: flex; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; color: var(--foot-muted); }

/* ── buttons, links, chips, status ───────────────────────────────────────── */

.btn, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 16px/1.1 var(--sans); padding: 15px 22px; min-height: 44px; border-radius: var(--radius);
  text-decoration: none; text-align: center; border: 2px solid var(--ink); cursor: pointer;
}
.btn, .button-primary { background: var(--ink); color: var(--paper); }
.btn:hover, .button-primary:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.ghost, .button:not(.button-primary) { background: transparent; color: var(--ink); }
.btn.ghost:hover, .button:not(.button-primary):hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.button:disabled { cursor: default; color: var(--muted); border-color: var(--rule); background: var(--paper2); }
.btn.block { width: 100%; }
.btn.small { padding: 10px 14px; font-size: 15px; }
.link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--accent); }

.chip { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--mono); padding: 6px 8px; border-radius: 4px; border: 1px solid var(--rule); background: var(--card); white-space: nowrap; }
.chip-warn { background: var(--amber-soft); border-color: var(--amber-edge); color: var(--amber); }
.use-warn { color: var(--amber); font-weight: 700; }
.chip.ok { background: var(--accent-soft); border-color: var(--accent-edge); color: var(--accent); }
.chip.short { background: var(--amber-soft); border-color: var(--amber-edge); color: var(--amber); }
.chip.none { background: var(--none-bg); color: var(--none-ink); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }

.pill {
  display: inline-flex; align-items: center; gap: 7px; vertical-align: middle;
  font: 700 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .07em; white-space: nowrap;
  padding: 5px 8px; border-radius: 4px; border: 1px solid currentColor;
}
.pill::before { content: ""; width: 7px; height: 7px; background: currentColor; flex: none; }
.pill-good { background: var(--accent-soft); color: var(--accent); }
.pill-warn { background: var(--amber-soft); color: var(--amber); }
.pill-active { background: var(--active-bg); color: var(--active); }
.pill-muted { background: var(--none-bg); color: var(--none-ink); }
.pill-muted::before { background: transparent; border: 1px solid currentColor; }

/* ── price ───────────────────────────────────────────────────────────────── */

.price { margin: 0; }
.price-now { display: block; font: 800 30px/1 var(--sans); letter-spacing: -.02em; margin: 0; }
.price small, .price-vat, .price-reference { display: block; font: 500 12px/1.4 var(--sans); color: var(--muted); letter-spacing: 0; margin: 4px 0 0; }
.price-before { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.price-saved { color: var(--accent); font-weight: 700; margin-left: 6px; }
.price-campaign { font-size: 13px; font-weight: 700; color: var(--active); margin: 6px 0 0; }
.price-deal { font-size: 14px; color: var(--accent); margin: 6px 0 0; }
.price-none { color: var(--muted); margin: 0; }

/* ── sections (start page) ───────────────────────────────────────────────── */

.bleed > section { padding: 88px 0; border-bottom: 1px solid var(--rule); }
.bleed > section.last { border-bottom: 0; }
.sec-head { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: end; margin-bottom: 44px; }
.sec-head p { color: var(--muted); margin: 0; }
.sec-head .eyebrow { color: var(--accent); margin-bottom: 14px; }

.bleed > section.hero { padding: 72px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.04; margin: 0; }
.hero h1 span { display: block; }
.hero h1 .thin { color: var(--accent); }
.hero .lead { margin: 28px 0 36px; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .facts { display: flex; gap: 28px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rule); flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.hero .facts b { display: block; color: var(--ink); font: 700 22px/1.2 var(--mono); }

/* the "measurement label" card */
.label { background: var(--card); border: 1.5px solid var(--ink); border-radius: 10px; box-shadow: 8px 8px 0 var(--shadow); overflow: hidden; }
.label-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; background: var(--ink); color: var(--paper); font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.label-body { padding: 20px 18px 6px; }
.label .model { font-weight: 800; font-size: 22px; letter-spacing: -.02em; margin: 0; }
.label .sub { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
dl.kv { margin: 0; display: grid; grid-template-columns: 1fr auto; border-top: 1px solid var(--rule2); }
dl.kv dt, dl.kv dd { padding: 10px 0; border-bottom: 1px solid var(--rule2); margin: 0; }
dl.kv dt { color: var(--muted); font-size: 14px; }
dl.kv dd { font: 600 15px/1.4 var(--mono); text-align: right; }
.label-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 18px; border-top: 1.5px dashed var(--ink); }
/* the day's deal in the label's place (D32): accent head strip, price block stacked over its terms */
/* Owner 2026-11-16: the deal stands out — a sticker, its two perks, a tinted price area and one big button. */
.label.deal { position: relative; overflow: visible; box-shadow: 8px 8px 0 var(--accent); }
.label.deal .label-top { background: var(--accent); color: var(--accent-ink); padding: 14px 18px; border-radius: 8px 8px 0 0; }
.label.deal .label-body { padding-top: 18px; }
.label.deal .model { padding-right: 84px; }
.deal-sticker { position: absolute; top: 58px; right: -16px; width: 92px; height: 92px; margin: 0; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-content: center; text-align: center; transform: rotate(12deg); box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .45); border: 3px solid var(--paper); }
.deal-sticker b { font: 800 26px/1 var(--sans); letter-spacing: -.03em; }
.deal-sticker span { font: 700 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.deal-perks { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 14px; padding: 0; }
.deal-perks li { font: 700 13px/1 var(--sans); padding: 7px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 14%, var(--card)); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--card)); }
.label.deal dl.kv dt, .label.deal dl.kv dd { padding: 6px 0; }
.label.deal .label-foot { flex-direction: column; align-items: stretch; gap: 12px; background: color-mix(in srgb, var(--accent) 7%, var(--card)); border-radius: 0 0 8px 8px; }
.label.deal .price-now { font-size: 40px; color: var(--accent); }
.label.deal .deal-actions .deal-buy { flex: 1 1 auto; text-align: center; background: var(--accent); border-color: var(--accent); color: var(--accent-ink); min-height: 50px; font-size: 17px; }
.deal-claimed { margin: 0; font-weight: 700; }
.deal-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* offer rounds, while one is open */
.bleed > section.rounds { padding: 28px 0; background: var(--active-bg); }
.rounds h2 { font-size: 20px; margin-bottom: 6px; }
.round-list { list-style: none; padding: 0; margin: 0 0 8px; }
.round-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.round-list li:last-child { border-bottom: 0; }
.round-list a { font-weight: 700; }
.round-list .round-deadline { font: 400 14px/1.4 var(--sans); color: var(--ink2); margin: 0; }

/* the model strip */
/* Owner 2026-11-16: compact cards — name, price span and the way in on one line, the figures under it. */
.model-card { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "id price go" "facts facts facts"; gap: 10px 28px; align-items: center; background: var(--card); border: 1.5px solid var(--ink); border-radius: 10px; padding: 16px 20px; }
.model-card + .model-card { margin-top: 12px; }
.model-card .mc-id { grid-area: id; min-width: 0; }
.model-card .eyebrow { margin: 0 0 2px; font-size: 11px; }
.model-card h3 { font-size: 21px; margin: 0; }
.model-card h3 a { text-decoration: none; }
.model-card h3 a:hover { text-decoration: underline; }
.model-card .meta { color: var(--muted); font-size: 13px; margin-top: 2px; }
.model-card .mc-price { grid-area: price; margin: 0; text-align: right; }
.model-card .mc-price b { display: block; font: 700 22px/1.2 var(--sans); white-space: nowrap; }
.model-card .mc-price b .nw { font: inherit; }
.model-card .mc-price > span { font-size: 12px; color: var(--muted); }
.model-card .mc-go { grid-area: go; min-height: 40px; padding-top: 8px; padding-bottom: 8px; white-space: nowrap; }
.model-card .mc-facts { grid-area: facts; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding-top: 10px; border-top: 1px solid var(--rule); font: 600 13px/1.4 var(--mono); }
.model-card .mc-facts > span + span::before { content: "·"; padding: 0 10px; color: var(--muted); }
.model-card .mc-facts .nw { font: inherit; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--rule); }
.stats div { padding: 4px 20px; border-right: 1px solid var(--rule); }
.stats b { display: block; font: 700 22px/1.25 var(--mono); }
.stats > div > span { font-size: 13px; color: var(--muted); }
.stats b .nw { font-size: inherit; color: inherit; }
.model-card .stats { grid-column: 1 / -1; grid-row: 2; border-top: 1px solid var(--rule); border-left: 0; padding-top: 10px; }
.model-card .stats div { padding-top: 0; padding-bottom: 0; }
.model-card .stats b { font-size: 16px; }
.model-card .stats span { font-size: 12px; }
.model-card .stats div:first-child { padding-left: 0; }

/* the all-drives page (owner 2026-11-16) */
.allhead { padding-top: 24px; }
.allhead h1 { margin: 4px 0 8px; }
.allhead .lead { margin: 0; }
.filters .choice { display: grid; gap: 6px; padding: 14px 0; border-top: 1px solid var(--rule); }
.filters .choice label { font: 700 12px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.filters select, .filters input[type="search"] { width: 100%; font: 600 15px var(--sans); min-height: 40px; padding: 8px 10px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--field-bg); color: var(--ink); }
.filters input[type="search"]::placeholder { color: var(--muted); font-weight: 500; }

/* what you see */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.grid3 > div { background: var(--paper); padding: 28px 26px; }
.grid3 .k { font: 600 12px/1 var(--mono); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
.grid3 h3 { margin: 0; }
.grid3 p:not(.k) { color: var(--ink2); margin: 10px 0 0; font-size: 15px; }

/* the price explainer */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; list-style: none; margin: 0; padding: 0; }
.steps li { border-top: 3px solid var(--ink); padding-top: 18px; }
.steps li::before { counter-increment: s; content: "0" counter(s); font: 700 13px/1 var(--mono); color: var(--accent); display: block; margin-bottom: 12px; }
.steps h3 { margin: 0; }
.steps p { color: var(--ink2); margin-top: 8px; }

/* the erasure box */
.honest { display: grid; grid-template-columns: auto 1fr; gap: 28px; background: var(--card); border: 1.5px solid var(--ink); border-left: 10px solid var(--amber); border-radius: 10px; padding: 32px; }
.honest .check circle { fill: var(--accent-soft); stroke: var(--accent); }
.honest .check path { stroke: var(--accent); }
.honest.honest-none { grid-template-columns: 1fr; border-left-color: var(--rule2); }
.honest h2 { font-size: 24px; margin-bottom: 12px; }
.honest .eyebrow { margin-bottom: 10px; }
.honest ul { margin: 0; padding: 0; list-style: none; }
.honest li { padding: 10px 0 10px 32px; border-top: 1px solid var(--rule2); position: relative; }
.honest li::before { position: absolute; left: 0; top: 10px; font: 700 15px/1.5 var(--mono); }
.honest li.yes::before { content: "✓"; color: var(--accent); }
.honest li.no::before { content: "✗"; color: var(--bad); }
.disclosures { margin-top: 44px; }

/* the business band */
.bleed > section.band { background: var(--band); color: var(--band-ink); border-bottom: 0; }
.band h2 { color: var(--band-ink); }
.band .eyebrow { color: var(--band-accent); }
.band .lead { color: var(--band-ink2); margin-top: 20px; }
.band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.band ul { padding-left: 18px; color: var(--band-ink2); }
.band .ctas { margin-top: 28px; }
.band .btn { background: var(--band-ink); color: var(--band); border-color: var(--band-ink); }
.band .btn:hover { background: var(--band-accent); border-color: var(--band-accent); color: var(--band); }
.band :focus-visible { outline-color: #7cb2ff; }
.band-note { color: var(--band-muted); font-size: 14px; margin-top: 14px; }
table.tiers { width: 100%; border-collapse: collapse; font-size: 15px; }
table.tiers th, table.tiers td { padding: 14px 0; border-bottom: 1px solid var(--band-rule); text-align: left; }
table.tiers th { font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--band-muted); }
table.tiers td:last-child, table.tiers th:last-child { text-align: right; font-family: var(--mono); font-weight: 700; }

/* buying in brief */
.buy { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.buy > div { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--rule); }
.buy > div:nth-child(3n+2), .buy > div:nth-child(3n+3) { padding-left: 26px; border-left: 1px solid var(--rule); }
.buy h3 { font-size: 17px; margin-bottom: 6px; }
.buy p { color: var(--ink2); font-size: 15px; margin: 0; }
.buy .dispatch { margin-top: 10px; font-weight: 600; color: var(--ink); }
table.ship { border-collapse: collapse; font-size: 14px; margin-top: 10px; width: 100%; }
table.ship td { padding: 5px 0; border-bottom: 1px solid var(--rule2); }
table.ship td:last-child { text-align: right; font-family: var(--mono); font-weight: 600; white-space: nowrap; }

/* ── model page ──────────────────────────────────────────────────────────── */

.crumbs { display: block; font-size: 14px; color: var(--muted); padding-top: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs > span[aria-hidden] { margin: 0 8px; }
.mhead { padding: 28px 0 40px; border-bottom: 1px solid var(--rule); }
.mhead .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: end; }
.mhead h1 { font-size: clamp(34px, 4.6vw, 58px); }
.specline { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; align-items: center; }
.mhead .lead { margin: 22px 0 0; }
.mhead .compat { margin: 14px 0 0; font-size: 15px; color: var(--ink2); }
.mhead .compat::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.mhead .wrap > .mtitle { grid-column: 1; grid-row: 1; }
.mhead .wrap > .mlead { grid-column: 1; grid-row: 2; margin: 0; }
.mhead .wrap > .stats { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
.mhead .wrap { row-gap: 22px; }
.mhead .stats { grid-template-columns: repeat(2, 1fr); border: 1px solid var(--rule); background: var(--card); border-radius: 10px; }
.mhead .stats div { padding: 16px 20px; border-right: 0; border-bottom: 1px solid var(--rule2); }
.mhead .stats div:nth-child(odd) { border-right: 1px solid var(--rule2); }
.mhead .stats div:nth-last-child(-n+2) { border-bottom: 0; }
.listing { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding-top: 40px; padding-bottom: 80px; }
.filters { position: sticky; top: 96px; align-self: start; }
.filters form { margin: 0; }
.filters fieldset { border: 0; border-top: 1px solid var(--rule); margin: 0; padding: 18px 0; display: grid; gap: 8px; }
.filters legend { font: 700 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 0; margin-bottom: 4px; float: left; width: 100%; }
.filters label { font-size: 14px; color: var(--muted); }
.filters label.check { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); cursor: pointer; }
.filters input[type=checkbox] { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.filters .slider { display: grid; gap: 8px; padding: 18px 0; border-top: 1px solid var(--rule); }
.filters .slider label { display: flex; justify-content: space-between; gap: 8px; font: 700 12px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.filters .slider output { font: 700 14px var(--mono); letter-spacing: 0; text-transform: none; white-space: nowrap; }
.filters input[type=range] { width: 100%; height: 32px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.filters .apply { display: grid; gap: 8px; padding: 18px 0; border-top: 1px solid var(--rule); }
.filters input[type=number] { width: 100%; min-height: 40px; font: 600 14px var(--mono); padding: 9px; border: 1px solid var(--field); border-radius: 5px; background: var(--field-bg); color: var(--ink); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); flex-wrap: wrap; }
.toolbar .count { font-weight: 700; margin: 0; }
.toolbar .count span { color: var(--muted); font-weight: 500; }
.toolbar .sort { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.toolbar select { font: 600 15px var(--sans); min-height: 44px; padding: 10px 12px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--field-bg); color: var(--ink); }
table.drives { width: 100%; border-collapse: collapse; font-size: 15px; }
table.drives th { font: 600 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 14px 8px; border-bottom: 1px solid var(--rule); }
table.drives td { padding: 12px 8px; border-bottom: 1px solid var(--rule2); vertical-align: middle; }
table.drives td.sn { white-space: nowrap; }
table.drives td.m a { display: block; text-decoration: none; font-weight: 700; white-space: nowrap; }
table.drives td.m small { display: block; font-size: 13px; color: var(--muted); }
table.drives tr:hover td { background: var(--card); }
table.drives .num { text-align: right; font-family: var(--mono); font-weight: 600; }
table.drives .sn a { font: 700 15px var(--mono); text-decoration: none; border-bottom: 1.5px solid var(--accent); }
table.drives .p { text-align: right; white-space: nowrap; }
table.drives .p .price-now { font-size: 18px; }
table.drives .go { text-align: right; }
table.drives .go a { font-size: 14px; font-weight: 700; text-decoration: none; border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 8px 12px; white-space: nowrap; }
table.drives .go a:hover { background: var(--ink); color: var(--paper); }
.legend { display: flex; gap: 10px 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 18px; }
.pager { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.pager a, .pager .gap { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--rule); border-radius: var(--radius); text-decoration: none; font: 600 14px var(--mono); background: var(--card); }
.pager .gap { border-color: transparent; background: none; }
.pager a[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.setteaser { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--accent-soft); border: 1px solid var(--accent-edge); border-radius: 10px; padding: 22px 26px; margin-top: 36px; flex-wrap: wrap; }
.setteaser p { margin: 0; color: var(--ink2); }
.empty { padding: 36px 24px; text-align: center; color: var(--ink2); background: var(--card); border: 1px dashed var(--field); border-radius: var(--radius); }

/* ── drive page ──────────────────────────────────────────────────────────── */

.dhead { padding-top: 24px; padding-bottom: 36px; }
.dhead h1 { font-size: clamp(30px, 4vw, 50px); margin: 0; }
.dhead .sn { font: 700 clamp(20px, 2.2vw, 26px)/1.2 var(--mono); margin: 10px 0 0; color: var(--ink2); }
.dgrid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; padding-bottom: 88px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--rule); border-radius: 10px; padding: 28px; margin-bottom: 28px; }
.panel h2 { font-size: 26px; margin-bottom: 6px; }
.panel > p { color: var(--ink2); margin: 0; }
.panel > p.sub { color: var(--muted); margin-bottom: 18px; }
.panel-erasure { border-left: 8px solid var(--accent); }
.panel-erasure .honest { border: 0; padding: 0; grid-template-columns: 1fr; background: none; border-radius: 0; }
.panel-erasure .check { display: none; }
.panel-erasure .honest h2 { font-size: 26px; }
table.meas { width: 100%; border-collapse: collapse; }
table.meas th, table.meas td { padding: 14px 0; border-bottom: 1px solid var(--rule2); text-align: left; vertical-align: top; }
table.meas th { font-weight: 500; color: var(--muted); font-size: 15px; width: 42%; }
table.meas td { font: 600 16px/1.4 var(--mono); }
table.meas td small { display: block; font: 400 13px/1.45 var(--sans); color: var(--muted); margin-top: 3px; }
.why { list-style: none; padding: 0; margin: 0; }
.why li { padding: 14px 0; border-bottom: 1px solid var(--rule2); display: grid; grid-template-columns: 150px 1fr; gap: 20px; }
.why b { font-family: var(--mono); }
.why span { color: var(--ink2); font-size: 15px; }
.buybox { position: sticky; top: 96px; background: var(--card); border: 1.5px solid var(--ink); border-radius: 10px; box-shadow: 8px 8px 0 var(--shadow); overflow: hidden; }
.buybox .in { padding: 24px; }
.buybox .price-now { font-size: 44px; }
.buybox .buy-actions { display: grid; gap: 10px; margin-top: 20px; }
.buybox .buy-actions .button { width: 100%; }
.buybox > .in > .btn { margin-top: 20px; }
.buybox .enquire { margin: 14px 0 0; font-size: 14px; }
.buybox .unavailable, .buybox .in-lot { margin: 18px 0 0; font-size: 14px; color: var(--ink2); }
.buybox .small { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.buybox ul { list-style: none; padding: 0; margin: 20px 0 0; font-size: 14px; color: var(--ink2); }
.buybox li { padding: 9px 0; border-top: 1px solid var(--rule2); display: flex; justify-content: space-between; gap: 12px; }
.buybox li b { font-family: var(--mono); text-align: right; }
.buybox li b small { display: block; font: 400 12px/1.4 var(--sans); color: var(--muted); }
.buybox .biz { background: var(--paper); border-top: 1px solid var(--rule); padding: 16px 24px; font-size: 14px; margin: 0; }

/* ── set pages, cards ────────────────────────────────────────────────────── */

.breadcrumb { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; margin: -12px 0 22px; color: var(--muted); }
.breadcrumb a + a::before { content: "/"; content: "/" / ""; display: inline-block; margin: 0 8px; }
.group-header { margin-bottom: 28px; }
.bundle-group { margin-bottom: 40px; }
.bundle-group > .note { margin: -6px 0 16px; }
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
.card:hover { border-color: var(--ink); }
.card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 12px; padding: 14px 16px 12px; border-bottom: 1px solid var(--rule2); }
.card-link { display: flex; flex-direction: column; gap: 2px; min-width: 0; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; }
.card-link:focus-visible { outline: none; }
.card-link:focus-visible::after { outline: 3px solid var(--focus); outline-offset: -3px; }
.card-serial { font: 700 17px var(--mono); overflow-wrap: anywhere; }
.card-lot .card-serial { font-family: var(--sans); font-weight: 800; }
.card-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(122px, 1fr)); gap: 12px 16px; margin: 0; padding: 14px 16px; }
.card-facts dd { margin: 0; font: 600 14px/1.35 var(--mono); }
.card > .note { margin: 0; padding: 0 16px 12px; font-size: 13px; }
.card > .price { margin-top: auto; padding: 12px 16px 16px; border-top: 1.5px dashed var(--ink); }
.card .price-now { font-size: 24px; }
.drive-header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: 28px 40px; align-items: start; margin-bottom: 28px; }
.drive-subtitle { font-size: 17px; color: var(--ink2); margin: 0 0 12px; max-width: 60ch; }
.drive-buy { background: var(--card); border: 1.5px solid var(--ink); border-radius: 10px; box-shadow: 8px 8px 0 var(--shadow); padding: 24px; }
.drive-buy .price-now { font-size: 36px; }
.drive-buy > .button { width: 100%; margin-top: 10px; }
.buy-actions { display: grid; gap: 10px; margin-top: 18px; }
.buy-actions .button { width: 100%; }
.unavailable { margin: 16px 0 0; font-size: 14px; color: var(--ink2); }
.in-lot { font-size: 14px; color: var(--ink2); margin: 16px 0 6px; }
dl.facts { margin: 0; }
dl.facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 20px; padding: 9px 0; border-bottom: 1px solid var(--rule2); }
dl.facts > div:last-child { border-bottom: none; }
dl.facts dt { color: var(--muted); font-size: 14px; flex: none; max-width: 50%; }
dl.facts dd { margin: 0; text-align: right; font-family: var(--mono); font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
dl.facts-tight > div { padding: 5px 0; font-size: 14px; }
.spread-value { font: 700 20px/1.3 var(--mono); margin: 12px 0 8px; }

/* ── tables ──────────────────────────────────────────────────────────────── */

.members, .order-lines { width: 100%; border-collapse: collapse; }
.members { font-size: 14px; margin-top: 12px; }
.members th, .members td { text-align: left; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--rule2); vertical-align: top; }
.members th { border-bottom: 2px solid var(--ink); }
.order-lines { margin: 16px 0; background: var(--card); border: 1px solid var(--rule); }
.order-lines th, .order-lines td { padding: 11px 14px; border-bottom: 1px solid var(--rule2); text-align: left; vertical-align: top; }
.order-lines thead th { background: var(--paper2); border-bottom: 1px solid var(--rule); }
.order-lines .num { text-align: right; white-space: nowrap; font-family: var(--mono); }
.order-lines tbody tr:last-child td { border-bottom: 2px solid var(--ink); }
.order-lines tfoot th, .order-lines tfoot td { border-bottom: 0; }
.order-lines tfoot th { font-size: 17px; font-weight: 800; }
.order-lines tfoot strong { font-size: 20px; }
.order-lines tfoot .note { margin: 0; padding-top: 0; font-size: 14px; color: var(--ink2); }
.order-lines td .note { font-size: 13px; }

/* ── forms, checkout, order, wholesale ───────────────────────────────────── */

.verify { max-width: 760px; }
.result { background: var(--card); border: 1px solid var(--rule); border-left: 4px solid var(--ink); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 20px; }
.result p { margin: 0 0 8px; }
.result p:last-child { margin-bottom: 0; }
.result-headline { font-size: 19px; font-weight: 800; line-height: 1.3; }
.result-issued { border-left-color: var(--accent); }
.result-unknown { border-left-color: var(--amber); }
.result .facts { margin: 8px 0 12px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; min-height: 44px; padding: 9px 11px;
  background: var(--field-bg); color: var(--ink); border: 1px solid var(--field); border-radius: var(--radius);
}
.field-check { flex-direction: row; align-items: flex-start; gap: 10px; }
.field .field-check input, .field-check input { flex: none; width: 20px; height: 20px; min-height: 0; padding: 0; margin: 2px 0 0; accent-color: var(--accent); }
.field-check label { font-weight: 400; font-size: 15px; }
.field [aria-invalid="true"] { border-color: var(--bad); border-width: 2px; background: var(--bad-bg); }
.field-check [aria-invalid="true"] { outline: 2px solid var(--bad); outline-offset: 2px; }
.stack-form { display: flex; flex-direction: column; gap: 18px; max-width: 560px; margin-top: 24px; }
.stack-form h2 { margin: 14px 0 -4px; font-size: 20px; }
.stack-form h3 { margin: 10px 0 -6px; }
.stack-form .field input, .stack-form .field textarea, .stack-form .field select { width: 100%; }
.stack-form .field-check input { width: 20px; }
.stack-form textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
.stack-form > .note { margin: -8px 0 0; }
.stack-form > button { align-self: flex-start; }
/* The honeypot is hidden from sight AND from assistive technology — a trap that catches a
   screen-reader user is a barrier, not a spam filter. See src/pages/forms.mjs. */
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.about { font-size: 15px; background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 12px 16px; border-radius: 0 var(--radius) var(--radius) 0; }
.round-deadline { font: 700 20px/1.3 var(--mono); margin: 0 0 4px; }
.round-min { font-size: 15px; color: var(--ink2); margin: 0 0 18px; }
.round-terms { background: var(--card); border: 1px solid var(--rule); border-left: 4px solid var(--active); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 12px; }
.round-terms p { font-size: 14.5px; margin: 0 0 10px; max-width: 70ch; }
.round-terms p:last-child { margin-bottom: 0; }
/* Checkout. Everything FAGG § 4 asks for is drawn at full weight; the order button is the
   largest control on the page and stands alone at the end of the confirmation block. */
.checkout > .note { color: var(--ink2); }
.shipping-rates { margin: 0 0 6px; font-size: 14.5px; }
.shipping-rates summary { cursor: pointer; font-weight: 700; padding: 4px 0; }
.shipping-rates summary::marker { color: var(--accent); }
.shipping-rates .facts { max-width: 460px; margin: 6px 0 0; }
.confirm-block {
  display: flex; flex-direction: column; gap: 16px; margin-top: 12px; padding: 20px 22px 24px;
  background: var(--card); border: 1.5px solid var(--ink); border-radius: 10px;
}
.confirm-block h2 { margin: 0; font-size: 20px; }
.confirm-block .note { margin: 0; color: var(--ink2); }
.confirm-block .field-check label { color: var(--ink); font-size: 15.5px; }
.confirm-block .button-primary { align-self: stretch; min-height: 52px; font-size: 17px; }
.bank .result-headline { color: var(--ink); }
.bank .facts dd { font-weight: 700; }
.order h2 { margin-top: 32px; }
/* The order steps are a real sequence, so they are numbered. A finished step is marked by its
   date and its weight as well as by its colour. */
.timeline { list-style: none; counter-reset: step; padding: 0; margin: 24px 0 8px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline li { counter-increment: step; position: relative; padding: 22px 12px 0 0; border-top: 3px solid var(--rule); color: var(--muted); font-size: 15px; }
.timeline li::before {
  content: counter(step); position: absolute; top: -15px; left: 0; width: 27px; height: 27px; display: grid; place-items: center;
  font: 700 13px var(--mono); background: var(--card); color: var(--muted); border: 2px solid var(--field); border-radius: 50%;
}
.timeline li.done { border-top-color: var(--accent); color: var(--ink); font-weight: 700; }
.timeline li.done::before { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.belege { list-style: none; padding: 0; margin: 0; }
.belege li { padding: 10px 0; border-bottom: 1px solid var(--rule2); }
.verify.wholesale { max-width: 980px; }
.verify.wholesale > h2 { margin-top: 40px; }
.table-scroll { overflow-x: auto; margin: 16px 0; }
.table-scroll > table { margin: 0; min-width: 560px; }
.wholesale-prices td[rowspan] { vertical-align: top; border-right: 1px solid var(--rule2); }
.wholesale-prices td[rowspan] .note { display: inline-block; margin: 2px 0 0; font-family: var(--mono); font-size: 13px; }

/* ── legal, error ────────────────────────────────────────────────────────── */

.legal { max-width: 74ch; }
.legal h1 { margin-bottom: 24px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.legal > .note { margin: 0 0 24px; }
.legal-section { margin-bottom: 30px; }
.legal-section h2 { font-size: 20px; }
.legal-section p { margin: 0 0 12px; }
.legal .facts { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 4px 18px; }
.legal-form { font: 13px/1.7 var(--mono); white-space: pre-wrap; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px; overflow-x: auto; }
.legal-annex { border-top: 1px solid var(--rule); padding-top: 24px; }
.legal-symbol { display: flex; gap: 18px; align-items: center; margin: 0 0 30px; }
.legal-symbol figcaption { color: var(--ink2); }
.error { max-width: 620px; margin: 24px auto; padding: 48px 32px; text-align: center; background: var(--card); border: 1.5px solid var(--ink); border-radius: 10px; }
.error .lead { margin-left: auto; margin-right: auto; }

/* ── motion ──────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  .btn, .button, .card, nav.main a, table.drives .go a, .pager a { transition: border-color 120ms ease, color 120ms ease, background-color 120ms ease; }
}

/* ── narrower ────────────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  nav.main { gap: 18px; font-size: 14px; }
  .stats { border-left: 0; }
  .stats div:first-child { padding-left: 0; }
  .dgrid { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }
}
@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  /* The navigation wraps under the brand rather than hiding behind a script-only menu button. */
  header.site { position: static; }
  header.site .wrap { padding-top: 10px; padding-bottom: 10px; }
  nav.main { order: 3; width: 100%; margin-left: 0; gap: 4px 18px; flex-wrap: wrap; }
  .cart { margin-left: auto; }
  .topbar .wrap { justify-content: center; }
  .topbar .hide-s { display: none; }
  .bleed > section { padding: 56px 0; }
  .bleed > section.hero { padding: 40px 0 56px; }
  .hero .wrap, .sec-head, .band .wrap, .mhead .wrap { grid-template-columns: 1fr; gap: 32px; }
  .grid3, .steps, .buy { grid-template-columns: 1fr; }
  .buy > div, .buy > div:nth-child(3n+2), .buy > div:nth-child(3n+3) { padding: 20px 0; border-left: 0; }
  .honest { grid-template-columns: 1fr; padding: 24px; gap: 12px; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
  .stats div:nth-child(odd) { padding-left: 0; }
  .stats div { border-right: 0; }
  footer.site .cols { grid-template-columns: 1fr; gap: 32px; }
  .listing { grid-template-columns: 1fr; gap: 16px; padding-top: 20px; }
  /* Owner 2026-11-16: the sliders stay at the top while the drive list scrolls under them (the
     header is static here, so they stick to the very top of the screen). */
  .filters { position: sticky; top: 0; z-index: 5; }
  /* Phones: title, then the filter, then the drives; the lead and the stats follow the list. The
     header's boxes dissolve (display: contents) into one flex column that `order` arranges, so
     nothing is rendered twice. */
  .mpage { display: flex; flex-direction: column; }
  .mpage > .mhead, .mpage > .mhead > .wrap { display: contents; }
  .mtitle { order: 1; padding: 16px 20px 0; }
  .mpage > .listing { order: 2; }
  .mlead { order: 3; padding: 0 20px; }
  .mpage .mhead .stats { order: 4; margin: 24px 20px 48px; }
  .mhead h1 { font-size: clamp(26px, 7vw, 34px); }
  .specline { margin-top: 12px; }
  .specline .chip.mono { display: none; }
  .filters { border: 1px solid var(--rule); border-radius: 10px; background: var(--card); padding: 4px 14px; box-shadow: 0 6px 12px -8px rgba(0, 0, 0, .25); }
  .filters form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .filters .choice { border-top: 0; padding: 10px 0 4px; }
  .model-card { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "id id" "price go" "facts facts"; gap: 10px 16px; padding: 14px 16px; }
  .model-card .mc-price { text-align: left; }
  .model-card .mc-price b { font-size: 20px; }
  .model-card h3 { font-size: 19px; }
  .model-card .mc-facts { font-size: 12px; }
  .label.deal .label-top { font-size: 11px; letter-spacing: .04em; padding: 12px 14px; }
  .label.deal .label-top span { white-space: nowrap; }
  .deal-sticker { width: 74px; height: 74px; top: 52px; right: -6px; }
  .deal-sticker b { font-size: 20px; }
  .deal-sticker span { font-size: 10px; }
  .label.deal .model { padding-right: 64px; }
  .filters .slider { border-top: 0; padding: 10px 0 4px; }
  .filters .slider label { flex-direction: column; gap: 4px; }
  .filters .apply { grid-column: 1 / -1; grid-template-columns: 1fr auto; padding: 8px 0 10px; border-top: 0; }
  .filters .apply .btn { min-height: 44px; }
  .dgrid { grid-template-columns: 1fr; }
  .buybox { position: static; order: -1; }
  .why li { grid-template-columns: 1fr; gap: 4px; }
  .panel { padding: 20px; }
  table.meas th { padding-right: 12px; width: 40%; font-size: 14px; }
  .crumbs { padding-bottom: 6px; }
  .drive-header { grid-template-columns: 1fr; }
  /* the drive table becomes cards */
  table.drives thead { display: none; }
  table.drives, table.drives tbody, table.drives tr, table.drives td { display: block; width: 100%; }
  /* A drive as a compact card: id and price, the model, three figures side by side, then the
     self-test and a small way in (owner 2026-11-16). */
  table.drives tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "sn sn p" "m m m" "h c d" "t t go"; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  table.drives td { border: 0; padding: 0; text-align: left !important; }
  table.drives td.sn { grid-area: sn; }
  table.drives td.p { grid-area: p; text-align: right !important; }
  table.drives td.m { grid-area: m; font-size: 14px; }
  table.drives td.m a, table.drives td.m small { display: inline; }
  table.drives td.m small::before { content: " · "; }
  table.drives td.h { grid-area: h; }
  table.drives td.c { grid-area: c; }
  table.drives td.d { grid-area: d; }
  table.drives td.h, table.drives td.c, table.drives td.d { font-size: 15px; }
  table.drives td.t { grid-area: t; align-self: center; }
  table.drives td[data-l]::before { content: attr(data-l); display: block; font: 500 11px/1.3 var(--sans); color: var(--muted); }
  table.drives td.m[data-l]::before { content: none; }
  table.drives td.go { grid-area: go; text-align: right !important; }
  table.drives td.go a { display: inline-block; padding: 8px 14px; }
  .label { box-shadow: 5px 5px 0 var(--shadow); }
}
@media (max-width: 620px) {
  dl.facts > div { flex-direction: column; gap: 2px; }
  dl.facts dt { max-width: none; }
  dl.facts dd { text-align: left; }
  .members thead { display: none; }
  .members tr { display: block; border-bottom: 1px solid var(--muted); padding: 8px 0; }
  .members td { display: block; border: none; padding: 3px 0; }
  .order-lines th, .order-lines td { padding: 9px 8px; }
  .wholesale-prices { font-size: 14px; }
  /* The checkout lines stack on a phone so that no column — the remove link least of all — is
     pushed off screen. The quantity carries its column name with it. */
  .checkout .order-lines, .checkout .order-lines tbody, .checkout .order-lines tfoot { display: block; }
  .checkout .order-lines thead { display: none; }
  .checkout .order-lines tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px; border-bottom: 1px solid var(--rule2); }
  .checkout .order-lines th, .checkout .order-lines td { display: block; padding: 0; border: 0; }
  .checkout .order-lines tbody tr:last-child { border-bottom: 2px solid var(--ink); }
  .checkout .order-lines tbody tr:last-child td { border-bottom: 0; }
  .checkout .order-lines tbody td:first-child,
  .checkout .order-lines tfoot td[colspan="4"] { grid-column: 1 / -1; }
  .checkout .order-lines tbody td.num:not([data-label]) { text-align: right; }
  .checkout .order-lines td[data-label] { text-align: left; color: var(--ink2); }
  .checkout .order-lines td[data-label]::before { content: attr(data-label) ": "; }
  .checkout .order-lines tfoot tr { border-bottom: 0; }
  .checkout .order-lines td:empty { display: none; }
  .timeline { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .brand small { display: none; }
  .ctas .btn { width: 100%; }
}

/* A phone has no room for the price range and the button side by side (both never wrap): the
   price goes on its own line and the button spans the card. The facts stack without the dots. */
@media (max-width: 560px) {
  .model-card { grid-template-columns: minmax(0, 1fr); grid-template-areas: "id" "price" "go" "facts"; gap: 10px; }
  .model-card .mc-go { width: 100%; justify-content: center; }
  .model-card .mc-facts { flex-direction: column; gap: 2px; }
  .model-card .mc-facts > span + span::before { content: none; }
}

/* ── print ───────────────────────────────────────────────────────────────── */

/* ── Festplatte des Tages: countdown, saving, one-of-a-kind; the search-all button ───────────
 *
 * The countdown (public/js/deal.mjs) replaces „Nur heute · bis 24:00" in the head strip; tabular
 * figures so it does not jitter. ⛔ No animation (test/design.test.mjs): the sticker stands still.
 * Inside the card the deal's terms line repeats the chips and the head strip, so it is not drawn.
 */
.deal-clock { font-variant-numeric: tabular-nums; }
.deal .price-deal { display: none; }
.deal .label-body > .model, .deal .label-body > .sub { padding-right: 72px; }
.deal-saving { width: fit-content; margin: 6px 0 0; display: block; background: var(--accent); color: var(--accent-ink); font: 800 14px/1.2 var(--sans); padding: 6px 10px; border-radius: 4px; }
.deal-perks .perk-one { background: var(--amber-soft); border-color: var(--amber-edge); color: var(--amber); }
.btn.search-all { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-size: 17px; padding: 14px 22px; gap: 10px; box-shadow: 4px 4px 0 var(--ink); }
.btn.search-all:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn.search-all .icon { flex: none; }

/* ── campaign banner and templates ─────────────────────────────────────────
 *
 * A catalogue-wide campaign puts one banner under the header (src/pages/render.mjs
 * campaignBanner). A plain campaign draws it in ink; a template (`theme-<name>` on the body,
 * migration 0020) recolours the banner, the header and the campaign line beside each price.
 *
 * ⛔ THE NOTE IS NEVER SMALLER THAN 13PX OR FAINTER THAN AA. It carries the § 9a pointer to the
 *    reference price; a banner that shouts the figure and whispers the note misleads.
 *
 * Each template sets a palette (--cw-*) and shares the rules. The accent is used ON THE DARK
 * SURFACE ONLY — on the paper it would fail AA, so the paper keeps the house accent:
 *   Black Week    #0b0b0c + gold  #f5c542 (12.1:1)
 *   Black Friday  #0b0b0c + red   #ff5a4e (6.4:1)
 *   Cyber Monday  #07142b + cyan  #3ee0ff (11.6:1)
 */
.campaign-banner { background: var(--ink); color: var(--paper); border-bottom: 2px solid var(--ink); }
.campaign-banner .wrap { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "title figure until" "note note note"; gap: 4px 28px; align-items: baseline; padding-top: 14px; padding-bottom: 14px; }
.cb-title { grid-area: title; margin: 0; font: 800 15px/1.1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.cb-figure { grid-area: figure; margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.cb-figure sup { font-size: 14px; margin-left: 2px; }
.cb-until { grid-area: until; margin: 0; font-weight: 700; font-size: 15px; white-space: nowrap; }
.cb-note { grid-area: note; margin: 4px 0 0; font-size: 13px; line-height: 1.45; opacity: .9; }
@media (max-width: 720px) {
  .campaign-banner .wrap { grid-template-columns: 1fr auto; grid-template-areas: "title until" "figure figure" "note note"; gap: 6px 16px; }
  .cb-figure { font-size: 19px; }
}

.theme-blackweek, .campaign-blackweek { --cw-bg: #0b0b0c; --cw-accent: #f5c542; --cw-on-accent: #0b0b0c; --cw-ink: #f4f3ee; --cw-soft: #d9d6cd; --cw-tint: rgba(245, 197, 66, .06); }
.theme-blackfriday, .campaign-blackfriday { --cw-bg: #0b0b0c; --cw-accent: #ff5a4e; --cw-on-accent: #0b0b0c; --cw-ink: #f4f3ee; --cw-soft: #dcd8d0; --cw-tint: rgba(255, 90, 78, .07); }
.theme-cybermonday, .campaign-cybermonday { --cw-bg: #07142b; --cw-accent: #3ee0ff; --cw-on-accent: #07142b; --cw-ink: #eef6ff; --cw-soft: #c4d3e6; --cw-tint: rgba(62, 224, 255, .07); }

:is(.theme-blackweek, .theme-blackfriday, .theme-cybermonday) header.site { background: var(--cw-bg); border-bottom-color: var(--cw-accent); }
:is(.theme-blackweek, .theme-blackfriday, .theme-cybermonday) header.site :is(.brand, .brand .mark, nav.main a) { color: var(--cw-ink); }
:is(.theme-blackweek, .theme-blackfriday, .theme-cybermonday) header.site .brand small { color: var(--cw-soft); }
:is(.theme-blackweek, .theme-blackfriday, .theme-cybermonday) header.site .brand .mark .arm { stroke: var(--cw-accent); }
:is(.theme-blackweek, .theme-blackfriday, .theme-cybermonday) header.site nav.main a:is(:hover, [aria-current]) { border-color: var(--cw-accent); }
:is(.theme-blackweek, .theme-blackfriday, .theme-cybermonday) header.site .cart { color: var(--cw-ink); border-color: var(--cw-ink); }
:is(.theme-blackweek, .theme-blackfriday, .theme-cybermonday) header.site .cart b { background: var(--cw-accent); color: var(--cw-on-accent); }
:is(.theme-blackweek, .theme-blackfriday, .theme-cybermonday) header.site :focus-visible { outline-color: #7cb2ff; }
:is(.campaign-blackweek, .campaign-blackfriday, .campaign-cybermonday) { background: var(--cw-bg); color: var(--cw-ink); border-bottom: 4px solid var(--cw-accent);
  background-image: repeating-linear-gradient(-45deg, transparent 0 22px, var(--cw-tint) 22px 44px); }
.campaign-cybermonday { background-image: linear-gradient(var(--cw-tint) 1px, transparent 1px), linear-gradient(90deg, var(--cw-tint) 1px, transparent 1px); background-size: 22px 22px; }
:is(.campaign-blackweek, .campaign-blackfriday, .campaign-cybermonday) .cb-title { color: var(--cw-on-accent); background: var(--cw-accent); padding: 6px 10px; }
:is(.campaign-blackweek, .campaign-blackfriday, .campaign-cybermonday) .cb-figure { font-size: 26px; }
:is(.campaign-blackweek, .campaign-blackfriday, .campaign-cybermonday) :is(.cb-figure sup, .cb-until) { color: var(--cw-accent); }
:is(.campaign-blackweek, .campaign-blackfriday, .campaign-cybermonday) .cb-note { color: var(--cw-soft); opacity: 1; }
.campaign-cybermonday .cb-figure { font-family: var(--mono); letter-spacing: -.02em; }
:is(.theme-blackweek, .theme-blackfriday, .theme-cybermonday) .price-campaign { display: inline-block; background: var(--cw-bg); color: var(--cw-accent); padding: 3px 8px; font: 800 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 720px) { :is(.campaign-blackweek, .campaign-blackfriday, .campaign-cybermonday) .cb-figure { font-size: 21px; } }

@media print {
  .campaign-banner { display: none; }
  .topbar, header.site, footer.site, .filters, .pager, .skip, .buy-actions, .toolbar .sort, .setteaser { display: none; }
  body { background: #fff; color: #000; display: block; }
  .panel, .buybox, .label, .card, .result, .drive-buy { border-color: #999; box-shadow: none; break-inside: avoid; background: #fff; }
  .buybox { position: static; }
  a { text-decoration: none; color: #000; }
}
