/* ============================================================================
   Lekhapal — marketing site brand theme
   Loaded AFTER style.css so it overrides the Bootstrap template theme.
   First pass: brand colours + Geist typography + button/link/focus polish.
   Mirrors the app's design tokens (resources/ts/src/assets/lekhapal/tokens.css)
   so the website, login and dashboard read as one product.
   ============================================================================ */

:root {
  /* Brand — Lekhapal cobalt (from logo) */
  --lp-brand-50:  #ecf0fb;
  --lp-brand-100: #d6dff7;
  --lp-brand-200: #abbcef;
  --lp-brand-300: #7e98e5;
  --lp-brand-400: #4f72d9;
  --lp-brand-500: #2c50c8;
  --lp-brand-600: #1e3fb0;  /* primary action — matches app --accent */
  --lp-brand-700: #182f8a;
  --lp-brand-800: #122365;
  --lp-brand-900: #0c1845;
  --lp-sky-400:   #2ea4dc;  /* secondary brand blue from wordmark */

  /* Type — same families the app loads from Google Fonts */
  --lp-font-sans:  'Geist', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --lp-font-serif: 'Instrument Serif', Georgia, serif;
}

/* ── Bootstrap theme variable overrides (light) ───────────────────────────── */
:root,
[data-bs-theme="light"] {
  --bs-primary: var(--lp-brand-600);
  --bs-primary-rgb: 30, 63, 176;                 /* fixes the stray cyan rgb */
  --bs-primary-text-emphasis: var(--lp-brand-700);
  --bs-primary-bg-subtle: var(--lp-brand-50);
  --bs-primary-border-subtle: var(--lp-brand-200);

  --bs-link-color: var(--lp-brand-600);
  --bs-link-color-rgb: 30, 63, 176;
  --bs-link-hover-color: var(--lp-brand-700);
  --bs-link-hover-color-rgb: 24, 47, 138;

  /* Align semantic colours with the app's palette */
  --bs-success: #059669; --bs-success-rgb: 5, 150, 105;
  --bs-warning: #d97706; --bs-warning-rgb: 217, 119, 6;
  --bs-danger:  #dc2626; --bs-danger-rgb: 220, 38, 38;
  --bs-info:    var(--lp-sky-400); --bs-info-rgb: 46, 164, 220;

  /* Typography */
  --bs-body-font-family: var(--lp-font-sans);
  --bs-heading-color: #161a23;
}

[data-bs-theme="dark"] {
  --bs-primary: var(--lp-brand-600);
  --bs-primary-rgb: 30, 63, 176;
  --bs-link-color: #9fb6ff;
  --bs-link-color-rgb: 159, 182, 255;
  --bs-link-hover-color: #bcd2ff;
  --bs-link-hover-color-rgb: 188, 210, 255;
}

