/* box site. One accent (International Klein Blue), one radius (6px),
   IBM Plex throughout. Light and dark follow the system setting. */

/* Two pigments, black and white, plus one signal blue used sparingly: the
   box itself, the dots moving through the diagrams, marker strokes and
   selections. Every other value is black or white at reduced strength.
   .invert swaps the two for a section. */
:root {
  --black: #000000;
  --signal: #1300f9;   /* the one accent: the box, and what moves or is chosen */
  --bg: var(--black);
  --surface: rgba(255, 255, 255, 0.04);
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --faint: rgba(255, 255, 255, 0.5);
  --line: rgba(255, 255, 255, 0.28);
  --line-soft: rgba(255, 255, 255, 0.14);
  --code: rgba(255, 255, 255, 0.07);
  --accent: #ffffff;
  --accent-soft: rgba(255, 255, 255, 0.1);
  --on-accent: var(--black);
  --radius: 0;
  --display: "Geist", "IBM Plex Sans", ui-sans-serif, sans-serif;
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 76rem;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
code, pre, kbd { font-family: var(--mono); font-size: 0.88em; }
:not(pre) > code { background: var(--code); padding: 0.1em 0.35em; border-radius: 0; }
:where(a, button, [tabindex]):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }

/* Navigation: a white bar across the top. The wordmark sits in the middle
   with the GitHub mark under it; Security and Benchmarks to its left,
   Architecture and Docs to its right. On phones each side stacks. */
.nav.invert { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  column-gap: 1.5rem; padding: 0.7rem clamp(1rem, 4vw, 2.5rem); border-bottom: 1px solid var(--line); }
.nav-links { display: flex; gap: 1.4rem; align-items: center; }
.nav-left { grid-column: 1; justify-self: start; }
.nav-mid { grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 0.35rem; }
.nav-right { grid-column: 3; justify-self: end; }
.nav-links a { text-decoration: none; font-size: 0.9rem; letter-spacing: 0.01em; color: var(--muted); white-space: nowrap; }
/* Links are marked like a highlighter: a stroke sweeps in under the word on
   hover, fills it on press, and stays on the current page. The uneven clip
   gives the stroke a marker's ragged ends. */
.nav-links a { padding: 0.15rem 0.45rem; background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 100% / 100% 0%;
  clip-path: polygon(1% 8%, 100% 0, 99% 94%, 0 100%); transition: background-size 0.3s cubic-bezier(0.3, 0, 0.2, 1), color 0.2s; }
.nav-links a:hover { color: var(--ink); background-size: 100% 18%; }
.nav-links a:active, .nav-links a[aria-current="page"] { color: var(--bg); background-size: 100% 100%; }
.nav-links a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.brand { display: block; color: var(--ink); }
.brand .logo { display: block; height: 1.35rem; width: auto; fill: currentColor; overflow: visible; }
.nav-gh { display: block; color: var(--ink); line-height: 0; }
.nav-gh svg { width: 1.1rem; height: 1.1rem; fill: currentColor; transition: transform 0.25s; }
.nav-gh:hover svg { transform: rotate(-12deg) scale(1.12); }
.doc h2, .doc h3 { scroll-margin-top: 6rem; }
@media (max-width: 640px) {
  .nav.invert { column-gap: 1rem; padding: 0.6rem 1rem; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
  .nav-right { align-items: flex-end; }
  .nav-links a { font-size: 0.88rem; padding: 0.1rem 0.4rem; }
  .brand .logo { height: 1.25rem; }
}

/* Type */
h1, h2, h3 { line-height: 1.05; letter-spacing: -0.02em; margin: 0; font-weight: 600; font-family: var(--display); }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); letter-spacing: -0.035em; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); letter-spacing: -0.03em; }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }
.mono { font-family: var(--mono); }
.prose { max-width: 68ch; }
.prose p, .prose li { color: var(--ink); }
.prose ul { padding-left: 1.1rem; }
.prose li { margin-bottom: 0.4rem; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; border-top: 1px solid var(--line); }
.section > .wrap > h2 { margin-bottom: 0.75rem; }
.section > .wrap > .lead { margin-bottom: 2.25rem; }
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-head h1 { margin-bottom: 1.1rem; max-width: 16ch; }

/* Grid children may shrink below their content, so long code scrolls
   inside its box instead of widening the page. */
.hero .wrap > *, .split > *, .bf > *, .docs > * { min-width: 0; }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { max-width: 12ch; margin-bottom: 1.25rem; }
.hero .lead { margin-bottom: 1.8rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .cube-stage { order: -1; } }

.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1.1rem; border-radius: 0;
  font: 500 0.95rem var(--sans); text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { text-decoration: none; opacity: 0.88; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); text-decoration: none; }

/* Install line */
.install { display: flex; align-items: center; gap: 0.75rem; border: 1px solid var(--line); background: var(--surface);
  border-radius: 0; padding: 0.55rem 0.55rem 0.55rem 0.9rem; max-width: 36rem; margin-bottom: 1rem; }
