/* ------------------------------------------------
  Balanexa — brand layer on top of the Sofeland theme
  Loaded LAST on every page (after responsive.css).

  Every colour is taken from the Balanexa logo (GD pixel sampling of
  balanexa-mark.png) or from the Balanexa app stylesheets
  (bookkeeping-ui.css / custom-default.css / auth.css).

  Contents
  1.  Tokens
  2.  Base type + template de-cluttering
  3.  Accessibility: buttons, links, focus, motion
  4.  Header
  5.  Section titles, eyebrows, utilities
  6.  Hero (dark) + ledger grid
  7.  App mockup (browser frame, sidebar, P&L, chart, table)
  8.  Floating cards
  9.  Trust bar
  10. Cards + icon tiles + feature clusters
  11. Dark band: workspace chooser
  12. Banking spotlight
  13. Reports spotlight
  14. How it works
  15. Pricing
  16. FAQ accordion
  17. CTA band
  18. Interior page title + sub-nav + content blocks
  19. Forms
  20. Footer
  21. Responsive
------------------------------------------------ */

/* 1. Tokens -------------------------------------------------------- */
:root {
  --bx-navy-950: #0b1a33;   /* logo darkest stroke */
  --bx-navy-900: #102137;   /* app --primary-dark */
  --bx-navy-800: #182c46;   /* app --bk-accent */
  --bx-navy-700: #203a5c;
  --bx-navy-600: #2c4a73;   /* logo lightest navy */
  --bx-teal-400: #00cdbd;   /* logo bright teal */
  --bx-teal-500: #00a8a6;   /* logo mid teal */
  --bx-teal-600: #007e80;   /* app --primary */
  --bx-teal-700: #00666a;   /* app --primary-dark (teal theme) */
  --bx-teal-50:  #e0f5f2;   /* app --primary-bg-color */
  --bx-navy-50:  #e9eef5;   /* app --bk-highlight */
  --bx-ink:   #14243b;      /* app --bk-ink */
  --bx-muted: #55647a;      /* app --bk-muted, nudged for AA */
  --bx-line:  #dce3ed;      /* app --bk-line */
  --bx-soft:  #f2f5f9;      /* app --bk-soft */
  --bx-page:  #f4f6fa;      /* app --bk-page */
  --bx-success: #0f7a4d;
  --bx-danger:  #c0342b;
  --bx-amber:   #b26a00;

  --bx-grad-navy: linear-gradient(135deg, #0b1a33 0%, #182c46 55%, #2c4a73 100%);
  --bx-grad-teal: linear-gradient(135deg, #00cdbd 0%, #00a8a6 50%, #007e80 100%);
  --bx-grad-brand: linear-gradient(120deg, #0b1a33 0%, #182c46 40%, #006c70 80%, #00a8a6 100%);

  --bx-radius-sm: 10px;
  --bx-radius: 16px;
  --bx-radius-lg: 24px;
  --bx-shadow-sm: 0 1px 2px rgba(11, 26, 51, .06), 0 2px 8px rgba(11, 26, 51, .04);
  --bx-shadow: 0 2px 4px rgba(11, 26, 51, .04), 0 12px 32px rgba(11, 26, 51, .08);
  --bx-shadow-lg: 0 10px 20px rgba(11, 26, 51, .08), 0 40px 80px rgba(11, 26, 51, .18);
  --bx-ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base type + de-cluttering ------------------------------------- */
body { font-size: 16.5px; line-height: 1.7; color: var(--bx-muted); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, h5, h6 { color: var(--bx-navy-900); font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: 58px; line-height: 1.08; font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: 42px; line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: 26px; line-height: 1.3; }
h4 { font-size: 21px; line-height: 1.35; }
h5 { font-size: 18px; line-height: 1.4; }
p { line-height: 1.75; }
.lead { font-size: 19px; line-height: 1.7; }
::selection { background: var(--bx-teal-400); color: var(--bx-navy-950); }
.tabular { font-variant-numeric: tabular-nums; }

/* Template clutter that reads as glitches in static layouts. */
.title-effect { display: none !important; }
.header-1 #header-wrap::before, .header-1 #header-wrap::after { display: none !important; }
.btn:before { display: none; }       /* skewed shine sweep */
section { padding: 110px 0; position: relative; }
.section-tight { padding: 72px 0; }
.grey-bg { background-color: var(--bx-page); }
.accordion .accordion-button { text-transform: none; }

/* 3. Accessibility ------------------------------------------------- */
.btn {
  font-weight: 700; font-size: 16px; letter-spacing: -0.005em;
  padding: 14px 26px; border-radius: 12px; line-height: 1.3;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .2s var(--bx-ease), box-shadow .2s var(--bx-ease), background-color .2s, color .2s, border-color .2s;
}
.btn .bi { font-size: 1.1em; line-height: 1; }
.btn-sm { padding: 10px 18px; font-size: 15px; border-radius: 10px; }
.btn-lg { padding: 17px 32px; font-size: 17px; }
/* White on teal fails WCAG — teal buttons carry navy text (≈6.9:1). */
.btn.btn-theme { background: var(--bx-teal-500); color: var(--bx-navy-950); box-shadow: 0 6px 18px rgba(0, 168, 166, .28); }
.btn.btn-theme:hover { background: var(--bx-teal-400); color: var(--bx-navy-950); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 205, 189, .38); }
.btn.btn-navy { background: var(--bx-navy-800); color: #fff; }
.btn.btn-navy:hover { background: var(--bx-navy-950); color: #fff; transform: translateY(-2px); }
.btn.btn-border { border: 1.5px solid var(--bx-line); background: #fff; color: var(--bx-navy-900); }
.btn.btn-border:hover { border-color: var(--bx-navy-800); background: var(--bx-navy-800); color: #fff; transform: translateY(-2px); }
.btn.btn-glass { border: 1.5px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); color: #fff; backdrop-filter: blur(6px); }
.btn.btn-glass:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); color: #fff; transform: translateY(-2px); }
.btn.btn-white { background: #fff; color: var(--bx-navy-950); }
.btn.btn-white:hover { background: var(--bx-teal-50); color: var(--bx-navy-950); transform: translateY(-2px); }
.btn + .btn { margin-left: 12px; }

/* Raw teal fails 4.5:1 for small text — links use the app teal #007e80. */
.page-content p a:not(.btn), .accordion-body a, .bx-prose a, .contact-list a {
  color: var(--bx-teal-600); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.page-content p a:not(.btn):hover, .accordion-body a:hover, .bx-prose a:hover { color: var(--bx-teal-700); }
.link-arrow { color: var(--bx-teal-600); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow .bi { transition: transform .2s var(--bx-ease); }
.link-arrow:hover { color: var(--bx-teal-700); }
.link-arrow:hover .bi { transform: translateX(4px); }

a:focus-visible, button:focus-visible, .btn:focus-visible,
.form-control:focus-visible, .navbar-toggler:focus-visible, summary:focus-visible {
  outline: 3px solid var(--bx-teal-400); outline-offset: 3px; box-shadow: none;
}
.visually-hidden-focusable:focus { position: fixed !important; top: 10px; left: 10px; z-index: 10000; background: #fff; padding: 10px 16px; border-radius: 8px; box-shadow: var(--bx-shadow); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

/* 4. Header -------------------------------------------------------- */
.header.header-1 { top: 22px; }
.header-1 #header-wrap {
  border-radius: 16px; padding: 10px 14px 10px 22px;
  background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(10px);
  box-shadow: 0 10px 40px rgba(11, 26, 51, .18); border: 1px solid rgba(255, 255, 255, .6);
}
#site-header.fixed-header { background: transparent !important; top: 10px; }
#site-header.fixed-header #header-wrap { box-shadow: 0 10px 40px rgba(11, 26, 51, .14); border-color: var(--bx-line); }
.logo img { height: 40px; width: auto; }
#site-header.fixed-header .logo img { height: 36px; }
.navbar-nav .nav-item + .nav-item { margin-left: 30px; }
.navbar-nav .nav-link { font-family: var(--themeht-secondary-font-family); font-weight: 600; font-size: 15.5px; color: var(--bx-navy-900); letter-spacing: 0; text-transform: none; }
.navbar-nav .nav-link::before { display: none; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-item .nav-link.active { color: var(--bx-teal-600); }
.navbar-nav .nav-item .nav-link.active { position: relative; }
.navbar-nav .nav-item .nav-link.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--bx-grad-teal); }
.header-cta { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.header-signin { font-family: var(--themeht-secondary-font-family); font-weight: 600; font-size: 15.5px; color: var(--bx-navy-900); padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.header-signin:hover { background: var(--bx-soft); color: var(--bx-teal-600); }
.header-cta .btn + .btn, .header-cta a + .btn { margin-left: 0; }
.navbar-toggler { border: 0; padding: 8px; }

/* 5. Section titles, eyebrows, utilities --------------------------- */
.section-title { margin-bottom: 56px; }
.section-title h2 { margin-bottom: 18px; }
.section-title p { font-size: 18px; margin-bottom: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--themeht-secondary-font-family);
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--bx-teal-600); background: var(--bx-teal-50);
  border: 1px solid rgba(0, 126, 128, .15); border-radius: 999px; padding: 7px 14px; margin-bottom: 20px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--bx-teal-500); box-shadow: 0 0 0 4px rgba(0, 168, 166, .18); }
.on-dark .eyebrow, .dark-band .eyebrow, .bx-hero .eyebrow, .page-hero .eyebrow, .cta-panel .eyebrow {
  color: var(--bx-teal-400); background: rgba(0, 205, 189, .1); border-color: rgba(0, 205, 189, .28);
}
.text-gradient { background: linear-gradient(100deg, #00cdbd 0%, #3fe0d2 45%, #00a8a6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-teal { color: var(--bx-teal-600) !important; }
.mt-6 { margin-top: 72px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; color: var(--bx-ink); }
.check-list li::before {
  content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--bx-teal-50); color: var(--bx-teal-600);
  font-size: 14px; display: flex; align-items: center; justify-content: center; line-height: 1;
}
.on-dark .check-list li, .dark-band .check-list li { color: rgba(255, 255, 255, .86); }
.on-dark .check-list li::before, .dark-band .check-list li::before { background: rgba(0, 205, 189, .15); color: var(--bx-teal-400); }

/* 6. Hero ---------------------------------------------------------- */
.bx-hero {
  position: relative; overflow: hidden; color: rgba(255, 255, 255, .78);
  padding: 200px 0 120px;
  background:
    radial-gradient(55% 60% at 85% 25%, rgba(0, 205, 189, .20), transparent 70%),
    radial-gradient(45% 55% at 5% 95%, rgba(44, 74, 115, .55), transparent 70%),
    var(--bx-navy-950);
}
.ledger-grid::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
}
.bx-hero .container { position: relative; z-index: 2; }
.bx-hero h1 { color: #fff; margin-bottom: 24px; }
.bx-hero .lead { color: rgba(255, 255, 255, .78); max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn + .btn { margin-left: 0; }
.hero-micro { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 14.5px; color: rgba(255, 255, 255, .7); list-style: none; padding: 0; }
.hero-micro li { display: inline-flex; align-items: center; gap: 8px; }
.hero-micro .bi { color: var(--bx-teal-400); font-size: 16px; }
.hero-ribbon { position: absolute; right: -120px; bottom: -160px; width: 620px; opacity: .06; pointer-events: none; z-index: 1; }

/* 7. App mockup ---------------------------------------------------- */
.hero-visual { position: relative; padding: 20px 0 50px; }
.hero-visual::before {
  content: ""; position: absolute; inset: 8% 4% 10% 8%; border-radius: 40px;
  background: radial-gradient(closest-side, rgba(0, 205, 189, .35), transparent); filter: blur(30px); z-index: 0;
}
.app-frame {
  position: relative; z-index: 1; background: #fff; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .06), 0 50px 100px rgba(0, 0, 0, .45);
  color: var(--bx-ink); font-size: 12px; line-height: 1.4; text-align: left;
}
.app-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bx-soft); border-bottom: 1px solid var(--bx-line); }
.app-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #d3dae5; }
.app-bar .dot:nth-child(1) { background: #ff6b5e; }
.app-bar .dot:nth-child(2) { background: #ffbd2e; }
.app-bar .dot:nth-child(3) { background: #28c840; }
.app-url { margin-left: 12px; flex: 1; max-width: 260px; background: #fff; border: 1px solid var(--bx-line); border-radius: 8px; padding: 3px 10px; font-size: 11px; color: var(--bx-muted); display: flex; align-items: center; gap: 6px; }
.app-url .bi { color: var(--bx-success); }
.app-body { display: flex; min-height: 360px; }
.app-side { width: 148px; flex: 0 0 auto; background: var(--bx-navy-800); padding: 14px 10px; color: rgba(255, 255, 255, .72); }
.app-side .brand { display: flex; align-items: center; gap: 8px; padding: 2px 6px 14px; color: #fff; font-weight: 700; font-size: 13px; font-family: var(--themeht-secondary-font-family); }
.app-side .brand img { width: 22px; height: auto; background: #fff; border-radius: 6px; padding: 2px; }
.app-side .nav-i { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 7px; font-size: 11.5px; margin-bottom: 2px; white-space: nowrap; }
.app-side .nav-i .bi { font-size: 13px; opacity: .85; }
.app-side .nav-i.active { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 3px 0 0 var(--bx-teal-400); }
.app-main { flex: 1; min-width: 0; background: var(--bx-page); padding: 16px; }
.app-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 8px; }
.app-head h6 { margin: 0; font-size: 14px; color: var(--bx-navy-900); letter-spacing: -0.01em; }
.app-head .ws { font-size: 10.5px; color: var(--bx-muted); }
.app-pill { font-size: 10.5px; padding: 4px 9px; border-radius: 6px; background: #fff; border: 1px solid var(--bx-line); color: var(--bx-ink); white-space: nowrap; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { background: #fff; border: 1px solid var(--bx-line); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.kpi .k-label { display: block; font-size: 10px; color: var(--bx-muted); text-transform: uppercase; letter-spacing: .05em; }
.kpi .k-value { display: block; font-size: 16px; font-weight: 800; color: var(--bx-navy-900); font-variant-numeric: tabular-nums; margin-top: 2px; font-family: var(--themeht-secondary-font-family); }
.kpi .k-delta { font-size: 10px; font-weight: 700; color: var(--bx-success); }
.kpi .k-delta.down { color: var(--bx-danger); }
.app-chart { background: #fff; border: 1px solid var(--bx-line); border-radius: 10px; padding: 10px 12px 6px; margin-top: 10px; }
.app-chart .c-head { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; color: var(--bx-muted); margin-bottom: 4px; }
.app-chart .legend { display: flex; gap: 10px; }
.app-chart .legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 4px; vertical-align: middle; }
.app-chart svg { display: block; width: 100%; height: 110px; }
.app-table { background: #fff; border: 1px solid var(--bx-line); border-radius: 10px; margin-top: 10px; overflow: hidden; }
.app-table .row-i { display: grid; grid-template-columns: 1.6fr 1fr .9fr; gap: 8px; padding: 7px 12px; border-top: 1px solid var(--bx-soft); align-items: center; font-size: 11px; }
.app-table .row-i:first-child { border-top: 0; background: var(--bx-soft); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--bx-muted); }
.app-table .amt { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.badge-s { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; }
.badge-s.paid { background: rgba(15, 122, 77, .12); color: var(--bx-success); }
.badge-s.due { background: rgba(178, 106, 0, .12); color: var(--bx-amber); }
.badge-s.draft { background: var(--bx-navy-50); color: var(--bx-navy-700); }

/* 8. Floating cards ------------------------------------------------ */
.float-card {
  position: absolute; z-index: 3; background: #fff; border-radius: 14px; padding: 14px 16px;
  box-shadow: var(--bx-shadow-lg); border: 1px solid var(--bx-line); color: var(--bx-ink);
  display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.35; text-align: left;
  animation: bx-float 6s ease-in-out infinite;
}
.float-card .fc-icon { width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; font-size: 20px; background: var(--bx-teal-50); color: var(--bx-teal-600); }
.float-card .fc-icon.ok { background: rgba(15, 122, 77, .12); color: var(--bx-success); }
.float-card strong { display: block; color: var(--bx-navy-900); font-size: 13.5px; font-family: var(--themeht-secondary-font-family); }
.float-card span { color: var(--bx-muted); font-size: 12px; }
.float-card .num { font-variant-numeric: tabular-nums; color: var(--bx-success); font-weight: 800; }
.float-card.fc-1 { left: -34px; bottom: 6px; }
.float-card.fc-2 { right: -22px; top: 54px; animation-delay: -3s; }
@keyframes bx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* 9. Trust bar ----------------------------------------------------- */
.trust-bar { padding: 0; margin-top: -56px; position: relative; z-index: 5; }
.trust-inner {
  background: #fff; border-radius: var(--bx-radius-lg); box-shadow: var(--bx-shadow);
  border: 1px solid var(--bx-line); padding: 34px 20px;
}
.stat { text-align: center; padding: 6px 10px; position: relative; }
.trust-inner .col-lg-3 + .col-lg-3 .stat::before { content: ""; position: absolute; left: -12px; top: 15%; bottom: 15%; width: 1px; background: var(--bx-line); }
.stat .stat-num { font-family: var(--themeht-secondary-font-family); font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--bx-navy-900); font-variant-numeric: tabular-nums; }
.stat .stat-num .count-number, .stat .stat-num .count-suffix { font-size: inherit; line-height: inherit; color: inherit; margin: 0; font-weight: inherit; }
.stat .stat-num .count-suffix { color: var(--bx-teal-500); }
.stat .stat-label { font-size: 14.5px; color: var(--bx-muted); margin-top: 4px; }

/* 10. Cards, icon tiles, feature clusters -------------------------- */
.bx-card {
  position: relative; height: 100%; background: #fff; border: 1px solid var(--bx-line);
  border-radius: var(--bx-radius); padding: 30px 28px; box-shadow: var(--bx-shadow-sm);
  transition: transform .25s var(--bx-ease), box-shadow .25s var(--bx-ease), border-color .25s;
}
.bx-card:hover { transform: translateY(-4px); box-shadow: var(--bx-shadow); border-color: rgba(0, 168, 166, .45); }
.bx-card h4, .bx-card h5 { margin: 18px 0 10px; }
.bx-card p { margin: 0; font-size: 15.5px; }
.bx-card .check-list { margin-top: 16px; }
.bx-card .check-list li { font-size: 15px; margin-bottom: 8px; }
.icon-tile {
  width: 54px; height: 54px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--bx-teal-50); color: var(--bx-teal-600); font-size: 25px; transition: background .25s, color .25s, transform .25s var(--bx-ease);
}
.icon-tile.navy { background: var(--bx-navy-50); color: var(--bx-navy-700); }
.bx-card:hover .icon-tile { background: var(--bx-grad-teal); color: var(--bx-navy-950); transform: rotate(-4deg) scale(1.04); }
.col-card { margin-top: 24px; }
.cluster { margin-top: 48px; }
.cluster:first-of-type { margin-top: 0; }
.cluster-head { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.cluster-head .cluster-label { font-family: var(--themeht-secondary-font-family); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--bx-teal-600); white-space: nowrap; }
.cluster-head .rule { height: 1px; flex: 1; background: linear-gradient(90deg, var(--bx-line), transparent); }

/* 11. Dark band ---------------------------------------------------- */
.dark-band { background: var(--bx-grad-navy); color: rgba(255, 255, 255, .76); overflow: hidden; }
.dark-band h2, .dark-band h3, .dark-band h4, .dark-band h5 { color: #fff; }
.dark-band .lead, .dark-band p { color: rgba(255, 255, 255, .76); }
.dark-band .band-ribbon { position: absolute; left: -160px; top: -80px; width: 560px; opacity: .05; pointer-events: none; }
.point { display: flex; gap: 16px; margin-bottom: 26px; }
.point .icon-tile { flex: 0 0 auto; width: 48px; height: 48px; font-size: 22px; border-radius: 12px; }
.dark-band .point .icon-tile { background: rgba(0, 205, 189, .12); color: var(--bx-teal-400); }
.point h5 { margin-bottom: 4px; }
.point p { margin: 0; font-size: 15.5px; }
.chooser {
  position: relative; background: rgba(255, 255, 255, .98); border-radius: 20px; padding: 26px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .4); color: var(--bx-ink); text-align: left;
}
.chooser-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.chooser-head h5 { margin: 0; font-size: 17px; color: var(--bx-navy-900); }
.chooser-head span { font-size: 13px; color: var(--bx-muted); }
.ws-item { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--bx-line); border-radius: 14px; margin-bottom: 10px; transition: border-color .2s, box-shadow .2s; background: #fff; }
.ws-item:hover { border-color: var(--bx-teal-500); box-shadow: 0 8px 20px rgba(0, 168, 166, .12); }
.ws-avatar { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; color: #fff; flex: 0 0 auto; font-family: var(--themeht-secondary-font-family); }
.ws-avatar.a1 { background: var(--bx-grad-teal); color: var(--bx-navy-950); }
.ws-avatar.a2 { background: var(--bx-grad-navy); }
.ws-avatar.a3 { background: linear-gradient(135deg, #2c4a73, #00a8a6); }
.ws-meta { flex: 1; min-width: 0; }
.ws-meta strong { display: block; font-size: 14.5px; color: var(--bx-navy-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-meta span { font-size: 12.5px; color: var(--bx-muted); }
.ws-badge { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--bx-teal-50); color: var(--bx-teal-700); white-space: nowrap; }
.ws-badge.trial { background: rgba(178, 106, 0, .12); color: var(--bx-amber); }
.ws-open { font-size: 12.5px; font-weight: 700; color: var(--bx-navy-800); border: 1px solid var(--bx-line); border-radius: 8px; padding: 6px 12px; white-space: nowrap; }
.chooser-foot { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--bx-muted); margin-top: 14px; }
.chooser-foot .bi { color: var(--bx-teal-600); }

/* 12. Banking spotlight -------------------------------------------- */
.bank-card { background: #fff; border: 1px solid var(--bx-line); border-radius: 20px; box-shadow: var(--bx-shadow); overflow: hidden; text-align: left; }
.bank-card-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--bx-line); gap: 10px; }
.bank-card-head strong { color: var(--bx-navy-900); font-family: var(--themeht-secondary-font-family); font-size: 15px; }
.bank-card-head span { font-size: 12.5px; color: var(--bx-muted); }
.bank-row { display: grid; grid-template-columns: 70px 1fr auto 112px; gap: 12px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--bx-soft); font-size: 13.5px; }
.bank-row .d { color: var(--bx-muted); font-variant-numeric: tabular-nums; font-size: 12.5px; }
.bank-row .desc { color: var(--bx-ink); font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bank-row .amt { font-variant-numeric: tabular-nums; font-weight: 700; text-align: right; }
.bank-row .amt.in { color: var(--bx-success); }
.bank-row .amt.out { color: var(--bx-ink); }
.chip { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.chip.matched { background: rgba(15, 122, 77, .12); color: var(--bx-success); }
.chip.rule { background: var(--bx-teal-50); color: var(--bx-teal-700); }
.chip.review { background: rgba(178, 106, 0, .12); color: var(--bx-amber); }
.recon { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--bx-soft); }
.recon div { padding: 16px 20px; }
.recon div + div { border-left: 1px solid var(--bx-line); }
.recon small { display: block; font-size: 11.5px; color: var(--bx-muted); text-transform: uppercase; letter-spacing: .05em; }
.recon b { font-family: var(--themeht-secondary-font-family); font-size: 17px; color: var(--bx-navy-900); font-variant-numeric: tabular-nums; }
.recon .zero b { color: var(--bx-success); }

/* 13. Reports spotlight -------------------------------------------- */
.report-card { background: #fff; border: 1px solid var(--bx-line); border-radius: 20px; box-shadow: var(--bx-shadow); padding: 24px 26px; text-align: left; }
.report-card .r-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; gap: 10px; }
.report-card .r-head strong { display: block; font-family: var(--themeht-secondary-font-family); color: var(--bx-navy-900); font-size: 16px; }
.report-card .r-head span { font-size: 12.5px; color: var(--bx-muted); }
.report-card .seg { display: inline-flex; background: var(--bx-soft); border-radius: 8px; padding: 3px; font-size: 11.5px; font-weight: 700; }
.report-card .seg span { padding: 4px 10px; border-radius: 6px; color: var(--bx-muted); }
.report-card .seg span.on { background: #fff; color: var(--bx-navy-900); box-shadow: var(--bx-shadow-sm); }
.r-line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; border-bottom: 1px dashed var(--bx-line); color: var(--bx-ink); font-variant-numeric: tabular-nums; }
.r-line.sub { padding-left: 14px; color: var(--bx-muted); font-size: 13.5px; }
.r-line.total { border-bottom: 0; border-top: 2px solid var(--bx-navy-900); font-weight: 800; color: var(--bx-navy-900); margin-top: 6px; padding-top: 10px; }
.r-line .cmp { color: var(--bx-muted); margin-left: 18px; font-weight: 500; }
.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-cloud span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--bx-line); font-size: 14.5px; font-weight: 600; color: var(--bx-ink); box-shadow: var(--bx-shadow-sm); }
.chip-cloud span .bi { color: var(--bx-teal-600); }

/* 14. How it works ------------------------------------------------- */
.steps { position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 16.66%; right: 16.66%; height: 2px; background: repeating-linear-gradient(90deg, var(--bx-line) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 12px; }
.step-badge {
  position: relative; z-index: 1; width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 20px;
  background: var(--bx-grad-navy); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 28px; box-shadow: 0 14px 30px rgba(11, 26, 51, .25);
}
.step-badge em { position: absolute; top: -10px; right: -10px; width: 28px; height: 28px; border-radius: 50%; background: var(--bx-teal-400); color: var(--bx-navy-950); font-style: normal; font-size: 12.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 3px solid #fff; font-family: var(--themeht-secondary-font-family); }
.step h4 { margin-bottom: 10px; }
.step p { max-width: 320px; margin: 0 auto; font-size: 15.5px; }

/* 15. Pricing ------------------------------------------------------ */
.pricing-currency-wrap {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
}
.currency-toggle-pill {
  display: inline-flex; background: #fff; border: 1.5px solid var(--bx-line);
  padding: 4px; border-radius: 999px; box-shadow: var(--bx-shadow-sm); gap: 4px;
}
.currency-toggle-pill .btn-curr {
  border: 0; background: transparent; padding: 8px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 700; color: var(--bx-muted); cursor: pointer;
  transition: all .2s ease; display: inline-flex; align-items: center; gap: 8px;
}
.currency-toggle-pill .btn-curr:hover {
  color: var(--bx-navy-900);
}
.currency-toggle-pill .btn-curr.active {
  background: var(--bx-navy-950); color: #fff; box-shadow: 0 4px 12px rgba(11, 26, 51, .2);
}
.currency-toggle-pill .btn-curr .flag { font-size: 16px; line-height: 1; }
.currency-geo-note { font-size: 13px; color: var(--bx-muted); }
.currency-geo-note a { color: var(--bx-teal-600); text-decoration: underline; font-weight: 600; cursor: pointer; }

/* 4-Tier Plan Cards */
.plan-card {
  position: relative; height: 100%; background: #fff; border: 1.5px solid var(--bx-line);
  border-radius: var(--bx-radius-lg); box-shadow: var(--bx-shadow); padding: 34px 26px;
  display: flex; flex-direction: column; justify-content: space-between; text-align: left;
  transition: transform .25s var(--bx-ease), box-shadow .25s var(--bx-ease), border-color .25s;
}
.plan-card:hover {
  transform: translateY(-5px); box-shadow: var(--bx-shadow-lg); border-color: rgba(0, 168, 166, .45);
}
.plan-card.popular {
  border-color: var(--bx-teal-500); box-shadow: 0 14px 40px rgba(0, 168, 166, .18), 0 0 0 1px var(--bx-teal-500);
}
.popular-ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--bx-grad-teal); color: var(--bx-navy-950); font-size: 11.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; padding: 4px 14px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 205, 189, .3); white-space: nowrap; z-index: 2;
}
.plan-head { margin-bottom: 20px; }
.plan-title { font-size: 24px; font-weight: 800; color: var(--bx-navy-900); margin-bottom: 6px; }
.plan-desc { font-size: 14px; color: var(--bx-muted); min-height: 42px; line-height: 1.5; margin-bottom: 16px; }
.plan-price-wrap { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.plan-price {
  font-family: var(--themeht-secondary-font-family); font-size: 40px; font-weight: 800;
  color: var(--bx-navy-900); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums;
  transition: opacity .15s ease;
}
.plan-price.enterprise-price { font-size: 34px; }
.plan-period { font-size: 14px; font-weight: 600; color: var(--bx-muted); }
.plan-badge-sub { display: block; font-size: 12px; color: var(--bx-muted); margin-top: 4px; }

/* Plan Limits Box */
.plan-limits {
  background: var(--bx-page); border: 1px solid var(--bx-line); border-radius: 14px;
  padding: 14px 16px; margin-bottom: 22px; display: grid; gap: 8px; font-size: 13.5px;
}
.limit-item { display: flex; align-items: center; gap: 10px; color: var(--bx-navy-900); }
.limit-item .bi { font-size: 16px; flex: 0 0 auto; color: var(--bx-teal-600); }
.limit-item.ai-highlight {
  background: rgba(0, 205, 189, .12); border-radius: 8px; padding: 5px 8px; margin: 2px -4px -2px;
  color: var(--bx-teal-700); font-weight: 700;
}
.limit-item.ai-highlight .bi { color: var(--bx-teal-600); }

.plan-rule { height: 1px; background: var(--bx-line); margin-bottom: 20px; }

/* Plan Feature Bullets */
.plan-features { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--bx-ink); }
.plan-features li .bi { font-size: 16px; color: var(--bx-teal-600); flex: 0 0 auto; margin-top: 2px; }

/* All Features Included Callout */
.all-features-box {
  background: var(--bx-teal-50);
  border: 1.5px solid rgba(0, 168, 166, .26);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.all-features-box .af-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bx-teal-500);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex: 0 0 auto;
}
.all-features-box .af-text {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bx-navy-950);
  line-height: 1.2;
}
.all-features-box .af-sub {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--bx-teal-700);
  margin-top: 2px;
}

/* Trial Banner & Badges */
.trial-banner {
  background: linear-gradient(135deg, rgba(0, 205, 189, .1) 0%, rgba(16, 33, 55, .04) 100%);
  border: 1.5px dashed var(--bx-teal-500);
  border-radius: 16px;
  padding: 16px 24px;
  max-width: 920px;
  margin: 36px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 15px;
  color: var(--bx-navy-900);
  text-align: left;
}
.trial-banner .bi {
  font-size: 24px;
  color: var(--bx-teal-600);
  flex: 0 0 auto;
}
.trial-banner strong { color: var(--bx-teal-700); }
.trial-active-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--bx-teal-700);
  background: rgba(0, 205, 189, .16);
  border: 1px solid rgba(0, 205, 189, .35);
  border-radius: 6px;
  padding: 4px 8px;
  margin-top: 6px;
}

.plan-foot { margin-top: auto; }

/* 16. FAQ accordion ------------------------------------------------ */
.bx-faq .accordion-item { border: 1px solid var(--bx-line) !important; border-radius: 14px !important; margin-bottom: 14px; overflow: hidden; background: #fff; box-shadow: var(--bx-shadow-sm); }
.bx-faq .accordion-button {
  font-family: var(--themeht-secondary-font-family); font-weight: 700; font-size: 17px; color: var(--bx-navy-900);
  background: #fff !important; padding: 22px 64px 22px 24px; border-radius: 0 !important; box-shadow: none !important;
}
.bx-faq .accordion-button:hover, .bx-faq .accordion-button:not(.collapsed) { color: var(--bx-navy-900) !important; background: #fff !important; }
.bx-faq .accordion-button:before, .bx-faq .accordion-button:after { background: var(--bx-teal-600) !important; right: 18px; }
.bx-faq .accordion-button:not(.collapsed):before, .bx-faq .accordion-button:not(.collapsed):after { background: var(--bx-teal-600) !important; }
.bx-faq .accordion-item:has(.accordion-button:not(.collapsed)) { border-color: rgba(0, 168, 166, .5) !important; box-shadow: var(--bx-shadow); }
.bx-faq .accordion-body { padding: 0 24px 22px; color: var(--bx-muted); font-size: 16px; line-height: 1.75; }
.faq-group-title { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--bx-teal-600); font-weight: 800; margin: 48px 0 18px; }
.faq-group-title:first-child { margin-top: 0; }

/* 17. CTA band ----------------------------------------------------- */
.cta-wrap { padding: 0 0 110px; }
.cta-panel {
  position: relative; overflow: hidden; border-radius: 28px; padding: 76px 60px;
  background: var(--bx-grad-brand); color: rgba(255, 255, 255, .82); text-align: center;
  box-shadow: 0 40px 80px rgba(11, 26, 51, .25);
}
.cta-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.cta-panel > * { position: relative; }
.cta-panel h2 { color: #fff; margin-bottom: 16px; }
.cta-panel p { color: rgba(255, 255, 255, .82); font-size: 18px; max-width: 620px; margin: 0 auto 32px; }
.cta-panel .cta-ribbon { position: absolute; right: -60px; top: -40px; width: 300px; opacity: .08; }

/* 18. Interior pages ----------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden; padding: 190px 0 96px; color: rgba(255, 255, 255, .78);
  background:
    radial-gradient(50% 70% at 90% 10%, rgba(0, 205, 189, .18), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, rgba(44, 74, 115, .5), transparent 70%),
    var(--bx-navy-950);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: 52px; margin-bottom: 18px; }
.page-hero p.lead { color: rgba(255, 255, 255, .78); max-width: 680px; margin: 0; }
.page-hero .breadcrumb { margin-bottom: 22px; font-size: 14px; }
.page-hero .breadcrumb-item a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.page-hero .breadcrumb-item a:hover { color: var(--bx-teal-400); }
.page-hero .breadcrumb-item.active { color: var(--bx-teal-400); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .4); content: "/"; }
.page-hero .hero-actions { margin-top: 32px; }

.sub-nav { position: sticky; top: 92px; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--bx-line); }
.sub-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.sub-nav ul::-webkit-scrollbar { display: none; }
.sub-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--bx-ink); white-space: nowrap; text-decoration: none; }
.sub-nav a:hover { background: var(--bx-teal-50); color: var(--bx-teal-700); }
.sub-nav a .bi { color: var(--bx-teal-600); }
.anchor { scroll-margin-top: 170px; }

.feature-row { padding: 90px 0; border-bottom: 1px solid var(--bx-line); }
.feature-row:last-of-type { border-bottom: 0; }
.feature-row h2 { font-size: 36px; }
.feature-row .lead { font-size: 17.5px; }
.mini-panel { background: var(--bx-page); border: 1px solid var(--bx-line); border-radius: 20px; padding: 28px; }
.mini-panel .bx-card { padding: 22px; }
.mini-panel .bx-card h5 { margin: 12px 0 6px; font-size: 16.5px; }
.mini-panel .bx-card p { font-size: 14.5px; }
.mini-panel .icon-tile { width: 44px; height: 44px; font-size: 20px; border-radius: 12px; }

.note-box { display: flex; gap: 16px; align-items: flex-start; background: var(--bx-navy-50); border: 1px solid #d3dceb; border-radius: 16px; padding: 22px 24px; }
.note-box .bi { font-size: 22px; color: var(--bx-navy-700); line-height: 1.2; }
.note-box p { margin: 0; color: var(--bx-ink); font-size: 15.5px; }

.report-cat { height: 100%; }
.report-cat ul { list-style: none; padding: 0; margin: 14px 0 0; }
.report-cat li { font-size: 14.5px; padding: 7px 0; border-bottom: 1px dashed var(--bx-line); color: var(--bx-ink); display: flex; align-items: center; gap: 8px; }
.report-cat li:last-child { border-bottom: 0; }
.report-cat li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--bx-teal-500); flex: 0 0 auto; }

.persona-tabs .bx-card { padding: 34px 32px; }
.value-card { text-align: left; }
.big-number { font-family: var(--themeht-secondary-font-family); font-size: 64px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }

.bx-prose { max-width: 820px; margin: 0 auto; }
.bx-prose h2 { font-size: 26px; margin: 44px 0 14px; }
.bx-prose h3 { font-size: 20px; margin: 28px 0 10px; }
.bx-prose p, .bx-prose li { font-size: 16.5px; color: var(--bx-ink); }
.bx-prose ul { padding-left: 22px; }
.bx-prose li { margin-bottom: 8px; }
.bx-prose .updated { font-size: 14px; color: var(--bx-muted); }
.legal-note { background: #fff8e8; border: 1px solid #f1d9a6; color: #6b4a00; border-radius: 12px; padding: 14px 18px; font-size: 14.5px; }

.error-hero { min-height: 92vh; display: flex; align-items: center; }
.error-code { font-family: var(--themeht-secondary-font-family); font-size: 160px; font-weight: 800; line-height: 1; letter-spacing: -0.06em; }

/* 19. Forms -------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--bx-line); border-radius: var(--bx-radius-lg); box-shadow: var(--bx-shadow); padding: 40px; }
.form-group { margin-bottom: 18px; }
.form-group label { font-weight: 600; font-size: 14.5px; color: var(--bx-navy-900); }
.form-control { height: 52px; border-radius: 12px; border: 1.5px solid var(--bx-line); padding: 12px 16px; font-size: 16px; color: var(--bx-ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
textarea.form-control { height: auto; min-height: 140px; }
.form-control:focus { border-color: var(--bx-teal-500); box-shadow: 0 0 0 4px rgba(0, 168, 166, .15); }
.form-control::placeholder { color: #8b97a8; }
.captcha-group .g-recaptcha,
.captcha-group .cf-turnstile { max-width: 100%; overflow: hidden; margin-bottom: 8px; }
.hp-field { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
.help-block.with-errors { color: var(--bx-danger); font-size: 13px; margin-top: 4px; min-height: 18px; }
.help-block.with-errors ul { list-style: none; padding: 0; margin: 0; }
.alert { border-radius: 12px; font-size: 15px; }
.alert-success { background: rgba(15, 122, 77, .1); color: var(--bx-success); border: 1px solid rgba(15, 122, 77, .3); }
.alert-danger { background: rgba(192, 52, 43, .08); color: var(--bx-danger); border: 1px solid rgba(192, 52, 43, .28); }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--bx-line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon-tile { width: 46px; height: 46px; font-size: 20px; border-radius: 12px; flex: 0 0 auto; }
.contact-list small { display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--bx-muted); font-weight: 700; }
.contact-list a, .contact-list span.v { color: var(--bx-navy-900); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--bx-teal-600); }

/* 20. Footer ------------------------------------------------------- */
.bx-footer { background: var(--bx-navy-950); color: rgba(255, 255, 255, .68); position: relative; overflow: hidden; }
.bx-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(0, 205, 189, .5), transparent); }
.bx-footer .f-main { padding: 80px 0 50px; }
.bx-footer .f-logo img { height: 40px; width: auto; }
.bx-footer p { color: rgba(255, 255, 255, .66); font-size: 15px; margin: 20px 0 0; max-width: 360px; }
.bx-footer h6 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; margin-bottom: 18px; }
.bx-footer ul { list-style: none; padding: 0; margin: 0; }
.bx-footer ul li { margin-bottom: 11px; font-size: 15px; }
.bx-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .2s; }
.bx-footer a:hover { color: var(--bx-teal-400); }
.bx-footer .f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.bx-footer .f-contact .bi { color: var(--bx-teal-400); margin-top: 3px; }
.bx-footer .f-social { display: flex; gap: 10px; margin-top: 24px; }
.bx-footer .f-social a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; }
.bx-footer .f-social a:hover { border-color: var(--bx-teal-400); background: rgba(0, 205, 189, .08); }
.bx-footer .f-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 24px 0; font-size: 14px; }
.bx-footer .f-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.bx-footer .f-legal a { text-decoration: none; margin-left: 22px; }
.scroll-top a { background: var(--bx-teal-500) !important; color: var(--bx-navy-950) !important; border-radius: 12px !important; }

/* 21. Responsive --------------------------------------------------- */
.hero-visual, .app-frame, .app-main { min-width: 0; max-width: 100%; }
@media (max-width: 1199px) {
  h1 { font-size: 50px; }
  .navbar-nav .nav-item + .nav-item { margin-left: 22px; }
  .float-card.fc-1 { left: -10px; }
  .float-card.fc-2 { right: -6px; }
  .app-side { width: 124px; }
}
@media (max-width: 991px) {
  section { padding: 84px 0; }
  h1 { font-size: 44px; }
  h2 { font-size: 34px; }
  .bx-hero { padding: 160px 0 100px; }
  .hero-visual { margin-top: 56px; }
  .navbar-collapse { background: #fff; border-radius: 14px; margin-top: 12px; padding: 12px 6px; }
  .navbar-nav .nav-item + .nav-item { margin-left: 0; }
  .navbar-nav .nav-link { padding: 12px 10px !important; display: block; }
  .navbar-nav .nav-item .nav-link.active::after { display: none; }
  .nav-item-cta { padding: 8px 10px 4px; display: grid; gap: 8px; }
  .nav-item-cta .btn { width: 100%; margin: 0 !important; }
  .trust-inner .col-lg-3 + .col-lg-3 .stat::before { display: none; }
  .trust-inner .stat { padding: 14px 6px; }
  .steps::before { display: none; }
  .price-side { border-left: 0; border-top: 1px solid var(--bx-line); }
  .page-hero { padding: 160px 0 76px; }
  .page-hero h1 { font-size: 42px; }
  .sub-nav { top: 82px; }
  .feature-row { padding: 70px 0; }
  .cta-panel { padding: 60px 30px; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  .lead { font-size: 17.5px; }
  .section-title { margin-bottom: 40px; }
  .app-side { display: none; }
  .float-card { position: relative; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; margin: 14px auto 0; max-width: 320px; animation: none; }
  .float-card.fc-2 { display: none; }
  .hero-visual { padding-bottom: 0; }
  .bank-row { grid-template-columns: 1fr auto; row-gap: 4px; }
  .bank-row .d { grid-column: 1 / -1; }
  .bank-row .chip { justify-self: start; }
  .recon { grid-template-columns: 1fr; }
  .recon div + div { border-left: 0; border-top: 1px solid var(--bx-line); }
  .price-main, .price-side { padding: 32px 26px; }
  .price-side .check-list { columns: 1; }
  .price-amount { font-size: 46px; }
  .form-card { padding: 26px 20px; }
  .error-code { font-size: 110px; }
  .bx-footer .f-legal a { margin: 0 16px 0 0; }
  .hero-actions .btn { flex: 1 1 auto; }
}
@media (max-width: 420px) {
  h1 { font-size: 33px; }
  .page-hero h1 { font-size: 34px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis .kpi:nth-child(3) { display: none; }
  .header-1 #header-wrap { padding: 8px 10px 8px 14px; }
  .logo img { height: 34px; }
}

/* 22. Advanced SaaS Polish, Interactive Demos & Performance -------- */

/* Ambient Lighting & Backdrop Mesh */
.hero-glow-layer {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1;
}
.ambient-orb {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.22; pointer-events: none;
}
.ambient-orb.teal { width: 500px; height: 500px; background: #00cdbd; top: -100px; right: -50px; }
.ambient-orb.navy { width: 600px; height: 600px; background: #2c4a73; bottom: -150px; left: -100px; }

/* Pulsing Status Dot */
.pulse-status {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; background: rgba(0, 205, 189, .12); color: var(--bx-teal-400);
  border: 1px solid rgba(0, 205, 189, .25);
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--bx-teal-400);
  box-shadow: 0 0 0 0 rgba(0, 205, 189, 0.7); animation: bx-pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}
@keyframes bx-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 205, 189, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(0, 205, 189, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 205, 189, 0); }
}

/* Shimmer Button Accent */
.btn-shimmer {
  position: relative; overflow: hidden;
}
.btn-shimmer::after {
  content: ""; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: linear-gradient(60deg, transparent 40%, rgba(255, 255, 255, .3) 50%, transparent 60%);
  transform: translateX(-100%); transition: transform 0.8s ease; pointer-events: none;
}
.btn-shimmer:hover::after {
  transform: translateX(100%);
}

/* Interactive Accrual vs Cash Basis Demonstration Box */
.demo-box {
  background: #fff; border: 1.5px solid var(--bx-line); border-radius: 20px;
  box-shadow: var(--bx-shadow-lg); overflow: hidden; margin-top: 24px; text-align: left;
}
.demo-header {
  background: var(--bx-navy-950); color: #fff; padding: 18px 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
}
.demo-header h6 { color: #fff; margin: 0; font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.demo-switcher {
  display: inline-flex; background: rgba(255, 255, 255, .1); border-radius: 10px; padding: 4px; gap: 4px;
}
.demo-switcher button {
  border: 0; background: transparent; color: rgba(255, 255, 255, .7); padding: 6px 14px;
  border-radius: 7px; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: all .2s ease;
}
.demo-switcher button.active {
  background: var(--bx-teal-400); color: var(--bx-navy-950); box-shadow: 0 2px 8px rgba(0, 205, 189, .3);
}
.demo-body { padding: 24px; }
.demo-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px;
}
.demo-stat-card {
  background: var(--bx-page); border: 1px solid var(--bx-line); border-radius: 12px; padding: 12px 16px;
}
.demo-stat-card .ds-label { font-size: 11px; text-transform: uppercase; color: var(--bx-muted); font-weight: 700; letter-spacing: .06em; }
.demo-stat-card .ds-val { font-size: 20px; font-weight: 800; color: var(--bx-navy-900); font-variant-numeric: tabular-nums; margin-top: 3px; font-family: var(--themeht-secondary-font-family); }
.demo-stat-card .ds-val.green { color: var(--bx-success); }
.demo-explanation {
  background: var(--bx-teal-50); border: 1px solid rgba(0, 168, 166, .2); border-radius: 10px;
  padding: 12px 16px; font-size: 13.5px; color: var(--bx-navy-900); display: flex; align-items: center; gap: 10px;
}
.demo-explanation .bi { color: var(--bx-teal-600); font-size: 18px; flex: 0 0 auto; }

/* Interactive Practice Size & Pricing Calculator */
.calc-card {
  background: #fff; border: 1px solid var(--bx-line); border-radius: 20px;
  box-shadow: var(--bx-shadow); padding: 32px; margin-top: 32px; text-align: left;
}
.calc-tiers {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 24px;
}
.calc-tier-btn {
  flex: 1 1 calc(25% - 10px); min-width: 130px; border: 1.5px solid var(--bx-line); background: #fff;
  border-radius: 12px; padding: 14px 12px; text-align: center; cursor: pointer; transition: all .2s ease;
}
.calc-tier-btn:hover { border-color: var(--bx-teal-500); background: var(--bx-teal-50); }
.calc-tier-btn.active {
  border-color: var(--bx-teal-600); background: var(--bx-navy-950); color: #fff;
  box-shadow: 0 8px 24px rgba(11, 26, 51, .18);
}
.calc-tier-btn strong { display: block; font-size: 15px; font-family: var(--themeht-secondary-font-family); }
.calc-tier-btn.active strong { color: #fff; }
.calc-tier-btn span { font-size: 12px; color: var(--bx-muted); }
.calc-tier-btn.active span { color: var(--bx-teal-400); }
.calc-result-box {
  background: var(--bx-page); border: 1px solid var(--bx-line); border-radius: 16px; padding: 22px 26px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.calc-price-display .price-big {
  font-family: var(--themeht-secondary-font-family); font-size: 38px; font-weight: 800; color: var(--bx-navy-900);
  line-height: 1.1; font-variant-numeric: tabular-nums;
}
.calc-price-display .price-sub { font-size: 13px; color: var(--bx-muted); }

/* Executive AEO / AI Knowledge Base Block */
.aeo-card {
  background: #fff; border: 1px solid var(--bx-line); border-radius: 20px;
  box-shadow: var(--bx-shadow); padding: 40px; position: relative; overflow: hidden; text-align: left;
}
.aeo-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--bx-grad-teal);
}
.aeo-pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; padding: 4px 12px; border-radius: 999px;
  background: var(--bx-navy-50); color: var(--bx-navy-800); margin-bottom: 14px;
}
.aeo-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px;
}
.aeo-item {
  border-left: 2px solid var(--bx-line); padding-left: 16px;
}
.aeo-item h5 { font-size: 16px; margin-bottom: 6px; color: var(--bx-navy-900); }
.aeo-item p { font-size: 14.5px; line-height: 1.6; margin: 0; color: var(--bx-muted); }

/* Feature Comparison Matrix */
.matrix-wrap {
  overflow-x: auto; background: #fff; border-radius: 20px; border: 1px solid var(--bx-line);
  box-shadow: var(--bx-shadow); margin-top: 36px;
}
.matrix-table {
  width: 100%; border-collapse: separate; border-spacing: 0; text-align: left; font-size: 14.5px;
}
.matrix-table th, .matrix-table td {
  padding: 16px 20px; border-bottom: 1px solid var(--bx-line); vertical-align: middle;
}
.matrix-table thead th {
  background: var(--bx-soft); font-family: var(--themeht-secondary-font-family); font-weight: 700;
  color: var(--bx-navy-900); font-size: 14px; text-transform: uppercase; letter-spacing: .05em;
}
.matrix-table th.brand-col, .matrix-table td.brand-col {
  background: rgba(0, 205, 189, .06); border-left: 2px solid var(--bx-teal-500); border-right: 2px solid var(--bx-teal-500);
}
.matrix-table thead th.brand-col {
  background: var(--bx-navy-950); color: #fff; font-size: 16px; border-top: 4px solid var(--bx-teal-400);
}
.matrix-table tbody tr:last-child td { border-bottom: 0; }
.matrix-table .ok { color: var(--bx-success); font-size: 18px; }
.matrix-table .no { color: #a0aec0; font-size: 18px; }
.matrix-table .partial { color: var(--bx-amber); font-size: 13px; font-weight: 700; }

/* Compare Hub & Link Cards */
.compare-link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1.5px solid var(--bx-line);
  border-radius: 14px;
  padding: 16px 20px;
  text-decoration: none;
  box-shadow: var(--bx-shadow-sm);
  transition: all .2s ease;
  height: 100%;
}
.compare-link-card:hover {
  transform: translateY(-3px);
  border-color: var(--bx-teal-500);
  box-shadow: var(--bx-shadow);
}
.compare-link-card .clc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bx-teal-50);
  color: var(--bx-teal-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex: 0 0 auto;
}
.compare-link-card .clc-info strong {
  display: block;
  font-size: 14.5px;
  color: var(--bx-navy-950);
}
.compare-link-card .clc-info span {
  font-size: 12.5px;
  color: var(--bx-muted);
}

/* Performance rendering hints */
.matrix-wrap, .calc-card, .aeo-card, .demo-box, .bx-band {
  content-visibility: auto; contain-intrinsic-size: 1px 500px;
}
