:root {
  color-scheme: dark;
  --bg: #06111d;
  --bg-elevated: #0a1826;
  --bg-soft: #0d1d2b;
  --surface: rgba(14, 31, 46, 0.78);
  --surface-solid: #0d1d2b;
  --surface-hover: #12283a;
  --text: #eef7f5;
  --text-soft: #b7c9c9;
  --muted: #829b9d;
  --line: rgba(178, 216, 210, 0.14);
  --line-strong: rgba(178, 216, 210, 0.25);
  --teal: #45e0bd;
  --teal-deep: #0ca88b;
  --teal-soft: rgba(69, 224, 189, 0.12);
  --blue: #69b9ff;
  --blue-soft: rgba(105, 185, 255, 0.12);
  --violet: #ad9cff;
  --violet-soft: rgba(173, 156, 255, 0.12);
  --amber: #f2c56b;
  --amber-soft: rgba(242, 197, 107, 0.13);
  --danger: #ff7c79;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --header-height: 78px;
  --container: 1240px;
  --narrow: 860px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 30px;
  --font-sans: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f2f6f3;
  --bg-elevated: #ffffff;
  --bg-soft: #eaf1ed;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;
  --surface-hover: #f5faf7;
  --text: #102625;
  --text-soft: #365451;
  --muted: #657d79;
  --line: rgba(28, 69, 64, 0.12);
  --line-strong: rgba(28, 69, 64, 0.22);
  --teal: #078b75;
  --teal-deep: #04705e;
  --teal-soft: rgba(7, 139, 117, 0.1);
  --blue: #266eac;
  --blue-soft: rgba(38, 110, 172, 0.1);
  --violet: #6f5cc8;
  --violet-soft: rgba(111, 92, 200, 0.1);
  --amber: #9b6a12;
  --amber-soft: rgba(155, 106, 18, 0.1);
  --shadow: 0 20px 60px rgba(40, 66, 59, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 0%, rgba(69, 224, 189, 0.06), transparent 27rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(134, 190, 181, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(134, 190, 181, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
  z-index: -1;
}

::selection {
  color: #05201b;
  background: var(--teal);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

img,
svg,
canvas {
  max-width: 100%;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.container.narrow,
.narrow {
  width: min(calc(100% - 48px), var(--narrow));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  color: #041813;
  background: var(--teal);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(6, 17, 29, 0.72);
  backdrop-filter: blur(18px) saturate(130%);
  transition: border-color 180ms ease, background 180ms ease;
}

html[data-theme="light"] .site-header {
  background: rgba(242, 246, 243, 0.8);
}

.site-header.scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  width: min(calc(100% - 48px), var(--container));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--teal);
  background: var(--teal-soft);
}

.brand-mark svg {
  width: 31px;
  height: 31px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
}

.brand-mark .brand-ping {
  fill: var(--amber);
  stroke: none;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy strong {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  position: relative;
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--text-soft);
  font-size: 14px;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover {
  color: var(--text);
  background: var(--surface);
}

.site-nav a[aria-current="page"] {
  color: var(--teal);
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 1px;
  background: var(--teal);
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--text-soft);
  background: var(--surface);
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.icon-button:hover {
  color: var(--teal);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.theme-toggle {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.theme-toggle svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.theme-moon {
  display: none;
}

html[data-theme="light"] .theme-sun {
  display: none;
}

html[data-theme="light"] .theme-moon {
  display: block;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  padding: 11px 10px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  width: 34rem;
  height: 34rem;
  right: -12rem;
  bottom: -20rem;
  border-radius: 50%;
  background: rgba(69, 224, 189, 0.07);
  filter: blur(80px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
  padding-block: 76px 88px;
}

.eyebrow-line,
.section-kicker {
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px var(--teal-soft), 0 0 18px var(--teal);
  animation: pulse 2.2s ease-in-out infinite;
}

.eyebrow-separator {
  width: 28px;
  height: 1px;
  background: var(--line-strong);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 5.8vw, 79px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 680;
}

.hero h1 em {
  color: var(--teal);
  font-style: normal;
}

.hero-copy > p {
  max-width: 670px;
  margin: 28px 0 0;
  color: var(--text-soft);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #03201a;
  background: var(--teal);
  box-shadow: 0 12px 34px rgba(18, 201, 165, 0.16);
}

.button-primary:hover {
  background: #71ebcf;
}

html[data-theme="light"] .button-primary:hover {
  background: #05917a;
  color: #fff;
}

.button-secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: var(--surface);
}

.button-secondary:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
}

.button.small {
  min-height: 39px;
  padding: 9px 13px;
  font-size: 12px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 26px;
  max-width: 690px;
  margin: 42px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-meta div {
  min-width: 0;
}

.hero-meta dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-meta dd {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
}

.radar-stage {
  position: relative;
  aspect-ratio: 1;
  width: min(100%, 600px);
  justify-self: end;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(69, 224, 189, 0.04), transparent 65%),
    var(--bg-elevated);
  box-shadow: var(--shadow), inset 0 0 80px rgba(69, 224, 189, 0.045);
}

.radar-stage::before,
.radar-stage::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.radar-stage::before {
  inset: 5.5%;
  border: 1px dashed rgba(151, 214, 203, 0.17);
  border-radius: 50%;
}

.radar-stage::after {
  width: 1px;
  height: 88%;
  top: 6%;
  left: 50%;
  background: linear-gradient(transparent, var(--line-strong), transparent);
  box-shadow: 0 0 18px rgba(69, 224, 189, 0.12);
}

#radar-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.radar-ui {
  position: absolute;
  z-index: 3;
  top: 13%;
  left: 10%;
  display: flex;
  flex-direction: column;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  pointer-events: none;
}

.radar-ui strong {
  margin-top: 4px;
  color: var(--teal);
  font-size: 10px;
}

.radar-legend {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 9%;
  display: flex;
  gap: 12px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(3, 12, 20, 0.72);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 8px;
  transform: translateX(-50%);
}

html[data-theme="light"] .radar-legend {
  background: rgba(255, 255, 255, 0.8);
}

.radar-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.radar-legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.legend-low {
  background: var(--blue);
}

.legend-mid {
  background: var(--teal);
}

.legend-high {
  background: var(--amber);
}

.metric-strip {
  border-bottom: 1px solid var(--line);
  background: var(--bg-elevated);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric-grid > div {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 30px;
  border-left: 1px solid var(--line);
}

.metric-grid > div:last-child {
  border-right: 1px solid var(--line);
}

.metric-grid strong {
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.4vw, 31px);
  line-height: 1.1;
}

.metric-grid span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding-block: 112px;
}

.section-tinted {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(69, 224, 189, 0.035), transparent 45%),
    var(--bg-elevated);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

.section-heading.compact {
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 5px 0 0;
  max-width: 760px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.section-heading > p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.highlight-card {
  min-height: 220px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(69, 224, 189, 0.035), transparent 50%),
    var(--surface);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.highlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background-color: var(--surface-hover);
}

.card-index {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.highlight-card h3 {
  margin: 19px 0 0;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
  letter-spacing: -0.015em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 4px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.status-teal {
  color: var(--teal);
  background: var(--teal-soft);
}

.status-blue {
  color: var(--blue);
  background: var(--blue-soft);
}

.status-violet {
  color: var(--violet);
  background: var(--violet-soft);
}

.status-amber {
  color: var(--amber);
  background: var(--amber-soft);
}

.status-slate {
  color: var(--muted);
  background: rgba(125, 154, 153, 0.07);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.topic-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--bg-elevated);
  transition: background 180ms ease;
}

.topic-card:hover {
  background: var(--surface-hover);
}

.topic-number {
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 11px;
}

.topic-card h3 {
  margin: 32px 0 12px;
  font-size: 21px;
}

.topic-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.topic-link {
  margin-top: auto;
  padding-top: 24px;
  color: var(--muted);
  font-size: 12px;
}

.topic-link b {
  margin-left: 7px;
  color: var(--teal);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: start;
}

.report-list {
  border-top: 1px solid var(--line);
}

.report-row {
  display: grid;
  grid-template-columns: 76px 1fr 24px;
  gap: 20px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.report-row time {
  padding-top: 2px;
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 12px;
}

.report-row strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
}

.report-row small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.row-arrow {
  color: var(--muted);
  transition: color 160ms ease, transform 160ms ease;
}

.report-row:hover .row-arrow {
  color: var(--teal);
  transform: translate(3px, -3px);
}

.evidence-panel {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(69, 224, 189, 0.1), transparent 15rem),
    var(--surface);
  box-shadow: var(--shadow);
}

.evidence-panel h2 {
  margin: 12px 0 24px;
  font-size: 26px;
  line-height: 1.4;
}

.check-list {
  padding: 0;
  margin: 0 0 28px;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 0;
  padding: 11px 0 11px 26px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 14px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-family: var(--font-mono);
}

.page-hero {
  padding-block: 100px 74px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 10px 0 18px;
  max-width: 930px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.page-hero > p {
  max-width: 780px;
  margin: 0;
  color: var(--text-soft);
  font-size: 18px;
}

.page-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.page-stats strong {
  margin-right: 6px;
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 13px;
}

.archive-section,
.tracker-section,
.resource-section {
  padding-block: 62px 110px;
}

.filter-bar {
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.sticky-filter {
  position: sticky;
  top: calc(var(--header-height) + 10px);
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
}

.search-field {
  position: relative;
  flex: 1;
  max-width: 690px;
}

.search-field.wide {
  max-width: none;
}

.search-field svg {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 18px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.7;
  transform: translateY(-50%);
}

.search-field input,
.select-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: none;
  color: var(--text);
  background: var(--surface);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.search-field input {
  padding: 10px 16px 10px 46px;
}

.select-field select {
  min-width: 170px;
  padding: 10px 36px 10px 14px;
}

.search-field input:focus,
.select-field select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-soft);
}

.search-field input::placeholder {
  color: var(--muted);
}

.result-count {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  white-space: nowrap;
}

.archive-list {
  border-top: 1px solid var(--line-strong);
}

.archive-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 44px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.archive-date {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.archive-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 15px;
}

.archive-body h2 {
  margin: 0;
  font-size: clamp(21px, 2.5vw, 31px);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.archive-body h2 a:hover {
  color: var(--teal);
}

.archive-body p {
  max-width: 840px;
  margin: 13px 0 18px;
  color: var(--text-soft);
}

.empty-state {
  padding: 70px 20px;
  text-align: center;
  color: var(--muted);
}

.report-hero {
  padding-block: 68px 74px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 10%, rgba(69, 224, 189, 0.08), transparent 27rem),
    var(--bg-elevated);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumbs a:hover {
  color: var(--teal);
}

.report-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.report-hero h1 {
  margin: 17px 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.report-hero p {
  max-width: 800px;
  margin: 0;
  color: var(--text-soft);
  font-size: 17px;
}

.report-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

.report-meta-line a {
  margin-left: auto;
  color: var(--teal);
}

.report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(48px, 7vw, 92px);
  align-items: start;
  padding-block: 70px 50px;
}

.report-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.toc-panel,
.scope-note {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.toc-panel > strong {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
}

.toc {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-height: 55vh;
  overflow: auto;
  scrollbar-width: thin;
}

.toc a {
  padding: 6px 8px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.toc a:hover,
.toc a.active {
  border-left-color: var(--teal);
  color: var(--teal);
  background: var(--teal-soft);
}

.toc-level-3 {
  padding-left: 17px !important;
}

.scope-note {
  margin-top: 12px;
}

.scope-note p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.markdown-body {
  min-width: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.markdown-body > :first-child {
  margin-top: 0 !important;
}

.report-article > h1:first-child {
  display: none;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4 {
  position: relative;
  color: var(--text);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.markdown-body h1 {
  margin: 0 0 28px;
  font-size: 35px;
}

.markdown-body h2 {
  margin: 64px 0 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 28px;
}

.markdown-body h3 {
  margin: 42px 0 15px;
  font-size: 21px;
}

.markdown-body h4 {
  margin: 30px 0 12px;
  font-size: 17px;
}

.heading-anchor {
  margin-left: 9px;
  color: transparent;
  font-family: var(--font-mono);
  font-size: 0.65em;
}

.markdown-body h1:hover .heading-anchor,
.markdown-body h2:hover .heading-anchor,
.markdown-body h3:hover .heading-anchor {
  color: var(--teal);
}

.markdown-body p {
  margin: 0 0 18px;
}

.markdown-body strong {
  color: var(--text);
  font-weight: 700;
}

.markdown-body em {
  color: var(--text);
}

.markdown-body a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--teal) 45%, transparent);
  text-underline-offset: 3px;
}

.markdown-body a:hover {
  text-decoration-color: var(--teal);
}

.markdown-body ul,
.markdown-body ol {
  margin: 0 0 22px;
  padding-left: 1.45em;
}

.markdown-body li {
  margin: 7px 0;
}

.markdown-body li::marker {
  color: var(--teal);
}

.markdown-body blockquote {
  margin: 25px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--teal);
  color: var(--text-soft);
  background: var(--teal-soft);
}

.markdown-body blockquote p:last-child {
  margin-bottom: 0;
}

.markdown-body code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--amber);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.86em;
}

.markdown-body pre {
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #04101b;
  scrollbar-width: thin;
}

.markdown-body pre code {
  padding: 0;
  border: 0;
  color: #cee1df;
  background: transparent;
}

.markdown-body hr {
  margin: 42px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.markdown-body table {
  width: 100%;
  margin: 25px 0 34px;
  border-spacing: 0;
  border-collapse: separate;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.6;
}

.markdown-body thead {
  background: var(--surface-hover);
}

.markdown-body th,
.markdown-body td {
  padding: 12px 13px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.markdown-body tr:last-child td {
  border-bottom: 0;
}

.markdown-body th:last-child,
.markdown-body td:last-child {
  border-right: 0;
}

.markdown-body th {
  color: var(--text);
  font-weight: 650;
}

.markdown-body tbody tr:hover {
  background: rgba(69, 224, 189, 0.025);
}

.markdown-body img {
  height: auto;
  margin: 28px auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.adjacent-reports {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 100px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.adjacent-reports a {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.adjacent-reports a:hover {
  border-color: var(--teal);
}

.adjacent-reports span {
  color: var(--muted);
  font-size: 11px;
}

.adjacent-reports strong {
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.adjacent-reports .next-report {
  text-align: right;
}

.tracker-guide {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
}

.tracker-guide > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tracker-table {
  max-width: 100%;
  overflow-x: auto;
}

.tracker-table table {
  min-width: 1180px;
}

.tracker-table tr[hidden] {
  display: none;
}

.tracker-table h1 {
  display: none;
}

.topic-details {
  padding-block: 45px 110px;
}

.topic-detail {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 40px;
  padding: 58px 0;
  border-bottom: 1px solid var(--line);
}

.topic-index {
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 20px;
}

.topic-detail h2 {
  margin: 8px 0 7px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.035em;
}

.topic-detail h3 {
  max-width: 830px;
  margin: 0 0 17px;
  color: var(--text-soft);
  font-size: 19px;
  font-weight: 560;
  line-height: 1.6;
}

.topic-detail p {
  max-width: 870px;
  margin: 0 0 19px;
  color: var(--muted);
}

.term-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0 21px;
}

.term-list span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 9px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.resource-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.resource-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.resource-top time {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
}

.resource-card h2 {
  margin: 27px 0 2px;
  font-size: 30px;
}

.resource-card h3 {
  margin: 0 0 15px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 560;
}

.resource-card > p {
  color: var(--muted);
  font-size: 13px;
}

.resource-card dl {
  margin: 10px 0 0;
  border-top: 1px solid var(--line);
}

.resource-card dl div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.resource-card dt {
  color: var(--muted);
}

.resource-card dd {
  margin: 0;
  color: var(--text-soft);
}

.resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}

.library-note {
  margin-top: 70px;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
  padding: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 0 100%, rgba(69, 224, 189, 0.1), transparent 26rem),
    var(--bg-elevated);
}

.library-note h2 {
  margin: 9px 0 0;
  font-size: 30px;
}

.library-note ol {
  margin: 0;
  padding-left: 1.3em;
  color: var(--text-soft);
}

.library-note li {
  margin: 0 0 13px;
}

.library-note li::marker {
  color: var(--teal);
  font-family: var(--font-mono);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-block: 70px 110px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.about-grid article {
  min-height: 320px;
  padding: 34px;
  background: var(--bg-elevated);
}

.about-number {
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 11px;
}

.about-grid h2 {
  margin: 52px 0 12px;
  font-size: 26px;
}

.about-grid p {
  margin: 0;
  color: var(--text-soft);
}

.provenance {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 50px;
  align-items: center;
}

.provenance h2 {
  margin: 7px 0 0;
  font-size: 32px;
}

.provenance-flow {
  display: flex;
  align-items: center;
  gap: 13px;
}

.provenance-flow div {
  flex: 1;
}

.provenance-flow span {
  display: block;
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 10px;
}

.provenance-flow strong {
  display: block;
  margin: 7px 0 3px;
  font-size: 14px;
}

.provenance-flow small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.provenance-flow i {
  color: var(--line-strong);
  font-style: normal;
}

.not-found {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: 80px;
  text-align: center;
}

.error-radar {
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 22%, var(--line) 23%, transparent 24%, transparent 43%, var(--line) 44%, transparent 45%),
    conic-gradient(from 0deg, transparent 70%, var(--teal-soft));
}

.error-radar span {
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 30px;
}

.not-found h1 {
  margin: 12px 0;
  font-size: 42px;
}

.not-found p {
  margin: 0 0 27px;
  color: var(--muted);
}

.site-footer {
  padding: 62px 0 22px;
  border-top: 1px solid var(--line);
  background: #04101b;
}

html[data-theme="light"] .site-footer {
  background: #e7efea;
}

.footer-grid {
  width: min(calc(100% - 48px), var(--container));
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-inline: auto;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand {
  margin-bottom: 17px;
}

.footer-grid p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-grid h2 {
  margin: 0 0 13px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid > div > a:not(.brand) {
  margin: 3px 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-grid > div > a:not(.brand):hover {
  color: var(--teal);
}

.footer-bottom {
  width: min(calc(100% - 48px), var(--container));
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 48px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.muted {
  color: var(--muted);
}

[hidden] {
  display: none !important;
}

@media (max-width: 1080px) {
  .header-inner {
    gap: 12px;
  }

  .site-nav {
    gap: 0;
  }

  .site-nav a {
    padding-inline: 8px;
    font-size: 12px;
  }

  .hero-grid {
    grid-template-columns: 1fr 420px;
    gap: 30px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-layout {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 40px;
  }
}

@media (max-width: 880px) {
  :root {
    --header-height: 70px;
  }

  .container,
  .container.narrow,
  .narrow,
  .header-inner,
  .footer-grid,
  .footer-bottom {
    width: min(calc(100% - 32px), var(--container));
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--bg-elevated);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 13px;
    font-size: 14px;
  }

  .site-nav a[aria-current="page"]::after {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 66px 76px;
  }

  .hero-copy {
    z-index: 2;
  }

  .hero h1 {
    font-size: clamp(42px, 9vw, 64px);
  }

  .radar-stage {
    width: min(100%, 560px);
    justify-self: center;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-grid > div:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .section {
    padding-block: 82px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .section-heading > p {
    text-align: left;
  }

  .split-section {
    grid-template-columns: 1fr;
  }

  .evidence-panel {
    position: static;
  }

  .report-layout {
    grid-template-columns: 1fr;
  }

  .report-sidebar {
    position: static;
    grid-row: 1;
  }

  .toc {
    max-height: 270px;
  }

  .library-note,
  .provenance {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .provenance-flow {
    align-items: flex-start;
    flex-direction: column;
  }

  .provenance-flow i {
    transform: rotate(90deg);
  }

  .footer-grid {
    grid-template-columns: 1.7fr 1fr 1fr;
    gap: 25px;
  }
}

@media (max-width: 640px) {
  .brand-copy strong {
    font-size: 11px;
  }

  .brand-copy small {
    display: none;
  }

  .hero-grid {
    padding-top: 50px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-copy > p,
  .page-hero > p {
    font-size: 15px;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .radar-stage {
    width: 100%;
  }

  .radar-legend {
    gap: 7px;
  }

  .metric-grid > div {
    min-height: 88px;
    padding: 16px;
  }

  .section {
    padding-block: 64px;
  }

  .section-heading h2 {
    font-size: 31px;
  }

  .highlight-grid,
  .topic-grid,
  .resource-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .highlight-card {
    min-height: auto;
    grid-template-columns: 34px 1fr;
    padding: 22px;
  }

  .topic-card {
    min-height: 250px;
  }

  .report-row {
    grid-template-columns: 60px 1fr 15px;
    gap: 11px;
  }

  .page-hero {
    padding-block: 68px 50px;
  }

  .page-hero h1 {
    font-size: 43px;
  }

  .filter-bar {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .search-field,
  .select-field {
    flex: 1 1 100%;
    max-width: none;
  }

  .select-field select {
    min-width: 100%;
  }

  .archive-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 30px 0;
  }

  .report-hero {
    padding-block: 45px 54px;
  }

  .report-hero h1 {
    font-size: 34px;
  }

  .report-meta-line a {
    width: 100%;
    margin-left: 0;
  }

  .report-layout {
    padding-top: 40px;
  }

  .markdown-body {
    font-size: 14px;
  }

  .markdown-body h1 {
    font-size: 29px;
  }

  .markdown-body h2 {
    margin-top: 48px;
    font-size: 24px;
  }

  .markdown-body table {
    display: block;
    overflow-x: auto;
    white-space: normal;
  }

  .adjacent-reports {
    grid-template-columns: 1fr;
  }

  .topic-detail {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-block: 42px;
  }

  .library-note {
    padding: 26px;
  }

  .about-grid article {
    min-height: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
