:root {
  --rwp-bg: #07111B;
  --rwp-bg-elevated: #0B1622;
  --rwp-surface: #101C29;
  --rwp-surface-strong: #152536;
  --rwp-border: #24384A;
  --rwp-cyan: #38C4D6;
  --rwp-cyan-deep: #2BA9BB;
  --rwp-cyan-hi: #72DCE8;
  --rwp-text: #EEF4F8;
  --rwp-muted: #96A5B6;
  --rwp-slate: #63778B;
  --rwp-success: #5EB98A;
  --rwp-warn: #C9A227;
  --rwp-unknown: #63778B;
  --font-ui: Inter, system-ui, -apple-system, sans-serif;
  --font-editorial: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  --radius-sm: 6px;
  --radius-md: 10px;
  --container: 1120px;
  --gutter: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--rwp-bg); color: var(--rwp-text); scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  background: var(--rwp-bg);
  color: var(--rwp-text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--rwp-cyan); text-decoration: none; }
a:hover { color: var(--rwp-cyan-hi); text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--rwp-cyan);
  outline-offset: 3px;
}
.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus {
  left: 16px; top: 16px; z-index: 100;
  background: var(--rwp-cyan); color: #07111B;
  padding: 8px 14px; border-radius: var(--radius-sm);
}
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }

.site-header {
  position: sticky; top: 0; z-index: 40;
  height: 72px;
  border-bottom: 1px solid rgb(36 56 74 / .7);
  background: rgb(7 17 27 / .88);
  backdrop-filter: blur(12px);
}
.site-header .bar {
  height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px; color: var(--rwp-text); text-decoration: none;
}
.brand:hover { text-decoration: none; color: var(--rwp-text); }
.brand img { height: 36px; width: auto; display: block; }
.brand-lockup { display: flex; flex-direction: column; line-height: 1.05; }
.brand-lockup strong {
  font-size: 12px; letter-spacing: 0.16em; font-weight: 600; text-transform: uppercase;
}
.brand-lockup span {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--rwp-cyan); text-transform: uppercase; font-weight: 500;
}
nav.primary { display: flex; align-items: center; gap: 2px; }
nav.primary a {
  color: var(--rwp-muted); font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: var(--radius-sm); text-decoration: none;
  position: relative;
}
nav.primary a:hover { color: var(--rwp-text); text-decoration: none; }
nav.primary a[aria-current="page"] { color: var(--rwp-text); }
nav.primary a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px;
  height: 2px; background: var(--rwp-cyan); border-radius: 99px;
}
nav.primary a.ext { color: var(--rwp-text); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--rwp-border);
  color: var(--rwp-text); padding: 8px 12px; border-radius: var(--radius-sm);
  min-height: 44px; min-width: 44px;
}
.mobile-nav {
  display: none; flex-direction: column; padding: 8px 24px 20px;
  border-bottom: 1px solid var(--rwp-border); background: var(--rwp-bg);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--rwp-text); padding: 12px 8px; font-size: 16px; text-decoration: none;
  border-radius: var(--radius-sm);
}
.mobile-nav a:hover { background: var(--rwp-surface); text-decoration: none; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--rwp-slate);
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--rwp-border);
}
.kicker {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--rwp-cyan); font-weight: 500;
}

.hero {
  padding: 64px 0 48px;
  background:
    radial-gradient(900px 500px at 110% -10%, rgb(56 196 214 / .08), transparent 55%),
    radial-gradient(700px 400px at -10% 110%, rgb(43 80 110 / .12), transparent 60%);
  border-bottom: 1px solid var(--rwp-border);
}
.hero h1 {
  font-family: var(--font-editorial);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 16px 0 16px;
  max-width: 16ch;
}
.hero .lede {
  color: var(--rwp-muted); font-size: 18px; line-height: 1.55; max-width: 58ch; margin: 0 0 28px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; min-height: 44px;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--rwp-cyan); color: #07111B; }
