@keyframes badge-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.reveal {
  opacity: 1;
  transform: none;
}

.is-js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.is-js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-right {
  opacity: 1;
  transform: none;
}

.is-js .reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.is-js .reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.hero.is-loaded .hero__title {
  animation: fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero.is-loaded .hero__text {
  animation: fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
  opacity: 0;
}

.hero.is-loaded .btn-cta {
  animation: fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.24s forwards;
  opacity: 0;
}

.hero.is-loaded .hero__visual {
  animation: scale-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .is-js .reveal,
  .article-body.reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}
