/* Plunder — homepage (next). Dark, one accent, real product motion. */
@font-face{font-family:"Unbounded";src:url(./assets/fonts/Unbounded-SemiBold.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Unbounded";src:url(./assets/fonts/Unbounded-Bold.woff2) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"Geist";src:url(./assets/fonts/Geist.woff2) format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"Geist Mono";src:url(./assets/fonts/GeistMono.woff2) format("woff2");font-weight:100 900;font-display:swap}

:root{
  color-scheme:dark;
  --bg:#0A080D; --bg2:#0E0B12; --s1:#131016; --s2:#1A171F; --s3:#221E28;
  --line:rgba(255,255,255,.07); --line2:rgba(255,255,255,.12);
  --text:#F4EFF5; --text2:#ABA4B0; --text3:#7D7684;
  --pink:#FF3DBF; --pink-hi:#FF7AD6; --pink-soft:rgba(255,61,191,.14); --pink-line:rgba(255,61,191,.38);
  --sky:#7CDBFF; --gold:#FFD28A; --lilac:#B9A1FF; --mint:#8CE0B5;
  --display:"Unbounded","Geist",system-ui,sans-serif;
  --sans:"Geist",system-ui,"Segoe UI",sans-serif;
  --mono:"Geist Mono",ui-monospace,Consolas,monospace;
  --r:20px; --ease:cubic-bezier(.2,.8,.2,1);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:80px}
body{margin:0;background:var(--bg);color:var(--text);font:400 16px/1.55 var(--sans);-webkit-font-smoothing:antialiased;overflow-x:clip}
img,svg{display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,p,figure,ol,ul{margin:0}
ol,ul{padding:0;list-style:none}
.mono{font-family:var(--mono)}
.wrap{width:min(1200px,100% - 48px);margin-inline:auto}
.skip{position:absolute;left:-999px;top:12px;z-index:100;background:var(--pink);color:#1F0614;padding:8px 14px;border-radius:10px;font-weight:600}
.skip:focus{left:12px}
:focus-visible{outline:2px solid var(--pink);outline-offset:3px;border-radius:6px}

/* ── Buttons ─────────────────────────────────────────── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:44px;padding:0 18px;border-radius:12px;font:600 15px/1 var(--sans);transition:transform .2s var(--ease),background .2s,box-shadow .2s,border-color .2s}
.btn-sm{height:36px;padding:0 14px;font-size:14px;border-radius:10px}
.btn-lg{height:54px;padding:0 24px;font-size:16px;border-radius:14px}
.btn-primary{background:var(--pink);color:#1F0614;box-shadow:0 10px 30px -10px rgba(255,61,191,.7),inset 0 1px 0 rgba(255,255,255,.35)}
.btn-primary:hover{background:#FF57C8;transform:translateY(-1px);box-shadow:0 16px 40px -12px rgba(255,61,191,.85),inset 0 1px 0 rgba(255,255,255,.35)}
.btn-ghost{background:rgba(255,255,255,.04);color:var(--text);box-shadow:inset 0 0 0 1px var(--line2)}
.btn-ghost:hover{background:rgba(255,255,255,.08)}
.btn .ms{width:18px;height:18px;fill:currentColor}

/* ── Nav ─────────────────────────────────────────────── */
.nav{position:sticky;top:0;z-index:50;transition:background .3s,box-shadow .3s,backdrop-filter .3s}
.nav.scrolled{background:rgba(10,8,13,.72);backdrop-filter:blur(14px) saturate(1.4);-webkit-backdrop-filter:blur(14px) saturate(1.4);box-shadow:0 1px 0 var(--line)}
.nav-row{height:68px;display:flex;align-items:center;gap:32px}
.nav-brand img{height:20px;width:auto}
.nav-links{display:flex;gap:28px;margin-left:auto;font-size:14px;color:var(--text2)}
.nav-links a:hover{color:var(--text)}
@media (max-width:820px){.nav-links{display:none}.nav-row .btn{margin-left:auto}}

/* ── Sky (dot grid + glow) ───────────────────────────── */
.hero-sky,.final-sky{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.dots{position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.16) 1px,transparent 1.5px);background-size:26px 26px;
  -webkit-mask-image:radial-gradient(70% 60% at 50% 28%,#000,rgba(0,0,0,.25) 60%,transparent);mask-image:radial-gradient(70% 60% at 50% 28%,#000,rgba(0,0,0,.25) 60%,transparent)}
.glow{position:absolute;border-radius:50%;filter:blur(20px)}
.g1{width:1100px;height:700px;left:50%;top:420px;transform:translateX(-50%);background:radial-gradient(closest-side,rgba(255,61,191,.26),rgba(255,61,191,.08) 55%,transparent);animation:breathe 9s ease-in-out infinite}
.g2{width:700px;height:500px;left:62%;top:120px;background:radial-gradient(closest-side,rgba(124,90,255,.16),transparent);animation:breathe 12s ease-in-out infinite reverse}
@keyframes breathe{50%{opacity:.7;transform:translateX(-50%) scale(1.06)}}
.g2{animation-name:breathe2}@keyframes breathe2{50%{opacity:.6;transform:scale(1.1)}}

/* ── Hero ────────────────────────────────────────────── */
.hero{position:relative;isolation:isolate;padding:56px 0 24px;margin-top:-68px;padding-top:124px}
.hero-copy{display:flex;flex-direction:column;align-items:center;text-align:center}
.pill{display:inline-flex;align-items:center;gap:10px;height:34px;padding:0 14px 0 12px;border-radius:999px;background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 1px var(--line2);font-size:13.5px;color:var(--text2);transition:background .2s}
.pill:hover{background:rgba(255,255,255,.08);color:var(--text)}
.pill span:nth-child(2){color:var(--pink-hi);font-weight:600}
.pill-dot{width:7px;height:7px;border-radius:50%;background:var(--pink);box-shadow:0 0 0 0 rgba(255,61,191,.6);animation:ping 2s infinite}
@keyframes ping{70%{box-shadow:0 0 0 8px rgba(255,61,191,0)}100%{box-shadow:0 0 0 0 rgba(255,61,191,0)}}
.pill-sep{width:1px;height:14px;background:var(--line2)}
.pill svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6}
h1{margin-top:28px;font:600 clamp(44px,7.4vw,104px)/.98 var(--display);letter-spacing:-.035em}
.h1-line{display:block}
.h1-accent{background:linear-gradient(100deg,#FF3DBF 10%,#FF8AD8 55%,#FFC6EC 90%);-webkit-background-clip:text;background-clip:text;color:transparent}
.lede{margin-top:26px;max-width:600px;font-size:clamp(16px,1.6vw,19px);line-height:1.55;color:var(--text2)}
.ctas{margin-top:34px;display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.fine{margin-top:16px;font-size:13px;color:var(--text3)}

/* ── Stage (built at 1160×560, scaled by home.js) ────── */
.stage-frame{position:relative;width:min(1160px,100% - 32px);margin:64px auto 0;height:calc(560px * var(--s,1))}
.stage{position:absolute;left:0;top:0;width:1160px;height:560px;transform:scale(var(--s,1));transform-origin:0 0;font-size:12px;color:var(--text)}
.stage svg{fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}

.studio{position:absolute;left:150px;top:24px;width:790px;border-radius:14px;background:#0C0A0E;box-shadow:0 0 0 1px rgba(255,255,255,.1),0 50px 120px -30px rgba(0,0,0,.95),0 0 120px -30px rgba(255,61,191,.35);overflow:hidden}
.st-titlebar{height:32px;display:flex;align-items:center;gap:8px;padding:0 12px;background:#121016;border-bottom:1px solid var(--line);font-size:11px}
.st-titlebar img{height:12px;width:auto}
.st-sep{width:1px;height:12px;background:var(--line2);margin:0 4px}
.st-grow{flex:1}
.st-conn{display:flex;align-items:center;gap:6px;color:var(--text2)}
.st-conn i{width:6px;height:6px;border-radius:50%;background:var(--mint)}
.st-win{display:flex;gap:12px;margin-left:14px}.st-win i{width:9px;height:1.5px;background:var(--text3)}
.st-body{display:flex;gap:10px;padding:10px}
.st-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px;padding:8px;border-radius:10px;background:#131116;box-shadow:inset 0 0 0 1px var(--line)}
.st-bar{display:flex;align-items:center;gap:8px;height:26px}
.chip{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 9px;border-radius:7px;background:#1B181F;box-shadow:inset 0 0 0 1px var(--line);color:var(--text)}
.chip svg{width:12px;height:12px}
.chip-eye{min-width:46px}
.live-badge{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:999px;background:var(--pink);color:#1F0614;font-weight:700;letter-spacing:.02em;opacity:0;transform:scale(.8);transition:opacity .4s var(--ease),transform .4s var(--ease)}
.live-badge i{width:6px;height:6px;border-radius:50%;background:#1F0614;animation:blink 1.2s infinite}
.live-badge .mono{font-weight:500}
@keyframes blink{50%{opacity:.25}}
.st-preview{position:relative;aspect-ratio:16/9;border-radius:6px;overflow:hidden;background:#000}
.st-preview>img{width:100%;height:100%;object-fit:cover}
.st-overlay{position:absolute;inset:0;display:grid;place-items:center;background:rgba(8,6,10,.55);backdrop-filter:blur(2px);transition:opacity .5s var(--ease)}
.golive{display:flex;flex-direction:column;align-items:center;gap:12px;color:var(--text2)}
.golive b{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 18px;border-radius:10px;background:var(--pink);color:#1F0614;font-size:13px;box-shadow:0 10px 30px -8px rgba(255,61,191,.8);transition:transform .15s}
.golive b svg{width:12px;height:12px;fill:#1F0614;stroke:none}
.st-controls{display:flex;align-items:center;gap:6px;height:34px}
.ctl{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 10px;border-radius:8px;background:#1B181F;box-shadow:inset 0 0 0 1px var(--line);color:var(--text2);white-space:nowrap}
.ctl svg{width:13px;height:13px}
.ctl-off{color:#FF8FA8;background:rgba(255,80,120,.08)}
.ctl-end{color:#FF8FA8;background:rgba(255,80,120,.08);box-shadow:inset 0 0 0 1px rgba(255,80,120,.35);opacity:0;transition:opacity .4s}
.ctl-end i{width:7px;height:7px;border-radius:2px;background:currentColor}
.meter{display:inline-flex;gap:2px;align-items:flex-end;height:10px}
.meter i{width:2px;height:3px;border-radius:1px;background:var(--mint);opacity:.35}
.st-chat{width:200px;display:flex;flex-direction:column;border-radius:10px;background:#131116;box-shadow:inset 0 0 0 1px var(--line);padding:10px}
.st-chat-h{display:flex;align-items:center;gap:6px;font-weight:600;padding-bottom:8px;border-bottom:1px solid var(--line)}
.st-chat-h svg{width:13px;height:13px}
.msgs{flex:1;display:flex;flex-direction:column;justify-content:flex-end;gap:10px;padding:10px 0;overflow:hidden}
.msg{display:flex;gap:7px;opacity:0;transform:translateY(8px);transition:opacity .4s var(--ease),transform .4s var(--ease),max-height .45s var(--ease);max-height:0}
.msg p{color:var(--text);font-size:11px;line-height:1.35;margin-top:1px}
.msg b{font-size:11px}.msg em{font-style:normal;font-size:8.5px;padding:1px 4px;border-radius:4px;background:var(--pink-soft);color:var(--pink-hi);margin-left:3px}
.st-input{height:28px;border-radius:7px;box-shadow:inset 0 0 0 1px var(--line2);display:flex;align-items:center;padding:0 9px;color:var(--text3);font-size:11px}

.av{flex:none;display:inline-grid;place-items:center;width:20px;height:20px;border-radius:6px;font:700 10px/1 var(--sans);color:#160A12}
.av-pink{background:var(--pink)}.av-sky{background:var(--sky)}.av-gold{background:var(--gold)}.av-lilac{background:var(--lilac)}
.c-pink{color:var(--pink-hi)}.c-sky{color:var(--sky)}.c-gold{color:var(--gold)}.c-lilac{color:var(--lilac)}

/* Ink drawn by Mira over the preview */
.ink{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.stage .ink path{stroke:var(--sky);stroke-width:9;stroke-dasharray:1;stroke-dashoffset:1;filter:drop-shadow(0 0 6px rgba(124,219,255,.6))}
.ink-cursor{position:absolute;left:0;top:0;opacity:0;display:flex;align-items:center;gap:5px;transition:opacity .3s}
.ink-tip{width:8px;height:8px;border-radius:50%;background:var(--sky);box-shadow:0 0 0 3px rgba(124,219,255,.25)}
.ink-name{padding:2px 6px;border-radius:5px;background:var(--sky);color:#06202B;font-weight:700;font-size:10px}

/* Floating cards */
.float{position:absolute;border-radius:14px;background:rgba(22,19,27,.86);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 0 0 1px rgba(255,255,255,.1),0 30px 70px -20px rgba(0,0,0,.9);opacity:0;transform:translateY(14px) scale(.97);transition:opacity .5s var(--ease),transform .5s var(--ease)}
.link-card{left:0;top:318px;width:282px;padding:14px}
.lc-h{display:flex;align-items:center;gap:7px;font-weight:600;font-size:12.5px}
.lc-h svg{width:14px;height:14px;color:var(--pink-hi)}
.lc-row{margin-top:10px;display:flex;align-items:center;gap:8px;padding:5px 5px 5px 10px;border-radius:9px;background:#0E0C11;box-shadow:inset 0 0 0 1px var(--line2)}
.lc-url{flex:1;color:var(--text2);font-size:11px;white-space:nowrap;overflow:hidden}
.lc-copy{position:relative;display:grid;height:26px;min-width:72px;border-radius:7px;background:var(--pink);color:#1F0614;font-weight:700;font-size:11px;overflow:hidden;transition:background .3s}
.lc-copy>span{grid-area:1/1;display:grid;place-items:center;transition:transform .35s var(--ease),opacity .35s}
.lc-copy-b{transform:translateY(100%);opacity:0}
.lc-f{margin-top:9px;font-size:11px;color:var(--text3)}

.flight-dot{position:absolute;left:0;top:0;width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;background:var(--pink);box-shadow:0 0 0 4px rgba(255,61,191,.25),0 0 22px 4px rgba(255,61,191,.7);offset-path:path("M262 360 C 520 480, 800 470, 975 250");offset-distance:0%;offset-rotate:0deg;opacity:0}

.friends{position:absolute;left:960px;top:20px;width:200px;display:flex;flex-direction:column;gap:14px}
.friend{border-radius:12px;padding:6px;background:rgba(22,19,27,.9);box-shadow:0 0 0 1px rgba(255,255,255,.1),0 24px 50px -18px rgba(0,0,0,.9);opacity:0;transform:translateX(24px) scale(.96);transition:opacity .5s var(--ease),transform .5s var(--ease)}
.fr-shot{aspect-ratio:16/9;border-radius:7px;overflow:hidden;position:relative}
.fr-shot img{width:100%;height:100%;object-fit:cover}
.fr-shot::after{content:"LIVE";position:absolute;left:6px;top:6px;padding:1px 5px;border-radius:4px;background:var(--pink);color:#1F0614;font:700 8px/1.4 var(--sans)}
.fr-meta{display:flex;align-items:center;gap:7px;padding:7px 3px 2px}
.fr-meta b{font-size:11.5px}
.fr-state{margin-left:auto;font-size:10px;color:var(--mint)}

.ink-req{left:40px;top:70px;width:250px;padding:11px 12px;display:flex;align-items:center;gap:9px}
.ink-req div{display:flex;flex-direction:column;flex:1;line-height:1.3}
.ink-req b{font-size:12px}.ink-req div span{font-size:10.5px;color:var(--text3)}
.ir-btn{padding:6px 10px;border-radius:7px;background:var(--pink);color:#1F0614;font-weight:700;font-size:11px;transition:transform .15s,background .2s}

/* Story states (home.js toggles these on .stage) */
.stage.pressed .golive b{transform:scale(.94)}
.stage.live .st-overlay{opacity:0}
.stage.live .live-badge{opacity:1;transform:none}
.stage.live .ctl-end{opacity:1}
.stage.live .meter i{animation:lvl .5s ease-in-out infinite alternate}
.meter i:nth-child(2){animation-delay:.12s!important}.meter i:nth-child(3){animation-delay:.25s!important}.meter i:nth-child(4){animation-delay:.07s!important}
@keyframes lvl{from{height:3px;opacity:.5}to{height:10px;opacity:1}}
.stage.link .link-card{opacity:1;transform:none}
.stage.copied .lc-copy-a{transform:translateY(-100%);opacity:0}
.stage.copied .lc-copy-b{transform:none;opacity:1}
.stage.copied .lc-copy{background:var(--mint)}
.stage.fly .flight-dot{animation:fly 1.3s var(--ease) forwards}
@keyframes fly{0%{offset-distance:0%;opacity:0}10%{opacity:1}90%{opacity:1}100%{offset-distance:100%;opacity:0}}
.stage.v1 .f1,.stage.v2 .f2,.stage.v3 .f3{opacity:1;transform:none}
.stage.c1 .m1,.stage.c2 .m2,.stage.c3 .m3,.stage.c4 .m4{opacity:1;transform:none;max-height:60px}
.stage.req .ink-req{opacity:1;transform:none}
.stage.allow .ir-btn{transform:scale(.92);background:var(--mint)}
.stage.allowed .ink-req{opacity:0;transform:translateY(-8px)}
.stage.ink .ink-cursor{opacity:1}
.stage.done .ink-cursor{opacity:0}
.stage .ink path{transition:opacity .5s}
.stage.clear .ink path{opacity:0}
.stage.ending .ctl-end{transform:scale(.93);background:rgba(255,80,120,.22)}
.ctl-end{transition:opacity .4s,transform .15s,background .2s}

/* Compact stage on phones: studio only, story still plays inside it */
.stage.compact{width:810px}
.stage.compact .studio{left:10px}
.stage.compact .friends,.stage.compact .flight-dot{display:none}
.stage.compact .link-card{left:30px;top:350px}
.stage.compact .ink-req{left:auto;right:30px;top:60px}

/* ── Sections ────────────────────────────────────────── */
.section{padding:clamp(80px,11vw,150px) 0 0}
.sec-head{max-width:760px}
.sec-head.center{margin-inline:auto;text-align:center}
.kicker{font:500 12.5px/1 var(--mono);letter-spacing:.16em;text-transform:uppercase;color:var(--pink-hi)}
h2{margin-top:16px;font:600 clamp(32px,4.4vw,56px)/1.04 var(--display);letter-spacing:-.03em}
h2 .dim{color:var(--text3)}
h3{font:600 18px/1.3 var(--sans);letter-spacing:-.01em}

/* Steps */
.steps{margin-top:56px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.step{position:relative;padding:22px;border-radius:var(--r);background:linear-gradient(180deg,var(--s1),var(--bg2));box-shadow:inset 0 0 0 1px var(--line)}
.step p{margin-top:8px;color:var(--text2);font-size:15px}
.step-n{display:block;margin:22px 0 10px;color:var(--pink-hi);font-size:12px}
.step-vis{height:190px;border-radius:14px;background:#0C0A0E;box-shadow:inset 0 0 0 1px var(--line);display:flex;flex-direction:column;justify-content:center;gap:8px;padding:18px;overflow:hidden;position:relative}
.step-vis svg{fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.pick-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pick-row{display:flex;align-items:center;gap:10px;height:40px;padding:0 12px;border-radius:10px;background:var(--s1);box-shadow:inset 0 0 0 1px var(--line);font-size:14px}
.pick-row svg{width:16px;height:16px;color:var(--text2)}
.pick-row em{margin-left:auto;font-style:normal;font-size:12px;color:var(--text3)}
.pick-row:first-child{background:var(--pink-soft);box-shadow:inset 0 0 0 1px var(--pink-line)}
.pick-row .check{width:16px;height:16px;border-radius:50%;background:var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.8' fill='none' stroke='%231F0614' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100%}
.mini-link{display:flex;align-items:center;gap:10px;height:48px;padding:0 6px 0 14px;border-radius:12px;background:var(--s1);box-shadow:inset 0 0 0 1px var(--line2);font-size:13px;color:var(--text2)}
.mini-link span{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mini-link b{height:36px;display:grid;place-items:center;padding:0 14px;border-radius:9px;background:var(--pink);color:#1F0614;font-size:13px;animation:copyb 4s infinite}
@keyframes copyb{0%,40%{background:var(--pink)}48%,80%{background:var(--mint)}88%,100%{background:var(--pink)}}
.mini-note{display:flex;align-items:center;gap:8px;margin-top:6px;color:var(--text3);font-size:13px}
.mini-note svg{width:14px;height:14px}
.join-card{position:relative;height:100%;border-radius:10px;overflow:hidden;box-shadow:inset 0 0 0 1px var(--line)}
.join-wait,.join-live{position:absolute;inset:0}
.join-wait{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:radial-gradient(60% 60% at 50% 50%,rgba(255,61,191,.12),transparent),#0E0C11;animation:jw 6s infinite}
.join-wait b{font-size:15px}.join-wait span:last-child{font-size:12px;color:var(--text3)}
.join-dot{width:10px;height:10px;border-radius:50%;background:var(--pink);box-shadow:0 0 18px 4px rgba(255,61,191,.6);margin-bottom:6px}
.join-live{animation:jl 6s infinite}.join-live img{width:100%;height:100%;object-fit:cover}
.join-badge{position:absolute;left:10px;top:10px;padding:2px 7px;border-radius:5px;background:var(--pink);color:#1F0614;font:700 10px/1.4 var(--sans)}
@keyframes jw{0%,45%{opacity:1}55%,95%{opacity:0}100%{opacity:1}}
@keyframes jl{0%,45%{opacity:0;transform:scale(1.04)}55%,95%{opacity:1;transform:none}100%{opacity:0}}

/* Bento */
.bento{margin-top:56px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.tile{position:relative;overflow:hidden;border-radius:var(--r);padding:26px;background:linear-gradient(180deg,var(--s1),var(--bg2));box-shadow:inset 0 0 0 1px var(--line);display:flex;flex-direction:column;gap:22px;min-height:290px}
.tile::before{content:"";position:absolute;inset:0;border-radius:inherit;background:radial-gradient(400px circle at var(--mx,50%) var(--my,0%),rgba(255,61,191,.10),transparent 60%);opacity:0;transition:opacity .3s;pointer-events:none}
.tile:hover::before{opacity:1}
.tile-copy p{margin-top:8px;color:var(--text2);font-size:15px;max-width:44ch}
.t-ink{grid-column:span 4;grid-row:span 2;min-height:600px}
.t-link,.t-chat{grid-column:span 2}
.t-check,.t-sound{grid-column:span 3}
.t-perf{grid-column:span 3}.t-private{grid-column:span 3}
.ink-shot{flex:1;margin:0 -26px -26px;position:relative;overflow:hidden}
.ink-shot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 50%;transform:scale(1.55);transform-origin:61% 58%}
.ink-shot::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 70%,var(--bg2)),linear-gradient(0deg,var(--bg2),transparent 30%)}
.wait-card{margin-top:auto;padding:22px;border-radius:14px;background:radial-gradient(70% 90% at 50% 0%,rgba(255,61,191,.13),transparent),#0E0C11;box-shadow:inset 0 0 0 1px var(--line2);text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px}
.wait-card b{font-size:16px}.wait-card span:last-child{font-size:12.5px;color:var(--text3);max-width:30ch}
.wait-dot{width:12px;height:12px;border-radius:50%;background:var(--pink);margin-bottom:8px;animation:waitp 2s ease-in-out infinite;box-shadow:0 0 22px 4px rgba(255,61,191,.6)}
@keyframes waitp{50%{transform:scale(.7);opacity:.6}}
.bubbles{margin-top:auto;display:flex;flex-direction:column;gap:10px}
.bubbles li{display:flex;align-items:flex-end;gap:8px}
.bubbles p{padding:9px 13px;border-radius:14px 14px 14px 4px;background:var(--s3);font-size:14px}
.bubbles .me{justify-content:flex-end}.bubbles .me p{border-radius:14px 14px 4px 14px;background:var(--pink);color:#1F0614;font-weight:500}
.checks{margin-top:auto;display:flex;flex-direction:column;gap:6px}
.checks li{min-width:0;white-space:nowrap;overflow:hidden;display:flex;align-items:center;gap:10px;height:40px;padding:0 12px;border-radius:10px;background:#0E0C11;box-shadow:inset 0 0 0 1px var(--line);font-size:14px}
.checks .mono{margin-left:auto;font-size:12px;color:var(--text3)}
.ok{width:18px;height:18px;border-radius:6px;background:rgba(140,224,181,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.8' fill='none' stroke='%238CE0B5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat}
.bars{margin-left:auto;display:flex;gap:2px;align-items:flex-end;height:14px}
.bars b{width:3px;border-radius:1px;background:var(--mint);animation:lvl2 .6s ease-in-out infinite alternate}
.bars b:nth-child(2){animation-delay:.15s}.bars b:nth-child(3){animation-delay:.3s}.bars b:nth-child(4){animation-delay:.08s}.bars b:nth-child(5){animation-delay:.22s}
@keyframes lvl2{from{height:3px}to{height:14px}}
.seg{display:flex;gap:4px;padding:4px;border-radius:12px;background:#0E0C11;box-shadow:inset 0 0 0 1px var(--line);font-size:13px;color:var(--text2);width:max-content;max-width:100%;flex-wrap:wrap}
.seg span{padding:7px 12px;border-radius:9px}.seg .on{background:var(--pink-soft);color:var(--pink-hi);box-shadow:inset 0 0 0 1px var(--pink-line)}
.eq{margin-top:auto;height:70px;display:flex;align-items:flex-end;gap:5px}
.eq i{flex:1;border-radius:3px 3px 1px 1px;background:linear-gradient(0deg,rgba(255,61,191,.35),var(--pink-hi));animation:eq 1.1s ease-in-out infinite alternate;height:20%}
.eq i:nth-child(3n){animation-duration:.8s}.eq i:nth-child(4n+1){animation-duration:1.4s}.eq i:nth-child(5n+2){animation-delay:-.4s}.eq i:nth-child(odd){animation-delay:-.7s}
@keyframes eq{to{height:95%}}
.stats{margin-top:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.stats div{padding:16px;border-radius:14px;background:#0E0C11;box-shadow:inset 0 0 0 1px var(--line)}
.num{display:block;font:600 clamp(20px,2.2vw,28px)/1.1 var(--display);letter-spacing:-.02em}
.stats span{display:block;margin-top:6px;font-size:12px;color:var(--text3)}
.rotate{margin-top:auto;display:flex;flex-direction:column;gap:8px}
.rotate svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.rot-row{display:flex;align-items:center;gap:10px;height:42px;padding:0 12px;border-radius:10px;background:#0E0C11;box-shadow:inset 0 0 0 1px var(--line);font-size:13px;color:var(--text2)}
.rot-row span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rot-row em{font-style:normal;font-size:11.5px;padding:3px 8px;border-radius:6px}
.rot-old{animation:rold 6s infinite}.rot-old span{text-decoration:line-through;text-decoration-color:rgba(255,255,255,.35)}.rot-old em{background:rgba(255,80,120,.1);color:#FF8FA8}
.rot-new{color:var(--text);box-shadow:inset 0 0 0 1px var(--pink-line);background:linear-gradient(90deg,var(--pink-soft),#0E0C11 70%);animation:rnew 6s infinite}.rot-new em{background:rgba(140,224,181,.12);color:var(--mint)}
.rot-btn{align-self:center;display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 14px;border-radius:9px;font-size:13px;color:var(--text);background:var(--s3);box-shadow:inset 0 0 0 1px var(--line2);animation:rbtn 6s infinite}
.rot-btn svg{animation:spin 6s infinite}
@keyframes rold{0%,30%{opacity:1}45%,100%{opacity:.45}}
@keyframes rnew{0%,40%{opacity:0;transform:translateY(-6px)}52%,92%{opacity:1;transform:none}100%{opacity:0}}
@keyframes rbtn{0%,24%{transform:none}30%{transform:scale(.95);background:var(--pink-soft)}38%,100%{transform:none}}
@keyframes spin{0%,26%{transform:none}42%,100%{transform:rotate(360deg)}}

/* Watch */
.watch{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:clamp(32px,6vw,80px);align-items:center}
.watch-steps{margin-top:30px;display:flex;flex-direction:column;gap:4px;counter-reset:w}
.watch-steps li{position:relative;padding:16px 0 16px 48px;border-top:1px solid var(--line);color:var(--text2);counter-increment:w}
.watch-steps li::before{content:counter(w);position:absolute;left:0;top:14px;width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:var(--pink-soft);color:var(--pink-hi);font:600 13px/1 var(--mono)}
.watch-steps b{color:var(--text);font-weight:600}
.browser{border-radius:14px;overflow:hidden;background:#17141B;box-shadow:0 0 0 1px rgba(255,255,255,.1),0 50px 100px -30px rgba(0,0,0,.95),0 0 120px -40px rgba(255,61,191,.3)}
.browser-bar{height:38px;display:flex;align-items:center;gap:7px;padding:0 14px;background:#1B181F;border-bottom:1px solid var(--line)}
.browser-bar i{width:10px;height:10px;border-radius:50%;background:#3A3440}
.browser-bar span{margin-left:12px;flex:1;max-width:320px;height:24px;border-radius:7px;background:#0F0D12;display:flex;align-items:center;padding:0 10px;font-size:12px;color:var(--text3)}
.browser img{width:100%;height:auto}

/* FAQ */
.faq{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(32px,6vw,80px);align-items:start}
.qa details{border-top:1px solid var(--line)}
.qa details:last-child{border-bottom:1px solid var(--line)}
.qa summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 0;font-size:17px;font-weight:500}
.qa summary::-webkit-details-marker{display:none}
.qa summary::after{content:"";flex:none;width:28px;height:28px;border-radius:8px;background:var(--s2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 4v8M4 8h8' fill='none' stroke='%23F4EFF5' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat;transition:transform .3s var(--ease),background-color .2s}
.qa details[open] summary::after{transform:rotate(45deg);background-color:var(--pink-soft)}
.qa summary:hover{color:var(--pink-hi)}
.qa p{padding:0 48px 22px 0;color:var(--text2);max-width:62ch}

/* Final CTA */
.final{position:relative;isolation:isolate;margin-top:clamp(100px,12vw,170px);padding:clamp(90px,10vw,140px) 0;overflow:hidden;border-top:1px solid var(--line)}
.final .dots{-webkit-mask-image:radial-gradient(50% 70% at 50% 50%,#000,transparent);mask-image:radial-gradient(50% 70% at 50% 50%,#000,transparent)}
.g3{width:900px;height:600px;left:50%;top:50%;transform:translate(-50%,-50%);background:radial-gradient(closest-side,rgba(255,61,191,.28),transparent);animation:breathe3 8s ease-in-out infinite}
@keyframes breathe3{50%{transform:translate(-50%,-50%) scale(1.12);opacity:.75}}
.final-in{display:flex;flex-direction:column;align-items:center;text-align:center}
.app-tile{width:84px;height:84px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(160deg,#1E1A24,#131019);box-shadow:inset 0 0 0 1px var(--line2),0 20px 50px -14px rgba(255,61,191,.5)}
.app-tile img{width:44px;height:auto}
.final h2{margin-top:30px;font-size:clamp(40px,6.2vw,84px);line-height:.98}
.final p{margin:22px 0 36px;font-size:18px;color:var(--text2)}

/* Footer */
.foot{border-top:1px solid var(--line)}
.foot-row{height:84px;display:flex;align-items:center;gap:20px;font-size:14px;color:var(--text3)}
.foot-row img{height:16px;width:auto;opacity:.85}
.foot-row nav{margin-left:auto;display:flex;gap:24px}
.foot-row a:hover{color:var(--text)}

/* Reveal on scroll */
.js .reveal{opacity:0;transform:translateY(22px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.js .reveal.in,.still .reveal{opacity:1!important;transform:none!important}
.js .steps .reveal:nth-child(2),.js .bento .reveal:nth-child(2n){transition-delay:.08s}
.js .steps .reveal:nth-child(3),.js .bento .reveal:nth-child(3n){transition-delay:.16s}
.js .hero .reveal:nth-child(2){transition-delay:.06s}.js .hero .reveal:nth-child(3){transition-delay:.12s}.js .hero .reveal:nth-child(4){transition-delay:.18s}.js .hero .reveal:nth-child(5){transition-delay:.24s}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width:980px){
  .steps{grid-template-columns:minmax(0,1fr)}
  .bento{grid-template-columns:repeat(2,minmax(0,1fr))}
  .t-ink{grid-column:span 2;grid-row:auto;min-height:480px}
  .t-link,.t-chat,.t-check,.t-sound,.t-perf,.t-private{grid-column:span 1}
  .watch,.faq{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:640px){
  .wrap{width:calc(100% - 32px)}
  .hero{padding-top:104px}
  .ctas{flex-direction:column;width:100%}.ctas .btn{width:100%}
  .bento{grid-template-columns:minmax(0,1fr)}
  .t-ink,.t-link,.t-chat,.t-check,.t-sound,.t-perf,.t-private{grid-column:auto}
  .t-ink{min-height:420px}
  .stats{grid-template-columns:1fr}
  .tile{padding:22px;min-height:0}
  .ink-shot{margin:0 -22px -22px;min-height:240px}
  .foot-row{flex-wrap:wrap;height:auto;padding:24px 0}
  .final .btn{width:100%}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

.still .bars b{height:9px}.still .bars b:nth-child(2n){height:13px}
@media (max-width:640px){h1{font-size:clamp(36px,11.5vw,56px)}.pill{font-size:12.5px}}
.still .rot-new{opacity:1;transform:none;animation:none}.still .rot-old{opacity:.45;animation:none}
