:root {
  color-scheme: light dark;
  --bg: #fdfcf9;
  --fg: #1d1d1b;
  --muted: #55554f;
  --link: #0b5cad;
  --rule: #d9d6cc;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17171a;
    --fg: #ececea;
    --muted: #a9a9a2;
    --link: #8ab8f0;
    --rule: #3a3a40;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font:
    1.0625rem / 1.65 system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
}
header,
main,
footer {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1rem;
}
header {
  border-bottom: 1px solid var(--rule);
}
footer {
  border-top: 1px solid var(--rule);
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.9375rem;
}
h1 {
  font-size: 1.75rem;
  line-height: 1.25;
}
h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
}
a {
  color: var(--link);
  text-underline-offset: 0.15em;
}
nav a {
  margin-right: 1rem;
}
a:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 2px;
}
.brand {
  font-weight: 700;
  text-decoration: none;
  color: var(--fg);
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 1rem;
  top: 0.5rem;
}
