/* =========================================================
   Apni Site — brand site styles
   Palette inspired by Indian streets: marigold, haldi, neel,
   mango-leaf green, rani pink, on handmade-paper cream.
   ========================================================= */
:root {
  --cream: #FFF7EA;
  --paper: #FFFDF8;
  --ink: #1C1530;
  --ink-2: #3D3554;
  --muted: #6B6380;
  --indigo: #24186B;
  --indigo-2: #3A2A9E;
  --marigold: #FF9F1C;
  --saffron: #F26B1D;
  --haldi: #FFC93C;
  --leaf: #1E8F4E;
  --leaf-2: #2DB36A;
  --rani: #E2266F;
  --wa: #1FA855;
  --line: rgba(28, 21, 48, .12);
  --radius: 22px;
  --font: "Baloo 2", "Baloo Da 2", "Baloo Bhai 2", "Baloo Thambi 2", "Baloo Tammudu 2", "Baloo Tamma 2", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; }
@supports not (overflow-x: clip) { .marquee-wrap { margin-left: 0; margin-right: 0; } }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--rani); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
svg use { pointer-events: none; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 14px; font-weight: 700; font-size: 15px; letter-spacing: .04em;
  color: var(--saffron); text-transform: uppercase;
}
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: currentColor; }
.kicker-flag::before { display: none; }
.h2 {
  margin: 0 0 clamp(28px, 4vw, 56px);
  font-size: clamp(2.1rem, 5.4vw, 4.2rem);
  line-height: 1.18; font-weight: 800; letter-spacing: -.01em; max-width: 18ch;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 46ch; }

