/* ════════════════════════════════════════════════════════════════════════
   BioMate AI — shared stylesheet (v2)
   ════════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Default palette: brand cream + navy (matches logo) */
  --bg:           #f6efde;          /* logo background cream */
  --bg-2:         #ede4cd;
  --bg-3:         #e1d6b9;
  --bg-ink:       #14283a;          /* deep navy */
  --bg-ink-2:     #1d3851;
  --accent:       #2a5582;          /* logo navy — primary */
  --accent-2:     #1f4368;          /* darker navy for hover */
  --accent-tint:  rgba(42,85,130,.10);
  --accent-tint2: rgba(42,85,130,.18);
  --warm:         #b78048;          /* logo gold/terracotta */
  --warm-2:       #9c6a3e;
  --warm-tint:    rgba(183,128,72,.12);
  --leaf:         #7eaf4f;          /* logo leaf green */
  --leaf-2:       #5e8a36;
  --leaf-tint:    rgba(126,175,79,.14);
  --text:         #14283a;
  --text-muted:   #4d6175;
  --text-faint:   #8b96a3;
  --on-ink:       #f3ecdb;
  --on-ink-mute:  #b9c4d0;
  --border:       #d3c7a8;
  --border-soft:  #ddd2b6;
  --border-ink:   #2c4663;

  --radius:       10px;
  --radius-sm:    6px;
  --radius-lg:    18px;

  --font-body:    'Open Sans', system-ui, -apple-system, sans-serif;
  --font-head:    'Crimson Text', Georgia, serif;
  --font-mono:    ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, monospace;

  --nav-h:        64px;
  --maxw:         1240px;

  --shadow-sm:    0 1px 2px rgba(28,43,50,.06);
  --shadow-md:    0 6px 24px -8px rgba(28,43,50,.18), 0 2px 6px rgba(28,43,50,.06);
  --shadow-lg:    0 30px 60px -28px rgba(28,43,50,.35), 0 8px 24px -10px rgba(28,43,50,.12);
}

/* ─── Palette variants (toggled via [data-palette] on <html>) ─── */
html[data-palette="leaf"] {
  /* Lead with the leaf-green from the logo */
  --accent:       #5e8a36;
  --accent-2:     #486b27;
  --accent-tint:  rgba(94,138,54,.10);
  --accent-tint2: rgba(94,138,54,.20);
}
html[data-palette="terracotta"] {
  /* Lead with the warm gold from the DNA helix */
  --accent:       #9c6a3e;
  --accent-2:     #7d5230;
  --accent-tint:  rgba(156,106,62,.10);
  --accent-tint2: rgba(156,106,62,.20);
}
html[data-palette="deepnavy"] {
  /* Even deeper navy + creamier bg — most enterprise */
  --bg:           #efe6cf;
  --bg-2:         #e3d7b9;
  --bg-3:         #d4c4a0;
  --accent:       #1d3d5f;
  --accent-2:     #142d48;
  --accent-tint:  rgba(29,61,95,.10);
  --accent-tint2: rgba(29,61,95,.20);
}

/* ─── Type variants ─── */
html[data-type="modern"] {
  --font-body:    'Inter Tight', 'Open Sans', system-ui, sans-serif;
  --font-head:    'Source Serif 4', 'Crimson Text', Georgia, serif;
}
html[data-type="editorial"] {
  --font-body:    'Inter Tight', 'Open Sans', system-ui, sans-serif;
  --font-head:    'Instrument Serif', 'Crimson Text', Georgia, serif;
}
html[data-type="all-sans"] {
  --font-body:    'Inter Tight', 'Open Sans', system-ui, sans-serif;
  --font-head:    'Inter Tight', 'Open Sans', system-ui, sans-serif;
}

/* ─── Density ─── */
html[data-density="compact"] {
  --section-py:   clamp(2.5rem, 5vw, 4.25rem);
}
html[data-density="cozy"] {
  --section-py:   clamp(3rem, 7vw, 6rem);
}
html[data-density="generous"] {
  --section-py:   clamp(4rem, 9vw, 8rem);
}
html { --section-py: clamp(3rem, 7vw, 6rem); }

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent-2); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent); }
img, svg { max-width: 100%; display: block; }

/* ════════════════════════════════════════════════════════ NAV ═══ */
.bm-nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(246,239,222,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
html[data-palette="deepnavy"] .bm-nav { background: rgba(239,230,207,.93); }

.bm-nav-inner {
  max-width: var(--maxw); margin: 0 auto; height: 100%;
  display: flex; align-items: center; gap: 24px;
  padding: 0 clamp(1rem, 4vw, 2rem);
}
.bm-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.bm-brand img {
  height: 56px; width: auto; display: block;
}
.bm-footer .bm-brand img { height: 44px; }

.bm-nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin-left: auto;
}
.bm-nav-links a {
  color: var(--text); font-size: .9rem; font-weight: 500;
  padding: 8px 14px; border-radius: 7px;
  transition: background .15s, color .15s;
}
.bm-nav-links a:hover { background: var(--accent-tint); color: var(--accent-2); }
.bm-nav-links a.active { color: var(--accent-2); background: var(--accent-tint); }
.bm-nav-cta {
  background: var(--accent) !important; color: #fff !important;
  font-weight: 600 !important; padding: 8px 16px !important;
  border-radius: 7px !important;
}
.bm-nav-cta:hover { background: var(--accent-2) !important; color: #fff !important; }
.bm-nav-login {
  border: 1px solid var(--border) !important; color: var(--text) !important;
  margin-left: 6px;
}
.bm-nav-login:hover { border-color: var(--accent) !important; color: var(--accent-2) !important; background: transparent !important; }

.bm-mobile-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 7px; width: 38px; height: 38px; cursor: pointer; align-items: center; justify-content: center; margin-left: auto; color: var(--text); }
.bm-mobile-toggle svg { width: 18px; height: 18px; }

