:root {
  --ink: #122034;
  --ink-soft: #506075;
  --navy: #193a5a;
  --navy-deep: #112d46;
  --blue: #2878a5;
  --blue-pale: #eaf4f8;
  --amber: #d99b45;
  --amber-pale: #fff6e8;
  --coral: #cb5d56;
  --coral-pale: #fff0ed;
  --mint: #dcefe9;
  --paper: #ffffff;
  --paper-alt: #f6f8fa;
  --line: #dce3e9;
  --shadow: 0 24px 70px rgba(19, 44, 69, .10);
  --radius: 20px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: -60px;
  padding: 10px 16px;
  color: white;
  background: var(--navy-deep);
  border-radius: 8px;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 16px;
}

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

.section {
  padding: 112px 0;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(220, 227, 233, .78);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy-deep);
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 28px;
  height: 28px;
  border: 2px solid var(--navy);
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.brand-mark::before {
  width: 4px;
  height: 4px;
  background: var(--coral);
  box-shadow: 8px -4px 0 var(--blue), -7px 5px 0 var(--amber);
}

.brand-mark::after {
  width: 38px;
  height: 1px;
  background: var(--navy);
  transform: translate(-50%, -50%) rotate(-28deg);
  opacity: .6;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav a {
  position: relative;
  color: #33465b;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--coral);
  transition: right .25s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  right: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

.hero {
  overflow: hidden;
  padding-top: 78px;
  background:
    radial-gradient(circle at 82% 13%, rgba(40, 120, 165, .08), transparent 24%),
    linear-gradient(to bottom, #fff 0%, #fff 72%, #f9fbfc 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
  gap: 70px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .15em;
  line-height: 1.25;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 30px;
  color: #7a4e16;
  background: var(--amber-pale);
  border: 1px solid #edd5b0;
  border-radius: 999px;
  letter-spacing: .08em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(217, 155, 69, .17);
}

.kicker {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 16px;
  font-weight: 760;
  letter-spacing: .02em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 730px;
  margin-bottom: 25px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 5.3vw, 78px);
  line-height: 1.01;
  letter-spacing: -.048em;
}

h2 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.08;
  letter-spacing: -.036em;
}

h3 {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.hero-deck {
  max-width: 690px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.62;
}

.hero-deck strong {
  color: var(--navy);
}

.hero-actions,
.resource-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 780;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

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

.button-primary {
  color: white;
  background: var(--navy-deep);
  box-shadow: 0 12px 25px rgba(17, 45, 70, .15);
}

.button-primary:hover {
  background: #17466b;
}

.button-secondary {
  color: var(--navy-deep);
  background: white;
  border-color: var(--line);
}

.button-secondary:hover {
  border-color: #aebbc7;
  box-shadow: 0 8px 22px rgba(17, 45, 70, .08);
}

.text-link {
  padding: 8px 7px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.authors {
  max-width: 720px;
  margin: 31px 0 3px;
  color: #2f4053;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.7;
}

.authors sup,
.author-note sup {
  color: var(--coral);
}

.affiliation,
.author-note {
  margin-bottom: 2px;
  color: #7a8794;
  font-size: 13px;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  padding: 14px;
  background: #f5f7f8;
  border: 1px solid #d6dee4;
  border-radius: 22px;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 170px;
  height: 170px;
  right: -80px;
  bottom: -74px;
  background: var(--coral-pale);
  border: 1px solid #f0c9c6;
  border-radius: 50%;
}

.visual-toolbar,
.visual-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 6px 11px;
  color: #6b7988;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.visual-toolbar i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #62ab74;
}

.hero-visual img {
  width: 100%;
  background: white;
  border-radius: 11px;
}

.visual-legend {
  justify-content: center;
  padding: 12px 4px 0;
  text-transform: none;
}

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

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.dot-black { background: #101010; }
.dot-blue { background: #1684bd; }
.dot-red { background: #df3d35; }

.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 78px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact-strip div {
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 28px;
  border-right: 1px solid var(--line);
}

.fact-strip div:last-child {
  border-right: 0;
}

.fact-strip strong {
  color: var(--navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1;
}

.fact-strip span {
  margin-top: 8px;
  color: #71808e;
  font-size: 12px;
  font-weight: 720;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

.section-intro {
  max-width: 800px;
  margin-bottom: 54px;
}

.section-intro > p:last-child,
.split-intro > p {
  color: var(--ink-soft);
}

.split-intro {
  max-width: none;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 90px;
  align-items: end;
}

.split-intro h2 {
  margin-bottom: 0;
}

.split-intro > p {
  margin-bottom: 5px;
}

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.challenge-card {
  position: relative;
  min-height: 330px;
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease;
}

.challenge-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(17, 45, 70, .08);
}

.card-index {
  color: #8795a3;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.challenge-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.mini-visual {
  position: relative;
  height: 110px;
  margin: 28px 0 25px;
  border-radius: 12px;
  background: #f4f7f9;
}

.mini-visual i {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.deform i {
  width: 14px;
  height: 14px;
  top: 50%;
  background: var(--coral);
}

.deform i:nth-child(1) { left: 15%; }
.deform i:nth-child(2) { left: 46%; top: 33%; }
.deform i:nth-child(3) { right: 15%; top: 62%; }

.deform::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 45%;
  height: 28px;
  border-top: 2px dashed var(--navy);
  border-radius: 50%;
  transform: rotate(8deg);
}

.occlude i:nth-child(1),
.occlude i:nth-child(3) {
  width: 14px;
  height: 14px;
  top: 48px;
  background: var(--blue);
}

.occlude i:nth-child(1) { left: 18%; }
.occlude i:nth-child(3) { right: 18%; }
.occlude i:nth-child(2) {
  z-index: 2;
  width: 32%;
  height: 82px;
  left: 34%;
  top: 14px;
  background: #d7dee4;
  border-radius: 30px 4px 30px 4px;
  transform: rotate(-14deg);
}

.occlude::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  top: 54px;
  border-top: 2px dashed #93a0ac;
}

.sparse i {
  width: 10px;
  height: 10px;
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(217, 155, 69, .13);
}

.sparse i:nth-child(1) { left: 16%; top: 27%; }
.sparse i:nth-child(2) { right: 21%; top: 48%; }
.sparse i:nth-child(3) { left: 43%; bottom: 17%; }

.method-section {
  background: white;
}

.method-heading {
  max-width: 760px;
}

.method-heading > p:last-child {
  max-width: 650px;
  font-size: 20px;
}

.stage-rail {
  display: grid;
  grid-template-columns: 1fr 180px 1fr;
  gap: 0;
  align-items: center;
  margin-bottom: 28px;
}

.stage {
  min-height: 230px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stage-one {
  background: var(--blue-pale);
  border-color: #cfe1e8;
}

.stage-two {
  background: var(--amber-pale);
  border-color: #ead8bb;
}

.stage-number {
  height: 32px;
  padding: 5px 10px;
  color: white;
  background: var(--navy);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.stage-two .stage-number {
  color: #56380e;
  background: #efc67f;
}

.stage-label,
.component-tag {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.stage-two .stage-label {
  color: #9a671f;
}

.stage p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.stage-arrow {
  position: relative;
  text-align: center;
}

.stage-arrow span {
  color: #8a97a4;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.stage-arrow i {
  display: block;
  position: relative;
  width: 70%;
  height: 2px;
  margin: 10px auto 0;
  background: #8ca0b0;
}

.stage-arrow i::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #8ca0b0;
  border-right: 2px solid #8ca0b0;
  transform: rotate(45deg);
}

.component-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 58px;
}

.component-card {
  min-height: 282px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.component-card.featured {
  background: #f7fbfc;
  border-color: #bfd7e1;
}

.component-card p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.component-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 14px;
}

.component-icon.aca {
  color: #7e531a;
  background: #ffedca;
  font-family: Georgia, serif;
  font-size: 32px;
  font-style: italic;
}

.component-icon.mfga {
  gap: 3px;
  background: #dceef4;
}

.component-icon.mfga span {
  width: 7px;
  background: var(--blue);
  border-radius: 6px;
}

.component-icon.mfga span:nth-child(1) { height: 17px; opacity: .55; }
.component-icon.mfga span:nth-child(2) { height: 29px; opacity: .78; }
.component-icon.mfga span:nth-child(3) { height: 39px; }

.component-icon.plg {
  position: relative;
  background: var(--mint);
}

.component-icon.plg span,
.component-icon.plg i {
  position: absolute;
  width: 11px;
  height: 11px;
  border: 2px solid #347761;
  border-radius: 50%;
}

.component-icon.plg span {
  left: 12px;
  top: 14px;
  box-shadow: 23px 16px 0 -2px var(--mint), 23px 16px 0 0 #347761;
}

.component-icon.plg i {
  left: 24px;
  bottom: 10px;
}

.component-icon.plg::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 1px;
  background: #347761;
  transform: rotate(28deg);
}

.method-figure {
  margin: 0;
}

.figure-open {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0;
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: zoom-in;
}

.figure-open img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  object-position: top;
  transition: transform .35s ease;
}

.figure-open:hover img {
  transform: scale(1.012);
}

.figure-open > span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 9px 13px;
  color: white;
  background: rgba(17, 45, 70, .9);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 750;
}

.method-figure figcaption {
  max-width: 850px;
  margin: 17px 0 0;
  color: #667586;
  font-size: 14px;
}

.dataset-section {
  background: var(--navy-deep);
  color: white;
}

.dataset-section .eyebrow {
  color: #83bfd8;
}

.dataset-grid {
  display: grid;
  grid-template-columns: .82fr .92fr 1.26fr;
  gap: 52px;
  align-items: center;
}

.dataset-copy h2 {
  font-size: clamp(38px, 3.5vw, 53px);
}

.large-copy {
  color: #b9c8d4;
  font-size: 18px;
}

.dataset-note {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 32px;
}

.dataset-note > span {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid #7295ac;
  border-radius: 50%;
  color: #efbd78;
  font-family: Georgia, serif;
  font-size: 20px;
}

.dataset-note p {
  margin: 0;
  color: #aebfcb;
  font-size: 13px;
}

.dataset-note strong {
  display: block;
  color: white;
}

.challenge-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #36536a;
}

.dataset-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0 12px;
  padding: 15px 8px;
  color: #9fb2c0;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #36536a;
  cursor: pointer;
  transition: color .2s ease, padding-left .2s ease, background .2s ease;
}

.dataset-item span {
  grid-row: 1 / 3;
  color: #6f8799;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  padding-top: 4px;
}

.dataset-item strong {
  font-size: 14px;
}

.dataset-item em {
  color: #708a9d;
  font-size: 11px;
  font-style: normal;
}

.dataset-item:hover,
.dataset-item.active {
  padding-left: 14px;
  color: white;
  background: rgba(255, 255, 255, .04);
}

.dataset-item.active span {
  color: #efbd78;
}

.dataset-preview {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid #45627a;
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .28);
}