/* ── Typography ───────────────────────────────────────────────────────────── */
body {
  font-family: var(--lp-font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.006em;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: var(--lp-font-sans) !important;
  font-weight: 600;   /* semibold card/sub-headings — pairs with 400 .lp-display (was 700) */
  letter-spacing: -0.022em;
}
.display-1, .display-2, .display-3, .display-4 { letter-spacing: -0.032em; }

/* Editorial serif accent, available as a utility (e.g. on a highlighted word) */
.lp-serif {
  font-family: var(--lp-font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

::selection { background: rgba(30, 63, 176, 0.16); }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn { font-family: var(--lp-font-sans); font-weight: 600; }

.btn-primary {
  --bs-btn-bg: var(--lp-brand-600);
  --bs-btn-border-color: var(--lp-brand-600);
  --bs-btn-hover-bg: var(--lp-brand-700);
  --bs-btn-hover-border-color: var(--lp-brand-700);
  --bs-btn-active-bg: #152a7d;
  --bs-btn-active-border-color: #152a7d;
  --bs-btn-disabled-bg: var(--lp-brand-600);
  --bs-btn-disabled-border-color: var(--lp-brand-600);
  box-shadow: 0 1px 0 rgba(15, 20, 36, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: background-color 0.15s, box-shadow 0.18s, transform 0.06s;
}
.btn-primary:hover { box-shadow: 0 8px 22px rgba(30, 63, 176, 0.30); }
.btn-primary:active { transform: translateY(1px); }

.btn-outline-primary {
  --bs-btn-color: var(--lp-brand-600);
  --bs-btn-border-color: var(--lp-brand-200);
  --bs-btn-hover-bg: var(--lp-brand-600);
  --bs-btn-hover-border-color: var(--lp-brand-600);
  --bs-btn-active-bg: var(--lp-brand-700);
}

/* Soft "accent-soft" pill the app uses for secondary actions */
.btn-soft-primary {
  --bs-btn-color: var(--lp-brand-700);
  --bs-btn-bg: var(--lp-brand-50);
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: var(--lp-brand-700);
  --bs-btn-hover-bg: var(--lp-brand-100);
  --bs-btn-hover-border-color: transparent;
  font-weight: 600;
}

/* ── Focus rings, links, badges ───────────────────────────────────────────── */
.btn:focus-visible,
.form-control:focus,
.form-select:focus,
.nav-link:focus-visible {
  border-color: var(--lp-brand-600);
  box-shadow: 0 0 0 0.2rem rgba(30, 63, 176, 0.18) !important;
  outline: 0;
}

a { text-decoration-thickness: 1px; }

.badge.bg-primary,
.badge.text-bg-primary { background-color: var(--lp-brand-600) !important; }

.text-primary { color: var(--lp-brand-600) !important; }
.bg-primary { background-color: var(--lp-brand-600) !important; }
.border-primary { border-color: var(--lp-brand-600) !important; }
.link-primary { color: var(--lp-brand-600) !important; }
.link-primary:hover { color: var(--lp-brand-700) !important; }

/* ============================================================================
   Premium dark sections — navy cobalt gradient + cyan glow.
   Mirrors the sign-in brand panel. Applies to every FULL .bg-dark section
   (hero, footer, CTA boxes, page heroes), but NOT the subtle bg-opacity tints
   (image frames / icon tiles) or video overlays.
   ============================================================================ */
.bg-dark:not([class*="bg-opacity"]):not(.bg-overlay) {
  background-color: #0c1845 !important;
  background-image:
    radial-gradient(120% 85% at 88% 6%, rgba(46, 164, 220, 0.20), transparent 55%),
    linear-gradient(135deg, #0c1845 0%, #122365 46%, #1e3fb0 100%) !important;
}
/* On dark, the cobalt primary is too low-contrast — lift accents to light. */
.bg-dark .text-primary,
[data-bs-theme="dark"] .bg-dark .text-primary { color: #9fb6ff !important; }

/* ── Navbar ───────────────────────────────────────────────────────────────
   The scrolled (sticky) bar becomes a premium deep navy with blur, not the
   default near-black. Beats the product pages' .header-sticky override. */
header.header-sticky-on {
  background-color: rgba(11, 21, 60, 0.95) !important;
  /* Faint cobalt→sky diagonal tint ties the glass bar to the hero gradient. */
  background-image:
    linear-gradient(120deg, rgba(46, 164, 220, 0.10) 0%, rgba(30, 63, 176, 0.07) 42%, transparent 78%) !important;
  -webkit-backdrop-filter: saturate(165%) blur(16px);
  backdrop-filter: saturate(165%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
  /* Soft drop shadow lifts the bar off the page; inset hairline = glass edge. */
  box-shadow: 0 10px 30px -14px rgba(6, 14, 40, 0.60),
              inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}
.navbar .nav-link { font-weight: 500; }
.navbar-brand-item { height: 34px; width: auto; }
header.header-sticky-on .navbar-brand-item { height: 32px; }

/* Navbar CTAs — the header always sits on a dark background, so the brand
   cobalt button blends in. Use a white solid (with a cobalt arrow) + a clean
   ghost so both read clearly and never collapse into the navy. */
.lp-nav-cta,
.lp-nav-cta:visited {
  background: #ffffff;
  color: #15245b !important;
  border: 1px solid #ffffff;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.lp-nav-cta:hover {
  background: rgba(255, 255, 255, 0.88);
  color: #15245b !important;
}
.lp-nav-cta i { color: #15245b; }

.lp-nav-ghost,
.lp-nav-ghost:visited {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 600;
  transition: background 0.15s, border-color 0.15s;
}
.lp-nav-ghost:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff !important;
}
.lp-nav-ghost i { color: #ffffff; }

/* ── Footer polish ────────────────────────────────────────────────────────
   Its own lighter, refined background — the global .bg-dark gradient reads too
   heavy at footer height. Softer navy + faint cobalt/sky glow + top hairline. */
footer.bg-dark {
  background-color: #15245b !important;
  background-image:
    radial-gradient(65% 60% at 100% 0%, rgba(46, 164, 220, 0.13), transparent 60%),
    radial-gradient(60% 70% at 0% 100%, rgba(30, 63, 176, 0.20), transparent 62%),
    linear-gradient(180deg, #182a66 0%, #0f1c49 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}
/* "Have questions?" help card — glass panel + WhatsApp icon tile + button. */
.lp-help-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.lp-help-icon {
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  font-size: 1.45rem; color: #fff;
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 8px 18px -8px rgba(37, 211, 102, 0.55);
  flex-shrink: 0;
}
.lp-help-card .text-body { color: rgba(255, 255, 255, 0.62) !important; }
.lp-whatsapp-btn,
.lp-whatsapp-btn:visited {
  background: #fff;
  border: 1px solid #fff;
  color: #15245b; font-weight: 600;
  padding: 0.5rem 1.15rem;
  transition: background 0.15s, color 0.15s;
}
.lp-whatsapp-btn:hover {
  background: rgba(255, 255, 255, 0.88);
  color: #15245b;
}

footer.bg-dark h6 {
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
footer.bg-dark .nav-link {
  color: rgba(255, 255, 255, 0.66);
  transition: color 0.14s;
}
footer.bg-dark .nav-link:hover { color: #fff; }
footer.bg-dark hr { border-top: 1px solid rgba(255, 255, 255, 0.12); opacity: 1; }
footer.bg-dark .text-body { color: rgba(255, 255, 255, 0.6) !important; }
footer.bg-dark .btn-icon.btn-secondary {
  --bs-btn-bg: rgba(255, 255, 255, 0.08);
  --bs-btn-border-color: transparent;
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.16);
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
}

/* ============================================================================
   Premium surfaces — LIGHT + DARK parity
   ============================================================================ */

/* Dark mode → the app's deep-navy palette (not Bootstrap's default gray-black),
   so dark mode reads as intentional and premium. Mirrors tokens.css .theme-dark. */
[data-bs-theme="dark"] {
  --bs-body-bg: #0c0f17;
  --bs-body-bg-rgb: 12, 15, 23;
  --bs-secondary-bg: #141926;        /* elevated surfaces / cards */
  --bs-secondary-bg-rgb: 20, 25, 38;
  --bs-tertiary-bg: #1a2030;
  --bs-tertiary-bg-rgb: 26, 32, 48;
  --bs-body-color: #e7ecf3;
  --bs-body-color-rgb: 231, 236, 243;
  --bs-secondary-color: rgba(231, 236, 243, 0.72);
  --bs-heading-color: #eef2f8;
  --bs-emphasis-color: #ffffff;
  --bs-emphasis-color-rgb: 255, 255, 255;
  --bs-border-color: rgba(255, 255, 255, 0.09);
  --bs-border-color-translucent: rgba(255, 255, 255, 0.10);
}

/* Cards → house "border-only" treatment (the template ships them border-less
   and shadow-reliant). Works in both modes: light = white + hairline border,
   dark = elevated navy surface + subtle white border. */
.card {
  --bs-card-border-width: 1px;
  --bs-card-border-color: var(--bs-border-color);
  --bs-card-border-radius: 14px;
  --bs-card-inner-border-radius: 13px;
}
[data-bs-theme="dark"] .card { --bs-card-bg: #141926; }

/* Soften the loud coloured drop-shadow the template puts on framed images,
   and kill coloured shadows entirely in dark mode (they read as muddy halos). */
.shadow-primary-lg { box-shadow: 0 22px 60px -20px rgba(30, 63, 176, 0.26) !important; }
.shadow-primary { box-shadow: 0 10px 30px -12px rgba(30, 63, 176, 0.20) !important; }
[data-bs-theme="dark"] .shadow-primary-lg,
[data-bs-theme="dark"] .shadow-primary {
  box-shadow: 0 22px 60px -24px rgba(0, 0, 0, 0.55) !important;
}

/* ── Homepage hero headline — editorial display treatment ─────────────────── */
.lp-hero-h1 {
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.25rem);
  font-weight: 400;            /* thin editorial display (DESIGN.md) — was 700 */
  line-height: 1.08;
  letter-spacing: -0.035em;
}
/* Highlight the accent phrase with a bright periwinkle→cyan gradient so it pops
   off the navy instead of blending (the flat periwinkle was too low-contrast). */
.lp-hero-h1 .text-primary {
  background: linear-gradient(100deg, #b9ccff 0%, #5fd0ef 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
}
/* The glass screenshot frame under the hero — crisper edge in both modes. */
.bg-blur.border-white { border-color: rgba(255, 255, 255, 0.14) !important; }

/* ============================================================================
   Homepage hero — depth, eyebrow, chips, CTAs, trust strip
   ============================================================================ */
.lp-hero { position: relative; isolation: isolate; }
/* Faint grid texture, faded toward the edges — the "premium vs template" cue. */
.lp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(115% 95% at 50% 0%, #000 38%, transparent 80%);
          mask-image: radial-gradient(115% 95% at 50% 0%, #000 38%, transparent 80%);
}
.lp-hero > * { position: relative; z-index: 1; }

/* A — Aurora drift: soft cobalt/sky light slowly floating behind the hero.
   Sits above the navy gradient, below the grid texture. Transform + opacity
   only, so the browser composites it on the GPU — smooth and cheap on low-end
   mobile (no paint per frame). */
.lp-hero::after {
  content: "";
  position: absolute;
  inset: -25% -12% auto -12%;
  height: 135%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38% 50% at 22% 32%, rgba(46, 164, 220, 0.22), transparent 70%),
    radial-gradient(42% 55% at 80% 16%, rgba(95, 130, 255, 0.20), transparent 72%);
  filter: blur(10px);
  will-change: transform, opacity;
  animation: lp-aurora 18s ease-in-out infinite alternate;
}
@keyframes lp-aurora {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1);    opacity: 0.82; }
  50%  { transform: translate3d(2%, 2%, 0)   scale(1.08); opacity: 1; }
  100% { transform: translate3d(3%, -2%, 0)  scale(1.05); opacity: 0.9; }
}

/* F — Product frame glow: a slow, soft cobalt→sky pulse on the screenshot card
   so the eye lands on the real product, not the background. */
.lp-hero-shot { animation: lp-shot-glow 7.5s ease-in-out infinite; }
@keyframes lp-shot-glow {
  0%, 100% { box-shadow: 0 22px 60px -20px rgba(30, 63, 176, 0.26); }
  50%      { box-shadow: 0 30px 84px -18px rgba(46, 164, 220, 0.42); }
}

/* Respect users who ask for less motion — hold everything still. */
@media (prefers-reduced-motion: reduce) {
  .lp-hero::after,
  .lp-hero-shot,
  .lp-eyebrow-dot { animation: none !important; }
  .lp-hero::after { opacity: 0.9; transform: none; }
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.lp-eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #4ade80;
  animation: lp-pulse 2.4s ease-out infinite;
}
@keyframes lp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.45); }
  70% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.lp-hero-chips { list-style: none; padding: 0; }
.lp-hero-chips .list-inline-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.lp-hero-chips .list-inline-item i { font-size: 1rem; }

/* Hero CTAs — high contrast on the navy gradient, never collapse into it.
   (Brand cobalt buttons live on the LIGHT sections, not here.) */
.lp-cta,
.lp-cta:visited {
  background: #ffffff;
  color: #0c1845 !important;
  border: 1px solid #ffffff;
  font-weight: 600;
  padding: 0.72rem 1.45rem;
  border-radius: 9px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  transition: transform 0.12s, box-shadow 0.18s, background 0.15s;
}
.lp-cta:hover {
  background: #eef2ff;
  color: #0c1845 !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.30);
}
.lp-cta-ghost,
.lp-cta-ghost:visited {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.34);
  font-weight: 600;
  padding: 0.72rem 1.45rem;
  border-radius: 9px;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  transition: background 0.15s, border-color 0.15s, transform 0.12s;
}
.lp-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Trust strip */
.lp-trust-badge { height: 42px; width: auto; background: #fff; border-radius: 8px; padding: 5px 9px; }
.lp-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.74);
}
.lp-trust-item i { color: #9fb6ff; font-size: 0.95rem; }
.lp-trust-sep { width: 1px; height: 20px; background: rgba(255, 255, 255, 0.18); }

/* ── Why Lekhapal — editorial value cards ───────────────────────────────────
   Bordered cards that lift on hover with a cobalt-tinted shadow + icon shift,
   so the section reads as a designed grid, not four floating icons. */
.lp-why-card {
  border-radius: 14px;
  background: var(--bs-body-bg);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.lp-why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 63, 176, 0.32) !important;
  box-shadow: 0 18px 40px -22px rgba(30, 63, 176, 0.45);
}
.lp-why-card .lp-feat-icon { transition: transform .25s ease; }
.lp-why-card:hover .lp-feat-icon { transform: scale(1.06); }
/* Payments row — sits under a hairline divider so it reads as a footnote. */
.lp-why-payments { border-top: 1px solid var(--bs-border-color); }

/* ── Getting-started stepper ────────────────────────────────────────────────
   A refined "how it works" row: each step is an outlined icon node carrying a
   small numbered badge, and on desktop the three nodes are joined by a soft
   curved wire that reads like a guided path rather than a flat line. */
.lp-steps { position: relative; }
.lp-step-col { position: relative; }

/* The node — a clean, light circle with a tinted inner ring and a channel icon.
   No big childish gradient disc; the number lives in a compact corner badge. */
.lp-step-node {
  position: relative; z-index: 2;
  width: 78px; height: 78px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  box-shadow: 0 14px 34px -18px rgba(30, 63, 176, 0.45);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.lp-step-node::before {
  content: ""; position: absolute; inset: 7px;
  border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 25%, rgba(46, 164, 220, 0.10), rgba(30, 63, 176, 0.07));
  border: 1px solid rgba(30, 63, 176, 0.16);
}
.lp-step-node i {
  position: relative; z-index: 1;
  font-size: 1.6rem; line-height: 1;
  background: linear-gradient(140deg, #1e3fb0, #2ea4dc);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #1e3fb0;
}
.lp-step-index {
  position: absolute; top: -6px; right: -6px; z-index: 3;
  min-width: 27px; height: 27px; padding: 0 7px;
  display: grid; place-items: center;
  border-radius: 999px;
  font-size: .82rem; font-weight: 700; line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: -.01em;
  color: #fff;
  background: linear-gradient(135deg, #1e3fb0, #2ea4dc);
  box-shadow: 0 5px 12px -3px rgba(30, 63, 176, 0.6);
  border: 2px solid var(--bs-body-bg);
}
.lp-step-col:hover .lp-step-node {
  transform: translateY(-4px);
  border-color: rgba(30, 63, 176, 0.35);
  box-shadow: 0 22px 44px -20px rgba(30, 63, 176, 0.55);
}

/* Curved wire connecting the nodes — desktop only. It spans between the outer
   node centres (1/6 → 5/6) and its vertical middle sits on the node centre. */
.lp-steps-wire { display: none; }
@media (min-width: 768px) {
  .lp-steps-wire {
    display: block; position: absolute;
    top: 0; left: 16.66%; right: 16.66%; height: 78px;
    z-index: 0; pointer-events: none;
  }
  .lp-steps-wire svg { width: 100%; height: 100%; display: block; overflow: visible; }
  .lp-steps-wire .lp-wire-path {
    fill: none; stroke: url(#lpStepWire); stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 1 12;
    opacity: .9;
  }
  .lp-steps-wire .lp-wire-dot { fill: #2ea4dc; }
}
/* App badges sit under a hairline divider — a quiet footnote to the steps. */
.lp-steps-apps { border-top: 1px solid var(--bs-border-color); }

[data-bs-theme="dark"] .lp-step-node { background: rgba(255, 255, 255, 0.02); }
[data-bs-theme="dark"] .lp-step-node::before { background: rgba(159, 182, 255, 0.08); border-color: rgba(159, 182, 255, 0.18); }
[data-bs-theme="dark"] .lp-step-node i { color: #9fb6ff; }

/* ── Business-type cards — real photo header ────────────────────────────────
   Image cover at the top, content below; lift + image zoom on hover. */
.lp-biz-card {
  border-radius: 14px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.lp-biz-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 63, 176, 0.32) !important;
  box-shadow: 0 18px 40px -22px rgba(30, 63, 176, 0.45);
}
.lp-biz-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bs-secondary-bg);
}
.lp-biz-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.lp-biz-card:hover .lp-biz-media img { transform: scale(1.05); }

/* ── "One connected platform" band — soft diagonal glow over the grey ───────
   Faint cobalt + sky radials in opposite corners give the flat bg-secondary
   subtle depth, echoing the hero aurora without any motion. */
.lp-connected {
  background-image:
    radial-gradient(50% 42% at 88% 2%, rgba(46, 164, 220, 0.08), transparent 60%),
    radial-gradient(46% 40% at 5% 98%, rgba(30, 63, 176, 0.06), transparent 62%) !important;
}
[data-bs-theme="dark"] .lp-connected {
  background-image:
    radial-gradient(50% 42% at 88% 2%, rgba(46, 164, 220, 0.14), transparent 60%),
    radial-gradient(46% 40% at 5% 98%, rgba(95, 130, 255, 0.12), transparent 62%) !important;
}

/* ============================================================================
   MARKETING SWEEP — Phase A (see WEBSITE_REVAMP.md)
   ============================================================================ */

/* A1 — hide the template's decorative gradient blur-blobs (smeared shapes that
   read as "template"). The hero/footer keep their own gradient + glow + grid. */
img[src*="blur-decoration"] { display: none !important; }

/* A2 — section eyebrow: small-caps cobalt label above a section headline.
   Apply in blade as <span class="lp-eyebrow-line">…</span>. */
.lp-eyebrow-line {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-brand-600);
  margin-bottom: 0.6rem;
}
[data-bs-theme="dark"] .lp-eyebrow-line { color: #9fb6ff; }

/* A5 — card hover micro-interaction (subtle lift + brand border), both modes. */
.card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--lp-brand-200) !important;
  box-shadow: 0 14px 34px -16px rgba(30, 63, 176, 0.22);
}
[data-bs-theme="dark"] .card:hover {
  border-color: rgba(159, 182, 255, 0.26) !important;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6);
}

/* ============================================================================
   MARKETING SWEEP — Stage 1 (section polish, see WEBSITE_REVAMP.md §3)
   ============================================================================ */

/* Section tint — the template's light-mode .bg-secondary is a pale SKY-BLUE
   (rgba(160,210,245,.25)) left over from its cyan accent. Re-tint it to a soft
   COBALT wash so alternating sections match our brand. (Dark mode keeps its own
   elevated #141926 panel via the template's [data-bs-theme=dark] .bg-secondary,
   which has higher specificity and wins — so this only affects light mode.) */
.bg-secondary { background-color: rgba(30, 63, 176, 0.05) !important; }

/* FAQ section — polished & on-brand. Replaces the template's flashy 4-stop
   navy→sky-cyan→white gradient with a restrained near-white surface carrying a
   soft cobalt/cyan glow at the top (echoes the hero), plus clean branded
   accordion cards with a cobalt open-state. */
#faq-sec {
  background:
    radial-gradient(70% 45% at 50% 0%, rgba(46, 164, 220, 0.10) 0%, rgba(30, 63, 176, 0.07) 38%, rgba(30, 63, 176, 0) 72%),
    #f7f9fe !important;
}
[data-bs-theme="dark"] #faq-sec {
  background:
    radial-gradient(70% 45% at 50% 0%, rgba(46, 164, 220, 0.12) 0%, rgba(30, 63, 176, 0.16) 36%, rgba(12, 15, 23, 0) 72%),
    var(--bs-body-bg) !important;
}

/* Accordion cards */
#faq-sec .accordion.accordion-bg-body-light .accordion-item {
  background: #fff !important;
  border: 1px solid var(--lp-brand-100, #d6dff7) !important;
  border-radius: 14px;
  -webkit-backdrop-filter: none !important;
          backdrop-filter: none !important;
  padding: 0.35rem 0.6rem;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
#faq-sec .accordion.accordion-bg-body-light .accordion-item:hover {
  border-color: var(--lp-brand-200, #abbcef) !important;
}
#faq-sec .accordion.accordion-bg-body-light .accordion-item:has(.accordion-button[aria-expanded="true"]) {
  border-color: var(--lp-brand-300, #8ba0e8) !important;
  box-shadow: 0 14px 32px -18px rgba(30, 63, 176, 0.28);
}
#faq-sec .accordion.accordion-bg-body-light .accordion-button {
  font-size: 1.05rem !important;
  font-weight: 500 !important;   /* medium — lighter, more editorial than the .fw-semibold markup */
  padding: 1rem 0.9rem;
}
#faq-sec .accordion.accordion-bg-body-light .accordion-button[aria-expanded="true"] {
  color: var(--lp-brand-700, #1a3286) !important;
}
#faq-sec .accordion-body { padding: 0 0.9rem 0.9rem; }

/* Dark-mode accordion cards */
[data-bs-theme="dark"] #faq-sec .accordion.accordion-bg-body-light .accordion-item {
  background: var(--bs-secondary-bg) !important;
  border-color: rgba(159, 182, 255, 0.16) !important;
  box-shadow: none;
}
[data-bs-theme="dark"] #faq-sec .accordion.accordion-bg-body-light .accordion-item:hover {
  border-color: rgba(159, 182, 255, 0.28) !important;
}
[data-bs-theme="dark"] #faq-sec .accordion.accordion-bg-body-light .accordion-item:has(.accordion-button[aria-expanded="true"]) {
  border-color: rgba(159, 182, 255, 0.40) !important;
}
[data-bs-theme="dark"] #faq-sec .accordion.accordion-bg-body-light .accordion-button { color: rgba(231, 236, 243, 0.92) !important; }
[data-bs-theme="dark"] #faq-sec .accordion.accordion-bg-body-light .accordion-button[aria-expanded="true"] { color: #9fb6ff !important; }

