/* Fonts are served from this site: no third-party request, no render-blocking stylesheet.
   Inter is the Latin subset of the variable font. The Nastaliq file holds only the Urdu
   letters the pages use today (28 of them); other Urdu text falls back to the phone's own Urdu font. */
@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(fonts/inter-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Noto Nastaliq Urdu";font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/nastaliq-urdu-subset.woff2) format("woff2");unicode-range:U+0600-06FF}
:root{
  --page:#070f0c;        /* page behind the dark cards */
  --dark:#0d1f18;        /* dark section cards */
  --dark-2:#122b21;      /* raised surfaces on dark */
  --line-dark:rgba(255,255,255,.08);
  --ink:#0c111d;         /* headings on light */
  --body:#61646c;        /* body text on light */
  --muted:#94969c;       /* subheads, nav links */
  --muted-ink:#6b6e76;   /* the same role on white, dark enough to read */
  --light:#f5f5f6;       /* light cards */
  --white:#fff;
  --gold:#e9b73a;
  --gold-2:#ffd76a;
  --green:#1f8a5c;
  --green-2:#14664c;
  --ember:#dc6803;
  --r-card:12px;
  --r-big:24px;
  --r-pill:50px;
  --max:1248px;
  --ease:cubic-bezier(.2,.7,.2,1);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:106px;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--page);color:var(--ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
img,video{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
a,button{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
::selection{background:var(--gold-2);color:#1b1a14}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:6px}
.btn:focus-visible,.btn-sm:focus-visible,.iconbtn:focus-visible,.tone:focus-visible{border-radius:var(--r-pill)}
.inl{text-decoration:underline;text-decoration-color:rgba(12,17,29,.35);text-underline-offset:3px;color:var(--ink)}
.inl:hover{text-decoration-color:currentColor}
.wrap{max-width:var(--max);margin:0 auto;padding:0 24px}
@media (max-width:640px){.wrap{padding:0 20px}}
.urdu{font-family:"Noto Nastaliq Urdu",serif;direction:rtl}

/* ---------- type ---------- */
h1,h2{margin:0;font-weight:500;letter-spacing:-.04em;line-height:1.08;text-wrap:balance}
h1{font-size:clamp(30px,9.4vw,64px);color:var(--white)}
h2{font-size:clamp(30px,5.4vw,64px);color:var(--ink)}
.dark h2,.hero h2{color:var(--white)}
h3{margin:0;font-size:20px;font-weight:500;letter-spacing:-.02em;color:var(--ink)}
.dark h3{color:var(--white)}
.lead{font-size:20px;line-height:1.5;font-weight:500;letter-spacing:-.016em;color:var(--muted);margin:0}
.sub{font-size:15px;line-height:1.55;color:var(--body);margin:0;text-wrap:pretty}
.dark .sub{color:var(--muted)}
.center{text-align:center}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.section-head{max-width:750px;margin:0 auto 56px}
.section-head .lead{margin-top:18px}
@media (max-width:640px){.lead{font-size:17px}.section-head{margin-bottom:36px}}

/* ---------- buttons ---------- */
/* store buttons: gold for the one you can press, green glass for the one that is coming */
.btn{display:inline-flex;align-items:center;gap:10px;height:44px;padding:3px 3px 3px 18px;border-radius:var(--r-pill);background:linear-gradient(180deg,var(--gold-2),var(--gold));color:#1b1a14;font-size:15px;font-weight:600;letter-spacing:-.01em;transition:transform .25s var(--ease),box-shadow .25s var(--ease),filter .25s;box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 10px 30px rgba(233,183,58,.22)}
.btn .ic{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--dark);color:#fff;flex:none}
.btn .ic svg{width:16px;height:16px}
.btn .ic.logo svg{width:17px;height:17px}
.btn:hover{transform:translateY(-1px);filter:brightness(1.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 16px 40px rgba(233,183,58,.32)}
.btn.ghost{background:rgba(31,138,92,.14);color:#dff3e9;box-shadow:inset 0 0 0 1px rgba(127,209,168,.3)}
.btn.ghost .ic,.btn.ghost .ic.logo{background:rgba(127,209,168,.16)}
.btn.ghost .ic svg{fill:#bfe8d3}
.btn.soon{cursor:default}
.btn.soon:hover{transform:none;filter:none;box-shadow:inset 0 0 0 1px rgba(127,209,168,.3)}
.btn.soon small{font-size:9px;font-weight:500;color:#8fc7ad;letter-spacing:.06em;text-transform:uppercase;margin-left:-4px}
.btn-sm{display:inline-flex;align-items:center;height:40px;padding:0 16px;border-radius:var(--r-pill);background:#161b26;border:1px solid #333741;color:#fff;font-size:14px;font-weight:500;letter-spacing:-.01em;transition:background .2s}
.btn-sm:hover{background:#1f242f}
.textlink{color:var(--muted);font-size:14px;font-weight:500;letter-spacing:-.01em;border-bottom:1px solid rgba(255,255,255,.2);padding-bottom:1px;transition:color .2s,border-color .2s}
.textlink:hover{color:var(--white);border-color:var(--white)}

/* ---------- nav ---------- */
.nav{position:fixed;top:24px;left:0;right:0;z-index:50;display:flex;justify-content:center;padding:0 14px;pointer-events:none}
.nav-inner{pointer-events:auto;display:flex;align-items:center;gap:8px;height:64px;padding:0 10px 0 22px;border-radius:var(--r-pill);background:transparent;border:1px solid transparent;box-shadow:none;width:100%;max-width:var(--max);transition:max-width .5s var(--ease),background .3s,border-color .3s,box-shadow .3s,backdrop-filter .3s,-webkit-backdrop-filter .3s}
.nav.compact .nav-inner{max-width:880px;background:rgba(10,22,17,.9);backdrop-filter:blur(18px) saturate(1.3);-webkit-backdrop-filter:blur(18px) saturate(1.3);border-color:var(--line-dark);box-shadow:0 10px 40px rgba(0,0,0,.35)}
.brand{display:flex;align-items:center;gap:10px;color:var(--white);font-weight:600;font-size:15px;letter-spacing:-.01em;margin-right:8px}
.brand img{width:30px;height:30px;border-radius:9px}
.brand span{transition:opacity .3s,width .3s}
.nav-sep{width:1px;height:20px;background:var(--line-dark);margin:0 6px;opacity:0;transition:opacity .3s}
.nav.compact .nav-sep{opacity:1}
.links{display:flex;gap:2px;margin:0 auto}
.links a{padding:5px 10px;font-size:14px;font-weight:500;letter-spacing:-.01em;color:var(--muted);border-radius:8px;transition:color .2s}
.links a:hover,.links a.on{color:var(--white)}
.nav-right{display:flex;align-items:center;gap:8px}
.iconbtn{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.06);color:#fff;transition:background .2s}
.iconbtn:hover{background:rgba(255,255,255,.12)}
.iconbtn svg{width:18px;height:18px}
.nav-play{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border-radius:var(--r-pill);background:linear-gradient(180deg,var(--gold-2),var(--gold));color:#1b1a14;font-size:14px;font-weight:600;letter-spacing:-.01em;box-shadow:inset 0 1px 0 rgba(255,255,255,.45);transition:transform .25s var(--ease),box-shadow .25s var(--ease),filter .25s}
.nav-play:hover{transform:translateY(-1px);filter:brightness(1.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 8px 24px rgba(233,183,58,.3)}
.nav-play:focus-visible{border-radius:var(--r-pill)}
.nav-apple{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:rgba(31,138,92,.14);box-shadow:inset 0 0 0 1px rgba(127,209,168,.3);color:#bfe8d3;cursor:default}
.nav-apple svg{width:17px;height:17px}
.nav-play svg,.install .go.play svg{box-sizing:border-box;width:26px;height:26px;padding:5.5px;border-radius:50%;background:var(--dark)}
.tabbar{display:none}
@media (max-width:900px){
  .nav{top:max(20px,calc(env(safe-area-inset-top) + 10px));padding:0 max(10px,env(safe-area-inset-left)) 0 max(10px,env(safe-area-inset-right))}
  .nav-sep{display:none}
  .nav-right{margin-left:auto}
  .nav-inner{height:60px;padding:0 8px 0 14px}
  .iconbtn{width:44px;height:44px}
  .btn-sm{height:44px}
  .links{display:none}
  .nav-play,.nav-apple{width:44px;height:44px}
  /* the tab bar: a floating pill like the top nav, clear of the home indicator */
  body{padding-bottom:calc(86px + env(safe-area-inset-bottom,0px))}
  .tabbar{position:fixed;z-index:50;left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));bottom:max(10px,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,1fr);padding:6px;border-radius:26px;background:rgba(10,22,17,.92);backdrop-filter:blur(18px) saturate(1.3);-webkit-backdrop-filter:blur(18px) saturate(1.3);border:1px solid rgba(255,255,255,.12);box-shadow:0 12px 40px rgba(0,0,0,.45)}
  .tabbar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:54px;border-radius:20px;color:#a5a8ae;font-size:10.5px;font-weight:500;letter-spacing:-.01em;transition:color .2s var(--ease),background .2s var(--ease)}
  .tabbar svg{width:22px;height:22px}
  .tabbar span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .tabbar a.on{color:var(--gold-2);background:rgba(255,215,106,.1)}
  .tabbar a:active{background:rgba(255,255,255,.08)}
  .tabbar a:focus-visible{border-radius:20px}
}
@media (max-width:360px){
  .tabbar{padding:5px 3px}
  .tabbar a{font-size:9.5px;letter-spacing:-.02em}
}
}

/* ---------- hero ---------- */
.hero{padding:14px}
.hero-card{position:relative;overflow:hidden;border-radius:var(--r-big);background:var(--dark);border:1px solid var(--line-dark);display:flex;flex-direction:column;align-items:center;text-align:center;padding:136px 24px 0}
.hero h1{max-width:820px}
/* both headlines must fit on one line each, so the size is set by the longer one ("Type in Roman Urdu.") */
.hero h1{font-size:clamp(26px,8.2vw,64px)}
.hero h1 .hl{display:block;overflow:hidden;padding-bottom:.1em;margin-bottom:-.1em;white-space:nowrap}
.hero h1 .hl>span{display:block;transition:transform .5s var(--ease),opacity .3s var(--ease),filter .3s var(--ease)}
.hero h1 .hl>span.out{transform:translateY(-105%);opacity:0;filter:blur(6px);transition-duration:.26s}
.hero h1 .hl>span.pre{transform:translateY(105%);opacity:0;filter:blur(6px);transition:none}
.hero-card .lead{max-width:1040px;margin:22px auto 0}
.hero-copy{display:contents}
.cta-row{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:32px}
.hero-meta{margin:22px 0 0;color:var(--muted);font-size:14px;letter-spacing:-.01em}
.hero-meta .or::before{content:"· "}
@media (max-width:560px){.hero-meta .or{display:block}.hero-meta .or::before{content:none}}
.hero-meta a{color:var(--white);text-decoration:underline;text-decoration-color:rgba(255,255,255,.3);text-underline-offset:4px}
.hero-meta a:hover{text-decoration-color:#fff}

/* load-in: the copy rises in order, then the phone settles into its pose */
@keyframes hero-in{from{opacity:0;transform:translateY(16px);filter:blur(8px)}}
@keyframes hero-line{from{transform:translateY(105%)}}
@keyframes hero-phone{from{opacity:0;transform:translateY(40px) scale(.96)}}
.hero h1 .hl>span{animation:hero-line .8s var(--ease) backwards}
.hero h1 .hl+.hl>span{animation-delay:.07s}
.hero-card .lead{animation:hero-in .7s var(--ease) .08s both}
.hero .cta-row{animation:hero-in .7s var(--ease) .16s both}
.hero-meta{animation:hero-in .7s var(--ease) .24s both}
.hp-rise{animation:hero-phone .9s cubic-bezier(.2,1.25,.4,1) .4s both}

/* the stage: glow and phone. --tx and --ty are the pointer tilt in degrees, set from the script. */
.hero-stage{position:relative;width:100%;max-width:1180px;height:716px;margin:52px auto 0;display:flex;justify-content:center}
/* the backdrop: a studio. One soft light on the phone and large faint Urdu letters adrift behind. */
.hero-bg{position:absolute;inset:0;pointer-events:none}
.spot{position:absolute;left:50%;top:-34%;width:170%;height:150%;background:
  radial-gradient(38% 42% at 50% 34%,rgba(255,255,255,.09),transparent 72%),
  radial-gradient(46% 40% at 50% 96%,rgba(31,138,92,.2),transparent 72%);
  transform:translateX(-50%);animation:spot-breathe 9s var(--ease) infinite alternate}
@keyframes spot-breathe{from{opacity:.75;transform:translateX(-50%) scale(1)}to{opacity:1;transform:translateX(-50%) scale(1.08)}}
.ur{position:absolute;left:calc(50% + var(--x));top:var(--y);font-size:var(--s);line-height:1.5;color:rgba(255,255,255,var(--a,.05));direction:rtl;white-space:nowrap;user-select:none;transform:translate3d(calc(var(--ty,0) * var(--d,1) * 1px),calc(var(--tx,0) * var(--d,1) * -1px),0);animation:ur-drift var(--t,18s) var(--ease) infinite alternate}
@keyframes ur-drift{from{translate:0 -10px;rotate:-2deg}to{translate:14px 12px;rotate:2deg}}
.u1{--x:-360px;--y:-4%;--s:300px;--a:.06;--d:3;--t:19s}
.u2{--x:150px;--y:-16%;--s:230px;--a:.05;--d:2;--t:15s;animation-direction:alternate-reverse}
.u3{--x:120px;--y:44%;--s:330px;--a:.045;--d:4;--t:22s;filter:blur(2px)}
.u4{--x:-390px;--y:50%;--s:250px;--d:1.5;--t:17s;color:rgba(233,183,58,.09);animation-direction:alternate-reverse}
.u5{--x:-150px;--y:-24%;--s:170px;--a:.04;--d:1;--t:21s;filter:blur(1px)}
.u6{--x:300px;--y:16%;--s:190px;--d:2.5;--t:16s;color:rgba(233,183,58,.08)}
/* no floor line: just the soft shadow the phone leaves below itself */
.floor{position:absolute;left:50%;bottom:30px;width:min(360px,60%);height:34px;background:radial-gradient(closest-side,rgba(0,0,0,.6),transparent);transform:translateX(-50%);display:none}
@keyframes glow-drift{from{transform:translate3d(-4%,2%,0) scale(1.06) rotate(-1.5deg)}to{transform:translate3d(4%,-3%,0) scale(1.16) rotate(1.5deg)}}
@keyframes glow-wander{from{transform:translate3d(-85%,12%,0) scale(.9)}to{transform:translate3d(85%,-8%,0) scale(1.25)}}
.install-glow.off{animation-play-state:paused}
.hero.is-paused .spot,.hero.is-paused .ur,.hero.is-paused .hp-caret{animation-play-state:paused}
@keyframes glow-float{from{transform:translate3d(8%,-6%,0) scale(1)}to{transform:translate3d(-22%,14%,0) scale(1.25)}}

/* the phone, built from layers: cast shadow, a side wall of stacked slices, metal frame, black bezel, glass.
   Everything is sized from --hpw, the phone's width. */
.hp-rise{--hpw:372px;--hpr:calc(var(--hpw) * .145);position:relative;z-index:2;flex:none;width:var(--hpw);height:calc(var(--hpw) * 2.07);perspective:1300px}
.hp{position:absolute;inset:0;transform-style:preserve-3d;transform:rotateX(calc(7deg + var(--tx,0) * 1deg)) rotateY(calc(-27deg + var(--ty,0) * 1deg)) rotateZ(1.5deg)}
.hp-cast{position:absolute;inset:5% 3% 3%;border-radius:var(--hpr);background:rgba(0,0,0,.6);filter:blur(36px);transform:translate3d(-56px,64px,-150px)}
/* twelve slices, 3px apart, read as the body's thickness from the side */
.hp-side{position:absolute;inset:0;transform-style:preserve-3d}
.hp-side i{position:absolute;inset:0;border-radius:var(--hpr);background:#24262a}
.hp-side i:nth-child(1){transform:translateZ(-3px);background:#7b7e85}
.hp-side i:nth-child(2){transform:translateZ(-6px);background:#4a4d53}
.hp-side i:nth-child(3){transform:translateZ(-9px)}
.hp-side i:nth-child(4){transform:translateZ(-12px)}
.hp-side i:nth-child(5){transform:translateZ(-15px);background:#2c2e33}
.hp-side i:nth-child(6){transform:translateZ(-18px);background:#34373c}
.hp-side i:nth-child(7){transform:translateZ(-21px);background:#2c2e33}
.hp-side i:nth-child(8){transform:translateZ(-24px)}
.hp-side i:nth-child(9){transform:translateZ(-27px)}
.hp-side i:nth-child(10){transform:translateZ(-30px);background:#1b1c20}
.hp-side i:nth-child(11){transform:translateZ(-33px);background:#3d4046}
.hp-side i:nth-child(12){transform:translateZ(-36px);background:#0d0e10}
.hp-frame{position:absolute;inset:0;padding:calc(var(--hpw) * .019);border-radius:var(--hpr);background:linear-gradient(135deg,#63666c 0%,#1d1f23 20%,#3d4045 46%,#141518 70%,#50535a 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.42),inset 0 0 0 1px rgba(255,255,255,.07)}
.hp-bezel{height:100%;padding:calc(var(--hpw) * .008);border-radius:calc(var(--hpr) * .87);background:#000}
/* the buttons sit on the side wall, halfway through its depth */
.hp-btn{position:absolute;right:-3px;width:5px;border-radius:0 3px 3px 0;background:linear-gradient(90deg,#16171a,#6a6d73);box-shadow:inset 0 1px 0 rgba(255,255,255,.3);transform:translateZ(-18px) rotateY(60deg);transform-origin:left center}
.hp-btn.pw{top:23%;height:8%}
.hp-btn.vol{top:34%;height:14%}
.hp-screen{position:relative;height:100%;display:flex;flex-direction:column;overflow:hidden;border-radius:calc(var(--hpr) * .81);background:#06100b;container-type:inline-size;text-align:left;color:#fff;user-select:none}
.hp-glare{position:absolute;inset:-30%;z-index:5;pointer-events:none;mix-blend-mode:screen;background:linear-gradient(118deg,transparent 42%,rgba(255,255,255,.075) 49%,rgba(255,255,255,.02) 55%,transparent 61%);transform:translate3d(calc(var(--ty,0) * -1.3%),calc(var(--tx,0) * 1.3%),0)}

/* on the screen: status bar, chat header, messages, message box, keyboard. Sizes are in cqw so the phone scales as one piece. */
.hp-status{position:relative;flex:none;display:flex;align-items:center;justify-content:space-between;height:10cqw;padding:1.6cqw 7.5cqw 0;font-size:3.7cqw;font-weight:600}
.hp-status svg{height:3.1cqw;width:auto}
.hp-cam{position:absolute;left:50%;top:56%;width:3.4cqw;height:3.4cqw;border-radius:50%;background:#000;box-shadow:0 0 0 .5cqw rgba(255,255,255,.07);transform:translate(-50%,-50%)}
.hp-head{flex:none;display:flex;align-items:center;gap:3cqw;padding:2.4cqw 5cqw 3.2cqw;border-bottom:1px solid rgba(255,255,255,.07)}
.hp-head>svg{width:5.6cqw;height:5.6cqw;color:#c7c9cf;margin-left:-1.5cqw}
.hp-av{display:grid;place-items:center;width:10cqw;height:10cqw;border-radius:50%;background:linear-gradient(135deg,var(--green),var(--gold));font-size:4.5cqw;font-weight:600;color:#0d1f18}
.hp-who b{display:block;font-size:4.5cqw;font-weight:500;letter-spacing:-.01em;line-height:1.2}
.hp-who span{display:flex;align-items:center;gap:1.4cqw;font-size:3.3cqw;color:#63d6a0}
.hp-who span::before{content:"";width:1.7cqw;height:1.7cqw;border-radius:50%;background:currentColor}
.hp-chat{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:2.6cqw;padding:4cqw 5.6cqw 3.2cqw;transition:opacity .4s var(--ease)}
.hp-chat.fade{opacity:0}
.msg{position:relative;max-width:82%;padding:2.7cqw 4.2cqw;border-radius:5cqw;font-size:4.3cqw;line-height:1.35;letter-spacing:-.01em;transition:opacity .3s var(--ease),transform .55s cubic-bezier(.3,1.45,.5,1)}
.msg.enter{opacity:0;transform:translateY(12px) scale(.97)}
.msg.in{background:rgba(255,255,255,.1);border-bottom-left-radius:0}
.msg.out{max-width:90%;align-self:flex-end;background:var(--gold-2);color:#1b1a14;font-weight:500;border-bottom-right-radius:0}
.msg::after{content:"";position:absolute;bottom:0;width:2.4cqw;height:3cqw;background:inherit}
.msg.in::after{right:100%;clip-path:polygon(100% 0,100% 100%,0 100%)}
.msg.out::after{left:100%;clip-path:polygon(0 0,100% 100%,0 100%)}
.msg .was{display:block;margin-bottom:.4cqw;font-size:3.4cqw;font-weight:500;color:rgba(27,26,20,.64)}
.msg .en{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .55s cubic-bezier(.3,1.4,.5,1),opacity .35s var(--ease)}
.msg .en>span{min-height:0;overflow:hidden}
.msg .en i{display:block;margin-top:2cqw;padding-top:1.8cqw;border-top:1px solid rgba(255,255,255,.14);font-style:normal;font-size:3.8cqw;color:rgba(255,255,255,.66)}
.msg.open .en{grid-template-rows:1fr;opacity:1}
.tpill{display:inline-flex;align-items:center;gap:1.4cqw;margin:-.8cqw 0 0 .6cqw;padding:1.3cqw 3.2cqw 1.3cqw 2.6cqw;border-radius:5cqw;background:rgba(255,215,106,.14);border:1px solid rgba(255,215,106,.36);color:var(--gold-2);font-size:3.3cqw;font-weight:600;transition:opacity .3s var(--ease),transform .25s var(--ease),background .3s var(--ease),color .3s var(--ease),border-color .3s var(--ease)}
.tpill svg{width:3.8cqw;height:3.8cqw}
.tpill.enter{opacity:0;transform:translateY(6px) scale(.9)}
.tpill.press{transform:scale(.9)}
.tpill.done{background:transparent;border-color:rgba(255,255,255,.14);color:#a5a8ae}
.hp-comp{flex:none;display:flex;align-items:center;gap:2.6cqw;padding:0 4cqw 3.4cqw}
.hp-field{position:relative;flex:1;min-width:0;display:flex;align-items:center;min-height:12.5cqw;padding:2.4cqw 4.4cqw;border-radius:6.5cqw;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);font-size:4.2cqw;line-height:1.3;letter-spacing:-.01em}
.hp-typed{white-space:pre-wrap}
.hp-typed .w{display:inline-block;white-space:pre;transition:opacity .18s var(--ease),filter .18s var(--ease),transform .18s var(--ease)}
.hp-typed .w.o{opacity:0;filter:blur(5px);transform:translateY(-3px)}
.hp-caret{display:inline-block;width:.6cqw;min-width:2px;height:5.2cqw;margin-left:.5cqw;vertical-align:-1cqw;background:var(--gold-2);animation:blink 1s steps(1) infinite}
@keyframes blink{50%{opacity:0}}
.hp-ph{position:absolute;left:4.4cqw;color:var(--muted);opacity:0}
.hp-field.empty .hp-ph{opacity:1;transition:opacity .25s var(--ease)}
.hp-field.empty .hp-caret{margin-left:0}
.hp-send{flex:none;display:grid;place-items:center;width:12.5cqw;height:12.5cqw;border-radius:50%;background:rgba(255,255,255,.08);color:var(--muted);transition:background .25s var(--ease),color .25s var(--ease),transform .15s var(--ease)}
.hp-send svg{width:5.2cqw;height:5.2cqw}
.hp-send.hot{background:var(--gold-2);color:#1b1a14}
.hp-send.go{transform:scale(.88)}
.hp-bar{display:flex;align-items:center;gap:1.8cqw;padding:0 1.6cqw 2.8cqw}
.hp-bar .grow{flex:1}
.hp-bar .ic{flex:none;display:grid;place-items:center;width:9cqw;height:9cqw;border-radius:50%;color:#e9eaee}
.hp-bar .ic svg{width:5.2cqw;height:5.2cqw}
.hp-bar .mic{background:rgba(255,255,255,.08)}
.hp-bar .tr{transition:background .3s var(--ease),color .3s var(--ease),transform .15s var(--ease)}
.hp-bar .tr.on{background:var(--gold-2);color:#1b1a14}
.hp-bar .tr.press{transform:scale(.88)}
.hp-bar .tr.spin svg{animation:spin .6s var(--ease) 1}
@keyframes spin{to{transform:rotate(360deg)}}
.hp-bar .chipk{flex:none;display:inline-flex;align-items:center;height:8cqw;padding:0 3.2cqw;border-radius:5cqw;background:rgba(255,255,255,.07);font-size:3.5cqw;font-weight:500;color:#d5d7dc;white-space:nowrap}
.hp-bar .dir{transition:transform .15s var(--ease)}
.hp-bar .dir.flip{transform:perspective(200px) rotateX(90deg)}
.hp-nav{flex:none;display:grid;place-items:center;height:7cqw;background:#1b1f27}
.hp-nav i{width:30cqw;height:1.1cqw;border-radius:1cqw;background:rgba(255,255,255,.5)}

/* keyboard: shared with the typing scene further down the page */
.kb{background:#1b1f27;border-radius:14px 14px 0 0;padding:1.6cqw 1.2cqw 0;user-select:none;color:#e9eaee}
.kb .row{display:flex;justify-content:center;gap:1.1cqw;margin-bottom:1.1cqw}
.kb .row.r2{padding:0 4.4cqw}
.kb b{display:flex;align-items:center;justify-content:center;width:8.5cqw;height:6.4cqw;border-radius:50px;font-weight:400;font-size:3.1cqw;line-height:1;transition:background .12s,transform .12s;position:relative}
.kb b.fn{background:#2a2f3a;width:9.6cqw;font-size:1.9cqw;font-weight:500;color:#dfe1e6}
.kb b.fn svg{width:2.6cqw;height:2.6cqw}
.kb b.w2{width:12.4cqw}
.kb b.space{flex:1;max-width:46cqw;background:#2a2f3a}
.kb b.enter{background:#2a2f3a}
.kb b.hit{background:rgba(255,255,255,.22);transform:translateY(-.4cqw)}
.kb b.space.hit,.kb b.fn.hit{background:#3a4150}
.kb .row.bot{margin-bottom:0;padding-bottom:1.6cqw}
.hp-screen .kb{flex:none;border-radius:5cqw 5cqw 0 0;padding:2.4cqw 1.5cqw 0}
.hp-screen .kb .row{gap:1.3cqw;margin-bottom:2cqw}
.hp-screen .kb .row.r2{padding:0 4.6cqw}
.hp-screen .kb b{width:8.4cqw;height:11cqw;font-size:5.2cqw;transition:background .12s var(--ease),transform .12s var(--ease)}
.hp-screen .kb b.fn{width:11.5cqw;font-size:3.4cqw}
.hp-screen .kb b.fn svg,.hp-screen .kb b.pl svg{width:4.8cqw;height:4.8cqw}
.hp-screen .kb b.w2{width:15cqw}
.hp-screen .kb b.space{flex:1;max-width:none;width:auto}
.hp-screen .kb b.hit{background:rgba(255,255,255,.26);transform:translateY(-2px)}
.hp-screen .kb .row.bot{padding-bottom:2cqw}

/* shown only when motion is reduced: the visitor picks the scene */
.hp-switch{display:none}
@media (prefers-reduced-motion:reduce){
  .hp-switch{position:absolute;z-index:4;left:50%;bottom:22px;display:inline-flex;gap:2px;padding:4px;border-radius:var(--r-pill);background:rgba(7,15,12,.88);border:1px solid rgba(255,255,255,.14);transform:translateX(-50%)}
  .hp-switch button{height:36px;padding:0 14px;border-radius:var(--r-pill);font-size:13px;font-weight:500;color:#c7c9cf;white-space:nowrap}
  .hp-switch button[aria-pressed="true"]{background:var(--gold-2);color:#1b1a14}
  .hero h1 .hl>span,.hero-card .lead,.hero .cta-row,.hero-meta,.hp-rise,.hp-caret,.spot,.ur{animation:none}
}

@media (max-width:1099px){
  .hp-rise{--hpw:340px}
  .hero-stage{height:654px}
}
/* desktop: copy on the left, the whole phone on the right, sized to fit the first screen */
@media (min-width:1100px){
  .hero-card{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;column-gap:24px;min-height:calc(100svh - 28px);padding:96px clamp(40px,6.5vw,104px) 0;text-align:left}
  .hero-copy{display:block}
  .hero h1{font-size:min(64px,4.3vw)}
  .hero-card .lead{max-width:500px;margin-left:0}
  .cta-row{justify-content:flex-start}
  .hero-stage{height:auto;margin:0;padding:20px 0 76px;align-items:center}
  .hp-rise{--hpw:clamp(290px,calc((100svh - 250px) / 2.07),372px)}
  .floor{display:block}
  .hp-cast{background:rgba(0,0,0,.42)}
}
@media (max-width:760px){
  .hero{padding:10px}
  .hero-card{padding:108px 16px 0}
  .hero-card .lead{margin-top:16px}
  .cta-row{margin-top:28px}
  .hero-meta{line-height:1.7}
  .hero-stage{margin-top:40px}
}
@media (max-width:480px){
  .cta-row{flex-direction:column;align-items:stretch;width:100%;max-width:300px;margin-left:auto;margin-right:auto}
  .cta-row .btn{justify-content:space-between}
  .cta-row .btn.soon small{margin-right:auto}
  /* phones show the phone flat, from the front */
  .hp-rise{--hpw:78vw;perspective:none}
  .hero-stage{height:150vw}
  .hp{transform:none}
  .hp-rise .hp-side,.hp-rise .hp-cast,.hp-rise .hp-btn{display:none}
  .hp-glare{transform:none}
  .u3,.u5{display:none}
  .ur{font-size:calc(var(--s) * .55)}
  .u1{--x:-52vw;--y:2%}.u2{--x:14vw;--y:-8%}.u4{--x:-50vw;--y:56%}.u6{--x:20vw;--y:40%}
}

/* ---------- steps ---------- */
.steps{background:var(--white);padding:120px 0 40px}
.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;counter-reset:step}
.step{--a:31,138,92;counter-increment:step;position:relative;background:var(--light);border-radius:var(--r-card) var(--r-card) 28px 28px;padding:26px;overflow:hidden;display:flex;flex-direction:column}
/* each step has its own icon and colour: green keyboard, gold translate, ember send */
.step:nth-child(2){--a:168,120,8}
.step:nth-child(3){--a:220,104,3}
.step::before{content:counter(step);position:absolute;right:24px;top:12px;font-size:64px;font-weight:600;letter-spacing:-.05em;line-height:1;color:rgba(var(--a),.13);pointer-events:none}
.step .n{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:rgba(var(--a),.1);border:1px solid rgba(var(--a),.32);color:rgb(var(--a));margin-bottom:18px}
.step .n svg{width:22px;height:22px}
.step h3{margin-bottom:8px}
.step .sub{margin-bottom:24px}
.step .n{transition:background .35s,color .35s,border-color .35s}
.step.live .n{background:rgb(var(--a));border-color:rgb(var(--a));color:#fff}
/* three live scenes, drawn in the page: typing, translating, sending. Sizes are in cqw so they scale with the card. */
.scene{margin-top:auto;position:relative;aspect-ratio:1/1;border-radius:14px 14px 22px 22px;overflow:hidden;container-type:inline-size;color:#fff;box-shadow:0 -1px 0 rgba(0,0,0,.06),0 20px 40px -20px rgba(0,0,0,.25);user-select:none}
.sc-in{position:absolute;inset:0;display:flex;flex-direction:column}
.sc-field{position:relative;display:flex;align-items:center;min-height:13cqw;padding:0 5cqw;border-radius:7cqw;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.1);font-size:5cqw;letter-spacing:-.01em;white-space:nowrap}
.sc-text{transition:opacity .25s,filter .25s}
.sc-text.swap{opacity:0;filter:blur(6px)}
.sc-caret{width:.6cqw;min-width:2px;height:6cqw;margin-left:.6cqw;background:var(--gold-2);animation:blink 1s steps(1) infinite}
/* 1: typing — the keyboard fills the card */
.s-type{background:#0b1611}
.s-type .sc-composer{padding:5cqw 5cqw 4.5cqw}
/* the toolbar, as on the real keyboard: tools, suggestions, Translate, the two Auto settings, mic */
.sc-bar{display:flex;align-items:center;gap:1.2cqw;padding:0 1.4cqw 3cqw;color:#e9eaee}
.sc-bar .ic{flex:none;display:grid;place-items:center;width:8cqw;height:8cqw;border-radius:50%}
.sc-bar .ic svg{width:5.2cqw;height:5.2cqw}
.sc-bar .mic{background:rgba(255,255,255,.1)}
.sc-bar .chip{flex:none;display:inline-flex;align-items:center;height:7cqw;padding:0 2.4cqw;border-radius:4cqw;background:rgba(255,255,255,.08);font-size:3cqw;font-weight:500;color:#d5d7dc;white-space:nowrap}
.sc-sugg{flex:1;min-width:0;display:grid;grid-template-columns:repeat(3,1fr);font-size:3.4cqw;color:#e9eaee;text-align:center}
.sc-sugg span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.s-type .kb{margin-top:auto;border-radius:5cqw 5cqw 0 0;padding:2.6cqw 1.6cqw 0}
.s-type .kb .row{gap:1.3cqw;margin-bottom:2.2cqw}
.s-type .kb .row.r2{padding:0 4.6cqw}
.s-type .kb b{width:8.4cqw;height:11cqw;font-size:5.2cqw}
.s-type .kb b.fn{width:11.5cqw;font-size:3.4cqw}
.s-type .kb b.fn svg{width:4.6cqw;height:4.6cqw}
.s-type .kb b.w2{width:15cqw}
.s-type .kb b.space{flex:1;max-width:none;width:auto}
.s-type .kb b.hit{background:var(--gold-2);color:#1b1a14;transform:translateY(-1.2cqw) scale(1.12)}
.s-type .kb .row.bot{padding-bottom:3cqw}
.s-type .kb b.pl{font-size:5.2cqw}
.s-type .kb b.pl svg{width:5.4cqw;height:5.4cqw}
.s-type .kb b.enter{background:#3a4150}
/* 2: translating — the key is the whole picture */
.s-tr{background:radial-gradient(70% 60% at 50% 58%,#1c5b43,#0d1f18 75%)}
.s-tr .sc-in{align-items:center;padding:6cqw 5cqw 7cqw}
.s-tr .sc-field{align-self:stretch;justify-content:center}
.sc-key{position:relative;display:grid;place-items:center;width:30cqw;height:30cqw;margin:auto 0}
.sc-key span{position:relative;display:grid;place-items:center;width:22cqw;height:22cqw;border-radius:50%;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);color:#fff;transition:background .3s,color .3s,transform .2s var(--ease),box-shadow .3s}
.sc-key svg{width:10cqw;height:10cqw}
.sc-key i{position:absolute;inset:0;border-radius:50%;border:1px solid rgba(255,215,106,.5);opacity:0}
.s-tr.press .sc-key span{transform:scale(.88)}
.s-tr.work .sc-key span,.s-tr.done .sc-key span{background:var(--gold-2);border-color:var(--gold-2);color:#1b1a14;box-shadow:0 2cqw 8cqw rgba(233,183,58,.35)}
.s-tr.work .sc-key svg{animation:spin 1.1s var(--ease) infinite}
.s-tr.work .sc-key i{animation:sc-ring 1.3s ease-out infinite}
.s-tr.work .sc-key i+i{animation-delay:.45s}
@keyframes sc-ring{from{opacity:.9;transform:scale(.72)}to{opacity:0;transform:scale(1.25)}}
.sc-lang{display:flex;align-items:center;gap:2.5cqw;font-size:4cqw;font-weight:500;color:rgba(255,255,255,.5)}
.sc-lang svg{width:4cqw;height:4cqw}
.sc-lang span{transition:color .3s}
.s-tr:not(.done) .sc-lang .from,.s-tr.done .sc-lang .to{color:var(--gold-2)}
.sc-tones{display:flex;gap:2cqw;margin-top:5cqw}
.sc-tones span{padding:1.6cqw 3.6cqw;border-radius:5cqw;background:rgba(255,255,255,.08);font-size:3.6cqw;font-weight:500;color:#c7c9cf}
.sc-tones .on{background:#fff;color:#161b26}
/* 3: sending — a chat, seen from the thread */
.s-send{background:#06100b}
.sc-thread{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:flex-end;gap:2.6cqw;padding:5cqw 5cqw 4cqw}
.sc-thread p{margin:0;align-self:flex-start;max-width:80%;padding:2.8cqw 4.6cqw;border-radius:6cqw;background:#252c37;font-size:4.8cqw;line-height:1.3;transition:opacity .35s,transform .45s var(--ease)}
.sc-thread p.in{border-bottom-left-radius:1.6cqw}
.sc-thread p.out{align-self:flex-end;background:var(--green);border-bottom-right-radius:1.6cqw}
.sc-thread small{display:flex;align-items:center;justify-content:flex-end;gap:1.2cqw;margin-top:.8cqw;font-size:3.1cqw;color:rgba(255,255,255,.8);opacity:0;transition:opacity .3s}
.sc-thread small svg{width:4cqw;height:2.4cqw}
.s-send.seen .sc-thread small{opacity:1}
.s-send:not(.sent) .out,.s-send:not(.replied) .reply{display:none}
.s-send .out,.s-send .reply{animation:sc-pop .45s var(--ease)}
@keyframes sc-pop{from{opacity:0;transform:translateY(5cqw) scale(.96)}}
.sc-thread .dots{display:none;gap:1.4cqw;padding:4cqw 4.6cqw}
.s-send.typing .dots{display:flex}
.dots i{width:1.8cqw;height:1.8cqw;border-radius:50%;background:#9aa0aa;animation:sc-dot 1s ease-in-out infinite}
.dots i:nth-child(2){animation-delay:.15s}.dots i:nth-child(3){animation-delay:.3s}
@keyframes sc-dot{0%,60%,100%{transform:none;opacity:.5}30%{transform:translateY(-1.4cqw);opacity:1}}
.sc-composer{display:flex;align-items:center;gap:3cqw;padding:0 5cqw 5cqw}
.sc-composer .sc-field{flex:1}
.sc-ph{color:var(--muted)}
.sc-text:not(:empty)+.sc-ph{display:none}
.sc-send{flex:none;display:grid;place-items:center;width:13cqw;height:13cqw;border-radius:50%;background:var(--green);transition:transform .15s}
.sc-send svg{width:5.5cqw;height:5.5cqw}
.s-send.press .sc-send{transform:scale(.85)}
@media (max-width:900px){.steps{padding-top:72px}.steps-grid{gap:12px}.step{padding:18px}.step h3{font-size:18px}.step .sub{font-size:14px}}
@media (max-width:640px){.steps{padding:56px 0 24px}.steps-grid{grid-template-columns:1fr;gap:14px}.step{padding:22px}.step h3{font-size:20px}.step .sub{font-size:15px}.step .n{margin-bottom:14px}}

/* ---------- mission ---------- */
.mission{background:var(--white);padding:40px 14px 120px}
.mission-card{background:var(--light);border-radius:var(--r-big);padding:clamp(60px,9vw,140px) clamp(24px,8vw,120px)}
.mission p{margin:0 0 .5em;font-size:clamp(26px,3.6vw,44px);line-height:1.25;font-weight:500;letter-spacing:-.03em;color:var(--ink)}
.mission .w{opacity:.2;transition:opacity .25s linear}
.mission .w.lit{opacity:1}
.mission .g{color:var(--green)}
.mission .o{color:var(--ember)}
.mission .y{color:#a87808}
@media (max-width:640px){.mission{padding:14px 10px 72px}.mission-card{padding:48px 24px}.mission p{font-size:24px}}
@media (prefers-reduced-motion:reduce){.mission .w{opacity:1}}

/* ---------- features ---------- */
.features{background:var(--white);padding:0 0 140px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.card{background:var(--light);border-radius:var(--r-card);padding:28px;overflow:hidden;position:relative}
.card h3{margin-top:22px}
.card .sub{margin-top:8px;max-width:420px}
.card .art{border-radius:12px;overflow:hidden}
.card .art>img{display:block;width:100%}
.card.flip{display:flex;flex-direction:column}
.card.flip .art{order:-1}
.card.dark{background:#161b26;color:#fff}
.card.dark h3{color:#fff}
.card.dark .sub{color:var(--muted)}
.wide{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.3fr;gap:28px;align-items:center}
.wide .art{border-radius:12px}
/* three quiet tiles: one material, one layout, a coloured glyph each, and a short spec list in place of decoration */
.trio{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:20px}
.trio>div{display:flex;flex-direction:column;padding:32px;border-radius:var(--r-big);background:var(--light)}
.t-ico{display:grid;place-items:center;width:56px;height:56px;border-radius:17px;color:#fff}
.t-ico svg{width:28px;height:28px}
.t-off .t-ico{background:linear-gradient(160deg,#f2c04a,#d99a1c)}
.t-priv .t-ico{background:linear-gradient(160deg,#2aa371,var(--green-2))}
.t-zero .t-ico{background:linear-gradient(160deg,#f08a2e,var(--ember))}
.trio h3{margin-top:24px;font-size:26px;letter-spacing:-.035em;line-height:1.15}
.trio .sub{margin-top:10px;font-size:16px;line-height:1.55}
.t-spec{margin:auto 0 0;padding-top:28px}
.t-spec div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid #e3e4e8;font-size:15px;line-height:1.4}
.t-spec dt{color:var(--muted-ink)}
.t-spec dd{margin:0;font-weight:500;color:var(--ink);text-align:right}
@media (max-width:1100px){.trio>div{padding:26px}.trio h3{font-size:23px}}
@media (max-width:900px){.trio{grid-template-columns:1fr;gap:14px}.t-spec{padding-top:22px}}
@media (max-width:900px){.wide{grid-template-columns:1fr}.features{padding-bottom:96px}}
@media (max-width:700px){
  .grid2{grid-template-columns:1fr;gap:14px}
  .card{padding:22px}
  .trio{margin-top:14px}
  .trio>div{padding:24px}
  .features{padding-bottom:72px}
}

/* tone demo inside a card */
.tones{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.tone{height:32px;padding:0 14px;border-radius:var(--r-pill);background:var(--white);border:1px solid #e6e7ea;font-size:13px;font-weight:500;color:var(--body);transition:all .2s}
.tone.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.tone:not(.on):hover{border-color:#c9cbd1;color:var(--ink)}
@media (pointer:coarse){.tone{height:40px;padding:0 16px;font-size:14px}}
.tone-out{background:var(--white);border:1px solid #e6e7ea;border-radius:12px;padding:16px 18px;min-height:96px}
.tone-out .en{font-size:13px;color:var(--muted-ink);margin-bottom:6px}
.tone-out .ru{font-size:19px;font-weight:500;letter-spacing:-.01em;color:var(--ink)}
.spell{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center;background:var(--white);border:1px solid #e6e7ea;border-radius:12px;padding:14px 18px;margin-bottom:10px}
.spell .bad{color:var(--muted-ink);text-decoration:line-through;font-size:17px}
.spell .arr{color:var(--muted-ink)}
.spell .good{font-size:17px;font-weight:500;color:var(--ink)}
.spell .good .urdu{font-size:15px;color:var(--green-2);margin-left:8px;display:inline-block}
/* voice card: a source, a swap button and a result. data-dir on the card says which way it runs. */
.voice{align-items:stretch;background:linear-gradient(150deg,#1a202b,#141922 60%,#12231d)}
.v-copy{display:flex;flex-direction:column;justify-content:center}
.voice[data-dir="ur"] .for-en,.voice[data-dir="en"] .for-ur{display:none}
.v-seg{position:relative;align-self:flex-start;display:grid;grid-template-columns:1fr 1fr;margin-top:24px;padding:4px;border-radius:var(--r-pill);background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08)}
.v-seg button{position:relative;z-index:1;min-height:44px;padding:0 16px;border-radius:var(--r-pill);font-size:14px;font-weight:500;letter-spacing:-.01em;color:#b9bcc2;white-space:nowrap;transition:color .3s var(--ease)}
.v-seg button[aria-pressed="true"]{color:#1b1a14}
.v-seg i{position:absolute;left:4px;top:4px;bottom:4px;width:calc(50% - 4px);border-radius:var(--r-pill);background:var(--gold-2);transition:transform .45s var(--ease)}
.voice[data-dir="en"] .v-seg i{transform:translateX(100%)}
.v-stage{min-width:0}
/* the right side is a chat: header, a thread, voice notes as bubbles, the result attached where the app would put it */
.v-chat{overflow:hidden;border-radius:22px;background:#0c1512;border:1px solid rgba(255,255,255,.1);box-shadow:0 24px 60px -20px rgba(0,0,0,.6)}
.v-head{display:flex;align-items:center;gap:12px;padding:12px 12px 12px 16px;background:#16211d;border-bottom:1px solid rgba(255,255,255,.06)}
.v-av{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,var(--green),var(--gold));font-size:16px;font-weight:600;color:#0d1f18}
.v-who{flex:1;min-width:0;line-height:1.25}
.v-who b{display:block;font-size:16px;font-weight:500;color:#fff}
.v-who span{font-size:12.5px;color:#63d6a0}
.v-swap{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.07);color:var(--gold-2);transition:transform .45s var(--ease),background .2s var(--ease)}
.v-swap:hover{background:rgba(255,255,255,.13)}
.voice[data-dir="en"] .v-swap{transform:rotate(180deg)}
.v-swap svg{width:20px;height:20px}
.v-swap:focus-visible{border-radius:50%}
.v-thread{display:flex;flex-direction:column;gap:8px;min-height:268px;padding:18px 14px 16px;justify-content:flex-end}
.v-bub{position:relative;width:min(88%,440px);padding:8px 10px 20px;border-radius:18px;background:#1f2a27}
.v-bub.in{align-self:flex-start;border-top-left-radius:4px}
.v-meta{position:absolute;right:12px;bottom:6px;display:inline-flex;align-items:center;gap:4px;font-size:11px;color:rgba(255,255,255,.55)}
.v-meta svg{width:16px;height:10px;color:#7fd1ff}
/* your own recording sits in the composer strip, as it does while you hold the mic */
.v-rec{align-self:stretch;order:3;margin:8px -14px -16px;padding:12px 14px 14px;background:#16211d;border-top:1px solid rgba(255,255,255,.06)}
.v-rk{display:flex;align-items:center;gap:8px;font-size:12.5px;color:#b9bcc2}
.v-rk i{width:8px;height:8px;border-radius:50%;background:#ff5a4f}
.v-rec .vnote{margin-top:8px}
.v-out{position:relative}
.v-k{display:flex;font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase}
.v-big{margin:6px 0 0;font-size:19px;font-weight:500;letter-spacing:-.02em;line-height:1.35;color:#fff}
.v-big.urdu{margin-top:2px;font-size:21px;font-weight:400;letter-spacing:0;line-height:2;text-wrap:wrap}
.v-rom{margin:0;font-size:14px;color:rgba(255,255,255,.72)}
/* Urdu note in: the English hangs under the incoming bubble, like a caption */
.voice[data-dir="ur"] .v-out{align-self:flex-start;max-width:88%;min-height:76px;padding:12px 14px 14px;border-radius:4px 18px 18px 18px;background:#1f2a27;border-left:3px solid var(--gold-2)}
.voice[data-dir="ur"] .v-k{color:var(--gold-2)}
/* English in: the Urdu voice message is yours to send, so it is an outgoing bubble */
.voice[data-dir="en"] .v-out{align-self:flex-end;width:88%;min-height:150px;padding:8px 10px 24px;border-radius:18px 4px 18px 18px;background:var(--green-2)}
.voice[data-dir="en"] .v-k{padding:4px 6px 0;color:rgba(255,255,255,.7)}
.voice[data-dir="en"] .v-out .vnote{margin-top:6px;background:rgba(0,0,0,.18)}
.voice[data-dir="en"] .v-big,.voice[data-dir="en"] .v-rom{padding:0 6px}
.v-hint{margin:12px 4px 0;font-size:13px;line-height:1.45;color:#8d9097}
/* while the source plays, the result waits; when it ends, the result arrives */
.v-out>div:not(.v-k){transition:opacity .35s var(--ease),transform .5s var(--ease),filter .35s var(--ease)}
.v-out.wait>div:not(.v-k){opacity:.16;filter:blur(5px);transform:translateY(4px)}
.v-out.wait::after{content:"Listening on the phone…";position:absolute;left:16px;top:38px;font-size:15px;color:#dff3e9;animation:t-live 1s var(--ease) infinite alternate}
@keyframes t-live{from{opacity:.35}}
@keyframes v-show{from{opacity:0;transform:translateY(8px);filter:blur(6px)}}
.v-out.show>div:not(.v-k){animation:v-show .55s var(--ease)}
/* the player: a real button, a waveform that fills as it plays, and the time */
.vnote{display:flex;align-items:center;gap:12px;padding:4px 10px 4px 4px;border-radius:999px}
.vplay{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--gold-2);color:#1b1a14;transition:transform .2s var(--ease),filter .2s var(--ease)}
.vplay:hover{filter:brightness(1.07)}
.vplay:active{transform:scale(.92)}
.vplay:focus-visible{border-radius:50%}
.vplay svg{width:20px;height:20px}
.vplay .pa,.vplay.playing .pl{display:none}
.vplay.playing .pa{display:block}
.vwave{position:relative;flex:1;min-width:0;height:34px;overflow:hidden}
.vbars{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;gap:1.5px}
.vbars i{flex:1;min-width:1px;max-width:4px;border-radius:2px;background:rgba(255,255,255,.28)}
.vbars.lit i{background:var(--gold-2)}
.vbars.lit{clip-path:inset(0 calc(100% - var(--p,0%)) 0 0)}
.vtime{flex:none;font-size:13px;font-variant-numeric:tabular-nums;color:var(--muted)}
@media (max-width:520px){.v-seg{align-self:stretch}.v-seg button{padding:0 8px;font-size:13px}.v-big{font-size:18px}.v-big.urdu{font-size:20px}.v-bub{width:94%}.voice[data-dir="ur"] .v-out{max-width:94%}.voice[data-dir="en"] .v-out{width:94%}}
@media (prefers-reduced-motion:reduce){.v-out.show>div:not(.v-k),.v-out.wait::after{animation:none}.v-seg i,.v-swap{transition:none}}
.kbf-card{grid-column:1/-1}
.kbf-head{max-width:620px}
.kbf-head h3{margin-top:0}
.card .kbf-head .sub{max-width:none}
.kbf{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}
.kbf figure{margin:0}
.kbf .vis{aspect-ratio:480/440;border-radius:14px;overflow:hidden;container-type:inline-size}
.kbf figcaption{margin-top:14px;font-size:15px;line-height:1.5;color:var(--body)}
.kbf figcaption strong{display:block;margin-bottom:2px;font-size:17px;font-weight:500;letter-spacing:-.02em;color:var(--ink)}
/* three mockups in the app's own dark look: slate keyboard, periwinkle highlights, green send button */
.kbf .vis{background:#1c1f27;color:#e6e8ee;user-select:none}
.swipe svg{display:block;width:100%;height:100%}
.k-top{fill:#0a1511}.k-body{fill:#1c1f27}.k-field{fill:#16221e}
.k-send{fill:#1f9d55}.k-sendi{fill:#fff}
.k-fn{fill:#333a48}.k-space{fill:#2b303b}.k-enter{fill:#3d4962}
.swipe text{fill:#e6e8ee;font-size:29px;text-anchor:middle}
.swipe .ln{fill:none;stroke:#e6e8ee;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.swipe .fl{fill:#e6e8ee}
.swipe .k-ph,.swipe .k-msg{text-anchor:start;font-size:25px}
.swipe .k-ph{fill:#7d8a86}
.swipe .hints text{font-size:11px;fill:#9499a5}
.swipe .t-auto{font-size:17px;fill:#c9ccd4}
.swipe .t-best,.swipe .t-sug{font-size:21px}
.swipe .t-best{font-weight:600}
.swipe .k-123{font-size:19px;font-weight:500}
.swipe .k-p{font-size:28px}
.swipe .lo text{font-size:31px}
.k-caret{fill:#e6e8ee}
.sw-trail{fill:none;stroke:#93a2e8;stroke-width:11;stroke-linecap:round;stroke-linejoin:round;opacity:.8;stroke-dasharray:1;animation:sw-trail 5.4s var(--ease) infinite}
/* while the finger glides the keys are capitals and the toolbar shows its settings; once the word lands the suggestions appear and the keys drop to lowercase */
.swipe .k-msg,.swipe .t-b,.swipe .lo{animation:sw-after 5.4s var(--ease) infinite}
.swipe .k-ph,.swipe .t-a,.swipe .up,.swipe .hints{animation:sw-before 5.4s var(--ease) infinite}
.k-caret{animation:sw-caret 5.4s var(--ease) infinite}
@keyframes sw-trail{0%,10%{stroke-dashoffset:1;opacity:.8}52%,56%{stroke-dashoffset:0;opacity:.8}62%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes sw-after{0%,56%{opacity:0}62%,94%{opacity:1}100%{opacity:0}}
@keyframes sw-before{0%,56%{opacity:1}62%,94%{opacity:0}100%{opacity:1}}
@keyframes sw-caret{0%,56%{transform:none}62%,94%{transform:translateX(70px)}100%{transform:none}}
.swipe .hints{animation-name:sw-hints}
@keyframes sw-hints{0%,100%{opacity:1}}

.kpan{display:flex;flex-direction:column;height:100%}
.kc{flex:none;display:flex;align-items:center;gap:3cqw;height:20.8cqw;padding:0 3cqw;background:#0a1511}
.kc-f{flex:1;min-width:0;display:flex;align-items:center;height:12.5cqw;padding:0 5.4cqw;border-radius:6.25cqw;background:#16221e;font-size:5.2cqw;white-space:nowrap}
.kc-f i{flex:none;width:.5cqw;min-width:2px;height:6.2cqw;margin-left:.6cqw;background:#e6e8ee;animation:blink 1s steps(1) infinite}
.kc-ph{color:#7d8a86}
.kc-s{flex:none;display:grid;place-items:center;width:12.5cqw;height:12.5cqw;border-radius:50%;background:#1f9d55;color:#fff}
.kc-s svg{width:6.4cqw;height:6.4cqw}
.kp{flex:1;min-height:0;display:flex;flex-direction:column;padding:3cqw 3cqw 2.4cqw}
.e-top{display:flex;align-items:center;gap:2.4cqw}
.rb{flex:none;display:grid;place-items:center;width:9.6cqw;height:9.6cqw;border-radius:50%;background:#2b303b}
.rb.flat{background:none}
.rb svg{width:5.2cqw;height:5.2cqw}
.e-search{flex:1;display:flex;align-items:center;gap:2.6cqw;height:9.6cqw;padding:0 4cqw;border-radius:5cqw;background:#2b303b;font-size:4.2cqw;color:#c3c7d0}
.e-search svg{width:4.6cqw;height:4.6cqw}
.e-cats{display:flex;justify-content:space-between;align-items:center;margin-top:2.6cqw;padding-right:22cqw}
.e-cats span{display:grid;place-items:center;width:7.6cqw;height:7.6cqw;border-radius:50%;color:#c3c7d0}
.e-cats svg{width:4.8cqw;height:4.8cqw}
.e-cats .on{background:#b7c4ff;color:#1a2340}
.e-lab{margin:2.2cqw 0 0 1.6cqw;font-size:3.3cqw;color:#b5b9c3}
.e-grid{flex:1;min-height:0;display:grid;grid-template-columns:repeat(8,1fr);align-items:center;justify-items:center;font-size:7cqw;line-height:1}
.e-grid span{display:grid;place-items:center;width:10cqw;height:10cqw;border-radius:50%}
.e-bar{flex:none;display:flex;align-items:center;gap:1.6cqw;margin-top:1.4cqw;font-size:3.7cqw;font-weight:500}
.e-bar b{padding:0 2.2cqw;font-weight:500;font-size:4.2cqw}
.e-bar span{display:grid;place-items:center;min-width:11.6cqw;height:8.2cqw;padding:0 2cqw;border-radius:5cqw;background:#2b303b}
.e-bar span svg{width:5cqw;height:5cqw}
.e-bar .on{background:#b7c4ff;color:#1a2340}
.e-bar i{flex:1}
.e-bar>svg{width:5.6cqw;height:5.6cqw;margin-right:1.6cqw}
.emo-ins{margin-left:1.4cqw;animation:emo-ins 5s var(--ease) infinite}
.e-grid .pick{animation:emo-pick 5s var(--ease) infinite}
@keyframes emo-pick{0%,34%,58%,100%{background:transparent;transform:none}40%{background:rgba(183,196,255,.3);transform:scale(.86)}46%,52%{background:rgba(183,196,255,.3);transform:scale(1.16)}}
@keyframes emo-ins{0%,46%{opacity:0;transform:scale(.4) translateY(4cqw)}54%,92%{opacity:1;transform:none}100%{opacity:0;transform:none}}

.c-title{flex:1;font-size:4.8cqw;font-weight:500}
.c-tog{flex:none;width:10.5cqw;height:6cqw;padding:.8cqw;border-radius:4cqw;background:#b7c4ff}
.c-tog b{display:block;width:4.4cqw;height:4.4cqw;margin-left:auto;border-radius:50%;background:#1a2340}
.c-list{display:grid;grid-template-columns:1fr 1fr;gap:2cqw;margin-top:1.8cqw}
.c-list span{display:flex;align-items:flex-start;gap:1.6cqw;min-height:12.4cqw;padding:2.6cqw 3.4cqw;border-radius:3.6cqw;background:#2b303b;font-size:3.8cqw;line-height:1.3}
.c-list svg{flex:none;width:4.2cqw;height:4.2cqw;margin-top:.5cqw;color:#b7c4ff}
.c-list .tap{animation:clip-tap 5s var(--ease) infinite}
@keyframes clip-tap{0%,30%,62%,100%{background:#2b303b;color:#e6e8ee;transform:none}36%{background:#b7c4ff;color:#1a2340;transform:scale(.95)}42%,54%{background:#b7c4ff;color:#1a2340;transform:none}}
.c-paste{animation:clip-in 5s var(--ease) infinite}
.clipb .kc-ph{position:absolute;animation:clip-ph 5s var(--ease) infinite}
.clipb .kc-f{position:relative}
@keyframes clip-in{0%,40%{opacity:0}46%,92%{opacity:1}100%{opacity:0}}
@keyframes clip-ph{0%,40%{opacity:1}46%,92%{opacity:0}100%{opacity:1}}
@media (prefers-reduced-motion:reduce){.swipe *,.emo *,.clipb *{animation:none!important}.swipe .k-ph,.swipe .t-a,.swipe .up,.sw-trail,.clipb .kc-ph{opacity:0}.k-caret{transform:translateX(70px)}}
@media (max-width:700px){.kbf{grid-template-columns:1fr;gap:26px}}

/* ---------- advantages (dark) ---------- */
.dark{background:var(--page);padding:14px}
.dark-card{background:var(--dark);border:1px solid var(--line-dark);border-radius:var(--r-big);padding:clamp(60px,8vw,110px) clamp(20px,6vw,96px);position:relative;overflow:hidden}
.dark-card::before{content:"";position:absolute;right:-20%;top:-30%;width:70%;height:120%;background:radial-gradient(closest-side,rgba(233,183,58,.12),transparent 70%);pointer-events:none;will-change:transform;animation:glow-float 12s ease-in-out infinite alternate}
.adv{display:grid;grid-template-columns:1fr 1.1fr;gap:60px;align-items:center;margin-top:60px}
.adv-list{display:flex;flex-direction:column}
.adv-item{text-align:left;padding:16px 0 16px 22px;border-left:1px solid var(--line-dark);position:relative;transition:border-color .3s}
.adv-item::before{content:"";position:absolute;left:-1.5px;top:0;bottom:0;width:2px;background:#fff;transform:scaleY(0);transform-origin:top;transition:none}
.adv-item.on::before{animation:advbar 5.6s linear forwards}
@keyframes advbar{from{transform:scaleY(0)}to{transform:scaleY(1)}}
.adv-item.on.paused::before{animation-play-state:paused}
.adv-item h3{font-size:22px;color:var(--muted);transition:color .3s}
.adv-item.on h3{color:#fff}
.adv-item .sub{max-height:0;overflow:hidden;opacity:0;transition:max-height .5s var(--ease),opacity .4s,margin .4s;margin-top:0}
.adv-item.on .sub{max-height:170px;opacity:1;margin-top:8px}
.adv-stage{position:relative;border-radius:20px;overflow:hidden;aspect-ratio:1/1.04;background:#0b1a14;box-shadow:0 30px 80px rgba(0,0,0,.45)}
.adv-stage .bg{position:absolute;inset:0;opacity:0;transition:opacity .6s var(--ease)}
.adv-stage .bg.on{opacity:1}
.bg.g1{background:linear-gradient(135deg,#1c5b43,#e9b73a 55%,#dc6803)}
.bg.g2{background:linear-gradient(160deg,#0f3d2e,#1f8a5c 60%,#7fd1a8)}
.bg.g3{background:linear-gradient(135deg,#dc6803,#ffd76a 60%,#ffe9a8)}
.bg.g4{background:linear-gradient(150deg,#101826,#2a3a5a 55%,#e9b73a)}
.bg.g5{background:linear-gradient(135deg,#5b1d2e,#dc6803 60%,#ffd76a)}
.adv-stage::after{content:"";position:absolute;inset:0;background:radial-gradient(60% 80% at 70% 20%,rgba(255,255,255,.22),transparent 60%);pointer-events:none}
/* the same 3D phone as the hero, built at the hero's size and scaled to the stage with --k (set from the script).
   It floats gently, and turns away a little while the screens change. */
.adv-phone{--hpw:372px;--hpr:calc(var(--hpw) * .145);position:absolute;z-index:1;left:50%;top:50%;width:372px;height:770px;margin:-385px 0 0 -186px;perspective:1300px;transform:scale(var(--k,.6))}
.adv-turn{position:absolute;inset:0;transform-style:preserve-3d;transition:transform .7s var(--ease)}
.adv-turn.swap{transform:rotateY(-14deg) scale(.96)}
.adv-phone .hp{transform:rotateX(6deg) rotateY(-22deg) rotateZ(1deg);animation:adv-float 6s var(--ease) infinite alternate}
@keyframes adv-float{to{transform:rotateX(4deg) rotateY(-15deg) rotateZ(.4deg) translateY(-10px)}}
.adv-stage.paused .hp,.adv-stage.paused .ascr *{animation-play-state:paused}

/* five screens share the glass; the current one is .on. Each element's resting style is its finished state,
   and the animations describe how it gets there, so nothing is lost when motion is off. */
.ascrs{position:relative;flex:1;min-height:0}
.ascr{position:absolute;inset:0;display:flex;flex-direction:column;padding:3cqw 6cqw 6cqw;opacity:0;transform:translateX(5%) scale(.985);filter:blur(5px);transition:opacity .4s var(--ease),transform .6s var(--ease),filter .4s var(--ease)}
.ascr.on{opacity:1;transform:none;filter:none}
@keyframes a-in{from{opacity:0;transform:translateY(3cqw) scale(.96);filter:blur(3px)}}
@keyframes a-pop{from{opacity:0;transform:scale(.7)}}
@keyframes a-press{50%{transform:scale(.92);filter:brightness(1.25)}}
.a-title{font-size:6.6cqw;font-weight:500;letter-spacing:-.03em;line-height:1.15}
.a-sub{margin:2cqw 0 0;font-size:3.7cqw;line-height:1.45;color:#a5a8ae}

/* 1: the look. A ring moves across the swatches, the keyboard follows, then it goes light. */
.sw{position:relative;display:grid;grid-template-columns:repeat(5,1fr);gap:4.4cqw;margin-top:6cqw}
.sw i{aspect-ratio:1;border-radius:50%}
.ring{position:absolute;left:-1.5cqw;top:-1.5cqw;width:17.08cqw;aspect-ratio:1;border-radius:50%;border:.8cqw solid #fff;transform:translate(0,18.48cqw)}
.s-look.on .ring{animation:look-ring 5s var(--ease) both}
@keyframes look-ring{0%,16%{transform:translate(55.44cqw,18.48cqw)}26%,42%{transform:translate(36.96cqw,0)}52%,100%{transform:translate(0,18.48cqw)}}
.seg{position:relative;display:grid;grid-template-columns:repeat(3,1fr);margin-top:6cqw;padding:1cqw;border-radius:6cqw;background:rgba(255,255,255,.07);font-size:3.5cqw;font-weight:500;text-align:center}
.seg span{position:relative;z-index:1;padding:2.2cqw 0}
.seg i{position:absolute;left:1cqw;top:1cqw;bottom:1cqw;width:calc((100% - 2cqw) / 3);border-radius:5cqw;background:rgba(255,255,255,.18);transform:translateX(100%)}
.s-look.on .seg i{animation:look-seg 5s var(--ease) both}
@keyframes look-seg{0%,72%{transform:translateX(200%)}80%,100%{transform:translateX(100%)}}
.kprev{margin:auto -6cqw -6cqw;padding:2.6cqw 2cqw 5cqw;border-radius:6cqw 6cqw 0 0;background:#e9ebef;color:#1b1f27}
.kr{display:flex;justify-content:center;gap:1.3cqw;margin-top:2cqw}
.kr.k2{padding:0 4.6cqw}
.kprev b{display:grid;place-items:center;width:8.2cqw;height:10cqw;border-radius:5cqw;font-size:4.8cqw;font-weight:400}
.kprev .fn{width:11.4cqw;background:#cfd4dc;font-size:3.2cqw;font-weight:500}
.kprev b svg{width:4.6cqw;height:4.6cqw}
.kbar{display:flex;align-items:center;gap:1.8cqw;padding:0 1.4cqw 1cqw}
.kbar .g{flex:1}
.kbar .ic{display:grid;place-items:center;width:8.4cqw;height:8.4cqw;border-radius:50%}
.kbar .ic svg{width:5cqw;height:5cqw}
.kbar .mic{background:rgba(128,128,128,.22)}
.kbar .ch{display:inline-flex;align-items:center;height:8cqw;padding:0 3.2cqw;border-radius:5cqw;background:rgba(128,128,128,.2);font-size:3.5cqw;font-weight:500;white-space:nowrap}
.kprev .fn.w{width:15cqw}
.kprev .sp{flex:1;background:#cfd4dc}
.kprev .acc{background:#e6a23c}
.s-look.on .kprev{animation:look-kb 5s var(--ease) both}
.s-look.on .kprev .fn,.s-look.on .kprev .sp{animation:look-fn 5s var(--ease) both}
.s-look.on .kprev .acc{animation:look-acc 5s var(--ease) both}
@keyframes look-kb{0%,72%{background:#1b1f27;color:#e9eaee}80%,100%{background:#e9ebef;color:#1b1f27}}
@keyframes look-fn{0%,72%{background:#2a2f3a}80%,100%{background:#cfd4dc}}
@keyframes look-acc{0%,16%{background:#62c97e}26%,42%{background:#e0558f}52%,100%{background:#e6a23c}}
.kprev.dk{background:#1b1f27;color:#e9eaee}
.kprev.dk .fn,.kprev.dk .sp{background:#2a2f3a}
.kprev.dk .acc{background:#3a4150}

/* 2: the Urdu interface. The language switch flips and the screen mirrors into Urdu. */
.langsw{position:relative;align-self:center;display:grid;grid-template-columns:1fr 1fr;width:56cqw;padding:1cqw;border-radius:6cqw;background:rgba(255,255,255,.07);font-size:3.6cqw;font-weight:500;text-align:center}
.langsw span{position:relative;z-index:1;padding:1.8cqw 0;line-height:1.6}
.langsw .urdu{font-size:3.8cqw;line-height:1.5}
.langsw i{position:absolute;left:1cqw;top:1cqw;bottom:1cqw;width:calc(50% - 1cqw);border-radius:5cqw;background:var(--gold-2);opacity:.9;transform:translateX(100%);mix-blend-mode:normal}
.langsw span:last-of-type{color:#1b1a14}
.s-urdu.on .langsw i{animation:urdu-sw 5s var(--ease) both}
@keyframes urdu-sw{0%,24%{transform:none}34%,100%{transform:translateX(100%)}}
.s-urdu.on .langsw span:first-of-type{animation:urdu-t1 5s var(--ease) both}
.s-urdu.on .langsw span:last-of-type{animation:urdu-t2 5s var(--ease) both}
@keyframes urdu-t1{0%,24%{color:#1b1a14}34%,100%{color:#fff}}
@keyframes urdu-t2{0%,24%{color:#fff}34%,100%{color:#1b1a14}}
.lays{position:relative;flex:1;margin-top:5cqw}
.lay{position:absolute;inset:0}
.lay.en{opacity:0;transform:translateX(-8%)}
.s-urdu.on .lay.en{animation:urdu-en 5s var(--ease) both}
.s-urdu.on .lay.ur{animation:urdu-ur 5s var(--ease) both}
@keyframes urdu-en{0%,28%{opacity:1;transform:none}40%,100%{opacity:0;transform:translateX(-8%)}}
@keyframes urdu-ur{0%,34%{opacity:0;transform:translateX(8%)}48%,100%{opacity:1;transform:none}}
.l-h{font-size:7cqw;font-weight:500;letter-spacing:-.03em}
.l-card{margin-top:4cqw;padding:5cqw;border-radius:5cqw;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08)}
.l-card h5{margin:0;font-size:5cqw;font-weight:500}
.l-card label{display:block;margin-top:4cqw;font-size:3.3cqw;color:#a5a8ae}
.l-card p{display:flex;flex-wrap:wrap;gap:1.8cqw;margin:2cqw 0 0}
.l-card p span{padding:1.9cqw 3.6cqw;border-radius:5cqw;background:rgba(255,255,255,.08);font-size:3.4cqw;font-weight:500}
.l-card p .on{background:#fff;color:#161b26}
.l-box{margin-top:5cqw;padding:4cqw;min-height:22cqw;border-radius:4cqw;background:rgba(0,0,0,.25);border:1px solid rgba(255,255,255,.08);font-size:3.7cqw;color:#8d9097}
.lay.ur{letter-spacing:0;color:#fff}
.lay.ur .l-h,.lay.ur h5{color:#fff}
.lay.ur label{color:#c7c9cf}
.lay.ur p span{color:#f1f2f4}
.lay.ur p .on{color:#161b26}
.lay.ur .l-box{color:#b9bcc2}
.lay.ur .l-h{font-size:7.4cqw;line-height:1.7}
.lay.ur h5{font-size:5.2cqw;line-height:1.8}
.lay.ur label{font-size:3.6cqw;line-height:1.8;margin-top:2cqw}
.lay.ur p span{padding:.8cqw 3.6cqw 1.6cqw;font-size:3.6cqw;line-height:2}
.lay.ur .l-box{font-size:3.8cqw;line-height:2;padding:2.4cqw 4cqw}
.lay.ur .l-card{padding:3.4cqw 5cqw 5cqw}

/* 3: setup. The steps tick off, the switch goes on, and Next lights up. */
.prog{display:grid;grid-template-columns:repeat(4,1fr);gap:1.6cqw;margin:1cqw 0 6cqw}
.prog i{height:1.1cqw;border-radius:1cqw;background:rgba(255,255,255,.14)}
.prog i:nth-child(-n+3){background:var(--gold-2)}
.s-setup.on .prog i:nth-child(3){animation:set-prog .5s var(--ease) 3.9s both}
@keyframes set-prog{from{background:rgba(255,255,255,.14)}}
.s-ico{display:grid;place-items:center;width:13cqw;height:13cqw;margin-bottom:4cqw;border-radius:4cqw;background:rgba(255,215,106,.12);color:var(--gold-2)}
.s-ico svg{width:7cqw;height:7cqw}
.todo{list-style:none;margin:5cqw 0 0;padding:0;display:flex;flex-direction:column;gap:3cqw;font-size:3.9cqw}
.todo li{display:flex;align-items:center;gap:3cqw}
.todo i{position:relative;flex:none;display:grid;place-items:center;width:6.6cqw;height:6.6cqw;border-radius:50%;background:var(--gold-2);color:#1b1a14;font-style:normal;font-size:3.3cqw;font-weight:600}
.todo em{position:absolute;font-style:normal;opacity:0;color:#fff}
.todo svg{width:4cqw;height:4cqw}
@keyframes set-b{from{background:rgba(255,255,255,.12)}}
@keyframes set-n{from{opacity:1}}
.s-setup.on .todo li:nth-child(1) i{animation:set-b .4s var(--ease) .8s both}
.s-setup.on .todo li:nth-child(1) em{animation:set-n .3s var(--ease) .8s both}
.s-setup.on .todo li:nth-child(1) svg{animation:a-pop .4s var(--ease) .8s both}
.s-setup.on .todo li:nth-child(2) i{animation:set-b .4s var(--ease) 2.1s both}
.s-setup.on .todo li:nth-child(2) em{animation:set-n .3s var(--ease) 2.1s both}
.s-setup.on .todo li:nth-child(2) svg{animation:a-pop .4s var(--ease) 2.1s both}
.s-setup.on .todo li:nth-child(3) i{animation:set-b .4s var(--ease) 3s both}
.s-setup.on .todo li:nth-child(3) em{animation:set-n .3s var(--ease) 3s both}
.s-setup.on .todo li:nth-child(3) svg{animation:a-pop .4s var(--ease) 3s both}
.tog{display:flex;align-items:center;justify-content:space-between;margin-top:5cqw;padding:3.4cqw 4cqw;border-radius:4.5cqw;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);font-size:3.9cqw;font-weight:500}
.tog i{position:relative;width:11cqw;height:6.4cqw;border-radius:4cqw;background:#3ecf8e}
.tog b{position:absolute;left:.8cqw;top:.8cqw;width:4.8cqw;height:4.8cqw;border-radius:50%;background:#fff;transform:translateX(4.6cqw)}
.s-setup.on .tog i{animation:set-track .4s var(--ease) 2.1s both}
.s-setup.on .tog b{animation:set-knob .45s cubic-bezier(.3,1.4,.5,1) 2.1s both}
@keyframes set-track{from{background:rgba(255,255,255,.2)}}
@keyframes set-knob{from{transform:none}}
.okb{align-self:flex-start;display:inline-flex;align-items:center;gap:1.8cqw;margin-top:4cqw;padding:1.8cqw 3.6cqw 1.8cqw 2.6cqw;border-radius:5cqw;background:rgba(62,207,142,.14);color:#7fe0b4;font-size:3.5cqw;font-weight:500}
.okb svg{width:4cqw;height:4cqw}
.s-setup.on .okb{animation:a-in .5s var(--ease) 3.3s both}
.nextb{margin-top:auto;padding:3.6cqw;border-radius:8cqw;background:var(--gold-2);color:#1b1a14;font-size:4.2cqw;font-weight:600;text-align:center}
.s-setup.on .nextb{animation:set-next .5s var(--ease) 3.9s both}
@keyframes set-next{from{background:rgba(255,255,255,.1);color:#8d9097}}

/* 4: reading Roman Urdu. The message is selected, Translate to English is tapped, the English slides up. */
.r-head{display:flex;align-items:center;gap:3cqw;margin:0 -6cqw;padding:1cqw 6cqw 3.4cqw;border-bottom:1px solid rgba(255,255,255,.07);font-size:4.5cqw}
.r-head i{width:10cqw;height:10cqw;border-radius:50%;background:linear-gradient(135deg,var(--green),var(--gold))}
.r-head b{font-weight:500}
.r-thread{display:flex;flex-direction:column;align-items:flex-start;gap:2.4cqw;margin-top:18cqw}
.r-msg{margin:0;padding:2.8cqw 4.2cqw;border-radius:5cqw 5cqw 5cqw 0;background:rgba(255,255,255,.1);font-size:4.3cqw;line-height:1.4}
.r-msg span{padding:.4cqw .6cqw;margin:0 -.6cqw;background:linear-gradient(rgba(255,215,106,.42),rgba(255,215,106,.42)) no-repeat 0 0/100% 100%;border-radius:.8cqw}
.s-read.on .r-msg span{animation:read-sel .7s var(--ease) .7s both}
@keyframes read-sel{from{background-size:0 100%}}
.ctx{display:flex;padding:1cqw;border-radius:4cqw;background:#2a2f3a;box-shadow:0 3cqw 8cqw rgba(0,0,0,.45);font-size:3.5cqw;font-weight:500;transform-origin:20% 100%}
.ctx span{display:flex;align-items:center;gap:1.6cqw;padding:2.2cqw 3.4cqw;border-radius:3cqw}
.ctx .go{background:rgba(255,215,106,.16);color:var(--gold-2)}
.ctx svg{width:4.2cqw;height:4.2cqw}
.s-read.on .ctx{animation:a-pop .4s cubic-bezier(.3,1.4,.5,1) 1.6s both}
.s-read.on .ctx .go{animation:a-press .35s var(--ease) 2.6s}
.sheet{margin:auto -6cqw -6cqw;padding:6cqw 6cqw 9cqw;border-radius:7cqw 7cqw 0 0;background:#122b21;border-top:1px solid rgba(255,255,255,.1);box-shadow:0 -6cqw 14cqw rgba(0,0,0,.4)}
.sheet em{display:block;font-style:normal;font-size:3.2cqw;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--gold-2)}
.sheet strong{display:block;margin-top:2cqw;font-size:5.6cqw;font-weight:500;letter-spacing:-.02em;line-height:1.25}
.sheet small{display:block;margin-top:3cqw;font-size:3.3cqw;color:#a5a8ae}
.s-read.on .sheet{animation:read-sheet .65s var(--ease) 3s both}
@keyframes read-sheet{from{transform:translateY(110%)}}

/* 5: learned words. A learned name is suggested, then Forget is tapped and it goes. */
.lf{display:flex;align-items:center;margin-top:6cqw;padding:3.4cqw 5cqw;border-radius:7cqw;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);font-size:4.5cqw}
.lf i{width:.6cqw;min-width:2px;height:5.4cqw;margin-left:.6cqw;background:var(--gold-2);animation:blink 1s steps(1) infinite}
.ls{display:grid;grid-template-columns:1.5fr 1fr 1fr;align-items:center;margin-top:3cqw;font-size:4cqw;text-align:center;color:#d5d7dc}
.ls .lw{display:inline-flex;align-items:center;justify-content:center;gap:1.6cqw;padding:1.8cqw 2cqw;border-radius:5cqw;background:rgba(255,215,106,.14);color:var(--gold-2);font-weight:500}
.ls em{font-style:normal;font-size:2.8cqw;font-weight:600;letter-spacing:.06em;text-transform:uppercase;opacity:.85}
.s-learn.on .lw{animation:learn-chip 5s var(--ease) both}
@keyframes learn-chip{0%,12%{opacity:0;transform:scale(.7)}20%,72%{opacity:1;transform:none}80%,100%{opacity:0;transform:scale(.7)}}
.forget{display:flex;align-items:center;justify-content:space-between;gap:3cqw;margin-top:6cqw;padding:3.4cqw 3.4cqw 3.4cqw 4.4cqw;border-radius:4.5cqw;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);font-size:3.8cqw}
.forget b{padding:2cqw 4cqw;border-radius:5cqw;background:rgba(220,104,3,.2);color:#ffb37a;font-size:3.5cqw;font-weight:600}
.s-learn.on .forget b{animation:a-press .35s var(--ease) 3.3s}
.toast{align-self:center;display:inline-flex;align-items:center;gap:1.8cqw;margin-top:4cqw;padding:2cqw 4cqw 2cqw 3cqw;border-radius:5cqw;background:rgba(62,207,142,.14);color:#7fe0b4;font-size:3.5cqw;font-weight:500;opacity:0}
.toast svg{width:4cqw;height:4cqw}
.s-learn.on .toast{animation:learn-toast 5s var(--ease) both}
@keyframes learn-toast{0%,74%{opacity:0;transform:translateY(2cqw)}82%,100%{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.adv-phone .hp,.ascr *{animation:none!important}.adv-turn,.ascr{transition:none}}
@media (max-width:900px){
  .dark{padding:10px}
  .adv{grid-template-columns:1fr;gap:28px;margin-top:36px}
  .adv-stage{order:-1;aspect-ratio:1/1;border-radius:16px}
  .adv-item{padding:14px 0 14px 18px}
  .adv-item h3{font-size:19px}
}
@media (max-width:520px){.dark-card{padding:56px 20px 28px}.adv-stage{aspect-ratio:1/1.18}}
@media (prefers-reduced-motion:reduce){.adv-item.on::before{animation:none;transform:none}}

/* ---------- faq ---------- */
.faq{background:var(--white);padding:140px 0}
.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start}
.faq h2{margin-top:0}
.facts{margin:44px 0 0;max-width:440px;border-top:1px solid #ececee}
.facts h3{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted-ink);padding:18px 0 4px}
.facts dl{margin:0}
.facts div{display:grid;grid-template-columns:112px 1fr;gap:16px;padding:12px 0;border-bottom:1px solid #ececee;font-size:15px;line-height:1.5}
.facts dt{color:var(--muted-ink)}
.facts dd{margin:0;color:var(--ink)}
@media (max-width:900px){.facts{max-width:none;margin-top:32px}}
@media (max-width:420px){.facts div{grid-template-columns:92px 1fr;gap:12px;font-size:14px}}
.acc{display:flex;flex-direction:column;gap:12px}
.q{background:var(--white);border:1px solid #ececee;border-radius:var(--r-card);overflow:hidden;transition:border-color .2s}
.q:hover{border-color:#d6d7db}
.q h3{margin:0;font:inherit;letter-spacing:inherit}
.q button{width:100%;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 24px;text-align:left;font-size:17px;font-weight:500;letter-spacing:-.01em;color:var(--ink)}
.q .plus{flex:none;width:18px;height:18px;position:relative;color:var(--muted-ink)}
.q .plus::before,.q .plus::after{content:"";position:absolute;left:50%;top:50%;width:14px;height:1.5px;background:currentColor;transform:translate(-50%,-50%);transition:transform .35s var(--ease)}
.q .plus::after{transform:translate(-50%,-50%) rotate(90deg)}
.q.open .plus::after{transform:translate(-50%,-50%) rotate(0)}
.q .a{max-height:0;overflow:hidden;visibility:hidden;transition:max-height .45s var(--ease),visibility 0s .45s}
.q.open .a{visibility:visible;transition-delay:0s}
.q.open{border-color:#d6d7db}
.q.open .plus{color:var(--ink)}
.q .a p{margin:0;padding:0 24px 22px;color:var(--body);font-size:15px;line-height:1.6}
@media (max-width:900px){.faq{padding:88px 0}.faq-grid{grid-template-columns:1fr;gap:32px}}
@media (max-width:640px){.faq{padding:72px 0}.q button{padding:18px 18px;font-size:16px;gap:14px}.q .a p{padding:0 18px 18px}.acc{gap:10px}}

/* ---------- closing CTA ---------- */
.close{background:var(--page);padding:14px}
.install{position:relative;overflow:hidden;border-radius:var(--r-big);background:var(--dark);border:1px solid var(--line-dark);padding:clamp(40px,6vw,88px);color:#fff}
.install-glow{position:absolute;inset:25% -20% -45% -20%;background:
  radial-gradient(34% 60% at 16% 78%,rgba(233,183,58,.55),transparent 70%),
  radial-gradient(34% 60% at 86% 72%,rgba(220,104,3,.5),transparent 70%),
  radial-gradient(60% 70% at 50% 100%,rgba(31,138,92,.75),transparent 70%);
  filter:blur(24px);pointer-events:none;will-change:transform;animation:glow-drift 13s ease-in-out infinite alternate}
.install>:not(.install-glow){position:relative;z-index:1}
.install-head{display:grid;grid-template-columns:1fr auto;align-items:end;gap:24px 48px}
.install h2{color:#fff}
.install .lead{max-width:360px;color:#b9bcc2}
.install ol{list-style:none;margin:clamp(36px,5vw,64px) 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;counter-reset:s}
.install li{--a:255,215,106;counter-increment:s;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;padding:24px;border-radius:18px;background:rgba(10,22,17,.62);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
/* each step has its own colour: gold, green, ember */
.install li:nth-child(2){--a:99,214,160}
.install li:nth-child(3){--a:255,150,74}
.install li::before{content:counter(s);position:absolute;right:20px;top:6px;font-size:76px;font-weight:600;letter-spacing:-.05em;line-height:1;color:rgba(var(--a),.14);pointer-events:none}
.install li::after{content:"";position:absolute;left:-30%;top:-45%;width:90%;height:90%;background:radial-gradient(closest-side,rgba(var(--a),.2),transparent);pointer-events:none}
.install li>*{position:relative;z-index:1}
.install .ico{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:rgba(var(--a),.14);border:1px solid rgba(var(--a),.4);color:rgb(var(--a));margin-bottom:20px}
.install .ico svg{width:22px;height:22px}
.install li strong{font-size:19px;font-weight:500;letter-spacing:-.02em;color:#fff}
.install li span{margin:6px 0 22px;font-size:15px;line-height:1.5;color:#b9bcc2;text-wrap:pretty}
.install .go{margin-top:auto;display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 16px 0 18px;border-radius:var(--r-pill);background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);color:#fff;font-size:15px;font-weight:600;letter-spacing:-.01em;white-space:nowrap;transition:background .2s,transform .25s var(--ease)}
.install .go:hover{background:rgba(var(--a),.18);border-color:rgba(var(--a),.55);transform:translateY(-1px)}
.install .go svg{width:14px;height:14px}
.install .go.play{background:linear-gradient(180deg,var(--gold-2),var(--gold));border-color:transparent;color:#1b1a14;padding:0 18px 0 9px;box-shadow:inset 0 1px 0 rgba(255,255,255,.45)}
.install .go.play:hover{background:linear-gradient(180deg,var(--gold-2),var(--gold));border-color:transparent;filter:brightness(1.05)}
.install .go:focus-visible{border-radius:var(--r-pill)}
.install .fine{display:flex;align-items:flex-start;gap:8px;margin:22px 0 0;font-size:14px;line-height:1.5;color:#c9ccd1}
.install .fine svg{flex:none;width:16px;height:16px;margin-top:2px}
@media (max-width:900px){
  .close{padding:10px}
  .install-head{grid-template-columns:1fr;align-items:start}
  .install ol{grid-template-columns:1fr;gap:10px}
  .install li{display:grid;grid-template-columns:46px 1fr;column-gap:16px;padding:20px}
  .install .ico{grid-row:1/4;margin:0}
  .install li::before{font-size:38px;right:16px;top:12px}
  .install li strong{padding-right:34px}
  .install li strong,.install li span,.install .go{grid-column:2}
  .install li span{margin:4px 0 16px}
  .install .go{justify-self:start}
}
@media (max-width:480px){.install{padding:40px 16px 28px}.install-head{padding:0 6px}.install li{padding:18px 16px}.install .fine{padding:0 6px}}

/* ---------- footer ---------- */
footer{background:var(--page);padding:80px 14px 0;overflow:hidden}
.foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;color:var(--muted);font-size:14px}
.foot .brand span{color:var(--muted);font-weight:500}
.foot .f-links{display:flex;align-items:center;gap:18px}
.foot .f-links a{border-bottom:1px solid rgba(255,255,255,.18)}
.foot .f-links a:hover{color:#fff;border-color:#fff}
.sound-toggle{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:14px;transition:color .2s}
.sound-toggle:hover{color:#fff}
.sound-toggle svg{width:17px;height:17px}
.sound-toggle[aria-pressed="false"]{color:#7c8088}
@media (max-width:700px){
  footer{padding-top:56px}
  .foot{flex-direction:column;text-align:center;gap:18px}
  .foot .brand{margin-right:0}
  .foot .f-links{gap:8px;flex-wrap:wrap;justify-content:center}
  .sound-toggle{padding:11px 14px}
  .foot .f-links a{border-bottom:0;padding:11px 14px;text-decoration:underline;text-decoration-color:rgba(255,255,255,.25);text-underline-offset:4px}
  .watermark{margin-top:36px}
}
.watermark{margin-top:60px;display:flex;align-items:center;justify-content:center;gap:.14em;font-size:clamp(44px,13vw,190px);font-weight:600;letter-spacing:-.05em;line-height:1;color:#1b3a2d;white-space:nowrap;margin-bottom:-.3em;user-select:none}
.watermark img{width:.82em;height:.82em;border-radius:.19em;flex:none}

/* ---------- reveal ---------- */
.rv{transition:opacity .8s var(--ease),transform .8s var(--ease)}
.js .rv{opacity:0;transform:translateY(22px)}
.js .rv.in{opacity:1;transform:none}
.rv.d1{transition-delay:.08s}.rv.d2{transition-delay:.16s}.rv.d3{transition-delay:.24s}
@media (prefers-reduced-motion:reduce){.js .rv{opacity:1;transform:none;transition:none}}

/* ---------- prose pages (privacy) ---------- */
.page-hero{padding:14px}
.page-card{border-radius:var(--r-big);background:var(--dark);border:1px solid var(--line-dark);padding:170px 24px 80px;text-align:center}
.page-card .lead{max-width:640px;margin:22px auto 0}
.prose-wrap{background:var(--white);padding:72px 0 110px}
.prose{max-width:720px;margin:0 auto;color:var(--body);font-size:16px;line-height:1.7}
.prose h2{font-size:24px;letter-spacing:-.025em;line-height:1.25;margin:48px 0 14px;color:var(--ink)}
.prose h2:first-child{margin-top:0}
.prose p{margin:0 0 14px}
.prose strong{color:var(--ink);font-weight:500}
.prose ul,.prose ol{margin:0 0 14px;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px;counter-reset:n}
.prose li{background:var(--light);border-radius:var(--r-card);padding:16px 20px}
.prose ol li{counter-increment:n;padding-left:52px;position:relative}
.prose ol li::before{content:counter(n);position:absolute;left:16px;top:16px;display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:var(--white);border:1px solid #e6e7ea;font-size:12px;font-weight:600;color:var(--ink)}
.prose a{color:var(--ink);text-decoration:underline;text-decoration-color:rgba(12,17,29,.35);text-underline-offset:3px;overflow-wrap:anywhere}
.prose .updated{display:inline-block;margin-bottom:28px;font-size:14px;color:var(--muted)}
@media (max-width:760px){.page-hero{padding:10px}.page-card{padding:112px 20px 52px}.prose-wrap{padding:48px 0 72px}.prose h2{font-size:21px;margin-top:38px}.prose li{padding:14px 16px}.prose ol li{padding-left:48px}.prose ol li::before{left:14px;top:14px}}

/* last, so it wins over the rules above */
@media (prefers-reduced-motion:reduce){.install-glow,.dark-card::before{animation:none}}

/* ---------- phones: the page scrolls like a story ----------
   Each block snaps into place under the nav. A block taller than the screen scrolls freely inside itself,
   so nothing is out of reach. The three steps become one-per-screen panels. */
@media (max-width:640px){
  /* only the home page: the other pages have no blocks to snap to */
  html:has(.steps){scroll-snap-type:y mandatory;scroll-padding-top:92px}
  .hero-card,.step,.mission-card,.section-head,.grid2>.card,.trio>div,.dark-card,.faq-grid>*,.install{scroll-snap-align:start}
  .hero-card{scroll-margin-top:92px}
  html:has(.steps){scroll-padding-bottom:calc(86px + env(safe-area-inset-bottom,0px))}
  .step{scroll-snap-stop:always;min-height:calc(100svh - 194px - env(safe-area-inset-bottom,0px))}
  .step .scene{flex:1 0 auto}
  html:has(.steps) footer{scroll-snap-align:end}
}
@media (max-width:640px) and (prefers-reduced-motion:reduce){html:has(.steps){scroll-snap-type:none}}

/* the small number hints above the top row of letters, as on the real keyboard */
.hp-bar+.row,.sc-bar+.row,.kbar+.kr{counter-reset:kn}
.hp-bar+.row b,.sc-bar+.row b,.kbar+.kr b{position:relative;counter-increment:kn}
.hp-bar+.row b::after,.sc-bar+.row b::after,.kbar+.kr b::after{content:counter(kn);position:absolute;right:.4cqw;top:.2cqw;font-size:2.5cqw;font-weight:400;line-height:1;opacity:.6}
.hp-bar+.row b:nth-child(10)::after,.sc-bar+.row b:nth-child(10)::after,.kbar+.kr b:nth-child(10)::after{content:"0"}

/* ---------- touch screens ----------
   The page runs edge to edge (viewport-fit=cover), so it keeps clear of notches and the home indicator itself.
   Everything you can tap is at least 44px tall; links inside sentences get the extra height as padding, which does not move the text. */
body{padding-left:env(safe-area-inset-left,0);padding-right:env(safe-area-inset-right,0)}
footer{padding-bottom:env(safe-area-inset-bottom,0)}
@media (pointer:coarse){
  .nav .brand{min-width:44px;min-height:44px;justify-content:center;margin-right:0}
  .foot .brand{min-height:44px}
  .tone{height:44px}
  .foot .f-links a,.sound-toggle{padding-top:12px;padding-bottom:12px}
  .hero-meta a,.inl,.prose a,.rel a,.intro a{padding-block:14px}
  nav.toc a{padding-top:12px;padding-bottom:12px}
  .hp-switch button{height:44px}
}
