/* 16 Nov 2026: CIA · सिया launch intro, rebuilt for performance (partials/cia-intro-lite, front_js/cia-intro-lite.js).
   RULE: only transform and opacity are animated (compositor-only); nothing animates filter, blur, size, layout or text.
   The timeline is CSS: every part has its own keyframes and delay, started by one class (.is-on). Total ~5.6 s, then it waits. */
.cil { --ember1: #2a0d09; --ember2: #4a1a12; --coral: #f05d49; --coral2: #ff8b78; --peach: #ffb39e; --blush: #ffd9cc; --ivory: #fff7f2;
  --oy: 36%; --orb: 168px;
  position: fixed; inset: 0; z-index: 2000; overflow: hidden; color: #fff; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; contain: strict; visibility: hidden; opacity: 0; touch-action: none; overscroll-behavior: contain; }
.cil[hidden] { display: none !important; }
.cil * , .cil *::before, .cil *::after { box-sizing: border-box; }
.cil [lang="hi"] { font-family: "Noto Sans Devanagari", "Nirmala UI", Mangal, sans-serif; }
.cil.is-on { visibility: visible; animation: cil-in .35s ease-out both; }
.cil.is-out { visibility: visible; animation: cil-out .5s ease-in both; pointer-events: none; }
@keyframes cil-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes cil-out { from { opacity: 1; } to { opacity: 0; } }

/* ground: static gradients (painted once), a breathing glow and slow rings */
.cil-bg { position: absolute; inset: 0; background: radial-gradient(60% 62% at 50% var(--oy), var(--ember2) 0%, var(--ember1) 46%, #160806 76%, #0f0504 100%); }
.cil-glow { position: absolute; left: 50%; top: var(--oy); width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%; opacity: .55;
  background: radial-gradient(closest-side, rgba(240, 93, 73, .5), rgba(201, 65, 46, .18) 45%, transparent 72%); will-change: transform, opacity; }
.cil.is-on .cil-glow { animation: cil-breathe 4.2s ease-in-out infinite; }
@keyframes cil-breathe { 0%, 100% { transform: scale(.92); opacity: .45; } 50% { transform: scale(1.05); opacity: .7; } }
.cil-rings i { position: absolute; left: 50%; top: var(--oy); width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%;
  border: 1px solid rgba(255, 179, 158, .14); opacity: 0; will-change: transform, opacity; }
.cil.is-on .cil-rings i { animation: cil-ripple 4.8s linear infinite; }
.cil.is-on .cil-rings i:nth-child(2) { animation-delay: 1.6s; } .cil.is-on .cil-rings i:nth-child(3) { animation-delay: 3.2s; }
@keyframes cil-ripple { 0% { transform: scale(.35); opacity: 0; } 15% { opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.cil-dots i { position: absolute; left: var(--x); top: var(--y); width: 3px; height: 3px; border-radius: 50%;
  background: var(--peach); opacity: 0; will-change: transform, opacity; }
.cil.is-on .cil-dots i { animation: cil-float 6s ease-in-out infinite; animation-delay: calc(var(--i) * -.43s); }
@keyframes cil-float { 0% { transform: translateY(12px); opacity: 0; } 30% { opacity: .5; } 70% { opacity: .35; } 100% { transform: translateY(-40px); opacity: 0; } }

/* the orb */
.cil-orb { position: absolute; left: 50%; top: var(--oy); width: var(--orb); height: var(--orb); margin: calc(var(--orb) / -2) 0 0 calc(var(--orb) / -2);
  will-change: transform; transform: translate(0, 0) scale(1); }
.cil-orb__in { position: absolute; inset: 0; opacity: 0; transform: scale(.3); will-change: transform, opacity; }
.cil.is-on .cil-orb__in { animation: cil-pop .55s cubic-bezier(.34, 1.56, .64, 1) .1s both, cil-implode .35s cubic-bezier(.55, 0, .9, .4) 3.55s forwards, cil-burst .7s cubic-bezier(.2, .9, .3, 1.2) 3.9s forwards; }
@keyframes cil-pop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }
@keyframes cil-implode { from { transform: scale(1); } to { transform: scale(.76); } }
@keyframes cil-burst { 0% { transform: scale(.76); } 40% { transform: scale(1.14); } 100% { transform: scale(1); opacity: 1; } }
/* flight into the lockup's mark slot (--fx/--fy/--fs measured once by the script, before it starts) */
.cil.is-on .cil-orb { animation: cil-fly .8s cubic-bezier(.65, 0, .35, 1) 4.85s both; }
@keyframes cil-fly { from { transform: translate(0, 0) scale(1); } to { transform: translate(var(--fx, 0px), var(--fy, -200px)) scale(var(--fs, .4)); } }
.cil-core { position: absolute; inset: 18%; border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 22%, rgba(255, 255, 255, .45) 0%, rgba(255, 255, 255, .1) 38%, rgba(255, 255, 255, .03) 65%), rgba(255, 236, 228, .08);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55), inset 0 -14px 26px rgba(240, 93, 73, .45), 0 0 0 6px rgba(255, 255, 255, .05), 0 0 60px rgba(240, 93, 73, .55); }
.cil-arc { position: absolute; inset: 14%; will-change: transform; }
.cil-arc svg { width: 100%; height: 100%; display: block; fill: none; stroke: #fff; stroke-linecap: round; }
.cil-arc--o svg { stroke-width: 7; } .cil-arc--i svg { stroke-width: 7; } .cil-arc--b svg { stroke-width: 6; }
.cil.is-on .cil-arc--o { animation: cil-spin 2.6s linear infinite; }
.cil.is-on .cil-arc--i { animation: cil-spin-r 1.9s linear infinite; }
@keyframes cil-spin { to { transform: rotate(360deg); } }
@keyframes cil-spin-r { to { transform: rotate(-360deg); } }
.cil-hud { position: absolute; inset: -6%; border-radius: 50%; border: 1.5px dashed rgba(255, 179, 158, .35); will-change: transform; }
.cil.is-on .cil-hud { animation: cil-spin 16s linear infinite; }
.cil-flash { position: absolute; inset: 20%; border-radius: 50%; background: radial-gradient(closest-side, #fff, rgba(255, 217, 204, .6) 50%, transparent 72%); opacity: 0; will-change: transform, opacity; }
.cil.is-on .cil-flash { animation: cil-flash .8s cubic-bezier(.16, 1, .3, 1) 3.9s both; }
@keyframes cil-flash { from { opacity: 1; transform: scale(.2); } to { opacity: 0; transform: scale(3); } }
.cil-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 179, 158, .8); opacity: 0; will-change: transform, opacity; }
.cil.is-on .cil-ring { animation: cil-shock 1s cubic-bezier(.16, 1, .3, 1) 3.9s both; }
@keyframes cil-shock { from { opacity: .9; transform: scale(.4); } to { opacity: 0; transform: scale(4.5); } }

/* status + opening lines (fixed sizes: nothing re-flows while it plays) */
.cil-status { position: absolute; left: 0; right: 0; top: calc(var(--oy) + var(--orb) / 2 + 18px); margin: 0; text-align: center; font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--peach); opacity: 0; }
.cil-status i { font-style: normal; opacity: .2; }
.cil.is-on .cil-status { animation: cil-fade-in .4s ease-out .4s both, cil-fade-out .3s ease-in 3.4s forwards; }
.cil.is-on .cil-status i { animation: cil-dot 1.2s ease-in-out infinite; } .cil.is-on .cil-status i:nth-child(2) { animation-delay: .2s; } .cil.is-on .cil-status i:nth-child(3) { animation-delay: .4s; }
@keyframes cil-dot { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
.cil-lead { position: absolute; left: 16px; right: 16px; top: calc(var(--oy) + var(--orb) / 2 + 50px); margin: 0; text-align: center; font-size: clamp(22px, 3.2vw, 34px); font-weight: 700;
  line-height: 1.2; letter-spacing: -.01em; }
.cil-lead span, .cil-lead em { display: inline-block; opacity: 0; transform: translateY(16px); will-change: transform, opacity; }
.cil-lead em { font-style: normal; color: var(--peach); margin-left: .25em; }
.cil-lead .cil-hl { color: var(--coral2); }
.cil.is-on .cil-lead--1 span { animation: cil-up .5s cubic-bezier(.22, 1, .36, 1) .3s both, cil-fade-out .35s ease-in 1.55s forwards; }
.cil.is-on .cil-lead--1 em { animation: cil-up .5s cubic-bezier(.22, 1, .36, 1) .58s both, cil-fade-out .35s ease-in 1.55s forwards; }
.cil.is-on .cil-lead--2 span { animation: cil-up .45s cubic-bezier(.22, 1, .36, 1) 1.95s both, cil-fade-out .3s ease-in 3.45s forwards; }
.cil.is-on .cil-lead--2 span:nth-child(2) { animation-delay: 2.13s, 3.45s; } .cil.is-on .cil-lead--2 span:nth-child(3) { animation-delay: 2.31s, 3.45s; }
@keyframes cil-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cil-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes cil-fade-out { from { opacity: 1; } to { opacity: 0; } }

/* the WhatsApp scene */
.cil-chat { position: absolute; left: 50%; top: calc(var(--oy) + var(--orb) / 2 + 104px); width: 300px; margin-left: -150px; padding: 0 0 10px; border-radius: 18px;
  background: #0d1418; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06); opacity: 0; transform: translateY(24px); will-change: transform, opacity; }
.cil.is-on .cil-chat { animation: cil-up .45s cubic-bezier(.22, 1, .36, 1) 1s both, cil-suck .4s cubic-bezier(.55, 0, .9, .4) 3.45s forwards; }
@keyframes cil-suck { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(var(--suck, -150px)) scale(.4); } }
.cil-chat__bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px 18px 0 0; background: #1f2c33; font-size: 13px; }
.cil-chat__bar b { display: block; font-size: 14px; } .cil-chat__bar small { display: block; font-size: 11px; color: rgba(255, 255, 255, .6); }
.cil-chat__av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #ff9a86, #c4432f); }
.cil-chat__av svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; }
.cil-chat__m { display: flex; align-items: center; gap: 8px; margin: 8px 10px 0; padding: 7px 9px; border-radius: 10px; font-size: 12.5px; line-height: 1.35;
  opacity: 0; transform: translateY(10px); will-change: transform, opacity; }
.cil-chat__m--out { margin-left: 56px; background: #005c4b; } .cil-chat__m--in { margin-right: 40px; background: #202c33; }
.cil.is-on .cil-m1 { animation: cil-up .35s ease-out 1.15s both; }
.cil.is-on .cil-m2 { animation: cil-up .35s ease-out 2.05s both; }
.cil.is-on .cil-m3 { animation: cil-up .35s ease-out 2.85s both; }
.cil-play { width: 0; height: 0; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.cil-wave { display: flex; align-items: center; gap: 2px; height: 22px; flex: 1; }
.cil-wave i { flex: 1; height: var(--h); border-radius: 2px; background: rgba(255, 255, 255, .75); transform-origin: center; will-change: transform; }
.cil.is-on .cil-wave i { animation: cil-eq .5s ease-in-out 1.2s 2 alternate both; }
@keyframes cil-eq { from { transform: scaleY(1); } to { transform: scaleY(.35); } }
.cil-meta { font-size: 10px; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.cil-m2 { position: relative; min-height: 34px; }
.cil-typing { position: absolute; left: 12px; top: 50%; display: flex; gap: 4px; margin-top: -3px; opacity: 1; }
.cil-typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .7); }
.cil.is-on .cil-typing { animation: cil-fade-out .15s linear 2.35s both; }
.cil.is-on .cil-typing i { animation: cil-dot .6s ease-in-out infinite; }
.cil-txt { opacity: 0; }
.cil.is-on .cil-txt { animation: cil-fade-in .25s ease-out 2.35s both; }
.cil-pdf { flex: none; width: 34px; height: 40px; border-radius: 6px; display: grid; place-items: center; background: #e5483a; font-size: 10px; font-weight: 800; }
.cil-chat__m small { display: block; font-size: 10.5px; color: rgba(255, 255, 255, .6); }

/* the final screen: laid out in place from the start (so the script can measure the mark slot), shown by opacity */
.cil-final { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding: max(9vh, 64px) 16px 24px; gap: 14px; overflow-y: auto; pointer-events: none; }
.cil.is-final .cil-final { pointer-events: auto; }
.cil-kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--peach); opacity: 0; }
.cil.is-on .cil-kicker { animation: cil-up .4s ease-out 4s both; }
.cil-lock { display: flex; align-items: center; gap: 16px; }
.cil-lock__slot { flex: none; width: 76px; height: 76px; }
.cil-lock__name, .cil-lock__rule, .cil-lock__def { opacity: 0; transform: translateY(18px); will-change: transform, opacity; }
.cil-lock__name { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.cil-lock__name b { font-size: 56px; font-weight: 800; letter-spacing: .02em; }
.cil-lock__name [lang="hi"] { margin-top: 4px; font-size: 26px; font-weight: 700; color: var(--coral2); }
.cil-lock__rule { width: 1px; height: 64px; background: rgba(255, 217, 204, .35); }
.cil-lock__def { font-size: 16px; line-height: 1.45; color: rgba(255, 238, 230, .88); }
.cil.is-on .cil-lock__name { animation: cil-up .6s cubic-bezier(.16, 1, .3, 1) 4.95s both; }
.cil.is-on .cil-lock__rule { animation: cil-up .6s cubic-bezier(.16, 1, .3, 1) 5.05s both; }
.cil.is-on .cil-lock__def { animation: cil-up .6s cubic-bezier(.16, 1, .3, 1) 5.15s both; }
.cil-role { margin: 0; font-size: 16px; font-weight: 600; color: rgba(255, 238, 230, .9); opacity: 0; }
.cil.is-on .cil-role { animation: cil-up .4s ease-out 4.5s both; }
.cil-card { width: min(560px, 100%); padding: 24px 26px 18px; border-radius: 22px; color: #2b1a16; background: #fff8f3;
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .5); opacity: 0; transform: translateY(18px); will-change: transform, opacity; }
.cil.is-on .cil-card { animation: cil-up .5s cubic-bezier(.22, 1, .36, 1) 5.2s both; }
.cil-card__label { margin: 0 0 6px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #c4432f; }
.cil-card__head { margin: 0 0 8px; font-size: 20px; font-weight: 800; line-height: 1.3; color: #2b1a16; }
.cil-card__body { margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; color: #5a4743; }
.cil-card__steps { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 16px; padding: 0; list-style: none; counter-reset: s; }
.cil-card__steps li { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: #3a2723; counter-increment: s; }
.cil-card__steps li::before { content: counter(s); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; background: var(--coral); }
.cil-card__cta { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 14px; color: #fff; font-size: 16px; font-weight: 800;
  text-decoration: none; background: linear-gradient(180deg, #ff7a66, #e2493a); box-shadow: 0 12px 26px -12px rgba(217, 68, 47, .9), inset 0 1px 0 rgba(255, 255, 255, .3); }
.cil-card__cta:hover { color: #fff; text-decoration: none; filter: brightness(1.05); }
.cil-card__cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cil-card__continue { display: block; width: 100%; margin: 10px 0 6px; padding: 10px; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 700; color: #5a4743; cursor: pointer; }
.cil-card__continue:hover { color: #c4432f; }
.cil-card__note { margin: 0; text-align: center; font-size: 11.5px; color: #8a7671; }
.cil-first { margin: 2px 0 0; font-size: 17px; font-weight: 700; color: #fff; opacity: 0; }
.cil-first b { color: var(--coral2); } .cil-first em { font-style: normal; color: var(--peach); margin-left: .4em; }
.cil.is-on .cil-first { animation: cil-up .45s ease-out 5.45s both; }
.cil-skip { position: absolute; top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); padding: 9px 18px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(0, 0, 0, .35); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.cil-skip:hover { background: rgba(0, 0, 0, .5); }
.cil :focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; }

/* phones */
@media (max-width: 767.98px) {
  .cil { --oy: 31%; --orb: 136px; }
  .cil-chat { width: 280px; margin-left: -140px; }
  .cil-final { padding-top: max(7vh, 56px); gap: 12px; }
  .cil-lock { gap: 12px; } .cil-lock__slot { width: 58px; height: 58px; }
  .cil-lock__name b { font-size: 42px; } .cil-lock__name [lang="hi"] { font-size: 21px; } .cil-lock__rule { height: 50px; } .cil-lock__def { font-size: 13.5px; }
  .cil-card { padding: 18px 18px 14px; } .cil-card__head { font-size: 18px; } .cil-card__body { font-size: 14px; }
  .cil-card__steps { flex-direction: column; gap: 8px; }
  .cil-first { font-size: 15px; }
  .cil-glow { width: 600px; height: 600px; margin: -300px 0 0 -300px; }
  .cil-rings i { width: 300px; height: 300px; margin: -150px 0 0 -150px; }
}
@media (max-height: 700px) and (max-width: 767.98px) { .cil-card__body, .cil-card__note { display: none; } }

/* reduced motion: the finished screen, no movement */
@media (prefers-reduced-motion: reduce) {
  .cil.is-on, .cil.is-on * { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
}
.cil-skip { min-width: 86px; text-align: center; }   /* Skip -> Close keeps its size */
