/* BAX v2 stylesheet, isolated from legacy style.css.
   Constitution: ivory + navy, violet only inside the gauge. */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* BAX tokens */
:root {
  --ivory:        #F7F4EC;
  --ivory-soft:   rgba(247, 244, 236, 0.65);
  --navy:         #0E2A47;
  --navy-deep:    #081A2D;
  --navy-soft:    rgba(14, 42, 71, 0.65);
  --navy-hair:    rgba(14, 42, 71, 0.12);
  --violet:       #6B5CFF;

  --font-serif:   'Fraunces', Georgia, serif;
  --font-sans:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', ui-monospace, monospace;

  --nav-height:   72px;
  --max-w:        1240px;
  --pad-x:        32px;
  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
}

/* Shrink registered trademark and superscript marks site-wide */
sup, .bx-reg {
  font-size: 0.45em;
  vertical-align: super;
  line-height: 0;
}

/* Stronger override for sup inside headings and BBE/engine contexts:
   ensures ® stays proportional even when parent is bold (strong, h1-h3). */
.bx-bbe-name sup,
.bx-eng-head sup,
h1 sup, h2 sup, h3 sup {
  font-size: 0.45em;
  vertical-align: super;
  line-height: 0;
  font-weight: 400;
}

.bx-eng sup {
  font-size: 0.6em;
  vertical-align: super;
  line-height: 0;
}

/* Inline Request access form in the final CTA section */
.bx-request-form {
  margin-top: 32px;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.bx-form-row {
  display: flex;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(247, 244, 236, 0.15);
}
.bx-form-input {
  flex: 1;
  padding: 16px 20px;
  background: rgba(247, 244, 236, 0.08);
  border: none;
  color: #F7F4EC;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  outline: none;
}
.bx-form-input::placeholder {
  color: rgba(247, 244, 236, 0.4);
}
.bx-form-btn {
  padding: 16px 28px;
  background: #F7F4EC;
  color: #0E2A47;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
}
.bx-form-btn:hover {
  background: #EDE9E0;
}

/* Footer email as copyable plain text, no mailto link */
.bx-footer-email {
  color: rgba(247, 244, 236, 0.4);
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  user-select: all;
  cursor: text;
}

/* Homepage platform: CAX/BAX/VAX/AAX module grid + BBE gold banner + stats strip */
.bx-modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(212, 160, 23, 0.15);
  border-bottom: 1px solid rgba(212, 160, 23, 0.15);
  margin-top: 3rem;
}
.bx-mod-col {
  padding: 2rem 1.5rem;
  min-height: 320px;
  border-right: 1px solid rgba(212, 160, 23, 0.1);
  display: flex;
  flex-direction: column;
}
.bx-mod-col:last-child { border-right: none; }
.bx-mod-index {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #D4A017;
  margin-bottom: 0.25rem;
  font-weight: 500;
}
.bx-mod-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.bx-mod-rule {
  width: 1.75rem;
  height: 1px;
  background: #D4A017;
  margin-bottom: 1rem;
}
.bx-mod-desc {
  font-family: var(--font-sans);
  font-size: 0.77rem;
  line-height: 1.7;
  color: rgba(247, 244, 236, 0.55);
  flex: 1;
}
.bx-mod-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(212, 160, 23, 0.6);
  margin-top: 1.25rem;
  text-decoration: none;
}
.bx-mod-link:hover { color: #D4A017; }
.bx-bbe-wrap {
  background: transparent;
  padding: 0;
}
.bx-bbe-gold-outer {
  background: #D4A017;
  max-width: 100%;
  margin: 0;
}
.bx-bbe-gold {
  background: transparent;
  padding: 2rem var(--pad-x);
  text-align: center;
}
.bx-bbe-name {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 400;
  color: #0E2A47;
  display: block;
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}
a.bx-bbe-name {
  text-decoration: none;
  color: #0E2A47;
  display: block;
  margin-bottom: 0.4rem;
}
a.bx-bbe-name:hover {
  text-decoration: underline;
  text-decoration-color: rgba(14, 42, 71, 0.4);
  text-underline-offset: 3px;
}
.bx-bbe-engine-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(14, 42, 71, 0.6);
  text-decoration: none;
}
.bx-bbe-engine-link:hover {
  color: #0E2A47;
}
.bx-bbe-sub {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: rgba(14, 42, 71, 0.7);
  display: block;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.bx-bbe-stats-outer {
  background: #081A2D;
  border-top: 1px solid rgba(212, 160, 23, 0.15);
}
.bx-bbe-stats {
  background: transparent;
  max-width: 100%;
  margin: 0 auto;
  padding: 1.4rem var(--pad-x);
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  border-top: none;
}
.bx-bbe-stat { text-align: center; }
.bx-bbe-stat-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ivory);
  display: block;
}
.bx-bbe-stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(247, 244, 236, 0.4);
  display: block;
  margin-top: 0.2rem;
}
.bx-bbe-stat-sep {
  width: 1px;
  background: rgba(247, 244, 236, 0.1);
}

