:root {
  color-scheme: light;
  --ink: #16202a;
  --muted: #5d6b78;
  --soft: #f7faf8;
  --paper: #ffffff;
  --line: #dbe5e4;
  --teal: #0f766e;
  --teal-soft: #dff5ef;
  --coral: #d9634f;
  --amber: #d69620;
  --indigo: #4757a8;
  --green: #2e8c55;
  --shadow: 0 18px 48px rgba(23, 36, 48, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(237, 249, 245, 0.95), rgba(255, 251, 240, 0.94) 48%, rgba(245, 248, 255, 0.96)),
    #fbfdfb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "Noto Sans CJK SC", "Hiragino Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 118, 110, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 87, 168, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 86%);
}

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

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

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

button {
  font: inherit;
}

#field {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-shell {
  position: relative;
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  margin: 0 auto;
  padding: 14px max(16px, calc((100% - 1180px) / 2));
  background: rgba(247, 250, 248, 0.9);
  backdrop-filter: blur(18px);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 118, 110, 0.22), rgba(217, 99, 79, 0.18), transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 8px;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.12);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 8px;
  color: #30414f;
  font-size: 0.9rem;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.78);
  color: var(--teal);
}

.header-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 152px;
  height: 42px;
  border: 1px solid rgba(22, 32, 42, 0.1);
  border-radius: 8px;
  background: #16202a;
  padding: 8px 12px;
  box-shadow: 0 10px 26px rgba(22, 32, 42, 0.12);
}

.header-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section-band {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
}

.hero {
  position: relative;
  display: grid;
  min-height: 82vh;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 56px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 86px 0 auto auto;
  width: min(560px, 52%);
  opacity: 0.18;
  filter: saturate(1.08) contrast(1.03);
  transform: rotate(-2deg);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.hero-content {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 1040px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 940px;
  margin-bottom: 22px;
  font-size: 4.1rem;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: 2.35rem;
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  font-size: 1.12rem;
  line-height: 1.28;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  color: #344451;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 30px;
}

.action-button {
  display: inline-flex;
  width: 160px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(15, 118, 110, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  color: #243340;
  font-weight: 750;
  box-shadow: 0 8px 22px rgba(32, 47, 56, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.action-button:hover,
.action-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 110, 0.62);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.13);
  outline: none;
}

.button-icon {
  display: inline-grid;
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  place-items: center;
  color: #0f766e;
}

.button-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.button-icon img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.authors {
  max-width: min(1060px, 100%);
  color: var(--muted);
}

.authors p {
  margin-bottom: 6px;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
}

.authors p:first-child {
  color: #1f2b36;
  font-weight: 740;
}

.authors sup {
  color: var(--teal);
  font-weight: 850;
}

.affiliation-line {
  font-size: 0.82rem;
}

.stats-ribbon {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding-top: 22px;
}

.stat-tile {
  min-height: 118px;
  padding: 18px;
  border: 1px solid rgba(22, 32, 42, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 32px rgba(30, 45, 54, 0.08);
}

.stat-tile strong {
  display: block;
  color: var(--teal);
  font-size: 2rem;
  line-height: 1.05;
}

.stat-tile span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 34px;
}

.section-heading > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
}

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

