:root {
  --bmm-bg: #0d0e12;
  --bmm-surface: #12151c;
  --bmm-surface-2: #171b24;
  --bmm-surface-3: #1d2330;
  --bmm-blue: #38bdf8;
  --bmm-blue-soft: rgba(56, 189, 248, 0.14);
  --bmm-purple: #a78bfa;
  --bmm-purple-soft: rgba(167, 139, 250, 0.14);
  --bmm-green: #34d399;
  --bmm-amber: #fbbf24;
  --bmm-red: #fb7185;
  --bmm-text: #f4f7fb;
  --bmm-muted: #9ca3af;
  --bmm-dim: #6b7280;
  --bmm-line: rgba(156, 163, 175, 0.18);
  --bmm-line-strong: rgba(56, 189, 248, 0.35);
  --bmm-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --bmm-radius: 18px;
  --bmm-radius-sm: 12px;
  --bmm-container: 1180px;
  --bmm-pad: clamp(1rem, 3vw, 2rem);
  --bmm-section: clamp(4rem, 9vw, 7.5rem);
  --bmm-display: 'NeueMontrealMedium', 'Arial Narrow', sans-serif;
  --bmm-body: 'PoppinsRegular', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bmm-bg);
  color: var(--bmm-text);
  font-family: var(--bmm-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: '';
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 0%, rgba(56, 189, 248, 0.09), transparent 30rem),
    radial-gradient(circle at 90% 22%, rgba(167, 139, 250, 0.08), transparent 26rem),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: auto, auto, 42px 42px, 42px 42px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 86%);
}

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

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: var(--bmm-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover,
a:focus-visible {
  color: #7dd3fc;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--bmm-blue);
  outline-offset: 3px;
}

.content {
  min-height: 60vh;
}

.bmm-container {
  width: min(calc(100% - (2 * var(--bmm-pad))), var(--bmm-container));
  margin-inline: auto;
}

.bmm-section {
  position: relative;
  padding-block: var(--bmm-section);
}

.bmm-section--tight {
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
}

.bmm-section--bordered {
  border-block: 1px solid var(--bmm-line);
  background: rgba(18, 21, 28, 0.6);
}

.bmm-skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--bmm-blue);
  color: #071018;
  font-weight: 700;
}

.bmm-skip-link:focus {
  transform: translateY(0);
}

.bmm-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(13, 14, 18, 0.88);
  backdrop-filter: blur(18px);
}

.admin-bar .bmm-site-header {
  top: 32px;
}

.bmm-nav {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.bmm-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
  color: var(--bmm-text);
  text-decoration: none;
}

.bmm-brand__mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.5);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.18), rgba(167, 139, 250, 0.09));
  box-shadow: inset 0 0 24px rgba(56, 189, 248, 0.08);
}

.bmm-brand__mark::before,
.bmm-brand__mark::after {
  width: 20px;
  height: 4px;
  content: '';
  border: 1px solid var(--bmm-blue);
  border-radius: 2px;
  box-shadow: 0 7px 0 -1px rgba(167, 139, 250, 0.8);
}

.bmm-brand__mark::after {
  position: absolute;
  width: 4px;
  height: 4px;
  right: 9px;
  box-shadow: 0 7px 0 var(--bmm-purple);
  background: var(--bmm-green);
}

.bmm-brand__text {
  font-family: var(--bmm-display);
  font-size: clamp(1rem, 2vw, 1.18rem);
  letter-spacing: 0.035em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bmm-brand__text span {
  color: var(--bmm-blue);
}

.bmm-nav__toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 1px solid var(--bmm-line);
  border-radius: 11px;
  background: var(--bmm-surface-2);
  color: var(--bmm-text);
  cursor: pointer;
}

.bmm-nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: 5px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.bmm-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.4rem);
}

.bmm-nav__links a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.bmm-nav__links a:hover,
.bmm-nav__links a.is-current,
.bmm-nav__links .current-menu-item > a,
.bmm-nav__links .current_page_item > a {
  color: var(--bmm-blue);
}

.bmm-nav__cta {
  padding-inline: 1rem;
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: 999px;
  background: var(--bmm-blue-soft);
}

.bmm-kicker {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--bmm-blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bmm-kicker::before {
  width: 8px;
  height: 8px;
  content: '';
  border-radius: 50%;
  background: var(--bmm-green);
  box-shadow: 0 0 16px var(--bmm-green);
}

.bmm-hero {
  position: relative;
  min-height: min(880px, calc(100vh - 78px));
  display: grid;
  align-items: center;
  padding-block: clamp(4.5rem, 10vw, 8.5rem);
  overflow: hidden;
}

.bmm-hero::after {
  position: absolute;
  inset: 10% -20% auto 48%;
  z-index: -1;
  height: 38rem;
  content: '';
  transform: rotate(-8deg);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12), transparent 64%);
  filter: blur(20px);
}

.bmm-hero__grid {
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
}

.bmm-hero__grid > * {
  min-width: 0;
}

.bmm-workbench-hero .bmm-hero__grid {
  gap: clamp(2rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 0.96fr) minmax(540px, 1.04fr);
}

.bmm-workbench-hero h1 {
  max-width: 100%;
  font-size: clamp(2.5rem, 3.5vw, 3.75rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
  hyphens: none;
}

.bmm-workbench-hero .bmm-server-frame {
  width: 100%;
  max-width: 640px;
  justify-self: end;
}

.bmm-welcome-grid {
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
}

.bmm-welcome-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.65rem, 5.6vw, 5.25rem);
  line-height: 1;
}

.bmm-welcome-copy > p:not(.bmm-kicker):not(.bmm-hero__fineprint) {
  max-width: 62ch;
  margin: 1.5rem 0 0;
  color: #b7c0ce;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.bmm-profile-card {
  position: relative;
  max-width: 560px;
  padding: 0.7rem;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.38);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(23, 27, 36, 0.98), rgba(13, 14, 18, 0.98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.bmm-profile-card::before {
  position: absolute;
  inset: auto -20% -35% 25%;
  height: 15rem;
  content: '';
  background: radial-gradient(circle, rgba(167, 139, 250, 0.22), transparent 68%);
  pointer-events: none;
}

.bmm-profile-card__image {
  position: relative;
  overflow: hidden;
  border-radius: 19px;
  background: #0a0d13;
}

.bmm-profile-card__image img {
  width: 100%;
  height: auto;
}

.bmm-profile-card__body {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1rem 0.6rem 0.7rem;
}

.bmm-profile-card__body strong {
  color: var(--bmm-text);
  font-family: var(--bmm-display);
  font-size: 1.08rem;
}

.bmm-profile-card__body span {
  color: var(--bmm-muted);
  font-size: 0.72rem;
  text-align: right;
}

.bmm-profile-card__tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0 0.6rem 0.6rem;
}

.bmm-profile-card__tags span {
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--bmm-line);
  border-radius: 999px;
  color: #cbd5e1;
  font-size: 0.66rem;
}

.bmm-profile-section {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 7vw, 5.5rem);
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
}

.bmm-path-grid .bmm-card {
  display: flex;
  flex-direction: column;
}

.bmm-path-grid .bmm-btn {
  width: 100%;
  margin-top: auto;
}