/* ============================================================
   BAX for AI page (ai.html). All rules prefixed with .bx-ai-
   to avoid collisions with the rest of the design system.
   ============================================================ */

.bx-ai-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 244, 236, 0.4);
  margin: 0 0 20px;
}
.bx-ai-eyebrow--navy { color: rgba(14, 42, 71, 0.4); }

/* Hero: immersive dark intro */
.bx-ai-hero {
  background: #081A2D;
  color: #F7F4EC;
  padding: 140px 32px 100px;
  text-align: center;
}
.bx-ai-hero-inner {
  max-width: 700px;
  margin: 0 auto;
}
.bx-ai-hero-h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #F7F4EC;
  max-width: 700px;
  margin: 0 auto 24px;
}
.bx-ai-hero-p {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(247, 244, 236, 0.6);
  max-width: 580px;
  margin: 0 auto;
}

/* Pipeline section: dark, seamless continuation of the hero */
.bx-ai-pipe-section {
  background: #081A2D;
  color: #F7F4EC;
  padding: 0 32px 80px;
}
.bx-ai-pipe-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.bx-ai-pipe-h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #F7F4EC;
  margin: 0 0 48px;
}
.bx-ai-pipeline {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
}
.bx-ai-pipe-item {
  flex: 1 1 0;
  max-width: 180px;
  min-height: 180px;
  background: rgba(247, 244, 236, 0.04);
  border-top: 3px solid rgba(14, 42, 71, 0.2);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  gap: 12px;
}
.bx-ai-pipe-num {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: rgba(247, 244, 236, 0.5);
}
.bx-ai-pipe-name {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 17px;
  color: #F7F4EC;
}
.bx-ai-pipe-q {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(247, 244, 236, 0.5);
  margin-top: auto;
}
.bx-ai-pipe-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(247, 244, 236, 0.2);
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  width: 24px;
}
.bx-ai-pipe-arrow::before { content: '\2192'; }
.bx-ai-pipe-caption {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(247, 244, 236, 0.35);
  margin: 24px 0 0;
}

