/* ==========================================================================
   BonicBD — Warm Editorial layer (loaded LAST, after bonicbd-brutal.css)

   Purpose: keep the BonicBD token palette (orange #ff6b35, ink #10101f,
   paper #fffaf5) and the confident hard-edged character, but remove the
   things that made every page read as a template:

     - 3-4px solid black borders on every surface      -> hairline rules
     - 9-14px offset block shadows on every card       -> soft, low elevation
     - zero radius everywhere                          -> 12-18px
     - centered section heading, every single time      -> editorial 2-column masthead
     - orange block icon topper above every heading     -> quiet line icon
     - visible 32px graph-paper grid                    -> almost invisible texture

   One signature offset shadow survives, on the primary CTA and the hero
   visual only, so the brand keeps its posture without shouting on all 30 pages.
   ========================================================================== */

:root {
  /* Hairlines replace the hard black borders */
  --bbd-warm-line: rgba(16, 16, 31, 0.14);
  --bbd-warm-line-strong: rgba(16, 16, 31, 0.24);
  --bbd-warm-line-orange: rgba(255, 107, 53, 0.30);

  /* Paper tones (same family as the base tokens, slightly deeper for warmth) */
  --bbd-warm-paper: #fffaf5;
  --bbd-warm-paper-2: #fdf4ea;
  --bbd-warm-paper-3: #fffdfa;

  /* Ink */
  --bbd-warm-ink: #10101f;
  --bbd-warm-ink-2: #23233a;
  --bbd-warm-ink-soft: #4a4a63;

  /* Elevation: soft, never a solid block */
  --bbd-warm-shadow-xs: 0 1px 2px rgba(16, 16, 31, 0.04);
  --bbd-warm-shadow: 0 1px 2px rgba(16, 16, 31, 0.04), 0 10px 26px -16px rgba(16, 16, 31, 0.28);
  --bbd-warm-shadow-lift: 0 2px 4px rgba(16, 16, 31, 0.05), 0 22px 48px -22px rgba(16, 16, 31, 0.34);
  --bbd-warm-shadow-orange: 0 14px 30px -18px rgba(255, 107, 53, 0.55);

  /* The one surviving hard shadow */
  --bbd-warm-signature: 5px 5px 0 rgba(255, 107, 53, 0.20);

  /* Radii */
  --bbd-warm-r-sm: 8px;
  --bbd-warm-r: 12px;
  --bbd-warm-r-lg: 18px;
  --bbd-warm-r-xl: 26px;
}

/* --------------------------------------------------------------------------
   1. Page ground — warm paper with a texture you have to look for
   -------------------------------------------------------------------------- */

body,
body.bbd-homepage {
  background:
    radial-gradient(circle at 88% -6%, rgba(255, 107, 53, 0.10), transparent 34%),
    radial-gradient(circle at 4% 102%, rgba(255, 168, 130, 0.10), transparent 30%),
    linear-gradient(to right, rgba(16, 16, 31, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 16, 31, 0.028) 1px, transparent 1px),
    var(--bbd-warm-paper) !important;
  background-size: auto, auto, 40px 40px, 40px 40px, auto !important;
  background-attachment: scroll, scroll, scroll, scroll, scroll !important;
  color: var(--bbd-warm-ink);
}

body h1,
body h2,
body h3,
body h4,
body .bbd-nav-brand,
body .bbd-footer-brand {
  letter-spacing: -0.035em;
  color: var(--bbd-warm-ink);
}

body h1 { letter-spacing: -0.045em; }

body p,
body li,
body .bbd-lead {
  color: #3f3f57;
}

body .bbd-lead {
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.7;
}

/* Headline shadow from the brutal layer reads as a print misregistration at
   large sizes, and on 404/502 pages it duplicated the headline. Strip it
   everywhere, then put a whisper back on the home hero only. */
body h1,
body h2,
body h3,
body .bbd-404-code,
body .bbd-502-code,
body :is(.bbd-price-hero, .bbd-cmp-hero, .bbd-sol-hero, .bbd-about-hero,
         .bbd-feat-hero, .bbd-blog-hero, .bbd-legal-hero, .bbd-roi-hero,
         .bbd-sec-hero, .bbd-st-hero, .bbd-csd-hero, .bbd-docs-hero,
         .bbd-cs-hero, .bbd-contact-hero, .bbd-ag-hero, .bbd-aff-hero) h1 {
  text-shadow: none !important;
}

body.bbd-homepage .bbd-hero h1 {
  text-shadow: 2px 2px 0 rgba(255, 107, 53, 0.13) !important;
}

/* --------------------------------------------------------------------------
   2. Navigation — lighter, less "sticker on a wall"
   -------------------------------------------------------------------------- */

body .bbd-nav,
body.bbd-homepage .bbd-nav {
  background: rgba(255, 250, 245, 0.92) !important;
  border-bottom: 1px solid var(--bbd-warm-line) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 6px 24px -18px rgba(16, 16, 31, 0.5) !important;
  backdrop-filter: saturate(140%) blur(10px) !important;
  -webkit-backdrop-filter: saturate(140%) blur(10px) !important;
}

body .bbd-brand-logo,
body .bbd-nav-logo,
body .bbd-brand-logo-footer {
  border: 1px solid var(--bbd-warm-line) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  background: #fff;
}

body .bbd-nav-link,
body .bbd-drawer-link,
body.bbd-homepage .bbd-nav-link {
  color: var(--bbd-warm-ink-2) !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
}

body .bbd-nav-link:hover,
body .bbd-nav-link.is-active,
body .bbd-drawer-link:hover,
body.bbd-homepage .bbd-nav-link:hover,
body.bbd-homepage .bbd-nav-link.is-active {
  background: rgba(255, 107, 53, 0.08) !important;
  border-color: rgba(255, 107, 53, 0.20) !important;
  color: var(--bbd-orange-dark) !important;
  box-shadow: none !important;
  transform: none !important;
}

body .bbd-nav-menu-panel {
  border: 1px solid var(--bbd-warm-line) !important;
  border-radius: var(--bbd-warm-r) !important;
  box-shadow: var(--bbd-warm-shadow-lift) !important;
  background: #fff !important;
  padding: 8px !important;
}

body .bbd-nav-menu-item {
  border-radius: var(--bbd-warm-r-sm) !important;
  border: none !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}

body .bbd-nav-menu-item:hover {
  background: var(--bbd-orange-50) !important;
  color: var(--bbd-orange-dark) !important;
}

body .bbd-drawer-panel {
  border-left: 1px solid var(--bbd-warm-line) !important;
  box-shadow: -20px 0 60px -24px rgba(16, 16, 31, 0.45) !important;
  background: var(--bbd-warm-paper) !important;
}

/* --------------------------------------------------------------------------
   3. Buttons — one hard shadow on the primary action, nothing on the rest
   -------------------------------------------------------------------------- */

body .bbd-btn,
body.bbd-homepage .bbd-btn {
  border: 1px solid var(--bbd-warm-line-strong) !important;
  border-radius: 999px !important;
  font-weight: 650 !important;
  letter-spacing: -0.005em;
  box-shadow: none !important;
  transition: transform 160ms var(--bbd-ease), box-shadow 200ms var(--bbd-ease),
              background 200ms var(--bbd-ease), color 200ms var(--bbd-ease);
}

body .bbd-btn-primary,
body.bbd-homepage .bbd-btn-primary {
  background: var(--bbd-orange) !important;
  border-color: rgba(16, 16, 31, 0.86) !important;
  color: var(--bbd-warm-ink) !important;
  box-shadow: var(--bbd-warm-signature) !important;
}

body .bbd-btn-primary:hover,
body.bbd-homepage .bbd-btn-primary:hover {
  background: var(--bbd-orange-light) !important;
  color: var(--bbd-warm-ink) !important;
  transform: translate(-1px, -1px) !important;
  box-shadow: 6px 6px 0 rgba(255, 107, 53, 0.22) !important;
}

/* Primary text buttons sitting on a dark or tinted ground need light text */
body .bbd-footer .bbd-btn-primary,
body .bbd-section-dark .bbd-btn-primary {
  color: #fff !important;
}

body .bbd-btn-outline,
body .bbd-btn-light,
body .bbd-btn-ghost,
body.bbd-homepage .bbd-btn-outline,
body.bbd-homepage .bbd-btn-light,
body.bbd-homepage .bbd-btn-ghost {
  background: #fff !important;
  color: var(--bbd-warm-ink) !important;
  border-color: var(--bbd-warm-line-strong) !important;
}

body .bbd-btn-outline:hover,
body .bbd-btn-light:hover,
body .bbd-btn-ghost:hover,
body.bbd-homepage .bbd-btn-outline:hover,
body.bbd-homepage .bbd-btn-light:hover,
body.bbd-homepage .bbd-btn-ghost:hover {
  background: var(--bbd-orange-50) !important;
  border-color: var(--bbd-warm-line-orange) !important;
  color: var(--bbd-orange-dark) !important;
  transform: none !important;
  box-shadow: none !important;
}

body .bbd-btn-whatsapp,
body.bbd-homepage .bbd-btn-whatsapp {
  background: #fff !important;
  color: #128c4a !important;
  border-color: rgba(18, 140, 74, 0.28) !important;
  box-shadow: none !important;
}

body .bbd-btn-whatsapp:hover,
body.bbd-homepage .bbd-btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.10) !important;
  border-color: rgba(18, 140, 74, 0.45) !important;
  box-shadow: none !important;
}

body .bbd-btn:hover {
  transform: none !important;
}

/* --------------------------------------------------------------------------
   4. Surfaces — hairline + soft shadow, replacing every 3px/9px block
   -------------------------------------------------------------------------- */

body :is(
  .bbd-card, .bbd-card-flat, .bbd-hero-visual, .bbd-search-intent-summary,
  .bbd-guide-callout, .bbd-compare-mini, .bbd-cmp-table-wrap, .bbd-calc,
  .bbd-ai-fit-card, .bbd-search-cluster-card, .bbd-problem-card, .bbd-step,
  .bbd-mini-plan, .bbd-plan, .bbd-testimonial, .bbd-vs-card, .bbd-guide-card,
  .bbd-diff-side, .bbd-sec-card, .bbd-about-visual, .bbd-about-stat,
  .bbd-about-stat-item, .bbd-story, .bbd-value, .bbd-aff-stats,
  .bbd-aff-stat-item, .bbd-sol-card, .bbd-sol-panel, .bbd-sol-step,
  .bbd-sol-related-card, .bbd-blog-card, .bbd-blog-empty, .bbd-csd-method,
  .bbd-csd-timeline, .bbd-csd-results, .bbd-csd-result, .bbd-csd-dash,
  .bbd-csd-dash-card, .bbd-csd-quote, .bbd-form-card, .bbd-docs-callout,
  .bbd-docs-content, .bbd-docs-nav, .bbd-legal-content, .bbd-legal-summary,
  .bbd-legal-related, .bbd-refund-callout, .bbd-roi-calc, .bbd-roi-result,
  .bbd-roi-note, .bbd-st-card, .bbd-st-note, .bbd-st-inc, .bbd-404-shell,
  .bbd-404-card, .bbd-404-search, .bbd-502-shell, .bbd-502-card,
  .bbd-cookie-banner, .bbd-price-sticky, .bbd-toast, .bbd-module,
  .bbd-aside-card, .bbd-ag-card, .bbd-bn-feat-card, .bbd-bn-blog-card
) {
  background: #fff !important;
  border: 1px solid var(--bbd-warm-line) !important;
  border-radius: var(--bbd-warm-r-lg) !important;
  box-shadow: var(--bbd-warm-shadow) !important;
}

/* The featured surfaces keep a little more presence, still soft */
body :is(.bbd-plan.is-popular, .bbd-mini-plan.is-popular, .bbd-vs-card.is-bbd,
         .bbd-diff-new, .bbd-roi-result) {
  border-color: var(--bbd-warm-line-orange) !important;
  box-shadow: var(--bbd-warm-shadow-lift), 0 0 0 4px rgba(255, 107, 53, 0.07) !important;
}

body :is(
  .bbd-card, .bbd-blog-card, .bbd-sol-related-card, .bbd-guide-card, .bbd-vs-card,
  .bbd-plan, .bbd-mini-plan, .bbd-testimonial, .bbd-sec-card, .bbd-value,
  .bbd-sol-card, .bbd-sol-panel, .bbd-sol-step, .bbd-st-card, .bbd-404-card,
  .bbd-502-card, .bbd-problem-card, .bbd-step, .bbd-module, .bbd-ag-card
):hover {
  transform: translateY(-3px) !important;
  border-color: var(--bbd-warm-line-strong) !important;
  box-shadow: var(--bbd-warm-shadow-lift) !important;
}

