.is-playing {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.reveal-on-scroll,
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

html.js-ready .reveal-on-scroll {
  opacity: 1;
  transform: none;
  transition:
    opacity 280ms ease,
    transform 280ms cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}

html.js-ready .reveal-on-scroll[data-reveal-direction="left"] {
  transform: none;
}

html.js-ready .reveal-on-scroll[data-reveal-direction="right"] {
  transform: none;
}

html.js-ready .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

html.js-ready .hero-intelligence-wrap .hero-dashboard-card {
  opacity: 0;
  transform: translateY(18px);
}

html.js-ready .hero-intelligence-wrap.is-visible .hero-dashboard-card {
  opacity: 1;
  transform: none;
  transition:
    opacity 360ms ease,
    transform 360ms cubic-bezier(.22, 1, .36, 1);
}

html.js-ready .hero-intelligence-wrap.is-visible [data-hero-stagger="1"] {
  transition-delay: 90ms;
}

html.js-ready .hero-intelligence-wrap.is-visible [data-hero-stagger="2"] {
  transition-delay: 150ms;
}

html.js-ready .hero-intelligence-wrap.is-visible [data-hero-stagger="3"] {
  transition-delay: 210ms;
}

html.js-ready .hero-intelligence-wrap.is-visible .hero-trend-line {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: hero-chart-draw 1.2s cubic-bezier(.22, 1, .36, 1) 180ms forwards;
}

@keyframes hero-chart-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .reveal-on-scroll.is-visible {
    opacity: 1 !important;
    transform: none !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .hero-intelligence-wrap .hero-dashboard-card {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-trend-line {
    stroke-dasharray: none !important;
    stroke-dashoffset: 0 !important;
  }
}
