/* KerbScan design system: "Signboard"
   Tuned to customer insight (AU/NZ agents, median age 43, 52% women; tools they trust are navy or white with one strong
   accent; their own world is the street signboard and the property brochure). So: navy for trust, one warm SOLD-sticker
   orange for action, condensed bold display type like signboard lettering, plain readable UI text, 8 px corners.
   Motion shows outcomes (a scan, an enquiry, a sale, a report), never decoration; it eases out, pauses off-screen,
   and stops for reduced motion. */
@property --n { syntax: "<integer>"; inherits: false; initial-value: 0; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --cobalt: #2357c6;        /* links, focus, data, selection */
  --cobalt-deep: #0e2340;   /* navy: hero and brand surfaces */
  --night: #0a1a30;         /* deepest navy: dark sections */
  --hivis: #f2541b;         /* SOLD-sticker orange: the one action colour */
  --hivis-hover: #ff6a33;
  --signal: #8ec5ff;        /* scans and data on navy */
  --mint: #3ddc97;          /* live, on navy */

  --paper: #f6f7f9;
  --surface: #ffffff;
  --sunk: #eef1f5;
  --ink: #10213b;
  --ink-2: #3a4a63;
  --mute: #5e6b80;
  --faint: #98a2b3;
  --line: #dde2ea;
  --line-2: #ebeef3;

  --accent-50: #eef3fc;
  --accent-100: #dfe8fa;
  --accent-200: #bfd0f3;
  --accent-600: #2357c6;
  --accent-700: #1b45a0;
  --accent-900: #0e2340;

  --live: #0b7a55;
  --live-bg: #ddf5ea;
  --offer: #8a5a00;
  --offer-bg: #fff0cc;
  --sold: #3b4658;
  --sold-bg: #e8ebf0;
  --danger: #c0270f;
  --danger-bg: #ffe9e3;

  --display: "Archivo", "Arial Narrow", "Helvetica Neue", sans-serif;
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --serif: var(--sans);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --r-control: 8px;
  --r-card: 12px;
  --r-board: 8px;
  --r-stage: 18px;
  --shadow: 0 1px 2px rgba(16, 33, 59, 0.05), 0 10px 24px -10px rgba(16, 33, 59, 0.12);
  --shadow-lift: 0 2px 6px rgba(16, 33, 59, 0.08), 0 30px 60px -20px rgba(16, 33, 59, 0.35);
  --max: 1200px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: var(--cobalt); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-700); }
::selection { background: var(--hivis); color: var(--ink); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .sim :focus-visible, .final :focus-visible, .top.on-dark:not(.solid) :focus-visible { outline-color: var(--signal); }
.num, .tabular { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--s5); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type: display in Anybody (expanded), interface in Geist */
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
h1, h2 { font-family: var(--display); font-weight: 800; font-stretch: 78%; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(42px, 6vw, 88px); line-height: 0.95; }
h2 { font-size: clamp(32px, 3.8vw, 54px); line-height: 1; font-weight: 800; font-stretch: 78%; }
h3 { font: 600 20px/1.3 var(--sans); letter-spacing: -0.01em; }
h4 { font: 600 16px/1.4 var(--sans); }
p { margin: 0; }
.lede { font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.body-l { font-size: 18px; color: var(--ink-2); max-width: 38em; }
.small { font-size: 14px; color: var(--mute); }
.tiny { font-size: 13px; color: var(--mute); }
.prose-measure { max-width: 65ch; }

/* Kinetic headline: words stretch in, transform only (no reflow) */
.kinetic .kw { display: inline-block; transform-origin: 0 85%; }
.js .kinetic .kw { animation: kwIn 0.8s var(--ease-out) both; animation-delay: calc(120ms + var(--i) * 70ms); }
.js .final .kinetic .kw { animation-play-state: paused; }
.js .final.in .kinetic .kw { animation-play-state: running; }
@keyframes kwIn { from { opacity: 0; transform: translateY(0.35em); } to { opacity: 1; transform: none; } }

/* Scroll progress (home) */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: var(--hivis); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
}
@keyframes grow { to { transform: scaleX(1); } }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(245, 245, 251, 0.82); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease); }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: var(--s6); height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 21px var(--display); font-stretch: 92%; letter-spacing: -0.01em; transition: color 0.3s; }
.brand svg { width: 26px; height: 26px; flex: none; }
.brand .logo rect, .brand .logo path { transition: fill 0.3s; }
.nav { display: flex; gap: var(--s5); }
.nav a { position: relative; color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; border-radius: 2px; background: var(--hivis); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease-out); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.top .actions { margin-left: auto; display: flex; gap: var(--s3); align-items: center; }
.top.on-dark { position: fixed; left: 0; right: 0; }
.top.on-dark:not(.solid) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.top.on-dark:not(.solid) .brand, .top.on-dark:not(.solid) .btn-text { color: #fff; }
.top.on-dark:not(.solid) .nav a { color: rgba(255, 255, 255, 0.84); }
.top.on-dark:not(.solid) .nav a:hover { color: #fff; }
.top.on-dark:not(.solid) .lg-bg { fill: #fff; }
.top.on-dark:not(.solid) .lg-fg { fill: var(--cobalt-deep); }
.top.on-dark:not(.solid) .lg-hole { fill: #fff; }
.top.on-dark.scrolled:not(.solid) { background: rgba(14, 35, 64, 0.8); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); border-bottom-color: rgba(255, 255, 255, 0.12); }
.top.on-dark.solid { border-bottom-color: var(--line); }
.cta-short { display: none; }
@media (max-width: 860px) { .nav { display: none; } .top .actions .quiet { display: none; } .top .wrap { gap: var(--s3); } }
@media (max-width: 640px) { .cta-long { display: none; } .cta-short { display: inline; } }

/* Buttons: pills; the hot one is hi-vis with navy text */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 46px; padding: 11px 22px; border-radius: var(--r-control); border: 1px solid transparent; font: 600 15px/1.2 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; flex: none; transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.3s var(--ease), transform 0.2s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--hivis); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(242, 84, 27, 0.75), inset 0 -2px 0 rgba(16, 33, 59, 0.16); }
.btn-primary:hover { background: var(--hivis-hover); color: var(--ink); box-shadow: 0 16px 32px -10px rgba(242, 84, 27, 0.85), inset 0 -2px 0 rgba(16, 33, 59, 0.16); }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.6) 48%, transparent 66%); transform: translateX(-130%); }
.btn-primary:hover::after { transform: translateX(130%); transition: transform 0.8s var(--ease-out); }
.hero .btn-primary::after, .final .btn-primary::after { animation: shine 5s 2.4s var(--ease-io) infinite; }
@keyframes shine { 0% { transform: translateX(-130%); } 22%, 100% { transform: translateX(130%); } }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: 0 1px 1px rgba(16, 33, 59, 0.04); }
.btn-secondary:hover { border-color: var(--cobalt); color: var(--cobalt); }
.hero .btn-secondary, .final .btn-secondary { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.hero .btn-secondary:hover, .final .btn-secondary:hover { background: rgba(255, 255, 255, 0.16); color: #fff; border-color: #fff; }
.btn-text { background: none; border: 0; color: var(--ink-2); padding: 8px; min-height: 36px; font-weight: 500; }
.btn-text:hover { color: var(--ink); transform: none; }
.btn-danger { background: var(--surface); color: var(--danger); border-color: #f2c3b8; }
.btn-danger:hover { background: var(--danger-bg); color: var(--danger); }
.btn-sm { min-height: 38px; padding: 7px 16px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 15px 28px; font-size: 16px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Forms */
label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--ink); }
.field { margin-bottom: var(--s5); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s4); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 var(--s4); }
@media (max-width: 560px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.hint { font-size: 13px; color: var(--mute); margin-top: 6px; }
input[type="text"], input[type="url"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--r-control);
  background: var(--surface); color: var(--ink); font: 400 16px/1.4 var(--sans); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px var(--accent-100); }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; font-size: 16px; margin-bottom: var(--s3); padding: 0; }
