{"$schema":"https://ui.artbloom.tech/schema/registry-item.json","name":"faq","type":"registry:block","title":"FAQ Accordion","description":"An accessible FAQ built on native details/summary — expands with zero JavaScript, keyboard-operable, one item open by default.","author":"@artbloom","dependencies":[],"registryDependencies":[],"files":[{"path":"components/blocks/faq.tsx","target":"components/blocks/faq.tsx","content":"const faqs = [\n  {\n    question: \"How does billing work?\",\n    answer:\n      \"We bill monthly or annually based on the plan you choose, and annual plans save you two months compared to paying month to month. Your card is charged automatically on your renewal date, and every invoice is available to download from the billing section of your dashboard.\",\n  },\n  {\n    question: \"Is there a free trial?\",\n    answer:\n      \"Yes. Every plan starts with a 14-day free trial that unlocks the full feature set, and we never ask for a credit card to get started. When the trial ends you can pick a plan to keep going, or your workspace simply pauses until you're ready.\",\n  },\n  {\n    question: \"Can I cancel anytime?\",\n    answer:\n      \"Absolutely. You can cancel from your account settings in a couple of clicks, with no phone calls and no retention hoops. Your plan stays active until the end of the current billing period, so you keep access to everything you've already paid for.\",\n  },\n  {\n    question: \"Can I export my data?\",\n    answer:\n      \"Your data belongs to you. You can export everything to CSV or JSON at any time, and our API lets you pull records programmatically whenever you need them. If you ever leave, we make it easy to take your data with you.\",\n  },\n  {\n    question: \"What kind of support do you offer?\",\n    answer:\n      \"Every plan includes email support with a response time under one business day, plus a searchable help center full of guides and walkthroughs. Teams on our higher tiers also get priority chat support and a dedicated onboarding specialist.\",\n  },\n  {\n    question: \"How do you keep my data secure?\",\n    answer:\n      \"Security is built in from the start. All data is encrypted in transit and at rest, we run continuous monitoring, and we're SOC 2 Type II compliant. We also support single sign-on and role-based access controls so your team stays protected.\",\n  },\n];\n\nexport default function Faq() {\n  return (\n    <section className=\"w-full bg-white py-20 sm:py-28\">\n      <div className=\"mx-auto max-w-3xl px-6\">\n        <div className=\"mx-auto max-w-2xl text-center\">\n          <p className=\"text-sm font-semibold text-indigo-600\">FAQ</p>\n          <h2 className=\"mt-3 text-3xl font-semibold tracking-tight text-slate-900 sm:text-4xl\">\n            Frequently asked questions\n          </h2>\n          <p className=\"mt-4 text-lg text-slate-500\">\n            Everything you need to know about plans, billing, and keeping your data safe.\n          </p>\n        </div>\n\n        <div className=\"mt-12 divide-y divide-slate-200 border-y border-slate-200\">\n          {faqs.map((faq, index) => (\n            <details\n              key={faq.question}\n              open={index === 0}\n              className=\"group py-5\"\n            >\n              <summary className=\"flex cursor-pointer list-none items-center justify-between gap-4 text-left text-base font-medium text-slate-900 [&::-webkit-details-marker]:hidden\">\n                {faq.question}\n                <svg\n                  className=\"size-5 shrink-0 text-slate-400 transition-transform duration-200 group-open:rotate-45\"\n                  viewBox=\"0 0 20 20\"\n                  fill=\"none\"\n                  stroke=\"currentColor\"\n                  strokeWidth=\"1.75\"\n                  strokeLinecap=\"round\"\n                  aria-hidden=\"true\"\n                >\n                  <path d=\"M10 4v12M4 10h12\" />\n                </svg>\n              </summary>\n              <p className=\"mt-3 text-slate-500\">{faq.answer}</p>\n            </details>\n          ))}\n        </div>\n      </div>\n    </section>\n  );\n}\n","type":"registry:block"}],"meta":{"kind":"blocks","categories":["faq"],"docs":"https://ui.artbloom.tech/artbloom/blocks/faq"}}