:root {
  --bg: #f3efe6;
  --surface: #fffbf4;
  --sunken: #e8e2d6;
  --ink: #1b1915;
  --muted: #6f685e;
  --faint: #9a9286;
  --line: #d8d1c4;
  --accent: #2c4a3e;
  --accent-fg: #f3efe6;
  --danger: #8b3a2f;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--ink); }
body { font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif; line-height: 1.55; }
h1, h2, h3, .display { font-family: "Fraunces", "Times New Roman", serif; font-weight: 500; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
button, .btn { font: inherit; cursor: pointer; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
header.top { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.brand { font-family: Fraunces, serif; font-size: 28px; }
.sub { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 8px; padding: 10px 16px; background: var(--accent); color: var(--accent-fg); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.hero h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.08; max-width: 16ch; margin: 16px 0 0; }
.lede { max-width: 40rem; color: var(--muted); font-size: 18px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 48px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); padding-bottom: 64px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.card h2 { margin: 8px 0 0; font-size: 22px; }
.card p { color: var(--muted); font-size: 14px; }
.kicker { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: 20px 0; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.stat b { display: block; font-family: Fraunces, serif; font-size: 26px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.table th { color: var(--muted); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.ok { color: var(--accent); }
.bad { color: var(--danger); }
.nav { display: flex; gap: 10px; flex-wrap: wrap; }
.pill { font-size: 12px; color: var(--muted); }
footer { border-top: 1px solid var(--line); padding: 28px 0; text-align: center; color: var(--muted); font-size: 12px; }
@media (max-width: 640px) {
  .hero h1 { font-size: 36px; }
}