body.bbd-homepage .bbd-hero-visual {
  border: 1px solid var(--bbd-warm-line) !important;
  border-radius: var(--bbd-warm-r-xl) !important;
  box-shadow:
    0 30px 70px -34px rgba(16, 16, 31, 0.45),
    0 0 0 1px rgba(255, 107, 53, 0.05),
    10px 10px 0 -4px rgba(255, 107, 53, 0.10) !important;
}

body .bbd-card::before,
body .bbd-cta-strip::before {
  opacity: 0 !important;
}

/* Section tint: a warm band, not a bordered graph-paper slab */
body .bbd-section-tint {
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 107, 53, 0.07), transparent 32%),
    linear-gradient(to right, rgba(16, 16, 31, 0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 16, 31, 0.022) 1px, transparent 1px),
    var(--bbd-warm-paper-2) !important;
  background-size: auto, 40px 40px, 40px 40px, auto !important;
  border-block: 1px solid rgba(16, 16, 31, 0.08) !important;
}

body .bbd-section-dark {
  background: var(--bbd-warm-ink) !important;
  border-block: none !important;
}

/* --------------------------------------------------------------------------
   5. The editorial masthead — this replaces "centered heading + centered lead"
      on all 84 section heads at once.
   -------------------------------------------------------------------------- */

body .bbd-section-head {
  text-align: left;
  max-width: none;
  margin-inline: 0;
  margin-bottom: clamp(32px, 4.5vw, 52px);
  padding-top: 22px;
  border-top: 1px solid var(--bbd-warm-line);
}

body .bbd-section-head.is-left {
  text-align: left;
}

@media (min-width: 900px) {
  body .bbd-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    column-gap: clamp(36px, 5vw, 80px);
    align-items: start;
    row-gap: 0;
  }

  body .bbd-section-head:not(:has(.bbd-lead)) {
    grid-template-columns: minmax(0, 1fr);
  }

  body .bbd-section-head > .bbd-eyebrow {
    grid-column: 1 / -1;
    justify-self: start;
  }

  body .bbd-section-head > h1,
  body .bbd-section-head > h2 {
    grid-column: 1;
    margin-bottom: 0;
  }

  /* The lead sits on the heading's first baseline, like a standfirst in print. */
  body .bbd-section-head > .bbd-lead,
  body .bbd-section-head > p {
    grid-column: 2;
    margin-top: 0.15em;
    padding-top: 0;
    padding-bottom: 0;
  }

  /* A lead paragraph sitting alone under a full-width heading keeps a sane measure */
  body .bbd-section-head:not(:has(h1, h2)) > p {
    grid-column: 1 / -1;
    max-width: 68ch;
  }
}

body .bbd-section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

/* Eyebrow: a labelled rule, not a shadowed sticker */
body .bbd-eyebrow,
body.bbd-homepage .bbd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 !important;
  margin-bottom: 14px;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--bbd-orange-dark) !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body .bbd-eyebrow::before,
body.bbd-homepage .bbd-eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  border: none !important;
  border-radius: 2px;
  background: var(--bbd-orange);
  flex: 0 0 auto;
}

/* The hero keeps its pulsing dot pill — it is a status statement, not a label */
body.bbd-homepage .bbd-eyebrow.bbd-hero-eyebrow-anim {
  padding: 7px 15px 7px 12px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid var(--bbd-warm-line) !important;
  border-radius: 999px !important;
  box-shadow: var(--bbd-warm-shadow-xs) !important;
  color: var(--bbd-warm-ink-2) !important;
  letter-spacing: -0.005em;
  text-transform: none;
  font-weight: 600;
}

body.bbd-homepage .bbd-eyebrow.bbd-hero-eyebrow-anim::before {
  display: none;
}

/* --------------------------------------------------------------------------
   6. Icons — quiet, not orange blocks
   -------------------------------------------------------------------------- */

body :is(
  .bbd-card-icon, .bbd-problem-icon, .bbd-sec-icon, .bbd-value-icon,
  .bbd-module-icon, .bbd-diff-icon-wrap
) {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bbd-orange-50) !important;
  color: var(--bbd-orange-dark) !important;
  border: 1px solid rgba(255, 107, 53, 0.18) !important;
  border-radius: 11px !important;
  box-shadow: none !important;
  margin-bottom: 16px;
}

body :is(.bbd-card-icon svg, .bbd-problem-icon svg, .bbd-sec-icon svg,
         .bbd-value-icon svg, .bbd-module-icon svg) {
  width: 20px !important;
  height: 20px !important;
  stroke-width: 1.8;
}

body :is(.bbd-step-num, .bbd-sol-step-num, .bbd-bn-step-num) {
  background: var(--bbd-warm-ink) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-family: var(--bbd-font-display);
  font-weight: 700;
  letter-spacing: 0;
}

body :is(.bbd-plan-price, .bbd-mini-price, .bbd-stat-value, .bbd-stats-bar-value,
         .bbd-st-metric, .bbd-csd-dash-metric, .bbd-about-stat-item strong,
         .bbd-aff-stat-item strong, .bbd-roi-result strong) {
  letter-spacing: -0.045em !important;
  text-shadow: none !important;
  color: var(--bbd-warm-ink) !important;
}

/* --------------------------------------------------------------------------
   7. Chips, badges, pills — small, flat, legible
   -------------------------------------------------------------------------- */

body :is(
  .bbd-badge, .bbd-plan-badge, .bbd-live-status, .bbd-blog-cat, .bbd-blog-tag,
  .bbd-csd-tag, .bbd-csd-back, .bbd-csd-dash-badge, .bbd-404-chip, .bbd-st-status,
  .bbd-status-bar, .bbd-diff-plat-tag, .bbd-ai-chip, .bbd-search-summary-badge,
  .bbd-integ-pill, .bbd-testimonial-result, .bbd-price-note, .bbd-trust-badge
) {
  background: #fff !important;
  color: var(--bbd-warm-ink-2) !important;
  border: 1px solid var(--bbd-warm-line) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  letter-spacing: 0;
}

body .bbd-testimonial-result {
  background: rgba(255, 107, 53, 0.08) !important;
  border-color: rgba(255, 107, 53, 0.22) !important;
  color: var(--bbd-orange-dark) !important;
  font-weight: 700 !important;
}

/* --------------------------------------------------------------------------
   8. FAQ — a quiet list of questions, not 8 stacked cards
   -------------------------------------------------------------------------- */

body .bbd-faq {
  gap: 0 !important;
  /* Templates inline `max-width:760px; margin:0 auto` on this block, which
     centres the list under a left-aligned masthead. Pull it back into the
     page grid instead of leaving the two axes misaligned. */
  margin-inline: 0 !important;
  margin-block: 0 !important;
  max-width: 860px !important;
  display: block !important;
}

body .bbd-faq-item {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--bbd-warm-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding-inline: 2px;
}

body .bbd-faq-item:first-child {
  border-top: 1px solid var(--bbd-warm-line) !important;
}

body .bbd-faq-item.is-open {
  background: transparent !important;
  box-shadow: none !important;
  border-bottom-color: var(--bbd-warm-line-strong) !important;
}

body .bbd-faq-trigger.bbd-faq-trigger {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 18px 2px !important;
  font-size: 1.02rem;
  font-weight: 650 !important;
  color: var(--bbd-warm-ink) !important;
  letter-spacing: -0.012em;
  width: 100%;
  text-align: left;
}

body .bbd-faq-trigger::after {
  background: transparent !important;
  color: var(--bbd-orange-dark) !important;
  border: 1px solid var(--bbd-warm-line-strong) !important;
  border-radius: 999px !important;
  width: 28px !important;
  height: 28px !important;
}

body .bbd-faq-item.is-open .bbd-faq-trigger::after {
  background: var(--bbd-orange) !important;
  color: #fff !important;
  border-color: var(--bbd-orange) !important;
}

body .bbd-faq-body p {
  color: var(--bbd-warm-ink-soft);
  font-size: 0.98rem;
  line-height: 1.72;
  max-width: 76ch;
}

/* --------------------------------------------------------------------------
   9. Tables — hairline grid, ink header, orange column without the slab
   -------------------------------------------------------------------------- */

body :is(.bbd-cmp-table, .bbd-compare-mini table, .bbd-docs-content table,
         .bbd-legal-content table) {
  border: 1px solid var(--bbd-warm-line) !important;
  border-radius: var(--bbd-warm-r) !important;
  box-shadow: var(--bbd-warm-shadow-xs) !important;
  overflow: hidden;
}

body :is(.bbd-cmp-table th, .bbd-cmp-table td, .bbd-compare-mini th,
         .bbd-compare-mini td, .bbd-docs-content th, .bbd-docs-content td,
         .bbd-legal-content th, .bbd-legal-content td) {
  border-color: var(--bbd-warm-line) !important;
  border-width: 0 1px 1px 0 !important;
}

body :is(.bbd-cmp-table thead th, .bbd-compare-mini thead th,
         .bbd-cmp-table .bbd-cat-row td, .bbd-docs-content th, .bbd-legal-content th) {
  background: var(--bbd-warm-ink) !important;
  color: #fff !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
}

body :is(.bbd-cmp-table thead th.is-bbd, .bbd-compare-mini th.is-bbd) {
  background: var(--bbd-orange) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body :is(.bbd-cmp-table .bbd-bbd-col, .bbd-compare-mini td.is-bbd) {
  background: rgba(255, 107, 53, 0.06) !important;
  color: var(--bbd-warm-ink) !important;
  font-weight: 600 !important;
}

/* --------------------------------------------------------------------------
   10. Forms
   -------------------------------------------------------------------------- */

body :is(.bbd-input, .bbd-textarea, .bbd-select, .bbd-form-field input,
         .bbd-form-field select, .bbd-form-field textarea, .bbd-roi-field input,
         .bbd-roi-field select, .bbd-404-search input, .bbd-calc-field input,
         .bbd-calc-field select) {
  background: #fff !important;
  color: var(--bbd-warm-ink) !important;
  border: 1px solid var(--bbd-warm-line-strong) !important;
  border-radius: var(--bbd-warm-r-sm) !important;
  box-shadow: none !important;
}

body :is(.bbd-input, .bbd-textarea, .bbd-select, .bbd-form-field input,
         .bbd-form-field select, .bbd-form-field textarea, .bbd-roi-field input,
         .bbd-roi-field select, .bbd-404-search input, .bbd-calc-field input,
         .bbd-calc-field select):focus {
  outline: none !important;
  border-color: var(--bbd-orange) !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.16) !important;
}

body :is(.bbd-form-success, .bbd-form-error) {
  border: 1px solid var(--bbd-warm-line) !important;
  border-radius: var(--bbd-warm-r) !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}

/* --------------------------------------------------------------------------
   11. CTA band — warm paper with an orange rule, not an orange grid slab
   -------------------------------------------------------------------------- */

body .bbd-cta-strip,
body.bbd-homepage .bbd-cta-strip {
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 107, 53, 0.16), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(255, 107, 53, 0.10), transparent 34%),
    var(--bbd-warm-paper-3) !important;
  border: 1px solid var(--bbd-warm-line-orange) !important;
  border-radius: var(--bbd-warm-r-xl) !important;
  box-shadow: var(--bbd-warm-shadow) !important;
  color: var(--bbd-warm-ink) !important;
  padding: clamp(28px, 4vw, 52px) !important;
}

body .bbd-cta-strip h2,
body .bbd-cta-strip h3,
body .bbd-cta-strip p,
body.bbd-homepage .bbd-cta-strip h2,
body.bbd-homepage .bbd-cta-strip h3,
body.bbd-homepage .bbd-cta-strip p {
  color: var(--bbd-warm-ink) !important;
}

body .bbd-cta-strip p {
  color: var(--bbd-warm-ink-soft) !important;
  max-width: 62ch;
}

/* Light buttons inside a CTA band need an outline to stay visible */
body .bbd-cta-strip .bbd-btn-light {
  background: var(--bbd-orange) !important;
  color: #fff !important;
  border-color: rgba(16, 16, 31, 0.86) !important;
  box-shadow: var(--bbd-warm-signature) !important;
}

body .bbd-cta-strip .bbd-btn-light:hover {
  background: var(--bbd-orange-dark) !important;
  color: #fff !important;
}

/* --------------------------------------------------------------------------
   12. Footer — human, not a wall of links
   -------------------------------------------------------------------------- */

body .bbd-footer {
  background:
    radial-gradient(circle at 12% -20%, rgba(255, 107, 53, 0.16), transparent 42%),
    var(--bbd-warm-ink) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
  padding-block: 64px 28px;
}

body .bbd-footer h4 {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.14em !important;
  font-weight: 700 !important;
}

body .bbd-footer-list a,
body .bbd-footer-tag,
body .bbd-footer-list li {
  color: rgba(255, 255, 255, 0.68) !important;
  font-weight: 400 !important;
  font-size: 0.92rem;
}