.bmm-hero h1,
.bmm-page-hero h1 {
  max-width: 14ch;
  margin: 0;
  font-family: var(--bmm-display);
  font-size: clamp(2.75rem, 6.8vw, 6.3rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.bmm-gradient-text {
  color: transparent;
  background: linear-gradient(92deg, #f4f7fb 0%, #7dd3fc 48%, #c4b5fd 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.bmm-hero__lead,
.bmm-page-hero__lead {
  max-width: 64ch;
  margin: 1.5rem 0 0;
  color: #b7c0ce;
  font-size: clamp(1.05rem, 2vw, 1.26rem);
}

.bmm-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.bmm-btn,
.bmm-stripe-btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.bmm-btn:hover,
.bmm-stripe-btn:hover {
  transform: translateY(-2px);
}

.bmm-btn--primary,
.bmm-stripe-btn {
  background: var(--bmm-blue);
  color: #061018;
  box-shadow: 0 12px 36px rgba(56, 189, 248, 0.2);
}

.bmm-btn--primary:hover,
.bmm-stripe-btn:hover {
  color: #061018;
  background: #7dd3fc;
}

.bmm-btn--secondary {
  border-color: rgba(167, 139, 250, 0.5);
  background: var(--bmm-purple-soft);
  color: #ddd6fe;
}

.bmm-btn--secondary:hover {
  border-color: var(--bmm-purple);
  color: #fff;
}

.bmm-btn--ghost {
  border-color: var(--bmm-line);
  background: rgba(255, 255, 255, 0.025);
  color: #dbe5f1;
}

.bmm-btn--ghost:hover {
  border-color: var(--bmm-line-strong);
  background: var(--bmm-blue-soft);
  color: #fff;
}

.bmm-btn svg,
.bmm-stripe-btn svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.bmm-server-frame {
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(1rem, 3vw, 1.75rem);
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(29, 35, 48, 0.9), rgba(13, 14, 18, 0.92));
  box-shadow: var(--bmm-shadow), inset 0 1px rgba(255, 255, 255, 0.05);
}

.bmm-server-frame::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  content: '';
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.28), transparent 44%, rgba(167, 139, 250, 0.22));
  filter: blur(16px);
  opacity: 0.45;
}

.bmm-server-frame__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--bmm-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.bmm-server-frame__status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--bmm-green);
}