.notice { padding: var(--s3) var(--s4); border-radius: var(--r-control); background: var(--accent-50); color: var(--accent-900); font-size: 15px; border: 1px solid var(--accent-100); }
.notice.ok { background: var(--live-bg); color: #0a5a40; border-color: #bdebd7; }
.notice.warn { background: var(--offer-bg); color: #5c3c00; border-color: #f4dc9f; }
.notice.bad { background: var(--danger-bg); color: var(--danger); border-color: #f6c8bc; }
.error { color: var(--danger); font-size: 14px; margin-top: var(--s2); }

/* Status chips: icon shape + text, never colour alone */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; line-height: 1; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.chip svg { width: 12px; height: 12px; flex: none; }
.chip.live { color: var(--live); background: var(--live-bg); }
.chip.live svg { animation: livePulse 2s ease-in-out infinite; }
@keyframes livePulse { 50% { opacity: 0.35; } }
.chip.for-sale, .chip.for-lease { color: var(--cobalt); background: var(--accent-100); }
.chip.under-offer { color: var(--offer); background: var(--offer-bg); }
.chip.sold, .chip.leased, .chip.archived { color: var(--sold); background: var(--sold-bg); }
.chip.off { color: var(--danger); background: var(--danger-bg); }

/* Reveal on scroll (only when JS runs) */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out); }
.js [data-reveal].in { opacity: 1; transform: none; }
.bento .tile:nth-child(2) { transition-delay: 0.08s; }
.bento .tile:nth-child(3) { transition-delay: 0.16s; }
.bento .tile:nth-child(4) { transition-delay: 0.08s; }
.bento .tile:nth-child(5) { transition-delay: 0.16s; }

/* ---------- HERO ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--cobalt-deep); color: #fff; padding: 100px 0 var(--s8); }
.hero-bg { position: absolute; inset: 0; z-index: -2; color: rgba(142, 197, 255, 0.12); }
.hero-bg .map { width: 100%; height: 100%; }
.streets path { stroke-width: 1.4; }
.streets .minor { stroke-width: 0.8; opacity: 0.65; }
.pings circle { fill: var(--signal); }
.pings .ring { fill: none; stroke: var(--signal); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: ping 5s var(--ease-out) infinite; animation-delay: var(--d); opacity: 0; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.9; } 70%, 100% { transform: scale(10); opacity: 0; } }
[data-spotlight]::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(560px circle at var(--mx, 72%) var(--my, 24%), rgba(142, 197, 255, 0.2), transparent 62%); transition: background 0.2s; }
.hero::after { content: ""; position: absolute; left: 50%; bottom: -320px; width: 1200px; height: 520px; margin-left: -600px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(35, 87, 198, 0.45), transparent); animation: breathe 9s ease-in-out infinite alternate; pointer-events: none; }
@keyframes breathe { to { transform: translateY(-40px) scale(1.08); opacity: 0.7; } }
.hero-head { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: var(--s7); align-items: end; margin-bottom: var(--s6); }
.hero h1 { color: #fff; font-size: clamp(44px, 6vw, 86px); font-stretch: 76%; }
.hero .lede { color: rgba(255, 255, 255, 0.84); font-size: 18px; }
.hero .cta-row { margin-top: var(--s5); }
.hero-side { padding-bottom: 4px; }
.cta-row { display: flex; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s6); }
.reassure { margin-top: var(--s4); font-size: 14px; color: var(--mute); display: flex; gap: var(--s2) var(--s5); flex-wrap: wrap; }
.reassure span { display: inline-flex; align-items: center; gap: 6px; }
.reassure svg { width: 14px; height: 14px; color: var(--live); flex: none; }
.hero .reassure { color: rgba(255, 255, 255, 0.74); }
.hero .reassure svg { color: var(--mint); }
.rp-note { margin-top: var(--s4); text-align: center; font-size: 14px; color: rgba(255, 255, 255, 0.72); }
@media (max-width: 980px) { .hero-head { grid-template-columns: 1fr; gap: var(--s5); } .hero { padding-top: 112px; } }

/* ---------- THE REPLAY ---------- */
.rp { position: relative; border-radius: var(--r-stage); background: rgba(5, 14, 28, 0.55); border: 1px solid rgba(255, 255, 255, 0.13); box-shadow: 0 50px 100px -40px rgba(3, 10, 22, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08); color: #fff; overflow: hidden; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.rp::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(142, 197, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(142, 197, 255, 0.035) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse at 50% 60%, #000 30%, transparent 75%); }
.rp-scene { position: relative; height: 470px; padding: 0 28px; }
@media (min-width: 861px) and (max-height: 860px) { .rp-scene { height: 450px; } .rpp { zoom: 0.84; } }
.rp-track { display: grid; grid-template-columns: minmax(0, 1.15fr) 56px 216px 56px minmax(0, 1fr); align-items: center; height: 100%; transition: opacity 0.4s ease; }
.rp[data-flags~="outro"] .rp-track { opacity: 0; }
.rp-col { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; transition: opacity 0.6s var(--ease), transform 0.7s var(--ease-out); }
.rp-who { font: 500 12px var(--sans); letter-spacing: 0.01em; color: rgba(255, 255, 255, 0.5); white-space: nowrap; transition: color 0.4s; }
.rp[data-focus="board"] .rp-col-board .rp-who, .rp[data-focus="phone"] .rp-col-phone .rp-who, .rp[data-focus="agent"] .rp-col-agent .rp-who { color: rgba(255, 255, 255, 0.92); }
.rp[data-focus="board"] .rp-col:not(.rp-col-board),
.rp[data-focus="phone"] .rp-col:not(.rp-col-phone),
.rp[data-focus="agent"] .rp-col:not(.rp-col-agent) { opacity: 0.48; transform: scale(0.965); }

/* Captions: the voice-over */
.rp-caps { position: absolute; z-index: 4; left: 28px; top: 26px; width: min(430px, 39%); height: 112px; margin: 0; padding: 0; list-style: none; }
.rp-caps li { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; opacity: 0; pointer-events: none; }
.rp-caps li.on { opacity: 1; }
.rp-caps li { gap: 6px; }
.rp-caps b { font: 500 13px var(--sans); color: rgba(255, 255, 255, 0.62); }
.rp-caps li > span { font: 600 23px/1.25 var(--sans); letter-spacing: -0.012em; color: #fff; text-wrap: balance; }
.rp-caps li.on { animation: capIn 0.5s var(--ease-out) both; }
@keyframes capIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Actor 1: the board */
.rp-col-board { justify-content: flex-end; padding-bottom: 16px; }
.rpb { position: relative; width: 300px; }
.rpb::after { content: ""; position: absolute; left: -70px; right: -70px; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(142, 197, 255, 0.55), transparent); }
.rpb-house { position: absolute; left: -36px; right: -46px; bottom: 54px; color: rgba(142, 197, 255, 0.32); }
.rpb-board { position: relative; z-index: 1; }
.rpb-face { position: relative; overflow: hidden; background: #fff; color: var(--ink); border-radius: 10px; box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.6); }
.rpb-face::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(142, 197, 255, 0.55) 50%, transparent 80%); transform: translateX(-110%); pointer-events: none; }
.rp[data-flags~="next"] .rpb-face::after { animation: wipe 1s var(--ease-io) both; }
@keyframes wipe { to { transform: translateX(110%); } }
.rpb-agency { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; background: var(--night); color: rgba(255, 255, 255, 0.8); font-size: 11px; }
.rpb-agency b { color: #fff; font: 800 13px var(--display); font-stretch: 86%; }
.rpb-body { display: grid; grid-template-columns: 1fr 104px; gap: 12px; padding: 14px; }
.rpb-status { display: inline-block; background: var(--cobalt); color: #fff; font: 800 13px var(--display); font-stretch: 86%; padding: 5px 10px; border-radius: 4px; }
.rpb-addr { position: relative; height: 62px; margin-top: 10px; overflow: hidden; }
.rpb-addr > div { position: absolute; inset: 0; transition: transform 0.7s var(--ease-out), opacity 0.4s; }
.rpb-addr b { display: block; font: 800 17px/1.1 var(--display); font-stretch: 86%; letter-spacing: -0.01em; }
.rpb-addr span { display: block; font-size: 12px; color: var(--mute); margin-top: 3px; }
.rpb-addr .a2 { transform: translateY(110%); opacity: 0; }
.rp[data-flags~="next"] .rpb-addr .a1 { transform: translateY(-110%); opacity: 0; }
.rp[data-flags~="next"] .rpb-addr .a2 { transform: none; opacity: 1; transition-delay: 0.25s; }
.rpb-agent { margin-top: 10px; font-size: 11px; color: var(--ink-2); }
.rpb-qr { position: relative; text-align: center; }
.rpb-qrbox { position: relative; padding: 4px; background: #fff; border: 1px solid var(--line-2); border-radius: 6px; }
.rpb-qrbox svg { width: 100%; height: auto; }
.rpb-qr > span { display: block; margin-top: 4px; font-size: 9.5px; line-height: 1.25; color: var(--ink-2); }
.ret { position: absolute; width: 16px; height: 16px; border: 2.5px solid var(--signal); opacity: 0; transform: scale(1.6); transition: opacity 0.3s, transform 0.5s var(--ease-out); }
.ret.tl { top: -7px; left: -7px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.ret.tr { top: -7px; right: -7px; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; }
.ret.bl { bottom: -7px; left: -7px; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
.ret.br { bottom: -7px; right: -7px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }
.rp[data-flags~="scanning"] .ret, .rp[data-flags~="scanned"] .ret { opacity: 1; transform: none; }
.beam { position: absolute; left: 3px; right: 3px; top: 4px; height: 2px; border-radius: 2px; background: var(--signal); box-shadow: 0 0 14px 3px var(--signal); opacity: 0; }
.rp[data-flags~="scanning"] .beam { animation: beam 1.1s var(--ease-io) both; }
@keyframes beam { 0% { opacity: 0; transform: translateY(0); } 12% { opacity: 1; } 50% { transform: translateY(88px); } 88% { opacity: 1; } 100% { opacity: 0; transform: translateY(0); } }
.flash { position: absolute; inset: 0; border-radius: 6px; background: var(--signal); opacity: 0; }
.rp[data-flags~="scanned"] .flash { animation: flash 0.6s ease-out both; }
@keyframes flash { 0% { opacity: 0.75; } 100% { opacity: 0; } }
.plus1, .same { position: absolute; left: 50%; top: -30px; white-space: nowrap; font: 700 11px var(--sans); font-style: normal; padding: 4px 9px; border-radius: 999px; opacity: 0; transform: translate(-50%, 8px) scale(0.8); }
.plus1 { background: var(--mint); color: var(--ink); }
.same { z-index: 3; left: 234px; top: auto; bottom: 46px; background: var(--hivis); color: var(--ink); }
.rp[data-flags~="scanned"] .plus1 { animation: pop 1.5s var(--ease-out) both; }
.rp[data-flags~="next"] .same { animation: popStay 0.6s 0.6s var(--ease-out) both; }
@keyframes pop { 0% { opacity: 0; transform: translate(-50%, 8px) scale(0.8); } 18% { opacity: 1; transform: translate(-50%, 0) scale(1); } 78% { opacity: 1; transform: translate(-50%, 0) scale(1); } 100% { opacity: 0; transform: translate(-50%, -12px) scale(1); } }
@keyframes popStay { from { opacity: 0; transform: translate(-50%, 8px) scale(0.8); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
.rpb-ring { position: absolute; z-index: 0; left: 234px; top: 106px; width: 130px; height: 130px; margin: -65px 0 0 -65px; border-radius: 50%; border: 2px solid var(--signal); opacity: 0; pointer-events: none; }
.rp[data-flags~="scanned"] .rpb-ring { animation: ring 1.3s var(--ease-out) both; }
.rp[data-flags~="scanned"] .rpb-ring.r2 { animation-delay: 0.25s; }
.rp[data-flags~="promise"] .rpb-ring { animation: ring 1.8s var(--ease-out) infinite; }
.rp[data-flags~="promise"] .rpb-ring.r2 { animation-delay: 0.9s; }
@keyframes ring { 0% { opacity: 0.95; transform: scale(0.55); } 100% { opacity: 0; transform: scale(2.3); } }
.rpb-sold { position: absolute; left: 6px; top: 38px; z-index: 3; padding: 4px 16px; background: var(--hivis); color: #fff; font: 800 24px/1 var(--display); font-stretch: 86%; letter-spacing: -0.01em; border: 3px solid #fff; border-radius: 4px; box-shadow: 0 8px 18px -8px rgba(242, 84, 27, 0.8); opacity: 0; transform: scale(1.25) rotate(-6deg); pointer-events: none; }
.rp[data-flags~="sold"] .rpb-sold { animation: stamp 0.55s var(--ease-out) both; }
.rp[data-flags~="next"] .rpb-sold { animation: peel 0.7s var(--ease-io) both; }
@keyframes stamp { from { opacity: 0; transform: scale(1.25) rotate(-6deg); } to { opacity: 1; transform: scale(1) rotate(-6deg); } }
@keyframes peel { from { opacity: 1; transform: rotate(-6deg); } to { opacity: 0; transform: translateY(-14px) rotate(-6deg); } }
.rpb-posts { display: flex; justify-content: space-between; padding: 0 64px; }
.rpb-posts i { width: 8px; height: 72px; background: linear-gradient(90deg, #5b6676, #c3cad5 45%, #4a5464); }

/* Wires: the signal travelling between actors */
.rp-wire { position: relative; height: 2px; align-self: center; background: linear-gradient(90deg, rgba(142, 197, 255, 0.06), rgba(142, 197, 255, 0.32), rgba(142, 197, 255, 0.06)); }
.rp-wire i { position: absolute; top: -4px; left: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(142, 197, 255, 0.18), 0 0 18px 4px var(--signal); opacity: 0; }
.rp-wire i.back { background: var(--hivis); box-shadow: 0 0 0 4px rgba(242, 84, 27, 0.2), 0 0 18px 4px var(--hivis); }
.rp[data-flags~="sig1"] .w1 i:not(.back), .rp[data-flags~="sig2"] .w2 i:not(.back) { animation: travel 0.85s var(--ease-io) both; }
.rp[data-flags~="sig3"] .w2 i.back { animation: travelBack 0.7s var(--ease-io) both; }
.rp[data-flags~="sig3"] .w1 i.back { animation: travelBack 0.7s 0.55s var(--ease-io) both; }
@keyframes travel { 0% { opacity: 0; transform: translateX(0); } 15%, 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(56px); } }
@keyframes travelBack { 0% { opacity: 0; transform: translateX(56px); } 15%, 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(0); } }

/* Actor 2: the buyer's phone */

.rpp { position: relative; zoom: 0.9; width: 214px; height: 436px; padding: 8px; border-radius: 36px; background: #070f1d; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.18), 0 40px 70px -24px rgba(0, 0, 0, 0.75); }
.rpp::before { content: ""; position: absolute; z-index: 9; top: 15px; left: 50%; width: 64px; height: 19px; margin-left: -32px; border-radius: 12px; background: #070f1d; }
.rpp-screen { position: relative; height: 100%; overflow: hidden; border-radius: 28px; clip-path: inset(0 round 28px); isolation: isolate; background: #fff; color: var(--ink); }
.scr { position: absolute; inset: 0; opacity: 0; transform: translateX(14%); transition: opacity 0.45s ease, transform 0.7s var(--ease-out); }
.scr-cam { opacity: 1; transform: none; background: radial-gradient(circle at 50% 42%, #22324d, #07101f 72%); }
.rp[data-flags~="listing"] .scr-cam, .rp[data-flags~="appraisal"] .scr-cam, .rp[data-flags~="nextlist"] .scr-cam { opacity: 0; transform: translateX(-14%); }
.rp[data-flags~="listing"] .scr-list, .rp[data-flags~="appraisal"] .scr-appr, .rp[data-flags~="nextlist"] .scr-next { opacity: 1; transform: none; }
.cam-board { position: absolute; left: 30px; right: 30px; top: 118px; height: 148px; border-radius: 6px; background: #eef1f5; transform: perspective(420px) rotateY(-14deg) rotateX(6deg); animation: drift 3.2s ease-in-out infinite alternate; }
@keyframes drift { to { transform: perspective(420px) rotateY(-10deg) rotateX(4deg) translate(3px, -3px); } }
.cam-board i { position: absolute; display: block; }
.cb-top { left: 0; right: 0; top: 0; height: 20px; border-radius: 6px 6px 0 0; background: var(--night); }
.cb-qr { right: 12px; top: 40px; width: 62px; height: 62px; background: repeating-conic-gradient(#10213b 0 25%, #fff 0 50%) 0 0 / 10px 10px; outline: 4px solid #fff; }
.cb-line { left: 12px; top: 44px; width: 62px; height: 9px; border-radius: 3px; background: #b8c0cc; }
.cb-line.short { top: 62px; width: 40px; }
.cam-ret { position: absolute; left: 116px; top: 150px; width: 66px; height: 66px; }
.rp[data-flags~="scanning"] .cam-ret .ret, .rp[data-flags~="scanned"] .cam-ret .ret { opacity: 1; transform: none; }
.cam-pill { position: absolute; left: 14px; right: 14px; bottom: 92px; display: flex; gap: 9px; align-items: center; padding: 9px 11px; border-radius: 16px; background: rgba(255, 255, 255, 0.94); color: var(--ink); font-size: 10.5px; line-height: 1.3; opacity: 0; transform: translateY(18px) scale(0.95); transition: opacity 0.35s, transform 0.55s var(--ease-out); }
.cam-pill svg { width: 24px; height: 24px; flex: none; }
.cam-pill b { display: block; font-size: 11.5px; }
.rp[data-flags~="scanned"] .cam-pill { opacity: 1; transform: none; }
.cam-shutter { position: absolute; left: 50%; bottom: 20px; width: 50px; height: 50px; margin-left: -25px; border-radius: 50%; border: 3px solid #fff; box-shadow: inset 0 0 0 3px #07101f, inset 0 0 0 30px #fff; }
.tap { position: absolute; z-index: 8; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); border: 2px solid rgba(255, 255, 255, 0.9); opacity: 0; pointer-events: none; }
.t-pill { left: 50%; bottom: 100px; margin-left: -17px; }
.t-send { left: 50%; top: 236px; margin-left: -17px; }
.rp[data-flags~="tap1"] .t-pill, .rp[data-flags~="tapsend"] .t-send, .rp[data-flags~="tapsold"] .t-sold { animation: tap 0.75s ease-out both; }
@keyframes tap { 0% { opacity: 0; transform: scale(1.3); } 35% { opacity: 1; transform: scale(1); } 60% { transform: scale(0.88); } 100% { opacity: 0; transform: scale(1); } }
.lst-scroll { transition: transform 1.4s var(--ease-io); }
.rp[data-flags~="browse"] .lst-scroll { transform: translateY(-170px); }
.lst-bar { padding: 32px 12px 8px; background: var(--night); color: #fff; font-size: 11px; }
.lst-bar b { font: 800 12px var(--display); font-stretch: 86%; }
.lst-photo { height: 112px; display: grid; align-items: end; padding: 0 10px; overflow: hidden; background: linear-gradient(165deg, #3b6fd8, #0e2340); color: rgba(255, 255, 255, 0.7); }
.lst-photo.alt { background: linear-gradient(165deg, #f7854f, #c9400f); }
.lst-body { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; font-size: 10.5px; }
.lst-chip { align-self: flex-start; padding: 2px 7px; border-radius: 999px; background: var(--accent-100); color: var(--cobalt); font-size: 9.5px; font-weight: 600; }
.lst-addr { font: 800 13.5px/1.15 var(--display); font-stretch: 86%; letter-spacing: -0.01em; }
.lst-price { color: var(--ink-2); }
.lst-feat { display: flex; gap: 10px; color: var(--mute); }
.lst-insp { color: var(--mute); }
.lst-form { display: flex; flex-direction: column; gap: 3px; margin-top: 8px; padding: 9px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.lst-form > b { font-size: 11px; }
.lab { margin-top: 3px; font-size: 9.5px; color: var(--mute); }
.fld { position: relative; display: flex; align-items: center; height: 25px; padding: 0 8px; border: 1px solid var(--line); border-radius: 7px; background: #fff; font-size: 10.5px; transition: border-color 0.2s, box-shadow 0.2s; }
.caret { width: 1px; height: 12px; margin-left: 1px; background: var(--cobalt); opacity: 0; }
.rp[data-flags~="tname"] .c-name, .rp[data-flags~="tcontact"] .c-contact { opacity: 1; animation: blink 0.9s steps(1) infinite; }
.rp[data-flags~="tname"] .fld:has(.c-name), .rp[data-flags~="tcontact"] .fld:has(.c-contact) { border-color: var(--cobalt); box-shadow: 0 0 0 3px var(--accent-100); }
@keyframes blink { 50% { opacity: 0; } }
.lst-send { margin-top: 7px; padding: 7px; border-radius: 999px; background: var(--hivis); color: var(--ink); text-align: center; font-size: 11px; font-weight: 600; transition: transform 0.15s, filter 0.15s; }
.rp[data-flags~="press"] .scr-list .lst-send { transform: scale(0.93); filter: brightness(0.92); }
.lst-ok { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px; text-align: center; background: rgba(255, 255, 255, 0.97); font-size: 11px; color: var(--ink-2); opacity: 0; transition: opacity 0.35s; }
.lst-ok svg { width: 58px; height: 58px; fill: none; stroke: var(--live); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lst-ok svg * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.lst-ok b { font: 800 16px var(--display); font-stretch: 86%; color: var(--ink); }
.rp[data-flags~="sent"] .lst-ok { opacity: 1; }
.rp[data-flags~="sent"] .lst-ok circle { animation: draw 0.6s var(--ease-out) forwards; }
.rp[data-flags~="sent"] .lst-ok path { animation: draw 0.4s 0.4s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.appr-banner { padding: 10px 12px; background: var(--hivis); color: var(--ink); font: 800 15px var(--display); font-stretch: 86%; }
.appr-q { margin: 4px 0 2px; font-size: 11px; color: var(--ink-2); line-height: 1.4; }

/* Actor 3: the agent */

.rpa { display: flex; flex-direction: column; gap: 12px; width: min(330px, 100%); }
.rpa-toasts { position: relative; height: 124px; }
.rpa-empty { position: absolute; inset: 0 0 auto; height: 52px; display: grid; place-items: center; border: 1px dashed rgba(255, 255, 255, 0.18); border-radius: 16px; font-size: 12px; color: rgba(255, 255, 255, 0.5); transition: opacity 0.3s; }
.rp[data-flags~="toast1"] .rpa-empty, .rp[data-flags~="report"] .rpa-empty { opacity: 0; }
.toast { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.95); color: var(--ink); font-size: 12px; line-height: 1.35; box-shadow: 0 14px 32px -12px rgba(0, 0, 0, 0.5); }
.toast svg { width: 28px; height: 28px; flex: none; }
.toast > div { flex: 1; min-width: 0; }
.toast b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast span { color: var(--mute); }
.toast time { align-self: flex-start; font-size: 10px; color: var(--mute); }
.rpa .toast { position: absolute; left: 0; right: 0; top: 0; opacity: 0; transform: translateY(-26px) scale(0.95); transition: opacity 0.35s, transform 0.6s var(--ease-out); }
.rpa .toast.t2 { top: 62px; }
.rp[data-flags~="toast1"] .t1, .rp[data-flags~="toast2"] .t2 { opacity: 1; transform: none; }
.rpa-card { padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); transition: background-color 0.45s, border-color 0.45s, color 0.45s, transform 0.6s var(--ease-out), box-shadow 0.5s; }
.rp[data-flags~="report"] .rpa-card { background: #fff; color: var(--ink); border-color: transparent; transform: scale(1.05); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.7); }
.rpa-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.rpa-head b { font-weight: 600; }
.rpa-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--mint); }
.rpa-live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: livePulse 1.6s ease-in-out infinite; }
.rp[data-flags~="report"] .rpa-live { color: var(--live); }
.rpa-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.rpa-kpis b { display: block; font: 800 26px/1.1 var(--display); font-stretch: 100%; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.rpa-kpis span { font-size: 11px; opacity: 0.7; }
.rpa-kpis .busy { opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.5s var(--ease-out); }
.rpa-kpis .busy b { font-size: 15px; line-height: 1.75; }
.rp[data-flags~="report"] .rpa-kpis .busy { opacity: 1; transform: none; transition-delay: 1s; }
.bump { animation: bumpNum 0.5s var(--ease-out); }
@keyframes bumpNum { 0% { transform: scale(1.35); color: var(--mint); } 100% { transform: scale(1); } }
.rpa-bars { display: flex; align-items: flex-end; gap: 4px; height: 64px; margin-top: 12px; }
.rpa-bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 3px 3px 0 0; background: rgba(142, 197, 255, 0.35); transform-origin: bottom; transform: scaleY(0.22); transition: transform 0.7s var(--ease-out), background-color 0.4s; transition-delay: calc(var(--i) * 45ms); }
.rp[data-flags~="report"] .rpa-bars i { transform: scaleY(1); background: var(--cobalt); }
.rp[data-flags~="report"] .rpa-bars i:nth-child(7) { background: var(--hivis); }
.rpa-share { display: flex; gap: 6px; align-items: center; margin-top: 10px; font-size: 11.5px; font-weight: 600; color: var(--live); opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.5s var(--ease-out); }
.rpa-share svg { width: 14px; height: 14px; }
.rp[data-flags~="shared"] .rpa-share { opacity: 1; transform: none; }
.rpa-switch { position: relative; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); font-size: 12px; transition: opacity 0.4s; }
.rpa-switch .o { flex: 1; padding: 7px 0; border-radius: 999px; text-align: center; color: rgba(255, 255, 255, 0.72); transition: background-color 0.3s, color 0.3s; }
.rpa-switch .o1 { background: rgba(255, 255, 255, 0.18); color: #fff; }
.rp[data-flags~="tapsold"] .rpa-switch .o1 { background: transparent; color: rgba(255, 255, 255, 0.72); }
.rp[data-flags~="tapsold"] .rpa-switch .o3 { background: var(--hivis); color: var(--ink); font-weight: 600; }
.rp[data-flags~="next"] .rpa-switch .o1 { background: rgba(255, 255, 255, 0.18); color: #fff; }
.rp[data-flags~="next"] .rpa-switch .o3 { background: transparent; color: rgba(255, 255, 255, 0.72); font-weight: 400; }
.rp[data-flags~="report"] .rpa-switch { opacity: 0.3; }
.t-sold { right: 30px; top: 50%; margin-top: -17px; }

/* Controls + chapter rail */
.rp-foot { position: relative; z-index: 4; display: flex; align-items: center; gap: var(--s4); padding: 12px 22px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); background: rgba(3, 10, 22, 0.3); }
.rp-ctrl { display: flex; gap: 6px; }
.rp-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.06); color: #fff; cursor: pointer; transition: background-color 0.2s, transform 0.2s var(--ease-out); }
.rp-btn:hover { background: rgba(255, 255, 255, 0.16); transform: scale(1.06); }
.rp-btn svg { width: 15px; height: 15px; }
.rp-btn .i-play { display: none; }
.rp.paused .rp-btn .i-play { display: block; }
.rp.paused .rp-btn .i-pause { display: none; }
.rp-rail { flex: 1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.rp-rail button { display: flex; flex-direction: column-reverse; gap: 8px; padding: 2px 0 6px; border: 0; background: none; color: rgba(255, 255, 255, 0.55); font: 500 12.5px var(--sans); text-align: left; cursor: pointer; transition: color 0.3s; }
.rp-rail button:hover, .rp-rail button.on { color: #fff; }
.rp-fill { display: block; height: 3px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, 0.16); }
.rp-fill i { display: block; height: 100%; background: var(--hivis); transform-origin: 0 50%; transform: scaleX(0); }

/* Replay on phones: one actor at a time, the camera pans between them */
@media (max-width: 860px) {
  .rp-scene { height: 590px; padding: 0; overflow: hidden; }
  .rp-caps { left: 20px; right: 20px; top: 20px; width: auto; height: 100px; }
  .rp-caps li > span { font-size: 20px; }
  .rp-track { display: flex; width: 300%; transform: translateX(calc(var(--fx, 0) * -33.3333%)); transition: transform 0.85s var(--ease-io), opacity 0.4s ease; }
  .rp[data-focus="phone"] { --fx: 1; }
  .rp[data-focus="agent"] { --fx: 2; }
  .rp-col { flex: none; width: 33.3333%; padding: 128px 16px 22px; }
  .rp[data-focus] .rp-col { opacity: 1; transform: none; }
  .rp-col-phone { padding-top: 132px; }
  .rp-wire { display: none; }
  .rp-foot { flex-wrap: wrap; padding: 12px 14px 16px; }
  .rp-rail { flex-basis: 100%; order: 2; gap: 6px; }
  .rp-rail button { font-size: 11px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 92px; }
  .hero-head { gap: var(--s4); margin-bottom: var(--s5); }
  .hero .lede { font-size: 16px; }
  .hero .cta-row .btn-secondary { display: none; }
  .hero .cta-row .btn-primary { width: 100%; }
  .hero .reassure { font-size: 13px; gap: 4px 14px; }
  .rp-foot { flex-wrap: nowrap; gap: 10px; }
  .rp-rail { flex-basis: auto; order: 0; gap: 4px; }
  .rp-rail .rp-lab { display: none; }
  .rp-rail button { padding: 10px 0; }
  .rp-btn { width: 34px; height: 34px; }
  .rp-caps { top: 16px; }
  .rp-col { padding-top: 112px; }
  .rp-col-phone { padding-top: 118px; }
  .rp-scene { height: 570px; }
}
@media (max-width: 420px) {
  .hero .wrap { padding: 0 12px; }
  .rpb, .rpa { zoom: 0.9; }
  .rpp { zoom: 0.82; }
  .rp-caps li > span { font-size: 18px; }
  .rp-col-phone { padding-top: 130px; }
}

/* ---------- TAPES ---------- */
.tapes { position: relative; overflow: hidden; background: var(--hivis); }
.tape { padding: 16px 0; overflow: hidden; white-space: nowrap; color: var(--ink); }
.tape-b { display: none; }
.tape-run { display: flex; width: max-content; animation: tape 70s linear infinite; }
.tape-b .tape-run { animation-direction: reverse; animation-duration: 58s; }
.tape-set { display: flex; }
.tape span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 700 20px/1 var(--display); font-stretch: 86%; }
.tape span i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.55; }
@keyframes tape { to { transform: translateX(-50%); } }

/* ---------- STOP-PAYING SIMULATOR ---------- */
.sim { position: relative; overflow: hidden; background: var(--night); color: #fff; }
.sim::before { content: ""; position: absolute; right: -200px; top: -200px; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(closest-side, rgba(35, 87, 198, 0.55), transparent); pointer-events: none; }
.sim .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--s8); align-items: center; }
.sim h2 { color: #fff; }
.sim-copy > p { margin-top: var(--s4); font-size: 18px; color: rgba(255, 255, 255, 0.76); max-width: 32em; }
.sim-toggle { display: inline-flex; align-items: center; gap: 14px; margin-top: var(--s6); padding: 0; border: 0; background: none; color: #fff; font: 600 15px var(--sans); cursor: pointer; }
.st-track { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; width: 250px; height: 50px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22); text-align: center; }
.st-track span { position: relative; z-index: 1; transition: color 0.3s; }
.st-track i { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--mint); transition: transform 0.45s var(--ease-out), background-color 0.3s; }
.sim[data-state="active"] .st-on, .sim[data-state="cancelled"] .st-off { color: var(--ink); }
.sim[data-state="cancelled"] .st-track i { transform: translateX(100%); background: var(--hivis); }
.sim-promise { margin-top: var(--s6); max-width: 34em; font-size: 15px; color: rgba(255, 255, 255, 0.7); }
.sim-promise b { color: #fff; font-weight: 600; }
.sim-promise a { color: var(--signal); }
.sim-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sim-card { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 18px; border-radius: var(--r-card); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); transition: border-color 0.5s, box-shadow 0.5s, transform 0.6s var(--ease-out); }
.sim-screen { position: relative; height: 210px; overflow: hidden; border-radius: 8px; clip-path: inset(0 round 8px); background: #fff; color: var(--ink); }
.ss-ok { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 6px; padding: 16px; transition: opacity 0.3s; }
.ss-ok b { font: 800 19px/1.1 var(--display); font-stretch: 86%; }
.ss-ok > span:last-child { color: var(--ink-2); font-size: 14px; }
.ss-chip { align-self: flex-start; padding: 3px 9px; border-radius: 999px; background: var(--accent-100); color: var(--cobalt); font-size: 12px; font-weight: 600; }
.ss-dead { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 18px; background: #162236; color: #fff; opacity: 0; }
.ss-dead b { font-size: 16px; }
.ss-dead span { font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.ss-dead { transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); transform: translateY(8px); }
.sim[data-state="cancelled"] .them .ss-dead { opacity: 1; transform: none; }
.sim[data-state="cancelled"] .them .ss-ok { opacity: 0; transition-delay: 0.35s; }
.sim[data-state="cancelled"] .them { border-color: rgba(242, 84, 27, 0.55); }

.ss-scans { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 9px 12px; border-radius: 12px; background: var(--live-bg); color: var(--live); font-size: 13px; }
.ss-scans b { display: inline-block; font-variant-numeric: tabular-nums; font-weight: 700; }
.sim[data-state="cancelled"] .us { border-color: rgba(61, 220, 151, 0.6); box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.1); }
.sim-card figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }
.sim-card figcaption b { font-weight: 600; }
.sim-state { padding: 4px 10px; border-radius: 999px; background: rgba(61, 220, 151, 0.16); color: var(--mint); font-size: 12px; font-weight: 600; white-space: nowrap; transition: background-color 0.3s, color 0.3s; }
.sim[data-state="cancelled"] .them .sim-state { background: rgba(242, 84, 27, 0.2); color: #ff9a6b; }
.sim-foot { grid-column: 1 / -1; color: rgba(255, 255, 255, 0.55) !important; }
@media (max-width: 920px) { .sim .wrap { grid-template-columns: 1fr; gap: var(--s6); } }
@media (max-width: 520px) { .sim-cards { grid-template-columns: 1fr; } .st-track { width: 210px; } }

/* Sections */
section { padding: var(--s9) 0; }
section.tight { padding: var(--s8) 0; }
.section-head { max-width: 46em; margin-bottom: var(--s7); }
.section-head p { margin-top: var(--s4); color: var(--ink-2); font-size: 18px; max-width: 40em; }
.rule { border-top: 1px solid var(--line); }

/* ---------- BENTO WITH LIVE LOOPS ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s4); }
.tile { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: var(--s5); padding: var(--s5); overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-card); transition: opacity 0.9s var(--ease-out), transform 0.6s var(--ease-out), box-shadow 0.5s var(--ease), border-color 0.3s; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: radial-gradient(380px circle at var(--tx, 50%) var(--ty, 0%), rgba(35, 87, 198, 0.1), transparent 60%); transition: opacity 0.4s; }
.tile:hover { transform: translateY(-3px); border-color: var(--accent-200); box-shadow: 0 30px 60px -30px rgba(35, 87, 198, 0.45); }
.tile:hover::before { opacity: 1; }
.tile h3 { font-size: 19px; }
.tile p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.tile.dark { background: var(--cobalt-deep); border-color: transparent; color: #fff; }
.tile.dark h3 { color: #fff; }
.tile.dark p { color: rgba(255, 255, 255, 0.8); }
.tile.dark::before { background: radial-gradient(380px circle at var(--tx, 50%) var(--ty, 0%), rgba(142, 197, 255, 0.25), transparent 60%); }
.tile.w4 { grid-column: span 4; }
.tile.w3 { grid-column: span 3; }
.tile.w2 { grid-column: span 2; }
.tile.w6 { grid-column: span 6; }
.dash-tile { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: var(--s6); }
@media (max-width: 960px) { .dash-tile { grid-template-columns: 1fr; } }
@media (max-width: 960px) { .tile.w4, .tile.w3, .tile.w2, .tile.w6 { grid-column: span 6; } }
[data-loop] *, [data-loop] *::before, [data-loop] *::after { animation-play-state: paused; }
[data-loop].live *, [data-loop].live *::before, [data-loop].live *::after { animation-play-state: running; }

.loop-phone { display: grid; grid-template-columns: 184px 1fr; gap: var(--s5); align-items: center; margin-top: auto; }
.mp { width: 184px; height: 260px; padding: 7px; border-radius: 28px; background: var(--night); box-shadow: var(--shadow-lift); }
.mp-screen { height: 100%; overflow: hidden; border-radius: 22px; clip-path: inset(0 round 22px); isolation: isolate; background: #fff; }
.mp-scroll { animation: mpScroll 7s var(--ease-io) infinite; }
.mp .lst-bar { padding-top: 12px; }
.mp .lst-send { animation: sendPulse 7s infinite; }
@keyframes mpScroll { 0%, 14% { transform: none; } 42%, 78% { transform: translateY(-128px); } 100% { transform: none; } }
@keyframes sendPulse { 0%, 56% { transform: none; } 60% { transform: scale(0.9); filter: brightness(0.9); } 66%, 100% { transform: none; filter: none; } }
.loop-points { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink-2); }
.loop-points li { display: flex; gap: 10px; align-items: flex-start; }
.loop-points svg { width: 16px; height: 16px; margin-top: 3px; flex: none; color: var(--live); }
@media (max-width: 560px) { .loop-phone { grid-template-columns: 1fr; justify-items: center; } }

.loop-toasts { position: relative; height: 176px; margin-top: auto; }
.loop-toasts .toast { position: absolute; left: 0; right: 0; top: 0; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 14px 30px -16px rgba(16, 33, 59, 0.35); opacity: 0; animation: toastCycle 6s var(--ease-out) infinite; animation-delay: calc(var(--k) * 2s); }
@keyframes toastCycle {
  0% { opacity: 0; transform: translateY(-28px) scale(0.94); }
  8%, 33% { opacity: 1; transform: none; }
  41%, 66% { opacity: 0.92; transform: translateY(58px) scale(0.97); }
  74%, 92% { opacity: 0.6; transform: translateY(112px) scale(0.94); }
  100% { opacity: 0; transform: translateY(130px) scale(0.92); }
}

.loop-report { margin-top: auto; }
.lr-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.lr-kpis b { display: block; font: 800 36px/1 var(--display); font-stretch: 100%; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.lr-kpis span { font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.cnt { counter-reset: n var(--n); animation: count 6s var(--ease-out) infinite; }
.cnt::after { content: counter(n); }
@keyframes count { 0% { --n: 0; } 40%, 100% { --n: var(--to); } }
.lr-bars { display: flex; align-items: flex-end; gap: 4px; height: 84px; margin-top: var(--s4); }
.lr-bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 3px 3px 0 0; background: rgba(255, 255, 255, 0.85); transform-origin: bottom; animation: barGrow 6s var(--ease-out) infinite; animation-delay: calc(var(--i) * 50ms); }
.lr-bars i:nth-child(7) { background: var(--hivis); }
@keyframes barGrow { 0% { transform: scaleY(0.04); } 38%, 88% { transform: scaleY(1); } 100% { transform: scaleY(0.04); } }
.lr-link { display: inline-block; margin-top: var(--s4); color: #fff; font-size: 14px; font-weight: 600; }
.lr-link:hover { color: var(--signal); }

.loop-sold { display: grid; grid-template-columns: 1fr 52px 1fr; gap: 8px; align-items: center; margin-top: auto; }
.ls-board { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.ls-board b { font: 800 16px/1.15 var(--display); font-stretch: 86%; }
.ls-status { align-self: flex-start; padding: 4px 9px; border-radius: 4px; background: var(--cobalt); color: #fff; font: 800 12px var(--display); font-stretch: 86%; }
.ls-sticker { position: absolute; right: 10px; top: 10px; padding: 3px 12px; border: 2px solid #fff; border-radius: 4px; background: var(--hivis); color: #fff; font: 900 18px/1 var(--display); font-stretch: 86%; box-shadow: 0 8px 18px -8px rgba(242, 84, 27, 0.9); animation: stampLoop 6s var(--ease-out) infinite; }
@keyframes stampLoop { 0%, 22% { opacity: 0; transform: scale(2.2) rotate(-26deg); } 30% { opacity: 1; transform: scale(0.92) rotate(-10deg); } 34%, 86% { opacity: 1; transform: rotate(-12deg); } 94%, 100% { opacity: 0; transform: rotate(-12deg); } }
.ls-arrow { position: relative; height: 2px; background: var(--line); }
.ls-arrow i { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--hivis); box-shadow: 0 0 12px 2px rgba(242, 84, 27, 0.6); opacity: 0; animation: lsDot 6s var(--ease-io) infinite; }
@keyframes lsDot { 0%, 34% { opacity: 0; transform: translateX(0); } 38% { opacity: 1; } 48% { opacity: 1; transform: translateX(42px); } 52%, 100% { opacity: 0; transform: translateX(42px); } }
.ls-page { position: relative; height: 76px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.ls-a, .ls-b { position: absolute; inset: 0; display: grid; place-items: center; padding: 8px; text-align: center; font-size: 14px; font-weight: 600; }
.ls-a { animation: lsA 6s var(--ease-out) infinite; }
.ls-b { color: var(--ink); background: #fff0e8; animation: lsB 6s var(--ease-out) infinite; }
@keyframes lsA { 0%, 46% { opacity: 1; transform: none; } 54%, 92% { opacity: 0; transform: translateY(-100%); } 100% { opacity: 1; transform: none; } }
@keyframes lsB { 0%, 46% { opacity: 0; transform: translateY(100%); } 54%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(100%); } }
@media (max-width: 520px) { .loop-sold { grid-template-columns: 1fr; } .ls-arrow { display: none; } }

.loop-dash { margin-top: auto; overflow: hidden; border: 1px solid var(--line-2); border-radius: 12px; }
.ld-row { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto 80px auto; gap: 12px; align-items: center; padding: 12px 14px; font-size: 14px; border-bottom: 1px solid var(--line-2); }
.ld-row:last-child { border-bottom: 0; }
.ld-row b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: dotPing 2.4s infinite; animation-delay: calc(var(--k) * 0.8s); }
@keyframes dotPing { 0% { box-shadow: 0 0 0 0 rgba(11, 122, 85, 0.5); } 70%, 100% { box-shadow: 0 0 0 9px rgba(11, 122, 85, 0); } }
.ld-st { padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.ld-st.s0 { color: var(--cobalt); background: var(--accent-100); }
.ld-st.s1 { color: var(--offer); background: var(--offer-bg); }
.ld-st.s2 { color: var(--sold); background: var(--sold-bg); }
.ld-row svg { width: 80px; height: 20px; overflow: visible; }
.ld-row path { fill: none; stroke: var(--cobalt); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawLoop 5s var(--ease-out) infinite; animation-delay: calc(var(--k) * 0.3s); }
@keyframes drawLoop { 0% { stroke-dashoffset: 1; opacity: 1; } 40%, 88% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.ld-n { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 560px) { .ld-row { grid-template-columns: 10px minmax(0, 1fr) auto; } .ld-row svg, .ld-n { display: none; } }

/* Mini report crop (kept for other pages) */
.bars-mini { display: flex; align-items: flex-end; gap: 3px; height: 64px; margin-top: 12px; }
.bars-mini i { flex: 1; background: var(--cobalt); border-radius: 2px 2px 0 0; min-height: 2px; }

/* Comparison table */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); font-size: 16px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: var(--s4) var(--s5); border-bottom: 1px solid var(--line-2); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 14px; font-weight: 600; color: var(--mute); background: var(--paper); }
.compare thead th:last-child { color: var(--cobalt); background: var(--accent-50); }
.compare td:first-child { font-weight: 600; width: 26%; }
.compare td.them { width: 37%; color: var(--ink-2); }
.compare td.us { width: 37%; background: var(--accent-50); }
.compare .tick { display: inline-block; width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px; }
.compare .tick path { fill: none; stroke: var(--live); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .compare .tick path { stroke-dashoffset: 1; transition: stroke-dashoffset 0.6s var(--ease-out); transition-delay: calc(var(--k) * 110ms + 0.5s); }
.js .compare.in .tick path { stroke-dashoffset: 0; }
.js .compare tbody tr { opacity: 0; transform: translateX(-18px); transition: opacity 0.6s var(--ease-out), transform 0.7s var(--ease-out); transition-delay: calc(var(--k) * 110ms + 0.2s); }
.js .compare.in tbody tr { opacity: 1; transform: none; }
.compare tbody tr:hover td.us { background: var(--accent-100); }
.footnote { margin-top: var(--s3); font-size: 13px; color: var(--mute); max-width: 62em; }
@media (max-width: 720px) {
  .compare thead { display: none; }
  .compare tr { display: block; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line-2); }
  .compare td { display: block; width: auto !important; padding: 4px 0; border: 0; background: none !important; }
  .compare td.them::before { content: "Typical generator: "; font-weight: 600; color: var(--mute); }
}

/* Pricing */
.price-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s5); }
.seg-ctrl { display: inline-flex; gap: 2px; padding: 4px; border-radius: 10px; background: var(--sunk); }
.seg-ctrl button { min-height: 36px; padding: 7px 14px; border: 0; border-radius: 7px; background: none; color: var(--ink-2); font: 500 14px var(--sans); cursor: pointer; transition: background-color 0.25s, color 0.25s, box-shadow 0.25s; }
.seg-ctrl button[aria-pressed="true"] { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 2px 6px rgba(16, 33, 59, 0.12); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); align-items: stretch; }
.plan { position: relative; isolation: isolate; display: flex; flex-direction: column; padding: var(--s6) var(--s5); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-card); transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease); }
.plan:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -28px rgba(16, 33, 59, 0.4); }
.plan.pick { color: #fff; border-color: transparent; background: none; }
.plan.pick::before { content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: 1; height: 5px; border-radius: var(--r-card) var(--r-card) 0 0; background: var(--hivis); }
.plan.pick::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--r-card); background: var(--night); }
.plan .name { font: 800 22px var(--display); font-stretch: 86%; color: var(--ink); }
.plan.pick .name { color: #fff; }
.plan .for { min-height: 3em; margin-top: 4px; font-size: 15px; color: var(--mute); }
.plan.pick .for, .plan.pick .billed, .plan.pick li { color: rgba(255, 255, 255, 0.78); }
.plan .price { margin: var(--s5) 0 var(--s1); font: 800 52px/1 var(--display); font-stretch: 100%; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan .price small { font: 400 15px var(--sans); letter-spacing: 0; color: var(--mute); }
.plan.pick .price small { color: rgba(255, 255, 255, 0.6); }
.plan .price.bump { animation: priceIn 0.55s var(--ease-out); }
@keyframes priceIn { from { opacity: 0.2; transform: translateY(-10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.plan .billed { min-height: 1.5em; font-size: 14px; color: var(--mute); }
.plan ul { margin: var(--s5) 0 var(--s6); padding: 0; list-style: none; font-size: 15px; }
.plan li { position: relative; padding: 8px 0 8px 26px; color: var(--ink-2); }
.plan li svg { position: absolute; left: 0; top: 12px; width: 15px; height: 15px; color: var(--live); }
.plan.pick li svg { color: var(--mint); }
.plan .btn { margin-top: auto; }
.price-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); margin-top: var(--s6); font-size: 14px; color: var(--ink-2); }
.price-notes b { display: block; margin-bottom: 4px; color: var(--ink); font-weight: 600; }
@media (max-width: 920px) { .plans { grid-template-columns: 1fr; } .price-notes { grid-template-columns: 1fr; } }

/* Founder & company */
.founder { display: grid; grid-template-columns: 96px 1fr; gap: var(--s5); align-items: start; padding: var(--s6); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-card); box-shadow: var(--shadow); }
.founder img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.founder dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px var(--s4); margin: var(--s4) 0 0; font-size: 14px; }
.founder dt { color: var(--mute); }
.founder dd { margin: 0; color: var(--ink-2); }

/* The Promise document */
.doc { max-width: 700px; margin: 0 auto; font-size: 19px; line-height: 1.65; color: var(--ink); }
.doc h1 { margin-bottom: var(--s5); font-size: clamp(36px, 4.4vw, 58px); }
.doc ol { margin: var(--s5) 0; padding-left: 1.2em; }
.doc li { margin-bottom: var(--s3); padding-left: 6px; }
.doc li::marker { color: var(--hivis); font-weight: 700; }
.doc .sig { margin-top: var(--s6); font-size: 15px; color: var(--mute); }
.doc .sig b { display: block; margin-bottom: 2px; font: 800 26px var(--display); font-stretch: 86%; color: var(--ink); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { padding: var(--s4) 0; border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s5); min-height: 36px; cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; transition: color 0.2s; }
.faq summary:hover { color: var(--cobalt); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sunk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' stroke='%2310213b' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform 0.4s var(--ease-out), background-color 0.3s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--hivis); }
.faq details::details-content { height: 0; overflow: clip; transition: height 0.45s var(--ease-out), content-visibility 0.45s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq details p { max-width: 64ch; margin-top: var(--s2); color: var(--ink-2); }

/* Final CTA */
.final { position: relative; isolation: isolate; overflow: hidden; background: var(--cobalt-deep); color: #fff; }
.final-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr); gap: var(--s7); align-items: center; }
.final h2 { max-width: 14em; color: #fff; font-size: clamp(40px, 5.6vw, 80px); font-weight: 800; font-stretch: 76%; line-height: 0.95; }
.final p { max-width: 34em; margin-top: var(--s5); font-size: 18px; color: rgba(255, 255, 255, 0.82); }
.final-qr { position: relative; display: grid; justify-items: center; gap: 14px; justify-self: center; }
.fq-code { position: relative; z-index: 1; width: 190px; padding: 12px; border-radius: 12px; background: #fff; box-shadow: 0 30px 60px -20px rgba(3, 10, 22, 0.6); }
.fq-code svg { width: 100%; height: auto; }
.fq-ring { position: absolute; left: 50%; top: 0; width: 190px; height: 190px; margin-left: -95px; border-radius: 14px; border: 2px solid rgba(142, 197, 255, 0.8); animation: fqRing 3.3s var(--ease-out) infinite; }
.fq-ring.b { animation-delay: 1.1s; }
.fq-ring.c { animation-delay: 2.2s; }
@keyframes fqRing { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.75); } }
.fq-cap { font-size: 13px; color: rgba(255, 255, 255, 0.78); }
@media (max-width: 860px) { .final-grid { grid-template-columns: 1fr; } .final-qr { justify-self: start; } }

/* Footer */
footer { padding: var(--s7) 0 var(--s8); font-size: 14px; color: var(--mute); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s6); }
footer h4 { margin-bottom: var(--s3); font-size: 14px; color: var(--ink); }
footer ul { margin: 0; padding: 0; list-style: none; }
footer li { margin-bottom: 8px; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { color: var(--cobalt); text-decoration: underline; }
footer .legal { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; padding-top: var(--s5); border-top: 1px solid var(--line); }
@media (max-width: 820px) { footer .wrap { grid-template-columns: 1fr 1fr; } }

/* Generic pages */
.prose { max-width: 720px; margin: 0 auto; padding: var(--s8) var(--s5) var(--s9); }
.prose h1 { margin-bottom: var(--s5); font-size: 44px; }
.prose h2 { margin: var(--s6) 0 var(--s2); font-size: 24px; }
.prose p, .prose li { margin-bottom: var(--s3); color: var(--ink-2); }
.signin { max-width: 460px; margin: var(--s8) auto; padding: 0 var(--s5); }
.signin h1 { margin-bottom: var(--s3); font-size: 36px; }
.signin .lede { margin-bottom: var(--s5); font-size: 17px; }

/* Static generator page */
.maker { display: flex; gap: var(--s2); max-width: 600px; margin-top: var(--s5); }
.maker input { min-height: 54px; font-size: 17px; }
.after { display: none; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s4); }
.after.show { display: flex; }
.upsell { display: none; max-width: 600px; margin-top: var(--s4); }
.upsell.show { display: block; }
.maker-preview { width: 260px; padding: var(--s4); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-card); box-shadow: var(--shadow); }
@media (max-width: 700px) { .maker { flex-direction: column; } }

/* ---------- APP ---------- */
.app-top .wrap { max-width: 1240px; }
.app { max-width: 1240px; margin: 0 auto; padding: var(--s6) var(--s5) var(--s9); }
.app-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; margin-bottom: var(--s5); }
.app-head h1 { font-size: 34px; line-height: 1.1; }
.app-head .meta { display: flex; gap: var(--s3); align-items: center; flex-wrap: wrap; margin-top: 6px; color: var(--mute); font-size: 15px; }
.crumb { margin-bottom: 6px; font-size: 14px; color: var(--mute); }
.crumb a { color: var(--mute); }
.panel { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-card); box-shadow: var(--shadow); }
.panel-pad { padding: var(--s5); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s4) var(--s5); border-bottom: 1px solid var(--line-2); }
.panel-head h3 { font-size: 16px; }
.plan-pill { display: inline-flex; align-items: center; flex: none; padding: 6px 11px; border-radius: 999px; background: var(--accent-100); color: var(--cobalt); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.row { display: flex; gap: var(--s2); flex-wrap: wrap; align-items: center; }
.stack > * + * { margin-top: var(--s5); }

.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { padding: 10px var(--s4); border-bottom: 1px solid var(--line-2); text-align: left; font-size: 13px; font-weight: 600; color: var(--mute); white-space: nowrap; }
.table td { padding: 14px var(--s4); border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background-color 0.2s; }
.table tbody tr:hover { background: var(--accent-50); }
.table .r { text-align: right; font-variant-numeric: tabular-nums; }
.table tr.dim td { color: var(--faint); }
.table tr.dim .thumb { opacity: 0.6; }
.thumb { display: block; width: 44px; height: 44px; padding: 3px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; }
.name { font-weight: 600; color: var(--ink); text-decoration: none; }
.name:hover { color: var(--cobalt); text-decoration: underline; }
.dest { max-width: 28ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--mute); font-size: 14px; }
.spark { width: 96px; height: 24px; }
@media (max-width: 860px) { .hide-md { display: none; } }

.empty { padding: var(--s8) var(--s5); text-align: center; }
.empty h2 { font-size: 28px; }
.empty p { max-width: 32em; margin: var(--s2) auto var(--s5); color: var(--ink-2); }

.detail { display: grid; grid-template-columns: 340px 1fr; gap: var(--s5); align-items: start; }
.qrbox { padding: var(--s5); }
.qrbox .qr { padding: var(--s2); border: 1px solid var(--line-2); border-radius: 10px; background: #fff; }
.shortlink { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s4); font-size: 14px; }
.shortlink code { flex: 1; min-width: 0; overflow: hidden; padding: 8px 10px; border-radius: var(--r-control); background: var(--sunk); font-family: var(--sans); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.status-switch { display: flex; gap: 6px; flex-wrap: wrap; }
.status-switch button { min-height: 38px; padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--r-control); background: var(--surface); color: var(--ink-2); font: 500 14px var(--sans); cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease-out); }
.status-switch button:hover { border-color: var(--cobalt); transform: translateY(-1px); }
.status-switch button[aria-pressed="true"] { border-color: var(--cobalt); background: var(--cobalt); color: #fff; font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line-2); }
.kpis div { padding: var(--s4) var(--s5); }
.kpis div + div { border-left: 1px solid var(--line-2); }
.kpis b { display: block; font: 800 30px var(--display); font-stretch: 100%; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpis span { font-size: 13px; color: var(--mute); }
.chart { padding: var(--s4) var(--s5) var(--s2); }
.chart svg { width: 100%; height: 150px; }
.bars { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); padding: var(--s2) var(--s5) var(--s5); }
.bar-row { display: grid; grid-template-columns: 76px 1fr 44px; gap: 10px; align-items: center; padding: 4px 0; font-size: 14px; }
.track { height: 6px; overflow: hidden; border-radius: 3px; background: var(--line-2); }
.track i { display: block; height: 100%; border-radius: 3px; background: var(--cobalt); }
.bar-row .v { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.feed { margin: 0; padding: 0; list-style: none; }
.feed li { padding: var(--s3) var(--s5); border-bottom: 1px solid var(--line-2); font-size: 14px; }
.feed li:last-child { border-bottom: 0; }
.feed time { color: var(--mute); font-size: 13px; }
.swatches { display: flex; gap: var(--s2); }
.swatches input[type="color"] { width: 46px; height: 46px; padding: 3px; border: 1px solid var(--line); border-radius: var(--r-control); background: var(--surface); cursor: pointer; }
.seg { display: inline-flex; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-control); }
.seg label { margin: 0; padding: 9px 14px; border-left: 1px solid var(--line); font-size: 14px; font-weight: 400; cursor: pointer; transition: background-color 0.2s; }
.seg label:first-child { border-left: 0; }
.seg input { position: absolute; opacity: 0; }
.seg label:has(input:checked) { background: var(--cobalt); color: #fff; font-weight: 600; }
.seg label:has(input:focus-visible) { outline: 2px solid var(--cobalt); outline-offset: -2px; }
.locked { opacity: 0.55; }
.kind-pick { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.kind-pick label { margin: 0; padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r-card); font-weight: 400; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease-out); }
.kind-pick label:hover { transform: translateY(-2px); }
.kind-pick label b { display: block; margin-bottom: 4px; font-weight: 600; }
.kind-pick label span { font-size: 14px; color: var(--mute); }
.kind-pick input { position: absolute; opacity: 0; }
.kind-pick label:has(input:checked) { border-color: var(--cobalt); box-shadow: 0 0 0 4px var(--accent-100); }
.kind-pick label:has(input:focus-visible) { outline: 2px solid var(--cobalt); }
[data-kind-show] { display: none; }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } .bars { grid-template-columns: 1fr; } .kpis { grid-template-columns: 1fr 1fr; } .kpis div:nth-child(3) { border-left: 0; } }
@media (max-width: 560px) { .kind-pick { grid-template-columns: 1fr; } .app-top .actions .small { display: none; } }

/* ---------- PUBLIC LISTING PAGE (what buyers see after scanning) ---------- */
.lp { max-width: 560px; min-height: 100vh; margin: 0 auto; background: var(--surface); }
.lp-agency { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--s5); background: var(--brand, var(--night)); color: #fff; font-size: 14px; }
.lp-agency b { font: 800 16px var(--display); font-stretch: 86%; }
.lp-agency a { color: #fff; }
.lp-photo { aspect-ratio: 3 / 2; background: var(--sunk) center / cover no-repeat; }
.lp-body { padding: var(--s5); }
.lp-body h1 { margin-top: var(--s3); font-size: 28px; line-height: 1.12; font-stretch: 86%; }
.lp-price { margin-top: 4px; font-size: 18px; color: var(--ink-2); }
.lp-feats { display: flex; gap: var(--s5); margin-top: var(--s4); font-size: 15px; color: var(--ink-2); }
.lp-feats b { font-weight: 600; color: var(--ink); }
.lp-blurb { margin-top: var(--s4); color: var(--ink-2); white-space: pre-line; }
.lp-card { margin-top: var(--s5); padding: var(--s5); border: 1px solid var(--line-2); border-radius: var(--r-card); background: var(--paper); }
.lp-card h2 { margin-bottom: var(--s4); font-size: 22px; }
.lp-agent { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); margin-top: var(--s5); padding-top: var(--s5); border-top: 1px solid var(--line-2); }
.lp-foot { padding: var(--s5); font-size: 12px; color: var(--mute); text-align: center; }

/* ---------- VENDOR REPORT (screen + A4 print) ---------- */
.report { max-width: 820px; margin: var(--s6) auto; padding: var(--s7) var(--s7) var(--s6); background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-card); box-shadow: var(--shadow); }
.report-head { display: flex; justify-content: space-between; align-items: start; gap: var(--s5); padding-bottom: var(--s4); border-bottom: 3px solid var(--ink); }
.report-head .agency { font-size: 14px; color: var(--mute); }
.report h1 { margin-top: 4px; font-size: 36px; font-weight: 800; font-stretch: 86%; }
.report .period { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.report .kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); margin: var(--s5) 0; border: 1px solid var(--line-2); border-radius: 12px; }
.report .kpi-row div { padding: var(--s3) var(--s4); }
.report .kpi-row div + div { border-left: 1px solid var(--line-2); }
.report .kpi-row b { display: block; font: 800 32px var(--display); font-stretch: 100%; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.report .kpi-row span { font-size: 12px; color: var(--mute); }
.report h2 { margin: var(--s5) 0 var(--s2); font: 600 16px var(--sans); letter-spacing: 0; }
.report .note { padding-left: var(--s4); border-left: 3px solid var(--hivis); font-size: 17px; line-height: 1.6; color: var(--ink-2); white-space: pre-line; }
.report-foot { display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s6); padding-top: var(--s3); border-top: 1px solid var(--line-2); font-size: 12px; color: var(--mute); }
.report-actions { display: flex; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; max-width: 820px; margin: var(--s5) auto 0; padding: 0 var(--s5); }
@media (max-width: 640px) { .report { margin: 0; padding: var(--s5); border: 0; border-radius: 0; } .report .kpi-row { grid-template-columns: 1fr 1fr; } .report .kpi-row div:nth-child(3) { border-left: 0; } }
@page { size: A4; margin: 14mm; }
@media print {
  body { background: #fff; }
  .no-print, .top, footer, .progress { display: none !important; }
  .report { max-width: none; margin: 0; padding: 0; border: 0; box-shadow: none; }
}

/* Inline icons inherit text size; buttons get a fixed 16px icon */
.small svg, .tiny svg, .notice svg, .panel-pad svg, p svg { display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; flex: none; }
.btn svg { width: 16px; height: 16px; flex: none; }

/* Reduced motion: everything still, nothing hidden */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .compare tbody tr { opacity: 1; transform: none; }
  .js .compare .tick path { stroke-dashoffset: 0; }
  .tape-run { transform: none; }
  .cnt::after { content: attr(data-to); }
  .loop-toasts .toast { opacity: 1; }
  .loop-toasts .toast:nth-child(2) { transform: translateY(58px); }
  .loop-toasts .toast:nth-child(3) { transform: translateY(116px); }
  .ls-sticker { opacity: 1; transform: rotate(-12deg); }
  .ls-a { opacity: 0; }
  .ld-row path { stroke-dashoffset: 0; }
  .progress { display: none; }
}
