:root {
  --paper: rgb(253, 250, 244);
  --ink: #181818;
  --muted-ink: rgba(24, 24, 24, 0.72);
  --line: rgba(24, 24, 24, 0.14);
  --soft-white: rgba(255, 255, 255, 0.34);
  --blue: #3276ad;
  --wan: #8f969e;
  --lingbot: #6d8fb0;
  --zero: #5d8a5e;
  --radius-small: 8px;
  --radius-medium: 12px;
  --radius-media: 14px;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: "Roboto Mono", monospace;
  font-size: 17px;
  font-weight: 400;
}

::selection {
  background: rgba(50, 118, 173, 0.2);
  color: var(--ink);
}

@font-face {
  font-family: "Signifier";
  src: url("https://www.pi.website/_next/static/media/dcb532816ecc2c68-s.p.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
}

a,
button,
[tabindex] {
  outline: none;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(253, 250, 244, 0.92);
  border-bottom: 1px solid rgba(24, 24, 24, 0.08);
  backdrop-filter: blur(14px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1344px;
  margin: 0 auto;
  padding: 0.95rem 1.5rem;
}

.nav-brand {
  color: var(--ink);
  font-family: "Apple Chancery", "Brush Script MT", cursive;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.page-toc {
  position: fixed;
  top: 5.75rem;
  right: clamp(0.45rem, 1.1vw, 1.35rem);
  z-index: 15;
  display: flex;
  flex-direction: column;
  gap: 0.44rem;
  width: 168px;
  min-width: 164px;
  padding: 0.72rem 0.68rem;
  background: rgba(253, 250, 244, 0.9);
  border: 1px solid rgba(24, 24, 24, 0.1);
  border-radius: var(--radius-small);
  box-shadow: 0 12px 30px rgba(20, 28, 38, 0.08);
  backdrop-filter: blur(14px);
}

.toc-title {
  margin-bottom: 0.25rem;
  color: rgba(24, 24, 24, 0.48);
  font-size: 0.72rem;
  line-height: 1;
  text-transform: uppercase;
}

.toc-link {
  color: rgba(24, 24, 24, 0.57);
  font-size: 0.78rem;
  line-height: 1.2;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.toc-link:hover,
.toc-link.is-active {
  color: var(--ink);
}

.toc-link.is-active {
  transform: translateX(4px);
}

.hero-body {
  padding: 4.5rem 1.5rem 3rem;
  background-color: var(--paper) !important;
}

.container.is-max-widescreen {
  max-width: 1080px !important;
}

.project-hero .container.is-max-widescreen {
  max-width: 1080px !important;
}

.hero-copy {
  width: 100%;
  max-width: 980px;
}

.publication-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 0.75rem;
  color: var(--ink);
  font-family: "Signifier", Georgia, serif !important;
  font-size: clamp(2.1rem, 4vw, 3.35rem) !important;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.12;
  text-align: left;
}

.title-line {
  display: block;
}

.project-name-line {
  width: max-content;
  white-space: nowrap;
}

.title-subline {
  display: inline-block;
  width: max-content;
  max-width: none;
  margin-top: 0.3rem;
  font-size: clamp(1.15rem, 1.7vw, 1.58rem);
  line-height: 1.18;
  white-space: nowrap;
}

.project-name {
  display: inline-block;
  color: var(--ink);
  font-weight: 900;
  -webkit-text-stroke: 0.55px currentColor;
  text-shadow: 0.026em 0 0 currentColor;
  white-space: nowrap;
}

.author-placeholder,
.publication-links {
  min-height: 0;
}

.publication-authors {
  width: 100%;
  max-width: 980px;
  margin-top: 1.05rem;
  color: var(--ink);
  font-family: "Roboto Mono", monospace;
}

.author-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0;
  row-gap: 0.14rem;
  font-size: clamp(0.84rem, 0.95vw, 0.96rem);
  font-weight: 500;
  line-height: 1.52;
}

.author-entry {
  display: inline-block;
  white-space: nowrap;
}

.author-entry:not(:last-child)::after {
  content: "\00b7";
  margin: 0 0.58rem;
  color: rgba(24, 24, 24, 0.34);
  font-weight: 400;
}

.publication-authors a {
  color: inherit;
  background: transparent;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.publication-authors a:hover {
  background: var(--ink);
  color: var(--paper);
}

.publication-authors sup {
  position: static;
  margin-left: 0.08em;
  font-size: 0.64em;
  font-weight: 600;
  line-height: 1;
  vertical-align: super;
}

.affiliation-list,
.author-notes {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0;
  row-gap: 0.08rem;
  color: rgba(24, 24, 24, 0.6);
  font-size: clamp(0.72rem, 0.78vw, 0.8rem);
  line-height: 1.55;
}

.affiliation-list span:not(:last-child)::after,
.author-notes span:not(:last-child)::after {
  content: "\00b7";
  margin: 0 0.54rem;
  color: rgba(24, 24, 24, 0.28);
}

.affiliation-list sup,
.author-notes sup {
  margin-right: 0.22em;
  margin-left: 0;
}

.affiliation-list {
  margin-top: 0.45rem;
  font-weight: 500;
}

.author-notes {
  margin-top: 0.08rem;
  color: rgba(24, 24, 24, 0.52);
}

.publication-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  column-gap: clamp(4.4rem, 9vw, 9.6rem);
  row-gap: 0.85rem;
  margin-top: 1.35rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0;
  color: var(--ink);
  border: 0;
  border-radius: 0;
  font-family: "Roboto Mono", monospace;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.project-link:hover {
  background: var(--ink);
  color: var(--paper);
}

.section {
  padding: 2.75rem 1.5rem;
  background-color: var(--paper);
  scroll-margin-top: 5rem;
}

.promo-section {
  padding-top: 0.5rem;
  padding-bottom: 2.25rem;
}

.promo-video-shell {
  width: 100%;
  max-width: 1040px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
}

.promo-video {
  display: block;
  width: 100%;
  height: 100%;
  background: #1d1d1d;
  object-fit: contain;
}

.motivation-section {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.section-heading {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
  color: var(--ink);
  font-family: "Roboto Mono", monospace;
  font-size: clamp(1.15rem, 1.55vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
  transition: text-decoration-color 160ms ease;
}

.section-heading::before {
  content: "";
  width: 0.72rem;
  height: 0.72rem;
  flex: 0 0 auto;
  background: var(--ink);
}

.section-heading:hover {
  text-decoration-color: currentColor;
}

.section-description {
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.72;
}

.paper-figure {
  margin: 1.45rem 0 0;
}

.paper-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-medium);
}

.motivation-panel {
  width: 100%;
  max-width: 1080px;
  margin: 0;
  padding: 0;
  text-align: left;
}

.motivation-panel p {
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-family: "Roboto Mono", monospace;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.62;
}

.contribution-list {
  width: 100%;
  margin: 0.85rem 0 0;
  padding-left: 1.35rem;
  color: var(--ink);
  font-family: "Roboto Mono", monospace;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.62;
}

.contribution-list li + li {
  margin-top: 0.65rem;
}

.zero-wam-framework {
  position: relative;
  width: 100%;
  aspect-ratio: 2000 / 782;
  margin: 1.55rem 0 0;
  overflow: hidden;
}

.zero-wam-framework-base {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.framework-media {
  position: absolute;
  overflow: hidden;
  border-radius: clamp(2px, 0.42vw, 8px);
  background: transparent;
}

.framework-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.framework-media video.is-ready {
  opacity: 1;
}

.framework-media--robot-data { left: 0.65%; top: 8.45%; width: 20.1%; height: 28.75%; }
.framework-media--paired-data { left: 0.7%; top: 48.1%; width: 20.05%; height: 50%; }
.framework-media--instruction-video { left: 55.05%; top: 75%; width: 10.65%; height: 18.05%; }

.framework-media--multi-human { left: 77.75%; top: 6.65%; width: 11%; height: 18.75%; }
.framework-media--multi-robot { left: 88.75%; top: 6.65%; width: 10.7%; height: 18.75%; }
.framework-media--long-human { left: 77.75%; top: 31.1%; width: 11%; height: 18.9%; }
.framework-media--long-robot { left: 88.75%; top: 31.1%; width: 10.7%; height: 18.9%; }
.framework-media--fine-human { left: 77.75%; top: 55%; width: 11%; height: 18.95%; }
.framework-media--fine-robot { left: 88.75%; top: 55%; width: 10.7%; height: 18.95%; }
.framework-media--simulation-human { left: 77.65%; top: 79.7%; width: 11.1%; height: 18.95%; }
.framework-media--simulation-robot { left: 88.75%; top: 79.7%; width: 10.7%; height: 18.95%; }

.icl-film {
  margin-top: 1.6rem;
  padding: 0.8rem 0 0.7rem;
  border-top: 1px solid rgba(24, 24, 24, 0.2);
  border-bottom: 1px solid rgba(24, 24, 24, 0.2);
}

.icl-film-chapters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(24, 24, 24, 0.1);
}

.icl-film-chapter {
  position: relative;
  min-height: 2.65rem;
  padding: 0.55rem 0.7rem;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(24, 24, 24, 0.14);
  border-radius: var(--radius-small);
  color: rgba(24, 24, 24, 0.58);
  font-family: "Roboto Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}

.icl-film-chapter::after {
  display: none;
}

.icl-film-chapter:hover {
  border-color: rgba(24, 24, 24, 0.42);
  color: var(--ink);
}

.icl-film-chapter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.icl-film-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: end;
  gap: 1.5rem;
  min-height: 5.5rem;
  padding: 1rem 0 0.85rem;
}

.icl-film-heading h3,
.icl-film-heading p {
  margin: 0;
}

.icl-film-heading h3 {
  color: var(--ink);
  font-family: "Signifier", Georgia, serif;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.08;
  white-space: nowrap;
}

.icl-film-heading p {
  max-width: 58ch;
  justify-self: end;
  color: var(--muted-ink);
  font-size: 0.82rem;
  line-height: 1.48;
  text-align: right;
}

.icl-film-stage {
  position: relative;
  height: clamp(400px, 38vw, 430px);
  min-height: 400px;
  overflow: hidden;
  background: var(--paper);
  border-radius: var(--radius-media);
}

.icl-film-gallery {
  position: relative;
  width: 100%;
  height: 100%;
}

.icl-film:not(.is-gallery) .icl-film-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 2px;
  padding: 0;
}

.icl-pair-card {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
}

.icl-pair-card.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
}

.icl-film:not(.is-gallery) .icl-pair-card.is-active {
  position: relative;
  inset: auto;
  animation: icl-stage-reveal 180ms both cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes icl-stage-reveal {
  from { opacity: 0; transform: scale(1.015); }
  to { opacity: 1; transform: scale(1); }
}

.icl-film:not(.is-gallery) .icl-pair-speed {
  display: none;
}

.icl-pair-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  height: 100%;
  background: var(--paper);
}

.icl-pair-media {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
}

.icl-pair-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 180ms ease;
}

