/* ===== Raahi D1 · site styles (hero: Charge aura). Tokens follow d1/DESIGN.md; app cards follow the app's DESIGN.md ===== */
:root {
  --ink: #0D1210; --graphite: #555C58; --mute: #8A918D; --dim: #9AA19D; --cement: #F2F3F1; --line: #E6E8E5;
  --live: #1E9E5A; --live-soft: #D3EBDD; --busy: #D99A0B; --busy-fg: #8F6405;
  --display: "General Sans", ui-sans-serif, system-ui, sans-serif;
  --app: "Switzer", ui-sans-serif, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --e: cubic-bezier(.22, 1, .36, 1);
  --p: 0;   /* hero scroll progress, 0 → 1, set by site.js */
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: #fff; color: var(--ink); font-family: var(--display); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.km { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin: 0; }

/* nav: floating centred glass pill */
.nav { position: fixed; z-index: 30; top: 18px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 24px; background: rgba(255, 255, 255, .74); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 0 0 .5px rgba(13,18,16,.08), 0 8px 24px -12px rgba(13,18,16,.25); }
.nav a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 17px; font-size: 13.5px; font-weight: 500; color: var(--graphite); transition: background-color .2s, color .2s; }
.nav a:hover { background: var(--cement); color: var(--ink); }
.nav__logo { padding: 0 16px !important; font-size: 19px !important; font-weight: 600 !important; letter-spacing: -.05em; color: var(--ink) !important; }
.nav__logo i { width: 5px; height: 5px; margin: -9px 0 0 1px; border-radius: 50%; background: var(--live); }
.nav__logo:hover { background: none !important; }
.nav__cta { background: var(--ink); color: #fff !important; padding: 0 15px !important; }
.nav__cta:hover { background: #1A201D !important; }
:focus-visible { outline: 2px solid var(--live); outline-offset: 3px; }

.btn { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 25px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; transition: transform .3s var(--e), background-color .2s; }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--e); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #1A201D; transform: translateY(-1px); }
.btn--ghost { background: var(--cement); }
.btn--ghost:hover svg { transform: translateX(3px); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: max(100svh, 860px); overflow: hidden; display: flex; flex-direction: column; align-items: center; }

/* background: Islamabad's real street grid as hairlines, quiet under the copy, fading out at the edges */
.hero__map { position: absolute; inset: 0; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 78% 70% at 50% 42%, transparent 0%, transparent 30%, rgba(0,0,0,.35) 52%, rgba(0,0,0,.85) 72%, transparent 96%);
          mask-image: radial-gradient(ellipse 78% 70% at 50% 42%, transparent 0%, transparent 30%, rgba(0,0,0,.35) 52%, rgba(0,0,0,.85) 72%, transparent 96%); }
.hero__lines { position: absolute; inset: 0; background: url(assets/map-isb.webp) center 40% / cover no-repeat; opacity: .085; transform: translateY(calc(var(--p) * 60px)); }
/* proximity search: over the map the pointer becomes the car (site.js). A canvas draws a quiet search radius,
   a faint sweep and hairline routes out to the chargers it finds. */
.hero__torch { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; opacity: var(--tl, 0); transition: opacity .6s var(--e); }
.hero__halo { position: absolute; z-index: 0; left: var(--mx, 50%); top: var(--my, 50%); width: 560px; height: 560px; margin: -280px; border-radius: 50%; pointer-events: none; opacity: 0; display: none;
  background: radial-gradient(closest-side, rgba(211,235,221,.55), rgba(211,235,221,0)); }
.hero__car { position: absolute; z-index: 4; left: 0; top: 0; width: 0; height: 0; pointer-events: none; opacity: var(--tl, 0); transition: opacity .35s var(--e); will-change: transform; }
.hero__car img { position: absolute; left: -13px; top: -22px; width: 26px; height: auto; filter: drop-shadow(0 5px 6px rgba(13,18,16,.28)) drop-shadow(0 1px 1px rgba(13,18,16,.2)); }
@media (hover: hover) and (pointer: fine) { .hero { cursor: none; } .hero a, .hero button, .hero__phone, .hero .f { cursor: auto; } .hero a, .hero button { cursor: pointer; } }

/* charging stations on the map: our own 3D charger, standing on the map.
   Quiet by default; edge ones carry a slight blur (--b, set in site.js). Busy ones glow amber. */