@media (max-width: 760px) {
  .bx-ai-pipeline {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  .bx-ai-pipe-item {
    max-width: 280px;
    width: 100%;
    min-height: 0;
  }
  .bx-ai-pipe-arrow {
    width: auto;
    height: 24px;
  }
  .bx-ai-pipe-arrow::before { content: '\2193'; }
}

/* Narrative longread on ivory */
.bx-ai-narrative {
  background: #F7F4EC;
  padding: 96px 32px;
}
.bx-ai-narrative-inner {
  max-width: 680px;
  margin: 0 auto;
}
.bx-ai-p {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.9;
  color: #0E2A47;
  margin: 0 0 32px;
}
.bx-ai-highlight {
  font-weight: 500;
  color: #0E2A47;
}

/* Layer markers: section dividers inside the prose, full column width, monochrome */
.bx-ai-layer-marker {
  margin: 48px 0 24px;
  padding-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(14, 42, 71, 0.08);
}
.bx-ai-layer-num {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: rgba(14, 42, 71, 0.35);
}
.bx-ai-layer-name {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: rgba(14, 42, 71, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* Pull stat: large number lifted out of the prose, navy on ivory */
.bx-ai-stat {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 56px;
  line-height: 1.1;
  color: #0E2A47;
  margin: 24px 0 8px;
}
.bx-ai-stat-label {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: rgba(14, 42, 71, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 32px;
}

/* Accuracy: dark interlude */
.bx-ai-accuracy {
  background: #081A2D;
  color: #F7F4EC;
  padding: 80px 32px;
}
.bx-ai-accuracy-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.bx-ai-accuracy-h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #F7F4EC;
  margin: 0 0 20px;
}
.bx-ai-accuracy-p {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(247, 244, 236, 0.6);
  margin: 0;
}

/* Competition: ivory beat */
.bx-ai-competition {
  background: #F7F4EC;
  padding: 80px 32px;
}
.bx-ai-competition-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.bx-ai-competition-h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #0E2A47;
  margin: 0 0 20px;
}
.bx-ai-competition-p {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(14, 42, 71, 0.65);
  margin: 0;
}

/* CTA: dark, form + back link */
.bx-ai-cta {
  background: #081A2D;
  color: #F7F4EC;
  padding: 96px 32px;
  text-align: center;
}
.bx-ai-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}
.bx-ai-cta-h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #F7F4EC;
  margin: 0 0 32px;
}
.bx-ai-back {
  display: inline-block;
  margin-top: 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: rgba(247, 244, 236, 0.4);
  text-decoration: none;
  transition: color 0.2s ease;
}
.bx-ai-back:hover { color: #F7F4EC; }

/* Mobile tweaks for narrative + stats */
@media (max-width: 760px) {
  .bx-ai-narrative { padding: 72px 20px; }
  .bx-ai-p { font-size: 16px; }
  .bx-ai-stat { font-size: 44px; }
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--navy);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Nav */
.bx-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 236, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--navy-hair);
}
.bx-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: var(--nav-height);
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  gap: 32px;
}
.bx-brand { display: flex; align-items: center; gap: 12px; }
.bx-brand-wordmark {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.04em;
  color: var(--navy);
  line-height: 1;
}
.bx-brand-wordmark, .bx-nav-wordmark {
  font-family: 'Arial Black', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.08em;
  line-height: 1;
}
.bx-brand-wordmark .bax-ba, .bx-nav-wordmark .bax-ba { color: #6B5CFF; }
/* Default (nav na ciemnym tle / hero) */
.bx-brand-wordmark .bax-x,
.bx-nav-wordmark .bax-x {
  color: #0E2A47;
  margin-left: -0.04em;
  display: inline-block;
}
/* Nav scrolled (jasne tło) */
.bx-nav--scrolled .bx-brand-wordmark .bax-x,
.bx-nav--scrolled .bx-nav-wordmark .bax-x,
.bx-nav.is-scrolled .bx-brand-wordmark .bax-x,
.bx-nav.is-scrolled .bx-nav-wordmark .bax-x {
  color: #0E2A47;
}
.bx-brand-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-soft);
  border-left: 1px solid var(--navy-hair);
  padding-left: 12px;
  white-space: nowrap;
}

.bx-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.bx-nav-links a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  opacity: 0.78;
  transition: opacity 0.18s ease;
}
.bx-nav-links a:hover { opacity: 1; }

.bx-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  padding: 10px 20px;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.bx-nav-cta:hover { background: var(--navy-deep); transform: translateY(-1px); }

.bx-nav-burger {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.bx-nav-burger svg { width: 22px; height: 22px; }

@media (max-width: 920px) {
  .bx-nav-links, .bx-nav-cta { display: none; }
  .bx-nav-burger { display: inline-flex; }
  .bx-nav.is-open .bx-nav-links {
    display: flex;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--ivory);
    border-bottom: 1px solid var(--navy-hair);
    padding: 12px 0;
    margin: 0;
  }
  .bx-nav.is-open .bx-nav-links a {
    padding: 14px var(--pad-x);
    font-size: 16px;
    opacity: 1;
  }
  .bx-nav.is-open .bx-nav-cta {
    display: inline-flex;
    margin: 12px var(--pad-x) 16px;
    align-self: flex-start;
    position: absolute;
    top: calc(var(--nav-height) + 56px * 5 + 12px);
    left: 0;
  }
}

/* Hero */
.bx-hero {
  background:
    linear-gradient(to right, rgba(8, 26, 45, 0.85) 0%, rgba(8, 26, 45, 0.5) 50%, rgba(8, 26, 45, 0.3) 100%),
    url('hero-bg.jpg') center center / cover no-repeat;
  background-color: #081A2D;
  padding: clamp(56px, 8vw, 112px) var(--pad-x) clamp(72px, 10vw, 128px);
}
.bx-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 58fr 42fr;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.bx-hero-copy { max-width: 640px; }
.bx-hero-h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #F7F4EC;
  margin-bottom: 28px;
}
.bx-hero-sub {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: rgba(247, 244, 236, 0.7);
  margin-bottom: 40px;
  max-width: 58ch;
}
.bx-hero-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.bx-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F7F4EC;
  color: #0E2A47;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 28px;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.bx-cta-primary:hover { background: #EDE9E0; transform: translateY(-1px); }
