/* The publisher's site, every page (decision 0089). Bauhaus for the order: a strict grid, plain
   geometry, type set large and to the left. Braun for the manners: warm paper, hairlines, one small
   signal of colour where something is live. Plum is the mark's colour and the site's one accent; the
   leaf is a lamp that says "ready"; copper is the signal and never sits on plum. */

@font-face {
  font-family: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../fonts/source-sans-3-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f7f4f1;
  --raised: #fdfcfa;
  --sunk: #eeeae4;
  --line: #dcd6cd;
  --rule: #1a1918;
  --ink: #1a1918;
  --soft: #55514b;
  --faint: #857f76;
  --plum: #3f2d6b;
  --plum-ink: #3f2d6b;
  --on-plum: #f7f4f1;
  --plum-wash: #ece7f2;
  --leaf: #7e9c7a;
  --copper: #c74a08;
  --band: #1a1918;
  --band-ink: #f2efea;
  --band-soft: #a7a199;
  --band-line: #3a3835;
  --shadow: 0 1px 0 rgba(26, 25, 24, .04), 0 18px 40px -22px rgba(26, 25, 24, .35);
  --r: 4px;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141413;
    --raised: #1b1a19;
    --sunk: #22211f;
    --line: #34322f;
    --rule: #edeae5;
    --ink: #edeae5;
    --soft: #aba69e;
    --faint: #7f7a72;
    --plum: #a996db;
    --plum-ink: #b9a9e3;
    --on-plum: #141413;
    --plum-wash: #262236;
    --band: #0d0d0c;
    --band-line: #2a2927;
    --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 24px 48px -24px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.6 "Source Sans 3", -apple-system, "Segoe UI", Roboto, sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
::selection { background: var(--plum); color: var(--on-plum); }
:focus-visible { outline: 2px solid var(--plum-ink); outline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* ---- header: a bar on a hairline, the mark, four words, one control */
header.top {
  position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 20px; letter-spacing: -.015em; }
.brand img { width: 28px; height: 28px; }
nav.links { margin-left: auto; display: flex; gap: 4px; font-size: 15px; }
nav.links a { text-decoration: none; color: var(--soft); padding: 6px 12px; border-radius: var(--r); }
nav.links a:hover { color: var(--ink); background: var(--sunk); }
nav.links a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--plum); border-radius: 0; }
@media (max-width: 820px) { nav.links { display: none; } .top .btn { margin-left: auto; } }

/* ---- controls: a rectangle with a corner barely softened, like a Braun key */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: var(--r); font: inherit; font-size: 16px; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--plum); color: var(--on-plum); }
.btn-primary:hover { background: var(--ink); color: var(--paper); }
.btn-quiet { border-color: var(--rule); color: var(--ink); background: transparent; }
.btn-quiet:hover { background: var(--ink); color: var(--paper); }
.top .btn { min-height: 38px; padding: 0 16px; font-size: 15px; background: var(--ink); color: var(--paper); }
.top .btn:hover { background: var(--plum); color: var(--on-plum); }

/* ---- the labels: a small square, a number, a word in capitals */
.kicker, .eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--soft);
}
.kicker::before, .eyebrow::before { content: ""; width: 9px; height: 9px; background: var(--plum); flex: none; }
.kicker .n { font-family: var(--mono); letter-spacing: 0; color: var(--faint); font-weight: 500; }
.band .kicker { color: var(--band-soft); }
.band .kicker::before { background: var(--band-ink); }

h1 {
  font-size: clamp(46px, 7.4vw, 96px); line-height: .96; letter-spacing: -.04em; font-weight: 650;
  margin: 0 0 28px; max-width: 12ch;
}
h1 em { font-style: normal; color: var(--plum-ink); }
h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.02; letter-spacing: -.03em; font-weight: 650; margin: 0 0 20px; max-width: 18ch; }
h3 { letter-spacing: -.01em; }
.lede { font-size: clamp(19px, 2vw, 23px); line-height: 1.5; color: var(--soft); max-width: 36ch; margin: 0 0 36px; font-weight: 400; }
.intro { color: var(--soft); max-width: 52ch; margin: 0 0 56px; font-size: 19px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- hero: words on the left, a composition on the right, both on the same grid */
.hero { padding: 72px 0 0; }
.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: end; }
.hero-words { grid-column: 1 / 8; padding-bottom: 12px; }
.hero-art { grid-column: 8 / 13; }
.hero-art svg { width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .hero-words, .hero-art { grid-column: 1 / -1; } .hero-art { max-width: 420px; } }
.platforms { margin: 40px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; color: var(--soft); list-style: none; }
.platforms li { display: flex; align-items: center; gap: 8px; }
.platforms li::before { content: ""; width: 5px; height: 5px; background: var(--faint); }

