:root{
  --navy:#0A1F44;
  --blue:#1E4FD8;
  --blue-dark:#163BA8;
  --sky:#4FA3F7;
  --ice:#EAF3FF;
  --white:#FFFFFF;
  --ink:#0F172A;
  --muted:#475569;
  --gold:#F5B301;
  --line:#D6E3F5;
  --radius:18px;
  --shadow:0 1px 2px rgba(10,31,68,.06),0 8px 24px rgba(10,31,68,.08);
  --font-head:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --font-body:"Manrope",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font-body);font-size:16px;line-height:1.5;color:var(--ink);background:var(--ice);overflow-x:hidden}
svg{display:block}
h1,h2{font-family:var(--font-head);color:var(--navy);line-height:1.2;margin:0}
p{margin:0}
:focus-visible{outline:3px solid var(--sky);outline-offset:3px;border-radius:6px}
.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.wrap{width:100%;max-width:600px;margin:0 auto;padding:0 16px}

/* Top bar */
.topbar{position:sticky;top:0;z-index:20;background:var(--white);box-shadow:0 1px 0 var(--line),0 4px 14px rgba(10,31,68,.06)}
.topbar .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;max-width:1120px}
.logo{display:flex;align-items:center;gap:8px;font-family:var(--font-head);font-weight:800;font-size:1.15rem;color:var(--navy);text-decoration:none;min-height:44px}
.logo-mark{width:30px;height:30px;border-radius:9px;background:var(--navy);color:var(--sky);display:grid;place-items:center}
.logo-mark .icon{width:18px;height:18px;stroke-width:3}
.pill-gold{background:var(--gold);color:var(--navy);font-weight:700;font-size:.8rem;padding:6px 12px;border-radius:999px;white-space:nowrap}

