/* Institute Console public landing (WEB-1 / SaaS v3).
   Enterprise-grade Educational SaaS design system:
   Linear / Stripe caliber visual architecture, glassmorphic surface layers,
   precision typography, hardware-accelerated micro-interactions, 100% responsive
   across mobile (360px) to ultra-wide (1920px+), full bidirectional English & Urdu RTL.
*/

:root {
  color-scheme: light;
  --bg: #fafbfc;
  --bg2: #ffffff;
  --bg3: #f1f4f9;
  --line: #e2e8f0;
  --line2: #cbd5e1;
  --tx: #0f172a;
  --mut: #475569;
  --dim: #64748b;
  --acc: #4f46e5;
  --acc2: #6366f1;
  --acc3: #3730a3;
  --on-acc: #ffffff;
  --acc-soft: rgba(79, 70, 229, 0.08);
  --acc-glow: rgba(99, 102, 241, 0.18);
  --gold: #d97706;
  --navy: #0b0f19;
  --mint: #10b981;
  --rose: #ef4444;
  --ink: #030712;

  --a-bg: #f8fafc;
  --a-card: #ffffff;
  --a-line: #e2e8f0;
  --a-tx: #0f172a;
  --a-mut: #64748b;
  --a-soft: rgba(79, 70, 229, 0.08);

  --g-bg: #ecfdf5;
  --g-tx: #047857;
  --y-bg: #fffbeb;
  --y-tx: #b45309;
  --r-bg: #fef2f2;
  --r-tx: #b91c1c;
  --v-tx: #4f46e5;

  --urf: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Urdu Typesetting", "Segoe UI", Tahoma, serif;
  --dsp: "Schibsted Grotesk", "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dir: 1;

  --gut: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --cw: min(100vw - 2 * var(--gut), var(--maxw));
  --side: calc((100vw - var(--cw)) / 2);

  --r1: 10px;
  --r2: 14px;
  --r3: 20px;
  --r4: 28px;

  --sh1: 0 1px 3px rgba(15, 23, 42, 0.04), 0 10px 24px -8px rgba(15, 23, 42, 0.06);
  --sh2: 0 20px 45px -15px rgba(15, 23, 42, 0.12), 0 0 60px -20px rgba(79, 70, 229, 0.15);
}

html[dir="rtl"] {
  --dir: -1;
}

html[lang="ur"] {
  --f: "Geist", var(--urf);
  --dsp: "Schibsted Grotesk", var(--urf);
  --mono: "Geist Mono", var(--urf);
}

.dark {
  --bg: #0b0f19;
  --bg2: #111827;
  --bg3: #1e293b;
  --line: rgba(255, 255, 255, 0.09);
  --line2: rgba(255, 255, 255, 0.18);
  --tx: #f8fafc;
  --mut: #94a3b8;
  --dim: #64748b;
  --acc: #818cf8;
  --acc2: #a5b4fc;
  --on-acc: #0b0f19;
  --acc-soft: rgba(129, 140, 248, 0.15);
  --mint: #34d399;
  --rose: #f87171;
  color: var(--tx);
}

* {
  box-sizing: border-box;
  min-width: 0;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font: 16px/1.6 var(--f);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

svg {
  max-width: 100%;
  vertical-align: middle;
}

img {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
  border-radius: 8px;
}

.dark :focus-visible {
  outline-color: var(--acc2);
}

.sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: fixed;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 200;
  background: var(--tx);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(100% - 2 * var(--gut), var(--maxw));
  margin-inline: auto;
}

[id] {
  scroll-margin-top: 84px;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--dsp);
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
  color: var(--tx);
}

em.s {
  font-style: normal;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

html[lang="ur"] em.s {
  -webkit-text-fill-color: initial;
  background: none;
  color: var(--acc2);
}

.mono, .num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.num, bdi {
  unicode-bidi: isolate;
  direction: ltr;
}

.eb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 12px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--acc);
  background: var(--acc-soft);
  border: 1px solid rgba(79, 70, 229, 0.16);
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(79, 70, 229, 0.05);
}

.eb:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.25);
}

.dark .eb {
  background: rgba(129, 140, 248, 0.12);
  border-color: rgba(129, 140, 248, 0.25);
  color: var(--acc2);
}

.dark .eb:before {
  background: var(--acc2);
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.25);
}

h2 {
  font-size: clamp(32px, 3.8vw, 56px);
  line-height: 1.08;
  margin-top: 16px;
  max-width: 24ch;
}

.lead {
  color: var(--mut);
  font-size: clamp(16.5px, 1.2vw, 19.5px);
  line-height: 1.6;
  max-width: 62ch;
  margin: 18px 0 0;
}

section {
  position: relative;
}

.sec {
  padding-block: clamp(68px, 7vw, 120px) 0;
}

.band {
  margin-top: clamp(68px, 7vw, 120px);
  padding-block: clamp(68px, 7vw, 120px);
  background: var(--bg);
}

.band + .sec {
  padding-top: clamp(68px, 7vw, 120px);
}

.cv {
  content-visibility: auto;
  contain-intrinsic-size: auto 1000px;
}

/* ================= Buttons ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding-inline: 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: all 0.25s var(--ease);
  position: relative;
}

.btn.p {
  background: linear-gradient(180deg, #5b52f2 0%, #463cd9 100%);
  color: #ffffff;
  border: 1px solid rgba(79, 70, 229, 0.35);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 1px 0.5px rgba(255, 255, 255, 0.35), 0 8px 20px -6px rgba(79, 70, 229, 0.45);
}

.btn.p:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #635bf5 0%, #3e33d4 100%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 1px 0.5px rgba(255, 255, 255, 0.35), 0 14px 28px -6px rgba(79, 70, 229, 0.6);
}

.dark .btn.p:hover {
  background: var(--acc2);
}

.btn.g {
  border: 1px solid var(--line2);
  color: var(--tx);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.btn.g:hover {
  border-color: #94a3b8;
  background: #f8fafc;
  color: var(--tx);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.06);
}

.btn.sm {
  min-height: 40px;
  padding-inline: 16px;
  font-size: 13.5px;
}

.btn.lg2 {
  min-height: 54px;
  padding-inline: 28px;
  font-size: 16px;
}

.btn:active {
  transform: scale(0.98);
}

.btn .ar {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

html[dir="rtl"] .ar {
  transform: scaleX(-1);
}

.btn:hover .ar {
  transform: translateX(calc(4px * var(--dir))) scaleX(var(--dir));
}

.btn.wa {
  background: linear-gradient(180deg, #25d366 0%, #1da851 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px -2px rgba(37, 211, 102, 0.4);
}

.btn.wa:hover {
  background: #179b47;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px -2px rgba(37, 211, 102, 0.5);
}

/* ================= Navigation ================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.s {
  background: rgba(250, 251, 252, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-color: rgba(226, 232, 240, 0.9);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02), 0 8px 16px -8px rgba(15, 23, 42, 0.04);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -0.025em;
  white-space: nowrap;
  font-family: var(--f);
  color: var(--tx);
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.9;
}

.lgm {
  flex: none;
  display: block;
}

.appicon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-inline-end: 8px;
}

.appicon svg {
  border-radius: 14px;
  box-shadow: var(--sh1);
}

.appicon b {
  display: block;
  font-weight: 600;
}

.appicon small {
  display: block;
  color: var(--mut);
  font-size: 13px;
}

.pah {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  padding-inline: 2px;
}

.links {
  display: flex;
  gap: 4px;
  font-size: 14.5px;
  color: var(--mut);
  background: rgba(241, 245, 249, 0.6);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.6);
}

.links a {
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}

.links a:hover {
  color: var(--tx);
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.nr {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nr .si, .lg {
  font-size: 14px;
  font-weight: 500;
  color: var(--mut);
  padding: 8px 14px;
  border-radius: 999px;
  transition: all 0.2s;
}

.nr .si:hover, .lg:hover {
  color: var(--tx);
  background: var(--bg3);
}

.lg {
  font-family: var(--f);
  border: 1px solid var(--line);
}

.lg[lang="ur"] {
  font-family: var(--urf);
  font-size: 15px;
  line-height: 1.2;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  place-items: center;
  border: 1px solid var(--line2);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.burger svg {
  width: 20px;
  height: 20px;
}

/* ================= Mobile Sheet ================= */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  padding: 16px max(20px, env(safe-area-inset-left, 0px)) calc(24px + env(safe-area-inset-bottom, 0px));
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.3s var(--ease);
  visibility: hidden;
  overflow-y: auto;
}

.sheet.on {
  opacity: 1;
  transform: none;
  visibility: visible;
}

.sheet .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.sheet nav {
  display: grid;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.sheet nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 4px;
  font: 600 20px var(--dsp);
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
}

.sheet .acts2 {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 28px;
}

.sheet .acts2 .btn {
  width: 100%;
}

.sheet .row2 {
  display: flex;
  gap: 10px;
}

.sheet .row2 > * {
  flex: 1;
}

/* ================= Hero Section ================= */
.hero {
  position: relative;
  padding-block: clamp(36px, 5vw, 68px) clamp(44px, 5vw, 76px);
  overflow: hidden;
  isolation: isolate;
}

.hero:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 92vw);
  height: 480px;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(99, 102, 241, 0.12), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: min(44%, 400px);
  z-index: -1;
  background: radial-gradient(70% 90% at 50% 0%, #1e293b 0%, #0b0f19 50%, var(--ink) 85%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 120px);
  mask-image: linear-gradient(180deg, transparent 0, #000 120px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(99, 102, 241, 0.22);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 4px 16px 4px 5px;
  padding-inline: 5px 16px;
  font-size: 13.5px;
  color: var(--mut);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 12px -2px rgba(79, 70, 229, 0.06);
  transition: all 0.25s var(--ease);
  max-width: 100%;
}

.pill:hover {
  border-color: var(--acc);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px -2px rgba(79, 70, 229, 0.16);
}

.pill b {
  font: 700 11px var(--mono);
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  border-radius: 999px;
  padding: 3px 9px;
  flex: none;
  box-shadow: 0 2px 6px -1px rgba(79, 70, 229, 0.4);
}

.pill span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pill span.ar {
  overflow: visible;
  flex: none;
  color: var(--acc);
}

.hero h1 {
  font-size: clamp(40px, 6.8vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin-top: 24px;
  font-weight: 800;
  color: var(--tx);
}

.hgrid {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
}

.hcopy {
  display: grid;
  justify-items: start;
  align-content: center;
}

.hcopy .hsub {
  margin-top: 24px;
}

.hcopy .cta {
  margin-top: 32px;
}

.h1l {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.h1l > span {
  display: inline-block;
}

.js .h1l > span {
  animation: up 1s var(--ease) both;
}

.js .h1l:nth-child(2) > span {
  animation-delay: 0.08s;
}

.js .h1l:nth-child(3) > span {
  animation-delay: 0.16s;
}

@keyframes up {
  from {
    transform: translateY(105%);
  }
}

.hsub {
  font-size: clamp(17px, 1.25vw, 20.5px);
  color: var(--mut);
  line-height: 1.6;
  max-width: 54ch;
  margin: 0;
}

.hsub b {
  color: var(--tx);
  font-weight: 600;
}

.js .hsub {
  animation: fade 1s 0.3s both;
}

.js .cta {
  animation: fade 1s 0.4s both;
}

.js .proof {
  animation: fade 1s 0.5s both;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

.cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.proof {
  display: flex;
  gap: 12px 24px;
  flex-wrap: wrap;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--mut);
}

.proof li {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.proof svg {
  width: 15px;
  height: 15px;
  color: var(--mint);
  flex: none;
}

/* ================= Hero Console / App Window ================= */
.stagehero {
  position: relative;
  isolation: isolate;
}

.con {
  position: relative;
  container: hc / inline-size;
}

.js .con, .js .phero {
  animation: rise 1.1s 0.2s var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
}

.win {
  background: var(--a-bg);
  color: var(--a-tx);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04), 0 24px 48px -12px rgba(15, 23, 42, 0.16), 0 50px 100px -25px rgba(79, 70, 229, 0.15);
  font-family: var(--f);
  position: relative;
}

.bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding-inline: 16px;
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  border-bottom: 1px solid var(--a-line);
}

.bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex: none;
  display: inline-block;
}

.bar i:nth-child(1) {
  background: #ff5f56;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.bar i:nth-child(2) {
  background: #ffbd2e;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.bar i:nth-child(3) {
  background: #27c93f;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.bar u {
  margin-inline: auto;
  text-decoration: none;
  font: 500 12px var(--mono);
  color: #475569;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 4px 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  max-width: 60%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  direction: ltr;
}

.bar u:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  margin-inline-end: 4px;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  flex: none;
}

