:root {
  --bg: #ffffff;
  --paper: #ffffff;
  --ink: #202020;
  --muted: #646464;
  --line: #dfe4dd;
  --accent: #1f6f68;
  --accent-soft: #e7f1ef;
  --warm: #b15c35;
  --shadow: 0 18px 45px rgba(32, 32, 32, 0.09);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Charter, "Bitstream Charter", "Iowan Old Style", Georgia, serif;
  line-height: 1.6;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.site-nav__inner {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 10px 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav__inner::-webkit-scrollbar {
  display: none;
}

.site-nav__link {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 4px;
  color: var(--muted);
  font-family: Avenir Next, Avenir, "Gill Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.site-nav__link:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.site-nav__link--brand {
  margin-right: 4px;
  color: var(--ink);
  font-weight: 800;
}

.site-nav__link.is-active {
  background: var(--accent);
  color: #ffffff;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.container {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  max-width: 790px;
}

.paper-header {
  padding: 74px 0 38px;
  text-align: center;
}

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

h1 {
  margin: 0 auto;
  max-width: 1080px;
  font-size: clamp(1.95rem, 4.1vw, 3.65rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
}

h1 span {
  display: block;
}

.dataset-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--warm);
  font-family: Avenir Next, Avenir, "Gill Sans", sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.tagline {
  max-width: 780px;
  margin: 18px auto 0;
  color: #363636;
  font-size: clamp(1.35rem, 2vw, 1.72rem);
  line-height: 1.35;
}

.authors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 17px;
  margin-top: 24px;
  font-size: 1.2rem;
}

.authors a {
  color: var(--accent);
  text-decoration: none;
}

.authors a:hover {
  color: var(--warm);
}

.authors sup,
.affiliation sup {
  margin-left: 2px;
  font-size: 0.68em;
  line-height: 0;
  vertical-align: super;
}

.affiliation,
.venue {
  margin: 10px auto 0;
  color: var(--muted);
  font-family: Avenir Next, Avenir, "Gill Sans", sans-serif;
  font-size: 1.08rem;
  line-height: 1.35;
}

.venue {
  color: var(--warm);
  font-size: 1.5rem;
  font-weight: 800;
}

.resource-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.resource-link {
  display: inline-flex;
  min-width: 126px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 8px 22px rgba(32, 32, 32, 0.06);
  color: var(--ink);
  font-family: Avenir Next, Avenir, "Gill Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.resource-link:hover {
  border-color: rgba(31, 111, 104, 0.55);
  box-shadow: 0 12px 28px rgba(31, 111, 104, 0.13);
  transform: translateY(-1px);
}

.resource-icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.github-icon {
  fill: currentColor;
  stroke: none;
}

.demo-section {
  padding: 24px 0 58px;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  text-align: center;
}

h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.4rem;
  letter-spacing: 0;
  line-height: 1.18;
}

.demo {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.demo video {
  width: 100%;
  aspect-ratio: 2 / 1;
  background: #111;
  object-fit: cover;
}

.demo figcaption {
  padding: 14px 18px;
  color: var(--muted);
  font-family: Avenir Next, Avenir, "Gill Sans", sans-serif;
  font-size: 1.05rem;
  line-height: 1.45;
  text-align: justify;
}

.abstract-section {
  padding: 58px 0 84px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.abstract-section p {
  margin: 0 0 18px;
  color: #303030;
  font-size: 1.22rem;
  text-align: justify;
}

.citation-section {
  padding: 58px 0 84px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.citation-box {
  overflow-x: auto;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf8;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.55;
}

.citation-box code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.download-section {
  padding: 58px 0 90px;
  background: #ffffff;
}

.download-section p,
.download-steps {
  color: #303030;
  font-size: 1.18rem;
}

.download-section p {
  margin: 0 0 22px;
  text-align: justify;
}

.download-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-family: Avenir Next, Avenir, "Gill Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
}

.download-button:hover {
  background: #175c56;
}

.download-steps {
  margin: 0;
  padding-left: 1.35em;
}

.download-steps li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.dataset-structure {
  margin-top: 10px;
}

.folder-tree {
  overflow-x: auto;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf8;
  color: #252525;
  font-size: 0.96rem;
  line-height: 1.45;
}

.folder-tree code,
.dataset-structure code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.structure-notes {
  margin: 0;
  padding-left: 1.25em;
  color: #303030;
  font-size: 1.08rem;
  text-align: justify;
}

.structure-notes li {
  margin-bottom: 8px;
}

@media (max-width: 620px) {
  .paper-header {
    padding-top: 50px;
  }

  .resource-links {
    align-items: stretch;
    flex-direction: column;
  }

  .resource-link {
    width: 100%;
  }

  .demo-section,
  .abstract-section,
  .citation-section,
  .download-section {
    padding-block: 44px;
  }

  .demo figcaption {
    text-align: left;
  }
}

figure.demo figcaption {
  display: block;
  width: 100%;
  text-align: justify;
}

.abstract-section .container p,
.download-section .container p,
.dataset-structure p,
.structure-notes {
  text-align: justify;
  text-justify: inter-word;
}

.annotation-notes {
  text-align: left;
}

.task-page {
  min-height: calc(100vh - 57px);
  padding: 72px 0 96px;
}

.task-page__header,
.task-page__content {
  max-width: 820px;
}

.task-page h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  text-align: left;
}

.task-page h1.task-page__title--compact {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.task-page__intro {
  max-width: 740px;
  margin: 20px 0 0;
  color: var(--ink);
  font-size: 1.2rem;
  text-align: justify;
}

.task-page__content {
  margin-top: 48px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.task-page__content h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  text-align: left;
}

.task-page__placeholder {
  margin: 0;
  color: var(--ink);
  font-size: 1.1rem;
}

.task-page__baseline-copy {
  color: #000000;
}

.download-page .download-section {
  padding-top: 72px;
}
