:root {
  color-scheme: dark;
  --page: #0b0b0c;
  --text: #ececee;
  --muted: #8b8b94;
  --border: #1f1f23;
  --link: #8ab4ff;
  font: 16px/1.7 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { max-width: 780px; margin: auto; padding: 24px; }
header, footer { display: flex; flex-wrap: wrap; gap: 12px 24px; }
header { padding-bottom: 16px; border-bottom: 1px solid var(--border); }
footer { margin-top: 48px; padding-block: 16px; border-top: 1px solid var(--border); }
main { margin-block: 40px; }
h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); line-height: 1.15; letter-spacing: -0.03em; }
h2 { margin-top: 36px; font-size: 1.2rem; line-height: 1.4; }
p, li, dd, address { overflow-wrap: anywhere; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
address { font-style: normal; }
dt { font-weight: 600; margin-top: 16px; }
dd { margin-left: 0; }
.brand { color: var(--text); font-weight: 600; letter-spacing: -0.02em; text-decoration: none; margin-right: auto; }
.meta { color: var(--muted); font-size: 0.9rem; }
code { font-size: 0.9em; overflow-wrap: anywhere; }

@media print {
  :root { color-scheme: light; --page: white; --text: black; --muted: #333; --link: black; }
  body { max-width: none; padding: 0; }
  header, footer { display: none; }
  h2 { break-after: avoid; }
  a { text-decoration: underline; }
}
