/* ==========================================
   OMNI X BY STERLING — LIGHT MODE
   Active when <html> has the .light class (set by scripts/theme.js).
   ========================================== */

/* Tailwind palette remap (see scripts/tailwind.config.js): white becomes ink,
   neutrals invert, pale accent text (100–400) deepens for contrast on light. */
html.light {
  --tw-c-white: 15 23 42;
  --tw-c-neutral-50: 10 10 10; --tw-c-neutral-100: 23 23 23; --tw-c-neutral-200: 38 38 38; --tw-c-neutral-300: 64 64 64; --tw-c-neutral-400: 82 82 82; --tw-c-neutral-500: 115 115 115; --tw-c-neutral-600: 163 163 163; --tw-c-neutral-700: 212 212 212; --tw-c-neutral-800: 229 229 229; --tw-c-neutral-900: 238 240 244; --tw-c-neutral-950: 246 247 249;
  --tw-c-slate-50: 2 6 23; --tw-c-slate-100: 15 23 42; --tw-c-slate-200: 30 41 59; --tw-c-slate-300: 51 65 85; --tw-c-slate-400: 71 85 105; --tw-c-slate-500: 100 116 139; --tw-c-slate-600: 148 163 184; --tw-c-slate-700: 203 213 225; --tw-c-slate-800: 226 232 240; --tw-c-slate-900: 238 240 244; --tw-c-slate-950: 246 247 249;
  --tw-c-zinc-50: 9 9 11; --tw-c-zinc-100: 24 24 27; --tw-c-zinc-200: 39 39 42; --tw-c-zinc-300: 63 63 70; --tw-c-zinc-400: 82 82 91; --tw-c-zinc-500: 113 113 122; --tw-c-zinc-600: 161 161 170; --tw-c-zinc-700: 212 212 216; --tw-c-zinc-800: 228 228 231; --tw-c-zinc-900: 238 240 244; --tw-c-zinc-950: 246 247 249;
  --tw-c-gray-50: 3 7 18; --tw-c-gray-100: 17 24 39; --tw-c-gray-200: 31 41 55; --tw-c-gray-300: 55 65 81; --tw-c-gray-400: 75 85 99; --tw-c-gray-500: 107 114 128; --tw-c-gray-600: 156 163 175; --tw-c-gray-700: 209 213 219; --tw-c-gray-800: 229 231 235; --tw-c-gray-900: 238 240 244; --tw-c-gray-950: 246 247 249;
  --tw-c-stone-50: 12 10 9; --tw-c-stone-100: 28 25 23; --tw-c-stone-200: 41 37 36; --tw-c-stone-300: 68 64 60; --tw-c-stone-400: 87 83 78; --tw-c-stone-500: 120 113 108; --tw-c-stone-600: 168 162 158; --tw-c-stone-700: 214 211 209; --tw-c-stone-800: 231 229 228; --tw-c-stone-900: 238 240 244; --tw-c-stone-950: 246 247 249;
  --tw-c-blue-100: 30 58 138; --tw-c-blue-200: 30 64 175; --tw-c-blue-300: 29 78 216; --tw-c-blue-400: 37 99 235;
  --tw-c-sky-100: 12 74 110; --tw-c-sky-200: 7 89 133; --tw-c-sky-300: 3 105 161; --tw-c-sky-400: 2 132 199;
  --tw-c-cyan-100: 22 78 99; --tw-c-cyan-200: 21 94 117; --tw-c-cyan-300: 14 116 144; --tw-c-cyan-400: 8 145 178;
  --tw-c-indigo-100: 49 46 129; --tw-c-indigo-200: 55 48 163; --tw-c-indigo-300: 67 56 202; --tw-c-indigo-400: 79 70 229;
  --tw-c-violet-100: 76 29 149; --tw-c-violet-200: 91 33 182; --tw-c-violet-300: 109 40 217; --tw-c-violet-400: 124 58 237;
  --tw-c-purple-100: 88 28 135; --tw-c-purple-200: 107 33 168; --tw-c-purple-300: 126 34 206; --tw-c-purple-400: 147 51 234;
  --tw-c-fuchsia-100: 112 26 117; --tw-c-fuchsia-200: 134 25 143; --tw-c-fuchsia-300: 162 28 175; --tw-c-fuchsia-400: 192 38 211;
  --tw-c-pink-100: 131 24 67; --tw-c-pink-200: 157 23 77; --tw-c-pink-300: 190 24 93; --tw-c-pink-400: 219 39 119;
  --tw-c-rose-100: 136 19 55; --tw-c-rose-200: 159 18 57; --tw-c-rose-300: 190 18 60; --tw-c-rose-400: 225 29 72;
  --tw-c-red-100: 127 29 29; --tw-c-red-200: 153 27 27; --tw-c-red-300: 185 28 28; --tw-c-red-400: 220 38 38;
  --tw-c-orange-100: 124 45 18; --tw-c-orange-200: 154 52 18; --tw-c-orange-300: 194 65 12; --tw-c-orange-400: 234 88 12;
  --tw-c-amber-100: 120 53 15; --tw-c-amber-200: 146 64 14; --tw-c-amber-300: 180 83 9; --tw-c-amber-400: 217 119 6;
  --tw-c-yellow-100: 113 63 18; --tw-c-yellow-200: 133 77 14; --tw-c-yellow-300: 161 98 7; --tw-c-yellow-400: 202 138 4;
  --tw-c-lime-100: 54 83 20; --tw-c-lime-200: 63 98 18; --tw-c-lime-300: 77 124 15; --tw-c-lime-400: 101 163 13;
  --tw-c-green-100: 20 83 45; --tw-c-green-200: 22 101 52; --tw-c-green-300: 21 128 61; --tw-c-green-400: 22 163 74;
  --tw-c-emerald-100: 6 78 59; --tw-c-emerald-200: 6 95 70; --tw-c-emerald-300: 4 120 87; --tw-c-emerald-400: 5 150 105;
  --tw-c-teal-100: 19 78 74; --tw-c-teal-200: 17 94 89; --tw-c-teal-300: 15 118 110; --tw-c-teal-400: 13 148 136;
}

