:root {
  color-scheme: light dark;
  --bg: #f6f7fb;
  --text: #1b2033;
  --muted: #5b6275;
  --link: #3d5bd9;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1424;
    --text: #e6e8f0;
    --muted: #9aa1b5;
    --link: #9db0ff;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    17px/1.6 system-ui,
    sans-serif;
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

h2 {
  margin-top: 2rem;
  font-size: 1.2rem;
}

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

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