/* ==========================================================================
   Hafen — one-pager
   Hand-set system: paper & ink, one navy, one signal colour, hairlines.
   Fonts are self-hosted (fonts/), no gradients used as decoration, no external requests.
   ========================================================================== */

/* ---------- Self-hosted fonts (SIL OFL 1.1, see fonts/OFL-Unna.txt and fonts/OFL-Inter.txt) --------- */
@font-face {
  font-family: "Unna";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/unna-latin-400.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;
}
@font-face {
  font-family: "Unna";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/unna-latin-400-italic.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;
}
@font-face {
  font-family: "Unna";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/unna-latin-700.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;
}
@font-face {
  font-family: "Unna";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/unna-latin-700-italic.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;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-var.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;
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-var-italic.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;
}

/* ---------- Tokens ---------------------------------------------------- */
:root {
  --serif: "Unna", ui-serif, Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-pad: clamp(80px, 10vw, 148px);
  --radius: 2px;
  --hair: 1px;
}

/* Light — warm paper, deep ink */
:root,
[data-theme="light"] {
  color-scheme: light;
  --paper: #f4f1ea;
  --paper-2: #ebe6db;
  --plate: #e7e1d4;
  --ink: #121c26;
  --ink-2: #4a5562;
  --ink-3: #59626c;
  --rule: rgba(18, 28, 38, 0.15);
  --rule-2: rgba(18, 28, 38, 0.28);
  --rule-strong: rgba(18, 28, 38, 0.7);
  --navy: #16507f;
  --navy-2: #1a64a0;
  --signal: #b5360f;
  --on-signal: #fff;
  --code-bg: #efebe2;
  --hl: rgba(22, 80, 127, 0.1);
  --grid: rgba(22, 80, 127, 0.07);
  --btn-bg: #121c26;
  --btn-fg: #f4f1ea;
  --btn-hover: #16507f;
  --shadow: 0 1px 0 rgba(18, 28, 38, 0.08), 0 28px 50px -30px rgba(18, 28, 38, 0.45);
}

/* Dark — night chart */
[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0b141c;
  --paper-2: #101b25;
  --plate: #0f1a24;
  --ink: #e9e4d9;
  --ink-2: #a6b0ba;
  --ink-3: #7d8994;
  --rule: rgba(233, 228, 217, 0.12);
  --rule-2: rgba(233, 228, 217, 0.22);
  --rule-strong: rgba(233, 228, 217, 0.62);
  --navy: #86b6e2;
  --navy-2: #a5c9ea;
  --signal: #f07448;
  --on-signal: #0b141c;
  --code-bg: #0e1923;
  --hl: rgba(134, 182, 226, 0.14);
  --grid: rgba(134, 182, 226, 0.06);
  --btn-bg: #e9e4d9;
  --btn-fg: #0b141c;
  --btn-hover: #a5c9ea;
  --shadow: 0 0 0 1px rgba(233, 228, 217, 0.1), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}

/* No-JS fallback: follow the system */
@media (prefers-color-scheme: dark) {
  html:not(.js) {
    color-scheme: dark;
    --paper: #0b141c; --paper-2: #101b25; --plate: #0f1a24;
    --ink: #e9e4d9; --ink-2: #a6b0ba; --ink-3: #7d8994;
    --rule: rgba(233, 228, 217, 0.12); --rule-2: rgba(233, 228, 217, 0.22); --rule-strong: rgba(233, 228, 217, 0.62);
    --navy: #86b6e2; --navy-2: #a5c9ea; --signal: #f07448; --on-signal: #0b141c;
    --code-bg: #0e1923; --hl: rgba(134, 182, 226, 0.14); --grid: rgba(134, 182, 226, 0.06);
    --btn-bg: #e9e4d9; --btn-fg: #0b141c; --btn-hover: #a5c9ea;
  }
}

/* ---------- Base ------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.58 var(--sans);
  font-optical-sizing: auto;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
b, strong { font-weight: 600; }

::selection { background: var(--navy); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 1px;
}

.mono { font-family: var(--mono); }
.muted { color: var(--ink-2); }
.nowrap { white-space: nowrap; }

code {
  font-family: var(--mono);
  font-size: 0.86em;
  padding: 0.08em 0.3em;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper-2);
  white-space: nowrap;
}
code.plain, pre code { padding: 0; border: 0; background: none; white-space: inherit; }
code.inline { white-space: nowrap; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 10px 14px; font: 600 14px var(--sans); text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Layout frame ---------------------------------------------- */
.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
}