body .bbd-footer-list a:hover {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body :is(.bbd-footer-payment span, .bbd-footer-social a) {
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

body .bbd-footer-social a:hover {
  background: var(--bbd-orange) !important;
  border-color: var(--bbd-orange) !important;
  color: #fff !important;
}

body .bbd-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
  color: rgba(255, 255, 255, 0.45) !important;
}

/* --------------------------------------------------------------------------
   13. Floating UI
   -------------------------------------------------------------------------- */

body .bbd-whatsapp-float {
  background: #1faa54 !important;
  border: none !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 26px -10px rgba(18, 140, 74, 0.7) !important;
  color: #fff !important;
}

body .bbd-back-top {
  background: #fff !important;
  border: 1px solid var(--bbd-warm-line-strong) !important;
  border-radius: 999px !important;
  box-shadow: var(--bbd-warm-shadow) !important;
  color: var(--bbd-warm-ink) !important;
}

body .bbd-cookie-banner {
  border: 1px solid var(--bbd-warm-line) !important;
  border-radius: var(--bbd-warm-r-lg) !important;
  box-shadow: var(--bbd-warm-shadow-lift) !important;
  background: rgba(255, 255, 255, 0.97) !important;
}

/* --------------------------------------------------------------------------
   14. Inline links — the brutal layer made every link 800 weight + underline
       thickness 2px. That reads as a warning, not a link.
   -------------------------------------------------------------------------- */

body a:not(.bbd-btn):not(.bbd-nav-brand):not(.bbd-footer-brand):not(.bbd-blog-card-link):not(.bbd-sol-related-card):not(.bbd-csd-back):not(.bbd-nav-link):not(.bbd-drawer-link):not(.bbd-nav-menu-item):not(.bbd-nav-toggle):not(.bbd-locale-switch):not(.bbd-back-top):not(.bbd-whatsapp-float):not(.bbd-card):not(.bbd-plan):not(.bbd-blog-card):not(.bbd-tagrow a) {
  color: var(--bbd-orange-dark);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 107, 53, 0.42);
}

body a:not(.bbd-btn):not(.bbd-nav-brand):not(.bbd-footer-brand):not(.bbd-nav-link):not(.bbd-drawer-link):not(.bbd-nav-menu-item):not(.bbd-locale-switch):not(.bbd-back-top):not(.bbd-whatsapp-float):hover {
  text-decoration-color: var(--bbd-orange);
  color: var(--bbd-orange);
}

body .bbd-footer a,
body .bbd-nav a,
body .bbd-drawer a,
body .bbd-breadcrumb a,
body .bbd-nav-menu-panel a,
body .bbd-card h3 a,
body .bbd-footer-list a,
body .bbd-tagrow a,
body .bbd-blog-card a,
body .bbd-cta-actions a {
  text-decoration: none !important;
}

/* ==========================================================================
   15. NEW COMPONENTS — used by the reworked page compositions
   ========================================================================== */

/* --- 15.1 Numbered index list (replaces icon-card grids) ----------------- */

.bbd-numlist {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--bbd-warm-line);
  counter-reset: bbdnum;
}

.bbd-numlist > li {
  counter-increment: bbdnum;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  padding: clamp(20px, 2.4vw, 30px) 4px;
  border-bottom: 1px solid var(--bbd-warm-line);
  transition: background 200ms var(--bbd-ease);
}

.bbd-numlist > li:hover {
  background: rgba(255, 107, 53, 0.035);
}

.bbd-numlist > li::before {
  content: counter(bbdnum, decimal-leading-zero);
  font-family: var(--bbd-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bbd-orange);
  letter-spacing: -0.02em;
  padding-top: 3px;
}

.bbd-numlist h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  margin: 0;
  letter-spacing: -0.022em;
}

.bbd-numlist p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--bbd-warm-ink-soft);
}

@media (max-width: 760px) {
  .bbd-numlist > li {
    grid-template-columns: 40px minmax(0, 1fr);
    row-gap: 6px;
  }
  .bbd-numlist p {
    grid-column: 2;
  }
}

/* --- 15.2 Editorial split (sticky label column + content) ---------------- */

.bbd-editorial {
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.bbd-editorial-label {
  position: sticky;
  top: 108px;
}

.bbd-editorial-label .bbd-eyebrow {
  margin-bottom: 12px;
}

.bbd-editorial-label h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  margin-bottom: 14px;
}

.bbd-editorial-label p {
  font-size: 0.95rem;
  color: var(--bbd-warm-ink-soft);
}

.bbd-editorial-body > * + * {
  margin-top: 1.1em;
}

@media (max-width: 900px) {
  .bbd-editorial {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .bbd-editorial-label {
    position: static;
  }
}

/* --- 15.3 Prose column for story / long-form copy ------------------------ */

.bbd-prose {
  max-width: 68ch;
}

.bbd-prose p {
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.78;
  color: var(--bbd-warm-ink-soft);
}

.bbd-prose p + p {
  margin-top: 1.15em;
}

.bbd-prose strong {
  color: var(--bbd-warm-ink);
  font-weight: 650;
}

.bbd-prose--lead p:first-child {
  font-size: clamp(1.15rem, 1.7vw, 1.32rem);
  line-height: 1.62;
  color: var(--bbd-warm-ink);
}

/* --- 15.4 Quote band ---------------------------------------------------- */

.bbd-quoteband {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(12px, 2vw, 24px);
}

.bbd-quoteband blockquote {
  margin: 0;
  font-family: var(--bbd-font-display);
  font-size: clamp(1.28rem, 2.2vw, 1.85rem);
  line-height: 1.34;
  letter-spacing: -0.028em;
  color: var(--bbd-warm-ink);
  text-wrap: pretty;
}

.bbd-quoteband blockquote em {
  font-style: normal;
  background-image: linear-gradient(180deg, transparent 62%, rgba(255, 107, 53, 0.26) 62%, rgba(255, 107, 53, 0.26) 100%);
  background-repeat: no-repeat;
  padding-inline: 0.06em;
}

.bbd-quoteband-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.bbd-quoteband-meta img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--bbd-warm-line);
  object-fit: cover;
}

.bbd-quoteband-meta div {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.bbd-quoteband-meta strong {
  font-size: 0.94rem;
  color: var(--bbd-warm-ink);
}

.bbd-quoteband-meta span {
  font-size: 0.84rem;
  color: var(--bbd-warm-ink-soft);
}

.bbd-quoteband-aside {
  background: #fff;
  border: 1px solid var(--bbd-warm-line);
  border-radius: var(--bbd-warm-r-lg);
  padding: clamp(20px, 2.6vw, 30px);
  box-shadow: var(--bbd-warm-shadow);
}

.bbd-quoteband-aside h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

@media (max-width: 860px) {
  .bbd-quoteband {
    grid-template-columns: 1fr;
  }
}

/* --- 15.5 Stat ribbon --------------------------------------------------- */

.bbd-ribbon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--bbd-warm-line);
  border: 1px solid var(--bbd-warm-line);
  border-radius: var(--bbd-warm-r);
  overflow: hidden;
}

.bbd-ribbon > div {
  background: #fff;
  padding: 20px 22px;
}

.bbd-ribbon strong {
  display: block;
  font-family: var(--bbd-font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--bbd-warm-ink);
  line-height: 1.1;
}

.bbd-ribbon span {
  display: block;
  margin-top: 5px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--bbd-warm-ink-soft);
}

/* --- 15.6 Screenshot / figure frame with caption ------------------------ */

.bbd-figure {
  margin: 0;
  border: 1px solid var(--bbd-warm-line);
  border-radius: var(--bbd-warm-r-lg);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--bbd-warm-shadow);
}

.bbd-figure img,
.bbd-figure svg {
  display: block;
  width: 100%;
  height: auto;
}

.bbd-figure figcaption {
  padding: 12px 18px;
  border-top: 1px solid var(--bbd-warm-line);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--bbd-warm-ink-soft);
  background: var(--bbd-warm-paper-3);
}

/* --- 15.7 Handwritten margin note -------------------------------------- */

.bbd-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--bbd-font-display);
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.4;
  color: var(--bbd-orange-dark);
  transform: rotate(-1.2deg);
  transform-origin: left center;
}

.bbd-note svg {
  width: 42px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--bbd-orange);
  transform: translateY(-2px);
}

.bbd-note--right {
  transform: rotate(1.4deg);
  transform-origin: right center;
}

@media (max-width: 640px) {
  .bbd-note {
    transform: none;
  }
}

/* --- 15.8 Check list --------------------------------------------------- */

.bbd-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.bbd-checks li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--bbd-warm-ink-soft);
}

.bbd-checks li::before {
  content: '';
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.12)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e55a2b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 12px 12px no-repeat;
}

.bbd-checks strong {
  color: var(--bbd-warm-ink);
  font-weight: 650;
}

/* --- 15.9 Human sign-off block ----------------------------------------- */

.bbd-signoff {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--bbd-warm-line);
  border-radius: var(--bbd-warm-r);
  background: var(--bbd-warm-paper-3);
  max-width: 620px;
}

.bbd-signoff img {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--bbd-warm-line);
  flex: 0 0 auto;
}

.bbd-signoff div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.4;
}

.bbd-signoff strong {
  font-size: 0.94rem;
  color: var(--bbd-warm-ink);
}

.bbd-signoff span {
  font-size: 0.84rem;
  color: var(--bbd-warm-ink-soft);
}

/* --- 15.10 Step rail (horizontal, replaces three equal cards) ---------- */

.bbd-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border-top: 1px solid var(--bbd-warm-line-strong);
  margin-top: 8px;
}

.bbd-rail > div {
  position: relative;
  padding: 26px 24px 8px 0;
}

.bbd-rail > div::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--bbd-orange);
}

.bbd-rail h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.bbd-rail p {
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--bbd-warm-ink-soft);
  margin: 0;
}

.bbd-rail .bbd-rail-step {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bbd-orange-dark);
  margin-bottom: 8px;
}

/* --- 15.11 Split hero for interior pages ------------------------------- */

.bbd-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

@media (max-width: 900px) {
  .bbd-split {
    grid-template-columns: 1fr;
  }
}

/* --- 15.12 Tag row ----------------------------------------------------- */

.bbd-tagrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bbd-tagrow span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border: 1px solid var(--bbd-warm-line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--bbd-warm-ink-2);
}

.bbd-tagrow i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  flex: 0 0 auto;
}

/* ==========================================================================
   17. Interior hero — every page opens the same editorial way
   ========================================================================== */

body :is(.bbd-price-hero, .bbd-feat-hero, .bbd-cmp-hero, .bbd-sec-hero,
         .bbd-docs-hero, .bbd-cs-hero, .bbd-csd-hero, .bbd-roi-hero,
         .bbd-contact-hero, .bbd-ag-hero, .bbd-aff-hero, .bbd-legal-hero,
         .bbd-blog-hero, .bbd-sol-hero, .bbd-about-hero, .bbd-st-hero,
         .bbd-404, .bbd-502) {
  background:
    radial-gradient(circle at 86% 0%, rgba(255, 107, 53, 0.12), transparent 38%),
    linear-gradient(to right, rgba(16, 16, 31, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 16, 31, 0.025) 1px, transparent 1px),
    var(--bbd-warm-paper) !important;
  background-size: auto, 40px 40px, 40px 40px, auto !important;
  border-bottom: 1px solid var(--bbd-warm-line) !important;
  padding-block: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 48px) !important;
  text-align: left !important;
}

body :is(.bbd-price-hero, .bbd-feat-hero, .bbd-cmp-hero, .bbd-sec-hero,
         .bbd-docs-hero, .bbd-cs-hero, .bbd-csd-hero, .bbd-roi-hero,
         .bbd-contact-hero, .bbd-ag-hero, .bbd-aff-hero, .bbd-legal-hero,
         .bbd-blog-hero, .bbd-sol-hero, .bbd-about-hero, .bbd-st-hero) > .bbd-container {
  max-width: var(--bbd-container);
}

body :is(.bbd-price-hero, .bbd-feat-hero, .bbd-cmp-hero, .bbd-sec-hero,
         .bbd-docs-hero, .bbd-cs-hero, .bbd-csd-hero, .bbd-roi-hero,
         .bbd-contact-hero, .bbd-ag-hero, .bbd-aff-hero, .bbd-legal-hero,
         .bbd-blog-hero, .bbd-sol-hero, .bbd-about-hero, .bbd-st-hero) h1 {
  margin: 0 0 16px !important;
  max-width: 22ch;
  font-size: clamp(2rem, 3.6vw, 3rem) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.042em !important;
  text-wrap: balance;
}