.app {
  display: grid;
  grid-template-columns: 204px minmax(0, 1fr);
  min-height: 520px;
  background: #fafbfc;
}

.side {
  background: #ffffff;
  border-inline-end: 1px solid var(--a-line);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  font-weight: 500;
  color: var(--a-mut);
}

.side .org {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 16px;
  font-weight: 600;
  color: var(--a-tx);
  font-size: 13.5px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 6px;
}

.side .org i {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  display: block;
  flex: none;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3);
}

.side .org small {
  display: block;
  font-weight: 500;
  color: var(--a-mut);
  font-size: 11.5px;
}

.side .gp {
  font: 600 10.5px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  padding: 14px 10px 6px;
}

.side span.it {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  transition: all 0.2s;
}

.side span.it:hover {
  background: #f1f5f9;
  color: var(--a-tx);
}

.ic24 {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.side .it.on {
  background: rgba(79, 70, 229, 0.08);
  color: #4338ca;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.12);
}

.side .it .n {
  margin-inline-start: auto;
  font: 700 10.5px var(--mono);
  background: #fee2e2;
  color: #991b1b;
  border-radius: 6px;
  padding: 1px 6px;
  box-shadow: 0 1px 2px rgba(153, 27, 27, 0.1);
}

.main {
  padding: 20px 22px;
  display: grid;
  gap: 16px;
  align-content: start;
  background: #f8fafc;
}

.mh {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.mh strong {
  font: 700 19px var(--dsp);
  letter-spacing: -0.025em;
  color: var(--tx);
}

.mh .dt {
  font-size: 12.5px;
  color: var(--a-mut);
}

.ask {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 7px 10px;
  padding-inline-start: 12px;
  font-size: 12.5px;
  color: var(--a-mut);
  width: 310px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.ask svg {
  width: 15px;
  height: 15px;
  color: var(--acc);
  flex: none;
}

.ask kbd {
  margin-inline-start: auto;
  font: 600 10.5px var(--mono);
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  padding: 1px 6px;
  background: #f1f5f9;
  flex: none;
  color: #475569;
}

.ty {
  color: var(--a-tx);
  white-space: nowrap;
  overflow: hidden;
}

.ty:after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: 13px;
  background: var(--acc);
  vertical-align: -2px;
  margin-inline-start: 1px;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.kp {
  background: #ffffff;
  border: 1px solid var(--a-line);
  border-radius: 14px;
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 1px 3px rgba(15, 23, 42, 0.03), 0 4px 8px -2px rgba(15, 23, 42, 0.02);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}

.kp:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 8px 18px -4px rgba(15, 23, 42, 0.06);
  border-color: #cbd5e1;
}

.kp small {
  display: block;
  font-size: 12px;
  color: var(--a-mut);
  font-weight: 500;
}

.kp b {
  display: block;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
  font-family: var(--f);
  white-space: nowrap;
  color: var(--tx);
}

.kp b .of {
  font-size: 13.5px;
  color: var(--a-mut);
  font-weight: 500;
}

.kp em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 6px;
  margin-top: 5px;
}

.kp:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  box-shadow: inset 0 0 0 2px var(--acc);
  opacity: 0;
  pointer-events: none;
}

.kp.flash:after {
  animation: fl 1s var(--ease);
}

@keyframes fl {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.up {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.am {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.dn {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.r2 {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 14px;
}

.pn {
  background: #ffffff;
  border: 1px solid var(--a-line);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 1px 3px rgba(15, 23, 42, 0.03);
}

.pn .h {
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--tx);
}

.pn .h .sb {
  margin-inline-start: auto;
  font: 500 11px var(--mono);
  color: var(--a-mut);
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 10.5px var(--mono);
  color: var(--g-tx);
  background: var(--g-bg);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 999px;
  padding: 2px 8px;
  letter-spacing: 0.04em;
}

.live:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pu 1.4s infinite;
}

@keyframes pu {
  50% {
    opacity: 0.25;
  }
}

.chart {
  margin-top: 12px;
  height: 208px;
}

.chart svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.feed {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  height: 236px;
  overflow: hidden;
  align-content: start;
}

.ev {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 8px 6px;
  border-radius: 10px;
  border-bottom: 1px solid #f1f4f9;
  font-size: 12.5px;
  transition: background-color 0.2s;
}

.ev:hover {
  background: #f8fafc;
}

.ev.new {
  animation: evin 0.6s var(--ease);
}

@keyframes evin {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
}

.ev .ic {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.ev .ic svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ev b {
  display: block;
  font-weight: 600;
  color: var(--tx);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ev small {
  display: block;
  color: var(--a-mut);
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ev time {
  font: 500 11px var(--mono);
  color: var(--a-mut);
}

.k-g {
  background: var(--g-bg);
  color: var(--g-tx);
}

.k-y {
  background: var(--y-bg);
  color: var(--y-tx);
}

.k-r {
  background: var(--r-bg);
  color: var(--r-tx);
}

.k-v {
  background: var(--a-soft);
  color: var(--v-tx);
}

.toast {
  position: absolute;
  inset-inline-end: -28px;
  top: 120px;
  width: 310px;
  background: rgba(11, 15, 25, 0.92);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 25px rgba(37, 211, 102, 0.2);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  opacity: 0;
  transform: translateX(calc(20px * var(--dir))) scale(0.96);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  pointer-events: none;
  z-index: 10;
}

.toast.on {
  opacity: 1;
  transform: none;
}

.wa-i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.35);
}

.wa-i svg {
  width: 19px;
  height: 19px;
  fill: #fff;
}

.toast b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}

.toast p {
  margin: 3px 0 0;
  font-size: 12.5px;
  color: #d0d3ea;
  line-height: 1.45;
}

.toast small {
  display: block;
  font: 500 10.5px var(--mono);
  color: #9da1c0;
  margin-top: 6px;
}

.pause {
  position: absolute;
  inset-inline-end: 0;
  bottom: -48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: #cbd5e1;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  transition: all 0.2s;
}

.pause:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.14);
}

.pause svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* ================= Hero Phone (< 720px) ================= */
.phero {
  display: none;
}

.phn {
  width: min(320px, 86vw);
  margin-inline: auto;
  border-radius: 46px;
  background: #0f172a;
  padding: 11px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 35px 80px -25px rgba(0, 0, 0, 0.7);
}

.phn .sc {
  border-radius: 36px;
  background: var(--a-bg);
  color: var(--a-tx);
  overflow: hidden;
  position: relative;
  height: 560px;
  display: flex;
  flex-direction: column;
  font-family: var(--f);
}

.phn .stb {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 22px 6px;
  font: 600 12px var(--mono);
  direction: ltr;
}

.phn .stb i {
  width: 88px;
  height: 22px;
  border-radius: 14px;
  background: #0f172a;
  display: block;
}

.phn .ah {
  padding: 8px 16px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.phn .ah b {
  display: block;
  font-size: 14px;
}

.phn .ah small {
  display: block;
  font-size: 11.5px;
  color: var(--a-mut);
}

.phn .pk {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 12px;
}

.phn .pk div {
  background: #fff;
  border: 1px solid var(--a-line);
  border-radius: 14px;
  padding: 10px 12px;
}

.phn .pk small {
  display: block;
  font-size: 11px;
  color: var(--a-mut);
  font-weight: 500;
}

.phn .pk b {
  display: block;
  font: 700 19px var(--f);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.phn .lt {
  font: 600 12px var(--f);
  padding: 14px 16px 4px;
  color: var(--a-mut);
}

.phn .feed {
  height: auto;
  flex: 1;
  padding: 0 10px;
  margin: 0;
}

.phn .ev {
  background: #fff;
  border: 1px solid var(--a-line);
  border-radius: 12px;
  margin-bottom: 6px;
  padding: 8px;
}

.phn .tab {
  display: flex;
  justify-content: space-around;
  padding: 10px 0 16px;
  border-top: 1px solid var(--a-line);
  background: #fff;
}

.phn .tab i {
  width: 22px;
  height: 4px;
  border-radius: 4px;
  background: #cbd5e1;
}

.phn .tab i:first-child {
  background: var(--acc);
}

.pban {
  position: absolute;
  inset-inline: 10px;
  top: 10px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--a-line);
  border-radius: 18px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  box-shadow: 0 18px 40px -16px rgba(11, 10, 36, 0.4);
  opacity: 0;
  transform: translateY(-110%);
  transition: opacity 0.4s, transform 0.45s var(--ease);
}

.pban.on {
  opacity: 1;
  transform: none;
}

.pban b {
  display: block;
  font-size: 12.5px;
}

.pban p {
  margin: 1px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--a-mut);
}

/* ================= Stats Metric Strip ================= */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(48px, 5vw, 84px) 0 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 16px 36px -12px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

.stats:before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--acc) 50%, transparent 100%);
  opacity: 0.85;
}

.stats div {
  padding-block: 8px;
  padding-inline: clamp(12px, 2vw, 28px);
  position: relative;
}

.stats div:not(:last-child):after {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--line);
}

.stats dt {
  font-family: var(--dsp);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--tx);
  background: linear-gradient(180deg, var(--tx) 20%, var(--acc3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[lang="ur"] .stats dt {
  -webkit-text-fill-color: initial;
  background: none;
  color: var(--tx);
}

.stats dd {
  margin: 12px 0 0;
  color: var(--mut);
  font-size: 14.5px;
  line-height: 1.5;
  max-width: 26ch;
}

/* ================= Reveal animations ================= */
.js .rv {
  opacity: 0.001;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .rv.in {
  opacity: 1;
  transform: none;
}

/* ================= Story Chapters Section ================= */
.story {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 5vw, 84px);
  margin-top: clamp(40px, 4vw, 64px);
}

.ch {
  min-height: min(62vh, 620px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 32px 32px 36px;
  position: relative;
  border-radius: 18px;
  transition: background-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}

.ch:before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: var(--line2);
  border-radius: 2px;
}

.ch:after {
  content: "";
  position: absolute;
  inset-inline-start: -1px;
  top: calc(50% - 60px);
  height: 120px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--acc2), var(--acc));
  box-shadow: 0 0 12px var(--acc-glow);
  transform: scaleY(0);
  transition: transform 0.5s var(--ease);
}

