:root {
  --bg: #f6f4ef;
  --paper: #fffdfa;
  --ink: #1f2523;
  --muted: #5c6762;
  --line: #d7d0c4;
  --accent: #315f54;
  --accent-2: #8d6f40;
  --soft: #ece7dc;
  --warn: #fff5d8;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #203f38; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.94);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}
.nav { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 30px; height: 30px; flex: 0 0 30px; }
.brand-text { display: inline-flex; flex-direction: column; gap: 0; }
.brand strong { font-size: 20px; letter-spacing: -0.02em; }
.brand span { font-size: 12px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.nav-links { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.nav-links a { color: var(--ink); text-decoration: none; }
.nav-links a:hover { color: var(--accent); }
.hero { padding: 72px 0 60px; }
.eyebrow { color: var(--accent-2); text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; font-weight: 700; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.035em; }
h1 { font-size: clamp(42px, 7vw, 52px); max-width: 980px; margin: 14px 0 22px; }
h2 { font-size: clamp(28px, 4vw, 32px); margin: 48px 0 16px; }
h3 { font-size: 22px; margin: 28px 0 12px; }
p { margin: 0 0 18px; }
.lede { font-size: clamp(20px, 3vw, 28px); max-width: 880px; color: #303936; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card, .result-box, .note, .table-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(31, 37, 35, 0.04);
}
.card { padding: 24px; }
.card h2, .card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.result-box { padding: 28px; border-color: #c9b88f; background: #fffaf0; }
.result-box h2, .result-box h3 { margin-top: 0; }
.result-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0 0; }
.result-item { padding: 16px; background: rgba(255,255,255,0.72); border: 1px solid #eadfc5; border-radius: 14px; }
.result-item strong { display: block; font-size: 24px; letter-spacing: -0.03em; }
.result-item span { display: block; color: var(--muted); font-size: 14px; }
.note { padding: 20px; background: var(--soft); }
.note.warning { background: var(--warn); }
.page { padding: 36px 0 72px; }
main ul, main ol { padding-left: 22px; }
main li { margin: 7px 0; }
.table-wrap { overflow-x: auto; margin: 20px 0 28px; }
table { border-collapse: collapse; width: 100%; min-width: 680px; background: var(--paper); }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #eee9df; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: #46514d; }
tr:last-child td { border-bottom: none; }
.value { font-weight: 700; white-space: nowrap; }
.small { font-size: 14px; color: var(--muted); }
.section-rule { border: none; border-top: 1px solid var(--line); margin: 44px 0; }
.item-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 28px 0; }
.item-list a { display: block; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; }
.item-list a:hover { border-color: var(--accent); transform: translateY(-1px); }
.footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 14px; }
.footer .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer p { margin: 0 0 6px; }
.sources li { margin-bottom: 14px; }
.badge { display: inline-block; padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--muted); background: var(--paper); }
@media (max-width: 840px) {
  .nav { align-items: flex-start; flex-direction: column; }
  .grid-2, .grid-4, .item-list, .result-list { grid-template-columns: 1fr; }
  .hero { padding-top: 42px; }
  h1 { font-size: 42px; }
}