body :is(.bbd-price-hero, .bbd-feat-hero, .bbd-cmp-hero, .bbd-sec-hero,
         .bbd-docs-hero, .bbd-cs-hero, .bbd-csd-hero, .bbd-roi-hero,
         .bbd-contact-hero, .bbd-ag-hero, .bbd-aff-hero, .bbd-legal-hero,
         .bbd-blog-hero, .bbd-sol-hero, .bbd-about-hero, .bbd-st-hero) p {
  margin: 0 !important;
  max-width: 62ch !important;
  font-size: clamp(1rem, 1.25vw, 1.08rem) !important;
  line-height: 1.72 !important;
  color: var(--bbd-warm-ink-soft) !important;
}

/* Hero grids: heading column left, supporting content right */
@media (min-width: 900px) {
  body :is(.bbd-about-hero-grid, .bbd-aff-grid) {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
  }
}

/* Hero eyebrow: same labelled rule as section heads, so pages read as one system */
body :is(.bbd-price-hero, .bbd-feat-hero, .bbd-cmp-hero, .bbd-sec-hero,
         .bbd-docs-hero, .bbd-cs-hero, .bbd-csd-hero, .bbd-roi-hero,
         .bbd-contact-hero, .bbd-ag-hero, .bbd-aff-hero, .bbd-legal-hero,
         .bbd-blog-hero, .bbd-sol-hero, .bbd-about-hero, .bbd-st-hero) .bbd-eyebrow {
  margin-bottom: 18px;
}

/* Billing toggle on pricing: a segmented control, not two stickers */
body .bbd-billing-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--bbd-warm-line) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

body .bbd-billing-toggle button {
  padding: 9px 20px;
  border: none !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bbd-warm-ink-soft) !important;
  cursor: pointer;
  transition: background 180ms var(--bbd-ease), color 180ms var(--bbd-ease);
}

body .bbd-billing-toggle button.is-active {
  background: var(--bbd-warm-ink) !important;
  color: #fff !important;
}

body .bbd-billing-toggle .bbd-save-pill {
  border: none !important;
  box-shadow: none !important;
  background: rgba(255, 107, 53, 0.14) !important;
  color: var(--bbd-orange-dark) !important;
  font-weight: 700;
}

body .bbd-billing-toggle button.is-active .bbd-save-pill {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #fff !important;
}

/* --------------------------------------------------------------------------
   18. Floating UI collision — keep the WhatsApp button clear of the cookie bar
   -------------------------------------------------------------------------- */

body.has-cookie-banner .bbd-whatsapp-float,
body.has-cookie-banner .bbd-back-top {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

/* Reserve space at the end of the document so the banner never sits on top of
   the final paragraph or CTA while it is on screen. */
body.has-cookie-banner {
  padding-bottom: 96px;
}

body .bbd-whatsapp-float,
body .bbd-back-top {
  transition: opacity 200ms var(--bbd-ease), transform 200ms var(--bbd-ease);
}

/* --------------------------------------------------------------------------
   19. Locale switch — reads as a language control, not a stray link
   -------------------------------------------------------------------------- */

body .bbd-locale-switch,
body.bbd-homepage .bbd-locale-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border: 1px solid var(--bbd-warm-line) !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: var(--bbd-warm-ink-2) !important;
  font-family: var(--bbd-font-body) !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none !important;
}

body .bbd-locale-switch:hover {
  border-color: var(--bbd-warm-line-orange) !important;
  color: var(--bbd-orange-dark) !important;
  background: var(--bbd-orange-50) !important;
}

body .bbd-locale-switch::before {
  content: 'EN';
  font-family: var(--bbd-font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--bbd-warm-ink);
  color: #fff;
  line-height: 1.1;
}

/* On the Bangla pages the pill flips: it now offers English */
body .bbd-locale-switch[lang="en"]::before {
  content: 'BN';
  background: var(--bbd-orange);
}

body .bbd-drawer-link.bbd-locale-switch-mobile {
  justify-content: flex-start;
  border: 1px solid var(--bbd-warm-line) !important;
  border-radius: var(--bbd-warm-r-sm) !important;
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   21. Cookie banner — a compact floating card, not a full-width slab that
       sits on top of the hero CTA and the page's final paragraph
   -------------------------------------------------------------------------- */

body .bbd-cookie-banner {
  /* Anchored bottom-left, but lifted clear of the page's own floating controls
     and of any full-width card that happens to end near the fold. 16px put it
     visually on top of the sign-off card on short laptops; 24px plus a raised
     z-index reads as a deliberate floating card instead of a sunk one. */
  bottom: 24px !important;
  left: 24px !important;
  right: auto !important;
  max-width: min(520px, calc(100vw - 48px)) !important;
  border: 1px solid var(--bbd-warm-line-strong) !important;
  border-radius: var(--bbd-warm-r-lg) !important;
  box-shadow:
    0 24px 48px -20px rgba(16, 16, 31, 0.28),
    0 2px 6px rgba(16, 16, 31, 0.06) !important;
  background: #fff !important;
  padding: 16px 18px !important;
  z-index: 450;
  transition: opacity 240ms var(--bbd-ease-out), transform 240ms var(--bbd-ease-out);
}

/* With JS on, the banner is hidden until the consent script decides to show it,
   so a dismissed visitor never gets an invisible fixed card floating over the
   page (it used to sit there at opacity 0, still catching layout and shadow). */
.bbd-js body .bbd-cookie-banner {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.bbd-js body .bbd-cookie-banner.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

body .bbd-cookie-inner {
  gap: 12px !important;
  flex-wrap: wrap;
}

body .bbd-cookie-inner p {
  font-size: 0.82rem !important;
  line-height: 1.55 !important;
  min-width: 0 !important;
  flex: 1 1 100%;
}

body .bbd-cookie-actions {
  flex: 1 1 100%;
  justify-content: flex-end;
  gap: 8px !important;
}

body .bbd-cookie-actions .bbd-btn {
  padding-block: 8px !important;
  font-size: 0.82rem !important;
}

@media (max-width: 620px) {
  body .bbd-cookie-banner {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    max-width: none !important;
    padding: 12px 14px !important;
  }
  body .bbd-cookie-inner {
    gap: 8px !important;
  }
  body .bbd-cookie-inner p {
    font-size: 0.76rem !important;
    line-height: 1.45 !important;
  }
  body .bbd-cookie-actions {
    justify-content: stretch;
  }
  body .bbd-cookie-actions .bbd-btn {
    flex: 1;
    padding-block: 7px !important;
    font-size: 0.78rem !important;
  }
}

/* Hero breathing room on short laptop viewports so the CTA never lands
   under the banner at first paint */
@media (max-height: 720px) and (min-width: 940px) {
  body.bbd-homepage .bbd-hero {
    padding-block: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) !important;
  }
}

/* --------------------------------------------------------------------------
   22. Breadcrumb — merge into the page ground instead of a white strip
   -------------------------------------------------------------------------- */

body .bbd-breadcrumb {
  background: transparent !important;
  border-bottom: 1px solid var(--bbd-warm-line) !important;
  padding-block: 14px !important;
}

body .bbd-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--bbd-warm-ink-soft);
}

body .bbd-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--bbd-warm-ink-soft);
}

body .bbd-breadcrumb li + li::before {
  content: '/';
  color: rgba(16, 16, 31, 0.28);
  font-weight: 400;
}

body .bbd-breadcrumb a {
  color: var(--bbd-warm-ink-soft) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

body .bbd-breadcrumb a:hover {
  color: var(--bbd-orange-dark) !important;
}

body .bbd-breadcrumb [aria-current="page"] {
  color: var(--bbd-warm-ink) !important;
  font-weight: 600 !important;
}

/* --------------------------------------------------------------------------
   21. Bangla pages — Anek Bangla is heavier per glyph, so it needs air
   -------------------------------------------------------------------------- */

body:lang(bn) h1,
body:lang(bn) h2,
body:lang(bn) h3 {
  letter-spacing: -0.01em !important;
  line-height: 1.28 !important;
  text-shadow: none !important;
  word-break: normal;
  overflow-wrap: break-word;
}

body:lang(bn) .bbd-bn-hero h1,
body:lang(bn) :is(.bbd-price-hero, .bbd-feat-hero, .bbd-cmp-hero, .bbd-sec-hero,
                  .bbd-docs-hero, .bbd-cs-hero, .bbd-sol-hero, .bbd-roi-hero,
                  .bbd-contact-hero, .bbd-ag-hero, .bbd-aff-hero, .bbd-legal-hero,
                  .bbd-blog-hero, .bbd-st-hero) h1 {
  font-size: clamp(1.65rem, 3.1vw, 2.4rem) !important;
  line-height: 1.32 !important;
  max-width: 26ch;
}

/* The Bangla home hero: same warm ground and left-aligned masthead as every
   other page, instead of its own centred banner. */
body .bbd-bn-hero {
  background:
    radial-gradient(circle at 86% 0%, rgba(255, 107, 53, 0.12), transparent 38%),
    linear-gradient(to right, rgba(16, 16, 31, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 16, 31, 0.025) 1px, transparent 1px),
    var(--bbd-warm-paper) !important;
  background-size: auto, 40px 40px, 40px 40px, auto !important;
  border-bottom: 1px solid var(--bbd-warm-line) !important;
  padding-block: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 48px) !important;
  text-align: left !important;
}

body .bbd-bn-hero h1 {
  margin: 0 0 16px !important;
  max-width: 24ch;
  text-shadow: none !important;
}

body .bbd-bn-hero p {
  margin: 0 0 24px !important;
  max-width: 60ch !important;
}

body .bbd-bn-hero-actions {
  justify-content: flex-start !important;
}

body .bbd-bn-lang-switch {
  margin-top: 14px !important;
  text-align: left;
}

body:lang(bn) p,
body:lang(bn) li,
body:lang(bn) .bbd-lead {
  line-height: 1.85;
}

body:lang(bn) .bbd-eyebrow {
  letter-spacing: 0.08em !important;
  text-transform: none;
}

body:lang(bn) .bbd-btn {
  font-family: 'Anek Bangla', var(--bbd-font-display);
  font-size: 0.98rem;
  padding-block: 13px;
}

body:lang(bn) .bbd-nav-link,
body:lang(bn) .bbd-drawer-link {
  font-family: 'Anek Bangla', var(--bbd-font-body);
  font-size: 0.98rem;
}

/* --------------------------------------------------------------------------
   23. Features page — the 12 modules become an editorial index, not 12 tiles
   -------------------------------------------------------------------------- */

body .bbd-modules {
  display: block !important;
  border-top: 1px solid var(--bbd-warm-line);
}

body .bbd-module {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.62fr);
  gap: clamp(16px, 2.5vw, 40px);
  align-items: start;
  padding: clamp(24px, 3vw, 38px) 4px !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--bbd-warm-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: background 200ms var(--bbd-ease);
}

body .bbd-module:hover {
  transform: none !important;
  background: rgba(255, 107, 53, 0.03) !important;
  box-shadow: none !important;
}

body .bbd-module-head {
  display: flex !important;
  align-items: flex-start;
  gap: 14px;
  margin: 0 !important;
}

body .bbd-module-icon {
  width: 38px !important;
  height: 38px !important;
  flex: 0 0 auto;
  margin: 0 !important;
  background: var(--bbd-orange-50) !important;
  color: var(--bbd-orange-dark) !important;
  border: 1px solid rgba(255, 107, 53, 0.18) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

body .bbd-module-icon svg {
  width: 19px !important;
  height: 19px !important;
}

body .bbd-module-tag {
  display: block;
  margin: 0 0 4px !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  font-family: var(--bbd-font-mono);
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bbd-orange-dark) !important;
}

body .bbd-module h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem) !important;
  margin: 0 !important;
  letter-spacing: -0.022em;
  line-height: 1.25;
}

body .bbd-module > p {
  margin: 0 0 12px !important;
  font-size: 0.97rem;
  line-height: 1.72;
  color: var(--bbd-warm-ink-soft) !important;
  grid-column: 2;
}

body .bbd-module-list {
  grid-column: 2;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: flex-start;
  gap: 6px 8px !important;
}

body .bbd-module-list li {
  margin: 0 !important;
  padding: 5px 11px !important;
  background: #fff !important;
  border: 1px solid var(--bbd-warm-line) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-size: 0.79rem !important;
  line-height: 1.35;
  color: var(--bbd-warm-ink-soft) !important;
}

body .bbd-module-list li::before {
  display: none !important;
}