/* ════════════════════════════════════════════ NAV DROPDOWNS ═══ */
.bm-has-dropdown { position: relative; }
.bm-has-dropdown > a { display: flex; align-items: center; gap: 4px; }
.bm-chevron { width: 14px; height: 14px; stroke-width: 2.2; flex-shrink: 0; transition: transform .2s; }
.bm-has-dropdown:hover .bm-chevron,
.bm-has-dropdown.bm-dd-open .bm-chevron { transform: rotate(180deg); }

.bm-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 210px; list-style: none;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: .4rem 0;
  box-shadow: 0 8px 28px -6px rgba(20,40,58,.18), 0 2px 8px rgba(20,40,58,.06);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 200;
}
.bm-has-dropdown:hover .bm-dropdown,
.bm-has-dropdown.bm-dd-open .bm-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
}
.bm-dropdown a {
  display: block; padding: .52rem 1.1rem;
  color: var(--text); font-size: .88rem; font-weight: 400;
  transition: background .12s, color .12s;
  border-radius: 0;
}
.bm-dropdown a:hover { background: var(--accent-tint); color: var(--accent-2); }
.bm-dropdown-divider { height: 1px; background: var(--border); margin: .35rem .75rem; }

/* ════════════════════════════════════════════ CTA BAR ═══ */
.bm-cta-bar {
  background: var(--bg-ink);
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 5vw, 2.5rem);
  text-align: center;
}
.bm-cta-bar-inner { max-width: 680px; margin: 0 auto; }
.bm-cta-bar-eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--warm); margin-bottom: .9rem;
}
.bm-cta-bar-head {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1; letter-spacing: -.015em;
  color: var(--on-ink); margin-bottom: .75rem;
}
.bm-cta-bar-sub {
  color: var(--on-ink-mute); font-size: 1.05rem;
  line-height: 1.55; margin-bottom: 0;
}
.bm-cta-bar-btns {
  display: flex; gap: .75rem; justify-content: center;
  flex-wrap: wrap; margin-top: 2rem;
}

/* ════════════════════════════════════════════════════════ BTN ═══ */
.bm-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px;
  font-family: var(--font-body); font-size: .95rem; font-weight: 600;
  cursor: pointer; text-decoration: none; transition: all .18s; border: none;
  white-space: nowrap; line-height: 1;
}
.bm-btn-lg { padding: 15px 28px; font-size: 1rem; }
.bm-btn-sm { padding: 9px 16px; font-size: .85rem; }
.bm-btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.bm-btn-primary:hover { background: var(--accent-2); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.bm-btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.bm-btn-outline:hover { border-color: var(--accent); color: var(--accent-2); }
.bm-btn-ghost { background: transparent; color: var(--text); }
.bm-btn-ghost:hover { color: var(--accent-2); background: var(--accent-tint); }
.bm-btn-ink { background: rgba(255,255,255,.08); color: var(--on-ink); border: 1px solid rgba(255,255,255,.18); }
.bm-btn-ink:hover { background: rgba(255,255,255,.16); color: #fff; }
.bm-btn-on-ink-primary { background: var(--on-ink); color: var(--bg-ink); }
.bm-btn-on-ink-primary:hover { background: #fff; color: var(--bg-ink); }
.bm-btn-arrow { transition: transform .2s; }
.bm-btn:hover .bm-btn-arrow { transform: translateX(3px); }

/* ════════════════════════════════════════════════════════ SECTION ═══ */
.bm-section { padding: var(--section-py) clamp(1rem, 5vw, 2.5rem); }
.bm-section-inner { max-width: var(--maxw); margin: 0 auto; }
.bm-section-narrow { max-width: 980px; margin: 0 auto; }

.bm-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-2);
  font-family: var(--font-body);
}
.bm-eyebrow::before {
  content: ''; width: 18px; height: 1px; background: var(--accent);
}

.bm-display {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(2.4rem, 6.2vw, 4.6rem);
  line-height: 1.02; letter-spacing: -.02em;
  color: var(--text);
}
html[data-type="editorial"] .bm-display { font-weight: 400; letter-spacing: -.025em; }
html[data-type="all-sans"]  .bm-display { letter-spacing: -.04em; font-weight: 600; }

.bm-h1 {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  line-height: 1.08; letter-spacing: -.018em;
  color: var(--text);
}
.bm-h2 {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.12; letter-spacing: -.012em;
  color: var(--text);
}
.bm-h3 {
  font-family: var(--font-head); font-weight: 600;
  font-size: 1.3rem; line-height: 1.25; color: var(--text);
}
html[data-type="editorial"] .bm-h1, html[data-type="editorial"] .bm-h2 { font-weight: 400; }

.bm-lead {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  line-height: 1.6;
  max-width: 620px;
}
.bm-section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 720px; }
.bm-section-head .bm-eyebrow { margin-bottom: 1rem; }
.bm-section-head .bm-h2 { margin-bottom: .9rem; }

