/* scenes/proof.css */
.prf { padding: clamp(40px, 6vw, 72px) 0; background: radial-gradient(52% 90% at 50% 100%, rgba(124, 92, 255, .07), transparent 72%), var(--bg); border-bottom: 1px solid var(--line); position: relative; z-index: 1; }
/* melts the hero's warm horizon into the page instead of ending it on a hard line */
.prf::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: clamp(90px, 16vh, 170px); background: linear-gradient(180deg, rgba(10, 15, 26, 0), var(--bg)); pointer-events: none; }
.prf-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.prf-tile { display: flex; padding: 0 clamp(4px, 1.2vw, 18px); border-left: 1px solid var(--line); }
.prf-tile:first-child { border-left: 0; }
.prf-in { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: 14px clamp(8px, 1.1vw, 14px) 16px; border-radius: var(--r-lg); color: inherit; text-decoration: none; }
.prf-tile p { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--ink-2); max-width: 26ch; text-wrap: pretty; }
/* a heading that wraps splits into two even lines instead of leaving one word behind */
.prf-tile strong { display: block; color: var(--ink); font-weight: 600; font-size: 1.05rem; margin-bottom: 2px; text-wrap: balance; transition: color .25s ease; }
.prf-viz { position: relative; width: 132px; height: 132px; display: grid; place-items: center; transition: transform .45s var(--e-spring); }
.prf-viz svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.prf-track { fill: none; stroke: rgba(179, 166, 255, .12); stroke-width: 6; transition: stroke .3s ease; }
.prf-ring { fill: none; stroke: var(--brand); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transform: rotate(-90deg); transform-origin: 60px 60px; transition: stroke-dashoffset 1.8s var(--e-out) .15s; }
.prf-tile.in .prf-ring { stroke-dashoffset: calc(100 - var(--to)); }
.prf-draw { fill: none; stroke: var(--brand); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.2s var(--e-out) .3s; }
.prf-tile.in .prf-draw { stroke-dashoffset: 0; }
/* the second stroke of a picture follows the first */
.prf-d2 { transition-delay: .95s; }
/* API tile: three dots tap out a message inside the bubble */
.prf-dots circle { fill: var(--brand-light); transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s var(--e-spring); }
.prf-tile.in .prf-dots circle { transform: scale(1); animation: prf-type 1.8s ease-in-out 2.4s infinite; }
.prf-tile.in .prf-dots circle:nth-child(1) { transition-delay: 1.5s; }
.prf-tile.in .prf-dots circle:nth-child(2) { transition-delay: 1.62s; animation-delay: 2.6s; }
.prf-tile.in .prf-dots circle:nth-child(3) { transition-delay: 1.74s; animation-delay: 2.8s; }
/* insights tile: bars rise one after another, then the spark lands */
.prf-bar { stroke-width: 10; transition-duration: .9s; }
.prf-bar:nth-of-type(2) { transition-delay: .5s; }
.prf-bar:nth-of-type(3) { transition-delay: .7s; stroke: var(--brand-light); }
.prf-spark { fill: var(--peach); transform-box: fill-box; transform-origin: center; transform: scale(0) rotate(-40deg); transition: transform .6s var(--e-spring) 1.35s; }
.prf-tile.in .prf-spark { transform: none; animation: prf-twinkle 2.6s ease-in-out 2.2s infinite; }
/* approvals tile: a light runs round the ring while the shield and its tick draw in */
.prf-run { fill: none; stroke: var(--brand); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 14 86; opacity: 0; transform: rotate(-90deg); transform-origin: 60px 60px; transition: opacity .6s ease .3s; }
.prf-tile.in .prf-run { opacity: 1; animation: prf-flow 2.8s linear infinite; }
.prf-num { position: relative; font-size: 2.3rem; font-weight: 600; letter-spacing: 0; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.prf-num i { font-style: normal; font-size: 1.1rem; color: var(--brand-light); margin: 0 1px; }
/* the first three tiles jump to their sections */
.prf-link { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .3s ease, box-shadow .3s ease; }
.prf-go { flex: none; margin-top: auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--brand-light); background: var(--brand-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 30%, transparent); transition: transform .4s var(--e-spring), background .25s ease, color .25s ease; }
.prf-link:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 2px; background: color-mix(in srgb, var(--brand) 8%, transparent); }
.prf-link:focus-visible .prf-go, .prf-link:active .prf-go { background: var(--brand-light); color: var(--navy); transform: translateY(4px); }
.prf-link:focus-visible strong { color: var(--brand-light); }
.prf-link:focus-visible .prf-track { stroke: rgba(179, 166, 255, .3); }
@media (hover: hover) {
  .prf-link:hover { background: color-mix(in srgb, var(--brand) 8%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 32%, transparent); }
  .prf-link:hover .prf-viz { transform: translateY(-5px) scale(1.04); }
  .prf-link:hover .prf-track { stroke: rgba(179, 166, 255, .3); }
  .prf-link:hover strong { color: var(--brand-light); }
  .prf-link:hover .prf-go { background: var(--brand-light); color: var(--navy); transform: translateY(4px); }
}
@keyframes prf-flow { to { stroke-dashoffset: -100; } }
@keyframes prf-type { 0%, 60%, 100% { transform: scale(1); opacity: 1; } 30% { transform: scale(.55); opacity: .45; } }
@keyframes prf-twinkle { 0%, 100% { transform: none; opacity: 1; } 50% { transform: scale(.72) rotate(45deg); opacity: .7; } }
@media (max-width: 860px) {
  .prf-row { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .prf-tile:nth-child(odd) { border-left: 0; }
  .prf-in { gap: 14px; padding: 12px 8px 14px; }
  .prf-viz { width: 104px; height: 104px; }
  .prf-num { font-size: 1.8rem; }
  .prf-tile p { font-size: .88rem; }
  .prf-go { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .prf-ring, .prf-draw, .prf-dots circle, .prf-spark, .prf-run, .prf-viz, .prf-go { transition: none; }
  .prf-tile.in .prf-dots circle, .prf-tile.in .prf-spark, .prf-tile.in .prf-run { animation: none; }
}

/* scenes/orbit.css */
/* orbit: the customer's own systems orbiting a central SMSBlast tile (the API section, #api).
   Default rules are the live orbit (positions come from orbit.js). The block at the end
   turns the stage into a plain pill cloud when there is no JS, the scene failed, or
   reduced motion meets a phone-sized stage. */

/* #api is a link target (proof tiles): the section's top padding slides part way under the sticky header,
   so the heading lands close below it and stays clear */
.orb { scroll-margin-top: calc(var(--header-h) - clamp(20px, 4.5vw, 64px)); overflow: clip; background: radial-gradient(ellipse 36% 44% at 74% 52%, rgba(124, 92, 255, .07), transparent); }
.orb-grid { display: grid; grid-template-columns: minmax(0, 1fr) min(640px, 58%); gap: clamp(24px, 4vw, 56px); align-items: center; }

/* ---------- copy ---------- */
.orb-copy { min-width: 0; }
.orb-copy .lede { max-width: 44ch; text-wrap: pretty; }
.orb-checks { list-style: none; margin: 0 0 clamp(24px, 3vw, 34px); padding: 0; display: grid; gap: 4px; }
.orb-checks li { position: relative; display: flex; align-items: center; gap: 12px; margin: 0 0 0 -12px; padding: 9px 12px; border-radius: var(--r-sm); font-size: 1rem; font-weight: 500; line-height: 1.35; color: var(--ink); }
.orb-checks li::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); opacity: 0; transition: opacity .25s ease; }
.orb-checks li > * { position: relative; }
.orb-checks li span { text-wrap: balance; }
.orb-checks li svg { flex: none; width: 24px; height: 24px; padding: 2px; border-radius: 50%; color: var(--brand-light); background: var(--brand-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 30%, transparent); transition: background .25s ease, color .25s ease, transform .4s var(--e-spring); }
@media (hover: hover) {
  .orb-checks li::after { content: ""; position: relative; flex: 1; min-width: 12px; height: 1px; margin-left: 4px; background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 45%, transparent), transparent); transform-origin: 0 50%; transform: scaleX(0); transition: transform .5s var(--e-out); }
  .orb-checks li:hover::before { opacity: 1; }
  .orb-checks li:hover svg { background: var(--sky); color: var(--navy); transform: scale(1.1); }
  .orb-checks li:hover::after { transform: scaleX(1); }
}
.orb-cta .btn { gap: 10px; }
.orb-arrow { transition: transform .3s var(--e-out); }
.orb-cta .btn:hover .orb-arrow { transform: translateX(4px); }

/* ---------- stage ---------- */
.orb-viz { position: relative; min-width: 0; display: grid; justify-items: center; }
.orb-stage { position: relative; z-index: 2; width: min(100%, 640px); aspect-ratio: 1; perspective: 1000px; -webkit-tap-highlight-color: transparent; }
.orb-stage::before { content: ""; position: absolute; inset: -4%; pointer-events: none; background-image: radial-gradient(circle, color-mix(in srgb, var(--brand) 26%, transparent) 1px, transparent 1.6px); background-size: 22px 22px; background-position: center; -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 98%); mask-image: radial-gradient(closest-side, #000 20%, transparent 98%); opacity: .55; }
.orb-glow { position: absolute; inset: -10%; pointer-events: none; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--sky-2) 24%, transparent) 0%, color-mix(in srgb, var(--sky-2) 9%, transparent) 34%, color-mix(in srgb, var(--bloom) 7%, transparent) 62%, transparent 100%); will-change: transform; }

.orb-plane { position: absolute; inset: 0; pointer-events: none; will-change: transform; transition: opacity .9s ease; }
.orb-rings, .orb-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.orb-track { fill: none; stroke: color-mix(in srgb, var(--sky) 12%, transparent); stroke-width: 1; }
.orb-ring { fill: none; stroke: color-mix(in srgb, var(--sky) 62%, transparent); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 1 9; }
.orb-ring[data-orb-ring="1"] { stroke-dasharray: 7 9; stroke-width: 1.25; stroke: color-mix(in srgb, var(--sky) 44%, transparent); }
.orb-ring[data-orb-ring="2"] { stroke-dasharray: 2 10; stroke: color-mix(in srgb, var(--peach) 55%, transparent); }
.orb-stage.is-two .orb-ring[data-orb-ring="1"] { stroke-dasharray: 2 9; stroke-width: 1.5; stroke: color-mix(in srgb, var(--peach) 55%, transparent); }
.orb-wave { fill: color-mix(in srgb, var(--brand) 5%, transparent); stroke: var(--brand-light); stroke-width: 2; opacity: 0; }
.orb-sat { fill: var(--brand); }
.orb-sat-h { fill: color-mix(in srgb, var(--brand-light) 30%, transparent); }
.orb-bead { stroke: var(--bg); stroke-width: 1.6; paint-order: stroke; }
/* a slow sweep over the plane, like a radar pass */
.orb-sweep { position: absolute; left: 50%; top: 50%; width: var(--orb-sw, 560px); height: var(--orb-sh, 560px); margin: calc(var(--orb-sh, 560px) / -2) 0 0 calc(var(--orb-sw, 560px) / -2); border-radius: 50%; background: conic-gradient(from 0deg, transparent 0deg, transparent 268deg, color-mix(in srgb, var(--brand-light) 13%, transparent) 346deg, transparent 360deg); -webkit-mask-image: radial-gradient(closest-side, transparent 22%, #000 40%, #000 99%, transparent 100%); mask-image: radial-gradient(closest-side, transparent 22%, #000 40%, #000 99%, transparent 100%); }
.orb-stage.is-on .orb-sweep { animation: fx-spin 14s linear infinite; }

/* hidden until the stage scrolls in; the scene then flies everything out from the centre */
.js .orb:not(.scene-failed) .orb-stage:not(.is-in) .orb-plane { opacity: 0; }
.js .orb:not(.scene-failed) .orb-stage:not(.is-in) .orb-core { opacity: 0; transform: translate(-50%, -50%) scale(.4); }
.js .orb:not(.scene-failed) .orb-stage:not(.is-in) .orb-hud { opacity: 0; }

/* ---------- wires ---------- */
.orb-link, .orb-link-glow { fill: none; stroke-linecap: round; opacity: 0; transition: opacity .25s ease; }
.orb-link { stroke-width: 2; stroke-dasharray: 5 7; }
.orb-link-glow { stroke: color-mix(in srgb, var(--brand) 16%, transparent); stroke-width: 9; }
.orb-stage.has-hot .orb-link, .orb-stage.has-hot .orb-link-glow { opacity: 1; }
.orb-stage.has-hot.is-on .orb-link { animation: orb-flow .7s linear infinite; }
.orb-pulse { visibility: hidden; }
.orb-pulse.is-on { visibility: visible; }
.orb-wire { fill: none; stroke-width: 1; stroke-linecap: round; stroke-dasharray: 1 5; }
.orb-trail { fill: none; stroke-width: 3; stroke-linecap: round; }
.orb-head { fill: #fff; stroke-width: 2; }

/* ---------- tiles ---------- */
.orb-tiles { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.orb-tile { --orb-c: var(--brand); position: absolute; left: 50%; top: 50%; z-index: 3; display: inline-flex; align-items: center; gap: .5em; margin: 0; padding: .62em .86em .62em .68em; border-radius: 999px; background: rgba(11, 24, 60, .88); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 8px 20px rgba(0, 0, 0, .32); font-family: var(--f-sans); font-size: var(--orb-fs, .78rem); font-weight: 500; line-height: 1; letter-spacing: 0; color: var(--ink); white-space: nowrap; cursor: default; user-select: none; -webkit-user-select: none; opacity: 0; transform: translate(-50%, -50%); will-change: transform, opacity; transition: border-color .3s ease, box-shadow .3s ease, background .3s ease; }
.orb-tile[data-kind="store"] { --orb-c: var(--mint); }
.orb-tile[data-kind="crm"] { --orb-c: var(--brand); }
.orb-tile[data-kind="mail"] { --orb-c: var(--violet); }
.orb-tile[data-kind="site"] { --orb-c: var(--amber); }
.orb-tile[data-kind="form"], .orb-tile[data-kind="book"] { --orb-c: var(--rose); }
.orb-tile[data-kind="pay"] { --orb-c: var(--brand-light); }
.orb-tile[data-kind="dev"] { --orb-c: var(--ink); }
.orb-dot { flex: none; width: .62em; height: .62em; border-radius: 50%; background: var(--orb-c); box-shadow: 0 0 0 .22em color-mix(in srgb, var(--orb-c) 16%, transparent); }
.orb-desc { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.orb-tile.is-lit { border-color: color-mix(in srgb, var(--orb-c) 60%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--orb-c) 12%, transparent), 0 8px 22px color-mix(in srgb, var(--orb-c) 22%, transparent); }
.orb-tile.is-hot { border-color: color-mix(in srgb, var(--sky) 75%, transparent); background: rgba(16, 34, 80, .96); box-shadow: 0 0 0 5px color-mix(in srgb, var(--sky) 14%, transparent), 0 14px 34px rgba(124, 92, 255, .28); }
.orb-tile.is-hot .orb-dot { animation: orb-dot 1s ease-in-out infinite; }

/* ---------- core ---------- */
.orb-core { position: absolute; left: 50%; top: 50%; z-index: 7; width: var(--orb-core, 88px); height: var(--orb-core, 88px); transform: translate(-50%, -50%); transition: opacity .6s ease, transform .9s var(--e-spring); pointer-events: none; }
.orb-chip { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 29%; color: var(--sky-3); background: linear-gradient(150deg, #fff 30%, var(--sky) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -10px 18px rgba(22, 94, 238, .2), 0 0 0 1px rgba(255, 255, 255, .3), 0 14px 34px rgba(0, 0, 0, .45), 0 0 60px rgba(179, 166, 255, .45); overflow: hidden; }
.orb-chip svg { position: relative; width: 44%; height: 44%; filter: drop-shadow(0 2px 5px rgba(22, 94, 238, .35)); }
.orb-chip::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 30% 0%, rgba(255, 255, 255, .34), transparent 60%); }
.orb-chip::after { content: ""; position: absolute; inset: -20%; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .5) 50%, transparent 60%); transform: translateX(-120%); }
.orb-stage.is-on .orb-chip::after { animation: orb-sheen 5.5s ease-in-out infinite; }
.orb-flash { position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(closest-side, #fff, rgba(255, 255, 255, .2) 80%); opacity: 0; }
.orb-ping { position: absolute; inset: 0; border-radius: 29%; border: 1.5px solid color-mix(in srgb, var(--brand) 50%, transparent); opacity: 0; }
.orb-stage.is-on .orb-ping { animation: orb-ping 3.9s cubic-bezier(.2, .6, .3, 1) infinite; }
.orb-stage.is-on .orb-ping:nth-child(2) { animation-delay: -1.3s; }
.orb-stage.is-on .orb-ping:nth-child(3) { animation-delay: -2.6s; }
.orb-burst { position: absolute; inset: 0; border-radius: 29%; border: 2px solid var(--brand-light); opacity: 0; }
.orb-charge { position: absolute; left: 50%; top: 50%; width: 140%; height: 140%; margin: -70% 0 0 -70%; overflow: visible; transform: rotate(-90deg); }
.orb-stage.is-on .orb-charge { animation: orb-turn 48s linear infinite; }
.orb-seg { fill: none; stroke: color-mix(in srgb, var(--sky) 18%, transparent); stroke-width: 2.6; stroke-linecap: round; transition: stroke .35s ease, stroke-width .35s var(--e-spring), filter .35s ease; }
.orb-seg.is-lit { stroke: var(--sky); stroke-width: 3.6; filter: drop-shadow(0 0 4px rgba(124, 92, 255, .75)); }
.orb-charge.is-full .orb-seg { stroke: var(--sun-2); filter: drop-shadow(0 0 5px rgba(22, 94, 238, .6)); }

/* ---------- tooltip ---------- */
.orb-tip { --orb-nub: 0px; position: absolute; left: 50%; top: 50%; z-index: 12; margin: 0; max-width: min(232px, calc(100% - 8px)); width: max-content; text-wrap: balance; padding: 9px 13px 10px; border-radius: 11px; background: #fff; color: #3d4a60; font-size: .82rem; line-height: 1.35; letter-spacing: 0; box-shadow: 0 12px 32px rgba(0, 0, 0, .45); pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s; }
.orb-tip b { color: var(--navy); font-weight: 600; }
.orb-tip::after { content: ""; position: absolute; left: calc(50% + var(--orb-nub)); top: 100%; width: 10px; height: 10px; margin: -5px 0 0 -5px; background: #fff; border-radius: 2px; transform: rotate(45deg); }
.orb-tip.is-below::after { top: 0; }
.orb-tip.is-on { opacity: 1; visibility: visible; }

/* ---------- HUD corners + feed ---------- */
.orb-hud { position: absolute; z-index: 1; margin: 0; font-size: .62rem; letter-spacing: 0; line-height: 1.7; white-space: nowrap; pointer-events: none; transition: opacity .8s ease .5s; }
.orb-hud b { font-weight: 500; color: var(--brand-light); font-variant-numeric: tabular-nums; }
.orb-hud .dot { width: 6px; height: 6px; margin-right: 8px; color: var(--mint); vertical-align: 1px; }
.orb-hud--tl { left: 0; top: 0; }
.orb-hud--tr { right: 0; top: 0; text-align: right; }
.orb-hud--bl { left: 0; bottom: 0; }
.orb-hud--br { right: 0; bottom: 0; text-align: right; }
.orb-hud--br b { font-size: 1.05rem; letter-spacing: .04em; line-height: 1.2; color: var(--ink); }
.orb-stage:not(.is-on) .dot.live, .orb-feed:not(.is-on) .dot.live { animation-play-state: paused; }

.orb-feed { display: flex; align-items: center; gap: 12px; width: min(100%, 440px); margin: clamp(18px, 2.4vw, 28px) 0 0; padding: 10px 16px 10px 12px; border-radius: 999px; background: var(--surface); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow-1); font-size: .66rem; letter-spacing: 0; white-space: nowrap; }
.orb-feed-k { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 4px 9px; border-radius: 999px; background: color-mix(in srgb, var(--mint) 14%, transparent); color: var(--mint); font-weight: 500; }
.orb-feed-k .dot { width: 6px; height: 6px; }
.orb-feed-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }

@keyframes orb-ping { 0% { transform: scale(1); opacity: 0; } 12% { opacity: .6; } 100% { transform: scale(2.5); opacity: 0; } }
@keyframes orb-sheen { 0%, 62% { transform: translateX(-120%); } 82%, 100% { transform: translateX(120%); } }
@keyframes orb-turn { to { transform: rotate(270deg); } }
@keyframes orb-flow { to { stroke-dashoffset: -12; } }
@keyframes orb-dot { 0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--orb-c) 16%, transparent); } 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--orb-c) 26%, transparent); } }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .orb-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .orb-copy .lede { max-width: 56ch; }
}
/* phones: a portrait stage with two elliptical orbits */
@media (max-width: 567px) {
  .orb-stage { aspect-ratio: 1 / 1.2; perspective: 900px; }
  .orb-stage::before { inset: 0 -4%; }
  .orb-glow { inset: -4% -12%; }
  .orb-tile { padding: .6em .82em .6em .66em; gap: .48em; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 5px 14px rgba(0, 0, 0, .3); }
  .orb-hud { font-size: .56rem; letter-spacing: 0; }
  .orb-hud--br b { font-size: .9rem; }
  .orb-checks li { font-size: .95rem; padding: 7px 12px; }
  .orb-tip { font-size: .78rem; }
  .orb-feed { font-size: .58rem; letter-spacing: .05em; gap: 9px; padding: 8px 12px 8px 9px; }
  .orb-feed-k { padding: 3px 8px; }
  .orb-cta .btn { width: 100%; }
}