@media (max-width: 820px) {
  body .bbd-module {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  body .bbd-module > p,
  body .bbd-module-list {
    grid-column: 1;
  }
}

/* --------------------------------------------------------------------------
   24. Pricing cards — the "Most Popular" badge was colliding with the title
   -------------------------------------------------------------------------- */

body .bbd-plan {
  padding-top: 34px !important;
  border-radius: var(--bbd-warm-r-lg) !important;
}

body .bbd-plan-badge {
  top: -11px !important;
  left: 20px !important;
  transform: none !important;
  padding: 5px 12px !important;
  background: var(--bbd-orange) !important;
  border: 1px solid rgba(16, 16, 31, 0.86) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 0.66rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
}

body .bbd-plan.is-popular {
  border-color: var(--bbd-warm-line-orange) !important;
  box-shadow: var(--bbd-warm-shadow-lift), 0 0 0 3px rgba(255, 107, 53, 0.07) !important;
}

body .bbd-plan-name {
  font-size: 1.05rem !important;
  letter-spacing: -0.01em;
  margin: 0 0 4px !important;
}

body .bbd-plan-tagline {
  font-size: 0.82rem !important;
  line-height: 1.45 !important;
  min-height: 2.5em;
  color: var(--bbd-warm-ink-soft) !important;
  margin-bottom: 14px !important;
}

body .bbd-plan-price {
  font-size: 1.9rem !important;
  line-height: 1.1;
  margin-bottom: 2px !important;
}

body .bbd-plan-price .bbd-cur {
  font-size: 0.62em;
  font-weight: 600;
  opacity: 0.75;
  margin-right: 1px;
}

body .bbd-plan-price .bbd-per {
  font-size: 0.5em !important;
  font-weight: 500;
  color: var(--bbd-warm-ink-soft);
}

body .bbd-plan-price-annual {
  font-size: 0.76rem !important;
  color: var(--bbd-warm-ink-soft) !important;
  margin-bottom: 16px;
}

body .bbd-plan-resources {
  background: var(--bbd-warm-paper-2) !important;
  border: 1px solid var(--bbd-warm-line) !important;
  border-radius: var(--bbd-warm-r-sm) !important;
  box-shadow: none !important;
  padding: 9px 12px !important;
  margin-bottom: 16px !important;
}

body .bbd-plan-resources .bbd-r-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--bbd-warm-ink-soft);
}

body .bbd-plan-resources strong {
  font-family: var(--bbd-font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--bbd-warm-ink);
}

body .bbd-plan-features {
  list-style: none;
  margin: 0 0 16px !important;
  padding: 0 !important;
  display: grid;
  gap: 8px;
  flex: 1;
}

body .bbd-plan-features li {
  /* Same trap as the checklist lists: the tick is an absolutely-positioned
     ::before, which is not a grid item, so a grid-template-columns here pushed
     the label into the 16px marker column. Padding + absolute tick instead. */
  display: block;
  position: relative;
  padding: 0 0 0 21px !important;
  font-size: 0.83rem !important;
  line-height: 1.5 !important;
  color: var(--bbd-warm-ink-soft) !important;
}

body .bbd-plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 14px;
  height: 14px;
  margin: 0;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.12)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 9px 9px no-repeat;
}

body .bbd-plan-trust {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem !important;
  line-height: 1.4;
  color: var(--bbd-warm-ink-soft) !important;
  padding-top: 12px;
  margin-bottom: 14px;
  border-top: 1px dashed var(--bbd-warm-line);
}

body .bbd-plan-trust svg {
  width: 13px;
  height: 13px;
  color: var(--bbd-success);
  flex: 0 0 auto;
}

body .bbd-plan .bbd-btn {
  margin-top: auto;
  font-size: 0.86rem !important;
  padding-block: 11px !important;
}

/* --------------------------------------------------------------------------
   25. About page — the stat panel becomes a real fact sheet
   -------------------------------------------------------------------------- */

body .bbd-about-visual {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body .bbd-about-stat {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 1px !important;
  background: var(--bbd-warm-line) !important;
  border: 1px solid var(--bbd-warm-line) !important;
  border-radius: var(--bbd-warm-r-lg) !important;
  box-shadow: var(--bbd-warm-shadow) !important;
  overflow: hidden;
}

body .bbd-about-stat-item {
  background: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 20px 22px !important;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body .bbd-about-stat-kicker {
  font-family: var(--bbd-font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bbd-orange-dark);
}

body .bbd-about-stat-item strong {
  font-family: var(--bbd-font-display);
  font-size: 1.08rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  text-shadow: none !important;
  color: var(--bbd-warm-ink) !important;
  line-height: 1.25;
}

body .bbd-about-stat-item > span:last-child {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--bbd-warm-ink-soft);
}

/* Story: an editorial column with a pull quote, not four loose paragraphs */
body .bbd-story {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  max-width: 68ch;
  border-left: 2px solid rgba(255, 107, 53, 0.28) !important;
  padding-left: clamp(18px, 3vw, 32px) !important;
}

body .bbd-story p {
  font-size: clamp(1rem, 1.2vw, 1.06rem) !important;
  line-height: 1.78 !important;
  color: var(--bbd-warm-ink-soft) !important;
}

body .bbd-story p:first-child {
  font-size: clamp(1.12rem, 1.55vw, 1.24rem) !important;
  line-height: 1.66 !important;
  color: var(--bbd-warm-ink) !important;
}

body .bbd-story strong {
  color: var(--bbd-warm-ink);
  font-weight: 650;
}

/* Values: three columns of prose with a rule above each, no cards */
body .bbd-values {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: clamp(24px, 4vw, 48px) !important;
}

body .bbd-value {
  background: transparent !important;
  border: none !important;
  border-top: 1px solid var(--bbd-warm-line-strong) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 20px 0 0 !important;
}

body .bbd-value:hover {
  transform: none !important;
  box-shadow: none !important;
}

body .bbd-value-icon {
  width: 34px !important;
  height: 34px !important;
  margin-bottom: 14px !important;
  background: var(--bbd-orange-50) !important;
  color: var(--bbd-orange-dark) !important;
  border: 1px solid rgba(255, 107, 53, 0.18) !important;
  border-radius: 9px !important;
  box-shadow: none !important;
}

body .bbd-value h3 {
  font-size: 1.05rem !important;
  margin-bottom: 8px !important;
}

body .bbd-value p {
  font-size: 0.94rem !important;
  line-height: 1.68 !important;
  color: var(--bbd-warm-ink-soft) !important;
}

@media (max-width: 860px) {
  body .bbd-values {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
  body .bbd-about-stat {
    grid-template-columns: 1fr;
  }
}

/* Timeline: years become a quiet rail */
body .bbd-timeline {
  border-left: 1px solid var(--bbd-warm-line-strong) !important;
  padding-left: clamp(20px, 3vw, 36px) !important;
  max-width: 70ch;
}

body .bbd-timeline-item {
  position: relative;
  padding-bottom: 28px !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}

body .bbd-timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * clamp(20px, 3vw, 36px) - 4px);
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--bbd-orange);
  box-shadow: 0 0 0 3px var(--bbd-warm-paper);
}

body .bbd-timeline-year {
  font-family: var(--bbd-font-mono) !important;
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em;
  color: var(--bbd-orange-dark) !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  margin-bottom: 4px !important;
}

body .bbd-timeline-item h4 {
  font-size: 1.05rem !important;
  margin-bottom: 6px !important;
}

body .bbd-timeline-item p {
  font-size: 0.94rem !important;
  line-height: 1.68 !important;
  color: var(--bbd-warm-ink-soft) !important;
  margin: 0;
}

/* --------------------------------------------------------------------------
   26. Compare table — readable marks instead of a traffic-light of colors
   -------------------------------------------------------------------------- */

body .bbd-cmp-table-wrap,
body .bbd-cmp-table-wrap--accent {
  border: 1px solid var(--bbd-warm-line) !important;
  border-radius: var(--bbd-warm-r-lg) !important;
  box-shadow: var(--bbd-warm-shadow) !important;
  background: #fff !important;
  overflow: auto;
}

body .bbd-cmp-table {
  font-size: 0.88rem;
  border-collapse: collapse;
}

body .bbd-cmp-table th,
body .bbd-cmp-table td {
  padding: 12px 14px !important;
  border-color: var(--bbd-warm-line) !important;
  vertical-align: middle;
  text-align: left;
}

body .bbd-cmp-table tbody td:not(:first-child) {
  text-align: center;
}

body .bbd-cmp-table th:first-child,
body .bbd-cmp-table td:first-child {
  width: 40%;
  font-weight: 500;
  color: var(--bbd-warm-ink) !important;
  background: #fff !important;
  line-height: 1.45;
}

body .bbd-cmp-table .bbd-cat-row td:first-child {
  background: var(--bbd-warm-paper-2) !important;
}

body .bbd-cmp-table thead th {
  background: var(--bbd-warm-ink) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  padding-block: 14px !important;
  vertical-align: middle !important;
}

body .bbd-cmp-table thead th:first-child {
  background: var(--bbd-warm-ink) !important;
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body .bbd-cmp-table thead th.is-bbd {
  background: var(--bbd-orange) !important;
  color: #fff !important;
  font-weight: 700 !important;
}

body .bbd-cmp-table .bbd-cat-row td {
  background: var(--bbd-warm-paper-2) !important;
  color: var(--bbd-warm-ink-soft) !important;
  font-family: var(--bbd-font-mono);
  font-size: 0.68rem !important;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-block: 9px !important;
  border-top: 1px solid var(--bbd-warm-line) !important;
  border-bottom: 1px solid var(--bbd-warm-line) !important;
}

body .bbd-cmp-table .bbd-bbd-col {
  background: rgba(255, 107, 53, 0.055) !important;
  color: var(--bbd-warm-ink) !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
}

/* Marks: one green tick language, neutral dashes, no red/green/amber clash */
body .bbd-cmp-table .bbd-yes,
body .bbd-cmp-table .bbd-no,
body .bbd-cmp-table .bbd-mixed {
  font-weight: 500 !important;
  font-size: 0.84rem !important;
}

body .bbd-cmp-table .bbd-yes {
  color: var(--bbd-warm-ink) !important;
}

body .bbd-cmp-table .bbd-yes:where(td)::before {
  content: '';
}

body .bbd-cmp-table .bbd-mixed {
  color: #8a5a1c !important;
  background: rgba(245, 158, 11, 0.10);
  border-radius: 6px;
}

body .bbd-cmp-table .bbd-no {
  color: #9a4a3f !important;
  background: rgba(220, 38, 38, 0.07);
  border-radius: 6px;
}

body .bbd-cmp-table tbody tr:hover td {
  background: rgba(255, 107, 53, 0.03);
}

body .bbd-cmp-table tbody tr:hover .bbd-bbd-col {
  background: rgba(255, 107, 53, 0.09) !important;
}

/* ==========================================================================
   28. Specificity guard

   The brutal layer styles some surfaces through a multi-class :is() list
   (`body :is(.bbd-hero-visual, .bbd-cmp-table-wrap, .bbd-plan.is-popular, …)`),
   which computes to a higher specificity than a single-class rule — so those
   3-4px borders and 8px block shadows survived every earlier override.

   Repeating the class (`body .x.x`) matches that specificity and, because this
   file loads last, wins the cascade. Only the surfaces that need it are listed.
   ========================================================================== */

body .bbd-hero-visual.bbd-hero-visual,
body .bbd-cmp-table-wrap.bbd-cmp-table-wrap,
body .bbd-cmp-table-wrap--accent.bbd-cmp-table-wrap--accent,
body .bbd-compare-mini.bbd-compare-mini,
body .bbd-calc.bbd-calc,
body .bbd-plan.bbd-plan.is-popular,
body .bbd-mini-plan.bbd-mini-plan.is-popular,
body .bbd-vs-card.bbd-vs-card.is-bbd,
body .bbd-diff-new.bbd-diff-new,
body .bbd-roi-result.bbd-roi-result,
body .bbd-404-shell.bbd-404-shell,
body .bbd-502-shell.bbd-502-shell,
body .bbd-cta-strip.bbd-cta-strip {
  border-width: 1px !important;
  border-style: solid !important;
  border-color: var(--bbd-warm-line) !important;
  box-shadow: var(--bbd-warm-shadow) !important;
}

body .bbd-cta-strip.bbd-cta-strip {
  border-color: var(--bbd-warm-line-orange) !important;
  box-shadow: var(--bbd-warm-shadow) !important;
}

body .bbd-plan.bbd-plan.is-popular,
body .bbd-mini-plan.bbd-mini-plan.is-popular,
body .bbd-vs-card.bbd-vs-card.is-bbd {
  border-color: var(--bbd-warm-line-orange) !important;
  box-shadow: var(--bbd-warm-shadow-lift), 0 0 0 3px rgba(255, 107, 53, 0.07) !important;
}

body .bbd-hero-visual.bbd-hero-visual {
  border-color: var(--bbd-warm-line) !important;
  box-shadow:
    0 30px 70px -34px rgba(16, 16, 31, 0.45),
    0 0 0 1px rgba(255, 107, 53, 0.05),
    10px 10px 0 -4px rgba(255, 107, 53, 0.10) !important;
}

/* Hover states in the brutal layer also use the multi-class list */
body :is(.bbd-card, .bbd-blog-card, .bbd-sol-related-card, .bbd-guide-card,
         .bbd-vs-card, .bbd-plan, .bbd-mini-plan, .bbd-testimonial, .bbd-sec-card,
         .bbd-value, .bbd-sol-card, .bbd-sol-panel, .bbd-sol-step, .bbd-st-card,
         .bbd-404-card, .bbd-502-card):hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--bbd-warm-shadow-lift) !important;
}

