:root {
  --bg: #09090b;
  --surface: #111114;
  --raised: #16161a;
  --line: #222227;
  --line-strong: #2e2e35;
  --text: #f2f2f4;
  --muted: #a3a3ad;
  --faint: #73737e;
  /* The counter's own rows, tight to wide: the only colours on the page. */
  --w1: #fe6150;
  --w2: #feb54b;
  --w3: #fdf570;
  --w4: #ffffff;
  --w56: #84ec8b;
  --w78: #70c3fe;
  --w910: #787ffc;
  --sans: Inter, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, ui-monospace, "SF Mono", Menlo, monospace;
  --radius: 16px;
  --page: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; overflow-x: hidden; background: var(--bg); }
a { color: inherit; }
img, video, svg { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--text); color: var(--bg); }
code { padding: 1px 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--raised); color: var(--text); font: 400 .84em/1.5 var(--mono); overflow-wrap: anywhere; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 8px; background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* A ruler of frames: one tick per frame, every fourth one longer. */
.ruler { height: 12px; background:
    repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 48px) 0 0 / 100% 12px no-repeat,
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12px) 0 0 / 100% 6px no-repeat; }

/* ---- navigation ---- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(9, 9, 11, .86); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; flex: none; align-items: center; gap: 11px; font-weight: 700; font-size: 16px; letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: 8px; }
.nav nav { display: flex; align-items: center; gap: 2px; min-width: 0; }
.nav nav a { flex: none; padding: 8px 12px; border-radius: 8px; color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none; transition: color .15s, background-color .15s; }
.nav nav a:hover, .nav nav a[aria-current] { color: var(--text); }
.nav nav a:hover { background: var(--surface); }
.nav nav a.cta { margin-left: 8px; padding: 8px 16px; color: var(--bg); background: var(--text); font-weight: 600; }
.nav nav a.cta:hover { background: #fff; }

/* ---- hero ---- */
.hero { padding: 84px 0 56px; }
.pill { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; max-width: 100%; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font: 500 12.5px/1.4 var(--mono); }
.pill b { color: var(--text); font-weight: 500; }
.pill i { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }
h1 { margin: 26px 0 0 -0.045em; font-size: clamp(72px, 15vw, 184px); line-height: .86; font-weight: 800; letter-spacing: -0.065em; }
.claim { margin-top: 26px; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.12; font-weight: 600; letter-spacing: -0.035em; }
.sub { max-width: 36em; margin-top: 18px; color: var(--muted); font-size: clamp(16px, 1.5vw, 18px); line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--text); font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color .15s, border-color .15s, transform .15s var(--ease); cursor: pointer; }
.btn:hover { background: var(--raised); border-color: #3a3a42; }
.btn:active { transform: translateY(1px); }
.btn.primary { border-color: var(--text); background: var(--text); color: var(--bg); }
.btn.primary:hover { background: #fff; border-color: #fff; }
.btn svg { width: 16px; height: 16px; flex: none; }
.file { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; color: var(--faint); font: 400 12.5px/1.6 var(--mono); }
.file b { color: var(--muted); font-weight: 400; }
.platforms { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; }
.platforms li { padding: 2px 8px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--text); font: 500 11.5px/1.6 var(--mono); }

/* ---- showcase ---- */
.stage { position: relative; border: 1px solid var(--line-strong); border-radius: 20px; background: #000; overflow: hidden; }
.stage .screen { position: relative; }
.stage video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
/* The run under the video: one line per counted click, in its row's colour, taller where the window is tighter. */
.strip { position: relative; height: 48px; border-top: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; touch-action: none; overflow: hidden; }
.strip b { position: absolute; bottom: 0; width: 2px; height: var(--h); margin-left: -1px; border-radius: 1px 1px 0 0; background: var(--c); opacity: .3; transition: opacity .25s; }
.strip b.past { opacity: 1; }
.strip i { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: var(--text); opacity: 0; transform: translateX(var(--x, 0px)); }
.strip.live i { opacity: 1; }
.stage button { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 9px; background: rgba(9, 9, 11, .72); color: var(--text); font: 500 12px/1 var(--mono); cursor: pointer; opacity: 0; transition: opacity .2s; }
.stage:hover button, .stage button:focus-visible, .stage.paused button { opacity: 1; }
.stage button svg { width: 10px; height: 10px; }
.caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 14px 18px 16px; border-top: 1px solid var(--line-strong); background: var(--bg); color: var(--faint); font: 400 12.5px/1.6 var(--mono); }
.caption b { color: var(--muted); font-weight: 400; }

/* ---- numbers ---- */
.numbers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 72px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.numbers > div { padding: 26px 24px 24px; min-width: 0; border-left: 1px solid var(--line); }
.numbers > div:first-child { border-left: 0; }
.numbers dt { font: 700 clamp(22px, 2.6vw, 32px)/1.1 var(--mono); letter-spacing: -0.04em; white-space: nowrap; }
.numbers dd { margin-top: 10px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }

/* ---- sections ---- */
section { padding: 128px 0 0; }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 27em); align-items: end; gap: 14px 48px; margin-bottom: 36px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--faint); font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--line-strong); }
h2 { margin-top: 16px; font-size: clamp(34px, 5vw, 58px); line-height: 1.02; font-weight: 700; letter-spacing: -0.045em; text-wrap: balance; }
.head > p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.head > p a { color: var(--text); text-underline-offset: 3px; }
h3 { font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; }
.h4 { margin-bottom: 16px; font-size: 14.5px; font-weight: 600; letter-spacing: 0; }