/* ---------- Header ----------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex; align-items: center; gap: 28px;
  height: 60px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  flex: none;
}
.brand img { width: 32px; height: 32px; }
.brand-word {
  font: 400 27px/1.05 var(--serif);
}

.nav { flex: 1; min-width: 0; }
.nav ol { display: flex; gap: 2px; justify-content: center; }
.nav a {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 8px 10px;
  font: 500 13px/1 var(--sans);
  color: var(--ink-2);
  text-decoration: none;
  border-radius: var(--radius);
}
.nav-n { font: 10.5px/1 var(--mono); color: var(--ink-3); }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="true"] { color: var(--ink); }
.nav a[aria-current="true"] .nav-n { color: var(--signal); }

.header-tools { display: flex; align-items: center; gap: 14px; margin-left: auto; flex: none; }

/* Segmented control: a recessed track, the active option sits raised on it */
.theme-toggle {
  display: inline-flex;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 2px;
  gap: 2px;
}
.theme-toggle button {
  appearance: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  height: 29px;
  padding: 0 10px 0 9px;
  background: transparent; color: var(--ink-3);
  border: 1px solid transparent;
  border-radius: 3px;
  font: 500 10.5px/1 var(--mono);
  text-transform: uppercase;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.theme-toggle button:hover { color: var(--ink); background: var(--hl); }
.theme-toggle button:focus-visible { outline-offset: -2px; }
.theme-toggle button[aria-checked="true"] {
  background: var(--paper); color: var(--ink);
  border-color: var(--rule-2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.tt-ico {
  width: 14px; height: 14px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.tt-ico .fill { fill: currentColor; stroke: none; }
.theme-toggle button[aria-checked="true"] .tt-ico { color: var(--signal); }

/* ---------- Buttons & links ------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 15px/1 var(--sans);
  padding: 16px 22px 16px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.btn:hover { background: var(--btn-hover); }
.btn-ico { width: 16px; height: 16px; }
.btn-small { font-size: 13px; padding: 10px 14px; }
.btn-large { font-size: 17px; padding: 20px 28px 20px 22px; }
.btn-large .btn-ico { width: 18px; height: 18px; }

.link-arrow {
  font: 500 15px/1 var(--sans);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 4px;
}
.link-arrow:hover { color: var(--navy); border-color: var(--navy); }

/* ---------- Type scale ------------------------------------------------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.93;
}
.display em { font-style: italic; color: var(--navy); }

.h2 {
  font: 400 clamp(2.35rem, 4.7vw, 4.25rem)/1.06 var(--serif);
  text-wrap: balance;
  max-width: 17ch;
}
.h3 {
  font: 400 clamp(1.5rem, 2.1vw, 1.8rem)/1.15 var(--serif);
}
.lead {
  font-size: clamp(1.1rem, 1.45vw, 1.28rem);
  line-height: 1.5;
  color: var(--ink);
  max-width: 34em;
  text-wrap: pretty;
}

/* ---------- Hero ------------------------------------------------------- */
.hero { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(56px, 7vw, 104px); }

.hero .wrap { container-type: inline-size; }
/* Font size is fitted by js/main.js so the longest line spans the full width;
   the cqi value is the no-JS fallback. */
.hero h1 {
  font-size: 8.6cqi;
  margin-top: clamp(12px, 2.5vw, 36px);
  max-width: none;
}
.hero h1 .fit-line { display: block; width: fit-content; white-space: nowrap; }
/* Headline lockup: app icon + "harbour" on one line, with a small "Just a"
   tucked into the space between the ascenders of "h" and "b". Everything is
   sized in em of .t-top, which is set in cqi, so the block scales as one.
   Only the subline (.fit-line) is fitted to the full width by js/main.js. */
.hero h1 .t-top {
  display: block; white-space: nowrap;
  font-size: 18.2cqi; line-height: 1;
}
.hero h1 .t-icon {
  /* The PNG follows the macOS grid: an 824px tile inside 1024px with a baked
     shadow. --tile is the visible tile; the negative margins remove the
     transparent padding so the tile lines up with the text edge. For an
     inline image the bottom margin edge sits on the baseline, so the tile
     bottom ends up at baseline + --drop. */
  --tile: 1.1em;
  --pad: calc(var(--tile) * -100 / 824);
  --drop: 0.19em;
  display: inline-block; max-width: none;
  width: calc(var(--tile) * 1024 / 824); height: auto;
  margin: var(--pad) calc(var(--pad) + 0.22em) var(--pad) var(--pad);
  vertical-align: calc(var(--drop) * -1);
}
.hero h1 .t-word { position: relative; display: inline-block; }
.hero h1 .t-just {
  position: absolute; left: 1.8em; top: 0.2em; /* em of the small size */
  font-size: 0.27em; line-height: 1;
  color: var(--ink-2);
}
.hero h1 .t-sub {
  font-size: 5.4cqi; line-height: 1.05;
  margin-top: 0.55em; padding-top: 0.45em;
  border-top: 1px solid var(--rule);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  margin-top: clamp(32px, 4.5vw, 60px);
}
/* Trim the half-leading above the first line so the cap height of the lead
   lines up with the top border of the status panel. */
.hero-copy .lead { max-width: 31em; text-box: trim-start cap alphabetic; }

.cta-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 32px; }

.meta-line {
  display: flex; flex-wrap: wrap; gap: 6px 0;
  margin-top: 26px;
  font-size: 12px; color: var(--ink-2);
}
.meta-line li { display: inline-flex; align-items: center; }
.meta-line li + li::before {
  content: ""; width: 4px; height: 4px; margin: 0 12px;
  border: 1px solid var(--ink-3); border-radius: 50%;
}

/* Status panel */
.status-panel {
  border: 1px solid var(--rule-2);
  font-size: 12.5px;
  background: var(--paper);
}
.panel-head {
  display: flex; justify-content: space-between;
  padding: 9px 14px;
  font-size: 10.5px; text-transform: uppercase;
  color: var(--ink-2);
  border-bottom: 1px solid var(--rule-2);
}
.panel-head span:last-child { color: var(--ink-3); text-transform: none; }
.status-panel ul { padding: 6px 0; }
.status-panel li {
  display: grid; grid-template-columns: 18px 1fr auto; align-items: center;
  padding: 6px 14px;
  color: var(--ink);
}
.status-panel li span:last-child { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.status-panel li + li { border-top: 1px dashed var(--rule); }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: 1.25px solid var(--ink-3);
}
.dot.on { background: var(--navy); border-color: var(--navy); }
.status-panel li:has(.dot:not(.on)) span:first-of-type { color: var(--ink-2); }

/* The swell: one slow hairline wave */
.swell {
  width: 200%; max-width: none; height: 40px;
  margin-top: clamp(48px, 6vw, 80px);
  margin-bottom: clamp(40px, 6vw, 80px);
  overflow: visible;
}
.swell path { fill: none; vector-effect: non-scaling-stroke; }
.swell-a { stroke: var(--navy); stroke-width: 1.25; }
.swell-b { stroke: var(--rule-2); stroke-width: 1; }
.hero { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.static) .swell { animation: swell 48s linear infinite; }
}
@keyframes swell { to { transform: translateX(-50%); } }

/* ---------- Screenshot plates ----------------------------------------- */
.shot { position: relative; }
.shot-hero { margin-top: 0; }

.plate { position: relative; }

.shot-frame {
  position: relative;
  aspect-ratio: 1360 / 830;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--paper-2);
}
.shot-frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top left;
}

