/* Responsive adaptation of Figma 148:1784; the square video keeps its native ratio. */
.hero-media { min-height: 0; height: auto; aspect-ratio: 390 / 492; background: transparent; }
.hero-video { display: block; position: absolute; width: 138%; max-width: none; height: auto; aspect-ratio: 1; left: -11.8%; top: -4.2%; object-fit: contain; mix-blend-mode: multiply; }
.hero-media::before { display: none; }
.footer-socials { display: flex; align-items: center; justify-content: center; gap: 25px; }
.footer-socials span { display: inline-flex; cursor: default; }
.audience-heading h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.14; letter-spacing: -.045em; }
.audience-heading h2 img { display: inline-block; vertical-align: -4px; }
.audience-inner .eyebrow { margin-bottom: 13px; flex-basis: auto; font-size: 11px; }
.audience-tags { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.audience-tags li { display: flex; align-items: center; gap: 6px; min-height: 42px; padding: 6px 10px; }
.audience-tags img { flex: 0 0 auto; }
.landing-content .site-footer { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.site-footer > span { max-width: 500px; }
.site-footer .footer-support { width: min(100%,350px); min-height: 54px; font-size: 14px; }
.site-footer nav a { display: inline-flex; align-items: center; gap: 5px; }
@media (max-width: 940px) {
  .hero-media { width: calc(100% + 48px); margin-top: 16px; overflow: hidden; aspect-ratio: 100 / 132; }
  .hero-video { position: absolute; width: 132%; height: auto; left: -16%; top: 0; }
  .hero-media .confirm-card { bottom: 28%; }
  .hero-benefits { margin-top: 24px; }
  .audience-heading h2 { font-size: 32.5px; }
  .audience-tags { width: 100%; gap: 8px; }
  .audience-tags li { font-size: clamp(10px,2.85vw,12px); padding-inline: 7px 5px; white-space: nowrap; }
}
@media (max-width: 360px) {
  .hero-media { width: calc(100% + 32px); }
  .audience-heading h2 { font-size: 28px; }
  .audience-tags li { font-size: 10px; padding-inline: 5px; gap: 4px; }
  .site-footer nav { justify-content: center; gap: 12px !important; }
}
@media (min-width: 941px) {
  .hero-layout { grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); min-height: 620px; column-gap: clamp(24px,4vw,64px); }
  .hero-media { width: 100%; aspect-ratio: 1; align-self: center; overflow: visible; border-radius: 0; }
  .hero-video { width: 120%; left: -10%; top: -10%; }
  .hero-media .confirm-card { bottom: 0; left: 0; }
  .hero-content { padding-block: 18px; }
  .hero-solution { display: none; }
  .mobile-promise { display: block; margin: 12px 0 0; font: 700 clamp(38px,4vw,56px)/1.08 Onest,sans-serif; letter-spacing: -.04em; background-image: linear-gradient(90deg,#5b5cf0,#9a8cff,#5b5cf0); background-clip: text; color: transparent; }
  .audience-tags { min-width: 0; width: 55%; flex-shrink: 0; gap: 14px; }
  .audience-tags li { min-height: 82px; padding: 18px 16px; gap: 12px; font-size: 16px; line-height: 1.4; border-radius: 16px; }
  .audience-tags img { width: 32px; height: 32px; }
  .audience-inner { padding-block: 48px; }
}

/* Quiet entrance motion for the explanatory content below the hero. */
@media (prefers-reduced-motion: no-preference) {
  .confirm-card.confirmation-seen {
    animation: confirmation-enter .65s cubic-bezier(.2,.8,.2,1) both,
      confirmation-float 5s ease-in-out .65s infinite;
    animation-play-state: paused;
  }
  .confirm-card.confirmation-active { animation-play-state: running; }
  @keyframes confirmation-enter {
    from { opacity: 0; scale: .96; }
    to { opacity: 1; scale: 1; }
  }
  @keyframes confirmation-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -7px; }
  }
  .landing-content .motion-target {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1);
  }
  .landing-content .motion-target.motion-visible { opacity: 1; transform: none; }
  .audience-tags li:nth-child(2n), .journey-step:nth-child(2), .utility-card:nth-child(2), .setup-list li:nth-child(2), .price-card:nth-child(2) { transition-delay: 80ms; }
  .audience-tags li:nth-child(3), .journey-step:nth-child(3), .utility-card:nth-child(3), .setup-list li:nth-child(3) { transition-delay: 160ms; }
  .audience-tags li:nth-child(4) { transition-delay: 240ms; }
  .landing-content .journey-step,
  .landing-content .utility-card,
  .landing-content .price-card,
  .landing-content .audience-tags li { transition-property: opacity, transform, box-shadow, border-color; }
  @media (hover: hover) and (pointer: fine) {
    .landing-content .journey-step.motion-visible:hover,
    .landing-content .utility-card.motion-visible:hover,
    .landing-content .price-card.motion-visible:hover,
    .landing-content .audience-tags li.motion-visible:hover {
      transform: translateY(-4px);
      box-shadow: 0 16px 36px rgba(26, 38, 92, .09);
    }
  }

  .journey-step.motion-visible:first-child .journey-example .time {
    animation: slot-time-enter .55s cubic-bezier(.2,.8,.2,1) .18s both;
  }
  .journey-step.motion-visible:first-child .status.cancelled {
    animation: slot-cancel-enter .5s ease .48s both;
  }
  .journey-step.motion-visible:last-child .journey-example .time {
    animation: slot-time-enter .55s cubic-bezier(.2,.8,.2,1) .35s both;
  }
  .journey-step.motion-visible:last-child .status.confirmed {
    animation: slot-confirm-enter .6s cubic-bezier(.2,.8,.2,1) .65s both;
  }
  .search-dot { position: relative; isolation: isolate; }
  .search-dot::before,
  .search-dot::after {
    content: '';
    position: absolute;
    inset: -9px;
    z-index: -1;
    border: 1px solid rgba(58, 69, 209, .5);
    border-radius: 50%;
    opacity: 0;
  }
  .journey-step.is-in-view .search-dot::before { animation: search-ripple 2.7s ease-out infinite; }
  .journey-step.is-in-view .search-dot::after { animation: search-ripple 2.7s ease-out 1.35s infinite; }
  .journey-step.is-in-view .search-dot { animation: search-breathe 2.7s ease-in-out infinite; }
  @keyframes slot-time-enter {
    from { opacity: .45; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes slot-cancel-enter {
    from { opacity: 0; transform: translateX(-6px) scale(.94); }
    to { opacity: 1; transform: translateX(0) scale(1); }
  }
  @keyframes slot-confirm-enter {
    from { opacity: 0; transform: scale(.84); }
    65% { opacity: 1; transform: scale(1.06); }
    to { opacity: 1; transform: scale(1); }
  }
  @keyframes search-ripple {
    0% { opacity: .55; transform: scale(.5); }
    75%, 100% { opacity: 0; transform: scale(1.6); }
  }
  @keyframes search-breathe {
    0%, 100% { box-shadow: 0 0 0 6px #e4e7ff; }
    50% { box-shadow: 0 0 0 9px #dce1ff; }
  }
}
