/* Virtalk — site stylesheet. One file, no build step, no external fonts or scripts.
   The rules behind it are written down in DESIGN.md; read that before adding to this.
   Three surfaces: night, daylight tone, paper. Photographs carry the rooms. The only drawn device
   is the live demo station, in the product's own station palette (client/src/styles/themes.css). */

:root {
  --night: #0a0a0c;
  --white: #f6f4ef;
  --paper: #f6f4ef;
  --warm: #e5e0d9;
  --cool: #e4e8eb;
  --ink: #15140f;
  --ink-2: #45433b;
  --ink-3: #5f5c53;

  --key: #ffc933;            /* the talk key: the one loud colour on the page */
  --key-hi: #ffdc5e;
  --key-edge: #a87708;
  --key-ink: #15130c;

  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Roboto Mono", Menlo, monospace;

  --gut: clamp(22px, 6.6vw, 96px);
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* surface roles: daylight by default, flipped by .night */
  --bg: var(--paper);
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --fg-3: var(--ink-3);
  --line: rgba(21, 20, 15, .16);
  --line-2: rgba(21, 20, 15, .46);
  --raise: rgba(21, 20, 15, .05);
  --cast: rgba(70, 50, 0, .42);
  --ok: #157a44;
  --bad: #a8281c;
}
.night {
  --bg: var(--night);
  --fg: var(--white);
  --fg-2: rgba(246, 244, 239, .74);
  --fg-3: rgba(246, 244, 239, .54);
  --line: rgba(246, 244, 239, .16);
  --line-2: rgba(246, 244, 239, .42);
  --raise: rgba(246, 244, 239, .055);
  --cast: rgba(0, 0, 0, .7);
  --ok: #4ade80;
  --bad: #ff9a85;
  background: var(--bg); color: var(--fg);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); background: var(--night); }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: var(--line-2); }
a:hover { text-decoration-color: currentColor; }
b, strong { font-weight: 650; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--key); color: var(--key-ink); }