.btn-primary:hover { background: var(--rwp-cyan-hi); color: #07111B; }
.btn-ghost {
  background: transparent; color: var(--rwp-text);
  border: 1px solid var(--rwp-border);
}
.btn-ghost:hover { border-color: var(--rwp-cyan); color: var(--rwp-cyan-hi); }

.feature {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  padding: 48px 0;
  border-bottom: 1px solid var(--rwp-border);
}
.feature h2 {
  font-family: var(--font-editorial); font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15; margin: 8px 0 12px; font-weight: 600;
}
.feature .dek { color: var(--rwp-muted); font-size: 18px; max-width: 70ch; }
.meta-line { color: var(--rwp-slate); font-size: 13px; letter-spacing: 0.04em; }

.posture {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--rwp-border); border: 1px solid var(--rwp-border);
  margin: 0 0 8px;
}
.posture div {
  background: var(--rwp-bg-elevated); padding: 16px 18px;
}
.posture dt {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--rwp-slate); margin: 0;
}
.posture dd { margin: 6px 0 0; font-size: 14px; color: var(--rwp-text); }

.section { padding: 48px 0; border-bottom: 1px solid var(--rwp-border); }
.section h2.sec {
  font-family: var(--font-editorial); font-size: 28px; margin: 8px 0 24px; font-weight: 600;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card {
  background: var(--rwp-bg-elevated);
  border: 1px solid var(--rwp-border);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}
.card h3 { font-family: var(--font-editorial); font-size: 20px; margin: 8px 0 8px; font-weight: 600; }
.card h3 a { color: var(--rwp-text); text-decoration: none; }
.card h3 a:hover { color: var(--rwp-cyan-hi); }
.card p { color: var(--rwp-muted); margin: 0 0 12px; font-size: 15px; }
.card .more { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.panel {
  background: var(--rwp-surface); border: 1px solid var(--rwp-border);
  border-radius: var(--radius-sm); padding: 24px;
  min-height: 100%;
}
.panel h2 { font-family: var(--font-editorial); font-size: 24px; margin: 8px 0 10px; }
.panel ul.topics { margin: 0 0 16px; padding-left: 18px; color: var(--rwp-muted); font-size: 14px; }
.domain-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.domain-nav a {
  border: 1px solid var(--rwp-border); color: var(--rwp-muted);
  padding: 8px 12px; border-radius: var(--radius-sm); font-size: 13px; text-decoration: none;
}
.domain-nav a:hover { border-color: var(--rwp-cyan); color: var(--rwp-text); text-decoration: none; }
.empty { color: var(--rwp-slate); font-size: 14px; }

.page-hero { padding: 48px 0 24px; border-bottom: 1px solid var(--rwp-border); }
.page-hero h1 {
  font-family: var(--font-editorial); font-size: clamp(32px, 4vw, 48px);
  margin: 10px 0 12px; line-height: 1.12; font-weight: 600;
}
.page-hero .lede { color: var(--rwp-muted); max-width: 62ch; font-size: 18px; }

.article { max-width: 760px; padding: 32px 0 72px; }
.crumb { font-size: 13px; color: var(--rwp-slate); margin-bottom: 16px; }
.crumb a { color: var(--rwp-muted); }
.article h1 {
  font-family: var(--font-editorial); font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.15; margin: 8px 0 12px; font-weight: 600;
}
.dek { font-size: 19px; line-height: 1.5; color: var(--rwp-muted); margin: 0 0 16px; }
.byline { color: var(--rwp-slate); font-size: 13px; margin-bottom: 28px; }
.article h2 {
  font-family: var(--font-editorial); font-size: 24px; margin: 36px 0 12px; font-weight: 600;
}
.article h2.assessment { color: var(--rwp-cyan-hi); }
.article h3 { font-size: 16px; letter-spacing: 0.04em; margin: 24px 0 8px; font-weight: 600; }
.article p { margin: 0 0 16px; font-size: 18px; line-height: 1.7; }
.article ul, .article ol { margin: 0 0 16px; padding-left: 22px; }
.article li { margin: 0 0 8px; font-size: 17px; line-height: 1.6; }
.article blockquote {
  margin: 20px 0; padding: 12px 16px; border-left: 2px solid var(--rwp-cyan);
  background: var(--rwp-bg-elevated); color: var(--rwp-text);
}
.article code {
  font-family: var(--font-mono); font-size: 0.88em;
  background: var(--rwp-surface); padding: 0 4px; border-radius: 4px;
}
.article pre {
  background: var(--rwp-bg-elevated); border: 1px solid var(--rwp-border);
  padding: 14px 16px; overflow: auto; font-size: 13px;
}
.article pre code { background: none; padding: 0; }
.article table {
  width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 15px;
}
.article th, .article td {
  border: 1px solid var(--rwp-border); padding: 8px 10px; text-align: left; vertical-align: top;
}
.article th { background: var(--rwp-surface); font-weight: 600; }
.bluf {
  border-left: 2px solid var(--rwp-cyan);
  background: var(--rwp-bg-elevated);
  padding: 16px 18px; margin: 0 0 28px;
}
.bluf-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--rwp-cyan); margin: 0 0 8px;
}
.bluf p { margin: 0; font-size: 17px; }
.chip {
  display: inline-block; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; padding: 2px 7px; border-radius: 2px;
  border: 1px solid var(--rwp-border); color: var(--rwp-muted); margin-right: 4px;
}
.chip-confirmed { color: var(--rwp-success); border-color: rgb(94 185 138 / .4); }
.chip-reported { color: var(--rwp-cyan); border-color: rgb(56 196 214 / .35); }
.chip-assessed { color: var(--rwp-warn); border-color: rgb(201 162 39 / .4); }
.chip-unknown { color: var(--rwp-slate); }
.sources { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--rwp-border); }
.sources ol { padding-left: 20px; }
.sources a[href^="http"]::after { content: " ↗"; font-size: 0.85em; }
.disclosure {
  font-size: 14px; color: var(--rwp-muted); background: var(--rwp-bg-elevated);
  padding: 12px 14px; border: 1px solid var(--rwp-border); margin-bottom: 20px;
}
.pager {
  display: flex; justify-content: space-between; gap: 16px; margin-top: 36px;
  padding-top: 16px; border-top: 1px solid var(--rwp-border); font-size: 14px;
}
.related { margin-top: 32px; }
.related ul { list-style: none; padding: 0; }
.related li { padding: 8px 0; border-bottom: 1px solid var(--rwp-border); }

