@font-face{font-family:"Newsreader";src:url("fonts/newsreader.woff2") format("woff2");font-weight:200 800;font-style:normal;font-display:swap}
@font-face{font-family:"Hanken Grotesk";src:url("fonts/hanken-grotesk.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}

:root{
  color-scheme:dark;
  --void:#0c1124;      /* between cards */
  --night:#10162b;     /* card base */
  --dusk:#1a2142;      /* raised panels */
  --lamp:#f4c27a;      /* warmth, the human side */
  --catch:#7ab0ff;     /* the ScamCatch voice */
  --catch-deep:#3d6df0;
  --alert:#ff6f61;     /* the warning, used once */
  --trace:#ec38ff;     /* tracing the scammer's crypto: hot magenta into... */
  --trace-deep:#7c5cff;  /* ...electric violet */
  --paper:#eef0f7;
  --mist:#a9b1cc;
  --line:rgba(238,240,247,.12);

  --display:"Newsreader",Georgia,"Times New Roman",serif;
  --text:"Hanken Grotesk","Segoe UI",system-ui,sans-serif;
  --phone-ui:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,system-ui,sans-serif;

  --peek:44px;
  --gap:16px;
  --index-room:11rem;  /* space kept clear inside each card for the floating section index */
  --pad:clamp(2rem,4.4vw,4.75rem);
  --head-gap:clamp(2rem,5vw,6rem);  /* gap in the vision's headline row and the System 1 & System 2 title row */
  --card-h:calc(100svh - var(--peek)*2);
  --ph:clamp(430px,calc(var(--card-h) - 96px),760px);
  --pw:calc(var(--ph)*.4615);
}

*{box-sizing:border-box}
html{scroll-snap-type:y mandatory;scroll-behavior:smooth;background:var(--void);scrollbar-width:none;-ms-overflow-style:none}
html::-webkit-scrollbar,body::-webkit-scrollbar{display:none;width:0;height:0}
body{margin:0;font-family:var(--text);color:var(--paper);background:var(--void);font-size:1rem;line-height:1.55;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3,p,ol,ul,figure,q{margin:0}
ol,ul{padding:0;list-style:none}
a{color:inherit}
button{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--lamp);outline-offset:4px;border-radius:6px}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:fixed;left:1rem;top:-5rem;z-index:50;background:var(--paper);color:var(--night);padding:.7rem 1rem;border-radius:10px;font-weight:600;text-decoration:none}
.skip-link:focus{top:1rem}

/* ---------- Reel ---------- */
.reel{padding-bottom:var(--peek)}
#demo{height:100svh;min-height:600px;margin:0 0 var(--gap);scroll-snap-align:start}
.stage{height:var(--card-h);min-height:600px;margin:0 var(--gap) var(--gap);scroll-snap-align:center;scroll-snap-stop:always}
.stage:last-child{margin-bottom:0}
.card{position:relative;height:100%;border-radius:28px;overflow:hidden;background:var(--night);isolation:isolate}

/* ---------- Section index ---------- */
.index{position:fixed;right:calc(var(--gap) + clamp(1.25rem,2.4vw,2.6rem));top:50%;transform:translateY(-50%);z-index:30;pointer-events:none}
.index ol{pointer-events:auto}
.index ol{display:flex;flex-direction:column;gap:.35rem}
.index a{display:flex;align-items:center;justify-content:flex-end;gap:.8rem;padding:.35rem 0;text-decoration:none;font-size:.8rem;color:rgba(238,240,247,.5);text-shadow:0 1px 10px rgba(8,11,26,.9);transition:color .25s}
.index a:hover{color:var(--paper)}
.index .dot{width:7px;height:7px;border-radius:50%;background:rgba(238,240,247,.32);flex-shrink:0;transition:transform .3s,background .3s,box-shadow .3s}
.index a[aria-current="true"]{color:var(--paper)}
.index a[aria-current="true"] .dot{background:var(--lamp);transform:scale(1.45);box-shadow:0 0 0 4px rgba(244,194,122,.18)}

/* ---------- Brand ---------- */
.brand{display:inline-flex;align-items:center;gap:.55rem;text-decoration:none;font-family:var(--display);font-size:1.55rem;font-weight:500;letter-spacing:-.01em;line-height:1}
.brand-mark{width:22px;height:24px;color:var(--catch)}
.brand-top{gap:.8rem}
.brand-logo{display:block;width:56px;height:56px;border-radius:12px;flex-shrink:0}
.brand-words{display:flex;flex-direction:column;gap:.4rem}
.brand-tag{font-family:var(--text);font-size:.68rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--lamp)}