.ch.on {
  background: #ffffff;
  box-shadow: 0 4px 20px -8px rgba(15, 23, 42, 0.08), 0 0 0 1px var(--line);
}

.ch.on:after {
  transform: none;
}

.ch .k {
  font: 600 12px var(--mono);
  color: var(--dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 4px 10px;
  background: var(--bg3);
  border-radius: 999px;
  width: max-content;
}

.ch .k i {
  font-style: normal;
  color: var(--acc);
  font-weight: 700;
}

.ch h3 {
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15;
  margin-top: 14px;
  color: var(--tx);
}

.js .ch h3 {
  color: var(--dim);
  transition: color 0.4s;
}

.js .ch.on h3 {
  color: var(--tx);
}

.ch p {
  color: var(--mut);
  margin: 14px 0 0;
  max-width: 44ch;
  font-size: 16.5px;
  line-height: 1.6;
}

.ch ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
  color: var(--mut);
}

.ch li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.ch li:before {
  content: "";
  flex: none;
  width: 12px;
  height: 2px;
  background: var(--acc);
  border-radius: 2px;
  transform: translateY(-4px);
}

.ch .vis {
  display: none;
  margin-top: 26px;
}

.stg {
  position: sticky;
  top: 110px;
  height: min(620px, calc(100vh - 150px));
}

.stg .pane {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}

.stg .pane.on {
  opacity: 1;
  transform: none;
}

.stg .pane > .win {
  width: 100%;
}

.pb {
  padding: 18px;
  min-height: 380px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.rows {
  display: grid;
  gap: 8px;
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto auto;
  gap: 12px;
  align-items: center;
  background: var(--a-card);
  border: 1px solid var(--a-line);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.row.two {
  grid-template-columns: minmax(0, 1fr) auto;
}

.row .mono {
  font-size: 12.5px;
}

.on .row {
  animation: rin 0.55s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 90ms + 0.1s);
}

@keyframes rin {
  from {
    opacity: 0;
    transform: translateX(calc(-12px * var(--dir)));
  }
}

.tag {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.tag.g {
  background: var(--g-bg);
  color: var(--g-tx);
}

.tag.y {
  background: var(--y-bg);
  color: var(--y-tx);
}

.tag.r {
  background: var(--r-bg);
  color: var(--r-tx);
}

.tag.v {
  background: var(--a-soft);
  color: var(--v-tx);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 12px;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 180px;
  margin-top: 10px;
}

.bars i {
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #6a63f0, var(--acc3));
  height: var(--h);
  transform-origin: bottom;
}

.bars i.lo {
  background: #d9d7fb;
}

.on .bars i {
  animation: gr 1s var(--ease) both;
  animation-delay: calc(var(--i) * 60ms + 0.2s);
}

@keyframes gr {
  from {
    transform: scaleY(0.05);
  }
}

.cap {
  font: 500 11px var(--mono);
  color: var(--a-mut);
  letter-spacing: 0.05em;
}

.bub {
  background: #dcf8c6;
  color: #13261a;
  border-radius: 14px;
  border-end-start-radius: 4px;
  padding: 11px 13px;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 270px;
}

.bub small {
  display: block;
  color: #4b6d40;
  margin-top: 5px;
  font: 500 10.5px var(--mono);
}

.bub.ur {
  background: #fff;
  border: 1px solid var(--a-line);
  font-family: var(--urf);
  line-height: 2;
  direction: rtl;
  text-align: right;
}

.bub.ur small {
  direction: ltr;
  text-align: end;
}

.on .bub {
  animation: pop 0.6s cubic-bezier(0.2, 1.4, 0.4, 1) 0.9s both;
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(10px);
  }
}

.phone {
  width: 232px;
  margin-inline: auto;
  border-radius: 36px;
  background: #0f172a;
  padding: 10px;
  box-shadow: 0 30px 60px -24px rgba(11, 10, 36, 0.6);
}

.phone .sc {
  border-radius: 28px;
  background: #fff;
  padding: 30px 12px 14px;
  display: grid;
  gap: 8px;
  position: relative;
  color: var(--a-tx);
}

.phone .sc:before {
  content: "";
  position: absolute;
  inset-inline: 0;
  margin-inline: auto;
  top: 9px;
  width: 72px;
  height: 18px;
  border-radius: 12px;
  background: #0f172a;
}

.pc {
  border-radius: 13px;
  padding: 10px 11px;
  font-size: 11.5px;
  font-weight: 500;
  background: var(--a-soft);
}

.pc span {
  display: block;
}

.pc b {
  display: block;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.map {
  position: relative;
  height: 340px;
  border-radius: 14px;
  overflow: hidden;
  background: #e9ebf4;
  border: 1px solid var(--a-line);
}

.map svg {
  width: 100%;
  height: 100%;
  display: block;
}

.eta {
  position: absolute;
  inset-inline-start: 14px;
  bottom: 14px;
  background: #fff;
  border: 1px solid var(--a-line);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 10px 30px -10px rgba(18, 22, 48, 0.3);
}

.eta b {
  display: block;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--v-tx);
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.node {
  background: var(--a-bg);
  border: 1px solid var(--a-line);
  border-radius: 12px;
  padding: 12px 10px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  display: grid;
  gap: 6px;
  justify-items: center;
}

.node small {
  color: var(--a-mut);
  font-weight: 500;
  font-size: 11.5px;
}

.node.hot {
  border-color: var(--acc);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
}

.wire {
  height: 2px;
  margin-top: 14px;
  background: repeating-linear-gradient(90deg, #c3c0f7 0 6px, transparent 6px 12px);
  position: relative;
  border-radius: 2px;
}

.wire i {
  position: absolute;
  inset: 0;
  animation: wr 3s var(--ease) infinite;
}

.wire i:before {
  content: "";
  position: absolute;
  top: -4px;
  inset-inline-start: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(56, 217, 160, 0.25);
}

@keyframes wr {
  from {
    transform: none;
  }
  to {
    transform: translateX(calc((100% - 10px) * var(--dir)));
  }
}

.lb {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--a-line);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
}

.lb .rk {
  font: 600 11px var(--mono);
  color: var(--a-mut);
  width: 16px;
}

.lb .av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10.5px;
  color: #fff;
  background: linear-gradient(135deg, var(--acc3), #8b84ff);
  flex: none;
}

.lb .m {
  flex: 1;
  height: 6px;
  border-radius: 9px;
  background: #e9e8fb;
  overflow: hidden;
}

.mtr {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 9px;
  background: linear-gradient(90deg, var(--acc3), var(--mint));
  transform-origin: 0 50%;
}

html[dir="rtl"] .mtr {
  transform-origin: 100% 50%;
}

.on .mtr, .ans .mtr {
  animation: wf 1.2s var(--ease) both 0.2s;
}

@keyframes wf {
  from {
    transform: scaleX(0);
  }
}

/* ================= Story Scenes Detailed Visuals ================= */
.stg .pane > .scene {
  width: 100%;
}

.scene {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.05), 0 20px 45px -15px rgba(15, 23, 42, 0.12), 0 0 50px -20px var(--acc-glow);
  overflow: hidden;
  color: var(--a-tx);
}

.sc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fafbfc 0%, #f1f4f9 100%);
}

.sc-cap {
  font: 700 clamp(16px, 1.25vw, 19px) var(--dsp);
  letter-spacing: -0.02em;
  color: var(--tx);
}

