/**
 * BaselHub public site styles. Tokens live in tokens.css.
 * Every interactive element is a real button/link with a visible focus ring.
 */

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

/* ── Premium BaselHub experience (2026-09 rebuild) ─────────────────── */

body::before {
  background:
    linear-gradient(90deg, rgba(20, 121, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(20, 121, 255, 0.025) 1px, transparent 1px),
    radial-gradient(900px 480px at 82% -8%, rgba(0, 204, 234, 0.12), transparent 66%);
  background-size: 88px 88px, 88px 88px, auto;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.bh-header {
  background: rgba(3, 8, 20, 0.88);
  backdrop-filter: blur(18px);
}

:root[data-theme="light"] .bh-header {
  background: rgba(255, 255, 255, 0.9);
}

.bh-brand__mark {
  overflow: hidden;
  background: none;
  box-shadow: 0 0 0 1px rgba(82, 171, 255, 0.28), 0 12px 30px -18px rgba(0, 204, 234, 0.8);
}

.bh-brand__mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.bh-nav-group {
  position: relative;
}

.bh-nav-group > summary {
  list-style: none;
  cursor: pointer;
  color: var(--bh-text-muted);
  font-size: var(--bh-text-sm);
  font-weight: 600;
  padding: var(--bh-2) var(--bh-3);
  border-radius: var(--bh-radius-sm);
  white-space: nowrap;
}

.bh-nav-group > summary::-webkit-details-marker {
  display: none;
}

.bh-nav-group > summary::after {
  content: "⌄";
  display: inline-block;
  margin-inline-start: 0.42rem;
  color: var(--bh-text-subtle);
  transition: transform var(--bh-dur-fast) var(--bh-ease);
}

.bh-nav-group[open] > summary,
.bh-nav-group > summary:hover {
  color: var(--bh-text);
  background: var(--bh-surface-hover);
}

.bh-nav-group[open] > summary::after {
  transform: rotate(180deg);
}

.bh-nav-group__menu {
  position: absolute;
  inset-block-start: calc(100% + 0.7rem);
  inset-inline-start: 0;
  z-index: 60;
  min-width: 270px;
  padding: 0.55rem;
  border: 1px solid var(--bh-border);
  border-radius: 16px;
  background: var(--bh-bg-elevated);
  box-shadow: 0 26px 70px -26px rgba(0, 0, 0, 0.8);
}

.bh-nav-group__menu a {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.72rem 0.82rem;
  color: var(--bh-text);
  border-radius: 10px;
}

.bh-nav-group__menu a:hover {
  background: var(--bh-surface-hover);
  text-decoration: none;
}

.bh-nav-group__menu a strong {
  font-size: 0.92rem;
}

.bh-nav-group__menu a span {
  color: var(--bh-text-muted);
  font-size: 0.78rem;
}

.bh-kicker {
  display: inline-block;
  color: var(--bh-cyan-400);
  font-family: var(--bh-font-en);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.bh-hero--premium {
  min-height: auto;
  padding: clamp(5rem, 9vw, 8.5rem) 0 var(--bh-20);
  background: none;
}

.bh-hero--premium .bh-hero__grid {
  grid-template-columns: minmax(0, 0.98fr) minmax(240px, 0.46fr);
  align-items: center;
  gap: clamp(3rem, 9vw, 8rem);
  max-width: 1180px;
  margin-inline: auto;
}

.bh-hero__copy {
  position: relative;
  z-index: 2;
}

.bh-hero--premium h1 {
  max-width: 10ch;
  margin-block: 1.2rem 1.55rem;
  font-size: clamp(3.4rem, 8vw, 7.8rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

[dir="rtl"] .bh-hero--premium h1 {
  max-width: 11ch;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.bh-hero--premium .bh-hero__lead {
  max-width: 660px;
  font-size: clamp(1.1rem, 1.8vw, 1.38rem);
}

.bh-hero__mark {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 290px;
  margin-inline: auto;
}

.bh-hero__mark::before,
.bh-hero__mark::after {
  content: "";
  position: absolute;
  inset: -12%;
  border: 1px solid rgba(71, 181, 255, 0.18);
  border-radius: 34%;
  transform: rotate(12deg);
}

.bh-hero__mark::after {
  inset: 6%;
  border-color: rgba(0, 217, 255, 0.25);
  transform: rotate(-8deg);
}

.bh-hero__mark img {
  position: relative;
  z-index: 1;
  width: min(72%, 220px);
  filter: drop-shadow(0 28px 55px rgba(0, 118, 255, 0.3));
}

.bh-eyebrow {
  border-color: rgba(61, 171, 255, 0.25);
  background: rgba(8, 23, 43, 0.62);
  color: var(--bh-text-muted);
}

.bh-eyebrow > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bh-cyan-400);
  box-shadow: 0 0 16px rgba(50, 227, 255, 0.8);
}

.bh-hero__note {
  max-width: 58ch;
  margin-block-start: var(--bh-5);
  font-size: 0.88rem;
}

#platform-preview {
  scroll-margin-top: calc(var(--bh-header-h) + 1.5rem);
  margin-block-start: clamp(4rem, 8vw, 7rem);
}

.bh-product-shell {
  overflow: hidden;
  border: 1px solid rgba(92, 172, 255, 0.25);
  border-radius: 24px;
  background: #07101f;
  box-shadow: 0 50px 120px -58px rgba(0, 91, 220, 0.65);
}

.bh-product-shell__top {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: var(--bh-5);
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(108, 164, 220, 0.16);
  background: #091426;
}

.bh-product-shell__brand {
  color: #f4f8ff;
  font-family: var(--bh-font-en);
  font-weight: 750;
  letter-spacing: -0.03em;
}

.bh-product-tabs {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 0.25rem;
}

.bh-product-tab {
  min-height: 38px;
  padding-inline: 0.9rem;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #7f93ae;
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
}

.bh-product-tab[aria-selected="true"] {
  background: rgba(20, 121, 255, 0.16);
  color: #edf6ff;
}

.bh-product-shell__status {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bh-cyan-400);
  box-shadow: 0 0 14px rgba(50, 227, 255, 0.8);
}

.bh-product-panel {
  min-height: 450px;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  padding: clamp(2rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 88% 0%, rgba(0, 204, 234, 0.1), transparent 34%),
    linear-gradient(135deg, #07101f, #050b17);
}

.bh-product-panel__copy h3 {
  margin-block: 0.6rem 1rem;
  color: #f4f8ff;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
}

.bh-product-panel__copy p {
  color: #9eb0c8;
  font-size: 1.04rem;
}

.bh-product-panel__surface {
  min-height: 290px;
  display: grid;
  grid-template-columns: 76px 1fr;
  overflow: hidden;
  border: 1px solid rgba(83, 154, 224, 0.24);
  border-radius: 17px;
  background: #0a1425;
  box-shadow: 0 25px 65px -40px rgba(0, 204, 234, 0.8);
}

.bh-product-panel__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-block: 1.1rem;
  border-inline-end: 1px solid rgba(97, 150, 204, 0.18);
  background: #08111f;
}

.bh-product-panel__rail span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(108, 169, 230, 0.22);
}

.bh-product-panel__rail span:first-child {
  background: linear-gradient(135deg, var(--bh-indigo-500), var(--bh-cyan-500));
}

.bh-product-panel__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.25rem;
}

.bh-ui-row {
  display: grid;
  grid-template-columns: 42px auto 1fr;
  align-items: center;
  gap: 0.9rem;
  min-height: 60px;
  padding-inline: 0.8rem;
  border: 1px solid rgba(97, 150, 204, 0.14);
  border-radius: 11px;
  color: #dce9fa;
}

.bh-ui-glyph {
  color: var(--bh-cyan-400);
  font-family: var(--bh-font-mono);
  font-size: 0.72rem;
}

.bh-ui-line {
  justify-self: end;
  width: min(45%, 120px);
  height: 5px;
  border-radius: 999px;
  background: #172a43;
}

.bh-page-intro {
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--bh-border);
}

.bh-page-intro h1 {
  max-width: 13ch;
  margin-block: 0.8rem 1.2rem;
  font-size: clamp(3rem, 7vw, 6.5rem);
  letter-spacing: -0.05em;
  text-wrap: balance;
}

