:root {
  --bg: #fbfaf7;
  --text: #1d2126;
  --muted: #5d6670;
  --line: #e1ddd4;
  --accent: #0b6e4f;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171a;
    --text: #e9e6df;
    --muted: #9aa3ab;
    --line: #2b3035;
    --accent: #5fd0a5;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.65 Georgia, "Times New Roman", serif;
}

.wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1rem;
}

header {
  border-bottom: 1px solid var(--line);
}

header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.brand {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1.25rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.9375rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

nav a:hover { color: var(--text); }

nav a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}

main {
  padding: 3rem 0 4rem;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 6vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

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

p { margin: 0 0 1.1rem; }

.lead {
  font-size: 1.1875rem;
  color: var(--muted);
}

a { color: var(--accent); }

dl {
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

dl div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

dt {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.875rem;
  color: var(--muted);
}

dd { margin: 0; }

footer {
  border-top: 1px solid var(--line);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.875rem;
  color: var(--muted);
}

footer .wrap {
  padding-top: 1.25rem;
  padding-bottom: 2rem;
}