.dataset-preview img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: opacity .18s ease;
}

.dataset-preview figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 34px 20px 17px;
  background: linear-gradient(transparent, rgba(8, 26, 41, .92));
}

.dataset-preview figcaption span {
  color: #efbd78;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.dataset-preview figcaption strong {
  font-size: 14px;
}

.results-section {
  background: #f7f9fb;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.metric-card {
  min-height: 310px;
  padding: 29px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.metric-card.metric-primary {
  color: white;
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  box-shadow: 0 22px 50px rgba(17, 45, 70, .18);
}

.metric-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 37px;
}

.metric-top span {
  font-size: 14px;
  font-weight: 820;
}

.metric-top em {
  color: #7d8b99;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.metric-primary .metric-top em {
  color: #9db0be;
}

.metric-card > strong {
  display: block;
  margin-bottom: 18px;
  font-family: Georgia, serif;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -.04em;
}

.metric-bar {
  height: 7px;
  overflow: hidden;
  margin: 0 0 26px;
  background: #eaf0f3;
  border-radius: 99px;
}

.metric-bar i {
  display: block;
  width: var(--value);
  height: 100%;
  background: linear-gradient(90deg, var(--blue), #75b7ce);
  border-radius: inherit;
}

.metric-card p {
  margin-bottom: 0;
  color: #73808e;
  font-size: 14px;
}

.metric-primary p {
  color: #aebfcb;
}

.metric-compare {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin: 0 0 27px;
  color: #9bb0c0;
  font-size: 11px;
}

.metric-compare i {
  height: 1px;
  background: #557185;
}

.metric-compare b {
  color: #efbd78;
}

.metric-footnote {
  margin: 18px 2px 0;
  color: #84919e;
  font-size: 12px;
}

.demo-section {
  background: white;
}

.demo-heading {
  max-width: 840px;
  margin-bottom: 34px;
}

.demo-heading p:last-child {
  min-height: 58px;
}

.scenario-tabs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  margin-bottom: 20px;
  padding-bottom: 2px;
}

