/* DexSuite v2: scroll-driven product page. White, Inter, real renders. */
:root {
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --mute: #d2d2d7;
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --blue: #0071e3;
  --hand: #2a78d6;     /* series 1 */
  --grip: #eb6834;     /* series 2 */
  --nav-h: 52px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img, video, canvas { display: block; max-width: 100%; }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 50; display: flex; align-items: center;
  justify-content: space-between; padding: 0 max(22px, calc((100vw - 1080px) / 2));
  background: rgba(255, 255, 255, 0.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav .brand { font-weight: 600; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); }
.nav .links { display: flex; gap: 26px; align-items: center; font-size: 13px; }
.nav .links a { color: var(--ink); opacity: 0.8; }
.nav .links a:hover { opacity: 1; text-decoration: none; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; background: var(--blue); color: #fff !important; opacity: 1 !important;
  border-radius: 980px; padding: 6px 14px; font-size: 13px; font-weight: 500;
}
.pill:hover { background: #0077ed; text-decoration: none; }
.pill.ghost { background: transparent; color: var(--blue) !important; border: 1px solid var(--blue); }
.pill.big { font-size: 17px; padding: 12px 22px; }
.pill.disabled { background: var(--bg-2); color: var(--ink-3) !important; cursor: default; }

/* type */
.eyebrow { font-size: 17px; font-weight: 600; color: var(--ink-2); letter-spacing: -0.01em; }
.headline { font-size: clamp(44px, 7vw, 96px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
.headline.md { font-size: clamp(36px, 5.2vw, 72px); }
.lede { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.38; color: var(--ink-2); font-weight: 500; letter-spacing: -0.01em; max-width: 46ch; }
.lede strong { color: var(--ink); font-weight: 600; }
.wrap { width: min(1080px, calc(100vw - 44px)); margin: 0 auto; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
section { position: relative; }
.pad { padding: 140px 0; }
.alt { background: var(--bg-2); }

/* reveal */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* hero */
#hero { height: 340vh; }
.sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
#hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-copy { position: absolute; left: max(22px, calc((100vw - 1180px) / 2)); top: 50%; transform: translateY(-50%); z-index: 2; max-width: 520px; }
/* the wordmark in DexSuite blue (the paper's concept figure); padding so background-clip does not cut the last glyph */
.hero-copy h1 { font-size: clamp(56px, 7.4vw, 120px); font-weight: 700; letter-spacing: -0.05em; line-height: 0.95;
  display: inline-block; padding: 0.04em 0.1em 0.08em 0; margin: -0.04em -0.1em -0.08em 0;
  background: linear-gradient(100deg, #1468b8 0%, #289be4 60%, #45b2ee 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lines { position: relative; height: 3.2em; margin-top: 22px; font-size: clamp(22px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.hero-lines span { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .5s, transform .5s; transform: translateY(10px); }
.hero-lines span.on { opacity: 1; transform: none; }
.hero-lines span.grey { color: var(--ink-3); }
.hero-ctas { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-note { position: absolute; right: max(22px, calc((100vw - 1080px) / 2)); bottom: 26px; font-size: 12px; color: var(--ink-3); z-index: 2; }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: none; border: 0; cursor: pointer; font: inherit; font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--ink-2); transition: opacity .4s; }
.scroll-hint svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: rgba(0, 0, 0, .05); fill: none; stroke: var(--ink); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; animation: bob 1.8s ease-in-out infinite; }
.scroll-hint:hover svg { background: rgba(0, 0, 0, .09); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.progress { position: absolute; left: max(22px, calc((100vw - 1080px) / 2)); bottom: 30px; width: 160px; height: 2px; background: var(--mute); z-index: 2; border-radius: 2px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--ink); }

/* paper */
#paper .headline { max-width: 14ch; }
.paper-meta { font-size: 15px; line-height: 1.5; color: var(--ink-3); margin-top: 22px; max-width: 64ch; }
.paper-meta b { color: var(--ink-2); font-weight: 500; }
.abs { margin-top: 56px; }
.abs summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 500; color: var(--blue); }
.abs summary::-webkit-details-marker { display: none; }
.abs summary::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.abs[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.abs p { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin-top: 14px; max-width: 70ch; }

/* statement */
.statement { font-size: clamp(30px, 4.2vw, 56px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; max-width: 22ch; }
.statement .w { color: var(--mute); transition: color .25s; }
.statement .w.on { color: var(--ink); }

/* end-effector sequence */
#robots { height: 1000vh; }
#robots .sticky { display: grid; grid-template-columns: minmax(280px, 0.9fr) 1.1fr; align-items: center; gap: 40px;
  width: min(1180px, calc(100vw - 44px)); margin: 0 auto; }
.hand-list { list-style: none; margin-top: 28px; columns: 2; column-gap: 28px; }
.hand-list li { font-size: 17px; line-height: 2; color: var(--ink-3); transition: color .3s; cursor: default; }
.hand-list li.on { color: var(--ink); font-weight: 600; }
.hand-list li small { font-size: 12px; color: var(--ink-3); font-weight: 400; margin-left: 6px; }
.stage { position: relative; aspect-ratio: 1 / 1; width: 100%; max-height: 82vh; }
.stage img, .stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; pointer-events: none; }
.stage { isolation: isolate; }
.stage img { will-change: opacity, transform; mix-blend-mode: plus-lighter; }
.stage .tag { position: absolute; left: 0; bottom: 4%; font-size: 15px; color: var(--ink-2); transition: opacity .18s ease; }
.stage .tag.swap { opacity: 0; }
.ph-copy { transition: opacity .26s ease, transform .26s ease; }
.ph-copy.swap { opacity: 0; transform: translateY(10px); }
.stage .tag b { color: var(--ink); font-weight: 600; font-size: 21px; display: block; letter-spacing: -0.02em; }
.counter { font-variant-numeric: tabular-nums; font-size: 13px; color: var(--ink-3); margin-top: 18px; letter-spacing: 0.02em; }

/* arms */
.arms { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 18px; margin-top: 56px; }
.arms figure { text-align: center; }
.arms img { aspect-ratio: 1 / 1; object-fit: contain; width: 100%; }
.arms figcaption { font-size: 14px; color: var(--ink-2); margin-top: -6px; }

/* numbers */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 64px; }
.stat b { display: block; font-size: clamp(40px, 5.4vw, 76px); font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 15px; color: var(--ink-2); }

/* same task */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 60px; }
.duo figure { background: none; }
.duo video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px; background: #fff; }
.duo figcaption { padding: 14px 4px 0; font-size: 15px; color: var(--ink-2); }
.duo figcaption b { color: var(--ink); font-weight: 600; }

/* horizontal gallery */
#dexterity { height: 420vh; }
#dexterity .sticky { display: flex; flex-direction: column; justify-content: center; }
.gallery-head { width: min(1080px, calc(100vw - 44px)); margin: 0 auto 36px; }
.track { display: flex; gap: 22px; padding-left: max(22px, calc((100vw - 1080px) / 2)); will-change: transform; }
.tile { flex: 0 0 min(66vw, 860px); }
.tile video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px; background: #fff; }
.tile h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin-top: 18px; }
.tile p { font-size: 17px; color: var(--ink-2); margin-top: 4px; max-width: 52ch; }
.tile .meta { font-size: 13px; color: var(--ink-3); margin-top: 8px; }

/* teleop */
.teleop { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 56px; }
.teleop video, .teleop img { border-radius: 22px; width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { font-size: 14px; background: #fff; border-radius: 980px; padding: 6px 13px; color: var(--ink); }
.chip-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin-top: 22px; }

/* data */
.data { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; margin-top: 50px; }
.big-number { font-size: clamp(72px, 12vw, 180px); font-weight: 700; letter-spacing: -0.05em; line-height: 0.95; font-variant-numeric: tabular-nums; }
.tiers { margin-top: 34px; }
.tier { margin-bottom: 18px; }
.tier .row { display: flex; justify-content: space-between; font-size: 15px; color: var(--ink-2); margin-bottom: 6px; }
.tier .row b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.bar { height: 8px; border-radius: 8px; background: var(--bg-2); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 8px; background: var(--ink); transition: width 1.4s cubic-bezier(.2, .7, .2, 1); }
.alt .bar { background: #e8e8ed; }
.ctas { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }

/* chart */
.chart { margin-top: 56px; }
.legend { display: flex; gap: 22px; font-size: 14px; color: var(--ink-2); margin-bottom: 18px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }
.grp { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 18px; padding: 10px 0; border-top: 1px solid #e8e8ed; }
.grp .name { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.bars { display: grid; gap: 4px; padding-right: 52px; }   /* room for the value at 100 % */
.hb { position: relative; height: 14px; }
.hb i { position: absolute; left: 0; top: 0; height: 14px; border-radius: 0 4px 4px 0; width: 0; transition: width 1.2s cubic-bezier(.2, .7, .2, 1); }
.hb em { position: absolute; top: -2px; font-style: normal; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; transition: left 1.2s cubic-bezier(.2, .7, .2, 1); white-space: nowrap; }
.hb.g i { background: var(--grip); }
.hb.h i { background: var(--hand); }
.chart-note { font-size: 13px; color: var(--ink-3); margin-top: 16px; }
.hard { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.hard div { background: var(--bg-2); border-radius: 18px; padding: 22px; }
.hard b { display: block; font-size: 40px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hard span { font-size: 14px; color: var(--ink-2); }

/* footer */
footer { padding: 90px 0 60px; background: var(--bg-2); }
.logos { display: flex; flex-wrap: wrap; gap: 30px 40px; align-items: center; justify-content: center; margin: 46px 0 40px; }
.logos img { width: auto; }
pre.bib { text-align: left; max-width: 980px; margin: 48px auto 0; background: #fff; border-radius: 16px; padding: 26px 30px; font-size: 14px; line-height: 1.7; white-space: pre-wrap; overflow-x: auto; color: var(--ink); }
.fine { font-size: 12px; color: var(--ink-3); margin-top: 26px; text-align: center; }

@media (max-width: 900px) {
  .nav .links a:not(.pill) { display: none; }
  #robots .sticky { grid-template-columns: 1fr; gap: 10px; padding-top: calc(var(--nav-h) + 10px); align-content: start; }
  .stage { max-height: 52vh; }
  .stage .tag { bottom: auto; top: 100%; margin-top: 4px; }
  .hand-list { columns: 3; font-size: 14px; }
  .hand-list li { font-size: 13px; line-height: 1.8; }
  .duo, .teleop, .data { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats .stat:last-child { grid-column: 1 / -1; }
  .grp { grid-template-columns: 92px 1fr; gap: 12px; }
  .hard { grid-template-columns: repeat(2, 1fr); }
  .tile { flex-basis: 84vw; }
  .hero-copy { top: auto; bottom: 84px; transform: none; right: 22px; }
  .hero-ctas { flex-wrap: nowrap; gap: 10px; }
  .hero-ctas .pill.big { font-size: 15px; padding: 10px 16px; white-space: nowrap; }
  .progress { display: none; }
  .pad { padding: 96px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint svg { animation: none; }
}

.pill.disabled-ghost { color: var(--ink-3) !important; border-color: var(--mute); cursor: default; }
.hand-list[hidden] { display: none; }
#hero canvas { background: #fff; }

/* load-in: nothing pops; the wordmark, lines and buttons rise in once the first hero frame and the font are ready */
.js .hero-copy h1, .js .hero-lines, .js .hero-ctas, .js .scroll-hint, .js .nav {
  opacity: 0; transition: opacity 1.1s cubic-bezier(.2, .7, .2, 1), transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.js .hero-copy h1, .js .hero-lines, .js .hero-ctas { transform: translateY(26px); }
.js #hero canvas { opacity: 0; transform: scale(.975); transition: opacity 1.4s ease, transform 1.8s cubic-bezier(.2, .7, .2, 1); }
.ready .hero-copy h1, .ready .hero-lines, .ready .hero-ctas, .ready .nav, .ready #hero canvas { opacity: 1; transform: none; }
.ready .scroll-hint { opacity: 1; }
.ready .hero-lines { transition-delay: .12s; }
.ready .hero-ctas { transition-delay: .24s; }
.ready #hero canvas { transition-delay: .1s; }
.ready .scroll-hint { transition-delay: 1s; }
.js .nav { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .js .hero-copy h1, .js .hero-lines, .js .hero-ctas, .js #hero canvas { transform: none; transition: opacity .4s; }
}

/* Track 1 task tabs */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 980px; background: var(--bg-2); margin-top: 40px; }
.seg button { font: inherit; font-size: 15px; font-weight: 500; border: 0; background: none; color: var(--ink-2); padding: 8px 18px; border-radius: 980px; cursor: pointer; transition: background .25s, color .25s; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }
.duo.t1 { margin-top: 22px; }
.duo.t1 video { transition: opacity .35s ease; }
.duo.t1.swap video { opacity: 0; }
@media (max-width: 900px) { .seg button { padding: 7px 12px; font-size: 14px; } }

/* full benchmark table: a light single-hue shade per cell (success rate), the numbers stay in ink */
.results { margin-top: 36px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.res { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 2px; font-variant-numeric: tabular-nums; }
table.res th, table.res td { padding: 9px 10px; text-align: center; font-size: 15px; white-space: nowrap; }
table.res thead th { font-size: 13px; font-weight: 600; color: var(--ink-2); padding-bottom: 6px; }
table.res thead th.mod { font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--mute); }
table.res th.task { text-align: left; font-weight: 500; color: var(--ink); position: sticky; left: 0; background: var(--bg-2); z-index: 1; }
table.res td { background: rgba(42, 120, 214, calc(0.04 + var(--a) * 0.30)); border-radius: 6px; color: var(--ink); }
table.res td b { font-weight: 700; }
table.res td small { font-size: 11px; color: var(--ink-3); margin-left: 3px; }
table.res tr.grp th { text-align: left; font-size: 13px; font-weight: 600; color: var(--ink); padding: 22px 10px 6px; position: sticky; left: 0; background: var(--bg-2); }
table.res tr.grp th span { font-weight: 500; color: var(--ink-3); margin-left: 10px; }
table.res tbody tr:not(.grp):hover td { box-shadow: inset 0 0 0 1.5px rgba(42, 120, 214, .55); }

/* the clips are white renders with soft floor shadows: fade the frame edges so no shadow ends in a hard line */
.duo video, .tile video { border-radius: 0; background: transparent;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-composite: intersect; }

/* the name in DexSuite blue wherever it appears, same gradient as the wordmark */
.ds { background: linear-gradient(100deg, #1468b8 0%, #289be4 60%, #45b2ee 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