.install code { background: none; color: var(--ink); padding: 0; overflow-x: auto; white-space: nowrap; flex: 1; min-width: 0; font-size: 0.85rem; }
.install code .p { color: var(--faint); user-select: none; }

/* Cube */
.cube-stage { display: grid; place-items: center; cursor: grab; touch-action: none; user-select: none; }
.cube-stage:active { cursor: grabbing; }
#cube { margin: 0; color: var(--accent); font: 500 clamp(6px, 1.15vw, 12px)/1.2 var(--mono); white-space: pre; }

/* Copy button */
.copy { font: 500 0.75rem var(--sans); color: var(--muted); background: transparent; border: 1px solid var(--line);
  border-radius: 0; padding: 0.3rem 0.6rem; cursor: pointer; white-space: nowrap; }
.copy:hover { color: var(--ink); border-color: var(--ink); }

/* Figures */
figure { margin: 0; }
.figure { border: 1px solid var(--line); border-radius: 0; background: var(--surface); }
.figure-body { padding: clamp(1rem, 2.5vw, 1.75rem); overflow-x: auto; }
figcaption { font-size: 0.86rem; color: var(--muted); padding: 0.85rem clamp(1rem, 2.5vw, 1.75rem); border-top: 1px solid var(--line-soft); }
figcaption b { color: var(--ink); font-weight: 600; }

/* Latency bars */
.bars { display: grid; gap: 0.7rem; }
.bar { display: grid; grid-template-columns: minmax(11rem, 15rem) 1fr 5.5rem; gap: 1rem; align-items: center; font-size: 0.9rem; }
.bar .label { color: var(--muted); }
.bar .label b { color: var(--ink); font-weight: 500; }
.bar .label span { display: block; font-size: 0.78rem; color: var(--faint); }
.bar .track { height: 0.7rem; }
.bar .fill { height: 100%; width: var(--w); min-width: 2px; background: transparent; border: 1px solid var(--faint); border-radius: 0;
  transform-origin: left; transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1); }
