/* Bia product page (DRAFT MOCKUP). Namespaced .bp-*; reuses continuity.css header/footer/eyebrow. */

body[data-bia-page='product'] {
  --bp-midnight: #050713;
  --bp-ink: #0a1023;
  --bp-panel: rgba(14, 20, 42, 0.72);
  --bp-panel-solid: #0e152c;
  --bp-pearl: #f7f1e8;
  --bp-mist: #b4bfd4;
  --bp-cyan: #66e7ef;
  --bp-violet: #9a7dff;
  --bp-magenta: #e68dff;
  --bp-amber: #edc98c;
  --bp-line: rgba(151, 222, 239, 0.2);
  --bp-line-strong: rgba(151, 222, 239, 0.38);
  --bp-radius: 1.25rem;

  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--bp-pearl);
  background:
    radial-gradient(circle at 50% -12%, rgba(78, 65, 153, 0.26), transparent 36rem),
    linear-gradient(180deg, #050713 0%, #070a18 52%, #050713 100%) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
}

body[data-bia-page='product'] * {
  box-sizing: border-box;
}

body[data-bia-page='product'] a {
  color: inherit;
}

.bp-draft {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0.55rem 1rem;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #1b1405;
  background: var(--bp-amber);
}

.bp-wrap {
  width: min(72rem, 100% - 2rem);
  margin-inline: auto;
}

.bp-main {
  position: relative;
  z-index: 1;
  padding-top: clamp(7.5rem, 12vw, 9.5rem);
}

body[data-bia-page='product'] .continuity-header {
  top: 2.1rem;
}

/* ---------- type ---------- */
.bp-h1,
.bp-h2,
.bp-h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 520;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

.bp-h1 {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  line-height: 1.04;
  max-width: 14ch;
}

.bp-h2 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  line-height: 1.1;
  max-width: 20ch;
}

.bp-h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.2;
}

.bp-lede {
  margin: 1.5rem 0 0;
  max-width: 38rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--bp-mist);
}

.bp-body {
  margin: 1rem 0 0;
  max-width: 34rem;
  color: var(--bp-mist);
}

.bp-body strong {
  color: var(--bp-pearl);
  font-weight: 600;
}

.bp-eyebrow {
  margin: 0 0 1.1rem;
  color: var(--bp-cyan);
  font-size: 0.74rem;
  font-weight: 680;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- buttons ---------- */
.bp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.bp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--bp-line-strong);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--bp-pearl);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.bp-btn:hover {
  transform: translateY(-1px);
  border-color: var(--bp-cyan);
}

.bp-btn--primary {
  color: #06101c;
  border-color: transparent;
  background: linear-gradient(90deg, var(--bp-cyan), var(--bp-violet) 60%, var(--bp-magenta));
}

.bp-btn--primary:hover {
  border-color: transparent;
  filter: brightness(1.08);
}

.bp-btn:focus-visible,
.bp-chips a:focus-visible,
.bp-nav a:focus-visible {
  outline: 2px solid var(--bp-cyan);
  outline-offset: 3px;
}

/* ---------- hero ---------- */
.bp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(2rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem);
}

.bp-hero__note {
  margin: 1.25rem 0 0;
  font-size: 0.86rem;
  color: var(--bp-mist);
}

/* ---------- quick nav ---------- */
.bp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0 0 clamp(2.5rem, 6vw, 4.5rem);
}

.bp-chips a {
  padding: 0.5rem 1rem;
  border: 1px solid var(--bp-line);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.86rem;
  color: var(--bp-mist);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.bp-chips a:hover {
  color: var(--bp-pearl);
  border-color: var(--bp-cyan);
}

/* ---------- panels / mock UI ---------- */
.bp-frame {
  position: relative;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  background: var(--bp-panel);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(2, 4, 14, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.bp-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 85% -10%, rgba(154, 125, 255, 0.18), transparent 18rem);
}

.bp-frame__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--bp-line);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bp-mist);
}

.bp-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--bp-cyan);
  box-shadow: 0 0 12px var(--bp-cyan);
}

.bp-frame__body {
  position: relative;
  display: grid;
  gap: 0.85rem;
  padding: clamp(1rem, 2.4vw, 1.5rem);
}

.bp-caption {
  margin: 0.9rem 0 0;
  font-size: 0.78rem;
  color: var(--bp-mist);
  opacity: 0.85;
}

/* chat */
.bp-msg {
  max-width: 88%;
  padding: 0.8rem 1rem;
  border-radius: 1rem;
  font-size: 0.94rem;
  line-height: 1.5;
}

.bp-msg--bia {
  background: rgba(154, 125, 255, 0.14);
  border: 1px solid rgba(154, 125, 255, 0.28);
  border-bottom-left-radius: 0.3rem;
}

.bp-msg--you {
  justify-self: end;
  background: rgba(102, 231, 239, 0.1);
  border: 1px solid rgba(102, 231, 239, 0.26);
  border-bottom-right-radius: 0.3rem;
}

.bp-msg small {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bp-cyan);
}

.bp-thread-marker {
  justify-self: center;
  padding: 0.25rem 0.8rem;
  border: 1px dashed var(--bp-line-strong);
  border-radius: 999px;
  font-size: 0.74rem;
  color: var(--bp-amber);
}

/* chips + cards */
.bp-tag {
  display: inline-block;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--bp-line-strong);
  color: var(--bp-cyan);
}

.bp-tag--violet {
  color: var(--bp-violet);
  border-color: rgba(154, 125, 255, 0.5);
}

.bp-tag--amber {
  color: var(--bp-amber);
  border-color: rgba(237, 201, 140, 0.5);
}

