/* Ghar Tak website.
   Brand (final): green #0F7B5F, amber #F5A524 (dark text only), ink #0B1F19, Poppins + Inter.
   Swiss-minimal: generous space, strong type scale, one accent per section.
   Light by default; follows the phone's dark setting; ?theme=light|dark forces one (for checks). */
:root {
  --green: #0F7B5F;
  --green-ink: #0B5E49;
  --green-soft: #E4F2EC;
  --amber: #F5A524;
  --amber-soft: #FDF0D6;
  --ink: #0B1F19;
  --text: #24342E;
  --muted: #5A6A63;
  --line: #E3E9E5;
  --bg: #FBFBF8;
  --canvas: #F2F5F1;
  --card: #FFFFFF;
  --device: #0B1F19;
  --shadow-lg: 0 40px 80px -36px rgba(11, 31, 25, .38), 0 12px 24px -12px rgba(11, 31, 25, .12);
  --shadow-sm: 0 10px 30px -12px rgba(11, 31, 25, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1160px;
}
:root[data-theme="dark"] {
  --green: #43C49A; --green-ink: #9BE5CB; --green-soft: #133129; --amber-soft: #3A2D12;
  --ink: #F0F5F2; --text: #D3DED8; --muted: #9AABA4; --line: #1F332C;
  --bg: #08160F; --canvas: #0D1F18; --card: #11271F; --device: #000;
  --shadow-lg: 0 40px 80px -36px rgba(0, 0, 0, .75); --shadow-sm: 0 10px 30px -12px rgba(0, 0, 0, .65);
  color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; -webkit-tap-highlight-color: transparent; background: var(--bg); color: var(--text); font: 400 17px/1.65 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
h1, h2, h3 { font-family: Poppins, Inter, sans-serif; color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 8px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.2rem Poppins, sans-serif; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.nav { display: flex; gap: 2px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 9px 13px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--canvas); }
.nav a:active, .foot-grid a:active { opacity: .6; }
.top-actions { display: flex; align-items: center; gap: 6px; }
.theme { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.theme:hover { background: var(--canvas); color: var(--ink); }
.theme:active { transform: scale(.94); }
.theme .i { width: 20px; height: 20px; }
.theme .moon { display: none; }
:root[data-theme="light"] .theme .moon { display: block; }
:root[data-theme="light"] .theme .sun { display: none; }
@media (max-width: 640px) { .nav a:not(.keep) { display: none; } .nav a { padding: 9px 12px; } }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: transform .25s var(--ease), background .2s, box-shadow .25s; cursor: pointer; touch-action: manipulation; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-amber { color: #0B1F19; background: var(--amber); }
.btn-amber:hover { box-shadow: 0 12px 24px -10px rgba(245, 165, 36, .7); }
.play { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 26px; border-radius: 16px; background: var(--amber); color: #0B1F19; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.play:hover { box-shadow: 0 12px 28px -12px rgba(245, 165, 36, .7); }
:root[data-theme="light"] .play { background: var(--ink); color: #FBFBF8; }
.play:hover { transform: translateY(-2px); }
.play svg { width: 22px; height: 22px; fill: currentColor; }
.play span { display: flex; flex-direction: column; font: 600 1.08rem/1.15 Poppins, sans-serif; }
.play small { font: 500 .66rem Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.play:active { transform: scale(.98); }

/* Hero */
.hero2 { padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 8vw, 112px); overflow: clip; }
.hero2-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.display { font-size: clamp(3rem, 8vw, 6rem); font-weight: 700; line-height: .98; letter-spacing: -.04em; margin-bottom: 28px; }
.display .accent { color: var(--green); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 32em; margin-bottom: 32px; }
.facts { list-style: none; margin: 44px 0 0; padding: 26px 0 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(20px, 4vw, 48px); border-top: 1px solid var(--line); }
.facts li { display: flex; flex-direction: column; }
.facts strong { font: 700 1.3rem Poppins, sans-serif; color: var(--ink); letter-spacing: -.01em; }
.facts span { font-size: .88rem; color: var(--muted); }
@media (max-width: 520px) { .facts { grid-template-columns: repeat(3, 1fr); gap: 14px; } .facts strong { font-size: 1.1rem; } .facts span { font-size: .8rem; } }

.stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.halo { position: absolute; width: 120%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--amber) 30%, transparent), color-mix(in srgb, var(--green) 10%, transparent) 60%, transparent); z-index: 0; }
.device { position: relative; z-index: 1; width: min(310px, 72vw); border-radius: 42px; padding: 9px; background: var(--device); box-shadow: var(--shadow-lg); }
.device img { border-radius: 34px; }
.device.small { width: min(270px, 64vw); }
.chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; background: var(--card); color: var(--ink); border-radius: 18px; padding: 12px 16px 12px 12px; box-shadow: var(--shadow-sm); font-size: .9rem; line-height: 1.25; }
.chip { text-align: left; }
.chip strong { display: block; font-weight: 600; }
.chip small { display: block; color: var(--muted); font-size: .78rem; }
.chip-toast { top: 1%; left: -14%; }
.chip-clock { bottom: 6%; right: -6%; }
.chip-clock strong { font: 700 1.15rem Poppins, sans-serif; font-variant-numeric: tabular-nums; }
.tick { width: 36px; height: 36px; border-radius: 12px; background: var(--green); display: grid; place-items: center; }
.tick svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ring { width: 44px; height: 44px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 4.5; stroke-linecap: round; }
.ring-bg { stroke: var(--green-soft); }
.ring-fg { stroke: var(--green); stroke-dasharray: 113; stroke-dashoffset: 34; }
.js .ring-fg { animation: draw 1.2s var(--ease) 1.2s both; }
@keyframes draw { from { stroke-dashoffset: 113; } }
@media (max-width: 900px) {
  .hero2-grid { grid-template-columns: 1fr; }
  .stage { min-height: 0; padding: 24px 0 8px; }
  .chip-toast { left: 0; top: 0; }
  .chip-clock { right: 0; bottom: 4%; }
}

/* How it works */
.band { background: var(--ink); color: rgba(240, 245, 242, .74); padding: clamp(64px, 9vw, 120px) 0; }
:root[data-theme="dark"] .band { background: var(--canvas); }
.band h2, .band h3 { color: #F0F5F2; }
.steps { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.eyebrow-line { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.eyebrow-line::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.band .eyebrow-line, .eyebrow-line.light { color: var(--amber); }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps-list li { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; padding: 28px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.steps-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.steps-list .n { grid-row: span 2; font: 700 1rem Poppins, sans-serif; color: var(--amber); padding-top: 3px; font-variant-numeric: tabular-nums; }
.steps-list h3 { margin-bottom: 6px; font-size: 1.25rem; }
.steps-list p { margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tight { padding-top: 0; }
.section.alt { background: var(--canvas); }

/* Promises */
.promises { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.promises-head { position: sticky; top: 100px; }
.promise-list { margin: 0; display: grid; }
.promise-list > div { display: grid; grid-template-columns: minmax(150px, .7fr) 1.3fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.promise-list > div:last-child { border-bottom: 1px solid var(--line); }
.promise-list dt { font: 600 1.15rem Poppins, sans-serif; color: var(--ink); letter-spacing: -.01em; }
.promise-list dd { margin: 0; color: var(--muted); }
.promise-list dd strong { color: var(--ink); }
@media (max-width: 860px) { .promises { grid-template-columns: 1fr; } .promises-head { position: static; } .promise-list > div { grid-template-columns: 1fr; gap: 6px; } }

/* Local map */
.local { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.map { margin: 0; background: var(--card); border-radius: 28px; padding: 12px; box-shadow: var(--shadow-sm); }
.map svg { width: 100%; height: auto; display: block; border-radius: 20px; background: var(--bg); }
.roads path { fill: none; stroke: var(--line); stroke-width: 14; stroke-linecap: round; }
.roads path.minor { stroke-width: 6; }
.you circle:first-child { fill: color-mix(in srgb, var(--green) 14%, transparent); }
.you circle:last-child { fill: var(--green); stroke: var(--card); stroke-width: 4; }
.pin circle { fill: var(--green); stroke: var(--card); stroke-width: 3; }
.pin.amber circle { fill: var(--amber); }
.pin text { font: 600 13px Inter, sans-serif; fill: var(--ink); paint-order: stroke; stroke: var(--bg); stroke-width: 4px; }
@media (max-width: 860px) { .local { grid-template-columns: 1fr; } }

/* Partner band */
.partner { background: var(--green); color: rgba(255, 255, 255, .88); padding: clamp(64px, 9vw, 120px) 0 0; overflow: clip; }
:root[data-theme="dark"] .partner { background: #0D5A46; }
.partner h2 { color: #fff; }
.partner-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: end; }
.partner-copy { padding-bottom: clamp(64px, 9vw, 120px); }
.partner-shot { display: flex; justify-content: center; }
.partner-shot .device { border-radius: 42px 42px 0 0; padding-bottom: 0; transform: translateY(2px); }
.partner-shot .device img { border-radius: 34px 34px 0 0; max-height: 520px; object-fit: cover; object-position: top; }
@media (max-width: 860px) { .partner-grid { grid-template-columns: 1fr; } .partner-copy { padding-bottom: 8px; } }
.ticks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 22px; height: 22px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F7B5F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.ticks.light li::before { background-color: rgba(255, 255, 255, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5A524' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E"); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.team2 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.team2 li { display: flex; align-items: center; gap: 14px; background: var(--canvas); border-radius: 20px; padding: 16px; }
.team2 strong { display: block; color: var(--ink); font: 600 1.05rem Poppins, sans-serif; }
.team2 small { color: var(--muted); }
.mono { width: 48px; height: 48px; flex: none; border-radius: 15px; display: grid; place-items: center; background: var(--green); color: #fff; font: 700 1.2rem Poppins, sans-serif; }
.mono.amber { background: var(--amber); color: #0B1F19; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .team2 { grid-template-columns: 1fr; } }

/* Shared cards (other pages) */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.spaced { margin-top: 32px; }
@media (max-width: 860px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border-radius: 24px; padding: 26px; }
.section:not(.alt) .card, .doc .card { background: var(--canvas); }
.card p:last-child { margin-bottom: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.04; }
.eyebrow { display: inline-block; font-weight: 600; font-size: .85rem; color: var(--green-ink); background: var(--green-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.phones { position: relative; display: flex; justify-content: center; }
.phone { width: min(300px, 70vw); border-radius: 40px; padding: 9px; background: var(--device); box-shadow: var(--shadow-lg); }
.phone img { border-radius: 32px; }
.glow { position: absolute; inset: 4% -6%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--amber) 28%, transparent), transparent); z-index: -1; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* CTA */
.cta { background: var(--ink); color: rgba(255, 255, 255, .8); border-radius: 32px; padding: clamp(32px, 5vw, 60px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
:root[data-theme="dark"] .cta { background: var(--card); }
.cta h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta p { margin: 0; }

/* Legal / long text pages */
.doc { padding: clamp(40px, 6vw, 80px) 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2.2rem, 4.6vw, 3rem); letter-spacing: -.03em; }
.doc h2 { font-size: 1.35rem; margin-top: 2.2em; }
.doc h3 { margin-top: 1.4em; }
.doc ul, .doc ol { padding-left: 1.2em; }
.doc li { margin-bottom: .4em; }
.doc .updated { color: var(--muted); font-size: .9rem; margin-bottom: 2em; }
.doc .lead { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink); font-weight: 600; }
.table-scroll { overflow-x: auto; }
mark.todo { background: #FFE58A; color: #3B2B00; padding: 1px 6px; border-radius: 6px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-grid a:not(.brand) { display: block; color: var(--muted); text-decoration: none; padding: 5px 0; font-size: .95rem; transition: color .2s; }
.foot-grid a:not(.brand):hover { color: var(--ink); }
.foot-grid p { margin-top: 14px; }
.foot-h { font: 600 .78rem Inter, sans-serif; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.foot-end { margin-top: 48px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* Reveal on scroll (content is visible without JS). */
.js-ready .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js-ready .reveal.in { opacity: 1; transform: none; }

/* Line icons: one size and weight everywhere. */
.i { width: 20px; height: 20px; flex: none; }
.btn .i { width: 18px; height: 18px; }
.facts .i { width: 22px; height: 22px; color: var(--green); margin-bottom: 10px; }
.promise-list dt { display: flex; gap: 12px; align-items: flex-start; }
.promise-list dt .i { color: var(--green); margin-top: 3px; }

/* Phone hero: centered, one sentence, one button, a quiet link, then the app. */
.lead-short { display: none; }
.link-quiet { display: none; }
@media (max-width: 640px) {
  .hero2 { padding: 28px 0 40px; text-align: center; }
  .hero2-copy .eyebrow-line, .facts, .hero2-copy .btn-ghost, .lead-long { display: none; }
  .lead-short { display: inline; }
  .display { font-size: clamp(2.8rem, 13.5vw, 3.6rem); margin: 8px 0 14px; }
  .lead { margin: 0 auto 26px; font-size: 1.1rem; }
  .hero2 .btns { flex-direction: column; align-items: stretch; gap: 14px; }
  .hero2 .play { justify-content: center; min-height: 56px; }
  .link-quiet { display: inline-flex; align-self: center; align-items: center; gap: 6px; color: var(--muted); font-weight: 500; text-decoration: none; padding: 8px 12px; }
  .link-quiet .i { width: 16px; height: 16px; }
  .link-quiet:active { opacity: .6; }
  .stage { padding-top: 32px; }
  .chip-toast { left: -2px; }
}

/* About page */
.about-page .wrap { max-width: 760px; }
.about-page h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); }
.team3 { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.team3 li { display: flex; align-items: center; gap: 14px; background: var(--canvas); border-radius: 20px; padding: 16px; }
.team3 strong { display: block; color: var(--ink); font: 600 1.05rem Poppins, sans-serif; }
.team3 small { color: var(--muted); }
.photo { width: 56px; height: 56px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font: 700 1.3rem Poppins, sans-serif; overflow: hidden; }
.photo.amber { background: var(--amber); color: #0B1F19; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 480px) { .team3 { grid-template-columns: 1fr; } }

/* Other page heroes on phones: same calm, centered rhythm as the home page. */
@media (max-width: 640px) {
  .hero { padding: 28px 0 40px; text-align: center; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .hero .lead { margin-inline: auto; }
  .hero .btns { flex-direction: column; align-items: stretch; }
  .hero .btn { justify-content: center; }
  .hero .phones { margin-top: 28px; }
}

/* ---- Motion and device-specific tuning ---- */

/* WhatsApp: the real mark, WhatsApp green on the button. */
.wa { width: 20px; height: 20px; flex: none; }
.btn-wa { color: #fff; background: #1FA855; }
.btn-wa:hover { box-shadow: 0 12px 24px -10px rgba(31, 168, 85, .7); }
.with-icon { display: inline-flex !important; align-items: center; gap: 8px; }
.with-icon .wa { width: 16px; height: 16px; color: #1FA855; }
.play-badge { display: inline-block; margin: -14px -12px; }
.play-badge img { height: 84px; width: auto; }

/* Hero entrance: copy rises in order, the phone settles, the chips pop after it. */
.js .hero2-copy > * { animation: rise .9s var(--ease) both; }
.js .hero2-copy > :nth-child(2) { animation-delay: .08s; }
.js .hero2-copy > :nth-child(3) { animation-delay: .16s; }
.js .hero2-copy > :nth-child(4) { animation-delay: .24s; }
.js .hero2-copy > :nth-child(5) { animation-delay: .32s; }
.js .stage .device { animation: settle 1.1s var(--ease) .15s both; }
.js .stage .chip-toast { animation: pop .6s var(--ease) .9s both; }
.js .stage .chip-clock { animation: pop .6s var(--ease) 1.15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes settle { from { opacity: 0; translate: 0 40px; scale: .96; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.9); } }


/* Map pins drop in one by one when the map comes into view. */
.js-ready .pins-pop .pin { opacity: 0; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js-ready .pins-pop.in .pin { opacity: 1; }
.js-ready .pins-pop.in .pin:nth-of-type(1) { transition-delay: .15s; }
.js-ready .pins-pop.in .pin:nth-of-type(2) { transition-delay: .3s; }
.js-ready .pins-pop.in .pin:nth-of-type(3) { transition-delay: .45s; }
.js-ready .pins-pop.in .pin:nth-of-type(4) { transition-delay: .6s; }
.js-ready .pins-pop.in .pin:nth-of-type(5) { transition-delay: .75s; }

/* Phone-only bottom bar. */
.mbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 84px; }
  .mbar { display: flex; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 30;
    padding: 8px; border-radius: 22px; background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm); transform: translateY(140%); transition: transform .45s var(--ease); }
  .mbar.show { transform: none; }
  .mbar-main { flex: 1; display: grid; place-items: center; min-height: 48px; border-radius: 16px; background: var(--amber); color: #0B1F19; font-weight: 600; text-decoration: none; font-size: .95rem; }
  .mbar-main:active, .mbar-wa:active { transform: scale(.97); }
  .mbar-main, .mbar-wa { transition: transform .15s var(--ease); }
  .mbar-wa { width: 52px; min-height: 48px; display: grid; place-items: center; border-radius: 16px; background: #1FA855; color: #fff; }
  .mbar-wa .wa { width: 24px; height: 24px; }

  /* Hero on phones: tighter, and only the top of the phone shows (fades out). */
  .hero2 { padding-top: 20px; }
  .display { font-size: clamp(2.9rem, 14vw, 4rem); margin-bottom: 20px; }
  .lead { margin-bottom: 26px; }
  .facts { margin-top: 32px; padding-top: 20px; }
  .stage { padding-top: 28px; }
  .stage .device { width: min(280px, 76vw); max-height: 430px; overflow: hidden; border-radius: 40px 40px 0 0; padding-bottom: 0;
    -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
  .chip { padding: 10px 13px 10px 10px; font-size: .82rem; border-radius: 16px; }
  .chip-toast { top: 4px; left: 0; }
  .chip-clock { right: 0; bottom: 22%; }
  .halo { width: 150%; }
  .steps-list li { grid-template-columns: 44px 1fr; padding: 22px 0; }
  .promise-list > div { padding: 20px 0; }
  .partner-shot .device { max-height: 420px; overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .js .hero2-copy > *, .js .stage .device, .js .stage .chip-toast, .js .stage .chip-clock, .js .ring-fg { animation: none !important; }
  .js-ready .pins-pop .pin { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-ready .reveal { opacity: 1; transform: none; }
}

/* ======================================================================
   CONCEPTS (5 landing-page directions to choose from). Remove the ones
   not chosen. Each is scoped to .cvN.
   ====================================================================== */
.gp { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; transition: transform .25s var(--ease); }
.gp:hover { transform: translateY(-2px); }
.gp:active { transform: scale(.98); }
.gp img { height: 78px; width: auto; margin: -12px -10px -10px; }
.gp-soon { font-size: .76rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.cta-row.center { justify-content: center; }
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec.alt { background: var(--canvas); }
.sec-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow-line { justify-content: center; }
.sec-head.center .eyebrow-line::before { display: none; }
.big { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; font-family: Poppins, sans-serif; }
@media (max-width: 640px) { .cta-row { justify-content: center; } }

/* 1 · The Promise: time is the product. */
.cv1 .hero-c { padding: clamp(32px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); text-align: center; }
.cv1 .clock { position: relative; width: min(320px, 72vw); aspect-ratio: 1; margin: 0 auto 44px; }
.cv1 .clock svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.cv1 .clock circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.cv1 .clock .bg { stroke: var(--line); }
.cv1 .clock .fg { stroke: var(--green); stroke-dasharray: 597; stroke-dashoffset: 179; }
.js .cv1 .clock .fg { animation: c1draw 1.6s var(--ease) .2s both; }
@keyframes c1draw { from { stroke-dashoffset: 597; } }
.cv1 .clock .face { position: absolute; inset: 0; display: grid; place-content: center; gap: 2px; }
.cv1 .clock .num { font: 700 clamp(4rem, 14vw, 6.2rem)/1 Poppins, sans-serif; color: var(--ink); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.cv1 .clock .unit { font-weight: 600; color: var(--muted); }
.cv1 .clock .shop { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); white-space: nowrap; background: var(--card); color: var(--ink); border-radius: 999px; padding: 8px 14px; font-size: .85rem; font-weight: 600; box-shadow: var(--shadow-sm); }
.cv1 h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); letter-spacing: -.04em; line-height: 1.02; }
.cv1 .lead { margin: 0 auto 32px; text-align: center; }
.cv1 .timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.cv1 .timeline::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 11px; height: 2px; background: var(--line); }
.cv1 .timeline li { position: relative; text-align: center; padding: 0 10px; }
.cv1 .timeline .pt { width: 24px; height: 24px; border-radius: 50%; margin: 0 auto 16px; background: var(--bg); border: 2px solid var(--green); position: relative; }
.cv1 .timeline li.done .pt { background: var(--green); }
.cv1 .timeline time { display: block; font: 700 1.3rem Poppins, sans-serif; color: var(--ink); font-variant-numeric: tabular-nums; }
.cv1 .timeline span { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) {
  .cv1 .timeline { grid-template-columns: 1fr; gap: 26px; }
  .cv1 .timeline::before { left: 11px; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; }
  .cv1 .timeline li { display: grid; grid-template-columns: 24px 1fr; column-gap: 18px; text-align: left; padding: 0; }
  .cv1 .timeline .pt { margin: 2px 0 0; grid-row: span 2; }
}
.cv1 .late { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cv1 .late > div { background: var(--card); border-radius: 28px; padding: clamp(28px, 4vw, 44px); }
.cv1 .late .big { color: var(--green); margin-bottom: 10px; }
.cv1 .late .big.amber { color: var(--amber); }
@media (max-width: 760px) { .cv1 .late { grid-template-columns: 1fr; } }

/* 2 · Your Street: the neighbourhood is the hero. */
.cv2 .street { padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 8vw, 96px); }
.cv2 .street-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.cv2 h1 { font-size: clamp(2.6rem, 6.6vw, 4.8rem); letter-spacing: -.04em; line-height: 1; }
.cv2 .bigmap { position: relative; border-radius: 32px; overflow: hidden; background: var(--canvas); box-shadow: var(--shadow-lg); }
.cv2 .bigmap svg { display: block; width: 100%; height: auto; }
.cv2 .bigmap .rd { fill: none; stroke: var(--bg); stroke-linecap: round; }
.cv2 .bigmap .blk { fill: color-mix(in srgb, var(--line) 70%, transparent); }
.cv2 .bigmap .park { fill: color-mix(in srgb, var(--green) 16%, transparent); }
.cv2 .tag { position: absolute; display: flex; align-items: center; gap: 10px; background: var(--card); color: var(--ink); border-radius: 16px; padding: 9px 12px 9px 9px; box-shadow: var(--shadow-sm); font-size: .84rem; line-height: 1.2; text-align: left; }
.cv2 .tag b { display: block; font-weight: 600; }
.cv2 .tag small { color: var(--muted); }
.cv2 .tag .ic { width: 32px; height: 32px; flex: none; border-radius: 10px; background: var(--green); color: #fff; display: grid; place-items: center; }
.cv2 .tag .ic.amber { background: var(--amber); color: #0B1F19; }
.cv2 .tag .ic .i { width: 18px; height: 18px; }
.cv2 .you { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--green); border: 4px solid var(--card); box-shadow: 0 0 0 10px color-mix(in srgb, var(--green) 20%, transparent); }
.js .cv2 .tag { animation: pop .6s var(--ease) both; }
.js .cv2 .tag:nth-of-type(2) { animation-delay: .15s; } .js .cv2 .tag:nth-of-type(3) { animation-delay: .3s; } .js .cv2 .tag:nth-of-type(4) { animation-delay: .45s; }
.cv2 .cats { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; border-top: 1px solid var(--line); padding: 0; margin: 0; }
.cv2 .cats li { list-style: none; display: flex; align-items: center; gap: 14px; padding: 22px 4px; border-bottom: 1px solid var(--line); font: 600 1.1rem Poppins, sans-serif; color: var(--ink); }
.cv2 .cats .i { color: var(--green); width: 24px; height: 24px; }
@media (max-width: 860px) { .cv2 .street-grid { grid-template-columns: 1fr; } .cv2 .street-copy { text-align: center; } .cv2 .cats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cv2 .tag { font-size: .74rem; padding: 6px 9px 6px 6px; gap: 7px; } .cv2 .tag .ic { width: 24px; height: 24px; } .cv2 .tag .ic .i { width: 14px; height: 14px; } }

/* 3 · The Receipt: what you see is what you pay. */
.cv3 .hero-r { padding: clamp(32px, 6vw, 80px) 0 clamp(64px, 8vw, 112px); }
.cv3 .r-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.cv3 h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); letter-spacing: -.04em; line-height: 1.04; }
.cv3 .receipt { position: relative; width: min(380px, 100%); margin: 0 auto; background: #FFFEFA; color: #1C2622; padding: 30px 28px 30px; border-radius: 14px; box-shadow: var(--shadow-lg); transform: rotate(1.6deg); font-size: .95rem; text-align: left; }
.cv3 .receipt .head { text-align: center; padding-bottom: 16px; border-bottom: 1.5px dashed #C9D2CE; margin-bottom: 14px; }
.cv3 .receipt .head img { width: 30px; margin: 0 auto 8px; }
.cv3 .receipt .head b { display: block; font: 700 1.05rem Poppins, sans-serif; color: #0B1F19; }
.cv3 .receipt .head small { color: #66736E; }
.cv3 .receipt .row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-variant-numeric: tabular-nums; }
.cv3 .receipt .row .q { color: #66736E; }
.cv3 .receipt .tot { border-top: 1.5px dashed #C9D2CE; margin-top: 10px; padding-top: 12px; font: 700 1.15rem Poppins, sans-serif; color: #0B1F19; }
.cv3 .receipt .stamp { margin-top: 18px; display: flex; align-items: center; gap: 10px; background: #E4F2EC; color: #0B5E49; border-radius: 12px; padding: 10px 12px; font-weight: 600; font-size: .9rem; }
.cv3 .receipt .stamp .i { width: 18px; height: 18px; }
.cv3 .price { font-family: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace; }
.cv3 .rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cv3 .rules > div { border-top: 2px solid var(--ink); padding-top: 18px; }
.cv3 .rules h3 { font-size: 1.2rem; }
.cv3 .rules p { color: var(--muted); }
@media (max-width: 860px) { .cv3 .r-grid { grid-template-columns: 1fr; } .cv3 .r-copy { text-align: center; } .cv3 .rules { grid-template-columns: 1fr; } .cv3 .receipt { transform: rotate(0); } }

/* 4 · گھر تک: type only, rooted in Lahore. */
.cv4 .hero-u { padding: clamp(40px, 8vw, 112px) 0 clamp(56px, 8vw, 112px); text-align: center; }
.cv4 .urdu { font-family: "Noto Nastaliq Urdu", serif; font-size: clamp(4rem, 15vw, 9.5rem); line-height: 2; color: var(--green); margin: -.35em 0 -.25em; font-weight: 700; }
.cv4 .roman { font: 600 clamp(.9rem, 2vw, 1.1rem) Inter, sans-serif; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin: 1.7em 0 28px; }
.cv4 h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); letter-spacing: -.03em; font-weight: 600; max-width: 18em; margin-inline: auto; }
.cv4 .lead { margin: 0 auto 36px; text-align: center; }
.cv4 .words { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cv4 .words > div { text-align: center; padding: clamp(28px, 4vw, 48px) 16px; }
.cv4 .words > div + div { border-left: 1px solid var(--line); }
.cv4 .words .u { font-family: "Noto Nastaliq Urdu", serif; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.9; color: var(--ink); }
.cv4 .words .e { font: 600 .82rem Inter, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--green); }
.cv4 .words p { color: var(--muted); margin: 10px auto 0; max-width: 22em; }
@media (max-width: 760px) { .cv4 .words { grid-template-columns: 1fr; } .cv4 .words > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* 5 · The App: let the product speak. */
.cv5 .hero-a { padding: clamp(36px, 6vw, 80px) 0 0; text-align: center; overflow: clip; }
.cv5 h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -.04em; line-height: 1.02; max-width: 14em; margin-inline: auto; }
.cv5 .lead { margin: 0 auto 32px; text-align: center; }
.cv5 .gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); align-items: end; margin-top: clamp(40px, 6vw, 72px); }
.cv5 .shot { margin: 0; text-align: center; }
.cv5 .shot .device { width: 100%; max-width: 290px; margin: 0 auto; border-radius: 40px 40px 0 0; padding-bottom: 0; }
.cv5 .shot .device img { border-radius: 32px 32px 0 0; height: 470px; width: 100%; object-fit: cover; object-position: top; }
.cv5 .shot:nth-child(2) .device img { height: 540px; }
.cv5 .shot figcaption { margin: 0 0 18px; }
.cv5 .shot figcaption b { display: block; font: 600 1.05rem Poppins, sans-serif; color: var(--ink); }
.cv5 .shot figcaption span { color: var(--muted); font-size: .92rem; }
.cv5 .rail-hint { display: none; }
@media (max-width: 760px) {
  .cv5 .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding: 0 16px 8px; margin-inline: -16px; scrollbar-width: none; }
  .cv5 .gallery::-webkit-scrollbar { display: none; }
  .cv5 .shot { flex: 0 0 78%; scroll-snap-align: center; }
  .cv5 .shot .device img, .cv5 .shot:nth-child(2) .device img { height: 430px; }
  .cv5 .rail-hint { display: block; margin-top: 12px; color: var(--muted); font-size: .85rem; }
}
.cv5 .two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cv5 .two > div { background: var(--card); border-radius: 28px; padding: clamp(28px, 4vw, 44px); }
@media (max-width: 760px) { .cv5 .two { grid-template-columns: 1fr; } }

/* Concepts index */
.pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 32px; }
.pick a { display: block; background: var(--card); border-radius: 24px; padding: 26px; text-decoration: none; color: var(--text); transition: transform .25s var(--ease), box-shadow .25s; }
.pick a:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.pick a:active { transform: scale(.99); }
.pick .n { font: 700 .85rem Poppins, sans-serif; color: var(--green); letter-spacing: .1em; }
.pick h2 { font-size: 1.4rem; margin: 6px 0 8px; }
.pick p { margin: 0; color: var(--muted); }
.cv2 .you { left: 36%; top: 33%; }
.cv2 .t1 { left: 6%; top: 9%; } .cv2 .t2 { right: 5%; top: 40%; } .cv2 .t3 { left: 8%; bottom: 10%; } .cv2 .t4 { right: 6%; bottom: 6%; }
.eyebrow-line.centered { justify-content: center; }
.eyebrow-line.centered::before { display: none; }
.doc .wrap.wide { max-width: 1100px; }

/* Header download button */
.top-dl { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; margin-left: 6px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 600; font-size: .92rem; text-decoration: none; white-space: nowrap; transition: background .2s; }
:root[data-theme="dark"] .top-dl { color: #08160F; }
.top-dl:hover { background: var(--green-ink); }
@media (max-width: 640px) { .top-dl { display: none; } }

/* Theme switch: the browser's default cross-fade is replaced by the circle reveal in site.js. */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 2; }
.theme .i { transition: transform .5s var(--ease); }
.theme:active .i { transform: rotate(-30deg) scale(.9); }