.scenario-tab {
  flex: 0 0 auto;
  padding: 9px 14px;
  color: #657687;
  background: #f3f6f8;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 780;
  cursor: pointer;
}

.scenario-tab:hover,
.scenario-tab.active {
  color: white;
  background: var(--navy-deep);
}

.video-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.video-panel {
  overflow: hidden;
  background: #e9edf0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.video-panel.ours {
  border-color: #deb4b0;
  box-shadow: 0 20px 45px rgba(203, 93, 86, .1);
}

.video-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 17px;
  color: #768593;
  background: white;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.video-label strong {
  color: var(--ink);
  font-size: 14px;
}

.ours .video-label span {
  color: var(--coral);
}

.video-panel video {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #10161b;
  object-fit: cover;
}

.demo-caption {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 19px 4px;
  border-bottom: 1px solid var(--line);
}

.demo-caption span {
  color: var(--coral);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.demo-caption strong {
  font-size: 15px;
}

.demo-caption p {
  margin: 0;
  color: #8895a1;
  font-size: 11px;
}

.resources-section {
  background: #f7f9fb;
}

.resource-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 84px;
  align-items: center;
}

.resource-copy > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.citation-card {
  overflow: hidden;
  color: #dfe9ef;
  background: #10283d;
  border: 1px solid #26455c;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(16, 40, 61, .17);
}