.sc-who {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--mut);
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 5px 14px 5px 10px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.sc-who .ic24 {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

.sc-who b {
  font-weight: 600;
  color: var(--navy);
}

.sc-stage {
  padding: clamp(24px, 2.5vw, 40px) clamp(20px, 2.5vw, 36px);
  min-height: clamp(300px, 28vw, 390px);
  display: grid;
  align-content: center;
  gap: 20px;
  background: radial-gradient(#cbd5e1 1.2px, transparent 1.2px) 0 0 / 22px 22px, #fcfdfe;
}

.sc-lbl {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mut);
  text-align: center;
}

.sc-lbl2 {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.sc-av {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 700 13px var(--f);
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #818cf8);
  box-shadow: 0 0 0 3px #fff, 0 3px 8px rgba(18, 22, 48, 0.15);
  transition: filter 0.4s;
}

.sc-av.sm {
  width: 32px;
  height: 32px;
  font-size: 11px;
}

.sc-av.gone {
  filter: grayscale(1);
  opacity: 0.55;
  background: #94a3b8;
}

.sc-x {
  position: absolute;
  inset-inline-end: -6px;
  top: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 2px #fff;
  font-style: normal;
}

.sc-x .ic24 {
  width: 11px;
  height: 11px;
  stroke-width: 3;
}

/* Scene 0 Attendance */
.sc0 {
  display: grid;
  grid-template-columns: auto minmax(48px, 1fr) auto;
  align-items: center;
  gap: clamp(8px, 2vw, 24px);
}

.sc-clsrm {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  padding: 16px 18px;
  box-shadow: var(--sh1);
}

.sc-avs {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 12px;
  margin-top: 12px;
  justify-content: center;
}

.sc-trk {
  position: relative;
  height: 46px;
}

.sc-line {
  position: absolute;
  inset-inline: 0;
  top: 50%;
  height: 0;
  border-top: 3px dotted #94a3b8;
}

.sc-fly {
  position: absolute;
  top: 50%;
  inset-inline-start: calc(100% - 34px);
  width: 34px;
  height: 34px;
  margin-top: -17px;
  border-radius: 50%;
  background: var(--acc);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px -4px rgba(79, 70, 229, 0.6);
  opacity: 0;
}

.sc-fly .ic24 {
  width: 16px;
  height: 16px;
}

.sc-ph {
  position: relative;
  width: clamp(124px, 13vw, 156px);
  border-radius: 26px;
  background: var(--navy);
  padding: 8px;
  box-shadow: 0 24px 40px -22px rgba(11, 15, 25, 0.6);
}

.sc-notch {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 44px;
  height: 8px;
  border-radius: 9px;
  background: #000;
  transform: translateX(-50%);
  z-index: 1;
}

.sc-wa {
  border-radius: 19px;
  background: #efeae2;
  padding: 30px 10px 12px;
  display: grid;
  gap: 8px;
  min-height: 118px;
  position: relative;
}

.sc-wai {
  position: absolute;
  top: 8px;
  inset-inline-start: 10px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
}

.sc-wai .ic24 {
  width: 12px;
  height: 12px;
  fill: #fff;
  stroke: none;
}

.sc-wat {
  background: #dcf8c6;
  border-radius: 12px 12px 12px 3px;
  padding: 9px 10px;
  display: grid;
  gap: 5px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.sc-wat i {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: #9cc58a;
}

.sc-wat i:nth-child(2) {
  width: 80%;
}

.sc-wat i:nth-child(3) {
  width: 50%;
}

.sc-tk {
  justify-self: end;
  display: inline-flex;
  color: #34b7f1;
  margin-top: -4px;
}

.sc-tk .ic24 {
  width: 13px;
  height: 13px;
  stroke-width: 2.6;
}

.sc-tk .ic24 + .ic24 {
  margin-inline-start: -7px;
}

.sc-rd {
  text-align: center;
  color: #cfd6ea;
  font: 600 11px var(--mono);
  margin-top: 6px;
}

.on .sc0 .gone {
  animation: scGrey 0.7s 0.7s both;
}

.on .sc0 .sc-x {
  animation: scPop 0.5s 1s both cubic-bezier(0.2, 1.6, 0.4, 1);
}

.on .sc0 .sc-fly {
  animation: scFly 1.3s 1.5s both var(--ease);
}

.on .sc0 .sc-wat {
  animation: scPop 0.5s 2.7s both cubic-bezier(0.2, 1.4, 0.4, 1);
}

.on .sc0 .sc-tk {
  animation: scTick 0.5s 3.4s both;
}

.on .sc0 .sc-rd {
  animation: scIn 0.4s 3.4s both;
}

@keyframes scGrey {
  from {
    filter: none;
    opacity: 1;
    background: linear-gradient(135deg, #4f46e5, #818cf8);
  }
}

@keyframes scPop {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
}

@keyframes scIn {
  from {
    opacity: 0;
  }
}

@keyframes scTick {
  from {
    color: #9aa4c0;
  }
}

@keyframes scFly {
  0% {
    opacity: 0;
    inset-inline-start: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    inset-inline-start: calc(100% - 34px);
  }
}

/* Scene 1 Fees */
.sc1 {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: clamp(6px, 1.4vw, 18px);
}

.sc-s {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.sc-docs {
  display: grid;
  gap: 6px;
  justify-items: center;
}

.sc-doc {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--line2);
  border-radius: 10px;
  padding: 7px 12px;
  box-shadow: var(--sh1);
  color: var(--acc);
  font-size: 13px;
}

.sc-doc b {
  color: var(--navy);
}

.sc-doc:nth-child(2) {
  margin-inline-start: 14px;
}

.sc-doc:nth-child(3) {
  margin-inline-start: 28px;
}

.sc-arr {
  width: clamp(22px, 3.4vw, 52px);
  height: 0;
  border-top: 3px dotted #94a3b8;
  position: relative;
}

.sc-arr:after {
  content: "";
  position: absolute;
  inset-inline-end: -2px;
  top: -7px;
  border: 5px solid transparent;
  border-inline-start: 8px solid #64748b;
}

[dir="rtl"] .sc-arr:after, html[lang="ur"] .sc-arr:after {
  border-inline-start: 0;
  border-inline-end: 8px solid #64748b;
  inset-inline-end: auto;
  inset-inline-start: -2px;
}

.sc-ring {
  position: relative;
  width: clamp(78px, 8vw, 104px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.sc-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.sc-ring circle {
  fill: none;
  stroke-width: 9;
  stroke-linecap: round;
}

.sc-ring .bg {
  stroke: #e2e8f0;
}

.sc-ring .fg {
  stroke: var(--mint);
  stroke-dasharray: 100;
  stroke-dashoffset: 13;
}

.sc-ring b {
  font: 700 clamp(18px, 1.8vw, 24px) var(--dsp);
  color: var(--navy);
}

.sc-ledger {
  position: relative;
  width: clamp(68px, 7vw, 88px);
  aspect-ratio: 1;
  border-radius: 20px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 30px -18px #14213d;
}

.sc-ledger > .ic24 {
  width: 34px;
  height: 34px;
  stroke-width: 1.5;
}

.sc-ok {
  position: absolute;
  inset-inline-end: -8px;
  top: -8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mint);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 3px #fff;
  font-style: normal;
}

.sc-ok .ic24 {
  width: 15px;
  height: 15px;
  stroke: #fff;
  stroke-width: 3;
}

.sc-leg {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.on .sc1 .sc-doc {
  animation: scDoc 0.7s calc(var(--i) * 0.28s + 0.2s) both var(--ease);
}

.on .sc1 .sc-arr {
  animation: scIn 0.5s 1.1s both;
}

.on .sc1 .sc-ring .fg {
  animation: scRing 1.6s 1.3s both var(--ease);
}

.on .sc1 .sc-ring b {
  animation: scIn 0.5s 2s both;
}

.on .sc1 .sc-ledger {
  animation: scPop 0.6s 2.6s both cubic-bezier(0.2, 1.3, 0.4, 1);
}

.on .sc1 .sc-ok {
  animation: scPop 0.5s 3.1s both cubic-bezier(0.2, 1.8, 0.4, 1);
}

@keyframes scDoc {
  from {
    opacity: 0;
    transform: translateX(-26px);
  }
}

[dir="rtl"] .sc-doc, html[lang="ur"] .sc-doc {
  animation-name: scDocR;
}

@keyframes scDocR {
  from {
    opacity: 0;
    transform: translateX(26px);
  }
}

@keyframes scRing {
  from {
    stroke-dashoffset: 100;
  }
}

/* Scene 2 Transport */
.sc2 {
  display: grid;
  gap: 14px;
}

.sc-map {
  width: 100%;
  height: auto;
  display: block;
  max-height: 300px;
}

.sc-map .rt-bg {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 14;
  stroke-linecap: round;
}

.sc-map .rt {
  fill: none;
  stroke: var(--acc);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 2 11;
}

.sc-map .stop {
  fill: #fff;
  stroke: var(--acc);
  stroke-width: 3.5;
}

.sc-map .sch {
  fill: var(--navy);
}

.sc-map .sch-t {
  fill: #fff;
  font: 600 11px var(--f);
}

.sc-map .bus {
  fill: var(--mint);
  stroke: #fff;
  stroke-width: 3;
}

.sc-map .pg {
  fill: none;
  stroke: var(--acc);
  stroke-width: 2.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.on .sc-map .pg {
  animation: scPing 2.4s infinite var(--ease);
}

.on .sc-map .pg:nth-child(2) {
  animation-delay: 1.2s;
}

@keyframes scPing {
  0% {
    opacity: 0.7;
    transform: scale(0.6);
  }
  100% {
    opacity: 0;
    transform: scale(3.2);
  }
}

.sc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.sc-eta, .sc-pp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 14px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
}

.sc-eta {
  background: #ffffff;
  border: 1px solid var(--line2);
  color: var(--mut);
  box-shadow: var(--sh1);
}

.sc-eta .ic24 {
  width: 18px;
  height: 18px;
  color: var(--acc);
}

.sc-eta b {
  font: 700 24px/1 var(--dsp);
  color: var(--navy);
}

.sc-pp {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 14px 28px -14px #14213d;
}

.sc-pp .ic24 {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.on .sc2 .sc-pp {
  animation: scPop 0.6s 2s both cubic-bezier(0.2, 1.4, 0.4, 1);
}

/* Scene 3 Parent App */
.sc3 {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(10px, 2vw, 30px);
}

.sc-cl {
  display: grid;
  gap: clamp(14px, 3vw, 34px);
}

.sc-cl.R {
  justify-items: start;
}

.sc-cl.L {
  justify-items: end;
}

.sc-call {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #ffffff;
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 9px 16px 9px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--sh1);
  white-space: nowrap;
}

.sc-call .ic24 {
  width: 18px;
  height: 18px;
  color: var(--acc);
}

.sc-call:after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(14px, 3vw, 34px);
  border-top: 2px dotted var(--acc);
}

.sc-cl.L .sc-call:after {
  inset-inline-start: 100%;
}

.sc-cl.R .sc-call:after {
  inset-inline-end: 100%;
}

.sc-phone {
  position: relative;
  width: clamp(170px, 17vw, 212px);
  border-radius: 32px;
  background: var(--navy);
  padding: 9px;
  display: grid;
  gap: 7px;
  align-content: start;
  box-shadow: 0 30px 50px -26px #14213d;
}

.sc-phone .sc-notch {
  top: 11px;
}

.sc-pf {
  background: #fff;
  border-radius: 23px 23px 6px 6px;
  padding: 28px 12px 8px;
  font: 700 13px var(--dsp);
  color: var(--navy);
}

.sc-c {
  border-radius: 14px;
  background: var(--acc-soft);
  padding: 9px 12px;
  display: grid;
  gap: 1px;
}

.sc-c small {
  font-size: 11px;
  color: var(--mut);
}

.sc-c b {
  font: 700 18px var(--dsp);
  color: var(--navy);
}

.sc-c.g {
  background: var(--g-bg);
}

.sc-c.y {
  background: var(--y-bg);
}

.sc-c.b {
  background: #e8f0ff;
}

.on .sc3 .sc-call {
  animation: scIn 0.5s calc(var(--i) * 0.55s + 0.3s) both;
}

.on .sc3 .sc-c {
  animation: scCard 1.2s calc(var(--i) * 0.55s + 0.3s) both;
}

@keyframes scCard {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.07);
    box-shadow: 0 0 0 3px var(--acc);
  }
  100% {
    transform: none;
    box-shadow: none;
  }
}

/* Scene 4 Learning & LMS */
.sc4 {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}

.sc-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.4vw, 16px);
}

.sc-st {
  display: grid;
  gap: 8px;
  justify-items: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mut);
}

.sc-st i {
  position: relative;
  width: clamp(50px, 5vw, 64px);
  aspect-ratio: 1;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--line2);
  display: grid;
  place-items: center;
  color: var(--acc);
  box-shadow: var(--sh1);
  font-style: normal;
}

.sc-st i .ic24 {
  width: 26px;
  height: 26px;
}

.sc-st em {
  position: absolute;
  top: -14px;
  inset-inline-end: -10px;
  font: 700 12px var(--mono);
  background: var(--gold);
  color: var(--navy);
  border-radius: 999px;
  padding: 2px 8px;
  font-style: normal;
}

.sc-cn {
  flex: 0 0 clamp(14px, 3vw, 40px);
  border-top: 3px dotted #94a3b8;
  align-self: flex-start;
  margin-top: clamp(25px, 2.5vw, 32px);
}

.sc-lb {
  position: relative;
  height: 132px;
  max-width: 380px;
  width: 100%;
  margin-inline: auto;
}

.sc-lr {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 40px;
  transform: translateY(var(--y));
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding-inline: 12px;
  font-size: 13px;
}

.sc-lr b {
  flex: 1;
  font-weight: 600;
}

.sc-lr .rk {
  font: 600 11px var(--mono);
  color: var(--dim);
  width: 14px;
}

.sc-lr.me {
  border-color: var(--acc);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
  z-index: 1;
}

.on .sc4 .sc-st {
  animation: scDoc 0.6s calc(var(--i) * 0.5s + 0.2s) both var(--ease);
}

.on .sc4 .sc-st em {
  animation: scFloat 1s 1.6s both;
}

.on .sc4 .sc-lr {
  animation: scRise 1s 2.6s both var(--ease);
}

@keyframes scFloat {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.6);
  }
}

