:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #60646c;
  --soft: #ffffff;
  --soft-strong: #ffffff;
  --border: #d9d9df;
  --border-subtle: #ebebef;
  --link: #0066cc;
  --ink: #1d1d1f;
  --radius: 6px;
  --max: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  overflow: hidden;
}

.hero {
  width: min(var(--max), calc(100% - 40px));
  min-height: 0;
  margin: 0 auto;
  padding: 64px 0 46px;
  text-align: center;
}

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

.eyebrow,
.section-kicker {
  color: #86868b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  margin-top: 14px;
  color: var(--ink);
  font-size: clamp(26px, 4.0vw, 40px);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.08;
}

h2 {
  margin-top: 12px;
  color: var(--ink);
  font-size: clamp(21px, 2.8vw, 30px);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.16;
}

.authors {
  margin-top: 16px;
  color: #313135;
  font-size: 14px;
  line-height: 1.45;
}

.authors sup {
  font-size: 10px;
  line-height: 0;
}

.affiliations {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.author-note {
  margin-top: 6px;
  color: #86868b;
  font-size: 11px;
  line-height: 1.4;
}

.paper-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.paper-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.paper-button:hover {
  border-color: #b6b6bd;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0;
  border-top: 1px solid var(--border-subtle);
}

.prose {
  max-width: 760px;
  margin-top: 16px;
  color: #313135;
  font-size: 16px;
  line-height: 1.6;
}

.prose p + p {
  margin-top: 18px;
}

.figure-wrap {
  margin: 28px 0 0;
}

.main-figure {
  display: block;
  width: 100%;
  height: auto;
  /* border: 1px solid var(--border-subtle);
  border-radius: var(--radius); */
  background: #ffffff;
  box-shadow: none;
}

.results-section {
  background: #ffffff;
}

.result-blocks {
  display: grid;
  gap: 34px;
  margin-top: 24px;
}

.result-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.result-block:first-child {
  padding-top: 0;
  border-top: 0;
}

.result-text {
  max-width: 470px;
}

.result-text h3 {
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.25;
}

.result-text p {
  margin-top: 12px;
  color: #313135;
  font-size: 15px;
  line-height: 1.62;
}

.result-figure {
  margin: 0;
}

.result-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  background: #ffffff;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 24px;
  align-items: end;
}

.section-note {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.category-controls {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 24px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--soft);
}

.tab-button {
  appearance: none;
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #515154;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.tab-button:hover {
  color: var(--ink);
}

.tab-button.active {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.panel {
  display: none;
  margin-top: 20px;
}

.panel.active {
  display: block;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  background: #ffffff;
}

table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  table-layout: fixed;
}

.online-table {
  min-width: 780px;
}

th,
td {
  padding: 10px;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-subtle);
}

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

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #ffffff;
  color: #515154;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: left;
  backdrop-filter: blur(10px);
}

video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: #111111;
}

.references {
  padding-bottom: 110px;
}

.references h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.references p {
  max-width: 920px;
  margin-top: 16px;
  color: #414145;
  font-size: 16px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 54px 0 42px;
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  .result-block {
    grid-template-columns: 1fr;
  }

  .result-text {
    max-width: none;
  }

  .section-note {
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .hero,
  .section {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    padding: 44px 0 42px;
  }

  h1 {
    font-size: 30px;
    line-height: 1.02;
  }

  h2 {
    font-size: 22px;
  }

  .section {
    padding: 46px 0;
  }

  .prose {
    font-size: 16px;
  }

  .category-controls {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    border-radius: var(--radius);
  }

  .tab-button {
    border-radius: 6px;
  }

  table {
    min-width: 880px;
  }

  .online-table {
    min-width: 720px;
  }
}