/* Keep the dashboard device mockup in its original dark styling
   (initial = unset, so every colour falls back to its dark value). */
html.light .macbook-lid {
  --tw-c-white: initial;
  --tw-c-neutral-50: initial; --tw-c-neutral-100: initial; --tw-c-neutral-200: initial; --tw-c-neutral-300: initial; --tw-c-neutral-400: initial; --tw-c-neutral-500: initial; --tw-c-neutral-600: initial; --tw-c-neutral-700: initial; --tw-c-neutral-800: initial; --tw-c-neutral-900: initial; --tw-c-neutral-950: initial;
  --tw-c-slate-50: initial; --tw-c-slate-100: initial; --tw-c-slate-200: initial; --tw-c-slate-300: initial; --tw-c-slate-400: initial; --tw-c-slate-500: initial; --tw-c-slate-600: initial; --tw-c-slate-700: initial; --tw-c-slate-800: initial; --tw-c-slate-900: initial; --tw-c-slate-950: initial;
  --tw-c-zinc-50: initial; --tw-c-zinc-100: initial; --tw-c-zinc-200: initial; --tw-c-zinc-300: initial; --tw-c-zinc-400: initial; --tw-c-zinc-500: initial; --tw-c-zinc-600: initial; --tw-c-zinc-700: initial; --tw-c-zinc-800: initial; --tw-c-zinc-900: initial; --tw-c-zinc-950: initial;
  --tw-c-gray-50: initial; --tw-c-gray-100: initial; --tw-c-gray-200: initial; --tw-c-gray-300: initial; --tw-c-gray-400: initial; --tw-c-gray-500: initial; --tw-c-gray-600: initial; --tw-c-gray-700: initial; --tw-c-gray-800: initial; --tw-c-gray-900: initial; --tw-c-gray-950: initial;
  --tw-c-stone-50: initial; --tw-c-stone-100: initial; --tw-c-stone-200: initial; --tw-c-stone-300: initial; --tw-c-stone-400: initial; --tw-c-stone-500: initial; --tw-c-stone-600: initial; --tw-c-stone-700: initial; --tw-c-stone-800: initial; --tw-c-stone-900: initial; --tw-c-stone-950: initial;
  --tw-c-blue-100: initial; --tw-c-blue-200: initial; --tw-c-blue-300: initial; --tw-c-blue-400: initial;
  --tw-c-sky-100: initial; --tw-c-sky-200: initial; --tw-c-sky-300: initial; --tw-c-sky-400: initial;
  --tw-c-cyan-100: initial; --tw-c-cyan-200: initial; --tw-c-cyan-300: initial; --tw-c-cyan-400: initial;
  --tw-c-indigo-100: initial; --tw-c-indigo-200: initial; --tw-c-indigo-300: initial; --tw-c-indigo-400: initial;
  --tw-c-violet-100: initial; --tw-c-violet-200: initial; --tw-c-violet-300: initial; --tw-c-violet-400: initial;
  --tw-c-purple-100: initial; --tw-c-purple-200: initial; --tw-c-purple-300: initial; --tw-c-purple-400: initial;
  --tw-c-fuchsia-100: initial; --tw-c-fuchsia-200: initial; --tw-c-fuchsia-300: initial; --tw-c-fuchsia-400: initial;
  --tw-c-pink-100: initial; --tw-c-pink-200: initial; --tw-c-pink-300: initial; --tw-c-pink-400: initial;
  --tw-c-rose-100: initial; --tw-c-rose-200: initial; --tw-c-rose-300: initial; --tw-c-rose-400: initial;
  --tw-c-red-100: initial; --tw-c-red-200: initial; --tw-c-red-300: initial; --tw-c-red-400: initial;
  --tw-c-orange-100: initial; --tw-c-orange-200: initial; --tw-c-orange-300: initial; --tw-c-orange-400: initial;
  --tw-c-amber-100: initial; --tw-c-amber-200: initial; --tw-c-amber-300: initial; --tw-c-amber-400: initial;
  --tw-c-yellow-100: initial; --tw-c-yellow-200: initial; --tw-c-yellow-300: initial; --tw-c-yellow-400: initial;
  --tw-c-lime-100: initial; --tw-c-lime-200: initial; --tw-c-lime-300: initial; --tw-c-lime-400: initial;
  --tw-c-green-100: initial; --tw-c-green-200: initial; --tw-c-green-300: initial; --tw-c-green-400: initial;
  --tw-c-emerald-100: initial; --tw-c-emerald-200: initial; --tw-c-emerald-300: initial; --tw-c-emerald-400: initial;
  --tw-c-teal-100: initial; --tw-c-teal-200: initial; --tw-c-teal-300: initial; --tw-c-teal-400: initial;
}