@keyframes scRise {
  from {
    transform: translateY(var(--f));
  }
}

/* ================= Workflows Visualizer ================= */
.wfx {
  margin-top: clamp(32px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 20px 40px -15px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.wft {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  padding: 16px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--line);
}

.wtab {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  font-weight: 600;
  font-size: 14px;
  color: var(--mut);
  background: #ffffff;
  transition: all 0.2s var(--ease);
}

.wtab svg, .replay svg {
  width: 18px;
  height: 18px;
}

.wtab:hover {
  color: var(--tx);
  border-color: var(--acc);
  background: var(--acc-soft);
}

.wtab[aria-selected="true"] {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 4px 12px -2px rgba(11, 15, 25, 0.3);
}

.replay {
  margin-inline-start: auto;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--mut);
  padding: 10px 16px;
  border-radius: 999px;
  min-height: 44px;
  transition: all 0.2s;
}

.replay:hover {
  color: var(--tx);
  background: var(--bg3);
}

.wfc {
  position: relative;
  padding: clamp(32px, 3.5vw, 52px) clamp(20px, 3.5vw, 64px) 24px;
  background: radial-gradient(rgba(148, 163, 184, 0.35) 1.2px, transparent 1.2px) 0 0 / 24px 24px, linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.wfe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.wfe .e {
  fill: none;
  stroke: #cbd5e1;
  stroke-width: 2.2;
  stroke-dasharray: 4 6;
  stroke-linecap: round;
  transition: stroke 0.3s;
}

.wfe .e.on {
  stroke: var(--acc);
  stroke-dasharray: none;
}

.wfe .stub {
  fill: none;
  stroke: #cbd5e1;
  stroke-width: 2.2;
  stroke-dasharray: 3 5;
}

.wfe .bl circle {
  fill: #fff;
  stroke: #cbd5e1;
  stroke-width: 1.5;
}

.wfe .bl text {
  font: 700 12px var(--f);
  text-anchor: middle;
  dominant-baseline: central;
}

.wfe .tok {
  fill: var(--acc);
}

.wfe .tok2 {
  fill: var(--acc);
  opacity: 0.22;
}

.wfn {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  min-height: 280px;
  padding-block: 96px 8px;
  margin: 0;
  list-style: none;
}

.wn {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  width: clamp(78px, 8.4vw, 128px);
  transform: translateY(calc(var(--lift, 0) * -46px));
  transition: transform 0.7s var(--ease);
  text-align: center;
  border-radius: 14px;
  padding: 4px;
}

.wn .sh {
  position: relative;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid #cbd5e1;
  color: #64748b;
  box-shadow: 0 4px 10px -2px rgba(15, 23, 42, 0.06);
  transition: border-color 0.35s, color 0.35s, background-color 0.35s, box-shadow 0.35s, transform 0.35s var(--ease);
}

.wn .sh > svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wn .sh:after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 2px solid currentColor;
  opacity: 0;
  transform: scale(0.9);
}

.wn.n-t .sh {
  border-radius: 999px;
  width: 82px;
}

.wn.n-r .sh {
  border-radius: 14px;
  width: 54px;
  height: 54px;
  margin: 7px;
  transform: rotate(45deg);
}

.wn.n-r .sh > svg {
  transform: rotate(-45deg);
}

.wn.n-p .sh, .wn.n-w .sh {
  border-radius: 50%;
}

.wn.n-w .sh {
  border-style: dashed;
}

.wn.n-a .sh {
  border-radius: 18px;
}

.wn.n-s .sh {
  border-radius: 18px 18px 28px 28px;
}

.wn > b {
  font: 600 13.5px/1.25 var(--f);
  color: var(--mut);
  max-width: 13ch;
}

.wn .tm {
  position: absolute;
  top: -12px;
  inset-inline-end: -18px;
  font: 700 11px var(--mono);
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 2px 8px;
  direction: ltr;
  white-space: nowrap;
}

.wn .rb {
  position: absolute;
  bottom: -6px;
  inset-inline-end: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--line2);
  display: grid;
  place-items: center;
  font: 700 10px var(--mono);
  color: var(--mut);
}

.wn .ok3 {
  position: absolute;
  top: -8px;
  inset-inline-start: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mint);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.3s, transform 0.4s cubic-bezier(0.2, 1.6, 0.4, 1);
}

.wn.n-r .ok3 {
  transform: rotate(-45deg) scale(0.4);
}

.wn .ok3 svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
}

.wn .up {
  position: absolute;
  top: -12px;
  inset-inline-start: -14px;
  font: 700 11px var(--mono);
  background: #d97706;
  color: #fff;
  border-radius: 999px;
  padding: 2px 7px;
  opacity: 0;
  transition: opacity 0.3s;
}

.wn .hsh {
  font: 600 10.5px var(--mono);
  color: var(--g-tx);
  opacity: 0;
  transition: opacity 0.4s;
  direction: ltr;
}

.wn .tip {
  position: absolute;
  bottom: calc(100% + 10px);
  inset-inline-start: 50%;
  translate: calc(-50% * var(--dir)) 0;
  width: max-content;
  max-width: 230px;
  background: var(--navy);
  color: #fff;
  font: 500 12.5px/1.45 var(--f);
  padding: 8px 12px;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 5;
  text-align: start;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.wn:hover .tip, .wn:focus-visible .tip {
  opacity: 1;
}

.wn.lit .sh {
  border-color: var(--acc);
  color: var(--acc);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15), 0 10px 24px -10px rgba(79, 70, 229, 0.5);
  transform: translateY(-2px);
}

.wn.lit .sh:after {
  opacity: 0.35;
  transform: none;
  transition: opacity 0.3s, transform 0.4s;
}

.wn.wait .sh {
  border-color: #d97706;
  color: #92400e;
  background: #fffbeb;
}

.wn.wait .sh:after {
  animation: ring 1.1s var(--ease) infinite;
}

@keyframes ring {
  from {
    opacity: 0.55;
    transform: scale(0.92);
  }
  to {
    opacity: 0;
    transform: scale(1.3);
  }
}