.bmm-server-frame__status::before {
  width: 7px;
  height: 7px;
  content: '';
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.bmm-server-mockup-visual {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
}

@media (max-width: 1320px) {
  .bmm-workbench-hero .bmm-hero__grid {
    grid-template-columns: 1fr;
  }

  .bmm-workbench-hero h1 {
    max-width: 16ch;
  }

  .bmm-workbench-hero .bmm-server-frame {
    max-width: 760px;
    justify-self: start;
  }
}

.bmm-telemetry {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bmm-telemetry__item {
  padding: 0.85rem;
  border: 1px solid var(--bmm-line);
  border-radius: 10px;
  background: rgba(7, 11, 18, 0.72);
}

.bmm-telemetry__label {
  display: block;
  color: var(--bmm-dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.64rem;
  text-transform: uppercase;
}

.bmm-telemetry__value {
  display: block;
  margin-top: 0.2rem;
  color: var(--bmm-text);
  font-family: var(--bmm-display);
  font-size: 1rem;
}

.bmm-proof-strip {
  border-block: 1px solid var(--bmm-line);
  background: rgba(18, 21, 28, 0.72);
}

.bmm-proof-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bmm-proof {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem;
  border-right: 1px solid var(--bmm-line);
}

.bmm-proof:first-child {
  border-left: 1px solid var(--bmm-line);
}

.bmm-proof strong {
  color: var(--bmm-text);
  font-family: var(--bmm-display);
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  font-weight: 500;
}

.bmm-proof span {
  margin-top: 0.25rem;
  color: var(--bmm-muted);
  font-size: 0.82rem;
}

.bmm-heading-row {
  display: grid;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
}

.bmm-heading-row h2,
.bmm-section-title {
  max-width: 16ch;
  margin: 0;
  font-family: var(--bmm-display);
  font-size: clamp(2rem, 5vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.bmm-heading-row p,
.bmm-section-intro {
  margin: 0;
  color: var(--bmm-muted);
  font-size: 1rem;
}

.bmm-grid {
  display: grid;
  gap: 1rem;
}

.bmm-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bmm-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.bmm-card {
  position: relative;
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  overflow: hidden;
  border: 1px solid var(--bmm-line);
  border-radius: var(--bmm-radius);
  background: linear-gradient(150deg, rgba(23, 27, 36, 0.94), rgba(13, 14, 18, 0.96));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}

.bmm-card::after {
  position: absolute;
  right: -25%;
  bottom: -50%;
  width: 220px;
  height: 220px;
  content: '';
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.09), transparent 68%);
  pointer-events: none;
}

.bmm-card--purple::after {
  background: radial-gradient(circle, rgba(167, 139, 250, 0.12), transparent 68%);
}

.bmm-card--featured {
  border-color: rgba(56, 189, 248, 0.48);
  box-shadow: 0 22px 70px rgba(2, 132, 199, 0.11), inset 0 1px rgba(255, 255, 255, 0.05);
}

.bmm-card__eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--bmm-blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bmm-card__eyebrow span {
  padding: 0.25rem 0.55rem;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.bmm-card h3 {
  margin: 0;
  color: var(--bmm-text);
  font-family: var(--bmm-display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.bmm-card p {
  margin: 0.9rem 0 0;
  color: var(--bmm-muted);
}

.bmm-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.bmm-feature-list,
.bmm-check-list,
.bmm-spec-list,
.bmm-platform-list,
.bmm-footer-links,
.bmm-footer-socials {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bmm-feature-list {
  margin-top: 1.1rem;
}

.bmm-feature-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.5rem;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.bmm-feature-list li::before {
  position: absolute;
  top: 1.05rem;
  left: 0.15rem;
  width: 6px;
  height: 6px;
  content: '';
  border-radius: 50%;
  background: var(--bmm-green);
  box-shadow: 0 0 9px rgba(52, 211, 153, 0.62);
}

.bmm-roadmap {
  counter-reset: roadmap;
}

.bmm-roadmap__step {
  position: relative;
  padding: 1.3rem 1.3rem 1.3rem 4.3rem;
  border: 1px solid var(--bmm-line);
  border-radius: var(--bmm-radius-sm);
  background: rgba(18, 21, 28, 0.75);
  counter-increment: roadmap;
}

.bmm-roadmap__step::before {
  position: absolute;
  top: 1.25rem;
  left: 1.15rem;
  display: grid;
  width: 42px;
  height: 42px;
  content: counter(roadmap, decimal-leading-zero);
  place-items: center;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 10px;
  background: var(--bmm-blue-soft);
  color: var(--bmm-blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
}

.bmm-roadmap__step h3 {
  margin: 0;
  font-family: var(--bmm-display);
  font-size: 1.2rem;
  font-weight: 500;
}

.bmm-roadmap__step p {
  margin: 0.4rem 0 0;
  color: var(--bmm-muted);
  font-size: 0.88rem;
}

.bmm-platform-grid {
  display: grid;
  border-top: 1px solid var(--bmm-line);
  border-left: 1px solid var(--bmm-line);
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bmm-platform {
  min-height: 200px;
  padding: 1.25rem;
  border-right: 1px solid var(--bmm-line);
  border-bottom: 1px solid var(--bmm-line);
  background: rgba(18, 21, 28, 0.6);
}

.bmm-platform h3 {
  margin: 0;
  font-family: var(--bmm-display);
  font-size: 1.2rem;
  font-weight: 500;
}

.bmm-platform p {
  margin: 0.65rem 0 0;
  color: var(--bmm-muted);
  font-size: 0.84rem;
}

.bmm-platform__fit {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--bmm-line);
  border-radius: 999px;
  color: var(--bmm-green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.64rem;
  text-transform: uppercase;
}

.bmm-callout {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.35rem, 4vw, 2.2rem);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--bmm-radius);
  background: linear-gradient(120deg, rgba(56, 189, 248, 0.12), rgba(167, 139, 250, 0.07));
  grid-template-columns: minmax(0, 1fr) auto;
}

.bmm-callout h2,
.bmm-callout h3 {
  margin: 0;
  font-family: var(--bmm-display);
  font-weight: 500;
}

.bmm-callout h2 {
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.bmm-callout p {
  max-width: 66ch;
  margin: 0.65rem 0 0;
  color: #b9c4d3;
}

.bmm-callout__actions {
  display: flex;
  align-items: center;
}

.bmm-page-hero {
  position: relative;
  padding-block: clamp(5rem, 11vw, 8rem) clamp(3.5rem, 8vw, 6rem);
  border-bottom: 1px solid var(--bmm-line);
  overflow: hidden;
}

.bmm-page-hero::before {
  position: absolute;
  top: -14rem;
  right: -8rem;
  width: 36rem;
  height: 36rem;
  content: '';
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.16), transparent 66%);
  pointer-events: none;
}

.bmm-page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.bmm-chip {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--bmm-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: #b8c2cf;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
}

.bmm-product-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
}

.bmm-product {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.bmm-product__price {
  margin-top: 1.25rem;
  color: var(--bmm-text);
  font-family: var(--bmm-display);
  font-size: 1.35rem;
}

.bmm-product__price small {
  color: var(--bmm-muted);
  font-family: var(--bmm-body);
  font-size: 0.72rem;
}

.bmm-product__footer {
  margin-top: auto;
  padding-top: 1.5rem;
}

.bmm-manual-layout {
  display: grid;
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}

.bmm-sticky-index {
  position: sticky;
  top: 110px;
  padding: 1.25rem;
  border: 1px solid var(--bmm-line);
  border-radius: var(--bmm-radius);
  background: rgba(18, 21, 28, 0.88);
}

.bmm-sticky-index strong {
  font-family: var(--bmm-display);
  font-size: 1.15rem;
}

.bmm-sticky-index a {
  display: flex;
  min-height: 44px;
  align-items: center;
  border-bottom: 1px solid var(--bmm-line);
  color: var(--bmm-muted);
  font-size: 0.84rem;
  text-decoration: none;
}

.bmm-sticky-index a:last-child {
  border-bottom: 0;
}

.bmm-sticky-index a:hover {
  color: var(--bmm-blue);
}

.bmm-prose {
  min-width: 0;
}

.bmm-prose > *:first-child {
  margin-top: 0;
}

.bmm-prose h2 {
  margin: clamp(3rem, 8vw, 5.5rem) 0 1rem;
  color: var(--bmm-text);
  font-family: var(--bmm-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.bmm-prose h3 {
  margin: 2.2rem 0 0.75rem;
  color: #e5edf7;
  font-family: var(--bmm-display);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 500;
}

.bmm-prose p,
.bmm-prose li {
  color: #abb6c5;
}

.bmm-prose strong {
  color: #e5edf7;
}

.bmm-prose table {
  width: 100%;
  margin-block: 1.5rem;
  border-collapse: collapse;
  border: 1px solid var(--bmm-line);
  background: rgba(18, 21, 28, 0.72);
  font-size: 0.85rem;
}

.bmm-prose th,
.bmm-prose td {
  padding: 0.9rem;
  border: 1px solid var(--bmm-line);
  text-align: left;
  vertical-align: top;
}

.bmm-prose th {
  background: rgba(56, 189, 248, 0.1);
  color: #eaf7fe;
}

.bmm-formula {
  margin-block: 1rem;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  border-left: 3px solid var(--bmm-blue);
  border-radius: 0 var(--bmm-radius-sm) var(--bmm-radius-sm) 0;
  background: rgba(56, 189, 248, 0.08);
  color: #d9f2fe;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  white-space: nowrap;
}

.bmm-warning {
  margin-block: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(251, 191, 36, 0.26);
  border-radius: var(--bmm-radius-sm);
  background: rgba(251, 191, 36, 0.075);
  color: #fde68a;
}

.bmm-directory-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.bmm-directory-nav a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--bmm-line);
  border-radius: 999px;
  color: #cbd5e1;
  font-size: 0.78rem;
  text-decoration: none;
}

.bmm-directory-nav a:hover {
  border-color: var(--bmm-blue);
  color: var(--bmm-blue);
}

.bmm-directory-group {
  scroll-margin-top: 110px;
}

.bmm-directory-group + .bmm-directory-group {
  margin-top: clamp(3rem, 7vw, 5rem);
}

.bmm-directory-group__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.bmm-directory-group h2 {
  margin: 0;
  font-family: var(--bmm-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.bmm-source-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 0;
}

.bmm-source-card__visual {
  position: relative;
  min-height: 190px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--bmm-line);
  background:
    linear-gradient(120deg, rgba(56, 189, 248, 0.08), rgba(167, 139, 250, 0.06)),
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(255, 255, 255, 0.025) 25px);
}

.bmm-source-card__visual img {
  max-height: 165px;
  width: auto;
  object-fit: contain;
}

.bmm-hardware-placeholder {
  width: min(90%, 640px);
  height: auto;
}

.bmm-source-card__placeholder {
  width: 72%;
  height: 112px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(56, 189, 248, 0.45);
  border-radius: 14px;
  color: var(--bmm-blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: center;
}

.bmm-source-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

.bmm-source-card__body h3 {
  font-size: 1.25rem;
}

.bmm-source-card__body .bmm-btn {
  width: 100%;
  margin-top: auto;
}

.bmm-coupon {
  margin: 0.9rem 0 1rem;
  padding: 0.75rem;
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 10px;
  background: rgba(167, 139, 250, 0.08);
}

.bmm-coupon span,
.bmm-coupon strong {
  display: block;
}

.bmm-coupon span {
  color: var(--bmm-dim);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bmm-coupon strong {
  margin-top: 0.2rem;
  color: #ddd6fe;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.bmm-disclosure {
  margin-top: 2rem;
  color: var(--bmm-dim);
  font-size: 0.76rem;
}

.bmm-form-wrap,
.bmm-embed-shell {
  padding: clamp(1.1rem, 4vw, 2rem);
  border: 1px solid var(--bmm-line);
  border-radius: var(--bmm-radius);
  background: rgba(18, 21, 28, 0.86);
  box-shadow: var(--bmm-shadow);
}

.bmm-form-wrap label {
  display: block;
  color: var(--bmm-text);
  font-size: 0.85rem;
  font-weight: 600;
}

.bmm-form-wrap input:not([type='submit']):not([type='checkbox']):not([type='radio']),
.bmm-form-wrap textarea,
.bmm-form-wrap select {
  width: 100%;
  min-height: 50px;
  margin-top: 0.35rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--bmm-line);
  border-radius: 9px;
  background: #0c0f15;
  color: var(--bmm-text);
}

.bmm-form-wrap textarea {
  min-height: 150px;
  resize: vertical;
}

.bmm-form-wrap input[type='submit'],
.bmm-form-wrap button[type='submit'] {
  min-height: 50px;
  padding: 0.75rem 1.2rem;
  border: 1px solid var(--bmm-blue);
  border-radius: 10px;
  background: var(--bmm-blue);
  color: #061019;
  font-weight: 700;
  cursor: pointer;
}

.bmm-form-wrap .wpcf7-response-output {
  margin: 1rem 0 0;
  padding: 0.75rem;
  border-color: var(--bmm-line);
  border-radius: 9px;
  color: var(--bmm-muted);
}

.bmm-embed-shell iframe {
  width: 100%;
  min-height: min(760px, 85vh);
  border: 0;
  border-radius: var(--bmm-radius-sm);
  background: #fff;
}

.bmm-booking-layout {
  display: grid;
  align-items: start;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1.22fr);
}

.bmm-booking-aside {
  position: sticky;
  top: 110px;
}

.bmm-booking-panel {
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid rgba(56, 189, 248, 0.36);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(23, 27, 36, 0.96), rgba(13, 14, 18, 0.98));
  box-shadow: var(--bmm-shadow);
}

.bmm-booking-panel h2 {
  margin: 0;
  font-family: var(--bmm-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
}

.bmm-session-card {
  display: flex;
  min-height: 100%;
  align-items: flex-start;
  flex-direction: column;
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid var(--bmm-line);
  border-radius: var(--bmm-radius-sm);
  background: rgba(255, 255, 255, 0.018);
}

.bmm-session-card + .bmm-session-card {
  margin-top: 0;
}

.bmm-session-card h3 {
  margin: 0;
  font-family: var(--bmm-display);
  font-size: 1.25rem;
  font-weight: 500;
}

.bmm-session-card p {
  margin: 0.35rem 0 0;
  color: var(--bmm-muted);
  font-size: 0.85rem;
}

.bmm-session-card__details {
  margin-top: 0.75rem;
  color: #cbd5e1;
  font-size: 0.82rem;
}

.bmm-session-card .bmm-btn,
.bmm-session-card .bmm-stripe-btn {
  width: 100%;
  margin-top: auto;
}

.bmm-accordion {
  border-top: 1px solid var(--bmm-line);
}

.bmm-accordion__item {
  border-bottom: 1px solid var(--bmm-line);
}

.bmm-accordion__button {
	position: relative;
  width: 100%;
  min-height: 64px;
  display: grid;
  align-items: center;
  padding: 1rem 3rem 1rem 0;
  border: 0;
  background: transparent;
  color: var(--bmm-text);
  font-family: var(--bmm-display);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  text-align: left;
  cursor: pointer;
  grid-template-columns: 1fr;
}

.bmm-accordion__button::after {
  position: absolute;
  right: 0.4rem;
  width: 24px;
  height: 24px;
  content: '+';
  color: var(--bmm-blue);
  font-family: var(--bmm-body);
  font-size: 1.35rem;
  line-height: 24px;
  text-align: center;
}

.bmm-accordion__button[aria-expanded='true']::after {
  content: '−';
}

.bmm-accordion__panel {
  padding: 0 3rem 1.2rem 0;
  color: var(--bmm-muted);
}

.bmm-accordion__panel[hidden] {
  display: none;
}

.bmm-status-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--bmm-line);
  background: rgba(18, 21, 28, 0.72);
}

.bmm-status-table th,
.bmm-status-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--bmm-line);
  text-align: left;
  vertical-align: middle;
}

.bmm-status-table th {
  color: var(--bmm-dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bmm-status-table td {
  color: #cbd5e1;
  font-size: 0.86rem;
}

.bmm-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.07);
  color: var(--bmm-green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  white-space: nowrap;
}

.bmm-status-pill::before {
  width: 6px;
  height: 6px;
  content: '';
  border-radius: 50%;
  background: currentColor;
}

.bmm-checklist {
  display: grid;
  gap: 0.75rem;
}

.bmm-check {
  display: grid;
  align-items: start;
  gap: 0.85rem;
  min-height: 64px;
  padding: 1rem;
  border: 1px solid var(--bmm-line);
  border-radius: var(--bmm-radius-sm);
  background: rgba(18, 21, 28, 0.72);
  cursor: pointer;
  grid-template-columns: 24px 1fr;
}

.bmm-check input {
  width: 22px;
  height: 22px;
  margin: 0.1rem 0 0;
  accent-color: var(--bmm-blue);
}

.bmm-check strong {
  display: block;
  color: var(--bmm-text);
  font-size: 0.92rem;
}

.bmm-check span {
  display: block;
  margin-top: 0.2rem;
  color: var(--bmm-muted);
  font-size: 0.8rem;
}

.bmm-diagnostic {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--bmm-line);
  border-radius: var(--bmm-radius);
  background: rgba(18, 21, 28, 0.72);
  grid-template-columns: 1fr;
}

.bmm-diagnostic h3 {
  margin: 0;
  font-family: var(--bmm-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.bmm-diagnostic__item {
  display: grid;
  min-height: 72px;
  align-items: start;
  gap: 0.75rem;
  padding: 0.9rem;
  border: 1px solid var(--bmm-line);
  border-left: 2px solid var(--bmm-purple);
  border-radius: var(--bmm-radius-sm);
  background: rgba(23, 27, 36, 0.76);
  cursor: pointer;
  grid-template-columns: 24px 1fr;
}

.bmm-diagnostic__item input {
  width: 22px;
  height: 22px;
  margin: 0.1rem 0 0;
  accent-color: var(--bmm-blue);
}

.bmm-diagnostic__item strong {
  display: block;
  font-family: var(--bmm-display);
  font-size: 1.1rem;
}

.bmm-diagnostic__item small {
  display: block;
  margin-top: 0.28rem;
  color: var(--bmm-muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.bmm-diagnostic__item code {
  display: block;
  margin-top: 0.5rem;
  color: var(--bmm-blue);
  font-size: 0.76rem;
  overflow-wrap: anywhere;
}

.bmm-preflight-layout {
  display: grid;
  align-items: start;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.6fr);
}

.bmm-checklist h3 {
  margin: 0 0 0.25rem;
  font-family: var(--bmm-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 500;
}

.bmm-checklist__item {
  display: grid;
  min-height: 72px;
  align-items: start;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--bmm-line);
  border-left: 2px solid var(--bmm-blue);
  border-radius: var(--bmm-radius-sm);
  background: rgba(18, 21, 28, 0.74);
  cursor: pointer;
  grid-template-columns: 24px 1fr;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.bmm-checklist__item:hover {
  border-color: rgba(56, 189, 248, 0.48);
  background: rgba(23, 27, 36, 0.86);
  transform: translateX(2px);
}

.bmm-checklist__item input {
  width: 22px;
  height: 22px;
  margin: 0.12rem 0 0;
  accent-color: var(--bmm-blue);
}

.bmm-checklist__item strong,
.bmm-checklist__item span {
  display: block;
}

.bmm-checklist__item strong {
  margin-bottom: 0.2rem;
  color: var(--bmm-text);
  font-family: var(--bmm-display);
  font-size: 1.02rem;
  font-weight: 500;
}

.bmm-checklist__item span {
  color: var(--bmm-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.bmm-preflight-score {
  position: sticky;
  top: 108px;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(167, 139, 250, 0.4);
  border-radius: var(--bmm-radius);
  background:
    radial-gradient(circle at 85% 10%, rgba(167, 139, 250, 0.18), transparent 42%),
    rgba(18, 21, 28, 0.92);
  box-shadow: var(--bmm-shadow);
}

.bmm-preflight-score > strong {
  display: block;
  margin: 0.3rem 0 0.65rem;
  color: var(--bmm-blue);
  font-family: var(--bmm-display);
  font-size: clamp(3.5rem, 7vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
}

.bmm-preflight-score > p:not(.bmm-card__eyebrow) {
  margin: 0 0 1.25rem;
  color: var(--bmm-muted);
  font-size: 0.84rem;
}

.bmm-calculator-grid {
  display: grid;
  align-items: start;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bmm-page-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.bmm-page-jump a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--bmm-line);
  border-radius: 999px;
  color: var(--bmm-text);
  font-size: 0.78rem;
  text-decoration: none;
}

.bmm-page-jump a:hover,
.bmm-page-jump a:focus-visible {
  border-color: rgba(56, 189, 248, 0.62);
  color: var(--bmm-blue);
}

.bmm-calculator {
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: var(--bmm-radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.11), transparent 34%),
    rgba(18, 21, 28, 0.88);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.bmm-calculator--wide {
  width: 100%;
}

.bmm-calculator--purple {
  border-color: rgba(167, 139, 250, 0.38);
  background:
    radial-gradient(circle at 100% 0%, rgba(167, 139, 250, 0.13), transparent 34%),
    rgba(18, 21, 28, 0.88);
}

.bmm-calculator__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.bmm-calculator__heading h3,
.bmm-power-meter h3 {
  margin: 0;
  font-family: var(--bmm-display);
  font-size: clamp(1.45rem, 2.8vw, 2.05rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.bmm-calculator__badge {
  flex: 0 0 auto;
  padding: 0.36rem 0.55rem;
  border: 1px solid var(--bmm-line);
  border-radius: 999px;
  background: rgba(13, 14, 18, 0.72);
  color: var(--bmm-blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bmm-calculator--purple .bmm-calculator__badge {
  color: var(--bmm-purple);
}

.bmm-calculator__intro {
  margin: 0 0 1.25rem;
  color: var(--bmm-muted);
  font-size: 0.82rem;
}

.bmm-live-data {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--bmm-line);
  border-radius: var(--bmm-radius-sm);
  background: rgba(8, 10, 14, 0.68);
  transition: border-color 180ms ease, background 180ms ease;
}

.bmm-live-data.is-connected {
  border-color: rgba(52, 211, 153, 0.36);
  background: rgba(52, 211, 153, 0.035);
}

.bmm-live-data.is-stale {
  border-color: rgba(251, 191, 36, 0.4);
}

.bmm-live-data.has-error {
  border-color: rgba(251, 113, 133, 0.42);
}

.bmm-live-data__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  color: var(--bmm-muted);
  font-size: 0.68rem;
}

.bmm-live-data__head > div {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.bmm-live-data__head strong {
  color: var(--bmm-text);
  font-family: var(--bmm-display);
  font-size: 0.84rem;
  font-weight: 500;
}

.bmm-live-data__pulse {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--bmm-dim);
  box-shadow: 0 0 0 4px rgba(107, 114, 128, 0.1);
}

.bmm-live-data.is-connected .bmm-live-data__pulse {
  background: var(--bmm-green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.12), 0 0 16px rgba(52, 211, 153, 0.42);
}

.bmm-live-data.is-stale .bmm-live-data__pulse {
  background: var(--bmm-amber);
}

.bmm-live-data.has-error .bmm-live-data__pulse {
  background: var(--bmm-red);
}

.bmm-live-data__controls {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bmm-live-data__facts {
  display: grid;
  gap: 1px;
  margin-top: 0.85rem;
  overflow: hidden;
  border: 1px solid var(--bmm-line);
  border-radius: 9px;
  background: var(--bmm-line);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bmm-live-data__facts > span {
  min-width: 0;
  padding: 0.66rem;
  background: rgba(13, 14, 18, 0.96);
}

.bmm-live-data__facts small,
.bmm-live-data__facts strong {
  display: block;
}

.bmm-live-data__facts small {
  color: var(--bmm-dim);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bmm-live-data__facts strong {
  margin-top: 0.16rem;
  overflow-wrap: anywhere;
  color: var(--bmm-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 600;
}

.bmm-live-data__note {
  margin: 0.72rem 0 0;
  color: var(--bmm-dim);
  font-size: 0.64rem;
  line-height: 1.55;
}

.bmm-calculator__fields {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bmm-calculator__fields--compact {
  max-width: 28rem;
  margin-bottom: 1rem;
  grid-template-columns: 1fr;
}

.bmm-payback-entry {
  display: grid;
  align-items: end;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.9rem;
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: var(--bmm-radius-sm);
  background: rgba(167, 139, 250, 0.055);
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.7fr);
}

.bmm-payback-entry strong {
  color: var(--bmm-text);
  font-family: var(--bmm-display);
  font-size: 0.9rem;
  font-weight: 500;
}

.bmm-payback-entry p {
  max-width: 62ch;
  margin: 0.3rem 0 0;
  color: var(--bmm-dim);
  font-size: 0.68rem;
  line-height: 1.5;
}

.bmm-platform-sources .bmm-card {
  display: flex;
  flex-direction: column;
}

.bmm-platform-sources .bmm-text-link {
  margin-top: auto;
  padding-top: 0.8rem;
}

.bmm-field {
  display: grid;
  align-content: start;
  gap: 0.38rem;
  color: var(--bmm-muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.bmm-field--wide {
  grid-column: 1 / -1;
}

.bmm-field input,
.bmm-field select {
  width: 100%;
  min-height: 48px;
  padding: 0.72rem 0.8rem;
  border: 1px solid var(--bmm-line);
  border-radius: 9px;
  outline: 0;
  background: rgba(8, 10, 14, 0.86);
  color: var(--bmm-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.84rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.bmm-field input:focus,
.bmm-field select:focus {
  border-color: var(--bmm-blue);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.13);
}

.bmm-calculator--purple .bmm-field input:focus,
.bmm-calculator--purple .bmm-field select:focus {
  border-color: var(--bmm-purple);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.13);
}

.bmm-field select option {
  background: var(--bmm-surface);
  color: var(--bmm-text);
}

.bmm-calculator__results {
  display: grid;
  gap: 1px;
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid var(--bmm-line);
  border-radius: var(--bmm-radius-sm);
  background: var(--bmm-line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bmm-result {
  min-width: 0;
  padding: 0.75rem;
  background: rgba(13, 14, 18, 0.95);
}

.bmm-result span,
.bmm-result strong {
  display: block;
}

.bmm-result span {
  color: var(--bmm-dim);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bmm-result strong {
  margin-top: 0.18rem;
  overflow-wrap: anywhere;
  color: var(--bmm-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 600;
}

.bmm-result--primary {
  background: rgba(56, 189, 248, 0.12);
}

.bmm-calculator--purple .bmm-result--primary {
  background: rgba(167, 139, 250, 0.13);
}

.bmm-result--primary strong {
  color: var(--bmm-blue);
}

.bmm-calculator--purple .bmm-result--primary strong {
  color: var(--bmm-purple);
}

.bmm-source-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--bmm-line);
  color: var(--bmm-dim);
  font-size: 0.7rem;
}

.bmm-source-links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  color: var(--bmm-blue);
  text-decoration: none;
}

.bmm-calculator--purple .bmm-source-links a {
  color: var(--bmm-purple);
}

.bmm-power-meter {
  display: grid;
  align-items: start;
  gap: clamp(1.5rem, 5vw, 4rem);
  margin-top: 1.25rem;
  padding: clamp(1.35rem, 4vw, 2.6rem);
  border: 1px solid var(--bmm-line);
  border-radius: var(--bmm-radius);
  background:
    linear-gradient(110deg, rgba(251, 191, 36, 0.07), transparent 46%),
    rgba(18, 21, 28, 0.72);
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}

.bmm-power-meter__copy > p:not(.bmm-card__eyebrow) {
  margin: 0.8rem 0 0;
  color: var(--bmm-muted);
  font-size: 0.86rem;
}

.bmm-assumption-note {
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  border-left: 2px solid var(--bmm-amber);
  background: rgba(251, 191, 36, 0.07);
  color: var(--bmm-muted);
  font-size: 0.76rem;
}

.bmm-assumption-note strong {
  color: var(--bmm-amber);
}

.bmm-calculator-disclaimer {
  max-width: 92ch;
  margin: 1.25rem auto 0;
  color: var(--bmm-dim);
  font-size: 0.7rem;
  text-align: center;
}

.bmm-video-shell {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--bmm-line);
  border-radius: var(--bmm-radius);
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(167, 139, 250, 0.06)),
    #10131a;
}

.bmm-video-shell::after {
  position: absolute;
  width: 68px;
  height: 68px;
  display: grid;
  content: '▶';
  place-items: center;
  border: 1px solid rgba(56, 189, 248, 0.65);
  border-radius: 50%;
  background: rgba(13, 14, 18, 0.82);
  color: var(--bmm-blue);
  font-size: 1.2rem;
  box-shadow: 0 0 34px rgba(56, 189, 248, 0.22);
}

.bmm-video-shell > * {
  position: relative;
  z-index: 1;
  max-width: 75%;
  color: var(--bmm-muted);
  text-align: center;
}

.bmm-video-shell > strong {
  color: var(--bmm-text);
  font-family: var(--bmm-display);
}

.bmm-video-shell > span {
  color: var(--bmm-blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.bmm-video-shell > small {
  font-size: 0.72rem;
}

.bmm-spec-list {
  display: grid;
  gap: 0;
  margin-block: 1rem;
}

.bmm-spec-list li,
.bmm-spec-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.62rem 0;
  border-bottom: 1px solid var(--bmm-line);
  color: var(--bmm-muted);
  font-size: 0.8rem;
}

.bmm-spec-list strong,
.bmm-spec-list dd {
  margin: 0;
  color: var(--bmm-text);
  font-weight: 600;
  text-align: right;
}

.bmm-spec-list dt {
  color: var(--bmm-dim);
}

.bmm-prose-subhead {
  margin: 2rem 0 0.6rem;
  color: var(--bmm-text);
  font-family: var(--bmm-display);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.bmm-youtube-feed {
  margin-top: 2rem;
}

.bmm-youtube-feed iframe {
  width: 100%;
  min-height: 300px;
  border: 0;
  border-radius: var(--bmm-radius-sm);
}

.bmm-site-footer {
  position: relative;
  padding-top: clamp(4rem, 9vw, 7rem);
  border-top: 1px solid var(--bmm-line);
  background: #090a0d;
}

.bmm-site-footer::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(90%, 900px);
  height: 1px;
  content: '';
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--bmm-blue), var(--bmm-purple), transparent);
}

.bmm-footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 3rem;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(150px, 0.6fr));
}

.bmm-footer-brand p {
  max-width: 42ch;
  margin: 1rem 0 0;
  color: var(--bmm-muted);
  font-size: 0.86rem;
}

.bmm-footer-heading {
  margin: 0 0 0.8rem;
  color: var(--bmm-text);
  font-family: var(--bmm-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: fixed !important;
  z-index: 100000;
  top: 0.75rem;
  left: 0.75rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  border-radius: 8px;
  background: var(--bmm-text);
  color: var(--bmm-bg);
}

.bmm-footer-links a,
.bmm-footer-socials a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  color: var(--bmm-muted);
  font-size: 0.82rem;
  text-decoration: none;
}

.bmm-footer-links a:hover,
.bmm-footer-socials a:hover {
  color: var(--bmm-blue);
}

.bmm-footer-bottom {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--bmm-line);
  color: var(--bmm-dim);
  font-size: 0.74rem;
}

.bmm-footer-bottom p {
  margin: 0;
}

.bmm-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.bmm-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .bmm-reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .bmm-hero__grid,
  .bmm-welcome-grid,
  .bmm-profile-section,
  .bmm-heading-row,
  .bmm-product-grid,
  .bmm-manual-layout,
  .bmm-booking-layout,
  .bmm-calculator-grid,
  .bmm-preflight-layout,
  .bmm-power-meter {
    grid-template-columns: 1fr;
  }

  .bmm-hero {
    min-height: auto;
  }

  .bmm-hero h1,
  .bmm-page-hero h1 {
    max-width: 18ch;
  }

  .bmm-platform-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bmm-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bmm-sticky-index,
  .bmm-booking-aside,
  .bmm-preflight-score {
    position: static;
  }

  .bmm-profile-card {
    width: min(100%, 560px);
  }

  .bmm-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  .admin-bar .bmm-site-header {
    top: 46px;
  }
}

@media (max-width: 767px) {
  :root {
    --bmm-pad: 1rem;
    --bmm-section: 4rem;
  }

  .bmm-nav {
    min-height: 68px;
  }

  .bmm-nav__toggle {
    display: block;
  }

  .bmm-nav__links {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 68px);
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    padding: 0.75rem 1rem 1rem;
    border-bottom: 1px solid var(--bmm-line);
    background: rgba(13, 14, 18, 0.98);
  }

  .bmm-nav__links.is-open {
    display: flex;
  }

  .bmm-nav__links a {
    min-height: 52px;
    padding-inline: 0.65rem;
    border-bottom: 1px solid var(--bmm-line);
  }

  .bmm-nav__links a:last-child {
    margin-top: 0.7rem;
    justify-content: center;
    border-bottom: 0;
  }

  .bmm-hero__grid,
  .bmm-grid--2,
  .bmm-grid--3,
  .bmm-grid--4,
  .bmm-diagnostic,
  .bmm-callout,
  .bmm-session-card,
  .bmm-footer-grid {
    grid-template-columns: 1fr;
  }

  .bmm-hero h1,
  .bmm-page-hero h1 {
    font-size: clamp(2.5rem, 13vw, 4.2rem);
    overflow-wrap: anywhere;
  }

  .bmm-profile-card__body {
    align-items: flex-start;
    flex-direction: column;
  }

  .bmm-profile-card__body span {
    text-align: left;
  }

  .bmm-button-row,
  .bmm-card__actions {
    flex-direction: column;
  }

  .bmm-button-row .bmm-btn,
  .bmm-card__actions .bmm-btn,
  .bmm-card__actions .bmm-stripe-btn {
    width: 100%;
  }

  .bmm-proof-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bmm-proof:nth-child(odd) {
    border-left: 1px solid var(--bmm-line);
  }

  .bmm-platform-grid {
    grid-template-columns: 1fr;
  }

  .bmm-platform {
    min-height: auto;
  }

  .bmm-calculator__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .bmm-calculator__fields,
  .bmm-calculator__results,
  .bmm-live-data__controls,
  .bmm-live-data__facts,
  .bmm-payback-entry {
    grid-template-columns: 1fr;
  }

  .bmm-live-data__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .bmm-field--wide {
    grid-column: auto;
  }

  .bmm-source-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .bmm-source-links a {
    width: 100%;
  }

  .bmm-callout__actions {
    align-items: stretch;
  }

  .bmm-callout__actions .bmm-btn {
    width: 100%;
  }

  .bmm-telemetry {
    grid-template-columns: 1fr;
  }

  .bmm-directory-group__head,
  .bmm-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .bmm-status-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .bmm-formula {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  .bmm-brand__text {
    font-size: 0.92rem;
  }

  .bmm-proof-strip__grid {
    grid-template-columns: 1fr;
  }

  .bmm-proof,
  .bmm-proof:first-child,
  .bmm-proof:nth-child(odd) {
    min-height: 104px;
    border-right: 1px solid var(--bmm-line);
    border-left: 1px solid var(--bmm-line);
  }
}

/* GPU and CPU starter guide */
.bmm-guide-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.bmm-guide-toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: .25rem;
  padding: 1.25rem;
  border: 1px solid rgba(56, 189, 248, .24);
  border-radius: 16px;
  background: rgba(15, 23, 42, .76);
}

.bmm-guide-toc strong {
  margin-bottom: .5rem;
  color: #f8fafc;
}

.bmm-guide-toc a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: .55rem .7rem;
  border-radius: 9px;
  color: #aeb9c8;
  text-decoration: none;
}

.bmm-guide-toc a:hover,
.bmm-guide-toc a:focus-visible {
  color: #e0f2fe;
  background: rgba(56, 189, 248, .1);
}

.bmm-guide-content {
  min-width: 0;
}

.bmm-guide-section {
  scroll-margin-top: 110px;
  padding: 0 0 clamp(3.5rem, 7vw, 6rem);
}

.bmm-guide-section > p,
.bmm-guide-section > ul,
.bmm-guide-section > ol {
  max-width: 78ch;
}

.bmm-guide-section code {
  color: #d8b4fe;
  overflow-wrap: anywhere;
}

.bmm-table-wrap {
  margin: 1.5rem 0;
  overflow-x: auto;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 14px;
}

.bmm-data-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: rgba(13, 14, 18, .78);
}

.bmm-data-table th,
.bmm-data-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, .14);
  text-align: left;
  vertical-align: top;
}

.bmm-data-table th {
  color: #f8fafc;
  background: rgba(56, 189, 248, .08);
}

.bmm-data-table tr:last-child td {
  border-bottom: 0;
}

.bmm-guide-checklist {
  margin: 1.5rem 0;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-left: 3px solid #38bdf8;
  border-radius: 0 14px 14px 0;
  background: rgba(56, 189, 248, .07);
}

.bmm-guide-checklist strong {
  color: #f8fafc;
}

.bmm-guide-checklist ul {
  margin-bottom: 0;
}

.bmm-steps {
  display: grid;
  gap: .8rem;
  padding: 0;
  counter-reset: guide-step;
  list-style: none;
}

.bmm-steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: .9rem;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 12px;
  background: rgba(15, 23, 42, .55);
}

.bmm-steps li::before {
  counter-increment: guide-step;
  content: counter(guide-step);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #041019;
  background: #38bdf8;
  font-weight: 800;
}

.bmm-steps strong,
.bmm-steps span {
  grid-column: 2;
}

.bmm-steps span {
  color: #aeb9c8;
}

.bmm-formula-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  margin: 1.5rem 0;
}

.bmm-formula-grid div {
  display: grid;
  gap: .5rem;
  padding: 1rem;
  border: 1px solid rgba(167, 139, 250, .25);
  border-radius: 12px;
  background: rgba(167, 139, 250, .07);
}

.bmm-formula-grid span {
  color: #f8fafc;
  font-weight: 700;
}

.bmm-source-list {
  columns: 2 260px;
  column-gap: 2.5rem;
}

.bmm-source-list li {
  break-inside: avoid;
  margin-bottom: .7rem;
}

@media (max-width: 767px) {
  .bmm-guide-layout {
    grid-template-columns: 1fr;
  }

  .bmm-guide-toc {
    position: static;
  }

  .bmm-formula-grid {
    grid-template-columns: 1fr;
  }

  .bmm-data-table th,
  .bmm-data-table td {
    padding: .8rem;
  }
}

/* Easy Digital Downloads storefront */
.bmm-commerce-hero {
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2.25rem, 5vw, 3.75rem);
  border-bottom: 1px solid var(--bmm-line);
  background: linear-gradient(135deg, rgba(56, 189, 248, .07), rgba(167, 139, 250, .04) 58%, transparent);
}

.bmm-commerce-hero h1 {
  max-width: 19ch;
  margin: 0;
  color: var(--bmm-text);
  font-family: var(--bmm-display);
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1;
  overflow-wrap: anywhere;
}

.bmm-commerce-hero p:last-child {
  max-width: 68ch;
  margin: 1.15rem 0 0;
  color: #b7c0ce;
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.bmm-commerce-panel {
  width: 100%;
  min-width: 0;
  padding: clamp(1.1rem, 3vw, 2rem);
  overflow: hidden;
  border: 1px solid var(--bmm-line);
  border-radius: var(--bmm-radius);
  background: linear-gradient(150deg, rgba(23, 27, 36, .96), rgba(13, 14, 18, .98));
  box-shadow: var(--bmm-shadow), inset 0 1px rgba(255, 255, 255, .04);
}

.bmm-commerce-panel > :first-child {
  margin-top: 0;
}

.bmm-commerce-panel > :last-child {
  margin-bottom: 0;
}

.bmm-commerce-panel h2,
.bmm-commerce-panel h3 {
  color: var(--bmm-text);
  font-family: var(--bmm-display);
  font-weight: 500;
  line-height: 1.15;
}

.bmm-commerce-panel h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.bmm-commerce-panel h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
}

.bmm-commerce-panel p,
.bmm-commerce-panel li,
.bmm-commerce-panel label,
.bmm-commerce-panel th,
.bmm-commerce-panel td {
  color: #b7c0ce;
}

.bmm-commerce-panel table {
  width: 100%;
  margin-block: 1.25rem;
  border-collapse: collapse;
  border: 1px solid var(--bmm-line);
  border-radius: 12px;
  background: rgba(7, 11, 18, .58);
}

.bmm-commerce-panel th,
.bmm-commerce-panel td {
  padding: .9rem;
  border: 1px solid var(--bmm-line);
  text-align: left;
  vertical-align: middle;
}

.bmm-commerce-panel th {
  background: rgba(56, 189, 248, .08);
  color: #e7f5fd;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bmm-commerce-panel fieldset {
  min-width: 0;
  margin: 1.25rem 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--bmm-line);
  border-radius: 14px;
  background: rgba(7, 11, 18, .48);
}