/* ---- how a window is measured ---- */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; }
.how .text, .how .figure, .text-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.how .text, .text-card { display: flex; flex-direction: column; gap: 22px; padding: 32px; }
.how .text > p { color: var(--muted); font-size: 16px; line-height: 1.65; }
.how .text > p b { color: var(--text); font-weight: 600; }
.rules { display: grid; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.how .rules { margin-top: auto; }
.rules li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.rules li:last-child { border-bottom: 0; padding-bottom: 0; }
.rules li::before { content: ""; width: 8px; height: 8px; margin-top: 7px; border-radius: 2px; background: var(--c, var(--faint)); }
.rules b { color: var(--text); font-weight: 600; }
.how .figure { display: flex; flex-direction: column; padding: 28px; min-width: 0; }
.figure .label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; color: var(--faint); font: 500 11.5px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.track { position: relative; margin: auto 0; padding: 30px 0 26px; }
.recorded { margin-bottom: 10px; color: var(--text); font: 500 12px/1.4 var(--mono); text-align: center; }
.cells { --gap: 6px; display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: var(--gap); padding: 0; list-style: none; }
.cells li { position: relative; display: flex; align-items: center; justify-content: center; height: 64px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--raised); color: var(--faint); font: 500 11px/1 var(--mono); transition: background-color .25s, border-color .25s, color .25s; }
.cells li.ok { border-color: var(--w56); background: rgba(132, 236, 139, .15); color: var(--w56); }
.cells li.dead { border-color: var(--w1); background: rgba(254, 97, 80, .11); color: var(--w1); }
.cells li.now { box-shadow: 0 0 0 2px var(--text); }
.cells li.zero::before { content: ""; position: absolute; left: 50%; top: -11px; width: 1.5px; height: 8px; background: var(--text); }
/* Under the cells from -2 to +3: three cells in from the left, two from the right (each cell and its gap is (100% + gap) / 11). */
.bracket { --gap: 6px; margin: 16px calc((100% + var(--gap)) / 11 * 2) 0 calc((100% + var(--gap)) / 11 * 3); padding-top: 10px; border-top: 1.5px solid var(--w56); text-align: center; opacity: 0; transition: opacity .4s; }
.bracket.on { opacity: 1; }
.bracket b, .bracket span { display: block; width: max-content; margin-left: 50%; transform: translateX(-50%); white-space: nowrap; }
.bracket b { color: var(--w56); font: 700 14px/1.4 var(--mono); }
.bracket span { color: var(--faint); font: 400 12px/1.6 var(--mono); }
.figure .status { min-height: 52px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font: 400 13px/1.8 var(--mono); }
.figure .status b { color: var(--text); font-weight: 500; }

