:root {
  --ink: #30373c;
  --heading: #202b33;
  --muted: #697178;
  --navy: #344c5d;
  --navy-deep: #293e4d;
  --blue: #4c6677;
  --blue-soft: #f3f5f6;
  --line: #dedfdf;
  --line-strong: #c9ced1;
  --surface: #f7f7f5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fdfdfc;
  font-family: "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { display: block; width: 100%; }
a { color: var(--blue); text-decoration: none; }
p { margin: 0 0 1rem; }
.container { width: min(100% - 40px, 1180px); margin: 0 auto; }
.narrow { max-width: 1080px; }
.centered { text-align: center; }

.hero {
  padding: 72px 0 44px;
  border-bottom: 1px solid #ebedee;
}
.hero-inner { max-width: 1120px; text-align: center; }
.hero h1 {
  margin: 0 auto;
  max-width: 1100px;
  color: var(--heading);
  font-size: clamp(2rem, 4.1vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -.036em;
  line-height: 1.1;
}
.hero-subtitle {
  max-width: 820px;
  margin: 25px auto 8px;
  color: #535e66;
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  line-height: 1.52;
}
.anonymous { margin: 8px 0 22px; color: var(--muted); font-size: 1rem; }
.link-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.pill-button {
  min-width: 108px;
  padding: 9px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--navy-deep);
  border-radius: 2px;
  color: #fff;
  background: var(--navy-deep);
  font-size: .91rem;
  font-weight: 600;
  transition: background .15s ease, border-color .15s ease;
}
.pill-button:hover { color: #fff; border-color: #20333f; background: #20333f; }
.button-icon { font-size: .82em; opacity: .86; }

.section { padding: 62px 0; }
.section-tint {
  border-top: 1px solid #ebedee;
  border-bottom: 1px solid #ebedee;
  background: var(--surface);
}
.opening-section { padding-top: 46px; }
h2 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(1.72rem, 3vw, 2.18rem);
  font-weight: 700;
  letter-spacing: -.018em;
  line-height: 1.2;
}
h3 {
  margin: 0 0 10px;
  color: var(--heading);
  font-size: 1.34rem;
  line-height: 1.3;
}
.section-heading {
  max-width: 880px;
  margin: 0 auto 30px;
  text-align: center;
}
.section-heading h2 { margin-top: 5px; }
.section-heading p {
  max-width: 850px;
  margin: 16px auto 0;
  color: #535e66;
  font-size: 1.02rem;
  line-height: 1.7;
}
.section-kicker {
  display: block;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}
.lead, .section-intro {
  max-width: 860px;
  margin: 24px auto 0;
  color: #535e66;
  font-size: 1.02rem;
  line-height: 1.72;
}

.opening-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  text-align: left;
}
.showcase-item { margin: 0; }
.showcase-item .video-wrap {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 1px;
  background: #111;
}
.showcase-item figcaption {
  margin: 0;
  padding: 11px 2px 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.showcase-item figcaption span {
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.showcase-item figcaption strong { color: var(--heading); font-size: .94rem; font-weight: 650; }
.video-wrap { position: relative; }
.feature-video { aspect-ratio: 16 / 9; object-fit: cover; background: #111; }
.speed-badge,
.video-grid figure::after {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 1px;
  color: #fff;
  background: rgba(20, 28, 35, .82);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .035em;
  line-height: 1.4;
  text-transform: uppercase;
  pointer-events: none;
}

.research-figure { margin: 30px auto 0; text-align: center; }
.research-figure img {
  border: 1px solid #e7ebee;
  border-radius: 0;
  background: #fff;
}
.wide-figure { margin-top: 30px; }
figcaption { margin-top: 10px; color: #66727e; font-size: .88rem; line-height: 1.55; }

.method-columns {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--navy);
  background: #fff;
}
.method-columns article {
  min-width: 0;
  padding: 25px 24px 27px;
  border-left: 1px solid var(--line);
  background: #fff;
}
.method-columns article:first-child { border-left: 0; }
.method-columns h3 { margin-bottom: 12px; font-size: 1.2rem; }
.method-columns p { margin: 0; color: #586470; font-size: .91rem; line-height: 1.65; }
.method-index {
  margin-bottom: 13px;
  display: block;
  color: var(--blue);
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .12em;
  line-height: 1;
}

.stat-row {
  margin: 30px 0 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--navy);
  background: #fff;
  text-align: center;
}
.stat-row div {
  min-height: 122px;
  padding: 22px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  border-left: 1px solid var(--line);
}
.stat-row div:first-child { border-left: 0; }
.stat-row strong { color: var(--navy-deep); font-size: 1.95rem; font-weight: 700; line-height: 1.08; }
.stat-row div:nth-child(2) strong { color: var(--navy); }
.stat-row span { color: #5f6b76; font-size: .82rem; line-height: 1.4; }

.table-wrap {
  margin-top: 34px;
  overflow-x: auto;
  border-top: 2px solid var(--navy-deep);
  background: #fff;
  text-align: left;
}
.table-heading {
  padding: 16px 14px 14px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line-strong);
}
.table-heading div { display: flex; align-items: baseline; gap: 12px; }
.table-heading span {
  color: var(--blue);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.table-heading strong { color: var(--heading); font-size: .96rem; font-weight: 650; }
.table-heading p { margin: 0; color: var(--muted); font-size: .78rem; white-space: nowrap; }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: .91rem; }
th, td { padding: 11px 13px; border-bottom: 1px solid var(--line); text-align: center; }
th:first-child, td:first-child { text-align: left; }
th { color: #455461; background: #f1f4f6; font-size: .78rem; font-weight: 700; letter-spacing: .025em; }
td b { color: var(--navy-deep); }
.gain { color: var(--navy); font-weight: 650; }
.mean-row td { border-top: 2px solid var(--line-strong); background: #f8fafb; font-weight: 650; }
.table-note {
  margin: 0;
  padding: 13px 14px 15px;
  color: #65717d;
  background: #fafbfc;
  font-size: .8rem;
  line-height: 1.55;
}

.experiment {
  margin-top: 50px;
  padding-top: 38px;
  border-top: 1px solid var(--line-strong);
  text-align: left;
}
.experiment > p { margin: 0 0 19px; color: #596571; }
.experiment-heading {
  margin-bottom: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}
.experiment-heading h3 { margin: 0; font-size: 1.52rem; letter-spacing: -.012em; }
.experiment-heading p { max-width: 390px; margin: 0 0 2px; color: #65717d; font-size: .91rem; text-align: right; }
.robot-tag {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--blue);
  font-size: .69rem;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.video-grid figure { position: relative; margin: 0; }
.video-grid figure::after { content: "3× speed"; }
.video-grid video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: 1px;
  background: #111;
  box-shadow: none;
}
.video-grid figcaption { display: flex; align-items: center; gap: 2px; }
.label {
  margin-right: 7px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font-size: .95rem;
  font-weight: 750;
  letter-spacing: inherit;
  line-height: inherit;
  text-transform: none;
}
.label-baseline,
.label-evo,
.label-failure { color: inherit; background: transparent; }
.demo-experiment:first-of-type { margin-top: 38px; }

.scope-note {
  margin: 0 auto;
  padding: 20px 22px;
  max-width: 900px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--navy);
  color: #4f5c68;
  background: var(--blue-soft);
  text-align: left;
}

footer { padding: 38px 0; border-top: 1px solid var(--line); background: #f3f5f6; }
footer p { margin: 0; color: #5d6974; font-size: .88rem; }
.footer-note { margin-top: 5px; font-size: .8rem; }

@media (max-width: 760px) {
  .container { width: min(100% - 26px, 1180px); }
  .hero { padding: 46px 0 34px; }
  .section { padding: 44px 0; }
  .opening-section { padding-top: 36px; }
  .opening-showcase, .method-columns, .stat-row, .video-grid { grid-template-columns: 1fr; }
  .opening-showcase { gap: 26px; }
  .method-columns article { border-top: 1px solid var(--line); border-left: 0; }
  .method-columns article:first-child { border-top: 0; }
  .stat-row div { min-height: auto; border-top: 1px solid var(--line); border-left: 0; }
  .stat-row div:first-child { border-top: 0; }
  .table-heading { align-items: start; flex-direction: column; gap: 5px; }
  .table-heading div { align-items: start; flex-direction: column; gap: 3px; }
  .experiment { margin-top: 42px; padding-top: 32px; }
  .experiment-heading { align-items: start; flex-direction: column; gap: 4px; }
  .experiment-heading p { text-align: left; }
  th, td { padding: 9px 8px; font-size: .8rem; }
  .table-note { min-width: 620px; }
}

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