.citation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  color: #8fa7b8;
  border-bottom: 1px solid #2a465b;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.citation-head button {
  padding: 4px 10px;
  color: #efbd78;
  background: transparent;
  border: 1px solid #526a7b;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.citation-head button:hover {
  background: rgba(255, 255, 255, .07);
}

.citation-card pre {
  max-height: 365px;
  overflow: auto;
  margin: 0;
  padding: 25px;
  font: 12px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}

.site-footer {
  padding: 45px 0;
  color: #8b99a6;
  background: #0d2233;
  border-top: 1px solid #1f3a4f;
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  color: white;
}

.footer-brand .brand-mark {
  border-color: #7594a8;
}

.footer-inner p {
  margin: 10px 0 0;
  font-size: 13px;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  text-align: right;
  font-size: 11px;
}

.lightbox {
  width: min(96vw, 1760px);
  max-width: none;
  max-height: 94vh;
  overflow: auto;
  padding: 38px 12px 12px;
  background: white;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .3);
}

.lightbox::backdrop {
  background: rgba(8, 22, 34, .78);
  backdrop-filter: blur(5px);
}

.lightbox img {
  width: 100%;
  max-width: none;
}

.lightbox-close {
  position: fixed;
  right: 3.5vw;
  top: 4vh;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--navy-deep);
  border: 0;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(40, 120, 165, .44);
  outline-offset: 3px;
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .hero-copy {
    max-width: 850px;
  }

  .hero-visual {
    max-width: 850px;
  }

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

  .dataset-copy {
    grid-column: 1 / -1;
    max-width: 780px;
  }

  .resource-grid {
    gap: 45px;
  }
}

@media (max-width: 820px) {
  body {
    font-size: 17px;
  }

  .section {
    padding: 82px 0;
  }

  .container {
    width: min(calc(100% - 34px), var(--container));
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 17px 25px;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(17, 45, 70, .1);
    transform: translateY(-140%);
    visibility: hidden;
    transition: transform .25s ease, visibility .25s ease;
  }

  .site-nav.open {
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav a {
    padding: 14px;
    font-size: 17px;
    border-bottom: 1px solid #edf1f3;
  }

  .site-nav a::after {
    display: none;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .split-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .challenge-grid,
  .component-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .challenge-card {
    min-height: 280px;
  }

  .stage-rail {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .stage-arrow {
    height: 54px;
  }

  .stage-arrow i {
    width: 2px;
    height: 34px;
    margin-top: 4px;
  }

  .stage-arrow i::after {
    right: -4px;
    top: auto;
    bottom: 0;
    transform: rotate(135deg);
  }

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

  .dataset-copy {
    grid-column: auto;
  }

  .video-compare {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .section {
    padding: 70px 0;
  }

  .hero {
    padding-top: 55px;
  }

  .status {
    margin-bottom: 23px;
  }

  h1 {
    font-size: clamp(43px, 13vw, 57px);
  }

  h2 {
    font-size: clamp(34px, 10vw, 45px);
  }

  .hero-deck {
    font-size: 18px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    flex: 1 1 45%;
  }

  .hero-actions .text-link {
    flex: 1 0 100%;
  }

  .hero-visual {
    margin: 0 -5px;
    padding: 8px;
    border-radius: 14px;
    transform: none;
  }

  .visual-toolbar {
    display: none;
  }

  .visual-legend {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 7px 15px;
    padding: 10px 6px 3px;
    font-size: 9px;
  }

  .fact-strip {
    grid-template-columns: 1fr 1fr;
    margin-top: 55px;
  }

  .fact-strip div {
    min-height: 96px;
    padding: 18px;
    border-bottom: 1px solid var(--line);
  }

  .fact-strip div:nth-child(2) {
    border-right: 0;
  }

  .fact-strip div:nth-child(3),
  .fact-strip div:nth-child(4) {
    border-bottom: 0;
  }

  .fact-strip strong {
    font-size: 28px;
  }

  .challenge-card,
  .component-card,
  .metric-card {
    padding: 24px;
  }

  .stage {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 26px;
  }

  .stage-number {
    width: max-content;
  }

  .method-figure .figure-open img {
    height: 330px;
  }

  .dataset-grid {
    gap: 36px;
  }

  .dataset-preview {
    margin: 0 -3px;
  }

  .metric-card {
    min-height: 285px;
  }

  .scenario-tabs {
    margin-right: -17px;
    padding-right: 17px;
  }

  .demo-caption {
    grid-template-columns: auto 1fr;
  }

  .demo-caption p {
    grid-column: 1 / -1;
  }

  .resource-buttons {
    align-items: stretch;
  }

  .resource-buttons .button {
    width: 100%;
  }

  .citation-card pre {
    padding: 20px;
    font-size: 10px;
  }

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

  .footer-meta {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