.bmm-commerce-panel legend {
  padding-inline: .5rem;
  color: var(--bmm-text);
  font-family: var(--bmm-display);
  font-size: 1.1rem;
}

.bmm-commerce-panel input[type='text'],
.bmm-commerce-panel input[type='email'],
.bmm-commerce-panel input[type='tel'],
.bmm-commerce-panel input[type='password'],
.bmm-commerce-panel input[type='number'],
.bmm-commerce-panel select,
.bmm-commerce-panel textarea {
  width: 100%;
  min-height: 50px;
  padding: .75rem .85rem;
  border: 1px solid rgba(156, 163, 175, .3);
  border-radius: 10px;
  background: #090c12;
  color: var(--bmm-text);
  box-shadow: none;
}

.bmm-commerce-panel textarea {
  min-height: 120px;
  resize: vertical;
}

.bmm-commerce-panel input::placeholder,
.bmm-commerce-panel textarea::placeholder {
  color: #6f7a89;
}

.bmm-commerce-panel input:focus,
.bmm-commerce-panel select:focus,
.bmm-commerce-panel textarea:focus {
  border-color: var(--bmm-blue);
  outline: 3px solid rgba(56, 189, 248, .18);
  outline-offset: 1px;
}

.bmm-commerce-panel .edd-submit,
.bmm-commerce-panel .edd-submit.button,
.bmm-product__footer .edd-submit,
.bmm-download-purchase .edd-submit {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--bmm-blue);
  color: #061018;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 12px 36px rgba(56, 189, 248, .2);
  cursor: pointer;
}

