:root {
  --ink: #202f3a;
  --muted: #62717b;
  --teal: #147b82;
  --teal-dark: #095b61;
  --mint: #eaf5f2;
  --line: #e1e8e7;
  --paper: #fff;
  --wash: #f5f8f7;
  --blue: #457eb1;
  --radius: 18px;
}
[hidden] {
  display: none !important;
}
.authors sup {
  font-size: 10px;
  margin-left: 3px;
  line-height: 0;
}
.equal-contribution {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
}
.equal-contribution strong {
  color: var(--teal-dark);
}
.affiliations {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px 21px;
  max-width: 890px;
  margin: 18px auto 0;
  font-size: 13px;
  color: var(--muted);
}
.affiliations sup {
  color: var(--teal);
  margin-right: 4px;
}
.publication-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 20px;
}
.lab-identity {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  text-align: left;
  color: var(--ink);
}
.lab-identity:hover,
.lab-footer:hover {
  text-decoration: none;
}
.lab-identity img {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
}
.lab-identity > span {
  display: grid;
  gap: 4px;
}
.lab-identity strong {
  color: var(--teal-dark);
  font-size: 16px;
}
.lab-identity > span > span {
  color: var(--muted);
  font-size: 11px;
}
.lab-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}
.lab-footer img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.why-section,
.results-section {
  border-top: 1px solid var(--line);
}
.demo-preview {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 28px;
  background: var(--mint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.demo-preview > div {
  flex: 1 1 480px;
  min-width: 0;
}
.demo-preview p {
  margin-top: 12px;
}
.motivation-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: 45px;
}
.motivation-copy h3 {
  font-size: 29px;
  margin-bottom: 20px;
}
.motivation-copy p {
  color: var(--muted);
  font-size: 15px;
}
.motivation-copy > a {
  display: inline-block;
  font-size: 13px;
  font-weight: 650;
  margin-top: 24px;
}
.contribution-grid,
.analysis-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.contribution-grid article {
  border-top: 2px solid var(--line);
  padding-top: 24px;
}
.contribution-grid h3,
.analysis-highlights h3 {
  font-size: 20px;
  margin: 14px 0 13px;
}
.contribution-grid p,
.analysis-highlights p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.section-intro {
  color: var(--muted);
  max-width: 920px;
  margin-bottom: 32px;
  font-size: 15px;
  line-height: 1.85;
}
.source-note {
  padding: 19px 23px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: 0 12px 12px 0;
  background: var(--wash);
  font-size: 13px;
  color: var(--muted);
  margin: 25px 0 30px;
}
.source-note strong {
  color: var(--ink);
}
.metric-key {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 28px 0;
  gap: 12px;
}
.metric-key p {
  margin: 0;
  padding: 17px 20px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.metric-key strong {
  display: block;
  color: var(--teal);
  font-size: 15px;
}
.metric-key span {
  font-size: 12px;
  color: var(--muted);
}
.results-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.results-legend > span {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.results-legend strong {
  color: var(--ink);
}
.legend-swatch {
  display: inline-block;
  width: 11px;
  height: 11px;
  background: var(--mint);
  border: 1px solid var(--teal);
  border-radius: 3px;
  margin-right: 3px;
}
.dataset-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 27px;
  padding: 6px;
  background: var(--wash);
  border-radius: 12px;
  width: fit-content;
}
.dataset-tabs button {
  border: 0;
  background: transparent;
  border-radius: 8px;
  color: var(--muted);
  padding: 10px 19px;
  font-size: 13px;
  font-weight: 650;
}
.dataset-tabs button[aria-selected="true"] {
  background: var(--teal);
  color: white;
}
.result-panel h3 {
  font-size: 24px;
  margin-bottom: 5px;
}
.result-panel-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.score-unit {
  color: var(--muted);
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 6px 12px;
}
.result-panel + .result-panel {
  margin-top: 30px;
}
.table-scroll {
  position: relative;
  max-width: 100%;
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-top: 20px;
  background: white;
  scrollbar-color: #b4c8c6 var(--wash);
  isolation: isolate;
}
.table-scroll:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}
.paper-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  min-width: 610px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.paper-table caption {
  padding: 14px 18px;
  color: var(--muted);
  text-align: left;
  font-size: 11px;
  background: var(--wash);
  border-bottom: 1px solid var(--line);
}
.paper-table th,
.paper-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  text-align: right;
}
.paper-table thead {
  background: #edf3f2;
}
.paper-table thead th {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 650;
}
.paper-table th:first-child {
  text-align: left;
}
.paper-table tbody th {
  font-weight: 500;
  min-width: 155px;
  max-width: 250px;
}
.paper-table tbody:last-child tr:last-child > * {
  border-bottom: 0;
}
.paper-table tbody tr {
  --row-fill: white;
  background: var(--row-fill);
}
.paper-table tbody tr:nth-child(even) {
  --row-fill: #f9fbfb;
}
.paper-table tbody tr:hover {
  --row-fill: #edf4f3;
}
.paper-table tbody tr.vgs-row {
  --row-fill: var(--mint);
}
.paper-table tbody tr.vgs-row:hover {
  --row-fill: #dcefe9;
}
.paper-table .vgs-row > * {
  color: var(--teal-dark);
}
.paper-table tbody th[scope="row"],
.paper-table thead tr:first-child > th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--row-fill, #edf3f2);
  box-shadow: 1px 0 var(--line);
}
.paper-table thead tr:first-child > th:first-child {
  z-index: 2;
}
.paper-table .overall-cell {
  background: rgba(20, 123, 130, 0.045);
  border-left: 1px solid #dae6e3;
  border-right: 1px solid #dae6e3;
}
.main-results-table {
  min-width: 660px;
}
.main-results-table thead th {
  white-space: nowrap;
  padding-top: 18px;
  padding-bottom: 18px;
}
.header-detail {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 400;
  font-size: 11px;
}
.main-results-table .model-band th {
  text-align: left;
  background: #e8efee;
  padding: 11px 18px;
  color: var(--ink);
  border-top: 1px solid #d3dfdc;
  border-bottom: 1px solid #d3dfdc;
  font-size: 13px;
  letter-spacing: 0.01em;
}
.backbone-label {
  display: inline-block;
  margin-right: 16px;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}
