/* The public site. Same language as the report: black, white, one cold colour, one typeface.
   The page is treated as a measuring instrument. The navigation is a ruler, the figure is a scan,
   and the cold colour only marks what the visitor can move or aim for. */

:root {
  --bg: #000;
  --fg: #fff;
  --mid: #a6a6a6;
  --low: #777;
  --line: rgba(255, 255, 255, .17);
  --tick: rgba(255, 255, 255, .46);
  --ice: #84ceff;
  /* the rating scale the report uses: amber is what there is to build, blue is what is built */
  --t1: #ffb84d; --t2: #bf7f36; --t3: #777774; --t4: #3f93cc; --t5: #84ceff;
  --font: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --pad: 22px;
  --rail: 22px;            /* width kept clear on the right for the ruler */
  --ticks:
    repeating-linear-gradient(to right, var(--tick) 0 1px, transparent 1px 40px) left top / 100% 14px no-repeat,
    repeating-linear-gradient(to right, var(--line) 0 1px, transparent 1px 8px) left top / 100% 6px no-repeat;
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 0; }
body {
  background: var(--bg); color: var(--fg);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3 { font-weight: inherit; font-size: inherit; }
button { font: inherit; color: inherit; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
img { max-width: 100%; }
::selection { background: var(--ice); color: #000; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 4px; }

/* A fine grain over everything, so the black has a surface. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip { position: fixed; left: 12px; top: -60px; z-index: 90; padding: 10px 14px; background: var(--fg); color: var(--bg); }
.skip:focus { top: 12px; }

/* ---------- shared type ---------- */
.big { font-weight: 300; font-size: clamp(33px, 4.7vw, 78px); line-height: 1.02; letter-spacing: -.032em; text-wrap: balance; }
.body { font-size: clamp(17px, 1.32vw, 21px); line-height: 1.5; color: var(--mid); max-width: 27em; margin-top: 22px; text-wrap: pretty; }
.note { font-size: 14.5px; line-height: 1.55; color: var(--mid); max-width: 33em; margin-top: 18px; }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.btn { display: inline-block; padding: 18px 30px 19px; background: var(--fg); color: var(--bg); font-weight: 500; font-size: 17px; line-height: 1; transition: background-color .18s; }
.btn:hover { background: var(--ice); }
.link { padding-bottom: 3px; background: linear-gradient(var(--fg), var(--fg)) left bottom / 0 1px no-repeat, linear-gradient(var(--low), var(--low)) left bottom / 100% 1px no-repeat; transition: background-size .32s cubic-bezier(.2, .7, .1, 1); }
.link:hover, .link:focus-visible { background-size: 100% 1px, 100% 1px; }
.pm { position: relative; flex: none; width: 14px; height: 14px; align-self: center; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: var(--mid); transition: transform .2s; }
.pm::after { transform: rotate(90deg); }
details[open] > summary .pm::after { transform: none; }

/* ---------- top and the ruler navigation ---------- */
.top { position: fixed; left: 0; right: 0; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 calc(var(--pad) + var(--rail)) 0 var(--pad); pointer-events: none; mix-blend-mode: difference; }
.top > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 500; font-size: 19px; letter-spacing: .01em; }
.brand-mark {                                            /* the logo: five slices, shoulders to waist */
  flex: none; width: 20px; height: 18px;
  background:
    linear-gradient(var(--fg), var(--fg)) 50% 0% / 100% 2px no-repeat,
    linear-gradient(var(--fg), var(--fg)) 50% 25% / 90.62% 2px no-repeat,
    linear-gradient(var(--fg), var(--fg)) 50% 50% / 81.25% 2px no-repeat,
    linear-gradient(var(--fg), var(--fg)) 50% 75% / 71.88% 2px no-repeat,
    linear-gradient(var(--fg), var(--fg)) 50% 100% / 62.5% 2px no-repeat;
}
.top-tools { display: flex; align-items: center; gap: 28px; }
.top-cta { display: none; }
.menu-btn { border: 0; background: none; padding: 10px 0; font-size: 16px; cursor: pointer; }
.sound-btn { border: 0; background: none; padding: 10px 0; font-size: 14.5px; color: var(--mid); cursor: pointer; }
.sound-btn:hover, .sound-btn[aria-pressed="true"] { color: var(--fg); }
.top .sound-btn { display: none; }

.rail { position: fixed; right: 0; top: 0; bottom: 0; z-index: 30; width: var(--rail); mix-blend-mode: difference; }
.rail::before {   /* the ruler: long ticks every 40px, short every 8px */
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 14px;
  background:
    repeating-linear-gradient(to bottom, var(--tick) 0 1px, transparent 1px 40px) right top / 14px 100% no-repeat,
    repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px 8px) right top / 6px 100% no-repeat;
}
.rail-list { display: none; }
.rail-mark { position: absolute; right: 0; top: 0; width: 22px; height: 2px; margin-top: -1px; background: var(--ice); transform: translateY(var(--y, 0px)); will-change: transform; }
.rail-mark::after { display: none; content: attr(data-read); position: absolute; right: 0; top: 7px; font-style: normal; font-size: 12px; line-height: 1; color: var(--ice); font-variant-numeric: tabular-nums; }

.menu { position: fixed; inset: 0; z-index: 35; display: grid; align-content: center; padding: 0 var(--pad); background: var(--bg); }
.menu[hidden] { display: none; }
.menu-list a { display: block; padding: 7px 0; font-weight: 200; font-size: clamp(40px, 11vw, 64px); line-height: 1.05; letter-spacing: -.04em; color: var(--mid); }
.menu-list a.on { color: var(--fg); }
.menu-foot { margin-top: 30px; }
.menu-foot .sound-btn { font-size: 17px; }

/* ---------- the stage: one figure, three scenes ---------- */
.stage { position: relative; }
.stage-pin { position: sticky; top: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh; overflow: hidden; }
#figure { position: absolute; inset: 0; display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
#figure.is-held { cursor: grabbing; }
.stage-hint { display: none; position: absolute; font-size: 14px; color: var(--low); opacity: 0; transition: opacity .5s; pointer-events: none; }
.stage-hint.on { opacity: 1; }

.scene { position: relative; z-index: 1; padding: 0 calc(var(--pad) + var(--rail)) 0 var(--pad); pointer-events: none; }
.scene a, .scene button, .scene input, .scene-text, .dial-track { pointer-events: auto; }

.scene-start { display: flex; flex-direction: column; justify-content: flex-end; height: 100vh; height: 100svh; padding-bottom: 34px; }
.mega { font-weight: 200; font-size: min(13.4vw, 236px); line-height: .88; letter-spacing: -.052em; margin-left: -.045em; mix-blend-mode: difference; }
.mega .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.mega .line > span { display: block; }
.mega .line + .line { padding-left: 17vw; }
.start-foot { display: grid; gap: 22px; margin-top: 26px; max-width: 26em; }
.lede { font-size: 17px; line-height: 1.5; color: var(--mid); }
.cue { display: none; }

.scene-idea { min-height: 160vh; }
.scene-try { min-height: 210vh; }
.scene-text {
  position: sticky; top: max(40vh, calc(100vh - 440px)); top: max(40svh, calc(100svh - 440px));
  margin: 0 calc((var(--pad) + var(--rail)) * -1) 0 calc(var(--pad) * -1);
  padding: 30px calc(var(--pad) + var(--rail)) 30px var(--pad);
  min-height: min(60vh, 440px); min-height: min(60svh, 440px);
  background: var(--ticks), var(--bg);
}
.scene-text .body { margin-top: 14px; }
.scene-idea .body + .body { display: none; }
.scene-try .scene-text { top: max(24vh, calc(100vh - 570px)); top: max(24svh, calc(100svh - 570px)); min-height: min(76vh, 570px); min-height: min(76svh, 570px); }

/* the shoulder control */
.dial { max-width: 460px; margin-top: 20px; }
.dial-read { display: flex; align-items: baseline; gap: 14px; }
#dial-num { font-weight: 200; font-size: clamp(50px, 6.4vw, 104px); line-height: .86; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.dial-unit { font-size: 14.5px; color: var(--mid); }
.dial-track { position: relative; height: 58px; margin-top: 14px; touch-action: none; cursor: ew-resize; --p: 44%; --t: 71%; }
.dial-ticks { position: absolute; left: 0; right: 0; top: 24px; height: 17px; border-top: 1px solid var(--fg); }
.dial-ticks svg { display: block; width: 100%; height: 16px; overflow: visible; }
.dial-ticks line { stroke: var(--tick); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dial-ticks line.maj { stroke: var(--fg); }
.dial-bands { position: absolute; left: 0; right: 0; top: 16px; height: 3px; }
.dial-bands i { position: absolute; top: 0; height: 100%; background: var(--fg); opacity: .2; transition: opacity .2s; }
.dial-bands i.on { opacity: 1; }
.dial-knob { position: absolute; left: var(--p); top: 0; width: 2px; height: 44px; margin-left: -1px; background: var(--ice); }
.dial-knob::before { content: ""; position: absolute; left: -7px; top: 0; width: 16px; height: 10px; background: var(--ice); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.dial-target { position: absolute; left: var(--t); top: 24px; padding-top: 22px; transform: translateX(-50%); font-size: 13.5px; line-height: 1; color: var(--mid); white-space: nowrap; }
.dial-target::before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 17px; background: var(--mid); }
.dial-target { transition: color .2s; }
.dial-track.hit .dial-target { color: var(--ice); }
.dial-track.hit .dial-target::before { background: var(--ice); }
.dial-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.dial-range:focus-visible + .dial-focus, .dial-track:has(.dial-range:focus-visible) { outline: 2px solid var(--ice); outline-offset: 6px; }
.dial-ends { display: flex; justify-content: space-between; margin-top: 2px; font-size: 13.5px; color: var(--low); font-variant-numeric: tabular-nums; }
.dial-say { margin-top: 12px; font-size: 17px; min-height: 3.1em; }
.dial-say b { font-weight: 500; }
.tape { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 16px; }
.tape label { display: block; font-size: 13.5px; line-height: 1.3; color: var(--mid); }
.tape input { display: block; width: 100%; margin-top: 4px; padding: 5px 0 7px; border: 0; border-bottom: 1px solid var(--tick); border-radius: 0; background: none; color: var(--fg); font: 300 24px/1.1 var(--font); font-variant-numeric: tabular-nums; }
.tape input::placeholder { color: var(--low); opacity: .5; }
.tape input:focus { outline: 0; border-bottom-color: var(--ice); }
.tape-out { margin-top: 12px; font-size: 14.5px; line-height: 1.5; color: var(--mid); max-width: 31em; min-height: 3em; }
.tape-out b { font-weight: 400; color: var(--fg); }
.tape-out a { color: var(--fg); border-bottom: 1px solid var(--mid); }
.tape-out a:hover { border-color: var(--fg); }

/* ---------- sections after the stage ---------- */
.sec { position: relative; z-index: 2; background: var(--bg); padding: clamp(104px, 19vh, 230px) calc(var(--pad) + var(--rail)) clamp(104px, 19vh, 230px) var(--pad); }
.sec-rule { position: absolute; left: 0; right: 0; top: 0; height: 15px; border-top: 1px solid var(--line); background: var(--ticks); }

/* report */
.report-grid { display: grid; gap: 44px; }
.chapters { margin-top: 40px; border-top: 1px solid var(--line); }
.chapters button {
  display: block; width: 100%; padding: 15px 0 16px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer;
  font-weight: 300; font-size: clamp(25px, 2.5vw, 38px); line-height: 1.1; letter-spacing: -.022em; color: var(--low);
  transition: color .15s, padding-left .3s cubic-bezier(.2, .7, .1, 1);
}
.chapters button.on { color: var(--fg); padding-left: 20px; background: linear-gradient(var(--ice), var(--ice)) left 1.02em / 12px 1px no-repeat; }
.chapters button.on::after { content: attr(data-say); display: block; margin-top: 10px; font-weight: 400; font-size: 17px; line-height: 1.4; letter-spacing: 0; color: var(--mid); }
.peek { display: none; }
.report-show .note { margin-top: 0; }
.report-show p + p { margin-top: 22px; }

/* the share card */
.card-grid { display: grid; gap: 40px; }
.card-stage { width: min(100%, 330px); perspective: 1400px; }
#card-canvas { display: block; width: 100%; height: auto; border: 1px solid var(--line); transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .5s cubic-bezier(.2, .7, .1, 1); }
.switch { display: inline-flex; margin-top: 28px; border: 1px solid var(--line); }
.switch button { padding: 10px 16px 11px; border: 0; background: none; color: var(--mid); cursor: pointer; }
.switch button.on { background: var(--fg); color: var(--bg); }

/* process */
.process-rule { height: 15px; margin-top: clamp(44px, 7vh, 84px); border-top: 1px solid var(--fg); background: var(--ticks); }
.steps { display: grid; gap: 46px; margin-top: 44px; }
.step-when { display: block; font-weight: 200; font-size: clamp(46px, 4.9vw, 84px); line-height: .9; letter-spacing: -.045em; white-space: nowrap; }
.steps h3 { margin-top: 18px; font-size: 22px; line-height: 1.2; letter-spacing: -.012em; }
.steps p { margin-top: 8px; color: var(--mid); max-width: 21em; }

/* proof: before and after */
.proof-grid { display: grid; gap: 40px; }
.ba { position: relative; width: 100%; max-width: 660px; aspect-ratio: 4 / 5; overflow: hidden; --pos: 50%; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; background: #111; }
.ba-img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.ba-clip { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); will-change: clip-path; }
.ba-handle { position: absolute; left: var(--pos); top: 0; bottom: 0; width: 1px; margin-left: -.5px; background: var(--fg); will-change: left; }
.ba-handle::before { content: ""; position: absolute; left: 1px; top: 0; bottom: 0; width: 12px; background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .8) 0 1px, transparent 1px 40px) left top / 12px 100% no-repeat, repeating-linear-gradient(to bottom, rgba(255, 255, 255, .5) 0 1px, transparent 1px 8px) left top / 5px 100% no-repeat; }
.ba-handle i { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); background: var(--fg); }
.ba-handle i::before, .ba-handle i::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; border: solid var(--bg); border-width: 0 0 1.5px 1.5px; }
.ba-handle i::before { left: 10px; transform: translateY(-50%) rotate(45deg); }
.ba-handle i::after { right: 10px; transform: translateY(-50%) rotate(-135deg); }
.ba-tag { position: absolute; bottom: 14px; padding: 5px 10px 6px; background: var(--bg); font-size: 14px; line-height: 1; transition: opacity .2s; }
.ba-tag-before { left: 14px; }
.ba-tag-after { right: 14px; }
.ba-tag.off { opacity: 0; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.ba:has(.ba-range:focus-visible) { outline: 2px solid var(--ice); outline-offset: 4px; }
.ba.glides .ba-clip { transition: clip-path .6s cubic-bezier(.3, .1, .2, 1); }
.ba.glides .ba-handle { transition: left .6s cubic-bezier(.3, .1, .2, 1); }

/* price */
.price-grid { display: grid; gap: 34px; }
.price-num { font-weight: 200; font-size: clamp(132px, 30vw, 500px); line-height: .74; letter-spacing: -.07em; margin-left: -.06em; font-variant-numeric: tabular-nums; }
.included { margin-top: 30px; border-top: 1px solid var(--line); max-width: 34em; }
.included li { padding: 13px 0 14px; border-bottom: 1px solid var(--line); color: var(--mid); }
.price .acts { margin-top: 34px; }

/* questions */
.faq-grid { display: grid; gap: 34px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 24px; padding: 21px 0 22px; font-weight: 300; font-size: clamp(20px, 1.75vw, 27px); line-height: 1.2; letter-spacing: -.012em; }
.faq-list summary:hover .pm::before, .faq-list summary:hover .pm::after { background: var(--fg); }
.faq-list details p { padding: 0 0 26px; color: var(--mid); max-width: 34em; }

/* foot */
.foot { position: relative; z-index: 2; overflow: hidden; background: var(--bg); padding: 40px calc(var(--pad) + var(--rail)) 0 var(--pad); }
.foot-line { display: flex; flex-wrap: wrap; gap: 14px 34px; font-size: 16px; }
.foot-word { display: inline-block; margin: 9vh 0 -.16em -.06em; font-weight: 200; font-size: 17vw; line-height: .76; letter-spacing: -.07em; white-space: nowrap; }   /* site.js sets the size so the name runs edge to edge */

/* a small label that rides with the pointer over things that can be dragged */
.cursor { display: none; }

/* phones: one button that stays within reach after the first screens */
.dock { display: none; }
@media (max-width: 899px) {
  .dock {
    display: block; position: fixed; left: var(--pad); right: calc(var(--pad) + var(--rail)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 34;
    padding: 17px 20px 18px; background: var(--fg); color: var(--bg); font-weight: 500; font-size: 17px; line-height: 1; text-align: center;
    transform: translateY(170%); transition: transform .35s cubic-bezier(.2, .7, .1, 1);
  }
  .dock.on { transform: none; }
}
@media (max-width: 899px) and (max-height: 740px) {
  .scene-try .body { display: none; }
}

/* ---------- the opening: the figure is scanned in, then the headline rises ---------- */
.js .mega .line > span { transform: translateY(108%); }
.js .start-foot, .js .top, .js .rail, .js .cue { opacity: 0; }
.js.ready .mega .line > span { transform: none; transition: transform 1.1s cubic-bezier(.16, .8, .2, 1); }
.js.ready .mega .line + .line > span { transition-delay: .12s; }
.js.ready .start-foot, .js.ready .top, .js.ready .rail { opacity: 1; transition: opacity .8s .5s; }
.js.ready .cue { opacity: 1; transition: opacity .8s 1.6s; }
.js.ready.scrolled .cue { opacity: 0; transition: opacity .3s; }
/* if the script never says "ready", show everything anyway */
.js:not(.ready) .mega .line > span { animation: late 0s 4s forwards; }
.js:not(.ready) .start-foot, .js:not(.ready) .top, .js:not(.ready) .rail, .js:not(.ready) .cue { animation: late 0s 4s forwards; }
@keyframes late { to { transform: none; opacity: 1; } }

/* ---------- wider screens ---------- */
@media (min-width: 900px) {
  :root { --pad: 4.4vw; --rail: 150px; }
  .top { height: 84px; }
  .top-cta { display: inline-block; font-size: 16px; padding-bottom: 3px; border-bottom: 1px solid var(--mid); }
  .top-cta:hover { border-color: var(--fg); }
  .menu-btn { display: none; }
  .top .sound-btn { display: inline-block; }

  .rail { top: 104px; bottom: 34px; }
  .rail::before { right: 30px; }
  .rail::after { content: ""; position: absolute; right: 30px; top: 0; bottom: 0; width: 1px; background: var(--line); }
  .rail-list { display: block; }
  .rail-list li { position: absolute; right: 56px; top: 0; transform: translateY(var(--y, 0px)); line-height: 1; margin-top: -7px; white-space: nowrap; }
  .rail-list a { font-size: 14px; color: var(--low); transition: color .15s; }
  .rail-list a:hover { color: var(--mid); }
  .rail-list a.on { color: var(--fg); }
  .rail-mark { right: 18px; width: 30px; }
  .rail-mark::after { display: block; }

  .stage-hint { display: block; right: calc(var(--rail) + 8px); bottom: 34px; }
  .scene-start { justify-content: space-between; padding-top: 17vh; padding-bottom: 44px; }
  .mega { line-height: .86; }
  .start-foot { margin-top: 0; }
  .lede { font-size: clamp(17px, 1.3vw, 20px); }
  .cue { display: flex; flex-direction: column-reverse; align-items: center; gap: 10px; position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); font-size: 13.5px; line-height: 1; color: var(--low); }
  .cue i { width: 1px; height: 46px; background: linear-gradient(var(--fg), var(--fg)) 0 -16px / 1px 16px no-repeat, var(--line); animation: cue 2.4s cubic-bezier(.6, 0, .3, 1) infinite; }

  .scene-idea { min-height: 170vh; }
  .scene-try { min-height: 220vh; }
  .scene-text, .scene-try .scene-text { top: 23vh; max-width: min(34vw, 31em); min-height: 0; margin: 0; padding: 0 0 12vh; background: none; }
  .scene-try .scene-text { top: max(96px, 13vh); padding-bottom: 6vh; }
  .scene-idea .scene-text { margin-left: auto; }
  .scene-text .body { margin-top: 22px; }
  .scene-idea .body + .body { display: block; margin-top: 14px; }
  .dial { margin-top: 30px; }
  .dial-track { margin-top: 20px; }
  .dial-say { margin-top: 16px; font-size: 19px; }
  .tape { margin-top: 22px; }

  .report-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 7vw; align-items: start; }
  .chapters button.on::after { content: none; }
  .report-show { position: sticky; top: 22vh; padding-top: 6px; }
  .report-show { top: 15vh; }
  .peek { display: block; position: relative; width: min(100%, 410px); height: min(66vh, 700px); margin-bottom: 26px; border: 1px solid var(--line); background: var(--bg); }
  .peek::before { content: ""; position: absolute; left: -1px; right: -1px; top: -16px; height: 15px; background: var(--ticks); }
  .peek iframe { display: block; width: 100%; height: 100%; border: 0; pointer-events: none; }

  .card-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 7vw; align-items: center; }
  .card-stage { width: min(100%, 44vh, 430px); justify-self: center; }

  .process .big { max-width: 9em; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 3vw; }
  .steps li:nth-child(2) { margin-top: 9vh; }
  .steps li:nth-child(3) { margin-top: 18vh; }
  .steps li:nth-child(4) { margin-top: 27vh; }

  .proof-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 6vw; align-items: end; }
  .ba { width: calc(100% + var(--pad)); max-width: none; margin-left: calc(var(--pad) * -1); }
  .proof-text { padding-bottom: 8px; }

  .price-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 5vw; align-items: end; }

  .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 7vw; align-items: start; }
  .faq .big { position: sticky; top: 22vh; }
}

