:root {
  color-scheme: light dark;
  --text: #1d1d1f;
  --muted: #5a5a60;
  --bg: #ffffff;
  --link: #8a5a00;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #ececef;
    --muted: #a8a8b0;
    --bg: #141416;
    --link: #f0b44c;
  }
}

body {
  margin: 0 auto;
  max-width: 42rem;
  padding: 2.5rem 1.25rem 4rem;
  font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 0.25rem; }
h2 { font-size: 1.2rem; margin: 2rem 0 0.5rem; }
a { color: var(--link); }
.muted { color: var(--muted); }
nav { margin-bottom: 2rem; }
nav a { margin-right: 1rem; }
footer { margin-top: 3rem; font-size: 0.9rem; color: var(--muted); }