/* Solid brand buttons keep white text in light mode. */
html.light [class*="bg-blue-600/80"],
html.light [class*="from-blue-600"][class*="to-indigo-600"] {
  --tw-c-white: initial;
}

/* ==========================================
   PAGE SHELL
   ========================================== */
html.light {
  color-scheme: light;
  --lm-bg: #f5f7fb;
  --lm-surface: #ffffff;
  --lm-ink: #0f172a;
  --lm-muted: #475569;
  --lm-line: rgba(15, 23, 42, 0.09);
  --lm-line-strong: rgba(15, 23, 42, 0.16);
  --lm-shadow: 0 22px 50px -26px rgba(15, 23, 42, 0.28);
  --hero-ice: #1d4ed8;
  --logo-ink: #3256a5; /* Omni X brand blue */
  --logo-sub: #2552b8;
}
html.light body {
  background-color: var(--lm-bg);
  color: var(--lm-ink);
}
html.light .macbook-lid { --logo-ink: initial; --logo-sub: initial; }

/* Theme-adaptive logo (symbols used in the header, footer and dashboard). */
.omnix-logo-primary { fill: var(--logo-ink, #ffffff); }
.omnix-logo-sub { fill: var(--logo-sub, #93c5fd); }

/* Background aura: the dark theme's giant blurred orbs depend on GPU blur, which some
   phones cut short, leaving a hard-edged violet slab on a light page. Light mode paints a
   soft static wash instead (no filters), which renders the same on every device. */
html.light .fixed.inset-0.z-0 {
  filter: none;
  opacity: 1;
  background:
    radial-gradient(70% 40% at 75% 0%, rgba(37, 99, 235, 0.09), transparent 70%),
    radial-gradient(55% 35% at 100% 60%, rgba(16, 185, 129, 0.06), transparent 70%),
    radial-gradient(60% 40% at 0% 100%, rgba(225, 29, 72, 0.05), transparent 70%);
}
html.light .aura-orb { display: none; }
html.light #unicorn-aura { display: none; }
html.light #fluxora-grid path { stroke: #0f172a; }

html.light ::-webkit-scrollbar-track { background: var(--lm-bg); }
html.light ::-webkit-scrollbar-thumb { background: #cbd5e1; }
html.light ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ==========================================
   HEADER — LIGHT LIQUID GLASS CAPSULE
   ========================================== */
html.light #liquid-glass-navbar {
  background: linear-gradient(180deg, #ffffff 0%, #f4f6fa 60%, #e9edf4 100%);
}
html.light .liquid-glass-nav,
html.light .liquid-glass-nav.is-scrolled {
  box-shadow:
    0 18px 40px -16px rgba(15, 23, 42, 0.22),
    0 4px 12px -4px rgba(15, 23, 42, 0.1),
    0 0 0 0.75px rgba(15, 23, 42, 0.1),
    inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1.5px 1px 0 rgba(15, 23, 42, 0.05);
}
/* The refraction layer shows an unblurred copy of the page and aura behind the header;
   on a light page it tints the capsule and pills green/violet, so light mode uses a
   clean frosted capsule instead. */
html.light #liquid-glass-navbar .liquid-glass-refraction-clip { display: none; }
html.light .liquid-glass-surface-tint { box-shadow: none; }
html.light .liquid-glass-nav::after { mix-blend-mode: normal; opacity: 0.5; }
html.light .liquid-glass-pill {
  background: linear-gradient(160deg, #ffffff 0%, #f1f5f9 100%);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 2px 8px rgba(15, 23, 42, 0.08);
}
html.light .liquid-nav-link:hover { color: var(--lm-ink); text-shadow: none; }
html.light .liquid-nav-link::before {
  background: rgba(15, 23, 42, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
html.light .omnix-menu-bar { background-color: var(--lm-ink); }
html.light .omnix-mobile-backdrop { background: rgba(148, 163, 184, 0.35); }
html.light .omnix-mobile-drawer-inner {
  background-color: var(--lm-surface);
  border-color: var(--lm-line);
  box-shadow: 0 20px 44px -14px rgba(15, 23, 42, 0.28);
}
html.light .omnix-mobile-link { color: #334155; }
html.light .omnix-mobile-link:hover,
html.light .omnix-mobile-link:active { background-color: rgba(15, 23, 42, 0.05); color: var(--lm-ink); }

/* Theme toggle (shared header) */
.omnix-theme-toggle .omnix-theme-moon { display: none; }
html.light .omnix-theme-toggle .omnix-theme-sun { display: none; }
html.light .omnix-theme-toggle .omnix-theme-moon { display: block; }
.omnix-theme-toggle svg { transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.omnix-theme-toggle:hover svg { transform: rotate(-18deg); }
html.theme-switching *,
html.theme-switching *::before,
html.theme-switching *::after {
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, fill 0.35s ease !important;
}

/* ==========================================
   HERO
   ========================================== */
html.light .omnix-hero.omnix-hero { background: radial-gradient(ellipse at 70% 50%, rgba(37, 99, 235, 0.08), transparent 65%); }
html.light .hero-rotating-word { color: #1d4ed8; }
html.light .hero-yields {
  background: linear-gradient(100deg, #0f172a 5%, #1e3a8a 48%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
html.light .hero-copy > p { color: var(--lm-muted); }
html.light .hero-actions > a:last-child {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--lm-line-strong);
  box-shadow: 0 6px 18px -10px rgba(15, 23, 42, 0.3);
}
html.light .hero-actions > a:hover { filter: brightness(1.05); }
html.light .hero-x-art img { filter: drop-shadow(0 22px 22px rgba(15, 23, 42, 0.22)) drop-shadow(0 0 28px rgba(37, 99, 235, 0.18)); }
html.light .hero-x-art::after { background: rgba(15, 23, 42, 0.25); }
html.light .border-gradient::before {
  background: linear-gradient(225deg, rgba(15, 23, 42, 0.04) 0%, rgba(15, 23, 42, 0.22) 50%, rgba(15, 23, 42, 0.04) 100%);
}
/* Device mockup sits on a light page: soften its outer shadow. */
html.light .macbook-lid {
  box-shadow: 0 0 0 1.5px #3f444e, 0 0 0 3px #16181d, 0 35px 80px -28px rgba(15, 23, 42, 0.55), 0 0 80px -20px rgba(37, 99, 235, 0.25);
}
html.light .macbook-base { box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.85), inset 0 -4px 6px rgba(75, 85, 99, 0.55), 0 20px 40px -14px rgba(15, 23, 42, 0.45); }
html.light .macbook-foot { box-shadow: 0 4px 10px rgba(15, 23, 42, 0.3); }
@media (max-width: 767.98px) {
  html.light .macbook-lid {
    box-shadow: inset 0 0 0 1.5px #1f232b, inset 0 1px 1px rgba(255, 255, 255, 0.22), 0 -8px 60px -15px rgba(37, 99, 235, 0.22);
  }
}
html.light .iphone-bottom-fade {
  background: linear-gradient(180deg, rgba(245, 247, 251, 0) 0%, rgba(245, 247, 251, 0.35) 38%, rgba(245, 247, 251, 0.8) 72%, rgba(245, 247, 251, 0.97) 100%);
}

/* ==========================================
   TICKER & KICKER PILL
   ========================================== */
html.light .omnix-ticker-item {
  background: linear-gradient(165deg, #ffffff 0%, #f1f5f9 100%);
  border-color: var(--lm-line);
  box-shadow: inset 0 1px 0 #ffffff, 0 8px 20px -12px rgba(15, 23, 42, 0.25);
}
html.light .omnix-ticker-item:hover {
  background: linear-gradient(165deg, #ffffff 0%, #e8efff 100%);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 12px 26px -12px rgba(37, 99, 235, 0.35);
}
html.light .omnix-ticker-text { color: #1e293b; }
html.light .omnix-ticker-item:hover .omnix-ticker-text { color: var(--lm-ink); }
html.light .omnix-ticker-sep { color: rgba(37, 99, 235, 0.45); }
html.light .cbn-kicker-pill {
  box-shadow: 0 10px 24px -12px rgba(15, 23, 42, 0.25), 0 -6px 22px -8px rgba(56, 189, 248, 0.25), inset 0 1px 0 #ffffff;
}

/* ==========================================
   INVESTMENTS — FILTERS & SWISS MATRIX
   ========================================== */
html.light .inst-filter-btn {
  color: #334155;
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--lm-line);
}
html.light .inst-filter-btn:hover { color: var(--lm-ink); border-color: var(--lm-line-strong); }
html.light .inst-filter-btn.is-active { color: #ffffff; text-shadow: none; background: transparent; border-color: transparent; }
html.light .inst-filter-pill {
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  border-color: rgba(29, 78, 216, 0.6);
  box-shadow: 0 8px 20px -8px rgba(37, 99, 235, 0.5);
}
html.light .omnix-swiss-matrix {
  background:
    radial-gradient(520px circle at var(--matrix-mx) var(--matrix-my), rgba(37, 99, 235, calc(0.07 * var(--matrix-spotlight-opacity))), transparent 75%),
    rgba(255, 255, 255, 0.86);
  border-color: var(--lm-line);
  box-shadow: inset 0 1px 0 #ffffff, var(--lm-shadow);
}
html.light .omnix-swiss-matrix::after { mix-blend-mode: normal; opacity: 0.4; }
html.light .omnix-matrix-crosshair::before,
html.light .omnix-matrix-crosshair::after { background: rgba(71, 85, 105, 0.4); box-shadow: none; }
html.light .omnix-matrix-cell { border-color: var(--lm-line); }
html.light .omnix-matrix-watermark { color: rgba(15, 23, 42, 0.035); }
html.light .omnix-matrix-cell:hover .omnix-matrix-watermark { color: rgba(var(--cell-accent), 0.12); }
html.light .omnix-matrix-cta,
html.light .omnix-matrix-arrow { color: #64748b; }
html.light .omnix-matrix-cell:hover .omnix-matrix-cta { color: var(--lm-ink); }

/* ==========================================
   HOW IT WORKS
   ========================================== */
html.light .omnix-hiw-track { background: rgba(15, 23, 42, 0.08); }
html.light .omnix-hiw-step { background: rgba(255, 255, 255, 0.6); border-color: var(--lm-line); }
html.light .omnix-hiw-step:hover { background: rgba(255, 255, 255, 0.9); border-color: var(--lm-line-strong); }
html.light .omnix-hiw-step.is-active {
  background: radial-gradient(90% 120% at 0% 0%, rgba(37, 99, 235, 0.08) 0%, transparent 70%), #ffffff;
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: var(--lm-shadow);
}
html.light .omnix-hiw-node { background: #ffffff; box-shadow: 0 0 0 4px var(--lm-bg); }
html.light .omnix-hiw-node-num { color: #64748b; }
html.light .omnix-hiw-step.is-active .omnix-hiw-node-num,
html.light .omnix-hiw-step.is-passed .omnix-hiw-node-num { color: #1d4ed8; }
html.light .omnix-hiw-ring-bg { stroke: rgba(15, 23, 42, 0.12); }
html.light .omnix-hiw-ring-fg,
html.light .omnix-hiw-step.is-active .omnix-hiw-ring-fg { stroke: #2563eb; }
html.light .omnix-hiw-step-title { color: #1e293b; }
html.light .omnix-hiw-step.is-active .omnix-hiw-step-title { color: var(--lm-ink); }
html.light .omnix-hiw-step-tag { color: #475569; background: rgba(15, 23, 42, 0.04); border-color: var(--lm-line); }
html.light .omnix-hiw-step.is-active .omnix-hiw-step-tag { color: #1d4ed8; background: rgba(37, 99, 235, 0.1); border-color: rgba(37, 99, 235, 0.3); }
html.light .omnix-hiw-step-desc { color: #64748b; }
html.light .omnix-hiw-step.is-active .omnix-hiw-step-desc { color: #334155; }

/* Inline illustration colours (How It Works scenes + maturity radar). */
html.light .omnix-hiw-svg [fill="#ffffff"] { fill: #0f172a; }
html.light .omnix-hiw-svg [stroke="#ffffff"] { stroke: #0f172a; }
html.light :is(.omnix-hiw-svg, .omnix-radar-svg) [stroke^="rgba(255,255,255"] { stroke: rgba(15, 23, 42, 0.12); }
html.light :is(.omnix-hiw-svg, .omnix-radar-svg) [fill^="rgba(255,255,255"] { fill: rgba(15, 23, 42, 0.05); }
html.light .omnix-hiw-svg [fill="#93c5fd"] { fill: #1d4ed8; }
html.light .omnix-hiw-svg [stroke="#93c5fd"] { stroke: #2563eb; }
html.light .omnix-hiw-svg [fill="#7dd3fc"] { fill: #0369a1; }
html.light .omnix-hiw-svg [stroke="#7dd3fc"] { stroke: #0284c7; }
html.light .omnix-hiw-svg [fill="#6ee7b7"] { fill: #047857; }
html.light .omnix-hiw-svg [fill="#070b14"] { fill: #ffffff; }

/* ==========================================
   CALCULATOR
   ========================================== */
html.light .omnix-calc-model-bar { background: rgba(255, 255, 255, 0.9); border-color: var(--lm-line); }
html.light .omnix-calc-model-btn { color: #475569; }
html.light .omnix-calc-model-btn:hover { color: var(--lm-ink); }
html.light .omnix-calc-model-btn.is-active { color: #ffffff; }
html.light .omnix-calc-shell {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--lm-line);
  box-shadow: var(--lm-shadow), inset 0 1px 0 #ffffff;
}
html.light .omnix-calc-label { color: #64748b; }
html.light .omnix-calc-amount-field { background: #f8fafc; border-color: var(--lm-line-strong); }
html.light .omnix-calc-currency { color: #2563eb; }
html.light .omnix-calc-amount-input,
html.light .omnix-calc-rate-input,
html.light .omnix-calc-total { color: var(--lm-ink); }
html.light .omnix-calc-chip,
html.light .omnix-calc-tenor-btn { color: #334155; background: #f8fafc; border-color: var(--lm-line); }
html.light .omnix-calc-chip:hover,
html.light .omnix-calc-tenor-btn:hover { color: var(--lm-ink); background: #f1f5f9; border-color: var(--lm-line-strong); }
html.light .omnix-calc-chip.is-active,
html.light .omnix-calc-tenor-btn.is-active { color: #1d4ed8; background: transparent; border-color: transparent; }
html.light .omnix-calc-preset-pill,
html.light .omnix-calc-tenor-pill { background: rgba(37, 99, 235, 0.1); border-color: rgba(37, 99, 235, 0.45); box-shadow: none; }
html.light .omnix-calc-rate-badge { color: #1d4ed8; background: rgba(37, 99, 235, 0.08); border-color: rgba(37, 99, 235, 0.25); }
html.light .omnix-calc-slider {
  background: linear-gradient(90deg, #2563eb 0%, #2563eb var(--slider-pct, 50%), rgba(15, 23, 42, 0.1) var(--slider-pct, 50%), rgba(15, 23, 42, 0.1) 100%);
}
html.light .omnix-calc-output {
  background: radial-gradient(120% 120% at 100% 0%, rgba(37, 99, 235, 0.08) 0%, #f8fafc 62%);
  border-color: var(--lm-line);
}
html.light .omnix-calc-yield-pill { color: #047857; background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.3); }
html.light .omnix-calc-bar-track { background: rgba(15, 23, 42, 0.07); }
html.light .omnix-calc-bar-principal { background: #2563eb; }
html.light .omnix-calc-bar-return { background: #10b981; }
html.light .omnix-calc-summary-row { color: #475569; }
html.light .omnix-calc-cta { background: var(--lm-ink); color: #ffffff; }
html.light .omnix-calc-cta:hover { background: #1e293b; box-shadow: 0 10px 25px -8px rgba(15, 23, 42, 0.4); }

/* Maturity radar (the centre chip stays dark as a brand accent) */
html.light .omnix-radar-card {
  background: radial-gradient(110% 90% at 50% 44%, rgba(37, 99, 235, 0.08) 0%, #ffffff 68%), #ffffff;
  box-shadow: var(--lm-shadow), inset 0 1px 0 #ffffff;
}
html.light .omnix-radar-texture {
  background-image:
    radial-gradient(rgba(15, 23, 42, 0.12) 1px, transparent 1px),
    linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
}
html.light .omnix-radar-glow { opacity: 0.6; }
html.light .omnix-radar-badge {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--lm-line-strong);
  box-shadow: 0 8px 20px -10px rgba(15, 23, 42, 0.3);
}
html.light .omnix-radar-badge-top { color: #1d4ed8; }
html.light .omnix-radar-badge-bottom { color: #047857; }
html.light .omnix-radar-badge-left,
html.light .omnix-radar-badge-right { color: #334155; }

/* ==========================================
   FAQ
   ========================================== */
html.light .omnix-faq-group-header { border-color: var(--lm-line); }
html.light .omnix-faq-item:hover { background-color: rgba(255, 255, 255, 0.75); }
html.light .omnix-faq-item.is-open {
  background: radial-gradient(120% 140% at 0% 0%, rgba(37, 99, 235, 0.07) 0%, #ffffff 68%), #ffffff;
  box-shadow: 0 14px 32px -20px rgba(15, 23, 42, 0.3);
}
html.light .omnix-faq-num { color: #64748b; background: rgba(15, 23, 42, 0.04); border-color: var(--lm-line); }
html.light .omnix-faq-item.is-open .omnix-faq-num { color: #1d4ed8; background: rgba(37, 99, 235, 0.1); border-color: rgba(37, 99, 235, 0.35); }

/* ==========================================
   PRELOADER
   ========================================== */
/* Light preloader: near-neutral backdrop. The blue and red glow orbs overlap into purple
   on a light background, so the red one is hidden and the blue one is a faint halo. */
html.light .omnix-preloader {
  background: radial-gradient(50% 45% at 50% 46%, rgba(37, 99, 235, 0.035) 0%, #f5f7fb 70%), #f5f7fb;
}
html.light .preloader-orb-red { display: none; }
html.light .preloader-orb-blue { background: rgba(37, 99, 235, 0.06); opacity: 0.7; }
html.light .omnix-preloader-grid {
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
}
html.light .pl-o-ring,
html.light .pl-word-glyph,
html.light .pl-sup-x { fill: var(--logo-ink, #3256a5); }
html.light .pl-sub-glyph { fill: #2552b8; }
html.light #pl-stage-label { color: #475569; }
html.light #pl-percent-label { color: #2563eb; }
html.light .preloader-telemetry > :last-child { background: rgba(15, 23, 42, 0.08); }

/* Current page in the shared header */
html.light .liquid-nav-link[aria-current="page"],
html.light .omnix-mobile-link[aria-current="page"] { color: #0f172a; }
html.light .omnix-mobile-link[aria-current="page"] { background-color: rgba(15, 23, 42, 0.05); }
