:root {
  color-scheme: light dark;
  --paper: #f6f0e4;
  --ink: #1f2430;
  --muted: #6b6b67;
  --accent: #3158a6;
  --rule: color-mix(in srgb, var(--ink) 16%, transparent);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  line-height: 1.65;
}

main {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 88px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.12;
}

h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.7rem, 8vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

h2 {
  margin: 2.5rem 0 0.65rem;
  font-size: 1.35rem;
}

p,
li {
  font-size: 1.05rem;
}

.lede {
  max-width: 62ch;
  margin: 1.25rem 0 2.5rem;
  color: var(--muted);
  font-size: 1.18rem;
}

.meta,
footer {
  color: var(--muted);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.86rem;
}

section {
  border-top: 1px solid var(--rule);
  padding-top: 0.5rem;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

code {
  border: 1px solid var(--rule);
  border-radius: 0.3rem;
  padding: 0.12rem 0.3rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
}

footer {
  border-top: 1px solid var(--rule);
  margin-top: 3rem;
  padding-top: 1rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #181916;
    --ink: #f1eadf;
    --muted: #b9b2a7;
    --accent: #9eb9ff;
  }
}

