:root {
  color-scheme: light dark;
  --bg: #fff;
  --fg: #1a1a1a;
  --link: #2563eb;
  --muted: #555;
  --border: #ccc;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141414;
    --fg: #e8e8e8;
    --link: #7cb3ff;
    --muted: #9a9a9a;
    --border: #3a3a3a;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  max-width: 40rem;
  margin: 3rem auto;
  padding: 0 1rem;
  line-height: 1.6;
  background: var(--bg);
  color: var(--fg);
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
}

small {
  color: var(--muted);
}