/* Hero (compact) */
.hero{background:linear-gradient(160deg,var(--navy) 0%,#132C5C 55%,var(--blue) 100%);color:var(--white);padding:24px 0 72px}
.eyebrow{display:block;color:var(--sky);font-weight:600;font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;margin-bottom:6px}
.hero h1{color:var(--white);font-weight:800;font-size:clamp(1.6rem,6.5vw,2.2rem);letter-spacing:-.01em;margin-bottom:12px}
.offer{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:14px;padding:6px 12px;font-size:.88rem;color:#DCE8FB}
.offer .icon{width:18px;height:18px;color:var(--sky)}
.offer strong{color:var(--white);font-variant-numeric:tabular-nums}

/* Checkout card */
.card{background:var(--white);border-radius:20px;box-shadow:var(--shadow);padding:20px 16px;margin-top:-52px;position:relative}
@media (min-width:480px){.card{padding:24px}}
.step{display:flex;align-items:center;gap:10px;margin:0 0 12px}
.step b{width:26px;height:26px;border-radius:50%;background:var(--blue);color:var(--white);display:grid;place-items:center;font-size:.85rem;flex:none}
.step h2{font-size:1.1rem}
.group{display:grid;gap:10px;margin-bottom:24px}

.opt{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:12px 14px;text-align:left;font:inherit;color:var(--ink);background:var(--white);border:2px solid var(--line);border-radius:14px;cursor:pointer;transition:border-color .15s,background-color .15s}
.opt:hover{border-color:var(--sky)}
.opt[aria-pressed="true"]{border-color:var(--blue);background:#F5F9FF}
.opt:disabled{cursor:not-allowed;opacity:.55}
.radio{width:22px;height:22px;border-radius:50%;border:2px solid #9DB7DD;flex:none;display:grid;place-items:center}
.opt[aria-pressed="true"] .radio{border-color:var(--blue)}
.opt[aria-pressed="true"] .radio::after{content:"";width:12px;height:12px;border-radius:50%;background:var(--blue)}
.opt-main{flex:1;min-width:0}
.opt-title{display:block;font-family:var(--font-head);font-weight:700;color:var(--navy);font-size:1.02rem}
.opt-sub{display:block;font-size:.85rem;color:var(--muted)}
.opt-price{font-family:var(--font-head);font-weight:800;color:var(--navy);font-size:1.1rem;white-space:nowrap}
.gw-grid{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:8px}
.gw-grid .opt{flex-direction:column;justify-content:center;gap:6px;min-height:72px;padding:10px 6px;text-align:center}
.gw-grid .opt-main{flex:none}
.gw-grid .opt-title{font-size:.98rem}
.gw-grid .opt-sub{font-size:.72rem}
.gw-note{font-size:.82rem;color:var(--muted);margin:0 0 20px}
.type-grid{grid-template-columns:1fr 1fr;gap:8px}
.type-grid .opt{flex-direction:column;align-items:flex-start;gap:6px;min-height:84px;padding:12px}
.type-grid .opt-main{flex:none}
.balance{font-size:.88rem;color:var(--muted);margin:-6px 0 12px;text-align:right}
.tag{display:inline-block;margin-left:6px;vertical-align:2px;background:var(--navy);color:var(--white);font-family:var(--font-body);font-size:.68rem;font-weight:700;padding:2px 8px;border-radius:999px}

/* Pay */
.total{display:flex;justify-content:space-between;align-items:baseline;gap:12px;border-top:1px dashed var(--line);padding-top:16px;margin-bottom:12px}
.total span{color:var(--muted);font-weight:600}
.total strong{font-family:var(--font-head);font-weight:800;font-size:1.9rem;color:var(--navy)}
.pay{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:58px;border-radius:14px;background:var(--blue);color:var(--white);font-family:var(--font-head);font-weight:700;font-size:1.12rem;text-decoration:none;border:0;cursor:pointer;transition:background-color .15s}
.pay:hover{background:var(--blue-dark)}
.pay.is-disabled{opacity:.55;pointer-events:none}
.pay-via{text-align:center;font-size:.85rem;color:var(--muted);margin-top:8px}
.upi-note{display:flex;gap:8px;align-items:flex-start;background:#FFF8E6;border:1px solid #F2D58A;color:#5B4300;border-radius:12px;padding:10px 12px;font-size:.88rem;margin-bottom:12px}
.upi-note .icon{width:18px;height:18px;margin-top:1px}
.secure{display:flex;align-items:center;justify-content:center;gap:8px;font-size:.85rem;color:var(--muted);margin-top:14px;text-align:center}
.secure .icon{width:18px;height:18px;color:var(--blue)}
.help{text-align:center;font-size:.88rem;color:var(--muted);margin:18px 0 0}

/* Footer */
.footer{padding:28px 0 96px;font-size:.85rem;color:var(--muted);text-align:center}
.footer a{color:var(--blue);font-weight:600}
.footer p{margin-bottom:8px}
.policies{text-align:left;margin:12px 0}
.policies details{border-top:1px solid var(--line)}
.policies summary{cursor:pointer;padding:12px 0;min-height:44px;font-weight:600;color:var(--navy)}
.policies details p{padding:0 0 12px}

/* Floating WhatsApp */
.wa{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:30;width:54px;height:54px;border-radius:50%;background:#0B7A3E;color:var(--white);display:grid;place-items:center;box-shadow:0 8px 24px rgba(10,31,68,.25)}
.wa:hover{background:#086332}
.wa .icon{width:28px;height:28px}
.wa.is-hidden{display:none}

/* Sticky Pay bar (shown while the main Pay button is below the screen) */
.sbar{position:fixed;left:0;right:0;bottom:0;z-index:25;background:var(--white);border-top:1px solid var(--line);box-shadow:0 -6px 20px rgba(10,31,68,.12);padding:10px 16px calc(10px + env(safe-area-inset-bottom))}
.sbar-in{max-width:600px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px}
.sbar-info{min-width:0;line-height:1.25}
.sbar-plan{display:block;font-size:.8rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sbar-amt{font-family:var(--font-head);font-weight:800;font-size:1.15rem;color:var(--navy)}
.sbar .pay{width:auto;min-height:48px;padding:0 22px;font-size:1rem;flex:none}
@media (prefers-reduced-motion:reduce){.opt,.pay{transition:none}}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
