/* Design tokens */
:root {
  --background: #f8fafc;
  --foreground: #0f172a;
  --card: #ffffff;
  --card-foreground: #0f172a;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
  --primary: #dc2626;
  --primary-foreground: #ffffff;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --shadow-sm: 0 1px 2px 0 rgb(15 23 42 / 0.05);
  --shadow-card: 0 1px 3px 0 rgb(15 23 42 / 0.06), 0 1px 2px -1px rgb(15 23 42 / 0.06);
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* FAQ accordion */
details.faq-item > summary {
  list-style: none;
  cursor: pointer;
}

details.faq-item > summary::-webkit-details-marker {
  display: none;
}

details.faq-item[open] > summary > span:last-child {
  transform: rotate(180deg);
}

details.faq-item > summary > span:last-child {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              background-color 0.2s,
              color 0.2s,
              box-shadow 0.2s;
}

/* Section reveal animations */
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