.bm-em-accent { color: var(--accent); font-style: normal; }

/* ════════════════════════════════════════════════════════ HERO ═══ */
.bm-hero {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 2.5rem) clamp(2.5rem, 5vw, 4rem);
  position: relative; overflow: hidden;
  /* Warm, optimistic hero — gold + leaf-green wash on cream */
  background:
    radial-gradient(1100px 620px at 92% -10%, rgba(214,156,98,.32) 0%, transparent 55%),
    radial-gradient(820px 520px at 0% 105%, rgba(126,175,79,.22) 0%, transparent 60%),
    radial-gradient(700px 400px at 50% 110%, rgba(255,243,219,.6) 0%, transparent 70%),
    linear-gradient(180deg, #fbf6e7 0%, var(--bg) 65%);
}
.bm-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(2px 2px at 10% 30%, rgba(126,175,79,.5), transparent 60%),
    radial-gradient(2px 2px at 88% 22%, rgba(183,128,72,.45), transparent 60%),
    radial-gradient(3px 3px at 18% 88%, rgba(42,85,130,.25), transparent 60%);
}
.bm-hero-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;
}
.bm-hero-col h1 { margin-bottom: 2rem; }
.bm-hero-col h1.bm-display { line-height: 1.06; }
.bm-hero-col .bm-lead { font-size: clamp(1.05rem, 1.55vw, 1.22rem); margin-bottom: 2rem; max-width: 560px; }
.bm-hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px; border-radius: 50px;
  background: rgba(255,255,255,.55); border: 1px solid var(--border);
  font-size: .8rem; color: var(--text);
  margin-bottom: 1.75rem;
}
.bm-hero-pill-tag {
  background: var(--accent); color: #fff; font-weight: 700;
  font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 50px;
}
.bm-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.bm-hero-meta {
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center;
  margin-top: 2rem; font-size: .82rem; color: var(--text-muted);
}
.bm-hero-meta-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }

/* ─── Hero photo block (warm, photo-led replacement for the dark console) ─── */
.bm-hero-photo {
  position: relative;
  border-radius: 22px;
  overflow: visible;
  isolation: isolate;
}
.bm-hero-photo-img {
  position: relative; z-index: 1;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px -28px rgba(28,43,50,.35), 0 8px 24px -10px rgba(28,43,50,.1);
  border: 4px solid #fffaee;
  transform: rotate(.6deg);
}
.bm-hero-photo-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bm-hero-photo::before {
  content: ''; position: absolute;
  inset: -22px -22px -22px -22px;
  background:
    radial-gradient(220px 220px at 12% 18%, rgba(126,175,79,.25), transparent 70%),
    radial-gradient(260px 260px at 88% 88%, rgba(214,156,98,.30), transparent 70%);
  z-index: 0; pointer-events: none; filter: blur(6px);
}
/* Floating warm result chip overlay */
.bm-hero-chip {
  position: absolute; z-index: 2;
  background: #fffaee;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 18px 40px -16px rgba(28,43,50,.30);
  display: flex; gap: 12px; align-items: center;
  min-width: 240px;
}
.bm-hero-chip-left { left: -18px; bottom: 14%; transform: rotate(-2deg); }
.bm-hero-chip-right { right: -18px; top: 18%; transform: rotate(2deg); }
.bm-hero-chip-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.bm-hero-chip-icon.leaf { background: var(--leaf-tint); color: var(--leaf-2); }
.bm-hero-chip-icon.gold { background: var(--warm-tint); color: var(--warm-2); }
.bm-hero-chip-icon svg { width: 20px; height: 20px; }
.bm-hero-chip-body { line-height: 1.3; }
.bm-hero-chip-eyebrow { font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 2px; }
.bm-hero-chip-text { font-family: var(--font-head); font-size: 1.02rem; color: var(--text); font-weight: 600; line-height: 1.25; }
.bm-hero-chip-text small { display: block; font-family: var(--font-body); font-size: .78rem; font-weight: 400; color: var(--text-muted); margin-top: 2px; }

/* ─── People photo band (real scientists, real work) ─── */
.bm-people-band {
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 5vw, 2.5rem);
  background:
    linear-gradient(180deg, transparent 0%, rgba(255,250,238,.6) 50%, transparent 100%);
}
.bm-people-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
}
.bm-people-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 4px solid #fffaee;
  box-shadow: var(--shadow-md);
  transition: transform .28s ease;
}
.bm-people-card:nth-child(1) { transform: rotate(-1.2deg); margin-top: 18px; }
.bm-people-card:nth-child(2) { transform: rotate(.4deg); }
.bm-people-card:nth-child(3) { transform: rotate(1.4deg); margin-top: 30px; }
.bm-people-card:hover { transform: rotate(0) translateY(-3px); }
.bm-people-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bm-people-card .bm-people-tag {
  position: absolute; left: 14px; bottom: 14px;
  background: #fffaee; color: var(--text);
  padding: 8px 12px; border-radius: 10px;
  font-size: .8rem; font-weight: 600;
  box-shadow: 0 6px 18px -8px rgba(0,0,0,.4);
  border: 1px solid var(--border-soft);
}
.bm-people-tag small { display: block; font-weight: 400; color: var(--text-muted); font-size: .72rem; margin-top: 1px; }

