{"version":3,"file":"FAQSection.DDcM_R2V.mjs","names":["_jsxs","_jsx","CSS","T","_jsxs","_jsx","__esmMin","j","init_npm_react_18_3_1","p","c","init_jsx_runtime","init_framer_B3LLf74D","addPropertyControls","ControlType","FAQItem","props","question","answer","defaultOpen","style","CSS$1","T$1","init_FAQItem","FAQSection","items","children","kicker","title","lede","showKicker","content","isRepeater","CSS","T","init_FAQSection"],"sources":["https:/framerusercontent.com/modules/ocYnXksfXXr7ll2QEAb7/Srn6B32ZtLCdclPFeGA0/FAQItem.js","https:/framerusercontent.com/modules/BqfiSX4Bcq9N4pH8mN7l/eNSg0S2rHmc6vtd4iHPW/FAQSection.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * FAQItem — a single FAQ disclosure row.\n *\n * Designed to sit inside a Framer Collection List bound to the FAQ collection,\n * with `question` and `answer` bound to CMS fields. Both are scalar String\n * controls precisely so they are bindable.\n *\n * Ported from assets/homepage-content-v2.css (.hp-faq*). Tokens resolved to the\n * homepage's EFFECTIVE values (the page re-points --gm-* to a teal ramp), not\n * the design-system base values.\n *\n * @framerIntrinsicWidth 760\n * @framerIntrinsicHeight 74\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */const T={sans:\"Inter, system-ui, -apple-system, 'Segoe UI', sans-serif\",rule:\"rgba(0,110,120,.17)\",summary:\"#123E44\",marker:\"#007984\",body:\"#486F74\"};const CSS=`\n.gmfaq{width:100%;border-bottom:1px solid ${T.rule};}\n.gmfaq:first-child{border-top:1px solid ${T.rule};}\n.gmfaq summary{position:relative;padding:24px 44px 24px 0;cursor:pointer;list-style:none;font:600 18px/1.4 ${T.sans};color:${T.summary};}\n.gmfaq summary::-webkit-details-marker{display:none;}\n.gmfaq summary::after{content:\"+\";position:absolute;right:5px;top:22px;font:400 25px/1 ${T.sans};color:${T.marker};}\n.gmfaq[open] summary::after{content:\"−\";}\n.gmfaq p{max-width:62ch;margin:0;padding:0 44px 25px 0;font:400 15px/1.62 ${T.sans};color:${T.body};}\n@media(max-width:700px){\n  .gmfaq summary{padding:20px 36px 20px 0;font-size:16px;}\n  .gmfaq summary::after{top:18px;font-size:22px;}\n  .gmfaq p{padding:0 36px 21px 0;font-size:14px;}\n}\n@media(prefers-reduced-motion:reduce){.gmfaq *{transition:none!important;animation:none!important;}}\n`;export default function FAQItem(props){const{question,answer,defaultOpen,style}=props;return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",...style},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:CSS}}),/*#__PURE__*/_jsxs(\"details\",{className:\"gmfaq\",open:defaultOpen,children:[/*#__PURE__*/_jsx(\"summary\",{children:question}),/*#__PURE__*/_jsx(\"p\",{children:answer})]})]});}FAQItem.defaultProps={question:\"Will they change campaigns without asking?\",answer:\"No. Every move is proposed with the exact change. It only goes live once you approve it.\",defaultOpen:false};addPropertyControls(FAQItem,{question:{type:ControlType.String,title:\"Question\",defaultValue:\"Will they change campaigns without asking?\"},answer:{type:ControlType.String,title:\"Answer\",displayTextArea:true,defaultValue:\"No. Every move is proposed with the exact change. It only goes live once you approve it.\"},defaultOpen:{type:ControlType.Boolean,title:\"Open\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQItem\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FAQItem.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * FAQSection — section shell for the FAQ.\n *\n * Drop a Collection List bound to the FAQ collection (rendering FAQItem) into\n * the `items` Slot. This shell owns the section chrome that a Collection List\n * cannot provide: the .hp-section padding, the kicker/title/lede head, the\n * two-column .hp-faq-layout grid, and the list's top rule.\n *\n * Ported from assets/homepage-content-v2.css:\n *   .hp-section / .hp-inner / .hp-kicker / .hp-title / .hp-lede (L33-39)\n *   .hp-faq / .hp-faq-layout / .hp-faq-list (L132-134)\n *   the 980px collapse of .hp-faq-layout to one column (L169)\n * Colours are the page's EFFECTIVE re-pointed values, not the DS base ramp.\n *\n * @framerIntrinsicWidth 1200\n * @framerIntrinsicHeight 720\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */const T={sans:\"Inter, system-ui, -apple-system, 'Segoe UI', sans-serif\",kicker:\"#007984\",title:\"#103B41\",lede:\"#406B70\",rule:\"rgba(0,110,120,.17)\"};const CSS=`\n.gmfx-faq { position:relative; padding:clamp(88px,9.5vw,144px) 24px; overflow:hidden; background:#fff; }\n.gmfx-faq-inner { width:min(1240px,100%); margin:auto; }\n.gmfx-faq-layout { display:grid; grid-template-columns:.72fr 1.28fr; gap:clamp(50px,8vw,120px); align-items:start; }\n.gmfx-faq-kicker { margin:0 0 18px; font:650 12px/1 ${T.sans}; letter-spacing:.14em; text-transform:uppercase; color:${T.kicker}; }\n.gmfx-faq-title { max-width:930px; margin:0; font:540 clamp(36px,4.4vw,60px)/.98 ${T.sans}; letter-spacing:-.05em; color:${T.title}; text-wrap:balance; }\n.gmfx-faq-lede { max-width:65ch; margin:24px 0 0; font:400 18px/1.62 ${T.sans}; color:${T.lede}; }\n.gmfx-faq-list { border-top:1px solid ${T.rule}; }\n\n/* Collection List mode. Framer's containers sit between the list and each item\n   and shrink-to-fit, so every row ends up only as wide as its question text —\n   with the divider stopping short. Dissolve them so each <details> is a block\n   child of the list again. */\n.gmfx-faq-list-repeater div:has(.gmfaq) { display:contents !important; }\n.gmfx-faq-list-repeater .gmfaq { width:100%; }\n@media (max-width:980px) {\n  .gmfx-faq-layout { grid-template-columns:1fr; gap:30px; }\n}\n@media (prefers-reduced-motion:reduce) {\n  .gmfx-faq * { transition:none !important; animation:none !important; }\n}\n`;export default function FAQSection(props){const{items,children,kicker,title,lede,showKicker,style}=props;// The Slot renders as React children; fall back to real children so the\n// component also works in the local framer-lite harness.\nconst content=items??children;// One child means a Framer Collection List; N means discrete items.\nconst isRepeater=React.Children.toArray(content).filter(c=>c!=null).length===1;return /*#__PURE__*/_jsxs(\"section\",{className:\"gmfx-faq\",style:style,children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:CSS}}),/*#__PURE__*/_jsx(\"div\",{className:\"gmfx-faq-inner\",children:/*#__PURE__*/_jsxs(\"div\",{className:\"gmfx-faq-layout\",children:[/*#__PURE__*/_jsxs(\"div\",{children:[showKicker&&kicker?/*#__PURE__*/_jsx(\"p\",{className:\"gmfx-faq-kicker\",children:kicker}):null,/*#__PURE__*/_jsx(\"h2\",{className:\"gmfx-faq-title\",children:title}),lede?/*#__PURE__*/_jsx(\"p\",{className:\"gmfx-faq-lede\",children:lede}):null]}),/*#__PURE__*/_jsx(\"div\",{className:\"gmfx-faq-list\"+(isRepeater?\" gmfx-faq-list-repeater\":\"\"),children:content})]})})]});}FAQSection.defaultProps={kicker:\"FAQ\",title:\"Questions teams ask before they start.\",lede:\"\",showKicker:true};addPropertyControls(FAQSection,{items:{type:ControlType.Slot,title:\"Items\"},showKicker:{type:ControlType.Boolean,title:\"Kicker\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},kicker:{type:ControlType.String,title:\"Kicker text\",defaultValue:\"FAQ\"},title:{type:ControlType.String,title:\"Title\",displayTextArea:true,defaultValue:\"Questions teams ask before they start.\"},lede:{type:ControlType.String,title:\"Lede\",displayTextArea:true,defaultValue:\"\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQSection\",\"slots\":[\"items\",\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FAQSection.map"],"mappings":"A,iLA6BE,SAAwBe,EAAQC,EAAM,C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