"use client" import { useState } from "react" import { motion } from "framer-motion" import { Plus, Minus } from "lucide-react" import { FAQS } from "@/lib/marketing/faqs" export function FAQ() { const [open, setOpen] = useState(null) return (

FAQ

Common questions

Everything you need to know before signing up.

{FAQS.map((faq, i) => { const isOpen = open === i return (

{/* The answer stays mounted and is collapsed by animating its height rather than being conditionally rendered. Google requires the answer text behind an FAQ accordion to be present in the served HTML — unmounting it when closed would leave the FAQPage JSON-LD in components/marketing/structured-data.tsx describing content no crawler can see. */}

{faq.a}

) })}
) }