:root {
  color-scheme: light dark;
  --bg: #f6f7f8;
  --text: #202226;
  --muted: #6b7075;
  --accent: #3e6db5;
  --border: #e2e4e8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131417;
    --text: #f6f7f8;
    --muted: #9aa0a8;
    --accent: #7fa2d0;
    --border: #30343a;
  }
}

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

a {
  color: var(--accent);
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

h1 {
  margin-top: 2.5rem;
  line-height: 1.2;
}

.meta {
  color: var(--muted);
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

footer a {
  color: var(--muted);
}
