:root {
  --ink: #20314a;
  --muted: #627087;
  --border: #e3e9f1;
  --nav-height: 64px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans", Arial, sans-serif;
  color: var(--ink);
}

a {
  color: #2464bd;
}

a:hover {
  color: #17488e;
}

:focus-visible {
  outline: 3px solid #3273dc;
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 50;
  padding: 12px;
  background: white;
}

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

.hero-body {
  padding: 4.5rem 1.5rem 3rem;
}

.publication-title {
  max-width: 1150px;
  margin: 0 auto 1.25rem !important;
  font-family: "Google Sans", Arial, sans-serif;
  font-size: 2.75rem;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: #202936;
}

.title-line {
  display: block;
}

.brand,
.small-caps {
  font-variant: small-caps;
  letter-spacing: -0.02em;
}

.publication-venue {
  display: inline-block;
  max-width: 100%;
  margin: 0.25rem 0 1.5rem;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  color: #a65b11;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.venue-name {
  display: block;
  font-size: 1.25rem;
  line-height: 1.6;
  letter-spacing: normal;
}

.venue-short {
  display: block;
  margin-top: 0.2rem;
}

.publication-authors {
  font-size: 1.15rem;
  line-height: 1.9;
}

.author-block {
  display: inline-block;
}

.affiliations {
  margin-top: 0.6rem;
  font-size: 1.06rem;
}

.affiliations span + span {
  margin-left: 1.5rem;
}

.author-notes {
  margin: 0.7rem auto 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.85;
}

.publication-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  margin: 0.35rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: #f1f3f6;
  color: #526073;
  border: 1px solid var(--border);
  font-weight: 600;
}

.resource-link .icon {
  margin-right: 0.4rem;
}

.hero-summary {
  max-width: 780px;
  margin: 1.8rem auto 0;
  color: #526073;
  font-size: 1.05rem;
  line-height: 1.8;
}

.subnav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid #f1f3f7;
  border-bottom: 1px solid var(--border);
}

.subnav .inner {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 1rem;
  overflow-x: auto;
}

.subnav a {
  flex-shrink: 0;
  padding: 0.55rem 0.8rem;
  color: #526073;
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 600;
}

.subnav a:hover {
  color: #225fb4;
  background: #edf3fc;
}

section[id] {
  scroll-margin-top: calc(var(--nav-height) + 20px);
}

.section {
  padding: 3.5rem 1.5rem;
}

.section-tinted {
  background: #f8faff;
  border-block: 1px solid #edf1f7;
}

.section-heading {
  position: relative;
  display: inline-block;
  padding-bottom: 0.85rem;
  color: #202936;
}

.section-heading::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 4rem;
  height: 4px;
  border-radius: 4px;
  content: "";
  transform: translateX(-50%);
  background: linear-gradient(90deg, #3273dc, #90b9f7);
}

.section-lead {
  max-width: 790px;
  margin: 0 auto 2rem;
  text-align: center;
  color: #526073;
  line-height: 1.8;
}

.content {
  line-height: 1.85;
}

.abstract-copy {
  max-width: 830px;
  margin: 0 auto;
  text-align: justify;
}

.intro-video {
  position: relative;
  max-width: 960px;
  margin: 1.7rem auto 0;
  overflow: hidden;
  border-radius: 12px;
  background: #05090d;
}

.intro-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.intro-video-play {
  position: absolute;
  right: clamp(0.5rem, 2vw, 1.25rem);
  bottom: clamp(0.5rem, 2vw, 1.25rem);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(10, 17, 26, 0.92);
  color: #fff;
  font: inherit;
  font-size: clamp(0.75rem, 1.5vw, 0.95rem);
  cursor: pointer;
}

.intro-video-play[hidden] {
  display: none;
}

.intro-video-play:hover {
  background: #285fac;
}

.intro-video-play:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.intro-video-duration {
  margin-left: 0.35rem;
  opacity: 0.75;
}

.intro-video-caption,
.intro-video-status {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.intro-video-status:empty {
  display: none;
}

.follow-up {
  max-width: 960px;
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.follow-up strong {
  color: var(--ink);
}

.follow-up-venue {
  white-space: nowrap;
}

.follow-up a {
  color: #285fac;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.figure {
  margin: 1.7rem 0 0;
}

.figure a {
  display: block;
  border-radius: 10px;
}

.figure img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.figure-caption {
  max-width: 900px;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
  text-align: center;
}

.method-card {
  height: 100%;
  padding: 1.7rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  box-shadow: 0 8px 24px -18px #41618b;
}

.card-kicker {
  margin-bottom: 0.7rem;
  color: #3273dc;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.method-card .title {
  line-height: 1.4;
}

.method-card p {
  font-size: 0.95rem;
  line-height: 1.8;
}

.table-container {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow-x: auto;
}

.results-table {
  width: 100%;
  margin: 0 !important;
  font-size: 0.81rem;
}

.results-table th, .results-table td {
  padding: 0.7rem 0.65rem;
  white-space: nowrap;
  text-align: center !important;
  vertical-align: middle !important;
  border-color: #edf0f5;
}

.results-table th:first-child {
  text-align: left !important;
}

.results-table thead th {
  background: #f2f6fc;
  color: #344760;
}

.results-table tbody th {
  font-weight: 500;
}

.table-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.8;
}

.bibtex-box {
  position: relative;
  margin-top: 1.4rem;
  border: 1px solid #334155;
  border-radius: 12px;
  background: #1e293b;
  box-shadow: 0 18px 44px rgba(15,23,42,0.1);
}

.bibtex-box pre {
  padding: 4rem 1.5rem 1.5rem;
  border-radius: 12px;
  color: #d3deed;
  background: transparent;
  overflow-x: auto;
  font-size: 0.82rem;
  line-height: 1.8;
}

.copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 14px;
  border: 1px solid #6278aa;
  border-radius: 6px;
  color: #dbe7ff;
  background: #33456a;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
}