[dir="rtl"] .bh-page-intro h1 {
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.bh-page-intro .bh-lead {
  max-width: 720px;
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
}

.bh-section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.bh-section--contrast {
  border-block: 1px solid var(--bh-border);
  background: rgba(6, 15, 30, 0.58);
}

.bh-section__head {
  max-width: 820px;
  margin-block-end: clamp(2.2rem, 5vw, 4.2rem);
}

.bh-section__head h2 {
  max-width: 18ch;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  letter-spacing: -0.04em;
  text-wrap: balance;
}

[dir="rtl"] .bh-section__head h2 {
  letter-spacing: -0.025em;
}

.bh-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--bh-border);
}

.bh-value {
  min-height: 300px;
  padding: 2.1rem;
  border-inline-end: 1px solid var(--bh-border);
}

.bh-value:last-child {
  border-inline-end: 0;
}

.bh-value > span {
  color: var(--bh-cyan-400);
  font-family: var(--bh-font-mono);
  font-size: 0.75rem;
}

.bh-value h3 {
  max-width: 12ch;
  margin-block: 5rem 1rem;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
}

.bh-steps {
  counter-reset: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--bh-border);
}

.bh-step {
  position: relative;
  padding: 2.4rem 1.5rem 1rem;
  border-inline-end: 1px solid var(--bh-border);
}

.bh-step:last-child {
  border-inline-end: 0;
}

.bh-step::before {
  content: "";
  position: absolute;
  inset-block-start: -5px;
  inset-inline-start: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bh-indigo-500);
  box-shadow: 0 0 0 5px var(--bh-bg), 0 0 0 6px rgba(49, 158, 255, 0.3);
}

.bh-capability-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--bh-border);
}

.bh-capability {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.7rem;
  color: var(--bh-text);
  border-bottom: 1px solid var(--bh-border);
}

.bh-capability:nth-child(odd) {
  border-inline-end: 1px solid var(--bh-border);
}

.bh-capability:hover {
  background: rgba(20, 121, 255, 0.06);
  text-decoration: none;
}

.bh-capability strong,
.bh-capability small {
  display: block;
}

.bh-capability strong {
  margin-block-end: 0.35rem;
  font-size: 1.3rem;
}

.bh-capability small {
  color: var(--bh-text-muted);
  font-size: 0.95rem;
}

.bh-capability__arrow {
  flex: none;
  color: var(--bh-cyan-400);
  font-size: 1.5rem;
}

.bh-brand-story {
  min-height: 440px;
  display: grid;
  grid-template-columns: 1fr 0.45fr 0.7fr;
  align-items: center;
  gap: clamp(1.2rem, 4vw, 4rem);
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid var(--bh-border);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(20, 121, 255, 0.09), rgba(3, 8, 20, 0.2));
}

.bh-brand-story__store,
.bh-brand-story__app {
  min-height: 270px;
  padding: 1.5rem;
  border: 1px solid rgba(99, 162, 224, 0.2);
  border-radius: 17px;
  background: #081222;
}

.bh-brand-story__logo {
  display: block;
  margin-block-end: 2rem;
  color: #f2f7ff;
  font-size: 1.35rem;
  font-weight: 750;
}

.bh-brand-story__store div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.bh-brand-story__store div span {
  height: 128px;
  border-radius: 11px;
  background: linear-gradient(180deg, #142943, #0b1a2e);
}

.bh-brand-story__flow {
  display: grid;
  gap: 0.6rem;
}

.bh-brand-story__flow i {
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--bh-cyan-400), transparent);
}

.bh-brand-story__app {
  max-width: 230px;
  margin-inline: auto;
  border-radius: 34px;
}

.bh-brand-story__app span {
  display: block;
  width: 68px;
  height: 68px;
  margin: 0 auto 2rem;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--bh-indigo-500), var(--bh-cyan-500));
}

.bh-brand-story__app i {
  display: block;
  height: 30px;
  margin-block-end: 0.65rem;
  border-radius: 8px;
  background: #11253d;
}

.bh-dual-product {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.bh-dual-product > a {
  min-height: 330px;
  padding: 2rem;
  border: 1px solid var(--bh-border);
  border-radius: 20px;
  color: var(--bh-text);
  background: #07101f;
}

.bh-dual-product > a:hover {
  border-color: var(--bh-border-strong);
  text-decoration: none;
}

.bh-dual-product h3 {
  margin-block: 0.7rem 4rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.bh-mini-pipeline {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.bh-mini-pipeline i {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: #17304d;
}

.bh-mini-pipeline i:nth-child(-n + 3) {
  background: var(--bh-indigo-500);
}

.bh-module-stack {
  display: grid;
  gap: 0.7rem;
}

.bh-module-stack i {
  height: 38px;
  border: 1px solid rgba(50, 227, 255, 0.22);
  border-radius: 9px;
  background: rgba(0, 204, 234, 0.06);
}

.bh-flow-map,
.bh-catalog-map {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.7rem;
}

.bh-flow-map > span,
.bh-catalog-map > div {
  position: relative;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 1px solid var(--bh-border);
  border-radius: 14px;
  color: var(--bh-text);
  text-align: center;
  background: var(--bh-surface);
}

.bh-flow-map i,
.bh-catalog-map i {
  position: absolute;
  inset-inline-end: -1rem;
  color: var(--bh-cyan-400);
  font-style: normal;
  z-index: 2;
}

.bh-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--bh-text);
  font-size: 1.05rem;
  font-weight: 700;
}

.bh-service-ledger {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--bh-border);
}

.bh-service-ledger article {
  min-height: 360px;
  padding: clamp(1.7rem, 4vw, 3rem);
  border-bottom: 1px solid var(--bh-border);
}

.bh-service-ledger article:nth-child(odd) {
  border-inline-end: 1px solid var(--bh-border);
}

