:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #1f2933;
  --muted: #5f6c7b;
  --link: #1a5fb4;
  --line: #d9dee4;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15191e;
    --text: #e6e9ed;
    --muted: #a3adb8;
    --link: #8ab4f8;
    --line: #333b45;
  }
}

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

main,
header,
footer {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px;
}

header {
  padding-top: 32px;
  font-weight: 600;
}

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

h1 {
  margin: 32px 0 8px;
  font-size: 32px;
  line-height: 1.2;
}

h2 {
  margin: 32px 0 8px;
  font-size: 20px;
}

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

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

footer {
  margin-top: 48px;
  padding-top: 16px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}
