/* ============================================================
   A/B TEST (v4) — two heroes; show one based on <html data-variant>
   ============================================================ */
/* Hide both until a variant is assigned (ab.js runs in <head>, so this is instant) */
.ab-a, .ab-b { display: none; }
html[data-variant="a"] .ab-a { display: block; }
html[data-variant="b"] .ab-b { display: block; }

/* ---- Team B: Bold & direct ---- */
.hero-b {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: clamp(3.5rem, 9vw, 7rem) 0;
}
.hero-b-inner { max-width: 760px; margin: 0 auto; }
.hero-b h1 { color: var(--cream); font-size: clamp(2.4rem, 9vw, 5rem); margin-bottom: 1.3rem; }
.hero-b h1 em { color: #a9c48f; }          /* lighter sage for contrast on dark */
.eyebrow-b { color: #d98b73; }             /* warm alert tone for the stat */
.lede-b { color: #d6d1c6; font-size: clamp(1.1rem, 2.5vw, 1.35rem); max-width: 46ch; margin: 0 auto 2rem; }
.hero-actions-b { justify-content: center; }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn-ghost-b { border: 1.5px solid rgba(255,255,255,.5); color: var(--cream); padding: .85rem 1.6rem; border-radius: var(--radius); font-weight: 600; font-size: .95rem; transition: all .25s var(--ease); }
.btn-ghost-b:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.hero-b-proof { display: flex; gap: 1.6rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; font-size: .9rem; color: #b9b4a8; }

/* ---- QA badge ---- */
.ab-badge {
  position: fixed; bottom: 16px; right: 16px; z-index: 200;
  background: var(--ink); color: var(--cream);
  border-radius: 999px; padding: .5rem .8rem; font-size: .8rem;
  display: flex; align-items: center; gap: .5rem;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.5);
}
.ab-badge strong { color: #a9c48f; }
.ab-badge a { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.12); font-weight: 600; }
.ab-badge a:hover { background: var(--sage); }

@media (max-width: 520px) {
  .hero-actions-b { flex-direction: column; align-items: stretch; }
  .hero-actions-b .btn, .hero-actions-b .btn-ghost-b { width: 100%; text-align: center; }
  .hero-b-proof { flex-direction: column; gap: .5rem; }
}