.bmm-commerce-panel .edd-submit:hover,
.bmm-commerce-panel .edd-submit:focus-visible,
.bmm-product__footer .edd-submit:hover,
.bmm-download-purchase .edd-submit:hover {
  background: #7dd3fc;
  color: #061018;
}

.bmm-product__footer .edd-submit {
  width: 100%;
}

.bmm-commerce-panel #edd_checkout_wrap,
.bmm-commerce-panel #edd_checkout_form_wrap,
.bmm-commerce-panel #edd_purchase_form_wrap,
.bmm-commerce-panel .edd-blocks-checkout,
.bmm-commerce-panel .edd-blocks-cart,
.bmm-commerce-panel .edd-blocks-receipt {
  width: 100%;
  max-width: none;
  color: #b7c0ce;
}

.bmm-commerce-panel #edd_checkout_cart {
  table-layout: auto;
}

.bmm-commerce-panel .edd_cart_item_name {
  color: var(--bmm-text);
  font-weight: 700;
}

.bmm-commerce-panel .edd_cart_remove_item_btn {
  color: #fda4af;
}

.bmm-commerce-panel .edd-description,
.bmm-commerce-panel .edd-description p,
.bmm-commerce-panel .edd-blocks-form__group-description {
  color: var(--bmm-muted);
  font-size: .85rem;
}