/* People-band intro text */
.bm-people-intro {
  max-width: var(--maxw); margin: 0 auto clamp(1.75rem, 3vw, 2.5rem);
  text-align: center;
}
.bm-people-intro .bm-eyebrow { margin-bottom: .9rem; }
.bm-people-intro h2 {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2;
  letter-spacing: -.012em; color: var(--text);
  max-width: 720px; margin: 0 auto;
}
.bm-people-intro h2 em { color: var(--leaf-2); font-style: italic; }

/* ─── Hero product console mock ─── */
.bm-console {
  background: var(--bg-ink); color: var(--on-ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden; border: 1px solid var(--border-ink);
  font-family: var(--font-body); font-size: .82rem;
  position: relative;
  transform: rotate(.4deg);
}
.bm-console::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, transparent 30%, rgba(255,255,255,.04) 60%, transparent 80%);
  border-radius: inherit;
}
.bm-console-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-bottom: 1px solid var(--border-ink);
  background: var(--bg-ink-2);
}
.bm-console-dots { display: flex; gap: 6px; }
.bm-console-dots span { width: 11px; height: 11px; border-radius: 50%; }
.bm-console-dots span:nth-child(1) { background: #ee6a5f; }
.bm-console-dots span:nth-child(2) { background: #f4bd4f; }
.bm-console-dots span:nth-child(3) { background: #61c454; }
.bm-console-title { font-size: .78rem; color: var(--on-ink-mute); margin-left: 4px; }
.bm-console-title b { color: var(--on-ink); font-weight: 600; }
.bm-console-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.bm-msg { display: flex; gap: 12px; align-items: flex-start; }
.bm-msg-avatar {
  width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700;
}
.bm-msg-user .bm-msg-avatar { background: rgba(255,255,255,.1); color: var(--on-ink); }
.bm-msg-bot  .bm-msg-avatar { background: var(--accent); color: #fff; }
.bm-msg-body { flex: 1; line-height: 1.55; }
.bm-msg-body .who { font-size: .7rem; color: var(--on-ink-mute); margin-bottom: 4px; letter-spacing: .04em; text-transform: uppercase; }
.bm-msg-body .text { color: var(--on-ink); font-size: .85rem; }
.bm-msg-body .text code { background: rgba(255,255,255,.08); padding: 1px 6px; border-radius: 4px; font-family: var(--font-mono); font-size: .8em; color: #d9eaf0; }
.bm-pill-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .7rem; padding: 2px 9px; border-radius: 50px;
  background: rgba(99,200,156,.18); color: #a6e2c4;
  margin-right: 6px;
}
.bm-pill-tag.silver { background: rgba(180,189,199,.2); color: #d3dae0; }
.bm-pill-tag.bronze { background: rgba(196,148,108,.2); color: #e5c1a3; }

.bm-result-card {
  background: var(--bg-ink-2); border: 1px solid var(--border-ink);
  border-radius: 10px; padding: 12px 14px; margin-top: 6px;
}
.bm-result-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .78rem; padding: 5px 0;
  border-bottom: 1px dashed rgba(255,255,255,.06);
}
.bm-result-row:last-child { border-bottom: none; }
.bm-result-key { color: var(--on-ink-mute); }
.bm-result-val { color: var(--on-ink); font-family: var(--font-mono); font-size: .76rem; }
.bm-result-val.good { color: #a6e2c4; }
.bm-result-val.warn { color: #f5cd87; }

.bm-typing {
  display: inline-flex; gap: 3px; padding: 4px 0;
}
.bm-typing span {
  width: 5px; height: 5px; border-radius: 50%; background: var(--on-ink-mute);
  animation: bm-blink 1.2s infinite ease-in-out;
}
.bm-typing span:nth-child(2) { animation-delay: .15s; }
.bm-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bm-blink { 0%,80%,100% { opacity: .3; } 40% { opacity: 1; } }

/* ════════════════════════════════════════════════════ STATS ═══ */
.bm-stats {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.bm-stats-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1rem, 5vw, 2.5rem);
  gap: 1.5rem;
}
.bm-stat { padding: 0 1rem; border-left: 1px solid var(--border); }
.bm-stat:first-child { border-left: none; padding-left: 0; }
.bm-stat-num {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  color: var(--text); line-height: 1; letter-spacing: -.02em;
  display: block;
}
.bm-stat-num small { font-size: 60%; color: var(--text-muted); font-weight: 400; }
.bm-stat-label {
  font-size: .82rem; color: var(--text-muted);
  margin-top: .5rem; line-height: 1.4;
}

/* ════════════════════════════════════════════════════ HOW IT WORKS ═══ */
.bm-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2rem);
  position: relative;
}
.bm-step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  position: relative;
}
.bm-step-num {
  font-family: var(--font-head); font-size: 3rem; font-weight: 600;
  color: var(--accent); line-height: 1; margin-bottom: 1rem;
  letter-spacing: -.02em;
}
.bm-step h3 { margin-bottom: .5rem; font-size: 1.2rem; }
.bm-step p { color: var(--text-muted); font-size: .92rem; line-height: 1.6; }
.bm-step-flow-icon {
  position: absolute; top: 50%; right: -22px; transform: translateY(-50%);
  color: var(--border); width: 24px; height: 24px;
  z-index: 2; background: var(--bg-2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ════════════════════════════════════════════════════ APPS GRID ═══ */
.bm-apps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bm-app-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .22s, border-color .22s, box-shadow .22s;
  display: flex; flex-direction: column;
}
.bm-app-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-md); }
.bm-app-viz {
  aspect-ratio: 16/10; width: 100%;
  background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.bm-app-viz svg { width: 100%; height: 100%; }
.bm-app-body { padding: 1.25rem 1.4rem 1.5rem; }
.bm-app-meta {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: .5rem;
}
.bm-app-body h4 {
  font-family: var(--font-head); font-size: 1.18rem; font-weight: 600;
  margin-bottom: .35rem; color: var(--text); line-height: 1.25;
  letter-spacing: -.005em;
}
.bm-app-body p { color: var(--text-muted); font-size: .88rem; line-height: 1.55; }

/* Photo-mode app cards (when tweak switches back to photo) */
.bm-app-card.photo .bm-app-viz { background: var(--bg-3); padding: 0; }
.bm-app-card.photo .bm-app-viz img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ════════════════════════════════════════════════════ APPROACH (editorial list) ═══ */
.bm-approach-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px;
  counter-reset: approach;
}
.bm-approach-item {
  position: relative; padding: 1.25rem 0 1.25rem 4.5rem;
  border-top: 1px solid var(--border);
}
.bm-approach-item::before {
  counter-increment: approach;
  content: "0" counter(approach);
  position: absolute; left: 0; top: 1.4rem;
  font-family: var(--font-head); font-size: 1.7rem; font-weight: 600;
  color: var(--accent); line-height: 1; letter-spacing: -.02em;
}
.bm-approach-item h4 {
  font-family: var(--font-head); font-size: 1.25rem; font-weight: 600;
  margin-bottom: .4rem; color: var(--text); line-height: 1.25;
}
.bm-approach-item p { color: var(--text-muted); font-size: .92rem; line-height: 1.6; }

/* Approach: cards-with-icons variant */
.bm-approach-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bm-approach-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: transform .22s, border-color .22s;
}
.bm-approach-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.bm-approach-card .bm-icon-wrap {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--accent-tint); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.bm-approach-card .bm-icon-wrap svg { width: 22px; height: 22px; }
.bm-approach-card h4 { font-family: var(--font-head); font-size: 1.18rem; margin-bottom: .4rem; }
.bm-approach-card p { color: var(--text-muted); font-size: .9rem; line-height: 1.55; }

/* ════════════════════════════════════════════════════ PRODUCT BAND (light, warm) ═══ */
.bm-product-band {
  background:
    radial-gradient(900px 480px at 88% 6%, rgba(126,175,79,.16), transparent 60%),
    radial-gradient(800px 520px at 6% 92%, rgba(214,156,98,.16), transparent 60%),
    #f9f3df;
  color: var(--text);
  position: relative; overflow: hidden;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.bm-product-band .bm-section-inner { position: relative; z-index: 1; }
.bm-product-band .bm-eyebrow { color: var(--leaf-2); }
.bm-product-band .bm-eyebrow::before { background: var(--leaf-2); }

.bm-product-grid {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4vw, 3.5rem); align-items: center; margin-top: 2.5rem;
}
.bm-product-bullets { list-style: none; display: flex; flex-direction: column; gap: 1.4rem; }
.bm-product-bullets li { padding-left: 1.75rem; position: relative; color: var(--text-muted); font-size: .96rem; line-height: 1.6; }
.bm-product-bullets li strong { color: var(--text); display: block; font-weight: 600; margin-bottom: .25rem; font-size: 1rem; }
.bm-product-bullets li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 9px; height: 9px; border-radius: 2px; background: var(--leaf);
  transform: rotate(45deg);
}

