@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");

:root {
  --ink: #17202e;
  --muted: #5f6877;
  --accent: #5351b9;
  --line: #e3e5ed;
  --tint: #f7f8fc;
  --soft: #eeeefa;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #7976d8;
  outline-offset: 5px;
}
::selection {
  background: #dddaf7;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 20;
  padding: 10px 18px;
  background: var(--ink);
  color: white;
  border-radius: 6px;
}
.skip-link:focus {
  top: 12px;
}
.site-nav {
  height: 72px;
  max-width: 1328px;
  margin: auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 19px;
  white-space: nowrap;
  letter-spacing: -0.6px;
}
.brand img {
  width: 30px;
  height: 32px;
  object-fit: contain;
}
.site-nav nav {
  display: flex;
  gap: 31px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.site-nav a:hover,
.text-link:hover {
  color: var(--accent);
}
.language-link {
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}
.language-link span {
  margin-left: 5px;
}
.hero {
  text-align: center;
  max-width: 1120px;
  margin: auto;
  padding: 58px 28px 56px;
}
.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 19px;
  font-family: "Manrope", sans-serif;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1.7px;
}
.hero-brand img {
  width: 69px;
  height: 69px;
  object-fit: contain;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}
h1,
h2,
h3 {
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.2;
}
h1 {
  font-size: clamp(42px, 5.1vw, 66px);
  letter-spacing: -3px;
  font-weight: 800;
  margin: 18px 0 22px;
}
h1 span {
  color: var(--accent);
}
.paper-subtitle {
  font-size: 22px;
  color: #4f5869;
  line-height: 1.5;
  margin: 0 auto 28px;
  font-weight: 400;
}
.authors {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 16px;
  row-gap: 2px;
  max-width: 900px;
  margin: auto;
  font-size: 16px;
  color: #394f79;
  line-height: 1.9;
}
.authors span {
  white-space: nowrap;
}
sup {
  font-size: 10px;
  margin-left: 2px;
  font-weight: 500;
}
.affiliations {
  max-width: 850px;
  margin: 13px auto 27px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 18px;
  row-gap: 2px;
  color: var(--muted);
  font-size: 14px;
}
.affiliations sup {
  margin-right: 4px;
}
.resource-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 43px;
  padding: 9px 19px;
  border: 1px solid #d8dce5;
  border-radius: 7px;
  background: white;
  color: #303a4b;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  transition:
    background 0.18s,
    border-color 0.18s,
    transform 0.18s;
}
.button:hover {
  background: var(--tint);
  border-color: #a7a4d7;
  transform: translateY(-2px);
}
.button.primary {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.button.primary:hover {
  background: #36364f;
}
.button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.arxiv-icon {
  font-family: Georgia, serif;
  font-size: 22px;
  line-height: 16px;
}
.hero-takeaway {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  margin: 34px 0 0;
}
.hero-takeaway strong {
  color: #3b4454;
  font-weight: 500;
}
.content {
  width: min(1080px, calc(100% - 80px));
  margin-left: auto;
  margin-right: auto;
}
.section,
.overview {
  padding-top: 83px;
  padding-bottom: 83px;
}
.section-tint {
  background: var(--tint);
  border-top: 1px solid #eeeef4;
  border-bottom: 1px solid #eeeef4;
}
h2 {
  font-size: clamp(28px, 3.1vw, 37px);
  letter-spacing: -1.3px;
  font-weight: 750;
  margin: 0 0 20px;
}
.section-lead {
  color: var(--muted);
  max-width: 780px;
  font-size: 20px;
  line-height: 1.65;
  margin: 0 0 34px;
}
h3 {
  font-size: 21px;
  letter-spacing: -0.5px;
  margin: 0 0 15px;
}
p {
  margin: 0 0 18px;
}
.abstract {
  border-left: 3px solid #c6c3e8;
  padding-left: 28px;
  margin: 37px 0 40px;
  max-width: 990px;
}
.abstract h3 {
  font-size: 18px;
  margin-bottom: 14px;
  letter-spacing: 0;
}
.abstract p {
  color: #505969;
  font-size: 18px;
  line-height: 1.85;
}
.abstract p:last-child {
  margin-bottom: 0;
}
.abstract strong {
  color: #303a50;
  font-weight: 600;
}
.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 40px 0 15px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.highlights > div {
  padding: 0 28px;
  border-right: 1px solid var(--line);
}
.highlights > div:first-child {
  padding-left: 0;
}
.highlights > div:last-child {
  border-right: 0;
}
.highlights strong {
  display: block;
  color: var(--accent);
  font-family: "Manrope", sans-serif;
  font-size: 42px;
  font-weight: 750;
  letter-spacing: -2px;
  margin-bottom: 7px;
  line-height: 1.3;
}
.highlights strong span {
  font-size: 20px;
  letter-spacing: -0.6px;
  margin-left: 3px;
}
.highlights h3 {
  font-size: 16px;
  margin-bottom: 7px;
  letter-spacing: 0;
}
.highlights p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.metric-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin: 22px 0 0;
}
figure {
  margin: 0;
}
.wide-figure {
  margin: 37px 0 43px;
}
.figure-link {
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  cursor: zoom-in;
  overflow: hidden;
  transition: border-color 0.2s;
}
.figure-link:hover {
  border-color: #aaa6d9;
}
figcaption {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  margin-top: 14px;
}
figcaption > span:first-child {
  color: #323c50;
  font-weight: 700;
  margin-right: 9px;
}
.zoom-hint {
  white-space: nowrap;
  color: #716d98;
  margin-left: 4px;
}
.method-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}
.step-number {
  display: block;
  color: #9b99b7;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.method-steps h3 {
  font-size: 20px;
  margin: 0 0 8px;
}
.method-acronym {
  color: var(--accent) !important;
  font-size: 14px !important;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.method-steps p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
}
.method-steps code {
  display: block;
  font-size: 13px;
  color: #625b87;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  white-space: normal;
}
.motivation {
  border-bottom: 1px solid var(--line);
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 45px;
  align-items: center;
}
.motivation h3 {
  font-size: 24px;
  line-height: 1.4;
}
.motivation p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}
.motivation .figure-link {
  padding: 12px;
}
.chart-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 35px 0 57px;
}
.chart-pair .figure-link {
  padding: 25px;
}
.chart-pair img {
  aspect-ratio: 1.18;
  object-fit: contain;
}
.chart-pair figcaption {
  padding: 0 3px;
}
figcaption strong {
  color: #3b4250;
  font-weight: 600;
}
.table-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 20px;
}
.table-heading h3 {
  margin-bottom: 7px;
}
.table-heading p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.model-tabs {
  display: flex;
  padding: 4px;
  border: 1px solid #dfe1eb;
  border-radius: 8px;
  background: #eeeff6;
  white-space: nowrap;
}
.model-tabs button {
  background: transparent;
  color: var(--muted);
  border: none;
  border-radius: 5px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
}
.model-tabs button[aria-selected="true"] {
  background: white;
  color: var(--accent);
  box-shadow: 0 1px 4px #20205012;
}
.table-scroll {
  min-width: 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
caption {
  text-align: left;
  padding: 13px 22px;
  color: var(--muted);
  background: #fcfcfe;
  font-size: 14px;
}
th,
td {
  text-align: right;
  padding: 13px 24px;
  border-bottom: 1px solid #ececf3;
}
th:first-child {
  text-align: left;
}
thead th {
  color: #697184;
  font-size: 14px;
  font-weight: 500;
  background: #fafafd;
}
tbody th {
  font-weight: 500;
}
tbody tr:last-child > * {
  border-bottom: none;
}
tbody tr.ours > * {
  background: #efeffb;
  color: #47418e;
}
.ours th span {
  background: #e0def5;
  border-radius: 3px;
  font-size: 11px;
  padding: 3px 6px;
  margin-left: 6px;
  font-weight: 500;
}
table strong {
  font-weight: 700;
}
.table-panel + .table-panel {
  margin-top: 20px;
}
.table-panel[hidden] + .table-panel {
  margin-top: 0;
}
.transfer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 55px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.transfer p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}
.text-link {
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
}
.text-link span {
  margin-left: 5px;
}
.transfer-table {
  font-size: 16px;
}
.transfer-table th,
.transfer-table td {
  padding: 13px 16px;
  white-space: nowrap;
}
.transfer-table caption {
  padding: 12px 16px;
  font-size: 14px;
}
.citation-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.citation-heading h2 {
  margin-bottom: 12px;
}
.citation-heading p {
  color: var(--muted);
  font-size: 18px;
}
.copy-button {
  white-space: nowrap;
}
.citation pre {
  padding: 27px 30px;
  margin: 15px 0 13px;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 9px;
  font:
    14px/1.85 Consolas,
    "SFMono-Regular",
    monospace;
  color: #4e5269;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.citation-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  color: var(--accent);
  min-height: 26px;
}
.site-footer {
  border-top: 1px solid var(--line);
  width: min(1232px, calc(100% - 96px));
  margin: auto;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  color: var(--muted);
}
.site-footer .brand {
  color: var(--ink);
  font-size: 16px;
}
.site-footer p {
  font-size: 14px;
  margin: 0;
}
.site-footer > a:last-child {
  font-size: 13px;
}
dialog {
  width: min(1400px, 95vw);
  max-height: 92vh;
  padding: 50px 25px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  box-shadow: 0 20px 100px #0004;
}
dialog::backdrop {
  background: #141827c9;
  backdrop-filter: blur(5px);
}
dialog img {
  margin: auto;
  max-height: 72vh;
  object-fit: contain;
}
dialog p {
  margin: 18px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}