/* ---------- reduced motion: a still system ---------- */
.orb-stage.is-static :is(.orb-hud--bl, .orb-hud--br) { display: none; }
@media (prefers-reduced-motion: reduce) {
  .orb-ping, .orb-burst, .orb-sweep { display: none; }
  .orb-stage .orb-chip::after, .orb-stage .orb-charge, .orb-stage .orb-link, .orb-tile.is-hot .orb-dot { animation: none !important; }
  .orb-core, .orb-plane, .orb-hud, .orb-tile, .orb-tip, .orb-checks li::before, .orb-checks li svg, .orb-checks li::after { transition: none; }
  .orb .dot.live { animation: none; }
}

/* ---------- fallback: no JS, a failed scene, or reduced motion on a phone ---------- */
:is(html:not(.js) .orb, .orb.scene-failed, .orb.orb-cloud) .orb-stage { aspect-ratio: auto; perspective: none; display: grid; justify-items: center; gap: 34px; padding: 56px 0 8px; }
:is(html:not(.js) .orb, .orb.scene-failed, .orb.orb-cloud) :is(.orb-plane, .orb-wires, .orb-tip, .orb-hud, .orb-feed) { display: none; }
:is(html:not(.js) .orb, .orb.scene-failed, .orb.orb-cloud) .orb-glow { inset: -40px -6% auto; height: 280px; }
:is(html:not(.js) .orb, .orb.scene-failed, .orb.orb-cloud) .orb-stage::before { inset: -30px 0 auto; height: 260px; }
:is(html:not(.js) .orb, .orb.scene-failed, .orb.orb-cloud) .orb-core { position: relative; left: auto; top: auto; order: -1; transform: none; opacity: 1; }
:is(html:not(.js) .orb, .orb.scene-failed, .orb.orb-cloud) .orb-tiles { position: relative; inset: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
:is(html:not(.js) .orb, .orb.scene-failed, .orb.orb-cloud) .orb-tile { position: static; transform: none; opacity: 1; }

/* scenes/simulator.css */
/* scene: simulator ("Simulate a blast"), the Insights section (#insights). Prefix: sim- */

/* #insights is a link target (proof tiles): the pin wrapper stops just under the sticky header */
.sim-pin { scroll-margin-top: var(--header-h); }

.bay.sim {
  /* the pinned section must fit under the header: the stage is the flexible part */
  --sim-stage-h: clamp(250px, calc(100svh - var(--header-h) - 300px), 560px);
  --sim-strip-h: 112px;
  padding: clamp(14px, 3vh, 30px) 0 clamp(8px, 1.6vh, 16px);
  overflow: clip;
  isolation: isolate;
}
.sim::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(48% 60% at 76% 40%, rgba(124, 92, 255, .13), transparent 72%),
    radial-gradient(40% 42% at 70% 104%, rgba(124, 92, 255, .12), transparent 70%),
    radial-gradient(36% 46% at 6% 96%, rgba(22, 94, 238, .07), transparent 70%);
  /* open page follows this section, so the low glows fade out instead of ending on a hard line */
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 80%, transparent 100%);
}
.sim-rain {
  /* kept off the copy column and faded out before the strip chart, so it never sits under small text */
  --sim-rain-a: radial-gradient(46% 92% at 78% 44%, #000 34%, transparent 100%);
  --sim-rain-b: linear-gradient(180deg, #000 0, #000 72%, transparent 84%);
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: .9;
  -webkit-mask-image: var(--sim-rain-a), var(--sim-rain-b); mask-image: var(--sim-rain-a), var(--sim-rain-b);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.sim-wrap { position: relative; }
.sim-grid { display: grid; gap: clamp(18px, 3.4vw, 48px); align-items: center; }
@media (min-width: 960px) { .sim-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }

/* ---------- copy ---------- */
.sim-copy { display: grid; gap: 20px; justify-items: start; min-width: 0; }
.sim-copy .tag, .sim-copy .h2, .sim-copy .lede { margin: 0; }
.sim-copy .h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
/* gradient text survives the per-word decode spans */
.sim-copy .h2 .grad .w { background: linear-gradient(100deg, #fff 0%, #fff 40%, var(--peach) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .12em; margin-bottom: -.12em; }
.sim-lede { max-width: 44ch; }
.sim-pick { display: grid; gap: 9px; justify-self: stretch; }
.sim-tiers { display: flex; gap: 6px; }
.sim-tier {
  flex: 1 1 0; min-width: 0; font: inherit; cursor: pointer; text-align: left; display: grid; gap: 5px; align-content: start;
  padding: 11px 10px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink-3);
  position: relative; overflow: hidden; -webkit-tap-highlight-color: transparent;
  transition: transform .35s var(--e-spring), border-color .2s ease, background .2s ease, box-shadow .25s ease, color .2s ease;
}
.sim-tier b { font-size: 1.24rem; line-height: 1; font-weight: 600; color: var(--ink-2); letter-spacing: 0; font-variant-numeric: tabular-nums; transition: color .2s ease; }
.sim-tier span { font-family: var(--f-mono); font-size: .56rem; letter-spacing: 0; white-space: nowrap; }
.sim-tier::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--spectrum); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--e-out); }
.sim-tier:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.sim-tier:active { transform: scale(.96); }
.sim-tier[aria-checked="true"] { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-light); box-shadow: 0 8px 22px -6px rgba(124, 92, 255, .35); }
.sim-tier[aria-checked="true"] b { color: var(--ink); }
.sim-tier[aria-checked="true"]::after { transform: scaleX(1); }
.sim-tier:focus-visible, .sim-replay:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.sim-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sim-points li { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--ink); }
.sim-points svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; color: var(--brand-light); background: var(--brand-soft); }
.sim-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.sim-fine { flex-basis: 100%; }

/* ---------- chamber ---------- */
.sim-chamber { position: relative; overflow: clip; min-width: 0; box-shadow: var(--shadow-2); }
/* the card's edge and glow follow the phase of the blast */
.sim .sim-chamber { transition: opacity .8s ease, transform .8s var(--e-out), border-color .6s ease, box-shadow .6s ease; }
.sim-chamber[data-state="sending"] { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--shadow-1), 0 26px 72px -10px rgba(124, 92, 255, .32); }
.sim-chamber[data-state="engaging"] { border-color: color-mix(in srgb, var(--mint) 42%, var(--line)); box-shadow: var(--shadow-1), 0 26px 72px -10px rgba(95, 212, 154, .2); }
.sim-stage {
  position: relative; height: calc(var(--sim-stage-h) - var(--sim-trim, 0px));
  background:
    radial-gradient(64% 70% at 60% 50%, rgba(124, 92, 255, .08), transparent 72%),
    radial-gradient(60% 44% at 60% 112%, rgba(124, 92, 255, .12), transparent 72%);
}
.sim-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sim-hud { position: absolute; display: grid; gap: 3px; pointer-events: none; line-height: 1.35; }
.sim-hud > span { display: block; }
.sim-tl { top: 18px; left: 22px; justify-items: start; }
.sim-tr { top: 18px; right: 22px; text-align: right; justify-items: end; }
.sim-bl { bottom: 16px; left: 22px; }
.sim-br { bottom: 16px; right: 22px; text-align: right; justify-items: end; }
.sim-big { font-family: var(--f-sans); font-size: clamp(2.7rem, 5.2vw, 4.5rem); font-weight: 600; line-height: 1; letter-spacing: 0; text-transform: none; width: max-content; padding: 0 .06em .06em 0; }
.sim-big.sim-glitch { animation: sim-glitch .4s steps(2, end); }
.sim-val { font-size: .68rem; white-space: nowrap; }
.sim-val b { text-transform: none; font-family: var(--f-sans); font-size: 1.65rem; font-weight: 600; letter-spacing: 0; line-height: 1.1; margin-right: 2px; font-variant-numeric: tabular-nums; }
.sim-status { display: inline-flex !important; align-items: center; gap: 8px; white-space: nowrap; }
.sim-status b { color: var(--brand-light); min-width: 9ch; }
.sim-led { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 12%, transparent); flex: none; transition: background .3s ease; }
.sim-chamber[data-state="sending"] .sim-led { background: var(--brand); animation: fx-pulse .9s ease-in-out infinite; }
.sim-chamber[data-state="delivered"] .sim-led { background: var(--brand); }
.sim-chamber[data-state="engaging"] .sim-led { background: var(--mint); animation: fx-pulse 1.8s ease-in-out infinite; }
.sim-chamber[data-state="queued"] .sim-status b { color: var(--ink-2); }
.sim-chamber[data-state="engaging"] .sim-status b { color: var(--mint); }

.sim-hint {
  position: absolute; left: 50%; bottom: 15px; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; pointer-events: none;
  padding: 6px 12px; border-radius: 999px; color: var(--brand-light); background: color-mix(in srgb, var(--surface-solid) 82%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
  transform: translate(-50%, 8px); opacity: 0; transition: opacity .45s ease, transform .5s var(--e-out);
}
.sim-hint svg { animation: sim-nudge 1.4s ease-in-out infinite; }
.sim-idle .sim-hint { opacity: 1; transform: translate(-50%, 0); }
.sim-replay {
  pointer-events: auto; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; margin-bottom: 7px;
  font-family: var(--f-mono); font-size: .68rem; font-weight: 500; letter-spacing: 0; line-height: 1;
  padding: 8px 13px 8px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--brand) 32%, transparent);
  background: var(--surface-solid); color: var(--brand-light); box-shadow: var(--shadow-1);
  transition: transform .3s var(--e-spring), box-shadow .25s ease, background .2s ease;
  animation: sim-pop .5s var(--e-spring) both;
}
.sim-replay[hidden] { display: none; }
.sim-replay:hover { transform: translateY(-2px); background: var(--brand-soft); box-shadow: 0 10px 24px -6px rgba(124, 92, 255, .35); }
.sim-replay:active { transform: scale(.95); }
.sim-replay svg { flex: none; }
.sim-playing .sim-replay { pointer-events: none; background: var(--brand-soft); }
.sim-playing .sim-replay svg { animation: fx-spin 1.1s linear infinite reverse; }

/* summary row: fills in as each phase arrives, the complete read-out at the end */
.sim-stats { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); background: var(--surface-2); overflow: clip; }
.sim-stat { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 13px; row-gap: 1px; align-items: baseline; padding: 11px 18px 12px; min-width: 0; opacity: .4; transition: opacity .45s ease; }
.sim-stat + .sim-stat { border-left: 1px solid var(--line); }
.sim-stat.on { opacity: 1; }
.sim-stat .hud { grid-column: 1 / -1; display: flex; align-items: center; gap: 7px; }
.sim-stat .hud i { width: 7px; height: 7px; border-radius: 50%; background: var(--sim-c); flex: none; }
.sim-stat b { font-size: 1.5rem; font-weight: 600; letter-spacing: 0; line-height: 1.15; color: var(--ink); font-variant-numeric: tabular-nums; transform-origin: 0 80%; transition: transform .5s var(--e-spring), color .4s ease; }
.sim-stat em { font-style: normal; font-family: var(--f-mono); font-size: .64rem; letter-spacing: 0; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sim-stat::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--sim-c); transform: scaleX(var(--sim-f, 0)); transform-origin: 0 50%; }
.sim-s-d { --sim-c: var(--brand); --sim-ct: var(--brand-light); }
.sim-s-c { --sim-c: var(--mint); --sim-ct: var(--mint); }
.sim-s-r { --sim-c: var(--violet); --sim-ct: var(--violet); }
.sim-final .sim-stat b { color: var(--sim-ct); transform: scale(1.05); }
.sim-final .sim-stat:nth-child(2) b { transition-delay: .08s; }
.sim-final .sim-stat:nth-child(3) b { transition-delay: .16s; }
.sim-stats::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(179, 166, 255, .16) 50%, transparent 62%); transform: translateX(-110%); }
.sim-final .sim-stats::after { transform: translateX(110%); transition: transform 1.1s var(--e-out); }