/* short laptop screens: the frame check is the tallest thing on the page */
@media (min-width: 900px) and (max-height: 820px) {
  .scene-try .scene-text { top: 84px; }
  .scene-try .big { font-size: clamp(33px, 4vw, 58px); }
  #dial-num { font-size: 58px; }
  .dial { margin-top: 18px; }
  .dial-track { margin-top: 14px; }
  .tape { margin-top: 14px; }
}

@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none; }
  .cursor span { position: absolute; left: 16px; top: 18px; padding: 5px 9px 6px; background: var(--fg); color: var(--bg); font-size: 13.5px; line-height: 1; white-space: nowrap; opacity: 0; transform: scale(.7); transform-origin: 0 0; transition: opacity .15s, transform .2s cubic-bezier(.2, .7, .1, 1); }
  .cursor.on span { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .mega .line > span { transform: none; }
  .js .start-foot, .js .top, .js .rail { opacity: 1; }
  * { transition: none !important; animation: none !important; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  /* going to the sample report and back: the next page is drawn across like a ruler passing */
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: none; }
  ::view-transition-new(root) { animation: wipe .75s cubic-bezier(.7, 0, .2, 1) both; }
}
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes cue { from { background-position: 0 -16px, 0 0; } to { background-position: 0 46px, 0 0; } }

@media print {
  body::after, .rail, .menu-btn, .sound-btn, .cursor, .stage-pin, .dock, .cue { display: none !important; }
}