.main-results-table tbody th {
  font-weight: 500;
  width: 28%;
}
.main-results-table .vgs-row th {
  font-weight: 750;
  box-shadow:
    inset 3px 0 var(--teal),
    1px 0 var(--line);
}
.delta-badge {
  display: inline-block;
  min-width: 61px;
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 12px;
  text-align: center;
}
.delta-positive {
  color: #075d48;
  background: #dcefe6;
}
.delta-negative {
  color: #864512;
  background: #fff1e2;
}
.delta-neutral,
.delta-baseline {
  color: var(--muted);
  background: #edf1f0;
}
.table-scroll-hint {
  display: none;
  margin: 10px 0 0;
  font-size: 11px;
  color: var(--muted);
}
.paired-model-table {
  min-width: 780px;
}
.paper-table thead .model-column-group {
  text-align: center;
  color: var(--teal-dark);
  border-left: 1px solid #d3dfdc;
  padding: 12px 15px;
}
.paired-model-table thead tr:last-child th {
  font-weight: 500;
  font-size: 11px;
  text-align: right;
  white-space: nowrap;
}
.paired-model-table tbody td:nth-child(5) {
  border-left: 1px solid #d3dfdc;
}
.paper-table strong {
  font-weight: 800;
}
.results-note {
  margin-top: 20px;
}
.figure-disclosure {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  background: white;
}
.figure-disclosure summary {
  font-size: 14px;
  font-weight: 650;
  color: var(--teal);
  cursor: pointer;
}
.figure-disclosure[open] summary {
  margin-bottom: 23px;
}
.figure-disclosure .paper-figure {
  border: 0;
  padding: 0;
}
.analysis-section,
.examples-section {
  background: var(--wash);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.wide-figure {
  padding: 24px;
}
.appendix-tables {
  display: grid;
  gap: 12px;
}
.appendix-table {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  min-width: 0;
}
.appendix-table summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  list-style: none;
  padding: 21px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 650;
}
.appendix-table summary::-webkit-details-marker {
  display: none;
}
.appendix-table summary span {
  color: var(--teal);
  font-size: 24px;
  line-height: 1;
}
.appendix-table[open] summary {
  background: var(--wash);
  border-radius: 12px 12px 0 0;
}
.appendix-table[open] summary span {
  transform: rotate(45deg);
}
.details-body {
  padding: 20px 24px 24px;
  min-width: 0;
}
summary:focus-visible {
  outline: 3px solid #edb253;
  outline-offset: 3px;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
  align-items: start;
}
.case-card {
  min-width: 0;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
}
.case-image {
  display: block;
  background: #080b0d;
  padding: 15px;
}
.case-image img {
  display: block;
  width: 100%;
  height: 225px;
  object-fit: contain;
}
.case-content {
  padding: 24px;
}
.case-content .small-label {
  font-size: 9px;
}
.case-content h3 {
  font-size: 20px;
  line-height: 1.4;
  margin: 12px 0 18px;
}
.reference-answer {
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 20px;
}
.reference-answer span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  display: block;
  font-weight: 500;
}
.vgs-answer {
  background: var(--mint);
  border-left: 3px solid var(--teal);
  padding: 14px 15px;
  border-radius: 0 8px 8px 0;
}
.vgs-answer strong {
  font-size: 11px;
  color: var(--teal-dark);
}
.vgs-answer p {
  font-size: 13px;
  line-height: 1.7;
  margin-top: 6px;
}
.case-baselines {
  margin-top: 22px;
}
.case-baselines summary {
  font-size: 12px;
  color: var(--teal);
  font-weight: 650;
  cursor: pointer;
}
.case-baselines dl {
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 0;
}
.case-baselines dt {
  font-weight: 700;
  margin-top: 15px;
}
.case-baselines dd {
  margin: 4px 0 0;
  color: var(--muted);
}
.citation-version {
  margin-top: 20px;
  color: #b4c8ca;
}
.research-scope h2 {
  font-size: 27px;
}
.research-scope p {
  font-size: 14px;
}
.method-settings {
  margin-top: 35px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.method-settings dl {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
}
.method-settings dt {
  font-size: 12px;
  color: var(--muted);
}
.method-settings dd {
  font-size: 19px;
  font-weight: 650;
  margin: 5px 0 0;
  color: var(--teal-dark);
}
@media (max-width: 950px) {
  .table-scroll-hint {
    display: block;
  }
  .motivation-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .lab-identity {
    gap: 10px;
    margin-bottom: 20px;
  }
  .lab-identity img {
    width: 78px;
    height: 78px;
  }
  .lab-identity strong {
    font-size: 14px;
  }
  .lab-identity > span > span {
    font-size: 10px;
  }
  .affiliations {
    display: grid;
    font-size: 11px;
    gap: 7px;
  }
  .equal-contribution {
    font-size: 11px;
  }
  .contribution-grid,
  .analysis-highlights,
  .case-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .metric-key {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .metric-key p {
    padding: 12px 14px;
  }
  .metric-key strong {
    display: inline;
    margin-right: 12px;
  }
  .dataset-tabs {
    gap: 4px;
    width: 100%;
  }
  .dataset-tabs button {
    padding: 9px 10px;
    font-size: 11px;
    flex: 1;
  }
  .source-note {
    padding: 17px;
    font-size: 12px;
  }
  .details-body {
    padding: 17px 13px;
  }
  .appendix-table summary {
    padding: 17px;
    font-size: 13px;
  }
  .paper-table {
    font-size: 12px;
  }
  .paper-table th,
  .paper-table td {
    padding: 10px 12px;
  }
  .main-results-table tbody th {
    min-width: 142px;
  }
  .results-legend {
    gap: 9px;
  }
  .results-legend > span {
    display: inline;
  }
  .wide-figure {
    padding: 12px;
  }
  .method-settings dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    "Segoe UI",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--teal);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #edb253;
  outline-offset: 5px;
}
img {
  max-width: 100%;
  height: auto;
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
p + p {
  margin-top: 20px;
}
.container {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
}
.narrow {
  max-width: 800px;
}
.section {
  padding: 92px 0;
}
.section-kicker,
.small-label {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.13em;
  color: var(--teal);
}
.section-kicker {
  margin-bottom: 17px;
}
h2 {
  font-size: 38px;
  margin-bottom: 25px;
}
h3 {
  font-size: 23px;
}
.fine-print {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}
.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;
  top: -60px;
  left: 15px;
  background: var(--ink);
  color: white;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  height: 74px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav-wrap {
  width: min(1280px, calc(100% - 64px));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.brand > span {
  font-weight: 450;
  color: var(--muted);
  margin-left: -5px;
}
.brand:hover {
  text-decoration: none;
}
.nav-wrap nav {
  display: flex;
  gap: 28px;
}
.nav-wrap nav a {
  font-size: 13px;
  color: var(--muted);
}
.nav-code {
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
}
.nav-code span {
  padding-left: 6px;
  color: var(--teal);
}
.hero {
  text-align: center;
  padding: 76px 0 48px;
  position: relative;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--teal);
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.project-name {
  font-size: 68px;
  line-height: 1.2;
  font-weight: 760;
  letter-spacing: -0.065em;
  margin: 19px 0 22px;
  color: var(--teal);
}
.project-name > span {
  font-weight: 400;
  color: #8ab6b5;
}
.hero h1 {
  font-size: 39px;
  line-height: 1.25;
  letter-spacing: -0.035em;
  max-width: 900px;
  margin: auto;
}
.title-completion {
  font-size: 23px;
  font-weight: 430;
  margin-top: 12px;
  color: var(--muted);
  letter-spacing: -0.015em;
}
.authors {
  max-width: 770px;
  margin: 28px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 20px;
  font-size: 14px;
  color: var(--teal);
}
.hero-description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 27px;
}
.resource-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 650;
  border: 1px solid transparent;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover {
  text-decoration: none;
  transform: translateY(-2px);
}
.button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.button-primary {
  background: var(--ink);
  color: white;
}
.button-primary:hover {
  background: var(--teal-dark);
}
.button-secondary {
  background: #f5f7f7;
  border-color: var(--line);
  color: var(--ink);
}
.button-secondary:hover {
  background: var(--mint);
}
.hero-meta {
  margin-top: 22px;
  display: flex;
  gap: 22px;
  justify-content: center;
  font-size: 11px;
  color: #66767c;
}
.hero-meta span + span {
  position: relative;
}
.hero-meta span + span:before {
  content: "·";
  position: absolute;
  left: -13px;
  color: #9eafaf;
}
.figure-section {
  padding: 17px 0 0;
}
.figure-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 13px;
}
.figure-topline > span:last-child {
  font-size: 12px;
  color: var(--muted);
}
.overview-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fbfcfc;
}
.overview-figure img {
  display: block;
  width: 100%;
  height: auto;
  padding: 22px 20px 10px;
}
.overview-figure figcaption {
  border-top: 1px solid var(--line);
  padding: 19px 30px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  background: white;
}
.lead {
  font-size: 20px;
  line-height: 1.75;
  letter-spacing: -0.01em;
  margin-bottom: 25px;
}
.narrow > p:not(.section-kicker) {
  color: #50616c;
}
.scope-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--wash);
  border-left: 3px solid #89b4ae;
  padding: 20px 24px;
  border-radius: 0 10px 10px 0;
  margin-top: 30px;
  font-size: 13px;
  color: var(--muted);
}
.scope-note > span {
  font-size: 23px;
  line-height: 1.3;
  color: var(--teal);
}
.scope-note strong {
  color: var(--ink);
}
.method-section {
  background: var(--wash);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 40px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  padding-bottom: 4px;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
}
.method-step {
  padding: 30px 27px;
}
.method-step + .method-step {
  border-left: 1px solid var(--line);
}
.step-number {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #89a8a8;
  margin-bottom: 29px;
}
.method-step h3 {
  font-size: 20px;
  margin-bottom: 15px;
}
.method-step p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
  min-height: 95px;
}
.code-label {
  display: block;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  line-height: 1.8;
  color: var(--teal-dark);
  margin-top: 18px;
}
.formula {
  display: flex;
  gap: 13px;
  align-items: center;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 20px;
  color: var(--teal-dark);
  margin-top: 9px;
}
.fraction {
  display: inline-flex;
  flex-direction: column;
  text-align: center;
  line-height: 1.5;
  font-size: 17px;
}
.fraction > span:first-child {
  border-bottom: 1px solid #749994;
  padding: 0 12px;
}
.fraction > span:last-child {
  padding: 0 6px;
}
.interactive-panel {
  margin-top: 35px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
}
.explorer-copy {
  padding: 37px 38px;
}
.explorer-copy h3 {
  font-size: 27px;
  margin: 12px 0 16px;
}
.explorer-copy > p {
  font-size: 13px;
  color: var(--muted);
}
.slider-label {
  margin-top: 26px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
}
.slider-label > span {
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}
input[type="range"] {
  width: 100%;
  accent-color: var(--teal);
  margin: 14px 0 8px;
  cursor: pointer;
}
.slider-extents {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}
.explorer-copy .fine-print {
  font-size: 10px;
  margin-top: 22px;
}
.distribution-panel {
  padding: 38px;
  background: #fafdfc;
  border-left: 1px solid var(--line);
}
.chart-legend {
  display: flex;
  gap: 22px;
  margin-bottom: 33px;
  font-size: 10px;
  color: var(--muted);
  flex-wrap: wrap;
}
.chart-legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 7px;
}
.legend-original {
  background: #c9d7dd;
}
.legend-vgs {
  background: var(--teal);
}
.token-row {
  display: grid;
  grid-template-columns: 50px 1fr 48px;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}