/* Small chips and counters that the brutal layer boxed in */
body .bbd-eyebrow.bbd-eyebrow,
body .bbd-badge.bbd-badge,
body .bbd-plan-badge.bbd-plan-badge,
body .bbd-integ-pill.bbd-integ-pill,
body .bbd-trust-badge.bbd-trust-badge,
body .bbd-testimonial-result.bbd-testimonial-result {
  border-width: 1px !important;
  box-shadow: none !important;
}

body .bbd-plan-badge.bbd-plan-badge {
  border-color: rgba(16, 16, 31, 0.86) !important;
  background: var(--bbd-orange) !important;
}

body .bbd-testimonial-result.bbd-testimonial-result {
  border-color: rgba(255, 107, 53, 0.22) !important;
  background: rgba(255, 107, 53, 0.08) !important;
}

/* The doc-content heading rule and code blocks */
body .bbd-docs-content.bbd-docs-content :is(h2, h3) {
  border-bottom: 1px solid var(--bbd-warm-line) !important;
  padding-bottom: 10px;
}

body .bbd-docs-content.bbd-docs-content :is(pre, code),
body .bbd-legal-content.bbd-legal-content :is(pre, code) {
  border: 1px solid var(--bbd-warm-line) !important;
  border-radius: var(--bbd-warm-r-sm) !important;
  background: var(--bbd-warm-paper-2) !important;
  color: var(--bbd-warm-ink) !important;
}

/* --------------------------------------------------------------------------
   29. 404 / 502 — a friendly signpost, not a giant error billboard
   -------------------------------------------------------------------------- */

body .bbd-404,
body .bbd-502 {
  background:
    radial-gradient(circle at 84% 0%, rgba(255, 107, 53, 0.10), transparent 36%),
    linear-gradient(to right, rgba(16, 16, 31, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 16, 31, 0.025) 1px, transparent 1px),
    var(--bbd-warm-paper) !important;
  background-size: auto, 40px 40px, 40px 40px, auto !important;
  border-bottom: 1px solid var(--bbd-warm-line) !important;
  padding-block: clamp(40px, 6vw, 76px) !important;
  text-align: left !important;
  min-height: 0 !important;
}

body .bbd-404-shell,
body .bbd-502-shell {
  max-width: 760px !important;
  margin-inline: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body .bbd-404-code,
body .bbd-502-code {
  display: inline-block;
  font-family: var(--bbd-font-mono) !important;
  font-size: clamp(0.8rem, 1vw, 0.9rem) !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em;
  line-height: 1 !important;
  padding: 8px 14px !important;
  margin: 0 0 20px !important;
  background: rgba(255, 107, 53, 0.10) !important;
  border: 1px solid rgba(255, 107, 53, 0.26) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  color: var(--bbd-orange-dark) !important;
  -webkit-text-fill-color: var(--bbd-orange-dark) !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
}

body .bbd-404 h1,
body .bbd-502 h1 {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem) !important;
  max-width: 22ch;
  margin: 0 0 14px !important;
  line-height: 1.1 !important;
}

body .bbd-404 p,
body .bbd-502 p {
  max-width: 58ch !important;
  margin-inline: 0 !important;
  text-align: left !important;
  font-size: 1.02rem !important;
  line-height: 1.72 !important;
}

body .bbd-404-chip,
body .bbd-502-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px !important;
  padding: 8px 14px !important;
  background: #fff !important;
  border: 1px solid var(--bbd-warm-line) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-size: 0.86rem !important;
  font-weight: 500 !important;
  color: var(--bbd-warm-ink-soft) !important;
}

body .bbd-404-chip code,
body .bbd-502-status code {
  font-family: var(--bbd-font-mono);
  font-size: 0.82rem;
  color: var(--bbd-warm-ink);
  background: var(--bbd-warm-paper-2);
  padding: 2px 8px;
  border-radius: 6px;
}

body .bbd-404-actions,
body .bbd-502-actions {
  justify-content: flex-start !important;
  gap: 10px !important;
  margin-bottom: 8px;
}

body .bbd-404-suggest,
body .bbd-502-tip {
  margin: 18px 0 20px !important;
  max-width: 56ch !important;
  font-size: 0.94rem !important;
  color: var(--bbd-warm-ink-soft) !important;
  text-align: left !important;
}

body .bbd-404-search {
  max-width: 520px !important;
  margin: 0 0 26px !important;
}

body .bbd-404-note,
body .bbd-502-tip {
  text-align: left !important;
}

body .bbd-404-links,
body .bbd-502-links {
  justify-content: flex-start !important;
  gap: 8px !important;
  margin-top: 18px !important;
  font-size: 0.88rem !important;
  flex-wrap: wrap;
}

body .bbd-404-links a,
body .bbd-502-links a {
  padding: 6px 13px;
  border: 1px solid var(--bbd-warm-line);
  border-radius: 999px;
  background: #fff;
  color: var(--bbd-warm-ink-2) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

body .bbd-404-links a:hover,
body .bbd-502-links a:hover {
  border-color: var(--bbd-warm-line-orange);
  color: var(--bbd-orange-dark) !important;
  background: var(--bbd-orange-50);
}

body .bbd-404-grid,
body .bbd-502-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1px !important;
  margin-top: 30px !important;
  background: var(--bbd-warm-line) !important;
  border: 1px solid var(--bbd-warm-line) !important;
  border-radius: var(--bbd-warm-r-lg) !important;
  overflow: hidden;
}

body .bbd-404-card,
body .bbd-502-card {
  padding: 18px 20px !important;
  background: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: left !important;
}

body .bbd-404-card h2,
body .bbd-502-card h2 {
  font-size: 0.98rem !important;
  margin: 0 0 6px !important;
  letter-spacing: -0.01em;
}

body .bbd-404-card p,
body .bbd-502-card p {
  margin: 0 0 10px !important;
  font-size: 0.88rem !important;
  line-height: 1.6 !important;
  color: var(--bbd-warm-ink-soft) !important;
}

body .bbd-404-card a,
body .bbd-502-card a {
  font-size: 0.86rem;
  font-weight: 600 !important;
  color: var(--bbd-orange-dark) !important;
  text-decoration: none !important;
}

@media (max-width: 820px) {
  body .bbd-404-grid,
  body .bbd-502-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --------------------------------------------------------------------------
   30. Leftover hard-edged surfaces on the remaining pages
   -------------------------------------------------------------------------- */

body .bbd-ag-metric,
body .bbd-tier,
body .bbd-tier-badge,
body .bbd-bn-cta,
body .bbd-bn-feat-card,
body .bbd-bn-blog-card,
body .bbd-bn-step-num,
body .bbd-cs-card,
body .bbd-cs-tag,
body .bbd-cs-metric,
body .bbd-blog-card,
body .bbd-blog-cat,
body .bbd-blog-tag,
body .bbd-status-bar,
body .bbd-status-num,
body .bbd-docs-callout,
body .bbd-resource-card {
  border: 1px solid var(--bbd-warm-line) !important;
  border-radius: var(--bbd-warm-r-lg) !important;
  box-shadow: var(--bbd-warm-shadow) !important;
  background: #fff !important;
}

/* Compact ones stay compact */
body .bbd-cs-tag,
body .bbd-blog-cat,
body .bbd-blog-tag,
body .bbd-tier-badge,
body .bbd-status-bar {
  border-radius: 999px !important;
  box-shadow: none !important;
  background: var(--bbd-orange-50) !important;
  border-color: rgba(255, 107, 53, 0.22) !important;
  color: var(--bbd-orange-dark) !important;
  font-weight: 600 !important;
  font-size: 0.74rem !important;
  padding: 4px 11px !important;
}

body .bbd-ag-metric {
  padding: 22px !important;
  text-align: left !important;
}

body .bbd-ag-metric strong {
  color: var(--bbd-warm-ink) !important;
  font-size: 1.7rem !important;
  letter-spacing: -0.04em;
  margin-bottom: 4px !important;
}

body .bbd-ag-metric span {
  font-size: 0.82rem !important;
  line-height: 1.5;
  color: var(--bbd-warm-ink-soft) !important;
}

body .bbd-cs-card,
body .bbd-blog-card,
body .bbd-bn-feat-card,
body .bbd-bn-blog-card {
  padding: 22px !important;
}

body .bbd-cs-card:hover,
body .bbd-blog-card:hover,
body .bbd-bn-feat-card:hover,
body .bbd-bn-blog-card:hover {
  transform: translateY(-3px) !important;
  border-color: var(--bbd-warm-line-strong) !important;
  box-shadow: var(--bbd-warm-shadow-lift) !important;
}

body .bbd-bn-cta {
  padding: clamp(28px, 4vw, 44px) !important;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 107, 53, 0.10), transparent 42%),
    #fff !important;
  text-align: left !important;
}

body .bbd-bn-cta h2 {
  text-align: left !important;
}

body .bbd-bn-cta p {
  margin-inline: 0 !important;
  max-width: 58ch;
}

body .bbd-bn-cta-actions {
  justify-content: flex-start !important;
}

body .bbd-bn-step-num {
  background: var(--bbd-warm-ink) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  font-size: 0.92rem !important;
  font-weight: 700;
}

body .bbd-tier {
  padding: 22px !important;
}

body .bbd-tier.is-gold,
body .bbd-tier-gold {
  border-color: rgba(255, 107, 53, 0.3) !important;
  box-shadow: var(--bbd-warm-shadow-lift), 0 0 0 3px rgba(255, 107, 53, 0.06) !important;
}

/* --------------------------------------------------------------------------
   31. Blog index / article — cards become a quiet reading list
   -------------------------------------------------------------------------- */

body .bbd-blog-grid {
  gap: 18px !important;
}

body .bbd-blog-card-image {
  border: none !important;
  border-bottom: 1px solid var(--bbd-warm-line) !important;
  border-radius: 0 !important;
}

body .bbd-blog-card h2,
body .bbd-blog-card h3 {
  letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   32. Status page — the counters read as facts, not scoreboard tiles
   -------------------------------------------------------------------------- */

body .bbd-status-num {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--bbd-warm-ink) !important;
  font-family: var(--bbd-font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-shadow: none !important;
}

/* Numbers everywhere: no offset "ghost" layer behind them */
body :is(.bbd-status-num, .bbd-stat-value, .bbd-stats-bar-value, .bbd-st-metric,
         .bbd-csd-dash-metric, .bbd-about-stat-item strong, .bbd-aff-stat-item strong,
         .bbd-roi-result strong, .bbd-plan-price, .bbd-mini-price, .bbd-ag-metric strong,
         .bbd-big-price) {
  text-shadow: none !important;
}

body .bbd-status-label {
  font-size: 0.78rem !important;
  color: var(--bbd-warm-ink-soft) !important;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   33. Security / agency / card lists — brand ticks instead of default bullets
   -------------------------------------------------------------------------- */

body :is(.bbd-sec-card, .bbd-ag-card, .bbd-sol-checklist, .bbd-diff-list,
         .bbd-legal-content, .bbd-docs-content) ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  gap: 8px;
}

body :is(.bbd-sec-card, .bbd-ag-card, .bbd-sol-checklist, .bbd-diff-list) li {
  /* These lists ship their own absolutely-positioned marker glyph in the page's
     inline CSS. A grid-template-columns rule would push the text into the 16px
     marker column (one word per line), because an absolutely-positioned ::before
     is not a grid item. Use padding + an absolute tick instead, which composes
     with whatever marker the page already declares. */
  display: block;
  position: relative;
  padding: 0 0 0 24px !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  font-size: 0.92rem !important;
  line-height: 1.62 !important;
  color: var(--bbd-warm-ink-soft) !important;
}

body :is(.bbd-sec-card, .bbd-ag-card, .bbd-sol-checklist, .bbd-diff-list) li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.34em;
  width: 15px;
  height: 15px;
  margin: 0;
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.12)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e55a2b' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 9px 9px no-repeat;
}

body .bbd-sec-icon svg,
body .bbd-ag-card .bbd-sec-icon svg {
  width: 20px !important;
  height: 20px !important;
}

