:root {
  color-scheme: light dark;
  --background: #faf9f6;
  --text: #252b2c;
  --muted: #5c6566;
  --link: #146357;
  --line: #d8dcd5;
  font-family: system-ui, sans-serif;
  line-height: 1.65;
}

* {
  box-sizing: border-box;
}

body {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(1.25rem, 5vw, 3rem) 1.25rem;
  background: var(--background);
  color: var(--text);
  font-size: 1.0625rem;
  overflow-wrap: anywhere;
}

header {
  margin-bottom: 2.5rem;
}

h1,
h2 {
  line-height: 1.2;
}

h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(2rem, 6vw, 2.75rem);
  letter-spacing: -0.035em;
}

h2 {
  margin: 0 0 1rem;
  font-size: 1.3rem;
}

p,
ul {
  margin: 0 0 1rem;
}

.eyebrow {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.intro {
  font-size: 1.2rem;
}

section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

ul {
  padding-left: 1.25rem;
}

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

a {
  color: var(--link);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  text-decoration-thickness: 0.15em;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 2px;
}

code {
  font-family: ui-monospace, monospace;
  font-size: 0.85em;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #191e1f;
    --text: #e7e9e5;
    --muted: #adb8b3;
    --link: #92d4bf;
    --line: #3a4541;
  }
}
