:root {
  --bg: #f7f7f4;
  --surface: #ffffff;
  --text: #1d2321;
  --muted: #5b6561;
  --line: #e2e4df;
  --accent: #1f6f5c;
  --accent-soft: #e6f1ed;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121615;
    --surface: #1a201e;
    --text: #e8ebe9;
    --muted: #a0aaa6;
    --line: #2c3431;
    --accent: #6cc4a8;
    --accent-soft: #1d2d28;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 10px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: .01em; color: var(--text); text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.hero { padding: 56px 0 40px; }
.eyebrow { margin: 0 0 8px; color: var(--muted); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 0 0 16px; font-size: clamp(1.7rem, 5vw, 2.6rem); line-height: 1.2; font-weight: 700; }
.lede { margin: 0; max-width: 40em; color: var(--muted); font-size: 1.1rem; }
h2 { font-size: 1.35rem; margin: 0 0 20px; }
section { padding: 32px 0; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  display: flex; flex-direction: column;
}
.card h3 { margin: 0 0 4px; font-size: 1.15rem; }
.card .tag { margin: 0 0 12px; color: var(--accent); font-size: .85rem; font-weight: 600; }
.card p { margin: 0 0 16px; }
.card a.go { margin-top: auto; font-weight: 600; word-break: break-word; }
dl.facts {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 22px;
}
.facts div { display: grid; grid-template-columns: 11em 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .hero { padding: 36px 0 24px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
}
footer.site { margin-top: 32px; border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: .9rem; }
footer.site p { margin: 0 0 6px; }
.notfound { padding-top: 80px; padding-bottom: 80px; }