.bp-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 0.9rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid var(--bp-line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.bp-avatar {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.05rem;
  color: #06101c;
  background: linear-gradient(135deg, var(--bp-cyan), var(--bp-violet));
  grid-row: span 2;
}

.bp-card strong {
  font-size: 0.97rem;
}

.bp-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--bp-mist);
}

.bp-card__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.bp-mini-btn {
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--bp-line-strong);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--bp-pearl);
  background: transparent;
  font-family: inherit;
}

.bp-mini-btn--solid {
  border-color: transparent;
  color: #06101c;
  background: var(--bp-cyan);
  font-weight: 650;
}

/* opportunity card (modeled on the live Bia opportunity card) */
.bp-opp {
  padding: clamp(1rem, 2.4vw, 1.4rem);
  border: 1px solid var(--bp-line-strong);
  border-radius: 1.1rem;
  background: rgba(20, 22, 38, 0.9);
}

.bp-opp__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem 1rem;
}

.bp-opp__tag {
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #2c2487;
  background: #ecebff;
}

.bp-opp__closes {
  font-size: 0.82rem;
  color: var(--bp-mist);
}

.bp-opp__title {
  margin: 0.9rem 0 0;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 560;
  line-height: 1.25;
}

.bp-opp__org {
  margin: 0.3rem 0 0;
  font-size: 0.92rem;
  color: var(--bp-mist);
}

.bp-opp__summary {
  margin: 0.9rem 0 0;
  font-size: 0.97rem;
}

.bp-opp__open {
  margin: 0.7rem 0 0;
  font-size: 0.85rem;
  color: var(--bp-mist);
}

.bp-opp__why {
  margin: 0.9rem 0 0;
  padding-left: 0.85rem;
  border-left: 2px solid var(--bp-violet);
  font-size: 0.92rem;
  color: var(--bp-pearl);
}

.bp-opp__why span {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.68rem;
  font-weight: 680;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bp-violet);
}

.bp-opp__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.bp-opp__btn {
  padding: 0.55rem 1.05rem;
  border: 1px solid var(--bp-line-strong);
  border-radius: 0.7rem;
  font-size: 0.88rem;
  font-weight: 560;
}

.bp-opp__btn--primary {
  border-color: transparent;
  color: #fff;
  background: #5648c0;
}

.bp-opp__source {
  margin: 1.1rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid var(--bp-line);
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--bp-mist);
  opacity: 0.85;
}

/* shared panel bits */
.bp-panel-sub {
  margin: 0;
  font-size: 0.86rem;
  color: var(--bp-mist);
}

/* introductions card (modeled on the live Bia Introductions card) */
.bp-lanes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.bp-lanes span {
  padding: 0.28rem 0.75rem;
  border: 1px solid var(--bp-line);
  border-radius: 999px;
  font-size: 0.76rem;
  color: var(--bp-mist);
}

.bp-lanes .is-active {
  color: var(--bp-pearl);
  border-color: var(--bp-cyan);
  background: rgba(102, 231, 239, 0.1);
}

.bp-intro {
  padding: clamp(1rem, 2.4vw, 1.3rem);
  border: 1px solid var(--bp-line-strong);
  border-radius: 1.1rem;
  background: rgba(20, 22, 38, 0.9);
}

.bp-intro__identity {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.bp-intro__who {
  flex: 1;
  min-width: 0;
}

.bp-intro__name {
  margin: 0;
  font-weight: 620;
}

.bp-intro__purpose {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--bp-mist);
}

.bp-intro__lead {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--bp-mist);
}

.bp-intro__headline {
  margin: 0.4rem 0 0;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 560;
  line-height: 1.25;
}

.bp-intro__why {
  margin: 0.8rem 0 0;
  padding-left: 0.85rem;
  border-left: 2px solid var(--bp-violet);
  font-size: 0.9rem;
}

.bp-intro__why span {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.68rem;
  font-weight: 680;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bp-violet);
}

.bp-intro__time {
  margin: 0.7rem 0 0;
  font-size: 0.78rem;
  color: var(--bp-mist);
}

.bp-intro__actions,
.bp-conn__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
}

.bp-intro__btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--bp-line-strong);
  border-radius: 0.7rem;
  font-size: 0.85rem;
  font-weight: 560;
}

.bp-intro__btn--primary {
  border-color: transparent;
  color: #fff;
  background: #5648c0;
}

.bp-intro__rev {
  margin: 0.9rem 0 0;
  padding-top: 0.7rem;
  border-top: 1px solid var(--bp-line);
  font-size: 0.76rem;
  color: var(--bp-mist);
}

/* memory view */
.bp-ledger__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  align-items: stretch;
}

.bp-ledger__stats > div {
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--bp-line);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
}

.bp-ledger__stats small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bp-mist);
}

.bp-ledger__stats strong {
  font-size: 0.9rem;
}

.bp-ledger__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.bp-ledger__influence {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 0.8rem;
  align-items: center;
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--bp-mist);
}

.bp-ledger__influence i {
  grid-column: 1 / -1;
  grid-row: 2;
  display: block;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--bp-line);
}

.bp-ledger__influence b {
  display: block;
  width: 34%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--bp-violet), var(--bp-cyan));
}

.bp-ledger__influence strong {
  color: var(--bp-pearl);
}

@media (max-width: 40rem) {
  .bp-ledger__stats {
    grid-template-columns: 1fr;
  }
}

/* governed connections */
.bp-conn__trust {
  margin: 0;
  font-size: 0.85rem;
  color: var(--bp-mist);
}

.bp-conn__trust strong {
  margin-right: 0.35rem;
  color: var(--bp-cyan);
}

.bp-conn {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr);
  gap: 0.8rem;
}

.bp-conn__item,
.bp-conn__charter > div,
.bp-conn__thread,
.bp-conn__composer {
  border: 1px solid var(--bp-line);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
}