.bh-service-ledger h2 {
  max-width: 13ch;
  margin-block: 3.5rem 1rem;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.bh-service-ledger ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.bh-service-ledger li {
  padding: 0.42rem 0.72rem;
  border: 1px solid var(--bh-border);
  border-radius: 999px;
  color: var(--bh-text-muted);
  font-size: 0.84rem;
}

.bh-pricing-note {
  max-width: 780px;
  padding-inline-start: 2rem;
  border-inline-start: 2px solid var(--bh-cyan-400);
}

.bh-pricing-note h2 {
  margin-block: 0.8rem 1rem;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.bh-plans--compact .bh-plan:nth-child(n + 4) {
  display: none;
}

.bh-tour article {
  display: grid;
  grid-template-columns: 80px 1fr 0.85fr;
  align-items: center;
  gap: clamp(1.2rem, 5vw, 4rem);
  min-height: 300px;
  padding-block: 2rem;
  border-top: 1px solid var(--bh-border);
}

.bh-tour article > span {
  color: var(--bh-cyan-400);
  font-family: var(--bh-font-mono);
}

.bh-tour h2 {
  max-width: 15ch;
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
}

.bh-tour__visual {
  min-height: 160px;
  display: grid;
  align-content: center;
  gap: 0.75rem;
  padding: 1.2rem;
  border: 1px solid var(--bh-border);
  border-radius: 15px;
  background: #07101f;
}

.bh-tour__visual i {
  display: block;
  height: 28px;
  border-radius: 7px;
  background: #10233a;
}

.bh-tour__visual i:first-child {
  width: 64%;
  background: rgba(20, 121, 255, 0.32);
}

.bh-brand-lab {
  display: grid;
  grid-template-columns: minmax(260px, 0.66fr) minmax(0, 1.34fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.bh-brand-controls {
  display: grid;
  gap: 1.2rem;
  padding: 1.5rem;
  border: 1px solid var(--bh-border);
  border-radius: 16px;
  background: var(--bh-surface);
}

.bh-color-controls {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.bh-color-controls label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  min-height: 52px;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--bh-border);
  border-radius: 10px;
  color: var(--bh-text-muted);
  font-size: 0.88rem;
}

.bh-color-controls input[type="color"] {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
}

.bh-file {
  width: 100%;
  color: var(--bh-text-muted);
  font: inherit;
  font-size: 0.84rem;
}

.bh-file::file-selector-button {
  min-height: 42px;
  margin-inline-end: 0.8rem;
  padding-inline: 1rem;
  border: 1px solid var(--bh-border);
  border-radius: 9px;
  background: var(--bh-surface-hover);
  color: var(--bh-text);
  font: inherit;
  cursor: pointer;
}

.bh-live-preview {
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--bh-border);
  border-radius: 20px;
  background: color-mix(in srgb, var(--bh-preview-primary, #1479ff) 8%, #07101f);
}

.bh-live-preview__top {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--bh-border);
}

.bh-live-preview__top .bh-badge {
  margin-inline-start: auto;
}

.bh-live-preview__logo {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--bh-preview-primary, #1479ff), var(--bh-preview-accent, #00d9ff));
  color: #fff;
  font-weight: 800;
}

.bh-live-preview__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bh-live-preview__hero {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 0.65rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--bh-preview-primary, #1479ff) 30%, transparent), transparent);
}

.bh-live-preview__hero span,
.bh-live-preview__hero i,
.bh-live-preview__cards i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(234, 245, 255, 0.18);
}

.bh-live-preview__hero span {
  width: 48%;
  height: 18px;
  background: color-mix(in srgb, var(--bh-preview-accent, #00d9ff) 45%, #fff);
}

.bh-live-preview__hero i {
  width: 68%;
}

.bh-live-preview__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  padding: 1.3rem;
}

.bh-live-preview__cards > div {
  min-height: 160px;
  padding: 1rem;
  border: 1px solid var(--bh-border);
  border-radius: 12px;
  background: rgba(8, 18, 34, 0.72);
}

.bh-live-preview__cards span {
  display: block;
  width: 42px;
  height: 42px;
  margin-block-end: 1.4rem;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--bh-preview-primary, #1479ff), var(--bh-preview-accent, #00d9ff));
}

.bh-live-preview__cards strong {
  display: block;
  margin-block-end: 0.8rem;
}

.bh-build-pipeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.bh-build-pipeline li {
  position: relative;
  min-height: 260px;
  padding: 1.4rem;
  border-top: 1px solid var(--bh-border);
  border-bottom: 1px solid var(--bh-border);
  border-inline-end: 1px solid var(--bh-border);
}

.bh-build-pipeline li:first-child {
  border-inline-start: 1px solid var(--bh-border);
}

.bh-build-pipeline li > span {
  color: var(--bh-cyan-400);
  font-family: var(--bh-font-mono);
  font-size: 0.72rem;
}

.bh-build-pipeline h2 {
  margin-block: 5rem 0.8rem;
  font-size: 1.1rem;
}

.bh-build-pipeline p {
  font-size: 0.86rem;
}

.bh-build-monitor {
  padding: 1.5rem;
  border: 1px solid var(--bh-border);
  border-radius: 18px;
  background: #07101f;
}

.bh-build-monitor > span {
  display: block;
  width: 24%;
  height: 8px;
  margin-block-end: 2rem;
  border-radius: 999px;
  background: #16304f;
}

.bh-build-monitor > div {
  display: flex;
  gap: 0.75rem;
}

.bh-build-monitor i {
  flex: 1;
  height: 52px;
  border-radius: 10px;
  background: rgba(20, 121, 255, 0.28);
}

.bh-build-monitor i:last-child {
  background: rgba(107, 134, 164, 0.14);
}

.bh-recipe-flow,
.bh-domain-journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--bh-border);
}

.bh-recipe-flow > div,
.bh-domain-journey article {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--bh-border);
  border-inline-end: 1px solid var(--bh-border);
}

.bh-recipe-flow > div:last-child,
.bh-domain-journey article:last-child {
  border-inline-end: 0;
}

.bh-recipe-flow span,
.bh-domain-journey span {
  color: var(--bh-cyan-400);
  font-family: var(--bh-font-mono);
  font-size: 0.75rem;
}

.bh-recipe-flow strong,
.bh-domain-journey h2 {
  font-size: 1.25rem;
}

.bh-module-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.8rem;
}

.bh-module-grid article {
  grid-column: span 2;
  min-height: 230px;
  padding: 1.4rem;
  border: 1px solid var(--bh-border);
  border-radius: 15px;
  background: var(--bh-surface);
}

.bh-module-grid article:nth-child(4),
.bh-module-grid article:nth-child(5) {
  grid-column: span 3;
}

.bh-module-grid article > span {
  display: block;
  width: 36px;
  height: 36px;
  margin-block-end: 4rem;
  border: 1px solid rgba(50, 227, 255, 0.35);
  border-radius: 10px;
  background: rgba(0, 204, 234, 0.08);
}

.bh-signing-status {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(244, 190, 48, 0.3);
  border-radius: 18px;
  background: rgba(244, 190, 48, 0.04);
}

.bh-signing-status > div {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.bh-signing-status h2 {
  max-width: 29ch;
  margin-block-start: 0.65rem;
  font-size: clamp(1.5rem, 3vw, 2.7rem);
}

.bh-status-orb {
  flex: none;
  width: 11px;
  height: 11px;
  margin-block-start: 0.35rem;
  border-radius: 50%;
  background: var(--bh-warning);
  box-shadow: 0 0 0 5px rgba(251, 191, 36, 0.1);
}

.bh-status-orb[data-state="available"] {
  background: var(--bh-success);
  box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.1);
}

.bh-status-orb[data-state="unavailable"] {
  background: var(--bh-danger);
  box-shadow: 0 0 0 5px rgba(251, 113, 133, 0.1);
}

.bh-status-orb[data-state="checking"] {
  animation: bh-pulse 1.4s ease-in-out infinite;
}

.bh-signing-wheel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--bh-border);
}

.bh-signing-wheel article {
  min-height: 190px;
  padding: 1.5rem;
  border-inline-end: 1px solid var(--bh-border);
  border-bottom: 1px solid var(--bh-border);
}

.bh-signing-wheel article:nth-child(3n) {
  border-inline-end: 0;
}

.bh-signing-wheel span,
.bh-catalog-map > div > span {
  color: var(--bh-cyan-400);
  font-family: var(--bh-font-mono);
  font-size: 0.72rem;
}

.bh-signing-wheel h3 {
  margin-block-start: 4rem;
}

.bh-catalog-map > div {
  min-height: 180px;
  flex-direction: column;
  gap: 2rem;
}

.bh-security-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.8rem;
}

.bh-security-grid article {
  grid-column: span 4;
  min-height: 250px;
  padding: 1.5rem;
  border: 1px solid var(--bh-border);
  border-radius: 15px;
  background: var(--bh-surface);
}

.bh-security-grid article:nth-child(1),
.bh-security-grid article:nth-child(7) {
  grid-column: span 6;
}

.bh-security-grid article > span,
.bh-contact-grid article > span,
.bh-docs-grid article > span {
  color: var(--bh-cyan-400);
  font-family: var(--bh-font-mono);
  font-size: 0.72rem;
}

.bh-security-grid h2 {
  margin-block: 4rem 0.8rem;
  font-size: 1.35rem;
}

.bh-support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.5fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
}

.bh-support-layout aside {
  display: grid;
  gap: 0.8rem;
  padding-block-start: 1rem;
}

.bh-support-layout aside a {
  display: block;
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--bh-border);
  color: var(--bh-text);
}

.bh-about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.bh-about-story > p {
  color: var(--bh-text);
  font-size: clamp(1.55rem, 3vw, 2.7rem);
  line-height: 1.35;
}

.bh-about-story > div {
  display: grid;
}

.bh-about-story > div span {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 0.8rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--bh-border);
  color: var(--bh-text-muted);
}

.bh-about-story b {
  color: var(--bh-cyan-400);
  font-family: var(--bh-font-mono);
  font-size: 0.72rem;
}

.bh-auth {
  min-height: calc(100vh - var(--bh-header-h));
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
}

.bh-auth__brand {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 680px;
  padding: clamp(2rem, 7vw, 7rem);
  border-inline-end: 1px solid var(--bh-border);
  background:
    linear-gradient(145deg, rgba(20, 121, 255, 0.22), transparent 62%),
    #06101f;
}

.bh-auth__brand h2 {
  max-width: 10ch;
  margin-block-start: 1rem;
  font-size: clamp(2.5rem, 5vw, 5rem);
  letter-spacing: -0.05em;
}

.bh-auth > [data-bh-login-panel],
.bh-auth > .bh-form-card {
  align-self: center;
  width: min(100% - 2rem, 540px);
  margin-inline: auto;
}

.bh-auth [data-bh-login-panel] > .bh-form-card {
  width: 100%;
}

.bh-auth .bh-form-card {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.bh-auth .bh-form-card h1 {
  margin-block: 0.65rem 0.9rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.bh-account-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block-end: 1.5rem;
  border-bottom: 1px solid var(--bh-border);
}

.bh-account-head > div:first-child,
.bh-account-head > div:last-child {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.bh-account-head > div:first-child {
  flex-direction: column;
  align-items: flex-start;
}

.bh-account-head [data-bh-account-email] {
  color: var(--bh-text-muted);
}

.bh-account-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-block-start: 2rem;
}

.bh-account-grid > article {
  min-height: 260px;
  padding: 1.5rem;
  border: 1px solid var(--bh-border);
  border-radius: 15px;
  background: var(--bh-surface);
}

.bh-docs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--bh-border);
}