.dialog-close {
  position: absolute;
  right: 12px;
  top: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  background: var(--tint);
  border-radius: 50%;
  font-size: 27px;
  line-height: 1;
  color: var(--ink);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.article-main {
  width: min(820px, calc(100% - 48px));
  margin: 65px auto 90px;
}
.article-main h1 {
  font-size: clamp(30px, 4.3vw, 45px);
  line-height: 1.45;
  letter-spacing: -1px;
}
.article-main .article-intro,
.article-main .article-lead {
  color: var(--muted);
  font-size: 20px;
}
.article-main .table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 25px 0;
}
.article-main .highlight-row > * {
  background: var(--soft);
  color: var(--accent);
}
.article-main .paper-reference {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 28px;
}
.article-main .paper-reference p:last-child {
  margin-bottom: 0;
}
.back-link {
  font-size: 14px;
  color: var(--muted);
}
.article-main h2 {
  margin: 55px 0 20px;
  font-size: 26px;
  line-height: 1.5;
  letter-spacing: -0.5px;
}
.article-main h3 {
  margin: 28px 0 14px;
  line-height: 1.5;
}
.article-main p,
.article-main li {
  line-height: 1.95;
  color: #4b5667;
}
.article-main a:not(.button) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.article-main figure {
  margin: 30px 0;
}
.article-main figure img {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
  background: white;
}
.article-main blockquote {
  margin: 28px 0;
  padding: 18px 24px;
  background: var(--tint);
  border-left: 3px solid var(--accent);
}
.article-main blockquote p {
  margin: 0;
}
.article-main code {
  background: var(--tint);
  padding: 3px 5px;
  overflow-wrap: anywhere;
}
.article-main .article-meta {
  color: var(--muted);
  font-size: 14px;
}
.article-main .article-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 25px 0;
}
.article-main .summary-box {
  background: var(--tint);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 10px;
}
.error-page {
  text-align: center;
  padding: 120px 24px;
  min-height: 75vh;
}
.error-page h1 {
  font-size: 50px;
}
.error-page p {
  color: var(--muted);
}
@media (max-width: 850px) {
  .site-nav {
    padding: 0 28px;
    gap: 20px;
  }
  .site-nav nav {
    gap: 20px;
  }
  .hero {
    padding-top: 45px;
  }
  h1 {
    font-size: 55px;
    letter-spacing: -2.3px;
  }
  .paper-subtitle {
    font-size: 19px;
  }
  .authors {
    font-size: 15px;
    column-gap: 12px;
  }
  .affiliations {
    max-width: 650px;
  }
  .content {
    width: calc(100% - 56px);
  }
  .section,
  .overview {
    padding-top: 65px;
    padding-bottom: 65px;
  }
  .method-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .method-steps h3 {
    font-size: 22px;
  }
  .method-steps code {
    font-size: 13px;
  }
  .motivation {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .motivation > div {
    max-width: 650px;
  }
  .highlights > div {
    padding: 0 20px;
  }
  .highlights strong {
    font-size: 35px;
  }
  .highlights h3 {
    font-size: 16px;
  }
  .highlights p {
    font-size: 14px;
  }
  .chart-pair {
    gap: 18px;
  }
  .chart-pair .figure-link {
    padding: 15px;
  }
  .transfer {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .transfer > div:first-child {
    max-width: 600px;
  }
  .site-footer {
    width: calc(100% - 56px);
  }
}
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .site-nav {
    height: 61px;
    padding: 0 20px;
  }
  .site-nav nav {
    display: none;
  }
  .site-nav .brand {
    font-size: 17px;
  }
  .site-nav .brand img {
    width: 25px;
    height: 28px;
  }
  .hero {
    padding: 37px 20px 42px;
  }
  .hero-brand {
    font-size: 29px;
    gap: 12px;
    margin-bottom: 20px;
  }
  .hero-brand img {
    width: 56px;
    height: 56px;
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: 1.2px;
  }
  h1 {
    font-size: clamp(35px, 9vw, 50px);
    letter-spacing: -1.8px;
    margin: 18px 0;
  }
  .paper-subtitle {
    font-size: 18px;
    margin-bottom: 23px;
    line-height: 1.6;
  }
  .desktop-break {
    display: none;
  }
  .authors {
    font-size: 14px;
    column-gap: 11px;
    row-gap: 3px;
  }
  .authors sup {
    font-size: 9px;
  }
  .affiliations {
    font-size: 12px;
    gap: 4px 12px;
    margin: 16px 0 22px;
  }
  .resource-links {
    gap: 8px;
  }
  .button {
    padding: 9px 13px;
    font-size: 14px;
    min-height: 42px;
  }
  .hero-takeaway {
    font-size: 16px;
    margin-top: 26px;
  }
  .content {
    width: calc(100% - 40px);
  }
  .section,
  .overview {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  h2 {
    font-size: 28px;
    letter-spacing: -1px;
    line-height: 1.25;
  }
  .section-lead {
    font-size: 18px;
    margin-bottom: 25px;
  }
  .abstract {
    margin: 28px 0;
    padding-left: 18px;
  }
  .abstract p,
  .motivation p:not(.eyebrow),
  .transfer p:not(.eyebrow),
  .citation-heading p {
    font-size: 16px;
  }
  .highlights {
    grid-template-columns: 1fr;
    padding-top: 5px;
    margin-top: 25px;
  }
  .highlights > div,
  .highlights > div:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
    display: block;
  }
  .highlights strong {
    font-size: 36px;
    margin: 0 0 10px;
    letter-spacing: -1.5px;
  }
  .highlights h3 {
    font-size: 16px;
    margin: 0 0 4px;
  }
  .highlights p {
    font-size: 14px;
  }
  .highlights strong span {
    font-size: 16px;
  }
  .highlights > div:last-child {
    border-bottom: 0;
  }
  .metric-note {
    font-size: 13px;
    margin-top: 13px;
  }
  .figure-link {
    padding: 10px;
    border-radius: 7px;
  }
  .wide-figure {
    margin: 25px 0 30px;
  }
  figcaption {
    font-size: 13px;
  }
  .zoom-hint {
    display: block;
    margin-left: 0;
  }
  .method-steps {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .step-number {
    margin-bottom: 9px;
  }
  .method-steps h3 {
    font-size: 20px;
  }
  .method-steps p {
    font-size: 16px;
    margin-bottom: 13px;
  }
  .method-steps code {
    font-size: 13px;
    padding-top: 12px;
  }
  .motivation {
    padding-bottom: 30px;
    gap: 16px;
  }
  .motivation h3 {
    font-size: 23px;
  }
  .chart-pair {
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 28px 0 38px;
  }
  .chart-pair .figure-link {
    padding: 18px;
  }
  .table-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }
  .table-heading h3 {
    font-size: 20px;
  }
  .model-tabs {
    width: 100%;
  }
  .model-tabs button {
    flex: 1;
  }
  th,
  td {
    padding: 12px 13px;
    font-size: 14px;
    white-space: nowrap;
  }
  thead th {
    font-size: 13px;
  }
  caption {
    padding: 12px 13px;
    font-size: 13px;
  }
  .ours th span {
    display: none;
  }
  .transfer {
    margin-top: 37px;
    padding-top: 30px;
    gap: 20px;
  }
  .transfer-table th,
  .transfer-table td {
    font-size: 14px;
    padding: 12px;
  }
  .citation-heading {
    display: block;
  }
  .copy-button {
    margin: 5px 0 10px;
  }
  .citation pre {
    padding: 20px;
    font-size: 13px;
    line-height: 1.8;
  }
  .citation-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .site-footer {
    width: calc(100% - 40px);
    flex-wrap: wrap;
    gap: 15px;
    padding: 23px 0;
  }
  .site-footer p {
    display: none;
  }
  .site-footer > a:last-child {
    font-size: 12px;
  }
  dialog {
    padding: 48px 10px 15px;
    width: 98vw;
  }
  dialog p {
    font-size: 13px;
  }
  .article-main {
    margin-top: 38px;
  }
  .article-main h1 {
    font-size: 29px;
    letter-spacing: -0.5px;
  }
  .article-main h2 {
    font-size: 23px;
  }
  .article-main p,
  .article-main li {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