.copy-btn:hover {
  background: #415884;
}

.copy-status {
  min-height: 1.5rem;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer {
  padding: 2.8rem 1.5rem;
  background: #f7f8fa;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.85;
}

.footer p + p {
  margin-top: 0.5rem;
}

.footer .icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--ink);
  font-size: 1.5rem;
}

.footer .icon-link:hover {
  color: #2464bd;
}

@media (max-width: 768px) {
  .publication-title {
    font-size: 2rem;
  }

  .hero-body {
    padding: 3rem 1.2rem 2.2rem;
  }

  .title-line {
    display: inline;
  }

  .publication-authors {
    font-size: 1rem;
  }

  .affiliations {
    font-size: 0.95rem;
  }

  .affiliations span {
    display: block;
  }

  .affiliations span + span {
    margin-left: 0;
  }

  .subnav .inner {
    justify-content: flex-start;
  }

  .subnav a {
    font-size: 0.82rem;
    padding-inline: 0.65rem;
  }

  .section {
    padding: 2.5rem 1.1rem;
  }

  .abstract-copy {
    text-align: left;
  }





  .method-card {
    padding: 1.3rem;
  }

  .figure-caption {
    text-align: left;
    font-size: 0.8rem;
  }

  .bibtex-box pre {
    padding-inline: 1rem;
  }

}

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

}

.resource-link:hover {
  color: #17488e;
  background: #e7effb;
  border-color: #bfd2ed;
}

.author-notes {
  overflow-wrap: break-word;
  overflow-wrap: anywhere;
}

.results-block + .results-block {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.results-intro {
  max-width: 960px;
  margin: 0 auto 1.5rem;
}

.results-table .ours-cell {
  background: #fff1f0;
}

.results-table b {
  color: #be3933;
}

.results-table u {
  text-underline-offset: 0.2em;
}

.results-block .figure {
  max-width: 1080px;
  margin-inline: auto;
}

.results-block .title {
  line-height: 1.4;
}

@media (min-width: 769px) and (max-width: 1023px) {
  .method-columns {
    display: block;
  }
}

.impact-section {
  background: linear-gradient(180deg, #edf4ff 0%, #f8faff 65%, #ffffff 100%);
  border-top: 1px solid #dce6f4;
}

.impact-title {
  color: #183f79;
  font-size: 2.75rem;
  letter-spacing: -0.035em;
}

.subnav .impact-nav {
  color: #245ba5;
  font-weight: 700;
}

.download-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 2rem;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
  padding: 2.5rem;
  border: 1px solid #285fac;
  border-radius: 18px;
  background: linear-gradient(120deg, #163967, #285fac);
  color: white;
  box-shadow: 0 16px 36px -20px #163967;
}

.download-summary .title {
  color: white;
  margin: 0.7rem 0 0;
  line-height: 1.4;
}

.download-summary .card-kicker {
  color: #c9ddff;
}

.download-total {
  color: white;
  font-size: 5.5rem;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.download-period {
  margin-top: 0.6rem;
  color: #d5e4fb;
  font-size: 0.85rem;
}

.download-scope {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.download-models {
  display: flex;
  flex-wrap: wrap;
  margin: -0.25rem;
}

.download-models a {
  display: inline-block;
  margin: 0.25rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid #7d9dc9;
  border-radius: 8px;
  color: white;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
}

.download-models a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.download-note {
  margin-top: 1.25rem;
  color: #d5e4fb;
  font-size: 0.76rem;
  line-height: 1.7;
}

.impact-featured,
.impact-additional {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

.impact-additional {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.25rem;
}

.impact-studies {
  margin-top: 1.25rem;
}

.impact-studies .impact-card .impact-organization {
  font-size: 1.45rem;
}

.impact-card {
  display: flex;
  flex-direction: column;
  padding: 1.7rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  box-shadow: 0 8px 24px -18px #41618b;
}

.impact-featured .impact-card {
  border-top: 4px solid #3273dc;
}

.impact-card > p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.impact-card .impact-kind {
  align-self: flex-start;
  padding: 0.2rem 0.6rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  background: #edf3fc;
  color: #245ba5;
  font-size: 0.7rem;
  font-weight: 600;
}

.impact-card .impact-organization {
  margin-bottom: 0.5rem;
  color: #183f79;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.impact-featured .impact-organization {
  font-size: 1.9rem;
}

.impact-partners {
  display: block;
  margin-top: 0.4rem;
  color: #526783;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: normal;
}

.impact-card .impact-paper {
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}

.impact-card blockquote {
  margin: 0 0 1rem;
  padding-left: 1rem;
  border-left: 3px solid #8eafe0;
  color: #245ba5;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.65;
}

.impact-card .impact-context {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.impact-source {
  display: inline-block;
  padding-top: 1.1rem;
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 600;
}

.impact-sources {
  margin-top: auto;
}

.impact-sources a + a {
  margin-left: 0.75rem;
}

.selected-citations {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  line-height: 1.7;
}

.selected-citations h3 {
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 700;
}

.selected-citations ul {
  padding-left: 1.2rem;
  list-style: disc;
}

.selected-citations li + li {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.citation-organizations {
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.citation-context {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .download-panel {
    grid-template-columns: 1fr;
    grid-gap: 1rem;
    gap: 1rem;
    padding: 1.3rem;
  }

  .download-total {
    font-size: 3.5rem;
  }

  .impact-title {
    font-size: 2.25rem;
  }

  .impact-featured,
  .impact-additional {
    grid-template-columns: 1fr;
  }

  .impact-card {
    padding: 1.3rem;
  }
}