/* Light retrieval-graph card replacing the old dark inline-styled one */
.bm-retrieval-card {
  position: relative;
  background: #fffaee;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.bm-retrieval-card-eyebrow {
  font-family: var(--font-mono); font-size: .68rem; color: var(--leaf-2);
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem;
  display: flex; align-items: center; gap: 8px;
}
.bm-retrieval-card-eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--leaf); box-shadow: 0 0 0 4px rgba(126,175,79,.18);
}

/* ════════════════════════════════════════════════════ TESTIMONIALS ═══ */
.bm-testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bm-quote-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
  display: flex; flex-direction: column; gap: 1rem;
  position: relative;
}
.bm-quote-mark {
  font-family: var(--font-head); font-size: 3rem;
  color: var(--accent); line-height: .5; opacity: .35;
  position: absolute; top: 1.2rem; right: 1.2rem;
}
.bm-quote-text {
  font-family: var(--font-head); font-size: 1.05rem; line-height: 1.5;
  color: var(--text); flex: 1;
  letter-spacing: -.005em;
}
.bm-quote-author {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid var(--border); padding-top: 1rem;
}
.bm-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent-tint2); color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .82rem; letter-spacing: .02em;
  flex-shrink: 0;
}
.bm-quote-name { font-size: .85rem; font-weight: 600; color: var(--text); }
.bm-quote-role { font-size: .78rem; color: var(--text-muted); }

.bm-trust-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 32px; padding-top: 2.5rem; margin-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.bm-trust-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-muted);
}
.bm-trust-logo {
  font-family: var(--font-head); font-weight: 600;
  font-size: 1rem; color: var(--text); opacity: .65;
  letter-spacing: -.01em;
}