/* Theme switching for screenshots (driven by data-theme on <html>) */
.shot-dark { display: none; }
[data-theme="dark"] .shot-light { display: none; }
[data-theme="dark"] .shot-dark { display: block; }
@media (prefers-color-scheme: dark) {
  html:not(.js) .shot-light { display: none; }
  html:not(.js) .shot-dark { display: block; }
}
.shot.no-light .shot-light,
.shot.no-dark .shot-dark { display: none !important; }

/* Placeholder: a drawn window with the drafting "image" cross */
.shot-ph { display: none; position: absolute; inset: 0; }
[data-theme="light"] .shot.no-light .shot-ph,
[data-theme="dark"] .shot.no-dark .shot-ph { display: flex; flex-direction: column; }

.shot-ph {
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: 10px;
  font-family: var(--mono);
  color: var(--ink-2);
}
.ph-bar {
  flex: none;
  display: flex; align-items: center; gap: 7px;
  height: 7.2%; min-height: 22px;
  padding-inline: 2.2%;
  border-bottom: 1px solid var(--rule-2);
}
.ph-bar i { width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--rule-strong); }
.ph-bar span { margin-left: auto; margin-right: auto; font-size: 11px; color: var(--ink-3); transform: translateX(-20px); }
.ph-body { flex: 1; display: grid; grid-template-columns: 27% 1fr; min-height: 0; }
.ph-side {
  border-right: 1px solid var(--rule-2);
  padding: 6% 9%;
  display: flex; flex-direction: column; gap: 9%;
}
.ph-side b { display: block; height: 1px; background: var(--rule-2); }
.ph-side b:nth-child(3n+1) { width: 60%; background: var(--rule-strong); opacity: 0.5; }
.ph-side b:nth-child(3n+2) { width: 88%; }
.ph-side b:nth-child(3n) { width: 72%; }
.ph-main { position: relative; display: grid; place-items: center; min-height: 0; }
.ph-cross { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-cross line { stroke: var(--rule-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ph-label {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule-2);
  padding: 14px 18px;
  text-align: center;
  font-size: 12px; line-height: 1.6;
}
.ph-label strong { display: block; color: var(--ink); font-weight: 600; font-size: 12px; text-transform: uppercase; }
.ph-label .ph-file { color: var(--signal); }
.ph-label small { display: block; color: var(--ink-3); font-size: 11px; }

/* Click-to-zoom (overlay built in main.js) */
[data-theme="light"] .shot:not(.no-light) .shot-frame,
[data-theme="dark"] .shot:not(.no-dark) .shot-frame { cursor: zoom-in; }
.shot-frame:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
.shot-frame.is-zoomed { visibility: hidden; }

.zoom {
  position: fixed; inset: 0; z-index: 1000;
  cursor: zoom-out;
  background: rgba(10, 16, 22, 0);
  transition: background-color 0.42s ease;
  outline: none;
}
.zoom.is-open { background: rgba(10, 16, 22, 0.72); }
.zoom-img {
  position: fixed;
  max-width: none;
  object-fit: cover; object-position: top left;
  transform-origin: 0 0;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.55);
  transition: transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1), border-radius 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .zoom, .zoom-img { transition: none; }
}