.wn.done .sh {
  border-color: var(--mint);
  color: var(--g-tx);
  background: var(--g-bg);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.wn.done .ok3 {
  opacity: 1;
  transform: none;
}

.wn.n-r.done .ok3 {
  transform: rotate(-45deg);
}

.wn.done > b {
  color: var(--tx);
}

.wn.esc .up {
  opacity: 1;
}

.wn.seal .sh {
  animation: seal 0.6s cubic-bezier(0.2, 1.6, 0.4, 1);
}

.wn.seal .hsh, .wn.done .hsh {
  opacity: 1;
}

@keyframes seal {
  40% {
    transform: scale(1.15);
  }
}

.wfleg {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: center;
  margin-top: 18px;
  font-size: 13px;
  color: var(--mut);
}

.wfleg span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.wfleg b {
  font-weight: 500;
}

.wfleg i {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #94a3b8;
  background: #fff;
}

.wfleg .n-t {
  border-radius: 999px;
  width: 20px;
}

.wfleg .n-r {
  transform: rotate(45deg);
  border-radius: 3px;
  width: 11px;
  height: 11px;
}

.wfleg .n-p {
  border-radius: 50%;
}

.wfleg .n-w {
  border-radius: 50%;
  border-style: dashed;
}

.wfleg .n-a {
  border-radius: 4px;
}

.wfl {
  margin: 18px auto 0;
  max-width: 70ch;
  color: var(--mut);
  font-size: 15px;
}

.js .wfl {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  margin: 0;
}

.js .wfl:not(.on) {
  display: none;
}

.draw {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  margin-top: clamp(20px, 2vw, 28px);
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r3);
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.draw h3 {
  font-size: clamp(20px, 1.6vw, 26px);
}

.draw p {
  margin: 8px 0 0;
  color: var(--mut);
  max-width: 48ch;
}

.bld {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.pal {
  display: grid;
  gap: 6px;
  align-content: start;
}

.pal span, .drag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line2);
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.pal svg, .drag svg {
  width: 15px;
  height: 15px;
}

.pc-t { color: var(--v-tx); }
.pc-r { color: #6b4fd8; }
.pc-p { color: var(--g-tx); }
.pc-w { color: #8a5a12; }
.pc-a { color: #1c6fb8; }

.cnv {
  position: relative;
  border: 1.5px dashed var(--line2);
  border-radius: 16px;
  background: radial-gradient(#cbd5e1 1.2px, transparent 1.2px) 0 0 / 18px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 150px;
  padding: 16px;
  overflow: hidden;
}

.cn {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fff;
  border: 2px solid var(--acc);
  color: var(--acc);
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.2);
}

.cn svg {
  width: 20px;
  height: 20px;
}

.cn.n1 {
  border-radius: 999px;
  width: 56px;
}

.cn.n2 {
  border-radius: 50%;
}

.cn.drop {
  border: 2px dashed #d97706;
  color: #92400e;
  border-radius: 50%;
  opacity: 0.35;
}

.cl {
  width: clamp(20px, 4vw, 56px);
  height: 2px;
  background: var(--acc);
  flex: none;
}

.cl.l2 {
  background: repeating-linear-gradient(90deg, #d97706 0 5px, transparent 5px 9px);
}

.drag {
  position: absolute;
  inset-inline-start: 12px;
  top: 12px;
  box-shadow: 0 12px 24px -10px rgba(15, 23, 42, 0.3);
}

.cur {
  position: absolute;
  width: 18px;
  height: 18px;
  color: var(--navy);
  inset-inline-start: 40px;
  top: 30px;
}

.bld.run .drag { animation: drg 5s var(--ease) infinite; }
.bld.run .cur { animation: cur 5s var(--ease) infinite; }
.bld.run .drop { animation: drp 5s infinite; }

@keyframes drg {
  0%, 12% { transform: none; opacity: 0; }
  18% { opacity: 1; transform: none; }
  55%, 70% { transform: translate(calc(var(--dx) * var(--dir)), var(--dy)); opacity: 1; }
  78%, 100% { transform: translate(calc(var(--dx) * var(--dir)), var(--dy)); opacity: 0; }
}

@keyframes cur {
  0%, 12% { transform: none; opacity: 0; }
  18% { opacity: 1; transform: none; }
  55%, 70% { transform: translate(calc(var(--dx) * var(--dir)), var(--dy)); opacity: 1; }
  85%, 100% { opacity: 0; transform: translate(calc(var(--dx) * var(--dir)), var(--dy)); }
}

@keyframes drp {
  0%, 62% { opacity: 0.35; border-style: dashed; }
  70%, 100% { opacity: 1; border-style: solid; }
}

.wn.held .sh:after {
  animation: none;
  opacity: 0;
}

/* ================= Roles Consoles ================= */
.roles {
  margin-top: clamp(36px, 4vw, 60px);
  border: 1px solid var(--line);
  border-radius: var(--r4);
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 20px 40px -15px rgba(15, 23, 42, 0.08);
}

.rtabs {
  display: none;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.js .rtabs {
  display: flex;
}

.rtabs::-webkit-scrollbar {
  display: none;
}

.rt {
  flex: 1 0 auto;
  padding: 20px 24px;
  font-size: 15px;
  color: var(--mut);
  border-inline-end: 1px solid var(--line);
  position: relative;
  transition: all 0.25s var(--ease);
  text-align: start;
}

.rt:last-child {
  border-inline-end: 0;
}

.rt small {
  display: block;
  font: 500 11px var(--mono);
  color: var(--dim);
  letter-spacing: 0.04em;
  margin-top: 3px;
}

.rt:hover {
  color: var(--tx);
  background: var(--bg3);
}

.rt[aria-selected="true"] {
  color: var(--tx);
  background: #ffffff;
  font-weight: 600;
}

.rt[aria-selected="true"]:after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--acc), var(--acc2));
  box-shadow: 0 -2px 8px var(--acc-glow);
}

.rbody {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  padding: 40px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.js .rbody {
  border: 0;
}

.rbody[hidden] {
  display: none;
}

.rbody h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
}

.rbody > div > p {
  color: var(--mut);
  margin: 14px 0 0;
  max-width: 46ch;
  line-height: 1.6;
}

.rname {
  font: 600 12px var(--mono);
  color: var(--dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.js .rname {
  display: none;
}

.scope {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font: 600 12px var(--mono);
  color: var(--v-tx);
  border: 1px solid rgba(79, 70, 229, 0.25);
  background: var(--acc-soft);
  border-radius: 999px;
  padding: 6px 14px;
}

.scope svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.can {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 11px;
  font-size: 15px;
}

.can li {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--tx);
}

.can li svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.can li.no {
  color: var(--dim);
  text-decoration: line-through;
  text-decoration-color: var(--line2);
}

.can .y {
  color: var(--mint);
}

.can .x {
  color: var(--dim);
}

.rview .win {
  animation: fade 0.5s var(--ease);
}

.rgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rk {
  background: #ffffff;
  border: 1px solid var(--a-line);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.rk small {
  display: block;
  font-size: 11.5px;
  color: var(--a-mut);
  font-weight: 500;
}

.rk b {
  display: block;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rk em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 600;
}

/* ================= Module Atlas ================= */
.fil {
  display: none;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.js .fil {
  display: flex;
}

.fc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--mut);
  background: #ffffff;
  transition: all 0.2s var(--ease);
  min-height: 40px;
}

.fc span {
  font: 600 11.5px var(--mono);
  color: var(--dim);
  background: var(--bg3);
  padding: 1px 7px;
  border-radius: 999px;
}

.fc:hover {
  color: var(--tx);
  border-color: #94a3b8;
  background: #f8fafc;
}

.fc[aria-pressed="true"] {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  box-shadow: 0 2px 8px -1px rgba(11, 15, 25, 0.25);
}

.fc[aria-pressed="true"] span {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.atlas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border: none;
  background: transparent;
}

.md {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 22px 24px;
  display: grid;
  gap: 10px;
  align-content: start;
  transition: all 0.25s var(--ease);
  position: relative;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.md:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.15), 0 12px 24px -6px rgba(15, 23, 42, 0.08);
}

.md .ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(79, 70, 229, 0.15);
  display: grid;
  place-items: center;
  color: var(--acc);
  background: var(--acc-soft);
  transition: transform 0.2s var(--ease), background-color 0.2s;
}

.md:hover .ic {
  transform: scale(1.08);
  background: var(--acc);
  color: #ffffff;
}

.md .ic svg {
  width: 18px;
  height: 18px;
}

.md b {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  margin-top: 4px;
  color: var(--tx);
}

.md span.d {
  font-size: 13.5px;
  color: var(--mut);
  line-height: 1.55;
}

.md .gr {
  position: absolute;
  top: 20px;
  inset-inline-end: 18px;
  font: 600 10.5px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}

.md .gr.soon2 {
  color: var(--y-tx);
  background: var(--y-bg);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 999px;
  padding: 2px 8px;
  letter-spacing: 0.02em;
  text-transform: none;
}

.md.off {
  opacity: 0.15;
  pointer-events: none;
}

/* ================= AI Assistant Dark Showcase ================= */
.band.dark {
  background: radial-gradient(ellipse 90% 60% at 50% 0%, #151c36 0%, #0b0f19 65%, #05070c 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.band.dark:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.ai {
  margin-top: clamp(36px, 4vw, 60px);
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 40px;
  align-items: start;
}

.soon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 11.5px var(--mono);
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 3px 10px;
  background: rgba(217, 119, 6, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(217, 119, 6, 0.35);
  vertical-align: middle;
}

.qs {
  display: grid;
  gap: 12px;
}

.q {
  text-align: start;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(22, 33, 62, 0.45);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  transition: all 0.25s var(--ease);
  font-size: 15px;
  color: #94a3b8;
  backdrop-filter: blur(10px);
  width: 100%;
}

.q svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: #64748b;
  transition: color 0.2s;
}

.q:hover {
  border-color: rgba(99, 102, 241, 0.5);
  color: #ffffff;
  background: rgba(30, 41, 75, 0.7);
  transform: translateX(calc(4px * var(--dir)));
}

.q:hover svg {
  color: #a5b4fc;
}

.q[aria-pressed="true"] {
  border-color: #818cf8;
  background: rgba(49, 46, 129, 0.45);
  color: #ffffff;
  box-shadow: 0 0 25px -5px rgba(99, 102, 241, 0.4);
}

.q[aria-pressed="true"] svg {
  color: #818cf8;
}

.aiw {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 35px 90px -25px rgba(0, 0, 0, 0.8), 0 0 50px -10px rgba(99, 102, 241, 0.3);
  backdrop-filter: blur(20px) saturate(180%);
  display: none;
}

.js .aiw {
  display: block;
}

.aih {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.02);
}

.orb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #6366f1, #a855f7, #10b981, #38bdf8, #6366f1);
  animation: spin 5s linear infinite;
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.65), 0 0 50px rgba(168, 85, 247, 0.35);
  flex: none;
}

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

.aih .sc {
  margin-inline-start: auto;
  font: 600 11.5px var(--mono);
  border: 1px solid rgba(129, 140, 248, 0.3);
  border-radius: 999px;
  padding: 3px 12px;
  color: #a5b4fc;
  background: rgba(129, 140, 248, 0.1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aib {
  padding: 24px;
  min-height: 440px;
  display: grid;
  gap: 18px;
  align-content: start;
}

.prompt {
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 15px;
  min-height: 52px;
}

.prompt .ty {
  flex: 1;
  color: #f8fafc;
  white-space: normal;
}

.prompt .ty:after {
  height: 16px;
  width: 2px;
  background: var(--acc2);
}

.prompt .go {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--acc2);
  color: #0b0f19;
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 2px 6px rgba(99, 102, 241, 0.4);
}

.prompt .go svg {
  width: 16px;
  height: 16px;
}

.ans {
  display: grid;
  gap: 16px;
  font-size: 15px;
  color: #94a3b8;
}

.ans > * {
  animation: fade 0.6s var(--ease) both;
}

.ans p {
  margin: 0;
  line-height: 1.6;
}

.ans p b {
  color: #f8fafc;
  font-weight: 600;
}

.thinking {
  display: flex;
  gap: 10px;
  align-items: center;
  font: 500 12.5px var(--mono);
  color: #94a3b8;
}

.thinking i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acc2);
  animation: pu 1s infinite;
}

.thinking i:nth-child(2) { animation-delay: 0.15s; }
.thinking i:nth-child(3) { animation-delay: 0.3s; }

.hb {
  display: grid;
  gap: 12px;
}

.hb div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 90px;
  gap: 14px;
  align-items: center;
  font-size: 13.5px;
  color: #e2e8f0;
}

.hb .t {
  height: 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hb .mtr {
  background: linear-gradient(90deg, #4f46e5, #818cf8);
}

.hb .mtr.hot {
  background: linear-gradient(90deg, #e11d48, #fb7185);
}

.hb .mono {
  text-align: end;
  font-size: 12.5px;
  color: #94a3b8;
}

.atbl {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  font-size: 13.5px;
}

.atbl div {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 0.6fr minmax(0, 1.2fr);
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}

.atbl div:last-child {
  border: 0;
}

.atbl .hd {
  font: 600 11px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  background: rgba(30, 41, 59, 0.6);
}

.urdu {
  font-family: var(--urf);
  direction: rtl;
  text-align: right;
  font-size: 17px;
  line-height: 2.3;
  color: #f8fafc;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px 20px;
}

.acts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.act {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.06);
  transition: all 0.2s;
}

.act:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.act.p {
  background: var(--acc2);
  color: #0b0f19;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.act.p:hover {
  background: #c7d2fe;
}

.cite {
  font: 500 11.5px var(--mono);
  color: #94a3b8;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cite span {
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 2px 8px;
}

.ainote {
  margin: 14px 0 0;
  font-size: 13px;
  color: #64748b;
}

/* ================= Trust & Compliance Lab ================= */
.tgrid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 24px);
  margin-top: clamp(36px, 4vw, 56px);
}

.tc {
  border: 1px solid var(--line);
  border-radius: var(--r3);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 10px 24px -8px rgba(15, 23, 42, 0.05);
  background: #ffffff;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.tc:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 20px 35px -10px rgba(15, 23, 42, 0.09);
  border-color: #cbd5e1;
}

.tc.w4 { grid-column: span 4; }
.tc.w2 { grid-column: span 2; }
.tc.w3 { grid-column: span 3; }

.tc h3 {
  font-size: 24px;
  line-height: 1.2;
}

.tc > p {
  color: var(--mut);
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 54ch;
}

.chain {
  display: flex;
  align-items: center;
  margin-top: 14px;
  overflow-x: auto;
  padding-block: 8px 4px;
  direction: ltr;
}

.blk {
  flex: 0 0 auto;
  width: 172px;
  border: 1px solid var(--line2);
  border-radius: 14px;
  padding: 12px 14px;
  background: var(--bg3);
  font-size: 13px;
  transition: border-color 0.4s, background-color 0.4s;
}

html[dir="rtl"] .blk {
  direction: rtl;
}

.blk small {
  display: block;
  font: 600 10.5px var(--mono);
  color: var(--dim);
  letter-spacing: 0.04em;
}

.blk b {
  display: block;
  font-weight: 600;
  margin-block: 6px;
  color: var(--tx);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blk code {
  display: block;
  font: 500 11px var(--mono);
  color: var(--acc3);
  direction: ltr;
  text-align: start;
}

.blk code i {
  font-style: normal;
  color: var(--dim);
}

.lnk {
  flex: 0 0 28px;
  height: 2px;
  background: var(--acc);
  position: relative;
  transition: background-color 0.4s;
}

.lnk:after {
  content: "";
  position: absolute;
  right: -2px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: inherit;
}

.chain.bad .blk.t {
  border-color: var(--rose);
  background: #fef2f2;
}

.chain.bad .blk.t ~ .blk {
  border-color: rgba(239, 68, 68, 0.35);
}

.chain.bad .blk.t ~ .lnk {
  background: var(--rose);
}

.chain.bad .blk.t code {
  color: var(--r-tx);
}

.cst {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 6px;
}

.vf {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font: 600 12.5px var(--mono);
  color: var(--g-tx);
}

.vf:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  flex: none;
}

.vf.bad {
  color: var(--r-tx);
}