/* The composition's parts, coloured by token so it turns with the page. */
.art .grid-line { stroke: var(--line); stroke-width: 1; }
.art .plum { fill: var(--plum); }
.art .ink { fill: var(--ink); }
.art .leaf { fill: var(--leaf); }
.art .copper { fill: var(--copper); }
.art .grille { fill: var(--paper); }
.art .label { fill: var(--faint); font: 500 11px var(--mono); letter-spacing: .04em; }
.art .ring { fill: none; stroke: var(--copper); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) { .art .ring { animation: ring 2.8s ease-out infinite; } }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.4); opacity: 0; } }

/* ---- the product, in a casing: paper-white body, one hairline, one lamp */
.stage { position: relative; margin: 72px 0 0; padding-bottom: 48px; }
.window { border-radius: 10px; overflow: hidden; background: var(--raised); box-shadow: var(--shadow); border: 1px solid var(--line); }
.window .bar { height: 36px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--faint); font-family: var(--mono); }
.window .bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); display: block; }
.window .bar span { margin-left: auto; }
.window img { aspect-ratio: 1600 / 1000; width: 100%; height: auto; }
.phone { position: absolute; right: -24px; bottom: 0; width: 22%; min-width: 150px; border-radius: 30px; padding: 7px; background: #111110; box-shadow: var(--shadow); }
.phone img { border-radius: 24px; aspect-ratio: 1 / 2; width: 100%; height: auto; }
@media (max-width: 760px) { .phone { right: -4px; width: 34%; border-radius: 22px; padding: 5px; } .phone img { border-radius: 18px; } }

/* ---- sections, divided the way a manual is: a rule, a number, a title */
section { padding: 112px 0; border-top: 1px solid var(--line); }
section.band { border-top: 0; }
.center { text-align: left; }
.center h2, .center .intro { margin-left: 0; margin-right: 0; }
.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; margin-bottom: 56px; }
.sec-head > div:first-child { grid-column: 1 / 8; }
.sec-head > .intro { grid-column: 8 / 13; margin: 0; align-self: end; font-size: 18px; }
@media (max-width: 900px) { .sec-head > div:first-child, .sec-head > .intro { grid-column: 1 / -1; } }

/* The cells of a grid share their borders, like the keys of a calculator. */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--line); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card { position: relative; padding: 28px 28px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; }
.card h3 { font-size: 21px; font-weight: 650; margin: 22px 0 8px; }
.card p { margin: 0; color: var(--soft); font-size: 16.5px; }
.card .n { position: absolute; top: 26px; right: 26px; font: 500 12px var(--mono); color: var(--faint); }
.ico { width: 40px; height: 40px; display: grid; place-items: center; color: var(--plum-ink); }
.ico svg { width: 30px; height: 30px; }

