/* FP1 lightweight presentation. Retain gradients, colours and layout without
   continuous decorative repaints. The interactive showcase still rotates. */
html body.product-page .product-hero h1,
html body.support-page .support-hero-copy h1,
html body.home-page .hero-copy h1 span {
  animation: none !important;
  background-position: 45% 50% !important;
  filter: none !important;
  will-change: auto !important;
}
html body *,
html body *::before,
html body *::after {
  animation-iteration-count: 1 !important;
}
html body .btn::before,
html body .btn::after,
html body .home-hero::before,
html body .hero-signals li::before,
html body .showcase-status-dot,
html body .showcase-panel::before,
html body .showcase-panel::after {
  animation: none !important;
}
html body .site-header {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html body .js .reveal,
html body .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  html body *, html body *::before, html body *::after {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
/* Hidden menus and showcase captions must not run their own gradient loops. */
html body.home-page .home-showcase .showcase-app-heading h2,
html body .nav-apps-menu > a:not(.nav-apps-all) strong,
html body.support-page .support-app-identity strong,
html body.support-page .support-hero-v2 h1,
html body.support-page .support-directory > .section-head h2 {
  animation: none !important;
  background-position: 45% 50% !important;
  filter: none !important;
  will-change: auto !important;
}
html.js body .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Bounded, compositor-friendly motion. Content remains readable throughout;
   no gradient/filter animation, permanent will-change, or JavaScript loop. */
@keyframes fp1-title-enter {
  from { opacity: .84; translate: 0 6px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes fp1-card-enter {
  from { translate: 0 5px; }
  to { translate: 0 0; }
}
@keyframes fp1-preview-enter {
  from { opacity: .86; }
  to { opacity: 1; }
}
@keyframes fp1-button-glint {
  from { transform: translateX(0) rotate(18deg); }
  to { transform: translateX(450%) rotate(18deg); }
}

@media (prefers-reduced-motion: no-preference) {
  html body.product-page .product-hero h1,
  html body.support-page .support-hero-copy h1,
  html body.home-page .hero-copy h1 {
    animation: fp1-title-enter 420ms ease-out 1 !important;
  }
  html.js body .content-group.reveal.is-visible,
  html.js body .home-app-card.reveal.is-visible,
  html.js body .faq-section.reveal.is-visible {
    animation: fp1-card-enter 260ms ease-out 1 !important;
  }
  html body.home-page .home-showcase .showcase-panel.is-active {
    animation: fp1-preview-enter 220ms ease-out 1 !important;
  }
  html body .btn-primary:focus-visible::after,
  html body .button-primary:focus-visible::after {
    animation: fp1-button-glint 450ms ease-out 1 !important;
  }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  html body .btn-primary:hover::after,
  html body .button-primary:hover::after {
    animation: fp1-button-glint 450ms ease-out 1 !important;
  }
}
