/* ============================================================
   BillMatePOS product page — page-only styles.
   Builds on ../assets/css/styles.css (shared, not modified).
   ============================================================ */

/* ---- Hero ---- */
.bm-hero {
  display: grid;
  grid-template-columns: 42fr 58fr;
  align-items: center;
  gap: 48px;
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 72px;
}

.bm-back {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-600);
  margin-bottom: 18px;
}
.bm-back:hover { color: var(--primary); }
.bm-hero-text .hero-badge { display: table; }

.bm-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
}
.bm-hero-points li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-600);
}
.bm-hero-points li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 14px; height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--primary-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%234361EE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.bm-hero-shot {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg), var(--shadow-blue);
  background: #fff;
}
.bm-hero-shot img,
.bm-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- Features: 9 cards in 3 columns ---- */
#features .services-grid { grid-template-columns: repeat(3, 1fr); }
.bm-icon { color: var(--primary); }

/* ---- Screenshots ---- */
.bm-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: start;
}
.bm-shot {
  grid-column: span 2;
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow var(--ease), transform var(--ease);
}
.bm-shot--wide { grid-column: span 3; }
.bm-shot:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.bm-shot a { display: block; background: var(--bg-subtle); border-bottom: 1px solid var(--border-light); }
.bm-shot figcaption {
  padding: 14px 18px 16px;
  font-size: 0.9rem;
  color: var(--text-600);
  line-height: 1.55;
}
.bm-shot figcaption strong {
  display: block;
  color: var(--text-900);
  font-size: 0.975rem;
  margin-bottom: 2px;
}
/* The three small dialogs: centre them on a light panel of equal height */
.bm-shot:not(.bm-shot--wide) a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  padding: 16px;
}
.bm-shot:not(.bm-shot--wide) img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--r-xs);
  box-shadow: var(--shadow-sm);
}

/* ---- Two columns (keyboard, requirements) ---- */
.bm-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.bm-two-col--top { align-items: start; gap: 24px; }

.bm-lead {
  font-size: 1.0625rem;
  color: var(--text-600);
  line-height: 1.75;
  max-width: 480px;
}

.bm-keys {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.bm-keys > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  color: var(--text-600);
}
.bm-keys kbd {
  flex-shrink: 0;
  min-width: 52px;
  padding: 5px 8px;
  text-align: center;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-900);
  background: #fff;
  border: 1px solid var(--border);
  border-bottom-width: 3px;
  border-radius: 6px;
}

.bm-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 32px 30px;
  height: 100%;
}
.bm-panel h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 18px;
}

.bm-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9375rem;
  color: var(--text-600);
}
.bm-list li:last-child { border-bottom: 0; }
.bm-list strong {
  display: inline-block;
  min-width: 140px;
  color: var(--text-900);
  font-weight: 600;
}

.bm-steps { list-style: none; counter-reset: step; }
.bm-steps li {
  counter-increment: step;
  display: flex;
  gap: 14px;
  padding: 10px 0;
  font-size: 0.9375rem;
  color: var(--text-600);
  line-height: 1.6;
}
.bm-steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-pale);
}
.bm-note {
  margin-top: 16px;
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--text-600);
  background: var(--primary-pale);
  border-radius: var(--r-sm);
}
.bm-note a { color: var(--primary); font-weight: 600; }
.bm-note a:hover { text-decoration: underline; }

/* ---- License ---- */
.bm-license {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bm-license-step {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 24px;
}
.bm-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  margin-bottom: 14px;
  border-radius: var(--r-sm);
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #3D62FF, #5050FB);
}
.bm-license-step h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 8px;
}
.bm-license-step p {
  font-size: 0.9375rem;
  color: var(--text-600);
  line-height: 1.65;
}