.bh-docs-grid article {
  min-height: 150px;
  padding: 1.2rem;
  border-inline-end: 1px solid var(--bh-border);
  border-bottom: 1px solid var(--bh-border);
}

.bh-docs-grid article:nth-child(4n) {
  border-inline-end: 0;
}

.bh-docs-grid h2 {
  margin-block-start: 2.7rem;
  font-size: 1rem;
}

.bh-status-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--bh-border);
}

.bh-status-board article {
  min-height: 170px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-inline-end: 1px solid var(--bh-border);
  border-bottom: 1px solid var(--bh-border);
}

.bh-status-board article:last-child {
  border-inline-end: 0;
}

.bh-status-board h2 {
  font-size: 1.12rem;
}

.bh-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--bh-border);
}

.bh-contact-grid article {
  min-height: 320px;
  padding: 1.7rem;
  border-inline-end: 1px solid var(--bh-border);
  border-bottom: 1px solid var(--bh-border);
}

.bh-contact-grid article:last-child {
  border-inline-end: 0;
}

.bh-contact-grid h2 {
  margin-block: 4rem 1rem;
  font-size: 1.45rem;
}

.bh-contact-grid a {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--bh-text);
  font-weight: 700;
}

.bh-contact-grid i {
  color: var(--bh-cyan-400);
  font-style: normal;
}

.bh-legal-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.bh-legal-layout > aside {
  position: sticky;
  top: calc(var(--bh-header-h) + 2rem);
}

.bh-legal-layout > aside p {
  margin-block: 0.8rem;
  font-size: 0.9rem;
}

.bh-legal-copy section {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 1rem;
  padding-block: 2rem;
  border-top: 1px solid var(--bh-border);
}

.bh-legal-copy section > span {
  color: var(--bh-cyan-400);
  font-family: var(--bh-font-mono);
  font-size: 0.72rem;
}

.bh-legal-copy h2 {
  font-size: 1.4rem;
}

.bh-footer {
  background: #020610;
}

.bh-footer__grid {
  grid-template-columns: 1.4fr repeat(4, 1fr);
}

.bh-footer--compact {
  padding: 0;
  border-top: 1px solid var(--bh-border);
}

.bh-footer--compact .bh-footer__bottom {
  min-height: 72px;
  margin: 0;
}

@keyframes bh-pulse {
  50% { opacity: 0.4; transform: scale(0.82); }
}

@media (max-width: 1080px) {
  .bh-nav-group {
    width: 100%;
  }

  .bh-nav-group > summary {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 0;
    border-bottom: 1px solid var(--bh-border);
    border-radius: 0;
  }

  .bh-nav-group__menu {
    position: static;
    min-width: 0;
    padding: 0.35rem 0 0.7rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .bh-product-panel {
    grid-template-columns: 1fr 1.25fr;
  }

  .bh-build-pipeline {
    grid-template-columns: repeat(4, 1fr);
  }

  .bh-build-pipeline li:nth-child(5) {
    border-inline-start: 1px solid var(--bh-border);
  }
}

@media (max-width: 1024px) {
  .bh-hero--premium .bh-hero__grid {
    grid-template-columns: 1fr 230px;
  }

  .bh-product-panel {
    grid-template-columns: 1fr;
  }

  .bh-product-panel__surface {
    min-height: 260px;
  }

  .bh-value-grid,
  .bh-contact-grid,
  .bh-status-board {
    grid-template-columns: 1fr;
  }

  .bh-value,
  .bh-contact-grid article,
  .bh-status-board article {
    min-height: 0;
    border-inline-end: 0;
  }

  .bh-value h3,
  .bh-contact-grid h2 {
    margin-block-start: 2.2rem;
  }

  .bh-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .bh-step:nth-child(2) {
    border-inline-end: 0;
  }

  .bh-brand-story {
    grid-template-columns: 1fr 0.3fr 0.7fr;
  }

  .bh-tour article {
    grid-template-columns: 60px 1fr;
  }

  .bh-tour__visual {
    grid-column: 2;
  }

  .bh-signing-wheel,
  .bh-security-grid,
  .bh-docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bh-security-grid article,
  .bh-security-grid article:nth-child(1),
  .bh-security-grid article:nth-child(7) {
    grid-column: span 1;
  }

  .bh-docs-grid article:nth-child(4n) {
    border-inline-end: 1px solid var(--bh-border);
  }

  .bh-docs-grid article:nth-child(2n),
  .bh-signing-wheel article:nth-child(2n) {
    border-inline-end: 0;
  }
}

@media (max-width: 768px) {
  .bh-hero--premium {
    padding-block-start: 4rem;
  }

  .bh-hero--premium .bh-hero__grid {
    grid-template-columns: 1fr;
  }

  .bh-hero__mark {
    width: 160px;
    margin-inline-start: 0;
  }

  .bh-hero--premium h1 {
    font-size: clamp(3.1rem, 15vw, 5.4rem);
  }

  .bh-product-shell__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .bh-product-tabs {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .bh-product-shell__status {
    display: none;
  }

  .bh-product-panel {
    min-height: 0;
    padding: 1.3rem;
  }

  .bh-product-panel__surface {
    grid-template-columns: 54px 1fr;
  }

  .bh-capability-list,
  .bh-service-ledger,
  .bh-dual-product,
  .bh-brand-lab,
  .bh-about-story,
  .bh-account-grid,
  .bh-support-layout,
  .bh-auth,
  .bh-legal-layout {
    grid-template-columns: 1fr;
  }

  .bh-capability:nth-child(odd),
  .bh-service-ledger article:nth-child(odd) {
    border-inline-end: 0;
  }

  .bh-brand-story {
    grid-template-columns: 1fr;
  }

  .bh-brand-story__flow {
    grid-template-columns: repeat(3, 1fr);
  }

  .bh-brand-story__flow i {
    height: 70px;
    width: 2px;
    justify-self: center;
    background: linear-gradient(transparent, var(--bh-cyan-400), transparent);
  }

  .bh-brand-story__app {
    width: 210px;
  }

  .bh-flow-map,
  .bh-catalog-map {
    grid-template-columns: 1fr;
  }

  .bh-flow-map i,
  .bh-catalog-map i {
    inset-inline-end: auto;
    inset-block-end: -1.1rem;
    transform: rotate(90deg);
  }

  .bh-module-grid {
    grid-template-columns: 1fr;
  }

  .bh-module-grid article,
  .bh-module-grid article:nth-child(4),
  .bh-module-grid article:nth-child(5) {
    grid-column: span 1;
  }

  .bh-build-pipeline,
  .bh-recipe-flow,
  .bh-domain-journey,
  .bh-signing-wheel,
  .bh-security-grid,
  .bh-docs-grid {
    grid-template-columns: 1fr;
  }

  .bh-build-pipeline li,
  .bh-build-pipeline li:nth-child(5),
  .bh-recipe-flow > div,
  .bh-domain-journey article,
  .bh-signing-wheel article,
  .bh-docs-grid article,
  .bh-docs-grid article:nth-child(4n),
  .bh-docs-grid article:nth-child(2n) {
    min-height: 0;
    border-inline: 0;
  }

  .bh-build-pipeline h2,
  .bh-signing-wheel h3 {
    margin-block-start: 2rem;
  }

  .bh-auth__brand {
    min-height: 310px;
    border-inline-end: 0;
    border-bottom: 1px solid var(--bh-border);
  }

  .bh-auth > [data-bh-login-panel],
  .bh-auth > .bh-form-card,
  .bh-auth > .bh-stack {
    width: min(100% - 2rem, 540px);
    margin: 2rem auto;
  }

  .bh-legal-layout > aside {
    position: static;
  }

  .bh-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 430px) {
  .bh-container {
    padding-inline: 1rem;
  }

  .bh-hero--premium h1,
  .bh-page-intro h1 {
    font-size: clamp(2.65rem, 14vw, 4.2rem);
  }

  .bh-section__head h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .bh-product-panel__surface {
    grid-template-columns: 1fr;
  }

  .bh-product-panel__rail {
    display: none;
  }

  .bh-ui-row {
    grid-template-columns: 34px 1fr;
  }

  .bh-ui-line {
    display: none;
  }

  .bh-steps,
  .bh-color-controls,
  .bh-live-preview__cards,
  .bh-footer__grid {
    grid-template-columns: 1fr;
  }

  .bh-step {
    border-inline-end: 0;
  }

  .bh-live-preview__cards > div {
    min-height: 120px;
  }

  .bh-account-head,
  .bh-account-head > div:last-child {
    align-items: stretch;
    flex-direction: column;
  }

  .bh-footer--compact .bh-footer__bottom {
    align-items: flex-start;
  }
}

@media (max-width: 390px) {
  .bh-hero__cta,
  .bh-cta__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .bh-hero__cta .bh-btn,
  .bh-cta__actions .bh-btn {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .bh-product-tab {
    padding-inline: 0.72rem;
  }
}

@media (max-width: 375px) {
  .bh-page-intro,
  .bh-section {
    padding-block: 3.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bh-status-orb[data-state="checking"] {
    animation: none;
  }
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bh-header-h) + var(--bh-4));
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bh-bg);
  color: var(--bh-text);
  font-family: var(--bh-font);
  font-size: var(--bh-text-base);
  line-height: var(--bh-leading-normal);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1100px 600px at 12% -10%, rgba(111, 106, 240, 0.22), transparent 60%),
    radial-gradient(900px 520px at 88% 4%, rgba(6, 182, 212, 0.16), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

body.nav-open {
  overflow: hidden;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 var(--bh-3);
  line-height: var(--bh-leading-tight);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 5.2vw, var(--bh-text-5xl));
}

h2 {
  font-size: clamp(1.5rem, 3.1vw, var(--bh-text-3xl));
}

h3 {
  font-size: var(--bh-text-lg);
}

p {
  margin: 0 0 var(--bh-4);
  color: var(--bh-text-muted);
  max-width: var(--bh-max-text);
}

a {
  color: var(--bh-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid var(--bh-focus);
  outline-offset: 2px;
  border-radius: var(--bh-radius-xs);
}

.bh-skip {
  position: absolute;
  inset-inline-start: var(--bh-4);
  top: -80px;
  z-index: 100;
  padding: var(--bh-3) var(--bh-5);
  background: var(--bh-accent-strong);
  color: #fff;
  border-radius: var(--bh-radius-sm);
  transition: top var(--bh-dur) var(--bh-ease);
}

.bh-skip:focus {
  top: var(--bh-3);
}

.bh-shell {
  position: relative;
  z-index: 1;
}

.bh-container {
  width: 100%;
  max-width: var(--bh-container);
  margin-inline: auto;
  padding-inline: var(--bh-5);
}

.bh-container--wide {
  max-width: var(--bh-container-wide);
}

/* ── Header ─────────────────────────────────────────────── */

.bh-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bh-bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bh-border);
}

