html { -webkit-tap-highlight-color: transparent; }

::selection { background: #f90000; color: #fff; }

/* Smooth details toggle */
details summary::-webkit-details-marker { display: none; }
details summary { list-style: none; }

/* Fade in on details open */
details[open] > div { animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Custom scrollbar */
html { scrollbar-color: #1e266d #f1f1f5; scrollbar-width: thin; } /* Firefox */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f1f1f5; }
::-webkit-scrollbar-thumb { background: #1e266d; }
::-webkit-scrollbar-thumb:hover { background: #f90000; }

/* FAQ list styles inside accordions (list-circle isn't a Tailwind class) */
details ul.list-circle { list-style: circle; }

nav a::after { will-change: transform; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    nav a::after { transition: none !important; }
    details[open] > div { animation: none; }
    html { scroll-behavior: auto; }
}