/* KisuKisu homepage: scroll-driven phones. Steel accent, Nunito only. Blot in each phone comes from bubble.js. */
:root {
  --bg: #EAF0F5; --dots: #D2DCE6; --card: #FFFFFF; --ink: #16202B; --ink2: #5B6B7C; --line: #DCE4EC;
  --accent: #2F6A9C; --acc: #4682B4; --acc-rgb: 70,130,180; --lite-rgb: 110,156,198; --pop: #D6E6F3;
  --shadow: rgba(30,60,90,.16); --strike: rgba(214,80,80,.75);
  --chk-g: linear-gradient(135deg,#6798C1,#4078A6); --wash: linear-gradient(135deg,#A7C3DB,#81A6C4); --piece: #B5BACA;
  --lg0: #6E9CC6; --lg1: #5487B5; --lg2: #3F76A4;
  --bub0: #6798C1; --bub1: #4078A6; --deep-g: linear-gradient(135deg,#3B6D97,#315B7E); --leaf-out: #386890; --spark: #B5CCE2;
  --sys-out: #34465A; --sys-round: #3D6E8F; --sys-ent: #8AB4D6;
  --max: 1180px; --r: 26px; --hdr: 68px;
  --f-head: Nunito, system-ui, sans-serif; --f-body: Nunito, system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1116; --dots: #1F252D; --card: #161B22; --ink: #EEF2F6; --ink2: #93A1B0; --line: #28303A;
    --accent: #8DB6DC; --pop: rgba(110,156,198,.28); --shadow: rgba(0,0,0,.5); color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.55;
  font-weight: 450; overflow-x: clip; transition: background-color .5s; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(var(--dots) 1.3px, transparent 1.4px); background-size: 26px 26px; opacity: .7; }
a { color: var(--accent); }
h1, h2, h3, b, .cta, .tag, .chips, .num { font-family: var(--f-head); }
h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; margin: 0 0 18px; }
.grey { color: var(--ink2); opacity: .75; }
.sub { color: var(--ink2); font-size: clamp(17px, 1.5vw, 19px); max-width: 34em; margin: 0 0 26px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
/* clip (not hidden) so the sticky stages keep working; html too, since body clip does not reach the viewport */
html, main { overflow-x: clip; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; height: var(--hdr); background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.top-in { max-width: var(--max); margin: 0 auto; height: 100%; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
@media (max-width: 600px) { .top-in { padding: 0 16px; } }
.lock { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; min-width: 0; }
.lock svg { flex: none; }
.lock b { display: block; font-size: 20px; font-weight: 800; line-height: 1.05; }
.lock small { display: block; color: var(--ink2); font: 700 13px var(--f-head); }
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a.nl { color: var(--ink2); text-decoration: none; font: 700 15px var(--f-head); }
.top nav a.nl:hover { color: var(--ink); }
@media (max-width: 900px) { .top nav a.nl { display: none; } }
@media (max-width: 400px) { .lock small { display: none; } }
.lg0 { stop-color: var(--lg0); } .lg1 { stop-color: var(--lg1); } .lg2 { stop-color: var(--lg2); }
.bb0 { stop-color: var(--bub0); } .bb1 { stop-color: var(--bub1); }
.lock-dot { display: block; flex: none; width: 40px; height: 40px; }
.lock-dot .kkdot { width: 100%; height: 100%; }

/* ---------- buttons ---------- */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--ink); color: var(--bg);
  text-decoration: none; font-weight: 800; font-size: 18px; border-radius: 999px; padding: 15px 26px; line-height: 1.2; border: 0;
  cursor: pointer; transition: transform .2s, box-shadow .3s; box-shadow: 0 10px 30px -10px rgba(var(--acc-rgb), .7); }
.cta:hover { transform: translateY(-2px); }
.cta:active { transform: translateY(0) scale(.98); }
.cta.small { font-size: 15px; padding: 10px 18px; white-space: nowrap; box-shadow: none; }
.cta.big { font-size: 20px; padding: 18px 32px; }
.cta svg { flex: none; transition: transform .2s; }
.cta:hover svg { transform: translateX(3px); }

/* ---------- shared bits ---------- */
.tag { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); margin: 0 0 8px; }
.tag.acc { color: var(--accent); }
em { font-style: normal; color: var(--accent); background: var(--pop); border-radius: 999px; display: inline-block; line-height: 1;
  padding: .02em .2em .1em; transition: color .5s, background-color .5s; }
