/* The headline keeps one readable semantic title and a fixed visual footprint. */
.hero:not(.about-hero){padding-block:44px 40px}
.hero:not(.about-hero) .hero-lead{align-items:end}
.hero:not(.about-hero) .hero-route{margin-top:24px}
@media(max-width:1000px){.hero:not(.about-hero) .hero-lead{gap:24px}}
@media(max-width:760px){.hero:not(.about-hero){padding-block:32px 36px}.hero:not(.about-hero) .hero-lead{display:grid;grid-template-columns:minmax(0,1fr)}}
/* One open drawing and its measurement legend. */
.public-hero-root { display: contents; }
#feature-tour {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 5vw, 76px);
  width: min(calc(100% - 48px), var(--w, 1188px));
  margin: clamp(18px, 4vw, 56px) auto 0;
  color: var(--ink, #142b3d);
}
.feature-morph-art {
  display: grid;
  place-items: center;
  min-width: 0;
  aspect-ratio: 49 / 31;
}
.feature-morph-static, .feature-morph-live {
  display: block;
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
}
.feature-morph-static svg { display: block; width: 100%; height: auto; }
.feature-morph-live:not([data-morph-active]),
.feature-morph-static[hidden], .feature-morph-sources[hidden] { display: none; }
.feature-morph-sources:not([hidden]) {
  position: absolute;
  inset: 0 auto auto -10000px;
  width: 270px;
  visibility: hidden;
  pointer-events: none;
}
.feature-morph-sources svg { display: block; width: 270px; height: 180px; }
.feature-morph-caption { align-self: center; max-width: 37ch; text-align: left; }
#feature-tour h2 {
  margin: 0 0 10px;
  font-size: clamp(23px, 3vw, 41px);
  font-weight: 720;
  line-height: 1.04;
  letter-spacing: -.045em;
  color: inherit;
  text-wrap: balance;
}
#feature-tour p { margin: 0; font-size: 15px; line-height: 1.55; }
.feature-morph-legend { display: grid; gap: 0; margin: 20px 0 0; }
.feature-morph-legend div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid #bec8d5;
  font-size: 13px;
}
.feature-morph-legend dd { margin: 0; font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
/* One shared stage for the feature, its operation and the example reading. */
.pilot-landing #top.pilot-hero {
  position: relative; isolation: isolate; overflow: visible; display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center;
  gap: clamp(28px, 5vw, 80px); padding-block: clamp(44px, 7vw, 100px);
}
.pilot-landing #top.pilot-hero::before {
  content: ""; display: block; position: absolute; z-index: -1; pointer-events: none;
  inset: 0 calc((100% - 100vw) / 2); width: auto; height: auto; border: 0;
  background: radial-gradient(ellipse at 78% 26%, #c6c3f7ba, transparent 57%),
              radial-gradient(ellipse at 25% 48%, #c4d4ff80, transparent 53%),
              radial-gradient(ellipse at 58% 88%, #f7d593aa, transparent 55%);
}
.pilot-landing #top .hero-copy { min-width: 0; align-self: center; }
.pilot-landing #top .product-audience {
  display: flex; align-items: center; gap: 9px; margin: 0 0 20px; color: #374b67;
  font: 650 .84rem/1.45 var(--font); letter-spacing: .015em;
}
.product-audience i { width: 21px; height: 3px; background: var(--blue); }
.pilot-landing #top #hero-heading {
  font-size: clamp(45px, 5.35vw, 82px); line-height: 1.03; text-align: left;
}
.pilot-landing #top #hero-heading em { display: block; line-height: 1.12; }
.pilot-landing #top .hero-description { width: 100%; max-width: 47ch; margin: 17px 0 0; line-height: 1.55; }
.pilot-landing #top .hero-actions { margin: 24px 0 0; }
.pilot-landing #top #feature-tour {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-self: center;
  width: 100%; margin: 0; padding: 0; border: 0; background: none;
}
.pilot-landing #feature-tour .feature-morph-caption {
  display: grid; gap: 4px; min-block-size: 0; width: auto; max-width: none;
  margin: 0 clamp(12px, 2vw, 30px); padding: 15px 0 0; border-top: 1px solid #bec9d3;
}
.pilot-landing #top .tour-example-heading { display: flex; align-items: baseline; gap: .65em; }
.tour-example-heading > span { color: #4e6077; font: 600 .72rem/1.5 ui-monospace, monospace; }
.tour-example-heading > strong { color: #38475c; font-size: .87rem; font-weight: 700; }
.tour-reading { font-size: clamp(15px, 1.4vw, 20px); line-height: 1.35; }
.tour-reading b { color: #1c4199; font: 700 clamp(22px, 2.35vw, 34px)/1.2 "DM Sans", var(--font); letter-spacing: -.045em; }
.pilot-landing #feature-tour .tour-inputs { color: var(--muted); font-size: .83rem; }
.tour-stack { display: grid; align-content: center; }
.tour-stack > .tour-layer { grid-area: 1 / 1; align-self: start; text-wrap: pretty; }
.tour-layer[data-phase="idle"], .tour-layer[data-phase="outgoing"],
.measurement-overlay [data-phase="idle"], .measurement-overlay [data-phase="outgoing"] { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .pilot-landing #top[data-rotated] #feature-tour[data-tour-running] .tour-layer[data-phase="current"] {
    animation: tour-arrive 1.15s cubic-bezier(.45,0,.2,1) both;
  }
  .pilot-landing #top[data-rotated] #feature-tour[data-tour-running] .tour-layer[data-phase="outgoing"] {
    animation: tour-depart 1.15s cubic-bezier(.45,0,.2,1) both;
  }
  #top .measurement-overlay [data-phase] { transition: opacity .8s ease; visibility: visible; }
  #top .measurement-overlay :is([data-phase="idle"],[data-phase="outgoing"]) { opacity: 0; }
}
@keyframes tour-arrive {
  from { clip-path: inset(100% -3% -8%); transform: translateY(.13em); }
  to { clip-path: inset(-8% -3% -8%); transform: translateY(0); }
}
@keyframes tour-depart {
  from { visibility: visible; clip-path: inset(-8% -3% -8%); transform: translateY(0); }
  to { visibility: hidden; clip-path: inset(-8% -3% 108%); transform: translateY(-.13em); }
}
@media (max-width: 760px) {
  .pilot-landing #top.pilot-hero { grid-template-columns: minmax(0,1fr); gap: 22px; padding-block: 32px 28px; }
  .pilot-landing #top .product-audience { margin-bottom: 12px; }
  .pilot-landing #top .hero-description { margin: 10px 0 0; font-size: 16px; }
  .pilot-landing #top .hero-actions { margin-top: 12px; }
  .pilot-landing #top #feature-tour { max-width: 540px; justify-self: center; }
  .pilot-landing #feature-tour .feature-morph-caption { margin-inline: 0; padding-top: 8px; }
}
@media (forced-colors: active) { .pilot-landing #top.pilot-hero::before { background: none; } }



.pilot-landing #top .tour-header { display:block; width:100%; margin:0; padding:0; position:static; background:transparent; border:0; box-shadow:none; }
.pilot-landing #feature-tour .tour-header > p { display:flex; align-items:center; gap:.7em; color:#35465c; font-weight:650; font-size:.8rem; }
.tour-header > p > span { padding-left:.7em; border-left:1px solid #bac3d0; font-weight:450; }
.pilot-landing #feature-tour .tour-header h2 { margin:7px 0 0; font:700 clamp(24px,2.7vw,39px)/1.16 "DM Sans",var(--font); letter-spacing:-.045em; }
.tour-header h2 em { font:italic 700 1.12em/1 "Instrument Serif",Georgia,serif; color:var(--blue); font-synthesis:weight; }
.pilot-landing #feature-tour .tour-explainer { margin:0 0 5px; font-size:clamp(14px,1.1vw,16px); line-height:1.48; }
.pilot-landing #top #hero-heading { color:var(--ink); }
@media(max-width:760px) { .pilot-landing #top #feature-tour { margin-top:4px; } }
.station-comparison { width: 100%; border-collapse: collapse; color: var(--ink); font-variant-numeric: tabular-nums; }
.station-comparison caption { text-align: left; padding: .3rem 0 .8rem; font-weight: 650; }
.station-comparison th, .station-comparison td { padding: .58rem .3rem; text-align: right; border-bottom: 1px solid var(--line, #d6dede); }
.station-comparison th:first-child { padding-left: 0; text-align: left; }
.station-comparison thead th { font-size: .85rem; color: var(--muted); }
.station-comparison tbody th { font-weight: 500; }
.station-comparison tbody td:last-child { font-weight: 750; color: var(--blue, #1949bb); }
.station-outcome { margin: 0; font-size: .96rem; color: var(--ink); }

.pilot-landing .product-demo .case-frame { min-height: 66px; padding: 12px 92px 12px 16px; align-content: flex-start; flex-wrap: nowrap; }
.pilot-landing .case-frame .tour-action { width: 91px; padding: 0 6px; right: 12px; }
.pilot-landing .case-frame strong { font-size: 1rem; }
.pilot-landing .case-frame span { font-size: .82rem; }
.station-comparison { table-layout: fixed; }
.station-comparison th:first-child { width: 30%; }
.station-comparison th:not(:first-child), .station-comparison td { text-align: left; padding-inline: .5rem; }
.station-caption { display: flex; align-items: baseline; justify-content: space-between; gap: .45rem 1rem; flex-wrap: wrap; font-size: .9rem; }
.station-goal::before { content: ""; display: inline-block; height: .8em; margin-right: .45em; border-left: 2px dashed currentColor; }
.station-task-key { color: #663e0b; font-size: .84rem; }
.station-task-key::before { content: ""; display: inline-block; width: .75em; height: .75em; margin-right: .4em; background: #f0b963; border: 1px solid #925c15; }
.station-time svg { display: block; width: 100%; height: 20px; margin-top: .12rem; overflow: visible; }
.station-number { font-weight: 650; }
.station-track { fill: #e3e9f2; }
.station-fill { fill: #2756bc; }
.station-slice rect { fill: #efbb68; stroke: #905d22; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.station-limit { fill: none; stroke: #283a54; stroke-width: 1.3px; stroke-dasharray: 2 2; vector-effect: non-scaling-stroke; }
.station-plot { position: relative; }
.station-transfer-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.station-token { opacity: 0; fill: #efb253; stroke: #875218; stroke-width: 1px; }
.station-plot[data-transferring] .station-slice rect { fill: #f5f2e9; stroke: #8b754c; stroke-dasharray: 2 2; }
@media (forced-colors: active) {
  .station-track { fill: Canvas; stroke: GrayText; }
  .station-fill { fill: CanvasText; }
  .station-slice rect { fill: Highlight; stroke: CanvasText; }
  .station-limit { stroke: LinkText; }
}

/* Both devices share one drawing, from the phone camera to the laptop study. */
.pilot-landing #top #feature-tour { gap: 10px; }
#feature-tour .device-pair, #feature-tour .device-labels {
  --phone-left: 1%;
  --phone-width: 21%;
  --screen-left: 32%;
  --screen-width: 64%;
  position: relative;
}
#feature-tour[data-filmed="false"] :is(.device-pair, .device-labels) {
  --screen-left: 11%;
  --screen-width: 78%;
}
.device-pair { aspect-ratio: 2 / 1; margin-top: 4px; }
.phone-device, .study-device {
  box-sizing: border-box;
  position: absolute;
  background: #f9fbff;
  border: 2px solid #374864;
}
.phone-device {
  inset: auto auto 7% var(--phone-left);
  width: var(--phone-width);
  height: 81%;
  border: 3px solid #34435b;
  border-radius: clamp(10px,1.3vw,19px);
  box-shadow: inset 0 0 0 1px #b8c3d5, 1px 2px 0 #b8c3d5;
}
.phone-speaker, .phone-home {
  position: absolute; left: 50%; transform: translateX(-50%); border-radius: 20px; background: #34435b;
}
.phone-speaker { width: 31%; height: 4px; top: 3%; }
.phone-home { width: 30%; height: 2px; bottom: 3%; }
.phone-rec { visibility: hidden; color: #a34232; }
.phone-rec::before { content: ""; display: inline-block; width: .55em; height: .55em; border-radius: 50%; margin-right: .27em; background: #b74434; }
.phone-rec i { display: none; }
.camera-guides { position: absolute; inset: 30% 9% 19%; opacity: 0; pointer-events: none; }
.camera-guides i { position: absolute; width: 14%; height: 15%; border: solid #7287a4; }
.camera-guides i:nth-child(1) { inset: 0 auto auto 0; border-width: 1px 0 0 1px; }
.camera-guides i:nth-child(2) { inset: 0 0 auto auto; border-width: 1px 1px 0 0; }
.camera-guides i:nth-child(3) { inset: auto auto 0 0; border-width: 0 0 1px 1px; }
.camera-guides i:nth-child(4) { inset: auto 0 0 auto; border-width: 0 1px 1px 0; }
.study-device {
  left: var(--screen-left); width: var(--screen-width); height: 86%; bottom: 8%;
  border-radius: clamp(6px, .8vw, 12px) clamp(6px, .8vw, 12px) 4px 4px;
  box-shadow: inset 0 0 0 2px #c8d2df;
}
.device-heading {
  position: absolute; inset: 5% 4% auto; display: flex; align-items: center; gap: 6px;
  color: #384d6e; font: 650 clamp(10px,.84vw,13px)/1.2 var(--font);
}
#feature-tour .device-heading > svg.tb-vector { width: 16px; height: 16px; max-width: 16px; flex: 0 0 16px; }
.laptop-base {
  position: absolute; bottom: -8px; left: -5%; width: 110%; height: 9px;
  border: 1.5px solid #465974; border-radius: 1px 1px 28% 28% / 1px 1px 7px 7px; background: #c3cfdf;
}
.laptop-base::before { content: ""; position: absolute; top: 0; left: 42%; width: 16%; height: 3px; background: #7889a2; border-radius: 0 0 4px 4px; }
#feature-tour .device-pair > .feature-morph-art {
  position: absolute; left: calc(var(--screen-left) + 1.1%); top: 54%;
  width: calc(var(--screen-width) - 2.2%); transform: translateY(-50%); pointer-events: none;
}
#feature-tour[data-filmed="false"] :is(.phone-device,.device-labels > :first-child) { visibility: hidden; }
.device-labels { min-height: 1.35em; color: #425574; font: 650 clamp(10px,.92vw,13px)/1.3 var(--font); text-align: center; }
.device-labels > span { position: absolute; top: 0; }
.device-labels > :first-child { left: -2%; width: 28%; }
.device-labels > :last-child { left: var(--screen-left); width: var(--screen-width); }
.study-record { display: grid; gap: 6px; margin-top: 3px; }
.pilot-landing #feature-tour .device-input { display: grid; margin: 0; color: #354960; font: 550 clamp(13px,1.04vw,16px)/1.44 var(--font); font-variant-numeric: tabular-nums; }
.device-input > * { grid-area: 1 / 1; align-self: start; }
.device-input :is(.capture-copy,.transfer-copy) { visibility: hidden; }
.device-input strong { color: #203857; font-weight: 730; }
.pilot-landing #feature-tour .feature-morph-caption { margin: 0; padding: 0 0 0 12px; border: 0; }
.study-finding { position: relative; }
.study-finding::before { content: ""; position: absolute; left: -12px; top: .28em; bottom: .2em; width: 2px; background: #4167ae; }
.finding-origin { color: #334e78; font: 700 .76rem/1.45 var(--font); }
#feature-tour[data-tour-running]:is([data-study-phase="capture"],[data-study-phase="transfer"],[data-study-phase="entry"]) .study-finding,
#feature-tour[data-tour-running][data-study-phase="review"] .tour-reading { visibility: hidden; opacity: 0; }
#feature-tour[data-tour-running][data-study-phase="capture"] .device-pair > .feature-morph-art {
  left: calc(var(--phone-left) + 1%); width: calc(var(--phone-width) - 2%); top: 57%;
}
#feature-tour[data-tour-running][data-study-phase="capture"] .feature-morph-art :is(.feature-morph-static,.feature-morph-live) { width: 98%; }
#feature-tour[data-tour-running][data-study-phase="capture"] .camera-guides { opacity: 1; }
#feature-tour[data-tour-running][data-study-phase="capture"] :is(.capture-copy,.phone-rec),
#feature-tour[data-tour-running][data-study-phase="transfer"] .transfer-copy { visibility: visible; }
#feature-tour[data-tour-running]:is([data-study-phase="capture"],[data-study-phase="transfer"]) .input-copy { visibility: hidden; }
#feature-tour[data-tour-running]:is([data-study-phase="capture"],[data-study-phase="transfer"]) .measurement-overlay { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  #feature-tour[data-tour-running][data-study-phase="transfer"] .device-pair > .feature-morph-art { transition: left 1s cubic-bezier(.4,0,.2,1), width 1s cubic-bezier(.4,0,.2,1), top 1s ease; }
  .study-finding, .tour-reading, .camera-guides { transition: opacity .35s ease; }
}
@media (max-width: 420px) {
  .pilot-landing #top #feature-tour { gap: 8px; }
  .device-pair { aspect-ratio: 1.85 / 1; }
  .phone-device { border-width: 2px; height: 77%; }
  .device-heading { gap: 3px; }
  #feature-tour .device-heading > svg.tb-vector { width: 13px; height: 13px; max-width: 13px; flex-basis: 13px; }
  .device-labels { min-height: 2.6em; }
  .device-labels > :first-child { left: 0; width: 23%; }
  #feature-tour .measurement-labels text, #feature-tour .interval-dimension text { font-size: 23px; }
}

/* A question occupies the stage before either recording or manual entry begins. */
#feature-tour { container-type: inline-size; }
#feature-tour:is([data-view-pair="angles"],[data-view-pair="stations"]) :is(.device-pair,.device-labels) {
  --phone-width: 17%;
  --screen-left: 44%;
  --screen-width: 53%;
}
#feature-tour:is([data-view-pair="angles"],[data-view-pair="stations"]) .phone-device {
  height: 65%;
  bottom: 11%;
}
.phone-second { left: 20.5%; }
.phone-view {
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 13%;
  color: #253b57;
  font: 700 clamp(9px,.84vw,12px)/1.1 var(--font);
  text-align: center;
}
#feature-tour .other-camera-art {
  position: absolute;
  top: 51%;
  left: 5%;
  width: 90%;
  height: 45%;
  transform: translateY(-50%);
  opacity: 0;
}
#feature-tour .other-camera-art svg { display: block; width: 100%; height: 100%; }
#feature-tour[data-tour-running][data-study-phase="capture"] .other-camera-art { opacity: 1; }
#feature-tour:is([data-view-pair="angles"],[data-view-pair="stations"]) .device-labels > :first-child { left: 0; width: 39%; }
@media (prefers-reduced-motion: no-preference) {
  #feature-tour[data-tour-running] :is(.device-pair,.device-labels,.study-record,.feature-morph-caption) {
    transition: opacity .4s ease, translate .48s ease;
  }
  #feature-tour[data-tour-running] .tour-header h2 { transition: transform .5s cubic-bezier(.2,.65,.3,1); }
}
@container (max-width: 480px) {
  #feature-tour:is([data-view-pair="angles"],[data-view-pair="stations"])[data-study-phase="capture"] :is(.device-pair,.device-labels) {
    --phone-width: 25%;
    --screen-left: 63%;
    --screen-width: 34%;
  }
  #feature-tour:is([data-view-pair="angles"],[data-view-pair="stations"])[data-study-phase="capture"] .phone-second { left: 29.5%; }
  #feature-tour:is([data-view-pair="angles"],[data-view-pair="stations"])[data-study-phase="capture"] .phone-device { height: 82%; bottom: 6%; }
  #feature-tour:is([data-view-pair="angles"],[data-view-pair="stations"])[data-study-phase="capture"] .study-device { height: 48%; bottom: 17%; }
  #feature-tour:is([data-view-pair="angles"],[data-view-pair="stations"])[data-study-phase="capture"] .device-labels > :first-child { width: 55%; }
}
@media (prefers-reduced-motion: no-preference) {
  #feature-tour[data-tour-running][data-study-phase="transfer"] :is(.phone-device,.study-device,.device-labels > span) {
    transition: left .72s ease, bottom .72s ease, width .72s ease, height .72s ease;
  }
}
@container (max-width: 480px) {
  /* After the local clips open, give the reviewed measurement the larger display. */
  #feature-tour:is([data-view-pair="angles"],[data-view-pair="stations"]):not([data-study-phase="capture"]) :is(.device-pair,.device-labels) {
    --phone-width: 17%;
    --screen-left: 26%;
    --screen-width: 71%;
  }
  #feature-tour:is([data-view-pair="angles"],[data-view-pair="stations"]):not([data-study-phase="capture"]) .phone-device { height: 43%; bottom: 53%; }
  #feature-tour:is([data-view-pair="angles"],[data-view-pair="stations"]):not([data-study-phase="capture"]) .phone-second { left: var(--phone-left); bottom: 5%; }
  #feature-tour:is([data-view-pair="angles"],[data-view-pair="stations"]):not([data-study-phase="capture"]) .device-labels > :first-child { width: 22%; }
  #feature-tour:is([data-view-pair="angles"],[data-view-pair="stations"]) .measurement-labels text { font-size: 26px; }
}

/* The label study uses three views of one operation. */
#feature-tour[data-view-pair="angles"] :is(.device-pair,.device-labels) {
  --phone-width: 14%;
  --screen-left: 54%;
  --screen-width: 43%;
}
#feature-tour[data-view-pair="angles"] .phone-device { height: 56%; bottom: 13%; }
#feature-tour[data-view-pair="angles"] .phone-second { left: 17%; }
#feature-tour[data-view-pair="angles"] .phone-third { left: 33%; }
#feature-tour[data-view-pair="angles"] .device-labels > :first-child { width: 48%; }
@container (max-width: 480px) {
  #feature-tour[data-view-pair="angles"][data-study-phase="capture"] :is(.device-pair,.device-labels) {
    --phone-width: 20%; --screen-left: 68%; --screen-width: 29%;
  }
  #feature-tour[data-view-pair="angles"][data-study-phase="capture"] .phone-device { height: 68%; bottom: 12%; }
  #feature-tour[data-view-pair="angles"][data-study-phase="capture"] .phone-second { left: 23%; }
  #feature-tour[data-view-pair="angles"][data-study-phase="capture"] .phone-third { left: 45%; }
  #feature-tour[data-view-pair="angles"][data-study-phase="capture"] .device-labels > :first-child { width: 65%; }
  #feature-tour[data-view-pair="angles"]:not([data-study-phase="capture"]) :is(.device-pair,.device-labels) {
    --phone-width: 13%; --screen-left: 23%; --screen-width: 74%;
  }
  #feature-tour[data-view-pair="angles"]:not([data-study-phase="capture"]) .phone-device { bottom: 68%; height: 30%; }
  #feature-tour[data-view-pair="angles"]:not([data-study-phase="capture"]) .phone-second { left: var(--phone-left); bottom: 36%; }
  #feature-tour[data-view-pair="angles"]:not([data-study-phase="capture"]) .phone-third { left: var(--phone-left); bottom: 4%; }
  #feature-tour[data-view-pair="angles"]:not([data-study-phase="capture"]) .phone-speaker { height: 2px; }
  #feature-tour[data-view-pair="angles"]:not([data-study-phase="capture"]) .phone-view { bottom: 16%; font-size: 8px; }
}
@container (min-width: 481px) {
  #feature-tour[data-view-pair="angles"] .study-device { height: 61%; bottom: 11%; }
  #feature-tour[data-view-pair="angles"]:not([data-study-phase="capture"]) .device-pair > .feature-morph-art { top: 61%; }
}

/* The use case is the opening section. Native scrolling can leave it at any time. */
.pilot-landing #top.pilot-hero {
  display: block; width: 100%; max-width: none; margin: 0; padding: 0; border: 0;
}
.pilot-landing #top.pilot-hero::before {
  inset: 0; width: 100%;
  mask-image: linear-gradient(to bottom, black calc(100% - min(16svh, 140px)), transparent);
}
.tour-anchors { position: absolute; left: 0; top: 0; }
.tour-anchors span { display: block; height: 0; }
.tour-stage {
  width: 100%; min-height: calc(100svh - var(--header-height));
  display: grid; place-items: center; padding: clamp(20px,4vh,52px) var(--gutter);
}
.pilot-landing #top #feature-tour {
  width: min(100%, max(480px, calc((100svh - var(--header-height) - 5rem) * 2.9))); max-width: none; margin: 0 auto;
  grid-template-columns: minmax(0,.71fr) minmax(0,1.65fr);
  grid-template-rows: auto auto auto; grid-auto-flow: row;
  column-gap: clamp(28px,4vw,84px); row-gap: 18px;
  align-content: center; align-items: start;
}
.pilot-landing #feature-tour .tour-header { grid-area: 1 / 1; align-self: end; }
.pilot-landing #feature-tour .tour-header > p { margin-bottom: .9rem; }
.pilot-landing #feature-tour .tour-header #feature-morph-title {
  width: 100%; max-width: none; margin: 0; line-height: 1.04; text-wrap: balance;
  font-size: clamp(42px,min(4.4vw,8.6svh),118px); letter-spacing: -.052em;
}
#feature-tour #feature-morph-title { grid-template-columns: minmax(0,1fr); }
#feature-tour #feature-morph-title .tour-layer { color: var(--ink); white-space: normal; min-width: 0; text-wrap: balance; }
.pilot-landing #feature-tour .device-pair { grid-area: 1 / 2 / 4 / 3; width: 100%; align-self: center; }
.pilot-landing #feature-tour .device-labels { grid-area: 4 / 2; }
.pilot-landing #feature-tour .study-record { grid-area: 2 / 1; align-self: start; }
.pilot-landing #feature-tour .feature-morph-caption { grid-area: 3 / 1; align-self: start; }
.pilot-landing #feature-tour .tour-reading { line-height: 1.32; }
.pilot-landing #feature-tour .device-input strong { margin-inline-end: .25em; }
.study-introduction {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(15rem, .7fr); align-items: end;
  gap: 24px clamp(32px, 8vw, 112px); padding-block: clamp(40px, 6vw, 86px);
  border-block-start: 1px solid var(--line); scroll-margin-top: var(--header-height);
}
.study-introduction .product-audience { color: #40536b; font-size: .88rem; font-weight: 650; }
.study-introduction #hero-heading { margin: .32em 0 .24em; font: 720 clamp(40px, 5vw, 76px)/1.05 'DM Sans',var(--font); letter-spacing: -.05em; }
.study-introduction #hero-heading em { display: inline-block; color: var(--blue); font: italic 700 1.06em/1 'Instrument Serif',Georgia,serif; font-synthesis: weight; }
.study-introduction .hero-description { max-width: 56ch; color: var(--muted); font: 450 clamp(16px,1.35vw,21px)/1.5 var(--font); }
.study-introduction .hero-actions { gap: 12px; margin-top: 22px; }
.study-intro-links { display: grid; border-top: 1px solid var(--line); }
.study-intro-links a { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: 14px 0; min-height: 44px; border-bottom: 1px solid var(--line); font-weight: 650; }
.study-intro-links a:hover { color: var(--blue); }
.study-intro-links a span { color: var(--blue); }
@media (max-width:800px) {
  .tour-stage { padding-inline: max(18px,4vw); }
  .pilot-landing #top #feature-tour { grid-template-columns: minmax(0,1fr); grid-template-rows: auto; width: min(100%,740px); row-gap: 10px; }
  .pilot-landing #top #feature-tour > :is(.tour-header,.device-pair,.device-labels,.study-record,.feature-morph-caption) { grid-area: auto; }
  .pilot-landing #feature-tour .tour-header #feature-morph-title { font-size: clamp(33px,6vw,50px); }
  .study-introduction { grid-template-columns: 1fr; }
  .study-introduction .hero-description { margin-top: 18px; }
}
@media (prefers-reduced-motion: no-preference) and (min-height:600px) {
  .pilot-landing #top.pilot-hero:has(#feature-tour[data-tour-running]) { padding-bottom: 32svh; }
  .pilot-landing #top:has(#feature-tour[data-tour-running]) .tour-stage { position: sticky; top: var(--header-height); }
  @supports (animation-timeline: scroll()) {
    .pilot-landing #top #feature-tour[data-tour-running] {
      animation: expand-use-case linear both; animation-timeline: scroll(root block); animation-range: 0 32svh;
    }
  }
  #feature-tour[data-view-pair][data-tour-running][data-study-phase="capture"] .secondary-action { animation: second-view-motion 4s ease-in-out infinite alternate; }

}
@media (max-height: 620px) and (min-width:801px) {
  .tour-stage { padding-block: 20px; }
  .pilot-landing #feature-tour .tour-header #feature-morph-title { font-size: clamp(36px,4vw,60px); }
}
@keyframes expand-use-case { from { scale: .985; } to { scale: 1; } }
@keyframes second-view-motion { to { transform: translate(-5px,-3px); } }


.tour-stage { grid-template-columns: minmax(0,1fr); }
#feature-tour > .tour-header, #feature-tour .tour-header h2, #feature-tour > .study-record, .study-introduction > * { min-width: 0; }

/* Keep the camera views and the receiving screen legible throughout the handoff. */
@media (prefers-reduced-motion: no-preference) {
  #feature-tour[data-tour-running] .feature-morph-art :is(.feature-morph-static,.feature-morph-live) { transition: width .85s cubic-bezier(.25,.65,.25,1); }
  #feature-tour[data-tour-running][data-study-phase="transfer"] .device-pair > .feature-morph-art {
    transition: left 1.1s cubic-bezier(.35,0,.2,1), width 1.1s cubic-bezier(.35,0,.2,1), top 1.1s cubic-bezier(.35,0,.2,1);
  }
  #feature-tour[data-tour-running] .other-camera-art { transition: opacity .45s ease; }
}

/* A phone sized drawing uses two rows, with one consistent position per device. */
@container (max-width: 480px) {
  #feature-tour[data-view-pair="angles"] .device-pair { aspect-ratio: 1.06; }
  #feature-tour[data-view-pair="angles"][data-filmed="true"] :is(.device-pair,.device-labels) {
    --phone-left: 3%; --phone-width: 24%; --screen-left: 34%; --screen-width: 62%;
  }
  #feature-tour[data-view-pair="angles"][data-filmed="true"] .phone-device { bottom: 51%; height: 48%; }
  #feature-tour[data-view-pair="angles"][data-filmed="true"] .phone-second { left: 38%; bottom: 51%; }
  #feature-tour[data-view-pair="angles"][data-filmed="true"] .phone-third { left: 73%; bottom: 51%; }
  #feature-tour[data-view-pair="angles"][data-filmed="true"] .study-device { height: 40%; bottom: 3%; }
  #feature-tour[data-view-pair="angles"] .device-pair > .feature-morph-art { top: 79%; }
  #feature-tour[data-view-pair="angles"][data-tour-running][data-study-phase="capture"] .device-pair > .feature-morph-art { top: 25%; }
  #feature-tour[data-view-pair="angles"][data-filmed="true"] .phone-view { font-size: clamp(9px,2.9cqw,12px); bottom: 12%; }
  #feature-tour[data-view-pair="angles"][data-filmed="true"] .device-labels > :first-child { width: 31%; left: 0; }
  #feature-tour[data-view-pair="angles"] .device-labels { min-height: 1.4em; }
}

@media (min-width:801px) and (max-width:1150px) and (min-height:680px) {
  .pilot-landing #top #feature-tour { width: 100%; grid-template-columns: minmax(0,1fr); row-gap: 9px; }
  .pilot-landing #top #feature-tour > :is(.tour-header,.device-pair,.device-labels,.study-record,.feature-morph-caption) { grid-area: auto; }
  .pilot-landing #feature-tour .tour-header #feature-morph-title { font-size: clamp(36px,4.8vw,54px); }
  .pilot-landing #feature-tour .device-pair { width: min(100%,calc((100svh - var(--header-height)) * 1.22)); justify-self: center; aspect-ratio: 2.65; }
  .pilot-landing #feature-tour .device-labels { width: min(100%,calc((100svh - var(--header-height)) * 1.22)); justify-self: center; }
}
@media (max-height:640px) and (min-width:801px) {
  .tour-stage { padding-block: 12px; }
  .pilot-landing #top #feature-tour { width: min(100%, max(480px, calc((100svh - var(--header-height) - 3.5rem) * 3.1))); row-gap: 8px; }
  .pilot-landing #feature-tour .device-pair { aspect-ratio: 2.35; }
}
.study-question-label {
  display: block; margin-bottom: .68em; color: #354960;
  font: 680 clamp(13px,1.1vw,19px)/1.2 var(--font); letter-spacing: normal;
}
.device-input .receipt-copy { visibility: hidden; }
#feature-tour[data-tour-running][data-study-phase="capture"] .feature-morph-art :is(.feature-morph-static,.feature-morph-live) { width: 119%; }
@container (min-width: 481px) {
  #feature-tour[data-view-pair="angles"]:not([data-study-phase="capture"]) :is(.device-pair,.device-labels) {
    --phone-width: 11.75%; --screen-left: 44%; --screen-width: 53%;
  }
  #feature-tour[data-view-pair="angles"]:not([data-study-phase="capture"]) .phone-device { height: 48%; }
  #feature-tour[data-view-pair="angles"]:not([data-study-phase="capture"]) .phone-second { left: 15.5%; }
  #feature-tour[data-view-pair="angles"]:not([data-study-phase="capture"]) .phone-third { left: 30%; }
  #feature-tour[data-view-pair="angles"]:not([data-study-phase="capture"]) .study-device { height: 76%; }
  #feature-tour[data-view-pair="angles"]:not([data-study-phase="capture"]) .device-pair > .feature-morph-art { top: 56%; }
  #feature-tour[data-view-pair="angles"]:not([data-study-phase="capture"]) .device-labels > :first-child { width: 42%; }
}

/* Each phase gives the device doing the work the available space. */
#feature-tour[data-filmed="true"][data-tour-running][data-study-phase="capture"] .device-pair {
  --camera-width: 25%; --camera-height: 88%; --phone-left: 37.5%;
}
#feature-tour[data-view-pair="stations"][data-tour-running][data-study-phase="capture"] .device-pair {
  --camera-width: 24%; --camera-height: 85%; --phone-left: 22%; --camera-two: 54%;
}
#feature-tour[data-view-pair="angles"][data-tour-running][data-study-phase="capture"] .device-pair {
  --camera-width: 23%; --camera-height: 82%; --phone-left: 10.5%; --camera-two: 38.5%; --camera-three: 66.5%;
}
#feature-tour[data-filmed="true"][data-tour-running][data-study-phase="capture"] .phone-device {
  width: var(--camera-width); height: var(--camera-height); bottom: calc((100% - var(--camera-height)) / 2);
}
#feature-tour[data-filmed="true"][data-tour-running][data-study-phase="capture"] .phone-main { left: var(--phone-left); }
#feature-tour[data-filmed="true"][data-tour-running][data-study-phase="capture"] .phone-second { left: var(--camera-two); }
#feature-tour[data-filmed="true"][data-tour-running][data-study-phase="capture"] .phone-third { left: var(--camera-three); }
#feature-tour[data-filmed="true"][data-tour-running][data-study-phase="capture"] .device-pair > .feature-morph-art {
  left: calc(var(--phone-left) + 1%); width: calc(var(--camera-width) - 2%); top: 51%; aspect-ratio: 49 / 35;
}
#feature-tour[data-filmed="true"][data-tour-running][data-study-phase="capture"] :is(.study-device,.device-labels > :last-child) {
  opacity: 0; visibility: hidden;
}
#feature-tour[data-filmed="true"][data-tour-running][data-study-phase="capture"] .device-labels > :first-child {
  left: 0; width: 100%; text-align: center;
}
#feature-tour[data-filmed="true"][data-tour-running]:is([data-study-phase="transfer"],[data-study-phase="received"]) .phone-device {
  visibility: hidden; opacity: 0; transition: none;
}
#feature-tour[data-filmed="true"][data-tour-running]:is([data-study-phase="transfer"],[data-study-phase="received"]) .device-pair > .feature-morph-art {
  opacity: 0;
}
#feature-tour[data-filmed="true"]:is([data-study-phase="review"],[data-study-phase="result"],:not([data-tour-running])) :is(.device-pair,.device-labels),
#feature-tour[data-filmed="false"] :is(.device-pair,.device-labels) {
  --screen-left: 5%; --screen-width: 90%;
}
#feature-tour[data-filmed="true"]:is([data-study-phase="review"],[data-study-phase="result"],:not([data-tour-running])) :is(.phone-device,.device-labels > :first-child) {
  opacity: 0; visibility: hidden;
}
#feature-tour:is([data-study-phase="transfer"],[data-study-phase="received"],[data-study-phase="review"],[data-study-phase="result"],:not([data-tour-running]),[data-filmed="false"]) .device-pair > .study-device {
  left: 5%; width: 90%; height: 89%; bottom: 5%;
}
#feature-tour:is([data-study-phase="review"],[data-study-phase="result"],:not([data-tour-running]),[data-filmed="false"]) .device-pair > .feature-morph-art {
  left: 8%; width: 84%; top: 55%;
}
#feature-tour:is([data-study-phase="review"],[data-study-phase="result"],:not([data-tour-running]),[data-filmed="false"]) .device-labels > :last-child {
  left: 0; width: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  #feature-tour[data-tour-running] .phone-device { transition: opacity .55s ease, visibility .55s, left .85s ease, bottom .85s ease, width .85s ease, height .85s ease; }
  #feature-tour[data-tour-running] .study-device { transition: opacity .55s ease, visibility .55s, left .9s ease, bottom .9s ease, width .9s ease, height .9s ease; }
  #feature-tour[data-tour-running] .device-pair > .feature-morph-art { transition: opacity .55s ease, left .9s ease, top .9s ease, width .9s ease; }
  #feature-tour[data-tour-running][data-study-phase="review"] .device-pair > .feature-morph-art { transition-delay: .18s, 0s, 0s, 0s; }
}
@container (max-width: 480px) {
  #feature-tour[data-filmed="true"] .device-pair { aspect-ratio: 1.38; }
  #feature-tour[data-filmed="true"][data-tour-running][data-study-phase="capture"] .device-pair {
    --camera-width: 40%; --camera-height: 93%; --phone-left: 30%;
  }
  #feature-tour[data-view-pair="stations"][data-tour-running][data-study-phase="capture"] .device-pair {
    --camera-width: 36%; --camera-height: 85%; --phone-left: 10%; --camera-two: 54%;
  }
  #feature-tour[data-view-pair="angles"][data-tour-running][data-study-phase="capture"] .device-pair {
    --camera-width: 30%; --camera-height: 73%; --phone-left: 1%; --camera-two: 35%; --camera-three: 69%;
  }
  #feature-tour:is([data-study-phase="transfer"],[data-study-phase="received"],[data-study-phase="review"],[data-study-phase="result"],:not([data-tour-running]),[data-filmed="false"]) .device-pair > .study-device {
    height: 77%; bottom: 11%;
  }
  #feature-tour:is([data-study-phase="review"],[data-study-phase="result"],:not([data-tour-running]),[data-filmed="false"]) .device-pair > .feature-morph-art { top: 53%; }
}
@media (max-width:480px) and (max-height:700px) {
  .tour-stage { padding-block: 8px; }
  .pilot-landing #top #feature-tour { row-gap: 6px; }
}