.bx-cta-secondary {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  color: #F7F4EC;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.bx-cta-secondary:hover { opacity: 0.7; border-bottom-color: rgba(247, 244, 236, 0.7); }

/* Gauge */
.bx-gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  justify-self: center;
}
.bx-gauge-wrap {
  position: relative;
  width: 100%;
  max-width: 300px;
}
.bx-gauge-svg {
  width: 100%;
  height: auto;
  max-width: 300px;
  display: block;
  transform: rotate(-90deg);
}
.bx-gauge-readout {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
}
.bx-gauge-value {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(56px, 6vw, 76px);
  line-height: 1;
  color: #F7F4EC;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.bx-gauge-unit {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(247, 244, 236, 0.5);
  letter-spacing: 0.04em;
}
.bx-gauge-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(247, 244, 236, 0.4);
  text-align: center;
  max-width: 320px;
  line-height: 1.5;
}

/* Hero dashboard: CAX/BAX/VAX/AAX modules with live bars */
.bx-hero-dash {
  background: rgba(8,26,45,0.85);
  border: 0.5px solid rgba(107,92,255,0.25);
  border-radius: 16px;
  padding: 2rem;
  width: 500px;
  flex-shrink: 0;
  backdrop-filter: blur(12px);
}
.bx-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 0.5px solid rgba(247,244,236,0.1);
}
.bx-dash-brand {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,244,236,0.5);
}
.bx-dash-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(107,92,255,0.9);
}
.bx-dash-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6B5CFF;
  animation: bx-pulse 2s ease-in-out infinite;
}
@keyframes bx-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.bx-dash-modules {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.bx-dash-module {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  border: 0.5px solid rgba(247,244,236,0.08);
  position: relative;
  overflow: hidden;
}
.bx-dash-module-bg {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  pointer-events: none;
}
.bx-mod-cax .bx-dash-module-bg { background: #D4A017; }
.bx-mod-bax .bx-dash-module-bg { background: #6B5CFF; }
.bx-mod-vax .bx-dash-module-bg { background: #E56B4E; }
.bx-mod-aax .bx-dash-module-bg { background: #B8935A; }
.bx-dash-code {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  width: 36px;
  flex-shrink: 0;
  font-weight: 500;
}
.bx-mod-cax .bx-dash-code { color: #D4A017; }
.bx-mod-bax .bx-dash-code { color: #9B8FFF; }
.bx-mod-vax .bx-dash-code { color: #E56B4E; }
.bx-mod-aax .bx-dash-code { color: #B8935A; }
.bx-dash-label {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(247,244,236,0.6);
  letter-spacing: 0.01em;
}
.bx-dash-bar-wrap {
  width: 80px;
  height: 4px;
  background: rgba(247,244,236,0.08);
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}
.bx-dash-bar {
  height: 100%;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.4,0,0.2,1);
}
.bx-mod-cax .bx-dash-bar { background: #D4A017; }
.bx-mod-bax .bx-dash-bar { background: #6B5CFF; }
.bx-mod-vax .bx-dash-bar { background: #E56B4E; }
.bx-mod-aax .bx-dash-bar { background: #B8935A; }
.bx-dash-score {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 400;
  color: var(--ivory);
  min-width: 44px;
  text-align: right;
  flex-shrink: 0;
  line-height: 1;
}
.bx-dash-delta {
  font-family: var(--font-mono);
  font-size: 13px;
  min-width: 30px;
  flex-shrink: 0;
}
.bx-delta-up { color: #4ade80; }
.bx-delta-down { color: #E56B4E; }
.bx-dash-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 0.5px solid rgba(247,244,236,0.1);
}
.bx-dash-bbe {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,244,236,0.3);
}
.bx-dash-bbe span {
  color: #D4A017;
  opacity: 0.7;
}
.bx-dash-updated {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(247,244,236,0.25);
}

/* Engine page: cross-channel decay chart */
.bx-decay-chart-section {
  padding-top: 0;
}
.bx-decay-chart-wrap {
  border: 0.5px solid rgba(107,92,255,0.2);
  border-radius: 12px;
  padding: 2rem;
}
.bx-decay-chart-header {
  margin-bottom: 1.25rem;
}
.bx-decay-chart-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ivory);
  margin-top: 0.4rem;
}
.bx-decay-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.25rem;
}
.bx-decay-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247,244,236,0.5);
}
.bx-decay-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.bx-decay-svg {
  width: 100%;
  display: block;
}

/* social.html: VAX format map demo (bubble quadrant chart) */
.bx-vax-demo {
  background: var(--navy-deep);
  padding: 4rem 0;
}
.bx-vax-demo-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.bx-vax-chart-wrap {
  border: 0.5px solid rgba(229,107,78,0.2);
  border-radius: 12px;
  padding: 2rem;
}
.bx-vax-chart-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #E56B4E;
  margin: 0 0 4px;
}
.bx-vax-chart-sub {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(247,244,236,0.5);
  margin: 0 0 1rem;
}
.bx-vax-legend {
  display: flex;
  gap: 20px;
  margin-bottom: 1rem;
}
.bx-vax-leg {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247,244,236,0.4);
}
.bx-vax-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* web.html: CAX demo panel (article-level zones + segments dashboard) */
.bx-cax-demo {
  background: var(--navy-deep);
  padding: 4rem 0;
}
.bx-cax-demo-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.bx-cax-card {
  border: 0.5px solid rgba(212,160,23,0.2);
  border-radius: 12px;
  padding: 2rem;
}
.bx-cax-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 0.5px solid rgba(247,244,236,0.08);
}
.bx-cax-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #D4A017;
  margin-bottom: 4px;
}
.bx-cax-article-name {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: rgba(247,244,236,0.8);
  margin-bottom: 2px;
}
.bx-cax-article-url {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(247,244,236,0.3);
}
.bx-cax-score-block { text-align: right; }
.bx-cax-score-num {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 400;
  color: #D4A017;
  line-height: 1;
}
.bx-cax-score-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,244,236,0.3);
  margin-top: 2px;
}
.bx-cax-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.bx-cax-stat-val {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--ivory);
}
.bx-cax-stat-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,244,236,0.3);
  margin-top: 2px;
}
.bx-cax-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.bx-cax-panel-title {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,244,236,0.35);
  margin-bottom: 0.75rem;
}
.bx-cax-panel--right {
  border-left: 0.5px solid rgba(247,244,236,0.06);
  padding-left: 1.5rem;
}
.bx-cax-zone {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}
.bx-cax-zone-lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(247,244,236,0.3);
  width: 20px;
  flex-shrink: 0;
}
.bx-cax-bar-wrap {
  flex: 1;
  height: 6px;
  background: rgba(247,244,236,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.bx-cax-bar {
  height: 100%;
  border-radius: 3px;
  background: #D4A017;
}
.bx-cax-zone-time {
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(247,244,236,0.4);
  width: 36px;
  text-align: right;
  flex-shrink: 0;
}
.bx-cax-seg {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}
.bx-cax-seg-name {
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(247,244,236,0.6);
  width: 120px;
  flex-shrink: 0;
}
.bx-cax-seg-pct {
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(247,244,236,0.35);
  width: 28px;
  text-align: right;
  flex-shrink: 0;
}
.bx-cax-seg-time {
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(247,244,236,0.25);
  width: 36px;
  text-align: right;
  flex-shrink: 0;
}
.bx-cax-ahi {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 0.5px solid rgba(247,244,236,0.06);
}
.bx-cax-ahi-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(212,160,23,0.6);
}
.bx-cax-ahi-val {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: #D4A017;
  margin-top: 2px;
}
.bx-cax-ahi-val span {
  font-size: 9px;
  color: rgba(247,244,236,0.3);
}
.bx-cax-panel-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: rgba(247,244,236,0.2);
  margin-top: 0.75rem;
}