/* ---------- strip chart ---------- */
.sim-strip { position: relative; margin-top: clamp(10px, 1.8vh, 18px); border-top: 1px solid var(--line); }
.sim-trace { display: block; width: 100%; height: var(--sim-strip-h); }
.sim-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 4px; }
.sim-keys { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.sim-k { white-space: nowrap; }
.sim-k::before { content: ""; display: inline-block; width: 14px; height: 2px; border-radius: 2px; vertical-align: middle; margin: -2px 7px 0 0; background: var(--sim-c); }
.sim-k-d { --sim-c: var(--brand); }
.sim-k-u { --sim-c: repeating-linear-gradient(90deg, var(--ink-2) 0 4px, transparent 4px 7px); }
.sim-k-c { --sim-c: var(--mint); }
.sim-k-r { --sim-c: var(--violet); }
.sim-note { text-align: right; white-space: nowrap; }

@keyframes sim-glitch { 20% { transform: translate(-3px, 1px) skewX(-6deg); } 40% { transform: translate(3px, -1px); } 60% { transform: translate(-1px, 2px) skewX(4deg); } 80% { transform: translate(2px, 0); } }
@keyframes sim-nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@keyframes sim-pop { from { opacity: 0; transform: translateY(6px) scale(.8); } }

/* short desktop windows */
@media (min-width: 960px) and (max-height: 760px) {
  .bay.sim { --sim-strip-h: 88px; --sim-stage-h: clamp(230px, calc(100svh - var(--header-h) - 248px), 500px); }
  .sim-copy { gap: 14px; }
  .sim-big { font-size: clamp(2.4rem, 4vw, 3rem); }
  .sim-fine { display: none; }
}

/* a 768 high laptop screen: a little less air so the section clears the header */
@media (min-width: 960px) and (min-height: 761px) and (max-height: 800px) {
  .bay.sim { --sim-strip-h: 96px; }
  .sim-copy { gap: 15px; }
}
/* low laptop windows (a 768 high screen with browser bars): the copy column sets the height, so it tightens */
@media (min-width: 960px) and (max-height: 700px) {
  .bay.sim { --sim-strip-h: 76px; padding: 10px 0 6px; }
  .sim-copy { gap: 10px; }
  .sim-copy .h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); }
  .sim-lede { font-size: 1rem; line-height: 1.5; }
  .sim-points { gap: 6px; }
  .sim-points li { font-size: .9rem; }
  .sim-strip { margin-top: 8px; }
}
@media (min-width: 960px) and (max-height: 640px) {
  .sim-more { display: none; }   /* as on phones: the check lines below say the same */
}
@media (min-width: 960px) and (max-height: 580px) {
  .sim-points { display: none; }
}

/* narrower two-column desktops: the summary read-outs stack */
@media (min-width: 960px) and (max-width: 1180px) {
  .sim-stat { grid-template-columns: minmax(0, 1fr); padding: 9px 14px 10px; }
  .sim-tier { padding: 10px 8px 9px; }
  .sim-tier span { letter-spacing: 0; }
}

