@import url("https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700;800;900&family=Space+Grotesk:wght@600;700&display=swap");

:root {
  --ink: #f7f8ff;
  --ink-soft: #cdd4e8;
  --ink-muted: #8d96ad;
  --void: #07080d;
  --void-2: #101119;
  --panel: #151720;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(20, 24, 36, 0.13);
  --paper: #f7f7fa;
  --paper-2: #eceff7;
  --text: #111521;
  --text-soft: #465062;
  --cyan: #25d7ff;
  --pink: #ff4fb8;
  --amber: #ffb547;
  --violet: #8d6dff;
  --radius: 8px;
  --shadow-dark: 0 26px 80px rgba(0, 0, 0, 0.35);
  --shadow-paper: 0 20px 60px rgba(18, 24, 38, 0.16);
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--void);
  font-family: var(--font-sans);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #080910 0%, #11101b 52%, #05060a 100%);
  background-size: 54px 54px, 54px 54px, auto;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

picture {
  display: block;
}

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

.hero-shell {
  color: var(--ink);
  min-height: 100vh;
  margin-left: 148px;
  background:
    linear-gradient(115deg, rgba(37, 215, 255, 0.18), transparent 34%),
    linear-gradient(245deg, rgba(255, 79, 184, 0.2), transparent 38%),
    linear-gradient(180deg, rgba(7, 8, 13, 0.15), rgba(7, 8, 13, 0.96));
  border-bottom: 1px solid var(--line);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 148px;
  height: 100vh;
  margin: 0;
  padding: 28px 20px;
  flex-direction: column;
  gap: 48px;
  background: rgba(7, 8, 13, 0.82);
  border-right: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(18px);
}

.nav::before {
  display: none;
}

.brand {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand::before {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  content: "";
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(37, 215, 255, 0.95);
}

.nav-links {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 18px;
}

.nav-links a {
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.46fr);
  gap: 52px;
  align-items: stretch;
  width: min(1040px, calc(100% - 54px));
  min-height: 72vh;
  margin: 0 auto;
  padding: 86px 0 42px;
}

.hero-copy {
  align-self: center;
  max-width: 700px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0;
}

h1 {
  color: transparent;
  background:
    linear-gradient(96deg, #ffffff 0%, #b9f4ff 31%, #ff6bc7 67%, #ffd27a 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 118px;
  font-weight: 700;
  line-height: 0.86;
  text-shadow:
    0 0 30px rgba(37, 215, 255, 0.26),
    0 26px 64px rgba(0, 0, 0, 0.55);
}

.subtitle {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--ink);
  font-size: 36px;
  font-weight: 900;
  line-height: 1.08;
}

.authors-line {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(235, 240, 255, 0.9);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.55;
}

.authors-line sup,
.author-notes sup {
  position: relative;
  top: -0.24em;
  margin-left: 1px;
  color: #9edcff;
  font-size: 0.68em;
  font-weight: 900;
}

.author-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  max-width: 760px;
  margin: 8px 0 0;
  color: rgba(158, 220, 255, 0.78);
  font-size: 12px;
  font-weight: 820;
  line-height: 1.45;
  text-transform: uppercase;
}

.author-notes span {
  white-space: nowrap;
}

.author-notes sup {
  color: #9edcff;
  font-size: 0.76em;
}

.venue-line {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 700;
}

.hero-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin-top: 24px;
  padding: 7px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.hero-flow span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-flow span:nth-of-type(2) {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(37, 215, 255, 0.3), rgba(255, 79, 184, 0.2));
}

.hero-flow i {
  position: relative;
  display: block;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
}

.hero-flow i::after {
  position: absolute;
  top: -4px;
  right: -1px;
  width: 8px;
  height: 8px;
  content: "";
  border-top: 1px solid var(--pink);
  border-right: 1px solid var(--pink);
  transform: rotate(45deg);
}

