:root {
  color-scheme: dark;
  --bg: #0b0e0f;
  --surface: #111719;
  --surface-2: #172022;
  --text: #edf2ee;
  --muted: #a9b7b1;
  --line: rgba(237, 242, 238, 0.16);
  --amber: #e48644;
  --red: #c24b36;
  --teal: #4eb7a4;
  --blue: #6aa6bd;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 14, 15, 0.88);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 720;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #0b0e0f 0 28%, rgba(228, 134, 68, 0.55) 31% 48%, rgba(194, 75, 54, 0.32) 55%, transparent 73%),
    #1b2426;
  box-shadow: 0 0 20px rgba(228, 134, 68, 0.38);
  flex: none;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 620;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(237, 242, 238, 0.07);
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(11, 14, 15, 0.96) 0%, rgba(11, 14, 15, 0.82) 37%, rgba(11, 14, 15, 0.24) 72%),
    linear-gradient(0deg, rgba(11, 14, 15, 1) 0%, rgba(11, 14, 15, 0) 38%),
    url("./assets/hedhub-hero.png") center / cover no-repeat;
}

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

.wonder-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 8, 0.98) 0%, rgba(5, 7, 8, 0.88) 36%, rgba(5, 7, 8, 0.38) 72%),
    linear-gradient(0deg, rgba(5, 7, 8, 1) 0%, rgba(5, 7, 8, 0) 42%),
    url("./assets/cases/dod-111764177-hero-hd.png") center center / cover no-repeat;
  transform: scale(1.02);
}

.wonder-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.wonder-inner {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0 76px;
}

.wonder-inner h1 {
  max-width: 760px;
  font-size: clamp(48px, 8vw, 104px);
}

.cinematic-section {
  background:
    linear-gradient(180deg, rgba(228, 134, 68, 0.055), transparent 34%),
    var(--bg);
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: 42px;
}

.video-stage {
  margin: 0;
}

.video-stage video,
.video-stage img {
  width: 100%;
  display: block;
  border: 1px solid rgba(237, 242, 238, 0.18);
  border-radius: 8px;
  background: #000;
  box-shadow: 0 32px 120px rgba(0, 0, 0, 0.5);
}

.video-stage figcaption {
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
}

.compact li {
  padding: 10px 0;
}

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

.rung {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.055)),
    var(--surface-2);
}

.rung span {
  color: var(--amber);
  font-size: 13px;
  font-weight: 760;
}

.rung h3 {
  margin: 14px 0 10px;
}

.rung p {
  color: var(--muted);
  margin: 0;
}

.history-band {
  background:
    linear-gradient(90deg, rgba(11, 14, 15, 1), rgba(19, 20, 18, 0.94)),
    var(--bg);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--amber), rgba(78, 183, 164, 0.5));
}

.timeline article {
  position: relative;
  padding: 52px 18px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.timeline article::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 24px rgba(228, 134, 68, 0.7);
}

.timeline span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 760;
}

.timeline h3 {
  margin: 8px 0;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

.map-feature {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.orb-map {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #101719, #070909);
}

.orb-map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.72;
  background: url("./assets/world-map.svg") center / 100% 100% no-repeat;
  filter: drop-shadow(0 0 18px rgba(78, 183, 164, 0.1));
}

.map-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(237, 242, 238, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 242, 238, 0.05) 1px, transparent 1px);
  background-size: 10% 20%;
}

#mapPoints {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.map-point {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.map-point span {
  display: block;
  width: 9px;
  height: 9px;
  margin: 5px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 16px rgba(228, 134, 68, 0.95);
}

.map-point:hover span {
  background: #fff2df;
}

