/* RapidRepair home. Dark only (the app has no light mode, by the owner's decision).
   One accent: the app's action blue. Green appears only where the app shows Live,
   red only where the app shows a stop. Radius rule: anything you press is a pill;
   surfaces are 24px, the app's panel radius; the store badge keeps Google's shape. */

/* Newsreader is one static cut, 390 at optical size 60, serving every weight the page asks for */
@font-face { font-family: 'Newsreader'; src: url('/fonts/newsreader.woff2') format('woff2'); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Roboto'; src: url('/fonts/roboto.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #0a0b0d;
  --bg-up: #0f1013;
  --ink: #f2f4f7;
  --ink-2: rgba(242, 244, 247, .70);
  --ink-3: rgba(242, 244, 247, .50);
  --ink-4: rgba(242, 244, 247, .30);
  --rule: rgba(255, 255, 255, .08);
  --rule-2: rgba(255, 255, 255, .14);
  --blue: #4c8df6;
  --blue-deep: #2b6fe6;
  --blue-ink: #8db4fa;
  --live: #10b981;
  --live-ink: #34d399;
  --stop: #ef4444;

  --serif: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --app: 'Roboto', ui-sans-serif, system-ui, sans-serif;

  /* page motion: long and soft. App motion inside the phone uses the app's own curves. */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-app: cubic-bezier(.33, 1, .68, 1);      /* RRCurve.enter, easeOutCubic */
  --ease-app-in: cubic-bezier(.32, 0, .67, 0);   /* RRCurve.exit, easeInCubic */
  --ease-move: cubic-bezier(.65, 0, .35, 1);     /* RRCurve.move, easeInOutCubic */

  --wrap: clamp(1200px, 68vw, 1560px);
  --gutter: max(clamp(20px, 4.2vw, 56px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --nav-h: 64px;
  /* the text scale below the ledes: a label, small print, the interface, and body copy */
  --fs-label: .78125rem; --fs-small: .875rem; --fs-ui: .9375rem; --fs-body: 1.0625rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
/* anchors land below the bar; a margin on the targets, not scroll-padding on the root, which would also narrow every scroll timeline */
[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }
a, button { scroll-margin-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html { background: var(--bg); }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; background: #040405; opacity: 0; transition: opacity .8s var(--ease-out); pointer-events: none; }
html.lights-down body::before { opacity: 1; }
body {
  margin: 0; background: transparent; color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
/* fine grain over everything: keeps the dark gradients from banding */
body::after {
  content: none; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .022;
}
@media (min-width: 860px) { body::after { content: ''; } }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, ul { margin: 0; }
:where(ul[role='list']) { list-style: none; padding: 0; }
::selection { background: rgba(76, 141, 246, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: 3px; border-radius: 6px; }
[tabindex='-1']:focus { outline: 0; }

.nb { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-weight: 500; transition: top .2s var(--ease-out); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }

/* ----------------------------------------------------------------- type */
.display {
  font-family: var(--serif); font-weight: 380; font-size: clamp(3.15rem, 1.35rem + 5.1vw, 6.6rem);
  line-height: 1.0; letter-spacing: -.022em; color: var(--ink); text-wrap: balance;
}
.h2 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(2.35rem, 1.3rem + 3.1vw, 4.3rem);
  line-height: 1.04; letter-spacing: -.018em; text-wrap: balance;
}
.lede { font-size: clamp(1.06rem, .98rem + .34vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 36ch; text-wrap: balance; }
.step-title {
  font-family: var(--serif); font-weight: 400; font-size: clamp(2.35rem, 1.3rem + 3.1vw, 4.3rem);
  line-height: 1.04; letter-spacing: -.016em; text-wrap: balance;
}
@media (min-width: 860px) { .step-title { max-width: 8em; } }
.step-text { margin-top: 18px; font-size: clamp(1.03rem, .98rem + .22vw, 1.15rem); line-height: 1.6; color: var(--ink-2); max-width: 34ch; text-wrap: balance; }

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  background: var(--blue-deep); color: #fff; font-weight: 500; font-size: var(--fs-ui); letter-spacing: -.005em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 2px rgba(0, 0, 0, .4);
  transition: background-color .2s ease, transform .16s var(--ease-out);
}
.btn:hover { background: #3a7cf0; }
.btn:active { transform: scale(.97); }
.btn-sm { height: 36px; padding: 0 16px; font-size: var(--fs-ui); }
@media (pointer: coarse) { .btn-sm { height: 44px; } }

/* Google's own badge, unaltered: its image carries Google's clear space as a transparent border, so the link
   pulls it out by that border (14px at this size) and its visible edge lines up with the text */
.play { display: inline-block; margin: -14px; border-radius: 22px; transition: transform .16s var(--ease-out), opacity .2s ease; }
.play img { display: block; width: 223px; height: 86px; }
.play:hover { opacity: .86; }
.play:active { transform: scale(.97); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; font-size: var(--fs-body); padding: 10px 2px; }
.link-arrow svg { width: 18px; height: 18px; fill: currentColor; transition: transform .35s var(--ease-out); }
.link-arrow:hover svg { transform: translateY(3px); }

/* ----------------------------------------------------------------- nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); padding-top: env(safe-area-inset-top, 0px); transition: background-color .3s var(--ease-out), border-color .3s var(--ease-out); border-bottom: 1px solid transparent; -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); }
.nav.is-scrolled { background: rgba(10, 11, 13, .72); border-bottom-color: var(--rule); }
.nav-in { height: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.06rem; letter-spacing: -.015em; }
.nav-links { position: relative; display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: var(--fs-ui); color: var(--ink-2); transition: color .3s ease; }
.nav-links a:hover, .nav-links a.is-on { color: var(--ink); }
/* a dot under the section you are reading, sliding sideways as the page goes down */
.nav-dot { position: absolute; left: 0; bottom: -10px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--ink); opacity: 0; pointer-events: none; transition: transform .7s var(--ease-move), opacity .35s ease; }
.nav-dot.on { opacity: .85; }
@media (max-width: 760px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* ----------------------------------------------------------------- the stage: hero + steps, one phone */
.stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 72px); max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.stage > section, .stage > h2, .stage > .story-hold { grid-column: 1; }
.stage-device { grid-column: 2; grid-row: 1 / span 7; position: relative; }
@media (min-width: 860px) and (max-width: 1299px) { .stage { overflow-x: clip; } }
.device-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; padding-top: var(--nav-h); display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; }
.device-sticky > * { grid-area: 1 / 1; }
.device-sticky { transform-origin: 50% 40%; }

/* the story's rail: five stops between the words and the phone, the light running down it as the steps play */
.rail { position: absolute; left: 0; top: 50%; height: min(40vh, 360px); width: 13px; translate: 0 -50%; display: flex; flex-direction: column; justify-content: space-between; align-items: center; opacity: 0; transition: opacity .7s var(--ease-out); pointer-events: none; }
.stage.is-story .rail { opacity: 1; }
.stage.is-held .rail { opacity: 0; }
.rail-line { position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px; background: var(--rule-2); overflow: hidden; }
.rail-fill { position: absolute; inset: 0; background: linear-gradient(rgba(242, 244, 247, .12), rgba(242, 244, 247, .9)); transform-origin: 50% 0; transform: scaleY(0); will-change: transform; } /* its own layer: it moves every frame of the story, and must not make the phone beside it redraw */
.rail b { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); transition: background-color .45s ease, box-shadow .45s ease, transform .45s var(--ease-app); }
.rail b.done { background: rgba(242, 244, 247, .55); box-shadow: none; }
.rail b.on { background: var(--ink); box-shadow: 0 0 0 4px rgba(242, 244, 247, .07), 0 0 16px rgba(242, 244, 247, .4); transform: scale(1.18); }
.rail b.rail-live.on { background: var(--live-ink); box-shadow: 0 0 0 4px rgba(52, 211, 153, .1), 0 0 16px rgba(52, 211, 153, .5); }
.rail b::before { content: attr(data-n); position: absolute; right: 18px; top: 50%; translate: 0 -50%; font-family: var(--serif); font-size: 1.05rem; font-weight: 400; line-height: 1; letter-spacing: 0; font-variant-numeric: lining-nums tabular-nums; color: rgba(242, 244, 247, .56); transition: color .45s ease; }
.rail b.done::before { color: var(--ink-3); }
.rail b.on::before { color: var(--ink); }
.rail b.rail-live.on::before { color: var(--live-ink); }

.hero { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; padding-top: calc(var(--nav-h) + 16px); padding-bottom: 40px; }
.hero-copy { max-width: 600px; }
.hero .lede { margin-top: 28px; }
.eyebrow { margin-bottom: 22px; font-size: clamp(.9375rem, .82rem + .3vw, 1.125rem); font-weight: 500; letter-spacing: .005em; color: var(--ink-2); text-wrap: balance; }
.hero-note { margin-top: 26px; font-size: clamp(.875rem, .8rem + .2vw, 1rem); line-height: 1.5; color: var(--ink-2); max-width: 27em; text-wrap: balance; }
.hero-note a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--ink-3); text-underline-offset: 3px; transition: color .2s ease, text-decoration-color .2s ease; }
.hero-note a:hover { color: var(--ink); text-decoration-color: var(--ink); }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
@media (max-height: 520px) {
  .hero .display { font-size: clamp(2.4rem, 11vh, 3.6rem); }
  .hero .lede { margin-top: 14px; }
  .hero-actions { margin-top: 18px; }
}

.step { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; }
.step-copy { max-width: 540px; }
/* each step is as long as its beat needs: the fix takes longest; after the last step the
   phone holds the screen alone for a moment before it falls back into the dark */
@media (min-width: 860px) and (prefers-reduced-motion: no-preference) {
  .js .step { align-content: start; padding-top: 24vh; }
  .js .step-copy { position: sticky; top: calc(50svh + var(--nav-h) / 2 - var(--ch, 280px) / 2); }
  /* Live's pill hangs above its block, so its title starts on the same line as the other three */
  .js .step-copy .live-tag { position: absolute; left: 0; bottom: calc(100% + 18px); margin: 0; }
}
@media (min-width: 860px) {
  .step[data-step='1'] { min-height: 120vh; min-height: 120svh; }
  .step[data-step='2'] { min-height: 205vh; min-height: 205svh; }
  .step[data-step='3'] { min-height: 155vh; min-height: 155svh; }
  .step[data-step='4'] { min-height: 310vh; min-height: 310svh; }
  .step[data-step='5'] { min-height: 260vh; min-height: 260svh; }
  .story-hold { height: 46vh; height: 46svh; }
}
/* without motion there is no glide to hold for */
@media (prefers-reduced-motion: reduce) { .story-hold { display: none; } }
/* small screens have no rail, so each step carries its number */
.step-n { display: none; }
/* on wide screens the copy focuses with the scroll (set per frame in home.js) */
@media (max-width: 599px) { .pin-label, .plans-fine, .step-note { --ink-3: rgba(242, 244, 247, .62); } }
.step-note { margin-top: 12px; max-width: 26em; font-size: var(--fs-small); line-height: 1.5; color: var(--ink-3); text-wrap: balance; }
.live-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 5px 12px 5px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--live-ink); background: rgba(16, 185, 129, .12); border: 1px solid rgba(16, 185, 129, .35); }
.live-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--live-ink); }
.live-dot::after, .ls-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: rgba(52, 211, 153, .45); animation: livePulse 2.4s var(--ease-out) infinite; }
@keyframes livePulse { 0% { transform: scale(1); opacity: 1; } 70%, 100% { transform: scale(3); opacity: 0; } }

