:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --rule: #e2e2e2;
  --link: #1a1a1a;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --text: #ececec;
    --muted: #a3a3a3;
    --rule: #2e2e2e;
    --link: #ececec;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px;
}

header.site {
  padding: 32px 0 8px;
}

header.site a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

main {
  padding: 24px 0 48px;
}

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

h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 36px 0 8px;
}

h3 {
  font-size: 1.0625rem;
  margin: 24px 0 4px;
}

p,
ul {
  margin: 0 0 16px;
}

ul {
  padding-left: 1.25em;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--link);
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

.lede {
  font-size: 1.25rem;
  color: var(--muted);
}

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

footer.site {
  border-top: 1px solid var(--rule);
  padding: 20px 0 40px;
  font-size: 0.9375rem;
  color: var(--muted);
}

footer.site nav a {
  color: var(--muted);
  margin-right: 16px;
}
