@font-face { /* Geist (SIL Open Font License), served from 852l.ink: one variable file, 400–500, Latin */
  font-family: "Geist"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* 852Link's legal pages (/privacy-policy/ and /terms-of-service/). Same tokens and type as the landing page;
   static, no JavaScript. */
:root {
  --bg: #080808;
  --ink: #E1E5E5;
  --muted: #8C9393;
  --line: #1F2426;
  --accent: #E8FF5A;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --gutter: clamp(16px, 2.5vw, 28px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(60% 40% at 50% 0%, rgba(225, 229, 229, .08), transparent 70%) no-repeat, var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); transition: color 200ms ease, text-decoration-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { a:hover { text-decoration-color: currentColor; } }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Top bar: the brand pill from the landing page and a way back. */
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px var(--gutter);
  padding-top: max(14px, env(safe-area-inset-top));
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 7px;
  border-radius: 999px; background: #14181B; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10);
  font-weight: 500; font-size: 17px; letter-spacing: -.01em; text-decoration: none;
}
.brand-mark { display: grid; gap: 3px; width: 28px; height: 28px; padding: 7px 6px; border-radius: 50%; border: 1px solid #2A3033; }
.brand-mark i { display: block; border-radius: 2px; background: var(--ink); }
.brand-mark i:first-child { background: var(--accent); }
.back {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 20px; border-radius: 999px;
  background: #DCE1E1; color: #0A0B0B; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: transform 120ms var(--ease-out), background-color 200ms ease;
}
.back:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .back:hover { background: #FFFFFF; } }

/* Document */
main { max-width: 760px; margin: 0 auto; padding: clamp(56px, 10vw, 112px) var(--gutter) 96px; }
.eyebrow { margin: 0 0 16px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
h1 {
  margin: 0; font-weight: 500; font-size: clamp(38px, 6.2vw, 76px); line-height: .98;
  letter-spacing: -.012em; text-transform: uppercase; text-wrap: balance;
}
.lead { margin: 24px 0 0; max-width: 52ch; color: var(--muted); font-size: clamp(16px, 1.4vw, 18px); text-wrap: pretty; }
.updated { margin: 16px 0 0; font-size: 13px; color: var(--muted); }

.toc { margin: 48px 0 0; padding: 20px 0; border-block: 1px solid var(--line); }
.toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin: 0; padding: 0; list-style: none; counter-reset: toc; font-size: 15px; }
.toc li { counter-increment: toc; }
.toc li::before { content: counter(toc, decimal-leading-zero); display: inline-block; width: 2.2em; color: var(--muted); font-variant-numeric: tabular-nums; }
.toc a { color: var(--muted); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .toc a:hover { color: var(--ink); } }

section { padding-top: 48px; scroll-margin-top: 24px; counter-increment: section; }
article { counter-reset: section; }
h2 { display: flex; gap: 14px; align-items: baseline; margin: 0 0 14px; font-size: clamp(20px, 2.2vw, 24px); font-weight: 500; letter-spacing: -.01em; line-height: 1.2; }
h2::before { content: counter(section, decimal-leading-zero); flex: none; font-size: 13px; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
p, ul { margin: 0 0 14px; text-wrap: pretty; }
ul { padding-left: 1.2em; }
li { margin-bottom: 6px; }
li::marker { color: var(--muted); }
strong { font-weight: 500; }
abbr { text-decoration: none; }
section p, section li { color: color-mix(in srgb, var(--ink) 82%, var(--bg)); }
section strong { color: var(--ink); }

/* Footer, matching the landing page's bottom line. */
.footer {
  display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
  max-width: 760px; margin: 0 auto; padding: 20px var(--gutter) max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); font-size: 13px; color: var(--muted);
}
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer nav a { text-decoration: none; }
.footer nav a[aria-current] { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .footer nav a:hover { color: var(--ink); } }

@media (max-width: 640px) {
  .toc ol { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

main > * { animation: up 700ms var(--ease-out) both; }
main > :nth-child(2) { animation-delay: 60ms; }
main > :nth-child(3) { animation-delay: 120ms; }
main > :nth-child(n+4) { animation-delay: 180ms; }
@keyframes up { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { main > * { animation: none; } }