.wrap { width: min(100% - var(--gut) * 2, 1440px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 60; padding: 10px 14px; background: var(--key); color: var(--key-ink); border-radius: 8px; }
.skip:focus { left: 8px; }
.cfg-todo { outline: 1.5px dashed #8a5a00; outline-offset: 1px; background: #fff3c9; color: #4a3200; border-radius: 3px; padding: 0 3px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
h1 { font-weight: 720; font-size: clamp(36px, 4.4vw, 76px); line-height: 1.03; letter-spacing: -.036em; }
h2 { font-weight: 720; font-size: clamp(29px, 2.9vw, 50px); line-height: 1.06; letter-spacing: -.032em; }
h3 { font-weight: 650; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.22; letter-spacing: -.015em; }
.lede { max-width: 34em; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: var(--fg-2); text-wrap: pretty; }
.small { font-size: 14.5px; line-height: 1.55; color: var(--fg-3); }
.textlink { text-decoration: underline; }

/* the kicker: a number when the section is a beat, a rule, a label */
.k { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(18px, 2.6vh, 28px); font: 650 12.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.k i { font-style: normal; font-variant-numeric: tabular-nums; opacity: .55; }
.k::after { content: ""; flex: none; order: 1; width: 44px; height: 1px; background: currentColor; opacity: .3; }
.k span { order: 2; }

/* ---------- nav ---------- */
.progress { position: fixed; inset: 0 0 auto 0; z-index: 41; height: 2px; background: var(--key); transform: scaleX(var(--sp, 0)); transform-origin: 0 50%; pointer-events: none; }
.nav { position: absolute; inset: 0 0 auto 0; z-index: 40; color: var(--white); transition: background .4s ease, color .3s ease, -webkit-backdrop-filter .4s ease, backdrop-filter .4s ease; }
.live .nav { position: fixed; }
.nav[data-tone=light] { color: var(--ink); }
.nav.solid { color: var(--white); background: rgba(10, 10, 12, .9); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); }
.nav-row { --gap: clamp(20px, 3vw, 44px); display: flex; align-items: center; gap: var(--gap); height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; font: 650 20px/1 var(--display); letter-spacing: -.02em; text-decoration: none; }
.brand svg { width: 25px; height: 25px; }
.brand .m-body { fill: currentColor; }
.brand .m-ring { fill: none; stroke: #c98a12; stroke-width: 2.5; }
.brand .m-dot { fill: var(--night); }
.nav[data-tone=light]:not(.solid) .brand .m-ring { stroke: var(--key); }
.nav[data-tone=light]:not(.solid) .brand .m-dot { fill: #fff; }
.nav-links { display: flex; gap: clamp(20px, 3vw, 44px); }
.nav-links a { font-size: 15px; text-decoration: none; opacity: .76; white-space: nowrap; transition: opacity .2s ease; }
.nav-links a:hover, .nav-links a[aria-current=page] { opacity: 1; }
.nav-links a[aria-current=page] { text-decoration: underline; text-underline-offset: .5em; text-decoration-color: var(--key); text-decoration-thickness: 2px; }
.nav-cta { display: inline-flex; align-items: center; min-height: 38px; max-width: 0; margin-left: calc(var(--gap) * -1); padding: 0; overflow: hidden; white-space: nowrap; border-radius: 999px; background: var(--key); color: var(--key-ink); font: 650 14.5px/1 var(--sans); text-decoration: none; opacity: 0; visibility: hidden; transition: opacity .3s ease, max-width .35s ease, margin .35s ease, padding .35s ease, visibility 0s .35s; }
.nav.solid .nav-cta { max-width: 180px; margin-left: 0; padding: 0 18px; opacity: 1; visibility: visible; transition-delay: 0s; }

/* ---------- the talk key, and the two quiet buttons beside it ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 60px; padding: 0 30px; border: 0; border-radius: 16px; font: 700 18px/1 var(--sans); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .15s ease, color .15s ease; }
.btn-key { background: linear-gradient(180deg, var(--key-hi), var(--key) 62%); color: var(--key-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 5px 0 var(--key-edge), 0 18px 34px -10px var(--cast); }
.btn-key:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 6px 0 var(--key-edge), 0 22px 38px -10px var(--cast); }
.btn-key:active { transform: translateY(4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 1px 0 var(--key-edge), 0 8px 18px -8px var(--cast); }
.btn-ink { background: var(--fg); color: var(--bg); }
.btn-ink:hover { opacity: .88; }
.btn-ghost { background: none; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--fg); }
.btn-sm { min-height: 44px; padding: 0 18px; border-radius: 12px; font-size: 15px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.cta-note { font-size: 16.5px; color: var(--fg-2); text-decoration: none; }
.cta-note b { color: var(--fg); }
a.cta-note:hover { color: var(--fg); }
.go { display: inline-block; font-weight: 650; text-decoration: underline; text-underline-offset: .3em; }
.go::after { content: "\2192"; display: inline-block; margin-left: .4em; transition: transform .2s var(--ease); }
.go:hover::after { transform: translateX(4px); }

/* ---------- hero: one photograph, one sentence, one key ---------- */
.hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
.hero-media::before { content: ""; position: absolute; inset: 0 38% 0 0; z-index: 1; background: linear-gradient(0deg, rgba(8, 8, 10, .96) 0%, rgba(8, 8, 10, .88) 50%, rgba(8, 8, 10, .4) 78%, rgba(8, 8, 10, .2) 100%); -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 40%, rgba(0, 0, 0, .42) 76%, rgba(0, 0, 0, .08) 90%, transparent 100%); mask-image: linear-gradient(90deg, #000 0%, #000 40%, rgba(0, 0, 0, .42) 76%, rgba(0, 0, 0, .08) 90%, transparent 100%); }
.hero-media::after { content: ""; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(180deg, rgba(8, 8, 10, .58) 0%, rgba(8, 8, 10, 0) 18%),
  linear-gradient(0deg, rgba(8, 8, 10, .8) 0%, rgba(8, 8, 10, 0) 22%); }
.hero-copy { position: relative; padding-bottom: clamp(56px, 12.5vh, 136px); }
.hero h1 { font-size: clamp(40px, 4.9vw, 92px); line-height: 1.02; letter-spacing: -.038em; text-shadow: 0 2px 28px rgba(0, 0, 0, .55); }
.hero h1 span { display: block; }
.hero-sub { max-width: 27.5em; margin-top: clamp(18px, 2.8vh, 28px); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: var(--fg-2); text-wrap: pretty; }
.hero .cta { margin-top: clamp(26px, 4.2vh, 42px); }
.cue { position: absolute; left: 50%; bottom: 0; width: 1px; height: 54px; background: linear-gradient(180deg, rgba(246, 244, 239, 0), rgba(246, 244, 239, .6)); transform-origin: 50% 0; }

/* ---------- beats: a room in daylight, its sentence on the quiet side of the frame ---------- */
.beat { position: relative; display: flex; align-items: center; min-height: min(100vh, 62.5vw); min-height: min(100svh, 62.5vw); overflow: hidden; background: var(--tone); color: var(--fg); }
.beat-warm { --tone: var(--warm); --tone-rgb: 229, 224, 217; --f1: 36%; --f2: 43%; --f3: 50%; }
.beat-cool { --tone: var(--cool); --tone-rgb: 228, 232, 235; --f1: 41%; --f2: 46%; --f3: 51%; }
.beat-night { --tone: var(--night); --tone-rgb: 10, 10, 12; }
.beat-media { position: absolute; inset: 0; }
.beat-media img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
.beat-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(var(--tone-rgb)) 0%, rgb(var(--tone-rgb)) var(--f1), rgba(var(--tone-rgb), .68) var(--f2), rgba(var(--tone-rgb), 0) var(--f3)); }
.beat-night .beat-media::after { background: linear-gradient(90deg, rgba(var(--tone-rgb), .94) 0%, rgba(var(--tone-rgb), .8) 30%, rgba(var(--tone-rgb), 0) 56%); }
.beat-copy { position: relative; width: 100%; }
.beat-in { max-width: min(30rem, 34vw); }
.beat h1 { font-size: clamp(34px, 3.5vw, 64px); }
.beat h2 { font-size: clamp(31px, 3.2vw, 58px); line-height: 1.05; letter-spacing: -.034em; }
.beat h2 span { display: block; }
.beat-p { max-width: 25em; margin-top: clamp(16px, 2.4vh, 24px); font-size: clamp(17px, 1.3vw, 19.5px); line-height: 1.55; color: var(--fg-2); text-wrap: pretty; }
.beat .go, .beat .cta { margin-top: clamp(22px, 3.4vh, 34px); }
/* a light hero keeps the nav legible wherever the photograph goes dark behind it */
.beat-hero .beat-media::before { content: ""; position: absolute; inset: 0 0 auto 0; z-index: 1; height: 150px; background: linear-gradient(180deg, rgba(var(--tone-rgb), .9) 0%, rgba(var(--tone-rgb), .62) 44%, rgba(var(--tone-rgb), 0) 100%); }
.beat-hero .beat-copy { padding: calc(var(--nav-h) + 12px) 0 28px; }

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 9.5vw, 150px) 0; background: var(--bg); color: var(--fg); }
.sec:not(.night) + .sec:not(.night) { border-top: 1px solid var(--line); }
.sec-head { max-width: 46rem; margin-bottom: clamp(34px, 4.6vw, 68px); }
.sec-head h2 + p { max-width: 36em; margin-top: 16px; font-size: clamp(17px, 1.3vw, 19.5px); line-height: 1.55; color: var(--fg-2); text-wrap: pretty; }
.sec-head h1 + .lede { margin-top: 22px; }
.stage { padding-top: clamp(56px, 6vw, 96px); }
.stage .sec-head { margin-bottom: clamp(24px, 2.6vw, 36px); }
.sec-top { padding-top: calc(var(--nav-h) + clamp(44px, 6vw, 96px)); }

/* ruled columns: a hairline, a name, a sentence */
.facts, .points, .said, .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 52px) clamp(20px, 3vw, 48px); }
.points.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.said.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li, .point, .said > div, .steps li { padding-top: 20px; border-top: 1px solid var(--line-2); }
.facts b, .point h3, .steps h3 { display: block; font: 650 clamp(18px, 1.6vw, 23px)/1.2 var(--display); letter-spacing: -.015em; }
.facts span, .point p, .said p, .steps p { display: block; margin-top: 8px; max-width: 26em; font-size: 15.5px; line-height: 1.5; color: var(--fg-2); }
.point-tag, .said-for { display: block; margin-bottom: 10px; font: 650 11.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.said q { display: block; font: 650 clamp(19px, 1.6vw, 23px)/1.25 var(--display); letter-spacing: -.015em; quotes: "\201C" "\201D"; text-wrap: balance; }
.steps { counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; margin-bottom: 10px; font: 650 12.5px/1 var(--sans); letter-spacing: .16em; font-variant-numeric: tabular-nums; color: var(--fg-3); }

.versus { border-top: 1px solid var(--line-2); }
.versus > div { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 8px 32px; align-items: baseline; padding: clamp(20px, 2.2vw, 30px) 0; border-bottom: 1px solid var(--line); }
.versus dt { font: 650 11.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.versus dd { max-width: 34em; font: 600 clamp(19px, 1.75vw, 26px)/1.32 var(--display); letter-spacing: -.016em; text-wrap: pretty; }

.notice { padding: 16px 20px; border-left: 3px solid var(--key); background: var(--raise); color: var(--fg-2); font-size: 16px; }
.notice b { color: var(--fg); }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 20px 0; font: 650 clamp(17.5px, 1.4vw, 20px)/1.3 var(--display); letter-spacing: -.012em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 26px/.8 var(--sans); color: var(--fg-3); transition: transform .15s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 40em; padding: 0 36px 22px 0; color: var(--fg-2); }

/* ---------- price ---------- */
.price { position: relative; padding: clamp(96px, 14vh, 150px) 0 clamp(72px, 10vh, 116px); background: radial-gradient(120% 90% at 82% 8%, #1a1d26 0%, var(--night) 58%); }
.night + .price { border-top: 1px solid var(--line); }
.price.is-full { display: flex; align-items: center; min-height: 100vh; min-height: 100svh; }
.price-fig { display: flex; align-items: flex-end; gap: clamp(14px, 2.2vw, 34px); }
.price-num { font: 720 clamp(124px, 22vw, 330px)/.76 var(--display); letter-spacing: -.065em; margin-left: -.045em; }
.price-per { padding-bottom: .22em; font: 600 clamp(19px, 2.5vw, 38px)/1.12 var(--display); letter-spacing: -.02em; color: var(--fg-2); }
.price-per b { display: block; font-weight: 600; color: var(--fg); }
.price-sub { max-width: 30em; margin-top: clamp(48px, 7.5vh, 76px); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: var(--fg-2); }
.price .facts { margin-top: clamp(40px, 7vh, 76px); }
.incl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); margin-top: clamp(30px, 5vh, 52px); border-top: 1px solid var(--line-2); }
.incl li { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.4; color: var(--fg-2); }
.price .cta { margin-top: clamp(36px, 6vh, 64px); }
.fine { max-width: 52em; margin-top: 26px; font-size: 14px; line-height: 1.6; color: var(--fg-3); }
.fine + .fine { margin-top: 10px; }
.fine b { color: var(--fg-2); }

/* ---------- closing band and footer ---------- */
.closing { padding: clamp(72px, 9.5vw, 140px) 0; border-top: 1px solid var(--line); }
.closing h2 { font-size: clamp(34px, 4.4vw, 76px); letter-spacing: -.036em; }
.closing p { max-width: 34em; margin-top: 16px; font-size: clamp(17px, 1.3vw, 19.5px); color: var(--fg-2); }
.closing .cta { margin-top: clamp(28px, 4vh, 40px); }
.foot { border-top: 1px solid var(--line); padding: 34px 0 44px; font-size: 14px; color: var(--fg-3); }
.foot-row { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; }
.foot-row a { text-decoration: none; }
.foot-row a:hover { color: var(--fg); }
.foot-note { max-width: 62em; margin-top: 18px; font-size: 13px; line-height: 1.55; }

/* ---------- the station: the one drawn device, used only by the live demo ---------- */
.tablet { --bz: clamp(9px, 1.2vw, 14px); --cam-y: calc(var(--bz) / 2); position: relative; isolation: isolate; padding: var(--bz); border-radius: clamp(17px, 2.3vw, 28px); }
/* the body: chamfered frame, a step down to the glass, the camera. Nothing lights up outside the glass. */
.tablet::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(circle at 50% var(--cam-y), #4a586b 0 .9px, #05070a 1.3px 2.5px, rgba(255, 255, 255, .13) 2.8px 3.3px, transparent 3.7px),
    linear-gradient(158deg, #343945 0%, #191c23 26%, #101216 70%, #23272f 100%);
  box-shadow:
    inset 0 0 0 1px #4a5160, inset 0 1.5px 0 rgba(255, 255, 255, .22), inset 0 -1.5px 0 rgba(0, 0, 0, .7),
    inset 0 0 0 3px #0c0e12, inset 0 0 0 4px rgba(255, 255, 255, .055),
    0 1px 2px rgba(8, 10, 14, .55), 0 40px 64px -34px rgba(0, 0, 0, .8);
}
.st {
  --st-canvas: #0f1117; --st-panel: #171a22; --st-border: #2b303d; --st-text: #eceef4; --st-label: #9aa2b3;
  --st-ctl: #252a38; --st-ctl-border: #363c4c; --st-off: #252a38; --st-off-text: #6f778a;
  position: relative; container-type: inline-size; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 10px;
  aspect-ratio: 16 / 10; padding: clamp(12px, 1.6vw, 18px); border-radius: clamp(9px, 1.3vw, 14px); overflow: hidden;
  background: var(--st-canvas); color: var(--st-text); font-family: var(--sans); line-height: 1.2; text-align: left; box-shadow: 0 0 0 1px #000;
}
.st[data-view=shop] {
  --st-canvas: #080d16; --st-panel: #132136; --st-border: #375678; --st-text: #fff; --st-label: #bce0ff;
  --st-ctl: #152236; --st-ctl-border: #6683a7; --st-off: #24354b; --st-off-text: #acbbcc;
  padding: clamp(16px, 2.1vw, 26px);
}
.st::before {
  content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit; pointer-events: none;
  background: linear-gradient(117deg, rgba(255, 255, 255, .085) 0%, rgba(255, 255, 255, .03) 23.8%, rgba(255, 255, 255, 0) 24.1%),
    linear-gradient(297deg, rgba(255, 255, 255, .035) 0%, rgba(255, 255, 255, 0) 16%);
}
/* the waiting border is drawn inside the glass, where the real screen draws it */
.st::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; }
.st[data-st=wait]::after { box-shadow: inset 0 0 0 4px #3b82f6, inset 0 0 30px 3px rgba(59, 130, 246, .55); animation: st-ring 1.8s ease-in-out infinite; }
.st[data-view=shop][data-st=wait]::after { box-shadow: none; border: clamp(7px, 1.1vw, 13px) solid #38acff; animation: st-edge 2s ease-in-out infinite; }
@keyframes st-ring { 0%, 100% { opacity: .38; } 50% { opacity: 1; } }
@keyframes st-edge { 0%, 38% { border-color: #38acff; } 50%, 88% { border-color: #ffc746; } 100% { border-color: #38acff; } }
@keyframes st-dot { 0%, 100% { box-shadow: 0 0 0 2px rgba(59, 130, 246, .25); } 50% { box-shadow: 0 0 0 5px rgba(59, 130, 246, .4); } }

.st-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-width: 0; }
.st-name { font: 800 clamp(15px, 2vw, 22px)/1.1 var(--display); letter-spacing: -.005em; }
.st-state { display: inline-flex; align-items: center; gap: 8px; font: 700 clamp(12px, 1.4vw, 15px)/1 var(--sans); color: var(--st-label); font-variant-numeric: tabular-nums; }
.st .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
.st[data-st=wait] .dot { background: #3b82f6; animation: st-dot 1.7s ease-in-out infinite; }
.st[data-st=wait] .st-state { color: #a9c4f7; }
.st[data-view=shop][data-st=wait] .st-state { color: #ffc746; }
.st[data-view=shop][data-st=wait] .dot { background: #ffc746; box-shadow: 0 0 0 3px rgba(255, 199, 70, .25); animation: none; }
.st-state.is-heard { color: #4ade80; }
.st-ctl { display: flex; gap: 8px; margin-left: auto; }
.st-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border-radius: 8px;
  border: 1.5px solid var(--st-ctl-border); background: var(--st-ctl); color: var(--st-text); font: 700 13px/1 var(--sans); cursor: pointer;
}
.st-hold::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .35; }
.st-hold[aria-pressed=true] { background: #3e2b15; border-color: #d19b39; color: #ffdf9a; }
.st-hold[aria-pressed=true]::before { opacity: 1; }
.st-switch { position: relative; width: 30px; height: 18px; border-radius: 9px; background: #33455e; transition: background .15s; }
.st-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .15s; }
.st-es[aria-checked=true] .st-switch { background: #38acff; }
.st-es[aria-checked=true] .st-switch::after { transform: translateX(12px); }

.st-msg {
  display: grid; align-content: center; gap: 6px; min-height: 0; padding: 12px clamp(12px, 1.8vw, 20px); overflow: hidden;
  border-radius: 12px; background: var(--st-panel); box-shadow: inset 0 0 0 1px var(--st-border);
}
.st-from { font: 650 clamp(10.5px, 1.1vw, 13px)/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--st-label); }
.st-text { font: 750 clamp(19px, 2.7vw, 32px)/1.12 var(--display); letter-spacing: -.012em; overflow-wrap: anywhere; text-wrap: balance; }
.st[data-view=shop] .st-msg { text-align: center; }
.st[data-view=shop] .st-text { font-weight: 800; font-size: clamp(23px, 3.7vw, 46px); line-height: 1.05; }
.st-text.is-empty { font-weight: 600; font-size: clamp(15px, 1.7vw, 19px) !important; color: var(--st-label); letter-spacing: 0; }
.st-sub { min-height: 1.3em; font: 500 clamp(11.5px, 1.15vw, 13.5px)/1.3 var(--sans); color: var(--st-label); }
@supports (font-size: 1cqw) {
  .st-name { font-size: clamp(15px, 4cqw, 24px); }
  .st-text { font-size: clamp(18px, 5.6cqw, 36px); }
  .st[data-view=shop] .st-text { font-size: clamp(22px, 7.8cqw, 54px); }
  .st-text.is-empty { font-size: clamp(14px, 3.4cqw, 20px) !important; }
}
.st-actions { display: grid; grid-template-columns: 1fr 1.35fr; gap: 10px; }
.st-btn {
  display: flex; align-items: center; justify-content: center; gap: .4em; min-height: clamp(42px, 5vw, 56px); padding: 0 10px;
  border: 0; border-radius: 10px; font: 800 clamp(14px, 1.7vw, 19px)/1 var(--sans); cursor: pointer; touch-action: manipulation;
  background: linear-gradient(#f7f4ed, #dedad0); color: #14161b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -2px 0 rgba(0, 0, 0, .16), 0 2px 0 rgba(0, 0, 0, .45);
}
.st[data-view=shop] .st-btn { background: linear-gradient(#b7e2ff, #8fcdfa); color: #071425; }
.st .st-heard { background: linear-gradient(#2dbd6c, #16924a); color: #fff; }
.st[data-view=shop] .st-heard { background: linear-gradient(#b5f7c5, #8eeaa5); color: #06240f; }
.st .st-btn:disabled { background: var(--st-off); color: var(--st-off-text); cursor: default; box-shadow: none; }
.st .st-btn:active:not(:disabled) { filter: brightness(.86); }
.st :focus-visible, .phone :focus-visible { outline-color: #fff; }

/* ---------- the live demo: always on a night band ---------- */
.demo { min-width: 0; }
.demo:empty { min-height: 320px; }
.demo-nojs { color: var(--fg-2); }
.demo-tabs { display: inline-flex; gap: 2px; padding: 4px; margin-bottom: clamp(20px, 2.6vw, 32px); border-radius: 999px; background: var(--raise); box-shadow: inset 0 0 0 1px var(--line); }
.demo-tabs button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: none; font: 600 15px/1 var(--sans); color: var(--fg-2); cursor: pointer; transition: background .15s ease, color .15s ease; }
.demo-tabs button:hover { color: var(--fg); }
.demo-tabs button[aria-pressed=true] { background: var(--fg); color: var(--bg); }
.demo-stage { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(24px, 4.4vw, 64px); align-items: start; }
.demo-caption { margin-top: 16px; font-size: 14.5px; color: var(--fg-3); }
.demo-stepno { font: 650 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.demo-steps { display: grid; margin: 16px 0 22px; counter-reset: dstep; border-top: 1px solid var(--line); }
.demo-steps li { counter-increment: dstep; position: relative; min-height: 56px; padding: 15px 0 15px 44px; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.45; color: var(--fg-3); }
.demo-steps li::before {
  content: counter(dstep); position: absolute; left: 0; top: 13px; display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); font: 650 13px/1 var(--sans); color: var(--fg-3);
}
.demo-steps li.is-now { color: var(--fg); }
.demo-steps li.is-now::before { background: var(--key); box-shadow: none; color: var(--key-ink); }
.demo-steps li.is-done::before { content: "\2713"; background: #1f9d57; box-shadow: none; color: #fff; }

.pair { display: grid; grid-template-columns: minmax(118px, 190px) minmax(0, 1fr); gap: 18px; align-items: center; padding: 16px; border-radius: 16px; background: var(--raise); box-shadow: inset 0 0 0 1px var(--line); }
.pair-qr { aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: #fff; }
.pair-qr svg { width: 100%; height: 100%; }
.pair-qr.is-loading { background: linear-gradient(100deg, #2a2b31 40%, #3a3b42 50%, #2a2b31 60%) 0 0 / 220% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }
.pair-info { display: grid; gap: 6px; min-width: 0; }
.pair-label { font: 650 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.pair-code { font: 700 clamp(26px, 3vw, 32px)/1 var(--mono); letter-spacing: .04em; }
.pair-code.is-long { font-size: 17px; line-height: 1.3; letter-spacing: .02em; overflow-wrap: anywhere; }
.pair-url { font-size: 13px; line-height: 1.4; color: var(--fg-3); overflow-wrap: anywhere; }
.pair-url b { color: var(--fg-2); }
.pair-status { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--fg-2); }
.pair-status::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--fg-3); animation: blink 1.4s ease-in-out infinite; }
.pair-status.is-on { color: var(--ok); }
.pair-status.is-on::before { background: var(--ok); animation: none; }
@keyframes blink { 50% { opacity: .3; } }
.pair-expiry { font-size: 13px; color: var(--key); font-variant-numeric: tabular-nums; }
.pair-expiry:empty { display: none; }

.phone {
  display: grid; gap: 12px; width: min(100%, 320px); margin-inline: auto; padding: 16px; border-radius: 28px; background: #15161b; color: #eceef4;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 2px 0 rgba(255, 255, 255, .06);
}
.phone-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.phone-top b { font: 800 18px/1.1 var(--display); letter-spacing: -.015em; }
.phone-top span { font: 650 10.5px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #8a92a4; text-align: right; }
.talk {
  display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 124px; padding: 14px; border: 0; border-radius: 18px;
  background: linear-gradient(var(--key-hi), var(--key)); color: var(--key-ink); cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 5px 0 var(--key-edge);
  touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; transition: transform .06s ease, box-shadow .06s ease;
}
.talk[data-state=rec], .talk[data-state=sample], .talk[data-state=pending] { transform: translateY(4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 1px 0 var(--key-edge); }
.talk[data-state=rec] { background: linear-gradient(#ff8f77, #f2573a); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 1px 0 #8f2613; }
.talk:disabled { opacity: .6; cursor: default; }
.talk-mic svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.talk-mic rect { fill: currentColor; stroke: none; }
.talk-tx { display: grid; gap: 3px; text-align: left; }
.talk-tx b { font: 800 21px/1.1 var(--display); letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.talk-tx small { font: 600 13px/1.2 var(--sans); opacity: .75; }
.phone-hint { min-height: 2.7em; font-size: 13.5px; line-height: 1.35; color: #b4bbca; }
.phone-receipt { min-height: 36px; padding: 10px 12px; border-radius: 10px; background: #1c1e25; box-shadow: inset 0 0 0 1px #2f333f; font: 650 14px/1.2 var(--sans); color: #9aa2b3; }
.phone-receipt:empty::before { content: "The receipt shows here"; font-weight: 500; color: #7c8496; }
.phone-receipt[data-tone=played] { color: #8fb4f5; }
.phone-receipt[data-tone=heard] { background: #0f2a1b; box-shadow: inset 0 0 0 1px #1f7a46; color: #4ade80; }
.phone-links { display: flex; flex-wrap: wrap; gap: 2px 18px; }
.demo-link { padding: 6px 0; border: 0; background: none; font: 600 14px/1.3 var(--sans); color: inherit; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .22em; cursor: pointer; text-align: left; }
.demo-link:hover { text-decoration-color: currentColor; }
.demo-side > .demo-link { margin-top: 12px; color: var(--fg-2); }
.demo-note { margin-bottom: 12px; padding: 12px 14px; border-radius: 12px; background: var(--raise); font-size: 14.5px; color: var(--fg-2); }
.demo-fine { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--fg-3); }
.demo-ended { display: grid; gap: 14px; justify-items: start; padding: 20px; border-radius: 16px; background: var(--raise); box-shadow: inset 0 0 0 1px var(--line); }
.demo-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 28px; align-items: center; margin-top: clamp(32px, 4.4vw, 60px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line); transition: border-color .3s ease; }
.demo-cta-line { font: 650 clamp(19px, 1.8vw, 26px)/1.25 var(--display); letter-spacing: -.018em; text-wrap: balance; transition: color .3s ease; }
.demo-cta-fine { grid-column: 1 / -1; font-size: 13.5px; color: var(--fg-3); }
.demo-cta.is-done { border-top-color: #22c55e; }
.demo-cta.is-done .demo-cta-line { color: var(--ok); }

/* ---------- hardware ---------- */
.mounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin-top: clamp(36px, 5vw, 68px); }
.mounts img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--at, 85%) 50%; border-radius: 4px; background: var(--raise); }
.mounts figcaption { margin-top: 14px; font-size: 15px; line-height: 1.45; color: var(--fg-2); }
.mounts figcaption b { display: block; font: 650 clamp(17px, 1.4vw, 20px)/1.25 var(--display); letter-spacing: -.015em; color: var(--fg); }

.spec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.spec h3 { margin: 14px 0 12px; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.08; letter-spacing: -.03em; }
.spec p { max-width: 30em; color: var(--fg-2); }
.spec p + p { margin-top: 14px; }
.spec dl { display: grid; grid-template-columns: auto 1fr; border-top: 1px solid var(--line-2); }
.spec dt, .spec dd { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.spec dt { padding-right: 24px; font: 650 11.5px/2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); white-space: nowrap; }
.spec-note { max-width: 52em; margin-top: 28px; }

/* status marks: a dot and a word, never a filled pill */
.tag { display: inline-flex; align-items: center; gap: 8px; font: 650 11.5px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); white-space: nowrap; }
.tag::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, transparent); box-shadow: inset 0 0 0 1.5px var(--ring, transparent); }
.tag-candidate { --dot: #e2a300; }
.tag-pending { --ring: var(--fg-3); }
.tag-opt { --dot: #2f7fd8; }
.tag-no { --dot: #c0392b; }
.tag-ok { --dot: var(--ok); }

.cart { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line-2); }
.cart th, .cart td { padding: 18px 24px 18px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 16px; }
.cart thead th { padding-block: 12px; font: 650 11.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.cart tbody th { width: 24%; font: 650 17.5px/1.3 var(--display); letter-spacing: -.012em; }
.cart td:last-child { width: 1%; padding-right: 0; }
.cart td { color: var(--fg-2); }
.cart td b { color: var(--fg); }
.opts { display: grid; gap: 10px; }
.opts li { position: relative; padding-left: 18px; }
.opts li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 1px; background: var(--fg-3); }
.opts + p { margin-top: 12px; }

.checklist { display: grid; max-width: 52rem; border-top: 1px solid var(--line-2); }
.checklist label { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; padding: 15px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.checklist input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: #157a44; }
.checklist input:checked + span { color: var(--fg-3); text-decoration: line-through; text-decoration-color: var(--line-2); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.stack > * + * { margin-top: 14px; }
.stack > h3 + h3, .stack > p + h3 { margin-top: 30px; }
.stack p, .stack li { color: var(--fg-2); }
.stack p b { color: var(--fg); }
.stack ol { counter-reset: n; display: grid; gap: 10px; }
.stack ol li { counter-increment: n; position: relative; padding-left: 34px; }
.stack ol li::before { content: counter(n); position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-2); font: 650 12px/1 var(--sans); color: var(--fg-2); }

/* ---------- sign-up: email updates and the optional setup call (leads.js) ----------
   A reading section, not a card: the heading on the left, ruled fields on the right. */
.lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.lead .sec-head { position: sticky; top: calc(var(--nav-h) + 28px); margin-bottom: 0; }
.lead-body { min-width: 0; max-width: 37rem; }
.lead-nojs { color: var(--fg-2); }
.lead-form { display: grid; gap: 26px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field > label, .consents legend { font: 650 15.5px/1.35 var(--sans); color: var(--fg); }
.field-hint { font-size: 14px; line-height: 1.45; color: var(--fg-3); text-wrap: pretty; }
.field-err { font-size: 14.5px; font-weight: 600; line-height: 1.45; color: var(--bad); text-wrap: pretty; }
.field-err a { color: inherit; }
.field-act { padding: 0; border: 0; background: none; font: inherit; color: var(--fg); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; cursor: pointer; }
.input { display: block; width: 100%; min-height: 52px; margin: 0; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: 12px; background: transparent; color: var(--fg); font: 400 17px/1.3 var(--sans); -webkit-appearance: none; appearance: none; transition: border-color .15s ease; }
.input::placeholder { color: var(--fg-3); opacity: 1; }
.input:hover { border-color: var(--fg); }
.input:focus-visible { border-color: var(--fg); border-radius: 12px; outline-offset: 2px; }
.input[aria-invalid=true] { border-color: var(--bad); }
.input:-webkit-autofill { -webkit-box-shadow: inset 0 0 0 100px var(--bg); -webkit-text-fill-color: var(--fg); }
select.input { padding-right: 46px; cursor: pointer; }
select.input:required:invalid { color: var(--fg-3); }
select.input option { background: var(--bg); color: var(--fg); }
.sel { position: relative; display: block; }
.sel::after { content: ""; position: absolute; right: 19px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border: solid var(--fg-2); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; }
/* phone and calling hours side by side: labels level at the top, boxes level at the bottom */
.lead-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.lead-pair .field { grid-template-rows: auto 1fr auto; }
.lead-pair .field-hint { text-wrap: balance; }

.consents { min-width: 0; margin: 0; padding: 0; border: 0; }
.consents legend { padding: 0; }
.consents .field-hint { margin-top: 5px; }
.consent-list { margin-top: 16px; border-top: 1px solid var(--line-2); }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 16px; align-items: start; padding: 17px 0 18px; border-bottom: 1px solid var(--line); cursor: pointer; }
.consent input { display: grid; place-content: center; width: 22px; height: 22px; margin: 1px 0 0; border: 1.5px solid var(--line-2); border-radius: 5px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.consent:hover input { border-color: var(--fg); }
.consent input::after { content: ""; width: 6px; height: 11px; margin-top: -2px; border: solid var(--bg); border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0; }
.consent input:checked { border-color: var(--fg); background: var(--fg); }
.consent input:checked::after { opacity: 1; }
.consent input:focus-visible { border-radius: 5px; outline-offset: 3px; }
.consent b { display: block; font: 650 16.5px/1.3 var(--display); letter-spacing: -.01em; }
.consent b + span { display: block; margin-top: 5px; font-size: 15px; line-height: 1.55; color: var(--fg-2); text-wrap: pretty; }
.consents > .field-err { margin-top: 12px; }

.lead-go { display: grid; gap: 16px; justify-items: start; }
.lead-go .btn:disabled { opacity: .6; cursor: default; }
.lead-go .fine { margin-top: 0; }
.lead-done:focus { outline: 0; }
.lead-done h3 { margin-top: 14px; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.022em; }
.lead-sum { margin-top: 24px; border-top: 1px solid var(--line-2); }
.lead-sum li { padding: 16px 0 17px; border-bottom: 1px solid var(--line); }
.lead-sum b { display: block; font: 650 16.5px/1.3 var(--display); letter-spacing: -.01em; }
.lead-sum span { display: block; margin-top: 5px; font-size: 15.5px; line-height: 1.5; color: var(--fg-2); overflow-wrap: anywhere; }
@media (forced-colors: active) {
  .consent input { -webkit-appearance: auto; appearance: auto; }
  .consent input::after { display: none; }
}

/* ---------- legal and support pages ---------- */
.doc { padding: calc(var(--nav-h) + clamp(44px, 6vw, 96px)) 0 clamp(64px, 9vw, 120px); background: var(--bg); }
.doc-head { max-width: 46rem; padding-bottom: clamp(26px, 3vw, 40px); margin-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.doc-head p:not(.k) { margin-top: 16px; color: var(--fg-2); }
.prose { max-width: 46rem; }
.prose h2 { margin: 44px 0 12px; font-size: clamp(22px, 1.9vw, 27px); letter-spacing: -.022em; }
.prose p { margin-top: 12px; color: var(--fg-2); }
.prose ul { margin-top: 12px; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 22px; color: var(--fg-2); }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .78em; width: 8px; height: 1px; background: var(--fg-3); }
.prose li b { color: var(--fg); }
.prose h2[id] { scroll-margin-top: 20px; }
.prose .notice { margin-top: 28px; }
.qa { margin-top: 14px; border-top: 1px solid var(--line-2); }
.qa > div { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 6px 28px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.qa dt { font: 650 17px/1.35 var(--display); letter-spacing: -.012em; }
.qa dd { color: var(--fg-2); }

/* ---------- motion: only when the script runs and motion is welcome (site.js sets .js) ---------- */
.js .hero-media { animation: settle 2.6s var(--ease) both; }
.js .hero-media img { transform: translate3d(0, calc(var(--p, 0) * 13%), 0) scale(calc(1.02 + var(--p, 0) * .05)); transform-origin: 100% 50%; will-change: transform; }
.js .hero-copy { opacity: calc(1 - var(--p, 0) * 1.5); transform: translate3d(0, calc(var(--p, 0) * -46px), 0); }
.js .hero-copy > * { animation: rise 1.1s var(--ease) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .12s; }
.js .hero-copy > :nth-child(3) { animation-delay: .24s; }
.js .cue { animation: cue 2.4s ease-in-out 1.4s infinite both; }
.js [data-reveal] .beat-media img { transform: scale(1.09); transition: transform 1.8s var(--ease); }
.js [data-reveal].in .beat-media img { transform: none; }
.js [data-reveal] .rv { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in .rv { opacity: 1; transform: none; }
.d1 { --d: .08s; } .d2 { --d: .18s; } .d3 { --d: .26s; } .d4 { --d: .34s; } .d5 { --d: .42s; } .d6 { --d: .5s; }
@keyframes settle { from { transform: scale(1.07); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 35% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- squarish viewports: the hero stacks so the sentence never crosses the screen in the photo ---------- */
@media (max-width: 900px), (max-aspect-ratio: 14/9) {
  .hero-media { position: relative; flex: 1 1 auto; min-height: 40vh; min-height: 40svh; }
  .hero-media img { position: absolute; inset: 0; object-position: 92% 50%; }
  .hero-media::before { display: none; }
  .hero-media::after { background:
    linear-gradient(180deg, rgba(8, 8, 10, .6) 0%, rgba(8, 8, 10, 0) 26%),
    linear-gradient(0deg, var(--night) 0%, var(--night) 9%, rgba(10, 10, 12, .8) 24%, rgba(10, 10, 12, 0) 56%); }
  .hero-copy { margin-top: -34px; padding-bottom: clamp(30px, 5vh, 56px); }
  .hero h1 { font-size: clamp(38px, 10.6vw, 72px); }
  .cue { display: none; }
  .price.is-full { min-height: 0; }
}

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav-links { display: none; }
  .beat { display: block; min-height: 0; }
  .beat-media { position: relative; aspect-ratio: 5 / 4; }
  .beat-media img { position: absolute; inset: 0; }
  .beat-media::after, .beat-night .beat-media::after { background: linear-gradient(0deg, rgb(var(--tone-rgb)) 0%, rgba(var(--tone-rgb), 0) 22%); }
  .beat-copy, .beat-hero .beat-copy { padding: clamp(26px, 5vw, 48px) 0 clamp(60px, 11vw, 100px); }
  .beat-in { max-width: 34rem; }
  .beat h1 { font-size: clamp(34px, 8.6vw, 56px); }
  .demo-stage, .spec, .two-col, .lead { grid-template-columns: 1fr; }
  .lead .sec-head { position: static; }
  .demo-side { max-width: 34rem; }
  .points, .said, .said.four, .incl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .versus > div, .qa > div { grid-template-columns: 1fr; }
  .steps, .mounts { grid-template-columns: 1fr; }
  .steps { gap: 28px; }
  .mounts img { aspect-ratio: 16 / 10; }
  .demo-cta { grid-template-columns: 1fr; }
  .demo-cta .btn { justify-self: start; }
  .cart thead { display: none; }
  .cart, .cart tbody, .cart tr, .cart th, .cart td { display: block; width: auto !important; }
  .cart tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .cart th, .cart td { padding: 0 0 8px; border: 0; }
  .cart td:last-child { padding: 6px 0 0; }
}
@media (max-width: 700px) {
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts li { padding: 18px 0; }
  .btn { min-height: 56px; padding: 0 24px; font-size: 17px; }
  .btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
}
@media (max-width: 560px) {
  .points, .points.two, .said, .said.four, .incl { grid-template-columns: 1fr; }
  .st { aspect-ratio: auto; min-height: 300px; }
  .st-ctl { margin-left: 0; }
  .pair { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .pair-qr { width: min(100%, 210px); }
  .pair-status { justify-content: center; }
  .cta .btn, .lead-go .btn { width: 100%; }
  .lead-pair { grid-template-columns: 1fr; gap: 26px; }
  .faq details p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .cue { display: none; }
  .st[data-view=shop][data-st=wait]::after { border-color: #ffc746; }
}

@media print {
  .nav, .progress, .foot, .closing, .stage, .cta, .cue, #contact { display: none !important; }
  html, body, .sec, .doc { background: #fff !important; color: #000 !important; }
  body { font-size: 12pt; }
  .sec { padding: 18pt 0; break-inside: avoid; }
  .sec-top, .doc { padding-top: 0; }
  .js [data-reveal] .rv { opacity: 1 !important; transform: none !important; }
}
