{"version":3,"file":"FAQ.BZB7jA_J.mjs","names":["React.useState","React.startTransition","__esmMin","te","_e","p","c","init_jsx_runtime","init_npm_react_18_3_1","motion","AnimatePresence","init_framer_motion_DhsWWWsN","init_framer_B1b760uK","ControlType","addPropertyControls","init_Kit","FONT_HEAD","C","mix","useStatic","FAQ","props","isStatic","data","preset","PRESETS","open","setOpen","Style","SectionHead","isOpen","i","Reveal","it","Icon","showCard","cardTitle","cardText","Btn","cardButton","cardLink","css","init_FAQ","UI"],"sources":["https:/framerusercontent.com/modules/3X5Mk2hPN4tisr9bMLjf/h4Gd6Y3V7YdSwl2oBuCd/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/zjaM1sKaseZnMT2tQDrd/4JO1DJndHUra9JA9Q9DF/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\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,+TAyBG,SAAwBoB,EAAI,EAAM,CAAC,GAAK,CAAC,SAAO,UAAQ,QAAM,QAAM,WAAS,YAAU,WAAS,aAA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