:root {
  --bg: #fbfaf8;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #5b5b63;
  --border: #e4e2dd;
  --accent: #b42318;
  --accent-soft: #fdecea;
  --link: #1a56db;
  --radius: 10px;
  --max: 760px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141416;
    --surface: #1c1c1f;
    --text: #ececef;
    --muted: #a3a3ad;
    --border: #2e2e33;
    --accent: #f97066;
    --accent-soft: #2a1715;
    --link: #8ab4f8;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--link); }
img { max-width: 100%; height: auto; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

header.site {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
header.site .wrap {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.brand { font-weight: 700; color: var(--text); text-decoration: none; }
.brand span { color: var(--accent); }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); text-decoration: underline; }

main { padding: 32px 0 48px; }
h1 { font-size: clamp(28px, 5vw, 38px); line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 24px; line-height: 1.3; margin: 40px 0 12px; }
h3 { font-size: 19px; margin: 28px 0 8px; }
.lede { font-size: 19px; color: var(--muted); margin: 0 0 20px; }
.meta { font-size: 14px; color: var(--muted); margin-bottom: 28px; }

.callout {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}
.callout p { margin: 0; }

.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px; margin: 24px 0; padding: 0; list-style: none;
}
.facts li {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px;
}
.facts b { display: block; font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }

ol.timeline { list-style: none; padding: 0; margin: 20px 0; border-left: 2px solid var(--border); }
ol.timeline li { position: relative; padding: 0 0 20px 22px; }
ol.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--accent);
}
ol.timeline time { display: block; font-weight: 700; font-size: 15px; }

.evidence { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.evidence figure { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; }
.evidence figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }

details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; margin: 10px 0; }
summary { font-weight: 600; cursor: pointer; }
details p { margin: 10px 0 0; }

.btn {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 10px 18px; border-radius: var(--radius); text-decoration: none; font-weight: 600;
}

footer.site { border-top: 1px solid var(--border); padding: 24px 0 40px; font-size: 14px; color: var(--muted); }
footer.site p { margin: 6px 0; }

blockquote { margin: 16px 0; padding: 4px 18px; border-left: 4px solid var(--border); color: var(--muted); font-style: italic; }
blockquote p { margin: 8px 0; }
code { font-size: .92em; background: var(--surface); border: 1px solid var(--border); padding: 1px 5px; border-radius: 4px; }
