:root {
  color-scheme: light dark;
  --surface: #fcfcfb; --raised: #f4f3f0; --text: #0b0b0b; --text-2: #52514e; --muted: #7b7a75;
  --line: #e6e5e0; --axis: #b9b8b1; --accent: #2a78d6;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #1a1a19; --raised: #232321; --text: #f0efec; --text-2: #c3c2b7; --muted: #8f8e86;
    --line: #2f2f2c; --axis: #55544f; --accent: #3987e5;
  }
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] {
  color-scheme: dark;
  --surface: #1a1a19; --raised: #232321; --text: #f0efec; --text-2: #c3c2b7; --muted: #8f8e86;
  --line: #2f2f2c; --axis: #55544f; --accent: #3987e5;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--surface); color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1 { font-size: clamp(1.9rem, 5.2vw, 2.6rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 650; margin: 0 0 1.25rem; text-wrap: balance; }
h2 { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin: 3.25rem 0 0.9rem; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.16rem; line-height: 1.55; color: var(--text-2); max-width: 38rem; }
.top { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.94rem; }
.wordmark { font-weight: 650; letter-spacing: -0.01em; color: var(--text); text-decoration: none; font-size: 1.05rem; }
.top nav a { margin-left: 1.25rem; }
:root { --bar-row: calc(1.05rem * 1.6); --bar-pad: 1rem; --bar-h: calc(var(--bar-row) + 2 * var(--bar-pad)); }
:root { --page-w: 70rem; }
body > .top { position: fixed; top: 0; left: 0; right: 0; z-index: 3; height: var(--bar-h);
  padding: var(--bar-pad) max(1.5rem, calc((100% - var(--page-w)) / 2)); transition: background-color 0.2s; }
body > .top.solid { background: var(--surface); }
.prompt { display: flex; align-items: flex-start; gap: 0.75rem; background: var(--raised); border: 1px solid var(--line); border-radius: 8px; padding: 0.9rem 1rem; }
.prompt code { flex: 1; font: 0.9rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.prompt button { flex: none; font: inherit; font-size: 0.82rem; color: var(--text-2); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 0.2rem 0.65rem; }
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { padding: 0.7rem 0; border-top: 1px solid var(--line); color: var(--text-2); }
ul.plain li:last-child { border-bottom: 1px solid var(--line); }
ul.plain strong { color: var(--text); font-weight: 600; }
.next a { display: inline-block; margin-right: 1.5rem; font-weight: 600; }
footer { margin-top: 4.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
footer a { color: var(--text-2); margin-right: 1.25rem; }
