/* ============================================================
   LoanKaro — "Jet Glass / Aurora" Fintech Design System
   Layered black glass · refined emerald aurora · animated UX
   100% contract-compatible with the existing component library.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces: deep cool-black with subtle blue-less tint */
  --bg: #050506;
  --bg-2: #0a0a0c;
  --bg-3: #0f0f12;
  --surface: #101014;
  --surface-2: #16161b;
  --surface-3: #1d1d24;
  --surface-4: #282832;
  --line: #1e1e26;
  --line-2: #2e2e38;
  --ring: rgba(16, 185, 129, 0.30);

  /* Text */
  --text: #eef2f6;
  --muted: #98a2b3;
  --faint: #626a7a;

  /* Brand: richer emerald + mint secondary (no teal/cyan) */
  --brand: #10b981;
  --brand-lite: #34d399;
  --brand-deep: #0a8f66;
  --brand-soft: rgba(16, 185, 129, 0.12);
  --brand-glow: rgba(16, 185, 129, 0.32);
  --brand-grad: linear-gradient(135deg, #2ee6a8 0%, #10b981 55%, #0a9a6e 100%);
  --brand-aurora: radial-gradient(640px 300px at 82% -8%, rgba(16, 185, 129, 0.16), transparent 60%);

  /* Semantic */
  --danger: #f5636f;
  --danger-soft: rgba(245, 99, 111, 0.13);
  --warn: #f5b94f;
  --warn-soft: rgba(245, 185, 79, 0.14);
  --info: #34d399;
  --info-soft: rgba(52, 211, 153, 0.13);

  /* Radii */
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 18px;
  --r-xl: 24px;

  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.4), 0 8px 22px rgba(0, 0, 0, 0.32);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 3px 10px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.62);
  --inset-hi: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --ring-focus: 0 0 0 4px rgba(16, 185, 129, 0.22);

  /* Type */
  --font-bn: 'Hind Siliguri', 'Segoe UI', sans-serif;
  --font-num: 'Poppins', 'Hind Siliguri', sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 0.14s;
  --dur: 0.24s;
  --dur-slow: 0.36s;
  --dur-xl: 0.55s;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--font-bn);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: rgba(16, 185, 129, 0.18);
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1100px 500px at 88% -10%, rgba(16, 185, 129, 0.06), transparent 62%),
    radial-gradient(900px 460px at -8% 8%, rgba(52, 211, 153, 0.04), transparent 55%),
    var(--bg);
}
body.dash-mode { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
a, button, .pill, .dropzone, .nav-link, .mnav-item, .quick-link, .tool-card { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
img, svg { display: block; }
[hidden] { display: none !important; }
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.container { width: min(1200px, 92%); margin-inline: auto; }
.wrap { width: min(980px, 92%); margin-inline: auto; }
.wrap-narrow { width: min(572px, 92%); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Focus visibility (accessible + branded) ---------- */
:focus-visible { outline: 2px solid var(--brand-lite); outline-offset: 2px; border-radius: 6px; }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: none; }

/* ---------- Typography / section heads ---------- */
.sec { padding: 76px 0; }
.sec-head { margin-bottom: 44px; }
.sec-head.center { text-align: center; }
.sec-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brand-lite); background: var(--brand-soft);
  border: 1px solid rgba(16, 185, 129, 0.34);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
  box-shadow: var(--inset-hi);
}
.sec-label .lucide { width: 14px; height: 14px; }
.sec-title { font-size: clamp(1.75rem, 3.4vw, 2.4rem); line-height: 1.22; letter-spacing: -0.02em; color: #fff; margin-bottom: 12px; font-weight: 700; }
.sec-sub { color: var(--muted); font-size: 1.04rem; max-width: 680px; line-height: 1.7; }
.sec-head.center .sec-sub { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 0.98rem; line-height: 1.2;
  padding: 12px 22px; border-radius: 12px; border: 1px solid transparent;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
    color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease), opacity var(--dur) var(--ease);
  position: relative; user-select: none; white-space: nowrap; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:disabled, .btn.loading { opacity: 0.55; pointer-events: none; }
.btn .lucide { width: 1.08em; height: 1.08em; }
.btn-sm { padding: 8px 15px; font-size: 0.88rem; border-radius: 9px; min-height: 38px; }
.btn-lg { padding: 14px 28px; font-size: 1.04rem; border-radius: 13px; min-height: 52px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--brand-grad);
  color: #03130b;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.30), var(--inset-hi);
}
.btn-primary:hover { filter: brightness(1.06); box-shadow: 0 14px 34px var(--brand-glow), var(--inset-hi); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); font-weight: 600; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: #3a3a46; color: #fff; }
.btn-outline { background: linear-gradient(180deg, var(--brand-soft), transparent); color: var(--brand-lite); border-color: rgba(16, 185, 129, 0.5); }
.btn-outline:hover { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-lite); }
.btn-soft { background: var(--brand-soft); color: var(--brand-lite); border-color: transparent; }
.btn-soft:hover { background: rgba(16, 185, 129, 0.2); }
.btn-danger { background: linear-gradient(180deg, #fb6b7a, #ec4c5c); color: #fff; box-shadow: 0 6px 18px rgba(245, 99, 111, 0.26); }
.btn-danger:hover { filter: brightness(1.06); }
.btn-white { background: #fff; color: #0b0b0d; }
.btn-white:hover { background: #e9f3ee; }
/* ripple micro-interaction (JS-driven) */
.btn .ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.5); transform: scale(0); animation: ripple 0.55s ease-out forwards; pointer-events: none; }
.btn-primary .ripple, .btn-white .ripple { background: rgba(3, 19, 11, 0.25); }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
.btn.loading::after {
  content: ''; width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff;
  border-radius: 50%; animation: spin 0.7s linear infinite; margin-left: 10px;
}
.btn-primary.btn.loading::after, .btn-soft.btn.loading::after { border-top-color: #0a9a6e; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header (frosted pill) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(5, 5, 7, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(1.35); backdrop-filter: blur(18px) saturate(1.35);
  border-bottom: 1px solid rgba(30, 30, 38, 0.75);
}
.header-main { background: transparent; }
.header-inner { display: flex; align-items: center; gap: 20px; padding: 12px 0; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--brand-grad);
  color: #03130b; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.34), var(--inset-hi);
  transition: transform var(--dur) var(--ease-spring);
}
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.04); }
.brand-mark .lucide { width: 22px; height: 22px; color: #03130b; }
.brand-text { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; color: #fff; }
.brand-text em { font-style: normal; color: var(--brand-lite); }
.nav-wrap { margin-left: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 9px 15px; border-radius: 10px; font-weight: 500; font-size: 0.96rem;
  color: var(--muted); transition: color var(--dur), background var(--dur), box-shadow var(--dur); position: relative;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-link.active { color: #fff; background: var(--brand-soft); box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.22); }
.nav-link.active::after { content: ''; display: block; height: 2px; width: 70%; margin: 3px auto 0; border-radius: 2px; background: var(--brand-grad); transform-origin: center; animation: navmark 0.3s var(--ease); }
@keyframes navmark { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.header-actions { display: flex; align-items: center; gap: 10px; }
.guest-actions { display: flex; align-items: center; gap: 10px; }
.user-actions { display: flex; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; font-size: 0.9rem; font-weight: 600;
  background: linear-gradient(180deg, var(--brand-soft), rgba(16, 185, 129, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.36); color: var(--brand-lite);
  box-shadow: var(--inset-hi); transition: transform var(--dur) var(--ease), background var(--dur);
}
.chip .lucide { width: 1em; height: 1em; }
.chip:hover { background: rgba(16, 185, 129, 0.2); transform: translateY(-1px); }
.hamburger { display: none; background: none; border: 1px solid var(--line-2); color: var(--text); width: 42px; height: 42px; border-radius: 11px; align-items: center; justify-content: center; transition: border-color var(--dur), background var(--dur); min-width: 42px; min-height: 42px; }
.hamburger:hover { border-color: #3c3c46; background: rgba(255, 255, 255, 0.05); }
.hamburger .lucide { width: 20px; height: 20px; }

/* ---------- Page topbar (app pages) ---------- */
.pagetop { background: linear-gradient(180deg, rgba(16, 185, 129, 0.06), transparent), var(--bg-2); border-bottom: 1px solid var(--line); }
.pagetop-inner { display: flex; align-items: center; gap: 14px; padding: 14px 0; }
.pagetop h1 { display: flex; align-items: center; gap: 11px; font-size: 1.16rem; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.pagetop h1 .lucide { color: var(--brand-lite); }
.iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 11px; color: var(--muted); border: 1px solid var(--line); background: var(--surface); transition: all var(--dur); }
.iconbtn:hover { color: var(--brand-lite); border-color: rgba(16, 185, 129, 0.45); background: var(--brand-soft); transform: translateY(-1px); }

/* ---------- Page transition & entrance system ---------- */
.view { opacity: 0; }
.view.on { animation: viewUp 0.55s var(--ease) forwards; }
@keyframes viewUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.d1 { animation-delay: 0.06s; } .d2 { animation-delay: 0.14s; } .d3 { animation-delay: 0.22s; }
.d4 { animation-delay: 0.3s; } .d5 { animation-delay: 0.38s; } .d6 { animation-delay: 0.46s; }
.rise { opacity: 0; animation: rise 0.55s var(--ease) forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Scroll-in reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.in { transition-delay: var(--reveal-delay, 0s); }

/* ---------- Motion utilities ---------- */
.skeleton { position: relative; overflow: hidden; background: var(--surface-2); border-radius: var(--r-sm); }
.skeleton::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent); animation: shimmer 1.4s var(--ease) infinite; }
@keyframes shimmer { 100% { transform: translateX(100%); } }

.route-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 1000; pointer-events: none; opacity: 0; transition: opacity 0.2s var(--ease); }
.route-progress.active { opacity: 1; }
.route-progress::before { content: ''; position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, var(--brand-deep), var(--brand-lite)); }
.route-progress.active::before { animation: routebar 1.8s var(--ease) infinite; }
@keyframes routebar { 0% { width: 0; } 70% { width: 78%; } 100% { width: 100%; } }

.badge, .pill, .stat-ic { transition: transform 0.2s var(--ease); }
.badge.pop { animation: badgepop 0.32s var(--ease-spring); }
@keyframes badgepop { 0% { transform: scale(0.82); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

.progress-bar { position: relative; overflow: hidden; }
.progress-bar::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); animation: shimmer 1.8s var(--ease) infinite; }

.dropzone.processing .dz-ic { animation: dzpulse 0.9s var(--ease) infinite; }
@keyframes dzpulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }

.mnav-item { transition: color 0.2s var(--ease); }
.mnav-item::before { transition: opacity 0.2s var(--ease); }
.mnav-item.active .mnav-ic { animation: navpulse 0.34s var(--ease-spring); }
@keyframes navpulse { 0% { transform: scale(0.75); } 100% { transform: scale(1); } }

.toast { transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.toast.removing { opacity: 0; transform: translateX(24px); }

.field.shake .input { animation: shake 0.34s var(--ease); }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

.calc-output, .emv { transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.calc-output.hl, .emv.hl { animation: hlift 0.45s var(--ease); }
@keyframes hlift { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* count-up number shimmer on balance change */
.balance-amt, .num.countup { transition: color 0.3s var(--ease); }
.num.flash { color: var(--brand-lite); }

/* ---------- Hero (asymmetric split) ---------- */
.hero { position: relative; overflow: hidden; background: var(--brand-aurora), linear-gradient(170deg, #060608 0%, #070708 52%, #050506 100%); border-bottom: 1px solid var(--line); }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.45), transparent); opacity: 0.55; }
.hero-glow { position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(16, 185, 129, 0.12), transparent 68%); top: -160px; right: -140px; pointer-events: none; }
.hero-inner { position: relative; padding: 84px 0 76px; max-width: 860px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 600; color: var(--brand-lite); background: var(--brand-soft); border: 1px solid rgba(16, 185, 129, 0.34); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; box-shadow: var(--inset-hi); animation: rise 0.5s var(--ease) both; }
.hero-title { font-size: clamp(2.1rem, 5.2vw, 3.5rem); line-height: 1.12; letter-spacing: -0.02em; color: #fff; margin-bottom: 18px; font-weight: 700; animation: rise 0.55s var(--ease) 0.06s both; }
.hero-title em { font-style: normal; color: transparent; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; }
.hero-sub { font-size: 1.14rem; color: var(--muted); max-width: 600px; margin-bottom: 30px; line-height: 1.7; animation: rise 0.55s var(--ease) 0.12s both; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; animation: rise 0.55s var(--ease) 0.18s both; }
.hero-stats { display: flex; gap: 16px; flex-wrap: wrap; animation: rise 0.55s var(--ease) 0.24s both; }
.hs-item { display: flex; flex-direction: column; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: var(--r); padding: 15px 22px; min-width: 150px; box-shadow: var(--inset-hi); transition: transform var(--dur) var(--ease), border-color var(--dur); }
.hs-item:hover { transform: translateY(-3px); border-color: rgba(16, 185, 129, 0.4); }
.hs-item strong { font-family: var(--font-num); font-size: 1.55rem; color: #fff; letter-spacing: -0.02em; }
.hs-item span { color: var(--muted); font-size: 0.86rem; }

/* ---------- Cards ---------- */
.card { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--inset-hi); }
.card-hover { transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur); }
.card-hover:hover { transform: translateY(-4px); border-color: rgba(16, 185, 129, 0.45); box-shadow: var(--shadow), 0 8px 26px rgba(16, 185, 129, 0.10); }

/* ---------- Tool / service grid (home) ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tool-card { padding: 27px 24px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; border-radius: var(--r-lg); }
.tool-card::before { content: ''; position: absolute; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(16, 185, 129, 0.14), transparent 70%); right: -60px; top: -60px; transition: transform 0.4s var(--ease); z-index: 0; }
.tool-card:hover::before { transform: scale(1.4); }
.tool-card .lucide { width: 27px; height: 27px; color: var(--brand-lite); margin-bottom: 4px; position: relative; z-index: 1; }
.tool-card h3 { font-size: 1.06rem; color: #fff; position: relative; z-index: 1; }
.tool-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; position: relative; z-index: 1; }
.tool-go { position: absolute; right: 18px; top: 22px; color: var(--faint); transition: color 0.25s, transform 0.25s var(--ease); z-index: 1; }
.tool-card:hover .tool-go { color: var(--brand-lite); transform: translate(3px, -3px); }

/* ---------- Partner band ---------- */
.partner-band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.partner-card { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 22px 18px; text-align: center; }
.partner-card .partner-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(180deg, var(--brand-soft), rgba(16, 185, 129, 0.05)); border: 1px solid rgba(16, 185, 129, 0.2); }
.partner-card .partner-ic .lucide { width: 26px; height: 26px; color: var(--brand); }
.partner-card strong { font-weight: 600; font-size: 1.04rem; color: #fff; }
.partner-card span { color: var(--muted); font-size: 0.88rem; }
.partner-band-compact { padding: 14px 0; margin-top: 20px; }
.partner-band-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.partner-band-label { font-size: 0.82rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.partner-band-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.partner-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: 0.84rem; font-weight: 600; box-shadow: var(--inset-hi); }
.partner-chip .lucide { width: 16px; height: 16px; color: var(--brand-lite); }

/* ---------- Process steps (home) ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: proc; }
.process-item { position: relative; padding: 28px 26px 24px; border-radius: var(--r-lg); overflow: hidden; }
.process-num {
  width: 46px; height: 46px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-num); font-weight: 700; font-size: 1.2rem; color: var(--brand-lite);
  background: var(--brand-grad); color: #03130b;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.26); margin-bottom: 18px;
  transition: transform var(--dur) var(--ease-spring);
}
.process-item:hover .process-num { transform: scale(1.08) rotate(-4deg); }
.process-item h3 { font-size: 1.04rem; color: #fff; margin-bottom: 8px; }
.process-item p { font-size: 0.92rem; color: var(--muted); line-height: 1.6; }

/* ---------- Mobile band ---------- */
.mobile-band { background: linear-gradient(155deg, #0c0c0f 0%, #121216 55%, #08080a 100%); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); }
.mobile-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; align-items: center; padding: 56px 48px; }
.mob-copy h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); color: #fff; line-height: 1.22; margin-bottom: 14px; letter-spacing: -0.02em; }
.mob-copy p { color: var(--muted); margin-bottom: 22px; max-width: 460px; line-height: 1.7; }
.mob-feats { display: flex; flex-direction: column; gap: 12px; }
.mob-feat { display: flex; align-items: flex-start; gap: 12px; color: var(--text); font-size: 0.99rem; }
.mob-feat .lucide { color: var(--brand-lite); margin-top: 4px; }
.mob-phone { display: flex; justify-content: center; }
.phone { width: 250px; background: #08080a; border: 1px solid var(--line-2); border-radius: 32px; padding: 12px; box-shadow: var(--shadow-lg); }
.phone::before { content: ''; display: block; width: 60px; height: 5px; border-radius: 999px; background: var(--surface-4); margin: 0 auto 10px; }
.phone-screen { background: linear-gradient(175deg, #101013, #08080a); border-radius: 24px; padding: 18px; font-family: var(--font-num); }
.phone-bal { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 12px; box-shadow: var(--inset-hi); }
.phone-bal span { display: block; font-size: 0.72rem; color: var(--muted); margin-bottom: 4px; font-family: var(--font-bn); }
.phone-bal strong { font-size: 1.5rem; color: #fff; }
.phone-row { display: flex; gap: 8px; }
.phone-cell { flex: 1; text-align: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 4px; transition: background var(--dur); }
.phone-cell .lucide { width: 18px; height: 18px; color: var(--brand-lite); margin-inline: auto; margin-bottom: 4px; }
.phone-cell span { font-size: 0.62rem; color: var(--muted); font-family: var(--font-bn); }

/* ---------- Mini calculator (home) ---------- */
.calc-preview { padding: 30px; border-radius: var(--r-lg); }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.calc-row label { color: var(--muted); font-size: 0.95rem; }
.calc-row output { font-family: var(--font-num); font-weight: 600; color: #fff; font-size: 1.05rem; }
input[type="range"] { display: block; width: 100%; appearance: none; -webkit-appearance: none; height: 6px; border-radius: 999px; background: var(--surface-4); outline: none; margin: 10px 0 4px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-grad); border: none; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22), 0 3px 10px rgba(0,0,0,0.5); cursor: pointer; transition: transform 0.15s var(--ease); }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.14); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--brand-grad); border: none; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22); cursor: pointer; }
.calc-output-box { background: var(--surface-2); border: 1px solid var(--line); border-radius: 13px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; box-shadow: var(--inset-hi); }
.calc-output-box span { color: var(--muted); font-size: 0.9rem; }
.calc-output-box strong { font-family: var(--font-num); font-size: 1.42rem; color: var(--brand-lite); letter-spacing: -0.02em; }

/* ---------- Trust band ---------- */
.trust-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.trust-inner { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 34px 0; }
.trust-item { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 600; font-size: 0.96rem; }
.trust-item .lucide { color: var(--brand-lite); width: 24px; height: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: #040406; border-top: 1px solid var(--line); margin-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding: 56px 0 40px; }
.f-brand p { color: var(--muted); font-size: 0.95rem; max-width: 300px; margin: 16px 0 18px; line-height: 1.7; }
.f-brand .brand-mark { width: 36px; height: 36px; border-radius: 11px; }
.f-brand .brand-text { font-size: 1.2rem; }
.f-social { display: flex; gap: 10px; }
.f-social a { width: 40px; height: 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); transition: all var(--dur); }
.f-social a:hover { color: var(--brand-lite); border-color: rgba(16, 185, 129, 0.5); transform: translateY(-2px); background: var(--brand-soft); }
.f-col h4 { font-size: 0.96rem; color: #fff; margin-bottom: 16px; letter-spacing: -0.01em; }
.f-col p { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 0.94rem; margin-bottom: 10px; }
.f-col p .lucide { color: var(--brand-lite); }
.f-link { display: block; color: var(--muted); font-size: 0.94rem; padding: 5px 0; transition: color var(--dur), transform var(--dur) var(--ease); }
.f-link:hover { color: var(--brand-lite); transform: translateX(3px); }
.footer-trust { border-top: 1px solid var(--line); background: #020203; }
.trust-inner.footer { padding: 16px 0; display: flex; gap: 26px; flex-wrap: wrap; color: var(--muted); font-size: 0.84rem; }
.trust-inner.footer span { display: inline-flex; align-items: center; gap: 8px; }
.trust-inner.footer .lucide { color: var(--brand-lite); width: 16px; height: 16px; }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom .container { padding: 18px 0; color: var(--faint); font-size: 0.86rem; text-align: center; }
.footer-bottom strong { color: var(--brand-lite); font-weight: 600; }

/* ---------- Content utilities ---------- */
.cont-title { color: #fff; font-weight: 700; letter-spacing: -0.01em; line-height: 1.35; }
.cont-lead { color: var(--muted); font-size: 0.98rem; line-height: 1.7; margin: 0; }
.cont-muted { color: var(--muted); font-size: 0.92rem; display: block; }
.empty-state { padding: 44px 20px; text-align: center; }
.empty-state .icon-soft { background: var(--brand-soft); color: var(--brand-lite); box-shadow: none; }
.empty-state .cont-title { font-size: 1.2rem; margin: 12px 0 6px; }
.empty-state .cont-lead { margin-bottom: 22px; }
.spacer-top { margin-top: 20px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-lg { display: flex; flex-direction: column; gap: 16px; }

/* ---------- Forms ---------- */
.form-card { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 32px; box-shadow: var(--inset-hi); }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field > label { font-size: 0.92rem; font-weight: 600; color: var(--text); }
.control { position: relative; display: flex; align-items: center; }
.control > .lucide.prefix { position: absolute; left: 14px; width: 17px; height: 17px; color: var(--faint); pointer-events: none; }
.input, .select, .textarea {
  width: 100%; background: var(--bg-2); color: var(--text);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 12px 14px; font-size: 0.98rem; transition: border-color var(--dur), box-shadow var(--dur), background var(--dur);
  min-height: 48px;
}
.input:hover, .select:hover, .textarea:hover { border-color: #3a3a46; }
.control.prefixed .input, .control.prefixed .select { padding-left: 42px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring-focus), var(--inset-hi); background: var(--bg-3); }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:read-only { opacity: 0.75; }
.control .input.is-password { padding-right: 48px; }
.control-suffix { position: absolute; right: 6px; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px; border: none; background: none; color: var(--faint); transition: color var(--dur), background var(--dur); }
.control-suffix:hover { color: var(--brand-lite); background: rgba(16, 185, 129, 0.08); }
.field.invalid .input, .field.invalid .select { border-color: var(--danger); box-shadow: 0 0 0 4px var(--danger-soft); }
.field.valid .input { border-color: var(--brand); }
.error { display: none; font-size: 0.84rem; color: var(--danger); margin-top: 2px; animation: rise 0.25s var(--ease); }
.error.show { display: block; }
.hint { font-size: 0.82rem; color: var(--faint); }
.form-alert { color: var(--danger); font-size: 0.92rem; min-height: 1.2em; text-align: center; display: none; font-weight: 500; }
.form-alert.show { display: block; }
.form-alert.success { color: var(--brand-lite); border: 1px solid rgba(16, 185, 129, 0.35); background: var(--brand-soft); border-radius: 10px; padding: 12px 14px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-actions { display: flex; gap: 12px; margin-top: 22px; }
.dz-label { display: block; }

/* ---------- File dropzone ---------- */
.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px 16px; text-align: center; background: linear-gradient(180deg, var(--bg-2), var(--bg-3)); border: 1.5px dashed var(--line-2); border-radius: var(--r); cursor: pointer; transition: all var(--dur); }
.dropzone:hover, .dropzone.has-file { border-color: var(--brand); background: rgba(16, 185, 129, 0.07); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.08); }
.dropzone .lucide { width: 26px; height: 26px; color: var(--brand-lite); }
.dropzone strong { font-size: 0.94rem; color: var(--text); }
.dropzone span { font-size: 0.82rem; color: var(--faint); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dz-file { display: none; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--brand-lite); }
.dropzone.has-file .dz-prompt { display: none; }
.dropzone.has-file .dz-file { display: inline-flex; }
.dz-file .lucide { width: 16px; height: 16px; }

/* ---------- Checkbox / radio ---------- */
.check { position: relative; display: inline-flex; align-items: flex-start; gap: 11px; font-size: 0.95rem; color: var(--text); cursor: pointer; line-height: 1.5; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check .box { flex-shrink: 0; width: 21px; height: 21px; border: 1.5px solid var(--line-2); border-radius: 7px; background: var(--bg-2); display: inline-flex; align-items: center; justify-content: center; transition: all var(--dur); margin-top: 2px; }
.check .box .lucide { width: 14px; height: 14px; color: #03130b; opacity: 0; transition: opacity var(--dur-fast); }
.check input:checked + .box { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18); }
.check input:checked + .box .lucide { opacity: 1; }
.check input:focus-visible + .box { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3); }

.pill-group { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; }
.pill span { display: flex; flex-direction: column; gap: 2px; align-items: center; padding: 14px 8px; background: var(--bg-2); border: 1.5px solid var(--line-2); border-radius: var(--r-sm); font-weight: 600; font-size: 0.94rem; color: var(--text); transition: all var(--dur); box-shadow: var(--inset-hi); }
.pill small { font-weight: 500; font-size: 0.78rem; color: var(--faint); font-family: var(--font-num); }
.pill input:checked + span { border-color: var(--brand); background: linear-gradient(180deg, var(--brand-soft), rgba(16, 185, 129, 0.05)); color: var(--brand-lite); box-shadow: var(--ring-focus); }
.pill input:checked + span small { color: var(--brand-lite); }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; border: 1px solid transparent; }
.badge .lucide { width: 13px; height: 13px; }
.badge-ok { background: var(--brand-soft); color: var(--brand-lite); border-color: rgba(16, 185, 129, 0.4); }
.badge-warn { background: var(--warn-soft); color: var(--warn); border-color: rgba(245, 185, 79, 0.4); }
.badge-danger { background: var(--danger-soft); color: var(--danger); border-color: rgba(245, 99, 111, 0.4); }
.badge-info { background: var(--info-soft); color: var(--info); border-color: rgba(52, 211, 153, 0.4); }
.badge-muted { background: rgba(255, 255, 255, 0.05); color: var(--muted); border-color: var(--line-2); }

/* ---------- Tables ---------- */
.table-wrap { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.table-wrap .scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; min-width: 640px; }
.table th { background: var(--surface-3); color: #d6e0ea; text-align: left; padding: 13px 16px; font-size: 0.83rem; font-weight: 600; white-space: nowrap; border-bottom: 1px solid var(--line); letter-spacing: 0.01em; }
.table td { padding: 15px 16px; border-bottom: 1px solid var(--line); font-size: 0.93rem; vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr { transition: background 0.15s; }
.table tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
.empty-row { text-align: center; color: var(--muted) !important; padding: 42px 16px !important; }
.empty-row .lucide { margin: 0 auto 12px; width: 34px; height: 34px; color: var(--faint); }

/* Responsive tables (mobile grouped-card view) */
@media (max-width: 640px) {
  .scroll { overflow: visible; }
  .table { min-width: 0; display: block; }
  .table thead { display: none; }
  .table tbody { display: block; width: 100%; }
  .table tbody tr {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 14px 16px;
    margin-bottom: 12px;
    background: linear-gradient(180deg, var(--surface), var(--bg-2));
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur) var(--ease), border-color var(--dur);
  }
  .table tbody tr:active { transform: scale(0.99); }
  .table tbody tr:last-child { margin-bottom: 0; }
  .table tbody tr:hover { background: var(--surface-2); border-color: rgba(16, 185, 129, 0.4); }
  .table td { border: none; padding: 5px 0; }
  .table tbody tr:last-child td { border: none; }
  .table td[data-label] {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.94rem;
  }
  .table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.71rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2px;
  }
  .table td[data-label]:first-child {
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
    margin-bottom: 4px;
  }
  .table td[data-label]:first-child > strong { font-size: 1.02rem; }
  .table .empty-row { grid-template-columns: 1fr !important; }
}
.cell-user { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(150deg, var(--surface-3), var(--surface-2)); border: 1px solid rgba(16, 185, 129, 0.4); color: var(--brand-lite); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: 0.98rem; box-shadow: var(--inset-hi); }
.subtext { color: var(--muted); font-size: 0.8rem; display: block; line-height: 1.5; }
.cell-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Stepper (apply wizard) ---------- */
.stepper { display: flex; align-items: center; margin: 6px auto 30px; max-width: 680px; }
.stepper .step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; position: relative; min-width: 0; }
.stepper .step-dot { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-num); font-weight: 700; font-size: 0.95rem; background: var(--surface-3); border: 1.5px solid var(--line-2); color: var(--faint); transition: all var(--dur-slow) var(--ease); position: relative; z-index: 2; }
.stepper .step-dot .lucide { width: 17px; height: 17px; }
.stepper .step.active .step-dot { background: var(--brand-grad); border-color: var(--brand); color: #03130b; box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.18), 0 6px 16px rgba(16, 185, 129, 0.28); transform: scale(1.06); }
.stepper .step.done .step-dot { background: rgba(16, 185, 129, 0.22); border-color: var(--brand); color: var(--brand-lite); }
.stepper .step-label { font-size: 0.76rem; color: var(--faint); white-space: nowrap; }
.stepper .step.active .step-label { color: var(--brand-lite); font-weight: 600; }
.stepper .step.done .step-label { color: var(--muted); }
.stepper .sline { flex: 1; height: 2px; background: var(--surface-4); margin: 0 6px; margin-bottom: 26px; border-radius: 999px; position: relative; }
.stepper .sline::after { content: ''; position: absolute; inset: 0; width: 0; background: var(--brand-grad); transition: width 0.45s var(--ease); border-radius: inherit; }
.stepper .sline.done::after { width: 100%; }

/* ---------- Wizard layout ---------- */
.wiz { max-width: 680px; margin-inline: auto; }
.wiz-card { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 34px 30px; box-shadow: var(--inset-hi); animation: viewUp 0.5s var(--ease) both; }
.wiz-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.wiz-stepno { width: 42px; height: 42px; border-radius: 13px; background: var(--brand-grad); color: #03130b; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.05rem; box-shadow: 0 8px 18px rgba(16, 185, 129, 0.24); }
.wiz-head h2 { font-size: 1.28rem; color: #fff; margin-bottom: 4px; letter-spacing: -0.01em; }
.wiz-head p { color: var(--muted); font-size: 0.93rem; line-height: 1.6; }
.wiz-actions { display: flex; gap: 12px; margin-top: 26px; }
.wiz-note { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--muted); background: linear-gradient(180deg, var(--bg-2), var(--bg-3)); border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px; margin-top: 16px; line-height: 1.65; }
.wiz-note .lucide { color: var(--info); margin-top: 3px; flex-shrink: 0; }
.wiz-note strong { color: var(--text); }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.kv > div { background: var(--surface-2); padding: 15px 18px; display: flex; flex-direction: column; gap: 3px; box-shadow: var(--inset-hi); }
.kv span { color: var(--muted); font-size: 0.84rem; }
.kv strong { font-family: var(--font-num); font-size: 1.05rem; color: #fff; }
.kv .kv-hero { grid-column: 1 / -1; background: linear-gradient(180deg, var(--brand-soft), var(--surface-2)); }
.kv .kv-hero strong { font-size: 1.5rem; color: var(--brand-lite); }

/* ---------- Auth ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-brand-panel { position: relative; overflow: hidden; background: radial-gradient(760px 440px at 15% 0%, rgba(52, 211, 153, 0.06), transparent 56%), radial-gradient(640px 400px at 90% 100%, rgba(16, 185, 129, 0.12), transparent 56%), linear-gradient(165deg, #060608 0%, #050506 100%); border-right: 1px solid var(--line); padding: 48px 10% 42px; display: flex; flex-direction: column; }
.auth-brand-panel::before { content: ''; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(16, 185, 129, 0.14), transparent 68%); top: -120px; right: -160px; }
.auth-logo { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 60px; position: relative; z-index: 1; }
.auth-brand-panel h1 { position: relative; z-index: 1; font-size: clamp(1.9rem, 3vw, 2.6rem); color: #fff; line-height: 1.24; margin-bottom: 14px; letter-spacing: -0.02em; }
.auth-brand-panel h1 em { font-style: normal; color: var(--brand-lite); }
.auth-brand-panel > p { position: relative; z-index: 1; color: var(--muted); font-size: 1.02rem; max-width: 420px; line-height: 1.7; }
.auth-stats { position: relative; z-index: 1; display: flex; gap: 14px; margin-top: 34px; }
.auth-points { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; margin-top: auto; padding-top: 40px; }
.auth-point { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: 0.98rem; }
.auth-point .lucide { color: var(--brand-lite); }
.auth-form-panel { display: flex; align-items: center; justify-content: center; padding: 40px 5%; }
.auth-card { width: min(420px, 100%); animation: viewUp 0.5s var(--ease) both; }
.auth-heading { margin-bottom: 26px; }
.auth-heading .brand { margin-bottom: 26px; display: none; }
.auth-heading h2 { font-size: 1.6rem; color: #fff; margin-bottom: 6px; letter-spacing: -0.02em; }
.auth-heading p { color: var(--muted); font-size: 0.98rem; }
.auth-switch { text-align: center; margin-top: 20px; color: var(--muted); font-size: 0.94rem; }
.auth-switch a { color: var(--brand-lite); font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }
.auth-forgot { text-align: center; margin-top: 14px; }
.auth-forgot a { color: var(--muted); font-size: 0.9rem; font-weight: 600; transition: color var(--dur); }
.auth-forgot a:hover { color: var(--brand-lite); }
.forgot-note { margin-top: 12px; padding: 12px 14px; border-radius: 11px; font-size: 0.9rem; line-height: 1.6; text-align: center; }
.forgot-note.error { background: var(--danger-soft); border: 1px solid rgba(245, 99, 111, 0.4); color: var(--danger); }
.forgot-note.ok { background: var(--brand-soft); border: 1px solid rgba(16, 185, 129, 0.4); color: var(--brand-lite); }
.forgot-note code { font-family: var(--font-num); color: #fff; }
.forgot-note .lucide { vertical-align: -2px; }

/* ---------- Dashboards ---------- */
.dash-greet { font-size: clamp(1.45rem, 3vw, 1.95rem); color: #fff; margin-bottom: 4px; letter-spacing: -0.02em; }
.dash-greet em { font-style: normal; color: var(--brand-lite); }
.dash-sub { color: var(--muted); margin-bottom: 26px; }
.balance-card { background: linear-gradient(155deg, rgba(16, 185, 129, 0.10), transparent 55%), radial-gradient(320px 230px at 100% -20%, rgba(16, 185, 129, 0.20), transparent 70%), linear-gradient(150deg, #101014 0%, #0c0c0f 55%, #09090b 100%); border: 1px solid rgba(16, 185, 129, 0.34); border-radius: var(--r-xl); padding: 28px 30px; display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden; box-shadow: var(--shadow), var(--inset-hi); }
.balance-card::after { content: ''; position: absolute; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(16, 185, 129, 0.18), transparent 70%); right: -70px; top: -90px; }
.balance-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.92rem; position: relative; z-index: 1; }
.balance-label .lucide { color: var(--brand-lite); }
.balance-amt { font-family: var(--font-num); font-size: clamp(2rem, 4.6vw, 2.75rem); font-weight: 700; color: #fff; letter-spacing: -0.03em; position: relative; z-index: 1; }
.balance-note { color: var(--muted); font-size: 0.86rem; position: relative; z-index: 1; }
.balance-sub { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 0.9rem; padding-top: 4px; position: relative; z-index: 1; }
.balance-sub .lucide { color: var(--brand-lite); }
.balance-sub strong { font-family: var(--font-num); font-size: 1.1rem; font-weight: 600; color: #fff; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.stat-card { padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 4px; border-radius: var(--r); }
.stat-card .stat-ic { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; border: 1px solid transparent; transition: transform var(--dur) var(--ease-spring); }
.stat-card .stat-ic .lucide { width: 20px; height: 20px; }
.stat-card:hover .stat-ic { transform: scale(1.08) rotate(-4deg); }
.stat-card .ic-brand { background: linear-gradient(180deg, var(--brand-soft), rgba(16, 185, 129, 0.03)); color: var(--brand-lite); border-color: rgba(16, 185, 129, 0.22); }
.stat-card .ic-info { background: linear-gradient(180deg, var(--info-soft), rgba(52, 211, 153, 0.03)); color: var(--info); border-color: rgba(52, 211, 153, 0.22); }
.stat-card .ic-gold { background: var(--warn-soft); color: var(--warn); border-color: rgba(245, 185, 79, 0.22); }
.stat-card .ic-red { background: var(--danger-soft); color: var(--danger); border-color: rgba(245, 99, 111, 0.25); }
.stat-card strong { font-family: var(--font-num); font-size: 1.42rem; color: #fff; letter-spacing: -0.02em; }
.stat-card span { color: var(--muted); font-size: 0.86rem; }
.loan-card { margin-top: 20px; padding: 26px 28px; border-radius: var(--r-lg); }
.loan-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.loan-card-head h3 { display: flex; align-items: center; gap: 9px; font-size: 1.05rem; color: #fff; }
.loan-card-head h3 .lucide { color: var(--brand-lite); }
.loan-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.loan-fact { background: var(--bg-2); border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px; box-shadow: var(--inset-hi); transition: border-color var(--dur); }
.loan-fact:hover { border-color: rgba(16, 185, 129, 0.4); }
.loan-fact span { display: block; color: var(--muted); font-size: 0.78rem; margin-bottom: 3px; }
.loan-fact strong { font-family: var(--font-num); color: #fff; font-size: 1.02rem; letter-spacing: -0.01em; }
.progress { height: 9px; border-radius: 999px; background: var(--surface-4); overflow: hidden; box-shadow: inset 0 1px 2px rgba(0,0,0,0.5); }
.progress-bar { height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0a9a6e, #2ee6a8); transition: width 0.7s var(--ease); }
.quick-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 20px; }
.quick-link { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 10px; text-align: center; border-radius: var(--r); }
.quick-link .ql-ic { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(180deg, var(--surface-2), var(--bg-3)); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--brand-lite); transition: all var(--dur) var(--ease); box-shadow: var(--inset-hi); }
.quick-link .ql-ic .lucide { width: 22px; height: 22px; }
.quick-link:hover .ql-ic { background: linear-gradient(180deg, var(--brand-soft), rgba(16, 185, 129, 0.04)); border-color: rgba(16, 185, 129, 0.5); transform: translateY(-4px); box-shadow: 0 10px 22px rgba(16, 185, 129, 0.16); }
.quick-link span { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.column-2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; margin-top: 20px; }
.panel { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm), var(--inset-hi); overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 17px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.panel-head h3 { display: flex; align-items: center; gap: 9px; font-size: 1rem; color: #fff; }
.panel-head h3 .lucide { color: var(--brand-lite); }
.panel-body { padding: 18px 20px; }
.activity-item { display: flex; align-items: flex-start; gap: 13px; padding: 12px 0; border-bottom: 1px dashed var(--line); animation: rise 0.35s var(--ease) both; }
.activity-item:last-child { border-bottom: none; }
.activity-ic { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.activity-ic .lucide { width: 18px; height: 18px; }
.activity-body { flex: 1; min-width: 0; }
.activity-body strong { display: block; font-size: 0.94rem; color: var(--text); line-height: 1.4; }
.activity-body span { font-size: 0.82rem; color: var(--faint); }
.activity-amt { font-family: var(--font-num); font-weight: 700; color: var(--brand-lite); }
.list-empty { text-align: center; color: var(--muted); font-size: 0.94rem; padding: 26px 10px; line-height: 1.6; }
.list-empty .lucide { width: 30px; height: 30px; margin: 0 auto 10px; color: var(--faint); }

/* ---------- Support chat ---------- */
.chat-band { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.chat-list { max-height: 380px; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-2); }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 15px; font-size: 0.94rem; line-height: 1.55; word-break: break-word; box-shadow: var(--shadow-sm); animation: bubblein 0.3s var(--ease); }
@keyframes bubblein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bubble .bubble-time { display: block; font-size: 0.7rem; margin-top: 5px; opacity: 0.65; }
.bubble.user { background: var(--brand-grad); color: #03130b; align-self: flex-start; border-bottom-left-radius: 4px; font-weight: 500; }
.bubble.admin { background: var(--surface-3); color: var(--text); align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-input-row { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--line); align-items: flex-end; }
.chat-input-row .control { flex: 1; }
.chat-input-row .textarea { resize: none; }

/* ---------- Accordion (FAQ) ---------- */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc-item { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color var(--dur), box-shadow var(--dur); }
.acc-item.open { border-color: rgba(16, 185, 129, 0.5); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), var(--ring-focus); }
.acc-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: none; border: none; padding: 18px 22px; font-size: 1rem; font-weight: 600; color: #fff; text-align: left; transition: background var(--dur); min-height: 54px; }
.acc-q:hover { background: rgba(255, 255, 255, 0.03); }
.acc-q .lucide { color: var(--muted); transition: transform var(--dur-slow) var(--ease), color var(--dur); flex-shrink: 0; }
.acc-item.open .acc-q .lucide { transform: rotate(180deg); color: var(--brand-lite); }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-slow) var(--ease); }
.acc-item.open .acc-a { grid-template-rows: 1fr; }
.acc-a-inner { overflow: hidden; }
.acc-a-inner p { padding: 0 22px 20px; color: var(--muted); font-size: 0.95rem; line-height: 1.7; }

/* ---------- About ---------- */
.about-head { text-align: center; padding: 60px 0 20px; }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.about-card { padding: 30px 26px; text-align: center; border-radius: var(--r-lg); }
.about-card .lucide { width: 30px; height: 30px; color: var(--brand-lite); margin: 0 auto 16px; }
.about-card h3 { color: #fff; font-size: 1.08rem; margin-bottom: 10px; }
.about-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.65; }

/* ---------- Eligibility ---------- */
.elig-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; align-items: start; }
.elig { display: flex; align-items: center; gap: 12px; border-radius: var(--r-sm); padding: 16px 18px; font-weight: 600; font-size: 1.02rem; margin-bottom: 18px; }
.elig .lucide { width: 26px; height: 26px; flex-shrink: 0; }
.elig.ok { background: var(--brand-soft); border: 1px solid rgba(16, 185, 129, 0.4); color: var(--brand-lite); }
.elig.no { background: var(--danger-soft); border: 1px solid rgba(245, 99, 111, 0.4); color: var(--danger); }
.elig strong { font-family: var(--font-num); color: #fff; }

/* ---------- EMI calculator ---------- */
.calc-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 22px; }
.calc-controls { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--inset-hi); }
.calc-output { background: linear-gradient(155deg, rgba(16, 185, 129, 0.10), transparent 55%), radial-gradient(320px 210px at 100% 0%, rgba(16, 185, 129, 0.18), transparent 70%), linear-gradient(155deg, #101014, #0c0c0f); border: 1px solid rgba(16, 185, 129, 0.30); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; justify-content: center; gap: 6px; box-shadow: var(--shadow), var(--inset-hi); }
.out-row { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; }
.out-row span { color: var(--muted); font-size: 0.92rem; }
.out-row strong { font-family: var(--font-num); font-size: 1.28rem; color: #fff; letter-spacing: -0.01em; }
.out-divider { height: 1px; background: var(--line); margin: 8px 0; }
.out-main strong { font-size: 2.05rem; color: var(--brand-lite); letter-spacing: -0.02em; }

/* ---------- Empty / misc ---------- */
.success-ic { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: var(--brand-grad); color: #03130b; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 32px var(--brand-glow), var(--inset-hi); animation: successpop 0.5s var(--ease-spring); }
@keyframes successpop { 0% { transform: scale(0.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.success-ic .lucide { width: 38px; height: 38px; }
.success-title { font-size: 1.7rem; color: #fff; margin-bottom: 8px; letter-spacing: -0.02em; animation: rise 0.5s var(--ease) 0.1s both; }
.success-sub { color: var(--muted); font-size: 0.98rem; max-width: 420px; margin: 0 auto; line-height: 1.7; animation: rise 0.5s var(--ease) 0.18s both; }
.agree-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 6px 0 18px; }
.agree-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-size: 0.94rem; background: linear-gradient(180deg, var(--bg-2), var(--bg-3)); border: 1px solid var(--line); border-radius: 11px; padding: 11px 14px; line-height: 1.6; animation: rise 0.4s var(--ease) both; }
.agree-list li .lucide { color: var(--brand-lite); margin-top: 4px; flex-shrink: 0; }
.agree-list strong { color: var(--brand-lite); }
.page-min { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 40px 0; }
.meter-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.meter-label span { color: var(--muted); font-size: 0.86rem; }
.meter-label strong { font-family: var(--font-num); color: #fff; }

/* ---------- Toast ---------- */
.toast-stack { position: fixed; top: 18px; right: 18px; z-index: 900; display: flex; flex-direction: column; gap: 10px; pointer-events: none; max-width: min(360px, calc(100vw - 24px)); }
.toast { display: flex; align-items: center; gap: 11px; background: linear-gradient(180deg, var(--surface-3), var(--surface-2)); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 13px; box-shadow: var(--shadow-lg); padding: 13px 14px; pointer-events: auto; color: var(--text); font-size: 0.93rem; font-weight: 500; transform: translateX(calc(100% + 20px)); transition: transform var(--dur-slow) var(--ease); }
.toast.show { transform: none; }
.toast.error { border-left-color: var(--danger); }
.toast.info { border-left-color: var(--info); }
.toast-ic { flex-shrink: 0; width: 28px; height: 28px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand-lite); }
.toast.error .toast-ic { background: var(--danger-soft); color: var(--danger); }
.toast.info .toast-ic { background: var(--info-soft); color: var(--info); }
.toast-close { background: none; border: none; color: var(--faint); margin-left: auto; padding: 4px; flex-shrink: 0; border-radius: 6px; transition: color var(--dur); min-width: 30px; min-height: 30px; }
.toast-close:hover { color: #fff; }

/* ---------- Modal ---------- */
.modal-mask { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.76); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 1000; animation: fadeIn 0.2s var(--ease); }
.modal { width: min(420px, 100%); background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 30px 28px; text-align: center; animation: popIn 0.34s var(--ease-spring); }
.modal-ic { width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%; background: var(--danger-soft); border: 2px solid rgba(245, 99, 111, 0.45); color: var(--danger); display: flex; align-items: center; justify-content: center; }
.modal-ic .lucide { width: 30px; height: 30px; }
.modal h3 { color: #fff; font-size: 1.24rem; margin-bottom: 8px; }
.modal p { color: var(--muted); font-size: 0.96rem; line-height: 1.6; margin-bottom: 24px; }
.modal-actions { display: flex; gap: 12px; }
.modal-actions .btn { flex: 1; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(18px) scale(0.96); } to { opacity: 1; transform: none; } }

/* ---------- Mobile bottom nav (frosted glass + center FAB) ---------- */
.mnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: none;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  background: rgba(5, 5, 7, 0.92); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  border-top: 1px solid var(--line);
  padding: 4px 6px calc(6px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.5);
}
.mnav-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 7px 2px; color: var(--muted); font-size: 0.72rem; font-weight: 600; position: relative; transition: color var(--dur); min-height: 48px; justify-content: center; }
.mnav-item .mnav-ic { display: inline-flex; align-items: center; justify-content: center; }
.mnav-item .lucide { width: 22px; height: 22px; transition: transform 0.2s var(--ease-spring); }
.mnav-item:hover { color: #fff; }
.mnav-item.active { color: var(--brand-lite); }
.mnav-item.active::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 3px; border-radius: 0 0 5px 5px; background: var(--brand-grad); }
.mnav-item:nth-child(3) { border-radius: 14px; background: var(--brand-grad); color: #03130b; margin: 2px 6px; box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4), var(--inset-hi); font-weight: 700; }
.mnav-item:nth-child(3) .lucide { color: #03130b; }
.mnav-item:nth-child(3).active { color: #03130b; }
.mnav-item:nth-child(3).active::before { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .tool-grid, .process-grid, .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-grid, .loan-facts { grid-template-columns: repeat(2, 1fr); }
  .auth { grid-template-columns: 1fr; }
  .auth-brand-panel { display: none; }
  .auth-heading .brand { display: inline-flex; }
  .column-2 { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mobile-grid { grid-template-columns: 1fr; padding: 40px 30px; }
  .elig-grid { grid-template-columns: 1fr; }
  .mob-phone { display: none; }
}
@media (max-width: 860px) {
  .hamburger { display: inline-flex; }
  .nav-wrap { margin-left: auto; }
  .nav { position: fixed; inset: 0 0 auto 0; z-index: 70; background: #0a0a0c; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 3px; padding: 18px 16px; display: none; margin-left: 0; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
  .nav.open { display: flex; animation: dropnav 0.3s var(--ease); }
  @keyframes dropnav { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
  .nav-link { padding: 14px 16px; border-radius: 11px; min-height: 48px; display: flex; align-items: center; }
  .nav-link.active::after { display: none; }
  .nav-link.active { background: var(--brand-soft); }
  .mnav { display: grid; }
}
@media (max-width: 640px) {
  .sec { padding: 54px 0; }
  .hero-inner { padding: 60px 0 48px; }
  .hero-title { font-size: clamp(1.9rem, 5vw, 2.9rem); }
  .tool-grid, .process-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .form-actions, .wiz-actions { flex-direction: column; }
  .form-actions .btn, .wiz-actions .btn, .wiz-actions a.btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; padding: 40px 0 28px; }
  .stat-grid, .loan-facts, .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .kv { grid-template-columns: 1fr; }
  .wiz-card, .form-card { padding: 24px 20px; }
  .header-inner { gap: 10px; padding: 11px 0; }
  .brand-text { font-size: 1.15rem; }
  .header-actions { gap: 8px; }
  .guest-actions { gap: 8px; }
  .hero-actions .btn { width: 100%; }
  .stepper { margin: 4px auto 24px; max-width: none; }
  .stepper .step-dot { width: 30px; height: 30px; font-size: 0.82rem; }
  .stepper .step { gap: 4px; }
  .stepper .sline { margin-bottom: 20px; }
  .stepper .step-label { font-size: 0; }
  .stepper .step.active .step-label, .stepper .step.done .step-label { font-size: 0.72rem; }
  .stepper .step:not(.active):not(.done) .step-label { display: none; }
  .modal-actions { flex-direction: column; }
  .modal-actions .btn { width: 100%; }
  .hero-stats { width: 100%; }
  .hs-item { flex: 1; min-width: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .auth-stats { gap: 10px; flex-wrap: wrap; }
  .auth-stats .hs-item { flex: 1 1 40%; }
  .tool-go { display: none; }
  .stat-card { padding: 16px 15px; }
  .stat-card .stat-ic { width: 38px; height: 38px; }
  .quick-link { padding: 16px 8px; }
  .loan-card, .calc-controls, .calc-preview, .calc-output { padding: 22px 20px; }
  .loan-facts { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .container, .wrap, .wrap-narrow { width: 94%; }
}
@media (max-width: 480px) {
  .pill-group { grid-template-columns: 1fr; }
  .mnav-item { font-size: 0.66rem; padding: 5px 2px; }
  .mnav-item .lucide { width: 20px; height: 20px; }
  .mnav-item:nth-child(3) { margin: 2px 4px; }
  .balance-card { padding: 22px 22px; }
  .balance-amt { font-size: clamp(1.7rem, 4.6vw, 2.3rem); }
  .hero-title { font-size: clamp(1.85rem, 5vw, 2.7rem); }
  .hero-sub { font-size: 1.05rem; }
  .sec-title { font-size: clamp(1.5rem, 3.4vw, 2rem); }
  .hs-item { min-width: 0; padding: 12px 14px; }
  .btn, .btn-lg { padding-left: 18px; padding-right: 18px; }
  .toast-stack { top: 12px; right: 12px; }
  .header-actions .guest-actions .btn { padding: 0; width: 40px; height: 40px; border-radius: 11px; font-size: 0; }
  .header-actions .guest-actions .btn .lucide { width: 20px; height: 20px; font-size: 20px; }
  .hamburger { width: 40px; height: 40px; }
  .loan-fact { padding: 10px 12px; }
  .wiz-head { gap: 13px; }
  .wiz-stepno { width: 38px; height: 38px; }
  .partner-card { padding: 18px 12px; }
}

/* ---------- Very small screens (<360px) ---------- */
@media (max-width: 359px) {
  .stat-grid, .loan-facts, .quick-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-card { padding: 14px 12px; }
  .stat-card .stat-ic { width: 34px; height: 34px; margin-bottom: 8px; }
  .stat-card strong { font-size: 1.15rem; }
  .quick-link { padding: 14px 6px; }
  .quick-link .ql-ic { width: 40px; height: 40px; }
  .mnav-item { font-size: 0.62rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal, .view, .rise { opacity: 1; transform: none; }
}