.bh-header__inner {
  display: flex;
  align-items: center;
  gap: var(--bh-4);
  min-height: var(--bh-header-h);
}

.bh-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--bh-3);
  color: var(--bh-text);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bh-brand:hover {
  text-decoration: none;
}

.bh-brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--bh-gradient-brand);
  display: grid;
  place-items: center;
  color: #ffffff;
  box-shadow: var(--bh-shadow-soft);
  flex: none;
}

.bh-brand__mark svg {
  display: block;
}

.bh-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.bh-brand__name {
  font-size: 1.06rem;
}

.bh-brand__tag {
  font-size: 0.66rem;
  color: var(--bh-text-subtle);
  font-weight: 500;
  letter-spacing: 0;
}

.bh-nav {
  display: flex;
  align-items: center;
  gap: var(--bh-1);
  margin-inline-start: auto;
}

.bh-nav__link {
  color: var(--bh-text-muted);
  font-size: var(--bh-text-sm);
  font-weight: 500;
  padding: var(--bh-2) var(--bh-3);
  border-radius: var(--bh-radius-sm);
  transition: background var(--bh-dur-fast) var(--bh-ease), color var(--bh-dur-fast) var(--bh-ease);
  white-space: nowrap;
}

.bh-nav__link:hover {
  background: var(--bh-surface-hover);
  color: var(--bh-text);
  text-decoration: none;
}

.bh-nav__link[aria-current="page"] {
  color: var(--bh-text);
  background: var(--bh-surface-hover);
}

.bh-header__actions {
  display: flex;
  align-items: center;
  gap: var(--bh-2);
  margin-inline-start: var(--bh-3);
}

.bh-iconbtn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--bh-radius-sm);
  border: 1px solid var(--bh-border);
  background: var(--bh-surface);
  color: var(--bh-text);
  cursor: pointer;
  font-size: var(--bh-text-xs);
  font-weight: 600;
  transition: border-color var(--bh-dur-fast) var(--bh-ease), background var(--bh-dur-fast) var(--bh-ease);
}

.bh-iconbtn:hover {
  border-color: var(--bh-border-strong);
  background: var(--bh-surface-hover);
}

.bh-menu-toggle {
  display: none;
}

/* ── Buttons ────────────────────────────────────────────── */

.bh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--bh-2);
  padding: 0.72rem 1.15rem;
  border-radius: var(--bh-radius-sm);
  border: 1px solid transparent;
  font: inherit;
  font-size: var(--bh-text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--bh-dur-fast) var(--bh-ease), box-shadow var(--bh-dur) var(--bh-ease),
    background var(--bh-dur-fast) var(--bh-ease), border-color var(--bh-dur-fast) var(--bh-ease);
  text-decoration: none;
  white-space: nowrap;
}

.bh-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.bh-btn:active {
  transform: translateY(0);
}

.bh-btn--primary {
  background: var(--bh-gradient-brand);
  color: #fff;
  box-shadow: 0 10px 30px -14px rgba(84, 73, 224, 0.85);
}

.bh-btn--primary:hover {
  box-shadow: 0 16px 40px -16px rgba(84, 73, 224, 0.95);
}

.bh-btn--ghost {
  background: var(--bh-surface);
  border-color: var(--bh-border-strong);
  color: var(--bh-text);
}

.bh-btn--ghost:hover {
  background: var(--bh-surface-hover);
}

.bh-btn--quiet {
  background: transparent;
  color: var(--bh-text-muted);
  border-color: transparent;
}

.bh-btn--quiet:hover {
  color: var(--bh-text);
  background: var(--bh-surface-hover);
}

.bh-btn--danger {
  background: transparent;
  border-color: color-mix(in srgb, var(--bh-danger) 45%, transparent);
  color: var(--bh-danger);
}

.bh-btn--block {
  width: 100%;
}

.bh-btn[disabled],
.bh-btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.bh-btn--lg {
  padding: 0.95rem 1.6rem;
  font-size: var(--bh-text-base);
}

/* ── Section scaffolding ────────────────────────────────── */

.bh-main {
  position: relative;
  z-index: 1;
}

.bh-section {
  padding-block: clamp(3rem, 7vw, var(--bh-24));
}

.bh-section--tight {
  padding-block: clamp(2rem, 4vw, var(--bh-12));
}

.bh-section__head {
  max-width: 62ch;
  margin-bottom: var(--bh-10);
}

.bh-section__head--center {
  margin-inline: auto;
  text-align: center;
}

.bh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--bh-2);
  padding: 0.32rem 0.7rem;
  border-radius: var(--bh-radius-pill);
  border: 1px solid var(--bh-border-strong);
  background: var(--bh-surface);
  color: var(--bh-text-muted);
  font-size: var(--bh-text-xs);
  font-weight: 600;
  margin-bottom: var(--bh-4);
}

.bh-eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bh-accent);
}

.bh-lead {
  font-size: var(--bh-text-lg);
  color: var(--bh-text-muted);
  line-height: var(--bh-leading-snug);
}

.bh-grid {
  display: grid;
  gap: var(--bh-5);
}

.bh-grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.bh-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.bh-grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ── Cards ──────────────────────────────────────────────── */

.bh-card {
  position: relative;
  padding: var(--bh-6);
  border-radius: var(--bh-radius-lg);
  border: 1px solid var(--bh-border);
  background: var(--bh-surface);
  box-shadow: var(--bh-shadow-soft);
  transition: transform var(--bh-dur) var(--bh-ease), border-color var(--bh-dur) var(--bh-ease),
    box-shadow var(--bh-dur) var(--bh-ease);
  height: 100%;
}

.bh-card:hover {
  transform: translateY(-3px);
  border-color: var(--bh-border-strong);
  box-shadow: var(--bh-shadow-lift);
}