/* ---- the technical data, set like the last page of a Braun manual */
.spec dl { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; border-top: 1px solid var(--rule); column-gap: 48px; }
.spec dl > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); padding-top: 3px; }
.spec dd { margin: 0; }
.spec dd b { display: block; font-weight: 650; }
.spec dd span { color: var(--soft); font-size: 16px; }
@media (max-width: 900px) { .spec dl { grid-template-columns: 1fr; } .spec dl > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---- the dark band: own server */
.band { background: var(--band); color: var(--band-ink); }
.band .intro { color: var(--band-soft); }
.band h2 { color: var(--band-ink); }
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: start; }
.split > :first-child { grid-column: 1 / 7; }
.split > :last-child { grid-column: 8 / 13; }
@media (max-width: 900px) { .split > :first-child, .split > :last-child { grid-column: 1 / -1; } }
.points { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--band-line); }
.points li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--band-line); }
.points b { display: block; font-weight: 650; font-size: 18px; color: var(--band-ink); }
.points span { color: var(--band-soft); font-size: 16.5px; }
.tick { font: 500 12px var(--mono); color: var(--band-soft); padding-top: 4px; }
.diagram svg { width: 100%; height: auto; }
.diagram .d-line { stroke: var(--band-soft); stroke-width: 1; }
.diagram .d-dash { stroke: var(--band-soft); stroke-width: 1; stroke-dasharray: 3 5; opacity: .7; }
.diagram .d-box { fill: none; stroke: var(--band-line); }
.diagram .d-core { fill: var(--band-ink); }
.diagram .d-core-t { fill: var(--band); font-weight: 650; font-size: 17px; }
.diagram .d-core-s { fill: var(--band); font-size: 12.5px; opacity: .72; }
.diagram .d-t { fill: var(--band-ink); font-size: 14px; }
.diagram .d-n { fill: var(--band-soft); font: 500 11px var(--mono); }
.diagram .d-note { fill: var(--band-soft); font-size: 13px; }
.diagram .d-sq { fill: var(--band-ink); }
.diagram .d-sig { fill: var(--copper); }