.shot figcaption {
  margin-top: 14px;
  font-size: 12px; color: var(--ink-2);
  line-height: 1.5;
}
.fig-n {
  display: inline-block; margin-right: 12px;
  color: var(--ink); font-weight: 600;
  text-transform: uppercase; font-size: 10.5px;
  padding-right: 12px; border-right: 1px solid var(--rule-2);
}
.shot figcaption code { font-size: 1em; }

/* ---------- Sections --------------------------------------------------- */
.section {
  border-top: 1px solid var(--rule);
}
.section-grid {
  padding-block: var(--section-pad);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  column-gap: clamp(24px, 4vw, 64px);
  margin-bottom: clamp(44px, 6vw, 84px);
}
.section-n {
  grid-row: span 2;
  font-size: 12px;
  color: var(--ink-2);
  padding-top: 0.9em;
}
.section-n span {
  display: inline-block;
  color: var(--signal); font-weight: 600;
  margin-right: 8px; padding-right: 10px;
  border-right: 1px solid var(--rule-2);
}
.section-intro {
  grid-column: 2;
  margin-top: 26px;
  max-width: 38em;
  color: var(--ink-2);
  font-size: 1.08rem;
  text-wrap: pretty;
}
.section-intro code { color: var(--ink); }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
caption {
  text-align: left;
  font-size: 10.5px; text-transform: uppercase;
  color: var(--ink-2);
  padding-bottom: 12px;
}
th { text-align: left; font-weight: inherit; }
.num { text-align: right; white-space: nowrap; }

/* ---------- 01 Bill of materials -------------------------------------- */
.bom thead th {
  font: 500 10.5px/1 var(--mono);
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 0 16px 12px 0;
  border-bottom: 1px solid var(--rule-strong);
}
.bom thead th.num { padding-right: 0; }
.bom tbody tr { border-bottom: 1px solid var(--rule); }
.bom td, .bom tbody th {
  padding: 20px 20px 20px 0;
  vertical-align: baseline;
}
.bom .pos { width: 4.2rem; font-size: 12px; color: var(--navy); font-weight: 600; }
.bom tbody th {
  font: 400 1.45rem/1.2 var(--serif);
  width: 15rem;
  white-space: nowrap;
}
.bom tbody th code { font-size: 0.8em; }
.bom td:nth-child(3) { color: var(--ink-2); max-width: 36em; font-size: 15.5px; }
.bom td:nth-child(3) code { color: var(--ink); }
.bom .src { font-size: 12px; color: var(--ink); white-space: nowrap; }
.bom td.num { padding-right: 0; font-size: 13px; color: var(--ink); font-weight: 600; }
.bom tr.alt .pos { color: var(--ink-3); }
.bom tr.alt th { color: var(--ink-2); }
.tag {
  display: inline-block; vertical-align: 0.25em;
  font: 500 9.5px/1 var(--mono);
  text-transform: uppercase;
  border: 1px solid var(--rule-2);
  color: var(--ink-2);
  padding: 3px 5px 2px;
  margin-left: 6px;
  border-radius: var(--radius);
}
.footnote {
  margin-top: 22px;
  font-size: 12px; color: var(--ink-2);
}
.footnote code { font-size: 1em; color: var(--ink); }

/* ---------- 02 Diagram ------------------------------------------------- */
.diagram {
  border: 1px solid var(--rule);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
}
.diagram-scroll { overflow-x: auto; padding: clamp(16px, 3vw, 40px); }
.arch { width: 100%; min-width: 860px; height: auto; }