/* ---- features ---- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; grid-column: span 4; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: border-color .2s; }
.card:hover { border-color: var(--line-strong); }
.card.w5 { grid-column: span 5; }
.card.w6 { grid-column: span 6; }
.card.w7 { grid-column: span 7; }
.card .body { display: flex; flex-direction: column; gap: 12px; padding: 28px 28px 26px; }
.card .n { color: var(--faint); font: 500 12px/1 var(--mono); letter-spacing: .06em; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.card .shot { margin-top: auto; border-top: 1px solid var(--line); background: #000; }
.card .shot img { width: 100%; height: auto; }
.before-after { display: grid; gap: 14px; margin-top: auto; padding: 22px 28px 26px; border-top: 1px solid var(--line); }
.before-after div { display: grid; grid-template-columns: 86px minmax(0, 1fr); align-items: center; gap: 14px; color: var(--faint); font: 500 11.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.before-after ol { display: flex; gap: 6px; padding: 0; list-style: none; }
.before-after li { flex: 1; min-width: 0; padding: 7px 0 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--c); font: 700 13.5px/1 var(--mono); text-align: center; letter-spacing: 0; }
.before-after p { color: var(--faint); font: 400 12px/1.6 var(--mono); }

/* ---- legit play ---- */
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.shot-frame { border: 1px solid var(--line-strong); border-radius: var(--radius); background: #000; overflow: hidden; }
.shot-frame img { width: 100%; height: 100%; object-fit: cover; }
.text-card .rules { border-top: 0; }
.text-card .rules li:first-child { padding-top: 0; }
.small { color: var(--faint); font-size: 13.5px; line-height: 1.6; }

/* ---- platforms ---- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow-x: auto; }
.matrix { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
.matrix th, .matrix td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }
.matrix thead th { color: var(--faint); font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.matrix tbody th { color: var(--text); font-weight: 500; }
.matrix td { width: 13%; font: 500 13px/1.4 var(--mono); }
.matrix td.y { color: var(--w56); }
.matrix td.n { color: var(--faint); }
.footnote { margin-top: 16px; color: var(--faint); font-size: 13.5px; line-height: 1.6; }

/* ---- install guide ---- */
.guide { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.tabs { display: flex; gap: 4px; padding: 10px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { flex: none; padding: 9px 18px; border: 1px solid transparent; border-radius: 9px; background: none; color: var(--muted); font: 500 14px/1.4 var(--sans); cursor: pointer; transition: color .15s, background-color .15s; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { border-color: var(--line-strong); background: var(--raised); color: var(--text); }
.panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.panel[hidden] { display: none; }
.panel > div { padding: 32px; min-width: 0; }
.panel > div + div { border-left: 1px solid var(--line); }
.steps { display: grid; gap: 13px; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; min-width: 0; padding-left: 36px; color: var(--muted); font-size: 14.5px; line-height: 1.6; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--text); font: 500 11.5px/20px var(--mono); text-align: center; }
.steps a { color: var(--text); text-underline-offset: 3px; }

/* ---- download ---- */
.release { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; padding: 44px; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--surface); }
.release h3 { display: flex; align-items: center; gap: 14px; font-size: clamp(30px, 4vw, 44px); line-height: 1; font-weight: 700; letter-spacing: -0.045em; }
.release h3 span { padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--muted); font: 500 13px/1.5 var(--mono); letter-spacing: 0; }
.release p { max-width: 44em; margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.release p b { color: var(--text); font-weight: 600; }
.release p a { color: var(--text); text-underline-offset: 3px; }
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7px 20px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); font: 400 12.5px/1.7 var(--mono); }
.facts dt { color: var(--faint); }
.facts dd { min-width: 0; color: var(--muted); overflow-wrap: anywhere; }
.facts a { color: var(--text); text-underline-offset: 3px; }
.release .btn { min-height: 58px; padding: 0 30px; font-size: 16px; }

/* ---- questions ---- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--muted); font: 400 18px/26px var(--mono); text-align: center; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 52em; padding: 0 0 24px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }

/* ---- footer ---- */
body > footer { margin-top: 128px; padding: 0 0 56px; color: var(--faint); font-size: 13px; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 32px; }
.formats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.formats span { margin-right: 6px; }
.formats code { color: var(--muted); font-size: 12px; }
.links { display: flex; flex-wrap: wrap; gap: 18px; }
.links a { color: var(--muted); text-decoration: none; }
.links a:hover { color: var(--text); }

/* ---- documents (docs, changelog) ---- */
.page-head { padding: 72px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 18px 0 0; font-size: clamp(44px, 7vw, 84px); line-height: .95; letter-spacing: -0.055em; }
.page-head p.lead { max-width: 40em; margin-top: 20px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.doc { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; padding-top: 48px; }
.toc { position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 110px); overflow-y: auto; }
.toc p { margin-bottom: 12px; color: var(--faint); font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.toc ol { display: grid; gap: 2px; padding: 0; list-style: none; }
.toc a { display: block; padding: 5px 10px; border-radius: 7px; color: var(--muted); font-size: 14px; line-height: 1.4; text-decoration: none; }
.toc a:hover { background: var(--surface); color: var(--text); }
.prose { max-width: 46em; min-width: 0; }
.prose h2 { margin: 64px 0 18px; font-size: clamp(28px, 3.4vw, 36px); scroll-margin-top: 84px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 12px; font-size: 19px; }
.prose p, .prose li { color: var(--muted); font-size: 16px; line-height: 1.7; }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { display: grid; gap: 8px; margin: 14px 0; padding-left: 22px; }
.prose strong, .prose b { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-underline-offset: 3px; }
.prose table { width: 100%; margin: 18px 0; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--muted); text-align: left; vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; }
.prose .tbl { overflow-x: auto; }
.callout { margin: 20px 0; padding: 16px 18px; border: 1px solid var(--line); border-left: 3px solid var(--c, var(--line-strong)); border-radius: 10px; background: var(--surface); }
.callout p { font-size: 15px; }