/* tablets and phones: stacked, compact enough to sit under the header */
@media (max-width: 959px) {
  .bay.sim { --sim-stage-h: clamp(200px, calc(100svh - var(--header-h) - 482px), 430px); --sim-strip-h: 84px; }
  .sim-rain { --sim-rain-a: radial-gradient(120% 30% at 50% 60%, #000 40%, transparent 100%); --sim-rain-b: linear-gradient(180deg, #000 0, #000 80%, transparent 88%); }
  .sim-copy { gap: 13px; }
  .sim-lede { max-width: 60ch; }
  .sim-fine { flex-basis: auto; }
}
/* small low windows (about 900 by 600): too low to stack, so copy and chamber sit side by side as on a desktop.
   From 860px wide the chamber is wide enough (470px) for the full read-outs that simulator.js lays out. */
@media (min-width: 860px) and (max-width: 959px) and (min-height: 521px) and (max-height: 800px) {
  .bay.sim { --sim-stage-h: clamp(232px, calc(100svh - var(--header-h) - 236px), 420px); --sim-strip-h: 72px; padding: 10px 0 6px; }
  .sim-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 18px; }
  .sim-copy { gap: 10px; }
  .sim-copy .h2 { font-size: 1.9rem; }
  .sim-lede { font-size: .95rem; line-height: 1.5; }
  .sim-more, .sim-points, .sim-fine { display: none; }
  .sim-stat { grid-template-columns: minmax(0, 1fr); padding: 8px 12px 9px; }
  .sim-strip { margin-top: 8px; }
}

@media (max-width: 719px) {
  .bay.sim { --sim-stage-h: clamp(170px, calc(100svh - var(--header-h) - 428px), 400px); --sim-strip-h: 80px; padding: 10px 0 6px; }
  .sim-grid { gap: 12px; }
  .sim-copy { gap: 10px; }
  .sim-copy .tag { font-size: .64rem; }
  .sim-copy .h2 { font-size: 1.62rem; }
  .sim-lede { font-size: .88rem; line-height: 1.45; }
  .sim-label, .sim-fine { display: none; }
  .sim-points { display: none; }   /* the lede already says it; keeps the pin inside the screen */
  .sim-tier { padding: 8px 8px 7px; border-radius: 10px; gap: 0; }
  .sim-tier b { font-size: 1.02rem; }
  .sim-tier span { display: none; }
  .sim-cta { gap: 8px; }
  .sim-cta .btn { padding: 9px 16px; font-size: .86rem; }
  .sim-hud { font-size: .56rem; gap: 2px; }
  .sim-tl { top: 11px; left: 13px; }
  .sim-tr { top: 11px; right: 13px; }
  .sim-bl { bottom: 10px; left: 13px; }
  .sim-br { bottom: 10px; right: 13px; }
  .sim-big { font-size: 2.3rem; }
  .sim-val { font-size: .56rem; }
  .sim-val b { font-size: 1.2rem; }
  .sim-x, .sim-hint { display: none !important; }
  .sim-status { gap: 6px; }
  .sim-status b { min-width: 0; }
  .sim-led { width: 7px; height: 7px; }
  .sim-replay { font-size: .6rem; padding: 7px 11px 7px 9px; margin-bottom: 5px; }
  .sim-stat { padding: 7px 10px 8px; grid-template-columns: minmax(0, 1fr); }
  .sim-stat .hud { font-size: .54rem; gap: 5px; }
  .sim-stat b { font-size: 1.06rem; }
  .sim-stat em { font-size: .54rem; }
  .sim-strip { margin-top: 8px; }
  .sim-keys { display: none; }
  .sim-foot { justify-content: flex-end; padding-top: 1px; }
  .sim-note { font-size: .54rem; }
}
@media (max-width: 719px) and (max-height: 780px) {
  .sim-more { display: none; }
  .bay.sim { --sim-stage-h: clamp(170px, calc(100svh - var(--header-h) - 374px), 400px); --sim-strip-h: 68px; }
}

/* very short phones: drop the eyebrow and slim the strip so the chamber keeps its room */
@media (max-width: 719px) and (max-height: 680px) {
  .sim-copy .tag { display: none; }
  .bay.sim { --sim-stage-h: clamp(160px, calc(100svh - var(--header-h) - 322px), 400px); --sim-strip-h: 56px; padding-top: 8px; }
  .sim-grid, .sim-copy { gap: 8px; }
}
@media (max-width: 719px) and (max-height: 600px) {
  .sim-cta, .sim-tl > span:last-child { display: none; }
  .bay.sim { --sim-stage-h: clamp(160px, calc(100svh - var(--header-h) - 274px), 400px); }
}

@media (prefers-reduced-motion: reduce) {
  .sim-tier, .sim-tier::after, .sim-stat, .sim-stat b, .sim-replay, .sim .sim-chamber { transition: none; animation: none; }
  .sim-led { animation: none !important; }
  .sim-stats::after { display: none; }
  .sim-big.sim-glitch { animation: none; }
  .sim-hint { display: none; }
}

/* phones on their side: copy and chamber share one short row, the strip slims down */
@media (max-height: 520px) and (min-width: 600px) {
  .bay.sim { --sim-stage-h: clamp(140px, calc(100svh - var(--header-h) - 142px), 300px); --sim-strip-h: 52px; padding: 8px 0 4px; }
  .sim-grid { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 16px; }
  .sim-copy { gap: 8px; }
  .sim-copy .tag, .sim-lede, .sim-label, .sim-fine, .sim-foot, .sim-hint, .sim-cta .btn-outline, .sim-points { display: none !important; }
  .sim-copy .h2 { font-size: 1.5rem; }
  .sim-tiers { gap: 4px; }
  .sim-tier { padding: 7px 6px 6px; border-radius: 9px; gap: 0; }
  .sim-tier b { font-size: .92rem; }
  .sim-tier span { display: none; }
  .sim-cta .btn { padding: 8px 14px; font-size: .84rem; }
  .sim-hud { font-size: .56rem; gap: 1px; }
  .sim-tl { top: 9px; left: 12px; } .sim-tr { top: 9px; right: 12px; } .sim-bl { bottom: 8px; left: 12px; } .sim-br { bottom: 8px; right: 12px; }
  .sim-big { font-size: 1.9rem; }
  .sim-val { font-size: .56rem; }
  .sim-val b { font-size: 1.1rem; }
  .sim-x, .sim-tl > span:last-child { display: none !important; }
  .sim-replay { font-size: .58rem; padding: 6px 10px 6px 8px; margin-bottom: 4px; }
  .sim-stat { padding: 5px 10px 6px; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; }
  .sim-stat .hud { font-size: .52rem; }
  .sim-stat b { font-size: 1rem; }
  .sim-stat em { font-size: .54rem; }
  .sim-strip { margin-top: 6px; }
}

/* scenes/globe.css */
/* globe: dark bay with a WebGL network sphere, live HUD labels and three compliance cards */
/* #approvals is a link target (proof tiles): the panel stops just under the sticky header */
.glb { text-align: center; isolation: isolate; padding-bottom: clamp(56px, 7vw, 100px); scroll-margin-top: calc(var(--header-h) + 12px); }
/* the band: a night sky a shade deeper than the page, sky light overhead and a low sunrise under the cards */
.glb.darkbay {
  background:
    radial-gradient(900px 440px at 50% -14%, rgba(124, 92, 255, .2), transparent 70%),
    radial-gradient(70% 34% at 50% 108%, rgba(22, 94, 238, .26), transparent 72%),
    radial-gradient(85% 46% at 50% 104%, rgba(124, 92, 255, .2), transparent 74%),
    radial-gradient(600px 400px at 0% 40%, rgba(16, 36, 90, .55), transparent 70%),
    linear-gradient(180deg, #040919 0%, #060E2A 46%, #0A1438 100%);
  border-color: var(--line);
}
/* the panel floats between the Insights section above and the ticker below: clear space on both sides */
.bay.darkbay.inset.glb { margin-block: clamp(36px, 5vw, 72px); }
.glb-inner { display: flex; flex-direction: column; align-items: center; }
.glb-head { max-width: 880px; display: flex; flex-direction: column; align-items: center; }
.glb .tag { justify-content: center; }
.glb .grad { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #E8E4FF; }
/* gradient text per word, so the decode animation (opacity/blur on each word) cannot knock it out */
.glb .grad .w { background: linear-gradient(100deg, var(--glb-g1, #fff), var(--glb-g2, var(--peach))); -webkit-background-clip: text; background-clip: text; color: transparent; }
html:not(.js) .glb .grad { background: linear-gradient(100deg, #fff 0%, #fff 40%, var(--peach) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glb .grad .w:nth-child(1) { --glb-g1: #fff; --glb-g2: #fff; }
.glb .grad .w:nth-child(2) { --glb-g1: #fff; --glb-g2: #fdf3ef; }
.glb .grad .w:nth-child(3) { --glb-g1: #fdf3ef; --glb-g2: #DCD5FF; }
.glb .grad .w:nth-child(4) { --glb-g1: #DCD5FF; --glb-g2: var(--peach); }
.glb .lede { margin: 0 auto; max-width: 62ch; }
.glb-br { display: none; }   /* one line on wide screens, one sentence per line on phones */

/* ---------- stage ---------- */
.glb-stage { position: relative; width: 100%; height: clamp(336px, 44vw, 580px); margin: clamp(10px, 1.8vw, 24px) 0 clamp(24px, 3vw, 40px); }
.glb-stage::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(96%, 820px); aspect-ratio: 1; transform: translate(-50%, -50%); z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(124, 92, 255, .28), rgba(124, 92, 255, .1) 52%, transparent 72%); }
.glb-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55; background-image: radial-gradient(rgba(179, 166, 255, .22) 1px, transparent 1.5px); background-size: 28px 28px; background-position: 50% 50%; -webkit-mask-image: radial-gradient(ellipse 58% 64% at 50% 50%, #000 34%, transparent 80%); mask-image: radial-gradient(ellipse 58% 64% at 50% 50%, #000 34%, transparent 80%); }
.glb-canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; outline: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.glb-stage.is-drag { -webkit-user-select: none; user-select: none; }
.glb-stage.is-drag .glb-canvas { cursor: grabbing; }

.glb-corner { position: absolute; width: 16px; height: 16px; border: 0 solid rgba(179, 166, 255, .3); pointer-events: none; transition: opacity .8s ease .3s, transform 1s var(--e-out) .3s; }
.js .glb:not(.scene-failed) .glb-stage:not(.is-in) .glb-corner { opacity: 0; transform: translate(var(--glb-cx, 0), var(--glb-cy, 0)); }
.glb-corner--tl { left: 0; top: 0; border-width: 1px 0 0 1px; border-top-left-radius: 6px; --glb-cx: 28px; --glb-cy: 28px; }
.glb-corner--tr { right: 0; top: 0; border-width: 1px 1px 0 0; border-top-right-radius: 6px; --glb-cx: -28px; --glb-cy: 28px; }
.glb-corner--bl { left: 0; bottom: 0; border-width: 0 0 1px 1px; border-bottom-left-radius: 6px; --glb-cx: 28px; --glb-cy: -28px; }
.glb-corner--br { right: 0; bottom: 0; border-width: 0 1px 1px 0; border-bottom-right-radius: 6px; --glb-cx: -28px; --glb-cy: -28px; }

/* ---------- leader lines ---------- */
.glb-leads { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.glb-leads path { fill: none; stroke: rgba(179, 166, 255, .45); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--e-out) .55s; }
.glb-leads circle { fill: #E4E0FF; transition: opacity .5s ease 1.2s; }
.glb-leads .glb-lead-o { fill: none; stroke: rgba(179, 166, 255, .55); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: glb-lead 2.6s ease-out infinite; }
.js .glb:not(.scene-failed) .glb-stage:not(.is-in) .glb-leads path { stroke-dashoffset: 1; }
.js .glb:not(.scene-failed) .glb-stage:not(.is-in) .glb-leads circle { opacity: 0; }
@keyframes glb-lead { 0% { transform: scale(.4); opacity: .9; } 70%, 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- HUD labels ---------- */
.glb-hud { --glb-a: var(--brand-light); position: absolute; z-index: 2; display: grid; gap: 3px; min-width: 176px; padding: 11px 14px 12px; text-align: left; border-radius: 14px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(14, 28, 68, .72), rgba(7, 15, 40, .62)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 12px 32px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06); pointer-events: none; transition: opacity .7s ease, transform .9s var(--e-out), border-color .3s ease, box-shadow .3s ease; transition-delay: calc(var(--d, 0) * 110ms + 200ms), calc(var(--d, 0) * 110ms + 200ms), 0s, 0s; }
.js .glb:not(.scene-failed) .glb-stage:not(.is-in) .glb-hud { opacity: 0; transform: translateY(16px) scale(.96); }
.glb-hud--queue { left: 1%; top: 11%; --d: 0; }
.glb-hud--sent { right: 1%; top: 8%; --d: 1; }
.glb-hud--stop { left: 3.5%; bottom: 12%; --d: 2; --glb-a: var(--mint); }
.glb-hud--quiet { right: 3%; bottom: 14%; --d: 3; --glb-a: var(--violet); }
.glb-hud.is-hot { border-color: color-mix(in srgb, var(--glb-a) 70%, transparent); box-shadow: 0 12px 32px rgba(0, 0, 0, .35), 0 0 0 1px color-mix(in srgb, var(--glb-a) 35%, transparent), 0 0 36px color-mix(in srgb, var(--glb-a) 35%, transparent); }
.glb-k { display: flex; align-items: center; gap: 8px; font-size: .62rem; letter-spacing: 0; color: var(--ink-3); white-space: nowrap; }
.glb-led { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--glb-a); box-shadow: 0 0 0 3px color-mix(in srgb, var(--glb-a) 22%, transparent), 0 0 10px var(--glb-a); animation: fx-pulse 1.6s ease-in-out infinite; }
.glb-hud .glb-v { display: flex; align-items: baseline; gap: 7px; font-family: var(--f-mono); font-weight: 500; font-size: 1.55rem; line-height: 1.15; letter-spacing: 0; color: #fff; text-transform: none; font-variant-numeric: tabular-nums; transform-origin: 0 60%; }
.glb-v em { font-style: normal; font-weight: 400; font-size: .64rem; letter-spacing: 0; color: var(--ink-3); }
.glb-v em span { color: var(--ink-2); }
.glb-s { font-size: .6rem; letter-spacing: 0; color: var(--ink-3); white-space: nowrap; }
.glb-hud--queue.is-clear .glb-v, .glb-hud--queue.is-clear .glb-s { color: var(--mint); }
.glb-hud--queue.is-clear { --glb-a: var(--mint); }
.glb-hud--stop.is-wait .glb-led { animation-duration: .5s; }
.glb-hud--stop .glb-v > span, .glb-hud--quiet.is-on .glb-v > span { color: color-mix(in srgb, var(--glb-a) 55%, #fff); }
.glb-bars { display: flex; align-items: flex-end; gap: 2px; height: 18px; margin-top: 3px; }
.glb-bars i { flex: 1; height: 100%; border-radius: 1px; background: linear-gradient(180deg, var(--sky), var(--sky-2)); opacity: .85; transform-origin: 50% 100%; transform: scaleY(var(--v, .08)); transition: transform .3s ease; }

/* the tag that follows the hub node in 3D */
.glb-pin { position: absolute; left: 0; top: 0; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 999px; white-space: nowrap; font-size: .6rem; letter-spacing: 0; color: #E4E0FF; background: rgba(6, 14, 40, .84); border: 1px solid color-mix(in srgb, var(--mint) 42%, transparent); box-shadow: 0 6px 20px rgba(0, 0, 0, .4); pointer-events: none; opacity: 0; will-change: transform, opacity; transition: border-color .3s ease, box-shadow .3s ease; }
.glb-pin svg { flex: none; color: var(--mint); }
.glb-pin b { color: var(--mint); font-weight: 500; }
.glb-pin::after { content: ""; position: absolute; left: calc(50% + var(--glb-sx, 0px)); top: 100%; width: 1px; height: 9px; background: linear-gradient(var(--mint), transparent); }
.glb-pin.is-hot { border-color: var(--mint); box-shadow: 0 0 0 1px color-mix(in srgb, var(--mint) 35%, transparent), 0 0 28px color-mix(in srgb, var(--mint) 45%, transparent); }
.glb-pin-t { display: grid; }
.glb-pin-t > span { grid-area: 1 / 1; text-align: center; transition: opacity .16s ease, transform .4s var(--e-out); }
.glb-pin-a { transition-delay: .16s, .1s; }
.glb-pin-b { color: var(--mint); opacity: 0; transform: translateY(5px); }
.glb-pin.is-alt .glb-pin-a { opacity: 0; transform: translateY(-5px); transition-delay: 0s; }
.glb-pin.is-alt .glb-pin-b { opacity: 1; transform: none; transition-delay: .16s, .1s; }
.glb-pin.is-alt { border-color: var(--mint); box-shadow: 0 0 0 1px color-mix(in srgb, var(--mint) 30%, transparent), 0 0 24px color-mix(in srgb, var(--mint) 40%, transparent); }

/* event flags: created by the scene, each rides on the node its event happened at */
.glb-flag { --glb-a: var(--sky); position: absolute; left: 0; top: 0; z-index: 1; padding: 3px 8px 2px; border-radius: 6px; white-space: nowrap; font-size: .6rem; letter-spacing: 0; line-height: 1.5; color: var(--glb-a); background: rgba(6, 14, 40, .84); border: 1px solid color-mix(in srgb, var(--glb-a) 45%, transparent); pointer-events: none; opacity: 0; will-change: transform, opacity; }
.glb-flag.is-mint { --glb-a: var(--mint); }
.glb-flag.is-violet { --glb-a: #C9BEFF; }
.glb-flag::before { content: ""; position: absolute; left: -10px; top: calc(100% + 1px); width: 13px; height: 1px; background: var(--glb-a); opacity: .75; transform-origin: 100% 50%; transform: rotate(-42deg); }
.glb-flag.is-left::before { left: auto; right: -10px; transform-origin: 0 50%; transform: rotate(42deg); }

.glb-note { position: absolute; left: 50%; bottom: 0; z-index: 2; transform: translateX(-50%); margin: 0; display: flex; align-items: center; gap: 12px; white-space: nowrap; font-size: .6rem; color: var(--ink-3); pointer-events: none; transition: opacity .8s ease .9s; }
.js .glb:not(.scene-failed) .glb-stage:not(.is-in) .glb-note { opacity: 0; }
.glb-note > span + span::before { content: ""; display: inline-block; vertical-align: middle; width: 3px; height: 3px; margin: -2px 12px 0 0; border-radius: 50%; background: currentColor; opacity: .6; }
.glb-note b { margin-left: .6ch; color: var(--ink-2); font-weight: 500; letter-spacing: .04em; }

/* ---------- no-WebGL fallback: concentric rings with orbiting dots ---------- */
.glb-fallback { display: none; position: absolute; left: 50%; top: 50%; height: 92%; max-width: 100%; aspect-ratio: 1; transform: translate(-50%, -50%); overflow: visible; }
.glb.glb-nogl .glb-fallback, .glb.scene-failed .glb-fallback, html:not(.js) .glb .glb-fallback { display: block; }
.glb.glb-nogl .glb-canvas, .glb.scene-failed .glb-canvas, html:not(.js) .glb .glb-canvas { display: none; }
.glb.glb-nogl .glb-pin, .glb.glb-nogl .glb-note-rot, .glb.glb-nogl .glb-note-drag, html:not(.js) .glb .glb-pin, html:not(.js) .glb .glb-note-rot, html:not(.js) .glb .glb-note-drag { display: none; }
.glb-fb-line { fill: none; stroke: rgba(179, 166, 255, .32); stroke-width: 1; }
.glb-fb-dash { stroke-dasharray: 3 8; }
.glb-fb-dash2 { stroke-dasharray: 1 10; stroke: rgba(179, 166, 255, .5); }
.glb-fb-spin { transform-origin: 200px 200px; animation: glb-spin 16s linear infinite; }
.glb-fb-s2 { animation-duration: 26s; animation-direction: reverse; }
.glb-fb-s3 { animation-duration: 40s; }
.glb-fb-dot { fill: var(--sky); filter: drop-shadow(0 0 5px var(--sky-2)); }
.glb-fb-mint { fill: var(--mint); filter: drop-shadow(0 0 5px var(--mint)); }
.glb-fb-violet { fill: var(--violet); filter: drop-shadow(0 0 5px var(--bloom)); }
.glb-fb-hub { fill: #fff; filter: drop-shadow(0 0 10px var(--sky-2)); }
.glb-fb-ping { fill: none; stroke: var(--sky); stroke-width: 1.5; vector-effect: non-scaling-stroke; transform-origin: 200px 200px; animation: glb-ping 2.8s ease-out infinite; }
.glb-fb-ping2 { animation-delay: 1.4s; }
@keyframes glb-spin { to { transform: rotate(360deg); } }
@keyframes glb-ping { from { transform: scale(.6); opacity: .9; } to { transform: scale(6.5); opacity: 0; } }

/* ---------- cards ---------- */
.glb-cards { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 1080px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; text-align: left; }
.glb-cards > li { display: flex; }
.glb-card { --glb-a: var(--brand-light); flex: 1; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto 1fr; column-gap: 16px; row-gap: 6px; padding: 20px 20px 16px; overflow: hidden; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(14, 28, 68, .62), rgba(8, 17, 46, .56)); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); transition: transform .4s var(--e-out), border-color .3s ease, box-shadow .3s ease; }
.glb-cards li:nth-child(2) .glb-card { --glb-a: var(--mint); }
.glb-cards li:nth-child(3) .glb-card { --glb-a: var(--violet); }
.glb-card.glow::before { background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--glb-a) 20%, transparent), transparent 65%); }
.glb-card::after { content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--glb-a), transparent); opacity: .5; transform: scaleX(.35); transition: transform .6s var(--e-out), opacity .3s ease; }
.glb-ico { grid-row: 1 / span 2; align-self: start; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--glb-a); background: color-mix(in srgb, var(--glb-a) 13%, transparent); border: 1px solid color-mix(in srgb, var(--glb-a) 32%, transparent); transition: transform .5s var(--e-spring), box-shadow .3s ease; }
.glb-ico svg { display: block; }
/* icon strokes draw in after the card reveals (class selectors: [pathLength] does not invalidate reliably on SVG) */
.glb-d { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--e-out) calc(var(--i, 0) * 90ms + .4s); }
.glb-d + .glb-d { transition-delay: calc(var(--i, 0) * 90ms + .95s); }
.js .glb-cards li:not(.in) .glb-d { stroke-dashoffset: 1; }
.glb-card h3 { margin: 2px 0 0; font-size: 1.08rem; line-height: 1.25; letter-spacing: 0; color: #fff; }
.glb-card p { grid-column: 2; margin: 0; font-size: .93rem; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.glb-key { grid-column: 1 / -1; align-self: end; margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--line-2); display: flex; align-items: center; gap: 10px; font-size: .62rem; color: var(--ink-3); }
.glb-key i { flex: none; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, color-mix(in srgb, var(--glb-a) 25%, transparent) 0 40%, #fff 50%, color-mix(in srgb, var(--glb-a) 25%, transparent) 60% 100%) 0 0 / 300% 100%, var(--glb-a); box-shadow: 0 0 8px var(--glb-a); animation: glb-key 2.2s linear infinite; }
.glb-cards li:nth-child(2) .glb-key i { animation-direction: reverse; }
.glb-cards li:nth-child(3) .glb-key i { background: repeating-linear-gradient(90deg, var(--glb-a) 0 4px, transparent 4px 7px); animation: none; }
@keyframes glb-key { from { background-position: 100% 0, 0 0; } to { background-position: 0 0, 0 0; } }
@media (hover: hover) {
  .glb-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--glb-a) 55%, transparent); box-shadow: 0 18px 44px rgba(0, 0, 0, .42), 0 0 0 1px color-mix(in srgb, var(--glb-a) 18%, transparent); }
  .glb-card:hover::after { transform: scaleX(1); opacity: 1; }
  .glb-card:hover .glb-ico { transform: scale(1.08) rotate(-4deg); box-shadow: 0 0 24px color-mix(in srgb, var(--glb-a) 40%, transparent); }
}

.glb-cta { margin-top: clamp(24px, 3vw, 38px); }
.glb-cta .btn { box-shadow: 0 12px 40px -8px rgba(179, 166, 255, .45); }
.glb-cta .btn svg { transition: transform .3s var(--e-out); }
.glb-cta .btn:hover svg { transform: translateX(4px); }

/* ---------- tablet ---------- */
@media (max-width: 1000px) {
  .glb-hud { min-width: 150px; padding: 9px 12px 10px; }
  .glb-hud .glb-v { font-size: 1.25rem; }
  .glb-hud--queue, .glb-hud--sent { top: 4%; }
  .glb-hud--stop, .glb-hud--quiet { bottom: 9%; }
  .glb-hud--queue, .glb-hud--stop { left: 0; }
  .glb-hud--sent, .glb-hud--quiet { right: 0; }
  .glb-cards { gap: 10px; }
  .glb-card { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto; padding: 16px 16px 13px; row-gap: 8px; }
  .glb-ico { grid-row: auto; }
  .glb-card p { grid-column: 1; }
  .glb-key { margin-top: 6px; padding-top: 10px; }
}

/* ---------- phone: the canvas bleeds to the panel edges, labels move to the corners ---------- */
@media (max-width: 720px) {
  .glb-stage { height: 372px; margin-top: 14px; }
  .glb-canvas { left: calc(var(--gutter) * -1); width: calc(100% + var(--gutter) * 2); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
  .glb-corner { display: none; }
  .glb-hud { min-width: 0; gap: 1px; padding: 7px 10px 7px; border-radius: 12px; -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(180deg, rgba(12, 25, 62, .92), rgba(7, 15, 40, .88)); }
  .glb-hud .glb-v { font-size: 1.05rem; }
  .glb-k { font-size: .56rem; letter-spacing: 0; gap: 6px; }
  .glb-led { width: 5px; height: 5px; }
  .glb-s, .glb-bars { display: none; }
  .glb-hud--queue, .glb-hud--sent { top: 0; }
  .glb-hud--stop, .glb-hud--quiet { bottom: 22px; }
  .glb-note { font-size: .56rem; gap: 10px; }
  .glb-note .glb-note-rot { display: none; }
  .glb-pin { font-size: .54rem; padding: 4px 8px 4px 6px; }
  .glb-flag { font-size: .55rem; padding: 2px 6px 1px; }
  .glb-cards { grid-template-columns: 1fr; }
  .glb-card { grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 6px; }
  .glb-ico { grid-row: 1 / span 2; width: 42px; height: 42px; border-radius: 13px; }
  .glb-card h3 { font-size: 1rem; }
  .glb-card p { grid-column: 2; font-size: .88rem; }
  .glb-cta, .glb-cta .btn { width: 100%; }
  .glb-br { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  .glb-led, .glb-leads .glb-lead-o, .glb-fb-spin, .glb-fb-ping, .glb-key i { animation: none; }
  .glb-leads .glb-lead-o { opacity: 0; }
  .glb-hud, .glb-leads path, .glb-leads circle, .glb-d, .glb-card, .glb-bars i, .glb-corner, .glb-note { transition: none; }
}

/* scenes/ticker.css */
.tkr { padding: 22px 0; border-block: 1px solid var(--line); background: var(--bg); overflow: clip; display: grid; gap: 14px; position: relative; }
.tkr::before, .tkr::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 1; pointer-events: none; }
.tkr::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.tkr::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.tkr-row { white-space: nowrap; will-change: transform; }
.tkr-track { display: inline-flex; will-change: transform; }
.tkr-track span { font-family: var(--f-mono); font-size: clamp(.8rem, 1.2vw, 1rem); letter-spacing: 0; color: var(--ink); padding: 0 22px; display: inline-flex; align-items: center; gap: 44px; }
.tkr-track span::after { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); transform: rotate(45deg); }
.tkr-alt .tkr-track span { color: var(--ink-3); }
.tkr-alt .tkr-track span::after { background: transparent; border: 1.5px solid var(--brand-light); }

/* scenes/optin.css */
/* optin: list growth. Four signup sources feed lanes into one list card. Not pinned. */
.opt {
  /* dusk: a sky glow behind the stage and a faint warm bloom low on the right, fading out before both edges */
  background:
    radial-gradient(56% 46% at 50% 62%, rgba(124, 92, 255, .11), transparent 72%),
    radial-gradient(34% 28% at 86% 74%, rgba(124, 92, 255, .10), transparent 70%),
    radial-gradient(30% 24% at 8% 72%, rgba(22, 94, 238, .06), transparent 70%);
}
.opt .bay-head { margin-bottom: clamp(28px, 4vw, 48px); }

.opt-stage {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(230px, 290px) minmax(120px, 1fr) minmax(300px, 370px); align-items: center;
  padding: clamp(18px, 2.6vw, 32px); border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 1px 1px, rgba(179, 166, 255, .10) 1px, transparent 1.6px) 0 0 / 22px 22px,
    radial-gradient(600px 300px at 55% 40%, rgba(124, 92, 255, .13), transparent 70%),
    radial-gradient(520px 260px at 80% 110%, rgba(124, 92, 255, .10), transparent 70%),
    var(--surface);
  -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass);
  border: 1px solid var(--line); box-shadow: var(--shadow-1); overflow: clip;
}
.opt-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* sources */
.opt-srcs { grid-column: 1; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.opt-src {
  --c: var(--brand);
  display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 16px; background: var(--surface-solid); border: 1px solid var(--line); box-shadow: var(--shadow-1);
  color: var(--ink); text-decoration: none; position: relative;
  transition: transform .35s var(--e-out), border-color .3s, box-shadow .3s;
}
.opt-src:hover, .opt-src:focus-visible { transform: translateX(4px); border-color: color-mix(in srgb, var(--c) 45%, var(--line)); box-shadow: 0 10px 30px color-mix(in srgb, var(--c) 18%, transparent); }
.opt-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 22%, transparent) inset; }
.opt-ico svg { width: 22px; height: 22px; }
.opt-src-t { display: flex; flex-direction: column; min-width: 0; }
.opt-src-t b { font-weight: 600; font-size: .98rem; line-height: 1.25; }
.opt-src-t small { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .02em; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opt-src-n { font-family: var(--f-mono); font-size: .72rem; font-weight: 600; color: var(--c); font-variant-numeric: tabular-nums; min-width: 2.4em; text-align: right; }
.opt-src.pa .opt-ico { animation: opt-ping-a .6s var(--e-out); }
.opt-src.pb .opt-ico { animation: opt-ping-b .6s var(--e-out); }
@keyframes opt-ping-a { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 45%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }
@keyframes opt-ping-b { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 45%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }

/* the list */
.opt-list {
  grid-column: 3; position: relative; z-index: 1;
  padding: 20px 20px 14px; border-radius: 22px; background: var(--surface-solid); border: 1px solid var(--line-2); box-shadow: var(--shadow-2);
}
.opt-list-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.opt-chip { padding: 5px 10px; font-size: .62rem; gap: 5px; }
.opt-count { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 14px; }
.opt-num { font-size: clamp(2.3rem, 3.6vw, 3rem); font-weight: 600; letter-spacing: 0; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; display: inline-block; transform-origin: 0 80%; }
.opt-num.pa { animation: opt-pop-a .45s var(--e-spring); }
.opt-num.pb { animation: opt-pop-b .45s var(--e-spring); }
@keyframes opt-pop-a { 40% { transform: scale(1.045); color: var(--brand-light); } }
@keyframes opt-pop-b { 40% { transform: scale(1.045); color: var(--brand-light); } }
.opt-today { font-size: .84rem; color: var(--ink-3); }
.opt-today b { color: var(--mint); font-weight: 600; font-variant-numeric: tabular-nums; }

.opt-bar { display: flex; gap: 3px; height: 8px; margin-bottom: 8px; }
.opt-bar i { flex: 1 1 0; border-radius: 4px; background: var(--c, var(--brand)); transition: flex-grow .6s var(--e-out); }
.opt-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .6rem; margin-bottom: 12px; }
.opt-legend span { display: inline-flex; align-items: center; gap: 5px; }
.opt-legend i { width: 7px; height: 7px; border-radius: 2px; background: var(--c, var(--brand)); }

.opt-feed { list-style: none; margin: 0; padding: 0; border-top: 1px dashed var(--line); }
.opt-row { --c: var(--brand); display: grid; grid-template-columns: 30px 1fr auto 52px; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.opt-row:last-child { border-bottom: 0; }
.opt-row.is-new { animation: opt-row-in .55s var(--e-out); }
@keyframes opt-row-in { from { opacity: 0; transform: translateY(-10px); background: color-mix(in srgb, var(--c) 10%, transparent); } }
.opt-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 600; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); }
.opt-row-t { display: flex; flex-direction: column; min-width: 0; }
.opt-row-t b { font-family: var(--f-mono); font-size: .8rem; font-weight: 500; color: var(--ink); letter-spacing: .02em; }
.opt-row-t small { font-size: .74rem; color: var(--ink-3); }
.opt-ok { width: 16px; height: 16px; color: var(--mint); }
.opt-time { text-align: right; font-size: .6rem; }

.opt-note { grid-column: 1 / -1; margin: 18px 0 0; position: relative; z-index: 1; text-align: center; font-size: .6rem; }

.opt-cta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 18px; margin-top: clamp(24px, 3.5vw, 40px); text-align: center; }

/* tablet */
@media (max-width: 1000px) {
  .opt-stage { grid-template-columns: minmax(200px, 240px) minmax(70px, 1fr) minmax(270px, 320px); }
  .opt-src { grid-template-columns: 36px 1fr auto; gap: 10px; padding: 10px 12px; }
  .opt-ico { width: 36px; height: 36px; }
}

/* phones: the sources sit in a row on top and the lanes run down into the list */
@media (max-width: 760px) {
  .opt-stage { grid-template-columns: 1fr; padding: 14px; }
  .opt-srcs { grid-column: 1; flex-direction: row; gap: 8px; margin-bottom: 64px; }
  .opt-srcs li { flex: 1 1 0; min-width: 0; }
  .opt-src { grid-template-columns: 1fr; justify-items: center; gap: 6px; padding: 10px 4px 9px; border-radius: 14px; text-align: center; }
  .opt-src:hover, .opt-src:focus-visible { transform: translateY(-2px); }
  .opt-ico { width: 34px; height: 34px; border-radius: 10px; }
  .opt-ico svg { width: 19px; height: 19px; }
  .opt-src-t b { font-size: .74rem; }
  .opt-src-t small { display: none; }
  .opt-src-n { position: absolute; top: 4px; right: 6px; font-size: .58rem; min-width: 0; }
  .opt-list { grid-column: 1; padding: 16px 14px 10px; border-radius: 18px; }
  .opt-row { grid-template-columns: 28px 1fr auto 44px; gap: 8px; padding: 8px 0; }
  .opt-av { width: 28px; height: 28px; }
  .opt-note { margin-top: 12px; }
}
@media (max-width: 370px) {
  .opt-src-t b { font-size: .68rem; white-space: nowrap; }
  .opt-chip { display: none; }
  .opt-row { grid-template-columns: 26px 1fr 40px; }
  .opt-ok { display: none; }
}

/* reduced motion: a still picture, so drop the live "joined while you watched" line */
@media (prefers-reduced-motion: reduce) {
  .opt-today { display: none; }
}

/* scenes/gallery.css */
/* gallery: pinned horizontal gallery of the five core features (prefix gal-).
   Default rules = stacked panels with every mock in its finished state (no JS / reduced motion).
   gallery.js adds .gal-live to switch to the pinned horizontal track and scrubs the mocks. */

.gal { --gal-w: min(980px, 78vw); --gal-gap: clamp(16px, 2.2vw, 32px); --gal-win: rgba(13, 27, 66, .72); --gal-well: rgba(179, 166, 255, .07); background: transparent; padding: clamp(48px, 7vw, 96px) 0; overflow-x: clip; overflow-y: visible; }

/* ---------- ambient backdrop ---------- */
.gal-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); }
.gal-bg::before { content: ""; position: absolute; inset: 0 -260px; background-image: linear-gradient(to right, rgba(179, 166, 255, .06) 1px, transparent 1px), linear-gradient(to bottom, rgba(179, 166, 255, .06) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(75% 80% at 50% 58%, #000 25%, transparent 100%); mask-image: radial-gradient(75% 80% at 50% 58%, #000 25%, transparent 100%); transform: translate3d(calc(var(--gal-p, 0) * -220px), 0, 0); }
.gal-bg i { position: absolute; width: 760px; height: 760px; border-radius: 50%; }
.gal-bg i:nth-child(1) { left: -260px; top: -420px; background: radial-gradient(closest-side, rgba(124, 92, 255, .18), transparent); transform: translate3d(calc(var(--gal-p, 0) * 46vw), 0, 0); }
.gal-bg i:nth-child(2) { right: -280px; bottom: -460px; background: radial-gradient(closest-side, rgba(124, 92, 255, .16), rgba(22, 94, 238, .05) 60%, transparent); transform: translate3d(calc(var(--gal-p, 0) * -46vw), 0, 0); }

/* ---------- header row ---------- */
.gal-head { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 48px; margin-bottom: clamp(28px, 4vw, 44px); }
.gal-head .tag { margin-bottom: 10px; }
.gal .h2 { margin: 0; font-size: clamp(1.7rem, 3.1vw, 2.6rem); }
.gal-nav { display: none; flex: none; width: 272px; }
.gal-nav-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gal-count { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--f-mono); font-size: .76rem; letter-spacing: 0; color: var(--ink-3); white-space: nowrap; }
.gal-count-win { display: block; height: 1.2em; overflow: hidden; font-size: 1.5rem; line-height: 1.2; letter-spacing: 0; color: var(--ink); }
.gal-count-strip { display: grid; transform: translateY(calc(var(--gal-cur, 0) * -1.2em)); transition: transform .6s var(--e-out); }
.gal-count-strip b { height: 1.2em; font-weight: 600; }
.gal-count-name { margin-left: 4px; padding: 4px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-size: .66rem; letter-spacing: 0; }
.gal-arrows { display: flex; gap: 6px; }
.gal-arrow { width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: border-color .2s ease, color .2s ease, transform .25s var(--e-out), box-shadow .25s ease, opacity .2s ease; }
.gal-arrow:hover { border-color: var(--brand); color: var(--brand-light); transform: translateY(-1px); box-shadow: var(--shadow-1); }
.gal-arrow:active { transform: scale(.94); }
.gal-arrow:disabled { opacity: .38; cursor: default; transform: none; box-shadow: none; border-color: var(--line-2); color: var(--ink); }
.gal-dots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.gal-dot { position: relative; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.gal-dot::before, .gal-dot i { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; transition: height .2s ease, margin-top .2s ease, background .2s ease; }
.gal-dot::before { background: rgba(179, 166, 255, .16); }
.gal-dot i { background: var(--spectrum); transform-origin: 0 50%; transform: scaleX(var(--v, 0)); }
.gal-dot:hover::before, .gal-dot:hover i { height: 5px; margin-top: -2.5px; }
.gal-dot:hover::before { background: rgba(179, 166, 255, .3); }
@media (hover: hover) {
  .gal-dot::after { content: attr(data-gal-name); position: absolute; left: 50%; top: 100%; z-index: 3; padding: 4px 8px; border-radius: 6px; background: var(--ink); color: var(--navy); font-family: var(--f-mono); font-size: .6rem; letter-spacing: 0; white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-50%, -4px); transition: opacity .2s ease, transform .25s var(--e-out); }
  .gal-dot:hover::after, .gal-dot:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
}
.gal-dot:focus-visible, .gal-arrow:focus-visible, .gal-link:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* ---------- track + panels (stacked by default) ---------- */
.gal-view { position: relative; width: min(1120px, 100% - 2 * var(--gutter)); margin: 0 auto; }
.gal-track { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.gal-panel { position: relative; display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); padding: 12px; border-radius: var(--r-xl); min-height: 540px; }
.gal-panel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--shadow-2); opacity: var(--f, 0); pointer-events: none; }

