/* The Group Buys page, /group-buys/ (public/group-buys/group-buys.js).
   Built on the About page's sections in public/css/home.css (.about-hero,
   .about-pillars): the same cream,
   ink, Inter headings and square buttons, with the About page's sizes,
   weights and tracking for each role. Everything here is scoped to
   .gbm-page so nothing else on the site changes. */

.gbm-page [hidden] { display: none !important; }
.gbm-page :focus-visible { outline: 3px solid #1e4d8c; outline-offset: 3px; }
.gbm-page p > a:not([class]):not([data-gbm-mine]) { color: #1e4d8c; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- loading, off and error ---------- */
.gbm-state { min-height: 70vh; background: #f3efe6; padding: 140px 64px 64px; }
.gbm-loading { max-width: 1280px; margin: 0 auto; font: 400 15px/1.5 'Inter', sans-serif; color: rgba(20,23,28,0.62); }
.gbm-off { max-width: 1280px; margin: 0 auto; }
.gbm-off-title {
  font-family: 'Inter', -apple-system, sans-serif; font-weight: 800;
  font-size: clamp(34px, 4.3vw, 62px); line-height: 1.06; letter-spacing: -0.035em;
  color: #14171c; margin: 0; max-width: 820px;
}
.gbm-off-text { margin: 24px 0 0; font-family: 'Inter', -apple-system, sans-serif; font-size: 19px; line-height: 1.6; max-width: 540px; color: rgba(20,23,28,0.62); }
.gbm-page button.about-btn-primary { border: 0; cursor: pointer; }

/* ---------- vignette captions ---------- */
.gbm-shot-cap { margin-top: 16px; text-align: center; font: 400 13px/1.5 'Inter', sans-serif; color: rgba(20,23,28,0.6); }
.gbm-shot-tag { margin-right: 8px; font: 600 11px/1 'Inter', -apple-system, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: #1e4d8c; }

/* ---------- shared ---------- */
.gbm-inner { max-width: 1180px; margin: 0 auto; }
.gbm-page .about-pillars-h2.gbm-h2 { margin-bottom: 32px; text-wrap: balance; }
.gbm-page .about-title, .gbm-cta-title { text-wrap: balance; }
.gbm-start { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; padding: 14px 28px; }
.gbm-quiet { margin: 14px 0 0; font: 400 14px/1.6 'Inter', sans-serif; color: rgba(20,23,28,0.62); }
.gbm-quiet a[data-gbm-mine] { margin-left: 12px; color: #1e4d8c; font-weight: 600; text-decoration: none; white-space: nowrap; }
.gbm-quiet a[data-gbm-mine]:hover { text-decoration: underline; }

/* ---------- 1. hero ---------- */
.gbm-hero { padding-bottom: 56px; }
.gbm-hero .about-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); justify-content: space-between; align-items: center; }
.gbm-hero-text { max-width: 600px; }
.gbm-hero-math { margin: 24px 0 0; font: 400 20px/1.5 'Inter', -apple-system, sans-serif; color: rgba(20,23,28,0.72); }
.gbm-hero-math strong { color: #14171c; font-weight: 700; }
.gbm-hero .gbm-start { margin-top: 32px; min-height: 52px; padding: 16px 32px; font-size: 16px; }
.gbm-ticks { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.gbm-ticks li { display: inline-flex; align-items: center; gap: 7px; font: 500 14px/1.4 'Inter', sans-serif; color: #14171c; }
.gbm-ticks svg { width: 16px; height: 16px; flex: none; color: #1a7a4a; }

/* ---------- 2. how it works ---------- */
.gbm-how { background: #fff; padding: 88px 64px; border-top: 1px solid rgba(20,23,28,0.12); border-bottom: 1px solid rgba(20,23,28,0.12); scroll-margin-top: 72px; }
.gbm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.gbm-step { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.gbm-step-title { margin: 0; font: 700 22px/1.2 'Inter', -apple-system, sans-serif; letter-spacing: -0.02em; color: #14171c; }
.gbm-step-line { margin: 8px 0 0; font: 400 15px/1.55 'Inter', sans-serif; color: rgba(20,23,28,0.62); }
.gbm-step .gbm-vig { margin-top: auto; }
.gbm-dots { display: none; }

/* ---------- the 3 step vignettes ----------
   Close-ups made of the group page's own pieces (group.css), in a tinted
   panel of fixed height: no frame, nothing cut off, nothing loads late
   except the certificate picture, which has its size set. */
.gbm-vig { margin: 0; display: flex; flex-direction: column; align-items: stretch; min-width: 0; }
.gbm-vig-panel {
  position: relative; height: 380px; border-radius: 20px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  font: 400 16px/1.5 var(--font-body); color: var(--text); text-align: left;
  user-select: none; -webkit-user-select: none;
}
.gbm-vig-pick .gbm-vig-panel { background: linear-gradient(155deg, #edf4fb 0%, #d7e6f4 100%); }
.gbm-vig-share .gbm-vig-panel { background: linear-gradient(155deg, #f6f2ea 0%, #e6dece 100%); }
.gbm-vig-coa .gbm-vig-panel { background: linear-gradient(155deg, #eef7f1 0%, #d3eadb 100%); }
.gbm-vig-card {
  position: relative; width: 100%; max-width: 292px; padding: 20px; border-radius: 16px; background: #fff;
  box-shadow: 0 1px 2px rgba(11,61,111,0.06), 0 18px 40px rgba(11,61,111,0.14);
}
.gbm-vig-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px;
  border-radius: 999px; background: #fff; color: var(--navy); font: 650 13.5px/1 var(--font-body); white-space: nowrap;
  box-shadow: 0 10px 24px rgba(11,61,111,0.18);
}
.gbm-vig-chip svg { width: 16px; height: 16px; flex: none; }

/* 1. pick the test and the split */
.gbm-v-name { margin: 0 0 8px; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.gbm-v-name span { font-weight: 500; color: var(--text-muted); font-size: 16px; }
.gbm-v-price { margin: 14px 0 0; font-size: 40px; font-weight: 750; letter-spacing: -0.035em; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.gbm-v-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; margin-top: 18px; padding: 3px; border-radius: 10px; background: var(--bg-elevated); }
.gbm-v-seg span { display: grid; place-items: center; min-height: 36px; padding: 0 4px; border-radius: 8px; font-size: 12.5px; font-weight: 600; color: var(--text-muted); text-align: center; line-height: 1.15; }
.gbm-v-seg span.is-on { background: var(--navy); color: #fff; box-shadow: 0 2px 6px rgba(11,61,111,0.25); }
.gbm-v-result { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--ice); color: var(--navy); font-size: 15px; font-variant-numeric: tabular-nums; }
.gbm-v-free { top: 22px; right: 18px; color: var(--gb-green); }

/* 2. share the link */
.gbm-v-link { display: flex; align-items: center; gap: 8px; padding: 5px 5px 5px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-elevated); }
.gbm-v-link span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13.5px; color: var(--text-muted); }
.gbm-v-link b { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; }
.gbm-v-link b svg { width: 14px; height: 14px; }
.gbm-v-faces { display: flex; align-items: center; margin: 20px 0 0; padding: 0; list-style: none; }
.gbm-v-faces li { margin-left: -8px; position: relative; }
.gbm-v-faces li:first-child { margin-left: 0; }
.gbm-v-faces .gb-avatar { width: 36px; height: 36px; border: 3px solid #fff; box-sizing: content-box; margin: -3px; }
.gbm-v-open { margin-left: 10px !important; padding: 6px 9px; white-space: nowrap; font-size: 12.5px !important; border: 1.5px dashed #b9c6d4; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.gbm-vig-share .gb-bar { margin-top: 20px; }
.gbm-v-progress { display: flex; flex-direction: column; gap: 2px; margin: 10px 0 0; font-size: 14px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.gbm-v-progress strong { font-size: 17px; font-weight: 700; color: var(--navy); }
.gbm-v-toast { bottom: 22px; right: 16px; padding: 6px 14px 6px 6px; }
.gbm-v-toast .gb-avatar-sm { width: 28px; height: 28px; }

/* 3. close, ship, get the COA */
.gbm-vig-coa .gbm-vig-panel { display: block; }
.gbm-v-coa { position: absolute; top: 26px; left: 28px; width: 176px; aspect-ratio: 1700 / 2200; transform: rotate(-5deg); }
.gbm-v-sheet { position: absolute; inset: 0; transform: rotate(7deg) translate(10px, 4px); background: #fff; border-radius: 4px; box-shadow: 0 8px 20px rgba(20,23,28,0.12); }
.gbm-v-coa picture, .gbm-v-doc { position: relative; display: block; width: 100%; height: 100%; }
.gbm-v-doc { object-fit: cover; background: #fff; border-radius: 4px; box-shadow: 0 1px 2px rgba(20,23,28,0.08), 0 14px 30px rgba(20,23,28,0.18); }
.gbm-v-sent { position: absolute; right: 18px; bottom: 22px; width: auto; max-width: min(236px, calc(100% - 36px)); padding: 16px 18px; }
.gbm-v-sent-title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 19px; font-weight: 750; letter-spacing: -0.015em; color: var(--navy); }
.gbm-v-tick { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--success); color: #fff; box-shadow: 0 0 0 4px var(--gb-green-bg); }
.gbm-v-tick svg { width: 16px; height: 16px; }
.gbm-v-sent-sub { margin: 6px 0 0 40px; font-size: 14px; color: var(--text-muted); }
.gbm-v-faces-done { margin: 12px 0 0; gap: 6px; }
.gbm-v-faces-done li, .gbm-v-faces-done li:first-child { margin-left: 0; }
.gbm-v-faces-done .gb-avatar { width: 28px; height: 28px; font-size: 0.66rem; border: 0; margin: 0; }
.gbm-v-faces-done i { position: absolute; right: -3px; bottom: -3px; width: 15px; height: 15px; border-radius: 50%; display: grid; place-items: center; background: var(--success); color: #fff; border: 2px solid #fff; }
.gbm-v-faces-done i svg { width: 8px; height: 8px; }
.gbm-v-paid { top: 26px; right: 18px; color: var(--gb-green); }

/* The hero vignette: the join view, distilled. The largest of the four,
   in a lilac panel so it does not repeat the blue of step 1 below it. The
   two chips sit on the card's corners, over its padding, not its text. */
.gbm-vig-hero .gbm-vig-panel {
  height: 580px; padding: 40px;
  background: radial-gradient(110% 80% at 12% 0%, #f6f4fd 0%, rgba(246,244,253,0) 62%), linear-gradient(160deg, #ebe8f8 0%, #d5d1ee 100%);
}
.gbm-h-card { max-width: 368px; padding: 24px 24px 34px; box-shadow: 0 1px 2px rgba(40,30,90,0.06), 0 24px 56px rgba(40,30,90,0.18); }
.gbm-h-card .status-pill { border-radius: 999px; padding: 6px 11px; font-size: 13px; }
.gbm-h-name { margin: 12px 0 0; font-size: 26px; font-weight: 750; line-height: 1.15; letter-spacing: -0.025em; color: var(--ink); }
.gbm-h-name span { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-muted); }
.gbm-h-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 12px 0 0; font-size: 14.5px; color: var(--text-muted); }
.gbm-h-meta strong { color: var(--text); font-weight: 650; }
.gbm-h-by { display: inline-flex; align-items: center; gap: 8px; }
.gbm-h-card .gb-price-chip { font-size: 13.5px; white-space: nowrap; }
.gbm-h-card .gb-bar { height: 10px; margin-top: 18px; }
.gbm-h-card .gb-bar-fill::after { top: 2px; bottom: 2px; width: 6px; }
.gbm-h-taken { margin: 8px 0 0; font-size: 14.5px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.gbm-h-taken strong { color: var(--navy); font-weight: 700; }
.gbm-h-pay { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.gbm-h-card .gb-pay-amount { margin-top: 6px; }
.gbm-h-card .gb-pay-amount strong { font-size: 60px; }
.gbm-h-card .gb-pay-amount span { font-size: 17px; }
.gbm-h-card .gb-free-today { margin-top: 16px; }
.gbm-h-card .gb-btn { margin-top: 14px; cursor: default; }
.gbm-h-left { top: -17px; right: -24px; color: var(--gb-amber); }
.gbm-h-dot { width: 8px; height: 8px; border-radius: 50%; background: #e8a317; box-shadow: 0 0 0 4px var(--gb-amber-bg); }
.gbm-h-faces { bottom: -20px; left: -24px; padding: 6px 14px 6px 7px; gap: 10px; }
.gbm-h-stack { display: flex; }
.gbm-h-stack .gb-avatar { width: 28px; height: 28px; margin-left: -9px; border: 2px solid #fff; box-sizing: content-box; font-size: 0.64rem; }
.gbm-h-stack .gb-avatar:first-child { margin-left: 0; }
.gbm-h-stack .gb-avatar svg { width: 15px; height: 15px; }

/* ---------- 3. three ways to split ---------- */
.gbm-split { background: #f3efe6; padding: 88px 64px; }
.gbm-split-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gbm-split-card { padding: 24px; background: #fff; border: 1px solid rgba(20,23,28,0.12); display: flex; flex-direction: column; }
.gbm-split-icon { width: 40px; height: 40px; display: grid; place-items: center; background: #f3efe6; color: #1e4d8c; }
.gbm-split-icon svg { width: 22px; height: 22px; }
.gbm-split-name { margin: 16px 0 0; font: 700 20px/1.2 'Inter', -apple-system, sans-serif; letter-spacing: -0.02em; color: #14171c; }
.gbm-split-line { margin: 8px 0 0; font: 400 15px/1.55 'Inter', sans-serif; color: rgba(20,23,28,0.62); }
.gbm-split-eg { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(20,23,28,0.1); font: 650 15px/1.4 'Inter', sans-serif; color: #1e4d8c; font-variant-numeric: tabular-nums; }
/* In a row of three, every bottom line starts at the same height: each is
   pushed to the foot of its card and is as tall as the calculator. */
@media (min-width: 961px) {
  .gbm-split-eg { margin-top: auto; min-height: 136px; }
  .gbm-split-line { margin-bottom: 18px; }
}

/* The even split calculator (group-buys.js setupCalc). Fixed heights, so
   nothing moves when the hint changes or the number gets longer. */
.gbm-calc { min-height: 136px; }
.gbm-calc-static { margin: 0; }
.gbm-calc-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.gbm-calc-field { display: inline-flex; align-items: stretch; height: 40px; border: 1px solid rgba(30,77,140,0.35); background: #fff; }
.gbm-calc-field:focus-within { border-color: #1e4d8c; box-shadow: 0 0 0 3px rgba(30,77,140,0.15); }
.gbm-calc-btn {
  width: 40px; padding: 0; border: 0; background: #edf2f8; color: #1e4d8c; cursor: pointer;
  display: grid; place-items: center; transition: background 0.15s;
}
.gbm-calc-btn:hover { background: #dce6f2; }
.gbm-calc-btn:active { background: #cbd9ea; }
.gbm-calc-btn svg { width: 16px; height: 16px; }
.gbm-page .gbm-calc-btn:focus-visible { outline-offset: -3px; }
.gbm-calc-input {
  width: 48px; border: 0; border-left: 1px solid rgba(30,77,140,0.2); border-right: 1px solid rgba(30,77,140,0.2); border-radius: 0;
  padding: 0; text-align: center; background: #fff; color: #14171c; font: 700 16px/1 'Inter', sans-serif; font-variant-numeric: tabular-nums;
  -moz-appearance: textfield; appearance: textfield;
}
.gbm-page .gbm-calc-input:focus-visible { outline: none; }
.gbm-calc-unit { font: 500 15px/1.3 'Inter', sans-serif; color: #14171c; }
.gbm-calc-out { margin-top: 12px; }
.gbm-calc-each { margin: 0; font: 400 15px/1.3 'Inter', sans-serif; color: rgba(20,23,28,0.62); }
.gbm-calc-each strong { font: 750 24px/1.1 'Inter', sans-serif; letter-spacing: -0.02em; color: #1e4d8c; margin-right: 2px; }
.gbm-calc-hint { margin: 6px 0 0; min-height: 2.9em; font: 400 13px/1.45 'Inter', sans-serif; color: rgba(20,23,28,0.6); }

/* ---------- 4. trust ---------- */
.gbm-trust { background: #14171c; padding: 48px 64px; }
.gbm-trust-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.gbm-trust-item { display: flex; gap: 14px; align-items: flex-start; font: 400 14px/1.55 'Inter', sans-serif; color: rgba(255,255,255,0.72); }
.gbm-trust-item strong { display: block; margin-bottom: 2px; font-weight: 700; font-size: 15px; color: #fff; }
.gbm-trust-icon { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.1); color: #fff; }
.gbm-trust-icon svg { width: 18px; height: 18px; }

/* ---------- 5. FAQ ---------- */
.gbm-faq { background: #fff; padding: 88px 64px; }
.gbm-faq-inner { max-width: 820px; margin: 0 auto; }
.gbm-faq-list { border-top: 2px solid #14171c; }
.gbm-faq-list details { border-bottom: 1px solid rgba(20,23,28,0.12); }
.gbm-faq-list summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 48px 20px 0; min-height: 44px;
  font: 600 18px/1.35 'Inter', sans-serif; color: #14171c;
}
.gbm-faq-list summary::-webkit-details-marker { display: none; }
.gbm-faq-list summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font: 300 28px/1 'Inter', sans-serif; color: #1e4d8c; transition: transform 0.2s;
}
.gbm-faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.gbm-faq-list summary:hover { color: #1e4d8c; }
.gbm-faq-list details p { margin: -6px 0 0; padding: 0 48px 22px 0; font: 400 16px/1.6 'Inter', sans-serif; color: rgba(20,23,28,0.7); }

/* ---------- 6. closing ---------- */
.gbm-cta-sec { background: #f3efe6; padding: 88px 64px; border-top: 1px solid rgba(20,23,28,0.12); }
.gbm-cta { max-width: 820px; margin: 0 auto; text-align: center; }
.gbm-cta-title { margin: 0 0 24px; font: 800 clamp(30px, 3.6vw, 48px)/1.08 'Inter', -apple-system, sans-serif; letter-spacing: -0.035em; color: #14171c; }

/* ---------- phones: the sticky bar (group-buys.js shows it) ---------- */
.gbm-bar { display: none; }

/* Three columns on a small laptop: the vignettes are narrow, so they tighten. */
@media (min-width: 961px) and (max-width: 1180px) {
  .gbm-vig-panel { padding: 16px; }
  .gbm-vig-card { padding: 16px; }
  .gbm-v-faces .gb-avatar { width: 30px; height: 30px; font-size: 0.7rem; }
  .gbm-v-price { font-size: 34px; }
  .gbm-v-coa { width: 150px; left: 20px; }
  .gbm-hero .about-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; }
  /* The calculator's row stays on one line in the narrower cards. */
  .gbm-calc-field { height: 36px; }
  .gbm-calc-btn { width: 34px; }
  .gbm-calc-input { width: 40px; }
  .gbm-calc-row { gap: 8px; }
  .gbm-calc-unit { font-size: 14px; }
  .gbm-split-eg { min-height: 160px; }
  .gbm-vig-hero .gbm-vig-panel { padding: 26px; }
  .gbm-h-card { padding: 22px 22px 32px; }
  .gbm-h-left { right: -14px; }
  .gbm-h-faces { left: -14px; }
}

/* ---------- tablet: the 3 steps become a swipe row ---------- */
@media (max-width: 960px) {
  .gbm-state { padding: 110px 40px 48px; }
  .gbm-hero .about-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .gbm-vig-hero { width: 100%; max-width: 560px; }
  .gbm-how, .gbm-split, .gbm-faq, .gbm-cta-sec { padding: 64px 40px; }
  .gbm-trust { padding: 40px; }
  .gbm-steps {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 -40px; padding: 4px 40px 8px; scroll-padding: 0 40px; scrollbar-width: none;
  }
  .gbm-steps::-webkit-scrollbar { display: none; }
  .gbm-step { flex: 0 0 min(340px, 82%); scroll-snap-align: start; }
  .gbm-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .gbm-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(20,23,28,0.2); transition: background 0.2s; }
  .gbm-dots span.is-on { background: #14171c; }
  .gbm-split-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .gbm-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
}

/* ---------- phone ---------- */
@media (max-width: 640px) {
  .gbm-state { padding: 90px 20px 40px; }
  .gbm-off-text { font-size: 16px; }
  .gbm-hero { padding-top: 88px; padding-bottom: 0; }
  .gbm-hero .about-hero-inner { gap: 32px; }
  .gbm-hero-math { font-size: 17px; margin-top: 14px; }
  .gbm-hero .gbm-start { margin-top: 20px; }
  .gbm-start { display: flex; width: 100%; }
  .gbm-ticks { flex-direction: column; gap: 6px; margin-top: 14px; }
  .gbm-ticks li { font-size: 13.5px; }
  .gbm-quiet { margin-top: 10px; }
  .gbm-vig-hero .gbm-vig-panel { height: 510px; padding: 26px 14px; }
  .gbm-vig-card.gbm-h-card { padding: 18px 16px 30px; }
  .gbm-h-name { font-size: 23px; margin-top: 10px; }
  .gbm-h-name span { font-size: 17px; }
  .gbm-h-meta { gap: 6px 10px; margin-top: 10px; font-size: 14px; }
  .gbm-h-card .gb-bar { margin-top: 14px; }
  .gbm-h-pay { margin-top: 14px; padding-top: 14px; }
  .gbm-h-card .gb-pay-amount strong { font-size: 48px; }
  .gbm-h-card .gb-free-today { margin-top: 12px; font-size: 0.92rem; }
  .gbm-h-card .gb-btn { margin-top: 12px; }
  .gbm-h-left { top: -16px; right: -6px; }
  .gbm-h-faces { bottom: -19px; left: -6px; }
  .gbm-hero .gbm-shot-cap { margin-top: 10px; }
  .gbm-how, .gbm-split, .gbm-faq, .gbm-cta-sec { padding: 48px 20px; }
  .gbm-trust { padding: 36px 20px; }
  .gbm-page .about-pillars-h2.gbm-h2 { margin-bottom: 24px; }
  .gbm-steps { margin: 0 -20px; padding: 4px 20px 8px; scroll-padding: 0 20px; }
  .gbm-step { flex-basis: 88%; gap: 16px; }
  .gbm-step-title { font-size: 20px; }
  .gbm-vig-panel { height: 340px; padding: 18px; }
  .gbm-vig-card { padding: 16px; }
  .gbm-v-faces .gb-avatar { width: 30px; height: 30px; font-size: 0.7rem; }
  .gbm-v-price { font-size: 36px; }
  .gbm-v-coa { width: 150px; left: 22px; }
  .gbm-split-card { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 14px; padding: 14px 16px; }
  .gbm-split-icon { grid-row: span 3; width: 32px; height: 32px; }
  .gbm-split-icon svg { width: 18px; height: 18px; }
  .gbm-split-name { margin: 0; font-size: 17px; }
  .gbm-split-line { margin: 4px 0 0; font-size: 14px; line-height: 1.5; }
  .gbm-split-eg { margin: 8px 0 0; padding-top: 8px; font-size: 14px; }
  .gbm-calc { min-height: 136px; padding-top: 10px; }
  .gbm-calc-field { height: 44px; }
  .gbm-calc-btn { width: 44px; }
  .gbm-calc-unit { font-size: 14px; }
  .gbm-calc-out { margin-top: 10px; }
  .gbm-calc-each strong { font-size: 22px; }
  .gbm-trust-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .gbm-faq-list summary { font-size: 17px; padding: 16px 40px 16px 0; }
  .gbm-faq-list details p { padding-right: 0; font-size: 15px; }
  .gbm-cta-title { margin-bottom: 18px; }
  .gbm-cta .gbm-quiet a[data-gbm-mine] { display: table; margin: 8px auto 0; }
  /* The bar: the same button, fixed at the bottom while the page scrolls
     between the hero button and the closing band. It clears the chat
     button on the right. */
  .gbm-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
    padding: 10px 92px calc(10px + env(safe-area-inset-bottom)) 16px;
    background: rgba(243,239,230,0.97); border-top: 1px solid rgba(20,23,28,0.12); box-shadow: 0 -8px 24px rgba(20,23,28,0.08);
    transform: translateY(110%); visibility: hidden; transition: transform 0.25s ease, visibility 0s linear 0.25s;
  }
  .gbm-bar.is-on { transform: translateY(0); visibility: visible; transition: transform 0.25s ease, visibility 0s; }
  .gbm-bar .gbm-start { margin: 0; }
}
/* Very narrow phones (320px): the smallest avatars still fit. */
@media (max-width: 360px) {
  .gbm-v-faces-done { gap: 3px; }
  .gbm-v-faces-done .gb-avatar { width: 24px; height: 24px; font-size: 0.6rem; }
  .gbm-v-faces .gb-avatar { width: 28px; height: 28px; }
  .gbm-vig-hero .gbm-vig-panel { height: 550px; padding: 26px 10px; }
  .gbm-h-left { right: -4px; }
  .gbm-h-faces { left: -4px; }
  .gbm-h-card .gb-pay-amount strong { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .gbm-bar, .gbm-bar.is-on, .gbm-dots span { transition: none; }
  .gbm-steps { scroll-behavior: auto; }
}
