/* Things Tailwind utilities can't express cleanly. Everything else is Tailwind classes in the templates. */
html { scroll-padding-top: 5rem; }
body { background: #121a28; color: #b0b2bd; font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; overflow-x: hidden; max-width: 100vw; margin: 0; }
:focus-visible { outline: 2px solid #b0b2bd; outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } }

/* Scroll reveal (was <FadeInUp>). Visible by default when JS is off. */
.js .reveal { opacity: 0; transform: translateY(2.5rem); transition: opacity 1s ease-out, transform 1s ease-out; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Animated open/close used by the mobile menu and the FAQ. */
.collapse-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease-out; }
.collapse-panel.open, .faq-item.open > .collapse-panel { grid-template-rows: 1fr; }
.collapse-panel > .overflow-hidden { min-height: 0; }
.faq-icon { transition: transform .3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
#site-header.is-scrolled, #site-header.menu-open { background: rgba(18, 26, 40, .95); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .2); }
