@keyframes softFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes softFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

body {
  animation: softFadeIn 0.5s ease both;
}

header,
nav,
.nav,
.page-hero,
main,
section,
.card,
.panel,
.hero-card,
.table-wrap,
footer {
  animation: softFadeUp 0.6s ease both;
}

.card:nth-of-type(2),
section:nth-of-type(2) {
  animation-delay: 0.04s;
}

.card:nth-of-type(3),
section:nth-of-type(3) {
  animation-delay: 0.08s;
}

.card:nth-of-type(4),
section:nth-of-type(4) {
  animation-delay: 0.12s;
}

.card:nth-of-type(5),
section:nth-of-type(5) {
  animation-delay: 0.16s;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