/* The security status bar reads as a row of facts, not four boxes */
body .bbd-status-bar {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1px !important;
  padding: 0 !important;
  background: var(--bbd-warm-line) !important;
  border: 1px solid var(--bbd-warm-line) !important;
  border-radius: var(--bbd-warm-r-lg) !important;
  box-shadow: var(--bbd-warm-shadow) !important;
  overflow: hidden;
}

body .bbd-status-bar > * {
  background: #fff !important;
  padding: 18px 20px !important;
  text-align: left !important;
}

@media (max-width: 720px) {
  body .bbd-status-bar {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* --------------------------------------------------------------------------
   34. Docs sidebar — a quiet index, not a list of orange underlined links
   -------------------------------------------------------------------------- */

body .bbd-docs-nav {
  padding: 18px 16px !important;
  background: #fff !important;
  border: 1px solid var(--bbd-warm-line) !important;
  border-radius: var(--bbd-warm-r-lg) !important;
  box-shadow: var(--bbd-warm-shadow) !important;
}

body .bbd-docs-nav h3,
body .bbd-docs-nav h4 {
  font-size: 0.68rem !important;
  font-family: var(--bbd-font-mono);
  font-weight: 600 !important;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--bbd-warm-ink-soft) !important;
  margin: 16px 0 8px !important;
}

body .bbd-docs-nav h3:first-child,
body .bbd-docs-nav h4:first-child {
  margin-top: 0 !important;
}

body .bbd-docs-nav ul {
  list-style: none;
  margin: 0 0 4px !important;
  padding: 0 !important;
  display: grid;
  gap: 1px;
}

body .bbd-docs-nav a {
  display: block;
  padding: 7px 10px !important;
  border-radius: 8px !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: var(--bbd-warm-ink-2) !important;
  text-decoration: none !important;
  transition: background 160ms var(--bbd-ease), color 160ms var(--bbd-ease);
}

body .bbd-docs-nav a:hover {
  background: var(--bbd-orange-50) !important;
  color: var(--bbd-orange-dark) !important;
}

body .bbd-docs-nav a.is-active,
body .bbd-docs-nav a[aria-current] {
  background: rgba(255, 107, 53, 0.10) !important;
  color: var(--bbd-orange-dark) !important;
  font-weight: 600 !important;
}

/* Docs content: reading measure and quiet rules */
body .bbd-docs-content {
  padding: clamp(22px, 3vw, 36px) !important;
}

body .bbd-docs-content p,
body .bbd-docs-content li {
  max-width: 72ch;
  line-height: 1.75 !important;
  color: var(--bbd-warm-ink-soft) !important;
}

body .bbd-docs-content h2 {
  margin-top: 2em !important;
}

body .bbd-docs-content h3 {
  margin-top: 1.6em !important;
}

body .bbd-docs-content code {
  background: var(--bbd-warm-paper-2) !important;
  border: 1px solid var(--bbd-warm-line) !important;
  border-radius: 5px !important;
  padding: 1px 5px !important;
  font-size: 0.88em !important;
  color: var(--bbd-warm-ink) !important;
}

body .bbd-docs-content pre {
  padding: 16px 18px !important;
  overflow-x: auto;
  font-size: 0.84rem !important;
  line-height: 1.6 !important;
}

body .bbd-docs-content pre code {
  border: none !important;
  background: none !important;
  padding: 0 !important;
}

/* Callouts: a warm tinted block with a left rule, not a boxed card */
body .bbd-docs-callout,
body .bbd-legal-summary,
body .bbd-refund-callout,
body .bbd-sec-note {
  background: rgba(255, 107, 53, 0.055) !important;
  border: none !important;
  border-left: 3px solid var(--bbd-orange) !important;
  border-radius: 0 var(--bbd-warm-r) var(--bbd-warm-r) 0 !important;
  box-shadow: none !important;
  padding: 16px 20px !important;
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
  color: var(--bbd-warm-ink-soft) !important;
}

body .bbd-docs-callout strong,
body .bbd-sec-note strong {
  color: var(--bbd-warm-ink) !important;
}

/* --------------------------------------------------------------------------
   35. Step grid — .bbd-steps is only declared in home.html's inline CSS, so
       every other page (affiliate, and anything else reusing the class) got an
       unstyled vertical stack of full-width blocks. Define it once here.
   -------------------------------------------------------------------------- */

body .bbd-steps {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: clamp(16px, 2vw, 22px) !important;
  counter-reset: bbd-step;
  align-items: stretch;
}

body .bbd-step {
  display: flex !important;
  flex-direction: column;
  padding: clamp(20px, 2.4vw, 26px) !important;
  background: #fff !important;
  border: 1px solid var(--bbd-warm-line) !important;
  border-radius: var(--bbd-warm-r-lg) !important;
  box-shadow: var(--bbd-warm-shadow) !important;
}

body .bbd-step:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--bbd-warm-shadow-lift) !important;
}

body .bbd-step h3 {
  font-size: 1.05rem !important;
  margin: 0 0 8px !important;
  letter-spacing: -0.02em;
}

body .bbd-step p {
  font-size: 0.92rem !important;
  line-height: 1.65 !important;
  color: var(--bbd-warm-ink-soft) !important;
  margin: 0;
}

body .bbd-step-num {
  width: 32px !important;
  height: 32px !important;
  margin-bottom: 14px !important;
  background: var(--bbd-warm-ink) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--bbd-font-display);
  font-size: 0.86rem;
  font-weight: 700;
  counter-increment: bbd-step;
}

/* The number itself has to be generated here: home.html used to declare this
   in its own inline CSS, so every other page rendered an empty circle. */
body .bbd-step-num::before {
  content: counter(bbd-step, decimal-leading-zero);
}

body .bbd-step.is-final {
  background: var(--bbd-warm-paper-3) !important;
  border-color: var(--bbd-warm-line-orange) !important;
}

body .bbd-step.is-final .bbd-step-num {
  background: var(--bbd-orange) !important;
  color: var(--bbd-warm-ink) !important;
}

/* --------------------------------------------------------------------------
   36. Readable orange

   #ff6b35 is the brand colour and stays the brand colour — but as *text* on
   paper it only reaches 3.1:1, and white text on it reaches 2.8:1. Neither
   passes WCAG AA. Text uses the darker sibling; fills keep the original.
   -------------------------------------------------------------------------- */

body .bbd-eyebrow,
body.bbd-homepage .bbd-eyebrow,
body .bbd-eyebrow:not(.bbd-hero-eyebrow-anim),
body .bbd-rail-step,
body .bbd-numlist > li::before,
body .bbd-quoteband-meta span a,
body .bbd-404-card a,
body .bbd-404-card a:hover,
body .bbd-502-card a,
body .bbd-cmp-table .bbd-bbd-col,
body .bbd-footer-list a:hover,
body .bbd-note,
body .bbd-blog-cat.is-active,
body .bbd-timeline-year,
body .bbd-module-tag,
body .bbd-about-stat-kicker,
body .bbd-docs-nav a:hover,
body .bbd-docs-nav a.is-active {
  color: #b8451f !important;
}

/* Small orange text that sits on a tinted fill */
body .bbd-testimonial-result,
body .bbd-blog-card-meta .bbd-blog-tag,
body .bbd-cs-tag,
body .bbd-blog-cat,
body .bbd-blog-tag,
body .bbd-tier-badge,
body .bbd-plan-badge {
  color: #b8451f !important;
}

body .bbd-plan-badge.bbd-plan-badge {
  color: var(--bbd-warm-ink) !important;
}

/* Inline links: the darker tone keeps the brand hue at AA contrast */
body a:not(.bbd-btn):not(.bbd-nav-brand):not(.bbd-footer-brand):not(.bbd-nav-link):not(.bbd-drawer-link):not(.bbd-nav-menu-item):not(.bbd-locale-switch):not(.bbd-back-top):not(.bbd-whatsapp-float):not(.bbd-card):not(.bbd-plan):not(.bbd-blog-card):not(.bbd-tagrow a) {
  color: #b8451f;
  text-decoration-color: rgba(184, 69, 31, 0.4);
}

body a:not(.bbd-btn):not(.bbd-nav-brand):not(.bbd-footer-brand):not(.bbd-nav-link):not(.bbd-drawer-link):not(.bbd-nav-menu-item):not(.bbd-locale-switch):not(.bbd-back-top):not(.bbd-whatsapp-float):hover {
  color: #9a3412;
  text-decoration-color: #9a3412;
}

/* WhatsApp button label */
body .bbd-btn-whatsapp,
body.bbd-homepage .bbd-btn-whatsapp {
  color: #0f7a3d !important;
}

/* --------------------------------------------------------------------------
   37. Responsive guards
   -------------------------------------------------------------------------- */

@media (max-width: 760px) {
  body,
  body.bbd-homepage {
    background-size: auto, auto, 32px 32px, 32px 32px, auto !important;
  }

  body :is(.bbd-card, .bbd-plan, .bbd-mini-plan, .bbd-testimonial, .bbd-sol-card,
           .bbd-sol-panel, .bbd-sol-step, .bbd-blog-card, .bbd-sec-card,
           .bbd-value, .bbd-form-card, .bbd-docs-content, .bbd-docs-nav,
           .bbd-legal-content, .bbd-roi-calc, .bbd-roi-result, .bbd-st-card,
           .bbd-404-shell, .bbd-502-shell, .bbd-cta-strip, .bbd-module) {
    border-radius: var(--bbd-warm-r) !important;
  }

  body .bbd-cta-strip {
    border-radius: var(--bbd-warm-r-lg) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bbd-numlist > li:hover,
  body :is(.bbd-card, .bbd-plan, .bbd-mini-plan, .bbd-testimonial):hover {
    transform: none !important;
  }
}


/* ==========================================================================
   Guard: marker glyphs and grid lists do not mix

   Several page-local stylesheets draw list markers as `li::before` with
   `position: absolute`. An absolutely-positioned pseudo-element is not a grid
   item, so pairing those lists with `display: grid; grid-template-columns: …`
   squeezes the text into the marker column — one word per line, cards 3-4x
   taller than they should be. Any list that opts into grid must draw its marker
   as a real first column instead.
   ========================================================================== */

body :is(.bbd-sol-checklist, .bbd-diff-list, .bbd-plan-features) li {
  min-height: 0;
}

body :is(.bbd-sol-checklist, .bbd-diff-list, .bbd-plan-features) li::before {
  /* never let the marker declare its own layout context */
  align-self: auto;
  justify-self: auto;
}

/* ==========================================================================
   Compare table on narrow screens

   At 390px the matrix is ~880px wide inside a scroll container, so the visitor
   sees only the capability column and has no cue that five more columns exist —
   the comparison page silently stops comparing. On small screens the table
   restacks into per-capability blocks with the provider name printed inline,
   which keeps every value readable without horizontal scrolling.
   ========================================================================== */

@media (max-width: 760px) {
  body .bbd-cmp-table-wrap,
  body .bbd-cmp-table-wrap--accent {
    overflow: visible !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  body .bbd-cmp-table {
    min-width: 0 !important;
    width: 100% !important;
    display: block !important;
    border: none !important;
  }

  body .bbd-cmp-table thead {
    display: none !important;
  }

  body .bbd-cmp-table tbody {
    display: block !important;
  }

  /* Each capability becomes its own small card */
  body .bbd-cmp-table tbody tr:not(.bbd-cat-row) {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-bottom: 12px;
    background: var(--bbd-warm-line) !important;
    border: 1px solid var(--bbd-warm-line) !important;
    border-radius: var(--bbd-warm-r);
    overflow: hidden;
  }

  body .bbd-cmp-table tbody tr:not(.bbd-cat-row) td {
    display: block !important;
    text-align: left !important;
    padding: 10px 12px !important;
    background: #fff !important;
    border: none !important;
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
  }

  /* Capability label spans the full width of its card */
  body .bbd-cmp-table tbody tr:not(.bbd-cat-row) td:first-child {
    grid-column: 1 / -1;
    width: auto !important;
    background: var(--bbd-warm-paper-2) !important;
    font-weight: 650 !important;
    color: var(--bbd-warm-ink) !important;
    border-bottom: 1px solid var(--bbd-warm-line) !important;
  }

  /* The four value cells get an inline provider label from their own header */
  body .bbd-cmp-table tbody tr:not(.bbd-cat-row) td:not(:first-child)::before {
    display: block;
    font-family: var(--bbd-font-mono);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bbd-warm-ink-soft);
    margin-bottom: 3px;
  }

  body .bbd-cmp-table tbody tr:not(.bbd-cat-row) td:nth-child(2)::before { content: 'BonicBD'; color: var(--bbd-orange-dark); }
  body .bbd-cmp-table tbody tr:not(.bbd-cat-row) td:nth-child(3)::before { content: 'Stape.io'; }
  body .bbd-cmp-table tbody tr:not(.bbd-cat-row) td:nth-child(4)::before { content: 'Addingwell'; }
  body .bbd-cmp-table tbody tr:not(.bbd-cat-row) td:nth-child(5)::before { content: 'DIY'; }

  body .bbd-cmp-table tbody tr:not(.bbd-cat-row) td.bbd-bbd-col {
    background: rgba(255, 107, 53, 0.06) !important;
  }

  /* Category rows become section dividers */
  body .bbd-cmp-table .bbd-cat-row {
    display: block !important;
    margin: 22px 0 10px !important;
  }

  body .bbd-cmp-table .bbd-cat-row td {
    display: block !important;
    width: 100% !important;
    padding: 8px 2px 6px !important;
    background: transparent !important;
    border-top: none !important;
    border-bottom: 1px solid var(--bbd-warm-line-strong) !important;
    border-radius: 0 !important;
  }
}

/* ==========================================================================
   Homepage hero — editorial split on wide screens

   With the routing widget promoted to a full-width panel, the hero collapsed to
   a single left-hand column capped at 62ch. At 1700px that left ~540px of dead
   space on the right and put the headline one pixel short of fitting, so
   "First-party tracking." broke into two lines and the title ran to four.

   Above 1180px the copy becomes a two-column masthead: eyebrow spans both,
   headline holds the left, and the supporting copy + CTAs sit right, aligned to
   the headline's first line. Same pattern as .bbd-section-head, so the page
   reads as one editorial system.
   ========================================================================== */

@media (min-width: 1180px) {
  body.bbd-homepage .bbd-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.bbd-homepage .bbd-hero-copy {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.78fr);
    grid-template-areas:
      "eyebrow eyebrow"
      "title   sub"
      "title   cta"
      "title   note";
    column-gap: clamp(44px, 4.6vw, 76px);
    max-width: none;
    width: 100%;
  }

  body.bbd-homepage .bbd-hero-copy > .bbd-eyebrow {
    grid-area: eyebrow;
    justify-self: start;
    margin-bottom: 18px;
  }

  body.bbd-homepage .bbd-hero-copy > .bbd-home-hero-title {
    grid-area: title;
    margin-bottom: 0;
    /* does not need to fill the column; the wrap points are authored */
    max-width: 100%;
  }

  body.bbd-homepage .bbd-hero-copy > .bbd-hero-sub {
    grid-area: sub;
    max-width: 46ch;
    margin: 0 0 24px;
    /* anchor the paragraph's cap-height to the headline's first cap-height */
    padding-top: 0.62em;
    align-self: start;
  }

  body.bbd-homepage .bbd-hero-copy > .bbd-hero-cta {
    grid-area: cta;
    align-self: start;
    margin-bottom: 16px;
  }

  body.bbd-homepage .bbd-hero-copy > .bbd-home-cta-aside {
    grid-area: note;
    align-self: start;
    margin-top: 0;
  }

  /* The right column used to run past the headline and crowd the widget with no
     anchor under the title. Give the empty left column a quiet baseline strip so
     both sides end on the same line. */
  body.bbd-homepage .bbd-hero-copy::after {
    content: 'sGTM on your own subdomain · Meta, Google, TikTok, GA4';
    grid-column: 1;
    grid-row: 3 / span 2;
    align-self: end;
    margin-top: 26px;
    padding-top: 14px;
    border-top: 1px solid var(--bbd-warm-line);
    font-family: var(--bbd-font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--bbd-warm-ink-soft);
    max-width: 100%;
    justify-self: stretch;
  }

  /* and more air between the hero copy and the widget: the CTA microcopy was
     landing ~26px above the terminal card, which read as a collision */
  body.bbd-homepage .bbd-hero-grid {
    gap: clamp(72px, 6.2vw, 104px);
  }
}