.vf.bad:before {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
}

.tc .act:hover {
  border-color: var(--acc);
}

.lang {
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg3);
  padding: 16px;
  display: grid;
  gap: 12px;
}

.seg {
  display: inline-flex;
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 3px;
  justify-self: start;
  background: #ffffff;
}

.seg button {
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--mut);
  min-height: 32px;
  transition: all 0.2s;
}

.seg button[aria-pressed="true"] {
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.lcard {
  display: grid;
  gap: 5px;
  min-height: 132px;
}

.lcard b {
  font-size: 16px;
  font-weight: 700;
}

.lcard span {
  font-size: 13.5px;
  color: var(--mut);
}

.lcard .amt {
  font: 700 24px var(--mono);
  color: var(--tx);
  letter-spacing: -0.02em;
  direction: ltr;
  text-align: start;
}

.lcard[dir="rtl"] {
  font-family: var(--urf);
  line-height: 2.1;
}

.lcard[dir="rtl"] .amt {
  text-align: end;
}

.ladder {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.rung {
  border: 1px solid var(--line2);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  background: var(--bg3);
  flex-wrap: wrap;
}

.rung small {
  font: 500 11.5px var(--mono);
  color: var(--dim);
}

.rung:nth-child(2) {
  margin-inline: 14px;
}

.rung:nth-child(3) {
  margin-inline: 28px;
  border-color: var(--acc);
  background: #ffffff;
  box-shadow: 0 0 0 1px var(--acc);
}

.ctl {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  font-size: 14px;
  color: var(--tx);
}

.ctl li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.ctl li:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--mint);
  flex: none;
  transform: translateY(-2px);
}

/* ================= Going Live Steps ================= */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(36px, 4vw, 56px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.st {
  padding-block: 32px 0;
  padding-inline-end: 32px;
  position: relative;
}

.st:before {
  content: "";
  position: absolute;
  top: -1px;
  inset-inline: 0;
  height: 2px;
  background: var(--acc);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1.2s var(--ease);
}

html[dir="rtl"] .st:before {
  transform-origin: 100% 50%;
}

.steps.in .st:before {
  transform: none;
}

.steps.in .st:nth-child(2):before { transition-delay: 0.3s; }
.steps.in .st:nth-child(3):before { transition-delay: 0.6s; }

.st .n {
  font: 600 13px var(--mono);
  color: var(--acc);
}

.st h3 {
  font-size: 24px;
  margin-top: 14px;
}

.st p {
  color: var(--mut);
  margin: 10px 0 0;
  max-width: 36ch;
  line-height: 1.6;
}

.st .d {
  font: 500 12.5px var(--mono);
  color: var(--dim);
  margin-top: 16px;
  display: block;
}

/* ================= Pricing Section ================= */
.ptg {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.ptg[hidden] {
  display: none;
}

.ptg .seg button {
  padding: 7px 18px;
  font-size: 14px;
  min-height: 38px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 26px);
  margin-top: 36px;
  align-items: stretch;
  min-height: 540px;
}

.pl {
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 10px 25px -5px rgba(15, 23, 42, 0.05);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #ffffff;
  position: relative;
  min-height: 540px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.pl:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px -2px rgba(15, 23, 42, 0.06), 0 20px 40px -10px rgba(15, 23, 42, 0.1);
}

.pl.hi {
  background: radial-gradient(ellipse 90% 70% at 50% 0%, #151c36 0%, #0b0f19 70%, #05070c 100%);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.4), 0 25px 60px -15px rgba(11, 15, 25, 0.7), 0 0 50px -10px rgba(99, 102, 241, 0.3);
  color: #f8fafc;
}

.pl.hi:hover {
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.65), 0 30px 75px -15px rgba(11, 15, 25, 0.9), 0 0 70px -5px rgba(99, 102, 241, 0.4);
}

.pl .rib {
  position: absolute;
  top: -14px;
  inset-inline-start: 32px;
  font: 700 11px var(--mono);
  letter-spacing: 0.08em;
  color: #0b0f19;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: 999px;
  padding: 5px 14px;
  box-shadow: 0 4px 14px -2px rgba(217, 119, 6, 0.5);
}

.pl h3 {
  font-size: 22px;
}

.pl .pr {
  font-family: var(--dsp);
  font-size: clamp(34px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}

.pl .pr .num {
  font-family: inherit;
}

.pl .pr small {
  font: 400 15px var(--f);
  color: var(--mut);
  letter-spacing: 0;
}

.pl.hi .pr small {
  color: #94a3b8;
}

.pl > p {
  margin: 0;
  color: var(--mut);
  font-size: 15px;
  line-height: 1.55;
}

.pl.hi > p {
  color: #94a3b8;
}

.pl .lim {
  font: 600 13px var(--mono);
  color: var(--acc);
  margin: 0;
}

.pl.hi .lim {
  color: #a5b4fc;
}

.pl.hi .lims li {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
}

.pl ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 11px;
  font-size: 14.5px;
  flex: 1;
  align-content: start;
}

.pl li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}

.pl li svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--acc);
  transform: translateY(2px);
}

.pl.hi li svg {
  color: #818cf8;
}

.pl li .lt {
  flex: 1;
}

.chip {
  font: 700 10.5px var(--mono);
  letter-spacing: 0.03em;
  border-radius: 999px;
  padding: 2px 8px;
  background: var(--g-bg);
  color: var(--g-tx);
  white-space: nowrap;
}

.chip.ro {
  background: var(--y-bg);
  color: var(--y-tx);
}

.dark .chip {
  background: rgba(60, 207, 142, 0.18);
  color: #7de3b4;
}

.dark .chip.ro {
  background: rgba(233, 168, 28, 0.18);
  color: #f3c45d;
}

.pl .btn {
  width: 100%;
  margin-top: auto;
}

.pl.sk {
  background: #ffffff;
  border-color: var(--line);
}

.sk i {
  display: block;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--bg3), #f6f7fc, var(--bg3));
  background-size: 200% 100%;
  animation: shim 1.4s linear infinite;
  height: 14px;
}

@keyframes shim {
  to {
    background-position: -200% 0;
  }
}

.pinc {
  margin: 24px 0 0;
  font-size: 14.5px;
  color: var(--mut);
  display: flex;
  gap: 6px 12px;
  flex-wrap: wrap;
  align-items: baseline;
}

.pinc b {
  color: var(--tx);
  font-weight: 600;
}

.lims {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lims li {
  font: 600 12px var(--mono);
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 3px 10px;
  color: var(--tx);
  background: var(--bg3);
}

.pl ul.lims {
  flex: none;
  display: flex;
  margin: 0;
  font-size: 12px;
}

/* ================= Mobile App Showcase ================= */
.appg {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
  margin-top: 24px;
}

.appl {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 16px;
}

.appl li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  align-items: start;
}

.appl li i {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--acc-soft);
  color: var(--v-tx);
  display: grid;
  place-items: center;
  font: 700 13px var(--mono);
  font-style: normal;
  border: 1px solid rgba(79, 70, 229, 0.15);
}

.appl b {
  font-weight: 700;
  font-size: 16px;
}

.appl span {
  color: var(--mut);
  font-size: 15px;
  line-height: 1.55;
}

.stores {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
  align-items: center;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding-inline: 18px 22px;
  border-radius: 14px;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  direction: ltr;
  box-shadow: 0 4px 14px -2px rgba(0, 0, 0, 0.25);
  transition: all 0.2s var(--ease);
}

.store svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.store span {
  display: grid;
  line-height: 1.1;
  text-align: left;
}

.store small {
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.store b {
  font: 700 19px var(--f);
  letter-spacing: -0.01em;
}

a.store:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -2px rgba(0, 0, 0, 0.35);
}

.store.dis {
  background: var(--bg2);
  color: var(--mut);
  border-color: var(--line2);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.appv {
  display: grid;
  place-items: center;
  padding: 20px 0;
}

.appv .phone {
  width: 256px;
  transform: rotate(calc(-3deg * var(--dir)));
  box-shadow: 0 35px 80px -25px rgba(11, 15, 25, 0.45);
}

/* ================= FAQ Section ================= */
.faqg {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}

.faqs {
  display: grid;
  border-top: 1px solid var(--line);
}

.faqs details {
  border-bottom: 1px solid var(--line);
}

.faqs summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 22px 6px;
  font: 600 18.5px var(--dsp);
  letter-spacing: -0.015em;
  transition: color 0.2s;
}

.faqs summary:hover {
  color: var(--acc);
}

.faqs summary::-webkit-details-marker {
  display: none;
}

.faqs summary:after {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  border-inline-end: 2px solid var(--acc);
  border-bottom: 2px solid var(--acc);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.25s var(--ease);
}

.faqs details[open] summary:after {
  transform: rotate(225deg);
}

.faqs .a {
  padding: 0 6px 22px;
  color: var(--mut);
  max-width: 64ch;
  line-height: 1.65;
  font-size: 15.5px;
}

.faqs .a p {
  margin: 0 0 10px;
}

.faqs .a a, .fmore a {
  color: var(--v-tx);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.fmore {
  margin: 20px 0 0;
  color: var(--mut);
  font-size: 15.5px;
}

/* ================= Book Demo Section ================= */
.fin {
  margin-top: clamp(72px, 7.5vw, 128px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  padding: clamp(36px, 5vw, 68px);
  background: radial-gradient(ellipse 90% 70% at 0% 0%, #1e1b4b 0%, #0b0f19 65%, #05070c 100%);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6), 0 0 50px -15px rgba(99, 102, 241, 0.2);
}

.fin > * {
  position: relative;
}

.fin h2 {
  max-width: 14ch;
  color: #ffffff;
}

.fin > div > p {
  color: #94a3b8;
  font-size: 18px;
  line-height: 1.6;
  margin: 16px 0 0;
  max-width: 42ch;
}

.ph {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.ph b {
  font: 700 24px var(--mono);
  letter-spacing: -0.02em;
  user-select: all;
  direction: ltr;
  color: #f8fafc;
}

.cp {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  min-height: 38px;
  transition: all 0.2s;
}

.cp:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.cp.wa2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.1);
}

.cp.wa2:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
}

.cp.wa2 svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.mails {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  font-size: 14.5px;
  color: #94a3b8;
}

.alt {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 15px;
}

.mails a {
  color: #f8fafc;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  text-underline-offset: 3px;
  direction: ltr;
  unicode-bidi: isolate;
  font-weight: 500;
}

.form {
  background: #ffffff;
  color: var(--a-tx);
  border-radius: 24px;
  padding: 32px;
  display: grid;
  gap: 16px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6);
  font-family: var(--f);
}

.form h3 {
  font-size: 22px;
}

.fr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 13.5px;
}

.form label small {
  font-weight: 400;
  color: var(--a-mut);
}

.form input, .form select, .form textarea {
  font: 400 15px var(--f);
  min-height: 48px;
  padding-inline: 16px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  color-scheme: light;
  transition: all 0.2s var(--ease);
  width: 100%;
}

.form textarea {
  padding-block: 12px;
  resize: vertical;
  min-height: 84px;
}

