{"version":3,"file":"FAQ.-CTvLNLF.mjs","names":["React.useState","React.startTransition"],"sources":["https:/framerusercontent.com/modules/3EhU1PaJcxunzhT9jU0i/6KZncu93nE8EdlcjLYQ6/FAQ.js"],"sourcesContent":["// Cortiq FAQ accordion with presets for Home (6 questions), Agents, Pricing and Contact pages,\n// plus a \"Still have questions?\" card that links to /contact.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{motion,AnimatePresence}from\"framer-motion\";import{C,mix,FONT_HEAD,useStatic,UI}from\"https://framerusercontent.com/modules/HQjIvjxUdgTVeWTXQm05/TzirDUmMbbRZYguHIjsB/Kit.js\";const{Style,SectionHead,Reveal,Icon,Btn}=UI;const PRESETS={home:{title:\"Questions? *Answered.*\",items:[{q:\"What exactly is an AI agent?\",a:\"An AI agent is software that can understand a goal, plan the steps, use your tools and complete the work on its own. Unlike a chatbot, it takes action: it researches, writes, updates records and reports back, with a human approving the steps that matter.\"},{q:\"Do I need to write code to build an agent?\",a:\"No. Pick a pre-built agent or describe the job in plain English and Cortiq sets up the workflow for you. Developers can extend any agent with custom tools, APIs and webhooks.\"},{q:\"How does human approval work?\",a:\"You decide which actions need a sign-off, like sending an external email or issuing a refund. The agent pauses, sends the right person a preview with full context, and continues only after it's approved.\"},{q:\"Which tools can my agents connect to?\",a:\"Cortiq connects to 120+ tools across CRM, email, chat, docs, ticketing and finance, plus any internal system through our API and webhooks. Every connection uses scoped, revocable permissions.\"},{q:\"Is my data used to train AI models?\",a:\"Never. Your data stays yours. It's encrypted at rest and in transit, isolated per workspace and never used to train shared models.\"},{q:\"Can I change or cancel my plan anytime?\",a:\"Yes. Upgrade, downgrade or cancel whenever you like from your workspace settings. Changes take effect at the start of your next billing cycle.\"}]},agents:{title:\"Questions about *agents.*\",items:[{q:\"Can I customize a pre-built agent?\",a:\"Absolutely. Every pre-built agent is a starting point. Change its instructions, tone, tools, approval rules and outputs to match exactly how your team works.\"},{q:\"Can one agent work with another?\",a:\"Yes. Chain agents into a single workflow: your Research agent finds the lead, your Sales agent writes the email and you approve it, all in one run.\"},{q:\"How long does setup take?\",a:\"Most teams launch their first agent in under an hour. Connect your tools, pick an agent, set your approval rules and run a test in the sandbox.\"}]},pricing:{title:\"Pricing *questions.*\",items:[{q:\"Is there a free trial?\",a:\"Yes. Every plan starts with a 14-day free trial with full access to all features. No credit card required.\"},{q:\"What counts as a task run?\",a:\"A task run is one complete job an agent finishes, from trigger to result. Researching one lead or answering one ticket is a single run, no matter how many steps it takes.\"},{q:\"Can I change plans later?\",a:\"Anytime. Upgrades apply immediately and are prorated; downgrades take effect at the start of your next billing cycle.\"},{q:\"Do you offer discounts for startups or nonprofits?\",a:\"Yes. Eligible startups and registered nonprofits get 50% off the Growth plan for the first year. Contact our team to apply.\"},{q:\"What happens if I go over my limit?\",a:\"Your agents keep running. We'll let you know when you reach 80% and 100% of your runs, and extra runs are billed at $10 per 1,000. You can also upgrade at any time.\"}]},contact:{title:\"Before you *reach out.*\",items:[{q:\"How long is a demo?\",a:\"About 30 minutes. We'll learn about your workflows, show you the agents that fit and leave plenty of time for questions.\"},{q:\"Do you offer onboarding?\",a:\"Yes. Every plan includes guided onboarding. Growth and Scale customers also get a dedicated specialist to help launch their first agents.\"},{q:\"Where is my data stored?\",a:\"Data is stored in SOC 2-ready data centers in the US or EU, your choice. It's encrypted at rest and in transit and never used to train shared models.\"}]}};const css=`\n.fq{background:${C.bg}}\n.fq-list{display:flex;flex-direction:column;gap:10px;max-width:820px;margin:60px auto 0}\n.fq-item{border-radius:18px;background:${mix(C.surface,70)};box-shadow:inset 0 0 0 1px ${C.border};transition:box-shadow .3s,background .3s}\n.fq-item:hover{box-shadow:inset 0 0 0 1px ${mix(C.accent,35)}}\n.fq-item.is-open{background:${mix(C.surface,100)};box-shadow:inset 0 0 0 1px ${mix(C.accent,45)},0 20px 50px -30px ${mix(C.primary,80)}}\n.fq-q{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:22px 22px 22px 26px;border:0;background:transparent;cursor:pointer;text-align:left;font-family:${FONT_HEAD};font-size:17.5px;font-weight:500;letter-spacing:-0.02em;color:${C.text}}\n.fq-ic{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border-radius:50%;background:${mix(C.text,5)};box-shadow:inset 0 0 0 1px ${C.border};color:${C.text2};transition:rotate .35s cubic-bezier(.22,1,.36,1),background .3s,color .3s}\n.fq-item.is-open .fq-ic{rotate:45deg;background:${C.primary};color:#fff;box-shadow:0 0 18px -2px ${C.primary}}\n.fq-a{overflow:hidden}\n.fq-a p{padding:0 72px 24px 26px;font-size:15.5px;line-height:1.65;color:${C.text2}}\n.fq-card{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:820px;margin:28px auto 0;padding:28px;border-radius:22px;overflow:hidden;background:radial-gradient(80% 140% at 100% 100%,${mix(C.primary,28)},transparent 60%),${C.surface};box-shadow:inset 0 0 0 1px ${mix(C.accent,30)}}\n.fq-card h4{font-family:${FONT_HEAD};font-size:22px;font-weight:600;letter-spacing:-0.03em;color:${C.text};margin:0 0 6px}\n.fq-card p{font-size:15px;color:${C.text2}}\n.fq-card-ic{display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;border-radius:14px;background:${mix(C.primary,20)};color:${C.accent};box-shadow:inset 0 0 0 1px ${mix(C.primary,40)}}\n@container (max-width: 640px){\n  .fq-q{font-size:16px;padding:18px 16px 18px 18px}\n  .fq-a p{padding:0 18px 20px}\n  .fq-card{flex-direction:column;align-items:flex-start;padding:22px}\n}\n`;/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function FAQ(props){const{preset,eyebrow,title,items,showCard,cardTitle,cardText,cardButton,cardLink,style}=props;const isStatic=useStatic();const data=preset===\"custom\"?{title,items}:PRESETS[preset]||PRESETS.home;const[open,setOpen]=React.useState(0);return /*#__PURE__*/_jsxs(\"section\",{className:\"cq-root cq-section fq\",style:style,children:[/*#__PURE__*/_jsx(Style,{css:css}),/*#__PURE__*/_jsxs(\"div\",{className:\"cq-wrap\",children:[/*#__PURE__*/_jsx(SectionHead,{eyebrow:eyebrow,icon:\"message\",title:data.title}),/*#__PURE__*/_jsx(\"div\",{className:\"fq-list\",children:data.items.map((it,i)=>{const isOpen=open===i;return /*#__PURE__*/_jsx(Reveal,{delay:i*.05,y:14,blur:false,children:/*#__PURE__*/_jsxs(\"div\",{className:`fq-item${isOpen?\" is-open\":\"\"}`,children:[/*#__PURE__*/_jsxs(\"button\",{className:\"fq-q\",\"aria-expanded\":isOpen,onClick:()=>React.startTransition(()=>setOpen(isOpen?-1:i)),children:[it.q,/*#__PURE__*/_jsx(\"span\",{className:\"fq-ic\",children:/*#__PURE__*/_jsx(Icon,{name:\"plus\",size:16,stroke:2})})]}),/*#__PURE__*/_jsx(AnimatePresence,{initial:false,children:isOpen&&/*#__PURE__*/_jsx(motion.div,{className:\"fq-a\",initial:isStatic?false:{height:0,opacity:0},animate:{height:\"auto\",opacity:1},exit:{height:0,opacity:0},transition:{duration:.35,ease:[.22,1,.36,1]},children:/*#__PURE__*/_jsx(\"p\",{children:it.a})})})]})},preset+i);})}),showCard&&/*#__PURE__*/_jsxs(Reveal,{className:\"fq-card\",delay:.1,children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:18,alignItems:\"center\"},children:[/*#__PURE__*/_jsx(\"span\",{className:\"fq-card-ic\",children:/*#__PURE__*/_jsx(Icon,{name:\"message\",size:22})}),/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"h4\",{children:cardTitle}),/*#__PURE__*/_jsx(\"p\",{children:cardText})]})]}),/*#__PURE__*/_jsx(Btn,{label:cardButton,href:cardLink,variant:\"white\",icon:\"arrow-right\"})]})]})]});}addPropertyControls(FAQ,{preset:{type:ControlType.Enum,title:\"Preset\",options:[\"home\",\"agents\",\"pricing\",\"contact\",\"custom\"],optionTitles:[\"Home\",\"Agents\",\"Pricing\",\"Contact\",\"Custom\"],defaultValue:\"home\"},eyebrow:{type:ControlType.String,title:\"Eyebrow\",defaultValue:\"FAQ\"},title:{type:ControlType.String,title:\"Title\",defaultValue:\"Questions? *Answered.*\",hidden:p=>p.preset!==\"custom\"},items:{type:ControlType.Array,title:\"Questions\",hidden:p=>p.preset!==\"custom\",control:{type:ControlType.Object,controls:{q:{type:ControlType.String,title:\"Question\",defaultValue:\"Question?\"},a:{type:ControlType.String,title:\"Answer\",displayTextArea:true,defaultValue:\"Answer.\"}}},defaultValue:PRESETS.home.items},showCard:{type:ControlType.Boolean,title:\"Help card\",defaultValue:true},cardTitle:{type:ControlType.String,title:\"Card title\",defaultValue:\"Still have questions?\",hidden:p=>!p.showCard},cardText:{type:ControlType.String,title:\"Card text\",defaultValue:\"Our team replies within one business day.\",hidden:p=>!p.showCard},cardButton:{type:ControlType.String,title:\"Card button\",defaultValue:\"Talk to us\",hidden:p=>!p.showCard},cardLink:{type:ControlType.Link,title:\"Card link\",defaultValue:\"/contact\",hidden:p=>!p.showCard}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQ\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FAQ.map"],"mappings":"iUAyBG,SAAwB,EAAI,EAAM,CAAC,GAAK,CAAC,SAAO,UAAQ,QAAM,QAAM,WAAS,YAAU,WAAS,aAAW,WAAS,SAAO,EAAY,EAAS,EAAU,EAAQ,EAAK,IAAS,SAAS,CAAC,QAAM,OAAK,EAAE,EAAQ,IAAS,EAAQ,KAAU,CAAC,EAAK,GAASA,EAAe,CAAC,EAAE,OAAoB,EAAM,UAAU,CAAC,UAAU,wBAA8B,QAAM,SAAS,CAAc,EAAK,EAAM,CAAK,KAAG,CAAC,EAAe,EAAM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