.resource-panel {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 8px 10px;
  align-self: end;
  justify-self: end;
  justify-content: end;
  align-content: end;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 44px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.resource-badge {
  display: inline-flex;
  min-width: 0;
  width: fit-content;
  max-width: 100%;
  min-height: 25px;
  align-items: stretch;
  justify-self: start;
  --badge-value-bg: #4c9f1f;
  --badge-value-rgb: 76, 159, 31;
  color: var(--ink);
  border: 0;
  border-radius: 4px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 1px 2px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transition: filter 160ms ease, transform 160ms ease;
}

.resource-badge:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.badge-label,
.badge-value {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 7px;
  white-space: nowrap;
}

.badge-label {
  justify-content: center;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.08)),
    #555555;
  font-size: 13px;
  font-weight: 560;
  line-height: 1;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
}

.badge-value {
  justify-content: center;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.1)),
    var(--badge-value-bg);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.42);
}

.resource-project {
  --badge-value-bg: #4c9f1f;
  --badge-value-rgb: 76, 159, 31;
}

.resource-paper {
  --badge-value-bg: #b31b1b;
  --badge-value-rgb: 179, 27, 27;
}

.resource-code {
  --badge-value-bg: #007ec6;
  --badge-value-rgb: 0, 126, 198;
}

.resource-connect {
  --badge-value-bg: #4c9f1f;
  --badge-value-rgb: 76, 159, 31;
}

.resource-connect .badge-value {
  font-size: 11px;
  font-weight: 700;
}

.variant-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(1040px, calc(100% - 54px));
  margin: 0 auto;
  padding: 0 0 62px;
}

.variant-strip article {
  min-height: 116px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.variant-strip article:first-child {
  background:
    linear-gradient(135deg, rgba(37, 215, 255, 0.18), rgba(255, 255, 255, 0.055)),
    rgba(9, 16, 24, 0.72);
}

.variant-strip article:last-child {
  background:
    linear-gradient(135deg, rgba(255, 79, 184, 0.18), rgba(255, 181, 71, 0.11)),
    rgba(17, 12, 22, 0.72);
}

.variant-head {
  display: flex;
  align-items: center;
  gap: 13px;
}

.variant-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
}

.variant-icon {
  position: relative;
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  box-shadow: inset 0 0 22px rgba(255, 255, 255, 0.06);
}

.variant-icon::before,
.variant-icon::after {
  position: absolute;
  content: "";
}

.variant-icon-zero {
  background:
    linear-gradient(135deg, rgba(37, 215, 255, 0.22), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.07);
}

.variant-icon-zero::before {
  top: 12px;
  left: 10px;
  width: 14px;
  height: 14px;
  border: 2px solid #9edcff;
  border-radius: 4px;
}

.variant-icon-zero::after {
  top: 18px;
  left: 26px;
  width: 8px;
  height: 6px;
  border-top: 2px solid #9edcff;
  border-bottom: 2px solid #9edcff;
}

.variant-icon-rich {
  background:
    linear-gradient(135deg, rgba(255, 79, 184, 0.2), rgba(184, 164, 255, 0.14)),
    rgba(255, 255, 255, 0.07);
}

.variant-icon-rich::before {
  top: 10px;
  left: 10px;
  width: 8px;
  height: 8px;
  background: #ff85c8;
  border-radius: 50%;
  box-shadow:
    15px 7px 0 #ffd27a,
    5px 20px 0 #b8a4ff;
}

.variant-icon-rich::after {
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  transform: rotate(-18deg);
}