.glow { position: absolute; z-index: 0; pointer-events: none; inset: -18% -14%;
  background: radial-gradient(closest-side, rgba(var(--acc-rgb), .30), rgba(var(--lite-rgb), .14) 55%, transparent 100%); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- phone (a clean Android at 430 x 932, scaled by --ps) ---------- */
.phone { position: relative; width: calc(450px * var(--ps)); height: calc(952px * var(--ps)); flex: none; }
.device { position: absolute; left: 0; top: 0; width: 450px; height: 952px; border-radius: 64px; padding: 10px; transform: scale(var(--ps)); transform-origin: 0 0;
  background: linear-gradient(145deg, #3b4048, #1c1f24 40%, #2a2e35); box-shadow: 0 50px 120px -30px var(--shadow), 0 20px 40px -20px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.08); }
.screen { position: relative; width: 430px; height: 932px; border-radius: 54px; overflow: hidden; background: #111317; color: #E8EAED; text-align: left;
  font-family: var(--f-body); font-weight: 500; }
.cam { position: absolute; left: 50%; top: 14px; width: 14px; height: 14px; margin-left: -7px; border-radius: 7px; background: #05070a; box-shadow: inset 0 0 0 2px #1d2229; z-index: 20; }
.sbar { position: absolute; left: 0; right: 0; top: 0; height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0; font-size: 15px; font-weight: 700; z-index: 19; }
.sbar .ic { display: flex; gap: 7px; align-items: center; position: relative; }
.sbar .plane { position: absolute; right: 70px; opacity: 0; transform: scale(.4); transition: opacity .4s, transform .5s cubic-bezier(.3,1.6,.5,1); }
.sbar .wifi { transition: opacity .4s; }
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.bars i { display: block; width: 3px; background: currentColor; border-radius: 1px; transform-origin: 50% 100%; transition: transform .35s, opacity .35s; position: relative; }
.bars i:nth-child(1) { height: 4px; } .bars i:nth-child(2) { height: 7px; } .bars i:nth-child(3) { height: 10px; } .bars i:nth-child(4) { height: 14px; }
.bars i.off { opacity: .25; }
.bars.big { gap: 3px; height: 18px; } .bars.big i { width: 4px; }
.bars.big i:nth-child(1) { height: 6px; } .bars.big i:nth-child(2) { height: 10px; } .bars.big i:nth-child(3) { height: 14px; } .bars.big i:nth-child(4) { height: 18px; }
.appbar { position: absolute; left: 0; right: 0; top: 44px; height: 66px; display: flex; align-items: center; gap: 12px; padding: 0 14px 0 12px; background: #111317; z-index: 3; }
.appbar .t1 { font-size: 18px; font-weight: 700; line-height: 1.1; }
.appbar .t2 { font-size: 13px; color: #9AA0A6; font-weight: 600; }
.av { width: 40px; height: 40px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; color: #fff; flex-shrink: 0; }
.day { position: absolute; left: 0; right: 0; text-align: center; font-size: 12px; font-weight: 700; color: #9AA0A6; }
.msg { position: absolute; max-width: 290px; padding: 9px 13px 7px; font-size: 16px; line-height: 1.35; font-weight: 500; }
.msg .meta { display: flex; justify-content: flex-end; gap: 4px; font-size: 11px; color: rgba(232,234,237,.6); margin-top: 3px; font-weight: 700; }
.msg.in { left: 12px; background: #23272E; border-radius: 18px 18px 18px 5px; }
.msg.out { right: 12px; background: var(--sys-out); border-radius: 18px 18px 5px 18px; }
.inputrow { position: absolute; left: 8px; right: 8px; bottom: 330px; display: flex; align-items: flex-end; gap: 8px; z-index: 4; }
.field { flex: 1; min-height: 50px; border-radius: 25px; background: #23272E; display: flex; align-items: flex-end; gap: 10px; padding: 13px 14px; font-size: 16px; line-height: 1.35; }
.field .txt { flex: 1; min-width: 0; }
.field .ph { color: #9AA0A6; }
.typed:not(:empty) + .ph { display: none; }
.typed:not(:empty)::after, .cursor::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -3px; background: var(--sys-ent); animation: blink 1s steps(1) infinite; }
.round { width: 50px; height: 50px; border-radius: 25px; background: var(--sys-round); display: grid; place-items: center; flex-shrink: 0; }
.kb { position: absolute; left: 0; right: 0; bottom: 0; height: 322px; background: #1E2126; padding: 0 4px; z-index: 5; }
.kbtools { height: 44px; display: flex; align-items: center; justify-content: space-around; padding: 0 8px; color: #9AA0A6; font-size: 13px; font-weight: 800; }
.krow { display: flex; justify-content: center; gap: 5px; margin-top: 7px; }
.key { position: relative; height: 44px; flex: 0 0 37.6px; border-radius: 8px; background: #33373E; color: #E8EAED; font-size: 21px; display: flex; align-items: center; justify-content: center; font-weight: 400; }
.key.fn { background: #2A2D33; font-size: 15px; font-weight: 600; }
.key.sp { flex-basis: 180px; font-size: 13px; color: #9AA0A6; }
.key.ent { background: var(--sys-ent); color: #0E1620; }
.navpill { position: absolute; left: 50%; bottom: 8px; width: 110px; height: 4px; margin-left: -55px; border-radius: 2px; background: #9AA0A6; }
.efield { position: absolute; left: 0; right: 0; padding: 0 20px; display: flex; gap: 12px; align-items: center; height: 50px; border-bottom: 1px solid #2A2E35; font-size: 16px; }
.efield span:first-child { color: #9AA0A6; width: 62px; }
.ebody { position: absolute; left: 20px; right: 20px; font-size: 17px; line-height: 1.5; }
.chipme { display: inline-flex; align-items: center; gap: 8px; background: #23272E; border-radius: 999px; padding: 4px 12px 4px 4px; }
.chipme i { width: 26px; height: 26px; border-radius: 13px; background: #6E8B5E; color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; }
.notes-t { position: absolute; left: 22px; right: 22px; top: 128px; }
.notes-t h4 { margin: 0; font-size: 26px; font-weight: 800; font-family: var(--f-head); }
.notes-t .d { font-size: 13px; color: #9AA0A6; font-weight: 700; margin-top: 4px; }
.notes-t .bd { font-size: 17px; line-height: 1.55; margin-top: 16px; color: #C9CDD2; }
.notes-t .bd p { margin: 0 0 8px; }

/* the hero keyboard closes and opens again (Dot leaves with it, then comes back) */
.screen .kb, .screen .inputrow { transition: transform .3s cubic-bezier(.2,0,0,1); }
.screen.kbd .kb { transform: translateY(100%); } .screen.kbd .inputrow { transform: translateY(300px); }
.glw0 { stop-color: var(--spark); stop-opacity: .75; } .glw1 { stop-color: var(--bub0); stop-opacity: .28; } .glw2 { stop-color: var(--bub0); stop-opacity: 0; }
/* copy mode: Android's Paste popup over the line */
.pline { position: relative; }
.pastetip { position: absolute; left: -4px; bottom: calc(100% + 6px); background: #3C4043; color: #E8EAED; font: 600 14px var(--f-body); padding: 7px 14px; border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,.4); opacity: 0; transform: translateY(6px) scale(.9); transform-origin: 20px 100%; transition: opacity .2s, transform .3s cubic-bezier(.3,1.5,.5,1); pointer-events: none; }
.pastetip.on { opacity: 1; transform: none; }
.fc-sub { display: block; font: 600 13px var(--f-body); opacity: .8; margin-top: 2px; }
@keyframes blink { 50% { opacity: 0; } }
.finger { position: absolute; width: 56px; height: 56px; border-radius: 28px; background: rgba(255,255,255,.28); border: 2px solid rgba(255,255,255,.6); z-index: 12;
  opacity: 0; transform: scale(1.4); transition: opacity .25s, transform .3s; pointer-events: none; }
.finger.on { opacity: 1; transform: scale(1); }

/* ---------- 1. hero ---------- */
.hero-pin { height: 250vh; position: relative; }
.hero-stage { position: sticky; top: var(--hdr); height: calc(100vh - var(--hdr)); height: calc(100svh - var(--hdr)); overflow: hidden; display: flex; flex-direction: column; align-items: center; }
.hero-copy { position: relative; z-index: 3; text-align: center; padding: 34px 16px 0; will-change: transform, opacity; }
h1 { font-size: clamp(46px, 7.6vw, 104px); line-height: 1.0; letter-spacing: -.045em; font-weight: 800; margin: 0 0 18px; }
.lede { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; color: var(--ink2); max-width: 31em; margin: 0 auto 24px; }
.cta-row { display: flex; align-items: center; justify-content: center; gap: 18px 22px; flex-wrap: wrap; }
.promises { margin: 0; font: 800 18px var(--f-head); }
.under { margin: 14px 0 0; color: var(--ink2); font-size: 14.5px; }
.rise { display: inline-block; opacity: 0; transform: translateY(26px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--d) * 90ms + 80ms); }
p.rise, div.rise { display: block; } .cta-row.rise { display: flex; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-phone { position: absolute; z-index: 2; left: 50%; top: 0; will-change: transform, opacity; transform-origin: 50% 0; }
.hero-card-wrap { position: absolute; z-index: 4; left: 50%; top: 50%; width: min(820px, calc(100vw - 32px)); will-change: transform, opacity; opacity: 0; }
.hero-card-wrap .glow { inset: -40% -20%; }
.tcard { position: relative; z-index: 1; margin: 0; background: var(--card); border-radius: 30px; padding: clamp(20px, 3vw, 34px) clamp(20px, 3.4vw, 40px);
  box-shadow: 0 30px 80px -30px rgba(var(--acc-rgb), .55), 0 0 0 1px rgba(var(--acc-rgb), .14); }
.tcard-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.tcard-head .tag { margin: 0; }
.rec { display: inline-flex; align-items: center; gap: 3px; height: 18px; }
.rec i { width: 3px; height: 16px; border-radius: 2px; background: var(--acc); transform: scaleY(.3); }
.streaming .rec i { animation: wave .5s ease-in-out infinite alternate; }
.rec i:nth-child(2) { animation-delay: -.2s !important; } .rec i:nth-child(3) { animation-delay: -.35s !important; } .rec i:nth-child(4) { animation-delay: -.1s !important; } .rec i:nth-child(5) { animation-delay: -.42s !important; }
.stream { font: 700 clamp(22px, 2.9vw, 36px)/1.32 var(--f-head); letter-spacing: -.015em; margin: 0; min-height: 2.64em; }
.stream .wd { opacity: .0; transition: opacity .25s, transform .3s; display: inline-block; transform: translateY(.25em); position: relative; }
.stream .wd.on { opacity: 1; transform: none; }
.stream .wd.c.on { color: var(--ink2); text-decoration: underline dotted rgba(var(--acc-rgb), .7); text-decoration-thickness: 2px; text-underline-offset: .18em; }
.stream .wd.f.on::before { content: ""; position: absolute; inset: .08em -.12em .02em; background: var(--pop); border-radius: .35em; z-index: -1; }
.stream .wd.f.on { color: var(--accent); }
.stream .wd.last::after { content: ""; position: absolute; right: -.18em; top: .12em; width: .07em; height: 1.05em; background: var(--acc); border-radius: 2px; animation: blink 1s steps(1) infinite; }
.tcard-out { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; }
.tcard-out.on { opacity: 1; transform: none; }
.clean-line { margin: 0; font: 800 clamp(19px, 2.2vw, 26px)/1.35 var(--f-head); }
.chips { position: relative; z-index: 1; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 18px 0 0; }
.chips li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 700; color: var(--ink2);
  opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .4s calc(var(--i) * 80ms), transform .5s cubic-bezier(.3,1.5,.5,1) calc(var(--i) * 80ms); }
.chips.on li { opacity: 1; transform: none; }

/* ---------- 2. how it works ---------- */
.how { padding-top: 40px; }
.how-pin { height: 470vh; position: relative; }
.how-stage { position: sticky; top: 0; height: 100vh; max-width: var(--max); margin: 0 auto; padding: calc(var(--hdr) + 24px) 24px 24px;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.how-left h2 { margin-bottom: 30px; font-size: clamp(34px, 3.4vw, 50px); }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 13px; top: 18px; bottom: 18px; width: 2px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 13px; top: 18px; bottom: 18px; width: 2px; background: var(--acc); transform-origin: 50% 0; transform: scaleY(var(--prog, 0)); }
.steps li { position: relative; z-index: 1; padding: 10px 0; }
.step-txt { display: flex; gap: 16px; align-items: flex-start; }
.step-txt > div { opacity: .45; transition: opacity .4s; }
.step-txt b { display: block; font-size: 20px; font-weight: 800; margin: 2px 0 2px; }
.step-txt p { margin: 0; color: var(--ink2); font-size: 15.5px; line-height: 1.5; max-width: 30em; }
.num { position: relative; z-index: 1; flex: none; width: 28px; height: 28px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 14px;
  background: var(--card); color: var(--ink2); box-shadow: 0 0 0 1px var(--line); transition: background-color .3s, color .3s, transform .4s cubic-bezier(.3,1.6,.5,1); }
.steps li.act .step-txt > div { opacity: 1; }
.steps li.act .num { background: var(--acc); color: #fff; box-shadow: none; transform: scale(1.12); }
.steps li.done .num { background: var(--pop); color: var(--accent); box-shadow: none; }
.steps li > .vis { display: none; }
.how-right { position: relative; height: min(600px, calc(100vh - var(--hdr) - 60px)); }
.how-right .glow { inset: -10% -12%; }
/* the step visual: a phone crop + a floating transcript card */
.vis { position: relative; }
.how-right .vis { position: relative; z-index: 1; height: 100%; border-radius: 32px; background: color-mix(in srgb, var(--card) 70%, transparent);
  box-shadow: 0 0 0 1px rgba(var(--acc-rgb), .12), 0 30px 80px -40px rgba(var(--acc-rgb), .5); overflow: hidden; }
.v-crop { position: absolute; left: 50%; bottom: -2px; width: 450px; height: 560px; transform-origin: 50% 100%; transform: translateX(-50%) scale(var(--vs, 1.04)); }
.v-crop { overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 70px); mask-image: linear-gradient(to bottom, transparent 0, #000 70px); }
.v-crop .device { position: absolute; top: -392px; transform: none; }
.v-card { position: absolute; z-index: 15; left: 50%; top: 22px; width: min(88%, 470px); transform: translateX(-50%); background: var(--card); border-radius: 22px;
  padding: 16px 20px 18px; box-shadow: 0 24px 60px -24px rgba(var(--acc-rgb), .55), 0 0 0 1px rgba(var(--acc-rgb), .12); transition: opacity .4s, transform .5s cubic-bezier(.2,.8,.2,1); }
.v-card.hide { opacity: 0; transform: translate(-50%, -14px) scale(.97); }
.v-card .tag { margin-bottom: 6px; display: flex; justify-content: space-between; }
.v-text { position: relative; font: 700 19px/1.4 var(--f-head); min-height: 2.8em; }
.v-raw .t { display: inline-block; position: relative; transition: opacity .35s, transform .4s, color .3s; }
.v-raw .t.hid { opacity: 0; transform: translateY(.3em); }
.v-raw .t.f { color: var(--accent); }
.v-raw .t.f::before { content: ""; position: absolute; inset: .06em -.1em 0; background: var(--pop); border-radius: .35em; z-index: -1; transition: opacity .3s; }
.v-raw .t::after { content: ""; position: absolute; left: -.05em; right: -.05em; top: 54%; height: 2px; background: var(--strike); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s; }
.v-raw .t.cut::after { transform: scaleX(1); }
.v-raw .t.cut { opacity: .35; }
.v-raw .t.cut.f::before { opacity: 0; }
.v-raw .t.c { color: var(--ink2); }
.v-raw .t.n .dg { position: absolute; left: 0; top: 0; color: var(--accent); opacity: 0; transform: translateY(.5em); transition: opacity .3s, transform .35s; }
.v-raw .t.n .wd2 { display: inline-block; transition: opacity .3s, transform .35s; }
.v-raw .t.n.dig .dg { position: relative; opacity: 1; transform: none; }
.v-raw .t.n.dig .wd2 { position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(-.5em); }
.v-raw .t.last::before { content: ""; position: absolute; right: -.16em; top: .15em; width: 2px; height: 1em; background: var(--acc); animation: blink 1s steps(1) infinite; }
.v-clean { position: absolute; inset: 0; opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s; }
.v-clean .dgt { color: var(--accent); background: var(--pop); border-radius: .3em; padding: 0 .12em; }
.v-text.clean .v-raw { opacity: 0; transition: opacity .3s; }
.v-text.clean .v-clean { opacity: 1; transform: none; }
.v-done { position: absolute; z-index: 16; left: 50%; top: 40px; transform: translate(-50%, -8px) scale(.9); opacity: 0; transition: opacity .35s, transform .45s cubic-bezier(.3,1.6,.5,1);
  background: var(--card); color: var(--ink); border-radius: 999px; padding: 10px 18px; font: 800 16px var(--f-head); box-shadow: 0 16px 40px -16px rgba(var(--acc-rgb), .6), 0 0 0 1px rgba(var(--acc-rgb), .14); white-space: nowrap; }
.v-done .tick { color: var(--accent); }
.v-done.on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.v-hint { position: absolute; z-index: 15; left: 50%; top: 30px; transform: translateX(-50%); font: 800 15px var(--f-head); color: var(--ink); white-space: nowrap; transition: opacity .3s;
  background: var(--card); border-radius: 999px; padding: 8px 16px; box-shadow: 0 12px 30px -14px rgba(var(--acc-rgb), .6), 0 0 0 1px rgba(var(--acc-rgb), .14); }
.v-hint.hide { opacity: 0; }

@media (max-width: 899px), (max-height: 560px) {
  .how-pin { height: auto; }
  .how-stage { position: static; height: auto; display: block; padding: 24px 16px 0; }
  .how-right { display: none; }
  .steps::before, .steps::after { display: none; }
  .steps li { padding: 0 0 40px; }
  .steps li > .vis { display: block; height: 430px; border-radius: 28px; overflow: hidden; margin-bottom: 18px; background: color-mix(in srgb, var(--card) 70%, transparent);
    box-shadow: 0 0 0 1px rgba(var(--acc-rgb), .12), 0 24px 60px -36px rgba(var(--acc-rgb), .55); }
  .steps li > .vis .v-crop { --vs: .74; }
  .steps li > .vis .v-card { top: 16px; width: calc(100% - 28px); padding: 13px 16px 15px; }
  .steps li > .vis .v-text { font-size: 16.5px; }
  .step-txt > div { opacity: 1; }
  .num { background: var(--acc); color: #fff; box-shadow: none; }
}

/* ---------- 3. apps ---------- */
.apps { padding: 110px 0 40px; }
.sec-head { text-align: center; }
.sec-head .sub { margin-left: auto; margin-right: auto; }
.apps-row { display: flex; justify-content: center; gap: 36px; margin: 34px 0 18px; }
.app-phone { margin: 0; text-align: center; opacity: 0; transform: translateY(60px); transition: opacity .8s calc(var(--i) * 140ms), transform 1s cubic-bezier(.2,.8,.2,1) calc(var(--i) * 140ms); }
.apps-row.in .app-phone { opacity: 1; transform: none; }
.app-phone figcaption { margin-top: 14px; font: 800 16px var(--f-head); color: var(--ink2); }
.note { color: var(--ink2); font-size: 15px; max-width: 40em; }
@media (max-width: 1000px) { .app-phone .phone { --ps: .48 !important; } .apps-row { gap: 20px; } }
@media (max-width: 720px) {
  .apps-row { position: relative; height: calc(952px * .44 + 56px); gap: 0; overflow: hidden; margin-left: -16px; margin-right: -16px; }
  .app-phone { position: absolute; left: 50%; top: 0; }
  .app-phone .phone { --ps: .44 !important; }
  .app-phone:nth-child(1) { z-index: 1; translate: calc(-50% - 70px) 10px; rotate: -5deg; }
  .app-phone:nth-child(2) { z-index: 3; translate: -50% 0; }
  .app-phone:nth-child(3) { z-index: 2; translate: calc(-50% + 70px) 10px; rotate: 5deg; }
  .app-phone:nth-child(1) figcaption, .app-phone:nth-child(3) figcaption { display: none; }
  .apps-row.in .app-phone:nth-child(1), .apps-row.in .app-phone:nth-child(3) { opacity: .92; }
}

/* ---------- 4. offline ---------- */
.offline { padding: 90px 0 40px; }
.off-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.qs-card { background: var(--card); border-radius: 24px; padding: 8px 18px; max-width: 420px; box-shadow: 0 24px 60px -36px rgba(var(--acc-rgb), .5), 0 0 0 1px var(--line); }
.qs-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.qs-row:first-child { border-top: 0; }
.qs-ic { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; background: var(--pop); color: var(--accent); flex: none; }
.qs-l { flex: 1; min-width: 0; }
.qs-l b { display: block; font-size: 16px; font-weight: 800; }
.qs-l small { display: block; position: relative; height: 1.4em; color: var(--ink2); font-size: 14px; overflow: hidden; }
.swap span { position: absolute; left: 0; top: 0; transition: transform .4s, opacity .4s; }
.swap .b { transform: translateY(100%); opacity: 0; }
.on .swap .a, .swap.on .a { transform: translateY(-100%); opacity: 0; }
.on .swap .b, .swap.on .b { transform: none; opacity: 1; }
.toggle { width: 52px; height: 30px; border-radius: 15px; background: var(--line); position: relative; flex: none; overflow: hidden; }
.toggle::before { content: ""; position: absolute; inset: 0; background: var(--acc); opacity: 0; transition: opacity .3s; }
.toggle i { position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 12px; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .4s cubic-bezier(.3,1.5,.5,1); }
.qs-row.on .toggle::before { opacity: 1; }
.qs-row.on .toggle i { transform: translateX(22px); }
.qs-row.dim .qs-ic { transition: opacity .4s; }
.qs-row.dim.on .qs-ic { opacity: .45; }
.off-phone { position: relative; display: flex; flex-direction: column; align-items: center; }
.off-phone .phone { z-index: 1; }
.toast { position: relative; z-index: 2; margin: -60px 0 0; max-width: 340px; background: var(--card); border-radius: 18px; padding: 12px 16px; font-size: 14.5px; line-height: 1.4;
  box-shadow: 0 20px 50px -20px rgba(var(--acc-rgb), .55), 0 0 0 1px var(--line); opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .5s, transform .6s cubic-bezier(.3,1.4,.5,1); }
.toast.on { opacity: 1; transform: none; }
.tick { color: var(--accent); font-weight: 800; }
@media (max-width: 860px) { .off-grid { grid-template-columns: 1fr; gap: 36px; } .qs-card { max-width: none; } }

/* ---------- 6. try ---------- */
.try { padding: 110px 0 30px; }
.try-card { max-width: 860px; margin: 0 auto; background: var(--card); border-radius: 30px; padding: clamp(18px, 3vw, 32px); box-shadow: 0 30px 80px -40px rgba(var(--acc-rgb), .55), 0 0 0 1px var(--line); }
.try-card textarea { width: 100%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 18px; padding: 14px 16px; font: 600 18px/1.45 var(--f-body); resize: vertical; min-height: 96px; }
.try-card textarea:focus { outline: 3px solid rgba(var(--acc-rgb), .45); outline-offset: 0; border-color: var(--acc); }
.try-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 14px 0 6px; }
.ex { display: flex; flex-wrap: wrap; gap: 8px; }
.ex button { border: 0; background: var(--pop); color: var(--accent); border-radius: 999px; padding: 8px 14px; font: 800 14px var(--f-head); cursor: pointer; }
.ex button:hover { filter: brightness(.97); }
.try-out { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 18px; }
.try-out > div { border-radius: 20px; padding: 16px 18px; background: var(--bg); min-height: 110px; }
.try-out > div:last-child { background: var(--card); box-shadow: inset 0 0 0 2px var(--acc); }
.try-out p { margin: 0; font-size: 18px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.diff s { color: var(--ink2); text-decoration-color: var(--strike); text-decoration-thickness: 2px; }
.diff ins { text-decoration: none; color: var(--accent); background: var(--pop); border-radius: .3em; padding: 0 .15em; }
.result { font-weight: 700; }
.try-out .pop-in { animation: popin .5s cubic-bezier(.3,1.4,.5,1); }
@keyframes popin { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 640px) { .try-out { grid-template-columns: 1fr; } .try-bar .cta { width: 100%; } }

/* ---------- 7. faq + final ---------- */
#faq { padding: 100px 0 0; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: 18px; padding: 0 20px; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s; }
.faq details[open] { box-shadow: 0 0 0 1.5px rgba(var(--acc-rgb), .5); }
.faq summary { cursor: pointer; list-style: none; font: 800 18px var(--f-head); padding: 18px 30px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; font-size: 26px; color: var(--accent); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { color: var(--ink2); padding: 0 0 18px; animation: popin .4s; }
.faq details > div p { margin: 0; }
.final { padding: 130px 0 40px; text-align: center; }
.final-dot { display: block; margin: 0 auto 18px; width: 92px; height: 92px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%;
  filter: drop-shadow(0 14px 22px rgba(var(--acc-rgb), .35)); -webkit-tap-highlight-color: transparent; }
.final-dot svg { display: block; width: 100%; height: 100%; overflow: visible; }
.fill { font-size: clamp(48px, 8vw, 112px); line-height: 1.0; letter-spacing: -.045em; margin-bottom: 24px; }
.fill .w { position: relative; display: inline-block; color: color-mix(in srgb, var(--ink2) 30%, transparent); }
.fill .w::after { content: attr(data-t); position: absolute; left: 0; top: 0; color: var(--ink); opacity: var(--o, 0); }
.fill .w.acc::after { color: var(--accent); }
.join { list-style: none; padding: 0; margin: 10px auto 30px; display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; text-align: left; }
.join li { background: var(--card); border-radius: 20px; padding: 18px; font-size: 15.5px; color: var(--ink2); box-shadow: 0 0 0 1px var(--line); }
.join li span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 15px; background: var(--pop); color: var(--accent); font: 800 15px var(--f-head); margin-bottom: 10px; }
@media (max-width: 720px) { .join { grid-template-columns: 1fr; } }
footer { margin-top: 70px; padding: 26px 0 48px; border-top: 1px solid var(--line); color: var(--ink2); font-weight: 600; font-size: 15px; }
footer .cols { display: flex; gap: 12px 26px; flex-wrap: wrap; }
footer a { color: inherit; }
footer .fine { margin-top: 14px; font-size: 14px; }

/* ---------- reduced motion: the calm static version ---------- */
.rm .rise, .rm .reveal, .rm .app-phone, .rm .chips li { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
.rm .hero-pin { height: auto; }
.rm .hero-stage { position: static; height: auto; overflow: visible; padding-bottom: 20px; }
.rm .hero-phone { position: relative; left: auto; margin: 30px 0 0; transform: none !important; }
.rm .hero-phone .phone { margin: 0 auto; }
.rm .hero-card-wrap { position: relative; left: auto; top: auto; opacity: 1 !important; transform: none !important; margin: -200px auto 0; }
.rm .how-pin { height: auto; }
.rm .how-stage { position: static; height: auto; display: block; }
.rm .how-right { display: none; }
.rm .steps::before, .rm .steps::after { display: none; }
.rm .steps li { padding: 0 0 36px; }
.rm .steps li > .vis { display: block; height: 430px; border-radius: 28px; overflow: hidden; margin-bottom: 18px; background: color-mix(in srgb, var(--card) 70%, transparent); box-shadow: 0 0 0 1px rgba(var(--acc-rgb), .12); }
.rm .step-txt > div { opacity: 1; }
.rm *, .rm *::before, .rm *::after { animation-duration: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0s !important; }
.rm .fill .w::after { opacity: 1; }


/* the app's own bubble (bubble.js) inside a phone */
.kbub { position: absolute; z-index: 10; pointer-events: none; line-height: 0; }
.mini { display: inline-block; overflow: hidden; flex: none; line-height: 0; }

/* ---------- 5. unlockables: a hint, the rest is in the app ---------- */
.unlock { padding: 100px 0 10px; }
.unlock-card { display: flex; gap: 24px; align-items: center; max-width: 860px; margin: 0 auto; background: var(--card); border-radius: 30px; padding: 28px 30px;
  box-shadow: 0 30px 70px -40px rgba(var(--acc-rgb), .55), 0 0 0 1px var(--line); }
.unlock-card h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 0 0 8px; }
.unlock-card .sub { margin: 0 0 14px; }
.unlock-card a { font: 800 17px var(--f-head); }
@media (max-width: 600px) { .unlock-card { flex-direction: column; align-items: flex-start; padding: 24px 22px; } }
.final .mini.big { display: block; margin: 0 auto 22px; filter: drop-shadow(0 14px 22px rgba(var(--acc-rgb), .35)); }
.foot-in { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
