/* The sales assistant beside a feature page's hero (2026-11-05,
   services/pageSales.js). Added as the page is served: the hero's one centred
   column becomes the words on the left and the box on the right. Light and
   dark come from whyBox.css (the box) and the page's own hero styles (the
   words); this file only lays them out. */
.lp-hero .lp-inner.lx-hs {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  max-width: 1240px;
  text-align: left;
}
.lx-hs-text { min-width: 0; }
.lx-hs .lx-hs-text h1 { font-size: clamp(2rem, 3.6vw, 3.25rem); }
.lx-hs .lx-hs-text .lp-lede { margin-left: 0; margin-right: 0; max-width: 36rem; }
.lx-hs .lx-hs-text .lp-crumbs,
.lx-hs .lx-hs-text .lp-cta-row,
.lx-hs .lx-hs-text .lp-chips { justify-content: flex-start; margin-left: 0; margin-right: 0; }
.lx-hs-box { min-width: 0; position: relative; z-index: 1; text-align: left; }
.lx-hs-box .lx-why { min-height: 22rem; }
.lx-hs-box .lx-why-thread { max-height: 22rem; }
.lx-hs-fold { display: none; }

/* A narrower screen: the hero centred again, as it is saved, with the box under it. */
@media (max-width: 960px) {
  .lp-hero .lp-inner.lx-hs { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .lx-hs .lx-hs-text .lp-lede { margin-left: auto; margin-right: auto; }
  .lx-hs .lx-hs-text .lp-crumbs,
  .lx-hs .lx-hs-text .lp-cta-row,
  .lx-hs .lx-hs-text .lp-chips { justify-content: center; }
  .lx-hs-box { width: 100%; max-width: 34rem; margin: 0 auto; }
}

/* A phone: folded to one button under the hero until it is opened. */
@media (max-width: 760px) {
  .lx-hs-box { text-align: center; }
  .lx-hs-fold { display: inline-flex; white-space: normal; max-width: 100%; text-align: center; }
  .lx-hs-box.is-open .lx-hs-fold { display: none; }
  .lx-hs-box:not(.is-open) .lx-why { display: none; }
  .lx-hs-box.is-open .lx-why { text-align: left; }
  .lx-hs-box .lx-why { min-height: 0; }
  .lx-hs-box .lx-why-thread { max-height: 24rem; }
}