.variant-strip p {
  max-width: 500px;
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.section {
  padding: 86px 0;
}

main,
.footer {
  margin-left: 148px;
}

.section-dark {
  color: var(--ink);
  background: var(--void);
}

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

.section-tint {
  background:
    linear-gradient(180deg, #e9ecf5 0%, #f8f8fb 100%);
}

.section-grid,
.section-heading,
.media-card {
  width: min(1040px, calc(100% - 54px));
  margin-right: auto;
  margin-left: auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.6fr);
  gap: clamp(30px, 7vw, 88px);
  align-items: start;
}

.section-heading {
  max-width: 920px;
}

.section-heading.centered {
  margin-bottom: 34px;
  text-align: center;
}

h2 {
  color: inherit;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
}

.section-light h2,
.section-tint h2 {
  color: var(--text);
}

.section-light .section-kicker,
.section-tint .section-kicker {
  color: #6c48ff;
}

.section-lead {
  max-width: 760px;
  margin: 22px auto 0;
  color: var(--text-soft);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.5;
}

.section-dark .section-lead {
  color: var(--ink-soft);
}

.abstract-shell {
  width: min(1040px, calc(100% - 54px));
  margin: 0 auto;
}

.abstract-heading {
  margin-bottom: 28px;
  text-align: left;
}

.abstract-heading h2 {
  font-size: 58px;
}

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

.abstract-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(37, 215, 255, 0.13), rgba(255, 255, 255, 0.02) 42%),
    rgba(255, 255, 255, 0.058);
  border: 1px solid rgba(205, 224, 255, 0.15);
  border-radius: var(--radius);
  box-shadow: var(--shadow-dark);
}

.abstract-card:nth-child(2) {
  background:
    linear-gradient(135deg, rgba(125, 98, 255, 0.12), rgba(255, 79, 184, 0.07) 78%),
    rgba(255, 255, 255, 0.056);
}

.abstract-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 26px;
  align-items: end;
  background:
    linear-gradient(135deg, rgba(37, 215, 255, 0.08), rgba(125, 98, 255, 0.11) 72%),
    rgba(255, 255, 255, 0.058);
}

.abstract-card-label {
  display: inline-flex;
  margin-bottom: 13px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.abstract-card:nth-child(2) .abstract-card-label {
  color: #b8a4ff;
}

.abstract-card-wide .abstract-card-label {
  color: #9edcff;
}

.abstract-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 560;
  line-height: 1.62;
}

.abstract-copy strong {
  font-weight: 850;
}

.term-brand {
  color: transparent;
  background: linear-gradient(100deg, #7be7ff 5%, #b8a4ff 48%, #ff85c8 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 18px rgba(37, 215, 255, 0.12);
}

.term-lift {
  color: #71ff71;
  text-shadow: 0 0 18px rgba(113, 255, 113, 0.2);
}

.term-training {
  color: #ff9b36;
  text-shadow: 0 0 18px rgba(255, 155, 54, 0.22);
}

.term-model {
  color: #c6b7ff;
  text-shadow: 0 0 16px rgba(198, 183, 255, 0.18);
}

.term-speed {
  color: #ffd978;
  text-shadow: 0 0 16px rgba(255, 217, 120, 0.22);
}

.abstract-metrics {
  display: grid;
  gap: 18px;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.abstract-metrics span {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.abstract-metrics strong {
  display: block;
  margin-bottom: 6px;
  color: #9edcff;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08;
  text-shadow: 0 0 16px rgba(158, 220, 255, 0.18);
}

.abstract-metrics span:nth-child(2) strong {
  color: #c6b7ff;
  text-shadow: 0 0 16px rgba(198, 183, 255, 0.2);
}

.tag-row {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  color: #f8fbff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.media-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-paper);
}

.media-card.wide-card {
  width: min(1180px, calc(100% - 54px));
}

.visual-stack {
  display: grid;
  gap: 18px;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.visual-pair {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.visual-pair::before {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 50%;
  z-index: 1;
  width: 1px;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(86, 100, 126, 0.34), transparent);
  transform: translateX(-50%);
  pointer-events: none;
}

.visual-card {
  overflow: hidden;
  margin: 0;
  background: #ffffff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-paper);
}

.visual-card img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  background: #ffffff;
}

.plot-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 396px;
  overflow: hidden;
  background: #ffffff;
}

.plot-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.plot-frame-tradeoff img {
  transform: none;
}

.visual-pair .evidence-frame,
.visual-pair .plot-frame {
  height: 396px;
  min-height: 0;
}

.visual-pair .evidence-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.visual-main {
  width: min(980px, 100%);
  justify-self: center;
}

.visual-wide {
  width: min(1120px, 100%);
  justify-self: center;
}

.plot-frame-wide {
  height: auto;
  padding: 20px 18px 12px;
}

.plot-frame-wide img {
  width: 100%;
  height: auto;
}

.visual-pair-analysis {
  align-items: stretch;
}

.analysis-frame,
.evidence-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 18px;
  background: #ffffff;
}

.analysis-frame img,
.evidence-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.evidence-frame {
  min-height: 260px;
}

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.analysis-main {
  grid-column: 1 / -1;
  width: min(980px, 100%);
  justify-self: center;
}

.analysis-grid .analysis-frame {
  min-height: 320px;
}

.analysis-main .analysis-frame {
  min-height: 0;
}

.method-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1040px, calc(100% - 54px));
  margin: -8px auto 24px;
}