.bh-card__icon {
  width: 42px;
  height: 42px;
  border-radius: var(--bh-radius-sm);
  display: grid;
  place-items: center;
  margin-bottom: var(--bh-4);
  background: var(--bh-gradient-surface);
  border: 1px solid var(--bh-border);
  color: var(--bh-accent);
  font-weight: 700;
  font-size: var(--bh-text-sm);
}

.bh-card h3 {
  margin-bottom: var(--bh-2);
}

.bh-card p:last-child {
  margin-bottom: 0;
}

.bh-card--link {
  display: block;
  color: inherit;
}

.bh-card--link:hover {
  text-decoration: none;
}

.bh-card--featured {
  border-color: color-mix(in srgb, var(--bh-accent) 55%, transparent);
  box-shadow: 0 24px 60px -30px rgba(84, 73, 224, 0.85);
}

/* ── Hero ───────────────────────────────────────────────── */

.bh-hero {
  position: relative;
  padding-block: clamp(3rem, 8vw, var(--bh-24)) clamp(2.5rem, 6vw, var(--bh-16));
  overflow: hidden;
}

.bh-hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, var(--bh-16));
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
}

.bh-hero h1 {
  margin-bottom: var(--bh-5);
}

.bh-hero__lead {
  font-size: clamp(1.02rem, 1.5vw, var(--bh-text-lg));
  max-width: 56ch;
}

.bh-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-3);
  margin-block: var(--bh-6) var(--bh-4);
}

.bh-hero__note {
  font-size: var(--bh-text-xs);
  color: var(--bh-text-subtle);
  max-width: 54ch;
  margin: 0;
}

.bh-hero__panel {
  position: relative;
  padding: var(--bh-6);
  border-radius: var(--bh-radius-xl);
  border: 1px solid var(--bh-border-strong);
  background: var(--bh-surface);
  box-shadow: var(--bh-shadow-lift);
  backdrop-filter: blur(10px);
}

.bh-hero__panel::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--bh-gradient-surface);
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
}

.bh-hero__stats {
  list-style: none;
  margin: var(--bh-5) 0 0;
  padding: 0;
  display: grid;
  gap: var(--bh-3);
}

.bh-hero__stats li {
  display: grid;
  gap: 2px;
  padding: var(--bh-3) var(--bh-4);
  border-radius: var(--bh-radius-md);
  border: 1px solid var(--bh-border);
  background: var(--bh-bg-elevated);
}

.bh-hero__stat-value {
  font-weight: 700;
  color: var(--bh-text);
}

.bh-hero__stat-label {
  font-size: var(--bh-text-xs);
  color: var(--bh-text-muted);
}

.bh-hero__visual {
  display: grid;
  gap: var(--bh-3);
}

.bh-hero__visual-row {
  display: flex;
  align-items: center;
  gap: var(--bh-3);
  padding: var(--bh-3) var(--bh-4);
  border-radius: var(--bh-radius-md);
  border: 1px solid var(--bh-border);
  background: var(--bh-bg-elevated);
  font-size: var(--bh-text-sm);
}

.bh-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bh-success);
  flex: none;
}

.bh-dot--warn {
  background: var(--bh-warning);
}

.bh-dot--info {
  background: var(--bh-cyan-400);
}

.bh-hero__visual-row span:last-child {
  margin-inline-start: auto;
  color: var(--bh-text-subtle);
  font-size: var(--bh-text-xs);
}

/* ── Steps / workflow ──────────────────────────────────── */

.bh-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--bh-4);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  counter-reset: bh-step;
}

.bh-step {
  position: relative;
  padding: var(--bh-5);
  border-radius: var(--bh-radius-md);
  border: 1px solid var(--bh-border);
  background: var(--bh-bg-elevated);
  counter-increment: bh-step;
}

.bh-step::before {
  content: counter(bh-step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-bottom: var(--bh-3);
  background: var(--bh-gradient-brand);
  color: #fff;
  font-size: var(--bh-text-xs);
  font-weight: 700;
}

.bh-step h3 {
  font-size: var(--bh-text-base);
  margin-bottom: var(--bh-2);
}

.bh-step p {
  margin: 0;
  font-size: var(--bh-text-sm);
}

/* ── Split feature rows ────────────────────────────────── */

.bh-split {
  display: grid;
  gap: clamp(1.5rem, 4vw, var(--bh-16));
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
}

.bh-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--bh-3);
}

.bh-list li {
  display: flex;
  gap: var(--bh-3);
  align-items: flex-start;
  color: var(--bh-text-muted);
  font-size: var(--bh-text-sm);
}

.bh-list li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--bh-accent);
}

.bh-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-3);
  align-items: center;
}

.bh-flow li {
  padding: var(--bh-2) var(--bh-4);
  border-radius: var(--bh-radius-pill);
  border: 1px solid var(--bh-border-strong);
  background: var(--bh-surface);
  font-size: var(--bh-text-sm);
  font-weight: 600;
}

.bh-flow li::after {
  content: "←";
  margin-inline-start: var(--bh-3);
  color: var(--bh-text-subtle);
  font-weight: 400;
}

[dir="ltr"] .bh-flow li::after {
  content: "→";
}

.bh-flow li:last-child::after {
  content: "";
}

/* ── Badges & status ───────────────────────────────────── */

.bh-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--bh-2);
  padding: 0.22rem 0.6rem;
  border-radius: var(--bh-radius-pill);
  border: 1px solid var(--bh-border-strong);
  font-size: var(--bh-text-xs);
  font-weight: 600;
  white-space: nowrap;
}

.bh-badge--available {
  color: var(--bh-success);
  border-color: color-mix(in srgb, var(--bh-success) 42%, transparent);
  background: color-mix(in srgb, var(--bh-success) 12%, transparent);
}

.bh-badge--configuration_required {
  color: var(--bh-warning);
  border-color: color-mix(in srgb, var(--bh-warning) 42%, transparent);
  background: color-mix(in srgb, var(--bh-warning) 12%, transparent);
}

.bh-badge--planned {
  color: var(--bh-text-subtle);
}

.bh-badge--neutral {
  color: var(--bh-text-muted);
}

.bh-badge--info {
  color: var(--bh-cyan-400);
  border-color: color-mix(in srgb, var(--bh-cyan-400) 42%, transparent);
  background: color-mix(in srgb, var(--bh-cyan-400) 12%, transparent);
}

/* ── Tables ────────────────────────────────────────────── */

.bh-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-lg);
  background: var(--bh-bg-elevated);
  box-shadow: var(--bh-shadow-soft);
}

.bh-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: var(--bh-text-sm);
}

.bh-table th,
.bh-table td {
  text-align: start;
  padding: var(--bh-3) var(--bh-4);
  border-bottom: 1px solid var(--bh-border);
  vertical-align: middle;
}

.bh-table th {
  color: var(--bh-text-muted);
  font-weight: 600;
  font-size: var(--bh-text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--bh-surface);
}

.bh-table tbody tr:last-child td {
  border-bottom: 0;
}

.bh-table tbody tr:hover td {
  background: var(--bh-surface-hover);
}

.bh-table td strong {
  color: var(--bh-text);
}

/* ── Pricing ───────────────────────────────────────────── */

.bh-plans {
  display: grid;
  gap: var(--bh-5);
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  align-items: stretch;
}

.bh-plan {
  display: flex;
  flex-direction: column;
  gap: var(--bh-4);
  padding: var(--bh-6);
  border-radius: var(--bh-radius-lg);
  border: 1px solid var(--bh-border);
  background: var(--bh-surface);
  box-shadow: var(--bh-shadow-soft);
}

.bh-plan--featured {
  border-color: color-mix(in srgb, var(--bh-accent) 55%, transparent);
  box-shadow: 0 26px 64px -32px rgba(84, 73, 224, 0.9);
}

.bh-plan__price {
  font-size: var(--bh-text-2xl);
  font-weight: 700;
  color: var(--bh-text);
}

.bh-plan__price small {
  font-size: var(--bh-text-xs);
  color: var(--bh-text-subtle);
  font-weight: 500;
}

.bh-plan__limits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--bh-2);
  font-size: var(--bh-text-sm);
}

.bh-plan__limits li {
  display: flex;
  justify-content: space-between;
  gap: var(--bh-3);
  padding-bottom: var(--bh-2);
  border-bottom: 1px dashed var(--bh-border);
  color: var(--bh-text-muted);
}

.bh-plan__limits li span:last-child {
  color: var(--bh-text);
  font-weight: 600;
}

