:root {
  color-scheme: light dark;
  --background: #f6f4ef;
  --foreground: #24231f;
  --muted: #656158;
  --border: #d8d3c8;
  --link: #315b72;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #191a1b;
    --foreground: #e8e5dd;
    --muted: #aaa69d;
    --border: #3c3d3d;
    --link: #91bfd4;
  }
}

* {
  box-sizing: border-box;
}

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

.site-header,
main,
.site-footer {
  width: min(68ch, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.site-name {
  color: var(--foreground);
  font-weight: 650;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.95rem;
}

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

nav a[aria-current="page"] {
  color: var(--foreground);
  text-decoration: none;
}

main {
  padding-block: clamp(3rem, 9vw, 6rem);
}

h1 {
  max-width: 19ch;
  margin: 0 0 2rem;
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

h2 {
  margin-top: 2.25rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

p,
ul {
  margin-block: 1rem;
}

.effective-date,
.site-footer {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  padding-block: 1.5rem 2.5rem;
  border-top: 1px solid var(--border);
}

