:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #1c1c1c;
  --muted: #5a5a5a;
  --link: #0b57d0;
  --rule: #dddddd;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161616;
    --text: #ececec;
    --muted: #a8a8a8;
    --link: #8ab4f8;
    --rule: #333333;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main, footer {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 16px;
}
main { padding-top: 2rem; }
h1 { font-size: 1.75rem; line-height: 1.25; margin: 0 0 0.5rem; }
h2 { font-size: 1.15rem; margin: 2rem 0 0.5rem; }
.lead { font-size: 1.1rem; }
.meta, footer { color: var(--muted); }
a { color: var(--link); }
code { font-size: 0.9em; overflow-wrap: anywhere; }
footer { border-top: 1px solid var(--rule); margin-top: 2.5rem; padding-bottom: 2rem; }
