/* dexs0.com, 2026-11-20. The paper's palette, Inter only, radius 6 (media, buttons) and 4 (labels), no shadows. */
@font-face { font-family: "Inter"; src: url("/assets/Inter-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/Inter-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/Inter-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/Inter-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --ink: #172C42; --ink2: #2E4258; --soft: #65758A; --gray: #9AA5B1; --light: #C9D3DE; --line: #E4E7EC;
  --panel: #F6F8FB; --purple: #7C65B5; --blue: #1768D5; --lightblue: #7AB3EF; --night: #0C1622;
  --pad: 32px; --nav: 60px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Inter", system-ui, sans-serif; color: var(--ink); background: #fff; font-size: 16px; line-height: 1.55;
       -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
.zero { font-feature-settings: "zero" 1; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }
.wrap.wide { max-width: 1440px; }
b { font-weight: 600; }
.blue { color: var(--blue); }

/* type */
.kicker { margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.kicker.light { color: rgba(255,255,255,.78); }
.h2 { margin: 0; font-size: clamp(36px, 5vw, 64px); line-height: 1.03; font-weight: 600; letter-spacing: -.035em; max-width: 980px; }
.h3 { margin: 0 0 10px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }
.lead { margin: 26px 0 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--ink2); max-width: 780px; }
.lead.small { font-size: 17px; margin-top: 8px; }
.caption { margin: 12px 0 0; font-size: 14px; color: var(--soft); }

/* nav */
.nav { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--nav); color: #fff; transition: background .25s, color .25s, border-color .25s;
       border-bottom: 1px solid transparent; }
.nav.solid { background: #fff; color: var(--ink); border-bottom-color: var(--line); }
.nav-in { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { font-weight: 600; font-size: 19px; letter-spacing: -.03em; text-decoration: none; }
.nav-links { display: flex; gap: 26px; align-items: center; font-size: 14.5px; font-weight: 500; }
.nav-links a { text-decoration: none; opacity: .86; }
.nav-links a:hover { opacity: 1; }
.nav-try { padding: 7px 12px; border: 1px solid currentColor; border-radius: 6px; opacity: 1 !important; }

/* hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: var(--night); color: #fff; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(12,22,34,.55) 0%, rgba(12,22,34,0) 22%, rgba(12,22,34,0) 38%, rgba(12,22,34,.82) 100%),
  linear-gradient(90deg, rgba(12,22,34,.5) 0%, rgba(12,22,34,0) 60%); }
.hero-in { position: absolute; left: 0; right: 0; bottom: 10vh; }
.wordmark { margin: 0 0 20px -.06em; font-size: clamp(92px, 16vw, 236px); line-height: .84; font-weight: 600; letter-spacing: -.055em; }
.hero-title { margin: 0; max-width: 780px; font-size: clamp(19px, 2.05vw, 27px); line-height: 1.3; font-weight: 500; letter-spacing: -.012em; color: rgba(255,255,255,.95); }
.hero-authors { margin: 16px 0 0; max-width: 820px; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.74); }
.buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 6px; font-size: 15px; font-weight: 500;
       text-decoration: none; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn-light { background: #fff; color: var(--ink); }
.btn-line-light { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-line-light:hover { border-color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #0f58bb; }
.btn-line { border-color: var(--light); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.is-soon { cursor: default; }
.soon { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; background: var(--panel); color: var(--soft); }
.hero-down { position: absolute; left: 50%; bottom: 22px; width: 1px; height: 46px; background: rgba(255,255,255,.25); overflow: hidden; }
.hero-down span { position: absolute; left: 0; top: -46px; width: 1px; height: 46px; background: #fff; animation: drop 2.2s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes drop { to { top: 46px; } }

/* intro */
.intro { padding-top: 150px; padding-bottom: 130px; }
.statement { margin: 0; max-width: 1080px; font-size: clamp(38px, 5.4vw, 76px); line-height: 1.02; font-weight: 600; letter-spacing: -.04em; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 84px; }
.stat { border-top: 1px solid var(--ink); padding-top: 20px; }
.stat-n { margin: 0; font-size: clamp(46px, 5.4vw, 74px); line-height: 1; font-weight: 600; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.stat-n small { font-size: .34em; font-weight: 500; letter-spacing: -.01em; color: var(--soft); }
.stat-t { margin: 14px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--soft); max-width: 330px; }

/* how it works: the pinned 3D story */
.how-head { padding-bottom: 56px; }
.story { position: relative; }
.stage { position: sticky; top: 0; height: 100vh; overflow: hidden;
         background: radial-gradient(120% 90% at 62% 42%, #ffffff 0%, #f4f7fb 58%, #e9eef5 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stage-canvas { position: absolute; inset: 0; }
.stage-canvas canvas { display: block; width: 100% !important; height: 100% !important; }
.stage-loading { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; font-size: 14px; color: var(--soft); }
.steps { position: relative; z-index: 2; margin-top: -100vh; pointer-events: none; }
.step { height: 100vh; display: flex; align-items: center; }
.step-long { height: 170vh; }
.card { pointer-events: auto; width: min(390px, 34vw); margin-left: max(var(--pad), calc((100vw - 1200px) / 2 + var(--pad)));
        background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 22px 24px 24px; opacity: .35; transition: opacity .45s; }
.step-long .card { position: sticky; top: calc(50vh - 110px); }
.card.on { opacity: 1; }
.card-n { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; }
.card h3 { margin: 0 0 10px; font-size: 26px; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }
.card p:last-child { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--ink2); }
.rail { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; z-index: 3; }
.rail li { width: 26px; height: 26px; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--gray);
           border: 1px solid var(--light); border-radius: 4px; background: #fff; transition: all .3s; font-variant-numeric: tabular-nums; }
.rail li.on { color: #fff; background: var(--ink); border-color: var(--ink); }

.tag3d { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; white-space: nowrap; font-size: 12.5px; font-weight: 600;
         padding: 4px 8px; border-radius: 4px; background: #fff; border: 1px solid var(--light); color: var(--ink); opacity: 0; transition: opacity .35s; will-change: transform; }
.tag3d.on { opacity: 1; }
.tag-cmd { color: var(--purple); border-color: #cfc5e8; }
.tag-dim { color: #fff; background: var(--purple); border-color: var(--purple); font-size: 13.5px; }
.tag-clean { color: var(--soft); }
.tag-gap { color: var(--purple); border-color: #cfc5e8; font-weight: 500; }
.tag-gap b { font-variant-numeric: tabular-nums; }

.hud { position: absolute; z-index: 3; opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s; pointer-events: none; }
.hud.on { opacity: 1; transform: none; }
.hud-depth { right: 72px; top: calc(var(--nav) + 28px); width: 214px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 10px; }
.hud-depth img { width: 100%; height: auto; border-radius: 4px; image-rendering: pixelated; background: #000; }
.hud-depth p { margin: 9px 2px 1px; font-size: 12.5px; line-height: 1.4; color: var(--soft); }
.hud-depth p b { display: block; color: var(--ink); font-size: 13px; }
.hud-skill { right: 72px; top: calc(var(--nav) + 312px); font-size: 14px; font-weight: 600; color: var(--blue); background: #fff; border: 1px solid #bcd3f3; border-radius: 4px; padding: 6px 10px; }
.hud-skill span { color: var(--soft); font-weight: 500; margin-right: 6px; }
.hud-step { right: 72px; bottom: 44px; width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 16px 18px 18px; }
.hud-step p { margin: 0; }
.hud-step-k { font-size: 13px; font-weight: 600; color: var(--soft); font-variant-numeric: tabular-nums; }
.hud-step-k b { color: var(--ink); }
.hud-step-cm { margin-top: 2px !important; font-size: 54px; line-height: 1.05; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--purple); transition: color .3s; }
.hud-step-cm b { font-weight: 600; }
.hud-step-t { font-size: 13px; line-height: 1.4; color: var(--soft); }
.hud-bars { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; align-items: end; height: 44px; margin-top: 14px; }
.hud-bars i { display: block; border-radius: 2px 2px 0 0; background: var(--light); transition: background .25s; }
.hud-bars i.done { background: #b9c9e8; }
.hud-bars i.now { background: var(--blue); }
.after-story { padding-top: 64px; padding-bottom: 120px; }
.after-story p { margin: 0; max-width: 900px; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.55; color: var(--ink2); }
.after-story a { color: var(--blue); text-decoration: none; font-weight: 500; white-space: nowrap; }

/* real robot */
.real { padding: 130px 0 120px; border-top: 1px solid var(--line); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 16px; }
.tab { font: inherit; text-align: left; cursor: pointer; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 10px 14px 11px;
       transition: border-color .2s, background .2s, color .2s; }
.tab:hover { border-color: var(--light); }
.tab.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab-name { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.tab-score { display: block; margin-top: 1px; font-size: 13px; color: var(--soft); font-variant-numeric: tabular-nums; }
.tab.on .tab-score { color: rgba(255,255,255,.72); }
.tabs-small .tab { padding: 8px 12px; }

.seam { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--night); cursor: ew-resize; user-select: none; touch-action: pan-y; --x: 50%; }
.seam video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter .4s; }
.seam-b { clip-path: inset(0 0 0 var(--x)); }
.seam.end-a .seam-a { filter: brightness(.62) saturate(.7); }
.seam.end-b .seam-b { filter: brightness(.62) saturate(.7); }
.seam-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; outline: none; }
.seam-line span { position: absolute; top: 50%; left: 50%; width: 30px; height: 46px; transform: translate(-50%, -50%); background: #fff; border-radius: 4px;
                  background-image: linear-gradient(var(--gray), var(--gray)), linear-gradient(var(--gray), var(--gray)); background-size: 2px 16px; background-repeat: no-repeat;
                  background-position: 11px 15px, 17px 15px; }
.seam-line:focus-visible span { outline: 2px solid var(--blue); outline-offset: 2px; }
.seam-label { position: absolute; top: 16px; margin: 0; padding: 6px 10px; border-radius: 4px; background: #fff; font-size: 13.5px; line-height: 1.3; pointer-events: none; }
.seam-label-a { left: 16px; }
.seam-label-b { right: 16px; }
.seam-label-b b { color: var(--blue); }
.seam-meta { color: var(--soft); font-variant-numeric: tabular-nums; margin-left: 6px; }
.seam-play { position: absolute; right: 16px; bottom: 16px; width: 34px; height: 34px; border: 0; border-radius: 4px; background: #fff; color: var(--ink); font-size: 11px; cursor: pointer; }

.turns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.turn { border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px 20px; }
.turn-h { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--soft); }
.turn-b .turn-h { color: var(--blue); }
.turn-say { margin: 0 0 14px; font-size: 16px; line-height: 1.5; font-style: italic; color: var(--ink); }
.turn-kv { display: flex; flex-wrap: wrap; gap: 5px; }
.kv { display: inline-flex; gap: 5px; align-items: baseline; padding: 3px 7px; border-radius: 4px; background: var(--panel); font-size: 12px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.kv i { font-style: normal; color: var(--soft); }
.kv.word { background: #e7f0fc; color: var(--blue); font-size: 14px; font-weight: 600; padding: 4px 9px; }
.kv.word i { color: #5a86c8; font-weight: 500; }

.chart-block { margin-top: 64px; }
.chart-title { margin: 0 0 8px; font-size: 15px; font-weight: 600; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart text, .multiples text { font-family: "Inter", sans-serif; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 10px 0 0; font-size: 13.5px; color: var(--soft); }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-right: -8px; vertical-align: -1px; }
.sw-light { background: var(--lightblue); } .sw-blue { background: var(--blue); } .sw-purple { background: var(--purple); }

/* salad */
.salad { padding: 120px 0 120px; border-top: 1px solid var(--line); }
.salad .wide { margin-top: 44px; }
.salad-video { width: 100%; border-radius: 6px; background: var(--night); aspect-ratio: 1600 / 742; object-fit: cover; }

/* simulation results */
.results { padding: 130px 0 130px; background: var(--panel); border-top: 1px solid var(--line); }
.multiples { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 14px 14px 8px; }
.panel h4 { margin: 0 0 4px; font-size: 14.5px; font-weight: 600; }
.zero { margin-top: 96px; }
.zero .chart { margin-top: 4px; max-width: 760px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 14px 18px 6px; }

/* try + cite */
.try { padding-top: 120px; padding-bottom: 40px; }
.try-in { border-top: 1px solid var(--ink); padding-top: 40px; }
.cite { padding-top: 80px; padding-bottom: 120px; }
.bib { position: relative; margin-top: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; }
.bib pre { margin: 0; padding: 22px 24px; overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13.5px; line-height: 1.65; color: var(--ink); }
.bib-copy { position: absolute; top: 12px; right: 12px; font: inherit; font-size: 13px; font-weight: 500; padding: 6px 11px; border-radius: 4px; border: 1px solid var(--light); background: #fff; color: var(--ink); cursor: pointer; }
.foot { display: flex; justify-content: space-between; gap: 20px; padding-top: 28px; padding-bottom: 56px; border-top: 1px solid var(--line); font-size: 14px; color: var(--soft); }
.foot p { margin: 0; }
.foot a { text-decoration: none; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-down span { animation: none; }
}

@media (max-width: 1100px) {
  .multiples { grid-template-columns: repeat(2, 1fr); }
  .hud-depth { width: 170px; right: 60px; }
  .hud-skill { top: calc(var(--nav) + 262px); right: 60px; }
}
@media (max-width: 860px) {
  :root { --pad: 20px; }
  .nav-links a:not(.nav-try) { display: none; }
  .hero-in { bottom: 96px; }
  .hero-down { display: none; }
  .intro { padding-top: 96px; padding-bottom: 90px; }
  .stats { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; }
  .step { align-items: flex-end; padding-bottom: 22px; }
  .step-long .card { top: auto; bottom: 22px; }
  .card { width: calc(100vw - 2 * var(--pad)); margin-left: var(--pad); padding: 16px 18px 18px; }
  .card h3 { font-size: 21px; }
  .card p:last-child { font-size: 15px; }
  .rail { display: none; }
  .hud-depth { width: 108px; right: 12px; top: calc(var(--nav) + 10px); padding: 6px; }
  .hud-depth p { display: none; }
  .hud-skill { right: 12px; top: calc(var(--nav) + 128px); font-size: 12.5px; }
  .hud-step { left: 12px; right: auto; top: calc(var(--nav) + 10px); bottom: auto; width: 190px; padding: 10px 12px 12px; }
  .hud-step-cm { font-size: 34px; }
  .hud-step-t { display: none; }
  .hud-bars { height: 26px; margin-top: 8px; }
  .turns { grid-template-columns: 1fr; }
  .seam-label { top: 10px; font-size: 12px; padding: 4px 7px; }
  .seam-label-a { left: 10px; } .seam-label-b { right: 10px; }
  .seam-meta { display: block; margin-left: 0; }
  .multiples { grid-template-columns: 1fr; }
  .foot { flex-direction: column; }
}

/* the person's spoken corrections, under the real-robot cards */
#turn-note { max-width: 900px; line-height: 1.55; }
.said { margin-top: 6px; }
.said summary { cursor: pointer; color: var(--blue); font-weight: 500; width: max-content; }
.said p { margin: 10px 0 4px; color: var(--ink); }
.said ul { margin: 0; padding-left: 18px; columns: 2; column-gap: 32px; }
.said li { break-inside: avoid; margin: 0 0 3px; }
.said .said-note { color: var(--soft); font-size: 13px; }
@media (max-width: 860px) { .said ul { columns: 1; } }
.step-end { height: 50vh; }
.nw { white-space: nowrap; }
@media (max-width: 860px) {
  /* phones: each card stays pinned at the bottom while its chapter plays, the scene above it */
  .step { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; padding-bottom: 0; }
  .card, .step-long .card { position: sticky; top: auto; bottom: 18px; margin-bottom: 18px; }
}

/* ---------- v2 (owner 11-20: sell the idea) ---------- */
.idea { padding-top: 150px; padding-bottom: 140px; }
.idea .lead { font-size: clamp(19px, 1.7vw, 23px); max-width: 860px; margin-top: 30px; }
.card-quote { margin: 0 0 12px !important; font-size: 17px !important; line-height: 1.5 !important; font-style: italic; color: var(--ink) !important; }
.card .kv { font-size: 13px; }
.tag-astra, .tag-moved { color: var(--purple); border-color: #cfc5e8; }
.tag-say { font-size: 14px; padding: 6px 10px; color: var(--ink); border-color: var(--light); }
.tag-say i { font-style: normal; color: var(--blue); margin-right: 6px; }
.hud-depth { top: calc(var(--nav) + 28px); }

/* real robot: two videos side by side, replayed together */
.pair { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pane { margin: 0; position: relative; border-radius: 6px; overflow: hidden; background: var(--night); aspect-ratio: 16 / 9; }
.pane video { width: 100%; height: 100%; object-fit: cover; transition: filter .4s; }
.pane.ended video { filter: brightness(.62) saturate(.7); }
.pane figcaption { position: absolute; left: 12px; top: 12px; display: flex; gap: 8px; align-items: baseline; padding: 6px 10px; border-radius: 4px; background: #fff; font-size: 13.5px; }
.pane-b figcaption b { color: var(--blue); }
.pane .meta { color: var(--soft); font-variant-numeric: tabular-nums; font-size: 12.5px; }
.replay { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: inherit; font-size: 15px; font-weight: 600; padding: 12px 18px;
          border: 0; border-radius: 6px; background: #fff; color: var(--ink); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s; }
.replay.show { opacity: 1; pointer-events: auto; }
.pair:hover .replay { opacity: 1; pointer-events: auto; }

/* skills: frames of the salad take */
.tasks { padding: 130px 0 120px; border-top: 1px solid var(--line); }
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 44px; }
.strip figure { margin: 0; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: var(--panel); }
.strip figcaption { display: flex; gap: 8px; align-items: baseline; margin-top: 10px; font-size: 14.5px; font-weight: 500; line-height: 1.35; }
.strip figcaption i { font-style: normal; font-size: 12px; font-weight: 600; color: var(--blue); }

/* try: the simulator behind a grey cover, then a short tutorial */
.try { padding: 130px 0 40px; border-top: 1px solid var(--line); }
.sim { position: relative; margin-top: 40px; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.sim iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sim-cover { position: absolute; inset: 0; padding: 0; border: 0; cursor: pointer; background: #e9edf2; }
.sim-cover img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(.9); opacity: .55; transition: opacity .3s; }
.sim-cover:hover img { opacity: .7; }
.sim-cta { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; gap: 6px; text-align: center; padding: 18px 24px;
           border-radius: 6px; background: var(--ink); color: #fff; font: inherit; }
.sim-cta b { font-size: 17px; font-weight: 600; }
.sim-cta small { font-size: 13px; color: rgba(255,255,255,.72); }
.sim-tut { position: absolute; left: 22px; bottom: 96px; width: min(360px, calc(100% - 44px)); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px 16px; z-index: 2; }
.tut-n { margin: 0 0 6px; font-size: 12.5px; font-weight: 600; color: var(--blue); }
.tut-step { display: none; }
.tut-step.on { display: block; }
.tut-step h4 { margin: 0 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.tut-step p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink2); }
.tut-step kbd { font: inherit; font-size: 12.5px; border: 1px solid var(--light); border-radius: 4px; padding: 0 5px; }
.tut-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.btn-text { font: inherit; font-size: 14px; border: 0; background: none; color: var(--soft); cursor: pointer; }
.tut-nav .btn { height: 36px; padding: 0 14px; font-size: 14px; border: 0; cursor: pointer; }
.sim-help { position: absolute; left: 22px; top: 22px; z-index: 2; width: 32px; height: 32px; border-radius: 4px; border: 1px solid var(--light); background: #fff;
            color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; display: none; }
.sim.running .sim-help { display: block; }

@media (max-width: 860px) {
  .idea { padding-top: 96px; padding-bottom: 96px; }
  .pair { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .sim { aspect-ratio: 3 / 4; }
  .sim-tut { bottom: 120px; left: 12px; }
}
.sim-help { top: auto; bottom: 22px; }

/* ---------- v3: the film in chapters (owner 11-20: the 3D was bad; the Blender film is the explainer) ---------- */
.film-stage { background: #fff; }
.film-vid { position: absolute; left: 50%; top: calc(var(--nav) + 14px); transform: translateX(-50%);
            width: min(94vw, calc((100vh - var(--nav) - 196px) * 16 / 9)); aspect-ratio: 16 / 9; height: auto; object-fit: cover;
            border-radius: 6px; opacity: 0; transition: opacity .45s; background: #fff; }
.film-vid.on { opacity: 1; }
.film-stage.missing::after { content: "The film could not be loaded."; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--soft); }
.film .step { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100vh; }
.film .card { position: sticky; bottom: 20px; margin: 0 auto 20px; width: min(760px, calc(100vw - 2 * var(--pad))); text-align: center; padding: 16px 22px 18px; }
.film .card h3 { font-size: 22px; margin-bottom: 4px; }
.film .card p:last-child { font-size: 16px; }
.film .card-n { display: none; }
.film .rail { top: calc(var(--nav) + 40px); transform: none; }
@media (max-width: 860px) {
  .film-vid { top: calc(var(--nav) + 10px); width: calc(100vw - 2 * var(--pad)); }
  .film .card { margin-left: var(--pad); text-align: left; }
}
.film-note { margin-top: 18px; margin-bottom: 90px; }

/* skills v3: 3 x 2 frames, then the finished salad, large */
.strip { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.strip img { aspect-ratio: 16 / 9; }
.finale { position: relative; margin: 18px 0 0; }
.finale img { width: 100%; aspect-ratio: 1600 / 900; object-fit: cover; border-radius: 6px; display: block; }
.finale figcaption { position: absolute; left: 18px; bottom: 18px; max-width: 560px; padding: 14px 16px; border-radius: 6px; background: #fff;
                     font-size: 15.5px; line-height: 1.5; color: var(--ink2); }
.finale figcaption b { display: block; font-size: 20px; color: var(--ink); letter-spacing: -.01em; margin-bottom: 2px; }
@media (max-width: 860px) {
  .strip { grid-template-columns: repeat(2, 1fr); }
  .finale figcaption { position: static; margin-top: 10px; padding: 0; background: none; max-width: none; }
}

/* 11-22: the simulator is its own page (/sim/); the main page links to it */
.simlink { position: relative; display: block; margin-top: 40px; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--panel);
           border: 1px solid var(--line); text-decoration: none; color: inherit; }
.simlink img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.simlink:hover img { transform: scale(1.015); }
.simlink-cta { position: absolute; left: 24px; bottom: 24px; display: grid; gap: 6px; max-width: 460px; padding: 16px 20px; background: #fff;
               border: 1px solid var(--line); border-radius: 6px; }
.simlink-cta b { font-size: 18px; font-weight: 600; color: var(--blue); }
.simlink-cta b::after { content: " \2192"; }
.simlink-cta small { font-size: 14.5px; line-height: 1.5; color: var(--ink2); }
@media (max-width: 760px) { .simlink { aspect-ratio: 4 / 3; } .simlink-cta { left: 12px; right: 12px; bottom: 12px; } }

/* 11-22 (owner: "as I scroll up stuff gets floating"): nothing moves on scroll. The reveal is off, How it works is one
   video with a chapter list beside it, the skills are three task videos over the whole salad. */
[data-reveal], [data-reveal].in { opacity: 1 !important; transform: none !important; transition: none !important; }
.film2 { display: block; }
.film2-player { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.film2-player video { width: 100%; height: 100%; object-fit: cover; display: block; }
.chapters { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 10px; }
.chapters button { width: 100%; height: 100%; display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 12px 12px 14px; text-align: left;
                   font: inherit; color: var(--ink2); background: none; border: 0; border-top: 2px solid var(--line); border-radius: 0; cursor: pointer; }
.chapters button:hover { background: var(--panel); }
.chapters button > i { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--gray); padding-top: 2px; font-variant-numeric: tabular-nums; }
.chapters button > span { display: block; font-size: 14px; line-height: 1.45; }
.chapters button > span > b { display: block; margin-bottom: 3px; font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.chapters li.on button { border-top-color: var(--blue); background: var(--panel); }
.chapters li.on button > i { color: var(--blue); }
.film-note { margin: 18px 0 120px; max-width: 900px; }
.tasks3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.tasks3 figure { margin: 0; }
.tasks3 video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: var(--panel); display: block; }
.tasks3 figcaption { display: grid; grid-template-columns: 22px 1fr; gap: 6px; margin-top: 10px; font-size: 14px; line-height: 1.4; color: var(--ink2); }
.tasks3 figcaption i { font-style: normal; font-size: 12px; font-weight: 600; color: var(--blue); padding-top: 2px; }
.tasks3 figcaption b { display: block; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.finale video { width: 100%; aspect-ratio: 1600 / 726; object-fit: cover; border-radius: 6px; background: var(--panel); display: block; }
@media (max-width: 980px) {
  .chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tasks3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .chapters { grid-template-columns: 1fr; } }
.tasks .finale { margin-top: 40px; }

/* 11-22 review fixes */
.finale figcaption, .tasks .finale figcaption { position: static !important; margin-top: 12px; padding: 0; background: none; border: 0;
  max-width: 900px; font-size: 15px; line-height: 1.55; color: var(--ink2); }
.finale figcaption b { color: var(--ink); }
.try { padding-bottom: 120px; }
.is-soon { cursor: default; opacity: .62; }
.is-soon:hover { border-color: rgba(255,255,255,.5); }
.hero-down { display: none; }
.h2, .statement { text-wrap: balance; }
.lead { text-wrap: pretty; }
.bib-copy { border-radius: 6px; }
.film2-player { scroll-margin-top: calc(var(--nav) + 12px); }
@media (max-width: 860px) {
  .try, .real, .tasks { padding-top: 96px; }
  .real, .tasks { padding-bottom: 80px; }
  .cite { padding-top: 64px; padding-bottom: 80px; }
  .film-note { margin-bottom: 64px; }
  .replay { top: calc((100% - 10px) / 4); }
  .bib pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; padding: 56px 16px 18px; }
}
@media (hover: none) { .pair:hover .replay:not(.show) { opacity: 0; pointer-events: none; } }
@media (max-width: 760px) {
  .simlink { aspect-ratio: auto; }
  .simlink img { height: auto; aspect-ratio: 16 / 9; }
  .simlink-cta { position: static; max-width: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
}

/* 11-23 How it works = a scroll animation (owner: "not a video, an animation you scroll"): the stage stays put while the
   frames follow the scroll; the words change in place; nothing slides */
.scrolly { position: relative; height: 640vh; --fw: min(calc(100vw - 2 * var(--pad)), calc((100vh - var(--nav) - 190px) * 16 / 9)); }
.scrolly-stage { position: sticky; top: var(--nav); height: calc(100vh - var(--nav)); display: flex; flex-direction: column; align-items: center;
                 justify-content: center; gap: 18px; padding: 8px var(--pad) 22px; }
.scrolly-frame { position: relative; width: var(--fw); aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.scrolly-frame canvas { width: 100%; height: 100%; display: block; }
.scrolly-depth { position: absolute; top: calc(50% - (var(--fw) * 9 / 16 + 18px + 104px) / 2 + var(--fw) * 9 / 16 * 0.07);
                 left: calc(50% + var(--fw) / 2 - var(--fw) * 0.22); width: calc(var(--fw) * 0.19); margin: 0; opacity: 0; transition: opacity .35s; }
.scrolly-depth.on { opacity: 1; }
.scrolly-depth img { width: 100%; aspect-ratio: 1; display: block; border-radius: 4px; border: 1px solid var(--line); }
.scrolly-depth figcaption { margin-top: 6px; font-size: clamp(12px, 1.1vw, 15px); font-weight: 600; color: var(--blue); }
.scrolly-text { width: min(100%, 820px); min-height: 104px; text-align: center; transition: opacity .2s; }
.scrolly-text.swap { opacity: 0; }
.scrolly-text h3 { margin: 0 0 8px; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.15; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.scrolly-text p { margin: 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: var(--ink2); }
.scrolly-text .astra { color: var(--purple); }
.scrolly-text .dexs0 { color: var(--blue); }
@media (max-width: 760px) {
  .scrolly { height: 520vh; --fw: calc(100vw - 2 * var(--pad)); }
  .scrolly-stage { justify-content: flex-start; padding-top: 16px; gap: 12px; }
  .scrolly-frame { aspect-ratio: 786 / 528; }
  .scrolly-depth { position: static; order: 3; width: 34vw; margin: 0 auto; }
  .scrolly-depth figcaption { text-align: center; }
}
/* 11-23 hardening: phones' small viewport (the address bar) and a poster until the frames load */
@supports (height: 100svh) {
  .scrolly { --fw: min(calc(100vw - 2 * var(--pad)), calc((100svh - var(--nav) - 190px) * 16 / 9)); }
  .scrolly-stage { height: calc(100svh - var(--nav)); }
}
.scrolly-frame { background: #fff url("/s/media/scroll/d/f000.webp") center / cover no-repeat; }
@media (max-width: 760px) {
  @supports (height: 100svh) { .scrolly { --fw: calc(100vw - 2 * var(--pad)); } }
  .scrolly-frame { background-image: url("/s/media/scroll/m/f000.webp"); }
}

/* 11-23 owner: no small gray captions; one slider under the two real-robot videos moves both */
.legend { color: var(--ink2); }
.scrub { --p: 0%; display: block; width: 100%; height: 22px; margin: 14px 0 0; padding: 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; }
.scrub::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--blue) var(--p), var(--line) var(--p)); }
.scrub::-moz-range-track { height: 4px; border-radius: 2px; background: var(--line); }
.scrub::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--blue); }
.scrub::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); }
.scrub::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); }
.scrub:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.how { padding-bottom: 40px; }

/* 11-23: the video bar (play / pause / again + the shared slider) and a smaller wordmark over the hero video */
.vbar { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.vbar .scrub { margin: 0; flex: 1; }
.vplay { flex: none; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid var(--light); border-radius: 6px;
         background: #fff; color: var(--ink); cursor: pointer; }
.vplay:hover { border-color: var(--ink); }
.vplay:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.vplay svg { width: 18px; height: 18px; fill: currentColor; }
.vplay path { display: none; }
.vplay[data-s="pause"] .i-pause, .vplay:not([data-s]) .i-pause, .vplay[data-s="play"] .i-play, .vplay[data-s="again"] .i-again { display: block; }
.scrub::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; }
.scrub::-webkit-slider-thumb { width: 18px; height: 18px; margin-top: -6px; }
.wordmark { font-size: clamp(64px, 9vw, 132px); margin-bottom: 14px; }

/* 11-23 page flow (owner: explain, prove, try; one large sentence under each heading so the page reads as one story) */
.handoff { margin: 18px 0 0; max-width: 30em; font-size: clamp(20px, 2.1vw, 28px); line-height: 1.32; font-weight: 400;
  letter-spacing: -.012em; color: var(--ink2); text-wrap: balance; }
.try { padding-bottom: 120px; }
.try .simlink { margin-top: 40px; }
.try .simlink-cta { padding: 14px 20px; }
@media (max-width: 760px) { .handoff { margin-top: 14px; } }

/* 11-23 v7: Method (play data, training, GPT-6 Astra's literal command, Dex-S0's correction), the four skill words, the
   wrist depth and the skill word in the Real robot's Dex-S0 pane; the old skills section is now Tasks */
.method, .words { padding: 130px 0 120px; border-top: 1px solid var(--line); }
.msteps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 44px; align-items: start; }
.mstep { margin: 0; }
.mmedia { position: relative; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--panel); }
.mmedia video, .mmedia img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mmedia.tiles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 6px;
                background: #fff; }
.tile { position: relative; min-width: 0; min-height: 0; border-radius: 4px; overflow: hidden; background: var(--night); }
.mstep h3 { margin: 16px 0 6px; font-size: 21px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.mnum { font-size: 15px; font-weight: 600; color: var(--blue); margin-right: 6px; font-variant-numeric: tabular-nums; }
.mstep p { margin: 0; font-size: 16.5px; line-height: 1.5; color: var(--ink2); }
.cmd { margin-top: 12px; padding: 14px 16px; background: var(--panel); border-radius: 6px; }
.mstep .cmd-say { margin: 0 0 10px; font-size: 17px; line-height: 1.45; color: var(--ink); }
.cmd dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; align-items: baseline; }
.cmd dt { font-size: 15px; color: var(--ink2); }
.cmd dd { margin: 0; font-size: 16px; line-height: 1.4; font-weight: 600; color: var(--ink); }
.cmd dd.astra, b.astra { color: var(--purple); }
b.dexs0 { color: var(--blue); }

/* the skill word over real media: a white label with the word in Dex-S0 blue */
.skillchip { position: absolute; left: 10px; top: 10px; padding: 5px 9px; border-radius: 4px; background: #fff; font-size: 15px; font-weight: 600;
             line-height: 1.2; color: var(--blue); pointer-events: none; }
.skillchip[hidden] { display: none; }
.tile .skillchip { left: 6px; top: 6px; font-size: 14px; padding: 4px 8px; }

.skgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 20px; margin-top: 44px; }
.skcard { margin: 0; }
.skcard video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: var(--panel); display: block; }
.skcard h3 { margin: 14px 0 6px; font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.skcard p { margin: 0 0 4px; font-size: 17px; line-height: 1.5; color: var(--ink2); }
.words-note { margin: 32px 0 0; font-size: 18px; line-height: 1.5; color: var(--ink); }
.mstep p, .skcard p, .words-note { text-wrap: pretty; }

/* Real robot, the Dex-S0 pane only: the skill word top right (the label's size), the wrist depth bottom right; both dim
   with the pane when its run is over */
.pane-chip { left: auto; right: 12px; top: 12px; padding: 6px 10px; line-height: 1.4; transition: filter .4s; }
.reads { position: absolute; right: 10px; bottom: 10px; width: 24%; aspect-ratio: 1; border-radius: 4px; overflow: hidden; border: 2px solid #fff;
         background: var(--night); transition: opacity .2s, filter .4s; }
.reads.off { opacity: 0; }
.reads video { width: 100%; height: 100%; object-fit: cover; }
.pane.ended .reads, .pane.ended .pane-chip { opacity: 0; transition: opacity .3s; }   /* 11-24: the run is over, the live readout goes */

@media (max-width: 1100px) { .msteps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; } }
@media (max-width: 860px) {
  .method, .words { padding: 96px 0 80px; }
  .skgrid { grid-template-columns: 1fr; gap: 36px; }
  .reads { width: 28%; }
}
@media (max-width: 600px) { .msteps { grid-template-columns: 1fr; gap: 40px; } }

/* 11-24 v8 (owner: "too much white space between this section and the next"; the command rows wrapped oddly) */
.method, .words, .real, .tasks { padding: 96px 0 64px; }
.try { padding-top: 96px; }
.cmd-row { margin: 8px 0 0; font-size: 16px; line-height: 1.45; color: var(--ink); }
.cmd-row .cmd-k { display: inline-block; min-width: 3.9em; font-size: 15px; color: var(--ink2); }
.cmd-row b.astra { font-weight: 600; color: var(--purple); }
@media (max-width: 860px) {
  .method, .words, .real, .tasks { padding: 72px 0 48px; }
  .try { padding-top: 72px; }
}
.cmd-row { padding-left: 62px; text-indent: -62px; }                   /* a wrapped value lines up under itself */
.cmd-row .cmd-k { min-width: 62px; text-indent: 0; }

/* 11-24 v8: the Skills section as stacked rows of real clips (owner: "grasp on all of those grasps, open, close, press, stack them, release as well") */
.skrow { margin-top: 52px; }
.skrow > h3 { margin: 0 0 6px; font-size: 26px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.skline { margin: 0; max-width: 46em; font-size: 17px; line-height: 1.5; color: var(--ink2); text-wrap: pretty; }
.skline b.astra { font-weight: 600; color: var(--purple); }
.skline b.dexs0 { font-weight: 600; color: var(--blue); }
.skstack { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.skstack.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.skstack figure { margin: 0; }
.skstack video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: var(--panel); }
.skstack figcaption { margin-top: 8px; font-size: 15px; line-height: 1.35; color: var(--ink); }
.skpair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) {
  .skstack, .skstack.n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .skpair { grid-template-columns: 1fr; gap: 36px; }
  .skrow { margin-top: 40px; }
}
/* ---------- 11-24 v9 type, spacing and framing (owner: "the font and how you frame shit and spacing is so bad").
   One type scale, one spacing scale, one framing system. Append at the END of s/css/site.css. ---------- */
:root {
  --fs-h2: 40px; --fs-h3: 22px; --fs-lead: 20px; --fs-body: 17px; --fs-cap: 15px;
  --fs-label: 15px;  /* labels on media, the copy button; 14 only inside the chart SVG and the BibTeX code */
  --measure: 680px;
  --s-1: 8px; --s-2: 12px; --s-3: 16px; --s-4: 24px; --s-5: 32px; --s-6: 48px; --s-7: 72px;
  --gap: 20px;
}
@media (max-width: 1099px) { :root { --fs-h2: 36px; } }
@media (max-width: 860px) {
  :root { --fs-h2: 30px; --fs-h3: 20px; --fs-lead: 18px; --s-6: 40px; --s-7: 56px; --gap: 12px; }
}

/* ---- type ---- */
body { font-size: var(--fs-body); }
.h2 { font-size: var(--fs-h2); line-height: 1.15; letter-spacing: -.022em; max-width: 22em; text-wrap: balance; }
.handoff { margin: var(--s-2) 0 0; max-width: var(--measure); font-size: var(--fs-lead); line-height: 1.45; letter-spacing: -.006em;
           color: var(--ink2); text-wrap: pretty; }
.mstep h3, .skrow > h3, .chart-title, .scrolly-text h3 {
  margin: 0; font-size: var(--fs-h3); line-height: 1.25; font-weight: 600; letter-spacing: -.012em; color: var(--ink); text-wrap: balance; }
.mstep p, .skline, .cmd-row, .mstep .cmd-say, .scrolly-text p, .finale figcaption, .tasks .finale figcaption {
  font-size: var(--fs-body); line-height: 1.55; color: var(--ink2); text-wrap: pretty; }
.mstep .cmd-say { color: var(--ink); }
.skstack figcaption, .tasks3 figcaption, .legend, .foot, .tab-name, .nav-links, .btn, .simlink-cta b { font-size: var(--fs-cap); }
.skstack figcaption, .tasks3 figcaption { margin-top: var(--s-1); line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.skillchip, .pane figcaption, .pane-chip, .bib-copy, .scrolly-depth figcaption { font-size: var(--fs-label); }
.tile .skillchip { font-size: var(--fs-label); }
.legend, .foot { color: var(--ink2); }

/* hero: the wordmark stays the largest thing, the title is h3 size, no pills */
.wordmark { font-size: clamp(60px, 7.8vw, 112px); line-height: .9; margin-bottom: var(--s-3); }
.hero-title { max-width: 34em; font-size: var(--fs-h3); line-height: 1.35; text-wrap: balance; }
.hero-authors { margin-top: var(--s-2); max-width: 760px; font-size: var(--fs-cap); color: rgba(255,255,255,.84); text-wrap: balance; }
.kicker { font-size: var(--fs-label); margin-bottom: var(--s-3); }
.buttons { margin-top: var(--s-4); }
.soon { all: unset; font: inherit; font-weight: 400; opacity: .72; }
.nav-links { gap: var(--s-4); }

/* ---- spacing: every section the same ---- */
.how, .method, .words, .simpair, .real, .tasks, .try, .cite { padding: var(--s-7) 0; }
.how { padding-bottom: var(--s-6); }
.cite { padding-left: var(--pad); padding-right: var(--pad); }          /* .cite carries .wrap */
.foot { padding-top: var(--s-4); padding-bottom: var(--s-6); }
main > section { scroll-margin-top: 24px; }                              /* a nav jump puts the h2 36 px under the nav */
.how-head { padding-bottom: var(--s-5); }
.msteps, .skrow:first-of-type, .tabs, .tasks3, .try .simlink, .simlink, .bib { margin-top: var(--s-5); }
.handoff + .skrow { margin-top: var(--s-5); }
.skrow { margin-top: var(--s-6); }
.skrow > h3 + .skline { margin-top: 6px; }
.skline { margin: 6px 0 0; max-width: var(--measure); }
.skrow .skstack { margin-top: var(--s-3); }
.chart-block { margin-top: var(--s-6); }
.tasks .finale { margin-top: var(--s-6); }

/* ---- framing: one 1136 px column; full, 2-up or 3-up; one gap ---- */
.scrolly { --fw: min(1136px, calc(100vw - 2 * var(--pad)), calc((100vh - var(--nav) - 150px) * 16 / 9)); }
@supports (height: 100svh) { .scrolly { --fw: min(1136px, calc(100vw - 2 * var(--pad)), calc((100svh - var(--nav) - 150px) * 16 / 9)); } }
.scrolly-stage { gap: var(--s-3); }
.scrolly-text { width: var(--fw); min-height: 88px; text-align: left; }
.scrolly-text h3 { margin-bottom: 6px; }
.scrolly-depth { top: calc(50% - (var(--fw) * 9 / 16 + 16px + 88px) / 2 + var(--fw) * 9 / 16 * 0.07); }
@media (max-width: 760px) {
  .scrolly { --fw: calc(100vw - 2 * var(--pad)); }
  .scrolly-text { min-height: 0; }
}

/* Method: 2 x 2 large frames (558 px squares at 1440), title + text under each, no step numbers */
.msteps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--gap); }
.mstep figcaption { margin-top: var(--s-3); max-width: var(--measure); }
.mstep h3 { margin: 0 0 6px; }
.mnum { display: none; }
.mmedia.tiles { gap: var(--s-1); }
.tile .skillchip { left: 8px; top: 8px; }
.cmd { margin-top: var(--s-3); padding: var(--s-3) 20px; }
.cmd-row { margin-top: 6px; }
.cmd-row .cmd-k { font-size: var(--fs-cap); font-weight: 500; }
@media (max-width: 700px) { .msteps { grid-template-columns: 1fr; gap: var(--s-6); } }

/* Skills: every row = h3, one line, then 3-up clips (grasp 3 + 2, reach and carry 2) */
.skstack, .skstack.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4) var(--gap); }
.skstack.n5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.skstack.n5 > figure { grid-column: span 2; }
.skstack.n5 > figure:nth-child(n+4) { grid-column: span 3; }
.skstack.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.skstack figcaption b.astra { color: var(--purple); } .skstack figcaption b.dexs0 { color: var(--blue); }
.skstack figcaption p { margin: 0 0 2px; }
@media (max-width: 860px) {
  .skstack, .skstack.n3, .skstack.n5, .skstack.n2 { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%;
    gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); padding: 0 var(--pad); scroll-padding: 0 var(--pad); }
  .skstack::-webkit-scrollbar { display: none; }
  .skstack > figure, .skstack.n5 > figure, .skstack.n5 > figure:nth-child(n+4) { grid-column: auto; scroll-snap-align: start; }
}

/* the two pairs (Simulation, Real robot): same frame, 2 x 558 px, 20 px apart, tabs above, bar below */
.pair { gap: var(--gap); }
.pair.ar43 .pane { aspect-ratio: 4 / 3; }                                  /* the sim pairs are 960 x 720; never crop */
.pane figcaption { left: var(--s-2); top: var(--s-2); padding: 6px 10px; font-weight: 600; }
.tabs { margin-bottom: var(--s-3); gap: var(--s-1); }
.tab { padding: 9px 14px 10px; }
.vbar { margin-top: var(--s-2); }
@media (max-width: 860px) {
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad));
          padding: 0 var(--pad); }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
}

/* the chart: a 760 px block, its title an h3 (real.js: W = 760, text 14 / 15 px in ink) */
.chart-block { max-width: 760px; }
.chart-title { margin-bottom: var(--s-2); }
.legend { margin-top: var(--s-2); gap: 8px 20px; }

/* Tasks: 3-up, no numbers */
.tasks3 { gap: var(--s-4) var(--gap); }
.tasks3 figcaption { display: block; }
.tasks3 figcaption i { display: none; }
.tasks3 figcaption b { display: block; font-size: var(--fs-body); line-height: 1.35; color: var(--ink); }
.tasks3 figcaption span { display: block; font-size: var(--fs-cap); color: var(--ink); }
.finale figcaption, .tasks .finale figcaption { margin-top: var(--s-2); max-width: var(--measure); }
.finale figcaption b { display: inline; font-size: inherit; margin: 0; }
@media (max-width: 860px) { .finale video { aspect-ratio: 16 / 9; } }

/* Try + cite */
.simlink-cta { padding: 14px 18px; }
.simlink-cta b { font-size: var(--fs-body); }
.bib pre { font-size: 14px; }
@media (max-width: 860px) { .bib pre { font-size: 12.5px; } }

/* wraps: "pretty" only stops one-word last lines; balance the short blocks so no line ends on one or two words */
.handoff, .skline, .mstep p, .cmd-row, .scrolly-text p, .skstack figcaption, .skstack figcaption p, .tasks3 figcaption span { text-wrap: balance; }
.brand { font-size: var(--fs-lead); }

/* v9 integration (11-24): the new Simulation section is a section like the others; Method step 3 shows the logged paths */
.simpair { border-top: 1px solid var(--line); }
.mmedia img.cmdpaths { object-position: 28% 50%; }      /* the 16:9 path image in a square: keep the pen, both paths and the hand */
/* the command rows: a two-column grid, so a wrapped target lines up under its first line */
.cmd-row { display: grid; grid-template-columns: 62px minmax(0, 1fr); align-items: baseline; padding-left: 0; text-indent: 0; }
.cmd-row .cmd-k { min-width: 0; }
.pane figcaption { line-height: 1.4; }                  /* the pane name and the skill chip are the same height */

/* ---------- 11-24 v10 (owner: "put them one like lined up", "too big for no reason"; skills = "grasp" -> wrist depths -> the real grasps) ---------- */
/* Method: the four steps in one row again, no numbers, short captions */
.msteps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5) var(--gap); }
.mstep figcaption { margin-top: var(--s-2); }
.mstep h3 { font-size: 19px; }
.mstep p, .mstep .cmd-say { font-size: var(--fs-cap); line-height: 1.5; }
.mstep .cmd-say { margin-top: 6px; color: var(--ink); }
.mmedia.tiles { gap: 6px; }
.skillchip.astra-chip { color: var(--purple); }
@media (max-width: 1099px) { .msteps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .msteps { grid-template-columns: 1fr; } .mstep p, .mstep .cmd-say { font-size: var(--fs-body); } }

/* Grasp and release: the skill on the left, lines into a stack of wrist depth squares (+), arrows to the real grasps */
.flow { --fd: 150px; --fv: calc(var(--fd) * 16 / 9); --fgap: 14px; position: relative; display: grid;
        grid-template-columns: 132px 150px max-content; align-items: center; margin-top: var(--s-4); }
.flow-skill { grid-column: 1; display: flex; align-items: center; }
.flow-word { font-size: 26px; font-weight: 600; letter-spacing: -.01em; color: var(--purple); white-space: nowrap; }
.flow-rows { grid-column: 3; display: grid; gap: var(--fgap); }
.flow-row { display: grid; grid-template-columns: var(--fd) 64px var(--fv); align-items: center; }
.flow-depth { grid-column: 1; width: var(--fd); height: var(--fd); border-radius: 6px; object-fit: cover; display: block; background: var(--night); }
.flow-out { grid-column: 3; width: var(--fv); height: var(--fd); border-radius: 6px; object-fit: cover; display: block; background: var(--panel); }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
@media (min-width: 1200px) { .flow { --fd: 168px; grid-template-columns: 150px 170px max-content; } }
@media (max-width: 860px) {
  .flow { --fd: 92px; --fgap: 12px; grid-template-columns: 30px 1fr; align-items: start; }
  .flow-skill { grid-column: 1 / -1; margin-bottom: 14px; }
  .flow-word { font-size: 22px; }
  .flow-rows { grid-column: 2; }
  .flow-row { grid-template-columns: var(--fd) 34px minmax(0, 1fr); }
  .flow-out { width: 100%; height: auto; aspect-ratio: 16 / 9; }
}
.skstack figcaption { font-weight: 500; }

/* ---------- 11-24 v11 (owner: "why it goes back to the line", "remove lines from section to section", the gap above the
   How it works box "is too much", the skills as tabs like Simulation and Real robot, the tree "way too big") ---------- */
@media (min-width: 861px) { .handoff, .skline { max-width: none; text-wrap: wrap; } }
.method, .words, .simpair, .real, .tasks, .try, .cite, .foot { border-top: 0; }
.how-head { padding-bottom: var(--s-3); }
.scrolly-frame { border: 0; }
@media (min-width: 761px) { .scrolly-stage { justify-content: flex-start; padding-top: var(--s-3); } }
/* Method: collect, label, train, deploy */
.mstep .mmedia .skillchip { left: 10px; top: 10px; }
/* Atomic skills: one row of skill tabs, one panel at a time */
.sktabs { margin-top: var(--s-5); }
.skpanel { margin-top: var(--s-3); }
.skpanel[hidden] { display: none; }
.skpanel .skline { margin: 0; }
.flow { --fd: 120px; --fgap: 12px; grid-template-columns: 120px 140px max-content; margin-top: var(--s-4); }
.flow.one { --fd: 168px; }
.flow-word { font-size: 24px; }
.flow-row { grid-template-columns: var(--fd) 56px var(--fv); }
@media (min-width: 1200px) { .flow { --fd: 128px; grid-template-columns: 128px 150px max-content; } .flow.one { --fd: 180px; } }
@media (max-width: 860px) {
  .flow, .flow.one { --fd: 88px; grid-template-columns: 30px 1fr; }
  .flow-row { grid-template-columns: var(--fd) 34px minmax(0, 1fr); }
  .sktabs { flex-wrap: nowrap; overflow-x: auto; }
}

/* ---------- 11-24 v12 (owner: the skills block must not move the page when switching; the salad on top, then the
   tasks it took with arrows between them) ---------- */
.skpanels { display: grid; margin-top: var(--s-3); }
.skpanels > .skpanel { grid-area: 1 / 1; margin-top: 0; }
.skpanels > .skpanel[hidden] { display: block; visibility: hidden; }
.tasks .finale { margin-top: var(--s-5); }
.chain-title { margin: var(--s-6) 0 0; font-size: var(--fs-h3); line-height: 1.25; font-weight: 600; letter-spacing: -.012em; color: var(--ink); }
.chain { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr); align-items: start; gap: 0 var(--s-3); margin-top: var(--s-3); }
.chain figure { margin: 0; }
.chain video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: var(--panel); }
.chain figcaption { margin-top: var(--s-1); font-size: var(--fs-cap); line-height: 1.45; color: var(--ink); }
.chain figcaption b { display: block; font-size: var(--fs-body); font-weight: 600; }
.chain-arrow { display: flex; align-items: center; justify-content: center; aspect-ratio: 40 / 22.5; height: auto; }
.chain-arrow svg { width: 40px; height: 20px; }
.chain > .chain-arrow { align-self: start; margin-top: calc((100% * 0) + 0px); }
@media (max-width: 860px) {
  .chain { grid-template-columns: 1fr; gap: var(--s-2); }
  .chain-arrow { aspect-ratio: auto; height: 28px; }
  .chain-arrow svg { transform: rotate(90deg); }
}
/* the arrows sit at the middle of the clips: clips on row 1, captions on row 2 (figure as display: contents) */
.chain { grid-template-rows: auto auto; row-gap: 0; }
.chain figure { display: contents; }
.chain video { grid-row: 1; }
.chain figcaption { grid-row: 2; }
.chain-arrow { grid-row: 1; align-self: center; aspect-ratio: auto; margin: 0; }
.chain figure:nth-of-type(1) > * { grid-column: 1; }
.chain figure:nth-of-type(2) > * { grid-column: 3; }
.chain figure:nth-of-type(3) > * { grid-column: 5; }
.chain > span.chain-arrow:nth-of-type(1) { grid-column: 2; }
.chain > span.chain-arrow:nth-of-type(2) { grid-column: 4; }
@media (max-width: 860px) {
  .chain { grid-template-columns: 1fr; grid-template-rows: none; row-gap: var(--s-2); }
  .chain figure { display: block; }
  .chain figure > *, .chain > span.chain-arrow:nth-of-type(n) { grid-column: auto; grid-row: auto; }
  .chain-arrow { height: 28px; }
}
.chain > span.chain-arrow { align-self: center; margin-top: 0; }   /* beats the earlier .chain > .chain-arrow */

/* ---------- 11-24 How it works LIVE (owner: "a browser animation, not Blender"): s/js/howit.js renders the real data in
   three.js inside .scrolly-frame, driven by the scroll; one static camera; the wrist view sits inside the frame, anchored to
   the camera on the hand by a leader the script draws. Nothing slides or scales on scroll. No WebGL: .frames = the 220
   Blender frames (film.js) as before. ---------- */
.scrolly { height: 800vh; }
.scrolly-frame { background: url("/s/media/howit/poster_d.webp") center / 100% 100% no-repeat,
                 radial-gradient(62% 75% at 50% 45%, #FFFFFF 0%, #FFFFFF 35%, #F7F8F9 100%); }
#how.live .scrolly-frame { background: radial-gradient(62% 75% at 50% 45%, #FFFFFF 0%, #FFFFFF 35%, #F7F8F9 100%); }
#how.live #scrolly-canvas { display: none; }
#howit-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#howit-marks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.scrolly-frame .scrolly-depth { position: absolute; left: 75%; top: 14.2%; width: 21.9%; margin: 0; opacity: 0; visibility: hidden;
                                transition: none; z-index: 2; }
.scrolly-frame .scrolly-depth figcaption { margin-top: 6px; }
#how.frames .scrolly-frame { background: #fff url("/s/media/scroll/d/f000.webp") center / cover no-repeat; }
#how.frames .scrolly-depth { visibility: visible; transition: opacity .35s; }
#how.frames .scrolly-depth.on { opacity: 1; }
@media (max-width: 760px) {
  .scrolly { height: 680vh; --fw: min(calc(100vw - 2 * var(--pad)), calc((100vh - var(--nav) - 210px) * 3 / 4)); }
  @supports (height: 100svh) { .scrolly { --fw: min(calc(100vw - 2 * var(--pad)), calc((100svh - var(--nav) - 210px) * 3 / 4)); } }
  .scrolly-frame { aspect-ratio: 3 / 4; background-image: url("/s/media/howit/poster_m.webp"),
                   radial-gradient(62% 75% at 50% 45%, #FFFFFF 0%, #FFFFFF 35%, #F7F8F9 100%); }
  .scrolly-frame .scrolly-depth { position: absolute; order: 0; left: 62.9%; top: 1.9%; width: 34.9%; margin: 0; }
  .scrolly-frame .scrolly-depth figcaption { text-align: right; }
  #how.frames .scrolly { --fw: calc(100vw - 2 * var(--pad)); }
  #how.frames .scrolly-frame { aspect-ratio: 786 / 528; background-image: url("/s/media/scroll/m/f000.webp"); }
  #how.frames .scrolly-depth { left: 66%; top: 3%; width: 31%; }
}
@media (max-width: 760px) {   /* the caption left of the tile, so it never sits on the hand under it */
  .scrolly-frame .scrolly-depth figcaption { position: absolute; right: calc(100% + 8px); bottom: 0; margin: 0; white-space: nowrap; text-align: right; }
}

/* ---------- 11-25 How it works (owner: the heading in view while the animation plays; the words inside the animation) ---------- */
.scrolly-stage > .how-head { width: var(--fw); padding: 0 0 var(--s-2); margin: 0; }
.scrolly-stage > .how-head .handoff { margin-top: 6px; }
.scrolly { --fw: min(1136px, calc(100vw - 2 * var(--pad)), calc((100vh - var(--nav) - 190px) * 16 / 9)); }
@supports (height: 100svh) { .scrolly { --fw: min(1136px, calc(100vw - 2 * var(--pad)), calc((100svh - var(--nav) - 190px) * 16 / 9)); } }
.scrolly-frame .scrolly-text { position: absolute; left: 24px; top: 20px; width: min(48%, 520px); min-height: 0; margin: 0;
  text-align: left; z-index: 3; pointer-events: none; }
.scrolly-frame .scrolly-text h3 { margin: 0 0 4px; font-size: var(--fs-h3); }
.scrolly-frame .scrolly-text p { margin: 0; font-size: var(--fs-cap); line-height: 1.45; color: var(--ink2); text-wrap: pretty; }
@media (max-width: 860px) {
  .scrolly { --fw: min(calc(100vw - 2 * var(--pad)), calc((100vh - var(--nav) - 220px) * 3 / 4)); }
  @supports (height: 100svh) { .scrolly { --fw: min(calc(100vw - 2 * var(--pad)), calc((100svh - var(--nav) - 220px) * 3 / 4)); } }
  .scrolly-frame .scrolly-text { left: 14px; top: 12px; width: calc(100% - 28px); }
  .scrolly-frame .scrolly-text h3 { font-size: 17px; }
  .scrolly-frame .scrolly-text p { font-size: 14px; }
}
@media (min-width: 861px) { .scrolly-stage > .how-head .h2 { max-width: none; white-space: nowrap; } }   /* one line, no early wrap */

/* ---------- 11-25 v15 (owner: "people might be very confused, as you scroll down you see stuff, they'll try to play that
   video ... make it a video instead, or something they can play with"; "a lot of space between Training pipeline and the
   bottom of Dex-S0 maps"): How it works is a player in the page flow (the heading, the frame with its words, the bar of the
   pairs under it), no pinning; normal section spacing; the We label skill bar ---------- */
.scrolly { height: auto; }
.scrolly-stage { position: static; height: auto; padding: 0 var(--pad); justify-content: flex-start; gap: 0; }
@supports (height: 100svh) { .scrolly-stage { height: auto; } }
@media (min-width: 761px) { .scrolly-stage { padding-top: 0; } }
@media (max-width: 760px) { .scrolly { height: auto; } .scrolly-stage { padding-top: 0; gap: 0; } }
.scrolly-stage > .how-head { padding-bottom: calc(var(--s-2) + var(--s-3)); }
.how-vbar { width: var(--fw); margin-top: var(--s-2); }
.how { padding: var(--s-7) 0; }
/* We label: the episode's skills as coloured blocks along the bottom of the frame, a playhead on the video's time */
.skillbar { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 3px; border-radius: 4px; background: #fff; pointer-events: none; }
.skillbar:empty { display: none; }
.skillbar-track { position: relative; display: flex; height: 8px; border-radius: 2px; overflow: visible; }
.skillbar-track i { display: block; height: 100%; flex: none; box-shadow: inset -2px 0 0 #fff; }
.skillbar-track i:first-child { border-radius: 2px 0 0 2px; }
.skillbar-track i:last-of-type { border-radius: 0 2px 2px 0; box-shadow: none; }
.skillbar-head { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--ink); }
.skillchip .sw { display: inline-block; width: 10px; height: 10px; margin: 0 6px 0 0; border-radius: 2px; vertical-align: 0; }
/* 11-25 v15 fixer: on phones the wrist camera tile sat on the in-frame words (camera / correct beats, now a player people
   pause on). The tile moves under the words, a little smaller, on the right; its leader still drops to it from the lens. */
@media (max-width: 760px) {
  #how.live .scrolly-frame .scrolly-depth { left: 64.5%; top: 19%; width: 26%; }
}

/* ---------- 11-27 How it works: the Dex-S0 block, in the grammar of the Blender duck film (owner: "simple, the cropped depth,
   the skill and so on"). Created by howit.js in the live scene only; placed and faded there. ---------- */
#howit-dex { position: absolute; z-index: 2; box-sizing: border-box; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1.5px solid var(--blue); border-radius: 6px; color: var(--blue); font-weight: 600; letter-spacing: -.01em;
  line-height: 1; opacity: 0; visibility: hidden; pointer-events: none; }
#howit-pill { position: absolute; z-index: 2; box-sizing: border-box; display: flex; align-items: center; justify-content: center;
  background: var(--blue); color: #fff; border-radius: 999px; font-weight: 600; line-height: 1; opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------- 11-28 audit fixes (main page) ---------- */
/* a focus ring on every tab, the selected ink one too. The phone tab rows scroll sideways and would clip a ring outside
   the tab, so there it sits just inside the edge, white on the selected tab */
.tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (max-width: 860px) {
  .tab:focus-visible { outline-offset: -4px; }
  .tab.on:focus-visible { outline-color: #fff; }
}
/* a click or tap plays or pauses a clip (main.js) */
video[data-autoplay] { cursor: pointer; }
/* How it works on the page column: the heading, the sentence and the bar as wide as every other section; on short
   screens only the frame gets smaller, from the same left edge */
.scrolly-stage { max-width: 1200px; margin: 0 auto; align-items: flex-start; }
.scrolly-stage > .how-head, .how-vbar { width: min(1136px, 100%); }
/* phones: the hero words sit over the middle of the video, so a shade goes behind them and the kicker and the names are
   full white */
@media (max-width: 860px) {
  .hero-shade { background:
    linear-gradient(180deg, rgba(12,22,34,0) 4%, rgba(12,22,34,.4) 18%, rgba(12,22,34,.4) 75%, rgba(12,22,34,0) 100%),
    linear-gradient(180deg, rgba(12,22,34,.55) 0%, rgba(12,22,34,0) 22%, rgba(12,22,34,0) 38%, rgba(12,22,34,.82) 100%),
    linear-gradient(90deg, rgba(12,22,34,.5) 0%, rgba(12,22,34,0) 60%); }
  .kicker.light, .hero-authors { color: #fff; }
}

/* ---------- 11-28 the corner tag in the hero (owner: "put in the top corner, Try in simulator ... like a top corner tag") ---------- */
.hero-tag { position: absolute; z-index: 6; top: calc(var(--nav) + 18px); right: var(--pad); display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 16px; font-weight: 600; letter-spacing: -.005em;
  line-height: 1; text-decoration: none; box-shadow: 0 6px 20px rgba(10, 20, 40, .28); transition: background .2s, transform .2s; }
.hero-tag:hover { background: #1259B8; transform: translateY(-1px); }
.hero-tag:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hero-tag-arrow { font-size: 17px; transition: transform .2s; }
.hero-tag:hover .hero-tag-arrow { transform: translateX(2px); }
@media (max-width: 760px) { .hero-tag { top: calc(var(--nav) + 12px); right: 14px; padding: 9px 13px; font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .hero-tag, .hero-tag-arrow { transition: none; } .hero-tag:hover { transform: none; } }
