/* ===========================================================================
   Boon — static page layer (privacy / terms / contact / why-boon-ai)  v2
   Visual language lifted from the Boon product Figma frames:
   aurora-lavender glass canvas, violet serif display type, letter-spaced
   micro-labels, hairline index rows, gold/green attention bars, app frames.
   Builds on the "Liquid Display" tokens in boon-rebuild.css (--bp-*).
   All classes are .bx- prefixed to avoid touching existing styles.
   =========================================================================== */

:root {
  --bx-gold: #c9a14a;
  --bx-gold-soft: rgba(229, 192, 105, 0.55);
  --bx-green: #3aa668;
  --bx-serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --bx-radius: 18px;
  --bx-radius-lg: 24px;
}

html[data-boon-theme="light"] .boon-page-main { --bx-heading-accent: #6353e8; }
.boon-page-main { --bx-heading-accent: #a89df5; }

/* --------------------------------------------------------------------------
   Canvas — soft aurora blobs behind everything, like the Figma frames
   -------------------------------------------------------------------------- */
.boon-page-main {
  position: relative;
  background-color: var(--bp-canvas);
  color: var(--bp-ink);
  overflow: hidden;
}

.boon-page-main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(52% 38% at 12% 6%, rgba(111, 97, 240, 0.22), transparent 68%),
    radial-gradient(44% 34% at 88% 20%, rgba(146, 136, 240, 0.13), transparent 70%),
    radial-gradient(40% 30% at 24% 58%, rgba(229, 192, 105, 0.07), transparent 72%),
    radial-gradient(56% 36% at 78% 88%, rgba(92, 77, 233, 0.16), transparent 70%);
  filter: blur(2px);
}

html[data-boon-theme="light"] .boon-page-main::before {
  background:
    radial-gradient(52% 38% at 10% 4%, rgba(146, 136, 240, 0.28), transparent 66%),
    radial-gradient(46% 36% at 90% 16%, rgba(199, 189, 255, 0.34), transparent 70%),
    radial-gradient(38% 30% at 22% 56%, rgba(229, 192, 105, 0.14), transparent 72%),
    radial-gradient(58% 40% at 80% 90%, rgba(111, 97, 240, 0.2), transparent 70%);
}

.boon-page-main > * { position: relative; }

/* --------------------------------------------------------------------------
   Type — violet serif display + micro-labels
   -------------------------------------------------------------------------- */
.bx-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bp-muted);
}

.bx-label .bx-label-count {
  font-weight: 600;
  letter-spacing: 0;
  color: var(--bx-heading-accent);
}

.bx-display {
  margin: 0 0 18px;
  font-family: var(--bx-serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.2vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--bp-ink);
  max-width: 21ch;
}

.bx-display em,
.bx-statement em {
  font-style: italic;
  font-weight: 400;
  color: var(--bx-heading-accent);
}

/* "3 things need you. Your Boon is handling the rest." */
.bx-statement {
  margin: 0 0 14px;
  font-family: var(--bx-serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--bp-body);
  max-width: 26ch;
}

.bx-statement strong {
  font-weight: 600;
  color: var(--bp-ink);
}

.bx-lede {
  max-width: 58ch;
  color: var(--bp-body);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.7;
}

.bx-meta { color: var(--bp-muted); font-size: 0.9rem; margin: 0 0 6px; }

/* --------------------------------------------------------------------------
   Panels, hairline rows, attention cards
   -------------------------------------------------------------------------- */
.bx-panel {
  border: 1px solid var(--bp-line-soft);
  border-radius: var(--bx-radius-lg);
  background: var(--bp-surface);
  -webkit-backdrop-filter: blur(26px);
  backdrop-filter: blur(26px);
  box-shadow: inset 0 1px 0 var(--bp-liquid-sheen), var(--bp-shadow-soft);
  padding: clamp(22px, 3vw, 34px);
}

.bx-panel h3 {
  margin: 0 0 10px;
  font-family: var(--bx-serif);
  font-weight: 500;
  font-size: 1.34rem;
  letter-spacing: -0.01em;
  color: var(--bp-ink);
}

.bx-panel > p { margin: 0; color: var(--bp-body); font-size: 0.95rem; line-height: 1.65; }

/* Hairline index rows — "Qualified 8 / Declined 3" pattern */
.bx-rows { margin: 0; padding: 0; list-style: none; }

.bx-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 2px;
  border-top: 1px solid var(--bp-line);
}

.bx-row:first-child { border-top: 0; }

.bx-row .bx-row-title {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--bp-ink);
}

.bx-row .bx-row-meta {
  margin-left: auto;
  flex: none;
  font-size: 0.85rem;
  color: var(--bp-muted);
  font-variant-numeric: tabular-nums;
}

/* Attention card — rounded left bar, like the "needs you" cards */
.bx-attn {
  position: relative;
  border: 1px solid var(--bp-line-soft);
  border-radius: 14px;
  background: var(--bp-surface-strong);
  padding: 16px 18px 16px 26px;
}

.bx-attn::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 12px;
  bottom: 12px;
  width: 3.5px;
  border-radius: 999px;
  background: var(--bx-gold);
}

.bx-attn--green::before { background: var(--bx-green); }
.bx-attn--violet::before { background: var(--bp-primary); }

.bx-attn-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bp-ink);
}

.bx-attn-head .bx-attn-mode { font-weight: 400; color: var(--bp-muted); font-size: 0.88rem; }

.bx-attn-body {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.bx-attn-body p { margin: 0; flex: 1; color: var(--bp-body); font-size: 0.88rem; line-height: 1.55; }

/* Violet pill button with chevron — "Sign off ›" */
.bx-pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--bp-cta-primary-bg);
  color: var(--bp-primary-ink);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 180ms var(--bp-ease), box-shadow 180ms var(--bp-ease);
}

.bx-pill::after { content: "›"; font-size: 1em; line-height: 1; transform: translateY(-1px); }

.bx-pill:hover { transform: translateY(-1px); box-shadow: var(--bp-glow); }