.story-list { list-style: none; margin: 0; padding: 0; }
.story-list li { padding: 16px 0; border-bottom: 1px solid var(--rwp-border); }
.story-list time, .story-meta { display: block; color: var(--rwp-slate); font-size: 12px; letter-spacing: 0.04em; }
.story-list a.title { color: var(--rwp-text); font-size: 20px; font-family: var(--font-editorial); text-decoration: none; }
.story-list a.title:hover { color: var(--rwp-cyan-hi); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; padding: 16px 0; }
.filters button, .filters a {
  border: 1px solid var(--rwp-border); background: transparent; color: var(--rwp-muted);
  padding: 8px 12px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; border-radius: var(--radius-sm); min-height: 40px;
}
.filters [aria-pressed="true"], .filters a[aria-current="page"] {
  color: var(--rwp-text); border-color: var(--rwp-cyan);
}
.archive-row { display: grid; grid-template-columns: 110px 140px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rwp-border); align-items: baseline; }
.archive-row .d { color: var(--rwp-slate); font-size: 13px; font-variant-numeric: tabular-nums; }
.archive-row .t { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--rwp-cyan); }
.archive-row a { color: var(--rwp-text); font-family: var(--font-editorial); font-size: 18px; text-decoration: none; }
.archive-row a:hover { color: var(--rwp-cyan-hi); }

.site-footer {
  background: hsl(215 25% 10%);
  border-top: 1px solid var(--rwp-border);
  padding: 40px 0 28px; color: var(--rwp-muted); font-size: 14px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h3 {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rwp-text); margin: 0 0 12px; font-weight: 600;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { color: var(--rwp-muted); text-decoration: none; }
.site-footer a:hover { color: var(--rwp-text); }
.foot-brand img { height: 32px; width: auto; margin-bottom: 12px; }
.cert { font-size: 12px; color: var(--rwp-slate); margin-top: 12px; }
.foot-bottom {
  margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--rwp-border);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px;
}

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .posture { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  nav.primary { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .hero { padding: 36px 0 32px; }
  .hero h1 { max-width: none; }
  .grid-3, .grid-2, .posture, .foot-grid { grid-template-columns: 1fr; }
  .archive-row { grid-template-columns: 1fr; gap: 4px; }
  .article p, .article li { font-size: 17px; }
}
@media (min-width: 801px) { .mobile-nav { display: none !important; } }
