/* Scale by SI demo 2 - static-site fixes, 2026-12-05 */

/* Home hero: both CTAs on one line so the video shows on the first screen */
.hero-home [data-hero-cta] { flex-wrap: nowrap; gap: .625rem; }
.hero-home [data-hero-cta] > a { min-width: 0 !important; flex: 1 1 auto; padding-left: .9rem; padding-right: .9rem; }
@media (max-width: 48rem) {
  .hero-home [data-hero-cta] > a { font-size: 1rem; min-height: 3rem; }
  .hero-home { padding-block: 1rem; }
  .hero-home .site-shell { gap: 1.25rem; }
}

/* How-we-work hero: pull the video up the first screen */
p:has(+ figure) { margin-bottom: 1rem !important; }
figure:has(> video) { margin-top: 1.25rem !important; }
figure:has(> video) figcaption { margin-bottom: .625rem !important; }

/* Automotive hero: tighter stack on narrow screens */
@media (max-width: 64rem) {
  section .site-shell > .grid.gap-8 { gap: 1.25rem; }
}

/* FAQ answers (panels injected into the static HTML) */
.sbsi-acc-panel { padding: 0 0 1.25rem; max-width: 65ch; color: #3A4152; line-height: 1.55; }
.sbsi-acc-panel p { margin: 0; }

/* Mobile menu overlay */
#sbsi-mobile-menu {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 39;
  background: #F7F8FA; color: #0A0F1C; overflow-y: auto;
  padding: .5rem 1.25rem 2rem; border-top: 1px solid #E5E7EB;
  display: flex; flex-direction: column;
}
#sbsi-mobile-menu[hidden] { display: none; }
#sbsi-mobile-menu .sbsi-mm-link {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 3.25rem; font-size: 1.125rem; font-weight: 500; color: inherit;
  text-decoration: none; border: 0; border-bottom: 1px solid #E5E7EB;
  background: none; width: 100%; text-align: left; padding: 0; cursor: pointer;
}
#sbsi-mobile-menu ul { list-style: none; margin: 0; border-bottom: 1px solid #E5E7EB; }
#sbsi-mobile-menu .sbsi-mm-sublink {
  display: block; padding: .8rem 0 .8rem 1rem; font-size: 1.0625rem;
  color: #1C2333; text-decoration: none;
}
#sbsi-mobile-menu .sbsi-mm-cta {
  display: flex; align-items: center; justify-content: center; text-align: center;
  margin-top: 1.25rem; min-height: 3.25rem; border-radius: .375rem;
  background: #3D5AFE; color: #fff; font-size: 1.0625rem; font-weight: 600; text-decoration: none;
}