/* compliance.html: AAX five-layer audit grid */
.bx-aax-layers {
  background: var(--navy-deep);
  padding: 4rem 0;
}
.bx-aax-layers-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.bx-aax-layers-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--ivory);
  text-align: center;
  margin-bottom: 2.5rem;
}
.bx-aax-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.bx-aax-layer {
  border: 0.5px solid rgba(184,147,90,0.2);
  border-radius: 10px;
  padding: 1.5rem;
}
.bx-aax-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #B8935A;
  display: block;
  margin-bottom: 0.75rem;
}
.bx-aax-h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 0.5rem;
}
.bx-aax-p {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  line-height: 1.65;
  color: rgba(247,244,236,0.5);
}

/* ai.html: visible FAQ section (paired with JSON-LD FAQPage schema in body) */
.bx-ai-faq {
  background: #081A2D;
  padding: 4rem 0;
}
.bx-ai-faq-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.bx-ai-faq-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--ivory);
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
}
.bx-ai-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.bx-ai-faq-item {
  border-top: 1px solid rgba(107,92,255,0.3);
  padding-top: 1.25rem;
}
.bx-ai-faq-q {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}
.bx-ai-faq-a {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(247,244,236,0.55);
}
@media (max-width: 640px) {
  .bx-ai-faq-grid {
    grid-template-columns: 1fr;
  }
}