.bh-plan__actions {
  margin-top: auto;
}

/* ── Notices / states ──────────────────────────────────── */

.bh-notice {
  display: flex;
  gap: var(--bh-3);
  align-items: flex-start;
  padding: var(--bh-4);
  border-radius: var(--bh-radius-md);
  border: 1px solid var(--bh-border-strong);
  background: var(--bh-surface);
  font-size: var(--bh-text-sm);
  color: var(--bh-text-muted);
}

.bh-notice--warn {
  border-color: color-mix(in srgb, var(--bh-warning) 45%, transparent);
  background: color-mix(in srgb, var(--bh-warning) 10%, transparent);
}

.bh-notice--error {
  border-color: color-mix(in srgb, var(--bh-danger) 45%, transparent);
  background: color-mix(in srgb, var(--bh-danger) 10%, transparent);
  color: color-mix(in srgb, var(--bh-danger) 78%, var(--bh-text));
}

.bh-notice--success {
  border-color: color-mix(in srgb, var(--bh-success) 45%, transparent);
  background: color-mix(in srgb, var(--bh-success) 10%, transparent);
  color: color-mix(in srgb, var(--bh-success) 78%, var(--bh-text));
}

.bh-skeleton {
  height: 14px;
  border-radius: var(--bh-radius-pill);
  background: linear-gradient(90deg, var(--bh-surface) 25%, var(--bh-surface-hover) 50%, var(--bh-surface) 75%);
  background-size: 200% 100%;
  animation: bh-shimmer 1.4s linear infinite;
}

@keyframes bh-shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bh-skeleton {
    animation: none;
  }
  .bh-card,
  .bh-btn,
  .bh-reveal {
    transition: none !important;
    animation: none !important;
  }
}

/* ── Forms ─────────────────────────────────────────────── */

.bh-form {
  display: grid;
  gap: var(--bh-4);
}

.bh-field {
  display: grid;
  gap: var(--bh-2);
}

.bh-label {
  font-size: var(--bh-text-sm);
  font-weight: 600;
  color: var(--bh-text);
}

.bh-hint {
  font-size: var(--bh-text-xs);
  color: var(--bh-text-subtle);
}

.bh-input,
.bh-select,
.bh-textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border-radius: var(--bh-radius-sm);
  border: 1px solid var(--bh-border-strong);
  background: var(--bh-bg-elevated);
  color: var(--bh-text);
  font: inherit;
  font-size: var(--bh-text-sm);
  transition: border-color var(--bh-dur-fast) var(--bh-ease), box-shadow var(--bh-dur-fast) var(--bh-ease);
}

.bh-input:focus,
.bh-select:focus,
.bh-textarea:focus {
  outline: none;
  border-color: var(--bh-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bh-accent) 30%, transparent);
}

.bh-input[aria-invalid="true"],
.bh-textarea[aria-invalid="true"] {
  border-color: var(--bh-danger);
}

.bh-textarea {
  min-height: 140px;
  resize: vertical;
}

.bh-field-error {
  font-size: var(--bh-text-xs);
  color: var(--bh-danger);
  min-height: 1.1em;
}

.bh-form-card {
  padding: clamp(1.25rem, 3vw, var(--bh-8));
  border-radius: var(--bh-radius-lg);
  border: 1px solid var(--bh-border);
  background: var(--bh-surface);
  box-shadow: var(--bh-shadow-soft);
  max-width: 520px;
}

.bh-color-field {
  display: flex;
  align-items: center;
  gap: var(--bh-3);
}

.bh-color-field input[type="color"] {
  width: 52px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--bh-border-strong);
  border-radius: var(--bh-radius-sm);
  background: var(--bh-bg-elevated);
  cursor: pointer;
}

/* ── Wizard ────────────────────────────────────────────── */

.bh-wizard {
  display: grid;
  gap: var(--bh-6);
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  align-items: start;
}

.bh-wizard__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--bh-2);
  position: sticky;
  top: calc(var(--bh-header-h) + var(--bh-4));
}

.bh-wizard__step {
  display: flex;
  gap: var(--bh-3);
  align-items: center;
  padding: var(--bh-3) var(--bh-4);
  border-radius: var(--bh-radius-sm);
  border: 1px solid transparent;
  color: var(--bh-text-subtle);
  font-size: var(--bh-text-sm);
}

.bh-wizard__step[data-state="current"] {
  border-color: var(--bh-border-strong);
  background: var(--bh-surface);
  color: var(--bh-text);
  font-weight: 600;
}

.bh-wizard__step[data-state="done"] {
  color: var(--bh-success);
}

.bh-wizard__index {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  font-size: var(--bh-text-xs);
  flex: none;
}

.bh-wizard__panel {
  padding: clamp(1.25rem, 3vw, var(--bh-8));
  border-radius: var(--bh-radius-lg);
  border: 1px solid var(--bh-border);
  background: var(--bh-surface);
  box-shadow: var(--bh-shadow-soft);
  min-height: 320px;
}

.bh-wizard__nav {
  display: flex;
  gap: var(--bh-3);
  justify-content: space-between;
  margin-top: var(--bh-6);
  flex-wrap: wrap;
}

.bh-review {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--bh-2);
}

.bh-review li {
  display: flex;
  justify-content: space-between;
  gap: var(--bh-4);
  padding: var(--bh-3) var(--bh-4);
  border-radius: var(--bh-radius-sm);
  background: var(--bh-bg-elevated);
  border: 1px solid var(--bh-border);
  font-size: var(--bh-text-sm);
}

.bh-review li span:first-child {
  color: var(--bh-text-subtle);
}

/* ── Preview (white-label) ─────────────────────────────── */

.bh-preview {
  border-radius: var(--bh-radius-lg);
  border: 1px solid var(--bh-border-strong);
  overflow: hidden;
  background: var(--bh-bg-elevated);
  box-shadow: var(--bh-shadow-lift);
}

.bh-preview__bar {
  display: flex;
  gap: var(--bh-2);
  padding: var(--bh-3) var(--bh-4);
  border-bottom: 1px solid var(--bh-border);
  background: var(--bh-surface);
}

.bh-preview__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bh-border-strong);
}

.bh-preview__body {
  padding: var(--bh-6);
  display: grid;
  gap: var(--bh-4);
}

.bh-preview__store {
  display: flex;
  align-items: center;
  gap: var(--bh-4);
}

.bh-preview__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: var(--bh-preview-primary, var(--bh-indigo-500));
  font-size: 1.1rem;
}

.bh-preview__name {
  font-weight: 700;
  font-size: var(--bh-text-lg);
}

.bh-preview__sub {
  font-size: var(--bh-text-xs);
  color: var(--bh-text-subtle);
}

.bh-preview__cards {
  display: grid;
  gap: var(--bh-3);
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.bh-preview__card {
  padding: var(--bh-4);
  border-radius: var(--bh-radius-md);
  background: color-mix(in srgb, var(--bh-preview-accent, var(--bh-cyan-500)) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--bh-preview-accent, var(--bh-cyan-500)) 40%, transparent);
  font-size: var(--bh-text-xs);
  color: var(--bh-text-muted);
}

/* ── FAQ ───────────────────────────────────────────────── */

.bh-faq {
  display: grid;
  gap: var(--bh-3);
}

.bh-faq__item {
  border-radius: var(--bh-radius-md);
  border: 1px solid var(--bh-border);
  background: var(--bh-bg-elevated);
  overflow: hidden;
}

.bh-faq__item[open] {
  border-color: var(--bh-border-strong);
  box-shadow: var(--bh-shadow-soft);
}

.bh-faq__q {
  cursor: pointer;
  padding: var(--bh-4) var(--bh-5);
  font-weight: 600;
  font-size: var(--bh-text-base);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: var(--bh-4);
  align-items: center;
}

.bh-faq__q::-webkit-details-marker {
  display: none;
}

.bh-faq__q::after {
  content: "+";
  color: var(--bh-accent);
  font-size: 1.3rem;
  line-height: 1;
  flex: none;
}

.bh-faq__item[open] .bh-faq__q::after {
  content: "−";
}

.bh-faq__a {
  padding: 0 var(--bh-5) var(--bh-5);
  margin: 0;
  color: var(--bh-text-muted);
  font-size: var(--bh-text-sm);
}

/* ── CTA band ──────────────────────────────────────────── */