/* Heading accent — cobalt in light, periwinkle in dark so it stays legible on
   dark sections (bg-secondary/bg-dark). Use instead of .text-primary on section
   headlines: <span class="lp-accent">…</span>. */
.lp-accent { color: var(--lp-brand-600); }
[data-bs-theme="dark"] .lp-accent { color: #9fb6ff; }

/* Restrained feature-icon tile — replaces the template's rainbow circles with a
   consistent cobalt-tinted rounded square. Apply on the icon wrapper:
   <div class="icon-lg lp-feat-icon flex-shrink-0"><i class="bi …"></i></div>. */
.lp-feat-icon {
  background: var(--lp-brand-50) !important;
  color: var(--lp-brand-600) !important;
  border-radius: 14px !important;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
[data-bs-theme="dark"] .lp-feat-icon {
  background: rgba(159, 182, 255, 0.12) !important;
  color: #9fb6ff !important;
}
/* Lift + fill the icon when its feature row is hovered (desktop). */
@media (hover: hover) {
  .lp-feat-row:hover .lp-feat-icon {
    background: var(--lp-brand-600) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
  }
}

/* ---- Feature tabs (Stage 1.2) ----------------------------------------------
   The active-pill fill span in the blade is .nav-bg-primary, but the template
   only styles .nav-bg-primary-grad (a purple gradient) — so the active fill was
   effectively unstyled. Style the real span with a cobalt fill + give idle pills
   a light border so they read as buttons. */
.nav-pills-primary-grad .nav-link { border: 1px solid var(--lp-brand-100, #d7e0f7); }
.nav-pills-primary-grad .nav-link .nav-bg-primary {
  position: absolute; inset: 0; height: 100%; width: 100%;
  background: linear-gradient(180deg, #2c50c8 0%, #1e3fb0 100%);
  opacity: 0; transition: opacity 0.3s ease;
}
.nav-pills-primary-grad .nav-link:hover .nav-bg-primary,
.nav-pills-primary-grad .nav-link.active .nav-bg-primary { opacity: 1 !important; }
.nav-pills-primary-grad .nav-link.active { border-color: transparent; }
[data-bs-theme="dark"] .nav-pills-primary-grad .nav-link {
  border-color: rgba(159, 182, 255, 0.16);
  color: rgba(231, 236, 243, 0.85);
}

/* Consistent cobalt screenshot frame (used by the tab panes + steps swiper).
   Template's .bg-secondary-grad ended in off-brand cyan — re-tint to cobalt. */
.bg-secondary-grad {
  background: linear-gradient(135deg, rgba(30, 63, 176, 0.10) 0%, rgba(46, 164, 220, 0.07) 100%) !important;
  border: 1px solid rgba(30, 63, 176, 0.08);
}
[data-bs-theme="dark"] .bg-secondary-grad {
  background: linear-gradient(135deg, rgba(159, 182, 255, 0.10) 0%, rgba(46, 164, 220, 0.05) 100%) !important;
  border-color: rgba(159, 182, 255, 0.12);
}

/* Per-tab highlight stat — big accent word/number + caption, uniform across panes. */
.lp-tab-stat { display: flex; align-items: center; }
.lp-tab-stat .lp-tab-stat-num {
  font-size: 1.9rem; font-weight: 700; line-height: 1.1; margin: 0;
  color: var(--lp-brand-600);
}
[data-bs-theme="dark"] .lp-tab-stat .lp-tab-stat-num { color: #9fb6ff; }
.lp-tab-stat p { margin: 0; }

/* ---- Pricing (Stage 1.5) ----------------------------------------------------
   Cobalt business-type selector pills + on-brand gradient (template's
   .bg-primary-grad was cyan-leaning). */
.pricing-type-nav .nav-link {
  border: 1px solid var(--lp-brand-100, #d6dff7);
  color: var(--lp-brand-600);
  font-weight: 600;
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.pricing-type-nav .nav-link:hover { background: var(--lp-brand-50); }
.pricing-type-nav .nav-link.active {
  background: var(--lp-brand-600);
  border-color: var(--lp-brand-600);
  color: #fff;
}
[data-bs-theme="dark"] .pricing-type-nav .nav-link {
  border-color: rgba(159, 182, 255, 0.18);
  color: rgba(231, 236, 243, 0.85);
}
[data-bs-theme="dark"] .pricing-type-nav .nav-link:hover { background: rgba(159, 182, 255, 0.10); }
[data-bs-theme="dark"] .pricing-type-nav .nav-link.active { color: #fff; }

.bg-primary-grad {
  background: linear-gradient(120deg, var(--lp-brand-600) 0%, var(--lp-brand-500) 100%) !important;
}

/* ---- Stat numbers + chips (Stage 2.1 / 2.5 / 2.6) ---- */
.lp-stat-num {
  font-size: 1.9rem; font-weight: 700; line-height: 1.1;
  color: var(--lp-brand-600);
}
[data-bs-theme="dark"] .lp-stat-num { color: #9fb6ff; }
@media (min-width: 992px) {
  .lp-stat-cell:not(:last-child) { border-right: 1px solid rgba(30, 63, 176, 0.12); }
}
[data-bs-theme="dark"] .lp-stat-cell:not(:last-child) { border-right-color: rgba(159, 182, 255, 0.14); }

.lp-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; font-weight: 500;
  padding: 0.45rem 0.9rem; border-radius: 999px;
  background: var(--lp-brand-50); color: var(--lp-brand-700, #1a3286);
  border: 1px solid var(--lp-brand-100, #d6dff7);
}
[data-bs-theme="dark"] .lp-chip {
  background: rgba(159, 182, 255, 0.10); color: #c8d4ff; border-color: rgba(159, 182, 255, 0.18);
}

/* Payment / integration logo chip — white container keeps third-party logos
   legible in both light and dark mode. */
.lp-logo {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--lp-brand-100, #d6dff7);
  border-radius: 10px; padding: 0.5rem 0.9rem; height: 48px;
}
.lp-logo img { height: 24px; width: auto; object-fit: contain; }
[data-bs-theme="dark"] .lp-logo { border-color: rgba(255, 255, 255, 0.14); }

/* Hardware product thumbnail — white tile so product photos (light backgrounds)
   render cleanly in both themes; image contained, not cropped. */
.lp-hw-thumb {
  position: relative;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem; height: 190px;
  border-bottom: 1px solid var(--lp-brand-100, #d6dff7);
}
.lp-hw-thumb img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
[data-bs-theme="dark"] .lp-hw-thumb { border-bottom-color: rgba(255, 255, 255, 0.10); }

/* ---- Hardware (Stage 2.3) — small badges (no node_modules edits) ---- */
.lp-badge {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  padding: 0.3rem 0.65rem; border-radius: 999px;
  background: var(--lp-brand-600); color: #fff;
}
.lp-badge-soft {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  padding: 0.3rem 0.65rem; border-radius: 999px;
  background: var(--lp-brand-50); color: var(--lp-brand-700, #1a3286);
  border: 1px solid var(--lp-brand-100, #d6dff7);
}
[data-bs-theme="dark"] .lp-badge-soft {
  background: rgba(159, 182, 255, 0.12); color: #c8d4ff; border-color: rgba(159, 182, 255, 0.18);
}

/* Install / VAT footnote under the pricing grid. */
.lp-price-note {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.9rem;
  background: var(--lp-brand-50);
  color: var(--lp-brand-700, #1a3286);
  border: 1px solid var(--lp-brand-100, #d6dff7);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
}
.lp-price-note .fw-semibold { color: inherit; }
[data-bs-theme="dark"] .lp-price-note {
  background: rgba(159, 182, 255, 0.10);
  color: #c8d4ff;
  border-color: rgba(159, 182, 255, 0.18);
}

/* ============================================================================
   PRICING — glassmorphism redesign (#pricing-info-section)
   ============================================================================ */
/* Clean, near-white backdrop (Stripe-style — content over decoration). */
#pricing-info-section { background: linear-gradient(180deg, #f7f9fe 0%, #ffffff 55%) !important; }
[data-bs-theme="dark"] #pricing-info-section { background: var(--bs-body-bg) !important; }

/* Flat plan cards — white, 1px border, whisper shadow. */
#pricing-info-section .card {
  background: #ffffff !important;
  -webkit-backdrop-filter: none !important;
          backdrop-filter: none !important;
  border: 1px solid #e7eaf3 !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
#pricing-info-section .card:hover {
  transform: translateY(-4px);
  border-color: var(--lp-brand-200, #abbcef) !important;
  box-shadow: 0 16px 36px -20px rgba(30, 63, 176, 0.22) !important;
}
[data-bs-theme="dark"] #pricing-info-section .card {
  background: var(--bs-secondary-bg) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}
[data-bs-theme="dark"] #pricing-info-section .card:hover { border-color: rgba(159, 182, 255, 0.30) !important; }

/* Featured (recommended) card — emphasis via a cobalt border, not heavy effects. */
#pricing-info-section .lp-plan-featured {
  background: #ffffff !important;
  border: 1.5px solid var(--lp-brand-600) !important;
  box-shadow: 0 20px 44px -24px rgba(30, 63, 176, 0.30) !important;
}
[data-bs-theme="dark"] #pricing-info-section .lp-plan-featured {
  background: var(--bs-secondary-bg) !important;
  border-color: #9fb6ff !important;
}
@media (min-width: 992px) {
  #pricing-info-section .lp-plan-featured { transform: scale(1.03); z-index: 2; }
  #pricing-info-section .lp-plan-featured:hover { transform: scale(1.03) translateY(-4px); }
}

/* Unify the header/footer into the glass (kill template grad fills). */
#pricing-info-section .card-header,
#pricing-info-section .card-footer { background: transparent !important; border: 0 !important; }
#pricing-info-section .card-header { padding: 1.6rem 1.6rem 0 !important; }
#pricing-info-section .card-footer {
  padding: 1.2rem 1.6rem 1.6rem !important;
  border-top: 1px solid rgba(30, 63, 176, 0.10) !important;
}
[data-bs-theme="dark"] #pricing-info-section .card-footer { border-top-color: rgba(159, 182, 255, 0.14) !important; }

/* Price in brand cobalt. */
#pricing-info-section .plan-price { color: var(--lp-brand-700, #1a3286) !important; font-weight: 700; }
[data-bs-theme="dark"] #pricing-info-section .plan-price { color: #c8d4ff !important; }

/* Most Popular badge — clean cobalt pill on the featured card. */
.lp-popular-badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  z-index: 3;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, #2c50c8, #1e3fb0);
  padding: 0.32rem 0.9rem; border-radius: 999px;
  box-shadow: 0 8px 18px -6px rgba(30, 63, 176, 0.55);
  white-space: nowrap;
}

/* ---- Business-type selector → refined chips (hero-chip language) ---- */
#pricing-info-section .pricing-type-nav {
  display: inline-flex; flex-wrap: wrap; justify-content: center;
  gap: 0.55rem; margin: 0; padding: 0;
  background: transparent; border: 0;
}
#pricing-info-section .pricing-type-nav .nav-item { margin: 0; }
#pricing-info-section .pricing-type-nav .nav-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1.05rem !important;
  border-radius: 999px !important;
  font-size: 0.9rem; font-weight: 500;
  color: var(--lp-brand-700, #1a3286) !important;
  background: #ffffff !important;
  border: 1px solid #e2e7f3 !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
#pricing-info-section .pricing-type-nav .nav-link i { font-size: 1rem; color: var(--lp-brand-600); transition: color 0.18s ease; }
#pricing-info-section .pricing-type-nav .nav-link:not(.active):hover {
  background: var(--lp-brand-50, #ecf0fb) !important;
  border-color: var(--lp-brand-200, #abbcef) !important;
}
#pricing-info-section .pricing-type-nav .nav-link.active {
  background: var(--lp-brand-600) !important;
  border-color: var(--lp-brand-600) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px -6px rgba(30, 63, 176, 0.5);
}
#pricing-info-section .pricing-type-nav .nav-link.active i { color: #fff; }
[data-bs-theme="dark"] #pricing-info-section .pricing-type-nav .nav-link {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
  color: rgba(231, 236, 243, 0.9) !important;
  box-shadow: none;
}
[data-bs-theme="dark"] #pricing-info-section .pricing-type-nav .nav-link i { color: #9fb6ff; }
[data-bs-theme="dark"] #pricing-info-section .pricing-type-nav .nav-link:not(.active):hover {
  background: rgba(159, 182, 255, 0.10) !important;
  border-color: rgba(159, 182, 255, 0.30) !important;
}
[data-bs-theme="dark"] #pricing-info-section .pricing-type-nav .nav-link.active {
  background: var(--lp-brand-600) !important; border-color: var(--lp-brand-600) !important; color: #fff !important;
}
[data-bs-theme="dark"] #pricing-info-section .pricing-type-nav .nav-link.active i { color: #fff; }

/* ---- Billing toggle → compact light segmented control (secondary) ---- */
.lp-billing {
  position: relative;
  display: inline-flex;
  flex: none;
  padding: 4px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e2e7f3;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.lp-billing-thumb {
  position: absolute;
  top: 4px; bottom: 4px; left: 0;
  width: 0; /* JS measures the active option and morphs to fit */
  border-radius: 999px;
  background: var(--lp-brand-600);
  box-shadow: 0 4px 10px -4px rgba(30, 63, 176, 0.5);
  transition: transform 0.32s cubic-bezier(0.34, 1.3, 0.5, 1), width 0.32s cubic-bezier(0.34, 1.3, 0.5, 1);
  z-index: 0;
}
.lp-billing-opt {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 0.4rem;
  border: 0; background: transparent;
  padding: 0.42rem 0.95rem;
  font-weight: 600; font-size: 0.875rem;
  color: var(--lp-brand-700, #1a3286);
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.lp-billing-opt.is-active { color: #fff; }
.lp-billing-tag {
  font-size: 0.66rem; font-weight: 700; line-height: 1.4;
  padding: 0.08rem 0.42rem; border-radius: 999px;
  background: var(--lp-brand-100, #d6dff7); color: var(--lp-brand-700, #1a3286);
  transition: background 0.2s ease, color 0.2s ease;
}
.lp-billing-opt.is-active .lp-billing-tag { background: rgba(255, 255, 255, 0.25); color: #fff; }

/* Panel tagline — light "eyebrow" pill matching the hero (live dot + text). */
.lp-plan-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--lp-brand-700, #1a3286);
  background: var(--lp-brand-50, #ecf0fb);
  border: 1px solid var(--lp-brand-100, #d6dff7);
}
[data-bs-theme="dark"] .lp-plan-tagline {
  color: #c8d4ff;
  background: rgba(159, 182, 255, 0.10);
  border-color: rgba(159, 182, 255, 0.18);
}
[data-bs-theme="dark"] .lp-billing { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.10); }
[data-bs-theme="dark"] .lp-billing-opt { color: #c8d4ff; }
[data-bs-theme="dark"] .lp-billing-opt.is-active { color: #fff; }
[data-bs-theme="dark"] .lp-billing-tag { background: rgba(159, 182, 255, 0.18); color: #c8d4ff; }
[data-bs-theme="dark"] .lp-billing-opt.is-active .lp-billing-tag { background: rgba(255, 255, 255, 0.22); color: #fff; }

/* ---- Compact density (less scrolling, more scannable) ---- */
#pricing-info-section .card-header { padding: 1.25rem 1.3rem 0 !important; }
#pricing-info-section .card-footer { padding: 0.85rem 1.3rem 1.25rem !important; }
#pricing-info-section .card-header h6 { font-size: 1rem; margin-bottom: 0.1rem !important; }

/* "Best for" qualifier under the plan name. */
.lp-plan-bestfor { font-size: 0.85rem; color: var(--bs-secondary-color); min-height: 1.2rem; }

/* Trust reassurance row above the install note. */
.lp-pricing-trust {
  display: inline-flex; flex-wrap: wrap; justify-content: center;
  gap: 0.5rem 1.6rem;
  font-size: 0.9rem; font-weight: 500;
  color: var(--bs-heading-color, #1a2233);
}
.lp-pricing-trust span { display: inline-flex; align-items: center; gap: 0.45rem; }
.lp-pricing-trust i { color: #16a34a; font-size: 1rem; }
[data-bs-theme="dark"] .lp-pricing-trust { color: rgba(231, 236, 243, 0.92); }
[data-bs-theme="dark"] .lp-pricing-trust i { color: #4ade80; }

/* Feature-list header ("Everything in X, plus:" / "What's included"). */
.lp-feat-head { font-size: 0.8rem; font-weight: 600; color: var(--bs-secondary-color); margin-bottom: 0.55rem; }
/* Usage-limits — label muted, value in prominent cobalt so the caps stand out. */
.lp-limits-head {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--bs-secondary-color); margin-bottom: 0.4rem;
}
.lp-limit-row { border: 0 !important; }
.lp-limit-val { font-weight: 700; color: var(--lp-brand-700, #1a3286); }
[data-bs-theme="dark"] .lp-limit-val { color: #c8d4ff; }
#pricing-info-section .plan-price { font-size: 1.85rem !important; }
#pricing-info-section .price-period { font-size: 0.9rem; }
#pricing-info-section .card-header > p.mb-0 { margin-top: 0.2rem; }
#pricing-info-section .card-header .btn {
  margin-top: 0.9rem !important;
  padding-top: 0.55rem !important; padding-bottom: 0.55rem !important;
  border-radius: 11px;
}
/* Compact feature + limits lists */
#pricing-info-section .card-footer .list-group-item {
  padding: 0.17rem 0 !important;
  font-size: 0.86rem; line-height: 1.4; border: 0 !important;
}
#pricing-info-section .card-footer ul.list-group { margin-bottom: 0.5rem !important; }
#pricing-info-section .card-footer hr { margin: 0.55rem 0 !important; opacity: 0.5; }
#pricing-info-section .card-footer .text-uppercase {
  font-size: 0.68rem !important; letter-spacing: 0.04em; margin-bottom: 0.35rem !important;
}
#pricing-info-section .card-footer .bi-check-lg { font-size: 0.85rem; }

/* ---- CTA hierarchy: soft cobalt for standard plans, solid for featured ---- */
#pricing-info-section .card .btn { border-radius: 12px !important; font-weight: 600 !important; }
#pricing-info-section .card:not(.lp-plan-featured) .btn {
  background: var(--lp-brand-50) !important;
  color: var(--lp-brand-700, #1a3286) !important;
  border: 1px solid var(--lp-brand-200, #abbcef) !important;
  box-shadow: none !important;
}
#pricing-info-section .card:not(.lp-plan-featured) .btn:hover {
  background: var(--lp-brand-600) !important;
  color: #fff !important;
  border-color: var(--lp-brand-600) !important;
}
#pricing-info-section .lp-plan-featured .btn {
  background: linear-gradient(135deg, #2c50c8, #1e3fb0) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 10px 24px -10px rgba(30, 63, 176, 0.6) !important;
}
#pricing-info-section .lp-plan-featured .btn:hover { filter: brightness(1.07); }
[data-bs-theme="dark"] #pricing-info-section .card:not(.lp-plan-featured) .btn {
  background: rgba(159, 182, 255, 0.12) !important;
  color: #c8d4ff !important;
  border-color: rgba(159, 182, 255, 0.25) !important;
}
[data-bs-theme="dark"] #pricing-info-section .card:not(.lp-plan-featured) .btn:hover {
  background: var(--lp-brand-600) !important; color: #fff !important;
}

/* ============================================================================
   PHASE 0 — Stripe-pattern utilities (hybrid: Stripe LAYOUT, GloHub cobalt hues)
   Additive & opt-in. Nothing below targets existing homepage markup, so the
   approved homepage is unchanged. Interior pages opt in via these classes and
   the shared partials in resources/views/website/partials/.
   ============================================================================ */

/* Cool + warm interlude bands ------------------------------------------------ */
.lp-band-soft  { background: #f6f9fc; }
.lp-band-cream { background: #f7f1e6; }
[data-bs-theme="dark"] .lp-band-soft  { background: #10141f; }
[data-bs-theme="dark"] .lp-band-cream { background: #1a1710; }

/* Gradient-mesh hero backdrop (cobalt / sky family — NOT Stripe indigo/ruby) -- */
.lp-hero-mesh {
  position: relative;
  isolation: isolate;
  background-color: #f2f6ff;
  background-image:
    radial-gradient(58% 85% at 12% 0%,    rgba(46, 164, 220, 0.30) 0%, rgba(46,164,220,0) 60%),
    radial-gradient(55% 80% at 86% 4%,     rgba(79, 114, 217, 0.36) 0%, rgba(79,114,217,0) 62%),
    radial-gradient(85% 95% at 50% -8%,    rgba(30, 63, 176, 0.32) 0%, rgba(30,63,176,0) 58%),
    radial-gradient(48% 75% at 96% 44%,    rgba(30, 63, 176, 0.18) 0%, rgba(30,63,176,0) 60%),
    radial-gradient(60% 60% at 30% 108%,   rgba(30, 63, 176, 0.12) 0%, rgba(30,63,176,0) 60%);
  background-repeat: no-repeat;
}
.lp-hero-mesh > * { position: relative; z-index: 1; }
.lp-hero-mesh::after {          /* soft fade into the page below the mesh */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  background: linear-gradient(to bottom, rgba(242,246,255,0), #f2f6ff);
  z-index: 0; pointer-events: none;
}
[data-bs-theme="dark"] .lp-hero-mesh {
  background-color: #0c0f17;
  background-image:
    radial-gradient(60% 90% at 12% 0%,   rgba(46, 164, 220, 0.22) 0%, rgba(46,164,220,0) 60%),
    radial-gradient(55% 85% at 85% 5%,    rgba(79, 114, 217, 0.26) 0%, rgba(79,114,217,0) 62%),
    radial-gradient(70% 90% at 55% -10%,  rgba(30, 63, 176, 0.32) 0%, rgba(30,63,176,0) 60%),
    radial-gradient(40% 70% at 95% 40%,   rgba(46, 164, 220, 0.16) 0%, rgba(46,164,220,0) 60%);
}
[data-bs-theme="dark"] .lp-hero-mesh::after {
  background: linear-gradient(to bottom, rgba(12,15,23,0), #0c0f17);
}

/* Thin editorial display type (Stripe rhythm, kept in the Geist family) ------- */
.lp-display {
  font-family: var(--lp-font-sans) !important;
  font-weight: 400 !important;        /* Geist thin display (loaded weight) */
  letter-spacing: -0.03em !important;
  line-height: 1.06 !important;
}
.lp-display-lg { font-size: clamp(2.4rem, 4.6vw, 3.5rem); }
.lp-display-md { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.lp-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 400; line-height: 1.55; }

/* Pill buttons (tight, transactional) ---------------------------------------- */
.lp-btn-pill { border-radius: 9999px !important; padding: 0.6rem 1.35rem !important; font-weight: 600; }
.lp-btn-pill.btn-lg { padding: 0.8rem 1.75rem !important; }

/* Tabular figures for money / numerics --------------------------------------- */
.lp-num, .tnum { font-feature-settings: "tnum" 1; font-variant-numeric: tabular-nums; }

/* Interior page-hero rhythm -------------------------------------------------- */
.lp-page-hero { padding-top: clamp(5rem, 9vw, 8rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.lp-band { padding-block: clamp(3rem, 6vw, 5rem); }

/* Countries-served row (footer + homepage band) ------------------------------ */
.lp-countries { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; }
.lp-country {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .875rem; font-weight: 500;
  padding: .35rem .8rem; border-radius: 9999px;
  border: 1px solid rgba(30,63,176,.16); background: rgba(30,63,176,.05); color: inherit;
}
.lp-country-flag { font-size: 1.05rem; line-height: 1; }
[data-bs-theme="dark"] .lp-country { border-color: rgba(159,182,255,.22); background: rgba(159,182,255,.08); color: #fff; }

/* Homepage polish (DESIGN.md) — tabular money + refined screenshot framing ---- */
.plan-price, .price-period, .lp-stat-num, .lp-limit-val, .lp-price-note,
.lp-num, .tnum {
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
}
/* Soft, blue-tinted product-shot framing (replaces loud borders / coloured shadow) */
.lp-shot {
  border-radius: 14px !important;
  border: 1px solid rgba(0, 55, 112, 0.08) !important;
  box-shadow: 0 8px 24px rgba(0, 55, 112, 0.12), 0 2px 6px rgba(0, 55, 112, 0.06) !important;
}
[data-bs-theme="dark"] .lp-shot {
  border-color: rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
}
/* Screen-gallery swiper — square-edged shots that sit flush together. */
.swiper-outside-n5 .lp-shot { border-radius: 0 !important; }

/* Tier 2 — richer hero mesh (layered cobalt/sky glow over the dark hero) ------ */
.lp-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(58% 70% at 14% 2%,   rgba(46, 164, 220, 0.20) 0%, rgba(46,164,220,0) 60%),
    radial-gradient(55% 66% at 88% 6%,    rgba(79, 114, 217, 0.22) 0%, rgba(79,114,217,0) 62%),
    radial-gradient(75% 85% at 60% 116%,  rgba(30, 63, 176, 0.30) 0%, rgba(30,63,176,0) 60%);
}

/* Tier 2 — pill CTAs (primary calls-to-action only) -------------------------- */
.lp-cta, .lp-cta:visited,
.lp-cta-ghost, .lp-cta-ghost:visited,
.lp-nav-cta, .lp-nav-cta:visited,
.lp-nav-ghost, .lp-nav-ghost:visited {
  border-radius: 9999px !important;
}
#pricing-info-section .card .btn { border-radius: 9999px !important; }

/* Interactive country explorer (homepage global-presence band) --------------- */
.lp-explorer { background: rgba(255, 255, 255, 0.02); }
.lp-explorer-side { background: rgba(255, 255, 255, 0.03); }
.lp-country-tab {
  display: inline-flex; align-items: center; gap: .6rem; width: 100%;
  padding: .7rem 1rem; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: #fff; font-weight: 500; font-size: .98rem;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
  cursor: pointer;
}
.lp-country-tab:hover { border-color: rgba(255, 255, 255, 0.34); background: rgba(255, 255, 255, 0.06); transform: translateX(3px); }
.lp-country-tab.active { background: #fff; border-color: #fff; color: #15245b; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28); }
.lp-country-role {
  display: inline-block; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  padding: .22rem .6rem; border-radius: 9999px;
  background: rgba(30, 63, 176, 0.10); color: var(--lp-brand-700); white-space: nowrap;
}
[data-bs-theme="dark"] .lp-country-role { background: rgba(46, 164, 220, 0.18); color: #bfe6f7; }
.lp-country-tab.active .lp-country-role { background: rgba(30, 63, 176, 0.12); color: var(--lp-brand-700); }
.lp-explorer-flag { font-size: 3.25rem; line-height: 1; }
.lp-explorer-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.lp-explorer-facts li { display: flex; align-items: center; gap: .6rem; color: rgba(255, 255, 255, 0.78); font-size: .92rem; }
.lp-explorer-facts li i { color: var(--lp-sky-400); font-size: 1rem; }
.lp-explorer .tab-pane { animation: lpFadeUp .4s ease; }
@keyframes lpFadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Pricing page — tailored-pricing card bits --------------------------------- */
.lp-plan-custom {
  font-size: .85rem; font-weight: 500; color: var(--lp-brand-600);
  display: inline-flex; align-items: center; gap: .4rem;
}
.lp-talk-link { display: block; text-align: center; font-weight: 600; font-size: .9rem; color: var(--lp-brand-600); text-decoration: none; }
.lp-talk-link:hover { text-decoration: underline; }
#pricing-info-section .lp-plan-featured .lp-plan-custom,
#pricing-info-section .lp-plan-featured .lp-talk-link { color: #cdd8ff; }
[data-bs-theme="dark"] .lp-plan-custom,
[data-bs-theme="dark"] .lp-talk-link { color: #9fb6ff; }

/* Industry / category image tiles (e.g. retail "built for every retailer") --- */
.lp-cat-tile {
  display: block; position: relative; overflow: hidden;
  aspect-ratio: 4 / 3; border-radius: 16px;
  border: 1px solid rgba(0, 55, 112, 0.08);
}
.lp-cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.lp-cat-tile:hover img { transform: scale(1.07); }
.lp-cat-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9, 14, 30, 0.82) 0%, rgba(9, 14, 30, 0.20) 46%, rgba(9, 14, 30, 0) 72%);
}
.lp-cat-label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: .9rem 1rem; color: #fff; font-weight: 600; font-size: 1rem; line-height: 1.2;
  display: flex; align-items: center; gap: .5rem;
}
.lp-cat-label i { font-size: 1.05rem; opacity: .9; }
[data-bs-theme="dark"] .lp-cat-tile { border-color: rgba(255, 255, 255, 0.10); }

/* Check-list (product deep-dive bullets) ------------------------------------ */
.lp-check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.lp-check-list li { display: flex; align-items: flex-start; gap: .6rem; color: var(--bs-body-color); }
.lp-check-list li i { color: var(--lp-brand-600); font-size: 1.05rem; line-height: 1.5; flex-shrink: 0; }
[data-bs-theme="dark"] .lp-check-list li i { color: #9fb6ff; }

/* Interactive stepper (how-it-works) ---------------------------------------- */
.lp-stepper { display: flex; position: relative; gap: .5rem; }
.lp-stepper::before {
  content: ""; position: absolute; top: 26px; left: 12.5%; right: 12.5%; height: 2px;
  background: var(--bs-border-color); z-index: 0;
}
.lp-stepper-node { flex: 1 1 0; min-width: 0; background: transparent; border: 0; cursor: pointer; padding: .25rem; text-align: center; }
.lp-stepper-node > * { position: relative; z-index: 1; }
.lp-stepper-num {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto .6rem;
  display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 1.15rem;
  background: var(--lp-brand-50); color: var(--lp-brand-600);
  border: 3px solid var(--bs-body-bg); transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.lp-stepper-label { display: block; font-weight: 500; font-size: .92rem; color: var(--bs-secondary-color); transition: color .2s ease; }
.lp-stepper-node:hover .lp-stepper-num { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(30, 63, 176, .20); }
.lp-stepper-node.active .lp-stepper-num { background: linear-gradient(135deg, #1e3fb0, #2ea4dc); color: #fff; box-shadow: 0 10px 24px rgba(30, 63, 176, .32); }
.lp-stepper-node.active .lp-stepper-label { color: var(--bs-heading-color); font-weight: 600; }
.lp-stepper-pane { animation: lpFadeUp .4s ease; }
[data-bs-theme="dark"] .lp-stepper-num { background: rgba(159, 182, 255, .12); color: #9fb6ff; }
[data-bs-theme="dark"] .lp-stepper::before { background: rgba(255, 255, 255, .12); }

/* Hardware showcase items (hardware-cta band) -------------------------------- */
.lp-hw-item {
  display: flex; align-items: center; gap: .75rem; height: 100%;
  padding: .85rem 1rem; border-radius: 12px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .10); color: #fff;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.lp-hw-item:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .28); transform: translateY(-2px); }
.lp-hw-item i { font-size: 1.35rem; color: #9fb6ff; flex-shrink: 0; }
.lp-hw-item span { font-weight: 500; font-size: .93rem; }

/* Payments marquee (Why-GloHub) — auto-scroll, hover-pause, edge fades ------- */
.lp-pay-marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.lp-pay-track {
  display: flex; align-items: center; gap: 1rem; width: max-content;
  animation: lpMarquee 36s linear infinite;
}
.lp-pay-marquee:hover .lp-pay-track { animation-play-state: paused; }
.lp-pay-track .lp-logo { flex: 0 0 auto; height: 60px; padding: .65rem 1.15rem; }
.lp-pay-track .lp-logo img { height: 30px; }
@keyframes lpMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .lp-pay-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .lp-pay-marquee { -webkit-mask-image: none; mask-image: none; }
}

/* =========================================================================
   Auth screens — login / register (split-panel: dark brand rail + form)
   Shared by website/limbo/login.blade.php + auth/register.blade.php.
   ========================================================================= */
.lp-auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 !important;   /* override template's global `section { padding: 9rem 0 }` */
  background: var(--lp-brand-50);
}
[data-bs-theme="dark"] .lp-auth { background: #0c0f17; }
@media (min-width: 992px) {
  .lp-auth { grid-template-columns: 46% 54%; }
  .lp-auth--narrow { grid-template-columns: 42% 58%; }
}

/* ---- Left brand rail (dark cobalt, reuses .lp-hero grid + aurora) ---- */
.lp-auth-brand {
  position: relative;
  display: none;
  flex-direction: column;
  padding: 3rem 3.5rem;
  overflow: hidden;
}
@media (min-width: 992px) { .lp-auth-brand { display: flex; } }
.lp-auth-brand__logo img { height: 30px; width: auto; }
.lp-auth-brand__body { margin-top: auto; margin-bottom: auto; padding: 2.5rem 0; }
.lp-auth-brand__title {
  color: #fff;
  font-weight: 400;
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.lp-auth-brand__sub {
  color: rgba(255,255,255,.72);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 30rem;
  margin: 0 0 2rem;
}
.lp-auth-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.lp-auth-points li { display: flex; align-items: flex-start; gap: .85rem; color: rgba(255,255,255,.9); }
.lp-auth-points li i {
  flex-shrink: 0;
  width: 2rem; height: 2rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(159,182,255,.16);
  color: #9fb6ff;
  font-size: 1rem;
}
.lp-auth-points li strong { display: block; color: #fff; font-weight: 600; font-size: .98rem; }
.lp-auth-points li span { display: block; color: rgba(255,255,255,.62); font-size: .875rem; line-height: 1.5; }
.lp-auth-brand__foot {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.25rem;
  color: rgba(255,255,255,.55);
  font-size: .8rem;
  line-height: 1.6;
}
.lp-auth-brand__foot strong { color: rgba(255,255,255,.8); font-weight: 600; }
.lp-auth-flags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .65rem; }
.lp-auth-flags span {
  font-size: .72rem; color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.14); border-radius: 999px;
  padding: .18rem .6rem;
}

/* ---- Right form column ---- */
.lp-auth-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem;
}
@media (min-width: 992px) {
  /* Top-anchor the form to the rail's top edge — no empty band above the card. */
  .lp-auth-main { align-items: stretch; justify-content: flex-start; padding: 3rem 3.5rem; }
  .lp-auth-card { margin: 0 auto; }
}
.lp-auth-card {
  width: 100%;
  max-width: 30rem;
}
.lp-auth-card--wide { max-width: 40rem; }
.lp-auth-mobilelogo { display: block; text-align: center; margin-bottom: 2rem; }
.lp-auth-mobilelogo img { height: 34px; width: auto; }
@media (min-width: 992px) { .lp-auth-mobilelogo { display: none; } }
.lp-auth-back {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .85rem; font-weight: 500; text-decoration: none;
  color: var(--bs-secondary-color);
  margin-bottom: 1.5rem;
}
.lp-auth-back:hover { color: var(--lp-brand-600); }
[data-bs-theme="dark"] .lp-auth-back:hover { color: #9fb6ff; }
.lp-auth-brand .lp-auth-back { color: rgba(255,255,255,.7); margin-bottom: 0; }
.lp-auth-brand .lp-auth-back:hover { color: #fff; }
.lp-auth-title { font-size: 1.6rem; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 .4rem; }
.lp-auth-lead { color: var(--bs-secondary-color); font-size: .98rem; margin: 0 0 1.75rem; }

/* Inputs — larger, calmer, cobalt focus ring */
.lp-auth-card .form-label { font-weight: 500; font-size: .875rem; margin-bottom: .4rem; }
.lp-auth-card .form-control,
.lp-auth-card .form-select {
  padding: .7rem .9rem;
  border-radius: .7rem;
  border-color: var(--bs-border-color);
  font-size: .95rem;
}
.lp-auth-card .input-group-text {
  border-radius: .7rem;
  font-size: .9rem;
  color: var(--bs-secondary-color);
  background: var(--bs-tertiary-bg);
}
.lp-auth-card .form-control:focus,
.lp-auth-card .form-select:focus {
  border-color: var(--lp-brand-400);
  box-shadow: 0 0 0 .22rem rgba(30, 63, 176, .14);
}
.lp-auth-card .btn-lg { padding: .75rem 1.5rem; }
.lp-auth-submit { width: 100%; }
.lp-auth-alt { text-align: center; font-size: .92rem; color: var(--bs-secondary-color); margin-top: 1.5rem; }
.lp-auth-alt a { font-weight: 600; text-decoration: none; }
.lp-auth-divider {
  display: flex; align-items: center; gap: .9rem;
  color: var(--bs-secondary-color); font-size: .8rem;
  margin: 1.5rem 0;
}
.lp-auth-divider::before, .lp-auth-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--bs-border-color);
}
.lp-auth-pw-toggle { cursor: pointer; color: var(--bs-secondary-color); background: var(--bs-tertiary-bg); }
.lp-auth-pw-toggle:hover { color: var(--lp-brand-600); }

/* ---- Multi-step progress (register) — one clean connector track + fill ---- */
.lp-authsteps { display: flex; position: relative; margin-bottom: 2rem; }
/* Track spans dot-centre to dot-centre (each dot centre sits half a column in). */
.lp-authsteps::before,
.lp-authsteps::after {
  content: ""; position: absolute; top: 15px; height: 2px; z-index: 0; border-radius: 2px;
}
.lp-authsteps::before { left: 16.66%; right: 16.66%; background: var(--bs-border-color); }
.lp-authsteps::after { left: 16.66%; width: var(--lp-authprog, 0%); background: var(--lp-brand-600); transition: width .45s ease; }
.lp-authstep { flex: 1; position: relative; text-align: center; z-index: 1; }
.lp-authstep__dot {
  position: relative; z-index: 1;
  width: 32px; height: 32px; margin: 0 auto .5rem;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 600;
  background: var(--bs-body-bg);
  border: 2px solid var(--bs-border-color);
  color: var(--bs-secondary-color);
  transition: all .3s ease;
}
.lp-authstep.is-active .lp-authstep__dot { border-color: var(--lp-brand-600); color: var(--lp-brand-600); box-shadow: 0 0 0 4px rgba(30,63,176,.12); }
.lp-authstep.is-done .lp-authstep__dot { background: var(--lp-brand-600); border-color: var(--lp-brand-600); color: #fff; }
.lp-authstep__label { font-size: .74rem; font-weight: 500; color: var(--bs-secondary-color); }
.lp-authstep.is-active .lp-authstep__label { color: var(--bs-body-color); }
.lp-fstep { display: none; animation: lpFadeUp .45s ease; }
.lp-fstep.is-active { display: block; }
@keyframes lpFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* Register success state */
.lp-auth-success { display: none; text-align: center; animation: lpFadeUp .5s ease; }
.lp-auth-success.is-show { display: block; }
.lp-auth-success__check {
  width: 84px; height: 84px; margin: 0 auto 1.5rem; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bs-success); color: #fff; font-size: 2.4rem;
  animation: lpPop .5s ease;
}
@keyframes lpPop { from { transform: scale(0); } to { transform: scale(1); } }
.lp-auth-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 1.5rem 0; }
.lp-auth-badges span {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .82rem; padding: .4rem .85rem; border-radius: 999px;
  border: 1px solid var(--bs-border-color); color: var(--bs-secondary-color);
}

/* =========================================================================
   Pill tabs (service-mode explorer) — override the template's nav-pills hover
   which turned the pill white-on-white. Light + dark aware.
   ========================================================================= */
.lp-pill-tabs .nav-link {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg) !important;
  border: 1px solid var(--bs-border-color);
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.lp-pill-tabs .nav-link:hover,
.lp-pill-tabs .nav-link:focus {
  color: var(--lp-brand-600) !important;
  background-color: var(--lp-brand-50) !important;
  border-color: var(--lp-brand-300);
}
.lp-pill-tabs .nav-link.active,
.lp-pill-tabs .nav-link.active:hover,
.lp-pill-tabs .nav-link.active:focus {
  color: #fff !important;
  background-color: var(--lp-brand-600) !important;
  border-color: var(--lp-brand-600);
}
[data-bs-theme="dark"] .lp-pill-tabs .nav-link:hover,
[data-bs-theme="dark"] .lp-pill-tabs .nav-link:focus {
  color: #cdd9ff !important;
  background-color: rgba(159, 182, 255, .14) !important;
  border-color: rgba(159, 182, 255, .32);
}

/* =========================================================================
   The Living Ledger — accounting hero. A breathing engine core fed by
   organic light-conduits from a constellation of business channels; typed
   transaction packets flow inward and post as balanced, real-time entries.
   Self-contained, brand-scoped (.lp-ll*), light-on-dark only.
   ========================================================================= */
.lp-ll { font-family: var(--lp-font-sans); margin-top: 3.25rem; }
.lp-ll-stage {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 960 / 600;
}
.lp-ll-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

/* Conduits (the abstracted "arms") */
.lp-ll-conduit {
  fill: none; stroke: url(#llConduit); stroke-width: 1.4; stroke-linecap: round;
  opacity: .55;
  transition: opacity .35s ease, stroke-width .35s ease, stroke-dashoffset .85s ease;
}
.lp-ll-conduit.is-drawn { stroke-dasharray: 5 9; animation: llFlow 2.4s linear infinite; }
@keyframes llFlow { to { stroke-dashoffset: -140; } }
.lp-ll-conduit.is-hot { opacity: 1; stroke-width: 2.4; }
.lp-ll.is-focus .lp-ll-conduit:not(.is-hot) { opacity: .12; }

/* Intro "wiring" reveal — nodes and core assemble on first view */
.lp-ll.is-intro .lp-ll-node { opacity: 0; transform: translate(-50%, -50%) scale(.82); }
.lp-ll.is-intro .lp-ll-node.in { opacity: 1; transform: translate(-50%, -50%) scale(1); transition: opacity .5s ease, transform .55s cubic-bezier(.2, .8, .2, 1); }
.lp-ll.is-intro .lp-ll-core { opacity: 0; transform: translate(-50%, -50%) scale(.9); }
.lp-ll.is-intro .lp-ll-core.in { opacity: 1; transform: translate(-50%, -50%) scale(1); transition: opacity .6s ease, transform .6s ease; }

/* Channel nodes */
.lp-ll-nodes { position: absolute; inset: 0; }
.lp-ll-node {
  position: absolute; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .42rem .8rem .42rem .42rem; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  color: #fff; white-space: nowrap; cursor: default;
  transition: opacity .35s ease, transform .35s ease, border-color .35s ease, background .35s ease;
}
.lp-ll-node:hover, .lp-ll-node.is-hot {
  border-color: rgba(159, 182, 255, .6); background: rgba(159, 182, 255, .14);
  transform: translate(-50%, -50%) scale(1.06);
}
.lp-ll.is-focus .lp-ll-node:not(.is-hot) { opacity: .38; }
.lp-ll-node .ico {
  width: 2rem; height: 2rem; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(159, 182, 255, .16); color: #9fb6ff; font-size: 1rem;
}
.lp-ll-node .lbl { font-size: .82rem; font-weight: 500; letter-spacing: -.01em; }

/* Engine core */
.lp-ll-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 33%; max-width: 320px; }
.lp-ll-core-glow {
  position: absolute; inset: -34%; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 164, 220, .5), transparent 68%);
  filter: blur(14px); animation: llBreath 6s ease-in-out infinite;
}
@keyframes llBreath { 0%, 100% { transform: scale(1); opacity: .82; } 50% { transform: scale(1.09); opacity: 1; } }
.lp-ll-core-ring {
  position: absolute; left: 50%; top: 50%; width: 130px; height: 130px; margin: -65px 0 0 -65px;
  border-radius: 50%; border: 1.5px solid rgba(46, 164, 220, .55); opacity: 0; z-index: 0; pointer-events: none;
}
.lp-ll-core.is-pulse .lp-ll-core-ring { animation: llRipple .7s ease-out; }
@keyframes llRipple { 0% { transform: scale(.35); opacity: .7; } 100% { transform: scale(1.85); opacity: 0; } }
.lp-ll-core-body {
  position: relative; z-index: 1; border-radius: 20px; padding: 1.05rem 1.1rem; text-align: left; overflow: hidden;
  background: linear-gradient(160deg, rgba(30, 63, 176, .58), rgba(12, 24, 69, .78));
  border: 1px solid rgba(159, 182, 255, .35);
  box-shadow: 0 20px 60px -20px rgba(46, 164, 220, .5), inset 0 0 0 1px rgba(255, 255, 255, .05);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: box-shadow .5s ease, border-color .5s ease;
}
.lp-ll-core.is-pulse .lp-ll-core-body { animation: llPulse .55s ease; }
@keyframes llPulse {
  0% { box-shadow: 0 20px 60px -20px rgba(46, 164, 220, .5); }
  40% { box-shadow: 0 26px 88px -14px rgba(46, 164, 220, .95); }
  100% { box-shadow: 0 20px 60px -20px rgba(46, 164, 220, .5); }
}
.lp-ll-core.is-recon .lp-ll-core-body { border-color: rgba(255, 200, 120, .9); }
.lp-ll-core-badge {
  font-size: .64rem; text-transform: uppercase; letter-spacing: .13em; color: #9fb6ff;
  margin-bottom: .55rem; display: flex; align-items: center; gap: .45rem;
}
.lp-ll-core-badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4ade80;
  animation: lp-pulse 2.4s ease-out infinite;
}
.lp-ll-tape { font-size: .72rem; line-height: 1.55; color: rgba(255, 255, 255, .72); height: 3.4em; overflow: hidden; margin-bottom: .55rem; }
.lp-ll-tape div { display: flex; gap: .4rem; align-items: center; animation: llTapeIn .4s ease; }
.lp-ll-tape .ch { color: #fff; font-weight: 500; }
.lp-ll-tape .tg { color: #9fb6ff; font-variant-numeric: tabular-nums; }
.lp-ll-tape .ok { color: #8fe3b0; margin-left: auto; }
@keyframes llTapeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.lp-ll-count { color: #fff; display: flex; align-items: baseline; gap: .4rem; }
.lp-ll-count [data-ll-count] { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.lp-ll-count-lbl { font-size: .74rem; color: rgba(255, 255, 255, .6); }
.lp-ll-balance { margin-top: .65rem; display: flex; align-items: center; gap: .5rem; }
.lp-ll-de { display: inline-flex; align-items: center; gap: .3rem; }
.lp-ll-dek { font-size: .6rem; font-weight: 700; letter-spacing: .06em; color: #9fb6ff; text-transform: uppercase; }
.lp-ll-bar { height: 6px; border-radius: 3px; width: 0; background: linear-gradient(90deg, #9fb6ff, #2ea4dc); transition: width .5s ease; }
.lp-ll-bal-label { font-size: .66rem; color: #8fe3b0; margin-left: .2rem; white-space: nowrap; }

/* Transaction packets */
.lp-ll-packet { filter: drop-shadow(0 1px 5px rgba(159, 182, 255, .55)); }
.lp-ll-packet rect { fill: url(#llPacketFill); stroke: rgba(255, 255, 255, .55); stroke-width: .5; }
.lp-ll-packet text { fill: #0c1845; font-family: var(--lp-font-sans); font-size: 11px; font-weight: 700; text-anchor: middle; dominant-baseline: middle; }

/* Caption strip */
.lp-ll-caps { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; justify-content: center; padding: 0; margin: 2.25rem 0 0; }
.lp-ll-caps li { color: rgba(255, 255, 255, .5); font-size: .85rem; font-weight: 500; display: flex; align-items: center; gap: .45rem; transition: color .35s ease; }
.lp-ll-caps li i { font-size: .95rem; opacity: .7; }
.lp-ll-caps li.is-on { color: #fff; }
.lp-ll-caps li.is-on i { color: #2ea4dc; opacity: 1; }

/* Hover tooltip */
.lp-ll-tooltip {
  position: absolute; transform: translate(-50%, -125%); z-index: 6; pointer-events: none;
  background: #0c1845; border: 1px solid rgba(159, 182, 255, .35); color: #fff;
  font-size: .74rem; padding: .35rem .6rem; border-radius: 8px; white-space: nowrap;
}

/* Keep the same aspect at every width (so SVG conduits and HTML nodes stay aligned).
   Below lg the 14-node constellation goes icon-only so labels never collide. */
@media (max-width: 991.98px) {
  .lp-ll-node { padding: .35rem; }
  .lp-ll-node .lbl { display: none; }
  .lp-ll-node .ico { width: 1.8rem; height: 1.8rem; font-size: .95rem; }
}
@media (max-width: 720px) {
  .lp-ll-node .ico { width: 1.6rem; height: 1.6rem; font-size: .88rem; }
  .lp-ll-core { width: 46%; }
  .lp-ll-core-body { padding: .7rem .75rem; }
  .lp-ll-tape { display: none; }
  .lp-ll-count [data-ll-count] { font-size: 1.15rem; }
}

/* Reduced motion — hold everything still; the static composition still tells the story */
@media (prefers-reduced-motion: reduce) {
  .lp-ll-conduit { animation: none; opacity: .5; }
  .lp-ll-core-glow { animation: none; }
  .lp-ll-core-badge::before { animation: none; }
}

/* "See it post" — a live posting card overlapping the statements screenshot */
.lp-postwrap { position: relative; }
.lp-post {
  position: absolute; left: -0.75rem; bottom: -1rem; z-index: 3; width: min(19rem, 84%);
  font-family: var(--lp-font-sans);
  background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: 14px;
  box-shadow: 0 24px 60px -24px rgba(12, 24, 69, .45); padding: .9rem 1rem;
}
.lp-post-head { display: flex; align-items: center; gap: .45rem; font-size: .66rem; text-transform: uppercase; letter-spacing: .11em; color: var(--bs-secondary-color); margin-bottom: .6rem; }
.lp-post-head .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: lp-pulse 2.4s ease-out infinite; }
.lp-post-tx { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.lp-post-tx .src { font-weight: 600; font-size: .92rem; color: var(--bs-heading-color); }
.lp-post-tx .amt { font-weight: 700; font-size: .98rem; font-variant-numeric: tabular-nums; color: var(--lp-brand-600); }
[data-bs-theme="dark"] .lp-post-tx .amt { color: #9fb6ff; }
.lp-post-split { display: flex; justify-content: space-between; gap: .5rem; font-size: .74rem; color: var(--bs-secondary-color); margin: .5rem 0; }
.lp-post-split b { color: var(--bs-heading-color); font-weight: 600; margin-right: .15rem; }
.lp-post-foot { display: flex; align-items: center; gap: .4rem; font-size: .72rem; color: #0f9d58; border-top: 1px solid var(--bs-border-color); padding-top: .55rem; }
[data-bs-theme="dark"] .lp-post-foot { color: #4ade80; }
.lp-post.tick .lp-post-tx, .lp-post.tick .lp-post-split { animation: llTapeIn .45s ease; }
@media (max-width: 991.98px) { .lp-post { position: static; width: 100%; left: 0; bottom: 0; margin-top: 1rem; } }
@media (prefers-reduced-motion: reduce) { .lp-post-head .dot { animation: none; } }

/* Count-up + report count badge */
.lp-countup { font-variant-numeric: tabular-nums; }
.lp-report-badge { font-size: .7rem; font-weight: 600; line-height: 1; padding: .28rem .5rem; border-radius: 999px; background: var(--lp-brand-50); color: var(--lp-brand-700); }
[data-bs-theme="dark"] .lp-report-badge { background: rgba(159, 182, 255, .14); color: #cdd9ff; }

/* =========================================================================
   Report explorer — interactive category rail + live report-preview surface.
   ========================================================================= */
.lp-rx-cats { display: flex; flex-direction: column; gap: .6rem; }
.lp-rx-cat {
  display: flex; align-items: center; gap: .85rem; width: 100%; text-align: left;
  padding: .8rem .9rem; border-radius: 14px; cursor: pointer;
  background: var(--bs-body-bg); border: 1px solid var(--bs-border-color);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.lp-rx-cat:hover { border-color: var(--lp-brand-300); transform: translateX(2px); }
.lp-rx-cat.is-active { border-color: var(--lp-brand-600); background: var(--lp-brand-50); }
[data-bs-theme="dark"] .lp-rx-cat.is-active { background: rgba(159, 182, 255, .12); }
.lp-rx-cat-ico { width: 2.5rem; height: 2.5rem; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.lp-rx-cat-txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.lp-rx-cat-txt .t { font-weight: 600; font-size: .95rem; color: var(--bs-heading-color); }
.lp-rx-cat-txt .s { font-size: .74rem; color: var(--bs-secondary-color); }
.lp-rx-cat-go { margin-left: auto; color: var(--bs-secondary-color); opacity: 0; transition: opacity .2s ease, transform .2s ease; }
.lp-rx-cat:hover .lp-rx-cat-go, .lp-rx-cat.is-active .lp-rx-cat-go { opacity: 1; }
.lp-rx-cat.is-active .lp-rx-cat-go { color: var(--lp-brand-600); }
[data-bs-theme="dark"] .lp-rx-cat.is-active .lp-rx-cat-go { color: #9fb6ff; }

.lp-rx-stage { height: 100%; }
.lp-rx-view {
  height: 100%; display: flex; flex-direction: column; overflow: hidden;
  background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: 18px;
  box-shadow: 0 30px 70px -40px rgba(12, 24, 69, .4); animation: lpFadeUp .4s ease;
}
.lp-rx-view[hidden] { display: none; }
.lp-rx-bar { display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; border-bottom: 1px solid var(--bs-border-color); background: var(--bs-tertiary-bg); }
.lp-rx-dots { display: flex; gap: .3rem; }
.lp-rx-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--bs-border-color); display: block; }
.lp-rx-name { font-weight: 600; font-size: .9rem; color: var(--bs-heading-color); }
.lp-rx-live { margin-left: auto; display: flex; align-items: center; gap: .35rem; font-size: .68rem; text-transform: uppercase; letter-spacing: .09em; color: var(--bs-secondary-color); }
.lp-rx-live .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: lp-pulse 2.4s ease-out infinite; }
.lp-rx-tabs { padding: .85rem 1rem 0; }
.lp-rx-tabgroup { display: flex; flex-wrap: wrap; gap: .4rem; }
.lp-rx-tabgroup[hidden] { display: none; }
.lp-rx-tab { font-size: .75rem; font-weight: 500; padding: .3rem .7rem; border-radius: 999px; cursor: pointer; background: transparent; border: 1px solid var(--bs-border-color); color: var(--bs-secondary-color); transition: all .18s ease; }
.lp-rx-tab:hover { border-color: var(--lp-brand-300); color: var(--lp-brand-600); }
.lp-rx-tab.is-active { background: var(--lp-brand-600); border-color: var(--lp-brand-600); color: #fff; }
[data-bs-theme="dark"] .lp-rx-tab.is-active { background: #9fb6ff; border-color: #9fb6ff; color: #0c1845; }
.lp-rx-body { display: grid; grid-template-columns: 1.05fr 1fr; gap: 1.25rem; padding: 1.1rem 1.15rem 1.25rem; flex: 1; align-items: center; }
/* Visualisation container — one of several chart types */
.lp-rx-viz { height: 150px; display: flex; align-items: flex-end; width: 100%; }
.lp-rx-viz.is-bars { gap: .4rem; }
.lp-rx-viz.is-bars span { flex: 1; min-width: 0; height: 0; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #2ea4dc, #1e3fb0); transition: height .6s cubic-bezier(.2, .8, .2, 1); }
.lp-rx-viz.is-progress { flex-direction: column; align-items: stretch; justify-content: center; gap: .7rem; }
.lp-rx-prog { display: flex; align-items: center; gap: .6rem; }
.lp-rx-prog .pl { font-size: .76rem; color: var(--bs-secondary-color); width: 5.5rem; flex: 0 0 auto; }
.lp-rx-prog .pt { flex: 1; height: 8px; border-radius: 999px; background: var(--bs-tertiary-bg); overflow: hidden; }
.lp-rx-prog .pf { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #9fb6ff, #1e3fb0); transition: width .7s cubic-bezier(.2, .8, .2, 1); }
.lp-rx-prog .pv { font-size: .72rem; font-weight: 600; color: var(--bs-heading-color); width: 2.7rem; text-align: right; font-variant-numeric: tabular-nums; }
.lp-rx-viz.is-line, .lp-rx-viz.is-area { align-items: stretch; }
.lp-rx-svg { width: 100%; height: 150px; }
.lp-rx-line { fill: none; stroke: #1e3fb0; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
[data-bs-theme="dark"] .lp-rx-line { stroke: #9fb6ff; }
.lp-rx-area { fill: url(#rxArea); stroke: none; }
.lp-rx-viz.is-donut { align-items: center; justify-content: center; gap: 1.4rem; }
.lp-rx-donut { width: 132px; height: 132px; flex: 0 0 auto; }
.lp-rx-leg { display: flex; flex-direction: column; gap: .45rem; }
.lp-rx-leg span { display: flex; align-items: center; gap: .5rem; font-size: .78rem; color: var(--bs-body-color); }
.lp-rx-leg i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex: 0 0 auto; }
.lp-rx-rows { display: flex; flex-direction: column; gap: .5rem; }
.lp-rx-row { display: flex; align-items: center; gap: .55rem; padding-bottom: .5rem; border-bottom: 1px dashed var(--bs-border-color); }
.lp-rx-row:last-child { border-bottom: 0; padding-bottom: 0; }
.lp-rx-row-l { font-size: .82rem; color: var(--bs-body-color); }
.lp-rx-row-v { margin-left: auto; font-weight: 600; font-size: .9rem; color: var(--bs-heading-color); }
.lp-rx-delta { font-size: .66rem; font-weight: 600; padding: .14rem .4rem; border-radius: 6px; min-width: 3.1rem; text-align: center; }
.lp-rx-delta.up { background: rgba(34, 197, 94, .14); color: #0f9d58; }
.lp-rx-delta.down { background: rgba(239, 68, 68, .12); color: #dc3545; }
.lp-rx-delta.empty { background: transparent; min-width: 0; }
.lp-rx-foot { display: flex; flex-wrap: wrap; gap: .4rem 1rem; padding: .7rem 1.1rem; border-top: 1px solid var(--bs-border-color); background: var(--bs-tertiary-bg); }
.lp-rx-foot span { font-size: .73rem; color: var(--bs-secondary-color); display: flex; align-items: center; gap: .35rem; }
@media (max-width: 991.98px) {
  .lp-rx-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .lp-rx-cat { padding: .6rem .65rem; }
  .lp-rx-cat-go { display: none; }
  .lp-rx-body { grid-template-columns: 1fr; align-items: stretch; }
  .lp-rx-viz { height: 130px; }
  .lp-rx-svg { height: 130px; }
}
@media (max-width: 400px) {
  .lp-rx-cat-txt .s { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-rx-view { animation: none; }
  .lp-rx-viz.is-bars span, .lp-rx-prog .pf, .lp-rx-line { transition: none; }
  .lp-rx-live .dot { animation: none; }
}

/* =========================================================================
   Legal / policy pages — sticky table of contents + readable prose.
   ========================================================================= */
.lp-legal-meta { display: inline-flex; gap: 1.25rem; flex-wrap: wrap; font-size: .85rem; }
.lp-legal { max-width: 780px; }
.lp-legal h2 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; margin: 2.5rem 0 .75rem; scroll-margin-top: 100px; }
.lp-legal > h2:first-child { margin-top: 0; }
.lp-legal h3 { font-size: .95rem; font-weight: 600; margin: 1.35rem 0 .5rem; }
.lp-legal p { color: var(--bs-body-color); line-height: 1.75; margin-bottom: 1rem; }
.lp-legal ul { padding-left: 1.15rem; margin-bottom: 1rem; }
.lp-legal li { color: var(--bs-body-color); line-height: 1.7; margin-bottom: .4rem; }
.lp-legal a { color: var(--lp-brand-600); }
[data-bs-theme="dark"] .lp-legal a { color: #9fb6ff; }
.lp-legal-contact { border: 1px solid var(--bs-border-color); border-radius: 14px; padding: 1.25rem 1.35rem; background: var(--bs-tertiary-bg); }
.lp-toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: .1rem; max-height: calc(100vh - 120px); overflow-y: auto; }
.lp-toc-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--bs-secondary-color); margin-bottom: .6rem; padding-left: .8rem; }
.lp-toc a { padding: .35rem 0 .35rem .8rem; border-left: 2px solid var(--bs-border-color); color: var(--bs-secondary-color); font-size: .82rem; line-height: 1.4; text-decoration: none; transition: color .2s ease, border-color .2s ease; }
.lp-toc a:hover { color: var(--lp-brand-600); border-left-color: var(--lp-brand-300); }
.lp-toc a.is-active { color: var(--lp-brand-600); border-left-color: var(--lp-brand-600); font-weight: 500; }
[data-bs-theme="dark"] .lp-toc a:hover, [data-bs-theme="dark"] .lp-toc a.is-active { color: #9fb6ff; border-left-color: #9fb6ff; }

/* Hardware page — hero kit strip + filterable catalog */
.lp-hw-kit { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.lp-hw-kit figure { margin: 0; background: #fff; border-radius: 12px; padding: .85rem .75rem; text-align: center; }
.lp-hw-kit img { height: 78px; width: 100%; object-fit: contain; }
.lp-hw-kit figcaption { font-size: .72rem; color: #0c1845; margin-top: .5rem; font-weight: 500; }
@media (max-width: 575.98px) { .lp-hw-kit { grid-template-columns: repeat(2, 1fr); } }
.lp-hw-cell.is-hidden { display: none; }
.lp-hw-cell.is-show { animation: lpFadeUp .35s ease; }

/* Link card — a whole card that is a link (channel cross-links, etc.) */
.lp-link-card {
  display: flex; flex-direction: column; color: inherit;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.lp-link-card:hover {
  transform: translateY(-4px);
  border-color: var(--lp-brand-300);
  box-shadow: 0 18px 40px -24px rgba(30, 63, 176, .5);
}
.lp-link-card:hover .lp-feat-icon { transform: scale(1.06); }
.lp-link-media { aspect-ratio: 16 / 10; overflow: hidden; }
.lp-link-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.lp-link-card:hover .lp-link-media img { transform: scale(1.06); }
.lp-link-card .bi-arrow-right { transition: transform .25s ease; }
.lp-link-card:hover .bi-arrow-right { transform: translateX(4px); }
[data-bs-theme="dark"] .lp-link-card:hover { border-color: rgba(159, 182, 255, .5); }