.icl-pair-media video.is-ready {
  opacity: 1;
}

.icl-pair-role {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.28rem 0.42rem;
  background: rgba(24, 24, 24, 0.78);
  border-radius: 4px;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1;
}

.icl-pair-card h4 {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  left: 0.8rem;
  z-index: 3;
  width: max-content;
  max-width: calc(100% - 1.6rem);
  margin: 0;
  padding: 0.48rem 0.62rem;
  background: rgba(253, 250, 244, 0.92);
  border-radius: 5px;
  color: var(--ink);
  font-size: clamp(0.74rem, 1.2vw, 0.96rem);
  font-weight: 650;
  line-height: 1.25;
}

.icl-pair-speed {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 3;
  padding: 0.28rem 0.42rem;
  background: rgba(24, 24, 24, 0.78);
  border-radius: 4px;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1;
}

.icl-film.is-gallery .icl-film-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(6, minmax(0, 1fr));
  gap: 2px;
  padding: 0;
  animation: icl-gallery-zoom 825ms both cubic-bezier(0.16, 1, 0.3, 1);
}

.icl-film.is-gallery .icl-pair-card {
  position: relative;
  inset: auto;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  border-radius: 3px;
  animation: icl-gallery-reveal 450ms both cubic-bezier(0.16, 1, 0.3, 1);
  animation-delay: var(--gallery-delay);
}