.bp-conn__item {
  display: block;
  padding: 0.75rem 0.85rem;
}

.bp-conn__item.is-selected {
  border-color: var(--bp-cyan);
  background: rgba(102, 231, 239, 0.08);
}

.bp-conn__item strong,
.bp-conn__charter strong {
  display: block;
  font-size: 0.88rem;
}

.bp-conn small {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.7rem;
  color: var(--bp-mist);
}

.bp-conn__main {
  display: grid;
  gap: 0.6rem;
  min-width: 0;
}

.bp-conn__charter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.bp-conn__charter > div {
  padding: 0.65rem 0.8rem;
}

.bp-conn__charter strong {
  font-weight: 560;
  line-height: 1.35;
}

.bp-conn__thread {
  display: grid;
  gap: 0.5rem;
  padding: 0.7rem;
}

.bp-conn__msg {
  max-width: 88%;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--bp-line);
  border-radius: 0.8rem;
  font-size: 0.85rem;
}

.bp-conn__msg--own {
  justify-self: end;
  border-color: rgba(102, 231, 239, 0.3);
  background: rgba(102, 231, 239, 0.08);
}

.bp-conn__composer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0.8rem;
  font-size: 0.85rem;
  color: var(--bp-mist);
}

.bp-conn__count {
  margin-left: auto;
  font-size: 0.74rem;
}

.bp-conn__controls {
  margin-top: 0;
}

.bp-conn__report {
  font-size: 0.78rem;
  color: var(--bp-mist);
}

.bp-conn__expire {
  margin: 0;
  font-size: 0.76rem;
  color: var(--bp-amber);
}

@media (max-width: 40rem) {
  .bp-conn,
  .bp-conn__charter {
    grid-template-columns: 1fr;
  }
}

/* timing track */
.bp-track {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0;
}

.bp-track i {
  display: block;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--bp-line-strong);
}

.bp-track i:nth-child(1) { width: 1.2rem; }
.bp-track i:nth-child(2) { width: 2.2rem; }
.bp-track i:nth-child(3) { width: 3.8rem; }
.bp-track i:nth-child(4) { width: 6rem; }

.bp-track span {
  font-size: 0.74rem;
  color: var(--bp-mist);
}

/* consent doorway */
.bp-doorway {
  display: grid;
  gap: 0.6rem;
}

.bp-doorway ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.bp-doorway li {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  font-size: 0.9rem;
  color: var(--bp-mist);
}

.bp-doorway li::before {
  content: '';
  flex: none;
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--bp-amber);
}

/* ---------- feature rows ---------- */
.bp-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 5rem);
  border-top: 1px solid var(--bp-line);
  scroll-margin-top: 5rem;
}

.bp-feature--flip .bp-feature__copy {
  order: 2;
}

.bp-feature__num {
  display: block;
  margin-bottom: 0.9rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 0.95rem;
  color: var(--bp-amber);
  letter-spacing: 0.1em;
}

/* ---------- boundaries ---------- */
.bp-band {
  padding-block: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid var(--bp-line);
  background: linear-gradient(180deg, transparent, rgba(154, 125, 255, 0.06), transparent);
}

.bp-grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.bp-tile {
  padding: 1.4rem 1.4rem 1.5rem;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  background: var(--bp-panel);
}

.bp-tile h3 {
  margin: 0 0 0.5rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.3rem;
  font-weight: 520;
}

.bp-tile p {
  margin: 0;
  color: var(--bp-mist);
  font-size: 0.95rem;
}

.bp-not {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}

.bp-not li {
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--bp-line-strong);
  border-radius: 999px;
  color: var(--bp-pearl);
  text-decoration: line-through;
  text-decoration-color: var(--bp-magenta);
  text-decoration-thickness: 2px;
}

.bp-fineprint {
  margin: 1.8rem 0 0;
  max-width: 46rem;
  font-size: 0.84rem;
  color: var(--bp-mist);
}

/* ---------- closing CTA ---------- */
.bp-close {
  padding-block: clamp(3.5rem, 8vw, 7rem);
  border-top: 1px solid var(--bp-line);
  text-align: center;
}

.bp-close .bp-h2 {
  margin-inline: auto;
}

.bp-close .bp-body {
  margin-inline: auto;
}

.bp-close .bp-actions {
  justify-content: center;
}

/* ---------- footer spacing (shared .continuity-footer) ---------- */
body[data-bia-page='product'] .continuity-footer {
  position: relative;
  z-index: 1;
}

/* ---------- responsive ---------- */
@media (max-width: 62rem) {
  .bp-hero,
  .bp-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .bp-feature--flip .bp-feature__copy {
    order: 0;
  }

  .bp-grid3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 30rem) {
  .bp-msg {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bp-btn {
    transition: none;
  }

  .bp-btn:hover {
    transform: none;
  }
}

/* ---------- persona + how it works + FAQ ---------- */
.bp-persona {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.4rem;
  align-items: center;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  background: linear-gradient(90deg, rgba(154, 125, 255, 0.12), rgba(102, 231, 239, 0.06));
}

.bp-persona .bp-avatar {
  width: 3.4rem;
  height: 3.4rem;
  font-size: 1.4rem;
  grid-row: auto;
}

.bp-persona p {
  margin: 0;
  color: var(--bp-mist);
}

.bp-persona strong {
  color: var(--bp-pearl);
}

.bp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.bp-steps li {
  position: relative;
  padding: 1.4rem 1.4rem 1.5rem;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  background: var(--bp-panel);
  counter-increment: step;
}

.bp-steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.8rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.1rem;
  color: var(--bp-amber);
}

.bp-steps h3 {
  margin: 0 0 0.4rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.25rem;
  font-weight: 520;
}

