/* Tapvantage homepage — one journey, one dot. */

:root {
  color-scheme: light;
  --ink: #0A0A0A;
  --inverse: #0A0A0A;
  --good: #178A43; --good-tint: rgba(29, 185, 84, .14); --good-on-inverse: #4CD97B;
  --bad: #D93A42; --bad-tint: rgba(229, 72, 77, .12); --bad-on-inverse: #FF8A8E;
  --inverse-line: rgba(255, 255, 255, .14);
  --blue: #0C75F9;
  --blue-deep: #0857C0;
  --blue-tint: #EAF2FE;
  --blue-line: #CFE0FB;
  --eyebrow: #0C75F9;
  --white: #FFFFFF;
  --card: #FFFFFF;
  --card-glass: rgba(255, 255, 255, .92);
  --nav-bg: rgba(255, 255, 255, .94);
  --nav-menu-bg: rgba(255, 255, 255, .96);
  --muted: #5B6270;
  --line: #E7E9EE;
  --panel: #F5F7FA;
  --dark: #0E1015;
  --dark-2: #161A22;
  --dark-line: #262A33;
  --dark-muted: #A3A9B4;
  --contrast-text: #FFFFFF;
  --contrast-muted: #A3A9B4;
  --display: 'Outfit', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --nav-h: 80px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.2, .9, .3, 1.15);
  --pin-h: max(760px, calc(100vh - 160px));
}
/* dark palette: the page goes very dark, the dark sections sit a shade lighter so they still read as sections */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: dark; --ink: #F2F4F7; --inverse: #B9C6DC; --inverse-line: rgba(10, 10, 10, .16); --good: #4CD97B; --good-tint: rgba(76, 217, 123, .16); --good-on-inverse: #0F6B31; --bad: #FF6B70; --bad-tint: rgba(255, 107, 112, .16); --bad-on-inverse: #A4262C; --blue-tint: #15233A; --blue-line: #2A4F85; --eyebrow: #5EA3FF; --white: #0B0D12; --card: #141924; --card-glass: rgba(20, 25, 36, .92); --nav-bg: rgba(11, 13, 18, .94); --nav-menu-bg: rgba(11, 13, 18, .97); --muted: #A3A9B4; --line: #262C38; --panel: #11151D; --dark: #11151D; --dark-2: #1B2130; --dark-line: #2B3242; --contrast-text: #0B0D12; --contrast-muted: #2E3747; } }
:root[data-theme="dark"] { color-scheme: dark; --ink: #F2F4F7; --inverse: #B9C6DC; --inverse-line: rgba(10, 10, 10, .16); --good: #4CD97B; --good-tint: rgba(76, 217, 123, .16); --good-on-inverse: #0F6B31; --bad: #FF6B70; --bad-tint: rgba(255, 107, 112, .16); --bad-on-inverse: #A4262C; --blue-tint: #15233A; --blue-line: #2A4F85; --eyebrow: #5EA3FF; --white: #0B0D12; --card: #141924; --card-glass: rgba(20, 25, 36, .92); --nav-bg: rgba(11, 13, 18, .94); --nav-menu-bg: rgba(11, 13, 18, .97); --muted: #A3A9B4; --line: #262C38; --panel: #11151D; --dark: #11151D; --dark-2: #1B2130; --dark-line: #2B3242; --contrast-text: #0B0D12; --contrast-muted: #2E3747; }
@supports (height: 100svh) { :root { --pin-h: max(760px, calc(100svh - 160px)); } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(46px, 7.4vw, 96px); font-weight: 700; }
h2 { font-size: clamp(34px, 4.8vw, 64px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.015em; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--blue); color: #fff; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--inverse); color: var(--contrast-text); border-radius: 8px; text-decoration: none; }
.skip:focus { top: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--eyebrow); margin-bottom: 18px; }
.lead { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: var(--muted); max-width: 640px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; min-height: 44px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .35s;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-deep); transform: translateY(-1px); box-shadow: 0 10px 30px -12px rgba(12, 117, 249, .6); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--lg { padding: 16px 28px; font-size: 17px; min-height: 54px; }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.btn:active { transform: translateY(0) scale(.98); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav-h);
  color: var(--ink); background: transparent;
  transition: height .55s var(--ease), background .4s, box-shadow .4s;
}
.nav::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--line); opacity: 0; transition: opacity .4s; }
.nav.is-compact { --nav-h: 60px; background: var(--nav-bg); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); }
.nav.is-compact::after { opacity: 1; }
.nav__inner { position: relative; z-index: 60; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); height: 100%; display: flex; align-items: center; gap: 36px; }
.nav__logo { --lh: 36px; display: block; height: var(--lh); width: var(--lh); overflow: hidden; flex: none; transition: width .55s var(--ease), height .55s var(--ease); }
.nav__logo svg { height: var(--lh); width: calc(var(--lh) * 5.079); max-width: none; overflow: visible; transition: height .55s var(--ease), width .55s var(--ease); }
/* the nav starts as the icon alone (the hero already carries the wordmark); the letters slide in once you scroll */
.nav-logo-letter { opacity: 0; transform: translateX(-900px); transition: opacity .32s var(--ease), transform .4s var(--ease); transition-delay: calc((9 - var(--i)) * 18ms); transform-box: fill-box; }
.nav.has-word .nav__logo { --lh: 32px; width: calc(var(--lh) * 5.079); }
.nav.has-word .nav-logo-letter { opacity: 1; transform: none; transition-delay: calc(var(--i) * 22ms + 120ms); }
.nav.is-compact .nav__logo { --lh: 32px; }
.nav__cta { margin-left: auto; padding: 10px 18px; min-height: 40px; }
.nav__cta-short { display: none; }
.nav__burger { display: block; margin-left: 4px; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__burger span:first-child { top: 17px; } .nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .nav.is-compact { --nav-h: 56px; }
  .nav__inner { gap: 16px; }
  .nav__logo { --lh: 30px; }
  .nav.is-compact .nav__logo { --lh: 28px; }
  .nav.has-word .nav__logo { width: calc(var(--lh) * 5.079); }
  .nav__links { display: none; }
  .nav__cta { padding: 9px 14px; min-height: 38px; font-size: 14px; }
  .nav__cta-long { display: none; } .nav__cta-short { display: inline; }
  .nav__burger { display: block; margin-left: 0; }
}

/* ---------- hero ---------- */
.hero { overflow: hidden; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 24px) var(--gutter) 80px; position: relative; }
.hero__inner { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.hero__hint { opacity: calc(1 - var(--hp, 0) * 4); }
.hero__title { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: .24em; row-gap: .06em; }
.hero__word { display: flex; align-items: center; height: 1.1em; color: var(--ink); }
.hero__word #hero-svg { display: block; height: 2.307em; width: auto; overflow: hidden; transform: translateY(10.5%); }
.hero .eyebrow { margin-bottom: 34px; }
@media (max-width: 860px) { .hero__word { margin-top: .22em; } .hero .eyebrow { margin-bottom: 18px; } }
#hero-svg { width: 100%; height: auto; overflow: hidden; }
.hero h1 { margin: 0 0 22px; }
.hero .lead { margin: 0 auto 36px; max-width: 700px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 26px; }
.hero__note { font-size: 13.5px; color: var(--muted); }
.hero__hint { position: absolute; left: 50%; bottom: 22px; width: 22px; height: 36px; border: 1.5px solid var(--line); border-radius: 12px; transform: translateX(-50%); }
.hero__hint span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--blue); animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 71% { transform: translateY(0); opacity: 0; } }
.journey-live #hero-dot { opacity: 0; }
@media (max-width: 860px) { .hero { padding-bottom: 70px; } .hero h1 { margin-bottom: 16px; } }
@media (max-width: 860px) { .call[style*="--i:1;"], .link[style*="--i:1;"] { --dy: -300px !important; --dx: 30px !important; } }

