:root {
  color-scheme: light;
  --text: #222;
  --muted: #555;
  --light: #f7f7f7;
  --line: #ddd;
  --link: #1772d0;
  --button: #363636;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #fff;
  color: var(--text);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.section {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.hero {
  width: min(1120px, calc(100% - 32px));
  padding-top: 54px;
  padding-bottom: 28px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: #666;
  font-size: 15px;
  font-weight: 500;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 1080px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.25;
}

.authors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-top: 22px;
  font-size: 18px;
}

.authors a,
.authors span {
  color: var(--link);
  font-weight: 500;
}

.authors sup,
.affiliation sup {
  font-size: 0.7em;
}

.affiliation {
  max-width: 850px;
  margin: 12px auto 0;
  color: #444;
  font-size: 16px;
  text-align: center;
}

.affiliation p {
  margin: 2px 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 24px 0 0;
}

.button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--button);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.button:hover {
  background: #111;
  color: #fff;
  text-decoration: none;
}

.button.primary {
  background: var(--button);
  color: #fff;
}

.section-kicker {
  display: none;
}

.split {
  display: block;
}

.copy {
  max-width: 960px;
  margin: 0 auto;
}

.copy p,
.section-heading p,
.level-card p,
.eval-grid p,
.method-grid p,
.subsection-heading p {
  color: var(--text);
}

.copy p {
  margin: 0;
  font-size: 17px;
  text-align: justify;
}

.section-heading {
  max-width: 920px;
  margin: 0 auto 24px;
  text-align: center;
}

.section-heading p:last-child {
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 17px;
  text-align: left;
}

.local-video {
  display: block;
  width: min(860px, 100%);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #111;
  object-fit: cover;
}

.teaser,
.wide-figure,
.visual-panel,
.playbook {
  margin: 22px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.teaser img,
.wide-figure img,
.visual-panel img,
.playbook img {
  width: 100%;
  background: #fff;
}

figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.level-grid,
.eval-grid,
.method-grid,
.scoreboard {
  display: grid;
  gap: 14px;
}

.level-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 8px;
}

.level-card,
.eval-grid article,
.method-grid article,
.scoreboard article {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--light);
  padding: 18px;
}

.level-index {
  display: inline-block;
  margin-bottom: 12px;
  color: #777;
  font-weight: 700;
}

.data-figures {
  display: grid;
  grid-template-columns: minmax(0, 0.56fr) minmax(0, 0.44fr);
  gap: 14px;
  align-items: start;
  margin-top: 18px;
}

.data-figure {
  margin: 0;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.data-figure img {
  display: block;
  width: 100%;
  object-fit: contain;
  padding: 14px;
}

.data-figure figcaption {
  display: block;
  border-top: 1px solid var(--line);
  background: #fff;
}

.eval-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.method-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.subsection-heading {
  max-width: 980px;
  margin: 30px auto 0;
  text-align: left;
}

.subsection-heading.centered {
  text-align: center;
}

.subsection-heading h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
}

.subsection-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.playbook {
  width: min(980px, 100%);
}

.scoreboard {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.scoreboard article {
  text-align: center;
}

.scoreboard span,
.scoreboard em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-weight: 600;
}

.scoreboard strong {
  display: block;
  margin: 6px 0;
  color: #111;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
}

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

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

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid #e5e5e5;
  text-align: left;
}

th {
  background: #f2f2f2;
  color: #333;
  font-weight: 700;
}

td {
  color: #222;
  font-weight: 500;
}

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

.results-table th,
.results-table td {
  text-align: center;
}

.results-table tbody td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 190px;
  text-align: left;
  background: #fff;
}

.results-table thead tr:first-child th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 190px;
  background: #f2f2f2;
}

.results-table .ours td,
.results-table .ours td:first-child {
  background: #eaf6ff;
  font-weight: 700;
}

.bibtex pre {
  overflow-x: auto;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7f7f7;
  color: #222;
  font-size: 14px;
  line-height: 1.55;
}

footer {
  padding: 24px 18px 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .level-grid,
  .eval-grid,
  .method-grid,
  .scoreboard,
  .data-figures {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .section {
    width: min(100% - 24px, 1080px);
    padding: 34px 0;
  }

  .hero {
    padding-top: 38px;
  }

  h1 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