.icl-film.is-gallery .icl-pair-card.is-transition-source {
  animation: none;
}

.icl-film.is-gallery .icl-pair-videos {
  gap: 0;
}

.icl-film.is-gallery .icl-pair-role,
.icl-film.is-gallery .icl-pair-card h4,
.icl-film.is-gallery .icl-pair-speed {
  display: none;
}

.icl-gallery-stats {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(78%, 760px);
  padding: 0.72rem 0.55rem;
  background: rgba(253, 250, 244, 0.94);
  border: 1px solid rgba(24, 24, 24, 0.2);
  border-radius: 5px;
  box-shadow: 0 12px 32px rgba(44, 40, 32, 0.13);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.96);
}

.icl-film.is-gallery .icl-gallery-stats {
  animation: icl-gallery-stats-reveal 520ms 620ms both cubic-bezier(0.16, 1, 0.3, 1);
}

.icl-gallery-stat {
  display: flex;
  min-width: 0;
  align-items: baseline;
  justify-content: center;
  gap: 0.48rem;
  padding: 0.2rem 0.55rem;
  text-align: center;
}

.icl-gallery-stat + .icl-gallery-stat {
  border-left: 1px solid rgba(24, 24, 24, 0.18);
}

.icl-gallery-stat strong {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 650;
  line-height: 1;
}

.icl-gallery-stat span {
  min-width: 0;
  color: rgba(24, 24, 24, 0.68);
  font-size: clamp(0.62rem, 1vw, 0.78rem);
  font-weight: 500;
  line-height: 1.2;
}

.icl-film-controls {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto 2rem;
  align-items: center;
  gap: 0.65rem;
  padding-top: 0.7rem;
}

.icl-film-toggle,
.icl-film-replay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(24, 24, 24, 0.2);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.icl-film-toggle:hover,
.icl-film-replay:hover {
  background: var(--ink);
  color: var(--paper);
}

.icl-film-timeline {
  position: relative;
  height: 0.7rem;
  overflow: hidden;
  background: rgba(24, 24, 24, 0.1);
  border-radius: 2px;
  cursor: pointer;
}

.icl-film-timeline-fill {
  width: 0;
  height: 100%;
  background: var(--ink);
}

.icl-film-time {
  color: rgba(24, 24, 24, 0.62);
  font-size: 0.65rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

@keyframes icl-gallery-reveal {
  from {
    opacity: 0;
    transform: scale(1.38);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes icl-gallery-zoom {
  from {
    transform: scale(1.22);
  }
  to {
    transform: scale(1);
  }
}

@keyframes icl-gallery-stats-reveal {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.demo-block {
  margin-top: 1.25rem;
  padding: 1.15rem;
  background: var(--soft-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  box-shadow: 0 12px 32px rgba(20, 28, 38, 0.05);
}

.demo-block + .demo-block {
  margin-top: 1.35rem;
}

.demo-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(24, 24, 24, 0.1);
}

.demo-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--ink);
  font-family: "Roboto Mono", monospace;
  font-size: clamp(1.04rem, 1.45vw, 1.35rem);
  font-weight: 600;
  line-height: 1.25;
}

.demo-title::before {
  content: "";
  width: 3px;
  height: 1.35rem;
  flex: 0 0 auto;
  background: var(--ink);
  border-radius: 2px;
}

.task-detail {
  margin: 0 0 0.85rem;
}

.active-task-name {
  display: block;
  color: var(--ink);
  font-family: "Roboto Mono", monospace;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
}

.active-task-description {
  max-width: 100ch;
  margin: 0.28rem 0 0;
  color: var(--muted-ink);
  font-size: 0.8rem;
  line-height: 1.58;
}

.active-task-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

.active-task-tags:empty {
  display: none;
}

.active-task-tags span {
  padding: 0.24rem 0.42rem;
  color: rgba(24, 24, 24, 0.72);
  border: 1px solid rgba(24, 24, 24, 0.2);
  border-radius: 4px;
  font-family: "Roboto Mono", monospace;
  font-size: 0.62rem;
  line-height: 1.2;
}

.task-controls {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr) 2.35rem;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
}

.task-strip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.55rem;
  padding: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.task-strip::-webkit-scrollbar {
  display: none;
}

.task-button,
.task-scroll,
.dataset-tab {
  border: 1px solid rgba(24, 24, 24, 0.18);
  background: rgba(255, 255, 255, 0.38);
  color: var(--ink);
  font-family: "Roboto Mono", monospace;
}

.task-button {
  flex: 0 0 auto;
  max-width: min(34rem, 82vw);
  min-height: 2.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.task-button:hover,
.task-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.task-scroll {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border-radius: 50%;
  font-size: 0.78rem;
  line-height: 1;
  cursor: pointer;
}

.task-scroll:hover {
  border-color: var(--ink);
}

.video-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  min-width: 0;
}

.video-card {
  margin: 0;
  min-width: 0;
}

.video-card figcaption {
  margin-bottom: 0.45rem;
  color: rgba(24, 24, 24, 0.64);
  font-family: "Roboto Mono", monospace;
  font-size: 0.78rem;
}

.video-shell {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  background: #1d1d1d;
  border-radius: var(--radius-media);
  box-shadow: 0 14px 36px rgba(20, 28, 38, 0.1);
}

.demo-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1d1d1d;
  object-fit: contain;
}

