:root {
  color-scheme: light dark;
  --text: #1f2933;
  --muted: #52606d;
  --link: #047857;
  --background: #ffffff;
  --rule: #e4e7eb;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #e4e7eb;
    --muted: #9aa5b1;
    --link: #34d399;
    --background: #12181d;
    --rule: #323f4b;
  }
}
html { background: var(--background); }
body {
  margin: 0 auto;
  max-width: 42rem;
  padding: 2rem 1rem 4rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--background);
}
a { color: var(--link); }
h1 { font-size: 1.9rem; line-height: 1.25; margin: 0.5rem 0 1rem; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
header { display: flex; align-items: center; gap: 0.75rem; }
header img { width: 48px; height: 48px; }
nav { font-size: 0.95rem; margin-bottom: 1.5rem; }
footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
  color: var(--muted);
}
.muted { color: var(--muted); }
code { font-size: 0.95em; }