/* Ask-anything input pill (decorative / link) */
.bx-ask {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid var(--bp-line-soft);
  background: var(--bp-surface-strong);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 var(--bp-liquid-sheen), var(--bp-shadow-soft);
  color: var(--bp-muted);
  font-size: 0.93rem;
  text-decoration: none;
}

.bx-ask .bx-ask-text { flex: 1; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.bx-ask .bx-ask-send {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bp-cta-primary-bg);
  color: var(--bp-primary-ink);
  font-size: 1rem;
}

a.bx-ask:hover { border-color: rgba(92, 77, 233, 0.5); color: var(--bp-body); }

/* Segmented control — Buy | Sell */
.bx-segment {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border-radius: 999px;
  border: 1px solid var(--bp-line-soft);
  background: var(--bp-surface);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 var(--bp-liquid-sheen);
}

.bx-segment button {
  border: 0;
  background: transparent;
  padding: 9px 26px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--bp-muted);
  cursor: pointer;
  transition: background 200ms var(--bp-ease), color 200ms var(--bp-ease), box-shadow 200ms var(--bp-ease);
}

.bx-segment button.is-active {
  background: var(--bp-surface-strong);
  color: var(--bx-heading-accent);
  box-shadow: 0 1px 6px rgba(10, 6, 20, 0.18), inset 0 0 0 1px var(--bp-line-soft);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.bx-hero { padding: clamp(96px, 11vw, 158px) 0 clamp(44px, 5vw, 72px); }

.bx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.bx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

/* Hero product vignette — miniature "Activity" panel from the Figma */
.bx-vignette {
  position: relative;
  border-radius: var(--bx-radius-lg);
  border: 1px solid var(--bp-line-soft);
  background: var(--bp-surface);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  box-shadow: inset 0 1px 0 var(--bp-liquid-edge), var(--bp-shadow);
  padding: clamp(20px, 2.4vw, 30px);
  display: grid;
  gap: 14px;
}

.bx-vignette .bx-statement { font-size: 1.22rem; max-width: none; margin: 0 0 4px; }

.bx-vignette-rows { margin-top: 4px; }

.bx-vignette-rows .bx-row { padding: 11px 2px; }
.bx-vignette-rows .bx-row-title { font-size: 0.9rem; }
.bx-vignette-rows .bx-row-kicker {
  display: block;
  font-size: 0.74rem;
  color: var(--bp-muted);
  margin-bottom: 2px;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.bx-section-head { max-width: 780px; margin-bottom: clamp(28px, 4vw, 44px); }

.bx-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4.5vw, 72px);
  align-items: start;
}

.bx-split > .bx-sticky { position: sticky; top: 110px; }

.bx-grid { display: grid; gap: 18px; }
.bx-grid--2 { grid-template-columns: repeat(2, 1fr); }
.bx-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* --------------------------------------------------------------------------
   Security checklist
   -------------------------------------------------------------------------- */
.bx-checks { margin: 14px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }

.bx-checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 2px;
  border-top: 1px solid var(--bp-line);
  color: var(--bp-body);
  font-size: 0.93rem;
  line-height: 1.6;
}

.bx-checks li:nth-child(-n+2) { border-top: 0; }

.bx-checks li strong { color: var(--bp-ink); font-weight: 600; }

.bx-checks .bx-check-dot {
  flex: none;
  margin-top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(58, 166, 104, 0.16);
  color: var(--bx-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
}

html[data-boon-theme="dark"] .bx-checks .bx-check-dot { color: #5ed489; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.bx-cta-band {
  text-align: center;
  border-radius: var(--bx-radius-lg);
  border: 1px solid var(--bp-line-soft);
  background: var(--bp-surface);
  -webkit-backdrop-filter: blur(26px);
  backdrop-filter: blur(26px);
  box-shadow: inset 0 1px 0 var(--bp-liquid-edge), var(--bp-shadow-soft);
  padding: clamp(44px, 6vw, 72px) clamp(24px, 4vw, 56px);
}

.bx-cta-band h2 {
  margin: 0 0 12px;
  font-family: var(--bx-serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -0.01em;
  color: var(--bp-ink);
}

.bx-cta-band h2 em { font-style: italic; font-weight: 400; color: var(--bx-heading-accent); }

.bx-cta-band p { max-width: 54ch; margin: 0 auto 28px; color: var(--bp-body); line-height: 1.65; }

.bx-cta-band .bx-ask { max-width: 460px; margin: 0 auto 22px; }

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.bx-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.bx-form-card { padding: clamp(24px, 3vw, 40px); }

.bx-form-card .bx-label { margin-bottom: 20px; }

.bx-contact-rail { display: grid; gap: 18px; }

.bx-contact-rail .bx-row { align-items: center; text-decoration: none; transition: padding-left 180ms var(--bp-ease); }

a.bx-row:hover { padding-left: 8px; }
a.bx-row:hover .bx-row-meta { color: var(--bp-ink); }

.bx-contact-rail .bx-row-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--bp-muted);
  font-weight: 400;
  margin-top: 2px;
}

.bx-contact-rail .bx-row .bx-row-meta { color: var(--bx-heading-accent); font-size: 1.05rem; }

.bx-success { display: none; text-align: left; padding: 12px 4px; }
.bx-success.is-visible { display: block; }

.bx-success .bx-success-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(58, 166, 104, 0.14);
  border: 1px solid rgba(58, 166, 104, 0.35);
  color: var(--bp-ink);
  font-size: 0.85rem;
  font-weight: 600;
}

.bx-success h3 { font-family: var(--bx-serif); font-weight: 500; font-size: 1.5rem; margin: 0 0 8px; color: var(--bp-ink); }
.bx-success p { color: var(--bp-body); line-height: 1.6; margin: 0 0 4px; }

.bx-form-card form.is-hidden { display: none; }

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */
.bx-legal-shell { width: min(920px, calc(100% - 40px)); margin: 0 auto; }

.bx-legal-hero { padding: clamp(96px, 11vw, 150px) 0 clamp(28px, 4vw, 44px); }