@media (min-width:801px) and (max-width:1150px) and (min-height:680px) {
  #feature-tour[data-view-pair="angles"][data-tour-running][data-study-phase="capture"] .device-pair {
    --camera-width: 19.5%; --camera-height: 87%; --phone-left: 16%; --camera-two: 40.25%; --camera-three: 64.5%;
  }
  #feature-tour:is([data-study-phase="review"],[data-study-phase="result"],:not([data-tour-running]),[data-filmed="false"]) .device-pair > .feature-morph-art {
    left: 17%; width: 66%; top: 55%;
  }
}
@media (max-height:640px) and (min-width:801px) {
  #feature-tour:is([data-study-phase="review"],[data-study-phase="result"],:not([data-tour-running]),[data-filmed="false"]) .device-pair > .feature-morph-art {
    left: 14%; width: 72%; top: 55%;
  }
}

.study-plan, .laptop-upload {
  position: absolute; inset: 0; margin: auto; display: grid; place-content: center;
  visibility: hidden; opacity: 0; pointer-events: none;
}
.study-plan { justify-items: start; width: min(92%, 36rem); gap: .65rem; }
.study-plan strong { color: var(--ink); font-size: clamp(1.35rem, 2.5vw, 2.9rem); line-height: 1.12; }
.study-plan > span { color: #40536b; font-size: clamp(1rem, 1.45vw, 1.45rem); line-height: 1.4; }
#feature-tour[data-study-phase="plan"] .study-plan,
#feature-tour:is([data-study-phase="transfer"],[data-study-phase="received"]) .laptop-upload { visibility: visible; opacity: 1; }
#feature-tour[data-tour-running][data-study-phase="plan"] .device-pair > :not(.study-plan),
#feature-tour[data-tour-running][data-study-phase="plan"] > :is(.device-labels,.study-record,.feature-morph-caption),
#feature-tour:is([data-study-phase="transfer"],[data-study-phase="received"]) .device-pair > .feature-morph-art,
#feature-tour[data-study-phase="received"] :is(.study-finding,.input-copy) { opacity: 0; visibility: hidden; }
#feature-tour[data-study-phase="received"] .receipt-copy { visibility: visible; }
.laptop-upload { justify-items: center; align-content: center; font: 600 clamp(9px,1.2cqw,16px)/1.2 var(--font); color: #334966; }
.laptop-upload .upload-complete, #feature-tour[data-study-phase="received"] .upload-active { visibility: hidden; }
#feature-tour[data-study-phase="received"] .upload-complete { visibility: visible; }
@media (prefers-reduced-motion: no-preference) {
  .study-plan, .laptop-upload { transition: opacity .48s ease, visibility .48s; }
}
/* Set the camera pose before the stage fades in so no laptop frame flashes over it. */
#feature-tour[data-tour-running]:is([data-study-phase="plan"],[data-study-phase="capture"]) .device-pair :is(.phone-device,.study-device,.feature-morph-art,.feature-morph-live,.feature-morph-static),
#feature-tour[data-tour-running][data-study-phase="capture"] .device-labels > span {
  transition: none;
}
@media (prefers-reduced-motion: no-preference) {
  #feature-tour[data-tour-running][data-study-phase="capture"] :is(.phone-device,.device-pair > .feature-morph-art),
  #feature-tour[data-tour-running][data-study-phase="transfer"] .study-device {
    animation: study-device-appears .38s ease-out both;
  }
}
@keyframes study-device-appears { from { opacity: 0; } to { opacity: 1; } }