.method-points article {
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(37, 215, 255, 0.1), rgba(255, 79, 184, 0.08)),
    rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(20, 24, 36, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 14px 38px rgba(18, 24, 38, 0.09);
}

.method-points span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #6c48ff;
  font-size: 12px;
  font-weight: 900;
}

.method-points strong {
  display: block;
  color: var(--text);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.18;
}

.method-points p {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.48;
}

.media-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 18px;
  color: #dce8ff;
  background:
    linear-gradient(90deg, rgba(37, 215, 255, 0.22), rgba(255, 79, 184, 0.18)),
    #111521;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  gap: 18px;
}

.media-toolbar span {
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.media-scroll {
  overflow-x: hidden;
  background:
    linear-gradient(135deg, #ffffff, #f5f7fc);
  -webkit-overflow-scrolling: touch;
}

.media-scroll img {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
  background: #ffffff;
}

.wide-card .media-scroll img {
  width: 100%;
}

.section-tint .media-scroll img {
  width: 100%;
}

.table-card {
  width: min(1180px, calc(100% - 40px));
}

.table-card .media-scroll img {
  width: 100%;
}

.paper-table-frame {
  padding: 18px;
  background: #ffffff;
}

.paper-table-frame img {
  width: 100%;
  border: 1px solid rgba(20, 24, 36, 0.1);
}

.results-snapshot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(37, 215, 255, 0.08), rgba(141, 109, 255, 0.08)),
    #ffffff;
}

.results-snapshot article {
  padding: 20px;
  background: #f6f8fc;
  border: 1px solid rgba(20, 24, 36, 0.11);
  border-radius: var(--radius);
}

.results-snapshot span {
  display: block;
  color: #6c48ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.results-snapshot strong {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.results-snapshot p {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.results-table-wrap {
  overflow-x: auto;
  padding: 0 20px 20px;
  background: #ffffff;
}

.results-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  color: var(--text);
  font-size: 13px;
}

.results-table th,
.results-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(20, 24, 36, 0.1);
  text-align: right;
  white-space: nowrap;
}

.results-table th:first-child,
.results-table td:first-child,
.results-table th:nth-child(2),
.results-table td:nth-child(2) {
  text-align: left;
}

.results-table th {
  color: #465062;
  background: #f3f5fa;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.results-table td {
  font-weight: 680;
}

.results-table .result-best td {
  color: #151720;
  background: linear-gradient(90deg, rgba(37, 215, 255, 0.09), rgba(255, 79, 184, 0.08));
  font-weight: 900;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: min(1040px, calc(100% - 54px));
  margin: 24px auto 0;
}

figcaption {
  max-width: 900px;
  margin: 0 auto;
  padding: 18px 22px 22px;
  color: #687286;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.48;
  text-align: center;
}