/* changelog */
.log { padding: 0; list-style: none; }
.log > li { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 12px 32px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.log .meta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.log .ver { font: 700 26px/1 var(--mono); letter-spacing: -0.04em; }
.log time { color: var(--faint); font: 400 12.5px/1.5 var(--mono); }
.log h3 { margin-bottom: 18px; font-size: 22px; }
.log h4 { margin: 22px 0 10px; color: var(--faint); font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.log h3 + h4 { margin-top: 0; }
.log ul { display: grid; gap: 8px; padding: 0; list-style: none; color: var(--muted); font-size: 15px; line-height: 1.6; }
.log ul li { position: relative; padding-left: 20px; }
.log ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--c, var(--line-strong)); }
.log .new li { --c: var(--w56); }
.log .changed li { --c: var(--w78); }
.log .fixed li { --c: var(--w2); }
.log ul b { color: var(--text); font-weight: 600; }

/* not found */
.lost { padding: 120px 0 40px; }
.lost h1 { font-size: clamp(56px, 10vw, 120px); }
.lost p { max-width: 30em; margin-top: 18px; color: var(--muted); font-size: 17px; }
.lost .actions { margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .strip b, .cells li, .bracket { transition: none; }
}

@media (max-width: 1060px) {
  .nav nav a { padding: 8px 9px; }
}
@media (max-width: 1000px) {
  .hero { padding-top: 64px; }
  .numbers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .numbers > div { border-top: 1px solid var(--line); }
  .numbers > div:nth-child(-n + 3) { border-top: 0; }
  .numbers > div:nth-child(3n + 1) { border-left: 0; }
  .head { grid-template-columns: 1fr; }
  .how, .split { grid-template-columns: 1fr; }
  .card, .card.w5, .card.w6, .card.w7 { grid-column: span 6; }
  .panel { grid-template-columns: 1fr; }
  .panel > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .release { grid-template-columns: 1fr; padding: 32px; }
  .doc { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; max-height: none; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
  .log > li { grid-template-columns: 150px minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .nav nav a:not(.cta) { display: none; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 44px 0 44px; }
  section { padding-top: 96px; }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; }
  .numbers > div { padding: 20px 18px; border-left: 0; border-top: 1px solid var(--line); }
  .numbers > div:nth-child(-n + 2) { border-top: 0; }
  .numbers > div:nth-child(even) { border-left: 1px solid var(--line); }
  .numbers > div:last-child { grid-column: span 2; border-left: 0; }
  .card, .card.w5, .card.w6, .card.w7 { grid-column: span 12; }
  .card .body, .how .text, .text-card { padding: 24px 20px; }
  .how .figure { padding: 22px 16px 18px; }
  .cells, .bracket { --gap: 3px; }
  .cells li { height: 48px; font-size: 10px; border-radius: 5px; }
  .bracket b { font-size: 12.5px; }
  .before-after { padding: 20px; }
  .before-after div { grid-template-columns: 1fr; gap: 8px; }
  .panel > div { padding: 24px 20px; }
  .release { padding: 26px 20px; gap: 26px; }
  .tabs button { padding: 9px 12px; }
  .actions .btn, .release .btn { width: 100%; }
  .stage { border-radius: 14px; }
  .stage button { opacity: 1; }
  .strip { height: 36px; }
  .caption { padding: 12px 14px 14px; }
  .faq summary { font-size: 16.5px; padding: 18px 0; }
  .matrix { min-width: 0; font-size: 13px; }
  .matrix th, .matrix td { padding: 11px 6px; }
  .matrix th:first-child { padding-left: 14px; }
  .matrix thead th { font-size: 10px; letter-spacing: 0; }
  .matrix td { width: auto; font-size: 12px; text-align: center; }
  .log > li { grid-template-columns: 1fr; padding: 30px 0; }
  .log .meta { flex-direction: row; align-items: baseline; gap: 14px; }
  .page-head { padding: 48px 0 32px; }
  body > footer { margin-top: 96px; }
}