.hero__st { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ch { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.ch::before { content: ""; position: absolute; left: -32px; top: -18px; width: 64px; height: 36px; border-radius: 50%; background: radial-gradient(closest-side, rgba(30,158,90,.32), rgba(30,158,90,0)); opacity: 0; transform: scale(.6); transition: opacity .5s var(--e), transform .6s var(--e); }
.ch__s { position: absolute; left: 0; top: 0; transform: scale(.94); transform-origin: 0 0; opacity: var(--o, .72); filter: blur(var(--b, 0px));
  transition: opacity .5s var(--e), transform .6s var(--e), filter .5s var(--e); }
.ch__s img { position: absolute; width: 37.3px; height: auto; max-width: none; }
.ch__c { position: absolute; left: 50%; bottom: 36px; display: flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 11px; white-space: nowrap; font: 600 10.5px/1 var(--app); color: var(--ink);
  background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 0 0 .5px rgba(13,18,16,.08), 0 4px 12px -6px rgba(13,18,16,.3);
  opacity: 0; transform: translate(-50%, 4px) scale(.96); transition: opacity .3s var(--e), transform .4s var(--e); }
.ch__c small { font-weight: 500; color: var(--mute); }
.ch__c b { font-weight: 600; color: var(--live); font-variant-numeric: tabular-nums; }
.ch__c i { width: 1px; height: 9px; background: var(--line); }
/* found by the search: comes into focus */
.ch.is-near .ch__s { opacity: 1; --b: 0px; transform: scale(1); }
/* the pick: nearest free charger, with a green glow on the ground and its distance and price */
.ch.is-pick .ch__s { transform: scale(1.1); }
.ch.is-pick::before { opacity: 1; transform: scale(1); }
.ch.is-pick .ch__c { opacity: 1; transform: translate(-50%, -6px); }
.ch.is-below .ch__c { bottom: auto; top: 22px; }
.ch.is-pick.is-below .ch__c { transform: translate(-50%, 6px); }
/* entrance: chargers pop up one by one after the hero settles, each landing with a single green ping */
@keyframes chIn { 0% { opacity: 0; scale: .4; translate: 0 8px; } 60% { opacity: 1; scale: 1.08; translate: 0 0; } 100% { scale: 1; } }
@keyframes chPing { 0% { opacity: .7; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.7); } }
.ch::after { content: ""; position: absolute; left: -22px; top: -8px; width: 44px; height: 16px; border-radius: 50%; border: 1.5px solid var(--live); opacity: 0; pointer-events: none; }
.ch.is-busy::after { border-color: var(--busy); }
.js .ch { animation: chIn .65s var(--e) backwards; animation-delay: calc(1.5s + var(--i) * .38s); }
.js .ch::after { animation: chPing 1s var(--e) forwards; animation-delay: calc(1.5s + var(--i) * .38s + .3s); }
@media (prefers-reduced-motion: reduce) { .js .ch::after { animation: none; } }

/* the fold: phone and map dissolve into white instead of a hard crop */
.hero::after { content: ""; position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 140px; pointer-events: none; background: linear-gradient(rgba(255,255,255,0), #fff 85%); }
.hero__aura { position: absolute; left: 50%; bottom: -26%; width: min(1300px, 140vw); aspect-ratio: 1.7; transform: translateX(-50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(211,235,221,.9), rgba(211,235,221,.4) 45%, rgba(255,255,255,0) 76%); }

.hero__copy { position: relative; z-index: 2; padding: clamp(112px, 15vh, 140px) 20px 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__h1 { margin: 0; font-size: clamp(2.6rem, .9rem + 5.1vw, 5.8rem); font-weight: 500; line-height: 1; letter-spacing: -.05em; }
.hero__h1 > span { display: block; }
.hero__h1 .dim { color: var(--dim); }
/* the live price pin set inside the headline, on a crop of the real map */
.pill { display: inline-flex; position: relative; vertical-align: middle; width: 1.82em; height: .84em; margin: -.12em .04em 0; border-radius: 1em; overflow: hidden; background: #E8EBE6 url(assets/map-pill.webp) center / cover; box-shadow: inset 0 0 0 1px rgba(13,18,16,.06); }
.pill__pin { position: absolute; left: 50%; top: .05em; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
.pill__pin b { font-family: var(--app); font-size: .16em; font-weight: 600; letter-spacing: -.02em; line-height: 1; padding: .36em .7em; border-radius: .7em; background: var(--ink); color: #fff; }
.pill__pin i { width: .16em; height: .16em; margin-top: .07em; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(13,18,16,.3), inset 0 0 0 .045em var(--live); }
/* the pill's little scene: a car drives in along the road, stops at the Rs 84 charger, charges
   (green glow under it, the charger disc fills and rings), then drives off, on a 7s loop */
.pill__road { position: absolute; left: 0; right: 0; top: .585em; height: .13em; background: #fff; box-shadow: 0 -.01em 0 rgba(13,18,16,.08), 0 .01em 0 rgba(13,18,16,.08); }
.pill__road::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: .008em; margin-top: -.004em; background: repeating-linear-gradient(90deg, rgba(13,18,16,.18) 0 .05em, transparent .05em .11em); }
.pill__car { position: absolute; z-index: 2; top: .566em; left: .76em; width: .28em; height: .167em; }
.pill__car img { display: block; width: 100%; height: 100%; filter: drop-shadow(0 .01em .015em rgba(13,18,16,.35)); }
.pill__glow { position: absolute; z-index: 1; left: .9em; top: .65em; width: .5em; height: .5em; margin: -.25em; border-radius: 50%; background: radial-gradient(closest-side, rgba(30,158,90,.55), rgba(30,158,90,0)); opacity: 0; }
.pill__pin { z-index: 3; }
.pill__pin i { position: relative; }
.pill__pin i::after { content: ""; position: absolute; inset: -.02em; border-radius: 50%; border: .015em solid var(--live); opacity: 0; }
.js .pill__car { animation: pDrive 7s infinite 1.7s backwards; }
.js .pill__glow { animation: pGlow 7s infinite 1.7s backwards; }
.js .pill__pin i { animation: pDisc 7s infinite 1.7s backwards; }
.js .pill__pin i::after { animation: pRing 1.2s var(--e) infinite 1.7s; }
@keyframes pDrive {
  0% { left: -.4em; animation-timing-function: cubic-bezier(.15, .6, .3, 1); }
  30% { left: .76em; animation-timing-function: linear; }
  68% { left: .76em; animation-timing-function: cubic-bezier(.55, 0, .85, .4); }
  100% { left: 1.95em; }
}
@keyframes pGlow { 0%, 30% { opacity: 0; } 35% { opacity: 1; } 45% { opacity: .55; } 55% { opacity: 1; } 63% { opacity: .6; } 68%, 100% { opacity: 0; } }
@keyframes pDisc { 0%, 31% { background: #fff; } 36%, 66% { background: var(--live); } 70%, 100% { background: #fff; } }
@keyframes pRing { 0% { transform: scale(1); opacity: 0; } 20% { opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .js .pill__car, .js .pill__glow, .js .pill__pin i, .js .pill__pin i::after { animation: none !important; } }
.hero__sub { max-width: 30em; text-wrap: balance; margin: 26px 0 0; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.5; color: var(--graphite); }
.hero__cta { display: flex; gap: 10px; margin-top: 30px; }

/* the stage: phone rising out of the fold, app cards at its sides */
.hero__stage { position: relative; z-index: 1; width: min(1200px, 100%); flex: 1; min-height: 360px; margin-top: clamp(40px, 6vh, 64px); }
.hero__phone { position: absolute; left: 50%; top: 0; width: clamp(250px, 25vw, 350px); aspect-ratio: 1234 / 2576; transform: translate(-50%, calc(var(--p) * -110px)); filter: drop-shadow(0 40px 50px rgba(13,18,16,.22)); }
.hp__scr { position: absolute; left: 3.241%; top: 1.320%; width: 93.517%; height: 97.360%; object-fit: cover; border-radius: 13.9% / 6.4%; }
.hp__frame { position: absolute; inset: 0; width: 100%; height: 100%; }
.f { position: absolute; font-family: var(--app); color: var(--ink); transition: none; }
.f--pin { left: 6%; top: 40px; display: flex; flex-direction: column; align-items: center; transform: translate(calc(var(--p) * -60px), calc(var(--p) * -40px)); opacity: calc(1 - var(--p) * 1.4); }
.pin__b { position: relative; display: flex; flex-direction: column; align-items: center; padding: 7px 13px; border-radius: 14px; background: #fff; line-height: 1.1; box-shadow: 0 0 0 .5px rgba(13,18,16,.06), 0 6px 18px -6px rgba(13,18,16,.22); }
.pin__b::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 2px; background: inherit; transform: rotate(45deg); }
.pin__b b { position: relative; z-index: 1; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.pin__b small { position: relative; z-index: 1; font-size: 12.5px; font-weight: 500; color: var(--mute); }
.pin__d { display: grid; place-items: center; width: 22px; height: 22px; margin-top: 9px; border-radius: 50%; background: #fff; color: var(--live); box-shadow: 0 1px 4px rgba(13,18,16,.22); }
.pin__d svg { width: 15px; height: 15px; }
.card, .f--row, .f--stop { border-radius: 20px; box-shadow: 0 0 0 .5px rgba(13,18,16,.06), 0 18px 40px -18px rgba(13,18,16,.28); }
.f--row { left: 0; top: 170px; display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; width: 340px; padding: 12px 14px 12px 12px; background: #fff; transform: translate(calc(var(--p) * -90px), calc(var(--p) * -30px)); opacity: calc(1 - var(--p) * 1.4); }
.f--stop { right: 0; top: 40px; display: grid; gap: 12px; width: 330px; padding: 14px; background: var(--cement); transform: translate(calc(var(--p) * 90px), calc(var(--p) * -50px)); opacity: calc(1 - var(--p) * 1.4); }
.tile { display: grid; place-items: center; align-content: center; width: 46px; height: 46px; border-radius: 13px; background: var(--cement); line-height: 1; }
.f--stop .tile { background: #fff; }
.tile b { font-size: 15px; font-weight: 500; } .tile small { margin-top: 2px; font-size: 9.5px; font-weight: 600; color: var(--mute); }
.t b { display: block; font-size: 15.5px; font-weight: 500; letter-spacing: -.02em; }
.t span { font-size: 12.5px; color: var(--graphite); } .t em { font-style: normal; font-weight: 500; color: var(--ink); }
.f--row .p { text-align: right; } .f--row .p b { font-size: 15px; font-weight: 500; } .f--row .p small { font-size: 11px; font-weight: 500; color: var(--mute); }
.f--row .p span { display: block; font-size: 12px; font-weight: 500; color: var(--busy-fg); }
.f--stop .top { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; }
.sum { padding: 5px 12px; border-radius: 12px; background: #fff; }
.sum div { display: flex; justify-content: space-between; align-items: center; height: 25px; font-size: 13px; color: var(--graphite); }
.sum b { color: var(--ink); font-weight: 500; }

/* website glass. The price pin stays solid white like the app; the two cards go frosted glass with depth:
   a light-to-clear gradient body, a bright top edge, a faint ink hairline and two layered shadows. */
.f--row, .f--stop { background: linear-gradient(160deg, rgba(255,255,255,.72), rgba(255,255,255,.34) 60%, rgba(255,255,255,.46)) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8);
  border: 1px solid rgba(13,18,16,.07);   /* one even, subtle border */
  box-shadow: 0 2px 6px -2px rgba(13,18,16,.07), 0 30px 60px -24px rgba(13,18,16,.28) !important; }
/* inner panes: a faint ink tint (not white) so they read as layers inside the glass */
.f--row .tile, .f--stop .tile, .f--stop .sum { background: rgba(13,18,16,.045); box-shadow: none; }

/* load choreography: one ease, staggered. Without JS everything simply shows. */
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(var(--dy, 26px)); filter: blur(8px); } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.92); } }
@keyframes grow { from { opacity: 0; transform: translateX(-50%) scale(.7); } }
@keyframes pill { from { width: .2em; opacity: 0; } 40% { opacity: 1; } }
.js .hero__map { animation: fade 1.4s ease backwards; }
.js .hero__aura { animation: grow 1.6s var(--e) backwards .1s; }
.js .nav { animation: fade .6s var(--e) backwards; }
.js .l1 { animation: rise 1s var(--e) backwards .2s; }
.js .l2 { animation: rise 1s var(--e) backwards .32s; }
.js .pill { animation: pill .9s var(--e) backwards .8s; }
.js .hero__sub { animation: rise .9s var(--e) backwards .48s; }
.js .hero__cta { animation: rise .9s var(--e) backwards .58s; }
.js .hero__phone { animation: phoneIn 1.2s var(--e) backwards .75s; }
@keyframes phoneIn { from { opacity: 0; transform: translate(-50%, 90px); filter: blur(6px) drop-shadow(0 40px 50px rgba(13,18,16,.22)); } }
.js .f--pin { animation: pop .7s var(--e) backwards 1.15s; }
.js .f--row { animation: pop .7s var(--e) backwards 1.24s; }
.js .f--stop { animation: pop .7s var(--e) backwards 1.33s; }

/* tablet: cards tuck in closer */
@media (max-width: 1100px) {
  .f--row { left: 16px; top: 220px; width: 280px; }
  .f--stop { right: 16px; width: 280px; }
  .f--pin { left: 9%; }
}
/* phone: one centred phone, no side cards (they would cover it) */
@media (max-width: 820px) {
  .nav a:not(.nav__logo):not(.nav__cta) { display: none; }
  .hero { min-height: 0; }
  .hero__cta { flex-wrap: wrap; justify-content: center; }
  .hero__stage { flex: none; min-height: 0; height: clamp(380px, 112vw, 540px); }
  .ch:not(.m) { display: none; }
  .ch__c { display: none; }
  .hero__phone { width: clamp(230px, 64vw, 300px); }
  .f { display: none; }
  .hero__map { -webkit-mask-image: linear-gradient(transparent 4%, rgba(0,0,0,.5) 30%, rgba(0,0,0,.2) 55%, #000 80%, transparent); mask-image: linear-gradient(transparent 4%, rgba(0,0,0,.5) 30%, rgba(0,0,0,.2) 55%, #000 80%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  .js * { animation-duration: .01s !important; animation-delay: 0s !important; }
    .hero__torch, .hero__halo { transition: none; }
  :root { --p: 0 !important; }
}

/* placeholder for the next section, while we build section by section */
.next { min-height: 60vh; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; background: #fff; }
.next__t { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -.03em; color: var(--dim); }

/* ---------- FEATURES · pinned showcase (after Vivid's pinned phone, made ours) ----------
   A 5-step track; the stage sticks for its length. Screens slide up inside one fixed phone,
   scrubbed by scroll (--f per screen). Heading, caption and stat swap at each step. */
.tnum { font-variant-numeric: tabular-nums; }
.fs { position: relative; height: calc(100svh + 4 * 85svh); background: #fff; }
.fs__pin { position: sticky; top: 0; height: 100svh; min-height: 680px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 72px); max-width: 1280px; margin: 0 auto; padding: 80px clamp(20px, 4vw, 56px) 40px; }
.fs__l { display: grid; gap: 18px; align-content: center; max-width: 580px; }
/* eyebrow: plain General Sans with a live dot (replaces the mono KM label) */
.eb { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin: 0; padding: 0 12px 0 10px; height: 30px; border-radius: 15px; background: var(--cement); font-size: 13.5px; font-weight: 500; color: var(--graphite); }
.eb i { width: 6px; height: 6px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px rgba(30,158,90,.16); }
.fs__hs, .fs__ps, .fs__r { display: grid; }
.fs__h { grid-area: 1 / 1; margin: 0; font-size: clamp(2rem, 1.1rem + 1.7vw, 2.8rem); font-weight: 500; line-height: 1.04; letter-spacing: -.045em; opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity .5s var(--e), transform .7s var(--e), filter .5s var(--e); }
.fs__h span { display: block; text-wrap: balance; } .fs__h .dim { color: var(--dim); }
.fs__p { grid-area: 1 / 1; margin: 0; max-width: 26em; font-size: 17px; line-height: 1.5; color: var(--graphite); text-wrap: pretty; opacity: 0; transform: translateY(12px); transition: opacity .5s var(--e) .06s, transform .7s var(--e) .06s; }
.fs__h.on, .fs__p.on { opacity: 1; transform: none; filter: none; }

.fs__c { position: relative; display: grid; justify-items: center; }
/* phone: a real iPhone frame (front render of our 3D model in black titanium, screen cut out) laid over the live screens */
.fs__phone { position: relative; width: clamp(260px, 22vw, 310px); aspect-ratio: 1234 / 2576; filter: drop-shadow(0 18px 22px rgba(13,18,16,.16)) drop-shadow(0 50px 60px rgba(13,18,16,.18)); }
.fs__frame { position: absolute; inset: 0; z-index: 10; width: 100%; height: 100%; pointer-events: none; }
.fs__screen { position: absolute; left: 3.241%; top: 1.320%; width: 93.517%; height: 97.360%; isolation: isolate; overflow: hidden; border-radius: 13.9% / 6.4%; background: var(--cement); }
/* screen change (triggered, like Vivid): the new screen takes the whole phone at once, rising a little
   as it fades in over the old one, which settles back and fades. No half-and-half seam. */
.fs__scr { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: translateY(7%) scale(1.02); transition: opacity .55s var(--e), transform .8s var(--e); will-change: transform, opacity; }
.fs__scr.on { opacity: 1; transform: none; }
.fs__scr.past { opacity: 0; transform: translateY(-4%) scale(.97); transition: opacity .45s var(--e) .1s, transform .8s var(--e); }

/* right: three info cards per step (Vivid's stacked cards, in our glass + cement), staggered on swap */
.fs__r { justify-items: end; }
.fs__set { grid-area: 1 / 1; display: grid; gap: 10px; width: min(320px, 100%); pointer-events: none; }
.fs__set.on { pointer-events: auto; }
.fs__card { border-radius: 20px; opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .45s var(--e), transform .65s var(--e); }
.fs__set.on .fs__card { opacity: 1; transform: none; }
.fs__set.on .fs__sm { transition-delay: .08s; } .fs__set.on .fs__sm + .fs__sm { transition-delay: .14s; }
.fs__feat { display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; row-gap: 3px; align-items: center; padding: 16px 18px; font-family: var(--app); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
/* icon containers, site-wide rule: a soft top-to-bottom tint gradient, a light edge in the same hue and a white top highlight */
.ic-soft, .fs__ic { display: grid; place-items: center; border-radius: 13px; color: var(--live-fg);
  background: linear-gradient(180deg, #F1F9F4 0%, #CDEAD8 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 0 0 1px rgba(30,158,90,.24), 0 1px 2px rgba(21,114,68,.1); }
.fs__ic { grid-row: span 2; width: 42px; height: 42px; }
.fs__ic svg { width: 19px; height: 19px; }
.fs__feat b { font-size: 15.5px; font-weight: 600; letter-spacing: -.02em; }
.fs__feat > span:last-child { font-size: 13px; line-height: 1.4; color: var(--graphite); }
.fs__big { display: grid; gap: 4px; padding: 20px 22px; background: var(--cement); }
.fs__big b { font-size: clamp(2rem, 1.3rem + 1.6vw, 2.8rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.fs__big span { margin-top: 4px; font-size: 14px; font-weight: 500; }
.fs__big small { font-size: 12.5px; color: var(--graphite); }
.fs__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fs__sm { display: grid; gap: 4px; padding: 16px 16px 15px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.fs__sm b { font-size: 21px; font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.fs__sm span { font-size: 12.5px; line-height: 1.35; color: var(--graphite); }

@media (max-width: 1100px) { .fs__pin { grid-template-columns: minmax(0, 1fr) auto; } .fs__duo { display: none; } }
@media (max-width: 820px) {
  .fs { height: calc(100svh + 4 * 70svh); }
  .fs__pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; justify-items: center; gap: 18px; padding: 76px 20px 34px; min-height: 0; text-align: center; }
  .fs__l { justify-items: center; gap: 10px; }
  .fs__h { font-size: clamp(1.7rem, 1rem + 3.6vw, 2.2rem); }
  .fs__c { height: 100%; align-content: start; }
  .fs__phone { width: auto; height: min(58svh, 480px); }
  .fs__ps, .fs__r { display: none; }
}
@media (prefers-reduced-motion: reduce) { .fs__h, .fs__p, .fs__card, .fs__scr { transition: none; } }

/* ---------- STATEMENT · scroll-fill paragraph (after Vivid) ---------- */
.say { padding: clamp(96px, 16vh, 180px) clamp(20px, 6vw, 80px); background: #fff; }
.say__t { max-width: 1000px; margin: 0 auto; font-size: clamp(1.7rem, .9rem + 2.4vw, 3.1rem); font-weight: 500; line-height: 1.18; letter-spacing: -.035em; text-wrap: pretty; color: var(--ink); }
/* kinetic fill: --k per word (0 unread → 1 read), driven by site.js. --g peaks mid-way: the "current" passing through */
.say__t { --w-off: #CBD0CD; --w-on: var(--ink); --w-cur: #1E9E5A; }
.say__t .w { --k: 0; --g: calc(1 - max(var(--k) - .5, .5 - var(--k)) * 2);
  display: inline-block; color: color-mix(in oklab, var(--w-cur) calc(var(--g) * 70%), color-mix(in oklab, var(--w-on) calc(var(--k) * 100%), var(--w-off)));
  transform: translate3d(0, calc((1 - var(--k)) * .28em), 0) rotate(calc((1 - var(--k)) * 2.5deg)); transform-origin: 0 100%;
  opacity: calc(.55 + var(--k) * .45); filter: blur(calc(var(--g) * 1.2px)); will-change: transform; }
.say__t .say__brand .w { --w-on: var(--live); --w-off: #B9DCC8; --w-cur: var(--live); }
@media (prefers-reduced-motion: reduce) { .say__t .w { --k: 1 !important; transform: none; filter: none; } }

/* smooth scroll (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- KEY BENEFITS · three cards with a cropped real phone and a live alert ---------- */
.kb { padding: clamp(96px, 14vh, 160px) clamp(20px, 4vw, 56px); background: #fff; }
.kb__head { display: grid; justify-items: center; gap: 14px; margin-bottom: clamp(36px, 5vh, 56px); text-align: center; }
.kb__h { margin: 0; font-size: clamp(2rem, 1.1rem + 2vw, 3rem); font-weight: 500; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.kb__h .dim { color: var(--dim); }
.kb__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1200px; margin: 0 auto; }
.kb__card { position: relative; height: clamp(440px, 34vw, 480px); overflow: hidden; border-radius: 28px; background: var(--cement); }
.kb__txt { position: absolute; left: 0; right: 0; padding: 34px 36px 0; }
.kb__card--down .kb__txt { top: auto; bottom: 0; padding: 0 36px 34px; }
.kb__txt h3 { margin: 0; font-size: 19px; font-weight: 500; letter-spacing: -.025em; }
.kb__txt p { margin: 10px 0 0; max-width: 24em; font-size: 15.5px; line-height: 1.5; color: var(--graphite); text-wrap: pretty; }
/* the phone: real frame over the screen, cropped by the card */
.kb__phone { position: absolute; left: 50%; width: 76%; aspect-ratio: 1234 / 2576; transform: translateX(-50%); filter: drop-shadow(0 30px 40px rgba(13,18,16,.18)); }
.kb__phone.is-low { top: 39%; }
.kb__phone.is-high { bottom: 42%; }
.kb__scr { position: absolute; left: 3.241%; top: 1.32%; width: 93.517%; height: 97.36%; object-fit: cover; border-radius: 13.9% / 6.4%; }
.kb__phone.is-high .kb__scr { object-position: 50% 100%; }
.kb__frame { position: absolute; inset: 0; width: 100%; height: 100%; }
/* the alert is a Live Activity: it grows out of the Dynamic Island, pure black so it merges with the island,
   inset and rounded like iOS's expanded island. Sized in cqw so it scales with the phone. */
.kb__phone { container-type: inline-size; }
.kb__alert { position: absolute; z-index: 3; left: 5.4%; right: 5.4%; top: calc(1.32% + 2.16cqw);   /* top gap = side gap (2.16cqw from the screen edge) */
  display: grid; gap: 2.6cqw; padding: 4.6cqw 4.6cqw 4cqw; border-radius: 11cqw; font-family: var(--app); color: #fff;
  background: linear-gradient(180deg, rgba(18,20,19,.62), rgba(8,9,9,.7)); -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7);   /* iOS glass, not flat black */
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.08), 0 2cqw 6cqw -2cqw rgba(0,0,0,.35); }
.kb__ah { display: flex; align-items: center; gap: 2.8cqw; }
.kb__ah b { font-size: 4.6cqw; font-weight: 600; letter-spacing: -.01em; }
.kb__ah small { margin-left: auto; font-size: 3.6cqw; color: rgba(255,255,255,.45); }
.kb__app { display: grid; place-items: center; width: 7.6cqw; height: 7.6cqw; border-radius: 2.2cqw; color: var(--live); background: linear-gradient(180deg, #24302A, #141A17); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.kb__app svg { width: 4.2cqw; height: 4.2cqw; }
.kb__alert p { margin: 0; font-size: 4.1cqw; line-height: 1.42; color: rgba(255,255,255,.82); }
.kb__meta { display: inline-flex; align-items: center; gap: 1.8cqw; font-size: 3.7cqw; color: rgba(255,255,255,.55); }
.kb__meta svg { width: 4cqw; height: 4cqw; }
.kb__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4cqw; margin-top: 1.2cqw; }
.kb__b { display: grid; place-items: center; height: 10.6cqw; border-radius: 5.3cqw; background: rgba(255,255,255,.12); font-size: 4cqw; font-weight: 500; }
.kb__b--go { background: var(--live); }

/* reveal: cards rise in a stagger; the phone slides in a beat later, then the alert drops onto it */
.kb__card { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--e), transform 1s var(--e); }
.kb__card:nth-child(2) { transition-delay: .1s; } .kb__card:nth-child(3) { transition-delay: .2s; }
.kb__phone { opacity: 0; translate: 0 60px; transition: opacity .9s var(--e) .25s, translate 1.1s var(--e) .25s; }
.kb__phone.is-high { translate: 0 -60px; }
.kb__alert { clip-path: inset(0 31% calc(100% - 9.6cqw) 31% round 5cqw); transition: clip-path .75s cubic-bezier(.3, 1.25, .5, 1) 1s; }
.kb__alert > * { opacity: 0; transition: opacity .35s var(--e) 1.35s; }
.kb__card:nth-child(3) .kb__alert { transition-delay: 1.2s; } .kb__card:nth-child(3) .kb__alert > * { transition-delay: 1.55s; }
.kb.in .kb__card { opacity: 1; transform: none; }
.kb.in .kb__alert { clip-path: inset(0 0 0 0 round 11cqw); } .kb.in .kb__alert > * { opacity: 1; }
.kb.in .kb__phone { opacity: 1; translate: 0 0; }
.no-io .kb__card, .no-io .kb__phone { opacity: 1; transform: none; translate: 0 0; } .no-io .kb__alert { clip-path: none; } .no-io .kb__alert > * { opacity: 1; }

@media (max-width: 1000px) { .kb__grid { grid-template-columns: 1fr; max-width: 460px; } .kb__phone { width: 64%; } }
@media (prefers-reduced-motion: reduce) { .kb__card, .kb__phone, .kb__alert, .kb__alert > * { transition: none; } }

/* eyebrow mark: the EV bolt (same icon as across the page), not a dot */
.eb i { display: grid; place-items: center; width: 14px; height: 14px; border-radius: 0; background: none; box-shadow: none; color: var(--live); }
.eb i svg { width: 12px; height: 12px; }
.eb { gap: 5px; padding: 0 12px 0 9px; } .eb i { width: 12px; height: 12px; }   /* icon side = icon top inset (9px), text side +3 */

/* ---------- page-wide dark theme: on while the dark bento sits in the middle of the screen ---------- */
body, .hero, .say, .fs, .kb, .next, .nav { transition: background-color .6s var(--e), color .6s var(--e), box-shadow .6s var(--e); }
.fs__h, .fs__p, .kb__h, .kb__card, .kb__txt h3, .kb__txt p, .fs__big, .fs__sm, .eb, .next__t { transition: background-color .6s var(--e), color .6s var(--e), box-shadow .6s var(--e); }
html.dark body, html.dark .hero, html.dark .say, html.dark .fs, html.dark .kb, html.dark .next { background-color: #0A0C0B; color: #fff; }
html.dark .nav { background: rgba(26,31,29,.72); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 .5px rgba(255,255,255,.08), 0 8px 24px -12px rgba(0,0,0,.6); }
html.dark .nav a { color: rgba(255,255,255,.68); } html.dark .nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
html.dark .nav__logo { color: #fff !important; } html.dark .nav__cta { background: #fff; color: var(--ink) !important; }
html.dark .say__t { --w-off: #2C322F; --w-on: #fff; --w-cur: #3BD67F; }
html.dark :is(.fs__h, .kb__h, .kb__txt h3) { color: #fff; } html.dark :is(.fs__p, .kb__txt p) { color: rgba(255,255,255,.6); }
html.dark :is(.fs__big, .fs__sm, .kb__card) { background: #151918; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
html.dark .fs__big small, html.dark .fs__sm span { color: rgba(255,255,255,.6); }
html.dark .eb { background: #1A1F1D; color: rgba(255,255,255,.72); }
html.dark .hero::after { background: linear-gradient(rgba(10,12,11,0), #0A0C0B 85%); }

/* ---------- progressive blur along the bottom of the viewport (Ledgerline's) ---------- */
.vblur { position: fixed; left: 0; right: 0; bottom: 0; height: 120px; z-index: 25; pointer-events: none; transition: opacity .4s var(--e); }
.vblur i { position: absolute; inset: 0; }
.vblur i:nth-child(1) { -webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px); -webkit-mask: linear-gradient(transparent 0%, #000 25%); mask: linear-gradient(transparent 0%, #000 25%); }
.vblur i:nth-child(2) { -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); -webkit-mask: linear-gradient(transparent 20%, #000 50%); mask: linear-gradient(transparent 20%, #000 50%); }
.vblur i:nth-child(3) { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); -webkit-mask: linear-gradient(transparent 45%, #000 75%); mask: linear-gradient(transparent 45%, #000 75%); }
.vblur i:nth-child(4) { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); -webkit-mask: linear-gradient(transparent 70%, #000 100%); mask: linear-gradient(transparent 70%, #000 100%); }
.vblur i:nth-child(5) { background: linear-gradient(rgba(255,255,255,0) 30%, rgba(255,255,255,.55)); transition: background .6s var(--e); }
.vblur.on-dark i:nth-child(5), html.dark .vblur i:nth-child(5) { background: linear-gradient(rgba(10,12,11,0) 30%, rgba(10,12,11,.6)); }
.vblur.is-end { opacity: 0; }
@media (max-width: 767px) { .vblur { height: 84px; } }

/* pill label: "Rs 84" while driving, "Charging…" (bolt + ticking dots) while parked at the charger, then back to the amount */
.pill__pin b { display: inline-flex; align-items: center; white-space: nowrap; }
.pp__amt, .pp__chg { display: inline-flex; align-items: center; overflow: hidden; }
.pp__chg { max-width: 0; opacity: 0; }
.pp__chg svg { width: .95em; height: .95em; margin-right: .22em; color: #3BD67F; flex: none; }
.pp__dots span { display: inline-block; width: .32em; font-style: normal; }
.js .pp__amt { animation: pAmt 7s infinite 1.7s backwards; }
.js .pp__chg { animation: pChg 7s infinite 1.7s backwards; }
.js .pp__chg svg { animation: pBolt 1.2s ease-in-out infinite; }
.js .pp__dots span { animation: pDot 1.2s infinite; }
.js .pp__dots span:nth-child(2) { animation-delay: .2s; } .js .pp__dots span:nth-child(3) { animation-delay: .4s; }
@keyframes pDot { 0%, 15% { opacity: 0; } 35%, 70% { opacity: 1; } 100% { opacity: 0; } }
@keyframes pBolt { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .js .pp__amt, .js .pp__chg, .js .pp__dots span, .js .pp__chg svg { animation: none !important; } }

/* pill label swap, symmetric both ways: same length (6% of the loop ≈ .42s), same ease, max-widths matched to the real text widths */
.pp__amt small { margin-left: .12em; font-size: .78em; font-weight: 500; opacity: .62; }
@keyframes pAmt { 0%, 29% { max-width: 4.6em; opacity: 1; animation-timing-function: cubic-bezier(.65,0,.35,1); } 35%, 64% { max-width: 0; opacity: 0; animation-timing-function: cubic-bezier(.65,0,.35,1); } 70%, 100% { max-width: 4.6em; opacity: 1; } }
@keyframes pChg { 0%, 29% { max-width: 0; opacity: 0; animation-timing-function: cubic-bezier(.65,0,.35,1); } 35%, 64% { max-width: 6.4em; opacity: 1; animation-timing-function: cubic-bezier(.65,0,.35,1); } 70%, 100% { max-width: 0; opacity: 0; } }
/* hero glass cards: softer edge and a lighter, wider shadow */
.f--row, .f--stop { border-color: rgba(13,18,16,.035); box-shadow: 0 1px 2px rgba(13,18,16,.03), 0 24px 56px -28px rgba(13,18,16,.14) !important; }

/* iPhone 18 Pro (Burgundy) everywhere: Apple's bezel is 1350×2760 with a 1206×2622 screen at (72, 69) */
.hero__phone, .fs__phone, .kb__phone { aspect-ratio: 1350 / 2760; }
.hp__scr, .fs__screen, .kb__scr { left: 5.333%; top: 2.5%; width: 89.333%; height: 95%; border-radius: 16.8% / 7.74%; }
.kb__alert { left: 7.5%; right: 7.5%; top: calc(2.5% + 2.16cqw); }

/* hero store buttons (2026-11-05): the page's one conversion. Two equal ink pills, official logos, two-line label;
   Google Play first since most drivers in Pakistan are on Android */
.st { display: inline-flex; align-items: center; gap: 11px; height: 56px; padding: 0 22px 0 18px; border-radius: 16px; background: var(--ink); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 1px 2px rgba(13,18,16,.12), 0 14px 30px -16px rgba(13,18,16,.45);
  transition: transform .35s var(--e), background-color .2s, box-shadow .35s var(--e); }
.st:hover { background: #1A201D; transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 2px 4px rgba(13,18,16,.12), 0 20px 36px -18px rgba(13,18,16,.5); }
.st:active { transform: translateY(0) scale(.98); }
.st:focus-visible { outline: 2px solid var(--live); outline-offset: 3px; }
.st__ic { width: 24px; height: 24px; flex: none; }
.st[data-store="app-store"] .st__ic { width: 23px; height: 23px; margin-top: -3px; }
.st__t { display: grid; text-align: left; font-family: var(--app); font-size: 17px; font-weight: 600; line-height: 1.05; letter-spacing: -.02em; }
.st__t small { font-size: 11px; font-weight: 500; letter-spacing: 0; color: rgba(255,255,255,.66); margin-bottom: 2px; }
.hero__cta { gap: 12px; }
@media (max-width: 760px) { .hero__cta { flex-wrap: nowrap; } .st { height: 52px; padding: 0 16px 0 14px; gap: 9px; border-radius: 14px; } .st__t { font-size: 15px; } .st__t small { font-size: 10px; } .st__ic { width: 21px; height: 21px; } }
@media (max-width: 360px) { .hero__cta { flex-wrap: wrap; } }
/* Google Play in light: white pill, ink text, hairline edge; App Store stays ink */
.st[data-store="google-play"] { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(13,18,16,.1), 0 1px 2px rgba(13,18,16,.05), 0 14px 30px -18px rgba(13,18,16,.25); }
.st[data-store="google-play"]:hover { background: #fff; box-shadow: inset 0 0 0 1px rgba(13,18,16,.14), 0 2px 4px rgba(13,18,16,.06), 0 20px 36px -18px rgba(13,18,16,.3); }
.st[data-store="google-play"] .st__t small { color: #6B726F; }

/* nav CTA hover: a download arrow slides in on the right and the pill grows to make room */
.nav__cta { display: inline-flex; align-items: center; }
.nav__dl { display: grid; place-items: center; width: 0; margin-left: 0; opacity: 0; overflow: hidden; transform: translateY(-6px);
  transition: width .35s var(--e), margin-left .35s var(--e), opacity .25s var(--e), transform .45s var(--e); }
.nav__dl svg { width: 14px; height: 14px; flex: none; }
.nav__cta:hover .nav__dl, .nav__cta:focus-visible .nav__dl { width: 14px; margin-left: 7px; opacity: 1; transform: none; }
.nav__cta:hover .nav__dl svg { animation: navDl 1.4s var(--e) .35s infinite; }
@keyframes navDl { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(2px); } }
@media (hover: none) { .nav__dl { display: none; } }
@media (prefers-reduced-motion: reduce) { .nav__dl, .nav__cta:hover .nav__dl svg { transition: none; animation: none; } }
.nav__cta { white-space: nowrap; }

/* (2026-11-05) the dark-theme colour transition above replaced the sticky section's own transitions, so the
   heading, copy and stat cards switched instantly; this restores them (with the colour fade kept) */
.fs__h { transition: opacity .5s var(--e), transform .7s var(--e), filter .5s var(--e), color .6s var(--e); }
.fs__p { transition: opacity .5s var(--e) .06s, transform .7s var(--e) .06s, color .6s var(--e); }
.fs__card { transition: opacity .45s var(--e), transform .65s var(--e), background-color .6s var(--e), box-shadow .6s var(--e); }
.fs__set.on .fs__sm { transition-delay: .08s, .08s, 0s, 0s; } .fs__set.on .fs__sm + .fs__sm { transition-delay: .14s, .14s, 0s, 0s; }
@media (prefers-reduced-motion: reduce) { .fs__h, .fs__p, .fs__card { transition: none; } }



/* ===== mobile rules (2026-11-05) ===== */
/* nav on phones: keep every section reachable. Map · Trips · logo · Cost · Get the app, tightened to fit 360px+ */
@media (max-width: 640px) {
  .nav { top: max(10px, env(safe-area-inset-top)); gap: 0; padding: 4px; max-width: calc(100vw - 20px); }
  .nav a:not(.nav__logo):not(.nav__cta) { display: inline-flex !important; padding: 0 9px; font-size: 13px; }
  .nav__logo { padding: 0 9px !important; font-size: 17px !important; }
  .nav__cta { padding: 0 12px !important; font-size: 13px; }
  .nav a { height: 40px; }
}
@media (max-width: 359px) { .nav a[href="#pakistan"] { display: none !important; } }
/* touch: no grey tap flash, no double-tap zoom delay, no long-press text selection on controls */
a, button, label, .kn { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, .nav a, .st, .calc-car, .calc-ch { -webkit-user-select: none; user-select: none; }
/* hover-only effects stay off on touch screens */
@media (hover: none) { .st:hover, .nav__cta:hover { transform: none; } }

/* store buttons, pill style (2026-11-05): fully round ends, a touch taller, more side room; Google Play uses its official "Get it on" */
.st { height: 60px; padding: 0 30px 0 24px; border-radius: 999px; gap: 12px; }
.st__t { font-size: 18px; }
.st__t small { font-size: 11.5px; }
@media (max-width: 760px) { .st { height: 54px; padding: 0 20px 0 16px; border-radius: 999px; } .st__t { font-size: 15.5px; } }

/* first-visit curtain: an ink panel with the wordmark rises off the page, bottom edge first */
.intro-curtain { display: none; }
html.has-curtain .intro-curtain { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: #0A0C0B; color: #fff;
  clip-path: inset(0 0 0 0); transition: clip-path 1s cubic-bezier(.76, 0, .24, 1); }
html.curtain-up .intro-curtain { clip-path: inset(0 0 100% 0); }
.intro-curtain__logo { display: inline-flex; font: 600 clamp(44px, 7vw, 76px)/1 var(--display); letter-spacing: -.05em; opacity: 0; transform: translateY(24px);
  animation: curtainLogo .7s cubic-bezier(.16, 1, .3, 1) .1s forwards; }
.intro-curtain__logo i { width: .14em; height: .14em; margin: .08em 0 0 .03em; border-radius: 50%; background: #3BD67F; transform: scale(0); animation: curtainDot .5s cubic-bezier(.34, 1.56, .64, 1) .45s forwards; }
html.curtain-up .intro-curtain__logo { transform: translateY(-40px); opacity: 0; transition: transform .8s cubic-bezier(.76, 0, .24, 1), opacity .4s ease; animation: none; }
@keyframes curtainLogo { to { opacity: 1; transform: none; } }
@keyframes curtainDot { to { transform: scale(1); } }
html.has-curtain body { overflow: hidden; }
/* loader letters: each letter of the wordmark rises out of a mask from below, one after another; then the dot pops,
   then the curtain lifts bottom-first, so the whole intro flows upward */
.intro-curtain__logo { opacity: 1; transform: none; animation: none; align-items: flex-start; }
.ic-word { display: inline-flex; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ic-l { display: inline-block; transform: translateY(105%); animation: icRise .75s cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: calc(var(--li) * 70ms + .12s); }
@keyframes icRise { to { transform: none; } }
.intro-curtain__logo i { animation-delay: .78s; }
html.curtain-up .intro-curtain__logo { transform: translateY(-36px); opacity: 0; transition: transform .9s cubic-bezier(.76, 0, .24, 1), opacity .45s ease .1s; }

/* hero, 2026-11-09: the floating app cards (price pin, Indus Volt row, Bhera stop) are hidden so the map,
   the chargers and the car search carry the hero on their own */
.hero .f--pin, .hero .f--row, .hero .f--stop { display: none !important; }