.footer {
  padding: 36px 22px 44px;
  color: var(--ink-muted);
  background: var(--void);
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer p {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .hero-shell,
  main,
  .footer {
    margin-left: 0;
  }

  .nav {
    position: sticky;
    top: 0;
    left: auto;
    align-items: center;
    justify-content: space-between;
    width: min(100% - 30px, 1180px);
    height: auto;
    margin: 0 auto;
    padding: 16px 0;
    flex-direction: row;
    gap: 20px;
    background: transparent;
    border-right: 0;
    backdrop-filter: none;
  }

  .nav::before {
    position: fixed;
    inset: 0 0 auto;
    z-index: -1;
    display: block;
    height: 66px;
    content: "";
    background: rgba(7, 8, 13, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
  }

  .brand {
    font-size: 21px;
  }

  .nav-links {
    align-items: center;
    flex-direction: row;
    gap: 18px;
  }

  .nav,
  .hero,
  .section-grid,
  .section-heading,
  .abstract-shell,
  .media-card,
  .resource-panel,
  .variant-strip {
    width: min(100% - 30px, 1180px);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 64px 0 28px;
  }

  .resource-panel {
    justify-self: start;
    justify-content: start;
    width: fit-content;
    margin: 4px 0 0;
  }

  h1 {
    font-size: 86px;
  }

  .subtitle {
    max-width: 620px;
    font-size: 30px;
  }

  h2 {
    font-size: 52px;
  }

  .abstract-heading h2 {
    font-size: 52px;
  }

  .section-lead {
    font-size: 19px;
  }

  .abstract-copy {
    grid-template-columns: 1fr;
  }

  .abstract-card {
    padding: 24px;
  }

  .abstract-card-wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .abstract-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 18px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

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

  .visual-pair {
    grid-template-columns: 1fr;
  }

  .visual-pair::before {
    display: none;
  }

  .visual-pair .evidence-frame,
  .visual-pair .plot-frame {
    height: auto;
    min-height: 300px;
  }

  .analysis-grid {
    grid-template-columns: 1fr;
    width: min(100% - 30px, 1180px);
  }

  .analysis-main {
    grid-column: auto;
  }

  .method-points,
  .evidence-grid {
    grid-template-columns: 1fr;
    width: min(100% - 30px, 1180px);
  }

  .results-snapshot {
    grid-template-columns: 1fr;
  }

  .plot-frame-tradeoff img {
    transform: none;
  }

  .media-card.wide-card,
  .table-card {
    width: min(100% - 30px, 1180px);
  }
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
  }

  .nav::before {
    height: 108px;
  }

  .nav-links {
    width: 100%;
    gap: 13px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    padding-top: 74px;
  }

  h1 {
    font-size: 64px;
  }

  .subtitle {
    font-size: 25px;
  }

  .authors-line {
    font-size: 13px;
  }

  h2 {
    font-size: 52px;
  }

  .abstract-heading h2 {
    font-size: 46px;
  }

  .venue-line,
  .section-lead {
    font-size: 17px;
  }

  .abstract-card {
    padding: 22px;
  }

  .abstract-card p {
    font-size: 14px;
  }

  .abstract-metrics {
    grid-template-columns: 1fr;
  }

  .variant-strip {
    grid-template-columns: 1fr;
  }

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

  .resource-badge,
  .resource-connect {
    max-width: 100%;
  }

  .resource-connect .badge-value {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .section {
    padding: 62px 0;
  }

  .media-toolbar {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 12px 14px;
  }

  .plot-frame {
    height: 300px;
  }

  .plot-frame-wide {
    height: auto;
  }

  .analysis-frame,
  .evidence-frame {
    min-height: 220px;
    padding: 12px;
  }

  .analysis-main .analysis-frame {
    min-height: 240px;
  }

  .paper-table-frame {
    padding: 12px;
  }

  .results-snapshot {
    padding: 14px;
  }

  .results-snapshot article {
    padding: 16px;
  }

  .results-snapshot strong {
    font-size: 34px;
  }

  .results-table-wrap {
    padding: 0 12px 14px;
  }

  figcaption {
    text-align: left;
  }
}
