@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,500;8..60,600&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  --bg: #FAF9F5;
  --surface: #FFFFFF;
  --border: #E3E0D6;
  --text: #211F1A;
  --text-muted: #6B6656;
  --accent: #3E6B49;
  --link: #2A4A32;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14170F;
    --surface: #1B1E15;
    --border: #2C3024;
    --text: #EAE8DE;
    --text-muted: #A6A38F;
    --accent: #8FC08A;
    --link: #A8D2A1;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

header.masthead {
  margin-bottom: 40px;
}

.brand {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.15;
  margin: 0 0 8px;
  text-wrap: balance;
}

.effective-date {
  color: var(--text-muted);
  font-size: 14px;
}

.legal-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.legal-nav a {
  font-size: 13.5px;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.legal-nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}
.legal-nav a:hover { border-bottom-color: currentColor; }

section {
  margin-bottom: 28px;
}

h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 19px;
  margin: 0 0 10px;
}

p { margin: 0 0 12px; max-width: 66ch; }

ul {
  margin: 8px 0 0;
  padding-left: 20px;
}
li { margin-bottom: 8px; max-width: 62ch; }

a { color: var(--link); }

footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}
