:root {
  --text: #1b2a33;
  --muted: #5b6b74;
  --accent: #0b5c4f;
  --background: #f7fafa;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --text: #e6eef1;
    --muted: #9fb3bb;
    --accent: #5fd3bf;
    --background: #0f1a1f;
  }
}

:root[data-theme="dark"] {
  --text: #e6eef1;
  --muted: #9fb3bb;
  --accent: #5fd3bf;
  --background: #0f1a1f;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

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

h1 {
  color: var(--accent);
  font-size: 1.9rem;
}

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

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

footer {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}