.bp-steps p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--bp-mist);
}

.bp-faq {
  display: grid;
  gap: 0.7rem;
  max-width: 48rem;
  margin: 2rem auto 0;
  text-align: left;
}

.bp-faq details {
  border: 1px solid var(--bp-line);
  border-radius: 1rem;
  background: var(--bp-panel);
}

.bp-faq summary {
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-weight: 600;
  list-style: none;
}

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

.bp-faq summary::after {
  content: '+';
  float: right;
  color: var(--bp-cyan);
}

.bp-faq details[open] summary::after {
  content: '−';
}

.bp-faq summary:focus-visible {
  outline: 2px solid var(--bp-cyan);
  outline-offset: 2px;
  border-radius: 1rem;
}

.bp-faq p {
  margin: 0;
  padding: 0 1.2rem 1.1rem;
  color: var(--bp-mist);
  font-size: 0.95rem;
}

/* ---------- consent tiers, vault entries, signals ---------- */
.bp-tiers {
  display: grid;
  gap: 0.55rem;
}

.bp-tier {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--bp-line);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
}

.bp-tier.is-on {
  border-color: var(--bp-cyan);
  background: rgba(102, 231, 239, 0.08);
}

.bp-tier__radio {
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.2rem;
  border: 2px solid var(--bp-line-strong);
  border-radius: 50%;
}

.bp-tier.is-on .bp-tier__radio {
  border-color: var(--bp-cyan);
  background: radial-gradient(circle, var(--bp-cyan) 0 45%, transparent 50%);
}

.bp-tier strong {
  font-size: 0.95rem;
}

.bp-tier em {
  margin-left: 0.4rem;
  font-style: normal;
  font-size: 0.74rem;
  color: var(--bp-amber);
}

.bp-tier p {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--bp-mist);
}

.bp-tier__consent {
  margin: 0;
  font-size: 0.84rem;
  color: var(--bp-mist);
}

.bp-mem__title {
  margin: 0;
  font-weight: 620;
}

.bp-mem__snippet {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--bp-mist);
}

.bp-sig__status {
  display: flex;
}

.bp-sig__section {
  margin: 0.2rem 0 0;
  font-size: 0.74rem;
  font-weight: 680;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bp-cyan);
}

.bp-sig__note,
.bp-sig__quiet {
  margin: 0;
  font-size: 0.82rem;
  color: var(--bp-mist);
}

.bp-sig__note strong {
  color: var(--bp-pearl);
}

.bp-sig__quiet {
  padding-top: 0.7rem;
  border-top: 1px solid var(--bp-line);
  font-style: italic;
}

/* ---------- scroll reveal (progressive enhancement) ---------- */
html.bp-js .bp-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.bp-js .bp-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 62rem) {
  .bp-steps {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.bp-js .bp-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- preview-scenario switcher ---------- */
.bp-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.bp-switch__label {
  width: 100%;
  font-size: 0.68rem;
  font-weight: 680;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bp-amber);
}

.bp-switch button {
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--bp-line-strong);
  border-radius: 999px;
  font: inherit;
  font-size: 0.8rem;
  color: var(--bp-mist);
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.bp-switch button:hover {
  color: var(--bp-pearl);
  border-color: var(--bp-cyan);
}

.bp-switch button[aria-selected='true'] {
  color: #06101c;
  border-color: transparent;
  font-weight: 650;
  background: linear-gradient(90deg, var(--bp-cyan), var(--bp-violet));
}

.bp-switch button:focus-visible {
  outline: 2px solid var(--bp-cyan);
  outline-offset: 2px;
}

.bp-panel[hidden] {
  display: none;
}

/* ---------- memory + vault drawers (dark, matching the chat surface) ---------- */
.bp-drawers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.bp-drawer {
  display: grid;
  gap: 0.6rem;
  align-content: start;
  min-width: 0;
  padding: 1rem;
  border: 1px solid transparent;
  border-radius: 1.2rem;
  color: var(--bp-pearl);
  background: linear-gradient(#141729, #0f1220) padding-box,
    linear-gradient(135deg, rgba(102, 231, 239, 0.55), rgba(154, 125, 255, 0.45) 55%, rgba(255, 107, 181, 0.5)) border-box;
  box-shadow: 0 24px 60px rgba(2, 4, 14, 0.55);
}

.bp-drawer__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
}

.bp-drawer__head strong {
  flex: 1;
}

.bp-drawer__btn,
.bp-drawer__x {
  padding: 0.2rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0;
  color: var(--bp-mist);
  background: rgba(255, 255, 255, 0.05);
}

.bp-drawer__search {
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(102, 231, 239, 0.4);
  border-radius: 0.8rem;
  font-size: 0.82rem;
  color: rgba(180, 191, 212, 0.6);
  background: #080c18;
}

.bp-drawer__chips,
.bp-drawer__tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.bp-drawer__chips span,
.bp-drawer__tiers span {
  padding: 0.22rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.74rem;
  color: var(--bp-mist);
  background: rgba(255, 255, 255, 0.04);
}

.bp-drawer__chips .is-on {
  color: #fff;
  border-color: transparent;
  background: #5648c0;
}

.bp-drawer__tiers b {
  margin-left: 0.25rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  font-size: 0.7rem;
  color: var(--bp-pearl);
  background: rgba(255, 255, 255, 0.12);
}

.bp-drawer__tiers i {
  font-style: normal;
  color: #ff7ab8;
}

.bp-drawer__count,
.bp-drawer__group {
  margin: 0.3rem 0 0;
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bp-cyan);
}

.bp-drawer__card {
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.04);
}

.bp-drawer__title {
  display: flex;
  justify-content: space-between;
  margin: 0;
  font-size: 0.86rem;
  font-weight: 650;
}