/* Shared visible FAQ section -- paired with JSON-LD FAQPage in body */
.bx-faq {
  background: #081A2D;
  padding: 4rem 0;
}
.bx-faq-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.bx-faq-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6B5CFF;
  margin-bottom: 4px;
}
.bx-faq-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--ivory);
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
}
.bx-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.bx-faq-item {
  border-top: 1px solid rgba(107,92,255,0.3);
  padding-top: 1.25rem;
}
.bx-faq-q {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}
.bx-faq-a {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(247,244,236,0.55);
}
/* Per-module color variants */
.bx-faq--gold .bx-faq-eyebrow { color: #D4A017; }
.bx-faq--gold .bx-faq-item { border-top-color: rgba(212,160,23,0.3); }
.bx-faq--orange .bx-faq-eyebrow { color: #E56B4E; }
.bx-faq--orange .bx-faq-item { border-top-color: rgba(229,107,78,0.3); }
.bx-faq--bronze .bx-faq-eyebrow { color: #B8935A; }
.bx-faq--bronze .bx-faq-item { border-top-color: rgba(184,147,90,0.3); }
@media (max-width: 640px) {
  .bx-faq-grid { grid-template-columns: 1fr; }
  .bx-modules-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .bx-hero {
    padding: 56px var(--pad-x) 80px;
    background:
      linear-gradient(to bottom, rgba(8, 26, 45, 0.9) 0%, rgba(8, 26, 45, 0.75) 100%),
      url('hero-bg.jpg') center center / cover no-repeat;
    background-color: #081A2D;
  }
  .bx-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .bx-hero-copy { max-width: none; width: 100%; }
  .bx-hero-inner { overflow: hidden; }
  .bx-hero-dash {
    width: 100%;
    max-width: 100%;
  }
  .bx-hero-h1 {
    font-size: clamp(28px, 7vw, 40px);
  }
  .bx-form-row {
    flex-direction: column;
  }
  .bx-form-btn {
    width: 100%;
    text-align: center;
  }
  .bx-hero-h1 {
    overflow-wrap: break-word;
  }
  .bx-bbe-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
  }
  .bx-bbe-stat-sep {
    display: none;
  }
  .bx-hero-sub {
    max-width: 100%;
  }
  .bx-bbe-wrap {
    padding: 0;
  }
}

/* Market gap section, navy only, no violet */
.bx-shift {
  background: var(--ivory);
  padding: clamp(72px, 9vw, 128px) var(--pad-x);
}
.bx-shift-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.bx-shift-head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.bx-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-soft);
  margin-bottom: 20px;
}
.bx-shift-h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 20px;
}
.bx-shift-intro {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--navy-soft);
  max-width: 640px;
  margin: 0 auto;
}
.bx-shift-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bx-card {
  background: #FFFFFF;
  border: 1px solid var(--navy-hair);
  border-radius: 12px;
  padding: 28px;
}
.bx-card-h {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 12px;
}
.bx-card-p {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--navy-soft);
}

@media (max-width: 920px) {
  .bx-shift { padding: 64px var(--pad-x) 72px; }
  .bx-shift-head { margin-bottom: 40px; }
  .bx-shift-cards { grid-template-columns: 1fr; gap: 16px; }
  .bx-modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bx-cax-panels {
    grid-template-columns: 1fr;
  }
}

