/* DashBlood — "Precision" direction. Black, one red, hairlines, condensed type.
   Flat colour only: no gradients, no blur, no glass, no soft shadows. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("/assets/fonts/dmmono.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --black: #0a0a0b;
  --s1: #111113;
  --s2: #18181b;
  --line: #2a2a2e;
  --text: #f2f0ec;
  --mute: #9a9aa2;
  --red: #e30613;
  --red-d: #b80510;
  --paper: #f2f0ec;
  --ink: #0a0a0b;
  --ink-2: #55555c;
  --rule: #d8d4cc;
  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --wrap: 1320px;
  --gut: clamp(20px, 4vw, 56px);
}

@view-transition { navigation: auto; }
.hdr { view-transition-name: hdr; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--black); }
body { margin: 0; background: var(--black); color: var(--text); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; font-stretch: 100%; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 10px 14px; z-index: 200; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

/* Type */
.d { font-stretch: 62%; font-weight: 800; text-transform: uppercase; line-height: 0.9; letter-spacing: 0; }
.h1 { font-size: clamp(3.4rem, 9vw, 8.8rem); }
.h2 { font-size: clamp(2.6rem, 7vw, 6.2rem); }
.h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 0.95; }
.red { color: var(--red); }
.k { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.k b { color: var(--red); font-weight: 500; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #c9c7c1; max-width: 34em; }
.mask { display: block; overflow: hidden; padding-block: 0.04em; }
.mask > span { display: block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 14px; height: 52px; padding: 0 26px; background: var(--red); color: #fff; border: 1px solid var(--red); border-radius: 2px; font: 700 0.8rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 260ms var(--ease); }
.btn:hover { background: #fff; color: #000; border-color: #fff; }
.btn:hover svg { transform: translateX(5px); }
.btn--line { background: transparent; color: #fff; border-color: #55555c; }
.btn--line:hover { background: #fff; color: #000; border-color: #fff; }
.btn--dark { background: #000; border-color: #000; color: #fff; }
.btn--dark:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 60; background: var(--black); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand .plate { width: 38px; height: 38px; background: var(--paper); border-radius: 2px; display: grid; place-items: center; }
.brand .plate img { width: 32px; height: 32px; mix-blend-mode: multiply; }
.brand .word { font-stretch: 62%; font-weight: 800; font-size: 1.7rem; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1; }
.brand .word b { color: var(--red); font-weight: 800; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.1vw, 30px); }
.nav a { white-space: nowrap; }
.nav a:not(.btn) { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #d6d4ce; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease); }
.nav a:not(.btn):hover { color: #fff; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .btn { height: 44px; padding: 0 20px; }
.menu-btn { display: none; height: 44px; padding: 0 16px; background: none; border: 1px solid #55555c; border-radius: 2px; color: #fff; font: 700 0.74rem var(--sans); letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 9vw, 128px) clamp(56px, 8vw, 112px); }
.ghost { position: absolute; right: -3vw; bottom: -7vw; font-family: var(--sans); font-stretch: 62%; font-weight: 900; font-size: clamp(22rem, 56vw, 64rem); line-height: 0.78; color: transparent; -webkit-text-stroke: 1.5px #1c1c20; pointer-events: none; user-select: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4.4fr); gap: clamp(32px, 4vw, 72px); align-items: end; }
.hero .k { margin-bottom: 26px; }
.hero .lede { margin-top: 34px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.stores { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; }
.stores a { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: color 200ms, border-color 200ms; }
.stores a:hover { color: #fff; border-color: var(--red); }

/* Live panel */
.panel { background: var(--s1); border: 1px solid var(--line); }
.panel-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.live { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.live::before { content: ""; width: 8px; height: 8px; background: var(--red); animation: blink 1.6s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.row { display: grid; grid-template-columns: 4.4rem 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; border-top: 1px solid var(--line); position: relative; transition: background-color 160ms; }
.row:first-of-type { border-top: 0; }
a.row:hover { background: var(--s2); }
.row.urgent::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); }
.bt { font-family: var(--sans); font-stretch: 62%; font-weight: 800; font-size: 2.4rem; line-height: 1; color: #fff; }
.row strong { display: block; font-weight: 600; line-height: 1.25; }
.row small { color: var(--mute); font-size: 0.86rem; }
.row .m { font-family: var(--mono); font-size: 0.72rem; color: var(--mute); text-align: right; white-space: nowrap; letter-spacing: 0.06em; }
.row .m i { font-style: normal; color: var(--red); }
.panel-e { padding: 30px 18px; color: var(--mute); }
.panel-f { padding: 14px 18px; border-top: 1px solid var(--line); font-size: 0.84rem; color: var(--mute); }

/* Spec strip */
.specs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.specs div { padding: 34px 28px 30px; }
.specs div + div { border-left: 1px solid var(--line); }
.specs b { display: block; font-stretch: 62%; font-weight: 800; font-size: clamp(3rem, 7vw, 6rem); line-height: 0.9; }
.specs span { display: block; margin-top: 14px; }

/* Sections */
.sec { padding-block: clamp(72px, 11vw, 152px); }
.sec-h { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 80px); max-width: 60rem; }
.light { background: var(--paper); color: var(--ink); }
.light .k { color: var(--ink-2); }
.light .lede { color: var(--ink-2); }
.light a:hover { color: var(--red); }

/* Rail: the first ten minutes */
.rail { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.rail::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line); }
.rail::after { content: ""; position: absolute; left: 0; top: 6px; height: 3px; width: 0; background: var(--red); transition: width 1600ms var(--ease) 200ms; }
.rail.in::after { width: 100%; }
.node { position: relative; padding: 44px 22px 0 0; }
.node::before { content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; background: var(--black); border: 3px solid var(--red); }
.node .t { display: block; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; color: var(--red); margin-bottom: 14px; }
.node h3 { margin-bottom: 14px; }
.node p { color: var(--mute); font-size: 0.98rem; }

/* App showcase */
.show { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.tabs { display: inline-flex; border: 1px solid var(--line); margin-bottom: 36px; }
.tabs button { height: 46px; padding: 0 22px; background: none; color: var(--mute); border: 0; font: 700 0.72rem var(--sans); letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; transition: background-color 180ms, color 180ms; }
.tabs button + button { border-left: 1px solid var(--line); }
.tabs button[aria-selected="true"] { background: #fff; color: #000; }
.tabs button:hover:not([aria-selected="true"]) { color: #fff; }
.callouts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.callouts li { border-bottom: 1px solid var(--line); }
.callouts button { width: 100%; display: grid; grid-template-columns: 3.2rem 1fr; gap: 6px; text-align: left; padding: 22px 0; background: none; border: 0; color: var(--mute); cursor: pointer; font: inherit; transition: color 200ms; }
.callouts .n { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; color: var(--mute); padding-top: 4px; }
.callouts b { display: block; font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: 1.7rem; line-height: 1; color: #d6d4ce; margin-bottom: 8px; transition: color 200ms; }
.callouts span.s { display: block; font-size: 0.98rem; max-width: 30em; }
.callouts button[aria-pressed="true"] { color: #c9c7c1; }
.callouts button[aria-pressed="true"] b, .callouts button[aria-pressed="true"] .n { color: var(--red); }
.callouts button:hover b { color: #fff; }
.stage { display: grid; justify-items: center; gap: 18px; }
.cap { text-align: center; }

/* Phone */
.phone { position: relative; width: 304px; height: 628px; background: #050506; border: 2px solid #3a3a40; border-radius: 48px; padding: 9px; }
.phone::before { content: ""; position: absolute; left: -5px; top: 150px; width: 3px; height: 64px; background: #3a3a40; }
.phone::after { content: ""; position: absolute; right: -5px; top: 190px; width: 3px; height: 92px; background: #3a3a40; }
.island { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); width: 86px; height: 24px; background: #000; border-radius: 99px; z-index: 5; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 39px; overflow: hidden; background: #fafafb; color: #111827; font-family: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif; font-stretch: 100%; font-size: 11px; line-height: 1.35; display: none; flex-direction: column; }
.screen.on { display: flex; }
.sbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 26px 6px; font-weight: 700; font-size: 11px; }
.sbar svg { width: 14px; height: 14px; fill: none; stroke: #111827; stroke-width: 2; }
.body { flex: 1; padding: 6px 14px 0; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.ab { display: flex; align-items: center; gap: 8px; padding: 6px 14px 4px; font-weight: 700; font-size: 13px; }
.ab svg { width: 18px; height: 18px; fill: none; stroke: #111827; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ab .sp { flex: 1; }
.ab svg.r { stroke: #e30613; }
.hi { display: flex; justify-content: space-between; align-items: flex-start; font-size: 17px; font-weight: 700; line-height: 1.15; }
.hi svg { width: 20px; height: 20px; fill: none; stroke: #111827; stroke-width: 1.8; }
.sf { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; color: #6b7280; font-size: 10px; }
.sf svg { width: 15px; height: 15px; fill: none; stroke: #6b7280; stroke-width: 2; flex: none; }
.sf .sp { flex: 1; }
.sec-t { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; font-weight: 700; margin-top: 2px; }
.sec-t a { color: #e30613; font-size: 10px; font-weight: 700; }
.card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 11px; }
.card.soft { background: #ffeef0; border-color: #ffd9de; }
.rq { display: grid; grid-template-columns: 26px 1fr auto; gap: 9px; align-items: center; }
.rq svg { width: 26px; height: 26px; fill: none; stroke: #e30613; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rq b { display: block; font-size: 13px; }
.rq small { color: #4b5563; font-size: 10px; }
.badge { background: #ffeef0; color: #e30613; font-size: 8px; font-weight: 900; padding: 4px 7px; border-radius: 6px; letter-spacing: 0.04em; }
.rq-f { display: flex; justify-content: space-between; align-items: center; margin-top: 9px; font-size: 9.5px; font-weight: 700; color: #4b5563; }
.pill { background: #e30613; color: #fff; font-size: 10px; font-weight: 800; padding: 7px 11px; border-radius: 8px; }
.elig { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.elig b { display: block; color: #129e63; font-size: 11.5px; }
.elig span { color: #4b5563; font-size: 9.5px; }
.elig .dr { width: 34px; height: 34px; border-radius: 50%; background: #ffeef0; display: grid; place-items: center; flex: none; }
.elig .dr svg { width: 17px; height: 17px; fill: none; stroke: #e30613; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bt1 { display: flex; align-items: center; justify-content: center; gap: 6px; height: 38px; border-radius: 10px; font-size: 10.5px; font-weight: 700; color: #fff; }
.bt1 svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bt1.red { background: #e30613; }
.bt1.green { background: #067647; }
.bt1.out { background: #fff; color: #111827; border: 1px solid #d1d5db; }
.bt1.wide { height: 40px; font-size: 11px; }
.nb { display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 6px 14px; background: #fff; border-top: 1px solid #e5e7eb; text-align: center; font-size: 9px; font-weight: 600; color: #4b5563; margin-top: auto; }
.nb div { display: grid; justify-items: center; gap: 3px; }
.nb svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nb .a { color: #e30613; font-weight: 800; }
.nb .a i { background: #ffeef0; width: 40px; height: 24px; border-radius: 99px; display: grid; place-items: center; font-style: normal; }
.big { display: flex; align-items: baseline; gap: 8px; }
.big b { font-size: 30px; font-weight: 800; color: #e30613; line-height: 1; }
.big span { color: #e30613; font-weight: 700; font-size: 12px; }
.kv { display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; padding: 5px 0; }
.kv svg { width: 17px; height: 17px; fill: none; stroke: #111827; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.kv small { display: block; color: #6b7280; font-size: 9px; }
.kv b { font-size: 10.5px; }
.pl { display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: center; padding: 3px 0; font-size: 10.5px; }
.pl svg { width: 16px; height: 16px; fill: none; stroke: #e30613; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nx { margin-top: 6px; font-weight: 800; font-size: 10.5px; }
.sm { color: #4b5563; font-size: 9px; margin-top: 3px; }
/* focus mode: the callout you pick is outlined, the rest quietens */
.screen.focus [data-h] { transition: opacity 240ms var(--ease), outline-color 240ms; opacity: 0.38; outline: 2px solid transparent; outline-offset: 3px; }
.screen.focus [data-h].on { opacity: 1; outline-color: #e30613; }

/* Configurator */
.conf { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.bigtype { font-stretch: 62%; font-weight: 800; font-size: clamp(9rem, 26vw, 22rem); line-height: 0.8; color: var(--red); margin-bottom: 32px; }
.picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); }
.picker button { height: 72px; background: none; color: #fff; border: 0; font: 800 1.9rem/1 var(--sans); font-stretch: 62%; cursor: pointer; transition: background-color 160ms, color 160ms; }
.picker button:nth-child(n + 5) { border-top: 1px solid var(--line); }
.picker button:not(:nth-child(4n + 1)) { border-left: 1px solid var(--line); }
.picker button:hover { background: var(--s2); }
.picker button[aria-pressed="true"] { background: var(--red); color: #fff; }
.res h3 { margin-bottom: 18px; display: flex; align-items: baseline; gap: 14px; }
.res h3 .k { font-size: 0.7rem; }
.tl { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; min-height: 3.6rem; }
.chip { display: inline-grid; place-items: center; min-width: 4.4rem; height: 3.6rem; padding: 0 14px; border: 1px solid #55555c; font-stretch: 62%; font-weight: 800; font-size: 1.9rem; line-height: 1; color: #fff; }
.chip.me { background: var(--red); border-color: var(--red); }
.note { font-size: 0.86rem; color: var(--mute); max-width: 40em; }

/* Spec table (light) */
.tbl { border-bottom: 1px solid var(--rule); }
.tr { display: grid; grid-template-columns: minmax(9rem, 1fr) 2.2fr; gap: 24px; padding: 24px 0; border-top: 1px solid var(--rule); }
.tr .k { padding-top: 4px; }
.tr p { font-size: clamp(1.1rem, 1.8vw, 1.5rem); line-height: 1.35; max-width: 32em; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.partners { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; margin-top: 8px; }
.partners img { height: 46px; width: auto; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; }

/* Final CTA */
.final { border-top: 1px solid var(--line); }
.final .h1 { font-size: clamp(4rem, 14vw, 13rem); }

.about { columns: 2; column-gap: 56px; color: var(--mute); font-size: 0.98rem; }
.about p { break-inside: avoid; margin-bottom: 16px; }
.about strong { color: #d6d4ce; font-weight: 600; }
.about a { color: #fff; border-bottom: 1px solid var(--red); }

/* Footer */
.ftr { border-top: 1px solid var(--line); padding-block: 72px 32px; }
.fg { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.ftr h3 { font-family: var(--mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr li a { color: #d6d4ce; transition: color 160ms; }
.ftr li a:hover { color: #fff; }
.legal { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; color: var(--mute); font-size: 0.82rem; }

/* Motion: everything is visible without JS; with JS content rises once. */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .mask > span { transform: translateY(108%); transition: transform 1000ms var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 100ms); }
.js .in .mask > span, .js .mask.in > span { transform: none; }

/* Above the fold plays on load with CSS only, so it never waits for JS. */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes unmask { from { transform: translateY(108%); } to { transform: none; } }
.js .hero .mask > span { transform: none; transition: none; animation: unmask 900ms var(--ease) both; animation-delay: calc(var(--i, 0) * 100ms + 60ms); }
.js .hero .rv { opacity: 1; transform: none; transition: none; animation: rise 700ms var(--ease) both; animation-delay: 300ms; }
.js .hero .panel.rv { animation-delay: 450ms; }

.langbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--gut); background: #fff; color: #000; font-weight: 600; }
.langbar a { border-bottom: 2px solid var(--red); }
.langbar button { background: none; border: 0; font-size: 1.5rem; line-height: 1; cursor: pointer; color: #000; }

/* ---------- Inner pages (shared components) ---------- */
.portrait { display: block; width: 100%; max-width: 280px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; background: var(--s2); margin-bottom: 8px; }
.portrait--mono { display: grid; place-items: center; font-stretch: 62%; font-weight: 800; font-size: 5rem; color: var(--red); border: 1px solid var(--line); }
.light .portrait { background: #e7e3da; }
.light .portrait--mono { border-color: var(--rule); }
.nav .lang { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; border: 1px solid var(--line); padding: 8px 10px; color: var(--text); }
.nav .lang:hover { border-color: #fff; }
.nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }

.phead { padding-block: clamp(56px, 8vw, 112px) clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.phead .k { margin-bottom: 26px; }
.phead h1 { font-size: clamp(2.8rem, 7.2vw, 6.4rem); max-width: 14em; }
.phead .lede { margin-top: 28px; }
.lede a { color: #fff; border-bottom: 1px solid var(--red); }
.light .lede a { color: var(--ink); }
.phead .cta { margin-top: 32px; }
.k a { color: #fff; border-bottom: 1px solid var(--red); }
.light .k a { color: var(--ink); }
.crumbs { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); margin-bottom: 26px; }
.crumbs a { color: var(--mute); border-bottom: 1px solid var(--line); }
.crumbs a:hover { color: #fff; }
.crumbs i { font-style: normal; color: var(--red); padding-inline: 8px; }

.tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.tag::before { content: ""; width: 8px; height: 8px; background: var(--red); }

.prose { max-width: 44rem; color: #d6d4ce; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-stretch: 62%; font-weight: 800; text-transform: uppercase; line-height: 0.95; font-size: clamp(1.9rem, 3.4vw, 2.8rem); color: #fff; margin-top: 2.1em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; font-weight: 700; color: #fff; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.7em; }
.prose ul, .prose ol { padding-left: 1.25em; display: grid; gap: 0.55em; }
.prose li::marker { color: var(--red); }
.prose a { color: #fff; border-bottom: 1px solid var(--red); }
.prose a:hover { color: var(--red); }
.prose strong { color: #fff; font-weight: 600; }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--red); color: #fff; }
.prose code { font-family: var(--mono); font-size: 0.88em; background: var(--s2); padding: 2px 6px; }
.light .prose { color: #2c2c31; }
.light .prose h2, .light .prose h3, .light .prose strong, .light .prose a, .light .prose blockquote { color: var(--ink); }
.light .prose a:hover { color: var(--red); }
.light .prose code { background: #e7e3da; }

.cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cell { padding: 34px 28px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; align-content: start; gap: 14px; }
.cell .k { color: var(--red); }
.cell h3 { font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 0.95; }
.cell p { color: var(--mute); font-size: 0.98rem; }
.cell a { color: #fff; border-bottom: 1px solid var(--red); justify-self: start; }
.light .cells { border-color: var(--rule); }
.light .cell { border-color: var(--rule); }
.light .cell p { color: var(--ink-2); }
.light .cell a { color: var(--ink); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 4.2rem 1fr; gap: 8px 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--red); padding-top: 6px; grid-row: span 2; }
.steps b { font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1; color: #fff; display: block; }
.steps span, .steps p { color: var(--mute); max-width: 40em; }
.light .steps, .light .steps li { border-color: var(--rule); }
.light .steps b { color: var(--ink); }
.light .steps span, .light .steps p { color: var(--ink-2); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 22px 0; font-weight: 600; font-size: 1.12rem; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-weight: 500; font-size: 1.4rem; color: var(--red); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--red); }
.faq .ans { padding: 0 0 26px; color: #c9c7c1; max-width: 46em; display: grid; gap: 0.8em; }
.faq .ans a { color: #fff; border-bottom: 1px solid var(--red); }
.light .faq, .light .faq details { border-color: var(--rule); }
.light .faq summary { color: var(--ink); }
.light .faq .ans { color: #2c2c31; }
.light .faq .ans a { color: var(--ink); }

.callout { border-left: 3px solid var(--red); padding: 6px 0 6px 22px; max-width: 44rem; color: #e6e4de; }
.light .callout { color: var(--ink); }

.post { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: clamp(32px, 6vw, 88px); align-items: start; }
.related { border-top: 1px solid var(--rule); position: sticky; top: 96px; }
.related h2 { font-family: var(--mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); padding-block: 18px 6px; }
.related ol { list-style: none; margin: 0; padding: 0; }
.related li { border-top: 1px solid var(--rule); }
.related li:first-child { border-top: 0; }
.related a { display: block; padding: 14px 0; line-height: 1.3; font-weight: 600; }
.related a:hover { color: var(--red); }

.data-wrap { overflow-x: auto; }
.data { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.data th, .data td { text-align: left; padding: 14px 16px 14px 0; border-top: 1px solid var(--line); vertical-align: top; }
.data th { font-family: var(--mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.light .data th, .light .data td { border-color: var(--rule); }
.light .data th { color: var(--ink-2); }

.band { border-top: 1px solid var(--line); padding-block: clamp(64px, 9vw, 120px); }
.band h2 { font-size: clamp(2.4rem, 6vw, 5rem); max-width: 12em; }
.band p { margin-top: 20px; }
.card-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.card-list a { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.card-list a:hover h3 { color: var(--red); }
.card-list h3 { font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1; transition: color 160ms; }
.card-list p { grid-column: 1; color: var(--mute); max-width: 44em; }
.card-list .k { grid-column: 2; grid-row: 1; }
.light .card-list, .light .card-list a { border-color: var(--rule); }
.light .card-list p { color: var(--ink-2); }
.pad { padding-block: clamp(48px, 7vw, 96px); }

@media (min-width: 981px) and (max-width: 1200px) {
  .nav a:not(.btn) { letter-spacing: 0.1em; }
  .nav .btn { padding: 0 14px; gap: 10px; }
  .hdr .wrap { gap: 14px; }
}
@media (max-width: 980px) {
  .hero-grid, .show, .conf, .split { grid-template-columns: 1fr; }
  .rail { grid-template-columns: 1fr; gap: 36px; }
  .rail::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .rail::after { left: 6px; top: 0; width: 3px; height: 0; transition: height 1600ms var(--ease) 200ms; }
  .rail.in::after { width: 3px; height: 100%; }
  .node { padding: 0 0 0 44px; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .specs div:nth-child(3) { border-left: 0; }
  .specs div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .about { columns: 1; }
  .fg { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: inline-block; }
  .nav { position: absolute; left: 0; right: 0; top: 72px; background: var(--black); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 24px; display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 0.82rem; }
  .nav .btn { margin-top: 18px; justify-content: space-between; }
  .tr { grid-template-columns: 1fr; gap: 8px; }
  .post { grid-template-columns: 1fr; }
  .related { position: static; }
  .nav .lang { align-self: flex-start; margin-top: 18px; }
}
@media (max-width: 560px) {
  .row { grid-template-columns: 3.6rem 1fr; }
  .row .m { grid-column: 1 / -1; text-align: left; }
  .fg { grid-template-columns: 1fr; }
  .cta .btn { flex: 1 1 100%; justify-content: space-between; }
  .tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .tabs button { padding: 0 8px; }
  .picker button { height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv, .js .mask > span { opacity: 1; transform: none; }
  .rail::after { width: 100%; }
}
@media print { .hdr { display: none; } body { background: #fff; color: #000; } }

.light .btn--line { color: var(--ink); border-color: var(--ink); }
.light .btn--line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