/* ---- Call to action ---- */
.bm-cta {
  text-align: center;
  padding: 56px 32px;
  border-radius: var(--r-xl);
  color: #fff;
  background: linear-gradient(135deg, #3D62FF 0%, #5050FB 100%);
  box-shadow: var(--shadow-blue);
}
.bm-cta h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.bm-cta p {
  max-width: 520px;
  margin: 0 auto 28px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}
.bm-cta-actions { justify-content: center; margin-bottom: 0; }
.bm-btn-light { background: #fff; color: var(--primary); }
.bm-btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.bm-btn-ghost { color: #fff; border: 2px solid rgba(255,255,255,0.7); }
.bm-btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-1px); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .bm-hero { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .bm-hero-text .hero-badge { margin-left: auto; margin-right: auto; }
  .bm-hero-points { justify-content: center; }
  #features .services-grid { grid-template-columns: repeat(2, 1fr); }
  .bm-shot, .bm-shot--wide { grid-column: span 3; }
  .bm-two-col { grid-template-columns: 1fr; gap: 32px; }
  .bm-lead { max-width: none; }
}

@media (max-width: 768px) {
  .bm-hero { padding-top: calc(var(--nav-h) + 28px); padding-bottom: 48px; }
  #features .services-grid,
  .bm-license { grid-template-columns: 1fr; }
  .bm-gallery { grid-template-columns: 1fr; gap: 20px; }
  .bm-shot, .bm-shot--wide { grid-column: auto; }
  .bm-keys { grid-template-columns: 1fr; }
  .bm-panel { padding: 26px 20px; }
  .bm-list strong { display: block; min-width: 0; }
  .bm-cta { padding: 44px 20px; border-radius: var(--r-lg); }
}

@media (max-width: 480px) {
  .bm-hero { padding-left: 16px; padding-right: 16px; }
  .bm-cta-actions .btn { width: 100%; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .bm-shot, .bm-shot:hover { transition: none; transform: none; }
}

/* ============================================================
   Product page sections added for the commercial release
   (why, feature groups, counters, industries, workflow,
    data safety, get started / download)
   ============================================================ */

/* ---- Why BillMatePOS ---- */
.bm-why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 28px;
}
.bm-why li {
  position: relative;
  padding: 4px 0 4px 34px;
}
.bm-why li::before,
.bm-checks li::before {
  content: '';
  position: absolute;
  left: 0;
  border-radius: 50%;
  background: var(--primary-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%234361EE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.bm-why li::before { top: 4px; width: 22px; height: 22px; }
.bm-why strong {
  display: block;
  font-size: 1.0625rem;
  color: var(--text-900);
  margin-bottom: 4px;
}
.bm-why span { font-size: 0.9375rem; color: var(--text-600); line-height: 1.6; }

/* ---- Feature groups ---- */
.bm-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.bm-group {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 28px 24px;
}
.bm-group h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-900);
  margin: 16px 0 12px;
}
.bm-checks li {
  position: relative;
  padding: 5px 0 5px 28px;
  font-size: 0.9375rem;
  color: var(--text-600);
  line-height: 1.55;
}
.bm-checks li::before { top: 8px; width: 18px; height: 18px; background-size: 12px; }
.bm-checks--wide { margin-top: 20px; }

/* ---- Counters: Main PC + counters ---- */
.bm-network {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.bm-node {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  min-width: 150px;
}
.bm-node strong { display: block; color: var(--text-900); font-size: 1rem; }
.bm-node small { display: block; color: var(--text-400); font-size: 0.8125rem; margin-top: 2px; }
.bm-node-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}
.bm-node--main {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-blue);
  padding: 18px 28px;
}
.bm-link {
  position: relative;
  width: 2px;
  height: 64px;
  background: var(--primary-light);
  margin: 6px 0;
}
.bm-link span {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 0.8125rem;
  color: var(--text-600);
}
.bm-node-row { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }

/* ---- Industries ---- */
.bm-industries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.bm-industry {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--r-md);
  padding: 24px 22px;
}
.bm-industry h3 { font-size: 1.0625rem; font-weight: 700; color: var(--text-900); margin-bottom: 8px; }
.bm-industry p { font-size: 0.9375rem; color: var(--text-600); line-height: 1.65; }

/* ---- Workflow ---- */
.bm-flow {
  list-style: none;
  counter-reset: flow;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
.bm-flow li {
  counter-increment: flow;
  position: relative;
  text-align: center;
  padding: 18px 8px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.bm-flow li::before {
  content: counter(flow);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  margin: 0 auto 10px;
  border-radius: 50%;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #3D62FF, #5050FB);
}
.bm-flow li:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -10px; top: 32px;
  width: 8px; height: 8px;
  border-top: 2px solid var(--primary-light);
  border-right: 2px solid var(--primary-light);
  transform: rotate(45deg);
}
.bm-flow strong { display: block; font-size: 0.9375rem; color: var(--text-900); line-height: 1.3; }
.bm-flow span { display: block; font-size: 0.8125rem; color: var(--text-600); margin-top: 4px; line-height: 1.4; }

/* ---- Data safety ---- */
.bm-safety {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bm-safety-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px 24px 22px;
}
.bm-safety-item h3 { font-size: 1.0625rem; font-weight: 700; color: var(--text-900); margin-bottom: 8px; }
.bm-safety-item p { font-size: 0.9375rem; color: var(--text-600); line-height: 1.65; }

.bm-center-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9375rem;
  color: var(--text-600);
}
.bm-center-note a { color: var(--primary); font-weight: 600; }
.bm-center-note a:hover { text-decoration: underline; }

