:root {
  color-scheme: light;
  --bg: #f7f8f6;
  --surface: #fff;
  --text: #132337;
  --muted: #526579;
  --line: #dce5e2;
  --accent: #136b60;
  --tint: #e6f4ef;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c1520;
  --surface: #162332;
  --text: #edf5f2;
  --muted: #b7c8cb;
  --line: #334753;
  --accent: #78d5bf;
  --tint: #1d3837;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--accent); }
.shell { max-width: 1100px; margin: auto; padding: 0 24px; }
.site-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.brand { color: var(--text); text-decoration: none; font-size: 1.35rem; font-weight: 850; letter-spacing: -.04em; }
.brand span { color: var(--accent); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; font-size: .9rem; font-weight: 650; }
.nav a { color: var(--text); text-decoration: none; }
.nav a:hover { color: var(--accent); text-decoration: underline; }
.theme-button { font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.hero { padding: clamp(42px, 7vw, 82px) 0 48px; max-width: 780px; }
.eyebrow { color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.035em; }
h1 { margin: 12px 0 18px; font-size: clamp(2.4rem, 6vw, 4.5rem); }
.hero p, .article-deck { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 690px; }
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-bottom: 64px; }
.story-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.story-art { display: block; width: 100%; height: auto; }
.story-body { padding: 24px; }
.story-body h2 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin: 8px 0 12px; }
.story-body h2 a { color: var(--text); text-decoration: none; }
.story-body h2 a:hover { color: var(--accent); text-decoration: underline; }
.story-body p { color: var(--muted); margin: 0 0 16px; }
.story-link { font-weight: 750; }
.article { max-width: 760px; padding: 42px 0 64px; }
.article h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.article h2 { margin: 42px 0 12px; font-size: clamp(1.45rem, 3vw, 1.9rem); }
.article p, .article li { max-width: 70ch; }
.article li { margin: 8px 0; }
.article-date, .fine-print { color: var(--muted); font-size: .88rem; }
.article-visual { margin: 28px 0; }
.article-visual img { display: block; width: 100%; height: auto; border-radius: 12px; }
.article-visual figcaption { margin-top: 8px; color: var(--muted); font-size: .82rem; }
.callout { margin: 28px 0; padding: 22px; border-left: 4px solid var(--accent); border-radius: 8px; background: var(--tint); }
.callout p:last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 330px; font-variant-numeric: tabular-nums; }
th, td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }
.cta { display: inline-block; margin: 10px 0; padding: 10px 16px; border-radius: 8px; background: var(--accent); color: var(--surface); font-weight: 750; text-decoration: none; }
[data-theme="dark"] .cta { color: #10251f; }
.sources { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; }
footer { padding: 24px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
@media (max-width: 650px) {
  .shell { padding: 0 18px; }
  .story-grid { grid-template-columns: 1fr; }
  .hero { padding: 38px 0 28px; }
}
