:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --link: #0b5cad;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --text: #ececec;
    --muted: #a0a0a0;
    --link: #7ab8f5;
  }
}

body {
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
  max-width: 40rem;
  background: var(--bg);
  color: var(--text);
  font: 1rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

h1 { font-size: 1.8rem; line-height: 1.2; margin: 1.5rem 0 0.25rem; }
h2 { font-size: 1.15rem; margin: 2rem 0 0.5rem; }
a { color: var(--link); }
.muted { color: var(--muted); }
nav, footer { font-size: 0.9rem; }
footer { margin-top: 3rem; color: var(--muted); }