/* The opening question and final answer share one full width reading position. */
#feature-tour .tour-bookend {
  position: absolute; inset: 0 0 auto; z-index: 2;
  height: min(100%, max(12rem, calc(100svh - var(--header-height) - 2rem)));
  display: grid; align-content: center; justify-items: center; gap: clamp(20px,3cqw,44px);
  padding: 0 clamp(2px,2cqw,36px); text-align: center;
  visibility: hidden; opacity: 0; pointer-events: none;
}
#feature-tour .tour-bookend > * { width: 100%; min-width: 0; }
#feature-tour .tour-bookend > :is(.bookend-current,.bookend-previous) {
  grid-area: 1 / 1; display: grid; grid-template-rows: auto 0fr; justify-items: center; align-self: center;
}
#feature-tour .bookend-question {
  display: grid; width: 100%; justify-items: center; gap: clamp(5px, .65cqw, 12px);
}
/* The generic hero keeps short headlines together. The demo also contains
   full study questions and settings that need to wrap on narrow devices. */
#feature-tour #feature-morph-title :is(.study-setting, [data-question-text]) { white-space: normal; }
#feature-tour .study-setting {
  display: block; color: #43556b; font: 550 clamp(14px, 1.51cqw, 26px)/1.35 var(--font); letter-spacing: 0;
}
#feature-tour .tour-header .study-setting { margin-bottom: .55em; }
#feature-tour .tour-bookend small {
  color: #354960; font: 680 clamp(12px, 1.08cqw, 20px)/1.25 var(--font); letter-spacing: 0;
}
#feature-tour .tour-bookend .bookend-question > div {
  width: 100%; margin: 0; text-wrap: balance; overflow-wrap: break-word;
}
#feature-tour .tour-bookend em { font-family: "Instrument Serif", Georgia, serif; font-weight: 700; color: var(--blue); font-synthesis: weight; }
#feature-tour .bookend-answer { width: min(100%, 70rem); min-height: 0; overflow: hidden; opacity: 0; }
#feature-tour .bookend-answer > div { padding-top: clamp(16px, 2.6cqw, 42px); }
.decision-pair { display: grid; min-width: 0; }
.decision-pair > span, .decision-pair small { display: block; }
.decision-pair small { margin-bottom: .35em; font: 680 clamp(11px, .91cqw, 17px)/1.2 var(--font); color: #47566b; }
.tour-bookend .decision-pair {
  grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(14px, 3cqw, 56px); text-align: left;
  color: #273545; font: 550 clamp(17px, min(2.34cqw,4.4svh), 44px)/1.2 var(--font);
  letter-spacing: -.025em;
}
.tour-bookend .decision-pair > span { border-top: 1px solid #9dacc1; padding-top: .55em; }
.tour-bookend .decision-next > span { color: var(--blue); font-weight: 700; }
.tour-reading .decision-pair { gap: .55em; }
.tour-reading .decision-pair small { margin-bottom: .12em; }
.tour-reading .decision-next > span { font-weight: 700; color: #2146a1; }
#feature-tour:is([data-study-phase="answer"],[data-study-phase="complete"]) .bookend-current,
#feature-tour .tour-bookend > .bookend-previous { grid-template-rows: auto 1fr; }
#feature-tour:is([data-ending="reveal"],[data-study-phase="complete"]) .bookend-answer,
#feature-tour .bookend-previous .bookend-answer { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  #feature-tour[data-ending="reveal"] .bookend-current .decision-original {
    opacity: clamp(0, calc(var(--decision-progress, 1) * 3.3), 1);
  }
  #feature-tour[data-ending="reveal"] .bookend-current .decision-next {
    opacity: clamp(0, calc((var(--decision-progress, 1) - .48) * 2.5), 1);
    transform: translateY(calc((1 - var(--decision-progress, 1)) * 5px));
  }
  #feature-tour[data-changeover] .bookend-current, #feature-tour[data-changeover] .bookend-current * { transition: none; }
}
@media (max-width: 650px) {
  .tour-bookend .decision-pair { grid-template-columns: 1fr; gap: .75em; }
}
#feature-tour .bookend-count { grid-row: 2; color: #526078; font: 600 clamp(12px,1cqw,16px)/1.4 var(--font); }
.pilot-landing #feature-tour:is([data-tour-running][data-study-phase="question"],[data-tour-running][data-study-phase="answer"]) > :is(.tour-header,.device-pair,.device-labels,.study-record,.feature-morph-caption) {
  opacity: 0; visibility: hidden; transition: none;
}
.pilot-landing #feature-tour:is([data-tour-running][data-study-phase="question"],[data-tour-running][data-study-phase="answer"]) > .tour-bookend {
  position: relative; grid-area: 1 / 1 / -1 / -1; align-self: stretch; height: auto;
  opacity: 1; visibility: visible;
}
/* The visible bookends repeat the semantic title and result for sighted readers. */
.pilot-landing #feature-tour:is([data-tour-running][data-study-phase="question"],[data-tour-running][data-study-phase="answer"]) > .tour-header,
.pilot-landing #feature-tour[data-tour-running][data-study-phase="answer"] > .feature-morph-caption {
  visibility: visible; opacity: 0;
}
@media (min-width:520px) and (max-width:950px) and (max-height:500px) {
  .tour-stage { padding: 8px max(16px,3vw); }
  .pilot-landing #top #feature-tour {
    width: 100%; grid-template-columns: minmax(0,.85fr) minmax(0,1.35fr); grid-template-rows: auto auto auto auto;
    column-gap: 18px; row-gap: 4px;
  }
  .pilot-landing #top #feature-tour > .tour-header { grid-area: 1 / 1; }
  .pilot-landing #top #feature-tour > .device-pair { grid-area: 1 / 2 / 4 / 3; aspect-ratio: 2; }
  .pilot-landing #top #feature-tour > .device-labels { grid-area: 4 / 2; }
  .pilot-landing #top #feature-tour > .study-record { grid-area: 2 / 1; }
  .pilot-landing #top #feature-tour > .feature-morph-caption { grid-area: 3 / 1; }
  .pilot-landing #feature-tour .tour-header #feature-morph-title { font-size: clamp(25px,4.2vw,32px); }
  .pilot-landing #feature-tour .tour-header > p { margin-bottom: 4px; }
}