.video-speed-badge {
  position: absolute;
  right: 0.55rem;
  bottom: 1.55rem;
  z-index: 2;
  padding: 0.22rem 0.4rem;
  background: rgba(24, 24, 24, 0.76);
  border-radius: 4px;
  color: #fff;
  font-family: "Roboto Mono", monospace;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  pointer-events: none;
}

.video-speed-badge[hidden] {
  display: none;
}

.video-controls {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1.12rem auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.34rem;
  min-height: 1.2rem;
  padding: 0.1rem 0.28rem;
  background: rgba(198, 226, 255, 0.46);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 160ms ease, transform 160ms ease;
}

.video-shell:hover .video-controls,
.video-shell:focus-within .video-controls {
  opacity: 1;
  transform: translateY(0);
}

.video-play-toggle {
  position: relative;
  width: 1.12rem;
  height: 1.12rem;
  padding: 0;
  background: rgba(225, 242, 255, 0.84);
  border: 0;
  border-radius: 2px;
  box-shadow: none;
  cursor: pointer;
}

.video-play-toggle::before,
.video-play-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  background: var(--ink);
  transform: translateY(-50%);
}

.video-play-toggle.is-playing::before,
.video-play-toggle.is-playing::after {
  width: 0.13rem;
  height: 0.42rem;
  border-radius: 1px;
}

.video-play-toggle.is-playing::before {
  left: 0.4rem;
}

.video-play-toggle.is-playing::after {
  right: 0.4rem;
}

.video-play-toggle:not(.is-playing)::before {
  left: 0.44rem;
  width: 0;
  height: 0;
  background: transparent;
  border-top: 0.22rem solid transparent;
  border-bottom: 0.22rem solid transparent;
  border-left: 0.34rem solid var(--ink);
}

.video-play-toggle:not(.is-playing)::after {
  display: none;
}

.video-time {
  color: var(--ink);
  font-family: "Roboto Mono", monospace;
  font-size: 0.62rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.video-progress {
  position: relative;
  height: 0.9rem;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  touch-action: none;
}

.video-progress::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 0.16rem;
  background: rgba(22, 64, 112, 0.22);
  border-radius: 999px;
  transform: translateY(-50%) scaleY(1);
  transition: transform 160ms ease, background 160ms ease;
}

.video-progress:hover::before,
.video-progress:focus-visible::before,
.video-progress.is-dragging::before {
  background: rgba(22, 64, 112, 0.28);
  transform: translateY(-50%) scaleY(1.5);
}

.video-progress-fill {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 1;
  width: 0;
  height: 0.16rem;
  background: rgba(42, 132, 220, 0.9);
  border-radius: inherit;
  transform: translateY(-50%) scaleY(1);
  transition: transform 160ms ease;
}

.video-progress:hover .video-progress-fill,
.video-progress:focus-visible .video-progress-fill,
.video-progress.is-dragging .video-progress-fill {
  transform: translateY(-50%) scaleY(1.5);
}

.insertion-gallery {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
}

.insertion-gallery .task-controls {
  display: block;
}

.insertion-gallery .task-strip {
  align-items: stretch;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 0;
  overflow: visible;
}

.insertion-gallery .task-button--visual {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 0;
  padding: 0.35rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.42);
  border-radius: var(--radius-small);
  color: var(--ink);
  text-align: left;
  white-space: normal;
}

.task-button--visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 5px;
  object-fit: cover;
}

.task-button--visual span {
  display: block;
  padding: 0.38rem 0.22rem 0.12rem;
  font-size: 0.66rem;
  line-height: 1.3;
}

.insertion-gallery .task-button--visual:hover,
.insertion-gallery .task-button--visual.is-active {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
  color: var(--ink);
}

.insertion-main {
  min-width: 0;
}

.data-composition-viewport {
  margin-top: 1.35rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: rgba(24, 24, 24, 0.22) transparent;
  scrollbar-width: thin;
}

.data-composition {
  display: grid;
  min-width: 60rem;
  gap: 0.65rem;
  padding-bottom: 0.32rem;
}

.data-composition-row {
  display: grid;
  min-width: 0;
  align-items: stretch;
  gap: 0.65rem;
}

.data-composition-row--top {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

.data-composition-row--bottom {
  grid-template-columns: minmax(0, 3.75fr) minmax(0, 1.92fr) minmax(0, 1fr);
}

.data-family {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 0.52rem;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(24, 24, 24, 0.15);
  border-radius: var(--radius-small);
}

.data-family-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding-top: 0.32rem;
  color: var(--ink);
  font-family: "Roboto Mono", monospace;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.data-family-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.1rem;
  margin-top: 0;
  padding-top: 0.35rem;
  text-align: center;
}

.data-family-caption span {
  color: rgba(24, 24, 24, 0.58);
  font-family: "Roboto Mono", monospace;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.25;
}

.data-family-caption .data-family-title {
  margin: 0;
  padding-top: 0.12rem;
}

.data-pair-grid {
  display: grid;
  min-width: 0;
  align-items: start;
  gap: 0.32rem;
}

.data-pair-grid--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.data-pair-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.data-pair-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.data-pair-grid--one {
  grid-template-columns: minmax(0, 1fr);
}

.data-pair {
  min-width: 0;
  margin: 0;
}

.data-pair-media {
  position: relative;
  overflow: hidden;
  background: #1d1d1d;
  border-radius: 5px;
  aspect-ratio: 8 / 9;
}

.data-pair-media::after {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(253, 250, 244, 0.72);
  content: "";
  pointer-events: none;
}