/* ---- phones */
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.phones figure { margin: 0; }
.phones .phone { position: static; width: 100%; max-width: 300px; }
.phones figcaption { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule); color: var(--soft); font-size: 16px; max-width: 300px; }
.phones figcaption b { display: block; color: var(--ink); font-weight: 650; font-size: 17px; }
@media (max-width: 700px) {
  .phones { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .phones figure { scroll-snap-align: center; }
}

/* ---- downloads: four modules on a panel, each with its lamp */
.downloads { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--line); }
@media (max-width: 900px) { .downloads { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .downloads { grid-template-columns: 1fr; } }
.dl {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 24px 24px; min-height: 196px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color .15s;
}
.dl::after { content: ""; position: absolute; top: 30px; right: 24px; width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px color-mix(in srgb, var(--leaf) 22%, transparent); }
.dl.off::after { background: var(--line); box-shadow: none; }
a.dl:hover { background: var(--raised); }
.dl .os { display: flex; align-items: center; gap: 12px; font-weight: 650; font-size: 20px; }
.dl .os svg { width: 22px; height: 22px; color: var(--ink); }
.dl .meta { color: var(--soft); font-size: 15px; }
.dl .go { margin-top: auto; padding-top: 16px; color: var(--plum-ink); font-weight: 650; font-size: 16px; }
a.dl:hover .go { text-decoration: underline; }
.dl.off .go { color: var(--faint); }
.note { color: var(--soft); font-size: 15px; margin-top: 24px; }

/* ---- footer: the maker's plate */
footer { border-top: 1px solid var(--rule); padding: 32px 0 56px; color: var(--soft); font-size: 14.5px; }
footer .wrap { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
footer .plate { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
footer .plate img { width: 20px; height: 20px; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; margin-left: auto; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }

.anim .reveal { opacity: 0; transform: translateY(12px); transition: opacity .55s ease, transform .55s ease; }
.anim .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .anim .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---- a page that is read: the changelog, privacy, deleting data (doc-) */
.doc { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; padding-top: 72px; padding-bottom: 112px; }
.doc-side { grid-column: 1 / 5; position: sticky; top: 96px; align-self: start; }
.doc-side h1 { font-size: clamp(40px, 5vw, 64px); max-width: 10ch; margin-bottom: 18px; }
.doc-side p { color: var(--soft); margin: 0 0 24px; font-size: 16px; }
.doc-toc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); counter-reset: toc; }
.doc-toc li { border-bottom: 1px solid var(--line); counter-increment: toc; }
.doc-toc a { display: grid; grid-template-columns: 32px 1fr; padding: 9px 0; text-decoration: none; font-size: 15px; color: var(--soft); }
.doc-toc a::before { content: counter(toc, decimal-leading-zero); font: 500 12px/2 var(--mono); color: var(--faint); }
.doc-toc a:hover { color: var(--ink); }
.doc-lang { display: flex; margin: 0 0 28px; }
.doc-lang a { padding: 6px 14px; border: 1px solid var(--rule); font-size: 14px; font-weight: 600; text-decoration: none; }
.doc-lang a + a { border-left: 0; }
.doc-lang a[aria-current="true"] { background: var(--ink); color: var(--paper); }
.doc-body { grid-column: 6 / 13; max-width: 68ch; }
.doc-body .part { counter-reset: sec; }
.doc-body .part + .part { margin-top: 96px; padding-top: 48px; border-top: 1px solid var(--rule); }
.doc-body .part > h1 { font-size: 36px; letter-spacing: -.03em; margin: 0 0 6px; max-width: none; }
.doc-body h2 { font-size: 23px; letter-spacing: -.015em; margin: 48px 0 12px; max-width: none; display: grid; grid-template-columns: 44px 1fr; scroll-margin-top: 88px; }
.doc-body h2::before { counter-increment: sec; content: counter(sec, decimal-leading-zero); font: 500 13px/2.1 var(--mono); color: var(--faint); }
.doc-body ul, .doc-body ol { padding-left: 44px; }
.doc-body li + li { margin-top: 6px; }
.soft { color: var(--soft); }
.doc-body .lead { font-size: 19px; color: var(--soft); margin: 0 0 8px; }
.doc-body .box { border: 1px solid var(--rule); padding: 20px 24px; margin: 24px 0; background: var(--raised); }
@media (max-width: 900px) { .doc { padding-top: 40px; padding-bottom: 80px; } .doc-side, .doc-body { grid-column: 1 / -1; position: static; } .doc-toc { display: none; } }

/* What's new: one entry per version, its date beside it like a line of a spec sheet. */
.wn-list article { display: grid; grid-template-columns: 150px 1fr; column-gap: 24px; border-top: 1px solid var(--rule); padding: 28px 0 20px; }
.wn-list h2 { font-size: 26px; margin: 0 0 6px; letter-spacing: -.02em; grid-column: 2; display: block; max-width: none; }
.wn-list h2::before { content: none; }
.wn-list article > .soft { grid-column: 1; grid-row: 1 / span 3; margin: 8px 0 0; font: 500 13px var(--mono); color: var(--faint); }
.wn-list .summary { grid-column: 2; font-weight: 600; margin: 0 0 8px; }
.wn-list ul { grid-column: 2; padding-left: 20px; margin: 0 0 8px; }
.wn-list li { color: var(--soft); }
.wn-list li + li { margin-top: 8px; }
.wn-list li strong { color: var(--ink); font-weight: 650; }
.wn-list code, .doc-body code { font: 14.5px var(--mono); background: var(--sunk); padding: 1px 5px; border-radius: 3px; }
@media (max-width: 700px) { .wn-list article { grid-template-columns: 1fr; } .wn-list article > * { grid-column: 1 !important; grid-row: auto !important; } }

/* ---- technology.html and features.html: a page's head, its contents, long reading (tf-) */
.tf-head { padding: 72px 0 16px; }
.tf-head h1 { margin: 0 0 22px; max-width: 16ch; font-size: clamp(42px, 6vw, 76px); }
.tf-head .lede { margin: 0 0 36px; max-width: 54ch; }
.tf-toc { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); border-left: 1px solid var(--line); }
.tf-toc li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tf-toc a { display: block; padding: 10px 16px; color: var(--soft); font-size: 14.5px; text-decoration: none; }
.tf-toc a:hover { color: var(--ink); background: var(--raised); }
.tf-sec { padding: 96px 0 0; scroll-margin-top: 64px; border-top: 0; }
.tf-sec h2 { max-width: 26ch; }
.tf-sec p, .tf-sec ul.tf-dots { max-width: 72ch; }
.tf-sec p { margin: 0 0 16px; }
.tf-sec h3 { font-size: 21px; font-weight: 650; margin: 40px 0 8px; }
.tf-sec code, .tf-pre { font-family: var(--mono); }
.tf-sec code { background: var(--sunk); padding: 1px 5px; border-radius: 3px; font-size: .84em; overflow-wrap: anywhere; }
.tf-pre { background: var(--raised); border: 1px solid var(--line); border-left: 3px solid var(--plum); padding: 14px 18px; overflow-x: auto; margin: 0 0 20px; font-size: 14px; line-height: 1.55; }
.tf-pre code { background: none; padding: 0; font-size: inherit; }
.tf-dots { padding-left: 20px; margin: 0 0 18px; } .tf-dots li { margin: 0 0 8px; } .tf-dots li::marker { color: var(--plum-ink); }
.tf-table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 8px 0 28px; border-top: 1px solid var(--rule); }
.tf-table th, .tf-table td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tf-table th { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.tf-table td:first-child { font-weight: 650; white-space: nowrap; color: var(--ink); } .tf-table td { color: var(--soft); }
@media (max-width: 600px) { .tf-table td:first-child { white-space: normal; } .tf-table { font-size: 15px; } }
.tf-note { border: 1px solid var(--line); border-left: 3px solid var(--plum); background: var(--raised); padding: 16px 20px; margin: 0 0 20px; max-width: 72ch; color: var(--soft); font-size: 16.5px; }
.tf-note b { color: var(--ink); }
.tf-end { padding-bottom: 112px; }

/* ---- technology.html: figures, the numbers (tech-) */
.tech-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 48px 0 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--line); }
.tech-stats div { padding: 18px 20px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tech-stats b { display: block; font-size: 34px; font-weight: 650; letter-spacing: -.03em; line-height: 1.1; }
.tech-stats span { color: var(--soft); font-size: 14.5px; line-height: 1.4; display: block; margin-top: 6px; }
.tech-fig { margin: 32px 0 36px; background: var(--raised); border: 1px solid var(--line); padding: 24px; overflow-x: auto; }
.tech-fig svg { display: block; width: 100%; height: auto; min-width: 660px; font-family: inherit; }
.tech-fig figcaption { color: var(--faint); font-size: 14.5px; margin-top: 14px; position: sticky; left: 0; max-width: calc(100vw - 64px); }
@media (max-width: 700px) {
  .tech-fig { margin-left: -16px; margin-right: -16px; border-width: 1px 0; padding: 16px; }
  .tech-fig figcaption::after { content: " Swipe sideways to see all of it."; }
}
.tech-fig .b { fill: var(--paper); stroke: color-mix(in srgb, var(--ink) 30%, transparent); }
.tech-fig .k { fill: var(--plum-wash); stroke: var(--plum-ink); }
.tech-fig .kz { fill: color-mix(in srgb, var(--plum-wash) 50%, var(--raised)); stroke: color-mix(in srgb, var(--plum-ink) 50%, transparent); }
.tech-fig .d { fill: var(--sunk); stroke: var(--ink); }
.tech-fig .gz { fill: transparent; stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 6 5; }
.tech-fig .nb { fill: var(--sunk); stroke: var(--line); }
.tech-fig .l { fill: none; stroke: var(--soft); stroke-width: 1.5; }
.tech-fig .la { stroke: var(--plum-ink); } .tech-fig .lq { stroke-dasharray: 5 4; }
.tech-fig .lf { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 3 5; }
.tech-fig .ah { fill: var(--soft); } .tech-fig .aha { fill: var(--plum-ink); }
.tech-fig text { fill: var(--ink); font-size: 14px; }
.tech-fig .t { font-size: 15px; font-weight: 650; }
.tech-fig .s { fill: var(--soft); font-size: 12.5px; }
.tech-fig .m { fill: var(--soft); font-size: 12px; font-family: var(--mono); }
.tech-fig .h { fill: var(--plum-ink); font-size: 11px; font-weight: 600; letter-spacing: .14em; }

/* ---- features.html: the best of it, then one block per group (feat-) */
.feat-shot { margin: 56px 0 0; }
.feat-best { margin-top: 72px; }
.feat-groups { margin-top: 96px; }
.feat-group { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; padding: 72px 0; border-top: 1px solid var(--rule); scroll-margin-top: 64px; }
.feat-group > :first-child { grid-column: 1 / 5; }
.feat-group > :last-child { grid-column: 5 / 13; }
.feat-group h2 { font-size: clamp(28px, 3vw, 38px); }
.feat-group .intro { margin-bottom: 0; font-size: 16.5px; }
.feat-side { position: sticky; top: 96px; align-self: start; }
.feat-side .phone { position: static; width: 190px; min-width: 0; margin-top: 32px; }
.feat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 1px solid var(--line); }
.feat-list li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--soft); font-size: 16.5px; line-height: 1.5; }
.feat-list b { display: block; color: var(--ink); font-weight: 650; }
.feat-list .best b::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; background: var(--plum); vertical-align: 2px; }
@media (max-width: 900px) { .feat-group > :first-child, .feat-group > :last-child { grid-column: 1 / -1; } .feat-side { position: static; } .feat-side .phone { display: none; } }
@media (max-width: 640px) { .feat-list { grid-template-columns: 1fr; } }