.bx-legal-hero .bx-display { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }

.bx-legal-article {
  padding: clamp(28px, 4.5vw, 56px);
}

.bx-legal-article h1 {
  margin: 0 0 8px;
  font-family: var(--bx-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.9rem);
  letter-spacing: -0.015em;
  color: var(--bp-ink);
}

.bx-legal-article h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 44px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--bp-line);
  font-size: 1.16rem;
  font-weight: 600;
  color: var(--bp-ink);
}

.bx-legal-article h2::before {
  counter-increment: bx-legal;
  content: counter(bx-legal, decimal-leading-zero);
  font-family: var(--bx-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--bx-heading-accent);
}

.bx-legal-article { counter-reset: bx-legal; }

.bx-legal-article p,
.bx-legal-article li {
  color: var(--bp-body);
  font-size: 0.97rem;
  line-height: 1.75;
}

.bx-legal-article ul { padding-left: 20px; margin: 10px 0 18px; }
.bx-legal-article li { margin-bottom: 8px; }
.bx-legal-article a { color: var(--bx-heading-accent); text-decoration: underline; text-underline-offset: 3px; }

.bx-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 26px 0;
  padding: 14px 18px 14px 26px;
  position: relative;
  border: 1px solid var(--bp-line-soft);
  border-radius: 12px;
  background: var(--bp-surface-strong);
  color: var(--bp-body);
  font-size: 0.92rem;
  line-height: 1.55;
}

.bx-note::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 12px;
  bottom: 12px;
  width: 3.5px;
  border-radius: 999px;
  background: var(--bx-gold);
}

.bx-note strong { font-weight: 600; color: var(--bp-ink); }

/* Legacy helpers still referenced by shared markup */
.bx-kicker {
  display: block;
  margin-bottom: 10px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bp-muted);
}

/* --------------------------------------------------------------------------
   Why Boon.ai v3 — shared building blocks
   -------------------------------------------------------------------------- */
.bx-flush { padding-top: 0; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

#what-is-boon, #bx-network, #bx-modes, #bx-evidence, #bx-pricing { scroll-margin-top: 96px; }

/* Section heading — one consistent size across the page */
.boon-section .bx-h2 {
  margin: 0 0 14px;
  font-family: var(--bx-serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--bp-body);
  max-width: 24ch;
}

.bx-h2 strong { font-weight: 600; color: var(--bp-ink); }
.bx-h2 em { font-style: italic; font-weight: 400; color: var(--bx-heading-accent); }

.bx-section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.bx-section-head--center .bx-h2,
.bx-section-head--center .bx-lede { margin-left: auto; margin-right: auto; }
.bx-label--center { justify-content: center; }

/* Hero claim line — "Claims go in. Evidence comes out." */
.boon-section .bx-hero-claim {
  margin: 20px 0 0;
  font-family: var(--bx-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  letter-spacing: -0.01em;
  color: var(--bp-ink);
}

.bx-hero-claim em { font-style: italic; color: var(--bx-heading-accent); }

/* --------------------------------------------------------------------------
   Paired CTA buttons — identical sizing for primary and ghost variants
   -------------------------------------------------------------------------- */
.bx-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  min-width: 220px;
  padding: 0 34px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 200ms var(--bp-ease), box-shadow 200ms var(--bp-ease),
    border-color 200ms var(--bp-ease), background 200ms var(--bp-ease);
}

.bx-cta--primary {
  background: var(--bp-cta-primary-bg);
  color: var(--bp-primary-ink);
  box-shadow: var(--bp-shadow-soft);
}

.bx-cta--primary:hover {
  background: var(--bp-cta-primary-bg-hover);
  transform: translateY(-2px);
  box-shadow: var(--bp-glow);
}

.bx-cta--ghost {
  background: transparent;
  border-color: var(--bp-line-strong);
  color: var(--bp-ink);
}

.bx-cta--ghost:hover {
  border-color: var(--bp-primary-soft);
  transform: translateY(-2px);
  box-shadow: var(--bp-glow);
}

.bx-cta:focus-visible { outline: 2px solid var(--bp-primary-soft); outline-offset: 3px; }

.bx-hero-actions--center { justify-content: center; margin-top: 10px; }

/* --------------------------------------------------------------------------
   Reusable video card — overview, Buy mode, and Sell mode share one design
   -------------------------------------------------------------------------- */
.bx-video-card {
  position: relative;
  border-radius: var(--bx-radius-lg);
  border: 1px solid var(--bp-line-soft);
  background: var(--bp-surface);
  box-shadow: inset 0 1px 0 var(--bp-liquid-sheen), var(--bp-shadow-soft);
  overflow: hidden;
}

.bx-video-card--feature {
  max-width: 1180px;
  margin: 0 auto;
  box-shadow: inset 0 1px 0 var(--bp-liquid-edge), var(--bp-shadow);
}

.bx-video-card__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bp-canvas-2);
}

