:root { scroll-behavior: smooth; }

body { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
.font-display { font-family: 'Poppins', system-ui, sans-serif; }

/* Decorative dotted grid used in dark hero sections */
.hero-grid {
  background-image: radial-gradient(rgba(255,255,255,0.9) 1px, transparent 1px);
  background-size: 26px 26px;
}

/* Active nav underline */
.nav-underline {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 3px; border-radius: 999px;
  background: linear-gradient(90deg, #0a7d43, #12b76a);
}
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  height: 3px; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, #0a7d43, #12b76a);
  transition: width .25s ease;
}
.nav-link:hover::after { width: 100%; }

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }

/* Header shadow when scrolled */
#site-header.scrolled { box-shadow: 0 8px 30px rgba(2,35,26,0.08); }

/* FAQ open state */
.faq-panel.open { max-height: 300px; }

/* Selection color */
::selection { background: #12b76a; color: #fff; }

/* Nice thin scrollbar on desktop */
@media (min-width: 768px) {
  ::-webkit-scrollbar { width: 10px; }
  ::-webkit-scrollbar-track { background: #f1f5f9; }
  ::-webkit-scrollbar-thumb { background: #0a7d43; border-radius: 999px; border: 2px solid #f1f5f9; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  :root { scroll-behavior: auto; }
}