.data-pair video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.data-pair figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.12rem 0;
  color: rgba(24, 24, 24, 0.72);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}

.data-family--external .data-pair-media {
  aspect-ratio: 4 / 5;
}

.data-va-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  background: transparent;
  border-radius: 5px;
  aspect-ratio: 16 / 9;
}

.data-va-robot {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.data-va-robot video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pipeline-flow {
  margin-top: 1.35rem;
  overflow-x: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  scrollbar-color: rgba(24, 24, 24, 0.25) transparent;
  scrollbar-width: thin;
}

.pipeline-canvas {
  display: grid;
  grid-template-columns: 218px 60px 218px 60px 218px 60px 218px;
  grid-template-rows: 215px 66px 215px;
  justify-content: center;
  min-width: 1076px;
  padding: 0.75rem;
  background: transparent;
}

.pipeline-node {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
  flex-direction: column;
  overflow: hidden;
  background: rgba(253, 250, 244, 0.94);
  border: 1px solid rgba(24, 24, 24, 0.14);
  border-radius: var(--radius-small);
  box-shadow: 0 5px 14px rgba(20, 28, 38, 0.035);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.pipeline-node.is-active {
  border-color: rgba(24, 24, 24, 0.72);
  box-shadow: 0 8px 20px rgba(24, 24, 24, 0.1), inset 0 0 0 1px rgba(24, 24, 24, 0.14);
  transform: translateY(-2px);
}

.pipeline-node--source { grid-column: 1; grid-row: 1; }
.pipeline-link--down.pipeline-link--dataset { grid-column: 1; grid-row: 2; }
.pipeline-link--sample { grid-column: 2; grid-row: 1; }
.pipeline-node--robot { grid-column: 3; grid-row: 1; }
.pipeline-link--parse { grid-column: 4; grid-row: 1; }
.pipeline-node--analysis { grid-column: 5; grid-row: 1; }
.pipeline-link--edit { grid-column: 6; grid-row: 1; }
.pipeline-node--observation { grid-column: 7; grid-row: 1; }
.pipeline-link--down { grid-column: 7; grid-row: 2; }
.pipeline-node--prompt { grid-column: 7; grid-row: 3; }
.pipeline-link--generate { grid-column: 6; grid-row: 3; }
.pipeline-node--human { grid-column: 5; grid-row: 3; }
.pipeline-link--assess { grid-column: 4; grid-row: 3; }
.pipeline-node--quality { grid-column: 3; grid-row: 3; }
.pipeline-link--pair { grid-column: 2; grid-row: 3; }
.pipeline-node--pair { grid-column: 1; grid-row: 3; }

.pipeline-node--robot,
.pipeline-node--quality {
  width: 100%;
}

.pipeline-media {
  flex: 0 0 104px;
  min-height: 0;
  overflow: hidden;
  background: rgba(24, 24, 24, 0.06);
}

.pipeline-media img,
.pipeline-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pipeline-media--collage {
  position: relative;
}

.pipeline-collage-label {
  position: absolute;
  top: 50%;
  right: 12%;
  left: 12%;
  padding: 0.48rem 0.4rem;
  background: rgba(24, 24, 24, 0.7);
  border-radius: 4px;
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.22;
  text-align: center;
  transform: translateY(-50%);
  pointer-events: none;
}

.pipeline-node--source .pipeline-media,
.pipeline-node--pair .pipeline-media {
  flex: 1 1 auto;
}

.pipeline-node--robot .pipeline-media,
.pipeline-node--observation .pipeline-media,
.pipeline-node--human .pipeline-media {
  flex: 1 1 auto;
}

.pipeline-node--robot,
.pipeline-node--observation,
.pipeline-node--human {
  padding-top: 0.62rem;
}

.pipeline-node-copy {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  padding: 0.6rem 0.68rem;
}

.pipeline-kicker,
.pipeline-analysis-block span,
.pipeline-prompt-copy span,
.pipeline-score span {
  color: rgba(24, 24, 24, 0.54);
  font-size: 0.64rem;
  line-height: 1.25;
}

.pipeline-analysis-block span,
.pipeline-prompt-copy span,
.pipeline-score span {
  color: var(--ink);
  font-weight: 600;
}

.pipeline-analysis-block span,
.pipeline-prompt-copy span {
  font-size: 0.74rem;
}

.pipeline-score span {
  font-size: 0.78rem;
  line-height: 1.2;
}

.pipeline-node-copy strong,
.pipeline-analysis-block strong,
.pipeline-prompt-copy strong,
.pipeline-score strong {
  color: var(--ink);
  font-size: 0.72rem;
  line-height: 1.3;
}

.pipeline-node-copy strong {
  font-size: 0.8rem;
  font-weight: 600;
}

.pipeline-node--robot .pipeline-node-copy,
.pipeline-node--observation .pipeline-node-copy,
.pipeline-node--human .pipeline-node-copy {
  align-items: center;
  flex: 0 0 46px;
  justify-content: center;
  gap: 0.12rem;
  padding: 0.2rem 0.42rem 0.08rem;
  text-align: center;
}

.pipeline-node--robot .pipeline-node-copy {
  flex-basis: 46px;
  justify-content: center;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

.pipeline-analysis-block strong,
.pipeline-prompt-copy strong,
.pipeline-score strong {
  font-weight: 400;
}

.pipeline-node-copy small,
.pipeline-prompt-copy small,
.pipeline-node--quality > small {
  margin-top: 0.18rem;
  color: rgba(24, 24, 24, 0.62);
  font-size: 0.55rem;
  line-height: 1.3;
}

.pipeline-node--analysis,
.pipeline-node--prompt,
.pipeline-node--quality {
  justify-content: center;
  gap: 0.4rem;
  padding: 0.58rem;
}

.pipeline-node--analysis {
  gap: 0.3rem;
  padding: 0.45rem 0.45rem 0.24rem;
}

.pipeline-node--prompt {
  justify-content: flex-start;
  gap: 0.28rem;
  padding: 0.58rem 0.62rem 0.18rem;
}

.pipeline-analysis-block,
.pipeline-score {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(24, 24, 24, 0.11);
  border-radius: 4px;
}

.pipeline-node--analysis .pipeline-analysis-block {
  padding: 0.38rem 0.42rem;
}

.pipeline-model {
  color: rgba(24, 24, 24, 0.66);
  font-size: 0.6rem;
  line-height: 1.25;
  text-align: right;
}

.pipeline-prompt-copy {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.2rem;
}

.pipeline-node--prompt .pipeline-prompt-copy {
  gap: 0.25rem;
  padding: 0;
}

.pipeline-node--prompt .pipeline-prompt-copy strong {
  font-size: 0.7rem;
  line-height: 1.25;
}

.pipeline-node--prompt .pipeline-node-label {
  margin-top: auto;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
}

.pipeline-node-label {
  color: rgba(24, 24, 24, 0.8);
  font-size: 0.66rem;
  line-height: 1.2;
  text-align: center;
}

.pipeline-node--quality {
  background: rgba(253, 250, 244, 0.94);
  padding-top: 1.1rem;
  padding-bottom: 0.24rem;
}

.pipeline-node-agents {
  display: flex;
  min-height: 14px;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  margin-top: auto;
}

.pipeline-node-agents > img {
  display: block;
  width: auto;
  max-width: 58px;
  height: auto;
  max-height: 17px;
  object-fit: contain;
}

.pipeline-node-agents > img.logo-kling {
  max-width: 64px;
}

.pipeline-node-agents--lockups {
  flex-wrap: nowrap;
  gap: 0.32rem;
  margin-top: 0;
}

.pipeline-node--observation .pipeline-node-agents--lockups {
  gap: 0.42rem;
}

.pipeline-node--prompt .pipeline-node-agents {
  margin-top: 0.32rem;
}

.pipeline-node--analysis .pipeline-node-agents,
.pipeline-node--quality .pipeline-node-agents {
  flex: 0 0 auto;
  margin-top: auto;
}

.pipeline-node--analysis .pipeline-node-agents > img,
.pipeline-node--quality .pipeline-node-agents > img {
  max-width: 56px;
  max-height: 16px;
}

.pipeline-score {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(24, 24, 24, 0.11);
}

.pipeline-score i {
  font-style: normal;
}

.score-pass {
  color: #4d9d85;
}

.score-review {
  color: #d15a5a;
}

.pipeline-node--pair {
  border-color: rgba(24, 24, 24, 0.14);
  background: rgba(253, 250, 244, 0.94);
}

.pipeline-link {
  --flow-color: rgba(24, 24, 24, 0.34);
  position: relative;
  color: rgba(24, 24, 24, 0.78);
  transition: color 180ms ease;
}

.pipeline-link.is-active {
  --flow-color: rgba(24, 24, 24, 0.88);
  color: var(--ink);
}

.pipeline-link > span {
  position: absolute;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.16;
  text-align: center;
  overflow-wrap: normal;
}

.pipeline-link--right > span,
.pipeline-link--left > span {
  top: auto;
  right: 3px;
  bottom: calc(50% + 0.82rem);
  left: 3px;
}

.pipeline-link::before,
.pipeline-link::after {
  content: "";
  position: absolute;
}

.pipeline-link--right::before,
.pipeline-link--left::before {
  top: calc(50% - 1px);
  right: 10px;
  left: 6px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--flow-color) 0 7px, transparent 7px 13px);
  background-size: 26px 2px;
}

.pipeline-link--right::after,
.pipeline-link--left::after {
  top: calc(50% - 5px);
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.pipeline-link--right::after {
  right: 3px;
  border-left: 8px solid var(--flow-color);
}

.pipeline-link--left::after {
  left: 3px;
  border-right: 8px solid var(--flow-color);
}

.pipeline-link--down::before {
  top: 5px;
  bottom: 10px;
  left: calc(50% - 1px);
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--flow-color) 0 7px, transparent 7px 13px);
  background-size: 2px 26px;
}

