:root {
  color-scheme: light;
  --ink: #363636;
  --muted: #626262;
  --blue: #287fb9;
  --coral: #d96351;
  --soft: #f6f6f6;
  --line: #e3e3e3;
  --green: #087352;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: #15517e; text-decoration: underline; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid #287fb9; outline-offset: 5px; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
figcaption { color: var(--muted); font-size: 16px; line-height: 1.55; }
p { margin: 0 0 1.05em; }
h1, h2, h3 { line-height: 1.25; font-weight: 600; color: #323232; }
h2 { margin: 0 0 26px; text-align: center; font-size: 32px; letter-spacing: -0.55px; }
h3 { margin: 0 0 14px; font-size: 22px; }
sup { font-size: 0.68em; position: relative; vertical-align: super; line-height: 0; }
[hidden] { display: none !important; }
.container { width: min(1080px, calc(100% - 48px)); margin: 0 auto; }
.reading-width { max-width: 920px; }
.video-width { max-width: 940px; }
.hero { padding: 70px 0 0; text-align: center; }
h1 { margin: 0 auto 28px; font-size: 42px; font-weight: 600; letter-spacing: 0; max-width: 1080px; }
.title-line, .title-subtitle { display: block; }
.title-subtitle { margin-top: 9px; font-size: 34px; }
.authors { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 8px; color: var(--blue); font-size: 21px; line-height: 1.8; }
.authors > span:not(.author-comma) { white-space: nowrap; }
.author-comma { margin-left: -7px; }
.affiliations { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 18px; margin: 5px 0 0; font-size: 18px; line-height: 1.7; }
.affiliations span { white-space: nowrap; }
.venue { margin: 15px 0 17px; font-size: 23px; color: var(--coral); }
.resource-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 41px; padding: 6px 19px; color: #fff; background: #363636; border-radius: 24px; font-size: 16px; line-height: 1.7; transition: background 150ms ease; }
.button:hover { color: #fff; background: #515151; text-decoration: none; }
.button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.hero-summary { margin: 30px 0 32px; font-size: 21px; line-height: 1.5; font-weight: 400; }
.teaser { margin: 0 auto; }
.teaser img { width: 100%; }
.teaser figcaption { margin: 17px auto 0; max-width: 820px; }
.section-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 29px; margin: 30px 0 0; padding: 20px 0 25px; font-size: 16px; border-top: 1px solid var(--line); }
.section-nav a { color: var(--muted); }
.section { padding: 57px 0 61px; }
.soft-background { background: var(--soft); }
.section-intro { max-width: 900px; margin: 0 auto 28px; text-align: center; }
.wide-figure { margin: 29px 0 31px; }
.wide-figure img { width: 100%; }
.wide-figure figcaption { max-width: 870px; margin: 18px auto 0; text-align: center; }
.figure-link { display: block; border-radius: 8px; }
.method-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; margin: 35px 0 39px; }
.method-columns p { font-size: 17px; line-height: 1.65; margin-bottom: 0; }
.centered-heading { text-align: center; margin: 0 0 19px; font-size: 24px; }
.pose-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 30px auto 21px; max-width: 930px; }
.pose-grid figure { min-width: 0; }
.pose-grid img { width: 100%; height: 178px; object-fit: contain; }
.pose-grid figcaption { margin-top: 13px; text-align: center; color: var(--ink); font-size: 17px; }
.figure-note { max-width: 950px; margin: 18px auto 0; color: var(--muted); font-size: 15px; line-height: 1.6; text-align: center; }
video { display: block; width: 100%; height: auto; background: #fff; border-radius: 5px; }
.overview-video { aspect-ratio: 20 / 13; max-height: 610px; object-fit: contain; }
.dataset-tabs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 31px 0 20px; }
.dataset-tabs button { padding: 9px 17px; border: 1px solid #d3d3d3; border-radius: 5px; background: #fff; color: var(--muted); font-size: 16px; line-height: 1.5; }
.dataset-tabs button[aria-selected="true"] { color: #fff; background: #343434; border-color: #343434; }
.dataset-tabs button:hover:not([aria-selected="true"]) { background: #f3f3f3; color: #333; }
.dataset-panel { margin-top: 18px; }
.dataset-heading { text-align: center; font-size: 21px; }
.js-enabled .dataset-heading { display: none; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 5px; }
table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; font-variant-numeric: tabular-nums; }
caption { padding: 14px 18px; font-size: 15px; text-align: left; color: var(--muted); border-bottom: 1px solid var(--line); }
th, td { padding: 13px 12px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
thead { background: #f5f5f5; }
thead th { font-size: 14px; font-weight: 600; color: #464646; }
thead th span { display: block; font-size: 12px; font-weight: 400; }
th:first-child { text-align: left; padding-left: 20px; }
tbody th { font-weight: 400; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.ours { background: #edf5fc; color: #154d7b; font-weight: 600; }
.ours th { font-weight: 600; }
.results-subheading { margin-top: 49px; }
.results-figure { max-width: 920px; margin: 25px auto 0; }
.results-figure img { width: 100%; }
.results-figure figcaption { text-align: center; margin-top: 17px; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 35px 28px; margin: 34px 0 0; }
.demo video { aspect-ratio: 16 / 9; object-fit: contain; }
.demo figcaption { margin: 16px 0 0; text-align: center; }
.demo h3 { margin: 0 0 8px; font-size: 22px; }
.demo p { margin: 0 auto 7px; max-width: 460px; font-size: 16px; }
.success { color: var(--green); font-size: 16px; font-weight: 600; }
.citation-heading { position: relative; display: flex; align-items: center; justify-content: center; margin-bottom: 23px; gap: 25px; }
.citation-heading h2 { margin-bottom: 0; }
.copy-button { border: 1px solid #cfcfcf; border-radius: 5px; background: #fff; color: #444; padding: 8px 13px; font-size: 14px; }
.copy-button:hover { background: #f5f5f5; }
.citation { margin: 0; padding: 24px 27px; background: #f4f4f4; border-radius: 4px; color: #333; overflow-x: auto; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 15px; line-height: 1.75; text-align: left; }
.citation code { font: inherit; }
.copy-status { min-height: 22px; margin: 8px 0 0; font-size: 14px; text-align: center; color: var(--green); }
footer { padding: 35px 0 31px; border-top: 1px solid var(--line); text-align: center; background: #fafafa; font-size: 16px; }
footer p { margin-bottom: 7px; }
.footer-credit { font-size: 14px; color: var(--muted); }
.back-to-top { display: inline-block; margin-top: 7px; font-size: 14px; }
.skip-link { position: absolute; top: -70px; left: 20px; padding: 10px 20px; z-index: 10; background: #fff; box-shadow: 0 0 0 2px #287fb9; }
.skip-link:focus { top: 12px; }
.mobile-break { display: none; }

@media (max-width: 900px) {
  h1 { font-size: 36px; }
  .hero { padding-top: 53px; }
  .authors { font-size: 20px; }
  .affiliations { font-size: 17px; }
  .pose-grid { gap: 15px; }
  .pose-grid img { height: 150px; }
  .pose-grid figcaption { font-size: 15px; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  body { font-size: 17px; line-height: 1.65; }
  .hero { padding-top: 37px; }
  h1 { font-size: 29px; line-height: 1.23; letter-spacing: 0; margin-bottom: 23px; }
  .title-subtitle { font-size: 26px; margin-top: 11px; }
  .authors { font-size: 18px; gap: 0 7px; line-height: 1.95; }
  .affiliations { display: block; margin-top: 11px; font-size: 15px; line-height: 1.75; }
  .affiliations span { display: block; white-space: normal; }
  .venue { font-size: 18px; margin: 18px auto; max-width: 310px; line-height: 1.5; }
  .resource-links { gap: 8px; }
  .button { font-size: 15px; padding: 6px 14px; gap: 6px; }
  .button svg { width: 16px; height: 16px; }
  .hero-summary { font-size: 18px; margin: 25px 0; }
  .mobile-break { display: block; }
  .teaser figcaption { font-size: 14px; line-height: 1.5; margin-top: 14px; }
  .section-nav { gap: 7px 18px; margin-top: 22px; font-size: 15px; padding: 17px 0 20px; }
  .section { padding: 40px 0 43px; }
  h2 { font-size: 27px; line-height: 1.25; margin-bottom: 21px; }
  h3 { font-size: 21px; }
  .section-intro { margin-bottom: 23px; text-align: left; }
  .method-columns { grid-template-columns: 1fr; gap: 25px; margin: 30px 0 33px; }
  .centered-heading { font-size: 22px; }
  .pose-grid { grid-template-columns: 1fr 1fr; gap: 24px 17px; }
  .pose-grid img { height: 155px; }
  .pose-grid figcaption { font-size: 16px; }
  .figure-note { font-size: 14px; }
  .dataset-tabs { display: grid; grid-template-columns: 1fr; gap: 7px; }
  .dataset-tabs button { font-size: 15px; padding: 9px 12px; }
  table { font-size: 14px; }
  caption { font-size: 14px; padding: 12px; }
  th, td { padding: 11px 10px; }
  th:first-child { padding-left: 13px; }
  .demo-grid { grid-template-columns: 1fr; gap: 31px; margin-top: 27px; }
  .demo h3 { font-size: 21px; }
  .results-subheading { margin-top: 37px; }
  .citation-heading { gap: 18px; }
  .citation { padding: 18px; font-size: 12px; }
  footer { padding: 28px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
