:root {
  --bg: #0a0a0b;
  --fg: #ececee;
  --muted: #9a9aa3;
  --accent: #8ab4ff;
  --rule: #26262b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font:
    16px/1.65 system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
}

header,
main,
footer {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.25rem 1rem;
}

header a {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--fg);
  text-decoration: none;
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 2rem 0 0.75rem;
}

h1 {
  font-size: 1.8rem;
  margin-top: 0.5rem;
}

h2 {
  font-size: 1.3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

h3 {
  font-size: 1.05rem;
}

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

code {
  background: #17171b;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.9em;
}

li {
  margin: 0.35rem 0;
}

footer {
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
}