.feature-card {
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(22, 32, 42, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 12px 30px rgba(31, 45, 52, 0.08);
}

.feature-card:nth-child(2) {
  border-color: rgba(217, 99, 79, 0.22);
}

.feature-card:nth-child(3) {
  border-color: rgba(71, 87, 168, 0.2);
}

.feature-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-card p,
.agent-points span,
.paper-figure figcaption,
.modal-theme,
.modal-rationale p {
  color: var(--muted);
}

.paper-figure {
  margin: 34px 0 0;
}

.paper-figure img {
  width: 100%;
  border: 1px solid rgba(22, 32, 42, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.paper-figure figcaption {
  margin-top: 10px;
  font-size: 0.92rem;
}

.paper-figure.compact {
  max-width: 940px;
}

.benchmark-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  margin-top: 28px;
}

.benchmark-figures .paper-figure {
  margin-top: 0;
}

.accent-band {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background:
    linear-gradient(120deg, rgba(223, 245, 239, 0.72), rgba(255, 252, 241, 0.72)),
    rgba(255, 255, 255, 0.52);
  border-top: 1px solid rgba(15, 118, 110, 0.12);
  border-bottom: 1px solid rgba(217, 99, 79, 0.12);
}

.agent-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 18px;
  align-items: stretch;
}

.agent-flow .paper-figure {
  margin-top: 0;
  display: grid;
  align-content: start;
}

.agent-points {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
}

.agent-points article {
  padding: 14px;
  border: 1px solid rgba(22, 32, 42, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.agent-points strong,
.agent-points span {
  display: block;
}

.agent-points strong {
  margin-bottom: 8px;
}

.leaderboard-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 28px;
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid rgba(22, 32, 42, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(31, 45, 52, 0.08);
}

.leaderboard-table th,
.leaderboard-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(22, 32, 42, 0.08);
  text-align: left;
  font-size: 0.92rem;
  white-space: nowrap;
}

.leaderboard-table th {
  color: #314250;
  background: rgba(223, 245, 239, 0.72);
  font-weight: 820;
}

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

.leaderboard-table .winner td {
  background: linear-gradient(90deg, rgba(223, 245, 239, 0.84), rgba(255, 248, 230, 0.7));
  color: #0d3f3a;
  font-weight: 820;
}

.result-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.result-highlights div {
  display: grid;
  align-content: center;
  min-height: 94px;
  padding: 16px;
  border: 1px solid rgba(22, 32, 42, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.result-highlights strong {
  color: var(--coral);
  font-size: 1.8rem;
  line-height: 1.05;
}

.result-highlights span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.leaderboard-chart {
  width: 100%;
  margin-top: 28px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(22, 32, 42, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.75);
  color: #314250;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.filter-button:hover,
.filter-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(15, 118, 110, 0.32);
  outline: none;
}

.filter-button.active {
  border-color: rgba(15, 118, 110, 0.38);
  background: var(--teal);
  color: #ffffff;
}

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

.sample-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 510px;
  overflow: hidden;
  border: 1px solid rgba(22, 32, 42, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(28, 43, 52, 0.09);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.sample-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 118, 110, 0.28);
  box-shadow: 0 18px 40px rgba(28, 43, 52, 0.13);
}

.sample-mosaic {
  position: relative;
  display: grid;
  height: 218px;
  gap: 3px;
  padding: 3px;
  background: #eef4f1;
}

.sample-mosaic.count-1 {
  grid-template-columns: 1fr;
}

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

.sample-mosaic.count-3,
.sample-mosaic.count-4,
.sample-mosaic.count-many {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

.sample-mosaic img {
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
  background: #f8faf8;
}

.sample-mosaic .more-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(22, 32, 42, 0.82);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 750;
}

.sample-body {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 11px;
  padding: 18px;
}

.sample-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.sample-meta span,
.sample-labels span,
.modal-meta span,
.modal-labels span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid rgba(22, 32, 42, 0.1);
  border-radius: 8px;
  background: rgba(247, 250, 248, 0.88);
  color: #314250;
  font-size: 0.78rem;
  font-weight: 740;
}

.sample-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.sample-title {
  margin: 0;
  font-size: 1rem;
}

.sample-title span {
  color: var(--muted);
  font-weight: 680;
}

.sample-excerpt {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
}

.sample-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.sample-footer span {
  color: #667481;
  font-size: 0.82rem;
}

.open-sample {
  min-width: 112px;
  min-height: 38px;
  border: 1px solid rgba(15, 118, 110, 0.28);
  border-radius: 8px;
  background: #ffffff;
  color: var(--teal);
  font-weight: 780;
  cursor: pointer;
}

.open-sample:hover,
.open-sample:focus-visible {
  background: var(--teal-soft);
  outline: none;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(22, 32, 42, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
}

.citation-band {
  padding-top: 70px;
}

.bibtex {
  max-width: 900px;
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  border: 1px solid rgba(22, 32, 42, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  color: #243340;
  box-shadow: 0 12px 30px rgba(31, 45, 52, 0.08);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 42px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(22, 32, 42, 0.1);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(17, 27, 35, 0.42);
  backdrop-filter: blur(12px);
}

.modal.is-open {
  display: flex;
}

.modal-panel {
  position: relative;
  width: min(1160px, 100%);
  max-height: calc(100vh - 44px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: #fbfdfb;
  box-shadow: 0 28px 80px rgba(17, 27, 35, 0.28);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid rgba(22, 32, 42, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: #243340;
  cursor: pointer;
}

.modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  max-height: calc(100vh - 44px);
}

.modal-gallery {
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  min-height: 620px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(236, 246, 242, 0.9), rgba(255, 251, 240, 0.88));
}

.modal-image-stage {
  position: relative;
  display: grid;
  height: min(52vh, 500px);
  min-height: 360px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(22, 32, 42, 0.1);
  border-radius: 8px;
  background: #ffffff;
}

.modal-image-stage img {
  width: 100%;
  height: 100%;
  max-height: 62vh;
  object-fit: contain;
}

.image-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  min-width: 58px;
  min-height: 36px;
  border: 1px solid rgba(22, 32, 42, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: #243340;
  cursor: pointer;
  transform: translateY(-50%);
}

.prev-image {
  left: 12px;
}

.next-image {
  right: 12px;
}

.modal-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.modal-thumbs button {
  height: 58px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #ffffff;
  padding: 0;
  cursor: pointer;
}

.modal-thumbs button.active {
  border-color: var(--teal);
}

.modal-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-copy {
  display: grid;
  grid-template-rows: auto auto auto auto minmax(0, 1fr) auto;
  gap: 12px;
  max-height: calc(100vh - 44px);
  padding: 28px;
  overflow: hidden;
}

.modal-copy h3 {
  margin-bottom: 0;
  padding-right: 70px;
  font-size: 1.45rem;
}

.modal-meta,
.modal-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.modal-text {
  min-height: 210px;
  overflow: auto;
  padding: 16px;
  border: 1px solid rgba(22, 32, 42, 0.1);
  border-radius: 8px;
  background: #ffffff;
  color: #273744;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.modal-rationale {
  padding: 14px 16px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 8px;
  background: rgba(223, 245, 239, 0.48);
}

.modal-rationale strong {
  display: block;
  margin-bottom: 6px;
}

.modal-rationale p {
  margin: 0;
  overflow-wrap: anywhere;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 70;
  max-width: min(520px, calc(100% - 32px));
  padding: 12px 14px;
  border: 1px solid rgba(22, 32, 42, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: #243340;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-media {
    width: 68%;
    opacity: 0.12;
  }

  .stats-ribbon,
  .feature-grid,
  .benchmark-figures,
  .sample-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agent-flow,
  .leaderboard-wrap,
  .modal-layout {
    grid-template-columns: 1fr;
  }

  .leaderboard-wrap {
    overflow-x: auto;
  }

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

  .modal-panel,
  .modal-layout,
  .modal-copy {
    max-height: none;
  }

  .modal-panel {
    max-height: calc(100vh - 28px);
    overflow: auto;
  }

  .modal-gallery {
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .site-header {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
  }

  .header-logo {
    justify-self: end;
    width: 132px;
    height: 38px;
    padding: 7px 10px;
  }

  .nav-links {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: flex-start;
    gap: 4px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 5px 6px;
    font-size: 0.76rem;
  }

  .section-band {
    width: min(100% - 24px, 1180px);
    padding: 54px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
    padding-bottom: 28px;
  }

  h1 {
    font-size: 2.02rem;
    line-height: 1.08;
  }

  h2 {
    font-size: 1.7rem;
  }

  .hero-copy {
    font-size: 0.96rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 328px);
    gap: 8px;
    margin: 20px 0 20px;
  }

  .action-button {
    width: 100%;
    min-height: 38px;
    padding: 8px 12px;
  }

  .action-button:last-child {
    grid-column: 1 / -1;
    width: calc((100% - 8px) / 2);
    justify-self: center;
  }

  .authors {
    min-width: 0;
  }

  .authors p {
    max-width: 100%;
    margin-bottom: 4px;
  }

  .hero-media {
    inset: 170px -18% auto auto;
    width: 98%;
  }

  .stats-ribbon,
  .feature-grid,
  .benchmark-figures,
  .sample-grid,
  .result-highlights {
    grid-template-columns: 1fr;
  }

  .stat-tile {
    min-height: 94px;
  }

  .leaderboard-table th,
  .leaderboard-table td {
    padding: 10px;
    font-size: 0.84rem;
  }

  .sample-card {
    min-height: 480px;
  }

  .modal {
    padding: 14px;
  }

  .modal-gallery,
  .modal-copy {
    padding: 16px;
  }

  .modal-image-stage {
    height: 360px;
    min-height: 300px;
  }

  .image-nav {
    top: auto;
    bottom: 10px;
    transform: none;
  }

  .modal-copy h3 {
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  #field {
    display: none;
  }
}