.map-stats {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.map-stats span {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

.map-stats strong {
  color: var(--amber);
}

.method-ladder {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.method-ladder article {
  min-height: 230px;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.method-ladder article:last-child {
  border-right: 0;
}

.method-ladder span {
  display: block;
  color: var(--amber);
  font-size: 13px;
  font-weight: 780;
  text-transform: uppercase;
}

.method-ladder p {
  color: var(--muted);
  margin: 52px 0 0;
}

.final-invite {
  text-align: left;
}

.hero-inner,
.section-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  padding: 100px 0 72px;
}

.eyebrow {
  color: var(--teal);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 740;
  letter-spacing: 0;
  margin: 0 0 16px;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  font-size: clamp(44px, 7vw, 88px);
  margin: 0;
}

.hero-copy {
  max-width: 690px;
  color: #d4ded8;
  font-size: clamp(18px, 2.3vw, 23px);
  margin: 22px 0 0;
}

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

.evidence-strip {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.evidence-strip span {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

.evidence-strip strong {
  color: var(--text);
}

.instrument-hero {
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  align-items: end;
  gap: 38px;
}

.hero-copy-block {
  min-width: 0;
}

.hero-copy-only {
  max-width: 820px;
  margin-left: max(16px, calc((100vw - var(--max)) / 2));
  margin-right: auto;
}

.hero-microcopy {
  max-width: 590px;
  color: #f0d9c0;
  font-size: 15px;
  font-weight: 720;
  margin: 16px 0 0;
}

.target-preview-section {
  background:
    linear-gradient(180deg, rgba(78, 183, 164, 0.055), transparent 36%),
    var(--bg);
}

.target-preview-section .hero-evidence-panel {
  justify-self: stretch;
  max-width: 620px;
}

.hero-evidence-panel {
  padding: 16px;
  border: 1px solid rgba(237, 242, 238, 0.2);
  border-radius: 8px;
  background: rgba(8, 11, 12, 0.72);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(16px);
}

.hero-evidence-panel img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin: 14px 0;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 760;
}

.panel-header strong {
  color: var(--amber);
  text-align: right;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge-row span,
.trust-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(237, 242, 238, 0.14);
  border-radius: 999px;
  color: #cfddd7;
  background: rgba(237, 242, 238, 0.06);
  font-size: 12px;
  font-weight: 700;
}

.source-note {
  margin: 14px 0 0;
  font-size: 14px;
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  align-items: center;
  gap: 36px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: center;
}

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

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

.feature-card,
.case-card,
.grade-grid article {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.feature-card span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.feature-card h3,
.case-card h3,
.grade-grid h3 {
  margin: 12px 0 10px;
}

.feature-card p,
.case-card p,
.grade-grid p {
  color: var(--muted);
  margin: 0;
}

.case-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.case-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.case-top strong {
  line-height: 1.15;
}

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

.case-card dt {
  color: var(--text);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.case-card dd {
  color: var(--muted);
  margin: 4px 0 0;
}

.grade {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #070909;
  font-size: 13px;
  font-weight: 820;
  flex: none;
}

.grade-a {
  background: var(--amber);
}

.grade-b {
  background: var(--teal);
}

.grade-c {
  background: var(--blue);
}

.grade-d {
  background: #9fa8a3;
}

.section-kicker-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-kicker-row h2 {
  margin-bottom: 0;
}

.inline-actions {
  margin-top: 0;
}

.hypothesis-diagram {
  position: relative;
  min-height: 360px;
  border: 1px solid rgba(237, 242, 238, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(rgba(237, 242, 238, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 242, 238, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(228, 134, 68, 0.18), transparent 38%),
    #090d0e;
  background-size: 44px 44px, 44px 44px, auto, auto;
}

.core-dot,
.halo-ring {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.core-dot {
  width: 72px;
  height: 72px;
  background: #060708;
  border: 1px solid rgba(237, 242, 238, 0.22);
  z-index: 2;
}

.halo-ring {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, transparent 0 34%, rgba(228, 134, 68, 0.34) 44%, rgba(194, 75, 54, 0.12) 62%, transparent 75%);
  box-shadow: 0 0 80px rgba(228, 134, 68, 0.24);
  z-index: 1;
}

.diagram-label,
.diagram-result {
  position: absolute;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(8, 11, 12, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.label-core {
  left: 24px;
  top: 24px;
}

.label-halo {
  right: 24px;
  top: 86px;
}

.diagram-result {
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  color: var(--amber);
}

.pipeline,
.station-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.pipeline span,
.station-flow span {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #dce7e1;
  background: rgba(255, 255, 255, 0.035);
  font-weight: 700;
}

.pipeline span:last-child,
.station-flow span:last-child {
  border-color: rgba(78, 183, 164, 0.45);
  background: rgba(78, 183, 164, 0.09);
}

.station-flow {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.station-feature {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.station-visual {
  margin: 0;
}

.station-visual img {
  width: 100%;
  display: block;
  border: 1px solid rgba(237, 242, 238, 0.18);
  border-radius: 8px;
  background: #050707;
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.42);
}

.station-feature .station-flow {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.station-feature .station-flow span {
  min-height: 68px;
}

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

.final-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.final-cta-inner .lead {
  margin-bottom: 0;
}

.advanced-table {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.advanced-table summary {
  cursor: pointer;
  color: var(--text);
  font-size: 22px;
  font-weight: 760;
}

.advanced-table .lead {
  margin-top: 18px;
}

.source-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.source-summary article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.source-summary strong {
  display: block;
  color: var(--amber);
  font-size: 34px;
  line-height: 1;
}

.source-summary span {
  display: block;
  color: var(--muted);
  margin-top: 8px;
}

.source-callout {
  margin-top: 16px;
}

.source-table td:last-child {
  min-width: 160px;
}

.research-hero {
  background:
    linear-gradient(100deg, rgba(11, 14, 15, 0.98), rgba(16, 23, 25, 0.92)),
    var(--surface);
}

.research-hero h1,
.research-content h2,
.research-table th,
.research-table td {
  overflow-wrap: anywhere;
}

.research-summary {
  margin-top: 34px;
  margin-bottom: 0;
}

.research-index-grid {
  margin-top: 24px;
}

.research-chapter-card {
  min-height: 220px;
}

.research-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: start;
  gap: 34px;
}

.research-sidebar {
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 120px);
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.research-sidebar strong {
  display: block;
  margin-bottom: 12px;
}

.research-sidebar a {
  display: flex;
  gap: 9px;
  padding: 9px 8px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.25;
}

.research-sidebar a:hover,
.research-sidebar a[aria-current="page"] {
  color: var(--text);
  background: rgba(237, 242, 238, 0.07);
}

.research-sidebar span {
  color: var(--amber);
  min-width: 28px;
  font-weight: 780;
}

.research-content {
  min-width: 0;
}

.research-block {
  margin-bottom: 34px;
}

.research-block h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  margin-bottom: 14px;
}

.research-block p {
  max-width: 880px;
  color: var(--muted);
  font-size: 18px;
}

.research-table {
  margin-top: 20px;
}

.research-table th,
.research-table td {
  min-width: 190px;
  max-width: 440px;
}

.research-table td {
  color: #c7d4ce;
}

.research-list {
  display: grid;
  gap: 10px;
  max-width: 920px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.research-list li {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

.research-callout {
  margin-top: 28px;
}

.research-pager {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

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

.chapter {
  min-height: 190px;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(228, 134, 68, 0.06), rgba(255, 255, 255, 0.035)),
    var(--surface-2);
}

.chapter:hover {
  border-color: rgba(228, 134, 68, 0.58);
}

.chapter span {
  color: var(--amber);
  font-size: 13px;
  font-weight: 780;
}

.chapter strong {
  color: var(--text);
  font-size: 24px;
  line-height: 1.05;
}

.chapter em {
  color: var(--muted);
  font-style: normal;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
  background: rgba(237, 242, 238, 0.08);
  font-weight: 700;
}

.button.primary {
  border-color: rgba(228, 134, 68, 0.75);
  background: linear-gradient(180deg, rgba(228, 134, 68, 0.28), rgba(194, 75, 54, 0.22));
}

.button:hover {
  border-color: rgba(237, 242, 238, 0.34);
}

.section {
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.section.alt {
  background: var(--surface);
}

.section h2 {
  max-width: 760px;
  font-size: clamp(30px, 4.2vw, 52px);
  margin: 0 0 18px;
}

.lead {
  max-width: 820px;
  color: var(--muted);
  font-size: 19px;
  margin: 0 0 34px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.card h3 {
  font-size: 20px;
  margin: 0 0 10px;
}

.card p {
  color: var(--muted);
  margin: 0;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.metric {
  min-height: 112px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.035);
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  font-size: 26px;
  color: var(--amber);
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: table;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  border-radius: 8px;
}

.table th,
.table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table th {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

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

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

.rich-table {
  font-size: 14px;
  width: max-content;
  min-width: 1180px;
}

.rich-table th,
.rich-table td {
  min-width: 150px;
  max-width: 280px;
}

.rich-table td:last-child {
  min-width: 340px;
}

.source-link {
  color: var(--teal);
  text-decoration: none;
  font-weight: 700;
}

.catalog-id-link,
.catalog-source-link {
  display: inline;
}

.table-source-button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(66, 211, 190, 0.42);
  background: rgba(66, 211, 190, 0.08);
  color: var(--text);
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.table-source-button:hover {
  border-color: var(--teal);
  background: rgba(66, 211, 190, 0.14);
  color: var(--text);
}

.affiliate-link {
  color: #ffd2a6;
  border-bottom: 1px solid rgba(228, 134, 68, 0.54);
  text-decoration: none;
  white-space: nowrap;
}

.affiliate-link:hover {
  color: var(--text);
  border-bottom-color: var(--amber);
}

.button.affiliate-link {
  border-bottom: 1px solid var(--amber);
  color: var(--text);
}

.affiliate-note,
.affiliate-disclosure {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.affiliate-note {
  margin-top: 14px;
  max-width: 700px;
}

.affiliate-disclosure {
  flex-basis: 100%;
}

.source-link:hover {
  color: var(--text);
}

.media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  border: 1px solid var(--line);
  margin-bottom: 16px;
}

.callout {
  padding: 24px;
  border-left: 4px solid var(--amber);
  background: rgba(228, 134, 68, 0.09);
  border-radius: 0 8px 8px 0;
}

.callout p {
  margin: 0;
  color: #e9ded3;
  font-size: 18px;
}

.figure-note {
  padding: 12px 14px;
  border-left: 3px solid var(--blue);
  background: rgba(106, 166, 189, 0.08);
  color: #c6d7dc !important;
}

.list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.list strong {
  color: var(--text);
}

.page-hero {
  padding: 86px 0 56px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 25%, rgba(228, 134, 68, 0.16), transparent 30%),
    var(--surface);
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 70px);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  color: var(--muted);
  background: #080a0b;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .grid.three,
  .grid.two,
  .metric-strip,
  .chapter-grid,
  .hero-grid,
  .trust-grid,
  .feature-cards,
  .case-grid,
  .grade-grid,
  .split-feature,
  .rung-grid,
  .timeline,
  .method-ladder,
  .pipeline,
  .station-flow,
  .source-summary {
    grid-template-columns: 1fr;
  }

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

  .research-sidebar {
    position: static;
    max-height: 320px;
  }

  .research-pager {
    flex-direction: column;
  }

  .section-kicker-row,
  .final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .inline-actions {
    width: 100%;
  }

  .hero-evidence-panel {
    max-width: 520px;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .table {
    min-width: 760px;
  }

  .wonder-hero {
    min-height: auto;
  }

  .wonder-inner {
    padding: 82px 0 54px;
  }

  .hero-copy-only {
    max-width: none;
    margin-left: auto;
  }

  .wonder-media {
    background-position: 58% 45%;
  }

  .timeline::before {
    display: none;
  }

  .method-ladder article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .method-ladder article:last-child {
    border-bottom: 0;
  }

  .method-ladder p {
    margin-top: 16px;
  }

  .orb-map {
    min-height: 320px;
  }
}
