:root {
  --bg: #f4f1ec;
  --card: #ffffff;
  --text: #1f1d1a;
  --muted: #6b655c;
  --accent: #2f5d50;
  --line: #e4ded4;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161514;
    --card: #1f1e1c;
    --text: #ece8e1;
    --muted: #a29b90;
    --accent: #8cc4b2;
    --line: #34312d;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 Georgia, "Iowan Old Style", "Times New Roman", serif;
  display: flex;
  justify-content: center;
  padding: clamp(1rem, 5vw, 4rem) 1rem;
}

.card {
  width: 100%;
  max-width: 40rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(1.5rem, 5vw, 3rem);
  align-self: flex-start;
}

h1 {
  margin: 0;
  font-size: 2.25rem;
  letter-spacing: -0.01em;
}

.lead {
  margin: 0.25rem 0 2rem;
  color: var(--muted);
}

h2 {
  margin: 0 0 0.25rem;
  font: 600 0.8rem/1.4 system-ui, -apple-system, "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

section {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

section p { margin: 0; }

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}

footer p { margin: 0; }

.eyebrow {
  margin: 0 0 0.5rem;
  font: 600 0.8rem/1.4 system-ui, -apple-system, "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.back {
  margin-bottom: 1.5rem;
  font: 0.9rem/1.4 system-ui, -apple-system, "Segoe UI", sans-serif;
}

.back a { text-decoration: none; }

.legal-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
}