/* Give the question a steady baseline and a softer reading weight. */
#feature-tour .tour-bookend .bookend-question > div,
.pilot-landing #feature-tour .tour-header #feature-morph-title {
  font-family: "DM Sans Medium",var(--font);
  font-style: normal;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.024em;
  color: #213044;
}
#feature-tour .tour-bookend .bookend-question > div {
  max-width: 39ch;
  font-size: clamp(28px,min(4.6cqw,8.1svh),86px);
}
#feature-tour:is([data-study-phase="answer"],[data-study-phase="complete"]) .tour-bookend .bookend-current .bookend-question > div,
#feature-tour .tour-bookend .bookend-previous .bookend-question > div {
  font-size: clamp(21px, min(2.75cqw, 5.2svh), 53px); max-width: 39ch;
}
#feature-tour .tour-bookend .bookend-question em,
.pilot-landing #feature-tour .tour-header #feature-morph-title em {
  color: #26384d;
  font: normal 700 1em/1.16 "DM Sans",var(--font);
  letter-spacing: inherit;
}
.pilot-landing #feature-tour .tour-header #feature-morph-title {
  font-size: clamp(31px,min(3.75vw,6.8svh),78px);
}
@media (max-width:800px) {
  .pilot-landing #feature-tour .tour-header #feature-morph-title { font-size: clamp(27px,5.1vw,43px); }
}
@media (max-height:500px) {
  .pilot-landing #feature-tour .tour-header #feature-morph-title { font-size: clamp(24px,4.5svh,29px); }
  #feature-tour .tour-bookend .bookend-question > div { font-size: clamp(26px,min(4.4cqw,8.1svh),42px); }
}