.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--acc);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.form [aria-invalid="true"] {
  border-color: var(--r-tx);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form .chk {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 13px;
  color: var(--a-mut);
  line-height: 1.5;
}

.form .chk input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin-top: 2px;
  flex: none;
  accent-color: var(--acc);
}

.form .err {
  font-size: 13px;
  color: var(--r-tx);
  min-height: 0;
  font-weight: 600;
}

.form .err:empty {
  display: none;
}

.form .btn.p {
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
  min-height: 50px;
  width: 100%;
}

.form .btn.p:hover {
  background: var(--acc3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(79, 70, 229, 0.5);
}

.form .btn.p[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.hp {
  position: absolute !important;
  inset-inline-start: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ts {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--a-mut);
  min-height: 28px;
}

.ts.ok {
  color: var(--g-tx);
}

.ok {
  text-align: center;
  padding: 36px 12px;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.ok[hidden] {
  display: none;
}

.ok i {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--g-bg);
  color: var(--g-tx);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2);
}

.ok i svg {
  width: 26px;
  height: 26px;
}

.ok b {
  font-size: 20px;
}

.ok span {
  color: var(--a-mut);
  font-size: 15px;
}

/* ================= Footer ================= */
.ft {
  margin-top: clamp(64px, 6vw, 96px);
  border-top: 1px solid var(--line);
  background: #ffffff;
  padding-block: clamp(48px, 4vw, 72px) calc(28px + env(safe-area-inset-bottom, 0px));
  color: var(--mut);
  font-size: 14.5px;
}

.fcols {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.fcols > * {
  display: grid;
  gap: 12px;
  align-content: start;
  justify-items: start;
}

.fcols h2 {
  font: 700 12px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 6px;
  max-width: none;
}

.fbrand p {
  margin: 0;
  max-width: 36ch;
  line-height: 1.6;
}

.ft a {
  transition: color 0.2s;
}

.ft a:not(.btn):hover {
  color: var(--tx);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.freach a, .freach span {
  direction: ltr;
  unicode-bidi: isolate;
}

.fbot {
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--dim);
}

html[lang="ur"] .fcols h2 {
  font-family: var(--urf);
  text-transform: none;
  font-size: 14px;
}

/* ================= Sticky Mobile CTA ================= */
.mcta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 80;
  display: none;
  gap: 10px;
  padding: 12px max(16px, env(safe-area-inset-left, 0px)) calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(250, 251, 252, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}

.mcta.on {
  transform: none;
}

.mcta .btn {
  flex: 1;
  min-height: 48px;
}

/* ================= Urdu Typography Adjustments ================= */
html[lang="ur"] * {
  letter-spacing: 0 !important;
}

html[lang="ur"] body {
  line-height: 2;
}

html[lang="ur"] .hero h1 {
  font-size: clamp(36px, 6vw, 76px);
  line-height: 1.55;
}

html[lang="ur"] .h1l {
  padding-bottom: 0.25em;
  margin-bottom: -0.15em;
}

html[lang="ur"] h2 {
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.6;
}

html[lang="ur"] h3, html[lang="ur"] .faqs summary {
  line-height: 1.75;
}

html[lang="ur"] .ch h3 {
  font-size: clamp(23px, 2.4vw, 30px);
}

html[lang="ur"] .eb, html[lang="ur"] .ch .k, html[lang="ur"] .rt small, html[lang="ur"] .md .gr, html[lang="ur"] .side .gp, html[lang="ur"] .atbl .hd, html[lang="ur"] .rname {
  text-transform: none;
  font-family: var(--urf);
  font-size: 13.5px;
}

html[lang="ur"] .btn, html[lang="ur"] .tag, html[lang="ur"] .chip, html[lang="ur"] .pill, html[lang="ur"] .q, html[lang="ur"] .fc {
  line-height: 1.9;
}

html[lang="ur"] .lead, html[lang="ur"] .hsub {
  line-height: 2.1;
}

html[lang="ur"] .ev, html[lang="ur"] .kp small, html[lang="ur"] .rk small {
  line-height: 1.9;
}

html[lang="ur"] .feed {
  height: 260px;
}

html[lang="ur"] .stats dt {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.5;
}

/* ================= 100% Responsive Layout Engine ================= */
@media (min-width: 1400px) {
  .atlas {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1800px) {
  .ch {
    min-height: min(56vh, 640px);
  }
  .win {
    border-radius: 24px;
  }
}

@media (min-width: 1100px) {
  .hgrid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(40px, 4vw, 88px);
    align-items: center;
    min-height: min(calc(100vh - 130px), 720px);
  }
  .hero {
    padding-block: clamp(32px, 3.5vw, 56px) clamp(64px, 5vw, 96px);
  }
  .hero h1 {
    font-size: clamp(46px, 4.2vw, 88px);
  }
  .h1l {
    white-space: nowrap;
  }
  .hero:after {
    display: none;
  }
  .stagehero {
    margin-inline-end: calc(-1 * min(var(--side) - 24px, 220px));
  }
  .stagehero:before {
    content: "";
    position: absolute;
    inset-block: -40px -64px;
    inset-inline-start: 16%;
    inset-inline-end: calc(-1 * var(--side));
    z-index: -1;
    border-start-start-radius: var(--r4);
    border-end-start-radius: var(--r4);
    background: radial-gradient(70% 80% at 30% 20%, #1e293b 0%, #0b0f19 50%, var(--ink) 90%);
    box-shadow: 0 25px 60px -15px rgba(0,0,0,0.4);
  }
  .stagehero:after {
    content: "";
    position: absolute;
    inset-block: -40px -64px;
    inset-inline-start: 16%;
    inset-inline-end: calc(-1 * var(--side));
    z-index: -1;
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.2px, transparent 1.2px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%);
    mask-image: linear-gradient(90deg, transparent, #000 40%);
    border-start-start-radius: var(--r4);
    border-end-start-radius: var(--r4);
  }
  .toast {
    inset-inline-end: auto;
    inset-inline-start: -36px;
    top: auto;
    bottom: 40px;
  }
}

@media (max-width: 1099px) {
  .stagehero {
    margin-top: 16px;
  }
}

@media (max-width: 1060px) {
  .links, .nr .si, .nr .btn.g {
    display: none;
  }
  .burger {
    display: grid;
  }
  .fcols {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .fbrand {
    grid-column: 1 / -1;
  }
  .story {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .stg {
    display: none;
  }
  .ch {
    min-height: 0;
    padding-block: 36px;
  }
  .ch .vis {
    display: block;
  }
  .js .ch h3 {
    color: var(--tx);
  }
  .ch:after {
    display: none;
  }
  .ai, .rbody, .fin, .appg, .faqg {
    grid-template-columns: 1fr;
  }
  .atlas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tgrid {
    grid-template-columns: 1fr;
  }
  .tc.w4, .tc.w2, .tc.w3 {
    grid-column: auto;
  }
  .toast {
    inset-inline-end: 12px;
    top: auto;
    bottom: 16px;
  }
  .fin {
    padding: 40px 28px;
    border-radius: 24px;
    gap: 36px;
  }
  .rbody {
    padding: 28px;
  }
}

@media (max-width: 900px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
    min-height: 0;
  }
  .pl {
    min-height: 0;
  }
  .wfn {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    min-height: 0;
    padding-block: 12px;
  }
  .wn {
    width: auto;
    transform: none;
    grid-template-columns: 78px minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    text-align: start;
    margin-inline-start: var(--ind, 0);
  }
  .wn .sh {
    justify-self: center;
  }
  .wn > b {
    max-width: none;
    font-size: 15px;
  }
  .wn .tip {
    display: none;
  }
  .wn .hsh {
    grid-column: 2;
  }
  .wn.esc {
    transform: translateX(calc(8px * var(--dir)));
  }
  .draw {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .con, .pause.dk {
    display: none;
  }
  .phero {
    display: block;
  }
  .pause {
    position: static;
    margin: 20px auto 0;
    display: flex;
    width: max-content;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    margin-top: 56px;
    padding: 24px;
    gap: 20px;
  }
  .stats div {
    padding: 0;
  }
  .stats div:not(:last-child):after {
    display: none;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .st {
    padding-inline-end: 0;
  }
  .atlas {
    grid-template-columns: 1fr;
  }
  .ctl {
    grid-template-columns: 1fr;
  }
  .fr {
    grid-template-columns: 1fr;
  }
  .hb div {
    grid-template-columns: 96px minmax(0, 1fr) 76px;
  }
  .row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .row .mono {
    display: none;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .flow {
    grid-template-columns: 1fr 1fr;
  }
  .map {
    height: 260px;
  }
  .nr .btn.p {
    display: none;
  }
  .mcta {
    display: flex;
  }
  .form {
    padding: 24px 20px;
  }
  .aib {
    padding: 18px;
    min-height: 0;
  }
  .cta .btn {
    flex: 1;
  }
  .tc {
    padding: 24px;
  }
  .rgrid {
    grid-template-columns: 1fr 1fr;
  }
  .appv .phone {
    width: 220px;
  }
  .ft {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
  .fcols {
    grid-template-columns: 1fr 1fr;
  }
  .fbrand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .sc0 {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .sc-trk {
    width: 46px;
    height: 64px;
  }
  .sc-line {
    inset: 0 auto;
    inset-inline-start: 50%;
    border-top: 0;
    border-inline-start: 3px dotted #94a3b8;
    height: 100%;
    top: 0;
  }
  .sc-fly {
    inset-inline-start: 50%;
    margin-inline-start: -17px;
    top: calc(100% - 34px);
    margin-top: 0;
  }
  @keyframes scFly {
    0% { opacity: 0; top: 0; }
    12% { opacity: 1; }
    88% { opacity: 1; }
    100% { opacity: 0; top: calc(100% - 34px); }
  }
  .sc3 {
    grid-template-columns: 1fr;
  }
  .sc-cl {
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    justify-items: stretch;
    gap: 8px;
  }
  .sc-call {
    justify-content: center;
    padding: 8px 10px;
    font-size: 12px;
    white-space: normal;
    text-align: center;
  }
  .sc-call:after {
    display: none;
  }
  .sc-cl.L { order: 2; }
  .sc-cl.R { order: 3; }
  .sc-phone {
    justify-self: center;
    order: 1;
  }
  .sc1 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .sc-arr {
    width: 0;
    height: 26px;
    border-top: 0;
    border-inline-start: 3px dotted #94a3b8;
    justify-self: center;
  }
  .sc-arr:after {
    display: none;
  }
  .sc-steps .sc-cn {
    display: none;
  }
  .sc-steps {
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .bld {
    grid-template-columns: 1fr;
  }
  .pal {
    grid-auto-flow: column;
    overflow-x: auto;
  }
}

@media (max-width: 420px) {
  .stats {
    grid-template-columns: 1fr;
  }
  .rgrid {
    grid-template-columns: 1fr;
  }
  .fcols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .btn {
    padding-inline: 16px;
  }
  .hero h1 {
    font-size: 36px;
  }
}

@container hc (max-width: 780px) {
  .app {
    grid-template-columns: 1fr;
  }
  .app .side {
    display: none;
  }
}

@container hc (max-width: 600px) {
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ask {
    display: none;
  }
}

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

html:not(.js) .burger {
  display: none !important;
}
