/* EonLifeX brand manual */
:root {
  --bm-blue: #2e2c72;
  --bm-blue-deep: #10172a;
  --bm-blue-lt: #4a47a3;
  --bm-green: #00965e;
  --bm-green-lt: #00c277;
  --bm-aqua: #00c6ff;
  --bm-gold: #d7b46a;
  --bm-bg: #f6f8fb;
  --bm-surface: #ffffff;
  --bm-ink: #10172a;
  --bm-muted: #647087;
  --bm-line: rgba(16, 23, 42, 0.12);
  --bm-glass: rgba(255, 255, 255, 0.78);
  --bm-gradient: linear-gradient(105deg, #0aa66b 0%, #2e2c72 50%, #d5b15f 100%);
  --bm-soft-gradient: linear-gradient(140deg, rgba(0, 150, 94, 0.1), rgba(46, 44, 114, 0.1), rgba(215, 180, 106, 0.12));
  --bm-shadow: 0 24px 70px rgba(16, 23, 42, 0.11);
  --bm-radius: 24px;
  --bm-radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.bm-page {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.8)),
    repeating-linear-gradient(135deg, rgba(46, 44, 114, 0.045) 0 1px, transparent 1px 30px),
    linear-gradient(180deg, #ffffff 0%, var(--bm-bg) 48%, #ffffff 100%);
  color: var(--bm-ink);
  font-family: "Montserrat", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.bm-page .marketing-main,
.bm-page .marketing-content {
  padding: 0;
  gap: 0;
}

.bm-layout {
  min-height: 100vh;
}

.bm-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 80px;
}

.bm-toc {
  position: sticky;
  top: 0;
  z-index: 50;
  width: min(1180px, calc(100% - 24px));
  margin: 12px auto 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 1px solid rgba(16, 23, 42, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 56px rgba(16, 23, 42, 0.1);
  backdrop-filter: blur(24px);
}

.bm-toc__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.bm-toc__home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(46, 44, 114, 0.16);
  border-radius: 999px;
  color: var(--bm-blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.74);
}

.bm-toc__home:hover {
  color: #ffffff;
  background: var(--bm-blue);
  text-decoration: none;
}

.bm-toc__brand {
  display: none;
  align-items: center;
  min-width: 0;
  gap: 8px;
  color: var(--bm-blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bm-toc__brand img {
  width: 92px;
  height: 28px;
  object-fit: contain;
}

.bm-toc__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--bm-gradient);
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(46, 44, 114, 0.18);
}

.bm-toc__nav {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 18px;
  background: rgba(246, 248, 251, 0.82);
}

.bm-toc__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #526079;
  font-size: 0.71rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.bm-toc__link i {
  font-size: 1rem;
}

.bm-toc__link:hover {
  color: var(--bm-blue);
  border-color: rgba(46, 44, 114, 0.14);
  background: rgba(46, 44, 114, 0.05);
  text-decoration: none;
}

.bm-toc__link.is-active {
  color: #ffffff;
  background: var(--bm-gradient);
  box-shadow: 0 14px 28px rgba(46, 44, 114, 0.18);
}

.bm-toc__link.is-active i,
.bm-toc__link.is-active span {
  color: #ffffff;
}

.bm-section {
  position: relative;
  scroll-margin-top: 230px;
  padding: clamp(3.4rem, 7vw, 6.2rem) 0;
  text-align: center;
  animation: bm-rise 0.65s ease both;
}

.bm-section + .bm-section {
  border-top: 1px solid rgba(16, 23, 42, 0.08);
}

.bm-section__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin: 0 0 14px;
  padding: 0 13px;
  border: 1px solid rgba(0, 150, 94, 0.22);
  border-radius: 999px;
  background: rgba(0, 150, 94, 0.08);
  color: var(--bm-green);
  font-family: "Roboto Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
}

