/* fonts:start */
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-italic-latin-ext-0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-italic-latin-1.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;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-normal-latin-ext-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-normal-latin-3.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;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/figtree-normal-latin-ext-4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/figtree-normal-latin-5.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;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/figtree-normal-latin-ext-4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/figtree-normal-latin-5.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;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/figtree-normal-latin-ext-4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/figtree-normal-latin-5.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;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/figtree-normal-latin-ext-4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/figtree-normal-latin-5.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;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-normal-latin-ext-6.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-normal-latin-7.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;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-normal-latin-ext-8.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-normal-latin-9.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;
}
/* fonts:end */

/* Layout: a short dark hero with moving light streaks behind the chrome headline,
   then the products section: departures board beside the heading, product cards below,
   the why, and a single email. */
:root {
  --bg: #EDEEF0;
  --surface: #FFFFFF;
  --ink: #16171A;
  --muted: #555A63;
  --line: #D3D6DB;
  --accent: #F08400;
  --accent-hi: #FFB800;
  --accent-text: #A85200;
  --on-accent: #1B1203;
  --band: #18191C;
  --band-2: #202125;
  --band-ink: #F2F3F5;
  --band-muted: #A3A8B1;
  --band-line: #34363C;
  --live: #1E8E4E;
  --board-live: #5BD48E;
  --chrome: linear-gradient(180deg, #FFFFFF 0%, #E4E7EC 40%, #9BA2AD 52%, #C3C8D0 60%, #8A919B 100%);
  --amber: linear-gradient(180deg, #FFE066 0%, #FFB800 42%, #F08400 56%, #FF9A12 64%, #E56F00 100%);

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --step-hero: clamp(2.4rem, 1.4rem + 4.4vw, 4.6rem);
  --step-h2: clamp(1.7rem, 1.25rem + 1.9vw, 2.6rem);
  --step-h3: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --step-body: 1.0625rem;
  --step-small: 0.875rem;
  --step-label: 0.75rem;

  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111214; --surface: #1A1B1F; --ink: #ECEDEF; --muted: #A0A5AE; --line: #2D2F35;
    --accent-text: #FFB23D; --band: #0A0B0C; --band-2: #16171A; --band-line: #2A2C31;
    --live: #4CC983; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111214; --surface: #1A1B1F; --ink: #ECEDEF; --muted: #A0A5AE; --line: #2D2F35;
  --accent-text: #FFB23D; --band: #0A0B0C; --band-2: #16171A; --band-line: #2A2C31;
  --live: #4CC983; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-body)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 10; background: var(--band);
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent-hi); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 64px);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

.label {
  font: 500 var(--step-label)/1.2 var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chrome-text, .amber-text { -webkit-background-clip: text; background-clip: text; color: transparent; }
.chrome-text { background-image: var(--chrome); }
.amber-text { background-image: var(--amber); }

/* Wordmark: same face as the hero headline */
.wordmark {
  font-family: var(--f-display);
  font-style: italic; font-weight: 900; font-stretch: 125%;
  text-transform: uppercase; letter-spacing: -0.01em;
  line-height: 1; white-space: nowrap;
}
.wordmark span { padding-right: .06em; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
  background: color-mix(in srgb, var(--band) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--band-line);
  color: var(--band-ink);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { text-decoration: none; font-size: 1.6rem; }
.nav { display: flex; align-items: center; gap: 28px; font-size: var(--step-small); font-weight: 500; }
.nav a { text-decoration: none; color: var(--band-muted); transition: color .15s; }
.nav a:hover { color: var(--band-ink); }
@media (max-width: 560px) { .nav a:not(:last-child) { display: none; } }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  border-radius: 6px;
  font: 700 0.95rem/1 var(--f-body);
  text-decoration: none;
  border: 0; cursor: pointer;
  background: var(--amber);
  color: var(--on-accent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 1px 0 rgba(0,0,0,.25);
  transition: transform .15s, filter .15s;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn.ghost { background: rgba(0,0,0,.25); color: var(--band-ink); box-shadow: inset 0 0 0 1px var(--band-line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--band-muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--band);
  color: var(--band-ink);
  overflow: hidden;
  isolation: isolate;
}
.hero canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: -1; pointer-events: none;
}
.hero::after {
  /* keeps the text side readable over the streaks */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,11,12,.72) 0%, rgba(10,11,12,.35) 55%, rgba(10,11,12,0) 100%);
}
.hero .wrap { padding-block: 64px 72px; }
@media (max-width: 720px) { .hero .wrap { padding-block: 44px 52px; } }
.hero .label { color: var(--accent-hi); display: flex; align-items: center; gap: 10px; }
.hero .label::before { content: ""; width: 24px; height: 2px; background: var(--amber); }
.hero h1 {
  margin-top: 18px;
  font-family: var(--f-display);
  font-size: var(--step-hero);
  font-weight: 850;
  font-stretch: 118%;
  font-style: italic;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.hero h1 span { padding-right: .08em; }
.hero .lede { margin-top: 20px; max-width: 34em; color: #C2C6CD; font-size: 1.125rem; }
.hero .lede strong { color: var(--band-ink); font-weight: 600; }
.hero .actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
.block .wrap { padding-block: 88px; }
@media (max-width: 720px) { .block .wrap { padding-block: 60px; } }
.sec-head { display: grid; gap: 14px; max-width: 40rem; align-content: start; }
.sec-head .label { color: var(--accent-text); }
.sec-head h2 {
  font-family: var(--f-display); font-size: var(--step-h2);
  font-weight: 800; font-stretch: 108%; line-height: 1.05; letter-spacing: -0.01em;
}
.sec-head p { color: var(--muted); max-width: 36em; }

/* Products: heading + board */
.products-top { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
@media (max-width: 900px) { .products-top { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Departures board */
.board {
  background: #1B1C20;
  color: #F2F3F5;
  border: 1px solid #34363C;
  border-radius: 12px;
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.55);
  overflow: hidden;
  font-family: var(--f-mono);
}
.board-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #34363C;
  font-size: var(--step-label); letter-spacing: .1em; text-transform: uppercase; color: #A3A8B1;
}
.board-head b { color: #FFB800; font-weight: 600; }
.board-cols, .board-row {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) 5.5rem;
  gap: 12px; align-items: center; padding: 0 18px;
}
.board-cols { padding-block: 10px; font-size: 0.6875rem; letter-spacing: .1em; text-transform: uppercase; color: #A3A8B1; }
.board-row {
  padding-block: 16px;
  border-top: 1px solid #34363C;
  text-decoration: none; color: #F2F3F5;
  transition: background .15s;
}
a.board-row:hover { background: rgba(255,255,255,.05); }
.board-row .name {
  font-family: var(--f-display); font-style: italic; font-weight: 800; font-stretch: 112%;
  font-size: 1.15rem; text-transform: uppercase; letter-spacing: .01em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.board-row .domain { font-size: 0.875rem; color: #A3A8B1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status {
  justify-self: end;
  font: 600 0.75rem/1 var(--f-mono); letter-spacing: .12em;
  padding: 6px 8px; border-radius: 3px;
  background: #0B0B0C; border: 1px solid #34363C;
  min-width: 4.8rem; text-align: center;
}
.status.live { color: var(--board-live); }
.status.soon { color: #FFB800; }
.board-row .status { animation: flap .5s steps(3); }
.board-row:nth-of-type(2) .status { animation-delay: .1s; }
.board-row:nth-of-type(3) .status { animation-delay: .2s; }
.board-row:nth-of-type(4) .status { animation-delay: .3s; }
.board-row:nth-of-type(5) .status { animation-delay: .4s; }
@keyframes flap { 0% { transform: scaleY(.2); } 100% { transform: none; } }
@media (max-width: 440px) {
  .board-cols, .board-row { grid-template-columns: minmax(0, 1fr) 5.5rem; }
  .board-cols span:nth-child(2) { display: none; }
  .board-row .domain { grid-column: 1; grid-row: 2; margin-top: -8px; }
  .board-row .status { grid-column: 2; grid-row: 1 / span 2; }
}
@media (prefers-reduced-motion: reduce) { .board-row .status { animation: none; } html { scroll-behavior: auto; } }

/* Product cards */
.products { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 800px) { .products { grid-template-columns: minmax(0, 1fr); } }
.product {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  display: grid; gap: 14px; align-content: start;
  grid-template-rows: auto auto 1fr auto;
  min-width: 0;
}
.product-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.product .cat { color: var(--muted); }
.pill {
  font: 600 0.6875rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 9px; border-radius: 999px; border: 1px solid currentColor;
  display: inline-flex; align-items: center; gap: 6px;
}
.pill.live { color: var(--live); }
.pill.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.soon { color: var(--accent-text); }
.product h3 {
  font-family: var(--f-display); font-style: italic; font-weight: 850; font-stretch: 115%;
  font-size: var(--step-h3); line-height: 1; text-transform: uppercase; letter-spacing: -0.005em;
}
.product p { color: var(--muted); }
.product .go {
  display: inline-flex; align-items: center; gap: 8px; justify-self: start;
  font: 600 0.95rem/1 var(--f-body); color: var(--ink);
  text-decoration: none; padding-block: 6px;
  border-bottom: 2px solid var(--accent);
}
.product .go:hover { color: var(--accent-text); }
.product .go.muted { color: var(--muted); border-bottom-color: var(--line); font-family: var(--f-mono); font-weight: 500; font-size: 0.875rem; }
.product.is-soon { background: transparent; border-style: dashed; }

/* Why */
.why { background: var(--surface); border-block: 1px solid var(--line); }
.why .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 56px; align-items: start; }
@media (max-width: 860px) { .why .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.why-list { border-top: 1px solid var(--line); }
.why-list li {
  display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 20px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
@media (max-width: 520px) { .why-list li { grid-template-columns: minmax(0, 1fr); gap: 6px; } }
.why-list .label { color: var(--accent-text); padding-top: 4px; }
.why-list b { display: block; font-weight: 600; }
.why-list span { color: var(--muted); font-size: 0.95rem; }

/* Contact */
.contact .wrap { display: grid; gap: 28px; justify-items: start; }
.mail {
  font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-style: italic;
  font-size: clamp(1.8rem, 1rem + 3.6vw, 3.4rem); line-height: 1.05;
  color: var(--ink); text-decoration: none; word-break: break-word;
}
.mail:hover { color: var(--accent-text); }
.mail-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.copy {
  font: 600 0.875rem/1 var(--f-body); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px;
  padding: 11px 16px; cursor: pointer;
}
.copy:hover { border-color: var(--muted); }
.copy-status { font-size: var(--step-small); color: var(--live); min-height: 1.2em; }

/* Footer */
footer { background: var(--band); color: var(--band-muted); font-size: var(--step-small); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-block: 28px; }
footer .wordmark { font-size: 1.1rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--f-mono); font-size: 0.8125rem; }
footer a { color: var(--band-ink); text-decoration: none; }
footer a:hover { color: var(--accent-hi); }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer .legal { font-family: var(--f-body); }
footer .legal a { color: var(--band-muted); }
footer .legal a:hover { color: var(--band-ink); }

/* ---------- Legal pages ---------- */
.doc-head { background: var(--band); color: var(--band-ink); }
.doc-head .wrap { padding-block: 56px 48px; display: grid; gap: 14px; }
.doc-head .label { color: var(--accent-hi); }
.doc-head h1 {
  font-family: var(--f-display); font-style: italic; font-weight: 850; font-stretch: 115%;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); line-height: 1; text-transform: uppercase;
}
.doc-head h1 span { padding-right: .08em; }
.doc-head p { color: var(--band-muted); max-width: 40em; }
.doc .wrap { padding-block: 56px 88px; display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .doc .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 88px); display: grid; gap: 10px; font-size: var(--step-small); }
.toc .label { color: var(--accent-text); }
.toc ol { display: grid; gap: 6px; counter-reset: toc; }
.toc li { counter-increment: toc; display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); }
.toc li::before { content: counter(toc) "."; color: var(--muted); font-family: var(--f-mono); font-size: 0.8125rem; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); }
@media (max-width: 900px) { .toc { position: static; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); } }
.prose { max-width: 44rem; counter-reset: sec; }
.prose section { padding-block: 8px 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; scroll-margin-top: 96px; }
.prose section:last-child { border-bottom: 0; }
.prose h2 {
  counter-increment: sec;
  font-family: var(--f-display); font-weight: 800; font-stretch: 108%;
  font-size: 1.45rem; line-height: 1.2; margin-bottom: 14px;
}
.prose h2::before { content: counter(sec) ". "; color: var(--accent-text); }
.prose h3 { font: 700 1.05rem/1.3 var(--f-body); margin: 20px 0 8px; }
.prose p, .prose li { color: var(--ink); }
.prose p + p, .prose p + ul, .prose ul + p, .prose dl + p, .prose ul + .note { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: 6px; }
.prose a { color: var(--accent-text); text-underline-offset: 3px; }
.prose strong { font-weight: 600; }
.prose .note {
  margin-top: 16px; padding: 16px 18px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent);
}
.prose dl { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 8px 16px; margin: 12px 0 0; }
.prose dt { color: var(--muted); font: 500 var(--step-label)/1.8 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.prose dd { margin: 0; }
@media (max-width: 520px) { .prose dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .prose dd { margin-bottom: 10px; } }