.bh-cta {
  position: relative;
  padding: clamp(2rem, 5vw, var(--bh-16));
  border-radius: var(--bh-radius-xl);
  border: 1px solid var(--bh-border-strong);
  background: var(--bh-gradient-surface), var(--bh-surface-solid);
  box-shadow: var(--bh-shadow-lift);
  text-align: center;
}

.bh-cta h2 {
  margin-bottom: var(--bh-3);
}

.bh-cta p {
  margin-inline: auto;
}

.bh-cta__actions {
  display: flex;
  gap: var(--bh-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--bh-6);
}

/* ── Footer ────────────────────────────────────────────── */

.bh-footer {
  position: relative;
  z-index: 1;
  margin-top: var(--bh-16);
  border-top: 1px solid var(--bh-border);
  background: color-mix(in srgb, var(--bh-bg) 88%, transparent);
}

.bh-footer__inner {
  padding-block: var(--bh-12) var(--bh-8);
}

.bh-footer__grid {
  display: grid;
  gap: var(--bh-8);
  grid-template-columns: minmax(0, 1.3fr) repeat(auto-fit, minmax(140px, 1fr));
}

.bh-footer__group h3 {
  font-size: var(--bh-text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bh-text-subtle);
  margin-bottom: var(--bh-3);
}

.bh-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--bh-2);
}

.bh-footer__links a {
  color: var(--bh-text-muted);
  font-size: var(--bh-text-sm);
}

.bh-footer__links a:hover {
  color: var(--bh-text);
}

.bh-footer__boundary {
  font-size: var(--bh-text-xs);
  color: var(--bh-text-subtle);
  max-width: 46ch;
  margin-top: var(--bh-4);
}

.bh-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-4);
  justify-content: space-between;
  align-items: center;
  margin-top: var(--bh-10);
  padding-top: var(--bh-5);
  border-top: 1px solid var(--bh-border);
  font-size: var(--bh-text-xs);
  color: var(--bh-text-subtle);
}

/* ── Utilities ─────────────────────────────────────────── */

.bh-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bh-mt-6 {
  margin-top: var(--bh-6);
}

.bh-mt-8 {
  margin-top: var(--bh-8);
}

.bh-mb-0 {
  margin-bottom: 0;
}

.bh-stack {
  display: grid;
  gap: var(--bh-4);
}

.bh-inline {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-3);
  align-items: center;
}

.bh-center {
  text-align: center;
}

.bh-text-muted {
  color: var(--bh-text-muted);
}

.bh-text-subtle {
  color: var(--bh-text-subtle);
  font-size: var(--bh-text-xs);
}

.bh-hidden {
  display: none !important;
}

.bh-code {
  font-family: var(--bh-font-mono);
  font-size: var(--bh-text-xs);
  padding: 0.15rem 0.45rem;
  border-radius: var(--bh-radius-xs);
  background: var(--bh-surface-hover);
  border: 1px solid var(--bh-border);
  word-break: break-all;
}

/* ── Reveal animation ──────────────────────────────────── */

.bh-reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: bh-reveal-in var(--bh-dur-slow) var(--bh-ease) forwards;
}

.bh-reveal--1 {
  animation-delay: 60ms;
}

.bh-reveal--2 {
  animation-delay: 120ms;
}

.bh-reveal--3 {
  animation-delay: 180ms;
}

@keyframes bh-reveal-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bh-reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ── Page header (inner pages) ─────────────────────────── */

.bh-page-head {
  padding-block: clamp(2.5rem, 6vw, var(--bh-16)) var(--bh-8);
  border-bottom: 1px solid var(--bh-border);
  background: var(--bh-gradient-surface);
}

.bh-page-head h1 {
  margin-bottom: var(--bh-3);
}

.bh-breadcrumb {
  list-style: none;
  margin: 0 0 var(--bh-4);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-2);
  font-size: var(--bh-text-xs);
  color: var(--bh-text-subtle);
}

.bh-breadcrumb li + li::before {
  content: "/";
  margin-inline-end: var(--bh-2);
  color: var(--bh-border-strong);
}

/* ── Responsive ────────────────────────────────────────── */

@media (max-width: 1024px) {
  .bh-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .bh-wizard {
    grid-template-columns: minmax(0, 1fr);
  }

  .bh-wizard__steps {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

/* الحدّ 1080px: عنده لا يتّسع صف التنقّل الكامل + الأزرار بلا تجاوز أفقي،
   فينتقل الموقع إلى قائمة الجوال. */
@media (max-width: 1080px) {
  .bh-nav {
    position: fixed;
    inset: var(--bh-header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--bh-1);
    padding: var(--bh-4) var(--bh-5) var(--bh-8);
    background: var(--bh-bg-elevated);
    border-bottom: 1px solid var(--bh-border);
    box-shadow: var(--bh-shadow-lift);
    max-height: calc(100vh - var(--bh-header-h));
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--bh-dur) var(--bh-ease), transform var(--bh-dur) var(--bh-ease),
      visibility var(--bh-dur) var(--bh-ease);
  }

  .bh-nav[data-open="true"] {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .bh-nav__link {
    padding: var(--bh-3) var(--bh-4);
    font-size: var(--bh-text-base);
  }

  .bh-header__actions {
    margin-inline-start: 0;
  }

  .bh-menu-toggle {
    display: inline-grid;
    margin-inline-start: auto;
  }

  .bh-nav .bh-nav__cta {
    margin-top: var(--bh-3);
  }
}

@media (min-width: 1081px) {
  .bh-nav__cta-mobile,
  .bh-nav__account-mobile {
    display: none;
  }
}

@media (max-width: 640px) {
  .bh-container {
    padding-inline: var(--bh-4);
  }

  /* زرّا "تسجيل الدخول" و"ابدأ متجرك" موجودان داخل قائمة الجوال، فلا داعي
     لتكرارهما في الرأس على الشاشات الضيقة (وهو ما كان يسبب تجاوزاً في EN). */
  .bh-header__actions .bh-btn {
    display: none;
  }

  .bh-card,
  .bh-plan,
  .bh-hero__panel,
  .bh-form-card,
  .bh-wizard__panel {
    padding: var(--bh-5);
  }

  .bh-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .bh-cta__actions {
    flex-direction: column;
  }

  .bh-cta__actions .bh-btn {
    width: 100%;
  }
}

@media (max-width: 430px) {
  :root {
    --bh-header-h: 62px;
  }

  .bh-brand__tag {
    display: none;
  }

  .bh-table {
    min-width: 520px;
  }
}

/* شاشات ضيقة جداً (320–380): نص العلامة يختفي ويبقى الرمز، والأزرار تُضغط
   بدل أن يفيض الصف أفقياً. */
@media (max-width: 380px) {
  .bh-brand__text {
    display: none;
  }

  .bh-header__inner {
    gap: var(--bh-2);
  }

  .bh-header__actions {
    gap: var(--bh-1);
  }

  .bh-iconbtn {
    width: 34px;
    height: 34px;
  }

  .bh-header__actions .bh-btn--primary {
    padding: 0.6rem 0.75rem;
    font-size: var(--bh-text-xs);
  }
}

@media (max-width: 375px) {
  .bh-hero__cta .bh-btn {
    width: 100%;
  }
}

/* ── Print ─────────────────────────────────────────────── */

@media print {
  body::before,
  .bh-header,
  .bh-footer,
  .bh-cta {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}

/* Final cascade bridge: the premium layer is declared before the historical
   base rules so these shared primitives intentionally win at the end. */
body::before {
  background:
    linear-gradient(90deg, rgba(20, 121, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(20, 121, 255, 0.025) 1px, transparent 1px),
    radial-gradient(900px 480px at 82% -8%, rgba(0, 204, 234, 0.12), transparent 66%);
  background-size: 88px 88px, 88px 88px, auto;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.bh-header {
  background: rgba(3, 8, 20, 0.88);
  backdrop-filter: blur(18px);
}

:root[data-theme="light"] .bh-header {
  background: rgba(255, 255, 255, 0.9);
}

.bh-brand__mark {
  overflow: hidden;
  background: none;
  box-shadow: 0 0 0 1px rgba(82, 171, 255, 0.28), 0 12px 30px -18px rgba(0, 204, 234, 0.8);
}

.bh-brand__mark img,
.bh-live-preview__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bh-plan__features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.bh-plan__features li {
  padding: 0.42rem 0.68rem;
  border: 1px solid var(--bh-border);
  border-radius: 999px;
  color: var(--bh-text-muted);
  font-size: var(--bh-text-xs);
}

[hidden] {
  display: none !important;
}