.bmm-commerce-panel .StripeElement,
.bmm-commerce-panel #edd-stripe-card-element,
.bmm-commerce-panel .edd-stripe-card-element {
  min-height: 50px;
  padding: .9rem;
  border: 1px solid rgba(156, 163, 175, .3);
  border-radius: 10px;
  background: #fff;
}

.bmm-commerce-panel #edd-payment-mode-wrap,
.bmm-commerce-panel #edd_purchase_submit,
.bmm-commerce-panel .edd-blocks-form__group {
  margin-top: 1.15rem;
}

.bmm-commerce-panel .edd_errors,
.bmm-commerce-panel .edd-alert-error {
  padding: 1rem;
  border: 1px solid rgba(251, 113, 133, .35);
  border-radius: 10px;
  background: rgba(251, 113, 133, .09);
  color: #fecdd3;
}

.bmm-commerce-panel .edd-alert-success {
  padding: 1rem;
  border: 1px solid rgba(52, 211, 153, .35);
  border-radius: 10px;
  background: rgba(52, 211, 153, .09);
  color: #a7f3d0;
}

.bmm-commerce-panel .edd_downloads_list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bmm-commerce-panel .edd_download {
  width: auto !important;
  margin: 0 !important;
}

.bmm-commerce-panel .edd_download_inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border: 1px solid var(--bmm-line);
  border-radius: 14px;
  background: rgba(7, 11, 18, .58);
}