.bm-section__title {
  max-width: 820px;
  margin: 0 auto 12px;
  color: var(--bm-blue);
  font-family: "MuseoModerno", "Montserrat", sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

.bm-section__desc {
  max-width: 760px;
  margin: 0 auto 28px;
  color: var(--bm-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.bm-hero {
  min-height: calc(100vh - 190px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding-top: clamp(2.2rem, 4.5vw, 4rem);
  border-top: 0;
}

.bm-hero__stage {
  position: absolute;
  inset: 18px 0 auto;
  height: 78%;
  pointer-events: none;
  isolation: isolate;
}

.bm-hero__stage::before {
  content: "";
  position: absolute;
  inset: 8% 4% 0;
  border: 1px solid rgba(46, 44, 114, 0.1);
  border-radius: 36px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.22)),
    repeating-linear-gradient(90deg, rgba(46, 44, 114, 0.05) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(0, 150, 94, 0.035) 0 1px, transparent 1px 72px);
  transform: perspective(900px) rotateX(5deg);
  box-shadow: var(--bm-shadow);
}

.bm-hero__beam {
  position: absolute;
  display: block;
  width: 52%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 150, 94, 0.48), rgba(46, 44, 114, 0.34), transparent);
  transform-origin: center;
}

.bm-hero__beam--one {
  top: 28%;
  left: 1%;
  transform: rotate(-14deg);
}

.bm-hero__beam--two {
  right: 0;
  bottom: 24%;
  transform: rotate(16deg);
  background: linear-gradient(90deg, transparent, rgba(215, 180, 106, 0.52), rgba(46, 44, 114, 0.28), transparent);
}

.bm-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(980px, 100%);
  padding: clamp(1.8rem, 4vw, 3.4rem) clamp(1rem, 4vw, 2.6rem);
}