.bar.us .fill { background: var(--ink); border-color: var(--ink); }
.bar .ms { font-family: var(--mono); text-align: right; font-variant-numeric: tabular-nums; }
.bars.pending .fill { transform: scaleX(0); }
@media (max-width: 640px) {
  .bar { grid-template-columns: 1fr 4.5rem; gap: 0.35rem 0.75rem; }
  .bar .track { grid-column: 1 / -1; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) { .bar .fill { transition: none; } .bars.pending .fill { transform: none; } }

/* Key numbers */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 0; background: var(--surface); }
.numbers > div { padding: 1.25rem 1.35rem; border-left: 1px solid var(--line); }
.numbers > div:first-child { border-left: 0; }
.numbers b { display: block; font: 700 clamp(2rem, 4.4vw, 3.4rem)/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.numbers b small { font-size: 0.5em; color: var(--muted); font-weight: 500; margin-left: 0.15em; }
.numbers span { font-size: 0.86rem; color: var(--muted); }
@media (max-width: 760px) {
  .numbers { grid-template-columns: 1fr 1fr; }
  .numbers > div:nth-child(3) { border-left: 0; }
  .numbers > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Two-column text + aside */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 0; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
th, td { text-align: left; padding: 0.7rem 1rem; vertical-align: top; }
thead th { font-weight: 600; color: #fff; font-size: 0.8rem; border-bottom: 0; background: #000000; }
tbody tr + tr td { border-top: 1px solid var(--line-soft); }
thead th { white-space: nowrap; }
td.num, th.num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
td .yes { color: var(--accent); font-weight: 600; }
td .no { color: var(--faint); }
tr.us td:first-child { font-weight: 600; }

/* Code */
pre.code { margin: 0; padding: 1rem 1.15rem; overflow-x: auto; background: var(--code); border-radius: 0;
  font-size: 0.84rem; line-height: 1.65; }
pre.code .c { color: var(--faint); }
pre.code .k { color: var(--accent); }
.codebox { border: 1px solid var(--line); border-radius: 0; background: var(--surface); overflow: hidden; }
.codebox-bar { display: flex; align-items: center; gap: 0.25rem; padding: 0.35rem 0.45rem; border-bottom: 1px solid var(--line); }
.codebox pre.code { border-radius: 0; background: var(--surface); }
.tab { font: 500 0.8rem var(--sans); color: var(--muted); background: none; border: 0; border-radius: 0; padding: 0.35rem 0.65rem; cursor: pointer; }
.tab[aria-selected="true"] { color: var(--ink); background: var(--code); }
.tab:hover { color: var(--ink); }
.codebox-bar .copy { margin-left: auto; }
[data-lang-panel][hidden] { display: none; }

/* Architecture figure */
.stack { display: grid; grid-template-columns: 9rem repeat(3, 1fr); gap: 0; min-width: 44rem; font-size: 0.85rem; }
.stack .rowlabel { color: var(--faint); font-size: 0.78rem; padding: 0.75rem 0.75rem 0.75rem 0; align-self: center; }
.stack .head { font: 600 0.9rem var(--mono); padding: 0 0.5rem 0.75rem; }
.stack .head span { display: block; font: 400 0.76rem var(--sans); color: var(--muted); }
.stack .cell { margin: 0.25rem; padding: 0.6rem 0.75rem; border: 1px solid var(--line); border-radius: 0; background: var(--bg); }
.stack .cell b { display: block; font-weight: 600; }
.stack .cell span { color: var(--muted); font-size: 0.78rem; }
.stack .span3 { grid-column: span 3; }
.stack .boundary { border-color: var(--accent); background: var(--accent-soft); }
.stack .boundary b { color: var(--accent); }
.stack .guest { border-style: dashed; }
.legend { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1rem; font-size: 0.8rem; color: var(--muted); }
.legend i { display: inline-block; width: 0.8rem; height: 0.8rem; border: 1px solid var(--line); border-radius: 0; vertical-align: -0.1rem; margin-right: 0.35rem; background: var(--bg); }
.legend i.b { border-color: var(--accent); background: var(--accent-soft); }
.legend i.g { border-style: dashed; }

/* Steps (ordered process) */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.25rem 1fr; gap: 0.75rem; padding: 0.9rem 0; border-top: 1px solid var(--line-soft); }
.steps li:first-child { border-top: 0; }
.steps li::before { content: counter(s); font: 600 0.85rem var(--mono); color: var(--accent); width: 1.75rem; height: 1.75rem; border: 1px solid var(--accent); border-radius: 0; display: grid; place-items: center; }
.steps b { display: block; font-weight: 600; margin-bottom: 0.15rem; }
.steps span { color: var(--muted); font-size: 0.92rem; }

/* Checks (escape suite) */
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2.5rem; }
.checks div { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.5rem; padding: 0.6rem 0; border-top: 1px solid var(--line-soft); font-size: 0.92rem; }
.checks div::before { content: "\2713"; color: var(--accent); font-weight: 700; }
@media (max-width: 760px) { .checks { grid-template-columns: 1fr; } }

/* Boxfile explorer */
.bf { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1rem; }
@media (max-width: 860px) { .bf { grid-template-columns: 1fr; } }
.bf-code { padding: 0.8rem 0; font: 0.86rem/1.8 var(--mono); overflow-x: auto; }
.ln { display: block; padding: 0 1rem; white-space: pre; color: var(--faint); border-left: 2px solid transparent; outline: none; }
.ln[data-note] { color: var(--ink); cursor: pointer; }
.ln[data-note]:hover, .ln[data-note]:focus-visible, .ln.on { background: var(--accent-soft); border-left-color: var(--accent); }
.bf-explain { padding: 1.25rem 1.35rem; }
.bf-explain .key { font: 600 0.9rem var(--mono); color: var(--accent); margin-bottom: 0.5rem; }
.bf-explain .what { margin-bottom: 1rem; }
.bf-explain .becomes { font: 0.8rem var(--mono); color: var(--muted); border-top: 1px solid var(--line-soft); padding-top: 0.75rem; white-space: pre-wrap; margin: 0; }

/* Docs layout */
.docs { display: grid; grid-template-columns: 13rem 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding-bottom: 5rem; }
.toc { position: sticky; top: 6rem; font-size: 0.88rem; border-left: 1px solid var(--line); padding-left: 1rem; }
.toc p { font-weight: 600; margin: 1rem 0 0.4rem; color: var(--ink); }
.toc p:first-child { margin-top: 0; }
.toc a { display: block; color: var(--muted); text-decoration: none; padding: 0.18rem 0; }
.toc a:hover { color: var(--accent); }
.doc h2 { margin: 3rem 0 0.75rem; padding-top: 1rem; border-top: 1px solid var(--line); scroll-margin-top: 2rem; }
.doc h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.doc h3 { margin: 2rem 0 0.6rem; font-family: var(--mono); font-size: 1rem; scroll-margin-top: 2rem; }
.doc .codebox, .doc .table-wrap, .doc pre.code { margin: 0.9rem 0 1.4rem; }
.doc p, .doc li { max-width: 72ch; }
.langswitch { display: inline-flex; gap: 0.25rem; padding: 0.25rem; border: 1px solid var(--line); border-radius: 0; background: var(--surface); margin-bottom: 0.5rem; }
@media (max-width: 860px) { .docs { grid-template-columns: 1fr; } .toc { position: static; border-left: 0; padding-left: 0; } }

/* Note */
.note { border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 0; background: var(--surface); padding: 0.85rem 1rem; font-size: 0.92rem; margin: 1rem 0 1.4rem; }
.note p:last-child { margin: 0; }

/* Next-page links */
.next { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.next a { display: block; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 0; background: var(--surface); text-decoration: none; color: var(--ink); }
.next a:hover { border-color: var(--accent); }
.next a span { display: block; color: var(--muted); font-size: 0.88rem; margin-top: 0.2rem; }
@media (max-width: 640px) { .next { grid-template-columns: 1fr; } }

/* Reveal on scroll (motion only where it helps reading order) */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
  .reveal.in { opacity: 1; transform: none; }
}

/* Line-art figures: white strokes on the black. */
.art { display: block; width: 100%; height: auto; overflow: visible; }
.art .s { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.art .s.thin { stroke-width: 1; opacity: 0.55; }
.art .s.dash { stroke-dasharray: 3 5; opacity: 0.6; }
.art .f { fill: var(--ink); }
.art text { fill: var(--ink); font: 500 13px var(--mono); }
.art text.big { font: 700 18px var(--display); }
.art text.dim { opacity: 0.65; }
.art-frame { border: 1px solid var(--line); border-radius: 0; padding: clamp(1rem, 3vw, 2rem); overflow-x: auto; }

@media (prefers-reduced-motion: no-preference) {
  .draw .s { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s cubic-bezier(0.65, 0, 0.35, 1) forwards; animation-delay: calc(var(--i, 0) * 0.22s); }
  .draw .s.dash { stroke-dasharray: 3 5; stroke-dashoffset: 0; animation: fadein 1s ease forwards; opacity: 0; animation-delay: calc(var(--i, 0) * 0.22s); }
  .draw .lbl { opacity: 0; animation: fadein 0.8s ease forwards; animation-delay: calc(1.2s + var(--i, 0) * 0.22s); }
  .pulse { animation: pulse 2.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .float { animation: float 7s ease-in-out infinite; }
  .scan { animation: scan 4.5s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
  .tick { opacity: 0; animation: tick 4.5s ease infinite; animation-delay: calc(var(--i, 0) * 0.45s); }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.55; transform: scale(0.92); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes branch { 0% { stroke-dashoffset: 1; } 30%, 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes merge { 0%, 45% { stroke-dashoffset: 1; } 65%, 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes scan { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(var(--scan, 300px)); opacity: 0; } }
@keyframes tick { 0%, 20% { opacity: 0; } 30%, 85% { opacity: 1; } 100% { opacity: 0; } }

/* Big statement band */
.statement { font: 700 clamp(1.9rem, 4.8vw, 3.8rem)/1.05 var(--display); letter-spacing: -0.035em; max-width: 20ch; margin: 0; }
.statement span { opacity: 0.55; }

.hero-art { width: 100%; max-width: 40rem; justify-self: end; }
@media (max-width: 860px) { .hero-art { order: -1; max-width: 26rem; justify-self: center; } }
.figure-body .art { min-width: 40rem; }
.hero-art .art text { font-size: 17px; }

/* Inverted sections: white ground, black ink. The same tokens, swapped, so
   every component and figure inside follows without its own rules. */
.invert {
  --bg: #ffffff;
  --surface: rgba(0, 0, 0, 0.035);
  --ink: var(--black);
  --muted: rgba(0, 0, 0, 0.74);
  --faint: rgba(0, 0, 0, 0.52);
  --line: rgba(0, 0, 0, 0.26);
  --line-soft: rgba(0, 0, 0, 0.13);
  --code: rgba(0, 0, 0, 0.06);
  --accent: var(--black);
  --accent-soft: rgba(0, 0, 0, 0.08);
  --on-accent: #ffffff;
  background: var(--bg);
  color: var(--ink);
  border-top-color: transparent;
}
.invert + .section { border-top-color: transparent; }

/* The flip: white rises over the black like a curtain as the section enters,
   then its content settles in. */
@media (prefers-reduced-motion: no-preference) {
  .wipe { clip-path: inset(100% 0 0 0); transition: clip-path 1.05s cubic-bezier(0.77, 0, 0.18, 1); }
  .wipe.in { clip-path: inset(0 0 0 0); }
  .wipe > .wrap { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease 0.45s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.45s; }
  .wipe.in > .wrap { opacity: 1; transform: none; }
}

/* Footer: big, inverted, with the name set large enough to be the art. */
.footer { padding: clamp(3.5rem, 8vw, 6.5rem) 0 1.5rem; border-top: 0; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(3, 0.7fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.footer-lead { font: 700 clamp(1.7rem, 3.4vw, 2.6rem)/1.05 var(--display); letter-spacing: -0.03em; margin: 0 0 1.5rem; max-width: 16ch; }
.footer h4 { font: 600 0.82rem var(--sans); color: var(--muted); margin: 0.4rem 0 0.9rem; }
.footer nav a { display: block; color: var(--ink); text-decoration: none; padding: 0.22rem 0; font-size: 0.98rem; }
.footer nav a:hover { text-decoration: underline; }
.wordmark { display: flex; font: 700 clamp(5.5rem, 23vw, 21rem)/0.8 var(--display); letter-spacing: -0.065em; margin: clamp(2.5rem, 7vw, 5rem) 0 0; white-space: nowrap; overflow: hidden; padding-bottom: 0.06em; }
.wordmark span { display: inline-block; }
/* Outline only: the letters are their borders, hollow inside. */
.wordmark { color: transparent; -webkit-text-stroke: clamp(1.5px, 0.25vw, 3px) var(--ink); letter-spacing: -0.02em; }
@supports not (-webkit-text-stroke: 1px black) { .wordmark { color: var(--ink); } }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; border-top: 1px solid var(--line); padding-top: 1.1rem; margin-top: 1.25rem; font-size: 0.86rem; color: var(--muted); }
.footer-base a { color: var(--muted); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: no-preference) {
  .wordmark span { transform: translateY(105%); transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); transition-delay: calc(0.5s + var(--i) * 0.06s); }
  .footer.in .wordmark span { transform: none; }
}

/* Op-art band: nested boxes twisting into a tunnel, drawn on a canvas. */
.opart { position: relative; height: clamp(26rem, 70vh, 44rem); overflow: hidden; border-top: 1px solid var(--line); }
.opart canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.opart-text { position: absolute; left: 0; right: 0; bottom: clamp(1.5rem, 5vw, 3.5rem); pointer-events: none; }
.opart-text p { font: 700 clamp(2.2rem, 6vw, 5rem)/0.95 var(--display); letter-spacing: -0.04em; margin: 0; max-width: 12ch;
  color: var(--ink); text-shadow: 0 0 24px var(--bg), 0 0 8px var(--bg); }

/* Fading dot fields, in whichever pigment is the ink: white on black, black on
   white. Placed per section with dots-tr, dots-bl or dots-center. */
.dots { position: relative; isolation: isolate; }
.dots::before { content: ""; position: absolute; z-index: -1; pointer-events: none; opacity: 0.32;
  background: radial-gradient(circle, var(--ink) 1.3px, transparent 1.8px) 0 0 / 15px 15px; }
.dots-tr::before { top: 0; right: 0; width: min(42rem, 60%); height: 85%;
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000, transparent 68%); mask-image: radial-gradient(ellipse at 100% 0%, #000, transparent 68%); }
.dots-bl::before { left: 0; bottom: 0; width: min(42rem, 60%); height: 85%;
  -webkit-mask-image: radial-gradient(ellipse at 0% 100%, #000, transparent 68%); mask-image: radial-gradient(ellipse at 0% 100%, #000, transparent 68%); }
.dots-center::before { inset: 0;
  -webkit-mask-image: radial-gradient(circle at 50% 38%, transparent 14%, #000 26%, transparent 62%); mask-image: radial-gradient(circle at 50% 38%, transparent 14%, #000 26%, transparent 62%); }
@media (prefers-reduced-motion: no-preference) {
  .dots-center::before { animation: dotsbreath 9s ease-in-out infinite; }
}
@keyframes dotsbreath { 0%, 100% { opacity: 0.22; } 50% { opacity: 0.42; } }

/* The first section: centred, quiet, the box and one line. */
.hero-center { min-height: calc(100dvh - 3.75rem); display: grid; align-items: center; padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2.5rem, 6vw, 4rem); }
.hero-center { grid-template-columns: minmax(0, 1fr); }
.hero-center .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; width: 100%; min-width: 0; }
.hero-center .wrap > * { max-width: 100%; }
.hero-center .hero-art { max-width: min(18rem, 56vw, 34dvh); justify-self: auto; margin-bottom: clamp(1.5rem, 3.5vw, 2.75rem); }
.hero-center h1 { max-width: 19ch; margin: 0 auto 0.9rem; font-size: clamp(2.2rem, 4.8vw, 3.9rem); }
.hero-center .lead { margin: 0 auto 1.75rem; max-width: 38ch; }
.hero-center .install { margin: 0 auto 1rem; width: 100%; max-width: min(36rem, 100%); }
.hero-center .install code { text-align: left; }
.hero-center .cta-row { justify-content: center; }

/* Figure 2: the layer stack, one column per backend. Boundaries are set in
   the inverse pigment so they read as walls; the guest row is dashed. */
.layers { display: grid; grid-template-columns: 8.5rem repeat(3, minmax(12rem, 1fr)); gap: 0.6rem 0.75rem; min-width: 52rem; }
.layers-corner { }
.layers-col { padding: 0 0.25rem 0.6rem; border-bottom: 2px solid var(--ink); }
.layers-col b { display: block; font: 700 1.5rem/1.1 var(--display); letter-spacing: -0.02em; }
.layers-col span { font-size: 0.8rem; color: var(--muted); }
.layers-label { font: 500 0.72rem var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); align-self: center; text-align: right; padding-right: 0.25rem; }
.layer { position: relative; padding: 0.75rem 0.9rem; border: 1.5px solid var(--line); border-radius: 0; min-height: 4.1rem; }
.layer b { display: block; font-weight: 600; font-size: 0.95rem; }
.layer span { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 0.15rem; }
.layer::before { content: ""; position: absolute; left: 50%; top: calc(-0.6rem - 1px); height: 0.6rem; border-left: 1.5px dashed var(--line); }
.layer.boundary { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.layer.boundary span { color: var(--bg); opacity: 0.78; }
.layer.guest { border-style: dashed; border-color: var(--ink); }
.legend i.b { background: var(--ink); border-color: var(--ink); }

/* White sections stay plain: white ground, black ink, nothing else. */
.invert { position: relative; }

/* Workflow figure */
.workflow { min-width: 46rem; }
.art text.on-strong { fill: var(--bg); }
.art text.big { font-size: 19px; }

/* The hero box names its layers where there is room; narrow screens get the
   box alone. */
.hero-center .hero-art-wide { max-width: min(44rem, 92vw, 74dvh); }
.hero-art-wide .art text.hl { font-size: 22px; }
.hero-art-narrow { display: none; }
@media (max-width: 640px) { .hero-art-wide { display: none; } .hero-art-narrow { display: block; } }

/* Install line: the whole command fits where there is room, and scrolls
   without a visible scrollbar where there is not. */
.install code { scrollbar-width: none; }
.install code::-webkit-scrollbar { display: none; }
.hero-center .install { max-width: min(44rem, 100%); }
.footer .install { max-width: 44rem; }

/* Figures set in the site's faces rather than monospace. */
.art.sans text { font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: 0; }
.fork-loop.sans text { font-size: 14px; }
.art.sans text.big { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.art.sans text.dim { font-weight: 400; }

/* The footer wordmark: the logo's outlines, stroked and hollow. */
.wordmark { display: block; -webkit-text-stroke: 0; color: inherit; overflow: hidden; }
.wordmark svg { display: block; width: auto; max-width: 100%; height: clamp(7rem, 22vw, 17rem); overflow: visible; }
.wordmark path { stroke: var(--ink); stroke-width: 6; stroke-linejoin: round; }


/* ---- Street marks ------------------------------------------------------ */

/* Marker strokes drawn when they come into view. */
.art .s.mark, .scribble .s { fill: none; stroke: var(--ink); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.scribble { display: block; width: min(15rem, 60%); height: auto; margin: -0.35rem 0 1rem -0.2rem; overflow: visible; }
@media (prefers-reduced-motion: no-preference) {
  .on-view .s { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .on-view.go .s { animation: draw 0.9s cubic-bezier(0.65, 0, 0.35, 1) forwards; animation-delay: calc(var(--i, 0) * 0.14s); }
}

.page-head.invert { padding-top: clamp(4.5rem, 9vw, 7rem); }

/* Things that build in piece by piece as they enter. */
@media (prefers-reduced-motion: no-preference) {
  .build .layer, .build > div, .build tbody tr { opacity: 0; transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
  .build .layer { transition-delay: calc(var(--n, 0) * 55ms); }
  .build.checks > div { transition-delay: calc(var(--n, 0) * 45ms); }
  .build tbody tr:nth-child(1) { transition-delay: 0.05s; } .build tbody tr:nth-child(2) { transition-delay: 0.1s; }
  .build tbody tr:nth-child(3) { transition-delay: 0.15s; } .build tbody tr:nth-child(4) { transition-delay: 0.2s; }
  .build tbody tr:nth-child(5) { transition-delay: 0.25s; } .build tbody tr:nth-child(6) { transition-delay: 0.3s; }
  .build tbody tr:nth-child(7) { transition-delay: 0.35s; } .build tbody tr:nth-child(8) { transition-delay: 0.4s; }
  .build tbody tr:nth-child(n+9) { transition-delay: 0.45s; }
  .build.go .layer, .build.go > div, .build.go tbody tr { opacity: 1; transform: none; }
  .table-wrap.build > table { opacity: 1; transform: none; }
}

/* Paint running off the hero box and the footer wordmark. */
.art .s.drip { stroke-width: 3.2; stroke-linecap: round; }
.art .drop { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .draw .s.drip { animation-duration: 1.8s; animation-delay: calc(1.6s + var(--i, 0) * 0.18s); }
  .draw .drop { opacity: 0; animation: fadein 0.5s ease forwards; animation-delay: calc(3s + var(--i, 0) * 0.18s); }
}
.wdrip { fill: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .wdrip { transform: scaleY(0); transform-box: fill-box; transform-origin: top; transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: calc(1.2s + var(--n) * 0.12s); }
  .footer.in .wdrip { transform: none; }
}
.hero-center h1 + .scribble { margin: -0.4rem auto 1rem; width: min(17rem, 60%); }

/* Confinement: the shared guarantees in one line, then only what differs. */
.conf-common { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin: 0 0 1.5rem; }
.conf-common b { margin-right: 0.25rem; }
.conf-common span { border: 1.5px solid var(--ink); border-radius: 0; padding: 0.2rem 0.75rem; font-size: 0.86rem; }
.conf-grid { display: grid; grid-template-columns: 13rem repeat(3, minmax(9rem, 1fr)); border-top: 2px solid var(--ink); }
.conf-grid > div { padding: 0.95rem 1rem; border-bottom: 1px solid var(--line); }
.conf-h { font: 700 1.35rem/1.1 var(--display); letter-spacing: -0.02em; }
.conf-l { font: 500 0.74rem var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); align-self: stretch; display: flex; align-items: center; }
.conf-big b { display: block; font: 700 clamp(2.6rem, 5vw, 3.8rem)/0.95 var(--display); letter-spacing: -0.04em; }
.conf-big span { font-size: 0.8rem; color: var(--muted); }
.conf-v { font-size: 0.95rem; display: flex; align-items: center; }
.conf-v.no { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1.5px; }
@media (max-width: 760px) { .conf-grid { grid-template-columns: 8rem repeat(3, minmax(7.5rem, 1fr)); overflow-x: auto; } .conf { overflow-x: auto; } }
@media (prefers-reduced-motion: no-preference) {
  .conf.build .conf-grid > div, .conf.build .conf-common span { opacity: 0; transform: translateY(8px); transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); transition-delay: calc(var(--n, 0) * 40ms); }
  .conf.build.go .conf-grid > div, .conf.build.go .conf-common span { opacity: 1; transform: none; }
  .conf.build > p { opacity: 1; transform: none; }
}

/* Display face: Geist, light. Thin strokes carry the headlines; size and
   tight tracking do the work weight used to. */
h1, h2, h3 { font-weight: 300; }
h1 { letter-spacing: -0.045em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); letter-spacing: -0.04em; }
h3 { font-weight: 400; }
.hero-center h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 18ch; font-weight: 200; }
.numbers b, .footer-lead, .opart-text p, .layers-col b, .conf-h, .conf-big b, .statement { font-weight: 300; }
.numbers b { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -0.04em; }
.footer-lead { font-size: clamp(1.8rem, 3.4vw, 2.7rem); letter-spacing: -0.04em; }
.opart-text p { font-weight: 200; letter-spacing: -0.05em; }
.conf-big b { font-weight: 200; }
.art text.big, .art.sans text.big { font-weight: 500; font-size: 20px; letter-spacing: -0.02em; }

/* Nav logo: the letters drop in one after another, and lift in a wave on hover. */
.brand .logo path { transform-box: fill-box; transform-origin: 50% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .brand .logo path { animation: letter-in 0.7s cubic-bezier(0.2, 1.4, 0.4, 1) backwards; animation-delay: calc(0.1s + var(--i) * 0.06s); }
  .brand .logo path { transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1); transition-delay: calc(var(--i) * 0.04s); }
  .brand:hover .logo path, .brand:focus-visible .logo path { transform: translateY(-18%); }
}
@keyframes letter-in { from { transform: translateY(-120%) scaleY(1.2); opacity: 0; } }

/* Footer wordmark: hollow letters, drawn in once. */
.wordmark path { fill: none; }
@media (prefers-reduced-motion: no-preference) {
  .wordmark path { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .footer.in .wordmark path { animation: draw 1.6s cubic-bezier(0.65, 0, 0.35, 1) forwards; animation-delay: calc(0.3s + var(--i) * 0.12s); }
}

/* The router in the workflow: a solid box turning, edges in the ground colour. */
.art .cube-edge { fill: none; stroke: var(--bg); stroke-width: 2; stroke-linejoin: round; }
.opart-text p { font-size: clamp(1.9rem, 5vw, 4.2rem); }

/* Fork loop, 8 s: branches grow, each trial runs, a and c are thrown away,
   b merges back into /data, then the picture clears and starts again. */
.fork-loop .s { vector-effect: none; stroke-width: 1.5; }
@media (prefers-reduced-motion: no-preference) {
  .fork-loop .branch, .fork-loop .merge { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .fork-loop .branch { animation: fk-branch 8s ease-in-out infinite; }
  .fork-loop .t-b .branch { animation-delay: 0.15s; } .fork-loop .t-c .branch { animation-delay: 0.3s; }
  .fork-loop .box, .fork-loop .trial text:not(.tag) { animation: fk-show 8s ease infinite; }
  .fork-loop .run { transform-box: fill-box; transform-origin: center; animation: fk-run 8s ease-in-out infinite; }
  .fork-loop .t-a, .fork-loop .t-c { animation: fk-discard 8s ease infinite; }
  .fork-loop .trial .tag { animation: fk-tag 8s ease infinite; }
  .fork-loop .merge { animation: fk-merge 8s ease-in-out infinite; }
  .fork-loop .apply-t, .fork-loop .merge-dot { animation: fk-apply 8s ease infinite; }
}
@keyframes fk-branch { 0% { stroke-dashoffset: 1; } 12%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes fk-show { 0%, 10% { opacity: 0; } 16%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fk-run { 0%, 16% { opacity: 0; transform: scale(0.3); } 22%, 34% { opacity: 1; transform: scale(1); } 28% { transform: scale(0.6); } 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fk-discard { 0%, 40% { opacity: 1; } 48%, 90% { opacity: 0.25; } 100% { opacity: 0; } }
@keyframes fk-tag { 0%, 42% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fk-merge { 0%, 50% { stroke-dashoffset: 1; } 64%, 90% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes fk-apply { 0%, 60% { opacity: 0; } 68%, 90% { opacity: 1; } 100% { opacity: 0; } }

/* Ask your AI: the prompt as a message ready to send, folded behind a fade. */
.ask { align-items: start; }
.ask-steps { list-style: none; counter-reset: a; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.55rem; }
.ask-steps li { counter-increment: a; display: flex; gap: 0.8rem; align-items: baseline; font-size: 0.98rem; }
.ask-steps li::before { content: counter(a, decimal-leading-zero); font: 500 0.78rem var(--mono); color: var(--muted); }
.thread { display: grid; gap: 0.9rem; min-width: 0; }
.msg { border: 1.5px solid var(--ink); min-width: 0; }
.msg-head { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0.8rem; font: 500 0.74rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 1.5px solid var(--ink); }
.msg-you { background: var(--ink); color: var(--bg); }
.msg-you .msg-head { border-color: color-mix(in srgb, var(--bg) 30%, transparent); }
.msg-body { margin: 0; padding: 0.9rem 0.9rem 0; font: 400 0.8rem/1.6 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere;
  max-height: 15rem; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.msg-you.open .msg-body { max-height: 32rem; overflow-y: auto; -webkit-mask-image: none; mask-image: none; padding-bottom: 0.9rem; }
.msg-more { display: block; width: 100%; padding: 0.6rem 0.9rem; border: 0; border-top: 1.5px solid color-mix(in srgb, var(--bg) 30%, transparent); background: none; color: inherit; font: 500 0.82rem var(--sans); text-align: left; cursor: pointer; }
.msg-more:hover { text-decoration: underline; text-underline-offset: 4px; }
.ask-actions { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 0.6rem; }
.ask-actions .btn { justify-content: center; }
@media (max-width: 520px) { .ask-actions { grid-template-columns: 1fr 1fr; } .ask-actions .btn-primary { grid-column: 1 / -1; } }

/* FAQ: a sticky heading beside an accordion. Each answer slides open where
   the browser can animate to auto height; elsewhere it simply opens. */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-side { position: sticky; top: 2rem; }
.faq-side h2 { margin-bottom: 1rem; }
.faq-list { border-top: 1.5px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: grid; grid-template-columns: 2.4rem 1fr 1.4rem; gap: 0.75rem; align-items: center; padding: 1.15rem 0; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-n { font: 500 0.78rem var(--mono); color: var(--muted); }
.faq-q { font: 400 clamp(1.05rem, 1.6vw, 1.2rem)/1.35 var(--display); letter-spacing: -0.01em; }
.faq-x { position: relative; width: 1.1rem; height: 1.1rem; justify-self: end; transition: transform 0.35s cubic-bezier(0.3, 1.4, 0.5, 1); }
.faq-x::before, .faq-x::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -0.75px; background: var(--ink); }
.faq-x::after { transform: rotate(90deg); }
.faq-item[open] .faq-x { transform: rotate(45deg); }
.faq-item summary:hover .faq-q { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.faq-item summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.faq-a p { margin: 0; padding: 0 2.2rem 1.35rem 3.15rem; color: var(--muted); max-width: 60ch; }
.faq-a a { color: var(--ink); }
.faq-item[open] summary .faq-n { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .faq-list { interpolate-size: allow-keywords; }
  .faq-item::details-content { height: 0; overflow: hidden; transition: height 0.4s cubic-bezier(0.3, 0, 0.2, 1), content-visibility 0.4s allow-discrete; }
  .faq-item[open]::details-content { height: auto; }
}
@media (max-width: 860px) {
  .faq { grid-template-columns: 1fr; gap: 1.5rem; }
  .faq-side { position: static; }
  .faq-a p { padding: 0 0 1.25rem 3.15rem; }
}

/* Containers are white, always: install line, code boxes, figures, tables,
   number panels, notes, cards. Inside one the two colours swap, as in a
   white section, and there are no tints: every fill is solid black or
   solid white. */
.install, .figure, .numbers, .table-wrap, .codebox, .langswitch, .note, .next a, .art-frame {
  --bg: #ffffff; --surface: #ffffff; --ink: var(--black);
  --muted: rgba(0, 0, 0, 0.74); --faint: rgba(0, 0, 0, 0.52);
  --line: rgba(0, 0, 0, 0.26); --line-soft: rgba(0, 0, 0, 0.13);
  --code: transparent; --accent: var(--black); --accent-soft: transparent; --on-accent: #ffffff;
  background: #ffffff; color: var(--ink); border: 1.5px solid var(--black);
}
.note { border-left-width: 4px; }
.next a:hover { background: var(--black); color: #ffffff; }
.next a:hover span { color: #ffffff; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.ln[data-note]:hover, .ln[data-note]:focus-visible, .ln.on { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
/* Inline code is a solid chip in the opposite colour, like a marker. */
:not(pre) > code { background: var(--ink); color: var(--bg); }

/* Signal blue. Small and deliberate: never a fill for a container. */
.art .sig { fill: var(--signal); }
.art .spin-box .cube-edge { stroke: #ffffff; }
.art .s.mark, .scribble .s { stroke: var(--signal); }
.nav-links a { background-image: linear-gradient(var(--signal), var(--signal)); }
.nav-links a:active, .nav-links a[aria-current="page"] { color: #ffffff; }
.nav-links a:focus-visible { outline-color: var(--signal); }
::selection { background: var(--signal); color: #ffffff; }
