/* Basic layout styles */
:root { --max: 980px; }
* { box-sizing: border-box; }
/*body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
  color: #1a1a1a;
  background: #f7f7f8;
}*/
.site-header, .site-footer {
  padding: 48px 20px;
  text-align: center;
  background: #ffffff;
  border-bottom: 1px solid #e6e6e8;
}
.site-footer { border-top: 1px solid #e6e6e8; border-bottom: 0; }
.site-main { max-width: var(--max); margin: 0 auto; padding: 32px 20px; }
.section { background: #fff; padding: 28px; border-radius: 14px; border: 1px solid #ececee; }
.section + .section { margin-top: 24px; }
.section-title { margin: 0 0 8px; font-size: 1.5rem; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.card {
  background: #fff;
  border: 1px solid #ececee;
  border-radius: 14px;
  padding: 18px;
  min-height: 140px;
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
}

/* --- Slide-up animation utilities --- */
[data-animate="slide-up"] {
  opacity: 0;
  transform: translateY(24px);
  transition: transform 600ms ease, opacity 600ms ease;
  will-change: transform, opacity;
}
[data-animate="slide-up"].in {
  opacity: 1;
  transform: translateY(0);
}
/* Optional per-element delay via CSS variable set by JS */
[data-animate-delay] {
  transition-delay: var(--anim-delay, 0ms);
}

/* Example tall spacer to demonstrate scrolling */
.tall { margin-top: 28px; height: 60vh; display: flex; align-items: center; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
