/* Small additions on top of Tailwind CDN */

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .animation-float,
  .reveal-on-scroll,
  .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.nav-link {
  border-radius: 0.5rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
  background-color: rgba(26, 37, 64, 0.06);
  color: #0c1222;
}

.nav-link.is-active {
  background-color: rgba(45, 106, 143, 0.12);
  color: #1e4d68;
}

.mobile-nav-link {
  color: #2a3a5c;
  transition: background-color 0.15s ease;
}

.mobile-nav-link:hover {
  background-color: rgba(26, 37, 64, 0.06);
}

#site-header.is-scrolled {
  box-shadow: 0 10px 40px -20px rgba(12, 18, 34, 0.25);
}

.hero-illustration.animation-float {
  animation: float 6s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.75s ease-out forwards;
}

.reveal-delay {
  animation-delay: 0.15s;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.feature-art {
  filter: drop-shadow(0 20px 40px rgba(12, 18, 34, 0.12));
}