/* ---- Get started / download ---- */
.bm-download {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.bm-download-main {
  padding: 36px 36px 32px;
  background: linear-gradient(160deg, #F0F5FF 0%, #FFFFFF 70%);
  border-right: 1px solid var(--border-light);
}
.bm-download-main h3,
.bm-download-side h3 { font-size: 1.25rem; font-weight: 800; color: var(--text-900); margin-bottom: 10px; }
.bm-download-side h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; }
.bm-download-main p { color: var(--text-600); line-height: 1.7; margin-bottom: 24px; }
.bm-download-side { padding: 32px 32px 24px; }
.bm-download-actions { margin-bottom: 0; }
.bm-soon {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-mid);
  background: var(--primary-pale);
  border: 1px solid rgba(124,147,245,0.3);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 14px;
}
.bm-steps--row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.bm-steps--row li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 18px;
}

/* ---- Responsive (new sections) ---- */
@media (max-width: 1024px) {
  .bm-why, .bm-safety { grid-template-columns: repeat(2, 1fr); }
  .bm-industries { grid-template-columns: repeat(2, 1fr); }
  .bm-flow { grid-template-columns: repeat(4, 1fr); }
  .bm-flow li:nth-child(4n)::after { display: none; }
  .bm-download { grid-template-columns: 1fr; }
  .bm-download-main { border-right: 0; border-bottom: 1px solid var(--border-light); }
  .bm-steps--row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .bm-why, .bm-groups, .bm-industries, .bm-safety, .bm-steps--row { grid-template-columns: 1fr; }
  .bm-flow { grid-template-columns: repeat(2, 1fr); }
  .bm-flow li:nth-child(2n)::after { display: none; }
  .bm-group { padding: 24px 20px 20px; }
  .bm-download-main, .bm-download-side { padding: 26px 20px; }
  .bm-network { padding: 24px 12px; }
  .bm-node { min-width: 120px; padding: 12px 14px; }
}

@media (max-width: 480px) {
  .bm-download-actions .btn { width: 100%; }
}

/* ============================================================
   Pricing, how to buy, download & guide, FAQ
   ============================================================ */

/* ---- Hero facts: price · trial · counters ---- */
.bm-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 28px;
}
.bm-hero-facts li {
  display: flex;
  flex-direction: column;
  min-width: 132px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
}
.bm-hero-facts strong { font-size: 1.375rem; font-weight: 800; color: var(--text-900); line-height: 1.2; }
.bm-hero-facts span { font-size: 0.8125rem; color: var(--text-600); margin-top: 2px; }

.bm-counters-price {
  margin-top: 18px;
  padding: 12px 16px;
  font-size: 0.9375rem;
  color: var(--text-900);
  background: var(--primary-pale);
  border-radius: var(--r-sm);
}
.bm-counters-price a { color: var(--primary); font-weight: 700; }