.token-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.bar-stack {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.bar-track {
  height: 9px;
  background: #eff3f3;
  border-radius: 3px;
  overflow: hidden;
}
.prob-bar {
  height: 100%;
  transition: width 0.2s ease;
  border-radius: 3px;
}
.original-bar {
  background: #c9d7dd;
}
.vgs-bar {
  background: var(--teal);
}
.token-value {
  text-align: right;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--teal-dark);
}
.selected-token {
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 21px;
  margin-top: 27px;
  font-size: 11px;
  color: var(--muted);
}
.selected-token strong {
  background: var(--mint);
  color: var(--teal-dark);
  width: 27px;
  height: 27px;
  line-height: 27px;
  text-align: center;
  border-radius: 5px;
}
.selected-token > span {
  margin-left: auto;
  font-size: 10px;
}
.study-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.study-card {
  padding: 30px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.study-card h3 {
  margin-top: 17px;
  font-size: 23px;
}
.study-card p,
.paper-insight p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.study-tags {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  gap: 8px;
  margin: 20px 0;
}
.study-tags li {
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: white;
  font-size: 12px;
  font-weight: 600;
}
.paper-insight {
  display: grid;
  grid-template-columns: 0.8fr 1.7fr;
  gap: 38px;
  align-items: center;
  margin-top: 60px;
}
.paper-insight h3 {
  font-size: 28px;
  line-height: 1.35;
  margin: 16px 0 20px;
}
.paper-insight p + p {
  margin-top: 16px;
}
.paper-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: white;
}
.paper-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.paper-figure figcaption {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 18px;
}
.code-section {
  border-top: 1px solid var(--line);
}
.shared-code,
.contributors {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 25px;
}
.shared-code p,
.contributors p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
  max-width: 650px;
}
.shared-code > a {
  flex-shrink: 0;
  font-family: monospace;
  font-size: 14px;
}
.contributor-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.contributor-links a {
  padding: 9px 14px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
}
@media (max-width: 850px) {
  .paper-insight {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 600px) {
  .study-grid {
    grid-template-columns: 1fr;
  }
  .study-card {
    padding: 23px;
  }
  .shared-code,
  .contributors {
    flex-direction: column;
    align-items: flex-start;
  }
}
.model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.model-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: #fff;
}
.model-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.model-heading .small-label {
  font-size: 9px;
  letter-spacing: 0.07em;
  color: var(--muted);
}
.model-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--teal);
  background: var(--mint);
  font-weight: 700;
  font-size: 23px;
  font-family: Georgia, serif;
}
.model-symbol-alt {
  background: #edf2fa;
  color: var(--blue);
}
.model-card h3 {
  font-size: 26px;
  margin-bottom: 14px;
}
.model-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
}
.model-card > a {
  font-size: 13px;
  font-weight: 650;
}
.model-note {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 6px;
}
.implementation-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 42px 0 65px;
}
.detail-icon {
  font-size: 23px;
  color: var(--teal);
}
.implementation-details h3 {
  font-size: 15px;
  margin-top: 8px;
  margin-bottom: 7px;
  letter-spacing: -0.01em;
}
.implementation-details p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.quickstart {
  padding-top: 35px;
  border-top: 1px solid var(--line);
}
.quickstart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}
.quickstart-header h3 {
  font-size: 27px;
  margin-top: 10px;
}
.quickstart-header > a {
  font-size: 12px;
}
.quickstart > p {
  font-size: 13px;
  color: var(--muted);
}
.code-window {
  background: #1d2d35;
  color: #e1ecef;
  border-radius: 12px;
  overflow: hidden;
  margin: 22px 0 15px;
}
.code-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #35434b;
  padding: 0 20px;
}
.model-tabs {
  display: flex;
  gap: 18px;
}
.model-tabs button {
  background: none;
  color: #a9b9bf;
  border: 0;
  padding: 15px 1px;
  font-size: 12px;
  position: relative;
}
.model-tabs button[aria-selected="true"] {
  color: #fff;
}
.model-tabs button[aria-selected="true"]:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #76b9ad;
  height: 2px;
}
.copy-button {
  background: transparent;
  border: 1px solid #53616a;
  border-radius: 5px;
  padding: 5px 10px;
  color: #d1dddf;
  font-size: 10px;
  white-space: nowrap;
}
.copy-button:hover {
  background: #34434b;
}
.code-window pre {
  margin: 0;
  padding: 26px 28px;
  overflow: auto;
  font-size: 13px;
  line-height: 1.9;
}
.code-window code,
.bibtex code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
.quickstart > .fine-print {
  font-size: 11px;
}
.citation-section {
  background: var(--wash);
  border-top: 1px solid var(--line);
}
.citation-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.citation-heading h2 {
  margin-bottom: 0;
}
.citation-section p:not(.section-kicker) {
  font-size: 13px;
  color: var(--muted);
  margin-top: 17px;
}
.light-copy {
  color: var(--teal-dark);
  border-color: #b9cfca;
}
.light-copy:hover {
  background: #e1eeea;
}
.bibtex {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 24px 0 0;
  padding: 27px;
  font-size: 11px;
  line-height: 1.8;
  overflow: auto;
  color: #52656b;
}
.site-footer {
  padding: 34px 0 24px;
}
.site-footer > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-footer p {
  font-size: 11px;
  color: var(--muted);
}
.site-footer .container > div {
  display: flex;
  gap: 20px;
  font-size: 11px;
}
.design-note {
  text-align: center;
  margin: 24px auto 0 !important;
  padding: 0 20px;
  font-size: 10px !important;
  color: #62717b !important;
}
.site-footer .brand {
  font-size: 15px;
}
@media (min-width: 1600px) {
  .hero {
    padding-top: 90px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .project-name {
    font-size: 76px;
  }
}
@media (max-width: 900px) {
  .hero h1 {
    font-size: 33px;
  }
  .title-completion {
    font-size: 20px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .method-step {
    padding: 25px 20px;
  }
  .method-step h3 {
    font-size: 18px;
  }
  .method-step p {
    min-height: 120px;
  }
  .code-label {
    font-size: 10px;
  }
  .explorer-copy,
  .distribution-panel {
    padding: 27px;
  }
  .chart-legend {
    gap: 12px;
  }
  .nav-wrap nav {
    gap: 17px;
  }
  .section {
    padding: 70px 0;
  }
}
@media (max-width: 680px) {
  .container,
  .nav-wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    height: 61px;
  }
  .nav-wrap nav {
    display: none;
  }
  .brand {
    font-size: 16px;
  }
  .hero {
    padding: 47px 0 34px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 0.12em;
  }
  .project-name {
    font-size: 47px;
    margin: 19px 0;
  }
  .hero h1 {
    font-size: 29px;
    line-height: 1.3;
  }
  .desktop-break {
    display: none;
  }
  .title-completion {
    font-size: 18px;
    margin-top: 12px;
    line-height: 1.5;
  }
  .authors {
    font-size: 12px;
    gap: 7px 13px;
    margin-top: 24px;
  }
  .hero-description {
    font-size: 15px;
    margin-top: 25px;
  }
  .hero-meta {
    font-size: 10px;
    gap: 20px;
  }
  .button {
    padding: 9px 17px;
    font-size: 12px;
  }
  .figure-topline {
    display: block;
  }
  .figure-topline > span:last-child {
    display: block;
    font-size: 10px;
    margin-top: 5px;
  }
  .overview-figure img {
    padding: 10px 0;
  }
  .overview-figure figcaption {
    padding: 14px 17px;
    font-size: 10px;
  }
  .section {
    padding: 55px 0;
  }
  h2 {
    font-size: 29px;
  }
  .lead {
    font-size: 18px;
  }
  .narrow > p {
    font-size: 14px;
  }
  .scope-note {
    padding: 18px;
    font-size: 12px;
  }
  .section-heading {
    margin-bottom: 28px;
  }
  .section-heading > p {
    font-size: 13px;
  }
  .method-grid {
    grid-template-columns: 1fr;
  }
  .method-step {
    padding: 24px;
  }
  .method-step + .method-step {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .step-number {
    margin-bottom: 17px;
  }
  .method-step h3 {
    font-size: 21px;
  }
  .method-step p {
    min-height: 0;
  }
  .code-label {
    font-size: 11px;
  }
  .interactive-panel {
    grid-template-columns: 1fr;
  }
  .explorer-copy,
  .distribution-panel {
    padding: 26px;
  }
  .distribution-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .explorer-copy h3 br {
    display: none;
  }
  .explorer-copy h3 {
    font-size: 24px;
  }
  .model-grid {
    grid-template-columns: 1fr;
  }
  .model-card {
    padding: 26px;
  }
  .implementation-details {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 32px 0 35px;
  }
  .implementation-details > div {
    display: grid;
    grid-template-columns: 30px 1fr;
    column-gap: 14px;
  }
  .detail-icon {
    grid-row: span 2;
  }
  .implementation-details h3 {
    margin-top: 4px;
  }
  .implementation-details p {
    grid-column: 2;
  }
  .quickstart-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .quickstart-header h3 {
    font-size: 25px;
  }
  .code-toolbar {
    padding: 0 14px;
  }
  .model-tabs {
    gap: 15px;
  }
  .code-window pre {
    font-size: 11px;
    padding: 21px 17px;
  }
  .copy-button {
    font-size: 9px;
    padding: 5px 8px;
  }
  .bibtex {
    font-size: 10px;
    padding: 19px;
  }
  .site-footer > .container {
    flex-direction: column;
    gap: 13px;
  }
  .design-note {
    font-size: 9px !important;
  }
  .selected-token {
    gap: 8px;
  }
}
@media (max-width: 680px) {
  .project-name {
    font-size: clamp(32px, 10vw, 47px);
    white-space: nowrap;
  }
  .hero h1 {
    font-size: clamp(25px, 7.2vw, 29px);
  }
  .resource-links {
    gap: 8px;
  }
  .button {
    padding: 9px 13px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
