/* One plain stylesheet for every page: system fonts, one column, light and dark. Nothing here loads from elsewhere. */
:root {
  color-scheme: light dark;
  --paper: #fafbfc;
  --ink: #1b2330;
  --quiet: #55627a;
  --rule: #d9dfe8;
  --accent: #2455c3;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #12161d;
    --ink: #e8ecf3;
    --quiet: #a2adc0;
    --rule: #2a3342;
    --accent: #8fb0ff;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1.0625rem/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}

.name {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--ink);
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  font-size: 0.9375rem;
}

nav a[aria-current] {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

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

main {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  line-height: 1.2;
}

h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

p,
ul {
  margin: 0.75rem 0;
}

li + li {
  margin-top: 0.375rem;
}

.lead {
  font-size: 1.25rem;
  color: var(--quiet);
}

.updated {
  color: var(--quiet);
  font-size: 0.9375rem;
}

footer {
  padding-top: 1rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--rule);
  color: var(--quiet);
  font-size: 0.9375rem;
}
