:root {
  color-scheme: light dark;
  --text: #0f0f0f;
  --muted: #606060;
  --surface: #ffffff;
  --accent: #cc0029;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f1f1f1;
    --muted: #aaaaaa;
    --surface: #0f0f0f;
    --accent: #ff4e6a;
  }
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font: 17px / 1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

nav {
  text-align: end;
}

h1 {
  margin: 24px 0 4px;
  font-size: 1.9rem;
  line-height: 1.25;
}

h2 {
  margin: 40px 0 8px;
  font-size: 1.25rem;
}

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

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

code {
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

li + li {
  margin-top: 8px;
}