.bp-drawer__snip {
  margin: 0.3rem 0 0;
  font-size: 0.8rem;
  color: var(--bp-mist);
}

.bp-drawer__card small {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.68rem;
  color: rgba(180, 191, 212, 0.75);
}

/* ---------- sovereignty console ---------- */
.bp-ctl {
  display: grid;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--bp-line);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.03);
}

.bp-ctl__title {
  margin: 0;
  font-weight: 650;
}

.bp-ctl__what,
.bp-ctl__impact {
  margin: 0;
  font-size: 0.8rem;
  color: var(--bp-mist);
}

.bp-ctl__impact {
  padding-top: 0.5rem;
  border-top: 1px solid var(--bp-line);
  color: var(--bp-cyan);
}

.bp-ctl__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  font-size: 0.86rem;
}

@media (max-width: 40rem) {
  .bp-drawers {
    grid-template-columns: 1fr;
  }
}

/* ---------- profile rows ---------- */
.bp-prof {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.5rem 0.8rem;
  align-items: center;
  padding: 0.8rem 1rem;
  border: 1px solid var(--bp-line);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.03);
}

.bp-prof small {
  display: block;
  font-size: 0.68rem;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bp-cyan);
}

.bp-prof p {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
}

.bp-ctl__impact a {
  color: inherit;
  text-underline-offset: 3px;
}

@media (max-width: 40rem) {
  .bp-prof {
    grid-template-columns: 1fr;
  }

  .bp-prof .bp-tag,
  .bp-prof .bp-intro__btn {
    justify-self: start;
  }
}

/* ---------- understanding rail ---------- */
.bp-frame--glow {
  border: 1px solid transparent;
  background: linear-gradient(var(--bp-ink), var(--bp-ink)) padding-box,
    linear-gradient(135deg, var(--bp-cyan), var(--bp-violet) 55%, #ff6bb5) border-box;
}

.bp-read__summary {
  margin: 0;
  font-size: 1.02rem;
}

.bp-read__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--bp-line);
}

.bp-read__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  padding: 0.3rem 0.8rem;
  border: 1px solid;
  border-radius: 999px;
  font-size: 0.82rem;
}

.bp-read__chip b {
  color: var(--bp-pearl);
  font-weight: 650;
}

.bp-read__chip.is-dir { color: #7fe3ea; border-color: rgba(102, 231, 239, 0.45); background: rgba(102, 231, 239, 0.08); }
.bp-read__chip.is-pace { color: #86e0a8; border-color: rgba(134, 224, 168, 0.45); background: rgba(134, 224, 168, 0.08); }
.bp-read__chip.is-time { color: #b4a3ff; border-color: rgba(154, 125, 255, 0.5); background: rgba(154, 125, 255, 0.1); }

.bp-read__row {
  display: grid;
  gap: 0.5rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--bp-line);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
}

.bp-read__row .bp-read__chip {
  justify-self: start;
}

.bp-read__row p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--bp-mist);
}

.bp-read__steer {
  margin: 0.2rem 0 0;
  font-size: 0.95rem;
  color: #9ad8e0;
}

.bp-read__note {
  margin: 0;
  padding-top: 0.7rem;
  border-top: 1px solid var(--bp-line);
  font-size: 0.82rem;
  font-style: italic;
  color: var(--bp-mist);
}

.bp-read__refine {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem 1rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--bp-line);
  border-radius: 0.9rem;
  font-size: 0.88rem;
}

/* ---------- hero: the real Bia chat surface (dark) ---------- */
.bp-chat {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 31rem;
  border-radius: 1.4rem;
  background: #131316;
  box-shadow: 0 40px 90px rgba(2, 4, 14, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 0 90px rgba(154, 125, 255, 0.22);
}

.bp-chat__head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 1.4rem 1.4rem 0 0;
  background: linear-gradient(90deg, rgba(31, 92, 122, 0.85), rgba(38, 34, 116, 0.9) 52%, rgba(112, 32, 98, 0.85));
}

/* The orb is the canonical component. It is scaled as a whole, never restyled. */
.bp-chat__logo {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  transform: scale(1.3);
  transform-origin: 30% 50%;
  margin-right: 0.35rem;
}

.bp-chat__brand {
  display: grid;
  flex: 1;
  min-width: 0;
  line-height: 1.2;
}

.bp-chat__brand strong {
  font-size: 0.95rem;
}

.bp-chat__brand small {
  font-size: 0.7rem;
  color: rgba(247, 241, 232, 0.72);
}

.bp-chat__mode {
  padding: 0.3rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.74rem;
  background: rgba(255, 255, 255, 0.1);
}

.bp-chat__avatar {
  display: grid;
  grid-template-columns: repeat(2, 0.32rem);
  gap: 0.18rem;
  place-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(154, 125, 255, 0.55), rgba(40, 30, 90, 0.9));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.bp-chat__avatar i {
  display: block;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: #66e7ef;
}