@media (prefers-reduced-motion: no-preference) {
  .pilot-landing #feature-tour[data-tour-running]:is([data-study-phase="question"],[data-study-phase="answer"]) > .tour-bookend {
    transition: opacity .38s ease-out;
  }
  #feature-tour[data-changeover][data-study-phase="question"] .bookend-previous {
    display: grid; animation: previous-study-out .48s ease-in-out both;
  }
  #feature-tour[data-changeover][data-study-phase="question"] .bookend-current {
    animation: next-study-in .48s ease-in-out both;
  }
}

#feature-tour .tour-bookend .bookend-previous { display: none; }
@keyframes previous-study-out { to { opacity: 0; translate: 0 -.15em; } }
@keyframes next-study-in { from { opacity: 0; translate: 0 .15em; } }

/* Dedicated recordings and worksheets follow their case when the tour is reordered. */
#feature-tour :is(.study-camera-art,.study-result-table) { visibility: hidden; opacity: 0; }
#feature-tour[data-tour-running]:is([data-study-phase="capture"],[data-study-phase="transfer"],[data-study-phase="received"]) .study-camera-art,
#feature-tour:is([data-study-phase="review"],[data-study-phase="result"],:not([data-tour-running])) .study-result-table {
  visibility: visible; opacity: 1;
}
#feature-tour[data-case="0"] .device-pair > .feature-morph-art,
#feature-tour[data-study-phase="capture"]:not([data-morph-camera]) .device-pair > .feature-morph-art,
#feature-tour[data-case="3"]:is([data-study-phase="review"],[data-study-phase="result"],:not([data-tour-running])) .device-pair > .feature-morph-art {
  visibility: hidden; opacity: 0;
}
#feature-tour .study-camera-art { position: absolute; left: 1%; top: 51%; width: 98%; height: 53%; transform: translateY(-50%); }
.study-result-table { position: absolute; inset: 22% 8% 8%; display: grid; align-content: center; gap: clamp(4px,1cqw,16px); color: #24374b; font-family: var(--font); }
.study-result-table > strong { font-size: clamp(12px,1.65cqw,30px); line-height: 1.12; }
.study-result-table table { width: 100%; border-collapse: collapse; font-size: clamp(10px,1.25cqw,23px); line-height: 1.2; font-variant-numeric: tabular-nums; }
.study-result-table :is(th,td) { border-bottom: 1px solid #ced7e4; padding: .27em .2em; text-align: right; }
.study-result-table th:first-child { text-align: left; font-weight: 600; }
.study-result-table tbody td:last-child { font-weight: 700; color: #244d91; }
.study-result-table > span { color: #4c5f76; font-size: clamp(10px,1.1cqw,19px); }
@media (prefers-reduced-motion:no-preference) {
  #feature-tour[data-tour-running] .study-result-table {
    transition: opacity .38s ease, visibility .38s;
  }
}
#feature-tour .tour-bookend em,
#feature-tour .tour-bookend .bookend-question em,
.pilot-landing #feature-tour .tour-header #feature-morph-title em {
  color: var(--blue); font: italic 700 1.07em/1.1 "Instrument Serif",Georgia,serif;
  font-synthesis: weight; letter-spacing: -.012em;
}

#feature-tour[data-case="1"] .device-pair > .feature-morph-art {visibility:hidden; opacity:0}
#feature-tour .walking-result { inset: 17% 5% 5%; display: flex; align-items: center; justify-content: center; }
#feature-tour .walking-result svg { display: block; width: 100%; height: 100%; }
.wire-observed-routes { opacity: 0; }
.walking-result [data-rack-layout] path { stroke-width: .85; opacity: .43; }
.walking-result [data-rack-layout] [data-wire-highlight] { opacity: 0; }
.walking-result[data-wire-replay="end"] [data-rack-layout="end"] [data-wire-highlight],
.walking-result[data-wire-replay="middle"] [data-rack-layout="middle"] [data-wire-highlight] {
  opacity: .96; stroke-width: 1.45;
}
@media (prefers-reduced-motion: no-preference) {
  #feature-tour[data-tour-running] .walking-result {
    --new-routes: clamp(0, calc((var(--review-progress, 1) - .76) / .07), 1);
  }
  #feature-tour[data-tour-running] .wire-observed-routes { opacity: var(--old-routes); }
  #feature-tour[data-tour-running] :is(.wire-proposed-routes, .wire-proposed-distance) { opacity: var(--new-routes); }
}
@media (max-width: 500px) {
  #feature-tour[data-tour-running]:is([data-study-phase="transfer"],[data-study-phase="received"]) .device-labels > span { visibility: hidden; }
}
.study-plan-title .study-plan-wordmark {display:inline-block; width:4.25em; height:auto; vertical-align:-.11em}
.study-plan-title > span {white-space:nowrap}
.tour-text-flight {position:absolute; inset:0; z-index:5; pointer-events:none}
.tour-text-flight > span {position:absolute; top:0; left:0; white-space:pre; transform-origin:0 0; font-synthesis:weight}
#feature-tour:is([data-text-flight="dock"],[data-text-flight="return"]) :is(.bookend-current,#feature-morph-title) [data-question-text] {visibility:hidden}
@media (prefers-reduced-motion:no-preference) {
  .pilot-landing #feature-tour[data-tour-running][data-study-phase="answer"] > :is(.device-pair,.study-record,.device-labels) {
    transition:opacity .62s ease, visibility 0s .62s;
  }
}
.tour-stage[data-finished] > #feature-tour { opacity: 0; pointer-events: none; grid-area: 1 / 1; }
/* Hold the last answer under the choices while the two layers exchange opacity. */
@media (prefers-reduced-motion: no-preference) {
  .tour-stage[data-finished] > #feature-tour { transition: opacity .42s ease-in-out; }
  .tour-stage[data-finished] > .tour-end-panel { animation: next-study-in .42s ease-in-out both; }
  #feature-tour[data-study-phase="complete"] > :not(.tour-bookend) { opacity: 0; visibility: hidden; }
  #feature-tour[data-study-phase="complete"] > .tour-bookend,
  #feature-tour[data-study-phase="complete"] .bookend-answer { opacity: 1; visibility: visible; }

}
.tour-end-panel { grid-area: 1 / 1; position: relative; align-self: center; justify-self: center; width: 100%; display: grid; justify-items: center; align-content: center; gap: clamp(18px,3.6svh,38px); text-align: center; }
.pilot-landing #top .tour-end-panel h2 { margin: 0; max-width: 21ch; color: var(--ink); font: 650 clamp(34px,min(6vw,8svh),88px)/1.12 var(--font); letter-spacing: -.045em; text-wrap: balance; }
.tour-end-panel h2 em { color: var(--blue); font: italic 700 1.08em/1.1 "Instrument Serif",Georgia,serif; }
.tour-end-actions,.tour-end-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; }
.tour-end-links { gap: clamp(18px,3vw,38px); }
.tour-end-links :is(button,a) { padding: 8px 2px; border: 0; background: transparent; color: #334c71; font: 600 .95rem/1.4 var(--font); text-decoration: underline; text-underline-offset: .22em; cursor: pointer; }
@media (max-width: 400px) {
  .tour-end-actions { flex-direction: column; align-items: stretch; width: min(100%,15rem); }
}

.study-result-table.study-evidence-result {
  inset: 19% 7% 6%;
  gap: clamp(3px, .75cqw, 12px);
  text-align: center;
  grid-template-rows: auto minmax(0, 1fr);
}
.study-evidence-result > svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  fill: currentColor;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.study-evidence-result .proof-small { font-size: 14px; }
.study-evidence-result :is(.proof-strong,.proof-teal-text) { font-weight: 700; }
.study-evidence-result .proof-rail { fill: #d7e2ed; }
.study-evidence-result circle.proof-rail { fill: none; stroke: #d7e2ed; }
.study-evidence-result .proof-blue { fill: #315aa3; }
.study-evidence-result .proof-teal { fill: #28726a; }
.study-evidence-result .proof-teal-text { fill: #27665c; }
.study-evidence-result .proof-amber { fill: #a86522; }
.study-evidence-result .proof-amber-stroke { stroke: #a86522; }
.study-evidence-result .proof-blue-stroke { stroke: #315aa3; }
.study-evidence-result .proof-teal-stroke { stroke: #28726a; }
.study-evidence-result .proof-ink-stroke { stroke: #475b72; }

/* Camera art belongs in the phones. Each laptop has its own measured worksheet. */
#feature-tour:is([data-study-phase="entry"],[data-study-phase="review"],[data-study-phase="result"],:not([data-tour-running])) .device-pair > .feature-morph-art {
  opacity: 0; visibility: hidden;
}
.study-intake {
  position: absolute;
  inset: 22% 8% 8%;
  display: grid;
  grid-template-columns: 44% minmax(0, 1fr);
  align-items: center;
  gap: clamp(6px, 1.2cqw, 20px);
  color: #24374b;
  opacity: 0;
  visibility: hidden;
}
.study-intake svg { display: block; width: 100%; height: 100%; max-height: 100%; min-height: 0; }
.study-intake strong, .study-intake span { display: block; line-height: 1.25; }
.study-intake strong { font-size: clamp(12px, 1.65cqw, 30px); }
.study-intake span + strong { margin-top: .65em; }
.study-intake span { margin-top: .35em; color: #4c5f76; font-size: clamp(10px, 1.2cqw, 20px); }
.study-intake[data-record-count="2"] strong { font-size: clamp(16px, 1.65cqw, 30px); }
.study-intake[data-record-count="2"] span { font-size: clamp(15px, 1.2cqw, 20px); }
@media (max-width: 700px) {
  .study-intake[data-record-count="2"] { inset: 17% 5% 5%; grid-template-columns: 35% minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  #feature-tour[data-tour-running] .study-intake { transition: opacity .38s ease, visibility .38s; }
  #feature-tour[data-tour-running][data-study-phase="entry"] .study-intake { visibility: visible; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  #feature-tour[data-study-phase="entry"] .study-result-table { visibility: visible; opacity: 1; }
}
#feature-tour .measurement-result { inset: 20% 7% 5%; align-content: center; }
#feature-tour .measurement-result > svg { display:block; width:100%; height:100%; max-height:100%; min-height:0; }
#feature-tour .measurement-result { grid-template-rows: minmax(0,1fr); }

@media (max-width: 500px) {
  #feature-tour[data-filmed="false"] .device-pair { aspect-ratio:1.35; }
  #feature-tour:is([data-study-phase="entry"],[data-study-phase="review"],[data-study-phase="result"],:not([data-tour-running])) .device-pair > .study-device {
    left:1.5%; width:97%; height:86%; bottom:7%;
  }
  #feature-tour .measurement-result { inset:18% 3.5% 4%; }
  #feature-tour .measurement-result svg { font-size:16px; }
  #feature-tour .dispatch-forecast { inset: 16% 2% 3%; }
  #feature-tour .dispatch-forecast text { font-size: 15px; }
}

/* Give each action one caption directly below its illustration. */
.pilot-landing #feature-tour #feature-morph-title [data-question-text] {
  display: block; min-width: 0; max-width: 100%; white-space: normal;
  color: inherit; overflow-wrap: break-word; text-wrap: balance;
}
#feature-tour[data-tour-running] .tour-header :is(.study-setting,.study-question-label,p) { display: none; }
#feature-tour[data-tour-running] > .feature-morph-caption {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); padding: 0;
}
#feature-tour:not([data-tour-running]) > .study-record { display: none; }
#feature-tour .watch-copy, #feature-tour .result-copy { visibility: hidden; }
#feature-tour[data-study-phase="review"] .watch-copy,
#feature-tour[data-study-phase="result"] .result-copy { visibility: visible; }
.pilot-landing #top #feature-tour[data-tour-running] {
  grid-template-areas: "prompt visual" "prompt caption";
  grid-template-rows: auto auto; row-gap: clamp(6px,1.3svh,16px);
}
.pilot-landing #top #feature-tour[data-tour-running] > .tour-header {
  grid-area: prompt; align-self: center;
}
.pilot-landing #top #feature-tour[data-tour-running] > .device-pair { grid-area: visual; }
.pilot-landing #top #feature-tour[data-tour-running] > .study-record {
  grid-area: caption; align-self: start; justify-self: center;
  width: min(100%,48rem); gap: .5rem; text-align: center; margin: 0;
}
.pilot-landing #feature-tour .device-input { font-size: clamp(15px,1.23vw,23px); line-height: 1.35; }
#feature-tour .device-input > span { min-height: 2.7em; text-wrap: balance; }
@media (max-width:800px), (min-width:801px) and (max-width:1150px) and (min-height:680px) {
  .pilot-landing #top #feature-tour[data-tour-running] { grid-template-areas: "prompt" "visual" "caption"; grid-template-rows: auto auto auto; }
  .pilot-landing #top #feature-tour[data-tour-running] > .tour-header { text-align: center; }
}
@media (min-width:520px) and (max-width:950px) and (max-height:500px) {
  .pilot-landing #top #feature-tour[data-tour-running] {
    grid-template-areas: "prompt visual" "prompt caption"; grid-template-rows: auto auto; row-gap: 4px;
  }
  .pilot-landing #top #feature-tour[data-tour-running] > .tour-header { text-align: left; }
  .pilot-landing #top #feature-tour[data-tour-running] > .device-pair {
    /* Leave vertical space for the caption and playback controls. */
    width: min(100%, max(12rem, calc((100svh - var(--header-height) - 8.75rem) * 2)));
    justify-self: center; aspect-ratio: 2;
  }
  #feature-tour .device-input > span { min-height: 1.4em; }
}

/* Reveal evidence in the same reserved space, keeping earlier measurements visible. */
@media (prefers-reduced-motion: no-preference) {
  #feature-tour[data-tour-running] .study-result-table [data-proof-step] { transition: opacity .45s ease; }
  #feature-tour[data-tour-running][data-evidence-step="1"] .study-result-table :is([data-proof-step="2"],[data-proof-step="3"]),
  #feature-tour[data-tour-running][data-evidence-step="2"] .study-result-table [data-proof-step="3"] { opacity: 0; }
  #feature-tour[data-tour-running] .departure-marks > g {
    opacity: clamp(0, calc((var(--review-progress,0) * 21) - var(--departure-index,0)), 1);
  }
  .departure-marks > :nth-child(2) { --departure-index: 1; }
  .departure-marks > :nth-child(3) { --departure-index: 2; }
  .departure-marks > :nth-child(4) { --departure-index: 3; }
  .departure-marks > :nth-child(5) { --departure-index: 4; }
  .departure-marks > :nth-child(6) { --departure-index: 5; }
  #feature-tour[data-tour-running] .forecast-pallets {
    clip-path: inset(0 calc(100% - clamp(0%, (var(--review-progress,0) - .67) * 500%, 100%)) 0 0) fill-box;
  }
  #feature-tour[data-tour-running] .seal-added {
    transform-box: fill-box; transform-origin: left; transition: transform .85s ease-out;
  }
  #feature-tour[data-tour-running]:is([data-evidence-step="1"],[data-evidence-step="2"]) .seal-added { transform: scaleX(0); }
}

/* The mark occupies x 8 through 92 in the 477.54 unit wordmark. */
.plan-brand { position: relative; display: inline-block; isolation: isolate; line-height: 1; }
.plan-brand > svg { position: relative; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  #feature-tour[data-tour-running][data-study-phase="plan"] .plan-brand::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    left: 10.47%; top: 50%; width: 1.6em; aspect-ratio: 1;
    border-radius: 50%; border: 1.5px solid #3d68ce;
    background: radial-gradient(circle, transparent 52%, #527eed28 68%, transparent 73%);
    opacity: 0; animation: plan-mark-wave 1.45s .3s cubic-bezier(.22,.65,.22,1) both;
  }
}
@keyframes plan-mark-wave {
  0% { opacity: 0; transform: translate(-50%,-50%) scale(.12); }
  16% { opacity: .72; }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(1.55); }
}