.pipeline-link--down::after {
  bottom: 3px;
  left: calc(50% - 5px);
  width: 0;
  height: 0;
  border-top: 8px solid var(--flow-color);
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
}

.pipeline-link--down > span {
  top: 50%;
  right: calc(50% + 11px);
  width: 130px;
  text-align: right;
  transform: translateY(-50%);
}

.pipeline-link--dataset > span {
  right: auto;
  left: calc(50% + 12px);
  width: 96px;
  text-align: left;
}

.pipeline-link--dataset .pipeline-arrow-up {
  position: absolute;
  top: 3px;
  left: calc(50% - 5px);
  width: 0;
  height: 0;
  border-right: 5px solid transparent;
  border-bottom: 8px solid var(--flow-color);
  border-left: 5px solid transparent;
}

.pipeline-link--dataset::before {
  top: 10px;
}

.pipeline-logos {
  position: absolute;
  z-index: 1;
  top: calc(50% + 0.48rem);
  right: -0.42rem;
  left: -0.42rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0.12rem;
}

.pipeline-logos > img {
  display: block;
  width: auto;
  max-width: 58px;
  height: auto;
  max-height: 15px;
  object-fit: contain;
}

.pipeline-logos > img.logo-kling {
  width: 58px;
  max-height: 15px;
}

.pipeline-logo-lockup {
  display: flex;
  align-items: center;
  gap: 0.08rem;
  white-space: nowrap;
}

.pipeline-logo-lockup img {
  width: auto;
  max-width: 62px;
  height: 19px;
  object-fit: contain;
}