/* Platform section: navy background with CAX/BAX/VAX/AAX module grid + BBE gold banner */
.bx-platform {
  background: var(--navy);
  padding: 4rem 0 0 0;
}
.bx-platform-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.bx-platform-head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.bx-platform-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.2;
  margin: 0;
}
/* Module card. Left border carries the module color, badge mirrors it for Live state. */
.bx-mod {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(14, 42, 71, 0.08);
  border-left: 4px solid var(--mod-color, var(--navy));
  border-radius: 12px;
  padding: 32px;
}
.bx-mod--ai     { --mod-color: #6B5CFF; --mod-bg: rgba(107, 92, 255, 0.10); }
.bx-mod--web    { --mod-color: #D4A017; --mod-bg: rgba(212, 160, 23, 0.10); }
.bx-mod--social { --mod-color: #E56B4E; --mod-bg: rgba(229, 107, 78, 0.10); }
.bx-mod--comp   { --mod-color: #B8935A; --mod-bg: rgba(184, 147, 90, 0.10); }

.bx-mod-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.bx-mod-h {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.25;
  color: var(--navy);
}
.bx-mod-p {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--navy-soft);
}
.bx-mod-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.bx-mod-badge--live {
  color: var(--mod-color);
  background: var(--mod-bg);
}
.bx-mod-badge--soon {
  color: var(--navy-soft);
  background: rgba(14, 42, 71, 0.06);
}

@media (max-width: 920px) {
  .bx-platform { padding: 64px var(--pad-x) 72px; }
  .bx-platform-head { margin-bottom: 40px; }
  .bx-mod { padding: 26px; }
}

/* The engine, three white cards on ivory */
.bx-eng {
  background: var(--ivory);
  padding: clamp(72px, 9vw, 128px) var(--pad-x);
}
.bx-eng-inner { max-width: var(--max-w); margin: 0 auto; }
.bx-eng-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.bx-eng-h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 20px;
}
.bx-eng-intro {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--navy-soft);
  max-width: 640px;
  margin: 0 auto;
}
.bx-eng-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bx-eng-card {
  background: #FFFFFF;
  border: 1px solid rgba(14, 42, 71, 0.08);
  border-radius: 12px;
  padding: 32px;
}
.bx-eng-card-h {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 14px;
}
.bx-eng-card-p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--navy-soft);
}
@media (max-width: 920px) {
  .bx-eng { padding: 64px var(--pad-x) 72px; }
  .bx-eng-head { margin-bottom: 40px; }
  .bx-eng-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* BAX Index composite, dark section with violet component weights */
.bx-idx {
  background: var(--navy-deep);
  color: var(--ivory);
  padding: clamp(72px, 9vw, 128px) var(--pad-x);
}
.bx-idx-inner { max-width: var(--max-w); margin: 0 auto; }
.bx-idx-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.bx-idx .bx-eyebrow { color: rgba(247, 244, 236, 0.5); }
.bx-idx-h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ivory);
  margin-bottom: 20px;
}
.bx-idx-intro {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--ivory-soft);
  max-width: 640px;
  margin: 0 auto;
}
.bx-idx-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.bx-idx-card {
  background: rgba(247, 244, 236, 0.06);
  border: 1px solid rgba(247, 244, 236, 0.10);
  border-radius: 12px;
  padding: 24px;
}
.bx-idx-card-weight {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--violet);
  margin-bottom: 12px;
}
.bx-idx-card-h {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  color: var(--ivory);
  margin-bottom: 8px;
}
.bx-idx-card-p {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ivory-soft);
}
@media (max-width: 1100px) {
  .bx-idx-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .bx-idx { padding: 64px var(--pad-x) 72px; }
  .bx-idx-head { margin-bottom: 40px; }
  .bx-idx-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* Who it's for, three dark cards on ivory */
.bx-who {
  background: var(--ivory);
  padding: clamp(72px, 9vw, 128px) var(--pad-x);
}
.bx-who-inner { max-width: var(--max-w); margin: 0 auto; }
.bx-who-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.bx-who-h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 20px;
}
.bx-who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bx-who-card {
  background: var(--navy-deep);
  color: var(--ivory);
  border-radius: 16px;
  padding: 40px;
}
.bx-who-card-h {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  color: var(--ivory);
  margin-bottom: 14px;
}
.bx-who-card-p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ivory-soft);
}
@media (max-width: 920px) {
  .bx-who { padding: 64px var(--pad-x) 72px; }
  .bx-who-head { margin-bottom: 40px; }
  .bx-who-grid { grid-template-columns: 1fr; gap: 16px; }
  .bx-who-card { padding: 32px; }
}