.bm-hero__badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 24px;
  padding: 0 16px;
  border: 1px solid rgba(46, 44, 114, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--bm-blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bm-hero__logo {
  width: min(360px, 74vw);
  max-height: 96px;
  object-fit: contain;
  margin: 0 0 18px;
  filter: drop-shadow(0 18px 30px rgba(46, 44, 114, 0.16));
}

.bm-hero__title {
  max-width: 880px;
  margin: 0;
  color: var(--bm-ink);
  font-family: "MuseoModerno", "Montserrat", sans-serif;
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

.bm-hero__title span,
.bm-title-gradient {
  background: var(--bm-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bm-hero__tagline {
  max-width: 790px;
  margin: 1.25rem auto 0;
  color: #27324d;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.42;
}

.bm-hero__sub {
  max-width: 720px;
  margin: 0.8rem auto 0;
  color: var(--bm-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.bm-hero__actions,
.bm-hero__proofs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.bm-hero__actions {
  margin-top: 28px;
}

.bm-hero__proofs {
  width: min(820px, 100%);
  margin-top: 22px;
}

.bm-hero__proofs div {
  flex: 1 1 180px;
  min-height: 108px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(16, 23, 42, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 42px rgba(16, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.bm-hero__proofs strong {
  color: var(--bm-blue);
  font-size: 1rem;
  font-weight: 900;
}

.bm-hero__proofs span {
  max-width: 190px;
  color: var(--bm-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.bm-hero__divider {
  width: min(190px, 46vw);
  height: 4px;
  margin: 28px auto 0;
  border-radius: 999px;
  background: var(--bm-gradient);
}

.bm-grid {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.bm-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bm-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bm-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bm-card {
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(16, 23, 42, 0.1);
  border-radius: var(--bm-radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 46px rgba(16, 23, 42, 0.08);
  text-align: center;
  backdrop-filter: blur(18px);
}

.bm-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--bm-gradient);
  opacity: 0.9;
}

.bm-card--glass {
  background: var(--bm-glass);
}

.bm-card--accent {
  background: var(--bm-soft-gradient), rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 150, 94, 0.2);
}

.bm-card--center {
  width: min(860px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.bm-card__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--bm-blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bm-card p,
.bm-note {
  margin: 0;
  color: var(--bm-muted);
  font-size: 0.95rem;
  line-height: 1.72;
}

.bm-note {
  margin-top: 10px;
  font-size: 0.84rem;
}

.bm-value {
  min-height: 154px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 24px 18px;
  border: 1px solid rgba(16, 23, 42, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 36px rgba(16, 23, 42, 0.07);
}

.bm-value i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #ffffff;
  background: var(--bm-gradient);
  font-size: 1.5rem;
}

.bm-value span {
  color: var(--bm-blue);
  font-weight: 900;
}

.bm-quote {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  color: var(--bm-blue);
  font-family: "MuseoModerno", "Montserrat", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.35;
}

.bm-landing-system {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.bm-landing-card {
  min-height: 220px;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 12px;
  padding: 24px 18px;
  border: 1px solid rgba(16, 23, 42, 0.1);
  border-radius: 24px;
  color: var(--bm-ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.76)),
    repeating-linear-gradient(135deg, rgba(0, 150, 94, 0.06) 0 1px, transparent 1px 24px);
  box-shadow: 0 18px 42px rgba(16, 23, 42, 0.08);
  text-align: center;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.bm-landing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 150, 94, 0.28);
  box-shadow: 0 26px 62px rgba(16, 23, 42, 0.13);
  text-decoration: none;
}

.bm-landing-card i {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  background: var(--bm-gradient);
  font-size: 1.35rem;
}

.bm-landing-card strong {
  color: var(--bm-blue);
  font-size: 1rem;
  font-weight: 900;
}

.bm-landing-card span {
  color: var(--bm-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.bm-logo-preview {
  min-height: 190px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  padding: 28px;
  border: 1px solid rgba(16, 23, 42, 0.1);
  border-radius: 22px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.bm-logo-preview img {
  max-width: min(360px, 90%);
  height: auto;
  object-fit: contain;
}

.bm-logo-preview--light {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 251, 0.86)),
    repeating-linear-gradient(135deg, rgba(46, 44, 114, 0.05) 0 1px, transparent 1px 28px);
}

.bm-logo-preview--dark {
  background:
    linear-gradient(135deg, rgba(16, 23, 42, 0.98), rgba(46, 44, 114, 0.96)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 30px);
  border-color: rgba(255, 255, 255, 0.16);
}

.bm-logo-toggle,
.bm-comp-row,
.bm-swatch__codes,
.bm-asset-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.bm-logo-protection {
  position: relative;
  display: grid;
  place-items: center;
  margin-top: 18px;
  min-height: 190px;
  padding: 42px;
  border: 2px dashed rgba(46, 44, 114, 0.24);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.bm-logo-protection::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px dashed rgba(0, 150, 94, 0.48);
  border-radius: 18px;
}

.bm-logo-protection img {
  position: relative;
  z-index: 1;
  max-width: min(380px, 86%);
}

.bm-logo-text {
  color: var(--bm-blue);
  font-family: "MuseoModerno", "Montserrat", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
}

.bm-logo-text span {
  color: var(--bm-green);
}

.bm-logo-iso {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #ffffff;
  background: var(--bm-gradient);
  font-family: "MuseoModerno", "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.bm-donot {
  position: relative;
  min-height: 138px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 20px 14px;
  border: 1px solid rgba(220, 53, 69, 0.22);
  border-radius: 18px;
  background: #fff5f5;
  color: #b91c1c;
  text-align: center;
}

.bm-donot::after {
  content: "X";
  position: absolute;
  top: 10px;
  right: 14px;
  color: #dc3545;
  font-weight: 900;
}

.bm-donot span {
  color: #b91c1c;
  font-size: 0.78rem;
  font-weight: 900;
}

.bm-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.bm-swatch {
  overflow: hidden;
  border: 1px solid rgba(16, 23, 42, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(16, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.bm-swatch:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 62px rgba(16, 23, 42, 0.13);
}

.bm-swatch__color {
  height: 116px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 44%),
    var(--swatch-color);
}

.bm-swatch__info {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 18px;
}

.bm-swatch__info h4 {
  margin: 0;
  color: var(--bm-ink);
  font-size: 1rem;
  font-weight: 900;
}

.bm-code {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(16, 23, 42, 0.12);
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  cursor: pointer;
  font-family: "Roboto Mono", monospace;
  font-size: 0.68rem;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.bm-code:hover {
  color: #ffffff;
  border-color: var(--bm-blue);
  background: var(--bm-blue);
}

.bm-swatch__usage {
  margin: 0;
  color: var(--bm-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.bm-gradient-swatch {
  min-height: 118px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(46, 44, 114, 0.16);
}

.bm-type-card {
  overflow: hidden;
}

.bm-type-header {
  margin-bottom: 16px;
}

.bm-type-specimen {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 24px;
  border: 1px solid rgba(16, 23, 42, 0.08);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 248, 251, 0.92)),
    repeating-linear-gradient(135deg, rgba(46, 44, 114, 0.05) 0 1px, transparent 1px 28px);
  color: var(--bm-ink);
}

.bm-type-scale {
  display: grid;
  gap: 8px;
}

.bm-type-scale > div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(16, 23, 42, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  text-align: left;
}

.bm-type-label,
.bm-type-spec,
.bm-pill {
  font-family: "Roboto Mono", monospace;
}

.bm-type-label {
  display: inline-flex;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(46, 44, 114, 0.08);
  color: var(--bm-blue);
  font-size: 0.72rem;
  font-weight: 700;
}

.bm-type-spec {
  color: var(--bm-muted);
  font-size: 0.72rem;
  white-space: nowrap;
}

.bm-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(0, 150, 94, 0.1);
  color: var(--bm-green);
  font-size: 0.62rem;
  letter-spacing: 0;
  text-transform: none;
}

.bm-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.bm-icon-item {
  min-height: 126px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 16px 10px;
  border: 1px solid rgba(16, 23, 42, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  transition: background 0.2s ease, transform 0.2s ease;
}

.bm-icon-item:hover {
  transform: translateY(-3px);
  background: rgba(232, 234, 255, 0.72);
}

.bm-icon-item i {
  color: var(--bm-blue);
  font-size: 1.8rem;
}

.bm-icon-item span {
  color: var(--bm-muted);
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1.35;
}

.bm-rank-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.bm-rank-card {
  position: relative;
  min-height: 292px;
  overflow: hidden;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 14px;
  padding: 24px 18px 18px;
  border: 1px solid rgba(16, 23, 42, 0.1);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9)),
    repeating-linear-gradient(135deg, rgba(46, 44, 114, 0.035) 0 1px, transparent 1px 28px);
  box-shadow: 0 20px 54px rgba(16, 23, 42, 0.08);
  isolation: isolate;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.bm-rank-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--rank-color);
}

.bm-rank-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--rank-color) 34%, rgba(16, 23, 42, 0.1));
  box-shadow: 0 30px 72px rgba(16, 23, 42, 0.13);
}

.bm-rank-card__halo {
  position: absolute;
  inset: auto 18% -24% 18%;
  height: 42%;
  border-radius: 999px;
  background: color-mix(in srgb, var(--rank-color) 28%, transparent);
  filter: blur(24px);
  z-index: -1;
}

.bm-rank-card__icon {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--rank-color) 28%, rgba(16, 23, 42, 0.08));
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 22%, color-mix(in srgb, var(--rank-color) 14%, transparent), transparent 54%),
    #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 20px 36px color-mix(in srgb, var(--rank-color) 18%, transparent);
}

.bm-rank-mask {
  width: 50px;
  height: 50px;
  display: block;
  background: var(--rank-color);
  filter: drop-shadow(0 8px 14px rgba(16, 23, 42, 0.16));
  -webkit-mask-image: var(--icon-url);
  mask-image: var(--icon-url);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

.bm-rank-card h3 {
  margin: 0;
  color: var(--bm-blue);
  font-family: "MuseoModerno", "Montserrat", sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0;
}

.bm-rank-colors,
.bm-rank-downloads {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.bm-rank-color {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  background: var(--choice);
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(16, 23, 42, 0.14);
}

.bm-rank-color.is-active {
  outline: 3px solid color-mix(in srgb, var(--choice) 32%, transparent);
  transform: scale(1.08);
}

.bm-rank-downloads {
  width: 100%;
  margin-top: auto;
  padding-top: 4px;
}

.bm-rank-downloads button {
  min-height: 34px;
  min-width: 54px;
  border: 1px solid rgba(46, 44, 114, 0.14);
  border-radius: 999px;
  color: var(--bm-blue);
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.bm-rank-downloads button:hover {
  color: #ffffff;
  background: var(--rank-color);
  transform: translateY(-2px);
}

.bm-rule {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  text-align: center;
}

.bm-rule i {
  font-size: 1.4rem;
}

.bm-rule p {
  margin: 0;
  color: var(--bm-ink);
  font-size: 0.9rem;
  line-height: 1.55;
}

.bm-rule--do {
  background: rgba(0, 150, 94, 0.1);
}

.bm-rule--do i {
  color: var(--bm-green);
}

.bm-rule--dont {
  background: rgba(220, 53, 69, 0.08);
}

.bm-rule--dont i {
  color: #dc3545;
}

.bm-demo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: default;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.bm-demo-btn:hover {
  text-decoration: none;
}

.bm-demo-btn[href] {
  cursor: pointer;
}

.bm-demo-btn[href]:hover {
  transform: translateY(-2px);
}

.bm-demo-btn--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--bm-green), #0dbd78 52%, #1f6fce);
  box-shadow: 0 18px 38px rgba(0, 150, 94, 0.22);
}

.bm-demo-btn--secondary {
  color: #ffffff;
  background: var(--bm-blue);
  box-shadow: 0 18px 36px rgba(46, 44, 114, 0.2);
}

.bm-demo-btn--ghost {
  color: var(--bm-blue);
  border-color: rgba(46, 44, 114, 0.2);
  background: rgba(255, 255, 255, 0.78);
}

.bm-demo-btn--danger {
  color: #ffffff;
  background: #dc3545;
}

.bm-demo-btn--disabled {
  color: #94a3b8;
  background: #e2e8f0;
  box-shadow: none;
  transform: none;
}

.bm-demo-card {
  min-height: 150px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 24px;
  background: var(--bm-glass);
  box-shadow: 0 18px 42px rgba(16, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.bm-demo-card h4 {
  margin: 0;
  color: var(--bm-blue);
  font-weight: 900;
}

.bm-demo-card p {
  margin: 0;
  color: var(--bm-muted);
  font-family: "Roboto Mono", monospace;
  font-size: 0.76rem;
  line-height: 1.55;
}

.bm-demo-card--solid {
  background: #ffffff;
  backdrop-filter: none;
}

.bm-demo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.bm-demo-pill--primary {
  color: var(--bm-blue);
  background: rgba(46, 44, 114, 0.1);
}

.bm-demo-pill--success {
  color: #0b7750;
  background: rgba(0, 150, 94, 0.12);
}

.bm-demo-pill--warning {
  color: #92400e;
  background: rgba(215, 180, 106, 0.2);
}

.bm-demo-pill--danger {
  color: #b91c1c;
  background: rgba(220, 53, 69, 0.1);
}

.bm-demo-pill--neutral {
  color: #475569;
  background: #f1f5f9;
}

.bm-radius-demo {
  min-height: 104px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  border: 2px solid rgba(46, 44, 114, 0.72);
  background: rgba(255, 255, 255, 0.82);
}

.bm-radius-demo span {
  color: var(--bm-blue);
  font-family: "Roboto Mono", monospace;
  font-size: 0.88rem;
  font-weight: 700;
}

.bm-radius-demo small {
  color: var(--bm-muted);
  font-size: 0.72rem;
}

.bm-code-block {
  position: relative;
  margin-top: 18px;
  overflow-x: auto;
  border-radius: 18px;
  background: #0f172a;
  padding: 22px;
  text-align: left;
}

.bm-code-block pre {
  margin: 0;
}

.bm-code-block code {
  color: #e2e8f0;
  font-family: "Roboto Mono", monospace;
  font-size: 0.8rem;
  line-height: 1.7;
}

.bm-code-copy {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 12px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.bm-list {
  width: min(560px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: left;
}

.bm-list li {
  position: relative;
  padding: 9px 0 9px 28px;
  border-bottom: 1px solid rgba(16, 23, 42, 0.06);
  color: var(--bm-ink);
  font-size: 0.92rem;
  line-height: 1.5;
}

.bm-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--bm-green);
  font-weight: 900;
}

.bm-list--dont li::before {
  content: "X";
  color: #dc3545;
}

.bm-resource {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 20px;
  border: 1px solid rgba(16, 23, 42, 0.1);
  border-radius: 22px;
  color: var(--bm-ink);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 42px rgba(16, 23, 42, 0.08);
  text-align: left;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bm-resource:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 62px rgba(16, 23, 42, 0.12);
  text-decoration: none;
}

.bm-resource > i:first-child {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: var(--bm-gradient);
  font-size: 1.2rem;
}

.bm-resource > i:last-child {
  color: var(--bm-muted);
}

.bm-resource h4 {
  margin: 0 0 4px;
  color: var(--bm-blue);
  font-size: 0.98rem;
  font-weight: 900;
}

.bm-resource p {
  margin: 0;
  color: var(--bm-muted);
  font-size: 0.82rem;
}

.bm-asset-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(46, 44, 114, 0.16);
  border-radius: 999px;
  color: var(--bm-blue);
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.bm-asset-chip:hover {
  color: #ffffff;
  background: var(--bm-blue);
  text-decoration: none;
}

.bm-asset-chip--missing {
  color: #7a8191;
  background: rgba(122, 129, 145, 0.08);
  border-color: rgba(122, 129, 145, 0.18);
  cursor: default;
}

.bm-asset-chip--missing:hover {
  color: #7a8191;
  background: rgba(122, 129, 145, 0.08);
}

.bm-btn {
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid rgba(16, 23, 42, 0.1);
  border-radius: 999px;
  color: #526079;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  transition: background 0.16s ease, color 0.16s ease;
}

.bm-btn:hover,
.bm-btn.is-active {
  color: #ffffff;
  background: var(--bm-blue);
}

.bm-footer {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 44px;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 198, 255, 0.24), transparent 36%),
    radial-gradient(circle at 88% 12%, rgba(215, 180, 106, 0.26), transparent 32%),
    linear-gradient(135deg, #10172a 0%, #2e2c72 52%, #00694a 100%);
  box-shadow: 0 34px 90px rgba(16, 23, 42, 0.22);
  text-align: left;
}

.bm-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 34px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 42%);
  pointer-events: none;
}

.bm-footer > * {
  position: relative;
  z-index: 1;
}

.bm-footer__mark {
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.bm-footer__mark img {
  width: 118px;
  max-height: 68px;
  object-fit: contain;
}

.bm-footer__content {
  display: grid;
  gap: 14px;
}

.bm-footer__content h2 {
  max-width: 780px;
  margin: 0;
  font-family: "MuseoModerno", "Montserrat", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

.bm-footer__content p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.98rem;
  line-height: 1.72;
}

.bm-footer__metrics,
.bm-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bm-footer__metrics span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
}

.bm-footer__metrics strong {
  color: #ffffff;
  font-family: "Roboto Mono", monospace;
}

.bm-footer__links {
  justify-content: flex-end;
  align-self: stretch;
  align-content: center;
  max-width: 180px;
}

.bm-footer__links a {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  align-items: center;
}

.bm-footer__links a:hover {
  color: var(--bm-blue);
  background: #ffffff;
}

.bm-footer__legal {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  text-align: center;
}

.bm-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--bm-blue);
  box-shadow: 0 18px 46px rgba(46, 44, 114, 0.32);
  font-size: 0.88rem;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(18px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.bm-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes bm-rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1120px) {
  .bm-section {
    scroll-margin-top: 250px;
  }

  .bm-toc {
    grid-template-columns: 1fr;
  }

  .bm-toc__nav {
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  }

  .bm-landing-system,
  .bm-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .bm-main {
    width: min(100% - 24px, 720px);
    padding-top: 32px;
  }

  .bm-toc {
    position: sticky;
    top: 8px;
    width: min(100% - 20px, 720px);
    padding: 8px;
    border-radius: 22px;
  }

  .bm-toc__bar {
    justify-content: space-between;
  }

  .bm-toc__brand {
    display: flex;
  }

  .bm-toc__toggle {
    display: inline-flex;
  }

  .bm-toc__nav {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: min(58vh, 430px);
    overflow-y: auto;
    padding: 8px;
  }

  .bm-toc.is-open .bm-toc__nav {
    display: grid;
  }

  .bm-toc__link {
    justify-content: flex-start;
    min-height: 44px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .bm-section {
    scroll-margin-top: 150px;
    padding: 3.2rem 0;
  }

  .bm-hero {
    min-height: auto;
    padding-top: 2.6rem;
  }

  .bm-hero__stage::before {
    inset: 6% 0 0;
    border-radius: 24px;
  }

  .bm-grid--2,
  .bm-grid--3,
  .bm-grid--4,
  .bm-landing-system {
    grid-template-columns: 1fr;
  }

  .bm-type-scale > div {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .bm-resource {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .bm-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .bm-footer__content {
    justify-items: center;
  }

  .bm-footer__metrics,
  .bm-footer__links {
    justify-content: center;
  }

  .bm-footer__links {
    max-width: none;
    width: 100%;
  }

  .bm-footer__links a {
    width: auto;
  }
}

@media (max-width: 560px) {
  .bm-toc__home span,
  .bm-toc__brand span {
    display: none;
  }

  .bm-toc__brand img {
    width: 108px;
  }

  .bm-toc__nav {
    grid-template-columns: 1fr;
  }

  .bm-hero__content {
    padding-left: 0;
    padding-right: 0;
  }

  .bm-hero__actions {
    width: 100%;
  }

  .bm-hero__actions .bm-demo-btn {
    width: 100%;
  }

  .bm-card,
  .bm-landing-card,
  .bm-logo-preview {
    border-radius: 18px;
  }

  .bm-swatch__codes {
    flex-direction: column;
    width: 100%;
  }

  .bm-code {
    width: 100%;
  }

  .bm-rank-grid {
    grid-template-columns: 1fr;
  }

  .bm-footer__mark {
    width: 128px;
    height: 128px;
  }
}