.bx-video-card__stage video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bx-video-card.is-loading .bx-video-card__stage::before {
  content: "Loading video…";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  color: var(--bp-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bx-video-card__controls {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bx-video-play,
.bx-video-sound {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  border: 1px solid rgba(247, 241, 251, 0.22);
  border-radius: 999px;
  background: rgba(18, 14, 28, 0.66);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #f7f1fb;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 180ms var(--bp-ease), border-color 180ms var(--bp-ease);
}

.bx-video-play { width: 40px; padding: 0; }
.bx-video-sound { padding: 0 16px; }

.bx-video-play:hover,
.bx-video-sound:hover { background: rgba(30, 24, 46, 0.85); border-color: rgba(146, 136, 240, 0.6); }

.bx-video-play:focus-visible,
.bx-video-sound:focus-visible { outline: 2px solid #cdc5ff; outline-offset: 2px; }

.bx-video-play svg { width: 13px; height: 13px; }
.bx-video-sound svg { width: 17px; height: 15px; flex: none; }

.bx-video-icon--pause { display: none; }
.bx-video-card.is-playing .bx-video-icon--pause { display: block; }
.bx-video-card.is-playing .bx-video-icon--play { display: none; }

.bx-video-card .bx-video-sound__wave { opacity: 0.35; }
.bx-video-card.is-unmuted .bx-video-sound__wave { opacity: 1; }
.bx-video-card.is-unmuted .bx-video-sound__slash { display: none; }

.bx-video-card__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 28px;
  text-align: center;
  color: var(--bp-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.bx-video-card__fallback[hidden] { display: none; }
.bx-video-card.is-failed video { opacity: 0; }

/* --------------------------------------------------------------------------
   Decision network illustration — buyer agent · Boon hub · seller agent
   -------------------------------------------------------------------------- */
.bx-network {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) clamp(24px, 4vw, 60px) minmax(0, 1.12fr) clamp(24px, 4vw, 60px) minmax(0, 1fr);
  align-items: center;
}

.bx-network__col {
  border: 1px solid var(--bp-line-soft);
  border-radius: var(--bx-radius-lg);
  background: var(--bp-surface);
  -webkit-backdrop-filter: blur(26px);
  backdrop-filter: blur(26px);
  box-shadow: inset 0 1px 0 var(--bp-liquid-sheen), var(--bp-shadow-soft);
  padding: clamp(20px, 2.4vw, 28px);
}

.bx-network__agent { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }

.bx-network__agent h3 {
  margin: 0;
  font-family: var(--bx-serif);
  font-weight: 500;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  color: var(--bp-ink);
}

.bx-network__agent p { margin: 2px 0 0; font-size: 0.8rem; color: var(--bp-muted); }

.bx-network__node {
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bp-primary-soft);
  box-shadow: 0 0 0 5px rgba(146, 136, 240, 0.16);
}

.bx-network__list { margin: 0; padding: 0; list-style: none; }

.bx-network__list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 2px;
  border-top: 1px solid var(--bp-line);
  font-size: 0.92rem;
  color: var(--bp-body);
}

.bx-network__list li:first-child { border-top: 0; }

.bx-network__list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bx-heading-accent);
  transform: translateY(-1px);
}

/* Connecting lines with slow evidence signals drifting toward the hub */
.bx-network__link {
  position: relative;
  height: 2px;
  container-type: inline-size;
  background: linear-gradient(90deg, rgba(146, 136, 240, 0), rgba(146, 136, 240, 0.55), rgba(146, 136, 240, 0));
}

.bx-network__signal {
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--bp-primary-soft);
  box-shadow: 0 0 10px rgba(146, 136, 240, 0.85);
  opacity: 0;
  animation: bx-signal 5.6s linear infinite;
}

.bx-network__signal--late { animation-delay: 2.8s; }
.bx-network__link--reverse .bx-network__signal { animation-direction: reverse; }

@keyframes bx-signal {
  0% { transform: translateX(-4px); opacity: 0; }
  14% { opacity: 1; }
  86% { opacity: 1; }
  100% { transform: translateX(calc(100cqw - 3px)); opacity: 0; }
}

.bx-network__core {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
  padding: 6px 0;
}

.bx-network__orb {
  position: relative;
  width: min(300px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.bx-network__rings { position: absolute; inset: 0; width: 100%; height: 100%; }

.bx-network__rings circle { fill: none; stroke: var(--bp-primary-soft); stroke-width: 1; opacity: 0.16; }
.bx-network__rings circle:nth-child(2) { opacity: 0.28; stroke-dasharray: 3 7; }
.bx-network__rings circle:nth-child(3) { opacity: 0.4; }

.bx-network__hub {
  width: 64%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 16px;
  background: radial-gradient(circle at 50% 28%, rgba(111, 97, 240, 0.3), rgba(92, 77, 233, 0.08) 72%);
  border: 1px solid rgba(146, 136, 240, 0.35);
  box-shadow: inset 0 1px 0 var(--bp-liquid-sheen), 0 0 38px rgba(92, 77, 233, 0.16);
  animation: bx-hub-pulse 5.2s ease-in-out infinite;
}

@keyframes bx-hub-pulse {
  0%, 100% { box-shadow: inset 0 1px 0 var(--bp-liquid-sheen), 0 0 32px rgba(92, 77, 233, 0.12); }
  50% { box-shadow: inset 0 1px 0 var(--bp-liquid-sheen), 0 0 52px rgba(92, 77, 233, 0.28); }
}

.bx-network__hub-kicker {
  margin: 0;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bp-muted);
}

.bx-network__hub-title {
  margin: 0;
  font-family: var(--bx-serif);
  font-style: italic;
  font-size: 1.14rem;
  line-height: 1.3;
  color: var(--bp-ink);
}

.bx-network__chips {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 320px;
}

.bx-network__chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--bp-line-soft);
  border-radius: 999px;
  background: var(--bp-surface-strong);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bp-body);
}

.bx-network__chips li.is-verified { border-color: rgba(58, 166, 104, 0.4); color: var(--bp-ink); }

.bx-network__tick { color: var(--bx-green); font-size: 0.7rem; font-weight: 700; }
html[data-boon-theme="dark"] .bx-network__tick { color: #5ed489; }

/* --------------------------------------------------------------------------
   Buy / Sell mode tabs and panes
   -------------------------------------------------------------------------- */
.bx-mode-tabs { margin-top: 26px; }

.bx-mode-tabs button { min-width: 112px; padding: 11px 30px; }

.bx-segment button:focus-visible { outline: 2px solid var(--bp-primary-soft); outline-offset: 2px; }

.bx-mode-stack { display: grid; }

/* With JS: panes overlap in one grid cell so switching never shifts layout. */
body.boon-enhanced .bx-mode-pane {
  grid-area: 1 / 1;
  transition: opacity 280ms var(--bp-ease), transform 280ms var(--bp-ease), visibility 0s 280ms;
}

body.boon-enhanced .bx-mode-pane:not(.is-active) {
  opacity: 0;
  transform: translateY(12px);
  visibility: hidden;
  pointer-events: none;
}

body.boon-enhanced .bx-mode-pane.is-active {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: opacity 280ms var(--bp-ease), transform 280ms var(--bp-ease);
}

/* Without JS both modes read as stacked, labelled sections. */
body:not(.boon-enhanced) .bx-mode-pane + .bx-mode-pane { margin-top: 48px; }

/* Steps on the left, video on the right; source order also gives the
   mobile stack its steps-first, video-second reading order. */
.bx-mode-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(22px, 3.4vw, 44px);
  align-items: center;
}