.bp-chat__avatar i:nth-child(2) { background: #ff6bd5; }
.bp-chat__avatar i:nth-child(3) { background: #9a7dff; }

.bp-chat__menu {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.bp-chat__body {
  display: grid;
  flex: 1;
  place-items: center;
  padding: 1.6rem 1.2rem 1rem;
}

.bp-chat__resume {
  width: min(26rem, 100%);
  padding: 1.4rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 1.4rem;
  text-align: center;
  background: linear-gradient(#171a2c, #121524) padding-box,
    linear-gradient(135deg, #66e7ef, #9a7dff 55%, #ff6bb5) border-box;
}

.bp-chat__resume h2 {
  margin: 0;
  font-family: inherit;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  line-height: 1.2;
}

.bp-chat__resume p {
  margin: 0.8rem auto 0;
  font-size: 0.9rem;
  color: var(--bp-mist);
}

.bp-chat__resume small {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(180, 191, 212, 0.8);
}

.bp-chat__resume-actions {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.bp-chat__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0.5rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 650;
  background: rgba(255, 255, 255, 0.06);
}

.bp-chat__btn--primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(90deg, #ff4fb8, #e04bd6);
  box-shadow: 0 6px 20px rgba(255, 79, 184, 0.4);
}

.bp-chat__composer {
  position: relative;
  z-index: 1;
  margin: 0 3.8rem 1.1rem 1.1rem;
  border: 2px solid transparent;
  border-radius: 1.4rem;
  background: linear-gradient(#080c18, #080c18) padding-box,
    linear-gradient(100deg, #ff4fb0, #4fb8ff 50%, #7a6bff) border-box;
}

.bp-chat__lanes {
  padding: 0.6rem 1rem;
  font-size: 0.74rem;
  color: rgba(180, 191, 212, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.bp-chat__input {
  padding: 0.9rem 1.1rem;
  font-size: 0.95rem;
  color: rgba(180, 191, 212, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.bp-chat__tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.1rem;
  color: var(--bp-mist);
}

.bp-chat__tools svg {
  color: var(--bp-cyan);
}

/* Large orb, bottom-right, as on the live chat surface. Whole-object scale only. */
.bp-chat__orb {
  position: absolute;
  z-index: 3;
  right: 0.75rem;
  bottom: 1.4rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  transform: scale(1.5);
  transform-origin: 50% 50%;
}


.bp-hero > *,
.bp-feature > * {
  min-width: 0;
}

@media (max-width: 30rem) {
  .bp-chat__head {
    gap: 0.5rem;
    padding: 0.75rem 0.8rem;
  }

  .bp-chat__logo {
    margin-right: 0;
    transform: none;
  }

  .bp-chat__brand small {
    display: none;
  }

  .bp-chat__mode {
    padding: 0.25rem 0.6rem;
    font-size: 0.68rem;
    white-space: nowrap;
  }

  .bp-chat__avatar,
  .bp-chat__menu {
    width: 1.8rem;
    height: 1.8rem;
  }
}

/* ---------- governed connections: social-style messenger ---------- */
.bp-msgr {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
}

.bp-msgr__list {
  display: grid;
  gap: 0.4rem;
}

.bp-msgr__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: center;
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--bp-line);
  border-radius: 0.9rem;
  font: inherit;
  text-align: left;
  color: var(--bp-pearl);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.bp-msgr__item[aria-selected='true'] {
  border-color: var(--bp-cyan);
  background: rgba(102, 231, 239, 0.09);
}

.bp-msgr__item:focus-visible {
  outline: 2px solid var(--bp-cyan);
  outline-offset: 2px;
}

.bp-msgr__item .bp-avatar {
  width: 2.2rem;
  height: 2.2rem;
  font-size: 0.8rem;
  grid-row: auto;
}

.bp-msgr__meta {
  display: grid;
  min-width: 0;
}

.bp-msgr__meta strong {
  font-size: 0.86rem;
}

.bp-msgr__meta small,
.bp-msgr__item time {
  overflow: hidden;
  font-size: 0.72rem;
  color: var(--bp-mist);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.bp-msgr__thread {
  display: grid;
  gap: 0.6rem;
  min-width: 0;
  padding: 0.8rem;
  border: 1px solid var(--bp-line);
  border-radius: 1rem;
  background: rgba(8, 12, 24, 0.6);
}

.bp-msgr__thread[hidden] {
  display: none;
}

.bp-msgr__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--bp-line);
}

.bp-msgr__head > div {
  flex: 1;
  min-width: 0;
  display: grid;
}

.bp-msgr__head .bp-avatar {
  width: 2.3rem;
  height: 2.3rem;
  font-size: 0.85rem;
  grid-row: auto;
}

.bp-msgr__head small {
  font-size: 0.72rem;
  color: var(--bp-mist);
}

.bp-msgr__scroll {
  display: grid;
  gap: 0.55rem;
  max-height: 22rem;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.bp-md {
  margin: 0.2rem 0;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bp-mist);
}

.bp-mg {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}

.bp-mg--own {
  justify-content: flex-end;
}

.bp-mg .bp-avatar.bp-mg__av {
  flex: none;
  width: 1.7rem;
  height: 1.7rem;
  font-size: 0.65rem;
  grid-row: auto;
}

.bp-mg__stack {
  display: grid;
  gap: 0.2rem;
  max-width: 80%;
}

.bp-mg--own .bp-mg__stack {
  justify-items: end;
}

.bp-mb {
  margin: 0;
  width: fit-content;
  padding: 0.5rem 0.85rem;
  border-radius: 1.1rem 1.1rem 1.1rem 0.3rem;
  font-size: 0.88rem;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.08);
}

.bp-mg--own .bp-mb {
  border-radius: 1.1rem 1.1rem 0.3rem 1.1rem;
  color: #fff;
  background: #5648c0;
}

.bp-mg__stack small {
  font-size: 0.66rem;
  color: var(--bp-mist);
}

.bp-msgr__composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.55rem 0.55rem 0.9rem;
  border: 1px solid var(--bp-line-strong);
  border-radius: 999px;
  font-size: 0.85rem;
  color: rgba(180, 191, 212, 0.7);
  background: #080c18;
}

.bp-msgr__send {
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-weight: 650;
  color: #fff;
  background: #5648c0;
}

.bp-msgr__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.bp-msgr__controls .bp-intro__btn {
  padding: 0.25rem 0.75rem;
  font-size: 0.76rem;
}

.bp-msgr__controls em {
  margin-left: auto;
  font-size: 0.72rem;
  font-style: normal;
  color: var(--bp-amber);
}

@media (max-width: 40rem) {
  .bp-msgr {
    grid-template-columns: minmax(0, 1fr);
  }

  .bp-msgr__controls em {
    margin-left: 0;
    width: 100%;
  }
}

/* ---------- check-in inside the real chat window ---------- */
.bp-chat--thread {
  min-height: 0;
}

.bp-chat__thread {
  display: grid;
  gap: 0.8rem;
  padding: 1.2rem 1.1rem;
}

.bp-bia {
  width: fit-content;
  max-width: 82%;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px 18px 18px 10px;
  font-size: 0.92rem;
  line-height: 1.4;
  background: rgba(10, 14, 28, 0.72);
}

.bp-usr {
  justify-self: end;
  max-width: 78%;
  padding: 0.2rem 0.3rem;
  font-size: 0.92rem;
  line-height: 1.4;
  text-align: right;
  color: rgba(235, 242, 255, 0.92);
}

.bp-artifact {
  display: grid;
  gap: 0.5rem;
  max-width: 88%;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(8, 10, 18, 0.9);
  font-size: 0.88rem;
  color: rgba(235, 242, 255, 0.92);
}

.bp-artifact p {
  margin: 0;
}

.bp-artifact__title {
  font-size: 0.7rem;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bp-cyan);
}

.bp-artifact__status {
  font-size: 0.8rem;
  color: var(--bp-mist);
}

.bp-artifact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bp-chat__composer--flush {
  margin: 0 1.1rem 1.1rem;
}

.bp-msgr__head {
  flex-wrap: wrap;
}

.bp-msgr__head > div {
  flex: 1 1 9rem;
}

.bp-msgr__head strong,
.bp-msgr__head small,
.bp-msgr__head .bp-tag {
  white-space: nowrap;
}

.bp-msgr__scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(154, 125, 255, 0.5) transparent;
}

.bp-msgr__scroll {
  overflow-x: hidden;
}

.bp-mg__stack {
  min-width: 0;
}

.bp-mb {
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* ---------- lane switcher (Personal / Business+) ---------- */
.bp-lane {
  display: inline-flex;
  gap: 0.3rem;
  margin: 0 0 clamp(1.5rem, 4vw, 2.5rem);
  padding: 0.3rem;
  border: 1px solid var(--bp-line-strong);
  border-radius: 999px;
  background: var(--bp-panel);
}

.bp-lane button {
  display: grid;
  gap: 0.05rem;
  padding: 0.55rem 1.4rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 650;
  text-align: center;
  color: var(--bp-mist);
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.bp-lane button small {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

.bp-lane button[aria-selected='true'] {
  color: #06101c;
  background: linear-gradient(90deg, var(--bp-cyan), var(--bp-violet) 60%, var(--bp-magenta));
}

.bp-lane button:focus-visible {
  outline: 2px solid var(--bp-cyan);
  outline-offset: 2px;
}

[data-bp-lane-panel][hidden] {
  display: none !important;
}

/* ---------- Business+ ---------- */
.bp-biz {
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.bp-biz__intro {
  border-top: 0;
  align-items: start;
}

.bp-biz__who {
  margin-top: 1.5rem;
}

.bp-biz__state {
  margin-left: auto;
  letter-spacing: 0.04em;
}

.bp-biz__label {
  margin: 0.4rem 0 0;
  font-size: 0.68rem;
  font-weight: 680;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bp-amber);
}

.bp-biz__path {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bp-biz__path li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--bp-line);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
}

.bp-biz__path b {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  font-size: 0.78rem;
  color: #06101c;
  background: linear-gradient(135deg, var(--bp-cyan), var(--bp-violet));
}

.bp-biz__path small {
  display: block;
  font-size: 0.74rem;
  color: var(--bp-mist);
}

.bp-biz .bp-panel {
  display: grid;
  gap: 0.7rem;
}

.bp-biz .bp-panel[hidden] {
  display: none;
}

.bp-form {
  display: grid;
  gap: 0.6rem;
}

.bp-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.bp-form__f {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--bp-line);
  border-radius: 0.85rem;
  background: #080c18;
}

.bp-form__f small {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bp-cyan);
}

.bp-form__f span {
  overflow-wrap: anywhere;
  font-size: 0.88rem;
}

.bp-form__types span {
  font-size: 0.72rem;
}

.bp-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  gap: 0.5rem;
}

.bp-stats--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bp-stats > div {
  padding: 0.7rem 0.6rem;
  border: 1px solid var(--bp-line);
  border-radius: 0.9rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
}

.bp-stats b {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.45rem;
  font-weight: 560;
}

.bp-stats small {
  font-size: 0.7rem;
  color: var(--bp-mist);
}

.bp-biz__log {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bp-biz__log li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--bp-line);
  border-radius: 0.85rem;
  font-size: 0.86rem;
  background: rgba(255, 255, 255, 0.03);
}

.bp-biz__log em {
  flex: none;
  padding: 0.12rem 0.6rem;
  border: 1px solid;
  border-radius: 999px;
  font-size: 0.7rem;
  font-style: normal;
}

.bp-biz__log .is-ok { color: #86e0a8; border-color: rgba(134, 224, 168, 0.5); }
.bp-biz__log .is-review { color: var(--bp-amber); border-color: rgba(237, 201, 140, 0.5); }
.bp-biz__log .is-draft { color: var(--bp-mist); border-color: var(--bp-line-strong); }

.bp-biz__fam > p {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 680;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bp-cyan);
}

.bp-biz__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.bp-biz__flow {
  margin-top: clamp(2rem, 6vw, 4rem);
  padding-top: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--bp-line);
}

.bp-biz__flowgrid {
  margin-top: 2rem;
  padding-block: 0;
  border-top: 0;
  align-items: start;
}

.bp-steps--stack {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 0;
}

@media (max-width: 40rem) {
  .bp-stats--five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bp-form__row,
  .bp-biz__cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Business+ shell, matching the "For you" mocks ---------- */
.bp-biz__orgs {
  margin-bottom: 0.8rem;
}

.bp-biz__shell {
  overflow: visible;
}

.bp-biz__head {
  border-radius: 1.25rem 1.25rem 0 0;
}

.bp-plain {
  display: block;
  font-weight: 400;
}

.bp-biz__log .is-blocked {
  color: #ff8fa3;
  border-color: rgba(255, 143, 163, 0.5);
}

.bp-biz__head .bp-chat__logo {
  transform-origin: 30% 50%;
}

/* ---------- Business+ Insights: listings and outcomes, never people ---------- */
.bp-biz__handled li {
  align-items: flex-start;
}

.bp-biz__handled li > div {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.bp-biz__handled strong {
  font-size: 0.9rem;
}

.bp-biz__handled small {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--bp-mist);
}

.bp-biz__fine {
  margin: 0.4rem 0 0 !important;
  font-size: 0.74rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--bp-mist) !important;
}

.bp-biz__checks {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bp-biz__checks li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--bp-line);
  border-radius: 0.85rem;
  font-size: 0.86rem;
  background: rgba(255, 255, 255, 0.03);
}

