// FAQ accordion — CSS-only height animation (grid-template-rows 0fr/1fr // trick) so opening/closing doesn't need JS to measure content height. function FAQItem({ item, isOpen, onToggle }) { return (

{item.a}

); } function FAQ() { const items = window.SITE_DATA.faq; const [openIndex, setOpenIndex] = React.useState(0); return (
/ FAQ

{items.map((item, i) => ( setOpenIndex(openIndex === i ? -1 : i)} /> ))}
); } window.FAQ = FAQ;