/* Mobile LCP: hero must paint before JS adds .is-in (Lighthouse NO_LCP otherwise). */
.landing-hero-lcp {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 767px) {
  .landing-hero-headline.landing-hero-anim {
    opacity: 1;
    transform: none;
  }

  /* bg-clip-text is often excluded as LCP; solid color ensures a text LCP on small viewports. */
  .landing-hero-headline .landing-hero-headline-solid {
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    color: #312e81;
  }

  html.dark .landing-hero-headline .landing-hero-headline-solid {
    color: #f9fafb;
  }

  html.dark .landing-hero-headline .word-rotate-text {
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    color: #4f46e5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-hero-anim {
    opacity: 1 !important;
    transform: none !important;
  }
}