.pipeline-logo-lockup img.logo-mark {
  width: 20px;
  height: 20px;
}

.qwen-icon-crop {
  display: block;
  width: 20px;
  height: 20px;
  overflow: hidden;
  flex: 0 0 20px;
}

.qwen-icon-crop img {
  display: block;
  width: auto;
  max-width: none;
  height: 20px;
}

.pipeline-logo-lockup b {
  color: rgba(24, 24, 24, 0.72);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1;
}

.pipeline-link--down .pipeline-logos {
  top: 50%;
  right: auto;
  left: calc(50% + 12px);
  width: 56px;
  transform: translateY(-50%);
}

.pipeline-flow.is-running .pipeline-link--right::before {
  animation: pipeline-flow-right 0.9s linear infinite;
}

.pipeline-flow.is-running .pipeline-link--left::before {
  animation: pipeline-flow-left 0.9s linear infinite;
}

.pipeline-flow.is-running .pipeline-link--down::before {
  animation: pipeline-flow-down 0.9s linear infinite;
}

.pipeline-flow.is-paused .pipeline-link::before {
  animation-play-state: paused;
}

@keyframes pipeline-flow-right {
  to { background-position: 26px 0; }
}

@keyframes pipeline-flow-left {
  to { background-position: -26px 0; }
}

@keyframes pipeline-flow-down {
  to { background-position: 0 26px; }
}

.robotwin-subsection {
  margin-top: 0.4rem;
}

.robotwin-subsection + .robotwin-subsection {
  margin-top: 3rem;
  padding-top: 2.6rem;
  border-top: 1px solid rgba(24, 24, 24, 0.12);
}

.robotwin-subheading {
  margin: 0 0 0.65rem;
  color: var(--ink);
  font-family: "Roboto Mono", monospace;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
}

.robotwin-groups {
  display: grid;
  gap: 1.55rem;
  margin-top: 1.35rem;
}

.robotwin-task-group {
  min-width: 0;
}

.robotwin-task-group--primary {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.robotwin-secondary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.robotwin-task-group--single {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 0.625rem;
  align-items: start;
}

.robotwin-group-label {
  align-self: start;
  padding: 0.7rem 0.35rem 0 0;
  color: var(--ink);
  border-top: 1px solid rgba(24, 24, 24, 0.3);
}

.robotwin-group-label h4 {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.3;
}

.robotwin-task-grid {
  display: grid;
  margin: 0;
}

.robotwin-task-grid--multi {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.robotwin-task {
  min-width: 0;
  margin: 0;
}

.robotwin-task video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #1d1d1d;
  border-radius: var(--radius-small);
  box-shadow: 0 10px 26px rgba(20, 28, 38, 0.08);
}

.robotwin-video-shell {
  border-radius: var(--radius-small);
  box-shadow: 0 10px 26px rgba(20, 28, 38, 0.08);
}

.robotwin-video-shell video {
  border-radius: 0;
  box-shadow: none;
}

.robotwin-task figcaption {
  display: flex;
  min-height: 2.7em;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 0.4rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.result-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
  margin: 1.5rem 0 1.1rem;
  color: rgba(24, 24, 24, 0.7);
  font-size: 1.05rem;
}

.result-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-swatch {
  display: inline-block;
  width: 1.6rem;
  height: 0.52rem;
  border-radius: 1px;
}

.legend-wan { background: var(--wan); }
.legend-lingbot { background: var(--lingbot); }
.legend-zero { background: var(--zero); }

.results-chart {
  padding: 1.15rem;
  background: var(--soft-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  box-shadow: 0 12px 32px rgba(20, 28, 38, 0.04);
}

.chart-axis,
.chart-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 1.2rem;
}

.chart-axis {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 0.45rem;
  margin-left: calc(190px + 1.2rem);
  color: rgba(24, 24, 24, 0.5);
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
}

.chart-axis span {
  text-align: right;
}

.chart-axis span:first-child {
  text-align: left;
}

.chart-row {
  align-items: center;
  min-height: 80px;
  padding: 0.48rem 0;
  border-bottom: 1px solid rgba(24, 24, 24, 0.08);
}

.chart-row:last-child {
  border-bottom: 0;
}

.chart-task {
  color: rgba(24, 24, 24, 0.72);
  font-size: 0.88rem;
  line-height: 1.35;
}

.chart-plot {
  position: relative;
  display: grid;
  grid-template-rows: repeat(3, 0.82rem);
  gap: 0.27rem;
  padding-right: 3.1rem;
  background-image: linear-gradient(to right, rgba(24, 24, 24, 0.07) 1px, transparent 1px);
  background-size: 25% 100%;
  background-position: 0 0;
}

.chart-bar {
  position: relative;
  display: block;
  width: max(2px, calc(var(--value) * 1%));
  height: 0.82rem;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
}

.results-chart.is-visible .chart-bar {
  transform: scaleX(1);
  transition: transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.chart-bar:nth-child(2) { transition-delay: 70ms !important; }
.chart-bar:nth-child(3) { transition-delay: 140ms !important; }

.chart-bar b {
  position: absolute;
  top: 50%;
  left: calc(100% + 0.35rem);
  color: rgba(24, 24, 24, 0.7);
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%);
}

.chart-bar.is-wan { background: var(--wan); }
.chart-bar.is-lingbot { background: var(--lingbot); }
.chart-bar.is-zero { background: var(--zero); }

.chart-average {
  margin-top: 0.35rem;
  border-top: 1px solid rgba(24, 24, 24, 0.16);
}

.chart-average .chart-task,
.chart-average .chart-bar b {
  color: var(--ink);
  font-weight: 700;
}

.citation-section {
  padding-top: 1.25rem;
  padding-bottom: 2.5rem;
}

.citation-bibtex {
  margin: 0;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.3);
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid rgba(24, 24, 24, 0.14);
  color: var(--ink);
  font-family: "Roboto Mono", monospace;
  font-size: clamp(0.72rem, 1.05vw, 0.9rem);
  line-height: 1.55;
  white-space: pre;
}