/* ---- Pricing ---- */
.bm-pricing {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.bm-price-card {
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: var(--r-lg);
  padding: 32px 32px 28px;
  box-shadow: var(--shadow-blue);
}
.bm-price { margin: 4px 0 10px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.bm-price-amount { font-size: 3rem; font-weight: 800; color: var(--text-900); letter-spacing: -0.02em; line-height: 1.1; }
.bm-price-unit { font-size: 1.0625rem; font-weight: 600; color: var(--text-600); }
.bm-price-rule { font-size: 0.9375rem; color: var(--text-900); line-height: 1.6; margin-bottom: 18px; }
.bm-price-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.bm-price-table th, .bm-price-table td { padding: 11px 4px; border-bottom: 1px solid var(--border-light); text-align: left; }
.bm-price-table thead th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-400); font-weight: 700; }
.bm-price-table tbody th { font-weight: 600; color: var(--text-900); }
.bm-price-table td { text-align: right; font-weight: 700; color: var(--text-900); }
.bm-price-table thead th:last-child { text-align: right; }
.bm-price-note { margin-top: 16px; font-size: 0.9375rem; color: var(--text-600); }
.bm-price-note strong { color: var(--text-900); }
.bm-price-side { display: grid; gap: 14px; align-content: start; }
.bm-price-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 22px;
}
.bm-price-box--trial { background: #ECFDF3; border-color: #BBF7D0; }
.bm-price-box h3 { font-size: 1.0625rem; font-weight: 700; color: var(--text-900); margin-bottom: 6px; }
.bm-price-box p { font-size: 0.9375rem; color: var(--text-600); line-height: 1.65; }
.bm-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---- How to buy ---- */
.bm-buy {
  list-style: none;
  counter-reset: buy;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.bm-buy li {
  counter-increment: buy;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 14px 16px;
}
.bm-buy li::before {
  content: counter(buy);
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  margin-bottom: 10px;
  border-radius: 50%;
  font-size: 0.8125rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #3D62FF, #5050FB);
}
.bm-buy strong { display: block; font-size: 0.9375rem; color: var(--text-900); line-height: 1.3; margin-bottom: 4px; }
.bm-buy span { display: block; font-size: 0.8125rem; color: var(--text-600); line-height: 1.5; }
.bm-buy-actions { justify-content: center; margin: 28px 0 0; }

/* ---- Download & guide ---- */
.bm-dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bm-dl-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px 30px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.bm-dl-card h3 { font-size: 1.25rem; font-weight: 800; color: var(--text-900); margin-bottom: 8px; }
.bm-dl-card > p { color: var(--text-600); line-height: 1.7; margin-bottom: 20px; }
.bm-dl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.bm-dl-meta { margin-top: 10px; font-size: 0.8125rem; color: var(--text-400); }
.bm-btn-disabled,
.bm-btn-disabled:hover {
  background: var(--border);
  color: var(--text-600);
  box-shadow: none;
  transform: none;
  cursor: default;
}
.bm-ready {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--success);
  background: #ECFDF3;
  border: 1px solid #BBF7D0;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 14px;
}
.bm-dl-card .bm-soon { align-self: flex-start; }
.bm-dl-info { margin-top: 24px; }

/* ---- FAQ ---- */
.bm-faq-wrap { max-width: 860px; }
.bm-faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 10px;
}
.bm-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 48px 16px 20px;
  font-weight: 600;
  color: var(--text-900);
  position: relative;
}
.bm-faq summary::-webkit-details-marker { display: none; }
.bm-faq summary::after {
  content: '+';
  position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem; font-weight: 600; color: var(--primary);
}
.bm-faq details[open] summary::after { content: '–'; }
.bm-faq summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: var(--r-md); }
.bm-faq details p { padding: 0 20px 18px; color: var(--text-600); line-height: 1.7; font-size: 0.9375rem; }