/* ════════════════════════════════════════════════════ CTA BANNER ═══ */
.bm-cta-banner {
  background:
    linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff; border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3rem);
  text-align: center; position: relative; overflow: hidden;
}
.bm-cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 90% 10%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(500px 300px at 0% 90%, rgba(255,255,255,.10), transparent 60%);
  pointer-events: none;
}
.bm-cta-banner > * { position: relative; }
.bm-cta-banner h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin-bottom: 1rem; color: #fff; letter-spacing: -.02em; }
.bm-cta-banner p { color: rgba(255,255,255,.85); margin-bottom: 2rem; font-size: 1.1rem; max-width: 540px; margin-left: auto; margin-right: auto; }
.bm-cta-banner .bm-btn-primary { background: #fff; color: var(--accent); }
.bm-cta-banner .bm-btn-primary:hover { background: rgba(255,255,255,.92); color: var(--accent-2); }
.bm-cta-banner .bm-btn-outline { color: #fff; border-color: rgba(255,255,255,.5); }
.bm-cta-banner .bm-btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.bm-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ════════════════════════════════════════════════════ FOOTER ═══ */
.bm-footer {
  background: var(--bg-3); border-top: 1px solid var(--border);
  padding: 3.5rem clamp(1rem, 5vw, 2.5rem) 1.5rem;
}
.bm-footer-inner { max-width: var(--maxw); margin: 0 auto; }
.bm-footer-grid {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem; margin-bottom: 3rem;
}
.bm-footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.bm-footer-brand .bm-brand { font-size: 1.5rem; }
.bm-footer-brand p { color: var(--text-muted); font-size: .88rem; line-height: 1.6; max-width: 320px; }
.bm-footer-col h4 { font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin-bottom: 1rem; }
.bm-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.bm-footer-col ul a { font-size: .88rem; color: var(--text-muted); }
.bm-footer-col ul a:hover { color: var(--accent-2); }
.bm-footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
  font-size: .8rem; color: var(--text-muted);
}
.bm-footer-bottom .links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .bm-hero-grid, .bm-product-grid { grid-template-columns: 1fr; }
  .bm-hero-photo { max-width: 480px; margin: 0 auto; }
  .bm-hero-photo-img { aspect-ratio: 4 / 3; }
  .bm-hero-chip-left { left: 8px; bottom: 10%; }
  .bm-hero-chip-right { right: 8px; top: 10%; }
  .bm-apps-grid { grid-template-columns: repeat(2, 1fr); }
  .bm-approach-cards { grid-template-columns: repeat(2, 1fr); }
  .bm-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .bm-stat:nth-child(odd) { border-left: none; padding-left: 0; }
  .bm-footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .bm-footer-grid > div:nth-child(n+5) { display: none; }
  .bm-testimonials { grid-template-columns: 1fr; }
  .bm-approach-list { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 720px) {
  .bm-nav-links { display: none; }
  .bm-nav-links.bm-nav-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: .75rem 1rem 1.25rem; gap: 2px; z-index: 99;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .bm-nav-links.bm-nav-open li { width: 100%; }
  .bm-nav-links.bm-nav-open a { display: block; padding: 10px 12px; border-radius: 7px; }
  /* Dropdowns as accordions on mobile */
  .bm-nav-links.bm-nav-open .bm-dropdown {
    position: static; opacity: 1; visibility: visible; pointer-events: auto;
    transform: none; box-shadow: none; border: none; border-radius: 0;
    background: transparent; padding: 0 0 0 1rem;
    display: none;
  }
  .bm-nav-links.bm-nav-open .bm-has-dropdown.bm-dd-open .bm-dropdown { display: block; }
  .bm-nav-links.bm-nav-open .bm-dropdown a { font-size: .87rem; padding: 8px 12px; color: var(--text-muted); }
  .bm-nav-links.bm-nav-open .bm-dropdown-divider { display: none; }
  .bm-mobile-toggle { display: inline-flex; }
  .bm-hero-photo { max-width: 360px; }
  .bm-hero-photo-img { aspect-ratio: 1 / 1; }
  .bm-hero-chip { min-width: 0; padding: 10px 12px; }
  .bm-hero-chip-text { font-size: .9rem; }
  .bm-hero-chip-text small { display: none; }
  .bm-people-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .bm-people-card:nth-child(n) { transform: none; margin-top: 0; max-width: 360px; margin-inline: auto; }
  .bm-steps { grid-template-columns: 1fr; }
  .bm-step-flow-icon { display: none; }
  .bm-apps-grid, .bm-approach-cards { grid-template-columns: 1fr; }
  .bm-stats-inner { grid-template-columns: 1fr 1fr; }
  .bm-footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

/* ════════════════════════════════════════════════════ UTILS ═══ */
.bm-bg-2 { background: var(--bg-2); }
.bm-bg-3 { background: var(--bg-3); }
.bm-bg-ink { background: var(--bg-ink); color: var(--on-ink); }
.bm-divider { height: 1px; background: var(--border); margin: 0; }

/* Subtle entrance for hero/grid items */
@media (prefers-reduced-motion: no-preference) {
  .bm-anim-up { animation: bmUp .65s cubic-bezier(.2,.7,.2,1) both; }
  .bm-anim-up-d1 { animation: bmUp .7s .08s cubic-bezier(.2,.7,.2,1) both; }
  .bm-anim-up-d2 { animation: bmUp .7s .16s cubic-bezier(.2,.7,.2,1) both; }
  .bm-anim-up-d3 { animation: bmUp .7s .24s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes bmUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ════════════════════════════════════════════════════ PAGE HERO (inner pages) ═══ */
.bm-page-hero {
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 5vw, 2.5rem) clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(900px 400px at 90% -20%, var(--accent-tint2), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.bm-page-hero-inner { max-width: var(--maxw); margin: 0 auto; }
.bm-page-hero h1 { margin-bottom: 1.25rem; }
.bm-page-hero .bm-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); }

/* ════════════════════════════════════════════════════ PRICING ═══ */
.bm-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bm-price-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  display: flex; flex-direction: column; gap: .75rem;
  transition: transform .22s, border-color .22s, box-shadow .22s;
}
.bm-price-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-md); }
.bm-price-card.featured { background: var(--bg); border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-tint2), var(--shadow-md); position: relative; }
.bm-price-tag-label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.bm-price-name { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; color: var(--text); }
.bm-price-amount { font-family: var(--font-head); font-size: 2.6rem; font-weight: 600; color: var(--text); line-height: 1; letter-spacing: -.025em; }
.bm-price-amount span { font-family: var(--font-body); font-size: .95rem; color: var(--text-muted); font-weight: 400; }
.bm-price-desc { font-size: .9rem; color: var(--text-muted); padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.bm-price-features { list-style: none; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.bm-price-features li { font-size: .88rem; color: var(--text-muted); padding-left: 1.5rem; position: relative; line-height: 1.5; }
.bm-price-features li::before { content: ''; position: absolute; left: 0; top: .5rem; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.bm-price-card .bm-btn { margin-top: 1.5rem; justify-content: center; }
.bm-price-badge { position: absolute; top: -12px; right: 1.5rem; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 12px; border-radius: 50px; }

.bm-compare {
  width: 100%; border-collapse: collapse; font-size: .9rem;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.bm-compare th { background: var(--bg-3); padding: 1rem 1.25rem; text-align: left; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.bm-compare td { padding: .9rem 1.25rem; border-bottom: 1px solid var(--border); color: var(--text-muted); vertical-align: middle; }
.bm-compare tr:last-child td { border-bottom: none; }
.bm-compare td:first-child { color: var(--text); font-weight: 500; }
.bm-compare .check { color: var(--accent); font-weight: 700; font-size: 1.05rem; }
.bm-compare .dash { color: var(--border); }
.bm-compare tr:hover td { background: var(--bg); }

.bm-faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.bm-faq-item {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.bm-faq-item summary {
  list-style: none; cursor: pointer;
  padding: 1.2rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-weight: 600; color: var(--text);
}
.bm-faq-item summary::-webkit-details-marker { display: none; }
.bm-faq-item summary::after {
  content: '+'; font-size: 1.4rem; color: var(--accent); font-weight: 300;
  transition: transform .2s;
}
.bm-faq-item[open] summary::after { transform: rotate(45deg); }
.bm-faq-item .bm-faq-a {
  padding: 0 1.5rem 1.4rem; font-size: .92rem; color: var(--text-muted); line-height: 1.65;
}

/* ════════════════════════════════════════════════════ BLOG ═══ */
.bm-blog-feature {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr;
  margin-bottom: 3rem;
}
.bm-blog-feature-art {
  position: relative; min-height: 340px;
  background: var(--bg-3);
  display: flex; align-items: flex-end; padding: 2rem;
  overflow: hidden;
}
.bm-blog-feature-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bm-blog-feature-tag {
  position: relative; background: var(--accent); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 50px;
}
.bm-blog-feature-body { padding: 2.5rem 2.25rem; display: flex; flex-direction: column; justify-content: center; }
.bm-blog-feature-body h2 { font-family: var(--font-head); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; line-height: 1.2; color: var(--text); margin-bottom: .9rem; letter-spacing: -.012em; }
.bm-blog-feature-body p { font-size: .96rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1.5rem; }

.bm-blog-meta { font-size: .76rem; color: var(--text-muted); margin-bottom: .75rem; }
.bm-blog-meta b { color: var(--accent-2); font-weight: 700; }

.bm-read-link { font-size: .88rem; font-weight: 600; color: var(--accent-2); display: inline-flex; align-items: center; gap: 6px; }

.bm-blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; }
.bm-blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.bm-post-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .22s, border-color .22s, box-shadow .22s;
  display: flex; flex-direction: column;
}
.bm-post-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-md); }
.bm-post-card-art {
  width: 100%; aspect-ratio: 16/9; background: var(--bg-3); position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.bm-post-card-art svg { width: 100%; height: 100%; }
.bm-post-card-art img { width: 100%; height: 100%; object-fit: cover; }
.bm-post-card-body { padding: 1.25rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.bm-post-cat { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); margin-bottom: .4rem; }
.bm-post-card-body h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; margin-bottom: .4rem; line-height: 1.25; color: var(--text); letter-spacing: -.005em; }
.bm-post-card-body p { font-size: .85rem; color: var(--text-muted); line-height: 1.55; margin-bottom: 1rem; flex: 1; }
.bm-post-card-foot { display: flex; align-items: center; justify-content: space-between; font-size: .75rem; color: var(--text-muted); padding-top: .75rem; border-top: 1px solid var(--border); }
.bm-post-card-foot a { color: var(--accent-2); font-weight: 600; }

.bm-side { display: flex; flex-direction: column; gap: 20px; }
.bm-side-widget { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem 1.4rem; }
.bm-side-widget h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; margin-bottom: .9rem; color: var(--text); }
.bm-side-widget ul { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.bm-side-widget ul a { font-size: .85rem; color: var(--text); line-height: 1.4; }
.bm-side-widget ul a:hover { color: var(--accent-2); }
.bm-side-widget .meta { font-size: .72rem; color: var(--text-muted); margin-top: .15rem; }
.bm-topic-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bm-topic-chip { font-size: .72rem; font-weight: 600; background: var(--bg); border: 1px solid var(--border); color: var(--text); padding: 4px 10px; border-radius: 50px; }
.bm-topic-chip:hover { border-color: var(--accent); color: var(--accent-2); }
.bm-side-input { width: 100%; padding: 9px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 7px; font-family: inherit; font-size: .85rem; color: var(--text); margin-bottom: .65rem; }
.bm-side-input:focus { outline: none; border-color: var(--accent); }

@media (max-width: 1024px) {
  .bm-blog-layout { grid-template-columns: 1fr; }
  .bm-blog-feature { grid-template-columns: 1fr; }
  .bm-price-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .bm-blog-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════ ABOUT ═══ */
.bm-vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.bm-vm-block { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.25rem 2rem; }
.bm-vm-block h3 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; line-height: 1.2; margin-bottom: 1rem; color: var(--text); letter-spacing: -.012em; }
.bm-vm-block p { color: var(--text-muted); line-height: 1.7; margin-bottom: .9rem; font-size: .95rem; }
.bm-vm-block .bm-eyebrow { margin-bottom: .8rem; }
.bm-chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 1.25rem; }
.bm-stake-chip { font-size: .72rem; font-weight: 600; background: var(--accent-tint); color: var(--accent-2); padding: 4px 11px; border-radius: 50px; border: 1px solid var(--accent-tint2); }

.bm-pull-quote {
  font-family: var(--font-head); font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 600; line-height: 1.4;
  border-left: 3px solid var(--accent);
  padding: .25rem 0 .25rem 1.5rem; margin: 1.75rem 0;
  color: var(--text); letter-spacing: -.01em;
}

.bm-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bm-value { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem 1.5rem; }
.bm-value .bm-icon-wrap {
  width: 40px; height: 40px; border-radius: 9px;
  background: var(--accent-tint); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.bm-value .bm-icon-wrap svg { width: 20px; height: 20px; }
.bm-value h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; margin-bottom: .5rem; color: var(--text); line-height: 1.25; }
.bm-value p { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

.bm-timeline { position: relative; padding-left: 2.25rem; max-width: 720px; }
.bm-timeline::before { content: ''; position: absolute; left: 0; top: .4rem; bottom: .4rem; width: 1px; background: var(--border); }
.bm-tl-item { position: relative; margin-bottom: 2.25rem; }
.bm-tl-item::before { content: ''; position: absolute; left: -2.6rem; top: .35rem; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); border: 2px solid var(--bg); }
.bm-tl-date { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); margin-bottom: .35rem; }
.bm-tl-title { font-family: var(--font-head); font-size: 1.18rem; font-weight: 600; margin-bottom: .35rem; color: var(--text); letter-spacing: -.005em; }
.bm-tl-body { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }

