:root {
  --ink: #102033;
  --muted: #5c6a7b;
  --line: #dbe4ee;
  --blue: #1769e0;
  --blue-dark: #124ca4;
  --teal: #0f766e;
  --orange: #c55c10;
  --panel: #ffffff;
  --wash: #f4f8fd;
  --shadow: 0 14px 34px rgba(22, 52, 96, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #ffffff; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }

.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 17px clamp(20px, 5vw, 72px); background: rgba(255, 255, 255, 0.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--blue-dark); font-size: 20px; font-weight: 850; letter-spacing: 0; text-decoration: none; }
.brand img { width: 46px; height: 46px; flex: 0 0 46px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 14px; font-weight: 700; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--blue); }

.hero { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1.18fr); gap: clamp(28px, 4vw, 56px); align-items: center; max-width: 1320px; margin: 0 auto; padding: clamp(48px, 7vw, 92px) clamp(20px, 5vw, 72px) 64px; }
.hero-copy, .section-heading, .section-body, .ablation-copy { min-width: 0; }
.eyebrow { margin: 0 0 12px; color: var(--blue-dark); font-size: 12px; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
h1, h2 { margin: 0; line-height: 1.08; letter-spacing: 0; }
h1 { max-width: 700px; font-size: clamp(39px, 5.2vw, 70px); }
h2 { font-size: clamp(28px, 3.3vw, 43px); }
.title-lockup { display: inline-flex; align-items: center; gap: 0.12em; white-space: nowrap; color: var(--blue-dark); }
.title-lockup img { width: 1.04em; height: 1.04em; flex: 0 0 1.04em; object-fit: contain; }
.subtitle { max-width: 620px; margin: 24px 0 0; color: #33465d; font-size: clamp(18px, 2vw, 23px); line-height: 1.45; }
.authors { max-width: 670px; margin: 22px 0 0; color: var(--muted); }
.author-list { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; color: #314155; font-size: 15px; font-weight: 750; line-height: 1.45; }
.author-list sup, .affiliations sup, .equal-contribution sup { color: var(--blue-dark); font-size: 0.7em; font-weight: 850; }
.affiliations { margin: 8px 0 0; font-size: 12px; font-weight: 650; line-height: 1.5; }
.equal-contribution { margin: 5px 0 0; font-size: 12px; font-weight: 650; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--blue); border-radius: 7px; background: var(--blue); color: #ffffff; font-size: 14px; font-weight: 800; text-decoration: none; }
.button.secondary { background: #ffffff; color: var(--blue-dark); }
.button.disabled { cursor: not-allowed; opacity: 0.55; }

.hero-figure, .figure-panel { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow); }
.hero-figure img { max-height: 490px; object-fit: contain; background: #ffffff; }
.section { max-width: 1240px; margin: 0 auto; padding: 64px clamp(20px, 5vw, 72px); }
.abstract-section { display: grid; grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr); gap: 52px; border-top: 1px solid var(--line); }
.section-body, .ablation-copy { color: #33465d; font-size: 18px; }
.section-body p, .ablation-copy p { margin: 0 0 18px; }
.method-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.55fr); gap: 22px; align-items: start; margin-top: 30px; }
.method-architecture img { max-height: 680px; object-fit: contain; background: #ffffff; }
.figure-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
.results-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.real-world-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metric-card { padding: 21px; border: 1px solid var(--line); border-radius: 8px; background: var(--wash); }
.metric { display: block; color: var(--blue-dark); font-size: clamp(28px, 3.5vw, 42px); font-weight: 900; line-height: 1; }
.label { display: block; margin-top: 10px; color: var(--muted); font-size: 13px; font-weight: 750; line-height: 1.35; }
figcaption { padding: 13px 16px 15px; color: var(--muted); border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.benchmark-intro { margin: 22px 0 0; color: var(--muted); font-size: 16px; }
.benchmark-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 16px 0 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.benchmark-legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend-swatch { width: 10px; height: 10px; border-radius: 2px; background: var(--blue); }
.legend-swatch.vla { background: var(--orange); }
.legend-swatch.wam { background: var(--teal); }
.benchmark-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 26px; }
.benchmark-card { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow); }
.benchmark-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.benchmark-card h3 { margin: 0; color: var(--ink); font-size: 22px; line-height: 1.2; }
.benchmark-card-heading p { margin: 5px 0 0; color: var(--muted); font-size: 13px; font-weight: 650; }
.benchmark-best { flex: 0 0 auto; color: var(--blue-dark); font-size: 20px; font-weight: 900; line-height: 1.2; }
.benchmark-axis { display: grid; grid-template-columns: minmax(124px, 0.92fr) minmax(120px, 1.55fr) 54px 48px; gap: 12px; margin: 16px 0 8px; color: #7b8797; font-size: 11px; font-weight: 700; }
.benchmark-axis div { display: flex; justify-content: space-between; }
.benchmark-axis > span:nth-last-child(-n + 2) { text-align: right; }
.bar-chart { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.bar-row { display: grid; grid-template-columns: minmax(124px, 0.92fr) minmax(120px, 1.55fr) 54px 48px; gap: 12px; align-items: center; }
.bar-label { min-width: 0; color: #314155; font-size: 13px; font-weight: 750; white-space: nowrap; }
.bar-row strong { color: #314155; font-size: 13px; font-variant-numeric: tabular-nums; text-align: right; }
.model-size { color: #657488; font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; }
.bar-row.ours .bar-label, .bar-row.ours strong, .bar-row.ours .model-size { color: var(--blue-dark); font-weight: 850; }
.series-badge { display: inline-block; margin-left: 4px; padding: 1px 5px; border-radius: 3px; color: #ffffff; font-size: 10px; font-weight: 850; line-height: 1.45; vertical-align: 1px; }
.series-badge.ours { background: var(--blue); }
.series-badge.vla { background: var(--orange); }
.series-badge.wam { background: var(--teal); }
.bar-track { height: 16px; overflow: hidden; border-radius: 3px; background: #edf1f5; }
.bar-fill { display: block; width: var(--value); height: 100%; border-radius: inherit; background: var(--blue); }
.bar-fill.vla { background: var(--orange); }
.bar-fill.wam { background: var(--teal); }
.real-world-grid { display: grid; grid-template-columns: minmax(250px, 0.82fr) minmax(0, 1.18fr); gap: 22px; align-items: start; margin-top: 30px; }
.real-world-photo img { aspect-ratio: 1 / 1; object-fit: cover; }
.ablation-layout { display: grid; grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr); gap: 42px; align-items: center; margin-top: 30px; }
.wide-figure { margin-top: 30px; }
.citation-section pre { overflow-x: auto; margin: 28px 0 0; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: #0d1726; color: #dce9ff; font-size: 14px; line-height: 1.55; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding: 26px clamp(20px, 5vw, 72px); color: var(--muted); border-top: 1px solid var(--line); font-size: 14px; }

@media (max-width: 960px) {
  .hero, .abstract-section, .method-layout, .benchmark-grid, .real-world-grid, .ablation-layout { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding-top: 40px; }
  .hero-figure img, .method-architecture img { max-height: none; }
}
@media (max-width: 680px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .nav { flex-wrap: wrap; gap: 10px 16px; }
  .figure-grid, .results-grid, .real-world-metrics { grid-template-columns: 1fr; }
  .benchmark-card { padding: 20px; }
  .benchmark-axis, .bar-row { grid-template-columns: minmax(94px, 0.88fr) minmax(76px, 1.42fr) 47px 43px; gap: 8px; }
  .section { padding-top: 48px; padding-bottom: 48px; }
  .footer { flex-direction: column; }
}
@media (max-width: 520px) {
  h1 { font-size: 34px; }
  .brand img { width: 40px; height: 40px; flex-basis: 40px; }
  .button { width: 100%; }
}
