:root {
  --bg: #f6f1e7;
  --surface: #fffdf8;
  --ink: #1f2a26;
  --muted: #5b6761;
  --accent: #245c4a;
  --rule: #ded6c5;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141a18;
    --surface: #1c2421;
    --ink: #ece7dc;
    --muted: #a3ada7;
    --accent: #8fcdb5;
    --rule: #2f3a36;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main, header, footer { max-width: 44rem; margin: 0 auto; padding: 0 1.25rem; }
header { padding-top: 4.5rem; padding-bottom: 2.5rem; }
.mark {
  font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin: 0 0 1.5rem;
}
h1 {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-weight: 400; font-size: clamp(2.1rem, 6vw, 3.1rem); line-height: 1.15;
  margin: 0 0 1.25rem; text-wrap: balance;
}
.lead { font-size: 1.2rem; color: var(--muted); margin: 0; max-width: 36rem; }
h2 {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-weight: 400; font-size: 1.6rem; margin: 3rem 0 1rem;
}
p { margin: 0 0 1rem; }
a { color: var(--accent); text-underline-offset: 0.18em; }
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--rule); border-radius: 12px;
  padding: 1.25rem 1.35rem;
}
.card h3 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.card p { margin: 0 0 0.75rem; color: var(--muted); font-size: 1rem; }
.card a { font-weight: 600; font-size: 0.98rem; }
ul.plain { padding-left: 1.1rem; margin: 0 0 1rem; }
ul.plain li { margin-bottom: 0.5rem; }
.status {
  border-left: 3px solid var(--accent); padding: 0.2rem 0 0.2rem 1.1rem; margin-top: 1rem;
}
.status p { color: var(--muted); font-size: 1rem; }
footer {
  margin-top: 3.5rem; padding-top: 1.5rem; padding-bottom: 3rem;
  border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.92rem;
}
.top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin: 0 0 1.5rem; }
.top .mark { margin: 0; }
.top .mark a { color: inherit; text-decoration: none; }
nav a { font-size: 0.95rem; margin-left: 1.1rem; text-decoration: none; }
nav a:first-child { margin-left: 0; }
nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
.note { color: var(--muted); font-size: 1rem; }