/* ---- Responsive (pricing / buy / download / faq) ---- */
@media (max-width: 1024px) {
  .bm-hero-facts { justify-content: center; }
  .bm-pricing, .bm-dl-grid { grid-template-columns: 1fr; }
  .bm-buy { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .bm-buy { grid-template-columns: repeat(2, 1fr); }
  .bm-price-card, .bm-dl-card { padding: 24px 20px; }
  .bm-price-amount { font-size: 2.5rem; }
}
@media (max-width: 480px) {
  .bm-hero-facts li { min-width: 0; flex: 1 1 30%; padding: 10px 10px; }
  .bm-hero-facts strong { font-size: 1.125rem; }
  .bm-buy { grid-template-columns: 1fr; }
  .bm-dl-actions .btn { width: 100%; white-space: normal; text-align: center; }
}

/* ============================================================
   Download & install (two installers + guide, upgrade warning, step-by-step, troubleshooting)
   ============================================================ */
.bm-which {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  margin-bottom: 24px;
}
.bm-which h3 { font-size: 1.125rem; font-weight: 700; color: var(--text-900); margin-bottom: 14px; }
.bm-which-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bm-which-item { display: flex; flex-direction: column; gap: 4px; }
.bm-which-item .bm-ready, .bm-which-item .bm-soon { align-self: flex-start; margin-bottom: 6px; }
.bm-which-item strong { color: var(--text-900); }
.bm-which-item > span:last-child { color: var(--text-600); line-height: 1.6; font-size: 0.9375rem; }

.bm-dl-grid--3 { grid-template-columns: 1.15fr 1fr 1fr; }
.bm-dl-card--main { border: 2px solid var(--primary); box-shadow: var(--shadow-blue); }
.bm-dl-card > p a { color: var(--primary); font-weight: 600; }
.bm-dl-card > p a:hover { text-decoration: underline; }
.bm-dl-facts { margin: 0 0 20px; font-size: 0.875rem; }
.bm-dl-facts div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; padding: 6px 0; border-top: 1px solid var(--border-light); }
.bm-dl-facts dt { color: var(--text-600); font-weight: 600; }
.bm-dl-facts dd { margin: 0; color: var(--text-900); overflow-wrap: anywhere; }
.bm-hash { margin-top: 14px; font-size: 0.8125rem; color: var(--text-600); }
.bm-hash summary { cursor: pointer; font-weight: 600; }
.bm-hash summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: var(--r-xs); }
.bm-hash code {
  display: block; margin-top: 8px; padding: 8px 10px; background: var(--bg-subtle); border: 1px solid var(--border);
  border-radius: var(--r-xs); font-size: 0.75rem; overflow-wrap: anywhere; color: var(--text-900);
}
.bm-dl-unavailable {
  display: block; width: 100%; padding: 12px 14px; border-radius: var(--r-sm); font-size: 0.875rem; line-height: 1.6;
  background: #FEF2F2; border: 1px solid #FECACA; color: #7F1D1D;
}
.bm-dl-unavailable a { color: #7F1D1D; font-weight: 700; text-decoration: underline; }

.bm-warn {
  margin-top: 28px; padding: 22px 26px; border-radius: var(--r-md);
  background: #FFFBEB; border: 1px solid #FCD34D; color: #78350F;
}
.bm-warn h3 { font-size: 1.0625rem; font-weight: 700; color: #78350F; margin-bottom: 10px; }
.bm-warn-steps { margin: 0 0 10px 20px; line-height: 1.7; }
.bm-warn p { line-height: 1.7; font-size: 0.9375rem; }
kbd {
  display: inline-block; padding: 0 6px; font: 600 0.8125rem var(--font); line-height: 1.5;
  background: #fff; border: 1px solid var(--border); border-bottom-width: 2px; border-radius: var(--r-xs); color: var(--text-900);
}

.bm-guide-header { margin: 56px auto 24px; }
.bm-guide-title { font-size: 1.5rem; font-weight: 800; color: var(--text-900); margin-bottom: 6px; }
.bm-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.bm-panel-lead { color: var(--text-600); line-height: 1.6; font-size: 0.9375rem; margin-bottom: 14px; }

.bm-trouble { margin-top: 40px; max-width: 860px; }
.bm-trouble h3 { font-size: 1.25rem; font-weight: 800; color: var(--text-900); margin-bottom: 14px; }
.bm-faq details p a { color: var(--primary); font-weight: 600; }

@media (max-width: 1024px) {
  .bm-dl-grid--3, .bm-guide-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .bm-which-grid { grid-template-columns: 1fr; }
  .bm-which, .bm-warn { padding: 20px 18px; }
}
.bm-list--stack strong { display: block; min-width: 0; margin-bottom: 2px; }

/* ============================================================
   Android app (phone scanning): download card + QR code + install / connect steps
   ============================================================ */
.bm-app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.bm-btn-android, .bm-btn-android:hover { background: var(--success); border-color: var(--success); color: #fff; }
.bm-btn-android:hover { filter: brightness(0.92); }
.bm-qr-card {
  display: flex; align-items: center; gap: 24px; padding: 28px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.bm-qr-card img { flex: 0 0 auto; width: 200px; height: 200px; padding: 8px; background: #fff;
                  border: 1px solid var(--border); border-radius: var(--r-md); }
.bm-qr-card h3 { font-size: 1.125rem; font-weight: 800; color: var(--text-900); margin-bottom: 8px; }
.bm-qr-card p { color: var(--text-600); line-height: 1.6; font-size: 0.9375rem; margin-bottom: 8px; }
.bm-qr-url { font-weight: 600; color: var(--text-900) !important; overflow-wrap: anywhere; }
.bm-qr-phone { font-size: 0.875rem !important; }
.bm-guide-grid--2 { grid-template-columns: 1fr 1fr; margin-top: 24px; }
.bm-app-note { margin-top: 24px; }
.bm-which-item a, .bm-steps a { color: var(--primary); font-weight: 600; }
.bm-which-item a:hover, .bm-steps a:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .bm-app-grid, .bm-guide-grid--2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .bm-qr-card { flex-direction: column; text-align: center; padding: 22px 18px; }
  .bm-qr-card img { width: 180px; height: 180px; }
}

/* ---- Alignment: download buttons on one line; How-to-buy descriptions start on one line ---- */
.bm-dl-card .bm-hash { margin: 0 0 16px; }
.bm-dl-card .bm-dl-actions { margin-top: auto; }
.bm-buy strong { min-height: 2.6em; }           /* every step title takes two lines on wide screens */
@media (max-width: 480px) { .bm-buy strong { min-height: 0; } }
/* filled and outline download buttons the same height (the site's outline buttons have a 2px border) */
.bm-dl-actions .btn-primary { border: 2px solid transparent; }
.bm-dl-actions .bm-btn-android { border-color: var(--success); }
/* the checksum link stays right above its button, so those line up across the cards too */
.bm-dl-card .bm-hash { margin-top: auto; }
.bm-dl-card .bm-hash + .bm-dl-actions { margin-top: 0; }