.bx-mode-copy { max-width: 60ch; }

.bx-mode-copy .bx-label { margin-bottom: 8px; }

.bx-steps { margin: 0; padding: 0; list-style: none; }

.bx-steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 2px;
  border-top: 1px solid var(--bp-line);
}

.bx-steps li:first-child { border-top: 0; padding-top: 6px; }

.bx-step-num {
  font-family: var(--bx-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--bx-heading-accent);
  padding-top: 2px;
}

.bx-steps h3 { margin: 0 0 6px; font-size: 1.04rem; font-weight: 600; color: var(--bp-ink); }

.bx-steps p { margin: 0; font-size: 0.92rem; line-height: 1.6; color: var(--bp-body); max-width: 52ch; }

/* --------------------------------------------------------------------------
   Pricing — three aligned cards, Growth featured
   -------------------------------------------------------------------------- */
.bx-price-grid { display: grid; gap: 20px; }

.bx-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--bp-line-soft);
  border-radius: var(--bx-radius-lg);
  background: var(--bp-surface);
  -webkit-backdrop-filter: blur(26px);
  backdrop-filter: blur(26px);
  box-shadow: inset 0 1px 0 var(--bp-liquid-sheen), var(--bp-shadow-soft);
  padding: clamp(24px, 2.6vw, 32px);
}

.bx-price-card--featured {
  background: var(--bp-surface-strong);
  border-color: rgba(146, 136, 240, 0.45);
  box-shadow: inset 0 1px 0 var(--bp-liquid-edge), var(--bp-shadow);
}

.bx-price-flag {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 5px 16px;
  border-radius: 999px;
  background: var(--bp-cta-primary-bg);
  color: var(--bp-primary-ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--bp-shadow-soft);
}

.boon-section .bx-price-name {
  margin: 0 0 10px;
  font-family: var(--bx-serif);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--bp-ink);
}

.boon-section .bx-price-amount {
  margin: 0 0 10px;
  font-family: var(--bx-serif);
  font-weight: 500;
  font-size: clamp(2rem, 3vw, 2.5rem);
  letter-spacing: -0.015em;
  line-height: 1;
  color: var(--bp-ink);
}

.boon-section .bx-price-credits {
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bx-heading-accent);
}

.bx-price-roi {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid rgba(58, 166, 104, 0.38);
  border-radius: 999px;
  background: rgba(58, 166, 104, 0.14);
  color: var(--bp-ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bx-price-roi::before { content: "\2713"; color: var(--bx-green); }
html[data-boon-theme="dark"] .bx-price-roi::before { color: #5ed489; }

.boon-section .bx-price-sub { margin: 0 0 10px; font-size: 0.82rem; color: var(--bp-muted); }

.boon-section .bx-price-copy { margin: 0 0 14px; font-size: 0.92rem; line-height: 1.6; color: var(--bp-body); }

.bx-price-list {
  margin: 0 0 26px;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px solid var(--bp-line);
  display: grid;
  gap: 10px;
  align-content: start;
}

.bx-price-list li { position: relative; padding-left: 22px; font-size: 0.9rem; line-height: 1.5; color: var(--bp-body); }

.bx-price-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bx-green);
}

html[data-boon-theme="dark"] .bx-price-list li::before { color: #5ed489; }

.bx-price-card .bx-cta { width: 100%; min-width: 0; margin-top: auto; }

.boon-section .bx-price-note {
  margin: 24px auto 0;
  max-width: 72ch;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--bp-muted);
}

/* Desktop: CSS Grid with subgrid rows so names, prices, and CTAs align. */
@media (min-width: 992px) {
  .bx-price-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto auto auto auto 1fr auto;
  }

  @supports (grid-template-rows: subgrid) {
    .bx-price-card { display: grid; grid-template-rows: subgrid; grid-row: 1 / -1; align-items: start; }
    .bx-price-card:nth-of-type(1) { grid-column: 1; }
    .bx-price-card:nth-of-type(2) { grid-column: 2; }
    .bx-price-card:nth-of-type(3) { grid-column: 3; }
    .bx-price-name { grid-row: 1; }
    .bx-price-amount { grid-row: 2; }
    .bx-price-credits { grid-row: 3; }
    .bx-price-sub { grid-row: 4; }
    .bx-price-copy { grid-row: 5; }
    .bx-price-list { grid-row: 6; }
    .bx-price-card .bx-cta { grid-row: 7; margin-top: 0; align-self: end; }
  }
}

/* --------------------------------------------------------------------------
   Evidence checklist variant — single column inside the split panel
   -------------------------------------------------------------------------- */
.bx-checks--stack { grid-template-columns: 1fr; margin-top: 0; }
.bx-checks--stack li:first-child { border-top: 0; padding-top: 4px; }
.bx-checks--stack li:nth-child(2) { border-top: 1px solid var(--bp-line); }

/* --------------------------------------------------------------------------
   Pricing page — outcome-based credit model
   -------------------------------------------------------------------------- */
#bx-credit-video, #bx-how-credits, #bx-outcome-value, #bx-plans, #bx-pricing-faq { scroll-margin-top: 96px; }

.bx-hero--center { text-align: center; }
.bx-hero--center .bx-label { justify-content: center; }
.bx-hero--center .bx-display,
.bx-hero--center .bx-lede { margin-left: auto; margin-right: auto; }
.bx-hero--center .bx-hero-actions { justify-content: center; }

/* Three connected steps — how credits are consumed */
.bx-credit-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.bx-credit-step { position: relative; }

.bx-credit-step .bx-step-num { display: block; margin-bottom: 12px; font-size: 1.2rem; }