/* The transport follows the scene in its own row, outside the animated figure. */
.demo-playback { display: none; }
#top[data-react-hero] .demo-playback:not([hidden]) {
  display: grid; grid-template-columns: auto minmax(42px, 1fr) auto; align-items: center;
  justify-self: stretch; gap: clamp(8px, 1.7vw, 20px);
  color: #26384d;
}
#top[data-react-hero] .tour-stage:has(.demo-playback:not([hidden])) {
  grid-template-rows: minmax(auto, 1fr) auto auto;
  row-gap: clamp(2px, .55svh, 6px);
  padding-block-end: max(clamp(12px, 2svh, 24px), env(safe-area-inset-bottom, 0px));
}
@media (max-width:800px) and (max-height:599px), (max-width:950px) and (max-height:500px) {
  #top[data-react-hero] .tour-stage:has(.demo-playback:not([hidden])) {
    grid-template-rows: auto auto auto;
    align-content: center;
  }
}
.demo-scroll-cue { display: none; }
html:not([data-intro-pending]) #top[data-react-hero] .demo-scroll-cue:not([hidden]) {
  display: grid; place-items: center; justify-self: center; align-self: end;
  position: sticky; bottom: env(safe-area-inset-bottom, 0px); z-index: 3;
  width: 48px; height: 44px; border-radius: 50%; color: #54657b;
}
.demo-scroll-cue:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.demo-scroll-cue:hover { color: var(--blue); background: #e9eef8; }
@media (prefers-reduced-motion:no-preference) {
  .demo-scroll-cue svg { transition: transform .2s ease-out; }
  .demo-scroll-cue:hover svg, .demo-scroll-cue:focus-visible svg { transform: translateY(2px); }
}
.demo-playback-toggle {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid #7186aa; border-radius: 50%; color: #233b64; background: #fff; cursor: pointer;
}
.demo-playback-toggle svg { fill: currentColor; }
.demo-playback-toggle .playback-play,
.demo-playback-toggle[data-action="play"] .playback-pause { display: none; }
.demo-playback-toggle[data-action="play"] .playback-play { display: inline; }
.demo-playback-toggle:hover { color: var(--blue); border-color: currentColor; }
.demo-playback-toggle:focus-visible { outline: 3px solid #174aca; outline-offset: 3px; }
.demo-time-track { height: 5px; overflow: hidden; background: #cfd9e9; border-radius: 6px; }
.demo-time-track > i { display: block; height: 100%; background: #174aca; transform: scaleX(0); transform-origin: left; }
.demo-time-label { font: 650 .79rem/1.2 var(--font); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (forced-colors: active) {
  .demo-time-track { outline: 1px solid CanvasText; }
  .demo-time-track > i { background: Highlight; forced-color-adjust: none; }
}

/* An already paused scene must appear at the restored time on its first paint. */
#feature-tour[data-held-paint], #feature-tour[data-held-paint] * { transition: none !important; }

#feature-tour[data-restored-entrance="capture"][data-study-phase="capture"] :is(.phone-device,.device-pair > .feature-morph-art),
#feature-tour[data-restored-entrance="transfer"][data-study-phase="transfer"] .study-device { animation: none; }

/* Both decision columns use the same reading order as the evidence reveal. */
.tour-bookend .decision-pair > span { position: relative; }
.tour-bookend .decision-pair > span::before {
  content: ""; position: absolute; inset: -1px 0 auto; height: 2px;
  background: currentColor; transform-origin: left;
}
.tour-bookend .decision-original::before { color: #526681; }
.tour-bookend .decision-next::before { color: var(--blue); }
@media (prefers-reduced-motion: no-preference) {
  #feature-tour[data-ending="reveal"] .bookend-current .decision-original::before {
    transform: scaleX(clamp(0, calc(var(--decision-progress, 1) / .43), 1));
  }
  #feature-tour[data-ending="reveal"] .bookend-current .decision-next::before {
    transform: scaleX(clamp(0, calc((var(--decision-progress, 1) - .48) / .43), 1));
  }
}

/* The evidence and its conclusion share one cue timed by the demo clock. */
#feature-tour [data-finding-mark],
#feature-tour [data-finding-phrase] {
  text-decoration-line: underline;
  text-decoration-color: #365eb5;
  text-decoration-thickness: .075em;
  text-underline-offset: .15em;
}
@media (prefers-reduced-motion: no-preference) {
  #feature-tour[data-tour-running] [data-finding-mark],
  #feature-tour[data-tour-running] [data-finding-phrase] {
    text-decoration-color: rgba(54, 94, 181, var(--finding-ink, 0));
  }
}
@media (forced-colors: active) {
  #feature-tour [data-finding-mark], #feature-tour [data-finding-phrase] {
    text-decoration-color: currentColor;
  }
}
#feature-tour:is([data-study-phase="transfer"],[data-study-phase="received"]) .device-heading { visibility: hidden; }
#feature-tour .laptop-upload {
  --receipt-brand-height: clamp(10px, 1.5cqw, 20px);
  inset: 5% 5% 6%; width: auto; margin: 0; gap: 3px;
  grid-template: var(--receipt-brand-height) minmax(0,1fr) auto / minmax(0,1fr);
}
#feature-tour .laptop-upload .receipt-brand { grid-area: 1 / 1; display: block; width: calc(4.5 * var(--receipt-brand-height)); height: var(--receipt-brand-height); }
.laptop-upload :is(.upload-active,.upload-complete) { grid-area: 3 / 1; font-size: clamp(12px,1.6cqw,19px); text-align: center; }
.receipt-strip { display: flex; justify-content: center; align-items: stretch; gap: 2%; width: 100%; min-height: 0; grid-area: 2 / 1; }
.receipt-frame { flex: 0 1 31%; display: grid; grid-template-rows: minmax(0,1fr) auto; overflow: hidden; border-radius: .3em; background: #dce5ef; }
.receipt-frame svg { display: block; width: 100%; height: 100%; min-height: 0; stroke: #24364b; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.receipt-frame span { display: block; background: #334960; color: white; padding: .28em 0; font-size: .85em; white-space: nowrap; text-align: center; }
#feature-tour:is([data-received="1"],[data-received="2"],[data-received="3"]) .receipt-frame:first-child svg,
#feature-tour:is([data-received="2"],[data-received="3"]) .receipt-frame:nth-child(2) svg,
#feature-tour[data-received="3"] .receipt-frame:nth-child(3) svg { opacity: 1; }
#feature-tour[data-study-phase="received"] .receipt-frame span { background: #20594b; }
@media (prefers-reduced-motion: no-preference) {
  .receipt-frame svg { transition: opacity .26s ease-out; }
}

.demo-progress-caption { display: grid; gap: 4px; min-width: 0; }
.demo-sample-label { color: #465560; font-size: clamp(12px, .9vw, 15px); line-height: 1.2; }

@media (prefers-reduced-motion: no-preference) {
  #feature-tour[data-study-phase="review"][data-evidence-step] .measurement-result .worksheet-bar {
    transform-box: fill-box;
    transform-origin: left center;
    transition: transform .8s ease;
  }

  #feature-tour[data-study-phase="review"][data-evidence-step="1"] .measurement-result .worksheet-bar,
  #feature-tour[data-study-phase="review"][data-evidence-step="2"] .measurement-result [data-proof-step="3"] .worksheet-bar {
    transform: scaleX(0);
  }

  #feature-tour[data-study-phase="review"][data-evidence-step] .measurement-result .worksheet-trace {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset .9s ease;
  }

  #feature-tour[data-study-phase="review"][data-evidence-step="1"] .measurement-result .worksheet-trace,
  #feature-tour[data-study-phase="review"][data-evidence-step="2"] .measurement-result [data-proof-step="3"] .worksheet-trace {
    stroke-dashoffset: 1;
  }

  #feature-tour[data-study-phase="review"][data-evidence-step] .worksheet-share {
    transition: opacity .22s linear;
  }

  #feature-tour[data-study-phase="review"][data-evidence-step]:not([data-evidence-step="1"]) .worksheet-share.share-1 {
    transition-delay: .45s;
  }

  #feature-tour[data-study-phase="review"][data-evidence-step]:not([data-evidence-step="1"]) .worksheet-share.share-2 {
    transition-delay: .8s;
  }

  #feature-tour[data-study-phase="review"][data-evidence-step="1"] .worksheet-share {
    opacity: 0;
  }

  #feature-tour[data-study-phase="review"][data-evidence-step] .worksheet-bolt {
    transition: transform 1s .25s cubic-bezier(.25,.7,.25,1);
  }

  #feature-tour[data-study-phase="review"][data-evidence-step="1"] .worksheet-bolt {
    transform: translate(61px, -14px);
  }

  #feature-tour[data-study-phase="review"][data-evidence-step] .worksheet-stack {
    transform-box: fill-box;
    transform-origin: center bottom;
    transition: transform .55s ease;
  }

  #feature-tour[data-study-phase="review"][data-evidence-step="1"] .measurement-result [data-proof-step="2"] .worksheet-stack {
    transform: scaleY(0);
  }
}