/* ---------- pinned scenes ---------- */
.scene { position: relative; height: 300vh; }
.scene--short { height: 240vh; }
.scene__pin { position: sticky; top: 0; height: var(--pin-h); overflow: hidden; display: flex; align-items: center; }
.scene--dark { background: var(--dark); color: #fff; }
.scene--dark .eyebrow { color: #5EA3FF; }
.scene--dark p { color: var(--dark-muted); }
.scene--panel { background: var(--panel); }
.scene__grid { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: calc(var(--nav-h) + 8px) var(--gutter) 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.scene__copy p { color: var(--muted); font-size: clamp(16px, 1.45vw, 19px); max-width: 520px; margin-top: 22px; }
.scene__copy p.scene__small { font-size: 14px; }
.scene__punch { font-weight: 600; color: var(--good) !important; }
.scene--dark .scene__punch { color: #4CD97B !important; }
.scene__stage { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin: 0 auto; }
@media (max-width: 860px) {
  .scene { height: 260vh; }
  .scene__grid { grid-template-columns: 1fr; gap: 18px; align-content: start; padding-top: calc(var(--nav-h) + 12px); padding-bottom: 20px; }
  .scene__copy h2 { font-size: clamp(30px, 8.4vw, 40px); }
  .scene__copy p { margin-top: 12px; font-size: 15.5px; }
  .scene__stage { max-width: 440px; aspect-ratio: auto; height: min(46svh, 400px); }
}

@property --lit { syntax: '<number>'; inherits: true; initial-value: 0; }
/* scrubbed animations: a paused 1 s keyframe timeline seeked by --p */
.scrub { animation-duration: 1s; animation-timing-function: linear; animation-fill-mode: both; animation-play-state: paused; animation-delay: calc(var(--p, 0) * -1s); }

/* ---------- scene 1: thirty calls ---------- */
.stage-calls { display: grid; place-items: center; }
.calls__dock { width: 56px; height: 56px; border-radius: 50%; }
.calls__count { margin-top: 26px; font-family: var(--display); font-size: 20px; font-weight: 600; color: #fff !important; display: flex; align-items: baseline; gap: 10px; animation-name: a-counter; }
.calls__count b { font-size: 52px; line-height: 1; color: var(--blue); font-weight: 700; letter-spacing: -0.03em; min-width: 2ch; }
@keyframes a-counter { 0% { opacity: 0; transform: translateY(8px); } 5%, 100% { opacity: 1; transform: none; } }
.call { --k: 1; position: absolute; left: 50%; top: 50%; translate: -50% -50%; height: 40px; display: flex; align-items: center; gap: 9px; padding: 0 14px 0 9px; border-radius: 999px; background: var(--dark-2); border: 1px solid var(--dark-line); color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; animation-name: a-call; animation-delay: calc(var(--p, 0) * -1s + var(--i) * .028s); will-change: transform, opacity; }
.call svg { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--blue); fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; animation: buzz .5s ease-in-out infinite alternate; }
.call--sms svg { background: #1DB954; } .call--mail svg { background: #F2A33A; } .call--voicemail svg { background: #8B5CF6; } .call--missed svg { background: var(--bad); }
.call--sms span, .call--mail span { font-weight: 400; color: #DADDE3; }
.link { position: absolute; left: 50%; top: 50%; height: 1.5px; width: calc(hypot(var(--dx), var(--dy)) * var(--k, 1)); transform-origin: 0 50%; transform: rotate(atan2(var(--dy), var(--dx))) scaleX(0); background: linear-gradient(90deg, var(--blue), rgba(12, 117, 249, .15)); animation-name: a-link; animation-delay: calc(var(--p, 0) * -1s + var(--i) * .028s); }
@keyframes a-link { 0%, 1% { transform: rotate(atan2(var(--dy), var(--dx))) scaleX(0); opacity: 1; } 6% { transform: rotate(atan2(var(--dy), var(--dx))) scaleX(1); opacity: 1; } 52% { opacity: 1; } 58%, 100% { opacity: 0; transform: rotate(atan2(var(--dy), var(--dx))) scaleX(1); } }
.calls__dock { position: relative; }
.ripple { position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--bad); opacity: 0; animation-name: a-ripple; animation-delay: calc(var(--p, 0) * -1s); }
.ripple--2 { animation-delay: calc(var(--p, 0) * -1s + .12s); }
@keyframes a-ripple { 0%, 2% { opacity: 0; transform: scale(1); } 3% { opacity: .9; transform: scale(1); } 16% { opacity: 0; transform: scale(4.5); } 17%, 100% { opacity: 0; transform: scale(1); } }
@keyframes buzz { from { transform: rotate(-10deg); } to { transform: rotate(10deg); } }
@keyframes a-call {
  0% { opacity: 0; transform: translate(calc(var(--dx) * var(--k) * .55), calc(var(--dy) * var(--k) * .55)) scale(.3); }
  5% { opacity: 1; transform: translate(calc(var(--dx) * var(--k) * 1.06), calc(var(--dy) * var(--k) * 1.06)) scale(1.12); }
  8% { transform: translate(calc(var(--dx) * var(--k)), calc(var(--dy) * var(--k))) scale(1); }
  54% { opacity: 1; transform: translate(calc(var(--dx) * var(--k)), calc(var(--dy) * var(--k))) scale(1); }
  60% { opacity: 0; transform: translate(calc(var(--dx) * var(--k) * 1.45), calc(var(--dy) * var(--k) * 1.45)) scale(.9); }
  64%, 100% { opacity: 0; transform: translate(calc(var(--dx) * var(--k) * 1.6), calc(var(--dy) * var(--k) * 1.6)) scale(.85); }
}
.a-punch { animation-name: a-punch; }
@keyframes a-punch { 0%, 74% { opacity: 0; transform: translateY(14px); } 84%, 100% { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .call { --k: .5; font-size: 12px; height: 34px; gap: 7px; padding: 0 11px 0 7px; } .call svg { width: 20px; height: 20px; padding: 4px; }
  .link { --k: .5; }
  .call--sms span, .call--mail span { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
  .call--desk { display: none; }
  .calls__count { margin-top: 14px; font-size: 16px; } .calls__count b { font-size: 36px; }
}

/* ---------- scene 2: every rate is public ---------- */
.stage-public { display: flex; align-items: center; }
.ledger { width: 100%; display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.ledger__track { position: relative; }
.ledger__track::before { content: ""; position: absolute; left: 50%; top: 8%; bottom: 8%; width: 2px; margin-left: -1px; background: var(--line); border-radius: 2px; }
.ledger__runner { position: absolute; left: 50%; top: clamp(10%, calc(10% + var(--p, 0) * 100%), 90%); width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; }
.ledger__rows { display: grid; grid-auto-rows: 1fr; gap: 10px; }
.row { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); font-size: 14px; animation-name: a-row; animation-delay: calc(var(--p, 0) * -1s + var(--i) * .2s + .02s); }
.row b { font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.row span { position: relative; display: block; color: var(--ink); }
.row small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 2px; }
.row span::after { content: ""; position: absolute; left: 0; right: 10%; top: 18px; height: 12px; border-radius: 6px; background: var(--line); transform-origin: left; transition: none; opacity: calc(1 - var(--lit, 0)); }
.row b, .row em { font-style: normal; opacity: var(--lit, 0); transition: none; }
.row b { opacity: 1; }
@keyframes a-row { 0% { --lit: 0; border-color: var(--line); box-shadow: 0 0 0 0 rgba(12, 117, 249, 0); } 1% { --lit: 1; border-color: var(--blue); box-shadow: 0 10px 30px -18px rgba(12, 117, 249, .5); } 12%, 100% { --lit: 1; border-color: var(--line); box-shadow: 0 0 0 0 rgba(12, 117, 249, 0); } }
@media (max-width: 860px) {
  .ledger { grid-template-columns: 30px 1fr; gap: 8px; }
  .ledger__runner { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
  .row { grid-template-columns: 1fr 1fr; row-gap: 4px; padding: 8px 12px; border-radius: 12px; font-size: 12.5px; }
  .row:nth-child(n+5) { display: none; }
  .ledger__rows { gap: 8px; }
  .ledger__runner { top: clamp(12.5%, calc(12.5% + var(--p, 0) * 93.75%), 87.5%); }
  #public .scene__small { display: none; }
  .row b { grid-column: 1 / -1; font-size: 13.5px; }
  .row span:nth-of-type(3) { display: none; }
  .row span::after { top: 16px; height: 10px; }
}

/* ---------- scene 3: one rate is never one rate ---------- */
.stage-rates { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.matrix { position: relative; display: grid; grid-template-columns: 78px repeat(3, 1fr); grid-template-rows: 32px repeat(3, 1fr); gap: 8px; width: 100%; aspect-ratio: 1.15; }
.matrix__head { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); align-self: end; padding-bottom: 4px; text-align: center; }
.matrix__label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); align-self: center; }
.matrix__cells { grid-column: 2 / 5; grid-row: 2 / 5; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 8px; }
.cell { position: relative; display: grid; place-items: center; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-family: var(--display); font-weight: 600; font-size: clamp(13px, 1.5vw, 17px); letter-spacing: -0.01em; animation-name: a-cell; animation-delay: calc(var(--p, 0) * -1s + var(--i) * .1s + .02s); }
.cell s { position: absolute; width: 40%; height: 10px; border-radius: 5px; background: var(--line); text-decoration: none; opacity: calc(1 - var(--lit, 0)); }
.cell b { opacity: var(--lit, 0); transform: translateY(calc((1 - var(--lit, 0)) * 6px)); white-space: nowrap; }
@keyframes a-cell { 0% { --lit: 0; border-color: var(--line); } 1% { --lit: 1; border-color: var(--blue); background: var(--blue-tint); } 14%, 100% { --lit: 1; border-color: var(--line); background: var(--card); } }
.hop { position: absolute; width: 0; height: 0; animation-name: a-hop; }
.hop__bounce { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; animation-name: a-bounce; }
@keyframes a-hop {
  0% { left: 16.67%; top: 16.67%; } 10% { left: 50%; top: 16.67%; } 20% { left: 83.33%; top: 16.67%; }
  30% { left: 83.33%; top: 50%; } 40% { left: 50%; top: 50%; } 50% { left: 16.67%; top: 50%; }
  60% { left: 16.67%; top: 83.33%; } 70% { left: 50%; top: 83.33%; } 80%, 100% { left: 83.33%; top: 83.33%; }
}
@keyframes a-bounce {
  0%, 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 100% { transform: translateY(0) scale(1); animation-timing-function: ease-out; }
  5%, 15%, 25%, 35%, 45%, 55%, 65%, 75% { transform: translateY(-26px) scale(.94); animation-timing-function: ease-in; }
}
.flat { position: absolute; left: calc(50% + 39px); top: calc(50% + 16px); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 30px; border-radius: 22px; background: var(--inverse); color: var(--contrast-text); white-space: nowrap; animation-name: a-flat; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); }
.flat b { font-family: var(--display); font-size: clamp(30px, 3.6vw, 48px); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.flat i { font-style: normal; color: var(--blue); }
.flat span { font-size: 12.5px; color: var(--contrast-muted); }
@keyframes a-flat { 0%, 84% { opacity: 0; transform: translate(-50%, -50%) rotate(-6deg) scale(1.3); } 90% { opacity: 1; transform: translate(-50%, -50%) rotate(-6deg) scale(.97); } 94%, 100% { opacity: 1; transform: translate(-50%, -50%) rotate(-6deg) scale(1); } }
.matrix__note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 14px; }
@media (max-width: 860px) {
  .matrix { grid-template-columns: 58px repeat(3, 1fr); grid-template-rows: 26px repeat(3, 1fr); gap: 6px; aspect-ratio: 1.25; }
  .matrix__head, .matrix__label { font-size: 10px; }
  .cell { font-size: 12px; border-radius: 10px; }
  .cell b { white-space: normal; text-align: center; line-height: 1.15; padding: 0 4px; }
  .hop__bounce { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
  .flat { padding: 12px 18px; left: calc(50% + 29px); } .flat span { font-size: 10.5px; white-space: normal; text-align: center; max-width: 200px; }
  .matrix__note { margin-top: 10px; font-size: 11.5px; }
}

/* ---------- scene 4: free until you use it ---------- */
.stage-traps { display: grid; place-items: center; }
.box { position: relative; width: min(100%, 420px); padding: 26px 26px 30px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(10, 10, 10, .35); }
.box__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.box__title { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.box__pill { display: inline-flex; align-items: baseline; padding: 6px 12px; border-radius: 999px; background: var(--good-tint); color: var(--good); font-weight: 600; font-size: 14px; }
.box__pill i { font-style: normal; color: var(--bad); animation-name: a-star; }
@keyframes a-star { 0%, 62% { opacity: 0; } 66%, 100% { opacity: 1; } }
.box__list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: 14.5px; }
.box__list li::before { content: "✓"; color: var(--blue); font-weight: 700; margin-right: 10px; }
.box__meter-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.box__meter-label b { color: var(--ink); font-weight: 600; }
.meter { position: relative; height: 14px; border-radius: 7px; background: var(--panel); }
.meter__fill { position: absolute; inset: 0; border-radius: 7px; background: var(--blue); transform-origin: left; transform: scaleX(clamp(0.02, calc((var(--p, 0) - .12) / .5), 1)); }
.meter__dock { position: absolute; top: 50%; left: clamp(2%, calc((var(--p, 0) - .12) / .5 * 100%), 100%); width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; }
.box__limit { position: absolute; right: 22px; top: -14px; padding: 6px 12px; border-radius: 999px; background: var(--bad); color: #fff; font-size: 12px; font-weight: 600; animation-name: a-limit; }
@keyframes a-limit { 0%, 62% { opacity: 0; transform: translateY(8px) scale(.9); } 67% { opacity: 1; transform: translateY(0) scale(1.06); } 70%, 100% { opacity: 1; transform: none; } }
.box__bill { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 24px 40px -26px rgba(10, 10, 10, .45); white-space: nowrap; font-size: 13.5px; color: var(--muted); animation-name: a-bill; }
.box__bill b { font-family: var(--display); font-size: 22px; color: var(--bad); font-weight: 700; letter-spacing: -0.01em; }
@keyframes a-bill { 0%, 70% { opacity: 0; transform: translate(-50%, 18px) scale(.9); } 76% { opacity: 1; transform: translate(-50%, 0) scale(1.05); } 80%, 100% { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@media (max-width: 860px) { .box { padding: 18px 18px 22px; border-radius: 18px; } .box__title { font-size: 18px; } .box__list { font-size: 13.5px; gap: 5px; margin-bottom: 12px; } .box__bill { bottom: -30px; } }

/* ---------- compare ---------- */
.compare { padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); background: linear-gradient(180deg, var(--white) 0%, var(--blue-tint) 38%, var(--blue-tint) 100%); }
.compare__intro { max-width: 760px; margin-bottom: 44px; }
.compare__intro .lead { margin-top: 20px; }
.compare__panel { display: grid; grid-template-columns: minmax(0, 1fr) clamp(440px, 32vw, 460px); gap: 20px; container: panel / inline-size; }
.compare__controls, .compare__results { min-width: 0; background: var(--card); border: 1px solid rgba(12, 117, 249, .12); border-radius: 24px; padding: 28px; box-shadow: 0 30px 60px -45px rgba(12, 117, 249, .45); }
.field { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.field select, .field input { font: inherit; font-size: 16px; color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); min-height: 48px; }
.field select:focus, .field input:focus { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.slider { margin-top: 26px; }
.slider__head { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.slider__head output { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.money-input { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; min-width: 0; padding: 5px 9px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--ink); }
.money-input > span { font-family: var(--display); font-size: 18px; color: var(--muted); }
.money-input input { width: 11ch; max-width: 100%; min-width: 0; border: 0; outline: 0; padding: 0; background: transparent; color: var(--ink); text-align: right; font: 600 20px/1.35 var(--display); letter-spacing: -.01em; appearance: textfield; -moz-appearance: textfield; }
.money-input--sale input { width: 8ch; }
.money-input input::-webkit-inner-spin-button, .money-input input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.money-input:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; border-color: var(--blue); }
.money-input:has(input[aria-invalid="true"]) { border-color: var(--bad); }
.field-error { font-size: 12px; line-height: 1.45; color: var(--bad); margin: -6px 0 8px; }
.field-error[hidden] { display: none; }
.slider__track { position: relative; height: 44px; }
.slider__track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 3px; background: var(--panel); }
.slider__fill { position: absolute; left: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 3px; background: var(--blue); width: var(--x, 50%); }
.slider__thumb { position: absolute; top: 50%; left: var(--x, 50%); width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: var(--blue); box-shadow: 0 6px 16px -6px rgba(12, 117, 249, .7), 0 0 0 4px var(--card) inset; pointer-events: none; transition: transform .2s var(--ease); }
.slider__track:has(input:focus-visible) .slider__thumb { outline: 3px solid var(--ink); outline-offset: 3px; }
.slider__track:has(input:active) .slider__thumb { transform: scale(1.1); }
.journey-live .slider__thumb[data-dock] { background: transparent; box-shadow: none; }
.slider__track input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.compare__fine { margin-top: 26px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.results__head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0 6px 14px; border-bottom: 1px solid var(--line); }
.results__head > span:last-child { text-align: right; }
.results { list-style: none; margin: 0; padding: 0; display: grid; }
.result { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 16px 6px; border-bottom: 1px solid var(--line); transition: background .2s; }
.result:last-child { border-bottom: 0; }
.result__name { font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.result__badge { font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--panel); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.result__badge--best { color: #fff; background: var(--good); }
.result__note { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); line-height: 1.5; margin-top: 2px; }
.result__cost { text-align: right; font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.result__cost small { display: block; font-family: var(--body); font-size: 12.5px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.result__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.result__meta a { color: var(--blue); text-decoration: none; font-weight: 500; }
.result__meta a:hover { text-decoration: underline; }
.result--quote .result__cost { font-size: 15px; font-weight: 600; color: var(--muted); max-width: 170px; white-space: normal; line-height: 1.3; }
.compare__cta { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border-radius: 24px; background: var(--inverse); color: var(--contrast-text); }
.compare__cta p { color: var(--contrast-muted); margin-top: 6px; max-width: 560px; }
.lead-form { margin-top: 16px; padding: 28px 32px; border-radius: 24px; background: var(--card); border: 1px solid rgba(12, 117, 249, .12); }
.lead-form[hidden] { display: none; }
.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field--hp { position: absolute; left: -9999px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: 14px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.lead-form__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.lead-form__note { font-size: 13px; color: var(--muted); }
.lead-form__done { margin-top: 16px; font-weight: 600; color: var(--blue); }
.lead-form__done[hidden] { display: none; }
@media (max-width: 960px) { .compare__panel { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) {
  .compare__controls, .compare__results { padding: 20px; border-radius: 18px; }
  .compare__cta { flex-direction: column; align-items: flex-start; padding: 22px; border-radius: 18px; }
  .lead-form { padding: 20px; border-radius: 18px; } .lead-form__grid { grid-template-columns: 1fr; }
  .result__name { font-size: 17px; } .result__cost { font-size: 20px; }
}

/* ---------- scene 6: how it works ---------- */
#how { height: 240vh; }
.scene__grid--wide { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.stage-how { aspect-ratio: auto; max-width: 640px; min-height: 360px; padding-left: 62px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; }
.step { position: relative; padding-left: 14px; animation-name: a-step; animation-delay: calc(var(--p, 0) * -1s + var(--i) * .3s); }
.step b { display: block; font-family: var(--display); font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -0.015em; margin-bottom: 4px; }
.step > span:last-child { color: var(--muted); font-size: 15.5px; }
.step__node { position: absolute; left: -62px; top: 4px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line); background: var(--card); }
@keyframes a-step { 0%, 4% { opacity: .25; transform: translateX(10px); } 12%, 100% { opacity: 1; transform: none; } }
.steps__line { position: absolute; left: 19px; top: var(--n0, 24px); height: calc(var(--n2, 100%) - var(--n0, 24px)); width: 2px; background: var(--line); border-radius: 2px; }
.steps__line i { position: absolute; inset: 0; background: var(--blue); transform-origin: top; transform: scaleY(clamp(0, calc(var(--p, 0) / .72), 1)); }
.steps__dock { position: absolute; left: 20px; width: 40px; height: 40px; margin-left: -20px; border-radius: 50%; animation-name: a-stepdock; }
@keyframes a-stepdock { 0%, 24% { top: var(--n0, 24px); } 36%, 54% { top: var(--n1, 50%); } 66%, 100% { top: var(--n2, 100%); } }
.a-stepdock { transform: translateY(-50%); }
@media (max-width: 860px) {
  #how { height: 220vh; }
  .scene__grid--wide { grid-template-columns: 1fr; }
  .stage-how { min-height: 0; padding-left: 50px; }
  .steps { gap: 22px; } .step b { font-size: 18px; } .step > span:last-child { font-size: 14px; }
  .step__node { left: -50px; width: 34px; height: 34px; }
  .steps__line { left: 16px; } .steps__dock { left: 17px; width: 34px; height: 34px; margin-left: -17px; }
}

/* ---------- industries ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.card { display: block; padding: 28px; border-radius: 22px; border: 1px solid var(--line); text-decoration: none; background: var(--card); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(10, 10, 10, .4); border-color: transparent; }
.card svg { width: 30px; height: 30px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.card b { display: block; font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.card span { color: var(--muted); font-size: 15px; line-height: 1.55; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; } .card { padding: 22px; border-radius: 18px; } }

/* ---------- faq ---------- */
.faq { background: var(--panel); }
.scene--faq { height: 300vh; }
.scene--faq { background: var(--panel); }
.scene--faq .wrap--narrow { width: 100%; }
.faq h2 { margin-bottom: 28px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-of-type { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--display); font-size: clamp(18px, 2vw, 22px); font-weight: 600; letter-spacing: -0.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .35s var(--ease); }
.qa[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.qa__body { padding: 0 0 24px; color: var(--muted); max-width: 680px; }
.qa summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: #fff; padding: clamp(110px, 16vh, 180px) 0 40px; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--dark-line); }
.footer__logo { display: block; width: 220px; color: #fff; }
.footer__logo svg { width: 100%; height: auto; overflow: visible; }
.journey-live #foot-logo-dot { opacity: 0; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { color: var(--dark-muted); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.footer__links a:hover { color: #fff; }
.footer__legal { margin-top: 28px; font-size: 13px; color: var(--dark-muted); max-width: none; line-height: 1.6; }

/* ---------- the journey dot ---------- */
.journey { position: fixed; left: 0; top: 0; z-index: 55; pointer-events: none; opacity: 0; will-change: transform, filter; filter: blur(var(--blur, 0px)); }
.journey-live .journey { opacity: 1; }
.journey__dot { width: var(--d, 40px); height: var(--d, 40px); border-radius: 50%; background: var(--blue); transform: translate(-50%, -50%); }
.journey__tick { position: absolute; left: 0; top: 0; width: var(--d, 40px); height: var(--d, 40px); transform: translate(-50%, -50%); overflow: visible; }
.journey__tick { opacity: 0; }
.journey.has-tick .journey__tick { opacity: 1; }
.journey__tick path { fill: none; stroke: #fff; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: var(--tick-off, 1); }

@media (prefers-reduced-motion: reduce) {
  .scrub, .call i, .hero__hint span, .link::after, .ripple--idle, .calls__dock::before { animation: none !important; }
  .hero.is-leaving [data-wave], .hero.is-leaving #hero-svg * { transform: none !important; filter: none !important; opacity: 1 !important; }
  .nav__logo, .nav-logo-letter, .btn, .card { transition: none !important; }
  .scene { height: auto !important; }
  .scene__pin { position: static; height: auto; min-height: 0; padding: 40px 0; }
}

/* ---------- comparison v2 ---------- */
.controls__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; margin-top: 22px; }
.field > span em { font-style: normal; font-weight: 400; color: #8A919C; }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; min-height: 48px; overflow: hidden; }
.stepper button { flex: 1; min-width: 44px; height: 46px; border: 0; background: transparent; font-size: 22px; color: var(--ink); cursor: pointer; }
.stepper button:hover { background: var(--panel); }
.stepper button:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.stepper output { flex: 1; text-align: center; font-family: var(--display); font-size: 18px; font-weight: 600; }
.check--tight { margin-top: 16px; }
.results__more { display: block; width: 100%; margin-top: 14px; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font-weight: 600; cursor: pointer; transition: border-color .2s; }
.results__more:hover { border-color: var(--ink); }
.results__more:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.result { grid-template-columns: 28px minmax(0, 1fr) auto; }
.result__pick { position: relative; width: 28px; height: 28px; margin-top: 1px; cursor: pointer; }
.result__pick input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.result__pick span { pointer-events: none; position: absolute; inset: 2px; border: 2px solid #C4C9D2; border-radius: 8px; transition: background .2s, border-color .2s; }
.result__pick span::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); opacity: 0; }
.result__pick input:checked + span { background: var(--blue); border-color: var(--blue); }
.result__pick input:checked + span::after { opacity: 1; }
.result__pick input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.result__pick input:disabled + span { opacity: .4; }
.result__sum, .result__note, .result__meta { grid-column: 2 / -1; }
.result__sum { font-size: 13.5px; color: var(--ink); line-height: 1.5; }
.result__cost small { white-space: normal; }
.result__cost { white-space: normal; max-width: 200px; }
.result__cost > span { white-space: nowrap; }
#c-get[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
@media (max-width: 860px) { .controls__grid { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- the walkthrough sheet ---------- */
body.sheet-open { overflow: hidden; }
.sheet { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; }
.sheet[hidden] { display: none; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(10, 10, 10, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.sheet__panel { position: relative; width: min(100vw - 32px, 820px); max-height: min(92vh, 92svh); display: flex; flex-direction: column; background: var(--card); border-radius: 26px; box-shadow: 0 40px 100px -30px rgba(10, 10, 10, .5); transform: translateY(24px) scale(.98); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.sheet.is-open .sheet__backdrop { opacity: 1; }
.sheet.is-open .sheet__panel { transform: none; opacity: 1; }
.sheet__head { display: flex; align-items: center; gap: 20px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.sheet__brand { width: 132px; color: var(--ink); flex: none; }
.sheet__brand svg { width: 100%; height: auto; }
.sheet__steps { list-style: none; margin: 0 auto; padding: 0; display: flex; gap: 6px; }
.sheet__steps li { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #8A919C; padding: 6px 10px; border-radius: 999px; }
.sheet__steps li.is-current { color: var(--blue); background: var(--blue-tint); }
.sheet__steps li.is-done { color: var(--ink); }
.sheet__close { width: 40px; height: 40px; border: 0; background: var(--panel); border-radius: 50%; position: relative; cursor: pointer; flex: none; }
.sheet__close span { position: absolute; left: 12px; right: 12px; top: 19px; height: 2px; background: var(--ink); transform: rotate(45deg); }
.sheet__close span:last-child { transform: rotate(-45deg); }
.sheet__close:focus-visible { outline: 3px solid var(--blue); }
.sheet__body { overflow: auto; padding: 28px 32px 32px; -webkit-overflow-scrolling: touch; }
.sheet__body h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.wiz__lead { color: var(--muted); margin-bottom: 24px; max-width: 560px; }
.wiz__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wiz__grid .check { margin-top: 10px; align-self: end; }
.mix { display: grid; gap: 10px; margin-bottom: 22px; }
.mix label { display: grid; grid-template-columns: 1fr 96px 24px; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.mix input { font: inherit; font-size: 16px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; text-align: right; min-height: 44px; background: var(--card); color: var(--ink); }
.mix input:focus { outline: 3px solid var(--blue); outline-offset: 1px; }
.mix i { font-style: normal; color: var(--muted); }
.mix__total { font-size: 13px; color: var(--muted); }
.needs { border: 0; padding: 0; margin: 22px 0 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.needs legend { font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 12px; }
.needs label { display: flex; align-items: center; gap: 10px; font-size: 15px; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; }
.needs input { width: 18px; height: 18px; accent-color: var(--blue); }
.needs label:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }
.sheet__foot { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-top: 1px solid var(--line); }
.sheet__foot[hidden] { display: none; }
.sheet__selected { flex: 1; font-size: 13px; color: var(--muted); text-align: center; }
#wiz-next { margin-left: auto; }
#wiz-back[hidden], #wiz-next[hidden] { display: none; }
.wiz__step[hidden] { display: none; }
/* run */
.wiz__run { text-align: center; padding: 10px 0 20px; }
.run__logo { width: 120px; height: 120px; margin: 0 auto 10px; color: var(--ink); }
.run__logo svg { width: 100%; height: 100%; }
.run__logo [hidden] { display: none; }
.run__bar { height: 6px; border-radius: 3px; background: var(--panel); margin: 18px auto 28px; max-width: 420px; overflow: hidden; }
.run__bar i { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 3px; transition: width .9s var(--ease); }
.run__stages { list-style: none; margin: 0 auto; padding: 0; max-width: 560px; text-align: left; display: grid; gap: 12px; }
.run__stages li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; opacity: .4; transition: opacity .3s; }
.run__stages li.is-active, .run__stages li.is-done { opacity: 1; }
.run__stages b { display: block; font-weight: 600; font-size: 15px; }
.run__stages small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.run__mark { width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; border: 2px solid var(--line); position: relative; transition: border-color .3s, background .3s; }
.is-active .run__mark { border-color: var(--blue); border-top-color: transparent; animation: spin .8s linear infinite; }
.is-done .run__mark { border-color: var(--blue); background: var(--blue); }
.is-done .run__mark::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }
/* report */
.report__summary h2 { font-size: clamp(24px, 2.8vw, 34px); margin: 0 0 12px; }
.report__summary h2 span { color: var(--blue); }
.report__summary p { color: var(--muted); max-width: 640px; }
.report__cards { display: grid; gap: 16px; margin-top: 26px; }
.rep { border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; }
.rep__head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 16px; }
.rep__head h3 { font-size: 24px; margin-bottom: 4px; }
.rep__head p { font-size: 13.5px; color: var(--muted); max-width: 460px; }
.rep__big { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; text-align: right; }
.rep__big small { display: block; font-family: var(--body); font-size: 12.5px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.rep__grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
.rep__row { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.rep__row span { color: var(--muted); } .rep__row b { font-weight: 500; }
.rep__row--total b { font-family: var(--display); font-size: 20px; font-weight: 700; }
.rep__row--eff b { color: var(--blue); font-weight: 700; }
.rep__feats { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.rep__feats li { display: grid; grid-template-columns: 150px 1fr; gap: 10px; font-size: 13.5px; padding: 8px 12px; border-radius: 10px; background: var(--panel); }
.rep__feats li b { font-weight: 600; } .rep__feats li span { color: var(--muted); }
.rep__feats li.is-yes span { color: var(--ink); } .rep__feats li.is-yes b::before { content: "✓ "; color: var(--good); }
.rep__feats li.is-ask span { color: var(--bad); } .rep__feats li.is-ask b::before { content: "! "; color: var(--bad); }
.rep__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; font-size: 13px; color: var(--muted); }
.rep__foot a { color: var(--blue); text-decoration: none; }
.intro { margin-top: 20px; padding: 20px 24px; border-radius: 18px; background: var(--blue-tint); }
.intro[hidden] { display: none; }
.intro__actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.report__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.report__fine { margin-top: 18px; font-size: 12.5px; color: var(--muted); line-height: 1.55; }
@media (max-width: 860px) {
  .sheet { align-items: stretch; }
  .sheet__panel { width: 100vw; max-height: none; height: 100vh; height: 100dvh; border-radius: 0; }
  .sheet__head { padding: 12px 16px; gap: 12px; } .sheet__brand { width: 36px; overflow: hidden; } .sheet__brand svg { width: 183px; max-width: none; }
  .sheet__steps { gap: 2px; } .sheet__steps li { font-size: 10px; padding: 5px 7px; } .sheet__steps li:not(.is-current) { display: none; }
  .sheet__body { padding: 22px 18px 28px; }
  .wiz__grid, .needs { grid-template-columns: 1fr; }
  .sheet__foot { padding: 12px 16px; padding-bottom: max(12px, env(safe-area-inset-bottom)); } .sheet__selected { display: none; }
  .rep { padding: 18px; } .rep__head { flex-direction: column; } .rep__big { text-align: left; }
  .rep__row { grid-template-columns: 1fr; gap: 2px; } .rep__feats li { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .is-active .run__mark { animation: none; } .sheet__panel, .sheet__backdrop { transition: none; } }

/* ---------- traps: the other "free" cards ---------- */
.mini { position: absolute; width: min(62%, 250px); padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 18px 40px -30px rgba(10, 10, 10, .35); z-index: 0; }
.mini--a { left: -4%; top: 2%; animation-name: a-mini-a; } .mini--b { right: -4%; bottom: 0; animation-name: a-mini-b; }
.box { z-index: 1; }
.mini__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--display); font-size: 16px; font-weight: 600; }
.mini__note { margin-top: 8px; font-size: 12px; color: var(--bad); }
@keyframes a-mini-a { 0%, 20% { opacity: 0; transform: translate(10px, 10px) scale(.96); } 30%, 100% { opacity: 1; transform: none; } }
@keyframes a-mini-b { 0%, 26% { opacity: 0; transform: translate(-10px, -10px) scale(.96); } 36%, 100% { opacity: 1; transform: none; } }
.a-mini-star-a { animation-name: a-mini-star-a; } .a-mini-star-b { animation-name: a-mini-star-b; }
@keyframes a-mini-star-a { 0%, 70% { opacity: 0; } 74%, 100% { opacity: 1; } }
@keyframes a-mini-star-b { 0%, 76% { opacity: 0; } 80%, 100% { opacity: 1; } }
.a-mini-note-a { animation-name: a-mini-note-a; } .a-mini-note-b { animation-name: a-mini-note-b; }
@keyframes a-mini-note-a { 0%, 72% { opacity: 0; transform: translateY(4px); } 78%, 100% { opacity: 1; transform: none; } }
@keyframes a-mini-note-b { 0%, 78% { opacity: 0; transform: translateY(4px); } 84%, 100% { opacity: 1; transform: none; } }
@media (max-width: 860px) { .mini { width: 58%; padding: 10px 12px; } .mini__head { font-size: 14px; } .mini--a { top: -6%; } .mini--b { bottom: -8%; } }

/* ---------- compare: controls that fit, machines list ---------- */
.field select, .field input { width: 100%; min-width: 0; max-width: 100%; }
.controls__grid > * { min-width: 0; }
.machines { display: grid; gap: 8px; margin-top: 12px; }
.machines:empty { margin-top: 0; }
.machine { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.machine select { font: inherit; font-size: 15px; color: var(--ink); padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--card); min-height: 44px; width: 100%; min-width: 0; }
.machine select:focus { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }

/* ---------- results: collapsed rows ---------- */
.result { grid-template-columns: 28px minmax(0, 1fr) auto 32px; align-items: start; }
.result__toggle { width: 32px; height: 32px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; position: relative; margin-top: -2px; }
.result__toggle::after { content: ""; position: absolute; left: 11px; top: 9px; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .3s var(--ease); }
.result__toggle[aria-expanded="true"]::after { transform: rotate(225deg); top: 13px; }
.result__toggle:hover { background: var(--panel); } .result__toggle:focus-visible { outline: 3px solid var(--blue); }
.result__details { grid-column: 2 / 4; display: grid; gap: 6px; padding-top: 4px; }
.result__details[hidden] { display: none; }
.result__sum, .result__note, .result__meta { grid-column: auto; }

/* ---------- report: sticky tabs ---------- */
.report__tabs { position: sticky; top: -28px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 0 12px; margin: -28px 0 14px; background: var(--card-glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.report__tabs button { font: inherit; font-size: 13px; font-weight: 600; padding: 8px 12px; min-height: 36px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.report__tabs button.is-on { background: var(--inverse); color: var(--contrast-text); border-color: var(--ink); }
.report__tabs button:focus-visible { outline: 3px solid var(--blue); }
.rep, .report__summary { scroll-margin-top: 70px; }
@media (max-width: 860px) { .report__tabs { top: -22px; margin: -22px 0 12px; } .report__tabs button { font-size: 12px; padding: 7px 10px; } }

/* ---------- industries as a scene ---------- */
.scene--cards { height: 240vh; }
.scene__grid--stack { grid-template-columns: 1fr; gap: 28px; align-content: center; }
.scene__grid--stack .scene__copy p { max-width: 640px; }
.scene--cards .cards { position: relative; margin-top: 0; }
.cards__dock { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.card { position: relative; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s, background .3s; }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(12, 117, 249, .22) 50%, transparent 70%); transform: translateX(-110%); pointer-events: none; }
.card.is-hot { border-color: var(--blue); background: var(--blue-tint); transform: translateY(-5px); box-shadow: 0 30px 50px -34px rgba(12, 117, 249, .65); }
.card.is-hot::after { animation: a-sweep .9s var(--ease) both; }
.card.is-hot svg { stroke: var(--blue); }
.card.is-done { border-color: var(--blue-line); }
@keyframes a-sweep { from { transform: translateX(-110%); } to { transform: translateX(110%); } }
.card svg { position: relative; z-index: 1; }
@media (max-width: 860px) {
  .scene--cards { height: 220vh; }
  .scene__grid--stack { gap: 16px; align-content: start; }
  .scene--cards .scene__stage { height: auto; }
}
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card { padding: 14px; border-radius: 14px; }
  .card svg { width: 22px; height: 22px; margin-bottom: 10px; }
  .card b { font-size: 15px; margin-bottom: 4px; } .card span { font-size: 12px; line-height: 1.4; }
}

/* ---------- faq: the highlight walks the questions ---------- */
.q-dock { display: inline-block; width: 1px; height: 30px; vertical-align: middle; margin: 0 6px; }
.qa summary { position: relative; transition: color .3s; }
.qa summary::before { content: ""; position: absolute; inset: 6px -8px; border-radius: 14px; background: linear-gradient(90deg, transparent 0%, rgba(12, 117, 249, .16) 45%, rgba(12, 117, 249, .16) 55%, transparent 100%); transform: translateX(-100%); opacity: 0; pointer-events: none; }
.qa summary.is-hot { color: var(--blue); }
.qa summary.is-hot::before { animation: a-band .9s var(--ease) both; }
.qa summary.is-hot::after { border-color: var(--blue); }
@keyframes a-band { 0% { transform: translateX(-100%); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(100%); opacity: 0; } }

/* ---------- support: how this stays free ---------- */
.support { background: var(--dark); color: #fff; }
.scene--support { height: 260vh; }
.scene--support { background: var(--dark); }
.scene--support .support__inner { width: 100%; }
.support__inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.support .eyebrow { color: #5EA3FF; }
.support .lead { color: var(--dark-muted); margin-top: 22px; max-width: 600px; }
.support__ask { margin-top: 20px; font-weight: 600; font-size: clamp(17px, 1.6vw, 20px); color: #fff; max-width: 560px; }
.support__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.support__points li { display: grid; gap: 4px; padding: 18px 20px 18px 54px; border: 1px solid var(--dark-line); border-radius: 16px; background: var(--dark-2); position: relative; }
.support__points li::before { content: ""; position: absolute; left: 20px; top: 22px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); }
.support__points li::after { content: ""; position: absolute; left: 27px; top: 26px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.support__points b { font-family: var(--display); font-size: 17px; font-weight: 600; }
.support__points span { font-size: 14px; color: var(--dark-muted); }
.report__support { margin: 18px 0 0; padding: 14px 18px; border-radius: 14px; background: var(--blue-tint); font-size: 14px; color: var(--muted); line-height: 1.55; }
.report__support b { color: var(--ink); }
@media (max-width: 860px) { .support__inner { grid-template-columns: 1fr; gap: 28px; } .support__points li { padding: 14px 16px 14px 48px; } .support__points li::before { left: 16px; top: 17px; } .support__points li::after { left: 23px; top: 21px; } }

/* ---------- support points: the dot leaves a tick on each ---------- */
.support__points li { padding-left: 54px; }
.support__points li::before, .support__points li::after { display: none; }
.support__points .pt { position: absolute; left: 20px; top: 22px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--dark-line); transition: background .3s, border-color .3s; }
.support__points .pt::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0; transition: opacity .3s; }
.support__points .pt.is-hot, .support__points .pt.is-done, body:not(.journey-live) .support__points .pt { background: var(--blue); border-color: var(--blue); }
.support__points .pt.is-done::after, body:not(.journey-live) .support__points .pt::after { opacity: 1; }
@media (max-width: 860px) { .support__points li { padding-left: 48px; } .support__points .pt { left: 16px; top: 17px; } }

/* ---------- theme toggle ---------- */
.theme { margin-left: auto; width: 40px; height: 40px; border: 1.5px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; flex: none; transition: border-color .2s, transform .35s var(--ease); }
.theme:hover { border-color: var(--ink); } .theme:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.theme svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; grid-area: 1 / 1; transition: opacity .3s, transform .45s var(--ease); }
.theme__moon { opacity: 0; transform: rotate(-60deg) scale(.6); }
.theme[aria-pressed="true"] .theme__sun { opacity: 0; transform: rotate(60deg) scale(.6); }
.theme[aria-pressed="true"] .theme__moon { opacity: 1; transform: none; }
.theme + .nav__cta { margin-left: 0; }
@media (max-width: 860px) { .theme { margin-left: auto; width: 38px; height: 38px; } .theme + .nav__cta { margin-left: 0; } }

/* ---------- processing screen: more life ---------- */
.run__stages li { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .55s var(--ease); }
.run__stages li.is-in { opacity: .45; transform: none; }
.run__stages li.is-active, .run__stages li.is-done { opacity: 1; }
.run__stages li.is-active b { background: linear-gradient(90deg, var(--ink) 0 35%, var(--blue) 50%, var(--ink) 65% 100%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: text-shimmer 1.4s linear infinite; }
@keyframes text-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.run__chip { display: inline-block; margin-top: 6px; padding: 4px 10px; border-radius: 999px; background: var(--blue-tint); color: var(--blue); font-size: 12px; font-weight: 600; font-style: normal; animation: chip-pop .55s var(--spring) both; }
@keyframes chip-pop { 0% { opacity: 0; transform: scale(.6) translateY(4px); } 60% { opacity: 1; transform: scale(1.08) translateY(0); } 100% { transform: scale(1); } }
.is-done .run__mark { animation: mark-pop .5s var(--spring) both; }
@keyframes mark-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.run__bar { position: relative; }
.run__bar i { position: relative; overflow: hidden; }
.run__bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); transform: translateX(-100%); animation: bar-sheen 1.6s ease-in-out infinite; }
@keyframes bar-sheen { to { transform: translateX(100%); } }
#run-loop svg { animation: breathe 2.4s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.run__logo { position: relative; }
.run__logo::before { content: ""; position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 2px solid var(--blue); opacity: 0; pointer-events: none; }
.run__logo.is-done::before { animation: done-pulse 1.4s ease-out both; }
@keyframes done-pulse { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.6); } }
.wiz__run h2 { transition: opacity .3s; }
.wiz__run.is-finishing h2 { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .run__stages li.is-active b, .run__bar i::after, #run-loop svg, .run__logo.is-done::before { animation: none; } }

/* ---------- pinned support and faq must fit a phone screen ---------- */
@media (max-width: 860px) {
  .scene--support .scene__pin, .scene--faq .scene__pin { align-items: start; }
  .scene--support .support__inner, .scene--faq .wrap--narrow { padding-top: calc(var(--nav-h) + 10px); padding-bottom: 12px; }
  .support h2 { font-size: clamp(28px, 8vw, 36px); }
  .support .lead { font-size: 14.5px; margin-top: 12px; line-height: 1.45; }
  .support__ask { font-size: 15px; margin-top: 12px; }
  .support__points { grid-template-columns: 1fr 1fr; gap: 8px; }
  .support__points li { padding: 12px 10px 12px 38px; border-radius: 12px; }
  .support__points b { font-size: 13.5px; } .support__points span { font-size: 11.5px; }
  .support__points .pt { left: 11px; top: 14px; width: 18px; height: 18px; } .support__points .pt::after { left: 4px; top: 1px; }
  .faq h2 { font-size: clamp(30px, 8vw, 38px); margin-bottom: 14px; }
  .qa summary { padding: 14px 40px 14px 0; font-size: 16px; }
  .qa__body { padding-bottom: 14px; font-size: 14.5px; }
}

/* ---------- focus: what to compare ---------- */
.focus { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--panel); margin-bottom: 10px; }
.focus__btn { flex: 1 1 auto; white-space: nowrap; font: inherit; font-size: 13px; font-weight: 600; padding: 9px 8px; min-height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; transition: background .25s, color .2s, box-shadow .25s; }
.focus__btn.is-on { background: var(--blue); color: #fff; box-shadow: 0 6px 16px -8px rgba(12, 117, 249, .8); }
.focus__btn:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.focus__hint { font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: 18px; min-height: 2.9em; }
.slider__fine { font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.45; }
.slider.is-muted { opacity: .45; }
.slider.is-muted .slider__fine::after { content: " Ignored in the Cards view."; }
@media (max-width: 860px) { .focus { display: grid; grid-template-columns: 1fr 1fr; } .focus__btn { font-size: 12.5px; } }

/* ---------- tighter hand-overs between scenes ---------- */
.scene--cards, .scene--faq { --pin-h: max(min(900px, 100vh), calc(100vh - 100px)); }
@media (max-width: 860px) {
  .scene__pin { height: auto; min-height: 0; max-height: 100vh; max-height: 100svh; }
  .footer { padding-top: 96px; }
}

/* ---------- phone comparison: results first, inputs as chips, one control at a time ---------- */
.results__top { display: none; }
.focus__btn .s { display: none; }
.compare-phone .compare__controls { display: none; }
.compare-phone .compare__results { overflow: clip; padding-top: 0; }
.compare-phone .results__top { display: block; position: sticky; top: calc(var(--nav-h) - 8px); z-index: 3; margin: 0 -20px 10px; padding: 12px 20px 0; background: var(--card); }
.compare-phone .focus { display: flex; margin-bottom: 8px; }
.compare-phone .focus__btn { padding: 8px 6px; min-height: 36px; font-size: 13px; }
.compare-phone .focus__btn .l { display: none; } .compare-phone .focus__btn .s { display: inline; }
.chips { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 4px 0 12px; }
.chips__list { flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-right: -20px; padding-right: 20px; scroll-padding-inline: 8px; }
.chips__list::-webkit-scrollbar { display: none; }
.chips__dock { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--blue); }
.journey-live .chips__dock { background: transparent; }
.chip { flex: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); background: var(--panel); border: 1.5px solid transparent; border-radius: 999px; padding: 8px 12px; min-height: 36px; white-space: nowrap; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.chip.is-hot { color: var(--blue); border-color: rgba(12, 117, 249, .35); }
.chip.is-on { background: var(--inverse); color: var(--contrast-text); border-color: var(--ink); }
.chip:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.compare-phone .compare__fine { margin-top: 18px; }
.tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--card); border-radius: 22px 22px 0 0; box-shadow: 0 -20px 50px -20px rgba(10, 10, 10, .4); padding: 10px 20px calc(16px + env(safe-area-inset-bottom)); max-height: 70vh; max-height: 70svh; display: flex; flex-direction: column; transform: translateY(105%); transition: transform .32s var(--ease); }
.tray.is-open { transform: none; }
.tray[hidden] { display: none; }
.tray__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tray__head b { font-family: var(--display); font-size: 17px; font-weight: 600; }
.tray__nav { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--panel); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.tray__nav:focus-visible, .tray__done:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.tray__body { overflow-y: auto; padding: 2px 2px 6px; }
.tray__body .slider { margin-top: 6px; }
.tray__body .field { margin-top: 4px; }
.tray__body .machines { margin-top: 10px; }
.tray__done { margin-top: 10px; width: 100%; }
.getbar { position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 65; display: flex; }
.getbar[hidden], .sheet-open .getbar, .tray-open .getbar { display: none; }
.getbar .btn { width: 100%; box-shadow: 0 16px 36px -14px rgba(12, 117, 249, .7); }

/* ---------- calls: ambient motion on top of the scroll scrub ---------- */
@property --bob { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --t { syntax: '<number>'; inherits: false; initial-value: 0; }
.call { translate: -50% calc(-50% + var(--bob)); animation-name: a-call, bob; animation-duration: 1s, 3.4s; animation-timing-function: linear, ease-in-out; animation-iteration-count: 1, infinite; animation-fill-mode: both, none; animation-play-state: paused, running; animation-delay: calc(var(--p, 0) * -1s + var(--i) * .028s), calc(var(--i) * -.53s); }
@keyframes bob { 0%, 100% { --bob: 0px; } 50% { --bob: -5px; } }
.link::after { content: ""; position: absolute; left: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px 2px rgba(229, 72, 77, .85); opacity: 0; transform: translateX(calc(hypot(var(--dx), var(--dy)) * var(--k, 1) * var(--t))); animation: travel 2.2s cubic-bezier(.35, 0, .65, 1) infinite; animation-delay: calc(var(--i) * -.41s); }
@keyframes travel { 0% { --t: 0; opacity: 0; } 14% { opacity: 1; } 86% { opacity: 1; } 100% { --t: 1; opacity: 0; } }
.calls__dock::before { content: ""; position: absolute; inset: -16px; border-radius: 50%; background: radial-gradient(circle, rgba(229, 72, 77, .55), rgba(229, 72, 77, 0) 70%); opacity: 0; transition: opacity .4s; }
.ripple--idle { border-color: var(--bad); animation: idle-ripple 2.6s cubic-bezier(.2, .6, .4, 1) infinite; opacity: 0; }
@keyframes idle-ripple { 0% { opacity: .55; transform: scale(1); } 100% { opacity: 0; transform: scale(3.4); } }
@keyframes glow { 0%, 100% { transform: scale(.9); opacity: .55; } 50% { transform: scale(1.3); opacity: 1; } }
.stage-calls.is-ringing .calls__dock::before { opacity: 1; animation: glow 2.6s ease-in-out infinite; }
.stage-calls:not(.is-ringing) .ripple--idle, .stage-calls:not(.is-ringing) .link::after { animation-play-state: paused; opacity: 0; }
@media (max-width: 860px) { @keyframes bob { 0%, 100% { --bob: 0px; } 50% { --bob: -3px; } } }

/* ---------- hero exit: the tap wave ----------
   --hp (0..1 over the first 0.8 viewports of scroll) is set on .hero by site.js, which also gives every piece its distance
   from the dot (--d, 0..1) and the direction away from it (--ux, --uy). Nothing is transformed until .is-leaving is on,
   so the logo and type stay crisp at rest. Each piece starts moving when the wave front reaches it. */
.hero.is-leaving [data-wave], .hero.is-leaving #hero-svg [class*="-L"], .hero.is-leaving #hero-svg .tv-logo-intro-light-spin, .hero.is-leaving #hero-svg .tv-logo-intro-light-arc { --w: clamp(0, calc((var(--hp, 0) - var(--d, 0) * .55) / .45), 1); }
.hero.is-leaving [data-wave] { transform: perspective(900px) translate3d(calc(var(--ux, 0) * var(--w) * 18vw), calc(var(--uy, 0) * var(--w) * 18vh + var(--w) * 6vh), calc(var(--w) * -380px)) rotate(calc(var(--ux, 0) * var(--w) * 6deg)); filter: blur(calc(var(--w) * var(--w) * 14px)); opacity: calc(1 - var(--w) * var(--w)); }
.hero.is-leaving #hero-svg [class*="-L"] { transform: translate(var(--lx), var(--ly)) translate(calc(var(--ux, 0) * var(--w) * 1500px), calc(var(--uy, 0) * var(--w) * 1500px + var(--w) * 600px)) rotate(calc(var(--ux, 0) * var(--w) * 14deg)) scale(calc(1 - var(--w) * .55)) translate(calc(-1 * var(--lx)), calc(-1 * var(--ly))) !important; opacity: calc(1 - var(--w) * var(--w)) !important; }
.hero.is-leaving #hero-svg .tv-logo-intro-light-spin, .hero.is-leaving #hero-svg .tv-logo-intro-light-arc { opacity: calc(1 - var(--w)) !important; }
.hero.is-measuring [data-wave], .hero.is-measuring #hero-svg * { transform: none !important; filter: none !important; }
.hero__wave { position: absolute; left: var(--cx, 50%); top: var(--cy, 50%); width: 0; height: 0; pointer-events: none; opacity: 0; z-index: 0; }
.hero.is-leaving .hero__wave { opacity: 1; }
.hero__wave::before, .hero__wave::after { content: ""; position: absolute; left: 50%; top: 50%; width: calc(var(--hp, 0) * 200vmax); height: calc(var(--hp, 0) * 200vmax); margin: calc(var(--hp, 0) * -100vmax); border-radius: 50%; border: 2px solid var(--blue); opacity: calc((1 - var(--hp, 0)) * .5); }
.hero__wave::after { width: calc(var(--hp, 0) * 130vmax); height: calc(var(--hp, 0) * 130vmax); margin: calc(var(--hp, 0) * -65vmax); border-width: 1.5px; opacity: calc((1 - var(--hp, 0)) * .3); }

/* ---------- narrow controls column: short tab labels, one control per row, a brief line on each result ---------- */
.compare__controls { container: controls / inline-size; }
@media (min-width: 961px) { .compare__results { padding: 24px 20px; } }
@container controls (max-width: 420px) {
  .focus__btn .l { display: none; } .focus__btn .s { display: inline; }
  .focus__btn { padding: 9px 6px; }
  .controls__grid { grid-template-columns: 1fr; gap: 12px; }
}
.result__brief { flex-basis: 100%; font-family: var(--body); font-size: 12.5px; font-weight: 500; color: var(--muted); letter-spacing: 0; line-height: 1.4; margin-top: 1px; }
@media (max-width: 860px) { .result__brief { display: none; } }

/* ---------- wide controls column: two controls to a row so the whole panel fits on screen ---------- */
@container panel (min-width: 1000px) {
  .compare__controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; row-gap: 18px; align-items: start; }
  .compare__controls > .focus, .compare__controls > .focus__hint, .compare__controls > .compare__fine { grid-column: 1 / -1; }
  .compare__controls > .focus { margin-bottom: 0; }
  .compare__controls > .focus__hint { margin: -8px 0 0; min-height: 0; }
  .compare__controls > .slider, .compare__controls > .controls__grid, .compare__controls > .machines, .compare__controls > .compare__fine { margin-top: 0; }
  .compare__controls > .controls__grid { grid-column: 1 / -1; grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1.4fr); gap: 12px 16px; }
  .compare__controls > .controls__grid .field select { padding-left: 12px; padding-right: 34px; background-position: calc(100% - 17px) 50%, calc(100% - 11px) 50%; }
  .compare__controls > .machines { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin-top: -6px; }
  .compare__controls > .machines:empty { display: none; }
  .compare__controls > .machines .machine { grid-template-columns: 68px minmax(0, 1fr); gap: 8px; }
  .compare__controls > .machines .machine select { padding-left: 10px; padding-right: 34px; background-position: calc(100% - 17px) 50%, calc(100% - 11px) 50%; }
  .compare__controls > .slider .slider__fine { margin-top: 0; }
  .compare__controls .slider__head { gap: 8px; margin-bottom: 10px; }
  .compare__controls .slider__head output { font-size: 20px; white-space: nowrap; }
  .compare__controls .slider__head label { white-space: nowrap; }
}
.compare__results { container: results / inline-size; }
@container results (max-width: 519px) { .result__brief { display: none; } }

/* ---------- drop-downs in the site style: no native chrome, a chevron, text that trims instead of spilling ---------- */
.field select, .machine select, .filters select { appearance: none; -webkit-appearance: none; padding-right: 40px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 21px) 50%, calc(100% - 15px) 50%; background-size: 6px 6px; background-repeat: no-repeat; transition: border-color .2s; }
.field select:hover, .machine select:hover { border-color: var(--muted); }
.field select:focus, .machine select:focus { background-image: linear-gradient(45deg, transparent 50%, var(--blue) 50%), linear-gradient(135deg, var(--blue) 50%, transparent 50%); }
.field select option, .machine select option { font-weight: 400; color: var(--ink); background: var(--card); }

/* ---------- the sentence: what is chosen and what it comes out as, with whatever just changed lit up ---------- */
.story { font-size: 14.5px; line-height: 1.6; color: var(--muted); padding: 12px 14px; border-radius: 14px; background: var(--panel); margin-bottom: 14px; }
.story b { font-weight: 600; color: var(--ink); border-radius: 6px; padding: 0 3px; margin: 0 -1px; transition: background .3s; }
.story b[data-seg="outcome"] { color: var(--blue); }
.story b.is-changed { animation: seg 1.6s var(--ease) both; }
@keyframes seg { 0% { background: var(--blue); color: #fff; } 18% { background: var(--blue); color: #fff; } 100% { background: transparent; } }
@media (max-width: 860px) { .story { font-size: 13.5px; padding: 10px 12px; margin: 0 0 12px; } }

/* ---------- compare intro: heading left, paragraph right on wide screens ---------- */
@media (min-width: 961px) {
  .compare__intro { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "eyebrow lead" "title lead"; column-gap: clamp(32px, 5vw, 72px); align-items: start; }
  .compare__intro .eyebrow { grid-area: eyebrow; }
  .compare__intro h2 { grid-area: title; align-self: start; }
  .compare__intro .lead { grid-area: lead; align-self: start; margin-top: 6px; max-width: 520px; }
}

.result__badge--warn { background: rgba(242, 163, 58, .18); color: #B76E0C; }
:root[data-theme="dark"] .result__badge--warn { color: #F2B65C; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .result__badge--warn { color: #F2B65C; } }
.slider__head { flex-wrap: wrap; row-gap: 2px; }

/* ---------- the best route: single deal against the cheapest mix ---------- */
.route { border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; font-size: 14px; line-height: 1.5; }
.route--ok { background: var(--panel); color: var(--muted); }
.route--ok b { color: var(--ink); }
.route--save { background: var(--inverse); color: var(--contrast-text); }
.route__head { display: grid; gap: 2px; margin-bottom: 10px; }
.route__head b { font-family: var(--display); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.route__head span { color: var(--contrast-muted); font-size: 13px; }
.route__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.route__list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: baseline; font-size: 13.5px; padding: 6px 0; border-top: 1px solid var(--inverse-line); }
.route__list li span { color: var(--contrast-muted); }
.route__list li b { font-weight: 600; }
.route__list li em { font-style: normal; font-family: var(--display); font-weight: 600; white-space: nowrap; }
.route__list .route__total { border-top: 1px solid var(--inverse-line); font-size: 14.5px; }
.route__list .route__total span { color: var(--contrast-text); font-weight: 600; }
.route__fine { margin-top: 10px; font-size: 12.5px; color: var(--contrast-muted); }
.rep .route { margin: 10px 0 0; }
.rep .route--save { background: var(--inverse); }
@media (max-width: 860px) { .route__list li { grid-template-columns: minmax(0, 1fr) auto; } .route__list li b { grid-column: 1 / -1; order: -1; } }

/* ---------- the menu: one burger for every screen size, opening from the corner with the logo intro inside ---------- */
.nav.is-open { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav.is-open::after { opacity: 1; }
.nav__menu { display: block; position: fixed; inset: 0; z-index: 59; background: var(--white); overflow-y: auto; touch-action: none; overscroll-behavior: contain; clip-path: circle(0px at calc(100% - 52px) 30px); opacity: 0; pointer-events: none; transition: clip-path .7s var(--ease), opacity .3s; }
.nav__menu[hidden] { display: block; }
.nav.is-open .nav__menu { clip-path: circle(160vmax at calc(100% - 52px) 30px); opacity: 1; pointer-events: auto; touch-action: pan-y; }
.menu__inner { max-width: var(--wrap); margin: 0 auto; min-height: 100%; padding: calc(var(--nav-h) + 28px) var(--gutter) 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.menu__brand { color: var(--ink); }
.menu__logo { width: min(100%, 560px); }
.menu__logo svg { width: 100%; height: auto; overflow: hidden; }
.menu__line { margin-top: 10px; color: var(--muted); font-size: clamp(15px, 1.4vw, 18px); max-width: 440px; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .6s var(--ease); transition-delay: 1.2s; }
.nav.is-open .menu__line { opacity: 1; transform: none; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); opacity: 0; transform: translateY(18px); transition: opacity .45s var(--ease), transform .55s var(--ease); transition-delay: calc(.35s + var(--i) * 70ms); }
.nav.is-open .menu__links a { opacity: 1; transform: none; }
.menu__links a b { font-family: var(--display); font-size: clamp(28px, 3.6vw, 42px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; display: flex; align-items: center; gap: 0; }
.menu__links a b::before { content: ""; display: inline-block; width: 0; height: .36em; border-radius: 50%; background: var(--blue); margin-right: 0; transition: width .3s var(--ease), margin .3s var(--ease); }
.menu__links a:hover b::before, .menu__links a:focus-visible b::before { width: .36em; margin-right: .3em; }
.menu__links a span { color: var(--muted); font-size: 14px; }
.menu__links a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 8px; }
.menu__links .menu__cta { display: inline-flex; justify-self: start; margin-top: 26px; border-bottom: 0; padding: 0 26px; gap: 8px; opacity: 0; transform: translateY(18px); }
.nav.is-open .menu__links .menu__cta { opacity: 1; transform: none; }
.menu-open, .menu-open body { overflow: hidden; }
.menu-open .journey { opacity: 0 !important; }
@media (max-width: 860px) {
  .nav__menu { clip-path: circle(0px at calc(100% - 38px) 28px); }
  .nav.is-open .nav__menu { clip-path: circle(160vmax at calc(100% - 38px) 28px); }
  .menu__inner { grid-template-columns: 1fr; gap: 20px; align-items: start; padding-top: calc(var(--nav-h) + 16px); }
  .menu__logo { width: min(100%, 300px); }
  .menu__line { font-size: 14.5px; }
  .menu__links a { padding: 13px 0; }
  .menu__links a b { font-size: 28px; }
  .menu__links .menu__cta { margin-top: 20px; width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .nav__menu, .menu__links a, .menu__line { transition: none !important; } }

/* ---------- colour with meaning: red for a catch, green for the genuinely good ---------- */
.cell em, .row em i.fee { font-style: normal; color: var(--bad); }
.row em i.ok { font-style: normal; color: var(--good); }
.calls__count b { color: var(--bad); }
.result__badge--good { color: var(--good); background: var(--good-tint); }
.result__badge--bad { color: var(--bad); background: var(--bad-tint); }
.result__meta .chip--good { color: var(--good); } .result__meta .chip--bad { color: var(--bad); }
.result--quote .result__cost, .result__cost small.is-bad { color: var(--bad); }
.result__cost small.is-bad { opacity: .9; }
.result--quote .result__cost > small { display:block; margin:3px 0 0; line-height:1.45; }
.result--quote .result__cost > span { display:block; white-space:normal; }
.result--quote .result__cost > span > small { display:inline; margin:0; }

/* Keep published facts and missing information readable at every results width. */
.results__more[hidden] { display: none; }
@media (min-width: 861px) {
  .compare__controls { align-self: start; align-content: start; }
}
/* In the two-column comparison, keep context visible while the document scrolls. */
@media (min-width: 961px) {
  .compare__panel { --compare-sticky-top: calc(var(--nav-h) + 12px); }
  .compare__controls {
    position: sticky;
    top: var(--compare-sticky-top);
    max-height: calc(100vh - var(--nav-h) - 24px);
    max-height: calc(100svh - var(--nav-h) - 24px);
    overflow-y: auto;
    scrollbar-width: thin;
  }
  .compare__results > .story {
    position: sticky;
    top: var(--compare-sticky-top);
    z-index: 4;
    background: var(--panel);
    box-shadow: 0 -12px 0 var(--card), 0 12px 0 var(--card), 0 16px 20px -20px rgba(10, 10, 10, .35);
  }
}
.result { grid-template-columns: 22px minmax(0, 1fr) minmax(98px, .85fr) 26px; gap: 6px 10px; }
.result > * { min-width: 0; }
.result__pick { grid-column: 1; grid-row: 1; }
.result__name { grid-column: 2; grid-row: 1; display: block; overflow-wrap: anywhere; }
.result__provider { display: block; line-height: 1.3; }
.result__pick { width: 22px; height: 24px; }
.result__pick span { border-radius: 6px; }
.result__pick span::after { left: 5px; top: 2px; }
.result__badges { grid-column: 2 / 4; display: flex; flex-wrap: wrap; gap: 5px; margin: 0; }
.result__badge { max-width: 100%; white-space: normal; overflow-wrap: anywhere; font-size: 10px; padding: 2px 7px; line-height: 1.35; }
.result__cost { grid-column: 3; grid-row: 1; display: block; max-width: 100%; text-align: right; font-size: clamp(19px, 5.4cqi, 24px); line-height: 1.2; }
.result__cost > small { display: block; margin: 3px 0 0; font-size: 11px; line-height: 1.4; white-space: normal; }
.result--quote .result__cost { max-width: 100%; color: var(--muted); font-size: 13px; }
.result--quote .result__cost > span { font-size: 15px; }
.result--quote .result__cost > span { white-space: normal; overflow-wrap: anywhere; }
.result__cost > span > small { display: inline; }
.result__partial-label { color: var(--ink); font-weight: 600; margin-bottom: 3px; }
.result__toggle { grid-column: 4; grid-row: 1; width: 26px; height: 28px; }
.result__toggle::after { left: 9px; }
.result__known, .result__missing { grid-column: 2 / -1; margin: 0; font-family: var(--body); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.result__known { color: var(--muted); }
.result__known b { color: var(--ink); font-weight: 500; }
.result__missing { padding: 5px 0 2px; color: var(--muted); }
.result__missing b { font-weight: 600; color: var(--ink); }
.result__details { grid-column: 2 / -1; }
.result__published { min-width: 0; margin-top: 8px; }
.result__published h4 { font-family: var(--body); font-size: 13px; margin: 0 0 8px; font-weight: 600; }
.result__facts-list { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 7px 12px; margin: 0; font-family: var(--body); font-size: 12.5px; line-height: 1.5; }
.result__facts-list dt, .result__facts-list dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.result__facts-list dt { color: var(--muted); }
.result__facts-list dd { color: var(--ink); }
.result__fact-note { font-family: var(--body); font-size: 12px; line-height: 1.5; color: var(--muted); margin-top: 8px; }
.rep__row b small { display: inline-block; margin-top: 4px; font-family: var(--body); font-size: 12px; font-weight: 400; line-height: 1.5; color: var(--muted); }
.rep > .result__published { padding: 0 24px 20px; }
@container results (max-width: 519px) {
  .result__facts-list { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .result__facts-list dd + dt { margin-top: 7px; }
}
@container results (max-width: 359px) {
  .result { column-gap: 7px; }
  .result__name { font-size: 17px; }
  .result__known, .result__missing { font-size: 11.5px; }
}
@container results (max-width: 280px) {
  .result { grid-template-columns: 22px minmax(0, 1fr) 26px; }
  .result__cost { grid-column: 2; grid-row: 2; text-align: left; }
  .result__toggle { grid-column: 3; }
}
.route--save .route__head b { color: var(--good-on-inverse); }
.story b.is-good { color: var(--good); }
.story b[data-seg="outcome"].is-bad { color: var(--bad); }
.rep__row--total b { color: var(--good); }
.rep__row b .is-bad { color: var(--bad); }
.support__points .pt.is-done, .support__points .pt.is-hot { background: var(--good) !important; border-color: var(--good) !important; }

/* ---------- phones: each scene fits its screen ---------- */
@media (max-width: 860px) {
  .scene__copy h2 { font-size: clamp(26px, 7.2vw, 34px); }
  .scene__copy p { font-size: 14.5px; margin-top: 10px; line-height: 1.45; }
  .scene__copy p.scene__small { font-size: 13px; }
  .scene__grid { gap: 12px; padding-top: calc(var(--nav-h) + 8px); padding-bottom: 12px; }
  .scene__stage { height: min(44svh, 380px); }
  .stage-calls { height: min(40svh, 340px); }
  .stage-public { height: auto; }
  .call { --k: .44; } .link { --k: .44; }
  .calls__count { margin-top: 12px; font-size: 16px; } .calls__count b { font-size: 36px; }
  .stage-traps { height: min(52svh, 430px); }
  .mini--a { top: 0; } .mini--b { bottom: 0; }
  .box { padding: 16px 16px 20px; width: min(100%, 360px); } .box__list { font-size: 13px; gap: 4px; margin-bottom: 10px; } .box__bill { bottom: -26px; padding: 9px 14px; gap: 10px; } .box__bill b { font-size: 18px; }
  .scene--cards .scene__grid--stack { gap: 12px; }
  .scene--cards .cards { gap: 8px; } .scene--cards .card { padding: 10px 10px 12px; border-radius: 14px; }
  .scene--cards .card b { font-size: 14px; } .scene--cards .card span { font-size: 11.5px; line-height: 1.3; } .scene--cards .card svg { width: 18px; height: 18px; }
  .scene--cards .scene__copy p { font-size: 13.5px; }
}
@media (max-width: 860px) and (max-height: 790px) {
  .scene__copy h2 { font-size: 24px; } .scene__copy p { font-size: 13.5px; line-height: 1.4; }
  .scene__stage { height: min(42svh, 320px); } .stage-traps { height: min(50svh, 360px); } .stage-calls { height: min(38svh, 300px); }
  .scene--cards .card span { display: none; } .scene--cards .card { padding: 10px 10px; }
  .steps { gap: 12px; } .step b { font-size: 16px; } .step > span:last-child { font-size: 13px; }
  .ledger__rows { gap: 5px; } .row { padding: 6px 12px; gap: 6px; } .row b { font-size: 13px; } .row small { font-size: 10px; margin-bottom: 0; }
}

/* ---------- calls on a phone: a feed of notifications under the enquiry dot, instead of a shrunken web ---------- */
@media (max-width: 860px) {
  .stage-calls { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; height: auto; max-height: min(46svh, 420px); overflow: hidden; padding-top: 4px; }
  .stage-calls .calls__dock { position: relative; width: 44px; height: 44px; margin-bottom: 10px; flex: none; }
  .stage-calls .link { display: none; }
  .call { position: relative; left: auto; top: auto; translate: 0 var(--bob); width: min(100%, 320px); height: 32px; font-size: 12px; gap: 7px; padding: 0 11px 0 7px; flex: none; animation-name: a-call-m, bob; }
  .call svg { width: 20px; height: 20px; padding: 4px; }
  @keyframes a-call-m {
    0% { opacity: 0; transform: translateX(36px); }
    5% { opacity: 1; transform: translateX(-4px); }
    8% { transform: none; }
    54% { opacity: 1; transform: none; }
    60% { opacity: 0; transform: translateX(-48px); }
    64%, 100% { opacity: 0; transform: translateX(-48px); }
  }
}
@media (max-width: 860px) and (max-height: 790px) {
  .stage-calls { gap: 5px; max-height: min(44svh, 360px); }
  .call { height: 28px; font-size: 11.5px; } .call svg { width: 18px; height: 18px; padding: 4px; }
  .stage-calls .calls__dock { width: 40px; height: 40px; margin-bottom: 6px; }
}
