:root {
  --bg: #f6f4ef;
  --paper: #fffdf8;
  --ink: #1c1b18;
  --muted: #5c5850;
  --line: #d9d3c6;
  --accent: #2c4a3e;
  --accent-soft: #e7eee9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

.wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

header.site {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.75rem;
}

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

.brand:hover {
  color: var(--accent);
}

nav.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 0.92rem;
}

nav.legal-nav a {
  color: var(--accent);
  text-decoration: none;
}

nav.legal-nav a:hover {
  text-decoration: underline;
}

nav.legal-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}

.meta {
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.35rem;
}

h2 {
  font-size: 1.2rem;
  margin: 1.75rem 0 0.5rem;
}

h3 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.4rem;
}

p, li {
  font-size: 1.02rem;
}

ul {
  padding-left: 1.2rem;
}

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

.caps {
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.notice {
  background: var(--accent-soft);
  border: 1px solid #c5d4cb;
  padding: 0.85rem 1rem;
  margin: 1.25rem 0 1.5rem;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 0.95rem;
}

footer.site {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 0.88rem;
  color: var(--muted);
}

footer.site a {
  color: var(--muted);
}

@media print {
  body {
    background: #fff;
  }
  nav.legal-nav, .notice {
    break-inside: avoid;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
}