.walking-result [data-wire-trip-group]:not([data-wire-complete], [data-wire-active]),
.walking-result [data-wire-trip-group]:not([data-wire-active]) [data-wire-highlight] {
  visibility: hidden;
}
.walking-result [data-wire-active] :is([data-wire-replay-out], [data-wire-replay-back]) {
  opacity: .15;
}
.walking-result [data-wire-total],
.walking-result [data-wire-count] {
  font-variant-numeric: tabular-nums;
}

.walking-result [data-wire-view="timings"],
.walking-result[data-wire-stage="timings"] [data-wire-view="routes"] {
  display: none;
}
.walking-result[data-wire-stage="timings"] [data-wire-view="timings"] {
  display: inline;
}
@media (prefers-reduced-motion: no-preference) {
  #feature-tour[data-tour-running] .walking-result {
    --old-routes: clamp(0, calc((.66 - var(--review-progress, 1)) / .04), 1);
  }
}

.study-result-table[data-carton-layout] { inset: 17% 5% 5%; }
.study-evidence-result[data-carton-layout] > svg {
  width: 100%;
  max-height: 100%;
  font-size: 13px;
}
[data-carton-layout] .carton-neighbor-label { font-size: 11px; fill: #59645f; }
[data-carton-layout] .carton-moving-bench { transform: translate(150px, 0); }
.carton-empty-bay, .carton-original-routes, .carton-observed-copy { opacity: 0; }
.carton-parcel { display: none; }
@media (prefers-reduced-motion: no-preference) {
  #feature-tour[data-tour-running] [data-carton-layout] {
    --layout-review: var(--review-progress, 1);
    --bench-depart: clamp(0, calc((var(--layout-review) - .58) / .04), 1);
    --bench-traverse: clamp(0, calc((var(--layout-review) - .62) / .07), 1);
    --bench-dock: clamp(0, calc((var(--layout-review) - .69) / .04), 1);
    --show-observed: clamp(0, calc((.62 - var(--layout-review)) / .04), 1);
    --show-proposed: clamp(0, calc((var(--layout-review) - .73) / .03), 1);
  }
  #feature-tour[data-tour-running] .carton-moving-bench {
    transform: translate(calc(150px * var(--bench-traverse)), calc(33px * (var(--bench-depart) - var(--bench-dock))));
  }
  #feature-tour[data-tour-running] .carton-empty-bay {
    opacity: clamp(0, calc((.73 - var(--layout-review)) / .04), 1);
  }
  #feature-tour[data-tour-running] .carton-original-routes { opacity: var(--show-observed); }
  #feature-tour[data-tour-running] .carton-observed-copy { opacity: var(--show-observed); }
  #feature-tour[data-tour-running] .carton-original-first {
    opacity: clamp(0, calc((var(--layout-review) - .18) / .02), 1);
  }
  #feature-tour[data-tour-running] .carton-original-found {
    opacity: min(var(--show-observed), clamp(0, calc((var(--layout-review) - .40) / .02), 1));
  }
  #feature-tour[data-tour-running] .carton-proposed-routes { opacity: var(--show-proposed); }
  #feature-tour[data-tour-running] .carton-proposed-copy {
    opacity: clamp(0, calc((var(--layout-review) - .93) / .05), 1);
  }
  #feature-tour[data-tour-running] .carton-leg-back { --leg-ink: clamp(0, calc(var(--layout-review) / .20), 1); }
  #feature-tour[data-tour-running] .carton-leg-forward { --leg-ink: clamp(0, calc((var(--layout-review) - .20) / .22), 1); }
  #feature-tour[data-tour-running] .carton-leg-new-first { --leg-ink: clamp(0, calc((var(--layout-review) - .73) / .10), 1); }
  #feature-tour[data-tour-running] .carton-leg-new-last { --leg-ink: clamp(0, calc((var(--layout-review) - .83) / .12), 1); }
  .carton-leg-back .carton-parcel { offset-path: url(#carton-route-back); }
  .carton-leg-forward .carton-parcel { offset-path: url(#carton-route-forward); }
  .carton-leg-new-first .carton-parcel { offset-path: url(#carton-route-new-first); }
  .carton-leg-new-last .carton-parcel { offset-path: url(#carton-route-new-last); }
  #feature-tour[data-tour-running] .carton-parcel {
    display: inline;
    offset-anchor: 0 0;
    offset-rotate: 0deg;
    offset-distance: calc(100% * var(--leg-ink));
    opacity: clamp(0, min(var(--leg-ink), 1 - var(--leg-ink)) * 16, 1);
  }
  #feature-tour[data-tour-running] .carton-leg > path:first-child { stroke-dashoffset: calc(1 - var(--leg-ink)); }
  #feature-tour[data-tour-running] .carton-leg > path:nth-child(2) { opacity: clamp(0, calc((var(--leg-ink) - .9) / .1), 1); }
}

.study-result-table.study-evidence-result[data-picking-route] { inset: 17% 4% 5%; }
.study-evidence-result[data-picking-route] > svg { font-size: 16px; }
[data-picking-route] .pick-bin-letter { font-size: 15px; font-weight: 750; fill: #263b4c; }
[data-picking-route] .pick-note, [data-picking-route] .pick-evidence { font-size: 13px; }
[data-picking-route] .pick-time, [data-picking-route] .pick-note { font-weight: 700; }
[data-picking-route] .pick-time { fill: #204d84; }
.pick-leg { stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke: #285b98; }
.pick-return { stroke: #895024; }
.pick-next { stroke: #266656; }
@media (prefers-reduced-motion: no-preference) {
  #feature-tour[data-tour-running] [data-picking-route] {
    --pick-review: var(--review-progress, 1);
    --pick-out: clamp(0, calc(var(--pick-review) / .22), 1);
    --pick-back: clamp(0, calc((var(--pick-review) - .23) / .19), 1);
    --pick-next: clamp(0, calc((var(--pick-review) - .46) / .22), 1);
    --pick-time: clamp(0, calc((var(--pick-review) - .71) / .10), 1);
  }
  #feature-tour[data-tour-running] .pick-out { --draw: var(--pick-out); }
  #feature-tour[data-tour-running] .pick-return { --draw: var(--pick-back); }
  #feature-tour[data-tour-running] .pick-next { --draw: var(--pick-next); }
  #feature-tour[data-tour-running] .pick-line { stroke-dashoffset: calc(1 - var(--draw)); }
  #feature-tour[data-tour-running] .pick-arrow { opacity: clamp(0, calc((var(--draw) - .84) / .16), 1); }
  #feature-tour[data-tour-running] .pick-pass { opacity: var(--pick-out); }
  #feature-tour[data-tour-running] .pick-back { opacity: var(--pick-back); }
  #feature-tour[data-tour-running] .pick-time, #feature-tour[data-tour-running] .pick-evidence { opacity: var(--pick-time); }
}

/* These recordings are two separate runs of one pick list. Each gets the full frame. */
#feature-tour[data-case="10"][data-tour-running][data-study-phase="capture"] .device-pair {
  --camera-width: 94%; --camera-height: 94%; --phone-left: 3%; --camera-two: 3%;
  --switch-run: clamp(0, calc((var(--capture-progress, 0) - .52) / .05), 1);
}
#feature-tour[data-case="10"][data-tour-running][data-study-phase="capture"] .phone-device { animation: none; }
#feature-tour[data-case="10"][data-tour-running][data-study-phase="capture"] .phone-main { opacity: calc(1 - var(--switch-run)); }
#feature-tour[data-case="10"][data-tour-running][data-study-phase="capture"] .phone-second { opacity: var(--switch-run); }
#feature-tour[data-case="10"][data-study-phase="capture"] .portal-controls {
  inset: 4% 6% 5%; gap: 2%;
  grid-template: auto minmax(0, 1fr) auto / minmax(0, 1fr) auto;
}
#feature-tour[data-case="10"][data-study-phase="capture"] .portal-camera {
  top: 42%; left: 2.5%; width: 4px; height: 15%; translate: -50% 0;
}
#feature-tour[data-case="10"][data-study-phase="capture"] .portal-brand { justify-self: start; }
#feature-tour[data-case="10"][data-study-phase="capture"] .portal-brand > span { display: none; }
#feature-tour[data-case="10"][data-study-phase="capture"] .portal-viewport {
  grid-column: 1 / -1; align-self: stretch; height: 100%; aspect-ratio: auto;
}
#feature-tour[data-case="10"][data-study-phase="capture"] .portal-footer {
  grid-column: 1 / -1; display: flex; justify-content: space-between; gap: .6em;
  min-height: 1.2em; line-height: 1.15;
}
#feature-tour[data-case="10"][data-study-phase="capture"] .portal-stop { display: none; }
#feature-tour[data-case="10"][data-study-phase="capture"] .picking-cue { color: #2c544c; }
#feature-tour[data-case="10"][data-study-phase="capture"] .phone-home { width: 15%; bottom: 1.4%; height: 2px; }

#feature-tour .portal-recorder {
  container: recorder / inline-size;
  display: grid;
  position: absolute;
  border: clamp(2px,.24vw,4px) solid #435569;
  border-radius: clamp(10px,1.6vw,22px);
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px #dee6ef, 1px 3px 0 #aebdcb;
  isolation: isolate;
}

#feature-tour .portal-camera {
  position: absolute;
  top: 3.5%;
  left: 50%;
  width: clamp(9px,20cqw,30px);
  height: clamp(3px,3cqw,5px);
  translate: -50%;
  border-radius: 20px;
  background: #030c15;
  box-shadow: inset -3px 0 0 #385167;
}

#feature-tour .portal-recorder .phone-home {
  bottom: 3%;
  background: #506378;
}

#feature-tour .portal-controls {
  position: absolute;
  inset: 9% 6% 7%;
  display: grid;
  grid-template-rows: auto auto minmax(0,1fr) auto;
  gap: clamp(2px,3cqw,7px);
  color: #182b40;
  visibility: hidden;
  opacity: 0;
}

#feature-tour[data-tour-running][data-study-phase="capture"] .portal-controls {
  visibility: visible;
  opacity: 1;
}

