/* Animate.css v4.1.1 fadeIn, MIT */
@keyframes nw-animate-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Carousel motion is kept in the existing shared styles. */
:root :is(.page-hero-title, .page-hero-desc, .hero-title, .home-anim,
          .fade-in, .slide-left, .slide-right, .scale-in, .pop-in, .blur-in,
          .home-blur-in, .home-card-in, .home-phone-in, .home-cta-title-in,
          .home-cta-desc-in, .home-cta-btn-in, .home-footer-in,
          .features-page .cta-title, .features-page .cta-desc,
          .features-page .feature-detail-text :is(.section-title, .feature-detail-desc, .feature-detail-list li)):not(
          :where(.blog-carousel-section, .blog-carousel-track, .highlight-stage, .nw-home-magazine,
                 .hero-slideshow, [aria-roledescription="carousel"], [class*="-carousel"], [class*="carousel-"]) *) {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
:root :is(.home-page, .features-page) .section-label {
  animation: none !important;
  width: auto;
  opacity: 1 !important;
  border-right: 0;
}
:root :is(.hero-scroll-hint, .scroll-indicator, .screenshot-phone.floating,
          .home-card-in .feature-icon, .home-phone-in img, .home-page .footer-bottom),
:root .home-page .section::before,
:root .features-page .feature-detail-list li::before {
  animation: none !important;
}
:root .features-page .feature-detail-list li::before { transform: none; }
:root .home-page .footer-bottom { opacity: 1; }

:root .site-header .nav-dropdown-menu {
  transform: translateX(-50%);
  transition: none;
  animation: none;
}
:root .site-header .nav-dropdown:is(:hover, :focus-within) .nav-dropdown-menu {
  transform: translateX(-50%);
}
:root .site-header .nav-dropdown-menu a:is(:hover, :focus-visible) { padding-left: 16px; }
:root .site-header .mobile-menu.active > :is(a, button),
:root .site-header .mobile-menu.active > :nth-child(n) {
  animation: none;
}

:root .site-header .nav-dropdown:is(:hover, :focus-within) .nav-dropdown-menu,
:root .site-header .mobile-menu.active,
:root .faq-item.active .faq-answer {
  animation: nw-animate-fade-in 155ms ease-out both;
}

@media (prefers-reduced-motion: reduce), print {
  :root .site-header .nav-dropdown:is(:hover, :focus-within) .nav-dropdown-menu,
  :root .site-header .mobile-menu.active,
  :root .faq-item.active .faq-answer { animation: none; }
}