/* the light the screen throws on the dark around it */
.spill { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: calc(410px * var(--s, .8) * 1.9); height: calc(var(--ph, 864px) * var(--s, .8) * 1.15); pointer-events: none; opacity: .62; }
.spill canvas { -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent); }
.spill canvas { width: 100%; height: 100%; }

@media (max-width: 859px) {
  /* one phone for the hero and the steps: it sits under the hero's words, then holds under the bar while each
     step's words pass over it, the rail above it */
  .stage { --dev-top: calc(var(--nav-h) + 34px); grid-template-columns: minmax(0, 1fr); overflow-x: clip; }
  /* placed, not flowed: the phone's column is the words' column too */
  .hero { grid-row: 1; } .step[data-step='1'] { grid-row: 2; } .step[data-step='2'] { grid-row: 3; } .step[data-step='3'] { grid-row: 4; } .step[data-step='4'] { grid-row: 5; } .step[data-step='5'] { grid-row: 6; } .stage > .story-hold { grid-row: 7; }
  .stage-device { grid-column: 1; grid-row: 2 / span 6; margin-top: calc(24px - var(--dev-top)); pointer-events: none; }
  .device-sticky { padding-top: var(--dev-top); place-items: start center; }
  /* (the rail and the light are placed in the phone's cell, which starts under the bar and the rail) */
  .stage .spill { top: calc(var(--ph, 864px) / 2 * var(--s, .8)); }
  .stage > section { position: relative; z-index: 1; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 28px); padding-bottom: 0; }
  /* each step's words, then the scroll its beat plays over, roughly as long as the beat takes at the app's own pace */
  .step { min-height: 0; display: block; padding-block: var(--pre, 0px) var(--beat, 60vh); padding-block: var(--pre, 0px) var(--beat, 60svh); }
  .step[data-step='1'] { --pre: 72svh; --beat: 150svh; }
  .step[data-step='2'] { --beat: 225svh; }
  .step[data-step='3'] { --beat: 180svh; }
  .step[data-step='4'] { --beat: 320svh; }
  .step[data-step='5'] { --beat: 290svh; }
  .story-hold { height: 55vh; height: 55svh; }
  .step-copy { position: relative; max-width: 23em; margin-inline: auto; text-align: center; }
  /* a pool of dark under the words, so they read the same over any screen the phone is showing */
  .step-copy::before { content: ''; position: absolute; inset: -48px -28px; z-index: -1; background: radial-gradient(closest-side, rgba(10, 11, 13, .8), rgba(10, 11, 13, .5) 55%, transparent); pointer-events: none; }
  .step-text, .step-note { margin-inline: auto; }
  .step-copy .live-tag { margin-bottom: 14px; }
  /* the first screen shows the top of the phone, not just its empty bar */
  .eyebrow { margin-bottom: 16px; }
  .hero .link-arrow { display: none; }
  .hero .lede { margin-top: 20px; }
  .hero-actions { margin-top: 28px; }
  .hero-note { margin-top: 18px; }
  .step-n { display: flex; justify-content: center; align-items: baseline; gap: .45em; margin-bottom: 18px; font-family: var(--serif); font-size: 1.1rem; line-height: 1; color: var(--ink-3); font-variant-numeric: tabular-nums lining-nums; }
  .step-n b { font-weight: 400; color: var(--ink); }
  .safety-stage, .machines, .pricing { overflow-x: clip; }
  /* the rail lies across the top of the phone: five stops, the light running along it as the steps play */
  .rail { left: 50%; top: calc(var(--nav-h) + 12px - var(--dev-top)); width: 138px; height: 13px; translate: -50% 0; flex-direction: row; }
  .rail-line { left: 6px; right: 6px; top: 6px; bottom: auto; width: auto; height: 1px; }
  .rail-fill { transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, rgba(242, 244, 247, .12), rgba(242, 244, 247, .9)); }
  .rail b::before { content: none; }
  /* (rings, not blurred glows: a blur costs a new drawing program the first time it shows) */
  .rail b.on { box-shadow: 0 0 0 4px rgba(242, 244, 247, .08); }
  .rail b.rail-live.on { box-shadow: 0 0 0 4px rgba(52, 211, 153, .14); }
}
.pin-label { display: none; }
/* the warm-up phones: just below the screen (near enough to be drawn, out of view so nothing they do counts as the
   page moving), all but invisible, and gone a second after the first screen settles */
.warm-host { position: absolute; right: 0; z-index: 1; display: flex; opacity: .003; pointer-events: none; contain: layout paint style; }
.warm-host .sky { display: none; }
.warm-view { position: fixed; top: 0; left: 0; right: auto; display: block; } /* pinned by its top left corner, so a change of phone size never moves it */
.warm-view .phone-mount::before { content: none; } /* the shadow under it is sized from the phone, so it would move */
/* in the copies, the parts that move in the story are drawn on their own, as they are while they move, so the
   ways they are drawn then (through the chat's fade and the screen's corners) are not new when the story plays */
.warm-view .chat > *, .warm-view .it-in, .warm-view .bloom, .warm-view .cam > *, .warm-view .live > *, .warm-view .cap, .warm-view .orbit { will-change: transform, opacity; }
.warm-view .rail { position: relative; top: auto; translate: none; opacity: 1; height: 360px; transition: none; }
@media (max-width: 859px) { .warm-view .rail { height: 13px; width: 138px; } }
@media (max-width: 599px) and (min-height: 600px) and (prefers-reduced-motion: no-preference) {
  .js .pin-label { display: flex; align-items: center; justify-content: center; gap: .35em; height: 20px; margin: 0 0 8px; font-size: 13px; font-weight: 500; color: var(--ink-3); opacity: 0; }
  .js .pin-label b { font-weight: 500; color: var(--ink); }
  .js .pin-label i { width: 1px; height: 12px; margin-inline: .45em; background: var(--rule-2); }
  /* the safety phone's label rides in its held block, which sits a label's height higher */
  .js .stop-fade { top: max(calc(var(--nav-h) + 6px), calc(var(--nav-h) / 2 + (100svh - var(--ph, 864px) * var(--s, .8)) / 2 - 28px)); }
}

