:root {
  --text: #1b1b1f;
  --muted: #4a4a55;
  --background: #fdfdfb;
  --accent: #0b5cad;
  --focus: #b3470f;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #ececf1;
    --muted: #b8b8c4;
    --background: #16161a;
    --accent: #8cc4ff;
    --focus: #ffb27a;
  }
}

* {
  box-sizing: border-box;
}

html {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 100%;
  line-height: 1.6;
  color: var(--text);
  background: var(--background);
}

body {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.brand {
  margin: 0 0 3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
}

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

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

.lead {
  font-size: 1.25rem;
  color: var(--muted);
  margin-top: 0;
}

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

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

code {
  font-size: 0.95em;
}

footer {
  margin-top: 4rem;
  border-top: 1px solid var(--muted);
  padding-top: 1rem;
  font-size: 0.9rem;
}

footer ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
}