.citation-bibtex code {
  color: inherit;
  font: inherit;
}

.site-footer {
  margin-top: 1.5rem;
  padding: 1.4rem 1.5rem 2rem;
  color: rgba(24, 24, 24, 0.48);
  border-top: 1px solid rgba(24, 24, 24, 0.08);
  font-family: "Apple Chancery", "Brush Script MT", cursive;
  font-size: 1.1rem;
}

@media (max-width: 1240px) {
  .page-toc {
    display: none;
  }
}

@media (max-width: 960px) {
  .robotwin-task-group--primary {
    grid-template-columns: 8.5rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .robotwin-secondary-grid {
    gap: 1rem;
  }

  .robotwin-task-group--single {
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 0.5rem;
  }

  .robotwin-task-grid--multi {
    grid-template-columns: repeat(4, minmax(9rem, 1fr));
  }
}

@media (max-width: 820px) {
  .robotwin-task-group--primary {
    grid-template-columns: 8rem minmax(0, 1fr);
  }

  .robotwin-secondary-grid {
    grid-template-columns: repeat(3, minmax(18.5rem, 1fr));
    gap: 0.75rem;
    padding-bottom: 0.25rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .robotwin-task-group--single {
    grid-template-columns: 6rem minmax(0, 1fr);
    scroll-snap-align: start;
  }

  .robotwin-task-grid--multi {
    grid-template-columns: repeat(4, minmax(10rem, 1fr));
    padding-bottom: 0.5rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .robotwin-task-grid--multi .robotwin-task {
    scroll-snap-align: start;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .nav-inner {
    padding: 0.8rem 1rem;
  }

  .hero-body {
    padding: 2.75rem 1rem 1.75rem;
  }

  .publication-title {
    font-size: clamp(1.75rem, 11vw, 2.2rem) !important;
  }

  .title-subline {
    width: max-content;
    max-width: none;
    font-size: min(1.05rem, 2.55vw);
    line-height: 1.18;
    white-space: nowrap;
  }

  .section {
    padding: 2.15rem 1rem;
  }

  .promo-section {
    padding-top: 0;
  }

  .motivation-section {
    padding-top: 0.8rem;
  }

  .section-description {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .icl-film {
    margin-top: 1.25rem;
  }

  .icl-film-chapters {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .icl-film-chapters::-webkit-scrollbar {
    display: none;
  }

  .icl-film-chapter {
    flex: 0 0 9.75rem;
    scroll-snap-align: start;
  }

  .icl-film-heading {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    min-height: 6.6rem;
    padding: 0.85rem 0 0.7rem;
  }

  .icl-film-heading h3 {
    font-size: clamp(1.35rem, 6.2vw, 1.75rem);
    white-space: normal;
  }

  .icl-film-heading p {
    justify-self: start;
    font-size: 0.76rem;
    text-align: left;
  }

  .icl-film-stage {
    height: 620px;
    min-height: 620px;
  }

  .icl-film:not(.is-gallery)[data-stage] .icl-film-gallery {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(4, minmax(0, 1fr));
  }

  .icl-pair-videos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 1fr;
  }

  .icl-pair-card h4 {
    font-size: 0.78rem;
  }

  .icl-film.is-gallery .icl-film-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(12, minmax(0, 1fr));
    gap: 2px;
    padding: 0;
  }

  .icl-film.is-gallery .icl-pair-card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .icl-film.is-gallery .icl-pair-videos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 1fr;
  }

  .icl-film.is-gallery .icl-pair-role {
    display: none;
  }

  .icl-film-controls {
    grid-template-columns: 2rem minmax(0, 1fr) 2rem;
    gap: 0.5rem;
  }

  .icl-film-time {
    display: none;
  }

  .motivation-panel p {
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .zero-wam-framework {
    width: calc(100% + 0.5rem);
    margin-top: 1.2rem;
    margin-left: -0.25rem;
  }

  .demo-block {
    padding: 0.8rem;
  }

  .task-controls {
    grid-template-columns: 2.2rem minmax(0, 1fr) 2.2rem;
  }

  .task-button {
    max-width: 78vw;
  }

  .video-pair {
    grid-template-columns: 1fr;
  }

  .insertion-gallery {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .insertion-main,
  .insertion-main .video-pair {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .insertion-gallery .task-controls,
  .insertion-gallery .task-strip {
    min-width: 0;
    max-width: 100%;
  }

  .insertion-gallery .task-strip {
    align-items: stretch;
    flex-direction: row;
    gap: 0.55rem;
    overflow-x: auto;
  }

  .insertion-gallery .task-button--visual {
    flex: 0 0 148px;
  }

  .video-controls {
    opacity: 1;
    transform: translateY(0);
  }

  .data-composition {
    min-width: 60rem;
  }

  .pipeline-canvas {
    justify-content: start;
    padding: 0.85rem;
  }

  .icl-gallery-stat {
    align-items: center;
    flex-direction: column;
    gap: 0.12rem;
    padding: 0.45rem 0.25rem;
    text-align: center;
  }

  .icl-gallery-stats {
    width: calc(100% - 1rem);
    padding: 0.38rem 0.25rem;
  }

  .robotwin-subsection + .robotwin-subsection {
    margin-top: 2.4rem;
    padding-top: 2rem;
  }

  .result-legend {
    margin-left: 0;
    font-size: 0.84rem;
  }

  .results-chart {
    padding: 0.85rem;
  }

  .chart-axis {
    display: none;
  }

  .chart-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    min-height: 95px;
  }

  .chart-plot {
    min-height: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .chart-bar {
    transform: scaleX(1);
  }

  .framework-media video {
    transition: none;
  }
}
