1import{o as e,t}from"./react-CUDSawes.js";import{t as n}from"./jsx-runtime-mwqUVu1X.js";import{t as r}from"./CaretDown.es-jKPwV0WR.js";import{n as i}from"./footer-mountains-CUpYcKSq.js";import{Bn as a}from"./index-CSnTiyjz.js";var o=e(t(),1),s=n();function c({question:e,answer:t,defaultOpen:n=!1}){let[i,a]=(0,o.useState)(n),c=(0,o.useId)();return(0,s.jsxs)(`div`,{className:`group faq-item border-b border-neutral-300/60 bg-transparent py-1`,children:[(0,s.jsxs)(`button`,{type:`button`,"aria-expanded":i,"aria-controls":`${c}-content`,onClick:()=>a(e=>!e),className:`flex items-center justify-between w-full cursor-pointer py-6 px-2 text-left rounded hover:bg-neutral-100`,children:[(0,s.jsx)(`h3`,{id:`${c}-question`,className:`text-lg font-medium pr-4`,children:e}),(0,s.jsx)(r,{size:16,"aria-hidden":!0,className:`shrink-0 transition-transform duration-300 ease-in-out ${i?`rotate-180`:``}`})]}),(0,s.jsx)(`div`,{id:`${c}-content`,role:`region`,"aria-labelledby":`${c}-question`,className:`grid transition-[grid-template-rows] duration-[350ms] ease-in-out ${i?`grid-rows-[1fr]`:`grid-rows-[0fr]`}`,children:(0,s.jsx)(`div`,{className:`overflow-hidden`,children:(0,s.jsx)(`div`,{className:`px-2 pt-2 pb-6 text-[15px] text-neutral-600`,inert:i?void 0:!0,children:t})})})]})}function l(){return(0,s.jsx)(`section`,{id:`faq`,className:`relative z-1 bg-white px-6 py-20 text-charcoal sm:py-36`,children:(0,s.jsx)(`div`,{className:`mx-auto max-w-[1180px]`,children:(0,s.jsxs)(`div`,{className:`grid grid-cols-1 items-start gap-10 md:grid-cols-[1fr_1.6fr] lg:gap-20`,children:[(0,s.jsxs)(`header`,{className:`md:sticky md:top-28`,children:[(0,s.jsx)(i,{inView:!0,children:(0,s.jsx)(`p`,{className:`mb-4 font-display text-xs font-semibold tracking-[0.14em] text-ink-muted uppercase`,children:`FAQ`})}),(0,s.jsx)(i,{inView:!0,order:1,children:(0,s.jsx)(`h2`,{className:`font-lora text-[clamp(40px,4.6vw,64px)] leading-[1.02] tracking-[-2px]`,children:`Questions, answered.`})}),(0,s.jsx)(i,{inView:!0,order:2,children:(0,s.jsxs)(`p`,{className:`mt-5 max-w-[380px] text-[17px] leading-[1.6] text-charcoal/68`,children:[`Pricing, safety and other common questions. Anything missing?`,` `,(0,s.jsx)(`a`,{href:`/docs`,className:`font-semibold text-charcoal underline decoration-charcoal/30 underline-offset-4 hover:decoration-charcoal`,children:`Read the docs`}),`.`]})})]}),(0,s.jsx)(`div`,{className:`flex flex-col`,children:a.map(e=>(0,s.jsx)(c,{question:e.question,answer:(0,s.jsx)(`p`,{children:e.answer})},e.question))})]})})})}export{l as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.