:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

body {
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  text-rendering: optimizeLegibility;
}

.bg-grid {
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.055) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 78%);
}

.card-hover {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -28px rgba(15, 23, 42, 0.35);
  border-color: rgba(5, 150, 105, 0.35);
}

.fade-up {
  animation: fadeUp 600ms ease both;
}

.fade-up:nth-child(2) {
  animation-delay: 80ms;
}

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

.filter-btn.active {
  background-color: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

details summary::-webkit-details-marker {
  display: none;
}

details[open] .faq-icon {
  transform: rotate(45deg);
}

.prose-custom h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.375rem;
  line-height: 1.3;
  font-weight: 700;
  color: #0f172a;
}

.prose-custom p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.75;
  color: #475569;
}

.prose-custom ul {
  margin: 1rem 0;
  padding-left: 1.25rem;
  list-style: disc;
}

.prose-custom li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
}

.prose-custom a {
  color: #047857;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose-custom strong {
  color: #0f172a;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .fade-up,
  .card-hover {
    animation: none;
    transition: none;
  }
}