/* Hairline connector between steps on desktop */
.bx-credit-step + .bx-credit-step::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(-18px - 1px);
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, rgba(146, 136, 240, 0), rgba(146, 136, 240, 0.55), rgba(146, 136, 240, 0));
}

/* Usage-billing vs outcome-model comparison */
.bx-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.bx-compare__col h3 { margin-bottom: 4px; }

.bx-compare__col .bx-compare-kicker {
  margin: 0 0 16px;
  font-size: 0.8rem;
  color: var(--bp-muted);
}

.bx-compare__list { margin: 0; padding: 0; list-style: none; }

.bx-compare__list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 12px 2px;
  border-top: 1px solid var(--bp-line);
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--bp-body);
}

.bx-compare__list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bp-muted);
  transform: translateY(-1px);
}

.bx-compare__col--boon { border-color: rgba(146, 136, 240, 0.45); background: var(--bp-surface-strong); }

.bx-compare__col--boon .bx-compare__list li::before {
  content: "\2713";
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bx-green);
  transform: none;
}

html[data-boon-theme="dark"] .bx-compare__col--boon .bx-compare__list li::before { color: #5ed489; }

/* Pricing FAQ — native disclosure widgets, hairline rows */
.bx-faq { max-width: 860px; margin: 0 auto; padding: clamp(10px, 1.6vw, 22px) clamp(22px, 3vw, 34px); }

.bx-faq details { border-top: 1px solid var(--bp-line); }
.bx-faq details:first-of-type { border-top: 0; }

.bx-faq summary {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 2px;
  cursor: pointer;
  list-style: none;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--bp-ink);
}

.bx-faq summary::-webkit-details-marker { display: none; }

.bx-faq summary::after {
  content: "+";
  margin-left: auto;
  flex: none;
  font-family: var(--bx-serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  color: var(--bx-heading-accent);
  transition: transform 200ms var(--bp-ease);
}

.bx-faq details[open] summary::after { content: "\2013"; }

.bx-faq summary:hover { color: var(--bx-heading-accent); }

.bx-faq summary:focus-visible { outline: 2px solid var(--bp-primary-soft); outline-offset: 2px; border-radius: 6px; }

.bx-faq details > p {
  margin: 0;
  padding: 0 2px 20px;
  max-width: 68ch;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--bp-body);
}

/* Legal pages — dates block and contact card */
.bx-legal-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin: 0 0 6px;
}

.bx-legal-dates .bx-meta { margin: 0; }
.bx-legal-dates .bx-meta strong { color: var(--bp-ink); font-weight: 600; }

.bx-legal-article address {
  font-style: normal;
  line-height: 1.75;
  color: var(--bp-body);
  font-size: 0.97rem;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .bx-hero-grid { grid-template-columns: 1fr; }
  .bx-split { grid-template-columns: 1fr; }
  .bx-split > .bx-sticky { position: static; }
  .bx-contact-layout { grid-template-columns: 1fr; }
  .bx-grid--2 { grid-template-columns: 1fr; }
  .bx-grid--3 { grid-template-columns: 1fr; }
  .bx-checks { grid-template-columns: 1fr; }
  .bx-checks li:nth-child(2) { border-top: 1px solid var(--bp-line); }

  .bx-mode-layout { grid-template-columns: 1fr; align-items: start; }
  .bx-mode-copy { max-width: none; }

  .bx-credit-steps { grid-template-columns: 1fr; }
  .bx-credit-step + .bx-credit-step::before {
    top: -10px;
    left: 50%;
    width: 2px;
    height: 20px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(146, 136, 240, 0), rgba(146, 136, 240, 0.55), rgba(146, 136, 240, 0));
  }
  .bx-compare { grid-template-columns: 1fr; }

  .bx-network { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
  .bx-network__core { padding: 10px 0; }
  .bx-network__link {
    width: 2px;
    height: 44px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(146, 136, 240, 0), rgba(146, 136, 240, 0.55), rgba(146, 136, 240, 0));
  }
  .bx-network__signal { display: none; }
}

@media (max-width: 767px) {
  .bx-network__orb { width: min(250px, 78vw); }
  .boon-section .bx-h2 { max-width: none; }
}

@media (max-width: 479px) {
  .bx-hero-actions { flex-direction: column; align-items: stretch; }
  .bx-hero-actions .bx-cta { width: 100%; min-width: 0; }
  .bx-attn-body { flex-direction: column; align-items: flex-start; }
  .bx-segment { width: 100%; }
  .bx-segment button { flex: 1; min-width: 0; padding-left: 12px; padding-right: 12px; }
  .bx-steps li { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }
  .bx-video-card { border-radius: 20px; }
  .bx-video-card__controls { right: 10px; bottom: 10px; }
  .bx-video-sound { padding: 0 13px; }
}

/* --------------------------------------------------------------------------
   Reduced motion — no decorative movement, instant state changes
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bx-pill, .bx-cta, .bx-segment button { transition: none; }
  .bx-cta--primary:hover, .bx-cta--ghost:hover, .bx-pill:hover { transform: none; }
  .bx-network__signal { animation: none; opacity: 0; }
  .bx-network__hub { animation: none; }
  body.boon-enhanced .bx-mode-pane { transition: none; }
}

/* --------------------------------------------------------------------------
   Netlify-backed forms — honeypot, submit alignment, inline field errors
   -------------------------------------------------------------------------- */
.boon-hp { display: none !important; }

/* "Send message" / "Claim your AI agent": sits directly below the last field,
   flush with the field's left edge, same height rhythm as other primary CTAs. */
.bx-form-submit {
  margin-top: 22px;
  min-height: 48px;
  padding: 12px 26px;
  font-size: 0.92rem;
  justify-content: center;
  box-sizing: border-box;
}

.bx-form-submit.is-loading,
.bx-form-submit[disabled] {
  opacity: 0.65;
  cursor: progress;
  transform: none;
  box-shadow: none;
}

.boon-field__error {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #ff9d8a;
}