.bmm-commerce-panel .edd_download_image img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 10px;
  background: #070a0f;
}

.bmm-commerce-panel .edd_download_title {
  margin: 1rem 0 .5rem;
  color: var(--bmm-text);
  font-size: 1.2rem;
  line-height: 1.2;
}

.bmm-commerce-panel .edd_download_excerpt {
  color: var(--bmm-muted);
  font-size: .88rem;
}

.bmm-commerce-panel .edd_download_buy_button {
  margin-top: auto;
  padding-top: 1rem;
}

.bmm-download-hero {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  border-bottom: 1px solid var(--bmm-line);
}

.bmm-download-hero__grid {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
}

.bmm-download-copy h1 {
  max-width: 17ch;
  margin: 0;
  color: var(--bmm-text);
  font-family: var(--bmm-display);
  font-size: clamp(2.35rem, 5.5vw, 5.1rem);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1;
  overflow-wrap: anywhere;
}

.bmm-download-lead {
  max-width: 62ch;
  margin: 1.25rem 0 0;
  color: #b7c0ce;
  font-size: clamp(1rem, 2vw, 1.17rem);
}

.bmm-download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.35rem;
}

.bmm-download-meta span {
  padding: .38rem .65rem;
  border: 1px solid var(--bmm-line);
  border-radius: 999px;
  color: #cbd5e1;
  font-size: .72rem;
}