/* shared SVG drawing styles */
.node rect, .db { fill: var(--paper); stroke: var(--ink); stroke-width: 1.25; }
.node-key rect { stroke-width: 2; }
.node-opt rect { stroke-dasharray: 5 3; }
.node-rule { stroke: var(--ink); stroke-width: 1; }
.hatch { fill: url(#hatch); stroke: none !important; }
.hatch-line { stroke: var(--rule-2); stroke-width: 1.2; }
.wire { fill: none; stroke: var(--ink); stroke-width: 1.25; }
.wire.dashed { stroke-dasharray: 4 4; }
.faint-stroke { stroke: var(--rule-2) !important; fill: none; }
.ah { fill: var(--ink); }
.joint { fill: var(--ink); }
.boundary { fill: none; stroke: var(--navy); stroke-width: 1; stroke-dasharray: 1 4; stroke-linecap: round; }
.chrome { fill: none; stroke: var(--ink-3); }
.seal { fill: none; stroke: var(--navy); stroke-width: 1.25; }
.lbl { font: 500 15px var(--sans); fill: var(--ink); }
.lbl.big { font: 400 35px var(--serif); }
.lbl-mono { font: 400 11.5px var(--mono); fill: var(--ink-2); }
.lbl-mono.strong { fill: var(--ink); font-weight: 600; }
.lbl-mono.tiny { font-size: 10px; fill: var(--navy); font-weight: 600; }
.lbl-mono.faint, .faint { fill: var(--ink-3); }
.lbl-mono.sm { font-size: 10.5px; }
.boundary + .lbl-mono { fill: var(--navy); font-size: 10.5px; }
.step circle { fill: var(--signal); }
.step text { fill: var(--on-signal); font: 600 11px var(--mono); }

.diagram figcaption {
  border-top: 1px solid var(--rule);
  background: var(--paper);
  padding: clamp(20px, 3vw, 32px) clamp(16px, 3vw, 40px);
}
.flow-legend {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  counter-reset: step;
}
.flow-legend li {
  counter-increment: step;
  font-size: 14px; line-height: 1.5;
  color: var(--ink-2);
  position: relative;
  padding-top: 34px;
}
.flow-legend li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--signal); color: var(--on-signal);
  font: 600 11px/20px var(--mono); text-align: center;
}
.flow-legend b { color: var(--ink); font-weight: 600; }
.flow-legend code { white-space: normal; }
.scroll-hint { display: none; font-size: 11px; color: var(--ink-3); margin-top: 10px; }

/* ---------- 03 Certificates ------------------------------------------- */
.https-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.sequence { counter-reset: seq; border-top: 1px solid var(--rule-strong); }
.sequence li {
  display: grid; grid-template-columns: 40px 1fr; gap: 0 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.seq-n {
  width: 24px; height: 24px;
  border: 1px solid var(--rule-strong); border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; color: var(--ink);
  margin-top: 2px;
}
.sequence h3 { font: 600 16px/1.35 var(--sans); }
.sequence h3 code.plain { font-size: 0.92em; color: var(--navy); }
.sequence p { margin-top: 4px; color: var(--ink-2); font-size: 15px; }
.sequence em { font-style: normal; color: var(--ink); font-weight: 500; }

.chain { margin-top: 40px; padding: 24px 18px 14px; border: 1px solid var(--rule); background: var(--paper); }
.chain svg { width: 100%; height: auto; max-width: 440px; margin-inline: auto; overflow: visible; }
.chain .lbl { font-size: 14px; }
.chain .leaf .lbl-mono { fill: var(--ink); }
.chain .lbl-mono.faint { font-size: 10.5px; }

.cmd { margin-top: 28px; }
.cmd-label {
  font-size: 10.5px; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 10px;
}
.cmd pre, .hosts pre {
  background: var(--code-bg);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--navy);
  padding: 14px 16px;
  font-size: 12.5px; line-height: 1.6;
  overflow-x: auto;
  color: var(--ink);
}