.bp-biz__checks li span {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

.bp-biz__checks .is-pass span {
  color: #06101c;
  background: #86e0a8;
}

.bp-biz__checks .is-todo {
  border-color: rgba(237, 201, 140, 0.4);
}

.bp-biz__checks .is-todo span {
  color: #1b1405;
  background: var(--bp-amber);
}

/* ---------- Business+ console (workspace) ---------- */
.bp-biz__console {
  margin-top: clamp(2rem, 6vw, 4rem);
  padding-top: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--bp-line);
}

.bp-con {
  margin-top: 2rem;
}

.bp-con__layout {
  display: grid;
  grid-template-columns: minmax(0, 12rem) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
}

.bp-con__nav {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.bp-con__nav button {
  padding: 0.6rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 0.8rem;
  font: inherit;
  font-size: 0.9rem;
  text-align: left;
  color: var(--bp-mist);
  background: transparent;
  cursor: pointer;
}

.bp-con__nav button:hover {
  color: var(--bp-pearl);
  background: rgba(255, 255, 255, 0.05);
}

.bp-con__nav button[aria-selected='true'] {
  color: var(--bp-pearl);
  font-weight: 650;
  border-color: var(--bp-cyan);
  background: rgba(102, 231, 239, 0.1);
}

.bp-con__nav button:focus-visible {
  outline: 2px solid var(--bp-cyan);
  outline-offset: 2px;
}

.bp-con__main {
  min-width: 0;
}

.bp-con .bp-panel {
  display: grid;
  gap: 0.7rem;
}

.bp-con .bp-panel[hidden] {
  display: none;
}

.bp-biz__team li {
  align-items: center;
  justify-content: flex-start;
}

.bp-biz__team .bp-avatar {
  width: 2.1rem;
  height: 2.1rem;
  font-size: 0.75rem;
  grid-row: auto;
}

.bp-biz__team li > div {
  flex: 1;
}

.bp-biz__team em {
  margin-left: auto;
}

.bp-biz__pill {
  display: inline-block;
  margin-right: 0.4rem;
  padding: 0.1rem 0.6rem;
  border: 1px solid;
  border-radius: 999px;
  font-size: 0.7rem;
  font-style: normal;
}

.bp-biz__pill.is-ok {
  color: #86e0a8;
  border-color: rgba(134, 224, 168, 0.5);
}

.bp-meter {
  height: 0.55rem;
  border-radius: 999px;
  background: var(--bp-line);
  overflow: hidden;
}

.bp-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--bp-violet), var(--bp-cyan));
}