.bmm-download-purchase {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.bmm-download-price {
  margin: 0;
  color: var(--bmm-text);
  font-family: var(--bmm-display);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.bmm-download-price small {
  color: var(--bmm-muted);
  font-family: var(--bmm-body);
  font-size: .7rem;
}

.bmm-download-note {
  max-width: 62ch;
  margin: 1rem 0 0;
  color: var(--bmm-muted);
  font-size: .78rem;
}

.bmm-download-cover {
  margin: 0;
  padding: .75rem;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, .28);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(23, 27, 36, .98), rgba(7, 10, 15, .98));
  box-shadow: var(--bmm-shadow);
}

.bmm-download-cover img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  border-radius: 13px;
  background: #05070b;
}

.bmm-download-detail-grid {
  display: grid;
  align-items: start;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
}

.bmm-download-prose {
  white-space: normal;
}

.bmm-download-prose h2 {
  margin-top: 0;
}

.bmm-download-prose p {
  max-width: 78ch;
}

.bmm-download-assurance {
  padding: clamp(1.1rem, 3vw, 1.5rem);
  border: 1px solid rgba(167, 139, 250, .3);
  border-radius: var(--bmm-radius);
  background: rgba(167, 139, 250, .07);
}

.bmm-download-assurance h2 {
  margin: 0;
  color: var(--bmm-text);
  font-family: var(--bmm-display);
  font-size: 1.5rem;
  font-weight: 500;
}

.bmm-download-assurance ol {
  margin: 1rem 0;
  padding-left: 1.35rem;
  color: #cbd5e1;
}

.bmm-download-assurance li + li {
  margin-top: .65rem;
}

.bmm-download-assurance > p:last-child {
  margin-bottom: 0;
  color: var(--bmm-muted);
  font-size: .82rem;
}

@media (max-width: 900px) {
  .bmm-commerce-panel .edd_downloads_list,
  .bmm-download-hero__grid,
  .bmm-download-detail-grid {
    grid-template-columns: 1fr;
  }

  .bmm-download-cover {
    max-width: 620px;
  }
}

@media (max-width: 767px) {
  .bmm-commerce-panel {
    padding: 1rem;
    border-radius: 14px;
  }

  .bmm-commerce-panel table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  .bmm-commerce-panel fieldset {
    padding: 1rem;
  }

  .bmm-commerce-panel .edd-submit,
  .bmm-product__footer .edd-submit,
  .bmm-download-purchase .edd-submit {
    width: 100%;
  }

  .bmm-download-purchase {
    align-items: stretch;
    flex-direction: column;
  }

  .bmm-download-cover img {
    max-height: 460px;
  }
}