html[data-boon-theme="light"] .boon-field__error { color: #c0392b; }

.boon-input.is-invalid,
.boon-select.is-invalid,
.boon-textarea.is-invalid {
  border-color: #ff9d8a;
}

html[data-boon-theme="light"] .boon-input.is-invalid,
html[data-boon-theme="light"] .boon-select.is-invalid,
html[data-boon-theme="light"] .boon-textarea.is-invalid {
  border-color: #c0392b;
}

/* --------------------------------------------------------------------------
   Beta sign-up page (signup.html)
   -------------------------------------------------------------------------- */
.bx-beta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(26px, 3.6vw, 52px);
  align-items: start;
}

.bx-benefits { display: grid; gap: 12px; margin-top: clamp(20px, 2.6vw, 30px); }

.bx-benefit {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 1px solid var(--bp-line-soft);
  border-radius: var(--bx-radius);
  background: var(--bp-surface);
  padding: 16px 18px;
}

.bx-benefit--featured {
  border-color: rgba(146, 136, 240, 0.45);
  background: linear-gradient(135deg, rgba(92, 77, 233, 0.16), rgba(92, 77, 233, 0.04));
}

.bx-benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--bp-line-soft);
  background: var(--bp-surface-strong);
  color: var(--bp-primary-soft);
}

.bx-benefit__icon svg { width: 22px; height: 22px; }

.bx-benefit h3 { margin: 0 0 4px; font-size: 1.02rem; font-weight: 600; color: var(--bp-ink); }

.bx-benefit .bx-benefit__value {
  display: block;
  margin: 2px 0 6px;
  font-family: var(--bx-serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--bx-heading-accent);
}

.bx-benefit p { margin: 0; font-size: 0.92rem; line-height: 1.6; color: var(--bp-body); }

.bx-beta-form-card .bx-label { margin-bottom: 18px; }

.bx-form-microcopy {
  margin: 14px 0 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--bp-muted);
  max-width: 46ch;
}

/* Challenge metric cards */
.bx-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}

.bx-metric-card .bx-metric {
  display: block;
  font-family: var(--bx-serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  line-height: 1;
  color: var(--bx-heading-accent);
  margin-bottom: 10px;
}

.bx-metric-card .bx-metric-kicker {
  display: block;
  margin-bottom: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bp-muted);
}

.bx-disclaimer {
  margin: 18px 0 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--bp-muted);
  max-width: 72ch;
}

/* Approach steps */
.bx-approach-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}

.bx-approach-step { position: relative; }

.bx-approach-step .bx-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  margin-bottom: 14px;
  border-radius: 999px;
  border: 1px solid rgba(146, 136, 240, 0.4);
  background: rgba(92, 77, 233, 0.14);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--bp-primary-soft);
}

.bx-approach-close {
  margin: 26px 0 0;
  font-family: var(--bx-serif);
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  color: var(--bp-ink);
}

/* ROI calculator */
.bx-roi-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(18px, 2.4vw, 30px);
  align-items: stretch;
}

.bx-roi-field { margin-bottom: 26px; }

.bx-roi-field:last-child { margin-bottom: 0; }

.bx-roi-field > label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bp-ink);
}

.bx-roi-io {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px;
  gap: 14px;
  align-items: center;
}

.bx-roi-io input[type="range"] {
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  accent-color: var(--bp-primary);
  cursor: pointer;
}

.bx-roi-io input[type="range"]:focus-visible {
  outline: 2px solid var(--bp-primary-soft);
  outline-offset: 4px;
  border-radius: 6px;
}

.bx-roi-io input[type="number"] { min-height: 44px; }

/* Hide number-input spinners where they fight the compact width */
.bx-roi-io input[type="number"]::-webkit-outer-spin-button,
.bx-roi-io input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bx-roi-io input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

.bx-roi-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--bp-muted);
}

.bx-roi-rates { margin-top: 26px; }

.bx-roi-rate { margin-bottom: 14px; }

.bx-roi-rate:last-child { margin-bottom: 0; }

.bx-roi-rate .bx-roi-rate__label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 0.85rem;
  color: var(--bp-body);
}

.bx-roi-rate .bx-roi-rate__bar {
  height: 8px;
  border-radius: 999px;
  background: var(--bp-surface-strong);
  overflow: hidden;
}

.bx-roi-rate .bx-roi-rate__bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--bp-line-strong);
}

.bx-roi-rate--proactive .bx-roi-rate__bar span {
  background: var(--bp-cta-primary-bg);
}

.bx-roi-results { display: grid; gap: 12px; }

.bx-roi-result {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid var(--bp-line-soft);
  border-radius: 14px;
  background: var(--bp-surface);
}

.bx-roi-result dt { margin: 0; font-size: 0.88rem; color: var(--bp-body); }

.bx-roi-result dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--bp-ink);
  white-space: nowrap;
}

.bx-roi-result--highlight {
  border-color: rgba(146, 136, 240, 0.5);
  background: linear-gradient(135deg, rgba(92, 77, 233, 0.2), rgba(92, 77, 233, 0.05));
}

.bx-roi-result--highlight dd {
  font-family: var(--bx-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  color: var(--bx-heading-accent);
}

.bx-roi-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--bp-line-soft);
  background: var(--bp-surface-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bp-muted);
}

/* Final CTA band */
.bx-final-cta {
  border: 1px solid rgba(146, 136, 240, 0.4);
  border-radius: var(--bx-radius-lg);
  background:
    radial-gradient(120% 160% at 85% -20%, rgba(133, 124, 255, 0.35), transparent 55%),
    linear-gradient(135deg, rgba(92, 77, 233, 0.28), rgba(29, 26, 35, 0.1));
  box-shadow: inset 0 1px 0 var(--bp-liquid-sheen), var(--bp-shadow-soft);
  padding: clamp(30px, 5vw, 60px);
  text-align: center;
}

.bx-final-cta .bx-h2 { margin-left: auto; margin-right: auto; }

.bx-final-cta .bx-lede { margin: 0 auto 26px; }

/* Thank-you pages */
.bx-thanks-card { max-width: 720px; }