/* ---------- Stage 1: demo ---------- */
.card-demo{--ph:clamp(460px,calc(100svh - 112px),880px);--pw:calc(var(--ph)*.4615);display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;padding-right:var(--index-room);border-radius:0 0 28px 28px;background:var(--night)}
.night{position:absolute;inset:0;z-index:-1;background:radial-gradient(120% 90% at 72% 0%,#28326c 0%,#161d40 46%,#0e1430 100%)}
.night::before{content:"";position:absolute;inset:0;filter:blur(1.5px);opacity:.9;background:
  radial-gradient(circle at 8% 78%,rgba(244,194,122,.42) 0 7px,transparent 30px),
  radial-gradient(circle at 15% 86%,rgba(244,194,122,.28) 0 14px,transparent 48px),
  radial-gradient(circle at 23% 74%,rgba(244,194,122,.2) 0 4px,transparent 22px),
  radial-gradient(circle at 31% 90%,rgba(244,194,122,.34) 0 10px,transparent 40px),
  radial-gradient(circle at 39% 81%,rgba(122,176,255,.18) 0 6px,transparent 28px),
  radial-gradient(circle at 46% 93%,rgba(244,194,122,.22) 0 18px,transparent 60px),
  radial-gradient(circle at 57% 84%,rgba(244,194,122,.16) 0 5px,transparent 24px),
  radial-gradient(circle at 66% 95%,rgba(122,176,255,.16) 0 12px,transparent 44px),
  radial-gradient(circle at 78% 82%,rgba(244,194,122,.2) 0 6px,transparent 26px),
  radial-gradient(circle at 88% 90%,rgba(244,194,122,.3) 0 16px,transparent 54px),
  radial-gradient(circle at 95% 76%,rgba(122,176,255,.2) 0 5px,transparent 22px),
  radial-gradient(circle at 4% 62%,rgba(122,176,255,.14) 0 4px,transparent 20px),
  radial-gradient(circle at 52% 70%,rgba(244,194,122,.1) 0 3px,transparent 16px),
  radial-gradient(circle at 84% 68%,rgba(244,194,122,.12) 0 3px,transparent 16px),
  radial-gradient(70% 40% at 30% 100%,rgba(244,194,122,.12),transparent 70%)}
.night::after{content:"";position:absolute;inset:auto 0 0 0;height:28%;background:linear-gradient(to top,rgba(8,11,26,.75),transparent)}

.brand-bar{position:absolute;top:clamp(1.4rem,3vw,2.2rem);left:var(--pad);z-index:5}

.demo-copy{padding-left:var(--pad);padding-right:1rem;max-width:46rem}
.hero-title{font-family:var(--display);font-weight:420;font-size:clamp(2.4rem,1rem + 3.2vw,4.4rem);line-height:1.02;letter-spacing:-.022em;font-variation-settings:"opsz" 72;text-wrap:balance}
.hero-keep{white-space:nowrap}
.story{display:grid;margin-top:1.4rem}
.story-line{grid-area:1/1;opacity:0;transform:translateY(.5rem);transition:opacity .6s ease,transform .6s ease;pointer-events:none}
.story-line.is-active{opacity:1;transform:none;pointer-events:auto}
/* each step narrates the phone in one line: a white lead-in, then the rest in gray */
.story-line{max-width:36rem;font-size:clamp(1rem,.9rem + .3vw,1.15rem);line-height:1.55;color:var(--mist)}
.story-head{font-weight:650;color:var(--paper)}

.tracker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem;margin-top:2.6rem;max-width:30rem;font-size:.8rem;color:var(--mist)}
.tracker li{transition:color .3s}
.tracker .bar{display:block;height:2px;border-radius:2px;background:rgba(238,240,247,.16);margin-bottom:.6rem;overflow:hidden}
.tracker .bar i{display:block;height:100%;width:0;background:var(--lamp)}
.tracker li.is-done{color:var(--paper)}
.tracker li.is-done .bar i{width:100%;transition:none}
.tracker li.is-active{color:var(--paper)}
.tracker li.is-active .bar i{width:100%;transition:width var(--dur,4s) linear}
.card-demo[data-phase="warn"] .tracker li.is-active .bar i{background:var(--alert)}
.card-demo[data-phase="voice"] .tracker li.is-active .bar i{background:var(--catch)}

.progress-row{display:flex;align-items:flex-end;gap:1.1rem;margin-top:2.6rem;max-width:32rem}
.progress-row .tracker{flex:1;margin-top:0}
.replay{display:inline-flex;align-items:center;gap:.45rem;flex-shrink:0;margin-bottom:-.35rem;padding:.5rem .95rem;border:1px solid rgba(238,240,247,.3);border-radius:999px;background:rgba(238,240,247,.07);color:var(--paper);font-size:.85rem;font-weight:600;cursor:pointer;transition:background .2s,border-color .2s}
.replay:hover{background:rgba(238,240,247,.14);border-color:var(--lamp)}
.replay svg{width:16px;height:16px}

/* scam picker: one small round button per scenario */
.scams{margin-top:2rem;max-width:32rem}
.scams-label{margin-bottom:.8rem;font-size:.7rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--mist)}
.scam-list{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:.4rem}
.scam{display:flex;flex-direction:column;align-items:center;gap:.45rem;min-width:0;padding:0;border:0;background:none;color:var(--mist);font-size:.7rem;font-weight:600;line-height:1.15;text-align:center;cursor:pointer;transition:color .2s}
.scam-icon{display:grid;place-items:center;width:2.6rem;height:2.6rem;border-radius:50%;border:1px solid rgba(238,240,247,.28);background:rgba(238,240,247,.06);color:var(--paper);transition:background .2s,border-color .2s,color .2s,box-shadow .2s}
.scam-icon svg{width:1.2rem;height:1.2rem;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.scam:hover{color:var(--paper)}
.scam:hover .scam-icon{border-color:var(--lamp);background:rgba(244,194,122,.12)}
.scam[aria-pressed="true"]{color:var(--paper)}
.scam[aria-pressed="true"] .scam-icon{background:var(--lamp);border-color:var(--lamp);color:var(--night);box-shadow:0 0 0 4px rgba(244,194,122,.18)}
.scam:focus-visible{outline:none}
.scam:focus-visible .scam-icon{outline:3px solid var(--lamp);outline-offset:3px}
.original-voice{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem .8rem;margin-top:1.1rem;max-width:32rem}
.original-voice-button{min-height:44px;max-width:100%;padding:.6rem 1rem;border:1px solid rgba(122,176,255,.55);border-radius:999px;background:rgba(122,176,255,.1);color:var(--paper);font-size:.85rem;font-weight:600;cursor:pointer;transition:background .2s,border-color .2s}
.original-voice-button:hover:not(:disabled){background:rgba(122,176,255,.2);border-color:var(--catch)}
.original-voice-button:disabled{opacity:.55;cursor:default}
.original-voice p{font-size:.75rem;line-height:1.4;color:var(--mist)}
/* The voice notice sits beside every button that starts the AI voice, so visitors read it before the mic opens (docs/privacy.md) */
.voice-notice{max-width:32rem;margin-top:.75rem;font-size:.75rem;line-height:1.45;color:var(--mist);text-wrap:pretty}
.voice-notice a,.site-footer p a{color:var(--paper);text-decoration:underline;text-decoration-color:rgba(238,240,247,.45);text-underline-offset:2px}
.voice-notice a:hover,.site-footer p a:hover{text-decoration-color:currentColor}

/* stage floor: phone */
.stagefloor{position:relative;height:100%;display:grid;place-items:center}
.stagefloor::before{content:"";position:absolute;left:50%;top:50%;width:calc(var(--pw)*2.4);height:calc(var(--ph)*1.05);transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(closest-side,rgba(238,240,247,.16),transparent);transition:background 1s ease;z-index:0}
.card-demo[data-phase="warn"] .stagefloor::before{background:radial-gradient(closest-side,rgba(255,111,97,.42),transparent)}
.card-demo[data-phase="voice"] .stagefloor::before{background:radial-gradient(closest-side,rgba(122,176,255,.32),transparent)}

/* "Click here" cue that points at the round button on the voice screen */
.start-cue{position:absolute;z-index:3;top:calc(50% + var(--ph)*.1);right:calc(50% + var(--pw)/2 - var(--pw)*.2);display:flex;align-items:center;gap:.4rem;opacity:0;transform:translate(-14px,-50%);transition:opacity .5s ease .5s,transform .5s ease .5s;pointer-events:none}
.card-demo[data-phase="voice"]:not(.is-calling) .start-cue{opacity:1;transform:translate(0,-50%)}
.start-cue-label{padding:.7rem 1rem;border-radius:14px;background:var(--lamp);color:var(--night);font-weight:700;font-size:1rem;line-height:1.25;text-align:right;white-space:nowrap;box-shadow:0 14px 30px -14px rgba(244,194,122,.7)}
.start-cue-arrow{width:clamp(70px,calc(var(--pw)*.3),110px);height:24px;color:var(--lamp);flex-shrink:0;animation:cue 1.4s ease-in-out infinite}
@keyframes cue{0%,100%{transform:translateX(0)}50%{transform:translateX(8px)}}

/* ---------- Phone ---------- */
.phone{position:relative;z-index:1;height:var(--ph);width:var(--pw);border-radius:calc(var(--pw)*.165);padding:calc(var(--pw)*.034);background:linear-gradient(145deg,#3b404c,#16181f 40%,#2b2f38);box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.14),0 0 0 1px #05060a,0 50px 90px -30px rgba(0,0,0,.8),0 20px 40px -20px rgba(0,0,0,.6)}
.phone::before{content:"";position:absolute;inset:calc(var(--pw)*.012);border-radius:calc(var(--pw)*.15);background:#05060a}
.btn-side{position:absolute;width:3px;border-radius:2px;background:linear-gradient(90deg,#4a4f5b,#22252d)}
.btn-action{left:-3px;top:17%;height:4.5%}
.btn-vol-up{left:-3px;top:25%;height:8%}
.btn-vol-down{left:-3px;top:35%;height:8%}
.btn-power{right:-3px;top:28%;height:12%}
.screen{position:relative;height:100%;border-radius:calc(var(--pw)*.135);overflow:hidden;background:#fff;container-type:inline-size}
.ui{position:absolute;inset:0;font-family:var(--phone-ui);font-size:4.15cqw;line-height:1.3}

.statusbar{position:absolute;inset:0 0 auto 0;height:3.4em;z-index:6;display:flex;align-items:center;justify-content:space-between;padding:0 1.9em 0 2.1em;color:#0b0e14;transition:color .5s}
.clock{font-weight:650;font-size:1.02em;letter-spacing:-.01em}
.island{position:absolute;left:50%;top:.75em;width:33%;height:2.15em;transform:translateX(-50%);border-radius:1.2em;background:#000}
.sys{display:flex;align-items:center;gap:.32em}
.sys svg{height:.78em;width:auto;fill:currentColor}
.battery{position:relative;width:1.6em;height:.8em;border:1.5px solid currentColor;border-radius:.25em;opacity:.95}
.battery i{position:absolute;inset:1.5px;right:30%;background:currentColor;border-radius:1px}
.card-demo[data-phase="voice"] .statusbar{color:#fff}

/* chat */
.chat{position:absolute;inset:0;display:flex;flex-direction:column;background:#fff;color:#000}
.chat-head{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;padding:3.45em .9em .5em;background:#f6f6f8;border-bottom:1px solid #dcdce1}
.back{width:.62em;color:#007aff;justify-self:start;margin-bottom:1.15em}
.who{display:flex;flex-direction:column;align-items:center;gap:.25em}
.avatar{display:grid;place-items:center;width:2.5em;height:2.5em;border-radius:50%;overflow:hidden;background:linear-gradient(180deg,#a6acb8,#848a97);color:#fff;font-weight:600;font-size:1em}
.avatar svg{display:block;width:100%;height:100%;fill:#fff}
.who b{font-size:.7em;font-weight:500;color:#000}
.who b i{font-style:normal;color:#8e8e93}
.head-icon{width:1.4em;color:#007aff;justify-self:end;margin-bottom:.95em}

.thread{flex:1;display:flex;flex-direction:column;justify-content:flex-end;gap:.22em;padding:.6em .85em .6em;overflow:hidden;background:#fff;transition:opacity .25s}
.card-demo.is-switching .thread{opacity:0}
.card-demo.is-switching .story-line{transition-duration:.25s}
.stamp{align-self:center;font-size:.68em;color:#8e8e93;margin:.6em 0 .3em}
.stamp b{font-weight:600}
.receipt{align-self:flex-end;font-size:.64em;color:#8e8e93;margin:.05em .2em .2em 0}
.receipt b{font-weight:600}
.msg{max-width:76%;padding:.45em .75em;border-radius:1.15em;font-size:.95em;line-height:1.3;position:relative}
.msg.them{align-self:flex-start;background:#e9e9eb;color:#000;margin-left:.3em}
.msg.me{align-self:flex-end;background:#0a84ff;color:#fff;margin-right:.3em}
.msg.them::before,.msg.me::before{content:"";position:absolute;bottom:0;width:.75em;height:.95em}
.msg.them::before{left:-.32em;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M14 0H6C6 8 4 13 0 16C5 16.3 10 14.6 14 11.5Z' fill='%23e9e9eb'/%3E%3C/svg%3E") no-repeat center/100% 100%}
.msg.me::before{right:-.32em;transform:scaleX(-1);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M14 0H6C6 8 4 13 0 16C5 16.3 10 14.6 14 11.5Z' fill='%230a84ff'/%3E%3C/svg%3E") no-repeat center/100% 100%}
.msg.them:has(+ .msg.them.is-shown)::before,.msg.them:has(+ .msg.them:not([data-step]))::before,.msg.flagged.is-scanned::before{display:none}
.msg.photo{width:46%;max-width:none;aspect-ratio:4/5;padding:0;overflow:hidden;border-radius:1.1em;background:#d9d9de}
.msg.photo::before{display:none}
.msg.photo svg{display:block;width:100%;height:100%}
.msg[data-step]{display:none}
.msg[data-step].is-shown{display:block;animation:bubble .36s cubic-bezier(.2,.9,.3,1.2) both}
@keyframes bubble{from{opacity:0;transform:translateY(.6em) scale(.94)}to{opacity:1;transform:none}}
.msg.flagged.is-scanned{background:#fff1ef;box-shadow:0 0 0 2px var(--alert)}
.msg.flagged.is-scanned::after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(100deg,transparent 30%,rgba(255,111,97,.35) 50%,transparent 70%);background-size:250% 100%;animation:scan 1.1s ease-in-out 2}
@keyframes scan{from{background-position:120% 0}to{background-position:-120% 0}}
.typing{display:none;align-self:flex-start;gap:.28em;padding:.75em .85em;border-radius:1.15em;background:#e9e9eb;margin-left:.3em}
.typing.is-shown{display:flex}
.typing span{width:.42em;height:.42em;border-radius:50%;background:#9aa0ad;animation:dots 1.1s infinite ease-in-out}
.typing span:nth-child(2){animation-delay:.15s}
.typing span:nth-child(3){animation-delay:.3s}
@keyframes dots{0%,60%,100%{transform:none;opacity:.5}30%{transform:translateY(-.25em);opacity:1}}

.composer{display:flex;align-items:center;gap:.55em;padding:.5em .8em 1.55em}
.plus{display:grid;place-items:center;width:2.1em;height:2.1em;border-radius:50%;background:#e9e9eb;color:#7c7c82;flex-shrink:0}
.plus svg{width:1.05em}
.field{flex:1;display:flex;align-items:center;justify-content:space-between;padding:.45em .5em .45em .85em;border:1px solid #d1d1d6;border-radius:1.2em;color:#a1a1a6}
.field svg{width:1.1em;height:1.1em;color:#a1a1a6}

/* Dark chat looks, styled after WhatsApp and Messenger (no app names or logos) */
.chat:not([data-app]){visibility:hidden}  /* app.js draws the chat; this avoids a flash of the old look */
.card-demo[data-app="whatsapp"] .statusbar,.card-demo[data-app="messenger"] .statusbar{color:#fff}
.head-icons{display:flex;align-items:center;gap:1.1em}
.head-icons svg{width:1.3em;height:1.3em}
.chat .who small{display:block;font-size:.68em;font-weight:400;line-height:1.2}
.msg .meta{float:right;display:inline-flex;align-items:center;gap:.3em;margin:.55em -.15em -.25em .8em;font-size:.64em;line-height:1;white-space:nowrap}
.msg .meta svg{width:1.45em;height:.9em}
.chat:is([data-app="whatsapp"],[data-app="messenger"]) .msg.flagged.is-scanned{background:#4a2320;color:#fff}
.chat[data-app] .msg.photo{padding:0}

.chat[data-app="whatsapp"]{background:#0b141a;color:#e9edef}
.chat[data-app="whatsapp"] .chat-head{grid-template-columns:auto auto 1fr auto;align-items:center;gap:.55em;padding:3.35em 1em .6em .75em;background:#1f2c34;border-bottom:0}
.chat[data-app="whatsapp"] .back{width:.6em;margin:0;color:#e9edef}
.chat[data-app="whatsapp"] .avatar{width:2.15em;height:2.15em;font-size:.95em;background:linear-gradient(180deg,#6a7b85,#47555e)}
.chat[data-app="whatsapp"] .who{align-items:flex-start;gap:.12em}
.chat[data-app="whatsapp"] .who b{font-size:.92em;font-weight:600;color:#e9edef}
.chat[data-app="whatsapp"] .who small{color:#8696a0}
.chat[data-app="whatsapp"] .head-icons{color:#e9edef}
.chat[data-app="whatsapp"] .thread{gap:.16em;padding:.6em .95em;background:#0b141a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.05' stroke-width='1.3' stroke-linecap='round'%3E%3Ccircle cx='10' cy='12' r='4'/%3E%3Cpath d='M36 6l5 7-8 1z'/%3E%3Cpath d='M20 42c3-4 8-4 11 0'/%3E%3Crect x='46' y='34' width='9' height='7' rx='2'/%3E%3Cpath d='M6 52l5 4M50 10h7M56 54c2-3 5-3 7 0'/%3E%3C/g%3E%3C/svg%3E") repeat;background-size:5.5em 5.5em}
.chat[data-app="whatsapp"] .stamp{padding:.4em .8em;border-radius:.6em;background:#182229;color:#8696a0;font-size:.66em;font-weight:500;margin:.7em 0 .45em}
.chat[data-app="whatsapp"] .msg{max-width:80%;padding:.38em .6em .42em;border-radius:.6em;font-size:.92em;box-shadow:0 1px .5px rgba(0,0,0,.25)}
.chat[data-app="whatsapp"] .msg.them{background:#202c33;color:#e9edef;margin-left:.45em}
.chat[data-app="whatsapp"] .msg.me{background:#005c4b;color:#e9edef;margin-right:.45em}
.chat[data-app="whatsapp"] .msg.first{margin-top:.35em}
.chat[data-app="whatsapp"] .msg.them.first{border-top-left-radius:0}
.chat[data-app="whatsapp"] .msg.me.first{border-top-right-radius:0}
.chat[data-app="whatsapp"] .msg.them .meta{color:#8696a0}
.chat[data-app="whatsapp"] .msg.me .meta{color:rgba(233,237,239,.62)}
.chat[data-app="whatsapp"] .msg.flagged.is-scanned .meta{color:rgba(255,255,255,.6)}
.chat[data-app="whatsapp"] .msg .meta svg{color:#53bdeb}
.card-demo .chat[data-app="whatsapp"] .msg::before{display:none}
.card-demo .chat[data-app="whatsapp"] .msg.first::before{display:block;top:0;bottom:auto;width:.5em;height:.62em;transform:none}
.card-demo .chat[data-app="whatsapp"] .msg.them.first::before{left:-.46em;background:#202c33;clip-path:polygon(0 0,100% 0,100% 100%)}
.card-demo .chat[data-app="whatsapp"] .msg.me.first::before{left:auto;right:-.46em;background:#005c4b;clip-path:polygon(0 0,100% 0,0 100%)}
.chat[data-app="whatsapp"] .typing{background:#202c33;margin-left:.45em;border-radius:.6em}
.chat[data-app="whatsapp"] .typing span{background:#8696a0}
.chat[data-app="whatsapp"] .composer{gap:.45em;padding:.45em .6em 1.55em;background:#0b141a}
.chat[data-app="whatsapp"] .field{justify-content:flex-start;gap:.6em;padding:.62em .85em;border:0;border-radius:1.5em;background:#1f2c34;color:#8696a0}
.chat[data-app="whatsapp"] .field .placeholder{flex:1}
.chat[data-app="whatsapp"] .field svg{width:1.15em;height:1.15em;color:#8696a0}
.mic-btn{display:grid;place-items:center;flex-shrink:0;width:2.55em;height:2.55em;border-radius:50%;background:#00a884;color:#0b141a}
.mic-btn svg{width:1.2em;height:1.2em}

.chat[data-app="messenger"]{--m-accent:#a35cff;background:#000;color:#e4e6eb}
.chat[data-app="messenger"] .chat-head{grid-template-columns:auto auto 1fr auto;align-items:center;gap:.6em;padding:3.35em 1em .6em .75em;background:#000;border-bottom:1px solid #1d1d1f}
.chat[data-app="messenger"] .back{width:.6em;margin:0;color:var(--m-accent)}
.avatar-wrap{position:relative;display:block}
.active-dot{position:absolute;right:-.08em;bottom:-.04em;width:.72em;height:.72em;border-radius:50%;background:#31a24c;border:.17em solid #000}
.chat[data-app="messenger"] .avatar{width:2.15em;height:2.15em;font-size:.95em}
.chat[data-app="messenger"] .who{align-items:flex-start;gap:.12em}
.chat[data-app="messenger"] .who b{font-size:.92em;font-weight:700;color:#e4e6eb}
.chat[data-app="messenger"] .who small{color:#b0b3b8}
.chat[data-app="messenger"] .head-icons{color:var(--m-accent)}
.chat[data-app="messenger"] .thread{gap:.14em;padding:.6em .85em;background:#000}
.chat[data-app="messenger"] .stamp{margin:.8em 0 .45em;color:#8a8d91;font-size:.62em;font-weight:600;letter-spacing:.03em;text-transform:uppercase}
.chat[data-app="messenger"] .msg{padding:.45em .8em;border-radius:1.2em;font-size:.92em}
.chat[data-app="messenger"] .msg.them{background:#303030;color:#e4e6eb;margin-left:2.05em}
.chat[data-app="messenger"] .msg.me{background:linear-gradient(180deg,#a033ff,#6a4dff 55%,#2d7bff);color:#fff;margin-right:0}
.chat[data-app="messenger"] .msg.first{margin-top:.3em}
.card-demo .chat[data-app="messenger"] .msg.me::before{display:none}
.card-demo .chat[data-app="messenger"] .msg.them::before{left:-2.65em;bottom:0;width:2em;height:2em;border-radius:50%;transform:none;font-size:.78em;font-weight:600;line-height:2em;text-align:center;color:#fff;content:var(--av-letter,"");background:var(--av-img,none) center/cover no-repeat,linear-gradient(180deg,#a6acb8,#848a97)}
.card-demo .chat[data-app="messenger"] .msg.flagged.is-scanned::before{display:block}
.chat[data-app="messenger"] .receipt.seen{width:.95em;height:.95em;margin:.2em 0 .25em;border-radius:50%;font-size:inherit;background:var(--av-img,none) center/cover no-repeat,linear-gradient(180deg,#a6acb8,#848a97)}
.chat[data-app="messenger"] .typing{background:#303030;margin-left:2.05em}
.chat[data-app="messenger"] .typing span{background:#b0b3b8}
.chat[data-app="messenger"] .composer{gap:.75em;padding:.5em .85em 1.55em;background:#000}
.m-icons{display:flex;align-items:center;gap:.8em;color:var(--m-accent)}
.m-icons svg{width:1.3em;height:1.3em}
.chat[data-app="messenger"] .field{padding:.5em .55em .5em .85em;border:0;border-radius:1.4em;background:#303030;color:#b0b3b8}
.chat[data-app="messenger"] .field svg{width:1.2em;height:1.2em;color:var(--m-accent)}
.chat[data-app="messenger"] .like{width:1.35em;height:1.35em;flex-shrink:0;color:var(--m-accent)}

/* ScamCatch alert */
.alert{position:absolute;z-index:4;top:3.55em;left:.55em;right:.55em;display:flex;flex-direction:column;gap:.2em;padding:.75em .9em .85em;border-radius:1.35em;background:rgba(246,247,250,.9);-webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4);color:#0b0e14;box-shadow:0 1em 2.4em -.6em rgba(10,14,30,.45),0 0 0 1px rgba(255,255,255,.6) inset;transform:translateY(-130%);opacity:0;transition:transform .6s cubic-bezier(.2,.9,.25,1.1),opacity .3s}
.alert-top{display:flex;align-items:center;gap:.45em;font-size:.78em;color:#5d6475;margin-bottom:.15em}
.app-icon{display:block;width:1.7em;height:1.7em;border-radius:.45em;flex-shrink:0}
.app-name{font-weight:650;color:#0b0e14;margin-right:auto}
.alert b{display:flex;align-items:center;gap:.4em;font-size:.98em;font-weight:700}
.alert b::before{content:"";width:.55em;height:.55em;border-radius:50%;background:var(--alert);flex-shrink:0}
.alert > span{font-size:.86em;color:#3b4252;line-height:1.32}
.card-demo[data-phase="warn"] .alert,.card-demo[data-phase="voice"] .alert{transform:none;opacity:1}
.chat::after{content:"";position:absolute;inset:0;background:rgba(12,17,36,.32);opacity:0;transition:opacity .5s;pointer-events:none}
.card-demo[data-phase="warn"] .chat::after{opacity:1}
.phone.buzz{animation:buzz .5s ease-in-out}
@keyframes buzz{0%,100%{transform:none}15%{transform:translateX(-5px) rotate(-1deg)}30%{transform:translateX(5px) rotate(1deg)}45%{transform:translateX(-4px) rotate(-.6deg)}60%{transform:translateX(4px) rotate(.6deg)}75%{transform:translateX(-2px)}}

/* ScamCatch voice sheet */
.sheet{position:absolute;inset:0;z-index:5;display:flex;flex-direction:column;align-items:center;padding:5.2em 1.4em 2.2em;text-align:center;color:#fff;background:radial-gradient(90% 55% at 50% 42%,#2b4396 0%,#17204a 55%,#0d1228 100%);transform:translateY(102%);transition:transform .7s cubic-bezier(.2,.85,.2,1)}
.card-demo[data-phase="voice"] .sheet{transform:none}
.sheet-title{display:flex;flex-direction:column;gap:.25em;min-height:3.4em}
.sheet-title b{font-size:1.35em;font-weight:700;letter-spacing:-.01em}
.sheet-sub,.call-status{font-size:.9em;color:rgba(255,255,255,.72)}
.call-status{display:none}

.sheet-quote{margin-top:1.1em;max-width:17.5em;padding:.6em .85em;border-radius:1em;background:rgba(255,255,255,.08);border:1px solid rgba(255,111,97,.45);font-size:.82em;line-height:1.35;color:rgba(255,255,255,.9);text-align:left}
.sheet-quote span{display:block;font-size:.85em;font-weight:650;color:#ffb3aa;margin-bottom:.15em}
.card-demo.is-calling .sheet-quote{border-color:rgba(255,255,255,.14)}
.orb-button{position:relative;width:70%;aspect-ratio:1;margin:auto 0;padding:0;border:0;border-radius:50%;background:none;cursor:pointer}
.ring-text{position:absolute;inset:0;width:100%;height:100%;animation:spin 16s linear infinite}
.ring-text text{font-family:var(--phone-ui);font-size:12.6px;font-weight:650;letter-spacing:.06em;fill:rgba(255,255,255,.9)}
@keyframes spin{to{transform:rotate(360deg)}}
.orb{position:absolute;inset:19%;border-radius:50%;display:grid;place-items:center}
.orb::before,.orb::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid rgba(122,176,255,.7);animation:ripple 2.2s ease-out infinite}
.orb::after{animation-delay:1.1s}
@keyframes ripple{from{transform:scale(1);opacity:.9}to{transform:scale(1.5);opacity:0}}
.orb-core{position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle at 34% 28%,#e3edff 0%,#9cc3ff 24%,#5a8cff 55%,#2342b8 100%);box-shadow:0 0 2.6em rgba(122,176,255,.75),inset 0 -.6em 1.4em rgba(15,25,90,.5);animation:breathe 2.6s ease-in-out infinite}
@keyframes breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
.wave{position:relative;display:flex;align-items:center;gap:.22em;height:40%}
.wave i{width:.28em;height:30%;border-radius:.2em;background:#fff;opacity:.92}
.wave i:nth-child(2),.wave i:nth-child(6){height:55%}
.wave i:nth-child(3),.wave i:nth-child(5){height:80%}
.wave i:nth-child(4){height:100%}


.call-controls{display:none;flex-direction:column;align-items:center;gap:1em;margin-top:.4em}
.caption{min-height:2.6em;max-width:16em;font-size:.95em;color:rgba(255,255,255,.88)}
.end-call{display:grid;place-items:center;width:3.6em;height:3.6em;border:0;border-radius:50%;background:#ff4d4f;color:#fff;cursor:pointer}
.end-call svg{width:1.6em}

/* calling state */
.card-demo.is-calling .sheet-sub{display:none}
.card-demo.is-calling .call-status{display:block}
.card-demo.is-calling .call-controls{display:flex}
.card-demo.is-calling .ring-text{opacity:0;transition:opacity .4s}
.card-demo.is-calling .orb::before,.card-demo.is-calling .orb::after{animation-duration:3.2s;border-color:rgba(122,176,255,.4)}
.card-demo.is-calling .wave i{animation:talk 1s ease-in-out infinite}
.card-demo.is-calling .wave i:nth-child(2n){animation-duration:.8s}
.card-demo.is-calling .wave i:nth-child(3n){animation-duration:1.25s}
@keyframes talk{0%,100%{transform:scaleY(.45)}50%{transform:scaleY(1)}}
/* the user's turn: once the voice has finished talking, make it obvious you can talk back */
.your-turn{display:none;align-items:center;gap:.7em;max-width:17em;padding:.75em 1.1em;border-radius:1.2em;background:var(--catch);color:#0b1433;text-align:left;animation:your-turn 1.6s ease-out infinite}
.your-turn svg{flex:none;width:1.7em;height:1.7em;fill:currentColor}
.your-turn b{display:block;font-size:1.05em;font-weight:800;line-height:1.2}
.your-turn-text span{display:block;margin-top:.15em;font-size:.8em;line-height:1.3;opacity:.85}
@keyframes your-turn{0%{box-shadow:0 0 0 0 rgba(122,176,255,.65)}100%{box-shadow:0 0 0 1.1em rgba(122,176,255,0)}}
.card-demo.is-calling[data-turn="you"] .your-turn{display:flex}
.card-demo.is-calling[data-turn="you"] .caption{display:none}
/* the orb listens: the same blue, a microphone in place of the wave, growing with your voice */
.orb-mic{position:relative;display:none;width:38%;height:38%;fill:#fff}
.card-demo.is-calling[data-turn="you"] .wave{display:none}
.card-demo.is-calling[data-turn="you"] .orb-mic{display:block}
.card-demo.is-calling[data-turn="you"] .orb-core{animation:none;transform:scale(calc(1 + var(--mic, 0) * .18));transition:transform .1s linear}
.card-demo.is-calling[data-turn="you"] .orb::before,.card-demo.is-calling[data-turn="you"] .orb::after{border-color:rgba(122,176,255,.75);animation-duration:1.6s}

/* ---------- Shared stage typography ---------- */
.card:not(.card-demo){padding:var(--pad) calc(var(--pad) + var(--index-room)) var(--pad) var(--pad)}
h2{font-family:var(--display);font-weight:420;font-size:clamp(2rem,1.1rem + 2.4vw,3.6rem);line-height:1.06;letter-spacing:-.018em;font-variation-settings:"opsz" 60;text-wrap:balance}
h3{font-size:1.06rem;font-weight:650;line-height:1.3;letter-spacing:-.005em}
.stage-head{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:var(--head-gap);align-items:end}
.stage-head h2{max-width:17ch}
.stage-head p{color:var(--mist);max-width:30rem;font-size:1.04rem}

/* Stage 3: the vision (the map) */
.card-vision{display:flex;flex-direction:column;gap:clamp(1rem,3svh,2rem);background:radial-gradient(60% 55% at 55% 62%,rgba(61,109,240,.17),transparent 70%),radial-gradient(45% 45% at 0% 0%,rgba(244,194,122,.08),transparent 70%),var(--night)}
.eyebrow{margin-bottom:1rem;font-size:.72rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--lamp)}
.vision-head,.why-top{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)}
.vision-head h2{max-width:18ch}
.vision-map{position:relative;flex:1;min-height:12rem}
/* the map's area spans the room kept for the section index too, so the map is centered on the screen, not the card's text column */
@media (min-width:761px) and (min-height:561px){.card-vision .vision-map,.card-vision .vision-head,.why-top{margin-right:calc(-1 * var(--index-room))}}
.us-map{position:absolute;top:1%;bottom:5%;left:6%;width:88%;height:94%;overflow:visible}
.us-land{fill:rgba(26,33,66,.9);stroke:rgba(122,176,255,.38);stroke-width:1.2;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.vision-frame{position:absolute;inset:0}
.vision-frame canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
/* the vision map's scams: a bolder neon red running into orange, as the trace runs magenta into violet */
#vision{--alert:#ff2e4c;--alert-deep:#ff7a1f}
.spot{position:absolute;left:0;top:0;z-index:2;transform-origin:0 0;width:min(19rem,46%);display:grid;gap:.55rem;padding:.85rem .95rem .95rem;border-radius:16px;background:rgba(12,17,36,.92);border:1px solid rgba(255,46,76,.6);box-shadow:0 18px 40px -18px rgba(0,0,0,.8);opacity:0;transform:translateY(6px);transition:opacity .3s ease,transform .3s ease,border-color .4s ease;pointer-events:none}
.spot.is-shown{opacity:1;transform:none}
.spot[data-phase="caught"]{border-color:rgba(122,176,255,.6)}
.spot-where{display:flex;justify-content:space-between;gap:.8rem;font-size:.66rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--mist)}
.spot-kind{background:linear-gradient(90deg,var(--alert),var(--alert-deep));-webkit-background-clip:text;background-clip:text;color:transparent}
.spot-msg{padding:.5rem .7rem;border-radius:.9rem .9rem .9rem .3rem;background:#eef0f3;color:#0b0e14;font-family:var(--phone-ui);font-size:.8rem;line-height:1.3;box-shadow:0 0 0 2px var(--alert),0 0 18px rgba(255,46,76,.45)}
.spot-catch{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.65rem;max-height:0;overflow:hidden;padding:0 .7rem;border-radius:.8rem;background:rgba(61,109,240,.22);border:0 solid rgba(122,176,255,.45);font-size:.8rem;line-height:1.35;color:#dfe8ff;opacity:0;transition:max-height .4s ease,padding .4s ease,opacity .35s ease .05s}
.spot-catch p{display:grid;gap:.15rem}
.spot-catch b{font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:var(--catch)}
.spot-logo{display:block;width:46px;height:46px;border-radius:11px;flex-shrink:0;box-shadow:0 6px 16px -6px rgba(0,0,0,.7)}
.spot:is([data-phase="caught"],[data-phase="shared"],[data-phase="traced"]) .spot-catch{max-height:7rem;padding:.55rem .7rem;border-width:1px;opacity:1}
.spot:is([data-phase="shared"],[data-phase="traced"]){border-color:rgba(122,176,255,.6)}
.spot-share{display:grid;gap:.45rem;max-height:0;overflow:hidden;opacity:0;transition:max-height .45s ease,opacity .3s ease}
.spot:is([data-phase="shared"],[data-phase="traced"]) .spot-share{max-height:11rem;opacity:1}
.spot-share-head{font-size:.64rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--mist)}
.spot-share ul{display:grid;gap:.35rem}
.spot-share li{display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:.55rem;font-size:.82rem;line-height:1.25;color:var(--paper);opacity:0;transform:translateX(-6px);transition:opacity .14s ease-out,transform .14s ease-out}
.spot-share li i{display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:#3d6df0;color:#fff}
.spot-share li svg{width:16px;height:16px;fill:currentColor}
.spot-share li b{font-size:.7rem;font-weight:700;white-space:nowrap;color:var(--catch)}
.spot-share li.is-sent{opacity:1;transform:none}
.spot-trace{display:grid;gap:.45rem;max-height:0;overflow:hidden;opacity:0;transition:max-height .45s ease,opacity .3s ease}
.spot[data-phase="traced"] .spot-trace{max-height:8rem;opacity:1}
.trace-chain{position:relative;display:flex;justify-content:space-between;align-items:center;padding:.15rem .35rem}
.trace-chain::before{content:"";position:absolute;left:.8rem;right:.8rem;top:50%;border-top:1.5px dashed rgba(236,56,255,.6)}
.trace-chain i{position:relative;width:11px;height:11px;transform:rotate(45deg);border:1.5px solid var(--trace);background:var(--night);transition:background .15s ease,box-shadow .15s ease}
.trace-chain i.trace-x{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;transform:none;color:var(--trace)}
.trace-chain svg{width:15px;height:15px;fill:currentColor}
.trace-chain i.is-lit{border-color:transparent;background:linear-gradient(135deg,var(--trace),var(--trace-deep));box-shadow:0 0 12px rgba(236,56,255,.75);color:#fff}
.trace-row{display:flex;justify-content:space-between;gap:.55rem;margin-top:-.15rem}
.trace-row b{font-size:.7rem;font-weight:700;white-space:nowrap;color:var(--trace)}
.trace-row .trace-end{opacity:0;transition:opacity .2s ease}
.spot.has-traced .trace-row .trace-end{opacity:1}
.spot.is-resetting *{transition:none!important}
.timeline{--line:rgba(169,177,204,.3);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:1.4rem;width:100%;max-width:52rem;margin:0;padding:8px 0 0 8px;list-style:none}
.timeline li{display:grid;align-content:start;gap:.75rem}
.timeline li[data-step="scam"]{--c:var(--alert)}
.timeline li[data-step="caught"],.timeline li[data-step="shared"]{--c:var(--catch)}
.timeline li[data-step="traced"]{--c:var(--trace)}
/* each step: its icon with a number badge, then a line on to the next step */
.timeline-mark{display:flex;align-items:center;gap:.7rem;height:46px}
.timeline li:not(:last-child) .timeline-mark::after{content:"";flex:1;height:2px;margin-right:calc(-1.4rem + 8px);border-radius:1px;background:var(--line)}
.timeline-icon{position:relative;flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:13px;opacity:.82;transition:opacity .3s ease,box-shadow .3s ease,transform .3s ease}
.timeline li[data-step="scam"] .timeline-icon{background:linear-gradient(135deg,var(--alert),var(--alert-deep));color:#fff}
.timeline li[data-step="scam"] svg{width:26px;height:26px;fill:#fff}
.timeline li[data-step="scam"] svg circle{fill:var(--alert)}
.timeline-icon img{display:block;width:46px;height:46px;border-radius:13px}
/* step 3: the three places reports go, as one group */
.timeline-trio{width:auto;padding:0 8px;gap:5px;grid-auto-flow:column;border:1.5px solid rgba(122,176,255,.45);background:rgba(61,109,240,.16)}
.timeline-trio i{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#3d6df0;color:#fff}
.timeline-trio svg{width:18px;height:18px;fill:currentColor}
.timeline-trio i{transition:background .3s ease,box-shadow .3s ease}
.timeline-trio i.is-hit{background:#5f8dff;box-shadow:0 0 0 3px rgba(122,176,255,.28),0 0 14px rgba(122,176,255,.75);animation:trio-hop .55s cubic-bezier(.3,1.5,.5,1)}
@keyframes trio-hop{0%{transform:none}35%{transform:translateY(-7px) scale(1.14)}100%{transform:none}}
@media (prefers-reduced-motion: reduce){.timeline-trio i.is-hit{animation:none}}
/* step 4: trace crypto, a magenta-to-violet tile with a trail of wallets */
.timeline-trace{background:linear-gradient(135deg,var(--trace),var(--trace-deep));color:#fff}
.timeline-trace svg{width:28px;height:28px;fill:currentColor}
.timeline-num{position:absolute;top:-8px;left:-8px;display:grid;place-items:center;width:21px;height:21px;border-radius:50%;border:2px solid var(--night);background:var(--c);color:var(--night);font-size:.7rem;font-weight:800;line-height:1}
.timeline li p{max-width:none;font-size:.95rem;line-height:1.38;color:var(--mist);transition:color .3s ease}
/* the step the map is showing right now lights up */
.timeline[data-active="scam"] li[data-step="scam"] .timeline-icon,.timeline[data-active="caught"] li[data-step="caught"] .timeline-icon,.timeline[data-active="shared"] li[data-step="shared"] .timeline-icon,.timeline[data-active="traced"] li[data-step="traced"] .timeline-icon,.timeline li.is-lit .timeline-icon{opacity:1;transform:scale(1.06);box-shadow:0 0 0 4px color-mix(in srgb,var(--c) 22%,transparent),0 0 22px color-mix(in srgb,var(--c) 45%,transparent)}
.timeline[data-active="scam"] li[data-step="scam"] p,.timeline[data-active="caught"] li[data-step="caught"] p,.timeline[data-active="shared"] li[data-step="shared"] p,.timeline[data-active="traced"] li[data-step="traced"] p,.timeline li.is-lit p{color:var(--paper)}
/* the vision stage sits flush with the top of the window, its headline close to the top of the card */
@media (min-width:761px) and (min-height:561px){
  #vision{height:calc(100svh - var(--peek));scroll-snap-align:start}
  #vision .card{border-top-left-radius:0;border-top-right-radius:0}
}
.card-vision.card{padding-top:clamp(1.1rem,3svh,1.9rem)}

/* Stage 2: System 1 & System 2. Two zones with a line between them: a scam keeps you in emotional thinking (System 1);
   at the line ScamCatch intervenes, and the voice brings in logical thinking (System 2). The steps use the vision's timeline. */
#why{--alert:#ff2e4c;--alert-deep:#ff7a1f}
.card-why{display:flex;flex-direction:column;justify-content:flex-start;gap:clamp(1.5rem,4svh,2.5rem);background:radial-gradient(45% 60% at 22% 70%,rgba(255,46,76,.08),transparent 70%),radial-gradient(45% 60% at 80% 70%,rgba(61,109,240,.2),transparent 70%),var(--night)}
.card-why.card{padding-top:clamp(1.5rem,5svh,4rem);padding-bottom:clamp(1.5rem,5svh,4rem)}
/* from the top: the title in the top-left corner, the emblem on its row, the line right under the title, the zones, then the paragraph in white across most of the width.
   The row has the vision's headline-row columns, gap and reach into the index room, and the emblem fills the box the vision's timeline fills
   (column 2, up to 52rem) and centers in it, so it sits where the timeline sits on the next page */
.why-top{--title-size:clamp(2rem,1.1rem + 2.4vw,3.6rem);container-type:inline-size;display:grid;grid-template-areas:"title title" "line line";align-items:center;column-gap:var(--head-gap);row-gap:clamp(.6rem,1.6svh,1rem)}
.why-title{grid-area:title;font-size:var(--title-size)}
.why-line{grid-area:line}
/* the emblem: a fast red line into the lighthouse, a slow blue wave out of it, each part with a small label under it */
.why-emblem{grid-area:1/2;justify-self:start;display:flex;align-items:center;justify-content:center;gap:.8rem;width:min(100%,52rem);height:56px;
  /* room for each half: from 2rem past the end of the title (about 12.7 times its font size) to the timeline's center */
  --room:calc((100cqw - var(--head-gap)) / 2.25 + var(--head-gap) + min((100cqw - var(--head-gap)) * 5 / 9, 52rem) / 2 - 12.7 * var(--title-size) - 2rem)}
.emblem-part{position:relative;display:grid;place-items:center;height:100%;transition:opacity .4s ease}
/* on narrower screens the lines shorten, never the center, so the emblem stays clear of the title */
.emblem-fast,.emblem-slow{flex:0 1 clamp(3rem,var(--room) - 26px - .8rem,13rem);min-width:0}
.emblem-line{width:100%;height:100%;-webkit-mask-image:linear-gradient(90deg,transparent,#000 22%,#000 78%,transparent);mask-image:linear-gradient(90deg,transparent,#000 22%,#000 78%,transparent)}
.emblem-fast .emblem-line{--tile:80px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 56'%3E%3Cpath d='M0 28h9l3-14 4 28 3-20 3 12 2-6h8l3-22 4 44 3-30 3 16 2-8h8l2-8 3 16 2-8H80' fill='none' stroke='%23ff2e4c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") repeat-x 0 50%/80px 56px;filter:drop-shadow(0 0 4px rgba(255,46,76,.6));animation:tempo-zig .5s linear infinite}
.emblem-slow .emblem-line{--tile:160px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 56'%3E%3Cpath d='M0 28C27 12 53 12 80 28S133 44 160 28' fill='none' stroke='%237ab0ff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 50%/160px 56px;filter:drop-shadow(0 0 5px rgba(122,176,255,.5));animation:tempo-wave 5s linear infinite}
.why-emblem img{display:block;width:52px;height:52px;border-radius:13px;box-shadow:0 12px 26px -12px rgba(0,0,0,.8)}
/* the labels hang under their part without taking room in the row: System 1 and System 2 in their zone colors */
.emblem-part small{position:absolute;top:calc(100% + .35rem);left:50%;transform:translateX(-50%);font-size:.78rem;font-weight:650;line-height:1.25;white-space:nowrap;color:var(--paper)}
/* lighthouse beacon, at the intervention: the lamp's beam (the logo's lamp sits 26.67% down) swings from the left, toward you,
   to the right, the way a turning light looks from the side; the lamp flares as the beam faces you */
.beacon{position:relative;display:grid;place-items:center;isolation:isolate}
.beacon::before{content:"";position:absolute;left:50%;top:-8.33%;width:125%;height:70%;pointer-events:none;transform-origin:0 50%;background:conic-gradient(from 0deg at 0 50%,transparent 74deg,rgba(255,226,150,.9) 90deg,transparent 106deg);-webkit-mask-image:linear-gradient(90deg,#000 20%,transparent);mask-image:linear-gradient(90deg,#000 20%,transparent);mix-blend-mode:screen;opacity:0}
.beacon::after{content:"";position:absolute;left:27%;top:3.67%;width:46%;height:46%;border-radius:50%;pointer-events:none;background:radial-gradient(closest-side,rgba(255,236,190,.95),rgba(255,214,140,0));mix-blend-mode:screen;opacity:.45}
@keyframes beacon-sweep{0%{opacity:0;transform:scaleX(-1)}12%{opacity:1;transform:scaleX(-1);animation-timing-function:ease-in}42%{transform:scaleX(0);animation-timing-function:ease-out}72%{opacity:1;transform:scaleX(1)}100%{opacity:0;transform:scaleX(1)}}
@keyframes beacon-flash{0%,30%,60%,100%{opacity:.45;transform:none}42%{opacity:1;transform:scale(1.6)}}
.card-why .tempo{margin-top:auto}
.card-why .why-lede{margin-bottom:auto}
.why-line{font-family:var(--display);font-size:clamp(1.3rem,.95rem + .75vw,1.9rem);font-weight:420;line-height:1.2;letter-spacing:-.015em;color:var(--paper);font-variation-settings:"opsz" 60;text-wrap:balance}
.why-line span{display:block}
.why-lede{max-width:68rem;font-size:clamp(1.02rem,.9rem + .3vw,1.2rem);line-height:1.55;color:var(--paper);text-wrap:pretty}
/* rows shared across both zones and the line (subgrid): zone heading, step icons, step titles, what's said */
.tempo{--mid:clamp(5.5rem,7vw,7.5rem);display:grid;grid-template-columns:minmax(0,1fr) var(--mid) minmax(0,1fr);grid-template-rows:repeat(4,auto);row-gap:1rem}
.tempo-zone{grid-row:1/-1;display:grid;grid-template-rows:subgrid;row-gap:normal;padding:1.35rem 1.4rem 1.5rem;border-radius:22px}
.tempo-fast{background:rgba(255,46,76,.06);border:1px solid rgba(255,46,76,.3)}
.tempo-slow{background:rgba(61,109,240,.1);border:1px solid rgba(122,176,255,.32)}
.tempo-head{display:grid;gap:.4rem;font-size:.88rem;line-height:1.35;color:var(--mist)}
/* zone titles: "System 1" or "System 2" in the zone color, then the kind of thinking; they break between the two when narrow */
.tempo-head b{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:.3em;font-family:var(--display);font-size:clamp(1.4rem,.45rem + 1.6vw,2.25rem);font-weight:450;line-height:1.08;letter-spacing:-.012em;color:var(--paper)}
.tempo-sys,.tempo-mode{white-space:nowrap}
.tempo-fast .tempo-sys,.emblem-fast small{color:#ff9aa8}
.tempo-slow .tempo-sys,.emblem-slow small{color:var(--catch)}
.timeline.timeline-tempo{grid-row:2/-1;grid-template-rows:subgrid;row-gap:normal;grid-template-columns:repeat(3,minmax(0,1fr));max-width:none;padding:0 0 0 8px}
.timeline-tempo li{grid-row:1/-1;grid-template-rows:subgrid;row-gap:normal;--c:var(--catch)}
.tempo-fast li{--c:var(--alert)}
.timeline-tempo .timeline-mark{align-self:center}
.timeline-tempo .timeline-icon{opacity:1;color:#fff;background:#3d6df0}
.tempo-fast .timeline-icon{background:linear-gradient(135deg,var(--alert),var(--alert-deep))}
.timeline-tempo .timeline-icon svg{width:26px;height:26px;fill:#fff}
.timeline-tempo li[data-step="message"] svg circle{fill:var(--alert)}
.timeline-tempo svg.tempo-stroke{fill:none;stroke:#fff;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
/* step 4 is the voice itself: the app's light blue orb with white bars */
.timeline-tempo .tempo-voice{grid-auto-flow:column;justify-content:center;align-content:center;gap:3px;border-radius:50%;background:radial-gradient(circle at 34% 28%,#e3edff 0%,#9cc3ff 24%,#5a8cff 55%,#2342b8 100%);box-shadow:0 0 18px rgba(122,176,255,.55)}
.tempo-voice i{width:3px;height:9px;border-radius:2px;background:#fff}
.tempo-voice i:nth-child(2),.tempo-voice i:nth-child(4){height:15px}
.tempo-voice i:nth-child(3){height:21px}
/* fast red jagged line between the fast steps, slow blue wave between the slow ones */
.tempo-fast .timeline-tempo li:not(:last-child) .timeline-mark::after{height:22px;border-radius:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 22'%3E%3Cpath d='M0 11h7l3-8 4 16 3-11 2.5 6 2-3H36' fill='none' stroke='%23ff2e4c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") repeat-x 0 50%/36px 22px;filter:drop-shadow(0 0 4px rgba(255,46,76,.6));animation:tempo-zig .4s linear infinite}
.tempo-slow .timeline-tempo li:not(:last-child) .timeline-mark::after{height:22px;border-radius:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 22'%3E%3Cpath d='M0 11C12 3 24 3 36 11S60 19 72 11' fill='none' stroke='%237ab0ff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 50%/72px 22px;filter:drop-shadow(0 0 4px rgba(122,176,255,.5));animation:tempo-wave 2.8s linear infinite}
@keyframes tempo-zig{to{background-position:var(--tile,36px) 50%}}
@keyframes tempo-wave{to{background-position:var(--tile,72px) 50%}}
@keyframes tempo-zig-y{to{background-position:50% 36px}}
@keyframes tempo-wave-y{to{background-position:50% 72px}}
.timeline-tempo li p{font-size:.95rem;line-height:1.35;color:var(--paper)}
.tempo-bubble{justify-self:start;align-self:start;padding:.45rem .7rem;border-radius:.9rem .9rem .9rem .3rem;background:#eef0f3;color:#0b0e14;font-family:var(--phone-ui);font-size:.8rem;line-height:1.3;text-wrap:pretty;box-shadow:0 0 0 2px var(--alert),0 0 16px rgba(255,46,76,.35)}
.tempo-tags{display:flex;flex-wrap:wrap;align-self:start;gap:.3rem}
.tempo-tags span{padding:.22rem .55rem;border-radius:999px;font-size:.72rem;font-weight:650;line-height:1.2;color:#ff9aa8;background:rgba(255,46,76,.12);border:1px solid rgba(255,46,76,.45)}
.timeline-tempo q{align-self:start;font-family:var(--display);font-size:clamp(1rem,.85rem + .35vw,1.18rem);line-height:1.3;color:var(--catch);font-variation-settings:"opsz" 24;text-wrap:pretty}
/* the line: a dashed rule, ScamCatch's logo on it level with the step icons */
.tempo-divide{grid-row:1/-1;display:grid;grid-template-rows:subgrid;row-gap:normal;justify-items:center;background:repeating-linear-gradient(to bottom,rgba(238,240,247,.38) 0 7px,transparent 7px 13px) 50% 0/2px 100% no-repeat}
.tempo-divide .beacon{grid-row:2;align-self:center;border-radius:14px;box-shadow:0 0 0 7px var(--night)}
.tempo-divide img{display:block;width:56px;height:56px;border-radius:14px;box-shadow:0 10px 24px -10px rgba(0,0,0,.8)}
.tempo-divide p{position:relative;grid-row:3;align-self:start;padding:.25rem .45rem;border-radius:8px;background:var(--night);font-size:.78rem;font-weight:650;line-height:1.25;text-align:center;color:var(--paper)}
/* the story plays in order, one step at a time, left to right (app.js, WHY_SEQUENCE): while it plays, the steps sit dim
   until their turn and the step it is on lights up, as on the vision's timeline. Only that step moves: the line out of it runs,
   the voice's bars talk at step 4, and the lighthouses fire their beam at the intervention. The emblem follows the same story. */
:where(.card-why[data-active]) .timeline-tempo .timeline-icon{opacity:.6}
:where(.card-why[data-active]) .timeline-tempo li p{color:var(--mist)}
.timeline-tempo :is(.tempo-bubble,.tempo-tags,q){transition:opacity .3s ease}
:where(.card-why[data-active]) .timeline-tempo :is(.tempo-bubble,.tempo-tags,q){opacity:.55}
.timeline-tempo li.is-lit :is(.tempo-bubble,.tempo-tags,q){opacity:1}
#why .timeline-tempo .timeline-mark::after,#why .timeline-tempo li::after,#why .emblem-line{animation-play-state:paused}
:where(.card-why[data-active]) :is(.timeline-tempo .timeline-mark,.timeline-tempo li)::after{opacity:.3;transition:opacity .3s ease}
#why .timeline-tempo li.is-lit .timeline-mark::after,#why .timeline-tempo li.is-lit::after{opacity:1;animation-play-state:running}
.timeline-tempo li.is-lit .tempo-voice i{animation:talk 1.1s ease-in-out infinite}
.timeline-tempo li.is-lit .tempo-voice i:nth-child(even){animation-duration:.85s}
.tempo-divide .beacon{transition:opacity .3s ease}
.tempo-divide p{transition:color .3s ease}
:where(.card-why[data-active]) .tempo-divide .beacon,:where(.card-why[data-active]) .emblem-catch{opacity:.6}
:where(.card-why[data-active]) .tempo-divide p{color:var(--mist)}
:where(.card-why[data-active]) :is(.emblem-fast,.emblem-slow){opacity:.4}
.card-why[data-active="catch"] :is(.tempo-divide .beacon,.emblem-catch){opacity:1}
.card-why[data-active="catch"] .tempo-divide p{color:var(--paper)}
.card-why[data-active="catch"] .beacon::before{animation:beacon-sweep 2.6s both}
.card-why[data-active="catch"] .beacon::after{animation:beacon-flash 2.6s ease-in-out both}
.card-why:is([data-active="message"],[data-active="emotions"],[data-active="ask"]) .emblem-fast,.card-why:is([data-active="calm"],[data-active="think"],[data-active="check"]) .emblem-slow{opacity:1}
#why .card-why:is([data-active="message"],[data-active="emotions"],[data-active="ask"]) .emblem-fast .emblem-line,#why .card-why:is([data-active="calm"],[data-active="think"],[data-active="check"]) .emblem-slow .emblem-line{animation-play-state:running}

/* "Click to hear explanation" on System 1 & System 2 and the vision: the live voice explains the page, then takes questions */
.explain{display:flex;align-items:center;gap:.6rem;justify-self:start;width:max-content;max-width:100%;padding:.35rem;border:1px solid rgba(122,176,255,.38);border-radius:2rem;background:rgba(61,109,240,.16);transition:background .2s,border-color .2s}
.explain:hover{border-color:rgba(122,176,255,.7);background:rgba(61,109,240,.26)}
.explain-start{display:flex;align-items:center;gap:.75rem;padding:0 .9rem 0 0;border:0;border-radius:2rem;background:none;color:var(--paper);font:inherit;text-align:left;cursor:pointer}
.explain-orb{position:relative;flex:none;display:grid;place-items:center;width:2.6rem;height:2.6rem;border-radius:50%;background:radial-gradient(circle at 34% 28%,#e3edff 0%,#9cc3ff 24%,#5a8cff 55%,#2342b8 100%);box-shadow:0 0 18px rgba(122,176,255,.55)}
.explain-orb::before{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid rgba(122,176,255,.7);animation:ripple 2.2s ease-out infinite}
.explain-bars{display:flex;align-items:center;gap:3px;height:45%}
.explain-bars i{width:3px;height:40%;border-radius:2px;background:#fff}
.explain-bars i:nth-child(2),.explain-bars i:nth-child(4){height:70%}
.explain-bars i:nth-child(3){height:100%}
.explain-mic{display:none;width:45%;height:45%;fill:#fff}
.explain-label{font-size:.98rem;font-weight:600;white-space:nowrap}
.explain-call,.explain-end{display:none}
.explain .explain-call p{max-width:none;margin:0;color:var(--paper);font-size:.9rem;line-height:1.3}
.explain .explain-call .explain-status{font-size:.74rem;color:var(--mist)}
.explain .explain-call .explain-caption{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.explain .explain-call .explain-turn{display:none;font-weight:700;color:var(--catch)}
.explain-end{flex:none;place-items:center;width:2.6rem;height:2.6rem;border:0;border-radius:50%;background:#ff4d4f;color:#fff;cursor:pointer}
.explain-end svg{width:1.3rem}
.explain.is-calling{width:min(100%,25rem)}
.explain.is-calling .explain-start{flex:none;padding:0;cursor:default}
.explain.is-calling .explain-label{display:none}
.explain.is-calling .explain-call{display:block;flex:1;min-width:0}
.explain.is-calling .explain-end{display:grid}
.explain.is-calling .explain-orb::before{animation-duration:3.2s;border-color:rgba(122,176,255,.4)}
.explain.is-calling .explain-bars i{animation:talk 1s ease-in-out infinite}
.explain.is-calling .explain-bars i:nth-child(even){animation-duration:.8s}
.explain.is-calling[data-turn="you"] .explain-bars{display:none}
.explain.is-calling[data-turn="you"] .explain-mic{display:block}
.explain.is-calling[data-turn="you"] .explain-orb{transform:scale(calc(1 + var(--mic, 0) * .18));transition:transform .1s linear}
.explain.is-calling[data-turn="you"] .explain-caption{display:none}
.explain.is-calling[data-turn="you"] .explain-turn{display:block}
.why-sub{grid-area:line;display:flex;flex-wrap:wrap;align-items:center;column-gap:clamp(1.5rem,3vw,2.5rem);row-gap:.9rem}
.vision-explain{margin-top:clamp(.9rem,2.2svh,1.4rem)}
.voice-offer{display:flex;flex-direction:column;align-items:flex-start;gap:.55rem}
.voice-offer .voice-notice{max-width:22rem;margin-top:0}
.vision-head .voice-notice{max-width:22rem;margin-top:.6rem;font-size:.75rem}
/* the notice hangs under the pill: lift the timeline by its two lines so it stays level with the pill, clear of the section index */
.vision-head .timeline{margin-bottom:calc(.6rem + 2 * 1.45 * .75rem)}

/* Stage 4: the voice */
.card-voice{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:3rem;align-items:center;background:radial-gradient(60% 80% at 100% 50%,rgba(61,109,240,.28),transparent 70%),var(--night)}
.voice-copy h2{max-width:15ch}
.lede{margin-top:1.3rem;max-width:34rem;color:var(--mist);font-size:1.06rem}
.traits{margin-top:clamp(1.5rem,4svh,2.6rem);display:grid;gap:0;max-width:40rem}
.traits li{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:1.5rem;padding:1.05rem 0;border-top:1px solid var(--line)}
.traits q{font-family:var(--display);font-size:1.22rem;line-height:1.35;color:var(--catch);font-variation-settings:"opsz" 24}
.big-orb{position:relative;justify-self:center;width:min(100%,24rem);aspect-ratio:1}
.big-orb span{position:absolute;inset:0;border-radius:50%;border:1px solid rgba(122,176,255,.22)}
.big-orb span:nth-child(2){inset:14%;border-color:rgba(122,176,255,.32)}
.big-orb span:nth-child(3){inset:30%;border:0;background:radial-gradient(circle at 34% 28%,#e3edff 0%,#9cc3ff 22%,#5a8cff 52%,#2342b8 100%);box-shadow:0 0 90px rgba(122,176,255,.55)}

/* Stage 5: about us */
.card-about{display:flex;flex-direction:column;justify-content:space-between;background:radial-gradient(55% 60% at 18% 45%,rgba(244,194,122,.1),transparent 70%),var(--night)}
.about-faq{padding-block:1.1rem;display:flex;justify-content:center;flex-wrap:wrap;gap:.75rem}
.faq-button{display:inline-flex;align-items:center;justify-content:center;gap:1rem;min-height:48px;padding:.65rem 1.5rem;border:1px solid var(--lamp);border-radius:999px;background:linear-gradient(160deg,rgba(244,194,122,.09),transparent),var(--night);color:var(--lamp);font-weight:650;text-decoration:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 5px 18px rgba(244,194,122,.09)}
.faq-button:hover{background:var(--dusk)}
#about{height:auto;min-height:var(--card-h)}
#about .card{min-height:var(--card-h)}
.about{margin:auto 0;display:grid;grid-template-columns:minmax(0,clamp(13rem,40svh,22rem)) minmax(0,38rem);gap:clamp(2rem,5vw,5rem);align-items:center}
.about-photo{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:24px;box-shadow:0 30px 60px -30px rgba(0,0,0,.8)}
.about-copy h2{font-size:clamp(2.2rem,1rem + 5svh,4rem);line-height:1}
.about-goal{margin-top:clamp(1.2rem,2.6svh,1.8rem);font-family:var(--display);font-size:clamp(1.6rem,.9rem + 3svh,2.6rem);line-height:1.15;color:var(--paper)}
.about-goal strong{font-weight:600;color:var(--lamp)}
.about-belief{margin-top:.8rem;max-width:34rem;font-family:var(--display);font-size:clamp(1.2rem,.8rem + 1.8svh,1.65rem);line-height:1.3;color:var(--paper)}
.about-intro{margin-top:clamp(1.2rem,2.6svh,1.8rem);max-width:34rem;font-size:.88rem;color:var(--paper)}
.site-footer{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;padding-top:1.4rem;border-top:1px solid var(--line);color:var(--mist);font-size:.88rem}
.site-footer .brand{color:var(--paper);font-size:1.25rem}
.site-footer .brand-logo{width:36px;height:36px;border-radius:8px}

/* ---------- Medium screens ---------- */
@media (max-width:1180px){
  :root{--index-room:3.5rem}
  .index .label{position:absolute;right:1.6rem;opacity:0;white-space:nowrap;pointer-events:none;transition:opacity .2s}
  .index a{position:relative}
  .index a:hover .label,.index a:focus-visible .label{opacity:1}
  .start-cue{display:none}
}
/* short desktop windows: keep the headline clear of the logo now that the scam picker sits under it */
@media (min-width:761px) and (max-height:820px){
  .demo-copy{padding-top:4.5rem}
  .card-why{gap:1rem}
  .why-lede{font-size:.95rem}
  .tempo{row-gap:.6rem}
  .tempo-zone{padding:.95rem 1.05rem 1.05rem}
  .tempo-head{gap:.1rem;font-size:.8rem}
  .why-top{--title-size:clamp(1.8rem,1rem + 1.8vw,2.6rem)}
  .why-line{font-size:clamp(1.15rem,.85rem + .6vw,1.5rem)}
  .tempo-head b{font-size:clamp(1.25rem,.35rem + 1.45vw,1.85rem)}
  .tempo-tags span{font-size:.68rem}
  .timeline-tempo li p{font-size:.86rem}
  .tempo-bubble{padding:.35rem .6rem;font-size:.74rem}
  .timeline-tempo q{font-size:.95rem}
  .tempo-divide img{width:48px;height:48px}
}
@media (max-width:1000px){
  .traits li{grid-template-columns:1fr;gap:.35rem}
}
/* the "Click here" cue reaches left from the phone; keep Replay, at the end of the progress row, clear of it */
@media (min-width:1181px){
  .progress-row{max-width:min(32rem,calc(72vw - 28svh - 286px))}
}
/* narrow two-column screens: the demo headline wraps freely */
@media (min-width:761px) and (max-width:1023px){
  .hero-keep{white-space:normal}
}
/* narrow two-column screens: the System 1 & System 2 zones stack, each keeping its three steps in a row; the emblem moves beside the two lines */
@media (min-width:761px) and (max-width:999px){
  #why{height:auto;min-height:var(--card-h)}
  .why-top{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"title title" "line emblem";margin-right:0}
  .why-emblem{grid-area:emblem;justify-content:flex-end;margin-bottom:1.2rem}
  .why-sub{flex-direction:column;align-items:flex-start}
  .emblem-fast,.emblem-slow{flex:0 1 13rem}
  .tempo{grid-template-columns:1fr;grid-template-rows:none;row-gap:0}
  .tempo-zone{grid-row:auto;grid-template-rows:none;row-gap:.85rem}
  .timeline.timeline-tempo{grid-row:auto;grid-template-rows:none}
  .timeline-tempo li{grid-row:auto;grid-template-rows:none;row-gap:.65rem}
  .tempo-divide{grid-row:auto;grid-template-rows:none;grid-auto-flow:column;justify-content:center;align-items:center;gap:.8rem;padding:1rem 0;background:repeating-linear-gradient(to right,rgba(238,240,247,.38) 0 7px,transparent 7px 13px) 0 50%/100% 2px no-repeat}
  .tempo-divide .beacon,.tempo-divide p{grid-row:auto;align-self:center}
}

/* ---------- Phones ---------- */
@media (max-width:760px), (max-height:560px){
  html{scroll-snap-type:y proximity}
  :root{--peek:0px;--gap:10px;--index-room:0px;--pad:1.4rem}
  .reel{padding:0 0 10px}
  #demo{height:auto;min-height:100svh;margin:0 0 var(--gap)}
  .stage{height:auto;min-height:calc(100svh - 20px);margin:0 10px var(--gap);scroll-snap-align:start;scroll-snap-stop:normal}
  .card{min-height:calc(100svh - 20px);border-radius:22px}
  .index{display:none}

  .card-demo{--ph:clamp(380px,62svh,620px);display:flex;flex-direction:column;align-items:stretch;min-height:100svh;padding:4.4rem 0 1.4rem;border-radius:0 0 22px 22px}
  .brand-bar{top:1.3rem;left:1.4rem}
  .brand{font-size:1.3rem}
  .brand-top{gap:.6rem}
  .brand-logo{width:34px;height:34px;border-radius:8px}
  .brand-words{gap:.22rem}
  .brand-tag{font-size:.58rem}
  .demo-copy{padding:0 1.4rem;max-width:none}
  .hero-title{font-size:clamp(1.75rem,7.4vw,2.3rem)}
  .story{margin-top:.6rem}
  .story-line{font-size:.95rem}
  .progress-row{margin-top:1rem}
  .tracker{margin-top:1rem;gap:.5rem;font-size:.72rem}
  .tracker .bar{margin-bottom:.4rem}
  .replay{display:none}
  .scams{margin-top:1.2rem}
  .scams-label{margin-bottom:.65rem;font-size:.64rem}
  .scam-list{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:.75rem}
  .scam{font-size:.68rem}
  .scam-icon{width:2.5rem;height:2.5rem}
  .stagefloor{height:auto;flex:1;padding-top:1.2rem}

  .card-vision{justify-content:flex-start}
  .vision-map{flex:none;display:grid;gap:.9rem;min-height:0;margin:0 -.4rem}
  .vision-frame{position:relative;inset:auto;aspect-ratio:1.45}
  .us-map{top:4%;bottom:8%;left:3%;width:94%;height:88%}
  .spot{position:relative;width:auto;min-height:27rem;align-content:start;margin:0 .4rem}
  .stage-head{grid-template-columns:1fr;gap:1rem}
  .timeline{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:1.1rem}
  .vision-head .timeline{margin-bottom:0}
  .timeline li:nth-child(2) .timeline-mark::after{display:none}
  .card-why{justify-content:flex-start;gap:1.6rem}
  .why-top{grid-template-columns:1fr;grid-template-areas:"title" "line" "emblem"}
  .why-emblem{grid-area:emblem;justify-self:stretch;height:48px;margin:.3rem 0 1.2rem}
  .why-emblem img{width:44px;height:44px}
  .emblem-fast,.emblem-slow{flex:0 1 13rem}
  .tempo{grid-template-columns:1fr;grid-template-rows:none;row-gap:0}
  .tempo-zone{grid-row:auto;grid-template-rows:none;row-gap:1rem;padding:1rem 1rem 1.1rem}
  .tempo-head b{font-size:1.5rem}
  .tempo-divide{grid-row:auto;grid-template-rows:none;grid-auto-flow:column;justify-content:center;align-items:center;gap:.7rem;padding:.9rem 0;background:repeating-linear-gradient(to right,rgba(238,240,247,.38) 0 7px,transparent 7px 13px) 0 50%/100% 2px no-repeat}
  .tempo-divide .beacon,.tempo-divide p{grid-row:auto;align-self:center}
  .tempo-divide .beacon{box-shadow:0 0 0 6px var(--night)}
  .tempo-divide img{width:44px;height:44px;box-shadow:none}
  .timeline.timeline-tempo{grid-row:auto;grid-template-rows:none;grid-template-columns:1fr;row-gap:1.3rem;padding:0 0 0 8px}
  .timeline-tempo li{position:relative;grid-row:auto;grid-template-rows:none;grid-template-columns:46px minmax(0,1fr);align-content:start;column-gap:.9rem;row-gap:.35rem;min-height:5.6rem}
  .timeline-tempo .timeline-mark{grid-row:1/3;align-self:start}
  .timeline-tempo li > :not(.timeline-mark){grid-column:2}
  .timeline-tempo li .timeline-mark::after{display:none}
  .timeline-tempo li:not(:last-child)::after{content:"";position:absolute;left:12px;top:52px;bottom:calc(-1.3rem + 6px);width:22px}
  .tempo-fast .timeline-tempo li:not(:last-child)::after{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 36'%3E%3Cpath d='M11 0v7l-8 3 16 4-11 3 6 2.5-3 2V36' fill='none' stroke='%23ff2e4c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") repeat-y 50% 0/22px 36px;filter:drop-shadow(0 0 4px rgba(255,46,76,.6));animation:tempo-zig-y .4s linear infinite}
  .tempo-slow .timeline-tempo li:not(:last-child)::after{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 72'%3E%3Cpath d='M11 0C3 12 3 24 11 36S19 60 11 72' fill='none' stroke='%237ab0ff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-y 50% 0/22px 72px;filter:drop-shadow(0 0 4px rgba(122,176,255,.5));animation:tempo-wave-y 2.8s linear infinite}
  .card-voice{grid-template-columns:1fr;align-content:center;gap:2rem}
  .big-orb{display:none}
  .about{grid-template-columns:1fr;gap:1.5rem;padding-block:2rem}
  .about-photo{width:min(15rem,70%)}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}