.gal-copy { display: flex; flex-direction: column; min-width: 0; padding: clamp(16px, 2vw, 26px) clamp(18px, 2.4vw, 32px) clamp(12px, 1.6vw, 20px) clamp(14px, 1.8vw, 24px); }
.gal-idx { display: flex; align-items: center; gap: 12px; margin: 0; font-family: var(--f-mono); font-size: .7rem; letter-spacing: 0; color: var(--ink-3); white-space: nowrap; }
.gal-idx b { padding: 5px 9px; border-radius: 8px; background: var(--brand-soft); color: var(--brand-light); font-size: .78rem; font-weight: 600; letter-spacing: 0; }
.gal-idx::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.gal-body { margin: auto 0; padding: 18px 0; }
.gal-copy h3 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.02; letter-spacing: 0; margin: 0 0 .4em; color: var(--ink); text-wrap: balance; }
.gal-text { font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.45; color: var(--ink-2); margin: 0; max-width: 22ch; }
.gal-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.gal-feats li { position: relative; padding-left: 26px; font-size: .88rem; font-weight: 500; line-height: 1.35; color: var(--ink); }
.gal-feats li::before { content: ""; position: absolute; left: 0; top: .08em; width: 17px; height: 17px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.4 2.3 2.3 4.7-5' fill='none' stroke='%237CCBEC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.gal-link { position: relative; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; font-weight: 600; font-size: .95rem; color: var(--brand-light); }
.gal-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--e-out); }
.gal-link:hover::after { transform: scaleX(1); }
.gal-link svg { transition: transform .25s var(--e-out); }
.gal-link:hover svg { transform: translateX(4px); }