@media (max-width: 40rem) {
  .bp-con__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .bp-con__nav {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    padding-bottom: 0.3rem;
  }
}

/* ---------- Business+ onboarding ---------- */
.bp-biz__onboard {
  margin-top: clamp(2rem, 6vw, 4rem);
  padding-top: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--bp-line);
}

.bp-steps--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bp-steps--four li {
  display: grid;
  gap: 0.2rem;
  align-content: start;
}

.bp-steps--four .bp-tag {
  justify-self: start;
  margin-bottom: 0.3rem;
}

.bp-biz__journey {
  margin: 0.6rem 0 1rem;
}

.bp-draftnote {
  max-width: 46rem;
  margin: 1.5rem 0 0;
  padding: 0.6rem 0.9rem;
  border: 1px dashed rgba(237, 201, 140, 0.6);
  border-radius: 0.8rem;
  font-size: 0.78rem;
  color: var(--bp-amber);
}

@media (max-width: 62rem) {
  .bp-steps--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 40rem) {
  .bp-steps--four {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Footer orb in the check-in chat: keep it in its own gutter, clear of the composer. */
.bp-chat--thread .bp-chat__composer--flush {
  margin-right: 3.8rem;
}

/* Utilities replacing inline style attributes (2026-11-01): the site CSP is style-src 'self'.
   !important keeps the inline attributes' precedence. */
.bp-u-mt0 { margin-top: 0 !important; }
.bp-u-m0 { margin: 0 !important; }
.bp-u-w9 { width: 9%; } /* no !important: script animates this width */
.bp-u-pb-section { padding-bottom: clamp(3rem, 7vw, 5rem) !important; }
.bp-u-note { max-width: 46rem !important; margin-top: 2rem !important; }
.bp-u-mw44 { max-width: 44rem !important; }
.bp-u-self-start { justify-self: start !important; }
