{"version":3,"file":"CaseStudy3Points.Bgkl-CMR.mjs","names":["useRef","useState","p"],"sources":["https:/framerusercontent.com/modules/kJrriHPJDXtjiYRB40pv/1Jtm6rSInP7vzlCXj2D1/CaseStudy3Points.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useRef,useEffect,useState}from\"react\";export default function CaseStudyThreePoints({sectionTitle,label1,text1,label2,text2,label3,text3}){const containerRef=useRef(null);const[isMobile,setIsMobile]=useState(false);useEffect(()=>{const el=containerRef.current;if(!el)return;const ro=new ResizeObserver(([entry])=>{setIsMobile(entry.contentRect.width<640);});ro.observe(el);return()=>ro.disconnect();},[]);const points=[{label:label1,text:text1},{label:label2,text:text2},{label:label3,text:text3}];return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:{background:\"#FFFFFF\",borderRadius:20,padding:\"1.75rem 2rem\",width:\"100%\",fontFamily:\"'Poppins', sans-serif\"},children:[/*#__PURE__*/_jsx(\"h2\",{style:{fontSize:22,fontWeight:500,color:\"#080808\",marginBottom:20,letterSpacing:\"-0.01em\"},children:sectionTitle}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"grid\",gridTemplateColumns:isMobile?\"1fr\":\"repeat(3, 1fr)\",gap:12},children:points.map((p,i)=>/*#__PURE__*/_jsxs(\"div\",{style:{background:\"#F8F8F8\",border:\"1px solid #ECECEC\",borderRadius:24,padding:\"1rem 1.1rem\",fontSize:13,color:\"#444\",lineHeight:1.7},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:10,fontWeight:600,color:\"#080808\",textTransform:\"uppercase\",letterSpacing:\"0.07em\",marginBottom:8},children:p.label}),p.text]},i))})]});}CaseStudyThreePoints.defaultProps={sectionTitle:\"Intentional Choices\",label1:\"3-step process\",text1:\"The three-step breakdown makes the whole thing feel simple. Fill out a form, get matched, choose your vehicle — that's genuinely all the user has to do to get the process started. That simplicity is the whole point of Waypoint.\",label2:\"Vehicle selector\",text2:\"The vehicle selector does two things at once. Picking a truck, SUV, sedan or hatchback feels like a natural first step, but each option takes you straight to the apply page. It turns what could have been a plain button into a moment where you feel like you've already started.\",label3:\"Copy tone\",text3:\"The copy is deliberately low-pressure throughout. These are people who've been declined before, so the tone needed to feel like it was on their side.\"};addPropertyControls(CaseStudyThreePoints,{sectionTitle:{type:ControlType.String,title:\"Section Title\"},label1:{type:ControlType.String,title:\"Label 1\"},text1:{type:ControlType.String,title:\"Text 1\",displayTextArea:true},label2:{type:ControlType.String,title:\"Label 2\"},text2:{type:ControlType.String,title:\"Text 2\",displayTextArea:true},label3:{type:ControlType.String,title:\"Label 3\"},text3:{type:ControlType.String,title:\"Text 3\",displayTextArea:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CaseStudyThreePoints\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CaseStudy3Points.map"],"mappings":"+LAA0J,SAAwB,EAAqB,CAAC,eAAa,SAAO,QAAM,SAAO,QAAM,SAAO,SAAO,CAAC,IAAM,EAAaA,EAAO,IAAI,EAAO,CAAC,EAAS,GAAaC,EAAS,EAAK,EAA6R,OAA3R,MAAc,CAAC,IAAM,EAAG,EAAa,QAAQ,GAAG,CAAC,EAAG,OAAO,IAAM,EAAG,IAAI,gBAAgB,CAAC,KAAS,CAAC,EAAY,EAAM,YAAY,MAAM,GAAG,CAAE,CAAC,EAAiB,OAAf,EAAG,QAAQ,CAAE,MAAY,EAAG,WAAW,CAAE,EAAE,CAAC,CAAC,EAAmH,EAAM,MAAM,CAAC,IAAI,EAAa,MAAM,CAAC,WAAW,UAAU,aAAa,GAAG,QAAQ,eAAe,MAAM,OAAO,WAAW,uBAAuB,EAAE,SAAS,CAAc,EAAK,KAAK,CAAC,MAAM,CAAC,SAAS,GAAG,WAAW,IAAI,MAAM,UAAU,aAAa,GAAG,cA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