/* ----------------------------------------------------------------- the phone */
.phone-mount { position: relative; width: calc(410px * var(--s, .8)); height: calc(var(--ph, 864px) * var(--s, .8)); perspective: 1700px; }
/* a slot whose phone is not built yet still shows the phone's dark shape */
.phone-mount:empty::after { content: ''; position: absolute; inset: 0; border-radius: calc(64px * var(--s, .8)); background: #040405; box-shadow: inset 0 0 0 3px #2a2c31, inset 0 0 0 4px rgba(255, 255, 255, .05); }
.phone-mount.is-late > .phone-tilt { animation: fadeIn .45s ease both; }
/* the phone's shadow on the dark: a gradient, which costs nothing to draw, not a blurred box */
.phone-mount::before { content: ''; position: absolute; left: -9%; right: -9%; top: 12%; bottom: -12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .75), rgba(0, 0, 0, .35) 55%, transparent); transform: translateY(6%); pointer-events: none; }
.phone-tilt { position: absolute; inset: 0; transform-style: preserve-3d; }
/* the body: front, back plate and the two long sides, scaled together so the depth scales too */
.phone-body { position: absolute; left: 0; top: 0; width: 410px; height: var(--ph, 864px); transform: scale3d(var(--s, .8), var(--s, .8), var(--s, .8)); transform-origin: 0 0 0; transform-style: preserve-3d; }
.phone {
  position: absolute; inset: 0;
  border-radius: 64px; padding: 3px;
  background: linear-gradient(150deg, #b9bdc4 0, #5a5e66 10%, #1b1c1f 28%, #3a3d43 50%, #16171a 72%, #9aa0a8 100%);
  box-shadow: 0 2px 0 rgba(255, 255, 255, .06) inset;
}
.ph-back { position: absolute; inset: 0; border-radius: 64px; background: linear-gradient(150deg, #33363b, #141518 40%, #1f2125 70%, #2d3035); transform: translateZ(-26px); }
.ph-side { position: absolute; top: 60px; bottom: 60px; width: 26px; }
.ph-r { left: 410px; transform-origin: 0 50%; transform: rotateY(90deg); background: linear-gradient(90deg, #cfd3da, #8a8f97 14%, #3b3d42 40%, #1a1b1e); }
.ph-l { left: -26px; transform-origin: 100% 50%; transform: rotateY(-90deg); background: linear-gradient(270deg, #cfd3da, #8a8f97 14%, #3b3d42 40%, #1a1b1e); }
.ph-r b { position: absolute; left: 6px; right: 8px; border-radius: 3px; background: linear-gradient(90deg, #80848b, #43464c); }
.ph-r b:nth-child(1) { top: 136px; height: 92px; }
.ph-r b:nth-child(2) { top: 252px; height: 54px; }
/* phones and touch screens draw the phone flat: its back plate and sides, edge-on while it faces you, flickered at its
   rim on phones' graphics chips, and swapped places with the front whenever the phone dimmed (owner, 4 October: the
   phone's border glitching, in the story and the stop) */
@media (max-width: 859px), (pointer: coarse) {
  .phone-tilt, .phone-body { transform-style: flat; }
  /* the phone is its own layer, drawn once and then only moved, never redrawn with what changes around it */
  .phone-tilt { will-change: transform; }
  .phone-body { transform: scale(var(--s, .8)); }
  .ph-back, .ph-side { display: none; }
}
/* (the phone's height is --ph: the app's 864 design px on wide screens; on phones as tall as the room under the bar
   allows, so the phone takes the shape of the screen it is on. The screen's top and bottom keep their places; what sits
   in the middle keeps to the middle) */
/* the dark laid over the phone while words pass over it: one plain layer's opacity, so dimming never makes the browser
   redraw the phone */
.ph-veil { position: absolute; inset: 0; z-index: 3; border-radius: 64px; background: #060708; opacity: 0; pointer-events: none; }
.bezel { width: 100%; height: 100%; border-radius: 61px; padding: 7px; background: #040405; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
/* a reflection across the glass, slid by the page as the phone turns */
.ph-glint { position: absolute; inset: 10px; border-radius: 54px; overflow: hidden; pointer-events: none; z-index: 2; }
.ph-glint b { position: absolute; inset: 0; }
/* the band is soft on both sides and runs well past the glass at both ends, so no edge of it ever shows */
.ph-glint b::before { content: ''; position: absolute; top: -45%; bottom: -45%; left: 12%; width: 30%; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .05) 50%, rgba(255, 255, 255, 0)); transform: rotate(16deg); }
.screen { position: relative; width: 390px; height: calc(var(--ph, 864px) - 20px); border-radius: 54px; overflow: hidden; background: #131314; isolation: isolate; font-family: var(--app); color: #fff; text-align: left; line-height: normal; -webkit-font-smoothing: antialiased; }
.screen::after { content: ''; position: absolute; inset: 0; z-index: 40; pointer-events: none; border-radius: inherit; background: linear-gradient(115deg, rgba(255, 255, 255, .055) 0%, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .025) 100%); }
.screen.no-anim, .screen.no-anim * { transition: none !important; animation-play-state: paused !important; }
.sky { position: absolute; inset: 0; width: 390px; height: 100%; z-index: 0; opacity: 0; transition: opacity .9s ease; }
.screen.sky-on .sky { opacity: 1; }

/* status bar */
.sb { position: absolute; inset: 0 0 auto 0; height: 40px; z-index: 30; display: flex; align-items: center; justify-content: space-between; padding: 0 26px 0 30px; font-size: 14px; font-weight: 500; color: #fff; pointer-events: none; }
.sb-hole { position: absolute; left: 50%; top: 12px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #030303; box-shadow: 0 0 0 1px rgba(255, 255, 255, .07); }
.sb-icons { display: flex; align-items: center; gap: 6px; }
.sb-icons svg { width: 17px; height: 17px; fill: #fff; }
.sb-batt { width: 24px; height: 12px; border: 1.3px solid #fff; border-radius: 3.5px; position: relative; padding: 1.5px; }
.sb-batt::before { content: ''; display: block; height: 100%; width: 74%; background: #fff; border-radius: 1.5px; }
.sb-batt::after { content: ''; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; background: #fff; border-radius: 0 1px 1px 0; }

/* app bar */
.ab { position: absolute; inset: 0 0 auto 0; height: 110px; z-index: 20; background: linear-gradient(rgba(11, 15, 25, .9), rgba(11, 15, 25, .55) 70%, rgba(11, 15, 25, 0)); }
.ab .i { position: absolute; top: 48px; width: 28px; height: 28px; fill: #cbd5e1; }
.ab .i-menu { left: 17px; }
.ab .i-help { left: 302px; width: 25px; height: 25px; top: 50px; }
.ab-avatar { position: absolute; left: 340px; top: 46px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 600; color: #fff; background: linear-gradient(140deg, #6366f1, #a855f7); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .14); }

/* icons inside the app */
.ic { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* ---------- home */
.home-center { position: absolute; left: 0; right: 0; top: calc(196px + (100% - 844px) / 2); z-index: 5; display: grid; justify-items: center; transition: opacity .62s var(--ease-app), transform .62s var(--ease-app); }
.home-center img { width: 170px; height: auto; }
.home-greet { position: absolute; left: 0; right: 0; top: calc(100% - 260px); z-index: 5; text-align: center; transition: opacity .62s var(--ease-app), transform .62s var(--ease-app); }
.home-greet b { display: block; font-size: 21px; font-weight: 500; color: #fff; }
.home-greet span { display: block; margin-top: 6px; font-size: 14.5px; color: #94a3b8; }
.screen.chatting .home-center, .screen.chatting .home-greet { opacity: 0; transform: translateY(-14px) scale(.98); }
.screen.cam-on .home-center, .screen.cam-on .home-greet { opacity: 0; transition-duration: .15s; }

/* ---------- composer */
.cmp { position: absolute; inset: auto 0 0 0; height: 200px; z-index: 15; }
.cmp-band { position: absolute; inset: 0; background: linear-gradient(rgba(11, 15, 25, 0), rgba(11, 15, 25, .82) 30%, rgba(11, 15, 25, .94)); }
/* the row resizes the way the app's AnimatedSize does: the slots are grid tracks that animate, the buttons only fade and scale */
.cmp-row { position: absolute; left: 16px; right: 16px; top: 34px; display: grid; grid-template-columns: 0px auto 52px; justify-content: center; align-items: center; transition: grid-template-columns .38s var(--ease-app); }
.screen.chatting .cmp-row { grid-template-columns: 50px auto 0px; }
.live-btn { position: relative; justify-self: end; margin-right: 10px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #34d399; background: rgba(16, 185, 129, .16); box-shadow: inset 0 0 0 1px rgba(16, 185, 129, .55); opacity: 0; transform: scale(.6); transition: opacity .38s var(--ease-app), transform .38s var(--ease-app); }
.live-btn .ic { width: 22px; height: 22px; }
.screen.chatting .live-btn { opacity: 1; transform: none; }
.cam-btn { justify-self: start; margin-left: 10px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #38bdf8; background: #16181d; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: opacity .3s ease, transform .38s var(--ease-app); }
.cam-btn .ic { width: 22px; height: 22px; }
.screen.chatting .cam-btn { opacity: 0; transform: scale(.6); }

.pill-wrap { position: relative; border-radius: 24px; }
.pill { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 13px; border-radius: 24px; font-size: 14px; font-weight: 500; color: #cbd5e1; background: #16181d; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 1px 0 rgba(0, 0, 0, .28); white-space: nowrap; transition: width .38s var(--ease-app), background-color .4s var(--ease-app), box-shadow .4s var(--ease-app), color .3s ease; }
.pill .ic { width: 19px; height: 19px; color: #94a3b8; }
.pill-label { display: grid; }
.pill-label > span { grid-area: 1 / 1; justify-self: start; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; transition: opacity .3s ease, transform .3s var(--ease-app); }
.pill-analyzing, .pill-done, .pill-chat { opacity: 0; transform: translateY(6px); }
.pill-done { color: #10b981; font-weight: 700; font-size: 13px; }
.pill-done .ic { color: #10b981; width: 17px; height: 17px; }
.pill-analyzing { color: #38bdf8; font-weight: 600; font-size: 13px; letter-spacing: .2px; }
.pill-chat { color: #fff; gap: 8px; }
.pill-chat .ic { color: #38bdf8; }
/* the pill's light is unblurred (a faint ring): a blur's drawing program is built anew for each size it is drawn at */
.screen.analyzing .pill { background: #0f172a; box-shadow: inset 0 0 0 1.4px #38bdf8, 0 0 0 4px rgba(56, 189, 248, .1); }
.screen.analyzing .pill-set { opacity: 0; transform: translateY(-6px); }
.screen.analyzing .pill-analyzing { opacity: 1; transform: none; }
.screen.identified .pill { background: #16181d; box-shadow: inset 0 0 0 1px #10b981, 0 1px 0 rgba(0, 0, 0, .28); }
.screen.identified .pill-set, .screen.identified .pill-analyzing { opacity: 0; transform: translateY(-6px); }
.screen.identified .pill-done { opacity: 1; transform: none; }
.screen.chatting .pill { background: rgba(30, 41, 59, .9); box-shadow: inset 0 0 0 1.4px #38bdf8, 0 0 0 4px rgba(56, 189, 248, .07); }
.screen.chatting .pill-set, .screen.chatting .pill-analyzing, .screen.chatting .pill-done { opacity: 0; transform: translateY(-6px); }
.screen.chatting .pill-chat { opacity: 1; transform: none; }
.screen.stopped .pill { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); background: rgba(30, 41, 59, .7); }

/* the living edge: a comet of light orbiting the pill while the read is in flight (the light turns
   under a ring-shaped mask, so the turn runs on the compositor and nothing is repainted) */
.orbit { position: absolute; inset: -14px; z-index: 1; border-radius: 38px; pointer-events: none; opacity: 0; transition: opacity .4s ease; filter: blur(2.5px); }
.orbit b { position: absolute; inset: 0; border-radius: inherit; padding: 13px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.orbit i { position: absolute; left: 50%; top: 50%; width: 160%; aspect-ratio: 1; translate: -50% -50%;
  background: conic-gradient(transparent 0deg, transparent 236deg, rgba(167, 139, 250, .0) 240deg, rgba(167, 139, 250, .55) 282deg, rgba(76, 141, 246, .8) 318deg, rgba(56, 189, 248, .95) 344deg, #f0fbff 357deg, transparent 360deg); }
.screen.analyzing .orbit { opacity: 1; }
.screen.analyzing .orbit i, .screen.orbiting .orbit i { animation: orbit 1.45s linear infinite; }
/* after the read the turn is paused, not removed, while the light fades: it keeps its layer and its angle, so
   nothing is repainted at "Identified"; half a second later the phone lets go of the layer */
.screen.orbiting:not(.analyzing) .orbit i { animation-play-state: paused; }
@keyframes orbit { to { transform: rotate(360deg); } }
/* the bloom's glow is gradients, not blurred shadows: a blur this size made the graphics process stall mid-scroll.
   Two round caps and a straight band give the falloff by distance from the pill's outline (green 24px over blue 60px) */
.bloom { position: absolute; inset: -6px; z-index: 1; border-radius: 30px; pointer-events: none; opacity: 0; }
.bloom::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 1.5px rgba(16, 185, 129, .9); }
.bloom::before { content: ''; position: absolute; inset: -80px; background-repeat: no-repeat; background-size: 107px 100%, calc(100% - 214px) 100%, 107px 100%; background-position: 0 0, 50% 0, 100% 0;
  background-image: radial-gradient(circle at 100% 50%, transparent 27px, rgba(25, 186, 157, 0.454) 27px, rgba(27, 186, 161, 0.402) 30px, rgba(29, 186, 167, 0.349) 33px, rgba(31, 186, 173, 0.296) 36px, rgba(33, 187, 181, 0.247) 39px, rgba(38, 187, 193, 0.189) 43px, rgba(42, 188, 207, 0.144) 47px, rgba(47, 188, 223, 0.103) 52px, rgba(52, 189, 235, 0.076) 57px, rgba(54, 189, 243, 0.055) 63px, rgba(56, 189, 247, 0.038) 70px, rgba(56, 189, 248, 0.024) 78px, rgba(56, 189, 248, 0.014) 87px, rgba(56, 189, 248, 0.007) 97px, rgba(56, 189, 248, 0.003) 107px),
    linear-gradient(rgba(56, 189, 248, 0.003) 0px, rgba(56, 189, 248, 0.007) 10px, rgba(56, 189, 248, 0.014) 20px, rgba(56, 189, 248, 0.024) 29px, rgba(56, 189, 247, 0.038) 37px, rgba(54, 189, 243, 0.055) 44px, rgba(52, 189, 235, 0.076) 50px, rgba(47, 188, 223, 0.103) 55px, rgba(42, 188, 207, 0.144) 60px, rgba(38, 187, 193, 0.189) 64px, rgba(33, 187, 181, 0.247) 68px, rgba(31, 186, 173, 0.296) 71px, rgba(29, 186, 167, 0.349) 74px, rgba(27, 186, 161, 0.402) 77px, rgba(25, 186, 157, 0.454) 80px, transparent 80px, transparent 134px, rgba(25, 186, 157, 0.454) 134px, rgba(27, 186, 161, 0.402) 137px, rgba(29, 186, 167, 0.349) 140px, rgba(31, 186, 173, 0.296) 143px, rgba(33, 187, 181, 0.247) 146px, rgba(38, 187, 193, 0.189) 150px, rgba(42, 188, 207, 0.144) 154px, rgba(47, 188, 223, 0.103) 159px, rgba(52, 189, 235, 0.076) 164px, rgba(54, 189, 243, 0.055) 170px, rgba(56, 189, 247, 0.038) 177px, rgba(56, 189, 248, 0.024) 185px, rgba(56, 189, 248, 0.014) 194px, rgba(56, 189, 248, 0.007) 204px, rgba(56, 189, 248, 0.003) 214px),
    radial-gradient(circle at 0 50%, transparent 27px, rgba(25, 186, 157, 0.454) 27px, rgba(27, 186, 161, 0.402) 30px, rgba(29, 186, 167, 0.349) 33px, rgba(31, 186, 173, 0.296) 36px, rgba(33, 187, 181, 0.247) 39px, rgba(38, 187, 193, 0.189) 43px, rgba(42, 188, 207, 0.144) 47px, rgba(47, 188, 223, 0.103) 52px, rgba(52, 189, 235, 0.076) 57px, rgba(54, 189, 243, 0.055) 63px, rgba(56, 189, 247, 0.038) 70px, rgba(56, 189, 248, 0.024) 78px, rgba(56, 189, 248, 0.014) 87px, rgba(56, 189, 248, 0.007) 97px, rgba(56, 189, 248, 0.003) 107px); }
.screen.blooming .bloom { animation: bloom .45s linear forwards; }
@keyframes bloom { 0% { opacity: 0; } 27% { opacity: 1; } 100% { opacity: 0; } }

.field { position: absolute; left: 16px; right: 16px; top: 88px; height: 54px; border-radius: 27px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); display: flex; align-items: center; padding: 0 60px 0 20px; font-size: 16px; color: #fff; transition: box-shadow .3s ease, background-color .3s ease; }
.field-text { display: flex; justify-content: flex-end; min-width: 0; white-space: nowrap; overflow: hidden; }
.field-hint { position: absolute; left: 20px; right: 60px; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .2s ease; }
.field.has-text .field-hint { opacity: 0; }
.caret { display: inline-block; width: 2px; height: 22px; margin-left: 1px; vertical-align: -5px; background: #38bdf8; opacity: 0; }
.field.focus { box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .55); }
.field.focus .caret { opacity: 1; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.send { position: absolute; right: 8px; top: 8px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(76, 141, 246, .35); color: #fff; transition: background-color .25s ease, transform .16s ease; }
.send .ic { width: 21px; height: 21px; }
.field.has-text .send { background: #4c8df6; }
.send.press { transform: scale(.88); }
.disclaim { position: absolute; left: 0; right: 0; top: 150px; padding-inline: 28px; text-align: center; font-size: 10.75px; line-height: 1.3; color: #8494ab; text-wrap: balance; transition: opacity .3s ease; } /* the app's own line (homeAiDisclaimerFooter), on two lines */
.screen.chatting .disclaim { opacity: 0; }
.field.closed { background: rgba(42, 18, 21, .6); box-shadow: inset 0 0 0 1px rgba(239, 68, 68, .35); }
.field.closed .field-hint { color: #fca5a5; opacity: 1; }
.field.closed .send { background: rgba(255, 255, 255, .06); color: #8494ab; }
.home-ind { position: absolute; left: 50%; bottom: 8px; width: 120px; height: 4px; margin-left: -60px; border-radius: 2px; background: rgba(255, 255, 255, .55); z-index: 35; }

/* ---------- the camera, briefly, for the photo */
/* the camera's view is kept on a layer of its own, all but invisible until it is up, so its first appearance
   does not have to build one mid-scroll */
.cam { position: absolute; inset: 0; z-index: 25; background: #000; opacity: .003; transform: translateY(28px); transition: opacity .18s linear, transform .42s var(--ease-app); pointer-events: none; will-change: transform; }
.screen.cam-on .cam { opacity: 1; transform: none; }
.cam-photo { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); transition: transform 1.6s var(--ease-app); will-change: transform; }
.screen.cam-on .cam-photo { transform: scale(1); }
.cam-frame { position: absolute; left: 56px; right: 56px; top: calc(286px + (100% - 844px) / 2); height: 220px; transition: inset .5s var(--ease-app); }
.cam-frame i { position: absolute; width: 34px; height: 34px; border: 3px solid rgba(255, 255, 255, .92); }
.cam-frame i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.cam-frame i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.cam-frame i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.cam-frame i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.cam-top { position: absolute; inset: 0 0 auto 0; height: 120px; background: linear-gradient(rgba(0, 0, 0, .55), transparent); }
.cam-bottom { position: absolute; inset: auto 0 0 0; height: 200px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.shutter { position: absolute; left: 50%; bottom: 58px; width: 76px; height: 76px; margin-left: -38px; border-radius: 50%; border: 4px solid #fff; display: grid; place-items: center; }
.shutter::before { content: ''; width: 60px; height: 60px; border-radius: 50%; background: #fff; transition: transform .16s ease; }
.screen.shot .shutter::before { transform: scale(.86); }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.screen.shot .flash { animation: flash .5s ease-out; }
@keyframes flash { 0% { opacity: 0; } 18% { opacity: .55; } 100% { opacity: 0; } }

/* ---------- the transcript */
.chat { position: absolute; left: 16px; right: 16px; top: 0; bottom: 176px; z-index: 10; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; -webkit-mask-image: linear-gradient(transparent 92px, #000 150px); mask-image: linear-gradient(transparent 92px, #000 150px); }
.it { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s var(--ease-app); }
.it > div { min-height: 0; overflow: hidden; }
.it-in { opacity: 0; transform: translateY(14px); transition: opacity .3s var(--ease-app), transform .38s var(--ease-app); padding-bottom: 12px; }
.it.on { grid-template-rows: 1fr; }
/* a line of the transcript that has not been said yet is not laid out or painted at all */
.it:not(.on) > div { content-visibility: hidden; }
.it.on .it-in { opacity: 1; transform: none; }
.it.gone { grid-template-rows: 0fr; }
.it.gone .it-in { opacity: 0; transform: none; transition-duration: .22s; }

.bubble { margin-left: auto; max-width: 268px; padding: 12px 15px 13px; border-radius: 18px; background: #1e1f20; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); font-size: 15px; line-height: 21px; color: #e2e8f0; }
.bubble em { display: block; margin-bottom: 4px; font-style: normal; font-size: 12px; font-weight: 600; color: #7aa7f8; }
.think { display: flex; align-items: center; gap: 9px; padding: 2px 0 2px 1px; }
.think canvas { width: 28px; height: 28px; }
.think-chip { position: relative; overflow: hidden; padding: 4px 13px; border-radius: 12px; font-size: 12.5px; font-weight: 500; color: #cbd5e1; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.think-chip::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(56, 189, 248, .2), transparent); transform: translateX(-100%); animation: sweep 1.1s linear infinite; }
@keyframes sweep { to { transform: translateX(100%); } }
.mark { width: 24px; height: 24px; border-radius: 50%; background: #1e1f20; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); display: grid; place-items: center; margin: 2px 0 0 2px; }
.mark img { width: 15px; height: 15px; }

.cap { position: relative; border-radius: 24px; background: rgba(11, 15, 25, .9); box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .35); }
.qface { padding: 14px 16px 15px; transition: background-color .3s ease, box-shadow .3s ease; }
.qface p { font-size: 14.5px; line-height: 21px; color: #e2e8f0; margin-bottom: 11px; transition: opacity .25s ease; }
.qtitle { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .2px; color: #cbd5e1; }
.qtitle .ic { width: 18px; height: 18px; color: #38bdf8; }
.qcount { margin-left: auto; font-size: 12px; color: #94a3b8; transition: color .25s ease; }
.qtitle .chev { width: 20px; height: 20px; color: #94a3b8; }
.qbar { height: 3px; margin-top: 12px; border-radius: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.qbar i { display: block; height: 100%; width: 100%; background: #38bdf8; transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease-app); }
.screen.answered .qbar i { transform: scaleX(1); }
.screen.answered .qcount { color: #38bdf8; }
.screen.qopen .qface { box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .55); }
.qrec-title { display: none; }
.screen.qrecord .qface { background: rgba(11, 15, 25, .72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.screen.qrecord .qface p, .screen.qrecord .qbar, .screen.qrecord .qcount { display: none; }
.screen.qrecord .qtitle { color: #8494ab; font-weight: 500; }
.screen.qrecord .qtitle .ic { color: #8494ab; }
.screen.qrecord .qlive-title, .screen.qrecord .i-help { display: none; }
.screen.qrecord .qrec-title, .screen.qrecord .i-checkc { display: inline; }
.i-checkc { display: none; }

.qblock { padding: 14px; }
.qhead { display: flex; align-items: flex-start; gap: 11px; }
.well { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #94a3b8; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.well.tint { color: #38bdf8; background: rgba(56, 189, 248, .14); box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .45); }
.qhead p { padding-top: 4px; font-size: 15px; font-weight: 500; line-height: 20px; color: #fff; }
.qhead .ic { margin-left: auto; color: #8494ab; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 46px; padding: 0 12px; border-radius: 14px; font-size: 14px; font-weight: 500; line-height: 1.3; color: #38bdf8; background: linear-gradient(rgba(120, 210, 250, .243), rgba(56, 189, 248, .18) 62%); box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .65), 0 2px 6px rgba(0, 0, 0, .22); transition: background .22s ease, box-shadow .22s ease, color .22s ease; }
.chip .ic { width: 15px; height: 15px; }
.chip .tick { display: grid; grid-template-columns: 0fr; margin-right: -7px; overflow: hidden; transition: grid-template-columns .22s var(--ease-app), margin .22s var(--ease-app); }
.chip .tick .ic { min-width: 0; }
/* (the chosen chip's glow is a ring, not a blur: a blur's drawing program is built anew for each size it is drawn at) */
.chip.sel { color: #fff; font-weight: 600; background: linear-gradient(rgba(121, 210, 250, .494), rgba(56, 189, 248, .4) 62%); box-shadow: inset 0 0 0 1.5px rgba(56, 189, 248, .85), 0 0 0 3px rgba(56, 189, 248, .14), 0 2px 10px rgba(0, 0, 0, .3); }
.chip.sel .tick { grid-template-columns: 1fr; margin-right: 0; }
.chip.neutral { color: #fff; background: linear-gradient(rgba(56, 66, 82, .675), rgba(30, 41, 59, .65) 62%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 2px 6px rgba(0, 0, 0, .22); }
.chip .edit { display: grid; }
.tap { position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; border: 2px solid #fff; opacity: 0; pointer-events: none; }
.tap.go { animation: tap .45s ease-out; }
@keyframes tap { 0% { opacity: .65; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.4); } }
.sendcap { height: 50px; display: flex; align-items: center; justify-content: center; gap: 9px; color: #38bdf8; font-size: 14.5px; font-weight: 600; background: linear-gradient(rgba(56, 189, 248, .1), rgba(11, 15, 25, .94) 60%); box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .45); transition: box-shadow .2s ease, transform .16s ease; }
.sendcap .ic { width: 17px; height: 17px; }
.sendcap.press { box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .85); transform: scale(.985); }

/* the person's answers, as the app sends them: pills in a small card on the right */
.ans { width: fit-content; max-width: 268px; margin-left: auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; padding: 9px 10px 9px 12px; border-radius: 18px; background: #1e1f20; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 4px 10px rgba(0, 0, 0, .2); }
.apill { padding: 7px 11px; border-radius: 12px; font-size: 13.5px; font-weight: 600; line-height: 1.25; color: #fff; background: linear-gradient(rgba(255, 255, 255, .14), rgba(56, 189, 248, .36) 62%); box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .75), 0 0 0 3px rgba(56, 189, 248, .08); }

/* ---------- the check: "One check to run", then what drops down from it */
.cface { padding: 14px 16px 13px; transition: background-color .22s ease, box-shadow .22s ease; }
.cface p { margin-bottom: 10px; font-size: 14.5px; line-height: 1.45; color: #e2e8f0; }
.cf-sent { display: none; }
.ctitle { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; line-height: 1.3; letter-spacing: .2px; color: #cbd5e1; }
.ctitle > .ic { width: 18px; height: 18px; color: #38bdf8; }
.ct { flex: 1; min-width: 0; white-space: nowrap; }
.ctitle .i-done, .ct-sent, .ct-rec { display: none; }
.ccount { display: grid; margin-left: 2px; font-size: 12px; font-weight: 600; color: #94a3b8; transition: color .22s ease; }
.ccount > span { grid-area: 1 / 1; transition: opacity .22s ease; }
.cc1 { opacity: 0; }
.ctitle .chev { width: 20px; height: 20px; margin-left: -4px; color: #94a3b8; transition: transform .38s cubic-bezier(.645, .045, .355, 1), opacity .22s ease; }
.crail { height: 2px; margin-top: 10px; border-radius: 1px; background: rgba(56, 189, 248, .14); overflow: hidden; transition: opacity .22s ease; }
.crail i { display: block; height: 100%; background: #38bdf8; transform: scaleX(0); transform-origin: 0 50%; transition: transform .22s cubic-bezier(.645, .045, .355, 1); }
.screen.cfopen .cface { box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .55), 0 18px 40px -12px rgba(0, 0, 0, .55); }
.screen.cfopen .ctitle .chev { transform: rotate(180deg); }
.screen.cpicked .ccount { color: #38bdf8; }
.screen.cpicked .cc0 { opacity: 0; }
.screen.cpicked .cc1 { opacity: 1; }
.screen.cpicked .cface .crail i { transform: none; }
/* sent: "Answers sent", the count and the chevron gone, the rail at half strength */
.screen.cfsent .cf-ask { display: none; }
.screen.cfsent .cf-sent { display: inline; }
.screen.cfsent .ct-live, .screen.cfsent .i-search, .screen.cfsent .ccount { display: none; }
.screen.cfsent .ct-sent, .screen.cfsent .ctitle .i-done { display: block; }
.screen.cfsent .ctitle .chev { opacity: 0; }
.screen.cfsent .cface .crail { opacity: .5; }
/* on the record, once the answer has come: "Asked for one check", quieter */
.screen.cfrec .cface { background: rgba(11, 15, 25, .72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.screen.cfrec .cface p { font-size: 13.5px; color: #cbd5e1; }
.screen.cfrec .ct-live, .screen.cfrec .i-search, .screen.cfrec .ccount, .screen.cfrec .cface .crail { display: none; }
.screen.cfrec .ct-rec, .screen.cfrec .ctitle .i-done { display: block; }
.screen.cfrec .ctitle { color: #8494ab; font-weight: 500; }
.screen.cfrec .ctitle > .ic { color: #8494ab; }

/* "Show me in Live": a capsule of the drop-down's own family, in Live's green; then the way without the camera */
.clive { display: flex; align-items: center; gap: 11px; padding: 13px 12px 14px 14px; background: linear-gradient(rgba(12, 40, 40, .965), rgba(11, 15, 25, .96) 60%); box-shadow: inset 0 0 0 1px rgba(16, 185, 129, .45); }
.well.green { color: #10b981; background: rgba(16, 185, 129, .13); box-shadow: inset 0 0 0 1px rgba(16, 185, 129, .45); }
.well .ic { width: 16px; height: 16px; }
.cl-text { flex: 1; min-width: 0; }
.cl-text b { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.3; color: #fff; }
.cl-text span { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.4; color: #cbd5e1; }
.cl-text em { display: block; margin-top: 6px; font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(16, 185, 129, .85); }
.clive > .ic, .csend > .ic { width: 18px; height: 18px; color: rgba(255, 255, 255, .3); }
.uline { position: absolute; left: 26px; right: 26px; bottom: 0; height: 1.6px; background: linear-gradient(90deg, rgba(16, 185, 129, 0), rgba(16, 185, 129, .8), #10b981, rgba(16, 185, 129, .8), rgba(16, 185, 129, 0)); }
.or { display: flex; align-items: center; gap: 10px; margin-top: 11px; padding-inline: 22px; font-size: 11px; font-weight: 600; letter-spacing: .6px; color: rgba(255, 255, 255, .42); }
.or i { flex: 1; height: 1px; background: rgba(255, 255, 255, .1); }
/* the check itself: where, what to look for, good and worn; then what you found */
.cblock { padding: 14px; background: rgba(11, 15, 25, .94); box-shadow: inset 0 0 0 1px rgba(76, 141, 246, .55); }
.screen.cpicked .cblock { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.crow { display: grid; grid-template-columns: 60px minmax(0, 1fr); column-gap: 10px; }
.crow + .crow { margin-top: 8px; }
.crow b { padding-top: 3px; font-size: 10.5px; font-weight: 700; line-height: 1.3; letter-spacing: .8px; text-transform: uppercase; color: #94a3b8; }
.crow b.c-good { color: #34d399; }
.crow b.c-worn { color: #fde68a; }
.crow span { font-size: 14.5px; line-height: 1.45; color: #e2e8f0; }
.cfind { margin: 12px 0 8px; font-size: 13px; font-weight: 600; line-height: 1.3; letter-spacing: .2px; color: #cbd5e1; }
.cblock .chips { margin-top: 0; }
/* the check's Send capsule: waiting for an answer, then ready, its light coming on */
.csend { display: flex; align-items: center; gap: 11px; padding: 13px 12px 14px 14px; background: rgba(11, 15, 25, .94); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: box-shadow .22s ease, transform .16s ease; }
.csend .well { transition: background-color .22s ease, box-shadow .22s ease, color .22s ease; }
.cs-text { flex: 1; min-width: 0; }
.cs-text b, .cs-text em { display: grid; }
.cs-text b { font-size: 13.5px; font-weight: 700; line-height: 1.3; color: #94a3b8; transition: color .22s ease; }
.cs-text em { margin-top: 3px; font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: #8494ab; transition: color .22s ease; }
.cs-text b > span, .cs-text em > span { grid-area: 1 / 1; transition: opacity .22s ease; }
.cs1 { opacity: 0; }
.csend .uline { opacity: 0; background: linear-gradient(90deg, rgba(76, 141, 246, 0), rgba(76, 141, 246, .85), #38bdf8, #22d3ee, #38bdf8, rgba(76, 141, 246, .85), rgba(76, 141, 246, 0)); transition: opacity .22s ease; }
.screen.cpicked .csend { box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .4); }
.screen.cpicked .csend .well { color: #38bdf8; background: rgba(56, 189, 248, .13); box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .45); }
.screen.cpicked .cs-text b { color: #fff; }
.screen.cpicked .cs-text em { color: #94a3b8; }
.screen.cpicked .cs0 { opacity: 0; }
.screen.cpicked .cs1 { opacity: 1; }
.screen.cpicked .csend .uline { opacity: 1; }
.csend.press { transform: scale(.985); }

/* ---------- the answer: one glass body in sections, each under a faint hairline */
.verdict { overflow: hidden; background: rgba(11, 15, 25, .94); }
.vs { padding: 14px 16px; border-top: 1px solid rgba(255, 255, 255, .07); }
.vs.tight { padding-block: 12px; }
.vs-face { border-top: 0; }
.v-title { font-size: 16px; font-weight: 600; line-height: 1.4; color: #fff; }
.v-reply { margin-top: 8px; font-size: 15px; line-height: 1.6; letter-spacing: .2px; color: #e2e8f0; }
.verdict .rv { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s var(--ease-app); }
.verdict .rv > div { min-height: 0; overflow: hidden; }
.verdict .rv > div > * { opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease-app), transform .4s var(--ease-app); }
.it.on .verdict .rv.in { grid-template-rows: 1fr; }
.it.on .verdict .rv.in > div > * { opacity: 1; transform: none; }
/* "Before you start": the one thing to confirm, and the steps wait behind it; confirmed, it turns sky */
.gate { padding: 12px 13px; border-radius: 18px; background: rgba(245, 158, 11, .1); box-shadow: inset 0 0 0 1px rgba(245, 158, 11, .55); transition: background-color .22s ease, box-shadow .22s ease; }
.g-head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; line-height: 1.3; letter-spacing: .3px; color: #fde68a; transition: color .22s ease; }
.g-head .ic { width: 18px; height: 18px; }
.g-row { display: flex; gap: 9px; margin-top: 8px; font-size: 14.5px; font-weight: 600; line-height: 1.45; color: #fff; }
.g-row .ic { width: 17px; height: 17px; margin-top: 2px; color: #fde68a; }
.g-ask { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .3s cubic-bezier(.645, .045, .355, 1); }
.g-ask > div { min-height: 0; overflow: hidden; }
.g-note { margin-top: 8px; font-size: 12px; font-style: italic; line-height: 1.4; color: #cbd5e1; }
.g-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px; padding: 0 24px 0 16px; border-radius: 14px; font-size: 14px; font-weight: 700; letter-spacing: .1px; color: #451a03; background: #f59e0b; transition: background-color .2s ease; }
.g-btn .ic { width: 18px; height: 18px; }
.g-ok, .g-tick, .g-t1, .g-b1 { display: none; }
.screen.gpress .g-btn { background: rgba(245, 158, 11, .5); }
.screen.gpress .g-b0 { display: none; }
.screen.gpress .g-b1 { display: inline; }
.screen.gdone .gate { background: rgba(56, 189, 248, .05); box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .28); }
.screen.gdone .g-head, .screen.gdone .g-row .ic { color: #38bdf8; }
.screen.gdone .g-shield, .screen.gdone .g-plug, .screen.gdone .g-t0 { display: none; }
.screen.gdone .g-ok, .screen.gdone .g-tick { display: block; }
.screen.gdone .g-t1 { display: inline; }
.screen.gdone .g-ask { grid-template-rows: 0fr; }
/* "How to fix it": the first step open, with its tick; the rest as headlines */
.vsteps { padding: 14px 8px 8px; border-top: 1px solid rgba(255, 255, 255, .07); }
.vs-head { display: flex; justify-content: space-between; align-items: baseline; padding-inline: 8px; }
.vs-head span:first-child { font-size: 11px; font-weight: 700; line-height: 1.3; letter-spacing: 1px; text-transform: uppercase; color: #94a3b8; }
.vs-head span:last-child { font-size: 12px; font-weight: 600; color: #94a3b8; font-variant-numeric: tabular-nums; }
.vsteps > .crail { margin: 8px 8px 6px; }
.srow { display: flex; align-items: center; gap: 11px; min-height: 44px; padding: 10px 8px; font-size: 14px; font-weight: 500; line-height: 1.38; color: #cbd5e1; }
.srow + .srow { border-top: 1px solid rgba(255, 255, 255, .07); }
.srow.open { display: block; padding: 4px 4px 8px 8px; border-radius: 18px; background: rgba(56, 189, 248, .045); box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .3); }
.srow.open + .srow { border-top: 0; }
.s-top { display: flex; align-items: flex-start; gap: 11px; }
.s-top .well { margin-top: 7px; }
.s-top p { flex: 1; padding: 11px 0 4px; font-size: 14.5px; line-height: 1.45; color: #e2e8f0; }
.s-top p b { font-weight: 600; color: #fff; }
.s-tick { width: 44px; height: 44px; flex: none; display: grid; place-items: center; }
.s-tick i { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(56, 189, 248, .6); }
.s-more { margin-top: 7px; padding: 2px 8px 6px 41px; font-size: 14.5px; line-height: 1.45; color: #e2e8f0; }
/* the repair video: a row; open, the player, "Jump to a Step" and the chapters */
.vrow { position: relative; display: flex; align-items: center; gap: 12px; border-radius: 14px; }
.vthumb { width: 72px; height: 44px; flex: none; border-radius: 12px; background: #27272a url(/assets/live-filter.webp) 50% 48% / 100% auto no-repeat; }
.vt { flex: 1; min-width: 0; }
.vt b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt div { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.vbadge { padding: 2px 6px; border-radius: 12px; font-size: 10px; font-weight: 700; line-height: 1.3; letter-spacing: .4px; color: #34d399; background: #064e3b; }
.vlen { font-size: 12px; line-height: 1.3; color: #94a3b8; }
.vrow > .ic { width: 20px; height: 20px; color: #8494ab; }
.v-less { display: none; }
.screen.vopen .v-play { display: none; }
.screen.vopen .v-less { display: block; }
.vbody { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s var(--ease-app); }
.vbody > div { min-height: 0; overflow: hidden; }
.screen.vopen .vbody { grid-template-rows: 1fr; }
.vframe { position: relative; height: 200px; margin-top: 10px; border-radius: 14px; overflow: hidden; background: #000 url(/assets/live-filter.webp) 50% 47% / 100% auto no-repeat; }
.vf-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .35); transition: opacity .4s ease; }
.vf-play { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #27272a; transition: opacity .3s ease, transform .3s var(--ease-app); }
.vf-play .ic { width: 28px; height: 28px; }
.vf-bar { position: absolute; left: 12px; right: 12px; bottom: 9px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .28); opacity: 0; transition: opacity .3s ease; }
.vf-bar b { position: absolute; left: 0; top: 0; bottom: 0; width: 25%; border-radius: inherit; background: #fff; }
.vf-time { position: absolute; left: 12px; bottom: 18px; padding: 2px 6px; border-radius: 4px; font-size: 11px; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .6); font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .3s ease; }
.screen.vchap .vf-scrim { opacity: .2; }
.screen.vchap .vf-play { opacity: 0; transform: scale(.9); }
.screen.vchap .vf-bar, .screen.vchap .vf-time { opacity: 1; }
.vline { display: flex; align-items: center; justify-content: space-between; padding-top: 4px; }
.vline > span:first-child { font-size: 12px; font-weight: 600; color: #94a3b8; }
.vfull { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding-left: 10px; font-size: 13px; font-weight: 600; line-height: 1.3; color: #e2e8f0; }
.vfull .ic { width: 20px; height: 20px; color: #38bdf8; }
.vchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.vchip { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 18px; font-size: 12px; line-height: 1.43; color: #e2e8f0; background: #27272a; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.vchip b { font-weight: 600; color: #94a3b8; font-variant-numeric: tabular-nums; }
/* "Did this fix it?", two equal choices; "Fixed it" turns the section to "Fixed. Nice work." */
.o-ask, .o-done { display: grid; transition: grid-template-rows .3s cubic-bezier(.645, .045, .355, 1); }
.o-ask > div, .o-done > div { min-height: 0; overflow: hidden; }
.o-ask { grid-template-rows: 1fr; }
.o-done { grid-template-rows: 0fr; }
.screen.fixed .o-ask { grid-template-rows: 0fr; }
.screen.fixed .o-done { grid-template-rows: 1fr; }
.o-title { font-size: 15.5px; font-weight: 600; line-height: 1.3; color: #fff; }
.o-choices { display: flex; gap: 10px; margin-top: 12px; }
.o-c { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 11px 10px; border-radius: 18px; font-size: 15px; font-weight: 600; line-height: 1.25; color: #cbd5e1; background: linear-gradient(rgba(255, 255, 255, .07), rgba(255, 255, 255, .025)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.o-c .ic { width: 17px; height: 17px; }
.o-fixed .ic { color: #38bdf8; }
.o-fx { display: flex; align-items: flex-start; gap: 11px; }
.o-fx .well { margin-top: 2px; }
.o-fx > div { padding-top: 6px; }
.o-fx b { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.3; color: #fff; }
.o-fx > div > span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.4; color: #94a3b8; }
.o-fx em { display: inline-block; margin: 2px 0 -6px -10px; padding: 8px 10px; font-style: normal; font-size: 13px; font-weight: 600; color: #94a3b8; }
/* the part: the app's own row under the answer, flat blue on glass */
.prow { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; background: rgba(11, 15, 25, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.p-ic { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #7aa7f8; background: rgba(76, 141, 246, .16); box-shadow: inset 0 0 0 1px rgba(76, 141, 246, .45); }
.p-ic .ic { width: 18px; height: 18px; }
.p-t { flex: 1; min-width: 0; }
.p-t b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.1px; color: #fff; }
.p-t span { display: block; margin-top: 1px; font-size: 11.5px; color: #cbd5e1; }
.p-go { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .08); }
.p-go .ic { width: 11px; height: 11px; }

/* the stop */
.stopcap { padding: 14px 16px 0; background: linear-gradient(rgba(56, 19, 26, .97), rgba(11, 15, 25, .94) 75%); box-shadow: inset 0 0 0 1px rgba(239, 68, 68, .85); }
/* the card's red light is one fixed haze behind the chat (.stop-haze), not a glow on the card: the card's row and
   the chat both clip, so anything drawn round the card itself is cut off at its corners */
.stop-haze { position: absolute; inset: 0; z-index: 9; pointer-events: none; opacity: 0; transition: opacity .6s ease;
  background: radial-gradient(ellipse 66% 31% at 50% 59%, rgba(239, 68, 68, .12) 60%, rgba(239, 68, 68, 0)); }
.screen.carded .stop-haze { opacity: 1; }
.stop-title { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; letter-spacing: .3px; color: #fca5a5; }
.stop-title .ic { width: 18px; height: 18px; }
.stop-words { margin-top: 9px; padding-bottom: 14px; font-size: 15.5px; font-weight: 600; line-height: 22px; color: #fff; }
.stop-words .w { display: none; }
.stop-words .w.on { display: inline; opacity: 1; transition: opacity .25s ease; }
@starting-style { .stop-words .w.on { opacity: 0; } }
/* the app's search for a technician, between the words and the lock */
.grow { display: grid; grid-template-rows: 0fr; margin: 0 -16px; transition: grid-template-rows .38s var(--ease-app); }
.grow > div { min-height: 0; overflow: hidden; }
.screen.tech .g-tech, .screen.locked .g-lock { grid-template-rows: 1fr; }
.stop-tech { display: grid; gap: 6px; padding: 12px 16px 13px; border-top: 1px solid rgba(239, 68, 68, .35); opacity: 0; transition: opacity .45s ease; }
.screen.tech .stop-tech { opacity: 1; }
.tech-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 12px; font-size: 14px; font-weight: 700; color: #f1f5f9; background: rgba(241, 245, 249, .06); box-shadow: inset 0 0 0 1px rgba(241, 245, 249, .28); }
.tech-btn .ic { width: 18px; height: 18px; }
.tech-cap { text-align: center; font-size: 12px; line-height: 1.4; color: #8494ab; }
.stop-lock { position: relative; display: flex; align-items: center; gap: 8px; padding: 12px 16px 13px; font-size: 13px; font-weight: 700; letter-spacing: .2px; color: #fca5a5; opacity: 0; transition: opacity .45s ease .15s; }
.stop-lock::before { content: ''; position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: rgba(239, 68, 68, .35); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease-app); }
.stop-lock .ic { width: 17px; height: 17px; }
.screen.locked .stop-lock { opacity: 1; }
.screen.locked .stop-lock::before { transform: none; }

/* ---------- Live */
.live { position: absolute; inset: 0; z-index: 28; background: #000; opacity: 0; transform: scale(1.04); transition: opacity .25s linear, transform .6s var(--ease-app); pointer-events: none; }
.screen.live-on .live { opacity: 1; transform: none; }
.live > :not(.live-edge) { opacity: 0; transition: opacity .45s ease .2s; }
.screen.live-on .live > :not(.live-edge) { opacity: 1; }
.screen:not(.live-on) .live > * { content-visibility: hidden; }
.screen:not(.live-on) .live-cam { animation-play-state: paused; } /* the camera's drift holds still while Live is closed */
.live-cam { position: absolute; inset: -14px; background-size: cover; background-position: center; animation: hand 9s ease-in-out infinite alternate; }
@keyframes hand { 0% { transform: translate(-3px, 2px) rotate(-.25deg) scale(1.02); } 33% { transform: translate(2px, -2px) rotate(.2deg) scale(1.03); } 66% { transform: translate(-1px, 3px) rotate(-.1deg) scale(1.025); } 100% { transform: translate(3px, -1px) rotate(.25deg) scale(1.035); } }
.live-edge { position: absolute; inset: 0; pointer-events: none; opacity: .35; transition: opacity .6s ease; will-change: opacity; }
/* the guide's light round the screen's edge: soft colour bands, no blur, cheap to draw */
.live-edge i { position: absolute; display: block; }
.live-edge i:nth-child(1) { inset: 0 0 auto 0; height: 130px; background: linear-gradient(90deg, #4c8df6, #a855f7 38%, #22d3ee 70%, #fb923c); -webkit-mask-image: linear-gradient(#000, rgba(0, 0, 0, .35) 30%, transparent); mask-image: linear-gradient(#000, rgba(0, 0, 0, .35) 30%, transparent); opacity: .7; }
.live-edge i:nth-child(2) { inset: 0 auto 0 0; width: 46px; background: linear-gradient(#4c8df6, #22d3ee 45%, rgba(251, 146, 60, .6)); -webkit-mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, .3) 35%, transparent); mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, .3) 35%, transparent); opacity: .6; }
.live-edge i:nth-child(3) { inset: 0 0 0 auto; width: 46px; background: linear-gradient(#fb923c, #a855f7 45%, rgba(34, 211, 238, .6)); -webkit-mask-image: linear-gradient(270deg, #000, rgba(0, 0, 0, .3) 35%, transparent); mask-image: linear-gradient(270deg, #000, rgba(0, 0, 0, .3) 35%, transparent); opacity: .6; }
.live-edge::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .55)); }
.screen.speaking .live-edge { opacity: 1; }
.live-fade { position: absolute; inset: auto 0 0 0; height: 340px; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .55) 50%, rgba(0, 0, 0, .85)); }
.live-session { position: absolute; left: 16px; top: 48px; height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 16px 0 14px; border-radius: 20px; background: rgba(11, 15, 25, .78); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font-size: 14px; }
.ls-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #34d399; }
.ls-time { font-weight: 600; font-variant-numeric: tabular-nums; }
.ls-sep { width: 1px; height: 20px; background: rgba(255, 255, 255, .18); }
.ls-name { color: #cbd5e1; font-weight: 500; }
.live-round { position: absolute; top: 46px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(11, 15, 25, .78); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: #fff; }
.live-round .ic { width: 20px; height: 20px; }
.live-bar { position: absolute; left: 16px; right: 16px; bottom: 112px; border-radius: 24px; padding: 14px 16px 18px; background: rgba(11, 15, 25, .86); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.lb-top { display: flex; align-items: center; gap: 12px; }
.lb-mic { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px 0 9px; border-radius: 15px; font-size: 12px; font-weight: 500; color: #cbd5e1; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.lb-mic .ic { width: 16px; height: 16px; }
.lb-wave { flex: 1; display: flex; align-items: center; gap: 3.5px; height: 28px; }
.lb-wave i { width: 3.5px; height: 23px; border-radius: 2px; background: rgba(122, 167, 248, .5); transform: scaleY(.13); transition: transform .12s linear; }
.lb-live { height: 26px; padding: 0 10px; display: grid; place-items: center; border-radius: 13px; font-size: 11.5px; font-weight: 700; letter-spacing: .8px; color: #34d399; background: rgba(16, 185, 129, .16); box-shadow: inset 0 0 0 1px rgba(16, 185, 129, .55); }
.lb-cap { margin-top: 14px; min-height: 46px; font-size: 16.5px; font-weight: 500; line-height: 23px; color: rgba(255, 255, 255, .95); }
.lb-cap.idle { color: rgba(255, 255, 255, .45); font-weight: 400; font-size: 15px; }
.lb-cap .w { opacity: 0; transition: opacity .18s linear; }
.lb-cap .w.on { opacity: 1; }
.live-ctl { position: absolute; left: 70px; right: 70px; bottom: 44px; height: 58px; border-radius: 29px; display: flex; align-items: center; justify-content: space-between; padding: 0 30px; background: rgba(11, 15, 25, .78); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.live-ctl .ic { width: 24px; height: 24px; }
.lc-torch { color: #fde68a; }
.lc-cam { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(16, 185, 129, .92); color: #04120c; }
.lc-pause { color: #cbd5e1; }

/* ----------------------------------------------------------------- statement */
.statement { position: relative; z-index: 1; }
.statement-pin { position: relative; isolation: isolate; overflow: clip; display: grid; padding: clamp(150px, 19vw, 280px) var(--gutter) clamp(40px, 6vw, 80px); }
.statement-in { position: relative; display: grid; place-items: center; }
@media (prefers-reduced-motion: no-preference) {
  .js .statement { height: 230vh; height: 230svh; }
  /* a thumb covers ground faster than a wheel: a shorter hold on phones */
  /* (and there the line starts to rise while the story's phone is still falling back, so no screen is empty) */
  @media (max-width: 859px) { .js .statement { height: 180vh; height: 180svh; margin-top: -40vh; margin-top: -40svh; } }
  .js .statement-pin { position: sticky; top: 0; height: 100vh; height: 100svh; padding-block: 0; }
}
/* two slow lights in the sky's colours, drifting apart behind the line as it passes */
.statement-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.statement-glow i { position: absolute; top: 58%; width: min(760px, 110vw); aspect-ratio: 1; margin: calc(min(760px, 110vw) / -2) 0 0 calc(min(760px, 110vw) / -2); border-radius: 50%; }
.statement-glow i:nth-child(1) { left: 36%; background: radial-gradient(closest-side, rgba(20, 128, 152, .3), rgba(20, 128, 152, .08) 52%, transparent); }
.statement-glow i:nth-child(2) { left: 64%; background: radial-gradient(closest-side, rgba(79, 70, 229, .26), rgba(79, 70, 229, .07) 52%, transparent); }
.statement-text { font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 1.2rem + 3.9vw, 5.2rem); line-height: 1.08; letter-spacing: -.02em; text-align: center; max-width: 17ch; text-wrap: balance; color: var(--ink); }


/* ----------------------------------------------------------------- safety */
/* clip, not hidden: hidden would make the section a scroller and the stop could not pin */
.safety { position: relative; margin-top: -10vh; margin-top: -10svh; padding-block: clamp(64px, 6vw, 96px) clamp(48px, 5vw, 72px); text-align: center; overflow: clip; isolation: isolate; }
.safety-glow { position: absolute; left: 50%; top: 58%; width: min(1100px, 140vw); height: 900px; translate: -50% -50%; z-index: -1; background: radial-gradient(closest-side, rgba(239, 68, 68, .28), rgba(239, 68, 68, .08) 45%, transparent 75%); opacity: 0; transform: scale(.85); transition: opacity 1.6s ease .4s, transform 2.2s var(--ease-out) .4s; }
.safety.is-dim .safety-glow { opacity: 1; transform: none; }
.safety-head { display: grid; justify-items: center; }
.safety-head .lede { margin-top: 26px; max-width: 40ch; font-size: clamp(1.03rem, .98rem + .22vw, 1.15rem); }
.safety-stage { position: relative; margin-top: clamp(32px, 4vw, 64px); display: grid; justify-items: center; align-items: start; }
.safety-stage .phone-tilt { transform-origin: 50% 100%; }
.stop-fade > .phone-mount { margin-inline: auto; } /* centred under its label, which can be the wider of the two on a short phone */
@media (prefers-reduced-motion: no-preference) {
  .js .safety-stage { height: 275vh; height: 275svh; }
  .js .stop-fade { position: sticky; top: max(calc(var(--nav-h) + 12px), calc(var(--nav-h) / 2 + (100svh - var(--ph, 864px) * var(--s, .8)) / 2)); }
}
.safety-notes { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(32px, 6vw, 96px); max-width: 920px; text-align: left; }
.safety-notes p { font-size: var(--fs-body); line-height: 1.6; color: var(--ink-2); padding-top: 18px; border-top: 1px solid var(--rule); text-wrap: balance; }
.safety-notes b { color: var(--ink); font-weight: 500; }
@media (max-width: 700px) { .safety-notes { grid-template-columns: 1fr; } }
/* on phones the notes stand centred under the phone, like the heading above it */
@media (max-width: 859px) { .safety-notes p { text-align: center; } }
/* the safety heading comes up as the brand line leaves, with no empty screen between */
@media (prefers-reduced-motion: no-preference) { .js .safety { margin-top: -33vh; margin-top: -33svh; } }
/* (on phones the heading waits until the line has gone, so the two never share the screen) */
@media (max-width: 859px) and (prefers-reduced-motion: no-preference) { .js .safety { margin-top: -16vh; margin-top: -16svh; } }
@media (prefers-reduced-motion: reduce) {
  .nav-dot, .safety-glow, .rail b, .rail b::before, .qa-a, .qa-a p, .machine canvas { transition-duration: .01ms !important; }
  .safety-glow { transform: none; }
  .statement-glow i { top: 46%; width: min(440px, 90vw); margin: calc(min(440px, 90vw) / -2) 0 0 calc(min(440px, 90vw) / -2); }
  .statement-pin { padding-bottom: clamp(72px, 9vw, 140px); }
  .safety { margin-top: 0; }
}
/* wide screens: the two notes stand either side of the stop's phone while it plays, the first as the
   stop begins, the second with the lock; elsewhere they follow the phone */
@media (min-width: 960px) and (min-height: 620px) and (prefers-reduced-motion: no-preference) {
  .js .safety-notes { position: relative; z-index: 1; height: 275svh; margin-top: -275svh; max-width: none; grid-template-columns: minmax(0, 1fr) calc(min((100svh - 64px) * .4271, 389px) + 88px) minmax(0, 1fr); gap: 0; pointer-events: none; }
  .js .safety-notes p { grid-row: 1; align-self: start; position: sticky; top: calc(50svh - 40px); max-width: 22ch; pointer-events: auto; transition: opacity .45s ease, transform .6s var(--ease-out) !important; }
  .js .safety-notes p:first-child { grid-column: 1; justify-self: end; text-align: right; }
  .js .safety-notes p:last-child { grid-column: 3; justify-self: start; }
  .js .safety-notes p:not(.on) { opacity: 0 !important; transform: translate3d(0, 14px, 0) !important; }
}

/* ----------------------------------------------------------------- machines */
/* Pinned, the gallery travels sideways while the page scrolls down. Without script or with
   reduced motion it is a plain grid. */
.machines { padding-top: clamp(32px, 3vw, 48px); }
.machines-sticky { container-type: inline-size; }
.machines-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.machines .h2 { max-width: none; font-size: clamp(2rem, 1rem + 2.4vw, 3.6rem); }
.machines-count { flex: none; font-family: var(--serif); font-size: clamp(1.3rem, 1rem + .9vw, 1.9rem); line-height: 1; color: var(--ink-3); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; padding-bottom: .3em; }
.machines-count b { font-weight: 400; color: var(--ink); margin-right: .3em; }
.machines-sticky { --edge: max(var(--gutter), (100cqw - var(--wrap)) / 2); }
.machine-track { --gap: clamp(14px, 1.5vw, 22px); --pw: min(calc((100cqw - 2 * var(--edge) - 2 * var(--gap)) / 3), calc((100svh - 356px) * .8)); display: flex; gap: var(--gap); padding-inline: var(--edge); }
.machine { flex: none; display: grid; align-content: start; gap: 16px; }
.machine-frame { position: relative; aspect-ratio: 4 / 5; transform-origin: 50% 100%; border-radius: 24px; overflow: hidden; background: radial-gradient(120% 90% at 50% 40%, #121317, #08090b 70%); box-shadow: inset 0 0 0 1px var(--rule), inset 0 1px 0 rgba(255, 255, 255, .07); }
/* a pool of the print's own light behind the exposure: warm for the machines that heat or turn, cool for water and cold */
.machine-frame::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 46%, rgba(255, 186, 110, .1), transparent 70%); pointer-events: none; }
.machine-frame[data-tone='cool']::before { background: radial-gradient(60% 50% at 50% 46%, rgba(196, 232, 255, .09), transparent 70%); }
.machine-frame[data-tone='white']::before { background: radial-gradient(60% 50% at 50% 50%, rgba(236, 242, 255, .07), transparent 70%); }
.machine canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s ease; }
.machine canvas.on { opacity: 1; }
.machine-cap { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; padding-inline: 4px; }
.machine-n { grid-row: 1 / span 2; padding-top: .3em; font-size: var(--fs-label); font-weight: 500; letter-spacing: .06em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.machine h3 { font-size: clamp(1.04rem, .8rem + .45vw, 1.3rem); font-weight: 500; letter-spacing: -.01em; line-height: 1.35; }
.machine p { margin-top: 2px; font-size: clamp(.92rem, .75rem + .3vw, 1.08rem); line-height: 1.45; color: var(--ink-3); text-wrap: balance; }
.machines-count, .machines-foot { display: none; }
@media (max-width: 480px) { .machines-head { flex-wrap: wrap; row-gap: 16px; } }
.machines-progress { display: block; position: relative; height: 1px; background: var(--rule); overflow: hidden; }
.machines-progress i { position: absolute; inset: 0; background: rgba(242, 244, 247, .6); transform-origin: 0 50%; transform: scaleX(0); }

/* the static grid: no script, or reduced motion */
.machines-rail { margin-top: clamp(40px, 5vw, 64px); }
.machine-track { flex-wrap: wrap; row-gap: 40px; justify-content: center; }
.machine { width: calc((100% - 2 * var(--gap)) / 3); }
@media (max-width: 859px) { .machine { width: calc((100% - var(--gap)) / 2); } }

@media (prefers-reduced-motion: no-preference) and (min-height: 620px) and (min-width: 860px) {
  .js .machines:not(.no-pin) .machines-pin { height: calc(100vh + var(--travel, 0px)); height: calc(100svh + var(--travel, 0px)); }
  .js .machines:not(.no-pin) { padding-top: 0; }
  .js .machines:not(.no-pin) .machines-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; padding-top: calc(var(--nav-h) + clamp(22px, 5vh, 60px)); padding-bottom: clamp(20px, 3.6vh, 40px); overflow: hidden; }
  .js .machines:not(.no-pin) .machines-rail { position: relative; margin-top: 0; display: flex; align-items: center; min-height: 0; }
  /* a print that is half off the screen fades into the page instead of being cut, so no half word shows at the
     edges; a mask, not a painted veil, so the page shows through as it is (dimmed after the stop, or not) */
  .js .machines:not(.no-pin) .machines-rail { --fade: 48px; padding-block: 40px; margin-block: -40px; pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent calc(var(--edge) - var(--fade)), #000 var(--edge), #000 calc(100% - var(--edge)), transparent calc(100% - var(--edge) + var(--fade)));
    mask-image: linear-gradient(90deg, transparent calc(var(--edge) - var(--fade)), #000 var(--edge), #000 calc(100% - var(--edge)), transparent calc(100% - var(--edge) + var(--fade))); }
  .js .machines:not(.no-pin) .machine-track { flex-wrap: nowrap; width: max-content; }
  @media (max-width: 599px) { .js .machines:not(.no-pin) .machines-rail { --fade: 14px; } }
  .js .machines:not(.no-pin) .machine { width: max(150px, var(--pw)); }
  .js .machines:not(.no-pin) .machines-count, .js .machines:not(.no-pin) .machines-foot { display: block; }
}
/* short laptops: the captions a little smaller, and the seventh without its last line, so the last rest fits */
@media (prefers-reduced-motion: no-preference) and (min-width: 860px) and (min-height: 620px) and (max-height: 700px) {
  .js .machines:not(.no-pin) .machine p { font-size: .9rem; line-height: 1.38; }
  .js .machines:not(.no-pin) .machine p .cap-line { display: none; }
}
/* phones: the machines are a list you scroll down, each print beside its name (owner, 3 October: a gallery that
   moved sideways while the page went down was not obvious on a phone) */
@media (max-width: 599px) {
  .machines-rail { margin-top: 32px; }
  .machine-track { flex-direction: column; flex-wrap: nowrap; row-gap: 18px; }
  .machine { width: 100%; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); align-items: center; column-gap: 18px; }
  .machine-frame { border-radius: 18px; }
  .machine-cap { padding-inline: 0; }
  .machine p { text-wrap: pretty; }
}
@media (max-width: 859px) and (prefers-reduced-motion: no-preference) {
  .js .machine { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
  .js .machine.is-in { opacity: 1; transform: none; }
}

/* ----------------------------------------------------------------- pricing */
.pricing { padding-block: clamp(72px, 9vw, 128px); }
.pricing-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.free .h2 { max-width: 11ch; }
.free-terms { margin: 24px 0 36px; font-size: clamp(1.03rem, .98rem + .22vw, 1.15rem); line-height: 1.55; color: var(--ink-2); max-width: 30ch; text-wrap: balance; }
.plans-stage { perspective: 1600px; transform-origin: 50% 100%; }
.plans { position: relative; overflow: hidden; border-radius: 24px; background: linear-gradient(var(--bg-up), #0c0d10); box-shadow: inset 0 0 0 1px var(--rule), inset 0 1px 0 rgba(255, 255, 255, .05); padding: 28px clamp(20px, 3vw, 36px) 30px; }
/* a soft light that follows the pointer across the card */
.plans-sheen { position: absolute; left: 0; top: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; background: radial-gradient(closest-side, rgba(141, 180, 250, .07), rgba(141, 180, 250, .02) 55%, transparent); opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.plans.is-lit .plans-sheen { opacity: 1; }
.plans-lead { font-size: var(--fs-ui); font-weight: 500; color: var(--ink-3); }
.plan-list { margin-top: 10px; }
.plan { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 20px; padding: 20px 0; }
.plan-name, .plan-price { display: contents; }
.plan-name b, .plan-name span { grid-column: 1; }
.plan-price b, .plan-price span { grid-column: 2; justify-self: end; text-align: right; }
.plan-name b, .plan-price b { grid-row: 1; }
.plan-name span, .plan-price span { grid-row: 2; }
.plan + .plan { border-top: 1px solid var(--rule); }
.plan-name b { display: block; font-size: var(--fs-body); font-weight: 600; letter-spacing: -.01em; }
.plan-name span { display: block; margin-top: 3px; color: var(--ink-2); font-size: var(--fs-ui); line-height: 1.45; text-wrap: balance; }
.plan-price b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.85rem; letter-spacing: -.01em; line-height: 1; font-variant-numeric: lining-nums; }
.plan-price span { display: block; margin-top: 6px; font-size: var(--fs-small); color: var(--ink-3); }
.plans-shared { margin-top: 0; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: var(--fs-ui); line-height: 1.6; text-wrap: pretty; }
.plans-fine { margin-top: 12px; color: var(--ink-3); font-size: var(--fs-small); line-height: 1.5; text-wrap: balance; }
.plans-fine span, .machine p .cap-line { display: block; } /* one sentence a line, so none is left stranded at a line end */
@media (max-width: 859px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- faq */
.faq { padding-block: clamp(64px, 7vw, 112px) clamp(80px, 9vw, 128px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq .h2 { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq-list { border-bottom: 1px solid var(--rule); }
.qa { border-top: 1px solid var(--rule); }
.qa h3 { font-size: inherit; font-weight: inherit; }
.qa button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left; padding: 24px 0; font-size: 1.14rem; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.qa button i { position: relative; flex: none; width: 14px; height: 14px; }
.qa button i::before, .qa button i::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 1.6px; border-radius: 1px; background: var(--ink-2); transition: transform .4s var(--ease-out); }
.qa button i::after { transform: rotate(90deg); }
.qa button[aria-expanded='true'] i::after { transform: rotate(0deg); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.qa-a > div { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s .45s; }
.qa.open .qa-a > div { visibility: visible; transition: visibility 0s; }
.qa-a p { padding: 0 48px 26px 0; color: var(--ink-2); font-size: 1.04rem; line-height: 1.65; max-width: 60ch; text-wrap: pretty; opacity: 0; transform: translateY(-6px); transition: opacity .35s ease, transform .45s var(--ease-out); }
.qa.open .qa-a { grid-template-rows: 1fr; }
.qa.open .qa-a p { opacity: 1; transform: none; }
@media (max-width: 859px) { .faq-grid { grid-template-columns: 1fr; } .faq .h2 { position: static; } }

/* ----------------------------------------------------------------- close */
.close { position: relative; display: grid; justify-items: center; text-align: center; padding: clamp(96px, 11vw, 168px) var(--gutter) clamp(64px, 7vw, 104px); overflow: hidden; isolation: isolate; border-top: 1px solid var(--rule); }
.close-glow { position: absolute; left: 50%; top: 30%; width: 900px; height: 700px; translate: -50% -50%; z-index: -1; background: radial-gradient(closest-side, rgba(56, 189, 248, .13), rgba(76, 141, 246, .06) 50%, transparent 80%); }
.emblem { width: 240px; height: 240px; }
.close .h2 { margin-top: 24px; max-width: 19ch; }
.close .play { margin-top: 30px; }
.close-note { margin-top: 20px; font-size: var(--fs-small); color: var(--ink-3); }
/* on phones the emblem's canvas already carries air above its rings, so the gap after the questions is kept short */
@media (max-width: 859px) { .faq { padding-bottom: 56px; } .close { padding-top: 48px; } }

/* ----------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--rule); padding-block: 44px 56px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.foot-links a { font-size: var(--fs-small); color: var(--ink-2); transition: color .2s ease; }
.foot-links a:hover { color: var(--ink); }
.foot-fine { margin-top: 36px; display: grid; gap: 8px; }
.foot-fine p { font-size: var(--fs-label); line-height: 1.55; color: var(--ink-3); max-width: 90ch; }

/* ----------------------------------------------------------------- reveals (only with script, only with motion) */
@media (prefers-reduced-motion: no-preference) {
  /* the first second: pure CSS, so the headline never waits on a script */
  .js .hero .wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
  .js .hero .wd > span { display: inline-block; animation: wordUp 1.05s var(--ease-out) both; animation-delay: calc(.08s + var(--i) * 46ms); }
  .js [data-intro] { animation: riseIn .95s var(--ease-out) both; animation-delay: var(--d, 0s); }
  .js .nav { animation: fadeIn .9s ease .05s both; }
  .js .stage-device .phone-mount { animation: phoneIn 1.6s var(--ease-out) .18s both; }
  .js .stage-device .spill { animation: spillIn 2.2s var(--ease-out) .5s both; }

  /* everything else rises when it scrolls in */
  .js [data-rise] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
  .js [data-rise].is-in { opacity: 1; transform: none; }
  .js [data-fade] { opacity: 0; transition: opacity .8s var(--ease-out); transition-delay: var(--d, 0s); }
  .js [data-fade].is-in { opacity: 1; }
  .js [data-split] .wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
  .js [data-split] .wd > span { display: inline-block; transform: translateY(130%); transition: transform .7s var(--ease-out); transition-delay: calc(var(--d, 0s) + var(--i) * 30ms); }
  .js [data-split].is-in .wd > span { transform: none; }
}
@keyframes wordUp { from { transform: translateY(55%); opacity: 0; } 25% { opacity: 1; } } /* each word is on the screen within a quarter of its rise, so the headline paints at once */
@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes phoneIn { from { opacity: 0; transform: translateY(46px) scale(.97); } }
@keyframes spillIn { from { opacity: 0; } to { opacity: .62; } }
/* if the script never runs, nothing stays hidden */
.reveal-all [data-rise], .reveal-all [data-fade], .reveal-all .machine { opacity: 1 !important; transform: none !important; }
html.js.reveal-all .safety-notes p { opacity: 1 !important; transform: none !important; }
.reveal-all [data-split] .wd > span { transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .live-dot::after, .ls-dot::after { animation: none; display: none; }
  .live-cam { animation: none; }
  .think-chip::after { animation: none; }
}

/* the share card: the hero, without the page's furniture (/?og) */
.og .nav-links, .og .nav .btn, .og .link-arrow { display: none; }
.og .hero .lede { max-width: 32ch; }
.og .hero-note { display: none; }
