/* Homepage hero (v2, builder home-v2). Sections 02-11 live in home-a.css (02-06) and home-b.css (07-11).
   Centered treatment from Guillermo's concept 4/5 band (Figma 11758:38826), restyled to concept 3 charcoal:
   Display/lg heading (48/1.3/500, -2%) · 40px · stat-card row (gap 16) · 48px · CTAs (gap 16).
   No rule underneath (as in concept 3, where the hero runs straight into the next section): the short bottom padding
   plus Transform's standard 160px top padding put the centred Transform heading right under the CTAs, on one axis. */

.home-hero { padding-block: 152px 40px; }
.home-hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* Figma Display/lg. site.css tops out at Display/md (40px); the hero is the one place the file uses 48px. */
.home-hero__title { font-size: 48px; line-height: 1.3; font-weight: 500; letter-spacing: -0.02em; }
.home-hero__title .muted, .home-hero__title .strong { text-wrap: balance; }   /* no orphaned last word if a line wraps */

.home-hero__stats { display: flex; justify-content: center; gap: 16px; margin-top: 40px; text-align: left; }
.home-hero__actions { justify-content: center; margin-top: 48px; }

/* Design review v2: Figma only fixes line breaks at 1512. Below that, balance headings and avoid one-word last lines
   (e.g. "Win top talent with tech that helps LOs / close" at 1024, "…in every LO's / pocket" at 390). */
@media (max-width: 1511px) {
  .page-home main :is(h2, h3) { text-wrap: balance; }
  .page-home main :is(p, li, figcaption, blockquote) { text-wrap: pretty; }
}
@media (max-width: 1100px) {
  .home-hero { padding-block: 120px 24px; }   /* + Transform's 96px top = 120px */
}
@media (max-width: 1023px) {
  .home-hero__title { font-size: 40px; }      /* Display/md: keeps each line whole on tablets */
}
@media (max-width: 768px) {
  .home-hero { padding-block: 88px 24px; }
  .home-hero__title { font-size: 36px; }
  .home-hero__stats { margin-top: 32px; }
  .home-hero__actions { margin-top: 40px; }
}
@media (max-width: 640px) {
  .home-hero { padding-block: 64px 16px; }    /* + Transform's 64px top = 80px */
  .home-hero__title { font-size: 32px; }
  /* Stats become one compact column: icon beside value + label, full width up to 360px */
  .home-hero__stats { flex-direction: column; gap: 8px; width: 100%; max-width: 360px; }
  .home-hero__stats .stat-card { width: 100%; display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; align-items: center; padding: 12px 16px; }
  .home-hero__stats .stat-card__icon { grid-row: span 2; margin: 0; }
  .home-hero__stats .stat-card__value { font-size: 18px; }
  .home-hero__stats .stat-card__label { font-size: 14px; }
  .home-hero__actions { width: 100%; max-width: 360px; gap: 12px; margin-top: 32px; }
  .home-hero__actions .btn { flex: 1 1 0; padding-inline: 12px; }
}

/* Client logo marquee under the hero buttons (Josh, Nov 10). Real logos as white silhouettes in assets/img/clients; names without a file yet stay text wordmarks.
   Swap <li class="logo-word"> for <li class="logo-item"><img …></li> as files arrive. No links. */
.logo-marquee { width: 100%; max-width: 960px; margin-top: 56px; }
.logo-marquee__label { font-size: 14px; line-height: 1.5; color: var(--n500); margin-bottom: 20px; }
.logo-marquee__viewport { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logo-marquee__track { display: flex; align-items: center; flex-shrink: 0; gap: 64px; padding-right: 64px; animation: logo-marquee 36s linear infinite; }
.logo-marquee__viewport:hover .logo-marquee__track { animation-play-state: paused; }
.logo-word { font-size: 20px; line-height: 1.4; font-weight: 600; letter-spacing: -0.02em; color: var(--n400); white-space: nowrap; }
.logo-item img { display: block; height: 28px; width: auto; opacity: .6; } /* client logos are white silhouettes (assets/img/clients) */
.logo-item--heavy img { height: 22px; }  /* bold wordmarks read larger */
.logo-item--tall img { height: 32px; }
.logo-item--stacked img { height: 40px; } /* two-line logos need more height to stay legible */
.logo-marquee__viewport { padding: 4px 0; }
@keyframes logo-marquee { to { transform: translateX(-100%); } }
@media (max-width: 768px) {
  .logo-marquee { margin-top: 40px; }
  .logo-marquee__track { gap: 40px; padding-right: 40px; animation-duration: 28s; }
  .logo-word { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee__viewport { -webkit-mask-image: none; mask-image: none; }
  .logo-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; gap: 16px 40px; padding-right: 0; flex-shrink: 1; }
  .logo-marquee__track[aria-hidden="true"] { display: none; }
}
