{"version":3,"file":"FAQSection.EOh7Fru1.mjs","names":["CSS","T"],"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":"kLA6BE,SAAwB,EAAQ,EAAM,CAAC,GAAK,CAAC,WAAS,SAAO,cAAY,SAAO,EAAM,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,GAAG,CAAK,EAAE,SAAS,CAAc,EAAK,QAAQ,CAAC,wBAAwB,CAAC,OAAOA,CAAG,CAAC,CAAC,EAAe,EAAM,UAAU,CAA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