.code-card {
  border: 1px solid var(--rule-2);
  background: var(--code-bg);
  position: sticky; top: 84px;
}
.code-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px 16px;
  font-size: 11.5px; color: var(--ink-2);
  border-bottom: 1px solid var(--rule-2);
  background: var(--paper);
}
.code-head span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.code-badge {
  flex: none;
  font-size: 9.5px; text-transform: uppercase;
  color: var(--signal);
  border: 1px solid currentColor; padding: 3px 6px 2px; border-radius: var(--radius);
}
.code-body {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  font-size: 13px; line-height: 1.68;
}
.gutter {
  white-space: pre; text-align: right;
  padding: 18px 12px 18px 16px;
  color: var(--ink-3);
  border-right: 1px solid var(--rule);
  user-select: none;
  font-size: 11.5px; line-height: calc(13px * 1.68);
}
.code-body pre {
  padding: 18px 20px;
  overflow-x: auto;
  tab-size: 4;
  color: var(--ink);
}
.code-body pre:focus-visible { outline-offset: -2px; }
.c { color: var(--ink-3); font-style: italic; }
/* Continuation lines of a multi-line quoted string: indented visually only (pseudo-element, not copied) */
.cont::before { content: ""; display: inline-block; width: 23ch; }
.k { color: var(--navy); font-weight: 600; }
.s { color: var(--ink-2); }
.n { color: var(--signal); }
.a { color: var(--ink); font-weight: 700; }
.hl { background: var(--hl); box-shadow: 0 0 0 2px var(--hl); }
.mk {
  display: inline-grid; place-items: center;
  width: 17px; height: 17px; border-radius: 50%;
  margin-left: 12px; vertical-align: 1px;
  background: var(--signal); color: var(--on-signal);
  font: 600 10px/1 var(--mono);
  user-select: none;
}
.code-notes {
  counter-reset: note;
  border-top: 1px solid var(--rule-2);
  padding: 18px 20px 20px;
  display: grid; gap: 10px;
  background: var(--paper);
}
.code-notes li {
  counter-increment: note;
  position: relative; padding-left: 30px;
  font-size: 14px; line-height: 1.5; color: var(--ink-2);
}
.code-notes li::before {
  position: absolute; left: 0; top: 0;
  content: counter(note);
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--signal); color: var(--on-signal);
  font: 600 10px/17px var(--mono); text-align: center;
  margin-top: 2px;
}
.code-notes code { color: var(--ink); white-space: normal; }

/* ---------- 05 Independent -------------------------------------------- */
.ind-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px);
}
.compare caption { line-height: 1; }
.compare thead th {
  font: 500 10.5px/1 var(--mono); text-transform: uppercase;
  color: var(--ink-2);
  padding: 0 0 12px;
  border-bottom: 1px solid var(--rule-strong);
}
.compare tbody tr { border-bottom: 1px solid var(--rule); }
.compare tbody th { font: 400 1.45rem/1.2 var(--serif); padding: 18px 20px 18px 0; width: 42%; }
.compare td { padding: 18px 0; color: var(--ink-2); }
.compare tr.us { border-bottom: 1px solid var(--rule-strong); }
.compare tr.us th { font-style: italic; color: var(--navy); font-size: 1.6rem; }
.compare tr.us td { color: var(--ink); font-weight: 500; }

.facts { border-top: 1px solid var(--rule-strong); }
/* Align the facts list with the first table row: caption (10.5 + 12) + thead (10.5 + 12) */
.ind-points { padding-top: 45px; }
.facts > div {
  display: grid; grid-template-columns: 7.5rem 1fr; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.facts dt { font-size: 10.5px; text-transform: uppercase; color: var(--ink-2); padding-top: 4px; }
.facts dd { font-size: 15.5px; }
.facts code { white-space: normal; }

.outbound {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  column-gap: clamp(24px, 4vw, 64px);
}
.outbound .h3 { grid-column: 1; }
.outbound .muted { grid-column: 1; margin-top: 10px; font-size: 15px; }
.outbound .table-scroll { grid-column: 2; grid-row: 1 / span 3; }

.about-project {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  column-gap: clamp(24px, 4vw, 64px);
}
.about-text { max-width: 62ch; color: var(--ink-2); }
.about-text p + p { margin-top: 1em; }
.about-project + .about-project { margin-top: clamp(40px, 5vw, 64px); }
.support-list { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.support-list li {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 15px;
}
.support-list .mono { color: var(--ink); font-size: 13px; }
.support-list a { text-decoration: underline; text-underline-offset: 3px; }
.support-list a:hover { color: var(--ink); }

.ledger { border-top: 1px solid var(--rule-strong); }
.ledger tr { border-bottom: 1px solid var(--rule); }
.ledger td { padding: 13px 16px 13px 0; vertical-align: baseline; font-size: 15px; color: var(--ink-2); }
.ledger td:last-child { padding-right: 0; }
.ledger .host { color: var(--ink); font-size: 13px; width: 13rem; white-space: nowrap; }
.ledger .host::before { content: "→ "; color: var(--navy); }
.ledger code { white-space: normal; }

/* ---------- 06 Features ----------------------------------------------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  padding-bottom: clamp(56px, 7vw, 104px);
  margin-bottom: clamp(56px, 7vw, 104px);
  border-bottom: 1px solid var(--rule);
}
.feature-flip { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.feature-flip .feature-text { order: 2; }
.feature-text { padding-top: 6px; }
.feature-n { font-size: 11px; color: var(--signal); font-weight: 600; margin-bottom: 10px; }
.spec { margin-top: 20px; border-top: 1px solid var(--rule-strong); }
.spec li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--rule);
  font-size: 15.5px; line-height: 1.5; color: var(--ink-2);
}
.spec li::before {
  /* centred on the first line: padding-top + half the line-height (1.5) */
  content: ""; position: absolute; left: 2px; top: calc(12px + 0.75em - 0.5px);
  width: 9px; height: 1px; background: var(--navy);
}
.spec code { color: var(--ink); white-space: normal; }

.spec-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
}
.spec-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- 04 Under the hood ----------------------------------------- */
.hood-run .muted { margin-top: 10px; font-size: 15px; }
.hood-run .cmd:first-of-type { margin-top: 20px; }
.hood-run pre { white-space: pre; }
.hood-facts { margin-top: clamp(32px, 4vw, 56px); }

