:root {
  --ink: #17201d;
  --muted: #5b6760;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #dce2dc;
  --field: #eff7f1;
  --sky: #eaf4f7;
  --sun: #f2b84b;
  --leaf: #2f7c61;
  --clay: #b86950;
  --night: #10221b;
  --shadow: 0 18px 46px rgba(20, 32, 26, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 70px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(16, 34, 27, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--night);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #34443d;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  border-bottom-color: var(--leaf);
}

.nav-links .contact-link {
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 34, 27, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--night);
}

.nav-links .contact-link:hover {
  border-color: var(--leaf);
  background: #eef7f1;
}

.contact-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: var(--night);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 70px 32px 30px;
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--leaf);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f6cf6a;
}

.hero h1 {
  margin: 0;
  font-size: clamp(56px, 10vw, 132px);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-title {
  max-width: 980px;
  margin: 20px 0 0;
  font-size: clamp(22px, 3.2vw, 40px);
  line-height: 1.12;
  font-weight: 800;
  overflow-wrap: break-word;
}

.hero-summary {
  max-width: 760px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  overflow-wrap: break-word;
}

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

.hero-media {
  position: relative;
  z-index: 1;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 0 32px 56px;
}

.hero-media img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #f8faf5;
}

.resource {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.resource.disabled {
  cursor: default;
  opacity: 0.72;
}

.resource-contact {
  gap: 8px;
}

.resource-contact svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.resource-note {
  max-width: 700px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 700;
}

.stats-band {
  max-width: 1180px;
  margin: -34px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid rgba(16, 34, 27, 0.12);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stat-item {
  min-height: 118px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.stat-item:last-child {
  border-right: 0;
}

.stat-item span {
  color: var(--night);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.05;
  font-weight: 900;
}

.stat-item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 78px 32px;
}

.section h2 {
  max-width: 900px;
  margin: 0 0 28px;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section p {
  color: #34443d;
  font-size: 17px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 44px;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature,
.data-card,
.benchmark-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
}

.feature:nth-child(2),
.data-card:nth-child(2),
.benchmark-card:nth-child(2) {
  background: var(--field);
}

.feature:nth-child(3),
.data-card:nth-child(3),
.benchmark-card:nth-child(3) {
  background: var(--sky);
}

.feature h3,
.data-card h3,
.benchmark-card h3,
.table-block h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.2;
}

.feature p,
.data-card p,
.benchmark-card p {
  margin: 0;
  font-size: 15px;
}

.media-wide {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px 48px;
}

.wide-figure,
.section-figure,
.gallery-grid figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(20, 32, 26, 0.08);
}

.wide-figure img {
  width: 100%;
  height: auto;
  background: #f8faf5;
}

figcaption {
  padding: 16px 18px 18px;
  color: #46564f;
  font-size: 14px;
  line-height: 1.55;
}

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

.trajectory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 32px 0 38px;
}

.trajectory-grid figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(20, 32, 26, 0.08);
}

.trajectory-grid img {
  width: 100%;
  height: auto;
  background: #f8faf5;
}

.dataset-release-note {
  margin: -12px 0 30px;
  padding: 16px 18px;
  border: 1px solid rgba(47, 124, 97, 0.24);
  border-radius: 8px;
  background: #eef7f1;
  color: #30433b;
  font-weight: 700;
}

.dataset-release-note a {
  color: var(--leaf);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section-figure {
  margin: 36px 0;
}

.section-figure img {
  width: 100%;
  height: auto;
  background: #f8faf5;
}

.table-block {
  margin: 40px 0 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  font-size: 14px;
}

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

th {
  color: var(--night);
  background: #f2f0e9;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

tbody tr:nth-child(even) td {
  background: #fcfbf8;
}

.ours-row td {
  background: #edf7ee !important;
  font-weight: 800;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  background: #f8faf5;
}

.comparison-section {
  max-width: none;
  padding-left: max(32px, calc((100vw - 1180px) / 2 + 32px));
  padding-right: max(32px, calc((100vw - 1180px) / 2 + 32px));
  background: #f3f1eb;
}

.compact-table {
  min-width: 860px;
}

.benchmark-card {
  min-height: 184px;
}

.benchmark-card strong {
  display: block;
  margin-top: 14px;
  color: var(--clay);
  font-size: 15px;
}

.benchmark-gallery {
  grid-template-columns: 1fr;
}

.benchmark-gallery img {
  height: auto;
}

.citation-section {
  padding-top: 72px;
}

.citation-note {
  max-width: 760px;
}

pre {
  max-width: 980px;
  margin: 24px 0 0;
  padding: 20px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111c17;
  color: #e8efe9;
}

code {
  font-family: Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 14px;
  line-height: 1.55;
}

.footer {
  padding: 28px 32px 44px;
  color: #617068;
  text-align: center;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 980px) {
  .topbar {
    padding: 0 22px;
  }

  .nav-links {
    gap: 16px;
  }

  .hero {
    min-height: 0;
  }

  .stats-band {
    margin: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-item:nth-child(2n) {
    border-right: 0;
  }

  .two-column,
  .trajectory-grid,
  .data-grid,
  .benchmark-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .media-wide {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (max-width: 700px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 18px;
  }

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

  .hero {
    min-height: 0;
  }

  .hero-copy,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-copy {
    width: auto;
    max-width: none;
    padding-top: 58px;
    padding-bottom: 24px;
  }

  .hero-media {
    width: 76%;
    max-width: 300px;
    margin: 0 auto 42px;
    padding: 0;
  }

  .hero-media img,
  .hero-title,
  .hero-summary {
    max-width: 100%;
  }

  .hero-title,
  .hero-summary {
    white-space: normal;
    word-break: normal;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-summary {
    font-size: 16px;
  }

  .resource {
    width: 100%;
  }

  .hero-title,
  .hero-summary {
    max-width: 335px;
  }

  .stats-band {
    grid-template-columns: 1fr;
  }

  .stat-item {
    min-height: 96px;
    border-right: 0;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .section h2 {
    font-size: 34px;
  }

  figcaption {
    font-size: 13px;
  }
}
