/* ==========================================================================
   LightSail Manager by ByteCore Stack — Landing Page CSS
   Scoped to bls- prefix to avoid conflicts with theme styles.
   ========================================================================== */

/* ── Outer wrapper — cancel .bpt-main padding + pull under transparent header */
.bpt-main:has(.bls-wrap) { padding-block: 0; }
.bls-wrap {
  margin-top:    calc(-1 * var(--bpt-header-h));
  margin-bottom: 0;
}

/* ── Shared section spacing ───────────────────────────────────────────────── */
.bls-hero,
.bls-stats,
.bls-features,
.bls-how,
.bls-faq,
.bls-cta {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

/* ── Section header ───────────────────────────────────────────────────────── */
.bls-section-head {
  text-align:    center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.bls-section-head h2 {
  font-size:   clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  color:       var(--bpt-text);
  line-height: 1.2;
  margin:      .75rem 0 .85rem;
}
.bls-section-head p {
  color:     var(--bpt-text-2);
  font-size: 1.05rem;
}
.bls-section-head--left { text-align: left; }
.bls-section-head--left h2 { margin-bottom: 0; }

/* ── Badge pill ───────────────────────────────────────────────────────────── */
.bls-badge {
  display:        inline-flex;
  width:          fit-content;
  align-items:    center;
  gap:            .4rem;
  padding:        .3rem .8rem;
  font-size:      .78rem;
  font-weight:    600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color:          var(--bpt-accent-h);
  background:     var(--bpt-accent-dim);
  border:         1px solid rgba(99, 102, 241, .3);
  border-radius:  999px;
}

/* ── Gradient text ────────────────────────────────────────────────────────── */
.bls-gradient-text {
  background:              linear-gradient(135deg, #818cf8 0%, #a78bfa 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip:         text;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.bls-btn {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  gap:             .5rem;
  padding:         .65rem 1.4rem;
  font-size:       .9rem;
  font-weight:     600;
  border-radius:   var(--bpt-radius);
  text-decoration: none;
  white-space:     nowrap;
  cursor:          pointer;
  border:          none;
  transition:      background var(--bpt-t), color var(--bpt-t),
                   box-shadow var(--bpt-t), opacity var(--bpt-t);
}
.bls-btn--primary {
  background: var(--bpt-accent);
  color:      #fff;
  box-shadow: 0 0 0 0 var(--bpt-accent-glow);
}
.bls-btn--primary:hover {
  background: #4f52d1;
  box-shadow: 0 4px 20px var(--bpt-accent-glow);
  color:      #fff;
}
.bls-btn--ghost {
  background: transparent;
  color:      var(--bpt-text-2);
  border:     1px solid var(--bpt-border-light);
}
.bls-btn--ghost:hover {
  color:        var(--bpt-text);
  border-color: var(--bpt-border-light);
  background:   var(--bpt-surface-2);
}
.bls-btn--lg {
  padding:   .8rem 2rem;
  font-size: 1rem;
}

/* ════════════════════════════════════════════════════════════════════════════
   1. HERO
   ════════════════════════════════════════════════════════════════════════════ */
.bls-hero {
  position:   relative;
  overflow:   hidden;
  padding:    calc(var(--bpt-header-h) + clamp(4rem, 9vw, 8rem)) 0 clamp(3rem, 7vw, 6rem);
  background: var(--bpt-bg);
}

.bls-hero__glow {
  position:       absolute;
  top:            -20%;
  left:           50%;
  transform:      translateX(-50%);
  width:          clamp(500px, 80vw, 900px);
  height:         clamp(400px, 60vw, 700px);
  background:     radial-gradient(ellipse at center,
                    rgba(99, 102, 241, .18) 0%,
                    rgba(99, 102, 241, .07) 40%,
                    transparent 70%);
  pointer-events: none;
  z-index:        0;
}

.bls-hero__grid {
  position:           absolute;
  inset:              0;
  background-image:   radial-gradient(circle, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size:    28px 28px;
  pointer-events:     none;
  z-index:            0;
  mask-image:         radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
}

.bls-hero__inner {
  position:              relative;
  z-index:               1;
  display:               grid;
  grid-template-columns: 1fr 1fr;
  align-items:           center;
  gap:                   clamp(2.5rem, 5vw, 5rem);
}

.bls-hero__copy { display: flex; flex-direction: column; gap: 1.5rem; }

.bls-hero__title {
  font-size:      clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight:    800;
  line-height:    1.1;
  color:          var(--bpt-text);
  letter-spacing: -.02em;
}

.bls-hero__desc {
  font-size:   1.05rem;
  line-height: 1.7;
  color:       var(--bpt-text-2);
  max-width:   480px;
}

.bls-hero__actions {
  display:     flex;
  flex-wrap:   wrap;
  gap:         .75rem;
  align-items: center;
}

.bls-hero__proof {
  display:     flex;
  align-items: center;
  flex-wrap:   wrap;
  gap:         .5rem;
  font-size:   .83rem;
  color:       var(--bpt-text-2);
}
.bls-proof-sep { color: var(--bpt-text-3); }

/* ── Instance list mockup ─────────────────────────────────────────────────── */
.bls-hero__visual {
  display:         flex;
  justify-content: center;
  align-items:     center;
}
.bls-mockup {
  width:         100%;
  max-width:     520px;
  background:    var(--bpt-surface);
  border:        1px solid var(--bpt-border-light);
  border-radius: var(--bpt-radius-lg);
  box-shadow:    0 24px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(99,102,241,.1);
  overflow:      hidden;
  font-size:     .72rem;
  font-family:   var(--bpt-mono);
}
.bls-mockup__chrome {
  display:       flex;
  align-items:   center;
  gap:           .4rem;
  padding:       .55rem .85rem;
  background:    var(--bpt-surface-2);
  border-bottom: 1px solid var(--bpt-border);
}
.bls-chrome__dot {
  width:         10px;
  height:        10px;
  border-radius: 50%;
  flex-shrink:   0;
}
.bls-chrome__dot--red    { background: #f43f5e; }
.bls-chrome__dot--yellow { background: #f59e0b; }
.bls-chrome__dot--green  { background: #10b981; }
.bls-chrome__url {
  margin-left: .5rem;
  color:       var(--bpt-text-3);
  font-size:   .7rem;
  font-family: var(--bpt-font);
}
.bls-mockup__body {
  display:    flex;
  min-height: 260px;
}
.bls-mock-sidebar {
  width:          130px;
  flex-shrink:    0;
  background:     var(--bpt-surface-3);
  border-right:   1px solid var(--bpt-border);
  padding:        .85rem .6rem;
  display:        flex;
  flex-direction: column;
  gap:            1rem;
}
.bls-mock-logo {
  display:       flex;
  align-items:   center;
  gap:           .4rem;
  font-family:   var(--bpt-font);
  font-weight:   700;
  font-size:     .75rem;
  color:         var(--bpt-text);
  padding:       0 .3rem .5rem;
  border-bottom: 1px solid var(--bpt-border);
}
.bls-mock-nav {
  list-style:     none;
  padding:        0;
  margin:         0;
  display:        flex;
  flex-direction: column;
  gap:            2px;
}
.bls-mock-nav__item {
  display:       flex;
  align-items:   center;
  gap:           .4rem;
  padding:       .45rem .55rem;
  border-radius: var(--bpt-radius-sm);
  color:         var(--bpt-text-3);
  font-family:   var(--bpt-font);
  font-size:     .72rem;
  cursor:        default;
  transition:    background var(--bpt-t), color var(--bpt-t);
}
.bls-mock-nav__item--active {
  background: var(--bpt-accent-dim);
  color:      var(--bpt-accent-h);
}
.bls-mock-main {
  flex:           1;
  padding:        .85rem .9rem;
  display:        flex;
  flex-direction: column;
  gap:            .75rem;
  overflow:       hidden;
}
.bls-mock-topbar {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             .5rem;
}
.bls-mock-pagetitle {
  font-family: var(--bpt-font);
  font-weight: 700;
  font-size:   .82rem;
  color:       var(--bpt-text);
}
.bls-status-pill {
  display:       flex;
  align-items:   center;
  gap:           .3rem;
  font-family:   var(--bpt-font);
  font-size:     .68rem;
  color:         var(--bpt-success);
  background:    var(--bpt-success-dim);
  padding:       .2rem .55rem;
  border-radius: 999px;
  font-weight:   600;
}
.bls-status-dot {
  width:         6px;
  height:        6px;
  border-radius: 50%;
  background:    var(--bpt-success);
  flex-shrink:   0;
  animation:     bls-pulse 2s ease-in-out infinite;
}

/* ── Instance rows ───────────────────────────────────────────────────────── */
.bls-mock-instances {
  display:        flex;
  flex-direction: column;
  gap:            4px;
}
.bls-inst {
  display:       flex;
  align-items:   center;
  gap:           .5rem;
  padding:       .45rem .55rem;
  border-radius: var(--bpt-radius-sm);
  background:    var(--bpt-surface-2);
  border:        1px solid var(--bpt-border);
  font-family:   var(--bpt-font);
}
.bls-inst__dot {
  width:         7px;
  height:        7px;
  border-radius: 50%;
  flex-shrink:   0;
}
.bls-inst__dot--ok   { background: var(--bpt-success); }
.bls-inst__dot--stop { background: var(--bpt-text-3); }
.bls-inst__name {
  font-size:     .72rem;
  font-weight:   700;
  color:         var(--bpt-text);
  flex:          1;
  min-width:     0;
  overflow:      hidden;
  text-overflow: ellipsis;
  white-space:   nowrap;
}
.bls-inst__region {
  font-size:   .62rem;
  color:       var(--bpt-text-3);
  flex-shrink: 0;
}
.bls-inst__badge {
  flex-shrink:   0;
  font-size:     .6rem;
  font-weight:   600;
  padding:       .15em .5em;
  border-radius: 999px;
}
.bls-inst__badge--ok   { color: var(--bpt-success); background: var(--bpt-success-dim); }
.bls-inst__badge--stop { color: var(--bpt-text-3);  background: var(--bpt-surface-3); }
.bls-inst__actions {
  display:     flex;
  gap:         3px;
  flex-shrink: 0;
}
.bls-inst__btn {
  width:           22px;
  height:          22px;
  border-radius:   var(--bpt-radius-sm);
  background:      var(--bpt-surface-3);
  border:          1px solid var(--bpt-border);
  color:           var(--bpt-text-3);
  display:         flex;
  align-items:     center;
  justify-content: center;
  cursor:          default;
}
.bls-inst__btn--start { color: var(--bpt-success); }

/* Instance detail card (single-site view) */
.bls-inst-detail {
  display:        flex;
  flex-direction: column;
  gap:            0;
  background:     var(--bpt-surface-2);
  border:         1px solid var(--bpt-border);
  border-radius:  var(--bpt-radius-sm);
  overflow:       hidden;
  margin-top:     2px;
}
.bls-inst-detail__row {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             .5rem;
  padding:         .4rem .55rem;
  border-bottom:   1px solid var(--bpt-border);
  font-family:     var(--bpt-font);
}
.bls-inst-detail__row:last-child { border-bottom: none; }
.bls-inst-detail__lbl {
  font-size:   .63rem;
  color:       var(--bpt-text-3);
  flex-shrink: 0;
  font-weight: 500;
}
.bls-inst-detail__val {
  font-size:     .65rem;
  color:         var(--bpt-text-2);
  font-family:   var(--bpt-mono);
  text-align:    right;
  overflow:      hidden;
  text-overflow: ellipsis;
  white-space:   nowrap;
}

/* ════════════════════════════════════════════════════════════════════════════
   2. STATS STRIP
   ════════════════════════════════════════════════════════════════════════════ */
.bls-stats {
  padding:       clamp(1.75rem, 3vw, 2.5rem) 0;
  background:    var(--bpt-surface);
  border-top:    1px solid var(--bpt-border);
  border-bottom: 1px solid var(--bpt-border);
}
.bls-stats__inner {
  display:         flex;
  align-items:     center;
  justify-content: center;
  flex-wrap:       wrap;
  gap:             clamp(1.5rem, 4vw, 3rem);
}
.bls-stat {
  display:        flex;
  flex-direction: column;
  align-items:    center;
  gap:            .25rem;
}
.bls-stat__num {
  font-size:      clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight:    800;
  color:          var(--bpt-text);
  letter-spacing: -.02em;
}
.bls-stat__lbl {
  font-size:   .82rem;
  color:       var(--bpt-text-2);
  white-space: nowrap;
}
.bls-stat__div {
  width:       1px;
  height:      2.5rem;
  background:  var(--bpt-border-light);
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════════════════════
   3. FEATURES
   ════════════════════════════════════════════════════════════════════════════ */
.bls-features {
  background: var(--bpt-bg);
  position:   relative;
  overflow:   hidden;
}
.bls-features::before {
  content:          '';
  position:         absolute;
  inset:            0;
  background-image: radial-gradient(circle, rgba(99,102,241,.1) 1px, transparent 1px);
  background-size:  28px 28px;
  pointer-events:   none;
  z-index:          0;
}
.bls-features .bpt-container { position: relative; z-index: 1; }

.bls-feat-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   1.25rem;
}
.bls-feat-card {
  display:        flex;
  flex-direction: column;
  gap:            .85rem;
  padding:        1.75rem 1.5rem;
  background:     var(--bpt-surface);
  border:         1px solid var(--bpt-border);
  border-radius:  var(--bpt-radius-lg);
  transition:     border-color var(--bpt-t), box-shadow var(--bpt-t);
}
.bls-feat-card:hover {
  border-color: var(--bpt-border-light);
  box-shadow:   var(--bpt-shadow);
}
.bls-feat-card__icon {
  width:           44px;
  height:          44px;
  border-radius:   var(--bpt-radius);
  background:      var(--bpt-accent-dim);
  border:          1px solid rgba(99, 102, 241, .2);
  display:         flex;
  align-items:     center;
  justify-content: center;
  color:           var(--bpt-accent-h);
  flex-shrink:     0;
}
.bls-feat-card h3 {
  font-size:   1rem;
  font-weight: 700;
  color:       var(--bpt-text);
}
.bls-feat-card p {
  font-size:   .875rem;
  color:       var(--bpt-text-2);
  line-height: 1.65;
  margin:      0;
}
.bls-feat-card code {
  font-family:   var(--bpt-mono);
  font-size:     .83em;
  color:         var(--bpt-accent-h);
  background:    var(--bpt-accent-dim);
  padding:       .15em .45em;
  border-radius: var(--bpt-radius-sm);
}

/* ════════════════════════════════════════════════════════════════════════════
   4. HOW IT WORKS
   ════════════════════════════════════════════════════════════════════════════ */
.bls-how {
  background:    var(--bpt-surface);
  border-top:    1px solid var(--bpt-border);
  border-bottom: 1px solid var(--bpt-border);
  position:      relative;
  overflow:      hidden;
}
.bls-how::before {
  content:          '';
  position:         absolute;
  inset:            0;
  background-image: linear-gradient(rgba(99,102,241,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(99,102,241,.05) 1px, transparent 1px);
  background-size:  40px 40px;
  pointer-events:   none;
  z-index:          0;
}
.bls-how > .bpt-container { position: relative; z-index: 1; }
.bls-steps {
  display:         flex;
  align-items:     flex-start;
  justify-content: center;
  gap:             0;
}
.bls-step {
  flex:           1;
  max-width:      280px;
  text-align:     center;
  display:        flex;
  flex-direction: column;
  align-items:    center;
  gap:            1rem;
}
.bls-step__num {
  font-family:    var(--bpt-mono);
  font-size:      .7rem;
  font-weight:    600;
  color:          var(--bpt-accent);
  letter-spacing: .12em;
}
.bls-step__icon {
  width:           64px;
  height:          64px;
  border-radius:   var(--bpt-radius-lg);
  background:      var(--bpt-surface-2);
  border:          1px solid var(--bpt-border-light);
  display:         flex;
  align-items:     center;
  justify-content: center;
  color:           var(--bpt-accent-h);
  box-shadow:      0 4px 16px rgba(99,102,241,.12);
}
.bls-step__title {
  font-size:   1.05rem;
  font-weight: 700;
  color:       var(--bpt-text);
  margin:      0;
}
.bls-step__desc {
  font-size:   .875rem;
  color:       var(--bpt-text-2);
  line-height: 1.65;
  margin:      0;
}
.bls-step__desc code {
  font-family:   var(--bpt-mono);
  font-size:     .83em;
  color:         var(--bpt-accent-h);
  background:    var(--bpt-accent-dim);
  padding:       .15em .45em;
  border-radius: var(--bpt-radius-sm);
}
.bls-step__connector {
  flex-shrink: 0;
  align-self:  center;
  margin-top:  -2rem;
  color:       var(--bpt-text-3);
  padding:     0 .5rem;
}

/* ════════════════════════════════════════════════════════════════════════════
   5. FAQ
   ════════════════════════════════════════════════════════════════════════════ */
.bls-faq {
  background:    var(--bpt-bg);
  border-top:    1px solid var(--bpt-border);
  border-bottom: 1px solid var(--bpt-border);
  position:      relative;
  overflow:      hidden;
}
.bls-faq::before {
  content:    '';
  position:   absolute;
  inset:      0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 18px,
    rgba(99,102,241,.04) 18px,
    rgba(99,102,241,.04) 19px
  );
  pointer-events: none;
  z-index:        0;
}
.bls-faq__inner { position: relative; z-index: 1; }
.bls-faq__inner {
  display:               grid;
  grid-template-columns: 280px 1fr;
  gap:                   clamp(2rem, 5vw, 5rem);
  align-items:           start;
}
.bls-section-head--left .bls-badge { margin-bottom: .75rem; }

.bls-faq__list { display: flex; flex-direction: column; }

.bls-faq__item { border-bottom: 1px solid var(--bpt-border); }
.bls-faq__item:first-child { border-top: 1px solid var(--bpt-border); }

.bls-faq__q {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             1rem;
  padding:         1.1rem 0;
  font-size:       .95rem;
  font-weight:     600;
  color:           var(--bpt-text);
  cursor:          pointer;
  list-style:      none;
  user-select:     none;
}
.bls-faq__q::-webkit-details-marker { display: none; }
.bls-faq__q:hover { color: var(--bpt-accent-h); }

.bls-faq__chevron {
  flex-shrink: 0;
  color:       var(--bpt-text-3);
  transition:  transform var(--bpt-t), color var(--bpt-t);
}
details[open] .bls-faq__chevron { transform: rotate(180deg); color: var(--bpt-accent); }
details[open] > .bls-faq__q { color: var(--bpt-accent-h); }

/* ── Smooth open / close animation ──────────────────────────────────────────
   JS manages [open] + [data-closing] so CSS can animate both directions.
   grid-template-rows: 0fr ↔ 1fr is the only reliable way to animate
   an element with unknown height without JavaScript measuring.           */
.bls-faq__item[open] > .bls-faq__a,
.bls-faq__item[data-closing] > .bls-faq__a {
  display:               grid;
  grid-template-rows:    1fr;
  animation:             bls-faq-open .28s cubic-bezier(.4, 0, .2, 1) forwards;
  overflow:              hidden;
}
.bls-faq__item[data-closing] > .bls-faq__a {
  grid-template-rows:    0fr;
  animation:             bls-faq-close .28s cubic-bezier(.4, 0, .2, 1) forwards;
}

/* Inner wrapper — needed for the grid-row trick */
.bls-faq__a > * { min-height: 0; overflow: hidden; }

@keyframes bls-faq-open {
  from { grid-template-rows: 0fr; opacity: 0; }
  to   { grid-template-rows: 1fr; opacity: 1; }
}
@keyframes bls-faq-close {
  from { grid-template-rows: 1fr; opacity: 1; }
  to   { grid-template-rows: 0fr; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .bls-faq__item[open] > .bls-faq__a,
  .bls-faq__item[data-closing] > .bls-faq__a { animation: none; }
}

.bls-faq__a { padding-bottom: 1.1rem; }
.bls-faq__a p {
  font-size:   .9rem;
  color:       var(--bpt-text-2);
  line-height: 1.7;
  margin:      0;
}
.bls-faq__a a {
  color:           var(--bpt-accent-h);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.bls-faq__a code {
  font-family:   var(--bpt-mono);
  font-size:     .83em;
  color:         var(--bpt-accent-h);
  background:    var(--bpt-accent-dim);
  padding:       .15em .45em;
  border-radius: var(--bpt-radius-sm);
}

/* ════════════════════════════════════════════════════════════════════════════
   6. FINAL CTA
   ════════════════════════════════════════════════════════════════════════════ */
.bls-cta {
  position:   relative;
  overflow:   hidden;
  text-align: center;
  background: var(--bpt-bg);
}
.bls-cta__glow {
  position:       absolute;
  bottom:         -30%;
  left:           50%;
  transform:      translateX(-50%);
  width:          clamp(400px, 70vw, 800px);
  height:         clamp(300px, 50vw, 600px);
  background:     radial-gradient(ellipse at center,
                    rgba(99, 102, 241, .2) 0%,
                    rgba(99, 102, 241, .06) 50%,
                    transparent 70%);
  pointer-events: none;
  z-index:        0;
}
.bls-cta__inner {
  position:        relative;
  z-index:         1;
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  gap:             1.25rem;
}
.bls-cta__title {
  font-size:      clamp(2rem, 5vw, 3.2rem);
  font-weight:    800;
  color:          var(--bpt-text);
  line-height:    1.15;
  letter-spacing: -.02em;
}
.bls-cta__desc {
  font-size:   1.05rem;
  color:       var(--bpt-text-2);
  line-height: 1.65;
}
.bls-cta__actions {
  display:         flex;
  flex-wrap:       wrap;
  gap:             .75rem;
  align-items:     center;
  justify-content: center;
  margin-top:      .5rem;
}

/* ── Keyframe ─────────────────────────────────────────────────────────────── */
@keyframes bls-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

/* ════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Tablet ≤ 1024px ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .bls-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .bls-hero__copy    { align-items: center; }
  .bls-hero__desc    { max-width: 600px; }
  .bls-hero__actions { justify-content: center; }
  .bls-hero__proof   { justify-content: center; }
  .bls-hero__visual  { margin-top: 1rem; }
  .bls-mockup        { max-width: 500px; }

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

  .bls-steps {
    flex-direction: column;
    align-items:    center;
    gap:            1.5rem;
  }
  .bls-step            { max-width: 400px; }
  .bls-step__connector { margin-top: 0; transform: rotate(90deg); }

  .bls-faq__inner {
    grid-template-columns: 1fr;
    gap:                   2rem;
  }
  .bls-section-head--left { text-align: center; }
  .bls-section-head--left .bls-badge { margin: 0 auto .75rem; }
}

/* ── Mobile ≤ 640px ──────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .bls-feat-grid    { grid-template-columns: 1fr; }
  .bls-stat__div    { display: none; }
  .bls-stats__inner { gap: 1.25rem 2.5rem; }

  .bls-mockup       { font-size: .65rem; }
  .bls-mock-sidebar { width: 100px; }

  .bls-hero { padding-top: calc(var(--bpt-header-h) + clamp(4rem, 14vw, 8rem)); }

  .bls-cta__actions .bls-btn { width: 100%; max-width: 320px; }
}

/* ── Small mobile ≤ 400px ────────────────────────────────────────────────── */
@media (max-width: 400px) {
  .bls-mock-sidebar { display: none; }
  .bls-mockup__body { display: block; }
}
