:root {
  --bg: #faf9f6;
  --fg: #232730;
  --muted: #5b6472;
  --accent: #8b1e1e;
  --accent-soft: #f7ebe9;
  --card: #ffffff;
  --border: #e4e1d8;
  --max: 68rem;
}

* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

.site-header {
  position: sticky;
  top: 0;
  background: rgba(250, 249, 246, 0.95);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.site-header nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand { font-weight: 700; }

.site-header ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  flex-wrap: wrap;
}

.site-header a { color: var(--fg); text-decoration: none; font-size: 0.9rem; }
.site-header a:hover { color: var(--accent); text-decoration: underline; }

section { padding: 3.5rem 1.25rem; border-top: 1px solid var(--border); }
.hero { border-top: none; }

.inner { max-width: var(--max); margin: 0 auto; }

h2 { font-size: 1.6rem; margin-bottom: 1rem; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

p.lede { font-size: 1.15rem; color: var(--muted); max-width: 65ch; margin-bottom: 1.5rem; }

.hero { background: #fff; padding: 4.5rem 1.25rem; }
.hero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.15; max-width: 24ch; letter-spacing: -0.02em; }
.hero .lede { color: var(--fg); margin-top: 1rem; max-width: 60ch; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1rem; margin-top: 2rem; }
.stat { background: var(--bg); border: 1px solid var(--border); border-radius: 0.5rem; padding: 1rem; }
.stat .num { font-size: 1.6rem; font-weight: 700; color: var(--accent); display: block; }
.stat .label { font-size: 0.85rem; color: var(--muted); }

.cta-row { display: flex; gap: 0.75rem; margin-top: 2rem; flex-wrap: wrap; }
.btn { display: inline-block; padding: 0.65rem 1.2rem; border-radius: 0.4rem; text-decoration: none; font-weight: 600; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #6f1616; }
.btn-secondary { border: 1px solid var(--fg); color: var(--fg); }
.btn-secondary:hover { background: var(--accent-soft); }

figure.map { margin: 0; background: var(--card); border: 1px solid var(--border); border-radius: 0.5rem; overflow: hidden; }
figure.map img { display: block; width: 100%; height: auto; }
figure.map figcaption { padding: 0.75rem 1rem; font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--border); }

.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--border); }
.timeline li { padding: 0 0 1.5rem 1.5rem; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -0.49rem;
  top: 0.4rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--accent);
}
.timeline time { display: block; font-weight: 700; color: var(--accent); font-size: 0.9rem; }
.timeline h3 { margin-bottom: 0.25rem; }

.timeline-more { margin-top: 1.75rem; }

.cards { display: grid; gap: 1.25rem; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 0.5rem; overflow: hidden; }
.claim { background: var(--accent-soft); padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
.claim .tag { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.claim blockquote { font-weight: 600; margin-top: 0.25rem; }
.reality { padding: 1rem 1.25rem; }
.reality .tag { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.25rem; }

ul.patterns { padding-left: 1.25rem; max-width: 70ch; }
ul.patterns li { margin-bottom: 1rem; }

.action-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.action { background: var(--card); border: 1px solid var(--border); border-radius: 0.5rem; padding: 1.25rem; }
.action h3 { margin-top: 0; }

ol.sources { padding-left: 1.5rem; }
ol.sources li { margin-bottom: 0.75rem; }
ol.sources li { scroll-margin-top: 4.5rem; }

a { color: var(--accent); }
a:hover { text-decoration: underline; }

.cite { font-size: 0.75em; vertical-align: super; text-decoration: none; padding: 0.35em 0.35em 0.35em 0; }

footer { padding: 2rem 1.25rem; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.85rem; }
footer .inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