#feature-tour .portal-brand {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: clamp(2px,3cqw,7px);
  font-size: clamp(10px,11cqw,13px);
  font-weight: 600;
  line-height: 1;
  color: #293e54;
}

#feature-tour .portal-brand > .tb-vector {
  display: block;
  width: min(100%,98px);
  height: auto;
}

#feature-tour .portal-timing {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: clamp(2px,3cqw,8px);
  padding: .3em .4em;
  border-radius: 4px;
  background: #fceced;
  color: #922638;
  font: 700 clamp(10px,13cqw,16px)/1 var(--font);
  font-variant-numeric: tabular-nums;
}

#feature-tour .portal-rec-dot {
  width: clamp(4px,6cqw,8px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #c12f42;
}

#feature-tour .portal-elapsed { justify-self: end; color: #762235; }
#feature-tour .portal-clip-end, #feature-tour .portal-recorder[data-recorder-ended] :is(.portal-rec-text,.portal-rec-dot) { display: none; }
#feature-tour .portal-recorder[data-recorder-ended] .portal-clip-end { display: inline; }
#feature-tour .portal-recorder[data-recorder-ended] .portal-timing {
  background: #e6edf2; color: #293e54;
  grid-template-columns: auto 1fr;
}

#feature-tour .portal-viewport {
  position: relative;
  align-self: center;
  width: 100%;
  aspect-ratio: 120 / 76;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 5px;
  background: #dbe4e4;
  box-shadow: inset 0 0 0 1px #a9bbc4;
}

#feature-tour .portal-viewport:has(> .study-camera-art[viewBox="0 0 100 80"]) {
  aspect-ratio: 100 / 80;
}

#feature-tour .portal-viewport > .study-camera-art {
  position: absolute;
  inset: 0;
  transform: none;
  width: 100%;
  height: 100%;
  max-height: 100%;
}

#feature-tour .portal-footer {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: .25em;
  min-height: 1.7em;
  font: 650 clamp(10px,12cqw,14px)/1.1 var(--font);
  color: #263a4e;
}

#feature-tour .portal-stop {
  display: grid;
  place-items: center;
  width: clamp(16px,21cqw,31px);
  aspect-ratio: 1;
  border: 1px solid #8b5a61;
  border-radius: 50%;
}

#feature-tour .portal-stop::before {
  content: "";
  width: 50%;
  aspect-ratio: 1;
  border-radius: 2px;
  background: #c12f42;
}

#feature-tour .portal-recorder[data-recorder-ended] .portal-stop { visibility: hidden; }

@container recorder (max-width: 68px) {
  #feature-tour .portal-brand { grid-template-columns: minmax(0,1fr); justify-items: center; }
  #feature-tour .portal-brand > .tb-vector { width: min(100%,50px); }
  #feature-tour .portal-brand > span { display: none; }
  #feature-tour .portal-timing { padding-inline: 2px; gap: 2px; }
  #feature-tour .portal-footer { grid-template-columns: minmax(0,1fr); justify-items: center; text-align: center; }
  #feature-tour .portal-stop { width: 14px; grid-row: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  #feature-tour .portal-controls { transition: opacity .2s ease; }
}

@font-face {
  font-family: "Opening Serif Fallback";
  src: local("Times New Roman Bold Italic"), local("TimesNewRomanPS-BoldItalicMT");
  font-style: italic;
  font-weight: 700;
  size-adjust: 81%;
}

html[data-opening-gutter] { scrollbar-gutter: stable; }
html[data-opening-locked] { overflow: hidden; overscroll-behavior: none; }
html[data-opening-locked] .study-introduction { touch-action: pinch-zoom; }
.landing-sequence { position: relative; overflow-anchor: none; }
.study-introduction .opening-choices, .study-introduction .opening-note { display: none; }
.landing-sequence[data-opening] .opening-note { display: block; margin: .75rem auto 0; color: #293b47; font-size: clamp(13px, .95vw, 18px); line-height: 1.45; }
.landing-sequence[data-opening] :is(.study-followup, .study-intro-links) { display: none; }
.landing-sequence[data-opening] > .study-introduction {
  box-sizing: border-box; width: 100%; max-width: none; margin: 0; border: 0;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: center;
  justify-items: center; padding: clamp(24px, 4.5svh, 64px) max(16px, 4vw);
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--ink); background: var(--paper); text-align: center;
}
.landing-sequence[data-opening] > .study-introduction::before {
  content: ""; position: absolute; inset: -4%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(188, 182, 241, .64), transparent 55%),
    radial-gradient(ellipse at 12% 49%, rgba(190, 211, 249, .53), transparent 47%),
    radial-gradient(ellipse at 66% 100%, rgba(245, 211, 147, .55), transparent 52%);
}
.landing-sequence[data-opening] > .study-introduction::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("assets/opening-handoff.jpg") center 58% / cover no-repeat;
  opacity: .42;
  --opening-art-mask: radial-gradient(ellipse 65% 78% at 50% 47%, rgba(0,0,0,.08) 23%, rgba(0,0,0,.32) 58%, #000 100%);
  -webkit-mask-image: var(--opening-art-mask);
  mask-image: var(--opening-art-mask);
}
@media (max-aspect-ratio: 1/1) {
  .landing-sequence[data-opening] > .study-introduction::after {
    inset: auto 0 0; height: 61vw; max-height: 58%; opacity: .39;
    --opening-art-mask: linear-gradient(to bottom, transparent, rgba(0,0,0,.18) 28%, #000 90%);
  }
}
@supports not ((mask-image: linear-gradient(black, transparent)) or (-webkit-mask-image: linear-gradient(black, transparent))) {
  .landing-sequence[data-opening] > .study-introduction::after { opacity: .14; }
}
.landing-sequence[data-opening] #hero-heading {
  margin: 0; max-width: none; font-size: clamp(33px, min(7.9vw, 12svh), 160px);
  line-height: 1.03; font-weight: 700; letter-spacing: -.065em;
}
.landing-sequence[data-opening] #hero-heading em {
  display: block; color: var(--blue); font: italic 700 1.18em/.99 "Instrument Serif", "Opening Serif Fallback", Georgia, serif;
  font-synthesis: weight; letter-spacing: -.045em;
}
.landing-sequence[data-opening] .product-audience {
  margin: clamp(18px, 3svh, 40px) auto 0; color: var(--ink);
  font-size: clamp(16px, 1.45vw, 29px); line-height: 1.32; letter-spacing: -.025em; text-wrap: balance;
}
.landing-sequence[data-opening] .hero-description {
  margin: .5em auto 0; max-width: 47.5em; color: #465560; font-size: clamp(15px, 1.22vw, 25px);
  line-height: 1.45; letter-spacing: -.012em; text-wrap: pretty;
}
.landing-sequence[data-opening] .opening-choices {
  display: flex; justify-content: center; align-items: center; gap: 10px;
  margin-top: clamp(20px, 3.8svh, 48px);
}
.opening-choices .button {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 46px; width: auto; padding: .8em 1.25em; font-size: clamp(14px, 1.1vw, 21px);
}
.opening-play svg { width: .68em; height: .8em; }
.opening-choices .opening-browse {
  border: 1px solid #8799a5; color: var(--ink); background: rgba(252,252,250,.92);
}
.opening-choices .opening-browse:hover { border-color: var(--ink); background: #fff; }
.opening-choices .button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .study-introduction .hero-description::highlight(taktbook-opening-untyped) { color: transparent; }
  html[data-opening-staged]:not([data-opening-immediate]) .landing-sequence[data-opening="intro"] .opening-beat {
    animation: opening-reveal 700ms cubic-bezier(.22,.68,.2,1) var(--beat-delay) backwards;
  }
  .landing-sequence[data-opening="intro"] > .study-introduction::before {
    animation: opening-wash-settle 7s cubic-bezier(.24,.67,.27,1) both;
  }
  @keyframes opening-wash-settle {
    from { transform: translate(-1.5%, 1.2%) scale(1.035); }
    to { transform: none; }
  }
  #hero-heading em { --beat-delay: 950ms; }
  .study-introduction .product-audience { --beat-delay: 2000ms; }
  html:not([data-opening-immediate]) .landing-sequence[data-opening="intro"] .study-intro-copy:focus-within .opening-beat { animation: none; }
  @keyframes opening-reveal {
    from { opacity: 0; transform: translateY(7px); pointer-events: none; }
    to { opacity: 1; transform: translateY(0); pointer-events: auto; }
  }
}
@media (forced-colors: active) {
  .landing-sequence[data-opening] > .study-introduction::before { background: none; }
  .landing-sequence[data-opening] > .study-introduction::after { content: none; }
}
@media (max-width: 640px) {
  .landing-sequence[data-opening] #hero-heading { font-size: clamp(32px, 9.2vw, 57px); }
  .landing-sequence[data-opening] .hero-description { max-width: 40ch; }
  .opening-choices .button { padding-inline: .85em; }
}
@media (max-width: 410px) {
  .landing-sequence[data-opening] .opening-choices { flex-direction: column; gap: 8px; }
  .opening-choices .button { width: min(100%, 21rem); }
}
@media (max-height: 510px) {
  .landing-sequence[data-opening] > .study-introduction { padding-block: 10px; }
  .landing-sequence[data-opening] #hero-heading { font-size: clamp(29px, 8svh, 40px); }
  .landing-sequence[data-opening] .product-audience, .landing-sequence[data-opening] .opening-choices { margin-top: 10px; }
}
html[data-intro-pending] .landing-sequence[data-opening] :is(#work-study-example, #examples, #workflows) {
  scroll-margin-top: -24px;
}
.landing-sequence[data-opening] #top:target { scroll-margin-top: 100vh; scroll-margin-top: 100svh; }
@media (scripting: enabled) and (max-width: 1200px) {
  html:not(.js-ready) .pilot-landing header.site-header {
    position: sticky; min-height: var(--header-height); height: var(--header-height);
    flex-direction: row; align-items: center; padding-block: 0;
  }
  html:not(.js-ready) .pilot-landing .site-header .menu-toggle { display: flex; align-items: center; gap: 10px; }
  html:not(.js-ready) .pilot-landing .site-header #main-nav { display: none; }
}
.landing-sequence[data-opening="entering"] > .public-hero-root {
  display: block; position: absolute; inset: 0 0 auto; z-index: 2;
  min-height: var(--opening-height); background: var(--paper);
}
@media (prefers-reduced-motion: no-preference) {
  .landing-sequence[data-opening="entering"] > .public-hero-root {
    animation: opening-study-aperture 820ms cubic-bezier(.42,.04,.25,1) both;
  }
  .landing-sequence[data-opening="entering"] #top {
    animation: opening-study-settle 820ms cubic-bezier(.42,.04,.25,1) both;
  }
  @keyframes opening-study-aperture {
    from {
      -webkit-clip-path: circle(0px at var(--opening-x) var(--opening-y));
      clip-path: circle(0px at var(--opening-x) var(--opening-y));
    }
    to {
      -webkit-clip-path: circle(var(--opening-radius) at var(--opening-x) var(--opening-y));
      clip-path: circle(var(--opening-radius) at var(--opening-x) var(--opening-y));
    }
  }
  @keyframes opening-study-settle { from { transform: translateY(8px); } to { transform: translateY(0); } }
}
/* Keep the exact first question on screen during early clicks on a slow connection. */
.landing-sequence[data-study-handoff]:not([data-live-study]) #feature-tour > :not(.tour-bookend) { visibility: hidden; opacity: 0; }
.landing-sequence[data-study-handoff]:not([data-live-study]) #feature-tour > .tour-bookend { visibility: visible; opacity: 1; }