/* split-word reveal (works for every Indian script: we split on spaces only, never inside a word) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em .02em .1em; margin: -.14em -.02em -.1em; }
.wi { display: inline-block; will-change: transform; }

/* ---------- Tiranga ---------- */
.tiranga { display: inline-flex; flex-direction: column; width: 22px; height: 15px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.08); flex: none; }
.tiranga i { flex: 1; }
.tiranga i:nth-child(1) { background: #FF9933; }
.tiranga i:nth-child(2) { background: #fff; position: relative; }
.tiranga i:nth-child(2)::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: #000080; }
.tiranga i:nth-child(3) { background: #138808; }

/* ---------- Buttons / pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 26px; border: 0; border-radius: 16px;
  font-weight: 800; font-size: 1.1rem; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.btn svg { width: 22px; height: 22px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--rani); color: #fff; box-shadow: 0 8px 0 #A3134D, 0 14px 30px rgba(226, 38, 111, .35); }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 4px 0 #A3134D, 0 8px 18px rgba(226, 38, 111, .3); }

.pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; font-weight: 700; font-size: 15px; border: 2px solid transparent; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.pill svg { width: 18px; height: 18px; flex: none; }
.pill-ghost { background: rgba(255,255,255,.7); border-color: var(--line); }
.pill-ghost:hover { border-color: var(--ink); }
.pill-solid { background: var(--ink); color: var(--cream); }
.pill-solid:hover { background: var(--indigo); }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(28,21,48,.06); }
.icon-btn svg { width: 22px; height: 22px; }

/* listening bars */
.bars { display: none; gap: 2px; align-items: flex-end; height: 14px; }
.bars i { width: 3px; background: var(--rani); border-radius: 2px; animation: bar 0.9s ease-in-out infinite; }
.bars i:nth-child(2) { animation-delay: .15s; } .bars i:nth-child(3) { animation-delay: .3s; }
#listenBtn[aria-pressed="true"] { border-color: var(--rani); color: var(--rani); }
#listenBtn[aria-pressed="true"] .bars { display: inline-flex; }
@keyframes bar { 0%,100% { height: 4px; } 50% { height: 14px; } }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo-mark { width: 36px; height: 36px; }
.logo-word { font-weight: 800; font-size: 26px; letter-spacing: -.02em; line-height: 1; color: var(--indigo); }
.logo-word b { color: var(--saffron); font-weight: 800; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px var(--gutter); transition: background .3s, box-shadow .3s, transform .4s var(--ease);
}
.hdr.scrolled { background: rgba(255, 247, 234, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.hdr.hide { transform: translateY(-100%); }
.hdr-actions { display: flex; align-items: center; gap: 8px; }

/* ---------- Intro ---------- */
.intro { display: none; }
.js .intro {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: var(--marigold);
  background-image: radial-gradient(rgba(255,255,255,.22) 1.4px, transparent 1.4px);
  background-size: 22px 22px;
}
.intro-words { position: relative; height: 1.3em; width: 100%; text-align: center; font-size: clamp(3rem, 12vw, 8rem); font-weight: 800; color: var(--indigo); line-height: 1.3; }
.iw { position: absolute; inset: 0; opacity: 0; }
.intro-brand { position: absolute; bottom: 32px; left: 0; right: 0; text-align: center; }
.intro-brand .logo-word { color: var(--ink); font-size: 22px; }
.intro-brand .logo-word b { color: var(--paper); }

/* ---------- Language sheet ---------- */
.lang-sheet { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px; background: rgba(28, 21, 48, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lang-sheet[hidden] { display: none; }
.lang-panel { position: relative; width: min(760px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: var(--paper); border-radius: 28px; padding: clamp(22px, 4vw, 40px); box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.lang-x { position: absolute; top: 14px; right: 14px; }
.lang-q { margin: 0 44px 20px 0; font-weight: 700; color: var(--muted); font-size: 15px; line-height: 1.7; }
.lang-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .lang-grid { grid-template-columns: repeat(4, 1fr); } }
.lang-opt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 14px 16px; min-height: 116px; border-radius: 18px; border: 2px solid var(--line); background: var(--cream); text-align: left;
  transition: transform .25s var(--ease), border-color .2s, background .2s;
}
.lang-opt:hover { transform: translateY(-3px); border-color: var(--marigold); }
.lang-opt[aria-current="true"] { border-color: var(--rani); background: #FFE9F1; }
.lang-glyph { font-size: 40px; line-height: 1.1; font-weight: 800; color: var(--saffron); }
.lang-name { font-size: 20px; font-weight: 800; line-height: 1.25; }
.lang-en { font-size: 13px; color: var(--muted); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; padding: 168px 0 72px; overflow: hidden;
  background-image: radial-gradient(rgba(36, 24, 107, .09) 1.3px, transparent 1.3px);
  background-size: 22px 22px;
}
.hero::after { /* soft sun glow */
  content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -200px; z-index: -1;
  background: radial-gradient(circle, rgba(255, 201, 60, .45), transparent 62%);
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 40px; } }
.hero-title { margin: 0 0 18px; font-size: clamp(2.9rem, 8.4vw, 6.6rem); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
.hero-title .line { display: block; overflow: hidden; padding: .14em 0 .12em; margin: -.14em 0 -.12em; }
.hero-title .li { display: inline-block; }
.accent { position: relative; color: var(--saffron); }
.accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.02em; height: .16em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9c48-6 98-7 147-4s98 4 147-2' fill='none' stroke='%23E2266F' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  transform-origin: left; transform: scaleX(var(--u, 1));
}
.hero-sub { font-size: clamp(1.1rem, 1.9vw, 1.4rem); color: var(--ink-2); max-width: 36ch; margin: 0 0 28px; }

/* claim box */
.claim { max-width: 560px; }
.claim-row { display: flex; gap: 10px; padding: 8px; background: var(--paper); border: 2px solid var(--ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); }
.claim-input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 12px; font: inherit; font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.claim-input::placeholder { color: #9A93AC; font-weight: 500; }
.claim-row:focus-within { box-shadow: 6px 6px 0 var(--rani); border-color: var(--rani); }
.claim-url { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 14px; border-radius: 12px; background: rgba(30, 143, 78, .1); color: var(--leaf); font-weight: 600; font-size: 1.05rem; max-width: 100%; }
.claim-url svg { width: 15px; height: 15px; flex: none; }
.cu-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .95em; }
.cu-slug { color: var(--ink); }
.caret { width: 2px; height: 1.1em; background: var(--leaf); animation: blink 1s steps(1) infinite; flex: none; margin-left: -6px; }
@keyframes blink { 50% { opacity: 0; } }
.claim-msg { min-height: 1.6em; margin: 8px 0 0; font-weight: 600; font-size: 15px; color: var(--muted); }
.claim-msg.ok { color: var(--leaf); }
.claim-msg.err { color: var(--rani); }
.claim.shake .claim-row { animation: shake .45s; }
@keyframes shake { 20%,60% { transform: translateX(-8px); } 40%,80% { transform: translateX(8px); } }
@media (max-width: 520px) {
  .claim-row { flex-direction: column; padding: 8px; }
  .claim-input { min-height: 52px; }
  .btn { width: 100%; }
}

.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 26px 0 0; color: var(--ink-2); font-weight: 600; font-size: 16px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; flex: none; }

/* Toran (door garland) */
.toran { position: absolute; top: 0; left: 0; right: 0; height: 120px; pointer-events: none; z-index: 1; }
.toran::before { content: ""; position: absolute; top: 74px; left: -2%; right: -2%; height: 4px; background: repeating-linear-gradient(90deg, #C0392B 0 10px, #F5B700 10px 20px); border-radius: 4px; }
.t-item { position: absolute; top: 76px; transform-origin: 50% 0; }
.t-item svg { display: block; }

/* Phone mockup */
.hero-visual { position: relative; display: grid; justify-items: center; padding: 10px 0 0; }
.phone {
  position: relative; width: min(300px, 78vw); aspect-ratio: 300 / 610; border-radius: 46px;
  background: var(--ink); padding: 11px; box-shadow: 0 40px 80px rgba(36, 24, 107, .35), inset 0 0 0 2px #3a3252;
}
.phone-notch { position: absolute; top: 18px; left: 50%; width: 90px; height: 24px; margin-left: -45px; border-radius: 20px; background: var(--ink); z-index: 3; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: var(--paper); }
.sticker {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px;
  border-radius: 14px; font-weight: 800; font-size: 15px; background: var(--paper); box-shadow: 0 12px 30px rgba(28,21,48,.18); border: 2px solid var(--ink);
}
.sticker svg { width: 20px; height: 20px; }
.s1 { top: 14%; left: 2%; color: var(--wa); transform: rotate(-6deg); }
.s2 { top: 36%; right: 0; color: var(--indigo); transform: rotate(5deg); }
.s3 { bottom: 26%; left: 0; color: var(--rani); transform: rotate(4deg); }
.s4 { top: 4%; right: 8%; color: var(--ink); background: var(--haldi); transform: rotate(-4deg); }
@media (max-width: 420px) { .sticker { font-size: 13px; padding: 8px 10px; } .s1 { left: -2%; } .s3 { left: -2%; } }
.phone-tabs { display: inline-flex; gap: 4px; margin-top: 22px; padding: 5px; border-radius: 999px; background: var(--paper); border: 2px solid var(--ink); }
.phone-tabs button { border: 0; background: transparent; padding: 6px 16px; border-radius: 999px; font-weight: 700; font-size: 15px; min-height: 38px; }
.phone-tabs button[aria-selected="true"] { background: var(--ink); color: var(--cream); }

/* sample site screens inside phone */
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; font-size: 13px; line-height: 1.35; }
.scr-bar { display: flex; align-items: center; gap: 6px; margin: 46px 12px 0; padding: 6px 10px; border-radius: 10px; background: #F1EDE4; font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.scr-bar svg { width: 10px; height: 10px; color: var(--leaf); flex: none; }
.scr-bar b { color: var(--ink); font-weight: 700; }
.scr-cover { height: 88px; margin: 10px 12px 0; border-radius: 16px; position: relative; overflow: hidden; }
.scr-cover::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.3) 1.2px, transparent 1.2px); background-size: 12px 12px; }
.scr-shop .scr-cover { background: linear-gradient(120deg, var(--marigold), var(--saffron)); }
.scr-service .scr-cover { background: linear-gradient(120deg, var(--leaf), #0F6B39); }
.scr-cv .scr-cover { background: linear-gradient(120deg, var(--indigo-2), var(--indigo)); }
.scr-avatar { width: 62px; height: 62px; margin: -34px 0 0 24px; border-radius: 18px; border: 3px solid var(--paper); display: grid; place-items: center; font-weight: 800; font-size: 26px; color: #fff; position: relative; z-index: 1; }
.scr-shop .scr-avatar { background: var(--rani); }
.scr-service .scr-avatar { background: var(--saffron); }
.scr-cv .scr-avatar { background: var(--leaf); border-radius: 50%; }
.scr-body { padding: 6px 16px 0; }
.scr-name { font-weight: 800; font-size: 18px; line-height: 1.25; margin: 0; }
.scr-tag { color: var(--muted); font-size: 12px; margin: 2px 0 0; }
.scr-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.scr-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #E6F5EC; color: var(--leaf); }
.scr-badge.gst { background: #EEEAFB; color: var(--indigo-2); font-family: ui-monospace, Menlo, monospace; font-weight: 600; }
.scr-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 12px 16px 0; }
.scr-btn { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px; border-radius: 12px; font-weight: 700; font-size: 10.5px; color: #fff; text-align: center; line-height: 1.2; }
.scr-btn svg { width: 18px; height: 18px; }
.b-call { background: var(--indigo-2); } .b-wa { background: var(--wa); } .b-map { background: var(--rani); } .b-mail { background: var(--saffron); }
.scr-h { margin: 14px 16px 6px; font-weight: 800; font-size: 13px; color: var(--ink); }
.scr-list { list-style: none; margin: 0 16px; padding: 0; }
.scr-list li { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.scr-list li span:last-child { font-weight: 800; color: var(--saffron); white-space: nowrap; }
.scr-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 16px; }
.scr-chips span { padding: 4px 10px; border-radius: 999px; background: #EEEAFB; color: var(--indigo); font-weight: 700; font-size: 11.5px; }
.scr-example { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 10px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }

/* ---------- Marquee ---------- */
.marquee-wrap { padding: 28px 0; background: var(--indigo); color: var(--cream); overflow: hidden; transform: rotate(-1.5deg); margin: 20px -20px; }
.marquee { display: flex; overflow: hidden; }
.mq-track { display: flex; flex: none; gap: 14px; padding-right: 14px; animation: mq 60s linear infinite; }
.marquee.rev .mq-track { animation-direction: reverse; }
.marquee + .marquee { margin-top: 14px; }
.mq-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px 8px 10px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 700; white-space: nowrap; }
.mq-chip .e { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); font-size: 22px; }
.marquee.rev .mq-chip .e { background: var(--haldi); }
@keyframes mq { to { transform: translateX(-100%); } }

/* ---------- Mission ---------- */
.mission { padding: clamp(110px, 16vw, 200px) 0; }
.mission-text { margin: 0; font-size: clamp(2rem, 5.6vw, 4.6rem); line-height: 1.22; font-weight: 800; letter-spacing: -.01em; max-width: 22ch; }
.mw { opacity: .14; transition: opacity .35s ease, color .35s ease; }
.mw.on { opacity: 1; }
.mw.hl.on { color: var(--saffron); }
html:not(.anim) .mw { opacity: 1; }

/* ---------- Types ---------- */
.types { padding: clamp(60px, 8vw, 100px) 0; }
.types-track { display: grid; gap: 18px; padding: 0 var(--gutter); max-width: 1240px; margin: 0 auto; }
.type-card {
  position: relative; border-radius: 32px; padding: clamp(24px, 4vw, 44px); overflow: hidden; color: #fff; min-height: 460px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.type-card::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.16) 1.3px, transparent 1.3px); background-size: 20px 20px; pointer-events: none; }
.type-card > * { position: relative; }
.tc-shop { background: linear-gradient(150deg, var(--marigold), var(--saffron)); color: var(--ink); }
.tc-service { background: linear-gradient(150deg, var(--leaf-2), var(--leaf) 60%, #0F6B39); }
.tc-cv { background: linear-gradient(150deg, var(--indigo-2), var(--indigo)); }
.tc-emoji { font-size: clamp(64px, 9vw, 104px); line-height: 1; filter: drop-shadow(0 10px 18px rgba(0,0,0,.18)); }
.tc-num { position: absolute; top: clamp(18px, 3vw, 34px); right: clamp(22px, 3vw, 40px); font-weight: 800; font-size: 18px; opacity: .6; }
.tc-title { margin: 0 0 8px; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.15; font-weight: 800; }
.tc-desc { margin: 0; font-size: 1.12rem; opacity: .92; max-width: 34ch; }
.tc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tc-chips span { padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 15px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); }
.tc-shop .tc-chips span { background: rgba(28,21,48,.08); border-color: rgba(28,21,48,.18); }
.tc-url { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 10px 16px; border-radius: 14px; background: rgba(0,0,0,.22); font-family: ui-monospace, Menlo, monospace; font-size: 15px; color: #fff; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-shop .tc-url { background: var(--ink); }
.tc-url svg { width: 14px; height: 14px; flex: none; }

/* mobile: stacking sticky cards */
@media (max-width: 999px) {
  .type-card { position: sticky; top: 84px; min-height: 420px; box-shadow: 0 -10px 30px rgba(28,21,48,.12); }
  .type-card:nth-child(2) { top: 100px; }
  .type-card:nth-child(3) { top: 116px; }
}
/* desktop: horizontal scroll (activated by JS) */
@media (min-width: 1000px) {
  .types.is-h { padding: 0; }
  .types.is-h .types-pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  .types.is-h .types-head { margin-bottom: 0; }
  .types.is-h .types-track { display: flex; gap: 28px; max-width: none; margin: 0; padding-left: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); width: max-content; }
  .types.is-h .type-card { width: min(560px, 44vw); min-height: 520px; flex: none; }
  .types:not(.is-h) .types-track { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- How it works ---------- */
.how { padding: clamp(80px, 12vw, 160px) 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 36px; counter-reset: st; }
.steps-line { position: absolute; left: 31px; top: 10px; bottom: 10px; width: 4px; border-radius: 4px; background: var(--line); }
.steps-line i { position: absolute; inset: 0; border-radius: 4px; background: linear-gradient(var(--marigold), var(--rani)); transform-origin: top; transform: scaleY(var(--p, 0)); }
.step { position: relative; display: grid; grid-template-columns: 66px 1fr; gap: 20px; align-items: start; }
.step-n { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 30px; background: var(--cream); border: 3px solid var(--ink); color: var(--ink); position: relative; z-index: 1; transition: background .4s, color .4s; }
.step.lit .step-n { background: var(--marigold); }
.step-ic { font-size: 34px; line-height: 1; margin-bottom: 6px; }
.step h3 { margin: 0 0 4px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.25; font-weight: 800; }
.step p { margin: 0; color: var(--ink-2); font-size: 1.08rem; max-width: 32ch; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .steps-line { left: 33px; right: 33px; top: 31px; bottom: auto; width: auto; height: 4px; }
  .steps-line i { transform-origin: left; transform: scaleX(var(--p, 0)); }
  .step { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- Features ---------- */
.features { padding: clamp(80px, 12vw, 160px) 0; }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 900px) { .feat-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.feat {
  position: relative; padding: 22px 18px; border-radius: var(--radius); background: var(--paper); border: 2px solid var(--line);
  transition: transform .35s var(--ease), border-color .25s, box-shadow .35s var(--ease); transform-style: preserve-3d;
}
.feat:hover { border-color: var(--ink); box-shadow: 6px 6px 0 var(--ink); transform: translate(-3px, -3px); }
.feat-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 14px; color: #fff; }
.feat-ic svg { width: 28px; height: 28px; }
.feat h3 { margin: 0 0 4px; font-size: 1.2rem; line-height: 1.3; font-weight: 800; }
.feat p { margin: 0; font-size: .98rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 380px) { .feat { padding: 18px 14px; } .feat h3 { font-size: 1.05rem; } }

/* ---------- QR ---------- */
.qr { padding: clamp(60px, 10vw, 140px) 0; background: var(--haldi); background-image: radial-gradient(rgba(28,21,48,.08) 1.3px, transparent 1.3px); background-size: 22px 22px; overflow: hidden; }
.qr .kicker { color: var(--ink); }
.qr-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .qr-grid { grid-template-columns: 1fr 1fr; } }
.qr-stage { display: grid; justify-items: center; perspective: 1000px; }
.standee {
  width: min(300px, 80vw); padding: 22px 22px 18px; border-radius: 26px; background: var(--paper);
  border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); text-align: center; transform-style: preserve-3d;
}
.standee-top { margin-bottom: 14px; }
.qr-box { position: relative; padding: 12px; border-radius: 16px; background: #fff; border: 2px dashed var(--line); overflow: hidden; }
.qr-box svg { width: 100%; height: auto; }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--rani); box-shadow: 0 0 18px 4px rgba(226, 38, 111, .55); animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 0%,100% { top: 6%; } 50% { top: 92%; } }
.standee-url { margin-top: 12px; font-family: ui-monospace, Menlo, monospace; font-weight: 700; font-size: 14px; color: var(--indigo); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.standee-base { width: min(220px, 60vw); height: 22px; margin-top: -4px; border-radius: 0 0 20px 20px; background: var(--ink); }

/* ---------- CTA ---------- */
.cta { position: relative; padding: clamp(110px, 16vw, 200px) 0; color: var(--cream); isolation: isolate; }
.cta-bg { position: absolute; inset: 0; z-index: -1; background: var(--indigo); background-image: radial-gradient(rgba(255,255,255,.08) 1.3px, transparent 1.3px), radial-gradient(circle at 80% 10%, rgba(226, 38, 111, .45), transparent 45%), radial-gradient(circle at 10% 90%, rgba(255, 159, 28, .35), transparent 45%); background-size: 22px 22px, auto, auto; }
.anim .cta-bg { clip-path: circle(var(--r, 12%) at 50% 50%); }
.cta-title { margin: 0 0 18px; font-size: clamp(2.3rem, 6.2vw, 5.2rem); line-height: 1.14; font-weight: 800; max-width: 17ch; }
.cta .lead { color: rgba(255,247,234,.8); margin-bottom: 30px; }
.claim-dark .claim-row { border-color: var(--cream); box-shadow: 6px 6px 0 var(--marigold); }
.claim-dark .claim-url { background: rgba(255,255,255,.1); color: var(--haldi); }
.claim-dark .cu-slug { color: #fff; }
.claim-dark .caret { background: var(--haldi); }
.claim-dark .claim-msg { color: rgba(255,247,234,.75); }
.claim-dark .claim-msg.ok { color: var(--haldi); }
.claim-dark .claim-msg.err { color: #FF8DB5; }

/* ---------- Footer ---------- */
.ftr { background: var(--ink); color: var(--cream); overflow: hidden; padding-bottom: 20px; }
.tiranga-bar { display: flex; height: 6px; }
.tiranga-bar i { flex: 1; }
.tiranga-bar i:nth-child(1) { background: #FF9933; } .tiranga-bar i:nth-child(2) { background: #fff; } .tiranga-bar i:nth-child(3) { background: #138808; }
.ftr-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; padding-top: 40px; padding-bottom: 20px; }
.ftr-made { display: inline-flex; align-items: center; gap: 12px; margin: 0; font-weight: 800; font-size: 1.2rem; }
.ftr-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; }
.ftr-links a { opacity: .75; transition: opacity .2s; } .ftr-links a:hover { opacity: 1; }
.ftr-copy { margin: 0; opacity: .55; font-size: 14px; width: 100%; }
.ftr-giant { font-weight: 800; font-size: clamp(4rem, 20vw, 18rem); line-height: .9; letter-spacing: -.04em; text-align: center; color: rgba(255,247,234,.08); white-space: nowrap; padding-top: 10px; user-select: none; }
.ftr-giant b { color: rgba(255, 159, 28, .3); }

/* ---------- Floating CTA (mobile) ---------- */
.float-cta {
  position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  display: none; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: 18px;
  background: var(--rani); color: #fff; font-weight: 800; font-size: 1.1rem; box-shadow: 0 12px 30px rgba(226, 38, 111, .4);
  transform: translateY(150%); transition: transform .45s var(--ease);
}
.float-cta svg { width: 22px; height: 22px; }
.float-cta.show { transform: none; }
@media (max-width: 720px) { .float-cta { display: flex; } .hide-sm { display: none; } }
@media (max-width: 400px) { #listenBtn span[data-i18n] { display: none; } .pill { padding: 0 12px; } .logo-word { font-size: 22px; } .logo-mark { width: 30px; height: 30px; } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; background: rgba(28,21,48,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[hidden] { display: none; }
.modal-card { width: min(440px, 100%); padding: 32px 26px 26px; border-radius: 28px; background: var(--paper); text-align: center; border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--marigold); }
.modal-burst { font-size: 56px; line-height: 1; }
.modal-card h3 { margin: 12px 0 6px; font-size: 1.9rem; line-height: 1.2; }
.modal-card p { margin: 0; color: var(--ink-2); }
.modal-url { margin: 14px 0 22px !important; padding: 12px; border-radius: 14px; background: rgba(30,143,78,.1); color: var(--leaf) !important; font-family: ui-monospace, Menlo, monospace; font-weight: 700; word-break: break-all; }

/* ---------- Page-language wipe ---------- */
.wipe { position: fixed; inset: 0; z-index: 90; background: var(--marigold); transform: translateY(100%); pointer-events: none; }

/* ---------- Custom cursor (desktop only) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .anim .cursor { display: block; position: fixed; top: 0; left: 0; z-index: 200; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--rani); pointer-events: none; mix-blend-mode: multiply; opacity: 0; transition: opacity .3s, width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), background .25s; }
  .anim .cursor.big { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(255, 159, 28, .55); }
}

/* ---------- Initial hidden states (only when animations are running) ---------- */
.anim [data-reveal]:not([data-revealed]) { opacity: 0; }
.anim [data-stagger]:not([data-revealed]) > * { opacity: 0; }
.anim [data-split]:not([data-revealed]) .wi { transform: translateY(115%); }
.anim .hero-title .li, .anim .hero-sub, .anim .claim, .anim .trust, .anim .hero .kicker, .anim .phone, .anim .sticker, .anim .phone-tabs { visibility: hidden; }
.anim.ready .hero-title .li, .anim.ready .hero-sub, .anim.ready .claim, .anim.ready .trust, .anim.ready .hero .kicker, .anim.ready .phone, .anim.ready .sticker, .anim.ready .phone-tabs { visibility: visible; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .mq-track { animation: none !important; }
  .marquee { overflow-x: auto; }
}
