:root {
  color-scheme: light dark;
  --background: #f5f2eb;
  --surface: #fffdf8;
  --text: #252a2d;
  --muted: #626b70;
  --accent: #355d58;
  --border: #d7d2c7;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #171b1c;
    --surface: #202526;
    --text: #eef0eb;
    --muted: #b5bcb8;
    --accent: #98c6bd;
    --border: #3b4445;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
}

main,
footer {
  width: min(44rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

main {
  margin-block: 4rem 2rem;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.6rem;
}

footer {
  margin-bottom: 4rem;
  color: var(--muted);
  text-align: center;
}

h1,
h2 {
  line-height: 1.2;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 7vw, 4rem);
  letter-spacing: -0.04em;
}

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

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.updated {
  color: var(--muted);
  font-size: 0.92rem;
}

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

a:hover,
a:focus-visible {
  text-decoration-thickness: 0.14em;
}

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