/* Operating loop, light section with dark cards */
.bx-loop {
  background: var(--ivory);
  color: var(--navy);
  padding: clamp(72px, 9vw, 128px) var(--pad-x);
}
.bx-loop-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.bx-loop-head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.bx-loop .bx-eyebrow { color: var(--navy-soft); }
.bx-loop-h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 20px;
}
.bx-loop-intro {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--navy-soft);
  max-width: 640px;
  margin: 0 auto;
}
.bx-loop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
}
.bx-step {
  background: var(--navy-deep);
  color: var(--ivory);
  border: 1px solid rgba(247, 244, 236, 0.10);
  border-radius: 12px;
  padding: 28px;
}
.bx-step-num {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--violet);
  font-variant-numeric: tabular-nums;
  margin-bottom: 16px;
}
.bx-step-h {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  color: var(--ivory);
  margin-bottom: 10px;
}
.bx-step-p {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ivory-soft);
}

@media (max-width: 1100px) {
  .bx-loop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .bx-loop { padding: 64px var(--pad-x) 72px; }
  .bx-loop-head { margin-bottom: 40px; }
  .bx-loop-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* Industries, two large dark cards on ivory background */
.bx-ind {
  background: var(--ivory);
  padding: clamp(72px, 9vw, 128px) var(--pad-x);
}
.bx-ind-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.bx-ind-head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.bx-ind-h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 20px;
}
.bx-ind-intro {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--navy-soft);
  max-width: 640px;
  margin: 0 auto;
}
.bx-ind-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.bx-ind-card {
  background: var(--navy-deep);
  color: var(--ivory);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bx-ind-card-h {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  color: var(--ivory);
}
.bx-ind-card-p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ivory-soft);
  flex: 1;
}
.bx-ind-link {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  color: var(--ivory);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(247, 244, 236, 0.2);
  padding-bottom: 6px;
  align-self: flex-start;
  transition: border-color 0.2s ease;
}
.bx-ind-link:hover { border-bottom-color: var(--ivory); }
.bx-ind-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.bx-ind-link:hover .bx-ind-arrow { transform: translateX(4px); }

@media (max-width: 920px) {
  .bx-ind { padding: 64px var(--pad-x) 72px; }
  .bx-ind-head { margin-bottom: 40px; }
  .bx-ind-grid { grid-template-columns: 1fr; gap: 16px; }
  .bx-ind-card { padding: 32px; }
}

/* Closing CTA, dark final beat with inverted button */
.bx-final {
  background: var(--navy-deep);
  color: var(--ivory);
  padding: clamp(96px, 12vw, 160px) var(--pad-x);
  text-align: center;
}
.bx-final-inner {
  max-width: 700px;
  margin: 0 auto;
}
.bx-final-h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ivory);
  margin-bottom: 20px;
}
.bx-final-p {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--ivory-soft);
  margin-bottom: 32px;
}
.bx-final-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 16px 36px;
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.bx-final-cta:hover { background: #EDE9E0; transform: translateY(-1px); }

/* Footer: navy-deep, text wordmark + tagline left, links right, hairline + copyright bottom */
.bx-footer {
  background: var(--navy-deep);
  padding: 48px 32px;
}
.bx-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.bx-footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.bx-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bx-footer-wordmark {
  font-family: 'Arial Black', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
}
.bx-footer-wordmark .bax-ba { color: #6B5CFF; }
.bx-footer-wordmark .bax-x {
  color: #F7F4EC;
  margin-left: -0.04em;
  display: inline-block;
}
.bx-footer-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(247, 244, 236, 0.3);
}
.bx-footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}
.bx-footer-links a {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(247, 244, 236, 0.4);
  text-decoration: none;
  transition: color 0.2s ease;
}
.bx-footer-links a:hover { color: var(--ivory); }

.bx-footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(247, 244, 236, 0.06);
}
.bx-footer-bottom .bx-footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(247, 244, 236, 0.25);
  margin: 0;
}

@media (max-width: 760px) {
  .bx-final { padding: 80px var(--pad-x); }
  .bx-footer-top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .bx-footer-links { gap: 20px; }
}
