:root {
  color-scheme: light;
  --bg: #fff;
  --panel: #fff;
  --panel2: #fff;
  --text: #17243a;
  --muted: #526176;
  --line: #dce4ed;
  --accent: #2456a6;
  --accent2: #096b60;
  --warn: #946200;
  --danger: #b42332;
  --r: 16px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; background: #fff; }
body, main, #app { margin: 0; background: #fff; color: var(--text); line-height: 1.7; }
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.shell { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { font-weight: 850; letter-spacing: -.03em; text-decoration: none; color: var(--text); }
.brand span, .eyebrow { color: var(--accent2); }
nav { display: flex; gap: 8px; flex-wrap: wrap; }
nav a { text-decoration: none; color: var(--muted); padding: 8px 11px; border-radius: 9px; background: #fff; }
nav a:hover, nav a.active { color: var(--accent); background: #fff; text-decoration: underline; }
.hero { padding: 64px 0 36px; background: #fff; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(280px,.6fr); gap: 28px; align-items: end; }
.eyebrow { font-weight: 800; text-transform: uppercase; letter-spacing: .075em; font-size: .75rem; }
h1 { font-size: clamp(2.5rem, 7vw, 4.6rem); line-height: 1.11; letter-spacing: -.05em; margin: 12px 0 20px; }
h2 { font-size: clamp(1.5rem, 4vw, 2.15rem); line-height: 1.25; letter-spacing: -.03em; margin: 0 0 18px; }
h3 { font-size: 1.14rem; line-height: 1.45; margin: 12px 0; }
.lede, .muted { color: var(--muted); }
.lede { max-width: 790px; font-size: 1.06rem; }
.notice, .card, .feature { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.notice strong { display: block; margin-bottom: 6px; }
section { padding: 30px 0; background: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.card-top, .archive-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.badge { font-size: .7rem; font-weight: 800; letter-spacing: .04em; border-radius: 999px; padding: 5px 9px; border: 1px solid var(--line); background: #fff; }
.badge.public { color: var(--accent2); background: #fff; border-color: #b4d4cb; }
.badge.member { color: var(--warn); }
.button { display: inline-flex; align-items: center; margin-top: 10px; padding: 10px 15px; border-radius: 10px; border: 1px solid var(--accent); text-decoration: none; font-weight: 750; background: #fff; color: var(--accent); }
.button:hover { color: var(--accent); background: #fff; text-decoration: underline; border-color: #173e83; }
.health-grid, .feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.health { display: flex; gap: 12px; align-items: center; }
.dot { width: 10px; height: 10px; flex: 0 0 10px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 5px #fff; }
.dot.ok { background: var(--accent2); }
.dot.degraded { background: var(--warn); }
.dot.down, .dot.failed { background: var(--danger); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.filters input, .filters select { background: #fff; border: 1px solid #b9c6d6; color: var(--text); border-radius: 10px; padding: 11px 12px; }
.filters input { flex: 1; min-width: 220px; }
.archive-list { padding: 4px 18px; background: #fff; }
.archive-row { padding: 13px 0; border-bottom: 1px solid var(--line); background: #fff; }
.archive-row:last-child { border-bottom: 0; }
.archive-kind { color: var(--muted); margin-left: 10px; font-size: .86rem; }
.kpi { font-size: 2rem; font-weight: 850; letter-spacing: -.04em; }
.reader { max-width: 900px; margin: 0 auto; padding: 40px 0 80px; background: #fff; }
.reader article { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px,5vw,48px); margin: 15px 0; }
.reader h1 { font-size: clamp(2rem,6vw,3.5rem); margin-top: 0; }
.reader h2 { margin-top: 2em; }
.reader h3 { margin-top: 1.6em; }
.reader p, .reader li { color: #28374d; }
.reader code, .reader pre code { background: #fff; color: var(--text); padding: .12em .35em; border: 1px solid var(--line); border-radius: 5px; }
.reader pre { overflow: auto; background: #fff; color: var(--text); border: 1px solid var(--line); padding: 16px; border-radius: 12px; }
.reader pre code { border: 0; padding: 0; }
.reader blockquote { margin: 20px 0; border-left: 3px solid var(--accent); padding-left: 16px; color: var(--muted); background: #fff; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 620px; background: #fff; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; background: #fff; }
th { color: var(--text); font-weight: 750; }
.loading { padding: 80px 0; color: var(--muted); background: #fff; }
footer { margin-top: 46px; padding: 36px 0 50px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; background: #fff; }
/* Home: direct-reading news feed; whitespace, borders and type—not dark fills—define hierarchy. */
.news-hero { padding: 42px 0 28px; border-bottom: 1px solid var(--line); background: #fff; }
.news-hero h1 { font-size: clamp(2.4rem,6vw,4rem); margin: 8px 0 10px; }
.news-hero .lede { margin: 0 0 20px; }
.issue-meta { display: flex; gap: 8px 20px; flex-wrap: wrap; align-items: center; font-size: .91rem; color: var(--muted); }
.issue-meta strong { color: var(--text); }
.issue-meta span + span { color: #8a510c; }
.channel-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.channel-links a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: #fff; border: 1px solid #c9d6e4; border-radius: 999px; color: var(--accent); text-decoration: none; font-size: .88rem; font-weight: 700; }
.channel-links a:hover { background: #fff; border-color: var(--accent); text-decoration: underline; }
.channel-links a span { color: var(--muted); font-variant-numeric: tabular-nums; }
.brief-section { padding: 36px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; background: #fff; }
.brief-section:nth-of-type(2n) { background: #fff; }
.brief-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.brief-heading h2 { margin: 6px 0 0; }
.brief-count { color: var(--muted); font-size: .88rem; white-space: nowrap; }
.brief-list { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 930px; }
.brief-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; box-shadow: none; }
.brief-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; color: var(--muted); font-size: .79rem; }
.brief-tag { font-weight: 750; color: var(--accent2); }
.brief-card h3 { font-size: clamp(1.08rem,2.6vw,1.24rem); margin: 9px 0 6px; color: var(--text); }
.brief-card p { color: #36465b; margin: 0 0 12px; line-height: 1.8; overflow-wrap: anywhere; }
.read-more { font-size: .91rem; font-weight: 750; color: var(--accent); text-decoration: none; }
.read-more:hover { text-decoration: underline; }
.end-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; background: #fff; }
.end-links p { margin: 6px 0; }
.health-title { margin-top: 36px; }
@media (max-width: 820px) {
  .hero-grid, .grid, .health-grid, .feature-grid { grid-template-columns: 1fr; }
  .header-inner { align-items: flex-start; padding: 12px 0; flex-direction: column; }
  .hero { padding-top: 44px; }
  .news-hero { padding-top: 30px; }
  .brief-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .brief-card { padding: 17px; }
  html { scroll-padding-top: 125px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
