/* Match the home hero's mobile viewport, sticky stage and scroll reveal. */
.ai-hero-stage { position: relative; }

@media (max-width: 767px) {
  .ai-hero-stage {
    height: calc(100svh + var(--hero-lock-distance, 0px));
  }
  .ai-hero {
    min-height: 100svh;
    height: 100svh;
    align-items: center;
    padding: 0 1rem;
    position: sticky;
    top: 0;
  }
  .ai-hero__content {
    align-self: center;
    display: block;
    height: 100%;
    text-align: center;
  }
  .ai-hero .section-kicker { display: none; }
  .ai-hero h1 {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-size: clamp(1.65rem, 10vw, 2.5rem);
    font-weight: 900;
    line-height: .98;
    overflow-wrap: anywhere;
    text-align: center;
    transform: translateY(calc(-50% + var(--hero-title-shift, 0px)));
  }
  .ai-hero__details {
    position: absolute;
    top: calc(50% + 3.5rem);
    left: 0;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
  }
  .ai-hero__details > p {
    max-width: 48rem;
    margin: 1.65rem 0 0;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.65;
  }
  .ai-hero__details > p,
  .ai-hero__actions { opacity: var(--hero-details-opacity, 0); }
  .ai-hero__actions {
    flex-direction: column;
    justify-content: center;
  }
  .ai-hero__actions .button--primary {
    color: #f12cff;
    font-weight: 900;
    animation: hero-quote-pulse 2.4s ease-in-out infinite;
  }
}