/* Narrow desktop: stack again before the columns get too tight to read */
@media (min-width: 1180px) and (max-width: 1320px) {
  body.bbd-homepage .bbd-hero-copy {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
    column-gap: 40px;
  }
  body.bbd-homepage .bbd-hero-copy > .bbd-hero-sub {
    max-width: 42ch;
  }
}

/* ==========================================================================
   Short laptop viewports (e.g. 1709x772, 1366x768)

   The hero stack is ~580px tall before the widget's own chrome starts, so at a
   772px-tall viewport only ~150px of the terminal peeked through and the KPI
   row was sliced mid-number — it read as an overflow bug, not a teaser. Tighten
   the hero's vertical rhythm on short viewports so the terminal's KPI strip
   clears the fold intact.
   ========================================================================== */

@media (min-width: 1180px) and (max-height: 850px) {
  body.bbd-homepage .bbd-hero {
    padding-block: clamp(28px, 3vh, 44px);
  }

  body.bbd-homepage .bbd-hero-grid {
    gap: clamp(34px, 3.4vw, 52px);
  }

  body.bbd-homepage .bbd-hero-copy > .bbd-eyebrow {
    margin-bottom: 12px;
  }

  body.bbd-homepage .bbd-hero-copy > .bbd-home-hero-title {
    font-size: clamp(2.4rem, 3.15vw, 3.4rem);
  }

  body.bbd-homepage .bbd-hero-copy > .bbd-hero-sub {
    margin-bottom: 18px;
    padding-top: 0.5em;
    font-size: clamp(0.98rem, 1.15vw, 1.08rem);
    line-height: 1.6;
  }

  body.bbd-homepage .bbd-hero-copy > .bbd-hero-cta {
    margin-bottom: 12px;
  }

  body.bbd-homepage .bbd-hero-copy::after {
    margin-top: 16px;
    padding-top: 10px;
  }
}

/* ==========================================================================
   Brand marks in integration pills

   The pills used to carry a coloured dot standing in for a logo, which reads as
   a placeholder next to real brand names. They now use the inlined sprite
   (templates/site/_base.html) in monochrome, so the row is legible as a set and
   the brand names carry the meaning instead of ten competing hues.
   ========================================================================== */

.bbd-int-ico {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: currentColor;
  opacity: 0.78;
}

body .bbd-integrations--brand .bbd-int {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bbd-warm-ink);
  transition: color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

body .bbd-integrations--brand .bbd-int:hover {
  color: var(--bbd-ink);
  border-color: var(--bbd-orange);
  transform: translateY(-1px);
}

body .bbd-integrations--brand .bbd-int:hover .bbd-int-ico {
  opacity: 1;
}

/* A ten-item row used to break 7+3 and leave a hole on the right. Ten items
   want a 5x2 grid on desktop, 2x5 on phones — auto-fit produced 6+4 with a gap. */
body .bbd-integrations--brand {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 1080px) {
  body .bbd-integrations--brand {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  body .bbd-integrations--brand {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

body .bbd-integrations--brand .bbd-int {
  justify-content: flex-start;
  min-width: 0;
}

body .bbd-integrations--brand .bbd-int span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 560px) {
  body .bbd-integrations--brand {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  body .bbd-integrations--brand .bbd-int {
    font-size: 0.82rem;
    padding: 9px 12px;
  }
  .bbd-int-ico {
    width: 14px;
    height: 14px;
  }
}

/* ==========================================================================
   Install terminal (features page)

   The old block was one long <pre> of four mixed steps with a 0.86rem mono face
   at line-height 1.7 — it read as a wall, and on a laptop it overflowed
   sideways. It is now a small tabbed terminal: one step per panel, a copy
   button, and a footer that says the values are samples.
   ========================================================================== */

body .bbd-code-card--tabs {
  background: #0d1220;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 24px 60px -28px rgba(9, 12, 24, 0.55), 0 2px 0 rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
}

body .bbd-code-card--tabs .bbd-code-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

body .bbd-code-card--tabs .bbd-code-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

body .bbd-code-card--tabs .bbd-code-dots span:nth-child(1) { background: #ff5f57; }
body .bbd-code-card--tabs .bbd-code-dots span:nth-child(2) { background: #febc2e; }
body .bbd-code-card--tabs .bbd-code-dots span:nth-child(3) { background: #28c840; }

body .bbd-code-card--tabs .bbd-code-title {
  flex: 1;
  min-width: 0;
  font-family: var(--bbd-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.01em;
  color: rgba(226, 232, 240, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bbd-code-copy {
  flex: 0 0 auto;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-family: var(--bbd-font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.72);
  cursor: pointer;
  user-select: none;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.bbd-code-copy:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
  color: #fff;
}

.bbd-code-copy.is-done {
  background: rgba(255, 107, 53, 0.16);
  border-color: rgba(255, 107, 53, 0.55);
  color: #ffb59a;
}

/* tabs ------------------------------------------------------------------ */

.bbd-code-tabs {
  display: flex;
  gap: 2px;
  padding: 8px 10px 0;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  overflow-x: auto;
  scrollbar-width: none;
}

.bbd-code-tabs::-webkit-scrollbar { display: none; }

.bbd-code-tab {
  appearance: none;
  border: 1px solid transparent;
  border-bottom: none;
  background: transparent;
  padding: 7px 13px 8px;
  border-radius: 9px 9px 0 0;
  font-family: var(--bbd-font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(226, 232, 240, 0.5);
  cursor: pointer;
  white-space: nowrap;
  transition: color 140ms ease, background 140ms ease;
}

.bbd-code-tab:hover {
  color: rgba(226, 232, 240, 0.85);
  background: rgba(255, 255, 255, 0.04);
}

.bbd-code-tab.is-active {
  color: #ffb59a;
  background: rgba(255, 107, 53, 0.1);
  border-color: rgba(255, 107, 53, 0.28);
}

/* panels ---------------------------------------------------------------- */

body .bbd-code-card--tabs .bbd-code-panels {
  position: relative;
}

body .bbd-code-card--tabs .bbd-code-body {
  display: none;
  margin: 0;
  padding: 18px 20px 20px;
  font-family: var(--bbd-font-mono);
  font-size: 0.76rem;
  line-height: 1.75;
  color: #d7dce6;
  overflow-x: auto;
  white-space: pre;
  tab-size: 2;
}

body .bbd-code-card--tabs .bbd-code-body.is-active {
  display: block;
}

body .bbd-code-card--tabs .bbd-code-body .c { color: #6b7688; }
body .bbd-code-card--tabs .bbd-code-body .k { color: #ff8a5c; }
body .bbd-code-card--tabs .bbd-code-body .s { color: #9fe870; }
body .bbd-code-card--tabs .bbd-code-body .t { color: #7cc7ff; }

/* footer ---------------------------------------------------------------- */

.bbd-code-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--bbd-font-mono);
  font-size: 0.62rem;
  color: rgba(226, 232, 240, 0.5);
}

.bbd-code-foot-note {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bbd-code-foot-link {
  flex: 0 0 auto;
  color: #ffb59a !important;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 107, 53, 0.4);
}

.bbd-code-foot-link:hover {
  color: #fff !important;
  border-bottom-color: #fff;
}

@media (max-width: 720px) {
  body .bbd-code-card--tabs .bbd-code-body {
    font-size: 0.68rem;
    padding: 14px 13px 16px;
    line-height: 1.7;
  }
  .bbd-code-tab {
    font-size: 0.64rem;
    padding: 6px 10px 7px;
  }
  .bbd-code-foot {
    flex-wrap: wrap;
    font-size: 0.58rem;
    padding: 9px 13px;
  }
  .bbd-code-foot-note { white-space: normal; }
}

/* ==========================================================================
   Footer payment marks

   The footer listed bKash / Nagad / Visa / Bank as plain words. Card networks
   have official monochrome marks, so use them; bKash and Nagad do not ship one
   in the icon set, and inventing a logo for a payment brand would be worse than
   a wordmark — those stay as text in a matching chip.
   ========================================================================== */

.bbd-footer-payment {
  /* The contact column is only ~225px wide. A 3-column grid gave each chip 70px,
     which clipped "Mastercard", "bKash", "Nagad" and "Bank transfer" mid-word.
     Two columns of ~108px fits the longest label plus its mark. */
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  max-width: 260px;
}

.bbd-pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  height: 27px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  overflow: hidden;
}

.bbd-pay-ico {
  width: 20px;
  height: 13px;
  flex: 0 0 auto;
  fill: currentColor;
  opacity: 0.9;
}

/* Mastercard's mark is two overlapping circles: at 20x13 with a 24x24 viewBox
   the aspect ratio squashes them into a blob. Give it a square box and let the
   other marks keep the wide ratio. */
.bbd-pay[data-mark="mastercard"] .bbd-pay-ico {
  width: 15px;
  height: 15px;
}

.bbd-pay--text {
  padding-inline: 8px;
  color: rgba(255, 255, 255, 0.82);
}

.bbd-pay--text span {
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 620px) {
  .bbd-pay {
    height: 26px;
    font-size: 0.64rem;
  }
  .bbd-pay-ico {
    width: 19px;
    height: 12px;
  }
}