.bm-tech-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.bm-tech-chip {
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  padding: .9rem 1rem;
}
.bm-tech-chip-name { font-size: .9rem; font-weight: 600; color: var(--text); margin-bottom: .15rem; }
.bm-tech-chip-role { font-size: .7rem; color: var(--text-muted); letter-spacing: .04em; }

@media (max-width: 720px) {
  .bm-vm-grid { grid-template-columns: 1fr; }
  .bm-values-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════ FEATURES (deep dive) ═══ */
.bm-feat-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.bm-feat-row.reverse > :first-child { order: 2; }
.bm-feat-text .bm-eyebrow { margin-bottom: .9rem; }
.bm-feat-text h2 { margin-bottom: 1rem; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.bm-feat-text p { color: var(--text-muted); line-height: 1.7; margin-bottom: 1.25rem; font-size: 1rem; }
.bm-feat-text ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.bm-feat-text ul li { padding-left: 1.5rem; position: relative; font-size: .9rem; color: var(--text-muted); line-height: 1.5; }
.bm-feat-text ul li::before { content: ''; position: absolute; left: 0; top: .55rem; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.bm-feat-mock {
  background: var(--bg-ink); color: var(--on-ink);
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-ink);
  box-shadow: var(--shadow-lg);
  font-size: .85rem;
}
.bm-feat-mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--bg-ink-2); border-bottom: 1px solid var(--border-ink); }
.bm-feat-mock-title { font-size: .76rem; color: var(--on-ink-mute); margin-left: 4px; }
.bm-feat-mock-body { padding: 1.25rem 1.4rem; display: flex; flex-direction: column; gap: 12px; }

@media (max-width: 1024px) {
  .bm-feat-row { grid-template-columns: 1fr; }
  .bm-feat-row.reverse > :first-child { order: 0; }
}