/* ---------- 07 Ports & paths ------------------------------------------ */
.ports-grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.ports thead th {
  font: 500 10.5px/1 var(--mono); text-transform: uppercase;
  color: var(--ink-2); padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--rule-2);
}
.ports thead th.num { padding-right: 24px; }
.ports thead th:last-child { text-align: right; padding-right: 0; }
.ports td.num {
  width: 6.5rem; padding-right: 24px;
  color: var(--navy); font-weight: 600; font-size: 14px;
}
.ports td:nth-child(2) { color: var(--ink); }
.ports td:last-child { font-size: 12px; color: var(--ink-3); text-align: right; white-space: nowrap; }
.ledger .path { color: var(--ink); font-size: 12.5px; overflow-wrap: anywhere; width: 55%; }
.hosts { margin-top: 32px; }
.hosts pre { line-height: 1.7; }

/* ---------- 08 Get started -------------------------------------------- */
.steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule-strong);
}
.steps li {
  padding: 28px clamp(16px, 2vw, 28px) 8px;
  border-left: 1px solid var(--rule);
}
.steps li:first-child { border-left: 0; padding-left: 0; }
.step-n {
  display: block;
  font: 400 clamp(4rem, 7vw, 6.4rem)/0.9 var(--serif);
  color: var(--navy);
  font-variant-numeric: lining-nums;
}
.step-where {
  margin-top: 22px;
  font-size: 11px; text-transform: uppercase;
  color: var(--signal);
}
.steps h3 { font: 600 18px/1.3 var(--sans); margin-top: 6px; }
.steps p:not(.step-where) { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.steps code { white-space: normal; }

/* ---------- Download -------------------------------------------------- */
.download { border-top: 1px solid var(--rule-strong); }
.download .wrap { padding-block: clamp(80px, 11vw, 168px); }
.dl-inner {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.dl-icon { width: clamp(88px, 10vw, 140px); height: auto; margin-top: 8px; }
.dl-title { font-size: clamp(3.6rem, 9vw, 8.4rem); }
.dl-copy .lead { margin-top: 24px; color: var(--ink-2); }
.dl-copy .cta-row { margin-top: 36px; }
.dl-specs {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 56px;
  border-top: 1px solid var(--rule-strong);
  max-width: 860px;
}
.dl-specs > div { padding: 14px 16px 0 0; }
.dl-specs dt { font-size: 10.5px; text-transform: uppercase; color: var(--ink-3); }
.dl-specs dd { font-size: 13px; color: var(--ink); margin-top: 6px; }
.dl-note {
  margin-top: 32px; max-width: 860px;
  padding: 14px 18px 16px;
  border: 1px solid var(--rule); border-left: 2px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--code-bg);
}
.dl-note-title { font-size: 10.5px; font-weight: 400; text-transform: uppercase; color: var(--ink-3); }
.dl-note p { margin-top: 8px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); max-width: 68ch; }
.dl-note .dl-note-cmd {
  display: block; max-width: 100%;
  white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-all;
  font-size: 12px; color: var(--ink);
}

/* ---------- Footer ----------------------------------------------------- */
.site-footer { border-top: 1px solid var(--rule); }
.footer-inner {
  display: grid; grid-template-columns: 1fr auto;
  gap: 16px 32px;
  padding-block: 32px 40px;
  font-size: 12px; color: var(--ink-2);
}
.footer-inner b { color: var(--ink); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; border-bottom: 1px solid var(--rule-2); padding-bottom: 2px; }
.footer-links a:hover { color: var(--ink); border-color: var(--ink); }
.footer-note { grid-column: 1 / -1; color: var(--ink-3); max-width: 70em; }

/* ---------- Reveal (progressive, motion-safe) -------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.static) .reveal {
    opacity: 0; transform: translateY(14px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1);
  }
  html.js:not(.static) .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Responsive ------------------------------------------------- */
