/* HSPay public website (STEP 16A; light theme, primary #336FBF — D28 / §106).
   Visual idea kept: the passbook and the cheque (rubber stamps, guilloché security line art); colours now light. */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-display: swap; font-weight: 200 800; font-stretch: 75% 100%;
  src: url('/site-assets/fonts/bricolage-grotesque-latin-standard-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-display: swap; font-weight: 200 800; font-stretch: 75% 100%;
  src: url('/site-assets/fonts/bricolage-grotesque-latin-ext-standard-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Mukta'; font-style: normal; font-display: swap; font-weight: 400; src: url('/site-assets/fonts/mukta-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20B9, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mukta'; font-style: normal; font-display: swap; font-weight: 500; src: url('/site-assets/fonts/mukta-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20B9, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mukta'; font-style: normal; font-display: swap; font-weight: 600; src: url('/site-assets/fonts/mukta-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20B9, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mukta'; font-style: normal; font-display: swap; font-weight: 700; src: url('/site-assets/fonts/mukta-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20B9, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mukta'; font-style: normal; font-display: swap; font-weight: 400; src: url('/site-assets/fonts/mukta-devanagari-400-normal.woff2') format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: 'Mukta'; font-style: normal; font-display: swap; font-weight: 600; src: url('/site-assets/fonts/mukta-devanagari-600-normal.woff2') format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: 'Mukta'; font-style: normal; font-display: swap; font-weight: 700; src: url('/site-assets/fonts/mukta-devanagari-700-normal.woff2') format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }

/* ---------- tokens: light theme, primary #336FBF (D28, §106) ---------- */
:root {
  --bg: #FFFFFF;
  --bg-2: #F4F8FD;       /* light blue tint for alternate sections */
  --bg-3: #EAF1FB;       /* primary tint for panels */
  --line: #E1E8F2;
  --ink: #14243D;        /* reading text */
  --stone: #5A6A82;      /* secondary text */
  --primary: #336FBF;    /* brand primary */
  --primary-600: #285CA3;
  --primary-700: #1F4A86;
  --primary-300: #8FB3E3;
  --primary-100: #EAF1FB;
  --sky: #3FA0E0;
  --green: #16A37F;      /* money collected */
  --green-2: #E3F6EF;
  --gold: #E9A23B;
  --red: #D5463F;
  --code: #14243D;
  --grad: linear-gradient(115deg, #1F4A86 0%, #336FBF 45%, #3FA0E0 100%);
  --display: 'Bricolage Grotesque', 'Mukta', system-ui, sans-serif;
  --body: 'Mukta', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2, .75, .2, 1);
  --shadow: 0 1px 2px rgba(20, 36, 61, .05), 0 14px 34px -14px rgba(31, 74, 134, .22);
  --shadow-lg: 0 0 0 1px rgba(51, 111, 191, .08), 0 40px 80px -32px rgba(31, 74, 134, .35);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.display { font-family: var(--display); font-weight: 720; font-stretch: 84%; letter-spacing: -.022em; line-height: .98; color: var(--ink); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; }
.h2 { font-family: var(--display); font-weight: 720; font-stretch: 84%; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.02; letter-spacing: -.025em; max-width: 17ch; text-wrap: balance; color: var(--ink); }
.h3 { font-family: var(--display); font-weight: 700; font-stretch: 88%; font-size: clamp(28px, 3vw, 38px); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--stone); max-width: 36em; }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section__intro { margin-top: 18px; color: var(--stone); font-size: 19px; max-width: 34em; }
.text-link { display: inline-block; margin-top: 22px; font-weight: 600; color: var(--primary); text-decoration: none; border-bottom: 2px solid var(--primary-300); padding-bottom: 2px; transition: border-color .2s, color .2s; }
.text-link:hover { border-color: var(--primary); color: var(--primary-600); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px; background: var(--primary-100); color: var(--primary-700); font-size: 15px; font-weight: 600; margin-bottom: 26px; box-shadow: inset 0 0 0 1px rgba(51, 111, 191, .18); }

/* scroll reveal (only when the script runs) */
.js [data-reveal], .js [data-reveal-list] > * { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in, .js [data-reveal-list].in > * { opacity: 1; transform: none; }

/* cursor spotlight */
[data-spot] { position: relative; isolation: isolate; }
[data-spot]::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(51, 111, 191, .14), transparent 45%); }
[data-spot]:hover::after { opacity: 1; }

/* ---------- buttons ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 14px; font: 600 17px/1 var(--body); text-decoration: none; border: 0; cursor: pointer; transition: transform .25s var(--ease), background .2s, box-shadow .25s, color .2s; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn::before { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent); transform: skewX(-20deg); transition: left .7s var(--ease); }
.btn:hover::before { left: 130%; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 16px; border-radius: 12px; }
.btn--wide { width: 100%; }
.btn--grad, .btn--ink, .btn--lav { background: var(--primary); color: #fff; box-shadow: 0 12px 26px -12px rgba(51, 111, 191, .8); }
.btn--grad:hover, .btn--ink:hover, .btn--lav:hover { background: var(--primary-600); transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(51, 111, 191, .85); }
.btn--glass, .btn--line { color: var(--primary); background: #fff; box-shadow: inset 0 0 0 1.5px var(--primary-300); }
.btn--glass:hover, .btn--line:hover { background: var(--primary-100); box-shadow: inset 0 0 0 1.5px var(--primary); transform: translateY(-2px); }
.btn--glass::before, .btn--line::before { background: linear-gradient(100deg, transparent, rgba(51, 111, 191, .12), transparent); }
.btn--light { background: #fff; color: var(--primary); }
.btn--light:hover { background: var(--primary-100); }
.btn[disabled] { opacity: .6; cursor: progress; }

.ticks { display: grid; gap: 10px; margin-top: 30px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 500; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary-100); }
.ticks li::after { content: ''; position: absolute; left: 7px; top: 8px; width: 5px; height: 9px; border: solid var(--primary); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.ticks--small { gap: 8px; margin-top: 22px; }
.ticks--small li { font-size: 17px; }

/* ---------- guilloché + mark ---------- */
.guilloche { position: absolute; fill: none; pointer-events: none; color: var(--primary); }
.guilloche path { stroke: currentColor; stroke-width: .5; vector-effect: non-scaling-stroke; }
.mark { width: 30px; height: 30px; fill: none; flex: none; }
.mark path { stroke: var(--primary); stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.mark circle { fill: var(--green); }

/* ---------- top bar ---------- */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--ink); transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.topbar.is-scrolled { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(31, 74, 134, .25); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 760 26px/1 var(--display); font-stretch: 85%; letter-spacing: -.03em; color: var(--ink); }
.nav { display: flex; align-items: center; gap: 30px; font-weight: 500; font-size: 17px; }
.nav a:not(.btn) { text-decoration: none; color: var(--stone); position: relative; transition: color .2s; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--primary); }
.nav a[aria-current="page"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--primary); border-radius: 2px; }
.nav__signin { padding-left: 26px; border-left: 1px solid var(--line); }
.menu-btn { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--primary-100); cursor: pointer; position: relative; }
.menu-btn span:not(.sr) { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--primary-700); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 120px 0 100px; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--bg-2) 100%); }
.hero::before, .page-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(51, 111, 191, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(51, 111, 191, .07) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%); mask: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); }
.orb--a { width: 520px; height: 520px; background: #9DC0EC; left: -180px; top: -160px; opacity: .45; animation: drift 18s ease-in-out infinite alternate; }
.orb--b { width: 480px; height: 480px; background: #B8DBF4; right: -140px; top: 60px; opacity: .55; animation: drift 22s ease-in-out infinite alternate-reverse; }
.orb--c { width: 380px; height: 380px; background: #BFEADB; right: 22%; bottom: -230px; opacity: .45; animation: drift 26s ease-in-out infinite alternate; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__copy { position: relative; z-index: 2; }
.hero__title { font-size: clamp(46px, 5.3vw, 78px); }
.hero__title span { display: block; }
.hero__title span + span { padding-left: .4em; padding-bottom: .06em; }
.hero__hindi { margin: 22px 0 18px; font: 600 clamp(24px, 2.4vw, 32px)/1.3 var(--body); color: var(--green); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero .ticks { color: var(--ink); }
.hero__art { position: relative; margin: 0; min-height: 640px; display: grid; place-items: center; perspective: 1400px; }
.guilloche--hero { width: 680px; height: 680px; left: 50%; top: 50%; margin: -340px 0 0 -340px; opacity: .35; animation: spin 140s linear infinite; }
.stage { position: relative; width: min(100%, 420px); padding-top: 128px; transform-style: preserve-3d; transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -10deg)); transition: transform .5s var(--ease); }

/* passbook */
.passbook { position: relative; background: #fff; color: var(--ink); border-radius: 22px; padding: 26px 26px 22px; box-shadow: var(--shadow-lg); transform: translateZ(40px); }
.passbook::before { content: ''; position: absolute; inset: 0 auto 0 -1px; width: 10px; border-radius: 22px 0 0 22px; background: radial-gradient(circle at 0 50%, var(--bg-2) 4px, transparent 4.5px) 0 0 / 10px 18px repeat-y; }
.passbook__head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.passbook__who { font: 700 22px/1.1 var(--display); font-stretch: 88%; }
.passbook__what { color: var(--stone); font-size: 15px; margin-top: 4px; }
.passbook__plan { text-align: right; line-height: 1.1; }
.passbook__plan strong { display: block; font: 750 26px/1 var(--display); font-variant-numeric: tabular-nums; color: var(--primary-700); }
.passbook__plan span { font-size: 14px; color: var(--stone); }
.passbook__mandate { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 6px; padding: 5px 12px; border-radius: 999px; background: var(--green-2); color: #0B7A5D; font-size: 14px; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(22, 163, 127, .5); animation: ping 2.4s ease-out infinite; }
.pill .dot { background: var(--primary); animation-name: pingblue; }
.passbook__rows li { display: grid; grid-template-columns: 26px 1fr auto 104px; align-items: center; gap: 10px; height: 42px; border-bottom: 1px solid var(--bg-3); font-variant-numeric: tabular-nums; }
.passbook__rows .n { color: var(--stone); font-size: 14px; }
.passbook__rows .d { font-weight: 500; }
.passbook__rows .a { font-weight: 600; }
.passbook__rows .due { justify-self: end; font-size: 14px; color: var(--stone); }
.passbook__rows .is-next .due { color: #A36410; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.passbook__rows .is-next .due::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: blink 1.6s ease-in-out infinite; }
.stamp { justify-self: end; font: 700 13px/1 var(--display); font-stretch: 90%; letter-spacing: .08em; text-transform: uppercase; color: var(--green); border: 2px solid currentColor; border-radius: 6px; padding: 5px 8px 4px; transform: rotate(-8deg);
  opacity: 0; animation: stamp .45s cubic-bezier(.3, 1.6, .5, 1) forwards; animation-delay: calc(1s + var(--i) * .55s); }
.passbook__rows li.is-paid { animation: rowpaid .6s ease forwards; animation-delay: calc(1s + var(--i) * .55s); }
.passbook__total { margin-top: 16px; font-size: 15px; color: var(--stone); }
.passbook__total strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.bar { height: 8px; margin-top: 8px; border-radius: 99px; background: var(--bg-3); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--green), #34C79B); animation: fill 1.6s var(--ease) 1s forwards; }

/* floating cards in 3D */
.chart-card { position: absolute; left: -16%; top: 0; width: 250px; padding: 16px 18px 12px; border-radius: 18px; background: rgba(255, 255, 255, .9); box-shadow: var(--shadow-lg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink);
  transform: translateZ(110px); opacity: 0; animation: cardin .9s var(--ease) .6s forwards, float 7s ease-in-out 1.5s infinite; }
.chart-card__label { font-size: 13px; color: var(--stone); }
.chart-card__value { font: 750 26px/1.2 var(--display); font-stretch: 86%; font-variant-numeric: tabular-nums; color: var(--primary-700); }
.chart-card__value span { font: 600 13px/1 var(--body); color: var(--green); margin-left: 6px; }
.spark { width: 100%; height: 64px; margin-top: 6px; overflow: visible; }
.spark__line { fill: none; stroke: var(--primary); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.8s var(--ease) 1.2s forwards; }
.spark__area { opacity: 0; animation: fadein 1s ease 2.2s forwards; }
.toast-card { position: absolute; right: -12%; bottom: -26px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); color: var(--ink);
  transform: translateZ(140px) translateY(14px); opacity: 0; animation: toastin .7s var(--ease) 2.4s forwards, float 6s ease-in-out 3.2s infinite; }
.toast-card__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--green); color: #fff; font: 700 20px/1 var(--display); }
.toast-card strong { display: block; font-size: 16px; }
.toast-card small { color: var(--stone); font-size: 13px; }

/* page-load sequence */
.hero__title span, .hero__hindi, .hero .lead, .hero .actions, .hero .ticks { opacity: 0; transform: translateY(24px); animation: rise .9s var(--ease) forwards; }
.hero__title span:nth-child(2) { animation-delay: .1s; }
.hero__hindi { animation-delay: .25s; }
.hero .lead { animation-delay: .35s; }
.hero .actions { animation-delay: .45s; }
.hero .ticks { animation-delay: .55s; }
.hero .passbook { animation: bookin 1s var(--ease) .15s both; }

/* ---------- marquee ---------- */
.approve { background: var(--primary); overflow: hidden; }
.marquee { padding: 22px 0; mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 54px; animation: marquee 38s linear infinite; font: 600 clamp(19px, 2vw, 24px)/1 var(--display); font-stretch: 86%; white-space: nowrap; color: #fff; }
.marquee__track li { display: inline-flex; align-items: center; gap: 54px; }
.marquee__track li::after { content: ''; width: 9px; height: 9px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- live dashboard ---------- */
.dash { overflow: hidden; background: radial-gradient(60% 50% at 50% 0%, rgba(51, 111, 191, .1), transparent 70%), #fff; }
.dash__intro { text-align: center; display: grid; justify-items: center; }
.dash__intro .h2 { max-width: 20ch; }
.dashboard { margin-top: 56px; border-radius: 26px; background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.dashboard > * { position: relative; z-index: 1; }
.dashboard__bar { display: flex; align-items: center; gap: 8px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.dashboard__bar span { width: 11px; height: 11px; border-radius: 50%; background: #D5DEEB; }
.dashboard__bar p { margin-left: auto; font-size: 13px; color: var(--stone); }
.dashboard__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.kpi { padding: 24px 28px; }
.kpi + .kpi { border-left: 1px solid var(--line); }
.kpi p { font-size: 14px; color: var(--stone); }
.kpi strong { display: block; font: 760 clamp(28px, 3.2vw, 40px)/1.2 var(--display); font-stretch: 84%; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.kpi em { font-style: normal; font-size: 14px; color: var(--stone); }
.kpi em.up { color: var(--green); }
.dashboard__body { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.dashboard__chart { padding: 24px 28px; }
.dashboard__chart svg { width: 100%; height: 240px; margin-top: 12px; overflow: visible; }
.dashboard__label { font-size: 14px; color: var(--stone); display: flex; align-items: center; gap: 8px; }
.grid-lines path { stroke: var(--line); stroke-width: 1; }
.chart__line { fill: none; stroke: url(#ch-line); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; }
.chart__area { opacity: 0; }
.chart__dot { fill: #fff; stroke: var(--primary); stroke-width: 3; opacity: 0; }
[data-chart].in .chart__line { animation: draw 2.2s var(--ease) forwards; }
[data-chart].in .chart__area { animation: fadein 1.2s ease 1.4s forwards; }
[data-chart].in .chart__dot { animation: fadein .4s ease 2.1s forwards; }
.feed { padding: 24px 24px; border-left: 1px solid var(--line); background: var(--bg-2); }
.feed .dashboard__label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: ping 2.4s ease-out infinite; }
.feed__list { display: grid; gap: 10px; margin-top: 14px; }
.feed__list li { display: flex; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); font-size: 15px; }
.feed__list li.new { animation: feedin .7s var(--ease); }
.feed__list b { color: var(--ink); margin-right: 4px; font-variant-numeric: tabular-nums; }
.feed__list small { display: block; color: var(--stone); font-size: 13px; }
.feed__ok { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--green-2); color: var(--green); font: 700 17px/1 var(--display); }

/* ---------- how it works: scroll story ---------- */
.how { background: var(--bg-2); }
.story { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.steps { display: grid; gap: 12px; margin-top: 48px; }
.step { padding: 28px 28px 28px 30px; border-radius: 22px; border: 1px solid transparent; opacity: .45; transition: opacity .5s var(--ease), background .5s, border-color .5s, transform .5s var(--ease); }
.step.is-active { opacity: 1; background: #fff; border-color: var(--line); box-shadow: var(--shadow); transform: translateX(8px); }
.step__n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; margin-bottom: 14px; font: 800 22px/1 var(--display); color: var(--primary); background: var(--primary-100); transition: background .5s, color .5s; }
.step.is-active .step__n { background: var(--primary); color: #fff; box-shadow: 0 10px 22px -10px rgba(51, 111, 191, .9); }
.step h3 { font: 700 26px/1.15 var(--display); font-stretch: 88%; letter-spacing: -.015em; margin-bottom: 8px; }
.step p { color: var(--stone); }
.story__phone { position: sticky; top: 110px; display: grid; place-items: center; padding: 20px 0; }
.story__phone::before { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(51, 111, 191, .35), rgba(63, 160, 224, .15) 50%, transparent 70%); filter: blur(30px); }
.phone { position: relative; width: 300px; height: 610px; border-radius: 46px; background: #14243D; padding: 14px; box-shadow: 0 0 0 2px #2A3B57, 0 60px 100px -40px rgba(31, 74, 134, .55); }
.phone__notch { position: absolute; left: 50%; top: 22px; width: 92px; height: 24px; margin-left: -46px; border-radius: 14px; background: #000; z-index: 3; }
.screen { position: absolute; inset: 14px; border-radius: 34px; background: #fff; padding: 64px 22px 22px; overflow: hidden; opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.phone[data-screen="1"] .screen--1, .phone[data-screen="2"] .screen--2, .phone[data-screen="3"] .screen--3 { opacity: 1; transform: none; }
.screen__title { font: 760 26px/1.1 var(--display); font-stretch: 86%; margin-bottom: 14px; }
.screen__badge { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--green-2); color: #0B7A5D; font-weight: 700; margin-bottom: 18px; }
.screen__row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.screen__row b { color: #0B7A5D; font-size: 14px; }
.screen__note { margin-top: 18px; color: var(--stone); font-size: 15px; }
.screen--2 { background: linear-gradient(180deg, var(--primary-100), #fff); text-align: center; }
.screen__merchant { color: var(--stone); }
.screen__amount { font: 780 40px/1.1 var(--display); font-stretch: 84%; margin: 8px 0 22px; color: var(--primary-700); }
.screen__amount small { display: block; font: 500 14px/1.4 var(--body); color: var(--stone); }
.screen__pin { display: flex; justify-content: center; gap: 10px; margin-bottom: 26px; }
.screen__pin span { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--primary); }
.phone[data-screen="2"] .screen__pin span { animation: pinfill .3s ease forwards; }
.phone[data-screen="2"] .screen__pin span:nth-child(2) { animation-delay: .25s; } .phone[data-screen="2"] .screen__pin span:nth-child(3) { animation-delay: .5s; }
.phone[data-screen="2"] .screen__pin span:nth-child(4) { animation-delay: .75s; } .phone[data-screen="2"] .screen__pin span:nth-child(5) { animation-delay: 1s; } .phone[data-screen="2"] .screen__pin span:nth-child(6) { animation-delay: 1.25s; }
.screen__btn { padding: 15px; border-radius: 14px; background: var(--primary); color: #fff; font-weight: 700; }
.screen__notif { display: flex; gap: 12px; align-items: center; padding: 12px; margin-bottom: 10px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); font-size: 15px; text-align: left; }
.screen__notif > span { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--green); color: #fff; font: 700 18px/1 var(--display); }
.screen__notif small { display: block; color: var(--stone); font-size: 13px; }
.phone[data-screen="3"] .screen__notif { animation: feedin .6s var(--ease) both; }
.phone[data-screen="3"] .screen__notif:nth-of-type(3) { animation-delay: .15s; } .phone[data-screen="3"] .screen__notif:nth-of-type(4) { animation-delay: .3s; }

/* ---------- who ---------- */
.who { background: #fff; }
.who__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.who__grid > div { position: sticky; top: 120px; }
.who__list li { position: relative; padding: 30px 0 30px 28px; border-top: 1px solid var(--line); transition: padding-left .35s var(--ease); }
.who__list li:last-child { border-bottom: 1px solid var(--line); }
.who__list li::before { content: ''; position: absolute; left: 0; top: 34px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--primary); transition: background .3s, transform .3s var(--ease); }
.who__list li:hover { padding-left: 40px; }
.who__list li:hover::before { background: var(--primary); transform: scale(1.3); }
.who__list h3 { font: 700 clamp(24px, 2.4vw, 32px)/1.1 var(--display); font-stretch: 86%; letter-spacing: -.015em; }
.who__list li:hover h3 { color: var(--primary); }
.who__list p { margin-top: 8px; color: var(--stone); max-width: 32em; }

/* ---------- pillars ---------- */
.pillars { background: var(--bg-2); }
.pillar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.pillar + .pillar { margin-top: clamp(80px, 10vw, 140px); }
.pillar--flip .pillar__copy { order: 2; }
.pillar__copy p { margin-top: 18px; color: var(--stone); }
.pillar__art { position: relative; overflow: hidden; border-radius: 30px; padding: clamp(28px, 4vw, 56px); min-height: 380px; display: grid; place-items: center;
  background: radial-gradient(80% 80% at 20% 0%, rgba(51, 111, 191, .22), transparent 60%), radial-gradient(70% 70% at 100% 100%, rgba(63, 160, 224, .2), transparent 60%), var(--primary-100); box-shadow: inset 0 0 0 1px rgba(51, 111, 191, .12); }
.pillar--flip .pillar__art { background: radial-gradient(80% 80% at 80% 0%, rgba(22, 163, 127, .18), transparent 60%), radial-gradient(70% 70% at 0% 100%, rgba(51, 111, 191, .16), transparent 60%), #EAF6F2; }
.pillar__art::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(51, 111, 191, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(51, 111, 191, .08) 1px, transparent 1px); background-size: 40px 40px; }
.pillar__art > * { position: relative; z-index: 1; }
.pillar:nth-child(3) .pillar__art { background: radial-gradient(80% 80% at 100% 0%, rgba(63, 160, 224, .35), transparent 60%), var(--code); }
.pillar:nth-child(3) .pillar__art::before { background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); }
.kyc-card, .wallet-card { width: min(100%, 380px); background: #fff; border-radius: 20px; padding: 24px; box-shadow: var(--shadow-lg); transition: transform .5s var(--ease); }
.pillar__art:hover .kyc-card, .pillar__art:hover .wallet-card { transform: translateY(-6px) rotate(-1deg); }
.kyc-card__title { font: 700 18px/1.2 var(--display); font-stretch: 90%; margin-bottom: 12px; }
.kyc-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--bg-3); font-size: 16px; }
.kyc-row b { font-size: 14px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.kyc-row.is-ok b { background: var(--green-2); color: #0B7A5D; }
.kyc-row.is-wait b { background: #FDF0DA; color: #A36410; }
.kyc-card__match { margin-top: 14px; font-size: 15px; color: #0B7A5D; font-weight: 600; }
.wallet-card__label { color: var(--stone); font-size: 15px; }
.wallet-card__amount { font: 760 44px/1.1 var(--display); font-stretch: 84%; letter-spacing: -.02em; margin: 4px 0 16px; font-variant-numeric: tabular-nums; color: var(--primary-700); }
.wallet-card__line { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px dashed var(--line); font-size: 16px; font-variant-numeric: tabular-nums; }
.wallet-card__line .plus { color: #0B7A5D; font-weight: 600; }
.wallet-card__note { margin-top: 12px; font-size: 13px; color: var(--stone); }
.code { margin: 0; width: 100%; max-width: 480px; overflow-x: auto; color: #E4ECF8; font: 400 14px/1.75 var(--mono); }
.code .c { color: #8DA2C4; }
.code .s { color: #8FE1C4; }
.code .k { color: #9CC3F5; }

/* ---------- retailer network ---------- */
.network { overflow: hidden; background: radial-gradient(50% 60% at 25% 50%, rgba(51, 111, 191, .1), transparent 70%), #fff; }
.network__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.orbit { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin: 0 auto; }
.orbit::before { content: ''; position: absolute; inset: 12%; border-radius: 50%; border: 1.5px dashed var(--primary-300); animation: spin 60s linear infinite; }
.orbit::after { content: ''; position: absolute; inset: 30%; border-radius: 50%; background: radial-gradient(circle, rgba(51, 111, 191, .22), transparent 70%); animation: pulse 4s ease-in-out infinite; }
.orbit__core { position: absolute; inset: 36%; z-index: 1; display: grid; place-items: center; align-content: center; gap: 6px; border-radius: 50%; background: var(--primary); color: #fff; font: 700 15px/1.1 var(--display); text-align: center; box-shadow: 0 20px 50px -12px rgba(51, 111, 191, .7); }
.orbit__core .mark path { stroke: #fff; }
.orbit__core .mark circle { fill: #fff; }
.orbit__core .mark { width: 34px; height: 34px; }
.orbit__node { position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--ink);
  transform: translate(-50%, -50%) rotate(var(--a)) translate(min(38vw, 190px)) rotate(calc(-1 * var(--a))); }
.orbit__node i { width: 9px; height: 9px; border-radius: 50%; }
.orbit__node i.ok { background: var(--green); }
.orbit__node i.wait { background: var(--gold); }
.orbit.is-visible .orbit__node { animation: popnode .6s var(--ease) both; }
.orbit.is-visible .orbit__node:nth-of-type(2) { animation-delay: .08s; } .orbit.is-visible .orbit__node:nth-of-type(3) { animation-delay: .16s; }
.orbit.is-visible .orbit__node:nth-of-type(4) { animation-delay: .24s; } .orbit.is-visible .orbit__node:nth-of-type(5) { animation-delay: .32s; }
.orbit.is-visible .orbit__node:nth-of-type(6) { animation-delay: .4s; } .orbit.is-visible .orbit__node:nth-of-type(7) { animation-delay: .48s; }

/* ---------- EMI planner ---------- */
.planner { background: var(--bg-2); }
.planner.section { padding-top: clamp(80px, 10vw, 130px); }
.planner__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.planner__card { background: #fff; border-radius: 28px; padding: clamp(24px, 3.5vw, 44px); box-shadow: var(--shadow-lg); }
.range { display: grid; grid-template-columns: 1fr auto; align-items: baseline; row-gap: 8px; margin-bottom: 22px; font-weight: 500; }
.range output { font: 700 20px/1 var(--display); font-variant-numeric: tabular-nums; color: var(--primary-700); }
.range input { grid-column: 1 / -1; width: 100%; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--primary) var(--p, 50%), var(--line) var(--p, 50%)); cursor: pointer; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); box-shadow: 0 4px 12px -2px rgba(51, 111, 191, .6); transition: transform .2s; }
.range input:active::-webkit-slider-thumb { transform: scale(1.2); }
.range input::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); }
.planner__result { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; padding: 22px 0; margin-top: 8px; border-top: 1px solid var(--line); }
.planner__result span { display: block; color: var(--stone); font-size: 15px; }
.planner__emi strong { font: 780 clamp(40px, 5vw, 60px)/1 var(--display); font-stretch: 82%; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--primary); }
.planner__total strong { font: 700 26px/1.4 var(--display); font-variant-numeric: tabular-nums; }
.planner__dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.planner__dates li { padding: 10px 12px; border-radius: 12px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; line-height: 1.3; animation: popnode .35s var(--ease) both; }
.planner__dates li b { display: block; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--primary-700); }
.planner__dates li.more { background: transparent; box-shadow: none; color: var(--stone); display: grid; place-items: center; }

/* ---------- trust ---------- */
.trust { overflow: hidden; background: #fff; }
.guilloche--trust { width: 1100px; height: 1100px; right: -760px; top: -260px; opacity: .22; animation: spin 200s linear infinite reverse; }
.trust__grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); }
.trust__list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.trust__list li { padding: 24px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.trust__list li:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.trust__list h3 { font: 700 21px/1.2 var(--display); font-stretch: 88%; }
.trust__list h3::before { content: ''; display: block; width: 36px; height: 4px; border-radius: 4px; background: var(--primary); margin-bottom: 16px; }
.trust__list p { margin-top: 8px; color: var(--stone); }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-2); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font: 600 21px/1.3 var(--body); transition: color .2s; }
.faq__list summary:hover, .faq__list details[open] summary { color: var(--primary); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ''; flex: none; width: 34px; height: 34px; border-radius: 50%; background:
  linear-gradient(#fff, #fff) center / 14px 2px no-repeat, linear-gradient(#fff, #fff) center / 2px 14px no-repeat, var(--primary); transition: transform .35s var(--ease); }
.faq__list details[open] summary::after { transform: rotate(135deg); }
.faq__list details p { padding: 0 60px 26px 0; color: var(--stone); animation: rise .45s var(--ease); }

/* ---------- demo + form ---------- */
.demo { overflow: hidden; background: radial-gradient(60% 80% at 0% 100%, rgba(51, 111, 191, .14), transparent 60%), radial-gradient(50% 70% at 100% 0%, rgba(63, 160, 224, .14), transparent 60%), var(--primary-100); }
.demo__grid { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.demo__contacts { margin-top: 28px; display: grid; gap: 10px; font: 600 22px/1.3 var(--display); color: var(--primary-700); }
.demo__contacts a { text-decoration: none; border-bottom: 2px solid var(--primary-300); }
.demo-form { background: #fff; color: var(--ink); border-radius: 28px; padding: clamp(24px, 3.5vw, 44px); box-shadow: var(--shadow-lg); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; font-size: 15px; font-weight: 600; color: var(--ink); }
.field small { font-weight: 400; color: var(--stone); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-2); font: 400 17px/1.4 var(--body); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(51, 111, 191, .16); }
.field [aria-invalid="true"] { border-color: var(--red); background: #FDF3F2; }
.field em { font-style: normal; font-weight: 500; color: var(--red); font-size: 14px; }
.form-note { margin-top: 14px; font-size: 14px; color: var(--stone); }
.form-msg { padding: 14px 16px; border-radius: 12px; font-weight: 600; margin-bottom: 18px; }
.form-msg--error { background: #FDF3F2; color: var(--red); }
.form-msg--ok { margin: 16px 0 0; background: var(--green-2); color: #0B7A5D; animation: rise .5s var(--ease); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sent-card { text-align: center; padding: clamp(32px, 5vw, 64px); }
.sent-card .stamp { opacity: 1; animation: stamp .5s cubic-bezier(.3, 1.6, .5, 1) both; display: inline-block; font-size: 18px; padding: 10px 16px; margin-bottom: 22px; }

/* ---------- inner pages ---------- */
.page-hero { padding: 170px 0 90px; position: relative; overflow: hidden; background: radial-gradient(50% 70% at 85% 20%, rgba(63, 160, 224, .16), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(51, 111, 191, .14), transparent 70%), var(--bg-2); }
.page-hero .wrap { position: relative; }
.page-hero .display { font-size: clamp(44px, 6vw, 86px); max-width: 14ch; }
.page-hero .lead { margin-top: 24px; }
.page-hero .guilloche { width: 560px; height: 560px; right: -140px; top: 10px; opacity: .28; animation: spin 160s linear infinite; }
.prose { max-width: 760px; }
.prose h2 { font: 700 28px/1.2 var(--display); font-stretch: 88%; margin: 48px 0 14px; letter-spacing: -.01em; color: var(--primary-700); }
.prose h3 { font: 700 21px/1.3 var(--display); margin: 28px 0 8px; }
.prose p, .prose li { color: #3A4B66; }
.prose p + p { margin-top: 14px; }
.prose ul { list-style: disc; padding-left: 22px; margin: 12px 0; display: grid; gap: 6px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.panel { border-radius: 28px; background: #fff; padding: clamp(24px, 3.5vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.panel:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.panel--ink { background: radial-gradient(80% 80% at 100% 0%, rgba(63, 160, 224, .45), transparent 60%), var(--primary); color: #fff; border-color: transparent; }
.panel--ink p, .panel--ink li { color: #EAF1FB !important; }
.panel--ink .ticks li::before { background: rgba(255, 255, 255, .2); }
.panel--ink .ticks li::after { border-color: #fff; }
.panel h3 { font: 700 24px/1.2 var(--display); font-stretch: 88%; margin-bottom: 10px; }
.slabs { margin-top: 18px; border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.slabs div { display: grid; grid-template-columns: 1fr auto; padding: 14px 18px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.slabs div:nth-child(odd) { background: var(--bg-2); }
.slabs div:last-child { border-bottom: 0; }
.slabs b { font-family: var(--display); color: var(--primary-700); }
.note { font-size: 14px; color: var(--stone); margin-top: 12px; }
.steps--cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps--cards .step { opacity: 1; background: #fff; border-color: var(--line); box-shadow: var(--shadow); transform: none; }
.steps--cards .step__n { background: var(--primary); color: #fff; }
.price-calc { margin-top: 22px; }
.price-calc strong { font: 780 46px/1 var(--display); font-stretch: 82%; font-variant-numeric: tabular-nums; }
.dev-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.dev-grid .panel p { color: var(--stone); }
.code--block { background: var(--code); border-radius: 22px; padding: 26px; max-width: none; margin-top: 18px; box-shadow: var(--shadow-lg); }
.lost { min-height: 70vh; display: grid; align-content: center; }
.lost .stamp { opacity: 1; animation: none; display: inline-block; color: var(--red); font-size: 20px; padding: 10px 16px; margin-bottom: 26px; transform: rotate(-6deg); }

/* ---------- footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--bg-2); color: var(--stone); padding: 90px 0 30px; border-top: 1px solid var(--line); }
.guilloche--footer { width: 900px; height: 900px; left: -640px; bottom: -560px; opacity: .14; }
.footer__grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__about p { margin-top: 16px; max-width: 26em; }
.footer__apps { display: flex; flex-wrap: wrap; gap: 16px; }
.footer__apps a { color: var(--primary); font-weight: 600; }
.footer__col { display: grid; align-content: start; gap: 10px; }
.footer__col h2 { font: 600 15px/1.2 var(--body); color: var(--primary); margin-bottom: 6px; }
.footer__col a, .footer__col address { color: var(--ink); text-decoration: none; font-style: normal; font-size: 16px; transition: color .2s; }
.footer__col a:hover { color: var(--primary); }
.footer__legal { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 70px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.footer__legal span { margin-left: 14px; }
.footer__legal nav { display: flex; gap: 22px; }
.footer__legal a { color: var(--stone); text-decoration: none; }
.footer__legal a:hover { color: var(--primary); }

/* ---------- keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes bookin { from { opacity: 0; transform: translateZ(40px) translateY(50px); } to { opacity: 1; transform: translateZ(40px); } }
@keyframes cardin { from { opacity: 0; transform: translateZ(110px) translateY(30px) scale(.94); } to { opacity: 1; transform: translateZ(110px); } }
@keyframes toastin { to { opacity: 1; transform: translateZ(140px); } }
@keyframes float { 50% { translate: 0 -10px; } }
@keyframes stamp { 0% { opacity: 0; transform: scale(2.4) rotate(-14deg); } 70% { opacity: 1; transform: scale(.94) rotate(-7deg); } 100% { opacity: 1; transform: scale(1) rotate(-8deg); } }
@keyframes rowpaid { to { background: linear-gradient(90deg, rgba(22, 163, 127, .08), transparent); } }
@keyframes fill { to { width: 50%; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 127, .5); } 80%, 100% { box-shadow: 0 0 0 10px rgba(22, 163, 127, 0); } }
@keyframes pingblue { 0% { box-shadow: 0 0 0 0 rgba(51, 111, 191, .5); } 80%, 100% { box-shadow: 0 0 0 10px rgba(51, 111, 191, 0); } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
@keyframes pulse { 50% { opacity: .55; transform: scale(1.08); } }
@keyframes drift { to { transform: translate(80px, 60px) scale(1.15); } }
@keyframes feedin { from { opacity: 0; transform: translateY(-14px) scale(.97); } }
@keyframes pinfill { to { background: var(--primary); border-color: var(--primary); } }
@keyframes popnode { from { opacity: 0; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .trust__grid, .faq__grid { grid-template-columns: 1fr; }
  .chart-card { left: -6%; }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 24px; background: #fff; box-shadow: 0 30px 40px -20px rgba(31, 74, 134, .3); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .3s var(--ease), opacity .25s, visibility .3s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 19px; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav__signin { padding-left: 0; border-left: 0; }
  .nav .btn { margin-top: 16px; min-height: 52px; }
  .topbar.menu-open { background: #fff; }
  .hero { padding-top: 120px; }
  .hero__grid, .who__grid, .pillar, .network__grid, .planner__grid, .demo__grid, .split, .story { grid-template-columns: 1fr; }
  .pillar--flip .pillar__copy { order: 0; }
  .who__grid > div { position: static; }
  .hero__art { min-height: 560px; margin-top: 30px; }
  .stage { transform: none; padding-top: 120px; }
  .chart-card { left: 0; top: 0; width: 220px; }
  .toast-card { right: 0; }
  .dashboard__kpis, .dashboard__body { grid-template-columns: 1fr; }
  .kpi + .kpi, .feed { border-left: 0; border-top: 1px solid var(--line); }
  .story__phone { position: relative; top: 0; order: -1; }
  .step { opacity: 1; }
  .steps--cards { grid-template-columns: 1fr; }
  .dev-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .hero__title { font-size: clamp(40px, 11vw, 48px); }
  .hero__title span + span { padding-left: 0; white-space: normal; }
  .field-row, .trust__list, .planner__result { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .passbook { padding: 20px 18px 18px; }
  .passbook__rows li { grid-template-columns: 22px 1fr auto 92px; gap: 6px; }
  .guilloche--hero { width: 520px; height: 520px; margin: -260px 0 0 -260px; }
  .faq__list details p { padding-right: 0; }
  .phone { transform: scale(.9); }
  .orbit__node { font-size: 12px; padding: 6px 10px; transform: translate(-50%, -50%) rotate(var(--a)) translate(36vw) rotate(calc(-1 * var(--a))); }
}

/* ---------- reduced motion: final states, no movement ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .guilloche, .orbit::before, .orb { animation: none !important; }
  .stage { transform: none !important; }
  .js [data-reveal], .js [data-reveal-list] > * { opacity: 1; transform: none; }
  .marquee__track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; gap: 18px 40px; }
  .marquee__track li[aria-hidden="true"] { display: none; }
}

/* =================== STEP 16D: clients, comparison, calculators, testimonials, vision & mission, app =================== */
/* trusted by */
.clients { padding: 46px 0 40px; background: #fff; border-bottom: 1px solid var(--line); }
.clients__title { text-align: center; color: var(--stone); font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.marquee--clients { padding: 6px 0; }
.marquee__track--clients { gap: 18px; animation-duration: 46s; color: var(--ink); font: inherit; }
.marquee__track--clients li { gap: 12px; padding: 10px 18px 10px 10px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.marquee__track--clients li::after { display: none; }
.client__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--primary); color: #fff; font: 700 15px/1 var(--display); }
.client__name b { display: block; font: 700 17px/1.2 var(--display); font-stretch: 90%; }
.client__name small { display: block; color: var(--stone); font-size: 13px; }

/* why switch */
.why { background: #fff; }
.compare { margin-top: 48px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.compare__head, .compare__row { display: grid; grid-template-columns: 1.1fr 1fr 1.15fr; }
.compare__head span { padding: 18px 22px; font-weight: 700; color: var(--stone); background: var(--bg-2); }
.compare__head .compare__us { background: var(--primary); color: #fff; display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 19px; }
.compare__us .mark path { stroke: #fff; }
.compare__us .mark circle { fill: #fff; }
.compare__row span { padding: 18px 22px; border-top: 1px solid var(--line); }
.compare__row span:first-child { font-weight: 600; }
.compare__row .no, .compare__row .yes { display: flex; gap: 10px; align-items: flex-start; }
.compare__row .no { color: var(--stone); }
.compare__row .no::before { content: '×'; flex: none; margin-top: 3px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #FDECEB; color: var(--red); font-size: 13px; font-weight: 700; line-height: 1; }
.compare__row .yes { background: var(--primary-100); color: var(--primary-700); font-weight: 600; }
.compare__row .yes::before { content: '✓'; flex: none; margin-top: 3px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 11px; line-height: 1; }
.compare__row:hover .yes { background: #DCE8F8; }

/* calculator teaser */
.calc-teaser { background: #fff; }
.calc-teaser__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.calc-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.calc-cards a { display: grid; gap: 8px; align-content: start; height: 100%; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.calc-cards a:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-300); }
.calc-cards__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--primary-100); color: var(--primary); font: 800 18px/1 var(--display); margin-bottom: 6px; transition: background .3s, color .3s; }
.calc-cards a:hover .calc-cards__icon { background: var(--primary); color: #fff; }
.calc-cards b { font: 700 19px/1.2 var(--display); font-stretch: 90%; }
.calc-cards small { color: var(--stone); font-size: 15px; line-height: 1.45; }

/* testimonials */
.voices { background: var(--bg-2); }
.voices__carousel { margin-top: 44px; max-width: 920px; }
.voices__track { display: grid; }
.voice { grid-area: 1 / 1; margin: 0; padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: #fff; box-shadow: var(--shadow-lg); opacity: 0; transform: translateX(40px); visibility: hidden; transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s; }
.voice.is-active { opacity: 1; transform: none; visibility: visible; }
.voice.is-leaving { transform: translateX(-40px); }
.voice__stars { color: var(--gold); letter-spacing: 3px; font-size: 20px; margin-bottom: 14px; }
.voice__stars span { color: var(--line); }
.voice blockquote { margin: 0; font: 600 clamp(21px, 2.3vw, 28px)/1.45 var(--body); color: var(--ink); }
.voice figcaption { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.voice__avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--grad); color: #fff; font: 700 18px/1 var(--display); }
.voice figcaption b { display: block; font-size: 18px; }
.voice figcaption small { color: var(--stone); font-size: 15px; }
.voices__controls { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.voices__btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--primary-300); background: #fff; color: var(--primary); font-size: 26px; line-height: 1; cursor: pointer; transition: background .2s, color .2s; }
.voices__btn:hover { background: var(--primary); color: #fff; }
.voices__dots { display: flex; gap: 8px; }
.voices__dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; padding: 0; background: var(--primary-300); cursor: pointer; transition: width .35s var(--ease), background .3s; }
.voices__dots button[aria-current="true"] { width: 30px; background: var(--primary); }

/* vision & mission */
.purpose { background: #fff; }
.purpose__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.purpose__card { position: relative; overflow: hidden; padding: clamp(30px, 4vw, 52px); border-radius: 28px; background: var(--primary); color: #fff; box-shadow: 0 30px 60px -30px rgba(51, 111, 191, .8); }
.purpose__card::after { content: ''; position: absolute; width: 260px; height: 260px; right: -80px; bottom: -110px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .08); }
.purpose__card--alt { background: var(--bg-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.purpose__card--alt::after { border-color: rgba(51, 111, 191, .07); }
.purpose__label { font-weight: 700; font-size: 15px; opacity: .85; margin-bottom: 14px; }
.purpose__card--alt .purpose__label { color: var(--primary); opacity: 1; }
.purpose__text { position: relative; overflow-wrap: anywhere; font: 700 clamp(22px, 2.4vw, 30px)/1.3 var(--display); font-stretch: 90%; letter-spacing: -.01em; }

/* app band */
.app-band { background: var(--bg-2); overflow: hidden; }
.app-band__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.app-band__phone { display: grid; place-items: center; }
.app-band__phone .phone { height: 460px; }
.app-band__phone .screen--3 { opacity: 1; transform: none; }

/* calculators page */
.calcs { background: #fff; padding-top: 60px; }
.calcs__grid { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 40px; align-items: start; }
.calcs__nav { position: sticky; top: 100px; display: grid; gap: 8px; }
.calcs__nav a { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; text-decoration: none; border: 1px solid transparent; transition: background .25s, border-color .25s, transform .25s var(--ease); }
.calcs__nav a span { font: 700 17px/1.2 var(--display); font-stretch: 90%; }
.calcs__nav a small { color: var(--stone); font-size: 14px; }
.calcs__nav a:hover { background: var(--bg-2); }
.calcs__nav a.is-active { background: var(--primary-100); border-color: var(--primary-300); transform: translateX(4px); }
.calcs__nav a.is-active span { color: var(--primary-700); }
.calc { padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.calc + .calc { margin-top: 28px; }
.js .calc { display: none; margin-top: 0; }
.js .calc.is-active { display: block; animation: rise .5s var(--ease); }
.calc__intro { color: var(--stone); margin-top: 10px; max-width: 46em; }
.calc__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); margin-top: 28px; align-items: start; }
.calc__result { padding: 26px; border-radius: 22px; background: var(--bg-2); border: 1px solid var(--line); }
.calc__big small { display: block; color: var(--stone); font-size: 15px; }
.calc__big strong { display: block; font: 780 clamp(38px, 4.4vw, 54px)/1.1 var(--display); font-stretch: 82%; letter-spacing: -.02em; color: var(--primary); font-variant-numeric: tabular-nums; }
.calc__list { margin: 18px 0 0; display: grid; gap: 0; }
.calc__list div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px dashed var(--line); }
.calc__list dt { color: var(--stone); display: flex; align-items: center; gap: 8px; }
.calc__list dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc__note { margin-top: 14px; font-size: 15px; color: var(--primary-700); }
.calc-note { padding: 14px 18px; border-radius: 12px; background: #FDF0DA; color: #7A4B0C; }
.sw { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.sw--p { background: var(--primary); }
.sw--i { background: #9DC0EC; }
.donut { position: relative; width: 132px; height: 132px; float: right; margin: -6px 0 6px 12px; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 6; }
.donut__track { stroke: #9DC0EC; }
.donut__val { stroke: var(--primary); stroke-dasharray: 100 0; stroke-linecap: round; transition: stroke-dasharray .6s var(--ease); }
.donut span { position: absolute; inset: 0; display: grid; place-items: center; font: 700 18px/1 var(--display); color: var(--primary-700); }
.schedule { margin-top: 26px; border-top: 1px solid var(--line); }
.schedule summary { cursor: pointer; padding: 18px 0 6px; font-weight: 700; color: var(--primary); }
.schedule__wrap { max-height: 380px; overflow: auto; border-radius: 14px; border: 1px solid var(--line); margin-top: 10px; }
.schedule table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.schedule th { position: sticky; top: 0; background: var(--bg-2); text-align: right; padding: 10px 14px; font-weight: 700; color: var(--stone); }
.schedule th:first-child, .schedule td:first-child { text-align: left; }
.schedule td { text-align: right; padding: 9px 14px; border-top: 1px solid var(--line); }
.schedule tr:nth-child(even) td { background: #FAFCFE; }
.seg { border: 0; padding: 0; margin: 0 0 20px; }
.seg legend { font-weight: 600; font-size: 15px; margin-bottom: 8px; padding: 0; }
.seg label { display: inline-block; margin: 0 6px 6px 0; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: inline-block; padding: 9px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; cursor: pointer; transition: all .2s; }
.seg input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 2px; }
.calc .field { margin-bottom: 20px; }
.cta-band { background: var(--primary-100); text-align: center; }
.cta-band__inner { display: grid; justify-items: center; }
.cta-band .h2 { max-width: 20ch; }

/* powered by */
.powered { font-size: 14px; color: var(--stone); }
.powered strong { color: var(--primary-700); }
.powered--about { margin-top: 60px; font-size: 16px; padding: 16px 20px; border-radius: 14px; background: var(--bg-2); display: inline-block; }

@media (max-width: 1080px) {
  .calc-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .calcs__grid { grid-template-columns: 1fr; }
  .calcs__nav { position: static; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@media (max-width: 900px) {
  .compare__head, .compare__row { grid-template-columns: 1fr 1fr; }
  .compare__head span:first-child { display: none; }
  .compare__row span:first-child { grid-column: 1 / -1; background: var(--bg-2); padding: 10px 22px; font-size: 15px; }
  .purpose__grid, .app-band__grid, .calc__body { grid-template-columns: 1fr; }
  .calc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .donut { float: none; margin: 0 auto 10px; }
}
@media (max-width: 560px) {
  .calc-cards { grid-template-columns: 1fr; }
  .compare__row .no, .compare__row .yes { font-size: 15px; padding: 14px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track--clients { animation: none !important; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee__track--clients li[aria-hidden="true"] { display: none; }
}
/* EMI result: ring beside the big number, list full width below */
[data-calc="emi"] .calc__result { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: center; }
[data-calc="emi"] .donut { grid-column: 2; grid-row: 1; float: none; margin: 0; width: 112px; height: 112px; }
[data-calc="emi"] .calc__big { grid-column: 1; grid-row: 1; }
[data-calc="emi"] .calc__list { grid-column: 1 / -1; }