/* ---- compare.html (cmp-) */
.cmp-hero { padding: 72px 0 32px; border-top: 0; }
.cmp-title { font-size: clamp(40px, 5.6vw, 72px); line-height: .98; letter-spacing: -.04em; font-weight: 650; margin: 0 0 22px; max-width: 16ch; }
.cmp-hero .intro { margin-bottom: 32px; }
.cmp-today { max-width: 72ch; border: 1px solid var(--rule); border-left: 3px solid var(--plum); background: var(--raised); padding: 18px 22px; }
.cmp-today b { display: block; font-weight: 650; }
.cmp-today p { margin: 4px 0 0; color: var(--soft); font-size: 16.5px; }
.cmp-main { padding: 48px 0 80px; border-top: 0; }
.cmp-lead { color: var(--soft); max-width: 72ch; margin: 0 0 28px; font-size: 16.5px; }
.cmp-lead a, .cmp-foot a, .cmp-sources a { color: var(--plum-ink); }
.cmp-scroll { position: relative; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--line); }
.cmp-table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 1120px; font-size: 15px; line-height: 1.45; }
.cmp-table caption { text-align: left; padding: 12px 0; color: var(--faint); font-size: 14px; }
.cmp-table th, .cmp-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp-table tbody tr:last-child > * { border-bottom: 0; }
.cmp-table thead th { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; color: var(--soft); border-bottom: 1px solid var(--rule); }
.cmp-table td { color: var(--soft); width: 13%; }
.cmp-table td.cmp-us { width: 21%; }
.cmp-table th[scope="row"], .cmp-table thead th:first-child { position: sticky; left: 0; z-index: 1; width: 170px; min-width: 170px; background: var(--paper); border-right: 1px solid var(--line); font-weight: 650; color: var(--ink); }
.cmp-table thead th:first-child { z-index: 2; }
.cmp-table .cmp-us { background: var(--plum-wash); color: var(--ink); }
.cmp-table thead .cmp-us { color: var(--plum-ink); }
.cmp-m { display: inline-flex; align-items: center; justify-content: center; margin-right: 6px; font-weight: 650; }
.cmp-m i { font-style: normal; display: grid; place-items: center; width: 18px; height: 18px; font-size: 12px; }
.cmp-y i { background: var(--plum); color: var(--on-plum); border-radius: 50%; }
.cmp-n i { border: 1.5px solid var(--faint); color: var(--faint); }
.cmp-p { font-size: 12px; padding: 1px 8px; border: 1px solid var(--soft); color: var(--soft); }
.cmp-sv { font-style: italic; color: var(--faint); }
.cmp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cmp-foot { color: var(--faint); font-size: 14.5px; max-width: 80ch; margin: 18px 0 0; }
.cmp-else { padding: 96px 0; }
.cmp-move h3 { font-size: 21px; font-weight: 650; margin: 0 0 10px; color: var(--band-ink); }
.cmp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 32px; }
.cmp-two ul { margin: 0; padding-left: 20px; display: grid; gap: 12px; color: var(--band-soft); font-size: 16.5px; }
.cmp-two b { color: var(--band-ink); font-weight: 650; }
.cmp-two code, .cmp-foot code { font: 14.5px var(--mono); background: rgba(255, 255, 255, .1); padding: 1px 5px; }
.cmp-zalo { padding: 96px 0 40px; border-top: 0; }
.cmp-zalo .intro { margin-bottom: 0; max-width: 72ch; }
.cmp-sources { padding: 56px 0 104px; }
.cmp-sources h2 { font-size: 28px; }
.cmp-sources ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; color: var(--soft); font-size: 14.5px; max-width: 90ch; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .cmp-two { grid-template-columns: 1fr; gap: 32px; }
  .cmp-table th[scope="row"], .cmp-table thead th:first-child { width: 128px; min-width: 128px; }
  .cmp-table th, .cmp-table td { padding: 12px; }
  .cmp-table { min-width: 1000px; font-size: 14px; }
}