/* ---------- stage: the surface each mock sits on ---------- */
.gal-stage { position: relative; min-width: 0; min-height: 380px; border-radius: 22px; overflow: hidden; isolation: isolate; container-type: size; border: 1px solid var(--line); background: radial-gradient(90% 70% at 100% 0%, rgba(124, 92, 255, .18), transparent 70%), radial-gradient(80% 70% at 0% 100%, rgba(124, 92, 255, .12), transparent 70%), rgba(4, 9, 28, .55); }
.gal-panel:nth-child(2) .gal-stage { background: radial-gradient(90% 70% at 0% 0%, rgba(124, 92, 255, .15), transparent 70%), radial-gradient(80% 70% at 100% 100%, rgba(124, 92, 255, .16), transparent 70%), rgba(4, 9, 28, .55); }
.gal-panel:nth-child(3) .gal-stage { background: radial-gradient(90% 70% at 0% 0%, rgba(95, 212, 154, .1), transparent 70%), radial-gradient(80% 70% at 100% 100%, rgba(124, 92, 255, .16), transparent 70%), rgba(4, 9, 28, .55); }
.gal-panel:nth-child(4) .gal-stage { background: radial-gradient(90% 70% at 0% 0%, rgba(124, 92, 255, .16), transparent 70%), radial-gradient(80% 70% at 100% 100%, rgba(95, 212, 154, .09), transparent 70%), rgba(4, 9, 28, .55); }
.gal-panel:nth-child(5) .gal-stage { background: radial-gradient(90% 70% at 100% 0%, rgba(124, 92, 255, .16), transparent 70%), radial-gradient(80% 70% at 0% 100%, rgba(22, 94, 238, .1), transparent 70%), rgba(4, 9, 28, .55); }
.gal-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 92, 255, .2), transparent 65%); opacity: 0; transition: opacity .35s ease; }
.gal-stage.gal-lit::after { opacity: 1; }
.gal-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle at 1px 1px, rgba(179, 166, 255, .16) 1px, transparent 1.6px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(110% 85% at 75% 15%, #000, transparent 78%); mask-image: radial-gradient(110% 85% at 75% 15%, #000, transparent 78%); }

.gal-mock { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 1em; padding: 1.2em 1.4em 1.4em; font-size: 12px; font-size: clamp(11px, 2.5cqmin, 13.5px); line-height: 1.35; color: var(--ink); }
.gal-mock p { margin: 0; color: inherit; }
.gal-mock svg { flex: none; width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.gal-mock b { font-weight: 600; }
.gal-mock small { font-size: .82em; }
.gal-mock em, .gal-mock i { font-style: normal; }
.gal-hudrow { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.gal-mock .hud { display: inline-flex; align-items: center; gap: .7em; font-size: max(9.5px, .76em); white-space: nowrap; }
.gal-mock .hud .dot { width: 6px; height: 6px; color: var(--mint); }
.gal-win { background: var(--gal-win); border: 1px solid var(--line-2); border-radius: 1.15em; box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 18px 40px -14px rgba(0, 0, 0, .65); }
.gal-lbl { font-family: var(--f-mono); font-size: .72em; letter-spacing: 0; color: var(--ink-3); }
.gal-ava { flex: none; width: 2.9em; height: 2.9em; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: .76em; font-weight: 600; letter-spacing: .02em; background: var(--brand-soft); color: var(--brand-dark); }
.gal-a2 { background: rgba(124, 92, 255, .18); color: var(--peach); }
.gal-a3 { background: color-mix(in srgb, var(--mint) 16%, transparent); color: var(--mint); }
.gal-a4 { background: color-mix(in srgb, var(--amber) 16%, transparent); color: var(--amber); }
.gal-a5 { background: var(--ink); color: var(--navy); }

/* ---------- 01 campaigns: composer + phone preview ---------- */
.gal-m1-body { flex: 1; min-height: 0; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) min(14.5em, 40%); grid-template-rows: auto minmax(0, 1fr); column-gap: 1.3em; row-gap: .9em; align-items: start; }
.gal-m1-comp { position: relative; grid-column: 1; grid-row: 1; z-index: 1; min-width: 0; display: flex; flex-direction: column; gap: .85em; padding: 1em 1.1em 1.05em; }
.gal-m1-bar { display: flex; align-items: center; justify-content: space-between; gap: 1em; font-size: 1.04em; }
.gal-m1-state { font-family: var(--f-mono); font-size: .68em; font-weight: 500; letter-spacing: 0; padding: .35em .75em; border-radius: 999px; background: var(--bg-alt); color: var(--ink-3); border: 1px solid var(--line); transition: background .3s ease, color .3s ease, border-color .3s ease; }
.gal-m1-state.ok { background: color-mix(in srgb, var(--mint) 14%, transparent); color: var(--mint); border-color: color-mix(in srgb, var(--mint) 40%, transparent); }
.gal-m1-field { display: grid; gap: .4em; }
.gal-m1-aud { position: relative; display: flex; align-items: center; width: min(100%, 17.5em); height: 2.35em; padding: 0 .85em; border-radius: 999px; overflow: hidden; border: 1px dashed color-mix(in srgb, var(--brand) 40%, var(--line)); color: var(--ink-3); }
.gal-m1-audfill { position: absolute; inset: 0; background: var(--brand-soft); transform-origin: 0 50%; transform: scaleX(var(--a, 0)); }
.gal-m1-audph { position: relative; font-size: .95em; transition: opacity .25s ease; }
.gal-m1-audon { position: absolute; inset: 0; display: flex; align-items: center; gap: .5em; padding: 0 .4em 0 .8em; color: var(--brand-dark); white-space: nowrap; opacity: 0; transform: translateY(.5em); transition: opacity .25s ease, transform .4s var(--e-out); }
.gal-m1-aud.on { border-style: solid; border-color: color-mix(in srgb, var(--brand) 30%, transparent); }
.gal-m1-aud.on .gal-m1-audph { opacity: 0; }
.gal-m1-aud.on .gal-m1-audon { opacity: 1; transform: none; }
.gal-m1-audn { margin-left: auto; padding: .2em .6em; border-radius: 999px; background: color-mix(in srgb, var(--brand) 22%, transparent); color: var(--ink); font-family: var(--f-mono); font-size: .8em; font-variant-numeric: tabular-nums; }
.gal-m1-msg { min-height: 7.4em; padding: .7em .8em; border: 1px solid var(--line); border-radius: .8em; background: var(--gal-well); line-height: 1.45; transition: border-color .3s ease, box-shadow .3s ease; }
.gal-m1-tok { padding: .1em .35em; border-radius: .4em; background: rgba(124, 92, 255, .2); color: var(--peach); font-family: var(--f-mono); font-size: .86em; }
.gal-m1-tok:empty { display: none; }
.gal-m1-meter { display: flex; align-items: center; gap: .8em; font-family: var(--f-mono); font-size: .76em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.gal-m1-track { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.gal-m1-track i { display: block; height: 100%; background: var(--spectrum); transform-origin: 0 50%; }
.gal-m1-cnt b { color: var(--ink); }
.gal-m1-sms { padding: .2em .6em; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); }
.gal-m1-foot { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding-top: .85em; border-top: 1px solid var(--line); }
.gal-m1-tools { display: flex; gap: .75em; color: var(--ink-3); }
.gal-m1-send { display: inline-flex; align-items: center; gap: .5em; height: 2.45em; padding: 0 1em; border-radius: .7em; border: 1px solid var(--brand); background: transparent; color: var(--brand-light); font-weight: 600; font-size: .92em; white-space: nowrap; transition: background .3s ease, color .3s ease, box-shadow .3s ease, transform .45s var(--e-spring); }
.gal-m1-comp.sched .gal-m1-send { background: var(--sky); border-color: var(--sky); color: var(--navy); box-shadow: 0 6px 18px rgba(124, 92, 255, .3); transform: scale(1.04); }
.gal-m1-tz { position: relative; grid-column: 1; grid-row: 2; z-index: 1; min-width: 0; padding: .9em 1em 1em; opacity: 0; transform: translateY(1.2em); transition: opacity .4s ease, transform .55s var(--e-out); }
.gal-m1-comp.tz ~ .gal-m1-tz { opacity: 1; transform: none; }
/* quiet hours: one plain line, then a day bar. The band is the 8am to 9pm window (8/24 to 21/24 of the day) and the
   dot is this campaign's one send time (10am), which lands once the campaign is scheduled (.on, set by gallery.js) */
.gal-m1-tzh { display: flex; align-items: center; gap: .55em; font-size: .92em; font-weight: 500; line-height: 1.3; }
.gal-mock .gal-m1-tzh { margin-bottom: 0; color: var(--ink); }
.gal-m1-tzh svg { color: var(--violet); }
.gal-m1-day { position: relative; height: 4px; margin: 1.05em .2em 1.5em; border-radius: 4px; background: var(--line); }
.gal-m1-daywin { position: absolute; left: 33.33%; top: 0; bottom: 0; width: 54.17%; border-radius: inherit; background: linear-gradient(90deg, var(--sky-2), var(--sky)); transform-origin: 0 50%; transition: transform .9s var(--e-out) .15s; }
.gal-m1-comp.anim:not(.tz) ~ .gal-m1-tz .gal-m1-daywin { transform: scaleX(0); transition: none; }
.gal-m1-daydot { position: absolute; left: 41.67%; top: 50%; width: .85em; height: .85em; margin: -.425em 0 0 -.425em; border-radius: 50%; background: #fff; border: 2.5px solid var(--brand); box-shadow: 0 0 0 4px rgba(124, 92, 255, .22); transition: opacity .25s ease, transform .45s var(--e-spring); }
.gal-m1-tz:not(.on) .gal-m1-daydot { opacity: 0; transform: scale(.3); }
.gal-m1-day span { position: absolute; top: .85em; transform: translateX(-50%); font-family: var(--f-mono); font-size: .7em; letter-spacing: 0; line-height: 1.2; color: var(--ink-3); white-space: nowrap; }
.gal-m1-phone { position: relative; grid-column: 2; grid-row: 1 / span 2; align-self: center; z-index: 2; width: 100%; height: 100%; max-height: 33em; padding: .5em; border-radius: 2.3em; background: #0b1020; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 0 0 1px rgba(179, 166, 255, .14), 0 24px 50px rgba(0, 0, 0, .55); }
.gal-m1-screen { position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 1.85em; background: linear-gradient(#f8faff, #edeff7); }
.gal-m1-screen::after { content: ""; position: absolute; left: 50%; bottom: .55em; width: 34%; height: .28em; border-radius: 999px; background: rgba(11, 16, 32, .55); transform: translateX(-50%); }
.gal-m1-island { flex: none; align-self: center; width: 4.6em; height: 1.25em; margin-top: .55em; border-radius: 999px; background: #0b1020; }
.gal-m1-phead { flex: none; display: flex; flex-direction: column; align-items: center; gap: .3em; padding: .7em .6em .65em; border-bottom: 1px solid var(--line); text-align: center; }
.gal-m1-ava { width: 2.4em; height: 2.4em; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; }
.gal-m1-pname { display: grid; line-height: 1.25; }
.gal-m1-pname b { font-size: .88em; }
.gal-m1-pname small { font-family: var(--f-mono); font-size: .62em; letter-spacing: 0; color: var(--ink-3); }
.gal-m1-thread { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .55em; padding: .8em .7em; }
.gal-m1-time { align-self: center; font-family: var(--f-mono); font-size: .64em; letter-spacing: 0; color: var(--ink-3); transition: opacity .3s ease; }
.gal-m1-comp:not(.sched) ~ .gal-m1-phone .gal-m1-time { opacity: 0; }
.gal-m1-bub { max-width: 96%; padding: .6em .75em; border-radius: 1.15em 1.15em 1.15em .35em; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 12px rgba(10, 15, 26, .06); font-size: .9em; line-height: 1.4; transform-origin: 0 0; transition: opacity .25s ease, transform .45s var(--e-spring); }
.gal-m1-bub:not(.on) { opacity: 0; transform: scale(.6); }

/* ---------- 02 inbox ---------- */
.gal-m2-win { flex: 1; min-height: 0; width: 100%; max-height: 36em; margin: auto 0; display: grid; grid-template-columns: 13.5em minmax(0, 1fr); overflow: hidden; }
.gal-m2-list { min-width: 0; display: flex; flex-direction: column; gap: .25em; padding: .8em .6em; border-right: 1px solid var(--line); background: rgba(4, 9, 28, .28); }
.gal-m2-lhead { display: flex; align-items: center; gap: .5em; font-size: 1.04em; }
.gal-mock .gal-m2-lhead { padding: 0 .4em .5em; }
.gal-m2-badge { min-width: 1.75em; height: 1.75em; padding: 0 .4em; display: grid; place-items: center; border-radius: 999px; background: var(--sky); color: var(--navy); font-family: var(--f-mono); font-size: .7em; font-weight: 600; }
.gal-m2-item { position: relative; display: flex; align-items: center; gap: .6em; min-width: 0; padding: .55em .5em; border-radius: .8em; transition: background .3s ease, box-shadow .3s ease; }
.gal-m2-item.is-open.on { background: color-mix(in srgb, var(--brand) 12%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 32%, var(--line)), 0 6px 16px rgba(0, 0, 0, .25); }
.gal-m2-meta { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.gal-m2-meta b { font-size: .95em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gal-m2-meta small { color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gal-m2-unread { flex: none; width: .55em; height: .55em; border-radius: 50%; background: var(--brand); transform: scale(0); transition: transform .35s var(--e-spring); }
.gal-m2-unread.on { transform: scale(1); }
.gal-m2-conv { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.gal-m2-chead { flex: none; display: flex; align-items: center; gap: .6em; min-height: 3.7em; padding: .6em .9em; border-bottom: 1px solid var(--line); }
.gal-m2-assign { margin-left: auto; display: inline-flex; align-items: center; padding: .25em .75em .25em .25em; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); font-size: .84em; color: var(--ink-2); white-space: nowrap; opacity: var(--a, 1); transform: translateX(calc((1 - var(--a, 1)) * 1.8em)); transition: background .3s ease, border-color .3s ease, color .3s ease; }
.gal-m2-assign .gal-ava { margin-right: .6em; font-size: .72em; transition: background .3s ease; }
.gal-m2-assign b { color: var(--ink); }
.gal-m2-win.closed .gal-m2-assign { background: color-mix(in srgb, var(--mint) 14%, transparent); border-color: color-mix(in srgb, var(--mint) 40%, transparent); color: var(--mint); }
.gal-m2-win.closed .gal-m2-assign b { color: var(--mint); }
.gal-m2-win.closed .gal-m2-assign .gal-ava { background: var(--mint); }
.gal-m2-thread { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: .7em .9em; overflow: hidden; }
.gal-m2-day { flex: none; align-self: center; margin: .5em 0 .3em; font-family: var(--f-mono); font-size: .66em; letter-spacing: 0; color: var(--ink-3); }
.gal-m2-msg { flex: none; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--e-out); }
.gal-m2-msg.on { grid-template-rows: 1fr; }
.gal-m2-msg > div { min-height: 0; overflow: hidden; display: flex; padding: 0 .15em; }
.gal-m2-msg.out > div { justify-content: flex-end; }
.gal-mock .gal-m2-msg p { max-width: 84%; margin: .28em 0; padding: .55em .85em; border-radius: 1.15em; font-size: .97em; line-height: 1.35; opacity: 0; transform: scale(.7) translateY(.6em); transition: transform .45s var(--e-spring), opacity .3s ease; }
.gal-mock .gal-m2-msg.in p { background: var(--gal-well); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: .35em; transform-origin: 0 100%; }
.gal-mock .gal-m2-msg.out p { background: var(--brand); color: var(--navy); border-bottom-right-radius: .35em; transform-origin: 100% 100%; }
.gal-mock .gal-m2-msg.on p { opacity: 1; transform: none; }
.gal-mock .gal-m2-msg.gal-m2-prev p { background: var(--brand-soft); color: var(--brand-dark); }
.gal-m2-prev small { display: block; margin-bottom: .2em; font-family: var(--f-mono); font-size: .68em; letter-spacing: 0; opacity: .75; }
.gal-mock .gal-m2-typing p { display: inline-flex; align-items: center; gap: .32em; padding: .75em .85em; }
.gal-m2-typing i { width: .45em; height: .45em; border-radius: 50%; background: var(--ink-3); animation: gal-bounce 1s ease-in-out infinite; }
.gal-m2-typing i:nth-child(2) { animation-delay: .15s; }
.gal-m2-typing i:nth-child(3) { animation-delay: .3s; }
.gal-m2-reply { flex: none; display: flex; align-items: flex-end; gap: .5em; padding: .6em .7em; border-top: 1px solid var(--line); }
.gal-m2-saved { flex: none; width: 2.3em; height: 2.3em; border-radius: .7em; display: grid; place-items: center; background: var(--gal-well); color: var(--ink-3); }
.gal-m2-input { flex: 1; min-width: 0; min-height: 2.3em; padding: .42em .85em; border-radius: 1.15em; border: 1px solid var(--line); background: var(--gal-well); font-size: .95em; line-height: 1.4; transition: border-color .3s ease, box-shadow .3s ease; }
.gal-m2-input em { color: var(--ink-3); }
.gal-m2-input.has em { display: none; }
.gal-m2-inputt { display: inline-block; animation: gal-drop .4s var(--e-spring, cubic-bezier(.34, 1.56, .64, 1)); }
.gal-m2-saved { transition: background .25s ease, color .25s ease, transform .3s ease; }
.gal-m2-saved.use { background: var(--brand-soft); color: var(--brand-light); transform: scale(1.12); }
/* the message appears whole (no typing) */
.gal-m1-msg > span { transition: opacity .45s ease, filter .45s ease; }
.gal-m1-comp.anim:not(.filled) .gal-m1-msg > span { opacity: 0; filter: blur(3px); }
.gal-m1-comp.anim .gal-m1-track i { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gal-m1-comp.anim.filled:not(.sched) .gal-m1-msg { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.gal-m2-input.has { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); box-shadow: 0 0 0 3px rgba(124, 92, 255, .16); }
.gal-m2-sendbtn { flex: none; width: 2.3em; height: 2.3em; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-light); transition: transform .35s var(--e-spring), background .3s ease, color .3s ease; }
.gal-m2-input.has + .gal-m2-sendbtn { background: var(--sky); color: var(--navy); transform: scale(1.1); }

/* ---------- 03 workflows ---------- */
.gal-m3-canvas { flex: 1; min-height: 0; position: relative; display: grid; align-items: center; }
.gal-mock .gal-m3-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gal-m3-base path { stroke: color-mix(in srgb, var(--brand) 26%, var(--line)); stroke-width: 1.5; stroke-dasharray: 3 5; }
.gal-m3-draw path { stroke: var(--brand); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--t, 1)); filter: drop-shadow(0 0 4px rgba(124, 92, 255, .6)); }
.gal-m3-col { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2em; gap: clamp(1em, 6.4cqh, 2.9em); width: 100%; }
.gal-m3-node { --c: var(--brand); position: relative; display: flex; align-items: center; gap: .75em; width: 19.5em; max-width: 100%; padding: .6em .9em .6em .6em; border-radius: 1em; background: var(--gal-win); border: 1px solid var(--line-2); box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 10px 24px -10px rgba(0, 0, 0, .6); opacity: .6; transform: scale(.965); transition: border-color .35s ease, box-shadow .35s ease, opacity .35s ease, transform .5s var(--e-spring); }
.gal-m3-node.on { opacity: 1; transform: none; border-color: color-mix(in srgb, var(--c) 55%, var(--line)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 13%, transparent), 0 10px 26px color-mix(in srgb, var(--c) 20%, transparent); }
.gal-m3-node[data-kind="delay"] { --c: var(--amber); }
.gal-m3-node[data-kind="add"] { --c: var(--mint); }
.gal-m3-node[data-kind="remove"] { --c: var(--violet); }
.gal-m3-ico { flex: none; width: 2.4em; height: 2.4em; border-radius: .7em; display: grid; place-items: center; background: var(--gal-well); color: var(--ink-3); transition: background .35s ease, color .35s ease; }
.gal-m3-node.on .gal-m3-ico { background: var(--c); color: var(--navy); }
.gal-m3-lab { min-width: 0; display: grid; line-height: 1.22; }
.gal-m3-lab small { font-family: var(--f-mono); font-size: .66em; letter-spacing: 0; color: var(--ink-3); }
.gal-m3-lab b { white-space: nowrap; }
.gal-m3-stat { margin-left: auto; font-family: var(--f-mono); font-size: .82em; font-variant-numeric: tabular-nums; color: var(--ink-2); opacity: 0; transition: opacity .3s ease; }
.gal-m3-node.on .gal-m3-stat { opacity: 1; }
.gal-m3-days { display: inline-flex; gap: .32em; }
.gal-m3-days i { width: .6em; height: .6em; border-radius: 50%; background: var(--line); transition: background .3s ease, transform .4s var(--e-spring); transform: scale(.8); }
.gal-m3-days i.on { background: var(--amber); transform: none; }
.gal-m3-leaves { display: flex; justify-content: center; gap: 2em; width: 100%; margin-top: .7em; }
.gal-m3-leaves .gal-m3-node { width: 16em; }
.gal-m3-pulse { position: absolute; left: 0; top: 0; width: .8em; height: .8em; margin: -.4em 0 0 -.4em; border-radius: 50%; background: #fff; border: 2px solid var(--brand); box-shadow: 0 0 0 4px rgba(124, 92, 255, .22), 0 0 14px rgba(124, 92, 255, .75); opacity: 0; pointer-events: none; }
.gal-m3-routes path { stroke: none; }
.gal-m3-tok { position: absolute; left: 0; top: 0; width: .52em; height: .52em; margin: -.26em 0 0 -.26em; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(124, 92, 255, .22); opacity: 0; pointer-events: none; transition: background .3s ease; }
.gal-m3-tok.gal-add { background: var(--mint); box-shadow: 0 0 0 3px rgba(95, 212, 154, .22); }
.gal-m3-tok.gal-rem { background: var(--violet); box-shadow: 0 0 0 3px rgba(162, 139, 255, .22); }
.gal-m3-switch { display: inline-flex; align-items: center; gap: .7em; font-family: var(--f-mono); font-size: max(9.5px, .76em); letter-spacing: 0; color: var(--ink-3); transition: color .3s ease; }
.gal-m3-switch i { position: relative; width: 2.7em; height: 1.5em; border-radius: 999px; background: rgba(179, 166, 255, .2); transition: background .3s ease; }
.gal-m3-switch i::after { content: ""; position: absolute; top: .2em; left: .2em; width: 1.1em; height: 1.1em; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .45s var(--e-spring); }
.gal-m3.live .gal-m3-switch { color: var(--mint); }
.gal-m3.live .gal-m3-switch i { background: var(--mint); }
.gal-m3.live .gal-m3-switch i::after { transform: translateX(1.2em); }
.gal-mock .gal-m3-note { position: absolute; left: 1.8em; bottom: 1.3em; }

/* ---------- 04 segments ---------- */
.gal-m4-win { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: .9em; padding: 1.1em 1.2em 1em; }
.gal-m4-top { flex: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1em; }
.gal-m4-num small { display: block; margin-bottom: .35em; font-family: var(--f-mono); font-size: .7em; letter-spacing: 0; color: var(--ink-3); }
.gal-m4-num p { display: flex; align-items: baseline; gap: .6em; }
.gal-m4-n { font-size: 2.7em; letter-spacing: 0; line-height: 1; font-variant-numeric: tabular-nums; }
.gal-m4-num span { font-family: var(--f-mono); font-size: .82em; color: var(--ink-3); white-space: nowrap; }
.gal-m4-share { display: grid; justify-items: end; gap: .32em; min-width: 7.5em; }
.gal-m4-pct { font-family: var(--f-mono); font-size: 1.05em; color: var(--brand-light); font-variant-numeric: tabular-nums; }
.gal-m4-meter { width: 100%; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.gal-m4-meter i { display: block; height: 100%; background: var(--spectrum); transform-origin: 0 50%; }
.gal-m4-share small { font-family: var(--f-mono); font-size: .66em; letter-spacing: 0; color: var(--ink-3); }
.gal-m4-chips { flex: none; display: flex; flex-wrap: wrap; gap: .5em; }
.gal-m4-chip { display: inline-flex; align-items: center; gap: .45em; height: 2.25em; padding: 0 .9em 0 .5em; border-radius: 999px; border: 1px solid var(--line-2); background: var(--gal-well); color: var(--ink-2); font-size: .92em; font-weight: 500; white-space: nowrap; transition: background .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease, transform .45s var(--e-spring); }
.gal-m4-chip i { width: 1.2em; height: 1.2em; border-radius: 50%; border: 1.5px solid var(--line-2); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.4 2.3 2.3 4.7-5' fill='none' stroke='%23071233' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; transition: background-color .3s ease, border-color .3s ease; }
.gal-mock .gal-m4-chip svg { width: 1em; height: 1em; }
.gal-m4-chip.on { background: var(--brand-soft); color: var(--brand-dark); border-color: color-mix(in srgb, var(--brand) 40%, transparent); box-shadow: 0 4px 14px rgba(124, 92, 255, .16); transform: translateY(-1px); }
.gal-m4-chip.on i { background-color: var(--brand); border-color: var(--brand); }
.gal-m4-grid { flex: 1; min-height: 0; position: relative; border-radius: .8em; background: rgba(4, 9, 28, .4); border: 1px solid var(--line); overflow: hidden; }
.gal-m4-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* until the script has drawn the canvas (or without JS) the grid shows a plain dot field */
[data-scene="gallery"]:not(.scene-ready) .gal-m4-grid { background-image: radial-gradient(circle, rgba(179, 166, 255, .22) 1.6px, transparent 2.2px); background-size: 3.846% 8.333%; background-position: 50% 50%; }
.gal-m4-foot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.gal-m4-legend { display: inline-flex; align-items: center; gap: .55em; font-family: var(--f-mono); font-size: .7em; letter-spacing: 0; color: var(--ink-3); white-space: nowrap; }
.gal-m4-legend i { width: .7em; height: .7em; border-radius: 50%; background: var(--brand); }
.gal-m4-legend i:nth-of-type(2) { margin-left: .8em; background: rgba(179, 166, 255, .22); }
.gal-m4-save { display: inline-flex; align-items: center; gap: .45em; height: 2.3em; padding: 0 .95em; border-radius: .7em; border: 1px solid var(--line-2); background: var(--gal-well); color: var(--ink-2); font-weight: 600; font-size: .92em; white-space: nowrap; transition: background .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease, transform .45s var(--e-spring); }
.gal-mock .gal-m4-save svg { width: 0; opacity: 0; transition: width .3s ease, opacity .3s ease; }
.gal-m4-win.saved .gal-m4-save { background: var(--mint); border-color: var(--mint); color: var(--navy); box-shadow: 0 6px 18px rgba(95, 212, 154, .3); transform: scale(1.04); }
.gal-mock .gal-m4-win.saved .gal-m4-save svg { width: 1.1em; opacity: 1; }

/* ---------- 05 analytics ---------- */
.gal-m5-kpis { flex: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8em; }
.gal-m5-kpi { display: grid; gap: .22em; padding: .75em .9em .85em; border-radius: 1em; }
.gal-m5-kpi small { font-family: var(--f-mono); font-size: .68em; letter-spacing: 0; color: var(--ink-3); white-space: nowrap; }
.gal-m5-kpi b { font-size: 1.75em; letter-spacing: 0; line-height: 1.1; font-variant-numeric: tabular-nums; }
.gal-m5-kbar { display: block; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: .3em; }
.gal-m5-kbar i { display: block; height: 100%; border-radius: inherit; background: var(--spectrum); transform-origin: 0 50%; transform: scaleX(calc(var(--to, 1) * var(--k, 1))); }
.gal-m5-chart { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: .7em; padding: .9em 1.1em .7em; }
.gal-m5-chead { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.gal-m5-legend { display: inline-flex; align-items: center; gap: .55em; font-family: var(--f-mono); font-size: .68em; letter-spacing: 0; color: var(--ink-3); white-space: nowrap; }
.gal-m5-legend i { width: .75em; height: .75em; border-radius: .2em; background: rgba(179, 166, 255, .4); }
.gal-m5-legend i:nth-of-type(2) { margin-left: .8em; height: 2.5px; width: 1.1em; border-radius: 2px; background: var(--brand); }
.gal-m5-plot { flex: 1; min-height: 0; position: relative; --x: 92.86%; --y: 23.7%; }
.gal-m5-gl { position: absolute; left: 0; right: 0; height: 1px; background: repeating-linear-gradient(90deg, var(--line) 0 4px, transparent 4px 8px); }
.gal-m5-bars { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; border-bottom: 1px solid var(--line); }
.gal-m5-bars i { justify-self: center; width: 46%; max-width: 2.8em; height: calc(var(--h) * 100%); border-radius: .45em .45em 0 0; background: linear-gradient(rgba(179, 166, 255, .34), rgba(179, 166, 255, .07)); transform-origin: 50% 100%; transform: scaleY(var(--k, 1)); }
.gal-mock .gal-m5-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gal-mock .gal-m5-area { stroke: none; }
.gal-m5-line stop { stop-color: var(--brand); }
.gal-m5-path { stroke: var(--brand); stroke-width: 2.25; }
.gal-m5-head { position: absolute; left: var(--x); top: var(--y); width: .9em; height: .9em; margin: -.45em 0 0 -.45em; border-radius: 50%; background: #fff; border: 2.5px solid var(--brand); box-shadow: 0 0 0 4px rgba(124, 92, 255, .22); opacity: 0; transition: opacity .2s ease; }
.gal-m5-head.on { opacity: 1; }
.gal-m5-head::after { content: ""; position: absolute; inset: -2.5px; border-radius: 50%; border: 2px solid var(--brand); opacity: 0; }
.gal-m5-plot.done .gal-m5-head::after { animation: gal-ring 1.8s ease-out infinite; }
.gal-m5-tip { position: absolute; left: var(--x); top: var(--y); display: inline-flex; align-items: baseline; gap: .4em; padding: .42em .7em; border-radius: .7em; background: var(--ink); color: var(--navy); font-size: .88em; white-space: nowrap; box-shadow: 0 8px 22px rgba(0, 0, 0, .45); transform: translate(var(--tx, -88%), calc(-100% - .95em)); opacity: 0; transition: opacity .25s ease; }
.gal-m5-tip.on { opacity: 1; }
.gal-m5-tip small { font-family: var(--f-mono); font-size: .78em; letter-spacing: 0; color: color-mix(in srgb, var(--navy) 62%, #fff); }
.gal-m5-tip b { font-variant-numeric: tabular-nums; }
.gal-m5-tip span { color: color-mix(in srgb, var(--navy) 70%, #fff); }
.gal-m5-x { flex: none; display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-family: var(--f-mono); font-size: .66em; letter-spacing: 0; }
.gal-mock .gal-m5-x { color: var(--ink-3); }
/* AI feedback: the note writes itself word by word once the week is drawn (gallery.js adds the word spans) */
.gal-m5-ai { position: relative; flex: none; display: grid; gap: .4em; padding: .75em 1.1em .9em 1.25em; overflow: hidden; transition: border-color .4s ease, box-shadow .4s ease; }
.gal-m5-ai::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--sky), var(--peach) 60%, var(--sun)); opacity: .45; transition: opacity .4s ease; }
.gal-m5-ai.on { border-color: color-mix(in srgb, var(--peach) 42%, var(--line-2)); box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 18px 40px -14px rgba(0, 0, 0, .65), 0 0 26px -8px rgba(201, 190, 255, .4); }
.gal-m5-ai.on::before, .gal-m5-ai.busy::before { opacity: 1; }
.gal-m5-aih { display: flex; align-items: center; gap: .5em; font-family: var(--f-mono); font-size: .72em; letter-spacing: 0; }
.gal-mock .gal-m5-aih { color: var(--peach); }
.gal-mock .gal-m5-aih svg { width: 1.45em; height: 1.45em; fill: currentColor; stroke: none; transform-origin: 50% 50%; }
.gal-m5-ai.busy .gal-m5-aih svg { animation: gal-spark .9s ease-in-out infinite; }
.gal-m5-ain { font-size: .95em; line-height: 1.45; text-wrap: pretty; }
.gal-mock .gal-m5-ain { color: var(--ink); }
.gal-m5-ain span { opacity: .13; transition: opacity .3s ease; }
.gal-m5-ain span.on { opacity: 1; }

/* ---------- compact mocks: small stages (phones) ---------- */
@container (max-width: 399px) {
  .gal-mock { gap: .75em; padding: .95em 1em 1em; }
  /* 01 */
  .gal-m1-body { display: flex; flex-direction: column; gap: .8em; }
  .gal-m1-comp { position: relative; width: 100%; gap: .6em; padding: .8em .9em; }
  .gal-m1-bar, .gal-m1-foot, .gal-m1-day, .gal-m1-msgfield .gal-lbl { display: none; }
  .gal-m1-tz { width: 100%; padding: .5em .9em; border-radius: .85em; }
  .gal-m1-field { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .8em; }
  .gal-m1-msgfield { grid-template-columns: minmax(0, 1fr); }
  .gal-m1-msg { min-height: 5.7em; padding: .6em .7em; }
  .gal-m1-phone { position: relative; top: auto; right: auto; bottom: auto; flex: 1; min-height: 0; height: auto; max-height: none; align-self: center; width: 82%; margin-bottom: -1.2em; padding: .5em .5em 0; border-radius: 2em 2em 0 0; }
  .gal-m1-screen { border-radius: 1.55em 1.55em 0 0; }
  .gal-m1-screen::after { display: none; }
  .gal-m1-island { width: 4em; height: 1em; margin-top: .45em; }
  .gal-m1-phead { flex-direction: row; justify-content: center; gap: .55em; padding: .4em .6em .5em; text-align: left; }
  .gal-m1-ava { width: 1.9em; height: 1.9em; }
  .gal-m1-thread { padding: .55em .7em; gap: .35em; }
  .gal-m1-bub { font-size: .95em; padding: .5em .7em; }
  /* 02 */
  .gal-m2-win { grid-template-columns: 3.5em minmax(0, 1fr); }
  .gal-m2-list { padding: .6em .35em; align-items: center; gap: .45em; }
  .gal-m2-list .gal-m2-meta, .gal-m2-lhead b, .gal-m2-asl, .gal-m2-saved { display: none; }
  .gal-mock .gal-m2-lhead { padding: 0 0 .2em; }
  .gal-m2-item { padding: .3em; }
  .gal-m2-unread { position: absolute; right: .05em; top: .05em; width: .7em; height: .7em; border: 2px solid var(--surface-solid); }
  .gal-m2-chead { min-height: 3.3em; padding: .5em .7em; }
  .gal-m2-thread { padding: .5em .65em; }
  .gal-mock .gal-m2-msg p { max-width: 88%; margin: .22em 0; padding: .5em .75em; }
  .gal-m2-reply { padding: .5em .6em; }
  /* 03 */
  .gal-m3-node { width: 16.5em; gap: .6em; padding: .42em .7em .42em .45em; border-radius: .85em; }
  .gal-m3-ico { width: 2.05em; height: 2.05em; border-radius: .6em; }
  .gal-m3-stat:not(.gal-m3-days) { display: none; }
  .gal-m3-leaves { gap: .8em; margin-top: .55em; }
  .gal-m3-leaves .gal-m3-node { width: calc(50% - .4em); gap: .5em; padding-right: .4em; }
  .gal-m3-leaves .gal-m3-lab b { font-size: .92em; }
  .gal-mock .gal-m3-note { position: static; align-self: center; margin-top: -.2em; }
  /* 04 */
  .gal-m4-win { gap: .7em; padding: .8em .9em .9em; }
  .gal-m4-n { font-size: 2.3em; }
  .gal-m4-foot { display: none; }
  .gal-m4-chips { gap: .4em; }
  .gal-m4-chip { height: 2.05em; padding: 0 .7em 0 .4em; font-size: .9em; gap: .35em; }
  /* 05 */
  .gal-m5-kpis { gap: .5em; }
  .gal-m5-kpi { padding: .55em .65em .65em; border-radius: .85em; }
  .gal-m5-kpi b { font-size: 1.4em; }
  .gal-m5-chart { padding: .7em .8em .55em; gap: .5em; }
  .gal-m5-ai { gap: .25em; padding: .55em .8em .65em .95em; border-radius: .85em; }
  .gal-m5-ain { font-size: 1em; line-height: 1.36; }
}
/* wide but short stages (low laptop windows) */
@container (min-width: 400px) and (max-height: 430px) {
  .gal-m1-day { display: none; }
  .gal-m1-tz { padding: .5em 1em; }
  .gal-m1-comp { gap: .6em; padding: .8em 1em .85em; }
  .gal-m1-msg { min-height: 5.7em; }
  .gal-m1-foot { padding-top: .6em; }
  .gal-m1-phone { max-height: none; }
  .gal-m5-ai { display: none; }
}
@container (max-height: 345px) {
  .gal-m1-tz { display: none; }
  .gal-m3-col { gap: 1em; }
  .gal-mock .gal-m3-note { display: none; }
}
@container (max-height: 300px) {
  .gal-mock { gap: .6em; padding-top: .8em; }
  .gal-m1-comp { gap: .5em; padding: .6em .8em .65em; }
  .gal-m1-msg { min-height: 0; padding: .45em .65em; }
  .gal-m1-phead, .gal-m1-island, .gal-m1-time { display: none; }
  .gal-m1-thread { padding-top: .75em; }
  .gal-m3-col { gap: .9em; }
  .gal-m5-legend { display: none; }
}
/* phone stages that are short as well as narrow (a 360 wide phone): the chart is only a few lines tall */
@container (max-width: 399px) and (max-height: 400px) {
  /* the legend drops under the title, on the left, so the tooltip on Sunday's point cannot cover it */
  .gal-m5-chead { flex-direction: column; align-items: flex-start; gap: .3em; }
}
@container (max-width: 399px) and (max-height: 300px) {
  /* the three tiles give their room to the chart, which would otherwise be squeezed flat */
  .gal-m5-kpis { display: none; }
}

/* ---------- live: pinned horizontal track ---------- */
.gal-live { display: flex; flex-direction: column; height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); min-height: 460px; max-height: 900px; padding: clamp(12px, 2.4vh, 28px) 0 clamp(14px, 2.8vh, 32px); }
.gal-live .gal-head { flex: none; margin-bottom: clamp(10px, 2vh, 22px); }
.gal-live .gal-nav { display: grid; gap: 6px; }
.gal-live .gal-view { flex: 1; min-height: 0; width: 100%; margin: 0; }
.gal-live .gal-track { display: flex; align-items: center; gap: var(--gal-gap); height: 100%; padding: 0 calc(50% - var(--gal-w) / 2); will-change: transform; }
.gal-live .gal-panel { flex: 0 0 var(--gal-w); height: 100%; min-height: 0; max-height: 640px; transform: perspective(1800px) rotateY(calc(var(--d, 0) * -4deg)) scale(calc(.94 + .06 * var(--f, 1))); opacity: calc(.58 + .42 * var(--f, 1)); }
.gal-live .gal-panel.gal-cur { z-index: 1; }
.gal-live .gal-panel:not(.gal-cur) { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.gal-live .gal-view { touch-action: pan-y; }
.gal-live .gal-stage { min-height: 0; }
.gal-live .gal-copy > * { transform: translate3d(calc(var(--d, 0) * (16px + var(--k, 0) * 18px)), 0, 0); }
.gal-copy > :nth-child(2) { --k: 1; }
.gal-copy > :nth-child(3) { --k: 2; }
/* progress beam: light runs round the centred card's edge as its mock plays (--l is its local progress) */
.gal-beam { display: none; }
.gal-live .gal-beam { display: block; position: absolute; inset: -1px; z-index: 2; padding: 2px; border-radius: inherit; pointer-events: none; opacity: var(--f, 0); background: conic-gradient(from 0deg, rgba(124, 92, 255, .1) 0%, rgba(179, 166, 255, .8) calc(var(--l, 0) * 62%), var(--peach) calc(var(--l, 0) * 96%), var(--sun) calc(var(--l, 0) * 100%), transparent calc(var(--l, 0) * 100% + .15%)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; }
.gal-live .gal-mock { transform: translate3d(calc(var(--d, 0) * 36px), 0, 0); }
/* a sheen crosses each card while it travels, and layers inside the mock settle at different depths */
.gal-live .gal-panel::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; background: linear-gradient(105deg, transparent 40%, rgba(179, 166, 255, .14) 50%, transparent 60%) calc(50% + var(--d, 0) * 130%) 0 / 260% 100% no-repeat; opacity: calc(var(--f, 1) * (1 - var(--f, 1)) * 3.2); }
.gal-live .gal-m1-phone { transform: translate3d(calc(var(--d, 0) * 34px), calc((1 - var(--f, 1)) * 46px), 0); }
.gal-live .gal-m1-tz { translate: calc(var(--d, 0) * -20px) 0; }
.gal-live .gal-m5-kpi { transform: translate3d(0, calc((1 - var(--f, 1)) * var(--lift, 14px)), 0); }
.gal-live .gal-m5-kpi:nth-child(2) { --lift: 30px; }
.gal-live .gal-m5-kpi:nth-child(3) { --lift: 46px; }
.gal-live .gal-m5-ai { transform: translate3d(calc(var(--d, 0) * -26px), 0, 0); }

@keyframes gal-drop { from { opacity: 0; transform: translateY(.35em); } to { opacity: 1; transform: none; } }
@keyframes gal-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-.3em); opacity: 1; } }
@keyframes gal-ring { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
@keyframes gal-spark { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.72) rotate(30deg); opacity: .6; } }

/* ---------- desktop with little height ---------- */
@media (min-width: 861px) and (max-height: 800px) {
  .gal-feats { display: none; }
  .gal-body { padding: 12px 0; }
}
@media (min-width: 861px) and (max-height: 640px) {
  .gal-live .gal-head .tag { display: none; }
  .gal-text .gal-x { display: none; }
}

/* ---------- tablets and phones: copy above, mock below ---------- */
@media (max-width: 860px) {
  .gal { --gal-w: 86vw; --gal-gap: 12px; }
  .gal-head { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 22px; }
  .gal-head .tag { margin-bottom: 8px; }
  .gal .h2 { font-size: clamp(1.45rem, 6.2vw, 2rem); }
  .gal-live .gal-head { margin-bottom: 10px; }
  .gal-live .gal-nav { width: auto; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; }
  .gal-arrows { display: none; }
  .gal-count-win { font-size: 1.15rem; }
  .gal-panel { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); padding: 8px; border-radius: var(--r-lg); min-height: 0; }
  .gal-live .gal-panel { max-height: 720px; }
  .gal-copy { padding: 10px 12px 10px; }
  .gal-body { margin: 0; padding: 10px 0 0; }
  .gal-copy h3 { font-size: clamp(1.5rem, 6vw, 2rem); margin-bottom: .25em; }
  .gal-text { font-size: clamp(.86rem, 2vw, 1rem); line-height: 1.45; margin-bottom: .3em; max-width: 40ch; }
  .gal-feats { display: none; }
  .gal-link { padding: 6px 0; font-size: .88rem; }
  .gal-link::after { bottom: 3px; }
  .gal-stage { border-radius: 16px; height: 380px; min-height: 0; }
  .gal-live .gal-stage { height: auto; }
  .gal-live .gal-copy > * { transform: translate3d(calc(var(--d, 0) * (10px + var(--k, 0) * 10px)), 0, 0); }
  .gal-live .gal-mock { transform: translate3d(calc(var(--d, 0) * 18px), 0, 0); }
}
@media (max-width: 860px) and (max-height: 780px) {
  .gal-live .gal-head .tag { display: none; }
  .gal-text .gal-x { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .gal *, .gal *::before, .gal *::after { transition: none !important; animation: none !important; }
}

/* touch screens: a 44px tall link, underline kept just under the words */
@media (pointer: coarse) { .gal-link { min-height: 44px; } .gal-link::after { bottom: 11px; } .gal-dot { height: 44px; margin-block: -11px; } }

/* scenes/whyus.css */
/* whyus: reasons to choose SMSBlast, then one plan compared with SlickText as two cards. Not pinned. */
/* glows under the comparison; percent radii keep them inside the section so no edge shows */
.why { background: radial-gradient(ellipse 50% 24% at 50% 68%, rgba(124, 92, 255, .08), transparent), radial-gradient(ellipse 30% 18% at 34% 76%, rgba(124, 92, 255, .08), transparent), radial-gradient(ellipse 28% 16% at 68% 78%, rgba(22, 94, 238, .05), transparent); }
.why .bay-head { margin-bottom: clamp(28px, 4vw, 48px); }

/* reasons */
.why-reasons { list-style: none; margin: 0 0 clamp(48px, 7vw, 88px); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why-card { position: relative; height: 100%; padding: 22px 20px 20px; border-radius: var(--r-lg); background: var(--surface); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow-1); overflow: clip; transition: transform .4s var(--e-out), box-shadow .4s, border-color .3s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.why-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: var(--brand-light); background: var(--brand-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 26%, transparent); margin-bottom: 16px; }
.why-ico svg { width: 22px; height: 22px; }
.why-card h3 { margin: 0 0 6px; font-size: 1.08rem; font-weight: 600; letter-spacing: 0; color: var(--ink); }
.why-card p { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--ink-2); }
.why-card .hud { display: block; margin-top: 14px; color: var(--brand-light); }

/* comparison: two plan cards */
.why-cmp-head { text-align: center; margin-bottom: clamp(26px, 3.4vw, 40px); }
.why-cmp-head .h3 { margin: 0 0 8px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 600; letter-spacing: 0; color: var(--ink); line-height: 1.15; }

.why-duel { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; max-width: 900px; margin: 0 auto; }
.why-cell { min-width: 0; position: relative; z-index: 0; }
.why-cell:first-child { z-index: 1; }
.why-plan { position: relative; display: flex; flex-direction: column; border-radius: var(--r-xl); }
.why-plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: clamp(18px, 2.4vw, 28px); }
.why-price { margin: 0 0 14px; display: flex; align-items: baseline; gap: 6px; line-height: 1; }
.why-price b { font-size: clamp(3rem, 6vw, 4.4rem); font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.why-price small { font-size: 1.05rem; font-weight: 500; }
.why-meter { height: 6px; border-radius: 6px; overflow: hidden; }
.why-meter i { display: block; height: 100%; border-radius: inherit; transform-origin: 0 50%; }
.why-feats { list-style: none; margin: clamp(18px, 2.4vw, 26px) 0 0; padding: clamp(18px, 2.4vw, 24px) 0 0; display: grid; gap: 12px; border-top: 1px solid var(--line); }
.why-feats li { display: flex; align-items: center; gap: 12px; font-size: .96rem; line-height: 1.35; }
.why-feats svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; }

/* ours: dark, lit, a touch larger, in front */
.why-plan.why-us {
  z-index: 1; padding: clamp(28px, 3.4vw, 44px) clamp(22px, 3vw, 38px); color: var(--ink-2);
  border: 1.5px solid transparent;
  background:
    radial-gradient(520px 300px at 88% -8%, rgba(124, 92, 255, .42), transparent 70%) padding-box,
    radial-gradient(420px 260px at 0% 112%, rgba(22, 94, 238, .26), transparent 70%) padding-box,
    radial-gradient(520px 320px at 30% 118%, rgba(124, 92, 255, .3), transparent 72%) padding-box,
    linear-gradient(165deg, #0B1A4A, #060C26 70%) padding-box,
    var(--spectrum) border-box;
  box-shadow: 0 34px 80px -24px rgba(124, 92, 255, .4), 0 24px 70px -30px rgba(22, 94, 238, .3), 0 4px 12px rgba(0, 0, 0, .4);
}
.why-us .glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease; background: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .13), transparent 60%); }
.why-us.tilting .glare { opacity: 1; }
.why-brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.2rem; font-weight: 600; color: #fff; letter-spacing: 0; }
.why-brand i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(150deg, #fff 30%, var(--sky) 100%); color: var(--navy); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 6px 18px -4px rgba(179, 166, 255, .6); }
.why-brand i svg { width: 18px; height: 18px; }
.why-badge { padding: 6px 12px; border-radius: 999px; font-family: var(--f-mono); font-size: .68rem; font-weight: 500; letter-spacing: 0; white-space: nowrap; color: #06261d; background: linear-gradient(120deg, #9BE8C0, var(--mint)); box-shadow: 0 6px 18px color-mix(in srgb, var(--mint) 35%, transparent); }
.why-us .why-price b { color: #fff; }
.why-us .why-price small { color: var(--ink-3); }
.why-us .why-meter { background: rgba(255, 255, 255, .1); }
.why-us .why-meter i { background: var(--spectrum); transform: scaleX(.85); box-shadow: 0 0 14px rgba(59, 116, 242, .55); }
.why-save { display: inline-flex; align-self: flex-start; align-items: center; gap: 7px; margin: 14px 0 0; padding: 7px 13px 7px 9px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--mint); background: color-mix(in srgb, var(--mint) 13%, transparent); border: 1px solid color-mix(in srgb, var(--mint) 38%, transparent); transform-origin: 0 50%; }
.why-save svg { width: 16px; height: 16px; }
.why-us .why-feats { border-top-color: rgba(255, 255, 255, .12); }
.why-us .why-feats li { color: var(--ink); }
.why-us .why-feats svg { color: #06261d; background: var(--mint); }
.why-us .btn { margin-top: clamp(22px, 2.8vw, 30px); justify-content: center; text-align: center; }

/* theirs: quiet, tucked behind */
.why-plan.why-them { margin-left: -14px; padding: clamp(24px, 3vw, 36px) clamp(22px, 2.8vw, 34px) clamp(24px, 3vw, 36px) calc(clamp(22px, 2.8vw, 34px) + 14px); color: var(--ink-2); background: rgba(9, 18, 46, .48); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.why-them-name { font-size: 1.2rem; font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.why-them .why-price b { color: var(--ink-2); }
.why-them .why-price small { color: var(--ink-3); }
.why-them .why-meter { background: var(--surface-2); }
.why-them .why-meter i { background: color-mix(in srgb, var(--ink-2) 50%, transparent); }
.why-them .why-feats svg { color: var(--ink-2); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }

.why-vs { position: absolute; left: calc(51.9% - 7px); top: 50%; z-index: 2; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-solid); border: 1px solid var(--line-2); box-shadow: 0 8px 22px rgba(0, 0, 0, .45); font-family: var(--f-mono); font-size: .7rem; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }

/* entrance: set up by JS (.why-anim), played when the cards scroll in (.in) */
.why-duel.why-anim .why-us .why-meter i { transform: scaleX(1); }
.why-duel.why-anim .why-save { opacity: 0; transform: scale(.6); }
.why-duel.why-anim .why-vs { opacity: 0; transform: scale(.4); }
.why-duel.why-anim.in .why-us .why-meter i { transform: scaleX(.85); transition: transform 1.3s var(--e-out) .25s; }
.why-duel.why-anim.in .why-vs { opacity: 1; transform: none; transition: opacity .4s ease .35s, transform .6s var(--e-spring) .35s; }
.why-duel.why-anim.done .why-save { opacity: 1; transform: none; transition: opacity .3s ease, transform .55s var(--e-spring); }

.why-sum { margin: clamp(26px, 3.4vw, 40px) auto 0; max-width: 46ch; text-align: center; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.55; color: var(--ink-2); }
.why-sum b { color: var(--ink); font-weight: 600; }
.why-cta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 22px; }
.why-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--brand-light); text-decoration: none; }
.why-link svg { transition: transform .3s var(--e-out); }
.why-link:hover svg { transform: translateX(4px); }
.why-note { margin: clamp(24px, 3vw, 36px) auto 0; max-width: 78ch; text-align: center; font-size: .72rem; line-height: 1.6; color: var(--ink-3); }

@media (max-width: 1000px) {
  .why-reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .why-duel { grid-template-columns: minmax(0, 1fr); max-width: 440px; }
  .why-plan.why-them { margin: -14px 12px 0; padding: calc(clamp(22px, 5vw, 30px) + 14px) clamp(20px, 5vw, 28px) clamp(22px, 5vw, 30px); }
  .why-vs { position: relative; left: auto; top: auto; justify-self: center; margin: -23px 0; }
  .why-price b { font-size: 3.2rem; }
}
@media (max-width: 640px) {
  .why-reasons { grid-template-columns: 1fr; gap: 10px; }
  .why-card { display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; padding: 16px; }
  .why-ico { width: 40px; height: 40px; margin: 0; grid-row: span 3; }
  .why-card .hud { margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .why-card, .why-link svg, .why-us .glare { transition: none; }
}

@media (pointer: coarse) { .why-link { min-height: 44px; } }

/* scenes/faq.css */
/* glows sit fully inside the box (percent radii) so the pinned panel has no visible edge */
.faqs { background: radial-gradient(ellipse 46% 36% at 50% 44%, rgba(124, 92, 255, .07), transparent), radial-gradient(ellipse 34% 22% at 50% 74%, rgba(124, 92, 255, .05), transparent); padding: clamp(32px, 6vh, 72px) 0; }
.faqs .bay-head { margin-bottom: clamp(20px, 4vh, 40px); }
.faqs-list { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faqs-list details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 22px; margin: 0; transition: opacity .5s ease, transform .6s var(--e-out), filter .5s ease, box-shadow .3s ease, border-color .3s ease; }
.js .faqs-list details { opacity: 0; transform: translateY(22px) scale(.98); filter: blur(4px); }
.js .faqs-list details.in { opacity: 1; transform: none; filter: none; }
.faqs-list details[open] { border-color: var(--line-2); background: rgba(13, 27, 66, .72); box-shadow: var(--shadow-1); }
.faqs-list summary { list-style: none; cursor: pointer; font-weight: 600; color: var(--ink); padding: 17px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faqs-list summary::-webkit-details-marker { display: none; }
.faqs-list { counter-reset: q; }
.faqs-list summary::before { counter-increment: q; content: counter(q, decimal-leading-zero); font-family: var(--f-mono); font-size: .72rem; font-weight: 500; color: var(--brand-light); letter-spacing: 0; flex: none; }
.faqs-list summary span { flex: 1; }
.faqs-list summary::after { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background:
  linear-gradient(var(--brand-light), var(--brand-light)) center / 10px 1.75px no-repeat,
  linear-gradient(var(--brand-light), var(--brand-light)) center / 1.75px 10px no-repeat,
  var(--brand-soft); transition: transform .35s var(--e-out), background-size .25s ease; }
.faqs-list details[open] summary::after { transform: rotate(180deg); background-size: 10px 1.75px, 1.75px 0, auto; }
.faqs-list details p { margin: 0; padding: 0 0 18px 34px; color: var(--ink-2); line-height: 1.6; font-size: .96rem; }
.faqs-more { text-align: center; margin: clamp(16px, 3vh, 28px) 0 0; }
.faqs-more a { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.faqs-more svg { transition: transform .25s var(--e-out); }
.faqs-more a:hover svg { transform: translateX(4px); }
@media (max-width: 860px) {
  /* seven closed questions have to fit a phone screen under the header while the section is pinned */
  .faqs { padding: clamp(18px, 3.6vh, 40px) 0; }
  .faqs-list details { padding: 0 16px; }
  .faqs-list summary { padding: 13px 0; font-size: .95rem; }
}
@media (max-width: 860px) and (max-height: 800px) { .faqs { padding: 18px 0; } .faqs .bay-head .tag { display: none; } .faqs-list { gap: 8px; } .faqs-list summary { padding: 11px 0; } }
/* short laptop windows: seven closed questions still have to fit under the header while pinned */
@media (min-width: 861px) and (max-height: 860px) { .faqs { padding: 24px 0; } .faqs-list { gap: 8px; } .faqs-list summary { padding: 13px 0; } }
@media (min-width: 861px) and (max-height: 730px) { .faqs { padding: 16px 0; } .faqs .bay-head .tag { display: none; } .faqs-list summary { padding: 11px 0; } }
@media (min-width: 861px) and (max-height: 640px) { .faqs { padding: 12px 0; } .faqs .bay-head { margin-bottom: 14px; } .faqs-list { gap: 6px; } .faqs-list summary { padding: 9px 0; } .faqs-more { margin-top: 12px; } }
/* Windows too short for that (and small or sideways phones) are not pinned at all: faq.js checks the height. */
@media (prefers-reduced-motion: reduce) { .js .faqs-list details { opacity: 1; transform: none; filter: none; transition: none; } }

@media (pointer: coarse) { .faqs-more a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; } }

/* scenes/finale.css */
.fin { --ink-2: #BCBFCC; position: relative; overflow: clip; isolation: isolate; text-align: center; color: var(--ink-2); padding: clamp(96px, 16vh, 180px) 0 clamp(120px, 20vh, 220px);
  /* dusk: the page's night sky deepens to navy, then a sunrise glows on the horizon at the bottom edge */
  background:
    radial-gradient(52% 34% at 50% 108%, rgba(22, 94, 238, .5), transparent 72%),
    radial-gradient(78% 52% at 50% 104%, rgba(124, 92, 255, .34), transparent 74%),
    radial-gradient(110% 60% at 50% 100%, rgba(124, 92, 255, .1), transparent 70%),
    radial-gradient(ellipse 34% 30% at 10% 48%, rgba(124, 92, 255, .07), transparent),
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 8%, #0B1A3B 42%, #0B1A50 68%, #24245F 86%, #3A2A62 100%); }
.fin-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.fin-inner { position: relative; display: flex; flex-direction: column; align-items: center; transform: scale(var(--s, 1)); transform-origin: 50% 60%; will-change: transform; }
.fin .tag { color: var(--brand-light); }
.fin-title { font-size: clamp(2.6rem, 7vw, 5.6rem); font-weight: 600; line-height: 1; letter-spacing: 0; color: #fff; margin: 0 0 .35em; max-width: 14ch; text-wrap: balance; }
.fin-title .grad { --grad: linear-gradient(100deg, #fff 0%, var(--peach) 48%, var(--sun-2) 100%); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fin .lede { margin-inline: auto; max-width: 48ch; }
.fin-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.fin .btn-outline { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(255, 255, 255, .4); backdrop-filter: blur(6px); }
.fin .btn-outline:hover { background: rgba(255, 255, 255, .12); }
.fin .btn-light { box-shadow: 0 12px 40px -6px rgba(201, 190, 255, .45); }
.fin-notes { list-style: none; margin: 30px 0 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; font-family: var(--f-mono); font-size: .72rem; letter-spacing: 0; color: #C8D4E6; }
.fin-notes li { display: inline-flex; align-items: center; gap: 8px; }
.fin-notes svg { color: var(--mint); }
/* giant outlined word band drifting along the bottom */
.fin-word { position: absolute; left: 0; right: 0; bottom: clamp(10px, 3vh, 34px); white-space: nowrap; z-index: -1; pointer-events: none; }
.fin-word span { display: inline-block; font-size: clamp(3.4rem, 10vw, 8.5rem); font-weight: 700; letter-spacing: 0; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(201, 190, 255, .2); transform: translate3d(var(--x, 0px), 0, 0); will-change: transform; }
@media (max-width: 520px) {
  .fin-cta .btn { width: 100%; }
  .fin-notes { gap: 10px 18px; }
}