.bx-thanks-card .bx-success { display: block; padding: 0; }

.bx-thanks-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Responsive */
@media (max-width: 991px) {
  .bx-beta-grid { grid-template-columns: 1fr; }
  .bx-metric-grid { grid-template-columns: 1fr; }
  .bx-approach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bx-roi-layout { grid-template-columns: 1fr; }
}

@media (max-width: 479px) {
  .bx-form-submit { width: 100%; }
  .bx-approach-grid { grid-template-columns: 1fr; }
  .bx-roi-io { grid-template-columns: minmax(0, 1fr); }
  .bx-roi-io input[type="number"] { width: 100%; }
  .bx-thanks-actions { flex-direction: column; align-items: stretch; }
  .bx-thanks-actions .bx-pill,
  .bx-thanks-actions .boon-secondary-action { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .bx-benefit, .bx-roi-result, .bx-final-cta { transition: none; }
}

.bx-optional { font-weight: 400; font-size: 0.8rem; color: var(--bp-muted); }

/* --------------------------------------------------------------------------
   Anchored sections — clear the fixed nav when jumping to #book-demo /
   #beta-signup, and scroll smoothly (motion-safe).
   -------------------------------------------------------------------------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

#book-demo, #beta-signup { scroll-margin-top: 100px; }

/* --------------------------------------------------------------------------
   Contact page — inline Calendly booking (#book-demo)
   -------------------------------------------------------------------------- */
.bx-calendly-panel { padding: clamp(16px, 2vw, 24px); }

.bx-calendly {
  width: 100%;
  min-width: 0;
  min-height: 680px;
  border-radius: var(--bx-radius);
  overflow: hidden;
  background: var(--bp-surface-strong);
}

.bx-calendly iframe { width: 100% !important; border: 0; border-radius: var(--bx-radius); }

.bx-calendly-loading {
  padding: 26px 4px 18px;
  color: var(--bp-muted);
  font-size: 0.95rem;
}

.bx-calendly-fallback {
  margin: 14px 0 0;
  font-size: 0.88rem;
  color: var(--bp-muted);
}

.bx-calendly-fallback a { color: var(--bp-primary-soft); text-decoration: underline; text-underline-offset: 3px; }
.bx-calendly-fallback a:hover { color: var(--bp-ink); }

@media (max-width: 767px) {
  .bx-calendly { min-height: 900px; }
}

/* --------------------------------------------------------------------------
   Beta form — pricing plan context banner
   -------------------------------------------------------------------------- */
.bx-plan-context {
  margin: 0 0 16px;
  padding: 8px 14px;
  border: 1px solid rgba(146, 136, 240, 0.4);
  border-radius: 999px;
  background: rgba(92, 77, 233, 0.14);
  color: var(--bp-primary-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
}

/* --------------------------------------------------------------------------
   Account authentication pages (login / create-account / account)
   -------------------------------------------------------------------------- */
.bx-auth-section { padding-top: clamp(96px, 12vw, 150px); }

.bx-auth-card {
  max-width: 460px;
  margin: 0 auto;
  padding: clamp(26px, 3.4vw, 40px);
}

.bx-auth-card .bx-label { margin-bottom: 8px; }

.bx-auth-card h1 {
  margin: 0 0 8px;
  font-family: var(--bx-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--bp-ink);
}

.bx-auth-lede { margin: 0 0 22px; color: var(--bp-body); font-size: 0.96rem; line-height: 1.6; }

.bx-auth-card .boon-field { margin-bottom: 16px; }

.bx-auth-card .bx-form-submit { width: 100%; margin-top: 8px; }

.bx-auth-alt { margin: 18px 0 0; font-size: 0.9rem; color: var(--bp-muted); }
.bx-auth-alt a { color: var(--bp-primary-soft); text-decoration: underline; text-underline-offset: 3px; }
.bx-auth-alt a:hover { color: var(--bp-ink); }

.bx-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.bx-auth-forgot {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.86rem;
  color: var(--bp-primary-soft);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bx-auth-forgot:hover { color: var(--bp-ink); }

/* Password field with a visibility toggle */
.bx-password-wrap { position: relative; display: block; }
.bx-password-wrap .boon-input { padding-right: 64px; }

.bx-password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--bp-line);
  border-radius: 8px;
  background: var(--bp-surface-strong);
  color: var(--bp-body);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}
.bx-password-toggle:hover { color: var(--bp-ink); border-color: var(--bp-primary-soft); }
.bx-password-toggle:focus-visible { outline: 2px solid var(--bp-primary-soft); outline-offset: 2px; }

/* Account page detail rows */
.bx-account-rows { display: grid; gap: 12px; margin: 0 0 22px; }
.bx-account-rows .bx-row-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bp-muted);
  margin-bottom: 4px;
}
.bx-account-rows .bx-row-value { color: var(--bp-ink); font-size: 1.02rem; word-break: break-word; }

@media (max-width: 479px) {
  .bx-auth-card .bx-form-submit { width: 100%; }
}

/* --------------------------------------------------------------------------
   ROI Centre (roi-centre.html)
   -------------------------------------------------------------------------- */
/* Representative seller profile: four concise metric cards */
.bx-metric-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Funnel comparison columns reuse .bx-compare + .bx-roi-rate; the note sits
   under the stage bars inside each column. */
.bx-compare__col .bx-roi-rates { margin-top: 18px; }

.bx-funnel-note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--bp-line);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--bp-body);
}

@media (max-width: 991px) {
  .bx-metric-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 639px) {
  .bx-metric-grid--4 { grid-template-columns: 1fr; }
}

/* Inline text links inside methodology lists and thank-you copy: the global
   reset paints anchors currentcolor, so give these a visible link treatment. */
.bx-compare__list a,
.bx-success p a {
  color: var(--bp-primary-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bx-compare__list a:hover,
.bx-success p a:hover { color: var(--bp-ink); }

.bx-compare__list a:focus-visible,
.bx-success p a:focus-visible {
  outline: 2px solid var(--bp-primary-soft);
  outline-offset: 2px;
  border-radius: 4px;
}