@media (max-width: 1240px) {
  .nav-n { display: none; }
  .nav a { padding-inline: 8px; }
}
@media (max-width: 1100px) {
  .nav { display: none; }
  .flow-legend { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bom .src { white-space: normal; }
}
@media (max-width: 960px) {
  .hero-grid,
  .https-grid,
  .ind-grid,
  .ports-grid,
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature-flip .feature-text { order: 0; }
  .status-panel { max-width: 440px; }
  .code-card { position: static; }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .section-n { grid-row: auto; padding-top: 0; margin-bottom: 18px; }
  .section-intro { grid-column: 1; }
  .outbound, .about-project { grid-template-columns: minmax(0, 1fr); }
  .about-text { margin-top: 16px; }
  .ind-points { padding-top: 0; }
  .outbound .table-scroll { grid-column: 1; grid-row: auto; margin-top: 24px; }
  .spec-grid, .spec-grid--2 { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--rule); margin-top: 20px; }
  .dl-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .scroll-hint { display: block; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .flow-legend { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .flow-legend li { padding: 0 0 0 34px; }
  /* Bill of materials becomes stacked entries */
  .bom thead { display: none; }
  .bom, .bom tbody, .bom tr { display: block; }
  .bom tbody tr {
    display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) auto;
    column-gap: 10px;
    padding: 18px 0;
  }
  .bom td, .bom tbody th { padding: 0; width: auto; }
  .bom .pos { grid-column: 1; grid-row: 1; padding-top: 4px; }
  .bom tbody th { grid-column: 2; grid-row: 1; white-space: normal; }
  .bom td.num { grid-column: 3; grid-row: 1; padding-top: 4px; }
  .bom td:nth-child(3) { grid-column: 2 / -1; grid-row: 2; margin-top: 8px; font-size: 15px; }
  .bom .src { grid-column: 2 / -1; grid-row: 3; margin-top: 8px; color: var(--ink-2); }
  .bom .src::before { content: "Supplied by  "; color: var(--ink-3); white-space: pre; }
  .bom caption { display: block; }
  .compare tbody th { width: auto; font-size: 1.15rem; }
  .compare tr.us th { font-size: 1.35rem; }
  .facts > div { grid-template-columns: 1fr; gap: 4px; }
  .ledger .host { width: auto; white-space: normal; }
  .ledger tr { display: grid; grid-template-columns: 1fr; padding: 12px 0; }
  .ledger td { padding: 0; }
  .ledger td + td { margin-top: 4px; }
  .ports tr { display: table-row; padding: 0; }
  .ports td { padding: 12px 12px 12px 0; display: table-cell; }
  .ports td.num { width: 4.8rem; padding-right: 12px; }
  .ports td:last-child { display: none; }
  .ports thead th:last-child { display: none; }
  .ports thead th.num { padding-right: 12px; }
  .ledger .path { width: auto; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { border-left: 0; padding-left: 0; padding-right: 0; }
  .steps li + li { border-top: 1px solid var(--rule); margin-top: 12px; }
  .step-n { font-size: 4.2rem; }
  .dl-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .code-body { font-size: 12px; }
  .gutter { line-height: calc(12px * 1.68); font-size: 10.5px; padding-inline: 10px 8px; }
  .code-body pre { padding-inline: 14px; }
  .fig-n { display: block; border-right: 0; padding-right: 0; margin-bottom: 4px; }
  .ph-label { padding: 8px 10px; font-size: 10.5px; }
  .ph-label small { display: none; }
  .ph-side { gap: 14%; }
  .ph-bar { gap: 4px; min-height: 16px; }
  .ph-bar i { width: 7px; height: 7px; }
  .ph-bar span { display: none; }
}
@media (max-width: 560px) {
  .header-inner { gap: 12px; }
  .brand-word { font-size: 22px; }
  .brand img { width: 28px; height: 28px; }
  .header-tools { gap: 8px; }
  .theme-toggle button { padding: 0 8px; }
  .tt-label {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
  .btn-small { display: none; }
  .cta-row { gap: 20px; }
  .btn { width: 100%; justify-content: center; }
  .link-arrow { align-self: flex-start; }
  .dl-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media print {
  .site-header, .swell, .theme-toggle { display: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Legal pages (imprint, privacy) ------------------------------ */
.legal { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 8vw, 120px); }
.legal .wrap > * { max-width: 42rem; }
.legal .h2 { margin-bottom: 0.3em; max-width: none; }
.legal-meta { color: var(--ink-3); font-size: 12px; text-transform: uppercase; margin: 0 0 2.5rem; }
.legal h2 { font: 400 clamp(1.3rem, 2vw, 1.6rem)/1.2 var(--serif); color: var(--ink); margin: 2.4rem 0 0.6rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.legal p, .legal li { color: var(--ink-2); line-height: 1.65; text-wrap: pretty; }
.legal p { margin: 0 0 1em; }
.legal ul { margin: 0 0 1em; padding-left: 1.2em; list-style: disc; }
.legal li { margin-bottom: 0.3em; }
.legal a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 3px; }
.legal a:hover { text-decoration-color: var(--ink); }
.legal code { font-family: var(--mono); font-size: 0.9em; color: var(--ink); }
