1import{r as e,u as t,j as a,A as s}from"./google-maps-Dsi9asJS.js";import{D as r,f as i,g as n,A as l,m as o,E as c,F as d,G as m}from"./index-bG1liPr7.js";import{l as x,E as p,a as h}from"./react-stripe.esm-B3EKwMk_.js";import{u,P as g}from"./useElevenLabsAgent-D-6FCl1x.js";import{C as b,A as f,I as y,V as w}from"./InputModeToggle-JYp8kYvn.js";import{C as v}from"./ConversationView-CWt4DMIw.js";import{v as j,T as N}from"./TextFallback-VunSP5Vw.js";import{G as k}from"./gift-CwBJ8atP.js";import{H as C}from"./heart-cVrOz8n9.js";import{L as S}from"./lightbulb-cTiogi5z.js";import{S as A}from"./shield-BohOcFIf.js";import{C as G}from"./circle-check-oM3KklCy.js";import{C as _}from"./check-Cve1php4.js";import{C as F}from"./copy-D19btORo.js";import{P as I}from"./phone-CwipcKSr.js";import{P as T}from"./paperclip-qCq3uMd3.js";import{I as M}from"./image-Tf54ZnjF.js";import{M as E}from"./mic-CRuDCHNN.js";import{S as z}from"./send-horizontal-ySwi7Fyz.js";import"./mic-off-CIW6_SqX.js";import"./volume-x-DeGhxxk-.js";import"./volume-2-BSjDZsVX.js";import"./message-square-DmCX_jQ1.js";const D=["places"],P="https://mvp-betam-worker.myplankeeper.workers.dev",B="https://moxnvwhuxobtszhwxmxs.supabase.co/storage/v1/object/public/article-images/early-retirement-struggles-hero.jpg",q="https://moxnvwhuxobtszhwxmxs.supabase.co/storage/v1/object/public/Images%20For%20App/MPKconfirSVG.svg",H={fontFamily:'Georgia, "Times New Roman", serif'},R={fontFamily:"system-ui, -apple-system, Segoe UI, sans-serif"},W=["When to claim Social Security","Medicare vs. his old insurance","Whether his money will last","Roth conversion timing","Required Minimum Distributions, without stress","What to do with a 401(k) from an old job","Building purpose after work ends","Talking to family about his legacy","Deciding where to retire","A daily routine that keeps him sharp","Long-term care planning before it's urgent","Coordinating health care with his spouse"],$="FATHER2026",O="$10 off",Y=[{id:"social_security",label:"Social Security timing"},{id:"medicare",label:"Medicare decisions"},{id:"money_lasting",label:"Will his money last"},{id:"healthcare_costs",label:"Healthcare costs"},{id:"helping_kids",label:"Helping us (his kids)"},{id:"housing",label:"Housing / downsizing"},{id:"legacy",label:"Legacy for the family"},{id:"purpose",label:"Finding purpose"}],L=[{id:"still_working",label:"Still working",sub:"Retiring soon"},{id:"newly_retired",label:"Newly retired",sub:"Within the last few years"},{id:"retired_5plus",label:"Retired 5+ years",sub:"Settled in"}],V=[{q:"What is Grace AI?",a:"Grace is an AI built for retirement. She walks your dad through Social Security, Medicare, budgeting, and the questions he's been quietly Googling â in plain language, at his pace."},{q:"What is Grace Tools?",a:"Grace Tools is My Plan Keeper's secure home for your dad's retirement plan. It's where he signs in to talk to Grace, review his plan, and pick up where he left off. Password-protected, encrypted, and private to him â no one else can see what he shares."},{q:"What does Grace actually help with?",a:"Social Security timing. Medicare choices. Whether his money will last. Roth conversions. Taxes in retirement. Daily routines. Talking with family about legacy. And learning to use AI with confidence. If it's about retirement, Grace can help him think it through."},{q:"Will Grace give him financial advice?",a:"No. Grace explains things, helps him think clearly, and asks the kinds of questions a good planner would ask. Grace doesn't tell your dad what to do with his money. For specific decisions, Grace will recommend he talk to a licensed professional."},{q:"What if he has a question Grace can't answer?",a:"Grace will say so honestly and point your dad to the right resource. We'd rather he trust Grace than have Grace pretend to know everything."},{q:"Is his information private?",a:"Yes. His conversations live in his private account, encrypted and never sold. He can delete anything he's shared with Grace at any time. And unlike most retirement tools, Grace never asks him to link his bank, brokerage, or any financial accounts. Nothing he shares leaves his control."}
1,{q:"Does he need to be tech-savvy?",a:"No. If he can open an email, he can use Grace. Nothing to download, nothing to install."},{q:"What does his first day look like?",a:"He opens his welcome email and clicks Get Started. That takes him to Grace Tools, where he sets up his account in under a minute â just his email and a password, nothing financial. Once he's inside, Grace is there waiting. The first conversation usually takes about 10 minutes."},{q:"When will he receive the gift?",a:"The digital gift (email with your note + Grace access) is delivered on the date you choose â Father's Day or today. If you include a handwritten card, it ships separately and we can't guarantee arrival by a specific date."},{q:"Is this a subscription?",a:"The 30-Day Clarity Sprint ($49) gives him full access for 30 days and his personalized plan is saved permanently. The Retirement Co-Pilot ($149/year) is a full year of Grace at founding member pricing â it renews annually unless cancelled, and you can cancel any time. No hidden fees either way."},{q:"What if it's not for him?",a:"Every gift is backed by the My Plan Keeper promise. If he's not getting value, reach out â we'll make it right or refund the gift. No hassle, no fine print."},{q:"Can I gift this to someone other than my dad?",a:"Absolutely. Grace is for anyone navigating retirement â your brother, a friend, stepdad, grandfather, uncle, father-in-law, or anyone ready for clarity on what comes next."}],U=[{id:"start",label:"1. Emotional start",title:"Grace starts with empathy, not spreadsheets.",sub:"Carlos feels seen first, then supported.",messages:[{role:"grace",text:"Carlos, Carla sent you this because he loves you. We can take this one step at a time."},{role:"carlos",text:"I am overwhelmed. I have money saved but bills feel heavy."},{role:"grace",text:"You are not alone. Let me organize this with you so it feels manageable."}],proof:["Names and context are personalized from the gift setup.","Grace frames overwhelm as solvable, not as failure."]},{id:"clarity",label:"2. Money clarity",title:"Grace translates numbers into breathing room.",sub:"Grace turns scattered facts into one clear picture.",messages:[{role:"carlos",text:"401(k) is $620,000, pension is $2,100, Social Security is $3,100."},{role:"grace",text:"I saved that. You have $5,200 per month guaranteed before touching savings."},{role:"grace",text:"Your fixed bills are $3,020. That leaves about $2,180 before groceries, gas, and meds."}],proof:["My Numbers auto-updates while he talks.","Income, liabilities, and net worth stay in one place."]},{id:"image",label:"3. Paste statement",title:"He pastes one statement image. Grace does the rest.",sub:"No typing. Just paste and instant analysis.",messages:[{role:"grace",text:"Just paste a screenshot of your statement right here. No typing needed."},{role:"carlos",text:"Pasted image."},{role:"grace",text:"Got it: payoff $10,247, payment $485, rate 8.99%, 23 months remaining."}],proof:["Image is analyzed in-session so he can stay in flow.","Grace summarizes key numbers in plain language immediately.","Security-first behavior: only what is needed for analysis is used."]},{id:"sticky",label:"4. Sticky + tasks",title:"Grace leaves sticky reminders and creates tasks.",sub:"Both Grace and Carlos get clear next steps.",messages:[{role:"grace",text:"I left a sticky note in your Assets section so this does not get lost."},{role:"grace",text:"I also added tasks for both of us: what you gather, what I organize next."},{role:"carlos",text:"Can we continue budgeting later?"},{role:"grace",text:"Absolutely. I saved everything so we pick up exactly where you left off."}],proof:["Sticky reminder is saved in context where he will see it next visit.","Action list is split into user tasks and Grace follow-through tasks.","Budget categories are prefilled for a cleaner next session."]}],K={start:{src:"https://moxnvwhuxobtszhwxmxs.supabase.co/storage/v1/object/public/Images%20For%20App/MyNumbersw%20grace.png",alt:"Grace with My Numbers view showing liabilities and totals"},clarity:{src:"https://moxnvwhuxobtszhwxmxs.supabase.co/storage/v1/object/public/Images%20For%20App/Missingexpenses.png",alt:"Grace identifying missing expenses and budget gaps"},image:{src:"https://moxnvwhuxobtszhwxmxs.supabase.co/storage/v1/object/public/Images%20For%20App/BudgetwithGrace.png",alt:"Budget with Grace showing category breakdown and totals"},sticky:{src:"https://moxnvwhuxobtszhwxmxs.supabase.co/storage/v1/object/public/Images%20For%20App/MyNumbersw%20grace.png",alt:"Grace with My Numbers view and saved context"}};function J({src:t,alt:s}){const i=e.useRef(null),n=r(),l="0 30px 80px rgba(23,33,50,0.16), 0 12px 28px rgba(23,33,50,0.08)",{scrollYProgress:x}=c({target:i,offset:["start 90%","end 20%"]}),p=d(x,{stiffness:120,damping:24,mass:.5}),h=m(p,[0,.45,.7,1],[0,-2,-5,0]),u=m(p,[0,.45,.7,1],[1,1.004,1.01,1]),g=m(p,[0,.45,.7,1],[l,"0 36px 90px rgba(23,33,50,0.22), 0 16px 36px rgba(23,33,50,0.12), 0 0 24px rgba(184,122,95,0.16)","0 42px 102px rgba(23,33,50,0.26), 0 18px 42px rgba(23,33,50,0.14), 0 0 32px rgba(184,122,95,0.2)","0 32px 82px rgba(23,33,50,0.19), 0 12px 30px rgba(23,33,50,0.09), 0 0 18px rgba(184,122,95,0.12)"]);return a.jsx(o.div,{ref:i,className:"overflow-hidden rounded-[30px]",style:n?{boxShadow:l}:{y:h,scale:u,boxShadow:g,willChange:"transform, box-shadow"},children:a.jsx("div",{className:"aspect-[16/9] w-full bg-white",children:a.jsx("img",{src:t,alt:s,className:"h-full w-full object-contain object-center",loading:"eager",fetchPriority:"high",decoding:"async",sizes:"(max-width: 640px) 100v
1w, (max-width: 1024px) 100vw, 58vw"})})})}function X({items:e}){return a.jsxs("section",{className:"gift-marquee-section overflow-hidden border-b border-[#1a2332]/8 bg-white py-8 sm:py-10",children:[a.jsxs("div",{className:"mx-auto max-w-7xl px-4 sm:px-6",children:[a.jsx("p",{className:"mb-5 text-center text-[18px] font-semibold uppercase tracking-[0.22em] text-[#8f5f49] sm:mb-6 sm:text-lg",style:R,children:"What Grace helps him with"}),a.jsx("div",{className:"gift-marquee-container",children:a.jsx("div",{className:"gift-marquee-track flex w-max gap-3",children:[...e,...e].map((e,t)=>a.jsx("div",{className:"whitespace-nowrap rounded-full border border-[#172132]/12 bg-white px-5 py-2.5 text-[18px] text-[#172132] transition-colors hover:border-[#b87a5f]/55 hover:bg-[#fbf7f4]",style:H,children:e},"gm-"+t))})})]}),a.jsx("style",{children:"\n .gift-marquee-container { overflow: hidden; mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%); -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%); }\n .gift-marquee-container:hover .gift-marquee-track { animation-play-state: paused; }\n .gift-marquee-track { animation: gift-marquee-scroll 90s linear infinite; will-change: transform; }\n @keyframes gift-marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }\n @media (prefers-reduced-motion: reduce) { .gift-marquee-track { animation: none; } }\n "})]})}const Z=["guessing","worrying","dreading"];function Q({words:t,intervalMs:s}){const i=r(),[n,c]=e.useState(0);e.useEffect(()=>{if(i)return;const e=window.setInterval(()=>{c(e=>(e+1)%t.length)},s);return()=>window.clearInterval(e)},[t.length,s,i]);const d=t[n];return a.jsxs("span",{className:"relative inline-grid align-baseline","aria-live":"polite",children:[t.map(e=>a.jsx("span",{"aria-hidden":"true",className:"invisible col-start-1 row-start-1 whitespace-nowrap",style:{color:"#C8102E"},children:e},e)),a.jsx("span",{className:"col-start-1 row-start-1 whitespace-nowrap",children:a.jsx(l,{mode:"wait",initial:!1,children:a.jsx(o.span,{initial:!i&&{y:18,opacity:0},animate:{y:0,opacity:1},exit:i?{opacity:0}:{y:-18,opacity:0},transition:{duration:.45,ease:[.22,1,.36,1]},className:"inline-block",style:{color:"#C8102E",textShadow:"0 2px 12px rgba(255,255,255,0.9), 0 1px 3px rgba(255,255,255,0.8)"},children:d},d)})})]})}const ee=[{n:"01",title:"He'll know when to claim Social Security.",body:"Grace runs him numbers (age, spouse, health, income) and shows him the timing that puts the most money in him pocket over him lifetime."},{n:"02",title:"He'll never miss a Medicare window.",body:"Open Enrollment. COBRA decisions. Roth conversion deadlines. Grace watches them all and tells him before they close."},{n:"03",title:"He'll sleep, because the math is done.",body:"Will his money last? Grace tells him honestly, in plain English, whether he's on track or what he needs to change. And above all, Grace will help him map out and activate him purpose."}];function te(){const t=e.useRef(null),s=r(),{scrollYProgress:i}=c({target:t,offset:["start end","end start"]}),n=m(i,[0,1],["-8%","8%"]);return a.jsxs("section",{ref:t,className:"relative overflow-hidden border-b border-[#1a2332]/8","aria-labelledby":"guessing-heading",children:[a.jsx(o.div,{"aria-hidden":"true",className:"pointer-events-none absolute inset-0",style:{y:s?0:n,backgroundImage:'url("https://moxnvwhuxobtszhwxmxs.supabase.co/storage/v1/object/public/Images%20For%20App/MomswithGrace.png")',backgroundSize:"cover",backgroundPosition:"center 28%",backgroundRepeat:"no-repeat",transform:"scale(1.18)",transformOrigin:"center"}}),a.jsx("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0",style:{background:"radial-gradient(900px 500px at 50% 18%, rgba(255,253,250,0.35) 0%, rgba(255,253,250,0.1) 40%, rgba(255,253,250,0) 70%), linear-gradient(180deg, rgba(255,253,250,0.42) 0%, rgba(255,253,250,0.18) 38%, rgba(255,253,250,0.78) 82%, rgba(255,253,250,0.92) 100%)"}}),a.jsxs("div",{className:"relative z-10 mx-auto max-w-6xl px-4 py-24 sm:px-6 md:px-10 md:py-32 lg:py-40",children:[a.jsx("p",{className:"text-center text-[18px] font-semibold uppercase tracking-[0.22em] text-[#8f5f49]",style:{...R,textShadow:"0 1px 2px rgba(255,255,255,0.8)"},children:"What he'll get"}),a.jsxs("h2",{id:"guessing-heading",className:"mt-4 text-center text-4xl font-bold leading-[1.05] text-[#172132] sm:text-5xl md:text-[56px]",style:{...H,textShadow:"0 2px 12px rgba(255,255,255,0.9), 0 1px 3px rgba(255,255,255,0.8)"},children:[a.jsxs("span",{className:"sr-only",children:["He stops ",Z.join(", "),"."]}),a.jsxs("span",{"aria-hidden":"true",children:["He stops"," ",a.jsxs("span",{style:{whiteSpace:"nowrap"},children:[a.jsx(Q,{words:Z,intervalMs:2400}),"."]})]})]}),a.jsx("p",{className:"mx-auto mt-6 max-w-2xl text-center text-[18px] leading-[1.6] text-slate-700 sm:text-[20px]",style:{...R,textShadow:"0 1px 6px rgba(255,255,255,0.85)"},children:"About Social Security. About Medicare. About whether his money will last."}),a.jsx("div",{className:"mt-16 grid gap-6 md:mt-20 md:grid-cols-3 md:gap-7 lg:mt-24",children:ee.map(e=>a.jsxs("div",{className:"group relative rounded-3xl p-8 transition-all duration-300 hover:-translate-y-1 sm:p-10",style:{background:"rgba(255, 253, 250, 0.82)",backdropFilter:"blur(14px) saturate(140%)",WebkitBackdropFilter:"blur(14px) saturate(140%)",border:"1px solid rgba(255,255,255,0.6)",boxShadow:"0 1px 2px rgba(23, 33, 50, 0.04), 0 10px 24px -8px rgba(23, 33, 50, 0.12), 0 28px 64px -20px rgba(23, 33, 50, 0.22)"},children:[a.jsx("span",{className:"text-[18px] font-semibold tracking-[0.22em] text-[#b87a5f]",style:H,children:e.n}),a.jsx("div",{className:"mt-4 h-px w-10 bg-[#b87a5f]/40"}),a.jsx("h3",{className:"mt-6 text-[22px] font-semibold leading-[1.25] text-[#172132] sm:text-[24px]",style:H,children:e.title}),a.jsx("p",{className:"mt-4 text-[18px] leading-[1.7] text-slate-700 sm:text-[18px]",style:R,children:e.body})]},e.n))})]})]})}const ae=[{title:"Yes, it's AI. That's the point.",body:"Grace is available at 2am when the worry hits. Grace never forgets what Dad said last week. Grace does not rush him, judge him, or charge by the hour. The best listener your dad will ever have."},{title:"He carries this alone. Now he doesn't have to.",body:"Medicare deadlines, Social Security timing, whether the money will last. He worries about all of it quietly. Grace gives him a place to say it out loud, get real answers, and stop carrying the weight by himself."},{title:"You are giving him clarity, not a thing.",body:"This is not a product he opens once. It's someone by his side when the questions come, connecting pieces no single Google search can. He walks away with a plan he understands and trusts."}];function se({recipientName:t,buyerName:s,buyerEmail:r,personalMessage:i,concerns:n,giftRowId:l,lifeStage:c,onClose:d}){const m=e.useRef(!1),x=e.useRef(!1),p=e.useRef(!1),h=e.useRef(""),[k,C]=e.useState("voice"),[
1S,A]=e.useState(!1),G=e.useCallback(async()=>{if(l&&h.current.trim())try{await fetch(P+"/api/public/widget/paywall/update-gift-voice-context",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({gift_row_id:l,gifter_email:r.trim(),gift_voice_context:h.current})})}catch(e){}},[r,l]),_=u({agentId:"agent_3001kpy4hfckew8800tr232nx815",dynamicVariables:{caller_name:s.trim()||"Gift giver",caller_email:r.trim(),recipient_name:t.trim()||"Dad",gift_message:i.trim(),concerns:n.join(", "),life_stage:c||"",gift_row_id:l||""},onConnect:()=>{},onDisconnect:()=>{x.current||(x.current=!0,G(),d(p.current))},onError:e=>{}});e.useEffect(()=>{_.messages.length>0&&(p.current=!0),h.current=_.messages.filter(e=>e.content.trim()).map(e=>`${"assistant"===e.role?"Grace":"Gifter"}: ${e.content.trim()}`).join("\n").slice(0,4e3)},[_.messages]),e.useEffect(()=>{m.current||(m.current=!0,_.startCall().catch(e=>{}))},[]);const F=e.useCallback(async()=>{if(!x.current){x.current=!0;try{await _.endCall()}catch{}await G(),d(p.current)}},[_,d,G]);return a.jsx(o.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-[60] flex items-center justify-center bg-black/85 backdrop-blur-sm p-0 md:p-6",onClick:e=>{e.target===e.currentTarget&&F()},children:a.jsx(o.div,{initial:{scale:.96,opacity:0,y:16},animate:{scale:1,opacity:1,y:0},exit:{scale:.96,opacity:0,y:16},transition:{type:"spring",stiffness:280,damping:30},className:"relative w-full h-full md:max-w-[640px] md:max-h-[880px] md:rounded-3xl overflow-hidden shadow-2xl",children:a.jsxs("div",{className:`${j.videoCallContainer} ${_.isConnected?j.activeCall:""}`,style:{position:"absolute",zIndex:"auto"},children:[_.isConnected&&a.jsx("video",{className:j.waveformVideo,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:a.jsx("source",{src:"https://moxnvwhuxobtszhwxmxs.supabase.co/storage/v1/object/public/Images%20For%20App/VoiceWave.mp4",type:"video/mp4"})}),_.isConnected&&a.jsx(b,{graceName:"Grace",onClose:F}),a.jsx("div",{className:j.avatarArea,children:_.isConnected?a.jsx("div",{className:j.activeCallScreen,children:a.jsxs("div",{className:j.conversationCard,children:[a.jsx("div",{className:j.avatarSection,children:a.jsx(f,{isActive:!0})}),a.jsx(v,{messages:_.messages,showTranscript:!1}),a.jsx("div",{className:j.inputModeSection,children:a.jsx(y,{mode:k,onModeChange:e=>{C(e),A("text"===e)},disabled:!_.isConnected})}),S&&a.jsx(N,{onSendMessage:_.sendTextMessage,disabled:!_.isConnected}),a.jsx(w,{isMuted:_.micMuted,isSpeakerMuted:0===_.volume,onToggleMute:()=>_.setMicMuted(!_.micMuted),onToggleSpeaker:()=>_.setVolume(0===_.volume?1:0),onEndCall:F,isSpeaking:_.isSpeaking,isListening:!_.isSpeaking&&_.isConnected})]})}):a.jsxs("div",{className:j.connectingScreen,children:[a.jsx(f,{isActive:!1}),a.jsx("div",{className:j.loadingSpinner}),a.jsx("p",{className:j.connectingText,children:"Connecting to Grace..."}),a.jsx("button",{className:j.endCallButton,onClick:F,style:{marginTop:"2rem"},"aria-label":"Cancel",children:a.jsx(g,{size:24})})]})})]})})})}function re(){const t=r(),[s,i]=e.useState(0),n=U[s]??U[0],l="sticky"===n.id,o="image"===n.id,c=K[n.id];return e.useEffect(()=>{if(t)return;const e=window.setInterval(()=>{i(e=>(e+1)%U.length)},8e3);return()=>window.clearInterval(e)},[t]),e.useEffect(()=>{const e=U[(s+1)%U.length],t=e?K[e.id]:null;(null==t?void 0:t.src)&&((new Image).src=t.src)},[s]),a.jsxs("section",{className:"border-b border-[#172132]/8 px-4 py-14 sm:px-6 md:px-10 md:py-16",style:{background:"linear-gradient(180deg, #ffffff 0%, #fcfbfa 100%)"},children:[a.jsxs("div",{className:"mx-auto max-w-6xl",children:[a.jsx("p",{className:"text-base font-semibold uppercase tracking-[0.2em] text-[#8f5f49]",style:R,children:"Outcomes he can feel"}),a.jsx("h2",{className:"mt-3 text-3xl font-semibold leading-tight text-[#172132] sm:text-[2.45rem]",style:H,children:"This is what clarity feels like."}),a.jsx("p",{className:"mt-4 max-w-3xl text-[18px] leading-relaxed text-slate-600 sm:text-[18px]",style:R,children:"Each step shows a real outcome: emotional relief, money clarity, statement analysis from a pasted image, and saved reminders with tasks he can actually complete."}),a.jsx("div",{className:"mt-7 grid gap-3 sm:grid-cols-2 lg:grid-cols-4",children:U.map((e,t)=>{const r=t===s;return a.jsxs("button",{type:"button",onClick:()=>i(t),"aria-pressed":r,className:"group relative overflow-hidden rounded-2xl border px-3 py-3 text-left transition-all "+(r?"border-[#B87A5F] bg-gradient-to-br from-[#B87A5F]/10 via-[#B87A5F]/5 to-transparent":"border-[#cbc6bc] bg-gradient-to-br from-[#fffdfb] via-[#f5efe8] to-[#e9e0d6] hover:border-[#B87A5F]/50"),style:{boxShadow:r?"0 14px 34px rgba(184,122,95,0.15), 0 4px 12px rgba(184,122,95,0.08), inset 0 1px 0 rgba(255,255,255,0.9)":"0 14px 34px rgba(26,35,50,0.11), 0 4px 12px rgba(26,35,50,0.06), inset 0 1px 0 rgba(255,255,255,0.9), inset 0 -1px 0 rgba(26,35,50,0.05)"},children:[a.jsx("p",{className:"text-[18px] font-semibold text-[#172132]",style:H,children:e.label}),a.jsx("p",{className:"mt-1 text-[13.5px] leading-snug text-slate-600",style:R,children:e.sub}),a.jsx("span",{className:"pointer-events-none absolute inset-x-3 top-0 h-px rounded-full bg-gradient-to-r from-transparent via-white to-transparent opacity-90"})]},e.id)})}),a.jsxs("div",{className:"mt-8 space-y-5",children:[a.jsxs("div",{className:"mx-auto max-w-3xl rounded-[28px] border border-[#172132]/10 bg-white p-4 shadow-[0_18px_48px_rgba(23,33,50,0.10)]",children:[a.jsxs("div",{className:"mb-4 flex items-center gap-3",children:[a.jsx("img",{src:"https://moxnvwhuxobtszhwxmxs.supabase.co/storage/v1/object/public/Images%20For%20App/GraceAI.webp",alt:"Grace",className:"h-10 w-10 rounded-full ring-2 ring-[#B87A5F]/20"}),a.jsxs("div",{children:[a.jsx("p",{className:"text-[17px] font-semibold text-[#172132]",style:R,children:"Grace"}),a.jsx("p",{className:"text-[14px] text-slate-500",style:R,children:"Retirement execution partner"})]})]}),o&&a.jsxs("div",{className:"mb-4 rounded-2xl border border-[#B87A5F]/30 bg-[#fff9f4] px-3.5 py-3",children:[a.jsx("p",{className:"text-[14px] font-semibold text-[#7f4f38]",style:R,children:"Paste image to analyze"}),a.jsx("p",{className:"mt-0.5 text-[14px] leading-relaxed text-[#6f4c3a]",style:R,children:"No typing required. Paste a statement screenshot and Grace extracts the key numbers."})]}),a.jsx("div",{className:"space-y-3",children:n.messages.map((e,t)=>a.jsx("div",{className:"flex "+("carlos"===e.role?"justify-end":"justify-start"),children:a.jsx("div",{className:"max-w-[94%] px-4 py-2.5 text-[16px] leading-[1.52] break-words sm:text-[17px] "+("carlos"===e.role?"rounded-2xl rounded-br-sm bg-[#172132] text-white shadow-md":"text-[#2b2b2b]"),style:H,children:e.text})},`${n.id}-${t}`))}),a.jsxs("div",{className:"mt-5 flex w-full min-w-0 items-center gap-1.5 overflow-hidden rounded-2xl border border-stone-200 bg-[#fbfbfb] px-2.5 py-2.5 sm:gap-2.5 sm:px-3.5 sm:py-3.5",children:[a.jsx(T,{className:"h-4.5 w-4.5 shrink-0 text-slate-500"}),a.jsx(M,{className:"h-4.5 w-4.5 shrink-0 text-slate-500"}),a.jsx("p",{className:"min-w-0 flex-1 truncate text-[14px] text-slate-600 sm:text-[16
1px]",style:R,children:o?"Paste statement image here...":"Grace is listening..."}),a.jsx(E,{className:"h-4.5 w-4.5 shrink-0 text-[#36553f]"}),a.jsx(z,{className:"h-5 w-5 shrink-0 rounded-md bg-[#172132] p-1 text-white"})]})]}),a.jsxs("div",{className:"mx-auto max-w-4xl rounded-[24px] border border-stone-200 bg-white px-5 py-4 shadow-[0_14px_36px_rgba(23,33,50,0.07)]",children:[a.jsxs("p",{className:"text-[11px] font-semibold uppercase tracking-[0.18em] text-[#8f5f49]",style:R,children:["Outcome ",s+1," of ",U.length]}),a.jsx("h3",{className:"mt-2 text-[1.35rem] font-semibold leading-tight text-[#172132]",style:H,children:n.title}),a.jsx("div",{className:"mt-4 grid gap-3 sm:grid-cols-2",children:n.proof.slice(0,2).map(e=>a.jsxs("div",{className:"flex items-start gap-2.5 text-[14px] leading-relaxed text-slate-600 sm:text-[15px]",style:R,children:[a.jsx(G,{className:"mt-0.5 h-4.5 w-4.5 shrink-0 text-[#5B7553]"}),a.jsx("span",{children:e})]},e))}),l&&a.jsxs("div",{className:"mt-4 rounded-xl border border-[#e7c879] bg-[#fff3c9] px-3 py-2.5 sticky-note-glow",children:[a.jsx("p",{className:"text-[12px] font-semibold text-[#7b5a1d]",style:R,children:"Sticky note added"}),a.jsx("p",{className:"mt-0.5 text-[12px] leading-relaxed text-[#6d531f]",style:R,children:"Reminder saved for next visit."})]})]}),a.jsxs("figure",{className:"overflow-hidden rounded-[30px] border border-stone-200 bg-[#f7f4f1] shadow-[0_24px_70px_rgba(23,33,50,0.10)]",children:[a.jsx("div",{className:"relative aspect-[16/10] w-full sm:aspect-[16/8.8]",children:c&&a.jsx("a",{href:c.src,target:"_blank",rel:"noreferrer","aria-label":"Open full-size screenshot",className:"block h-full w-full",children:a.jsx("img",{src:c.src,alt:c.alt,className:"h-full w-full object-contain",loading:"lazy",decoding:"async",fetchPriority:"low",sizes:"100vw"})})}),a.jsx("figcaption",{className:"border-t border-stone-200 bg-white/85 px-4 py-2 text-[12px] text-slate-500",style:R,children:"Real in-product moment. Tap to open full size."})]})]})]}),a.jsx("style",{children:"\n .sticky-note-glow {\n animation: sticky-glow 2.4s ease-in-out infinite;\n }\n @keyframes sticky-glow {\n 0%, 100% { box-shadow: 0 0 0 0 rgba(233,181,68,0.0), 0 8px 20px rgba(109,83,31,0.15); }\n 50% { box-shadow: 0 0 0 8px rgba(233,181,68,0.0), 0 10px 28px rgba(109,83,31,0.24); }\n }\n @media (prefers-reduced-motion: reduce) {\n .sticky-note-glow { animation: none; }\n }\n "})]})}function ie(){const[c,d]=e.useState(null),[m,u]=e.useState("annual"),[g,b]=e.useState(""),[f,y]=e.useState(""),[w,v]=e.useState(""),[j,N]=e.useState(""),[T,M]=e.useState(""),[E,z]=e.useState(!1),U=!1,[K,Z]=e.useState(!0),[Q,ee]=e.useState([]),[ie,ne]=e.useState(""),[le,oe]=e.useState(""),[ce,de]=e.useState({line1:"",line2:"",city:"",state:"",zip:""}),[me,xe]=e.useState(null),[pe,he]=e.useState({}),[ue,ge]=e.useState(!1),[be,fe]=e.useState(!1),[ye,we]=e.useState(!1),ve=r(),{isLoaded:je}=t({googleMapsApiKey:"AIzaSyDysPafTzCY0_roH4yJVNnTEDqU8z639gs",libraries:D}),Ne=e.useRef(null),ke=e.useRef(null),Ce=e.useCallback(e=>{Ne.current=e},[]),Se=e.useCallback(()=>{var e;const t=null==(e=Ne.current)?void 0:e.getPlace();if(!(null==t?void 0:t.address_components))return;let a="",s="",r="",i="";for(const n of t.address_components){const e=n.types[0];"street_number"===e?a=n.long_name+" ":"route"===e?a+=n.short_name:"locality"===e||"sublocality_level_1"===e?s=n.long_name:"administrative_area_level_1"===e?r=n.short_name:"postal_code"===e&&(i=n.long_name)}de(e=>({...e,line1:a.trim()||e.line1,city:s||e.city,state:r||e.state,zip:i||e.zip})),he({})},[]),[Ae,Ge]=e.useState(!1),_e=e.useCallback(()=>{var e;const t=()=>{const e=document.createElement("textarea");e.value=$,e.setAttribute("readonly",""),e.style.position="absolute",e.style.left="-9999px",document.body.appendChild(e),e.select();try{document.execCommand("copy")}catch{}document.body.removeChild(e)};(null==(e=navigator.clipboard)?void 0:e.writeText)?navigator.clipboard.writeText($).then(()=>{Ge(!0),setTimeout(()=>Ge(!1),2e3)},()=>{t(),Ge(!0),setTimeout(()=>Ge(!1),2e3)}):(t(),Ge(!0),setTimeout(()=>Ge(!1),2e3))},[]),Fe=e.useCallback(()=>{fe(!0)},[]),Ie=e.useCallback(e=>{fe(!1),e&&we(!0)},[]),Te=e.useCallback(e=>{ee(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])},[]),[Me,Ee]=e.useState("idle"),[ze,De]=e.useState(""),[Pe,Be]=e.useState(null),[qe,He]=e.useState(null),[Re,We]=e.useState(null),[$e,Oe]=e.useState(0),[Ye,Le]=e.useState(!1),[Ve,Ue]=e.useState(!1),Ke="ready"===Me||"complete"===Me,Je=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,Xe=Je.test(g.trim()),Ze=Je.test(f.trim()),Qe="annual"!==m||!K||ce.line1.trim().length>=3&&ce.city.trim().length>=2&&2===ce.state.trim().length&&/^\d{5}(-\d{4})?$/.test(ce.zip.trim()),et=Xe&&Ze&&g.trim().toLowerCase()===f.trim().toLowerCase(),tt=Xe&&Ze&&!et&&Qe;e.useEffect(()=>{"complete"===Me&&ke.current&&ke.current.scrollIntoView({behavior:"smooth",block:"center"})},[Me]),e.useEffect(()=>
1{document.title="Gift Grace AI for Dad | Retirement Co-Pilot for Father's Day 2026";let e=document.querySelector('meta[name="description"]');e||(e=document.createElement("meta"),e.setAttribute("name","description"),document.head.appendChild(e)),e.setAttribute("content","Give Dad Grace AI for $49. Retirement help for Social Security, Medicare, and purpose. Delivered Father's Day. Use code FATHER2026 for $10 off annual plan.");let t=document.querySelector('link[rel="canonical"]');t||(t=document.createElement("link"),t.setAttribute("rel","canonical"),document.head.appendChild(t)),t.setAttribute("href","https://myplankeeper.com/gift/dad"),[{hreflang:"en",href:"https://myplankeeper.com/gift/dad"},{hreflang:"es",href:"https://myplankeeper.com/gift/dad"},{hreflang:"x-default",href:"https://myplankeeper.com/gift/dad"}].forEach(({hreflang:e,href:t})=>{const a=document.createElement("link");a.setAttribute("rel","alternate"),a.setAttribute("hreflang",e),a.setAttribute("href",t),a.setAttribute("data-gift-seo","1"),document.head.appendChild(a)}),[{property:"og:title",content:"Gift Grace AI for Dad | Retirement Co-Pilot for Father's Day 2026"},{property:"og:description",content:"Give Dad 30 days with Grace AI, his personal retirement co-pilot. $49 gift delivered Father's Day. Covers Social Security, Medicare, income planning, and purpose. A meaningful gift for dads retiring or in retirement."},{property:"og:url",content:"https://myplankeeper.com/gift/dad"},{property:"og:type",content:"product"},{property:"og:image",content:B},{property:"og:image:alt",content:"Family giving Grace AI gift for Dad - retirement planning support for Father's Day"},{property:"og:site_name",content:"My Plan Keeper"}].forEach(({property:e,content:t})=>{let a=document.querySelector(`meta[property="${e}"]`);a||(a=document.createElement("meta"),a.setAttribute("property",e),document.head.appendChild(a)),a.setAttribute("content",t)}),[{name:"twitter:card",content:"summary_large_image"},{name:"twitter:title",content:"Gift Grace AI for Dad | Retirement Co-Pilot for Father's Day 2026"},{name:"twitter:description",content:"Give Dad 30 days with Grace AI, his personal retirement co-pilot. $49 gift delivered Father's Day. Social Security, Medicare, income planning, and purpose."},{name:"twitter:image",content:B},{name:"twitter:image:alt",content:"Family giving Grace AI gift for Dad - retirement planning support for Father's Day"}].forEach(({name:e,content:t})=>{let a=document.querySelector(`meta[name="${e}"]`);a||(a=document.createElement("meta"),a.setAttribute("name",e),document.head.appendChild(a)),a.setAttribute("content",t)});const a=document.createElement("script");return a.type="application/ld+json",a.id="gift-dad-schema",a.textContent=JSON.stringify([{"@context":"https://schema.org","@type":"Product",name:"Grace AI Retirement Co-Pilot Gift",description:"Give someone you love a personal AI retirement co-pilot. Grace helps with Social Security timing, Medicare decisions, income planning, tax moves, and building purpose in retirement. Available as 30-day starter ($49) or full year ($149). Use code FATHER2026 for $10 off the annual plan.",image:B,brand:{"@type":"Organization",name:"My Plan Keeper"},offers:[{"@type":"Offer",name:"30-Day Starter",price:"49.00",priceCurrency:"USD",availability:"https://schema.org/InStock",url:"https://myplankeeper.com/gift/dad",priceValidUntil:"2026-12-31"},{"@type":"Offer",name:"Full Year",price:"149.00",priceCurrency:"USD",availability:"https://schema.org/InStock",url:"https://myplankeeper.com/gift/dad",priceValidUntil:"2026-12-31"},{"@type":"Offer",name:"Father's Day Annual Discount",description:"$10 off the annual Grace AI plan with code FATHER2026",price:"139.00",priceCurrency:"USD",availability:"https://schema.org/InStock",url:"https://myplankeeper.com/gift/dad",validFrom:"2026-04-20",priceValidUntil:"2026-06-21"}]},{"@context":"https://schema.org","@type":"FAQPage",mainEntity:V.map(e=>({"@type":"Question",name:e.q,acceptedAnswer:{"@type":"Answer",text:e.a}}))}]),document.head.appendChild(a),()=>{document.title="My Plan Keeper";const e=document.querySelector('meta[name="description"]');e&&e.setAttribute("content","Grace AI identifies retirement money gaps and builds personalized 30-day action plans. Social Security, Medicare, purpose, health, and lifestyle. Plans start at $49."),document.querySelectorAll('link[data-gift-seo="1"]').forEach(e
1=>e.remove());const t=document.getElementById("gift-dad-schema");t&&t.remove()}},[]),e.useEffect(()=>{fetch(P+"/api/public/widget/paywall/gift-counter?campaign=fathers_day_2026").then(e=>e.json()).then(e=>{const t=(null==e?void 0:e.total_gifts)||0;d(t+12)}).catch(()=>{d(12)})},[]),e.useEffect(()=>{ge(et)},[et]),e.useEffect(()=>{if(!tt)return;if(Ye)return;const e=new AbortController;let t=!1;De(""),Ee("creating");const a=setTimeout(async()=>{var a;if(!t)try{const t=await fetch(P+"/api/public/widget/paywall/create-gift-embedded-checkout",{method:"POST",headers:{"Content-Type":"application/json"},signal:e.signal,body:JSON.stringify({product:m,gifter_name:w.trim()||void 0,gifter_email:g.trim(),recipient_name:j.trim()||void 0,recipient_email:f.trim(),gift_message:T.trim()||void 0,delivery_date:E?"today":"2026-06-21",include_roast:U,concerns:Q.join(",")||void 0,life_stage:ie||void 0,grace_context:le.trim()||void 0,campaign:"fathers_day_2026",referral:(null==(a=window.Rewardful)?void 0:a.referral)||void 0,recipient_address:"annual"===m&&K&&ce.line1.trim()?ce:void 0})}),s=await t.json();if(!t.ok||!s.client_secret||!s.publishable_key)return Ee("error"),void De(s.error||"We could not reach secure payment. Please try again.");Be(x(s.publishable_key)),He(s.client_secret),xe(s.gift_row_id||null),We(s.session_id??null),Ee("ready")}catch(s){if("AbortError"===(null==s?void 0:s.name))return;Ee("error"),De("Network error. Check your connection and try again.")}},1500);return()=>{t=!0,clearTimeout(a),e.abort()}},[tt,m,g,f,$e,Ye]),e.useEffect(()=>{if("ready"!==Me||!Re)return;const e=setTimeout(()=>{fetch(P+"/api/public/widget/paywall/update-gift-session-metadata",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({session_id:Re,gift_row_id:me,gifter_name:w.trim(),recipient_name:j.trim(),gift_message:T.trim(),delivery_date:E?"today":"2026-06-21",include_roast:U,concerns:Q.join(","),life_stage:ie,grace_context:le.trim(),recipient_address:"annual"===m&&K&&ce.line1.trim()?ce:void 0})}).catch(()=>{})},800);return()=>clearTimeout(e)},[w,j,T,E,Q,ie,le,Re,Me,me,ce,m,K]),e.useEffect(()=>{"ready"===Me&&"annual"===m&&K&&!Qe&&(Ee("idle"),We(null),He(null),Be(null),De(""))},[K,Qe,Me,m]);const at=e.useCallback(()=>{Ee("idle"),We(null),He(null),Be(null),De(""),Le(!0)},[]),st=e.useCallback(e=>{e!==m&&(Ke&&at(),u(e))},[m,Ke,at]),rt=new URLSearchParams("undefined"!=typeof window?window.location.search:""),it="true"===rt.get("success"),nt="true"===rt.get("cancelled");return it?a.jsxs("div",{className:"min-h-screen flex flex-col items-center justify-center px-6 bg-white text-center",children:[a.jsx("img",{src:q,alt:"Confirmed",className:"mb-6 h-16 w-16"}),a.jsx("h1",{className:"text-3xl font-semibold text-[#1a2332] mb-3",style:H,children:"Gift sent with love"}),a.jsx("p",{className:"text-gray-600 text-lg max-w-md leading-relaxed",style:R,children:"We will deliver Grace to your dad's inbox on Father's Day. You will receive a confirmation email shortly."}),a.jsxs("p",{className:"mt-4 text-base text-slate-500 max-w-md leading-relaxed",style:R,children:["If you do not receive a confirmation email within a few minutes, please email us at"," ",a.jsx("a",{href:"mailto:[email protected]",className:"font-medium text-[#b87a5f] underline underline-offset-2",children:"[email protected]"}),"."]}),a.jsx(i,{to:"/",className:"mt-8 inline-flex items-center gap-2 px-6 py-3 rounded-xl bg-[#1a2332] text-white font-medium hover:bg-[#00122b] transition-colors",style:R,children:"Back to home"})]}):a.jsxs("div",{className:"min-h-screen bg-white text-[#1a2332]",style:R,children:[a.jsx("header",{className:"border-b border-[#1a2332]/10 bg-white/95 backdrop-blur-sm",children:a.jsxs("div",{className:"mx-auto flex max-w-7xl items-center justify-between gap-4 px-4 py-4 sm:px-6 md:px-10",children:[a.jsx(i,{to:"/",children:a.jsx("img",{src:"https://moxnvwhuxobtszhwxmxs.supabase.co/storage/v1/object/public/Images%20For%20App/My%20plan%20keeper%20logo%20dark%20copy.png",alt:"My Plan Keeper",className:"h-11 w-auto object-contain sm:h-14"})}),a.jsx("span",{className:"rounded-full border border-stone-200 bg-stone-50 px-3 py-1.5 text-[16px] font-semibold tracking-[0.16em] text-[#8f5f49] sm:text-lg",style:R,children:(()=>{const e=new Date,t=Math.ceil((new Date(2026,5,21).getTime()-e.getTime())/864e5);return t>1?t+" days until Fatherâs Day":1===t?"Tomorrow is Fatherâs Day":0===t?"Happy Fatherâs Day":"Fatherâs Day 2026"})()})]})}),a.jsxs("section",{className:"relative overflow-hidden border-b border-[#1a2332]/8 bg-white",children:[a.jsxs("div",{className:"relative mx-auto grid max-w-7xl gap-0 lg:grid-cols-12 lg:gap-0",children:[a.jsx("div",{className:"relative lg:col-span-7",children:a.jsx("div",{className:"mx-auto max-w-6xl px-4 pb-10 pt-8 sm:px-6 sm:pb-12 sm:pt-10 md:px-8 lg:px-10 lg:pb-14 lg:pt-16",children:a.jsx(J,{src:B,alt:"Family giving a Grace gift, with Grace on a phone screen"})})}),a.jsxs("div",{className:"flex flex-col justify-center px-4 py-10 sm:px-8 lg:col-span-5 lg:py-16 lg:pr-12",children:[a.jsx("p",{className:"text-base font-semibold uppercase tracking-[0.2em] text-[#9c6f56]",style:R,children:"Father's Day Gift"}),a.jsxs("h1",{className:"mt-4 text-[2.1rem] font-semibold leading-[1.06] tracking-[-0.02em] text-[#172132] sm:text-[2.65rem] md:text-[3.25rem]",style:H,children:["Gift Dad ",a.jsx("span",{className:"text-[#b87a5f]",children:"Retirement Clarity."})]}),a.jsx("p",{className:"mt-5 max-w-md text-lg leading-snug text-[#1a2332]/85 sm:text-xl",style:H,children:"Conversational retirement intelligence he can talk to, any time."}),a.jsx("p",{className:"mt-5 max-w-md text-[18px] leading-relaxed text-slate-600 sm:text-base",style:R,children:"Grace knows him situation and helps him navigate Social Security timing, Medicare decisions, budgeting, and what comes next â not just at an annual advisor meeting."}),null!==c&&a.jsxs("p",{className:"mt-5 inline-flex items-center gap-2 text-[18px] font-semibold",style:{...R,color:"#C8102E"},children:[a.jsx(k,{className:"h-4.5 w-4.5 gift-counter-heart"}),a.jsx("span",{className:"text-[18px] font-bold",style:H,children:c}),"families have gifted Grace"]}),a.jsx("style",{children:"\n .gift-counter-heart { animation: counter-beat 1.8s ease-in-out infinite; transform-origin: center; }\n @keyframes counter-beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }\n @media (prefers-reduced-motion: reduce) { .gift-counter-heart { animation: none; } }\n "}),a.jsx("div",{className:"mt-8 flex flex-wrap gap-3",children:a.jsxs("a",{href:"#gift-checkout",className:"inline-flex min-h-[52px] items-center justify-center gap-2 rounded-2xl px-6 py-3 text-base font-semibold text-white transition hover:-translate-y-0.5 active:scale-[0.99]",style:{...R,background:"linear-gradient(135deg, #1a2332 0%, #001d40 62%, #b87a5f 118%)",boxShadow:"0 0 20px rgba(184,122,95,0.28), 0 10px 24px rgba(0,18,43,0.25)"},children:["Choose him gift",a.jsx(n,{className:"h-4 w-4"})]})})]})]}),a.jsx(X,{items:W})]}),a.jsx("section",{className:"border-b border-[#1a2332]/8 bg-[#0f1624] px-4 py-14 text-white sm:px-6 md:px-10",children:a.jsxs("div",{className:"mx-auto max-w-6xl",children:[a.jsxs("div",{className:"max-w-3xl",children:[a.jsx("p",{className:"text-base font-semibold uppercase tracking-[0.18em] text-[#e8c4b2]",style:R,children:"Why an AI gift for Dad actually makes sense"}),a.jsxs("h2",{className:"mt-3 text-3xl font-bold leading-tight sm:text-4xl md:text-[2.65rem]",style:H,children:["You are not gifting him an app.",a.jsx("br",{className:"hidden sm:block"}),"You are gifting him someone who stays."]}),a.jsx("p",{className:"mt-4 text-base leading-relaxed text-white/75 sm:text-lg",style:R,children:"Gifts collect dust. A financial advisor sees him once a year. Grace is there every day, remembering everything about him situation, connecting the dots he cannot see on him own, and helping him feel ready instead of afraid."})]}),a.jsx("div",{className:"mt-10 grid gap-5 md:grid-cols-3",children:ae.map((e,t)=>a.jsxs("div",{className:"relative overflow-hidden rounded-2xl border border-white/10 bg-white/[0.06] p-6 shadow-[0_16px_40px_rgba(0,0,0,0.25)]",children:[a.jsx("div",{className:"pointer-events-none absolute inset-x-0 top-0 h-1 bg-gradient-to-r from-transparent via-[#b87a5f] to-transparent opacity-80"}),a.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full border border-[#b87a5f]/40 bg-[#b87a5f]/15",children:0===t?a.jsx(C,{className:"h-5 w-5 text-[#e8c4b2]"}):1===t?a.jsx(S,{className:"h-5 w-5 text-[#e8c4b2]"}):a.jsx(A,{className:"h-5 w-5 text-[#e8c4b2]"})}),a.jsx("h3",{className:"mt-4 text-xl font-semibold leading-snug text-white",style:H,children:e.title}),a.jsx("p",{className:"mt-3 text-base leading-relaxed text-white/72 sm:text-[1.05rem]",style:R,children:e.body})]},e.title))})]})}),a.jsx(re,{}),a.jsx("section",{id:"gift-checkout",className:"scroll-mt-6 px-4 py-14 sm:px-6 md:px-10 md:py-20",style:{background:"radial-gradient(1200
1px 520px at 50% 0%, rgba(184,122,95,0.06), transparent 60%), linear-gradient(to bottom, #ffffff, #faf7f5 55%, #ffffff)"},children:a.jsxs("div",{className:"mx-auto max-w-3xl",children:[a.jsx("p",{className:"text-center text-[18px] font-semibold uppercase tracking-[0.22em] text-[#8f5f49] sm:text-lg",style:R,children:"Choose him gift"}),a.jsx("h2",{className:"mt-2 text-center text-3xl font-semibold tracking-[-0.01em] text-[#172132] sm:text-[2.4rem]",style:H,children:"Two ways to give Grace"}),a.jsx("p",{className:"mx-auto mt-3 max-w-xl text-center text-[18px] leading-relaxed text-slate-500",style:R,children:"For Dad, Stepdad, Abuelo, Tio, or any man you love who deserves clarity about what comes next."}),nt&&a.jsx("div",{className:"mt-6 rounded-xl border border-amber-200 bg-amber-50 p-4 text-center text-base text-amber-800",style:R,children:"No worries. You can complete the gift whenever you are ready. Grace will be here."}),a.jsxs("div",{className:"mt-10 overflow-hidden rounded-[28px] border border-[#172132]/10 bg-white",style:{boxShadow:"0 30px 80px rgba(23,33,50,0.10), 0 12px 28px rgba(23,33,50,0.06)"},children:[a.jsxs("div",{className:"border-b border-[#172132]/8 px-6 pt-7 pb-8 sm:px-10 sm:pt-9 sm:pb-10",children:[a.jsx("p",{className:"text-[18px] font-semibold uppercase tracking-[0.2em] text-[#8f5f49]",style:R,children:"Step 1 · Pick his plan"}),a.jsxs("div",{className:"mt-5 grid gap-4 sm:grid-cols-2",children:[a.jsxs("button",{type:"button",onClick:()=>st("annual"),"aria-pressed":"annual"===m,className:"relative rounded-2xl border p-6 text-left transition-all "+("annual"===m?"border-[#B87A5F] bg-gradient-to-br from-white to-[#fbf4ef] shadow-[0_0_0_4px_rgba(184,122,95,0.08),_0_10px_28px_rgba(184,122,95,0.12)]":"border-stone-200 bg-white hover:border-stone-300 hover:shadow-[0_6px_18px_rgba(23,33,50,0.06)]"),children:[a.jsx("span",{className:"absolute -top-3 left-5 rounded-full bg-[#B87A5F] px-3 py-1 text-[11px] font-semibold uppercase tracking-wider text-white",style:R,children:"Founding Member Access"}),a.jsx("p",{className:"mt-1 text-[20px] font-semibold text-[#172132]",style:H,children:"Retirement Co-Pilot"}),a.jsx("p",{className:"mt-1 text-[14px] text-slate-500",style:R,children:"A full year with Grace at founding member pricing."}),a.jsxs("div",{className:"mt-3 flex items-baseline gap-2",children:[a.jsx("span",{className:"text-[34px] font-semibold leading-none text-[#172132]",style:H,children:"$149"}),a.jsx("span",{className:"text-[15px] text-slate-500",style:R,children:"/year"})]}),a.jsxs("ul",{className:"mt-4 space-y-2",style:R,children:[a.jsxs("li",{className:"flex items-start gap-2 text-[14px] text-slate-600",children:[a.jsx(G,{className:"mt-0.5 h-4 w-4 shrink-0 text-[#5B7553]"}),a.jsx("span",{children:"Grace remembers him key numbers and decisions, so he never repeats him story."})]}),a.jsxs("li",{className:"flex items-start gap-2 text-[14px] text-slate-600",children:[a.jsx(G,{className:"mt-0.5 h-4 w-4 shrink-0 text-[#5B7553]"}),a.jsx("span",{children:"When life changes, his plan updates with Grace."})]}),a.jsxs("li",{className:"flex items-start gap-2 text-[14px] text-slate-600",children:[a.jsx(G,{className:"mt-0.5 h-4 w-4 shrink-0 text-[#5B7553]"}),a.jsx("span",{children:"Proactive check-ins around key dates and money decisions."})]})]})]}),a.jsxs("button",{type:"button",onClick:()=>st("starter"),"aria-pressed":"starter"===m,className:"rounded-2xl border p-6 text-left transition-all "+("starter"===m?"border-[#B87A5F] bg-gradient-to-br from-white to-[#fbf4ef] shadow-[0_0_0_4px_rgba(184,122,95,0.08),_0_10px_28px_rgba(184,122,95,0.12)]":"border-stone-200 bg-white hover:border-stone-300 hover:shadow-[0_6px_18px_rgba(23,33,50,0.06)]"),children:[a.jsx("p",{className:"text-[20px] font-semibold text-[#172132]",style:H,children:"30-Day Clarity Sprint"}),a.jsx("p",{className:"mt-1 text-[14px] text-slate-500",style:R,children:"Full access for 30 days. His plan stays with him."}),a.jsx("div",{className:"mt-3 flex items-baseline gap-2",children:a.jsx("span",{className:"text-[34px] font-semibold leading-none text-[#172132]",style:H,children:"$49"})}),a.jsxs("ul",{className:"mt-4 space-y-2",style:R,children:[a.jsxs("li",{className:"flex items-start gap-2 text-[14px] text-slate-600",children:[a.jsx(G,{className:"mt-0.5 h-4 w-4 shrink-0 text-[#5B7553]"}),a.jsx("span",{children:"Grace surfaces him biggest retirement blind spots in one focused conversation."})]}),a.jsxs("li",{className:"flex items-start gap-2 text-[14px] text-slate-600",children:[a.jsx(G,{className:"mt-0.5 h-4 w-4 shrink-0 text-[#5B7553]"}),a.jsx("span",{children:"A personalized action plan built with him numbers, not generic rules."})]}),a.jsxs("li",{className:"flex items-start gap-2 text-[14px] text-slate-600",children:[a.jsx(G,{className:"mt-0.5 h-4 w-4 shrink-0 text-[#5B7553]"}),a.jsx("span",{children:"His plan is saved permanently. The 30 days end, his clarity doesn't."})]})]})]})]}),a.jsxs("div",{className:"father-day-coupon mt-6 overflow-hidden rounded-2xl border-2 bg-white px-5 py-4 sm:px-6 sm:py-5",children:[a.jsx("div",{className:"flex flex-col items-start gap-3 sm:flex-row sm:items-center sm:justify-between",children:a.jsxs("div",{className:"flex items-start gap-3",children:[a.jsx(C,{className:"mt-1 h-5 w-5 shrink-0 father-day-heart"}),a.jsxs("div",{children:[a.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[a.jsxs("p",{className:"text-[18px] font-semibold",style:{...R,color:"#C8102E"}
1,children:["Father's Day gift â ",O," the annual plan"]}),a.jsx("span",{className:"rounded-full border px-2 py-0.5 text-[18px] font-semibold uppercase tracking-wider",style:{...R,color:"#C8102E",borderColor:"#C8102E",background:"#fff"},children:"Annual only"})]}),a.jsxs("p",{className:"mt-1 flex flex-wrap items-center gap-x-2 gap-y-1 text-[18px] text-slate-600",style:R,children:[a.jsx("span",{children:"Use code"}),a.jsxs("button",{type:"button",onClick:_e,"aria-label":Ae?"Coupon code copied":"Copy coupon code "+$,className:"father-day-code group/code inline-flex items-center gap-1.5 rounded-md border px-2.5 py-1 font-mono text-[18px] font-bold tracking-wider transition hover:bg-[#fff0f1] focus:outline-none focus:ring-2 focus:ring-[#C8102E]/30",style:{color:"#C8102E",borderColor:"#C8102E"},children:[a.jsx("span",{children:$}),Ae?a.jsx(_,{className:"h-3.5 w-3.5","aria-hidden":"true"}):a.jsx(F,{className:"h-3.5 w-3.5 opacity-70 group-hover/code:opacity-100","aria-hidden":"true"})]}),a.jsx("span",{className:"text-[18px] font-semibold uppercase tracking-wider transition-opacity "+(Ae?"opacity-100":"opacity-0"),style:{color:"#C8102E"},"aria-live":"polite",children:Ae?"Copied!":""}),a.jsx("span",{className:"basis-full",children:'in the payment form where it says "Add promotion code."'})]})]})]})}),a.jsx("style",{children:"\n .father-day-coupon {\n border-color: #C8102E;\n box-shadow: 0 0 0 0 rgba(200,16,46,0.45);\n animation: mday-pulse 2.4s ease-in-out infinite;\n }\n .father-day-heart { color: #C8102E; animation: mday-heart 1.8s ease-in-out infinite; transform-origin: center; }\n .father-day-code { background: linear-gradient(90deg, #fff 0%, #fff5f6 50%, #fff 100%); background-size: 200% 100%; animation: mday-shimmer 3s linear infinite; }\n @keyframes mday-pulse {\n 0%, 100% { box-shadow: 0 0 0 0 rgba(200,16,46,0.35); }\n 50% { box-shadow: 0 0 0 8px rgba(200,16,46,0.00); }\n }\n @keyframes mday-heart {\n 0%, 100% { transform: scale(1); }\n 50% { transform: scale(1.18); }\n }\n @keyframes mday-shimmer {\n 0% { background-position: 200% 0; }\n 100% { background-position: -200% 0; }\n }\n @media (prefers-reduced-motion: reduce) {\n .father-day-coupon, .father-day-heart, .father-day-code { animation: none; }\n }\n "})]})]}),a.jsxs("div",{className:"border-b border-[#172132]/8 px-6 pt-8 pb-8 sm:px-10 sm:pt-9 sm:pb-9",children:[a.jsx("p",{className:"text-[18px] font-semibold uppercase tracking-[0.2em] text-[#8f5f49]",style:R,children:"Step 2 · Make it personal"}),a.jsx("p",{className:"mt-2 text-[18px] leading-relaxed text-slate-600",style:R,children:"This is what he sees when your gift arrives. You'll also get to talk to Grace yourself before checkout â so you can experience what he will."}),a.jsx("button",{type:"button",onClick:()=>Ue(!0),className:"group mt-4 block w-full overflow-hidden rounded-xl border border-stone-200 bg-white shadow-sm transition hover:shadow-md focus:outline-none focus:ring-2 focus:ring-[#b87a5f]/30",children:a.jsxs("div",{className:"relative",children:[a.jsx("img",{src:"https://moxnvwhuxobtszhwxmxs.supabase.co/storage/v1/object/public/Images%20For%20App/GraceAI.webp",alt:"Preview of the gift your dad will receive",loading:"lazy",className:"w-full object-cover transition group-hover:scale-[1.01]",style:{maxHeight:220}}),a.jsx("span",{className:"absolute bottom-3 right-3 rounded-lg bg-white/90 px-3 py-1.5 text-[14px] font-medium text-[#8f5f49] shadow-sm backdrop-blur-sm",style:R,children:"Tap to preview"})]})}),a.jsx(l,{children:Ve&&a.jsx(o.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},className:"fixed inset-0 z-[9999] flex items-center justify-center bg-black/80 p-4",onClick:()=>Ue(!1),children:a.jsxs(o.div,{initial:{scale:.92,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.92,opacity:0},transition:{duration:.2},className:"relative max-h-[90vh] max-w-[90vw]",onClick:e=>e.stopPropagation(),children:[a.jsx("img",{src:"https://moxnvwhuxobtszhwxmxs.supabase.co/storage/v1/object/public/Images%20For%20App/GraceAI.webp",alt:"Full preview of the gift your dad will receive",className:"max-h-[85vh] max-w-full rounded-xl object-contain shadow-2xl"}),a.jsx("button",{type:"button",onClick:()=>Ue(!1),className:"absolute -top-3 -right-3 flex h-10 w-10 items-center justify-center rounded-full bg-white text-[20px] font-bold text-slate-700 shadow-lg transition hover:bg-slate-100","aria-label":"Close preview",children:"X"})]})})}),a.jsxs("div",{className:"mt-5 grid gap-4 sm:grid-cols-2",children:[a.jsxs("div",{children:[a.jsxs("label",{className:"mb-1.5 block text-[18px] font-medium text-slate-600",style:R,children:["Your name ",a.jsx("span",{className:"font-normal text-slate-400",children:"(he'll see who it's from)"})]}),a.jsx("input",{className:"min-h-[52px] w-full rounded-xl border border-stone-200 bg-white px-4 py-3 text-[18px] outline-none transition focus:border-[#b87a5f]/60 focus:ring-2 focus:ring-[#b87a5f]/20",placeholder:"e.g. Carla",autoComplete:"name",value:w,onChange:e=>v(e.target.value),style:R})]}),a.jsxs("div",{children:[a.jsxs("label",{className:"mb-1.5 block text-[18px] font-medium text-slate-600",style:R,children:["His first name ",a.jsx("span",{className:"font-normal text-slate-400",children:"(for Grace)"})]}),a.jsx("input",{className:"min-h-[52px] w-full rounded-xl border border-stone-200 bg-white px-4 py-3 text-[18px] outline-none transition focus:border-[#b87a5f]/60 focus:ring-2 focus:ring-[#b87a5f]/20",placeholder:"e.g. Susan, Migdalia, Carmen",value:j,onChange:e=>N(e.target.value),required:!0,style:R}),/^(dad|papa|padre|papi|father|abuelo|grandpa|tio|uncle|bro|brother)$/i.test(j.trim())&&a.jsx("p",{className:"mt-1.5 text-[18px] text-amber-600",style:R,children:"Grace will greet him by this name â use him real first name so it feels personal."})]})]}),a.jsxs("div",{className:"mt-5",children:[a.jsx("p",{className:"mb-2 text-[18px] font-medium text-slate-700",style:R,children:"Pick a delivery date"}),a.jsxs("div",{className:"grid gap-3 sm:grid-cols-2",children:[a.jsxs("button",{type:"button",onClick:()=>z(!1),"aria-pressed":!E,className:"rounded-xl border px-5 py-4 text-left transition-all "+(E?"border-stone-200 bg-white hover:border-stone-300":"border-[#B87A5F] bg-[#B87A5F]/5 shadow-[0_0_0_3px_rgba(184,122,95,0.08)]"),children:[a.jsx("span",{className:"block text-[18px] font-semibold text-[#172132]",style:R,children:"Wait for Father's Day (May 10)"}),a.jsx("span",{className:"mt-0.5 block text-[18px] text-slate-500",style:R,children:"He gets the welcome email on the morning of Father's Day."})]}),a.jsxs("button",{type:"button",onClick:()=>z(!0),"aria-pressed":E,className:"rounded-xl border px-5 py-4 text-left transition-all "+(E?"border-[#B87A5F] bg-[#B87A5F]/5 shadow-[0_0_0_3px_rgba(184,122,95,0.08)]":"border-stone-200 bg-white hover:border-stone-300"),children:[a.jsx("span",{className:"block text-[18px] font-semibold text-[#172132]",style:R,children:"Send him onboarding now"}),a.jsx("span",{className:"mt-0.5 block text-[18px] text-slate-500",style:R,children:"He gets access right away â invitation typically arr
1ives within 24 hours."})]})]})]})]}),a.jsxs("div",{className:"relative border-b border-[#172132]/8 px-6 pt-8 pb-8 sm:px-10 sm:pt-9 sm:pb-9",style:{background:"linear-gradient(180deg, rgba(255, 245, 246, 0.55) 0%, rgba(255, 248, 244, 0.55) 100%)"},children:[a.jsxs("div",{className:"flex items-start gap-4",children:[a.jsx("div",{className:"mt-1 shrink-0 overflow-hidden rounded-xl",style:{width:72,height:72,boxShadow:"0 8px 24px rgba(26,35,50,0.18), 0 2px 8px rgba(26,35,50,0.10), inset 0 1px 0 rgba(255,255,255,0.7)",transform:"rotate(-2deg)"},children:a.jsx("img",{src:"https://moxnvwhuxobtszhwxmxs.supabase.co/storage/v1/object/public/article-images/early-retirement-struggles-hero.jpg",alt:"Father's Day",loading:"lazy",className:"h-full w-full object-cover"})}),a.jsxs("div",{className:"flex-1",children:[a.jsx("p",{className:"text-[18px] font-semibold uppercase tracking-[0.2em] text-[#8f5f49]",style:R,children:"Step 3 · Help Grace welcome him"}),a.jsxs("p",{className:"mt-2 text-[18px] leading-relaxed text-slate-700",style:R,children:["The more context you share, the better Grace can guide him from day one. This helps him very first conversation with ",j.trim()||"your dad"," feel personal and relevant â not generic."]})]})]}),a.jsxs("div",{className:"mt-6",children:[a.jsxs("p",{className:"mb-3 text-[18px] font-medium text-slate-700",style:R,children:["What's weighing on him right now? ",a.jsx("span",{className:"font-normal text-slate-400",children:"(select all that apply)"})]}),a.jsx("div",{className:"flex flex-wrap gap-2.5",children:Y.map(e=>{const t=Q.includes(e.id);return a.jsxs("button",{type:"button",onClick:()=>Te(e.id),"aria-pressed":t,className:"group relative overflow-hidden rounded-lg border px-4 py-3 text-left text-[17px] font-semibold transition-all inline-flex items-center gap-2 "+(t?"border-[#B87A5F] bg-gradient-to-br from-[#B87A5F]/10 via-[#B87A5F]/5 to-transparent text-[#172132]":"border-[#cbc6bc] bg-gradient-to-br from-[#fffdfb] via-[#f5efe8] to-[#e9e0d6] text-[#28251d] hover:border-[#B87A5F]/50"),style:{...H,boxShadow:t?"0 14px 34px rgba(184,122,95,0.15), 0 4px 12px rgba(184,122,95,0.08), inset 0 1px 0 rgba(255,255,255,0.9)":"0 14px 34px rgba(26,35,50,0.11), 0 4px 12px rgba(26,35,50,0.06), inset 0 1px 0 rgba(255,255,255,0.9), inset 0 -1px 0 rgba(26,35,50,0.05)"},children:[t&&a.jsx(_,{className:"h-3.5 w-3.5 shrink-0 text-[#B87A5F]","aria-hidden":"true"}),e.label,a.jsx("span",{className:"pointer-events-none absolute inset-x-3 top-0 h-px bg-gradient-to-r from-transparent via-white to-transparent opacity-90"})]},e.id)})})]}),a.jsxs("div",{className:"mt-6",children:[a.jsx("p",{className:"mb-3 text-[18px] font-medium text-slate-700",style:R,children:"Where is he in life right now?"}),a.jsx("div",{className:"grid gap-3 sm:grid-cols-3",children:L.map(e=>{const t=ie===e.id;return a.jsxs("button",{type:"button",onClick:()=>ne(t?"":e.id),"aria-pressed":t,className:"rounded-xl border px-4 py-3 text-left transition-all "+(t?"border-[#B87A5F] bg-[#B87A5F]/5 shadow-[0_0_0_3px_rgba(184,122,95,0.08)]":"border-stone-200 bg-white hover:border-stone-300"),children:[a.jsx("span",{className:"block text-[18px] font-semibold text-[#172132]",style:R,children:e.label}),a.jsx("span",{className:"mt-0.5 block text-[18px] text-slate-500",style:R,children:e.sub})]},e.id)})})]}),a.jsxs("div",{className:"mt-8 flex flex-col gap-4",children:[a.jsxs("div",{children:[a.jsxs("label",{className:"mb-1.5 block text-[18px] font-medium text-slate-700",style:R,children:["A note from you ",a.jsx("span",{className:"font-normal text-slate-400",children:"(he reads this in his welcome email)"})]}),a.jsx("textarea",{className:"min-h-[120px] w-full resize-y rounded-xl border border-stone-200 bg-white px-4 py-3 text-[18px] leading-relaxed outline-none transition focus:border-[#b87a5f]/60 focus:ring-2 focus:ring-[#b87a5f]/20",placeholder:"Dad, I want you to have a real person in your corner for everything that comes next. Love you.",maxLength:500,value:T,onChange:e=>M(e.target.value),style:R}),a.jsxs("p",{className:"mt-1 text-right text-[18px] text-slate-400",style:R,children:[T.length,"/500"]})]}),a.jsxs("div",{children:[a.jsxs("label",{className:"mb-1.5 block text-[18px] font-medium text-slate-700",style:R,children:["Anything else Grace should know? ",a.jsx("span",{className:"font-normal text-slate-400",children:"(optional)"})]}),a.jsx("textarea",{className:"min-h-[100px] w-full resize-y rounded-xl border border-stone-200 bg-white px-4 py-3 text-[18px] leading-relaxed outline-none transition focus:border-[#b87a5f]/60 focus:ring-2 focus:ring-[#b87a5f]/20",placeholder:'e.g. "Mom passed two years ago. He handles everything alone now."',maxLength:800,value:le,onChange:e=>oe(e.target.value),style:R}),a.jsxs("p",{className:"mt-1 text-right text-[18px] text-slate-400",style:R,children:[le.length,"/800 · Private, only Grace sees this"]})]})]})]}),"annual"===m&&a.jsxs("div",{className:"border-b border-[#172132]/8 px-6 pt-8 pb-8 sm:px-10 sm:pt-9 sm:pb-9",children:[a.jsxs("label",{className:"flex cursor-pointer items-start gap-3",children:[a.jsx("input",{type:"checkbox",className:"mt-1.5 h-5 w-5 rounded border-stone-300 text-[#b87a5f] accent-[#b87a5f]",checked:K,onChange:e=>Z(e.target.checked)}),a.jsxs("div",{children:[a.jsx("span",{className:"text-[18px] font-bold text-[#172132]",style:H,children:"Include a handwritten card from Grace"}),a.jsx("span",{className:"mt-0.5 block text-[18px] leading-relaxed text-slate-500",style:R,children:"A personal note in real pen ink, mailed to their door. Free with the annual gift."})]})]}),K&&a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"mt-4 flex flex-col sm:flex-row items-start gap-5",children:[a.jsxs("div",{className:"flex-1",children:[a.jsx("p",{className:"text-[18px] leading-relaxed text-[#172132]/70",style:H,children:"A personal note in Grace's handwriting, mailed to their door."}),a.jsx("p",{className:"mt-3 text-[18px] leading-relaxed text-slate-500",style:R,children:"Each card is written in real pen ink on quality cardstock. Grace personalizes it using what you shared about the person you're gifting."})]}),a.jsx("div",{className:"flex-shrink-0 sm:w-[180px] w-full max-w-[220px] mx-auto
1sm:mx-0",children:a.jsx("img",{src:"https://moxnvwhuxobtszhwxmxs.supabase.co/storage/v1/object/public/Images%20For%20App/HandwrittenCards.png",alt:"Sample handwritten card from Grace",className:"w-full rounded-xl",style:{boxShadow:"0 8px 24px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08)",transform:"rotate(2deg)"}})})]}),Xe&&Ze&&!et&&!Qe&&a.jsx("div",{className:"mt-5 rounded-xl border border-[#B87A5F]/30 bg-[#B87A5F]/5 px-4 py-3",children:a.jsx("p",{className:"text-[16px] font-medium text-[#8f5f49]",style:R,children:"Enter him mailing address below so we can send the card. Payment will appear once the address is complete."})}),a.jsxs("div",{className:"mt-5 grid gap-4",children:[a.jsxs("div",{children:[a.jsxs("label",{className:"mb-1.5 block text-[18px] font-medium text-slate-600",style:R,children:["Street address ",a.jsx("span",{className:"text-[#B87A5F]",children:"*"})]}),je?a.jsx(s,{onLoad:Ce,onPlaceChanged:Se,options:{componentRestrictions:{country:"us"},types:["address"]},children:a.jsx("input",{className:"min-h-[52px] w-full rounded-xl border border-stone-200 bg-white px-4 py-3 text-[18px] outline-none transition focus:border-[#b87a5f]/60 focus:ring-2 focus:ring-[#b87a5f]/20 disabled:bg-stone-50 disabled:text-slate-600",placeholder:"Start typing him address...",value:ce.line1,name:"gift-ship-street",autoComplete:"new-password",onChange:e=>{de(t=>({...t,line1:e.target.value})),he(e=>({...e,line1:""}))},onBlur:()=>{ce.line1.trim().length>0&&3>ce.line1.trim().length&&he(e=>({...e,line1:"Please enter a full street address"}))},disabled:Ke,style:R})}):a.jsx("input",{className:"min-h-[52px] w-full rounded-xl border border-stone-200 bg-white px-4 py-3 text-[18px] outline-none transition focus:border-[#b87a5f]/60 focus:ring-2 focus:ring-[#b87a5f]/20 disabled:bg-stone-50 disabled:text-slate-600",placeholder:"123 Main St",value:ce.line1,name:"gift-ship-street",autoComplete:"new-password",onChange:e=>{de(t=>({...t,line1:e.target.value})),he(e=>({...e,line1:""}))},onBlur:()=>{ce.line1.trim().length>0&&3>ce.line1.trim().length&&he(e=>({...e,line1:"Please enter a full street address"}))},disabled:Ke,style:R}),pe.line1&&a.jsx("p",{className:"mt-1 text-[18px] text-red-600",style:R,children:pe.line1})]}),a.jsxs("div",{children:[a.jsxs("label",{className:"mb-1.5 block text-[18px] font-medium text-slate-600",style:R,children:["Apt / Suite ",a.jsx("span",{className:"text-slate-400",children:"(optional)"})]}),a.jsx("input",{className:"min-h-[52px] w-full rounded-xl border border-stone-200 bg-white px-4 py-3 text-[18px] outline-none transition focus:border-[#b87a5f]/60 focus:ring-2 focus:ring-[#b87a5f]/20 disabled:bg-stone-50 disabled:text-slate-600",placeholder:"Apt 4B",name:"gift-ship-apt",autoComplete:"new-password",value:ce.line2,onChange:e=>de(t=>({...t,line2:e.target.value})),disabled:Ke,style:R})]}),a.jsxs("div",{className:"grid grid-cols-5 gap-3",children:[a.jsxs("div",{className:"col-span-2",children:[a.jsxs("label",{className:"mb-1.5 block text-[18px] font-medium text-slate-600",style:R,children:["City ",a.jsx("span",{className:"text-[#B87A5F]",children:"*"})]}),a.jsx("input",{className:"min-h-[52px] w-full rounded-xl border border-stone-200 bg-white px-4 py-3 text-[18px] outline-none transition focus:border-[#b87a5f]/60 focus:ring-2 focus:ring-[#b87a5f]/20 disabled:bg-stone-50 disabled:text-slate-600",placeholder:"Springfield",name:"gift-ship-city",autoComplete:"new-password",value:ce.city,onChange:e=>{de(t=>({...t,city:e.target.value})),he(e=>({...e,city:""}))},disabled:Ke,style:R}),pe.city&&a.jsx("p",{className:"mt-1 text-[18px] text-red-600",style:R,children:pe.city})]}),a.jsxs("div",{className:"col-span-1",children:[a.jsxs("label",{className:"mb-1.5 block text-[18px] font-medium text-slate-600",style:R,children:["State ",a.jsx("span",{className:"text-[#B87A5F]",children:"*"})]}),a.jsxs("select",{className:"min-h-[52px] w-full rounded-xl border border-stone-200 bg-white px-3 py-3 text-[18px] outline-none transition focus:border-[#b87a5f]/60 focus:ring-2 focus:ring-[#b87a5f]/20 disabled:bg-stone-50 disabled:text-slate-600",name:"gift-ship-state",autoComplete:"new-password",value:ce.state,onChange:e=>de(t=>({...t,state:e.target.value})),disabled:Ke,style:R,children:[a.jsx("option",{value:"",children:"--"}),["AL","AK","AZ","AR","CA","CO","CT","DE","DC","FL","GA","HI","ID","IL","IN","IA","KS","KY","LA","ME","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","OH","OK","OR","PA","RI","SC","SD","TN","TX","UT","VT","VA","WA","WV","WI","WY"].map(e=>a.jsx("option",{value:e,children:e},e))]})]}),a.jsxs("div",{className:"col-span-2",children:[a.jsxs("label",{className:"mb-1.5 block text-[18px] font-medium text-slate-600",style:R,children:["ZIP ",a.jsx("span",{className:"text-[#B87A5F]",children:"*"})]}),a.jsx("input",{className:"min-h-[52px] w-full rounded-xl border border-stone-200 bg-white px-4 py-3 text-[18px] outline-none transition focus:border-[#b87a5f]/60 focus:ring-2 focus:ring-[#b87a5f]/20 disabled:bg-stone-50 disabled:text-slate-600",placeholder:"62704",name:"gift-ship-zip",autoComplete:"new-password",inputMode:"numeric",maxLength:10,value:ce.zip,onChange:e=>{de(t=>({...t,zip:e.target.value})),he(e=>({...e,zip:""}))},onBlur:()=>{ce.zip.trim()&&!/^\d{5}(-\d{4})?$/.test(ce.zip.trim())&&he(e=>({...e,zip:"Enter a valid ZIP (e.g. 62704)"}))},disabled:Ke,style:R}),pe.zip&&a.jsx("p",{className:"mt-1 text-[18px] text-red-600",style:R,children:pe.zip})]})]}),a.jsx("p",{className:"text-[18px] text-slate-400",style:R,children:new Date("2026-05-05T23:59:59Z")>
1new Date?"Priority shipping â estimated arrival before Father's Day":"First class â arrives within 5-7 business days"})]})]})]}),a.jsxs("div",{className:"border-b border-[#172132]/8 px-6 pt-8 pb-8 sm:px-10 sm:pt-9 sm:pb-9",children:[a.jsxs("div",{className:"flex items-baseline justify-between gap-3",children:[a.jsx("p",{className:"text-[18px] font-semibold uppercase tracking-[0.2em] text-[#8f5f49]",style:R,children:"Step 4 · Where to send it"}),Ke&&"complete"!==Me&&a.jsx("button",{type:"button",onClick:at,className:"text-[18px] font-semibold text-[#b87a5f] underline-offset-2 hover:underline",style:R,children:"Edit"})]}),a.jsxs("div",{className:"mt-5 grid gap-4 sm:grid-cols-2",children:[a.jsxs("div",{children:[a.jsx("label",{className:"mb-1.5 block text-[18px] font-medium text-slate-600",style:R,children:"Your email"}),a.jsx("input",{className:"min-h-[52px] w-full rounded-xl border border-stone-200 bg-white px-4 py-3 text-[18px] outline-none transition focus:border-[#b87a5f]/60 focus:ring-2 focus:ring-[#b87a5f]/20 disabled:bg-stone-50 disabled:text-slate-600",placeholder:"[email protected]",name:"gift-buyer-email",type:"email",autoComplete:"off",inputMode:"email",value:g,onChange:e=>b(e.target.value),disabled:Ke,style:R})]}),a.jsxs("div",{children:[a.jsx("label",{className:"mb-1.5 block text-[18px] font-medium text-slate-600",style:R,children:"His email (for delivery)"}),a.jsx("input",{className:"min-h-[52px] w-full rounded-xl border border-stone-200 bg-white px-4 py-3 text-[18px] outline-none transition focus:border-[#b87a5f]/60 focus:ring-2 focus:ring-[#b87a5f]/20 disabled:bg-stone-50 disabled:text-slate-600",placeholder:"[email protected]",name:"gift-destination",id:"gift-recipient-destination",type:"email",inputMode:"email",autoComplete:"new-password","data-form-type":"other","data-lpignore":"true","data-1p-ignore":"true",spellCheck:!1,value:f,onChange:e=>y(e.target.value),disabled:Ke,required:!0,style:R}),ue&&a.jsx("p",{className:"mt-1.5 text-[18px] text-amber-600",style:R,children:"This looks like your email. Please enter your dad's email. (Testing? Use [email protected])"})]})]}),Ye&&tt&&a.jsx("div",{className:"mt-5 flex justify-end",children:a.jsx("button",{type:"button",onClick:()=>{Le(!1),Oe(e=>e+1)},className:"rounded-xl bg-[#1a2332] px-6 py-3 text-[18px] font-semibold text-white shadow-sm transition hover:bg-[#1a2332]/90",style:R,children:"Continue to payment"})})]}),a.jsxs("div",{className:"border-b border-[#172132]/8 px-6 pt-8 pb-8 sm:px-10 sm:pt-9 sm:pb-9",children:[a.jsx("p",{className:"mb-1 text-[18px] font-semibold uppercase tracking-[0.2em] text-[#8f5f49]",style:R,children:"Step 5 · Tell Grace by voice"}),a.jsxs("p",{className:"mb-5 text-[18px] leading-relaxed text-slate-500",style:R,children:["A quick 2-minute call. Tell Grace about ",j.trim()||"him"," so the first conversation feels personal."]}),a.jsxs("div",{className:"relative mx-auto max-w-md",children:[!ye&&me&&(ve?a.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute -inset-1 z-0 rounded-[18px] ring-2 ring-[#b87a5f]/20"}):a.jsxs(a.Fragment,{children:[a.jsx(o.div,{"aria-hidden":!0,className:"pointer-events-none absolute -inset-2 z-0 rounded-[20px] border-2 border-[#d4a990]/55 shadow-[0_0_32px_rgba(184,122,95,0.45)]",animate:{opacity:[.5,.12,.5],scale:[1,1.06,1],boxShadow:["0 0 28px rgba(184,122,95,0.38)","0 0 48px rgba(184,122,95,0.22)","0 0 28px rgba(184,122,95,0.38)"]},transition:{duration:2.25,repeat:1/0,ease:"easeInOut"}}),a.jsx(o.div,{"aria-hidden":!0,className:"pointer-events-none absolute -inset-4 z-0 rounded-[24px] border border-[#b87a5f]/35",animate:{opacity:[.35,.06,.35],scale:[1,1.1,1]},transition:{duration:2.25,repeat:1/0,ease:"easeInOut",delay:.65}})]})),a.jsxs("button",{type:"button",onClick:me?Fe:void 0,disabled:!me&&!ye,"aria-label":me||ye?ye?"Call Grace again by voice":`Tell Grace about ${j.trim()||"him"} by voice`:"Enter both emails above to unlock the voice call",className:"group relative z-10 flex w-full flex-col overflow-hidden rounded-2xl bg-white text-center ring-1 transition focus:outline-none focus-visible:ring-2 focus-visible:ring-[#b87a5f] focus-visible:ring-offset-2 focus-visible:ring-offset-[#f8f6f3] "+(me||ye?"cursor-pointer ring-stone-200/90 shadow-[0_22px_56px_rgba(23,33,50,0.12)] hover:shadow-[0_28px_70px_rgba(23,33,50,0.16)]":"cursor-default ring-stone-200/60 shadow-[0_12px_32px_rgba(23,33,50,0.06)]"),children:[a.jsx("div",{className:"relative h-[200px] overflow-hidden "+(me||ye?"":"op
1acity-50 grayscale-[40%]"),children:a.jsx("img",{src:"https://moxnvwhuxobtszhwxmxs.supabase.co/storage/v1/object/public/Images%20For%20App/GraceVoiceCall.png",alt:"",className:"h-full w-full object-cover object-center transition duration-700 ease-out "+(me?"group-hover:scale-[1.03]":""),loading:"lazy",decoding:"async"})}),a.jsx("div",{className:"flex shrink-0 flex-col items-center gap-2 border-t border-stone-100 bg-[#faf9f7] px-4 py-4",children:me||ye?a.jsxs(a.Fragment,{children:[a.jsxs("span",{className:"inline-flex items-center justify-center gap-2 rounded-full bg-[#172132] px-6 py-3 text-[18px] font-semibold text-white shadow-md transition group-hover:bg-[#0a1628]",style:R,children:[a.jsx(I,{className:"h-4 w-4 shrink-0 opacity-95","aria-hidden":!0}),ye?"Call Grace again":"Talk to Grace about "+(j.trim()||"him")]}),ye&&a.jsx("p",{className:"text-[18px] font-medium text-emerald-700",style:R,children:"Grace got your message."})]}):a.jsxs("div",{className:"flex flex-col items-center gap-2",children:[a.jsxs("span",{className:"inline-flex items-center justify-center gap-2 rounded-full bg-stone-300 px-6 py-3 text-[18px] font-semibold text-white shadow-sm",style:R,children:[a.jsx(o.span,{animate:{rotate:[0,-12,12,-8,8,0]},transition:{duration:1.5,repeat:1/0,repeatDelay:2.5},className:"inline-flex",children:a.jsx(I,{className:"h-4 w-4 shrink-0","aria-hidden":!0})}),"Complete the steps above, then call Grace"]}),a.jsx("p",{className:"text-[18px] text-slate-400",style:R,children:"2 min · makes him gift feel personal"})]})})]})]}),a.jsx("p",{className:"mt-3 text-center text-[18px] text-slate-400",style:R,children:"Skip this step if you prefer â you can always call Grace later."})]}),a.jsxs("div",{className:"px-6 pt-8 pb-7 sm:px-10 sm:pt-9 sm:pb-9",children:[a.jsx("p",{className:"text-[18px] font-semibold uppercase tracking-[0.2em] text-[#8f5f49]",style:R,children:"Step 6 · Secure payment"}),"idle"===Me&&a.jsxs("div",{className:"mt-5 flex flex-col items-center justify-center gap-3 rounded-2xl border border-dashed border-[#172132]/15 bg-[#fbf9f7] px-6 py-12 text-center",style:{minHeight:260},children:[a.jsx(A,{className:"h-7 w-7 text-[#B87A5F]/70"}),a.jsx("p",{className:"text-[19px] font-semibold text-[#172132]",style:H,children:Xe&&Ze&&!et&&!Qe?"Enter the mailing address above to unlock secure payment":"Enter both emails above to unlock secure payment"}),a.jsx("p",{className:"max-w-md text-[18px] leading-relaxed text-slate-500",style:R,children:"The payment form appears here automatically â no click, no wait."})]}),"creating"===Me&&a.jsxs("div",{className:"mt-5 flex items-center justify-center gap-3 rounded-2xl border border-stone-200 bg-white px-6 py-12",style:{minHeight:260},children:[a.jsx("div",{className:"h-6 w-6 animate-spin rounded-full border-2 border-current border-t-transparent",style:{color:"#B87A5F"}}),a.jsx("span",{className:"text-[18px] text-slate-600",style:R,children:"Preparing secure paymentâ¦"})]}),"error"===Me&&a.jsxs("div",{className:"mt-5 rounded-2xl border border-red-200 bg-red-50 px-5 py-5",children:[a.jsx("p",{className:"text-[18px] font-medium text-red-800",style:R,role:"alert",children:ze||"We could not reach secure payment."}),a.jsx("button",{type:"button",onClick:at,className:"mt-2 text-[18px] font-semibold text-red-900 underline",style:R,children:"Try again"})]}),"ready"===Me&&Pe&&qe&&a.jsxs("div",{className:"mt-5",children:["annual"===m&&a.jsx(l,{children:a.jsx(o.div,{initial:{opacity:0,y:-12},animate:{opacity:1,y:0},transition:{delay:.4,duration:.35,ease:"easeOut"},className:"mb-4 flex items-center justify-between gap-3 rounded-xl border border-[#C8102E]/20 bg-[#FFF5F5] px-4 py-3 sm:px-5",children:a.jsxs("p",{className:"text-[16px] leading-snug text-[#6B1520]",style:R,children:[a.jsx("span",{className:"font-semibold",children:O})," ","â paste"," ",a.jsxs("button",{type:"button",onClick:_e,className:"inline-flex items-center gap-1 rounded border border-[#C8102E]/30 bg-white px-1.5 py-0.5 font-mono text-[15px] font-bold tracking-wider text-[#C8102E] transition hover:bg-[#FFF0F1]",children:[$,Ae?a.jsx(_,{className:"h-3 w-3"}):a.jsx(F,{className:"h-3 w-3"})]})," ",'in "Add promotion code" below']})})}),a.jsx("p",{className:"mb-2 text-center text-[18px] font-medium text-slate-500",style:R,children:"One-time gift â no subscription, no auto-renewal."}),a.jsx("div",{className:"overflow-hidden rounded-2xl border border-stone-200 bg-white",children:a.jsx(p,{stripe:Pe,options:{clientSecret:qe,onComplete:()=>{Ee("complete")}},children:a.jsx(h,{})})}),a.jsxs("p",{className:"mt-3 text-center text-[18px] leading-relaxed text-slate-400",style:R,children:["Secure payment via Stripe · His account is created automatically ·"," ",E?"Delivered within minutes":"Delivered on Father'
1s Day (May 10)"]})]}),"complete"===Me&&a.jsxs("div",{ref:ke,className:"mt-4 rounded-2xl border border-[#5B7553]/25 bg-[#5B7553]/5 px-6 py-8 text-center",children:[a.jsx("img",{src:q,alt:"Confirmed",className:"mx-auto mb-3 h-14 w-14"}),a.jsx("p",{className:"text-xl font-semibold text-[#172132]",style:H,children:"Gift sent with love"}),a.jsx("p",{className:"mt-2 text-base leading-relaxed text-slate-600",style:R,children:E?"He will receive an email within minutes with his access to Grace.":"He will receive a welcome email on Father's Day (June 21) with his access to Grace."}),g&&a.jsxs("p",{className:"mt-2 text-base text-slate-600",style:R,children:["A confirmation has been sent to ",a.jsx("strong",{children:g}),"."]}),a.jsxs("p",{className:"mt-4 text-[18px] leading-relaxed text-slate-500",style:R,children:["Please do not close this page until you confirm you received your confirmation email. If you do not receive it within a few minutes, please email us at"," ",a.jsx("a",{href:"mailto:[email protected]",className:"font-medium text-[#b87a5f] underline underline-offset-2",children:"[email protected]"}),"."]})]})]})]}),a.jsxs("div",{className:"mt-10 flex flex-wrap items-center justify-center gap-x-8 gap-y-3 border-t border-[#172132]/10 pt-8 text-base text-slate-500",style:R,children:[a.jsxs("span",{className:"inline-flex items-center gap-2",children:[a.jsx(A,{className:"h-4 w-4 shrink-0 text-[#b87a5f]"}),"Secure checkout via Stripe"]}),a.jsxs("span",{className:"inline-flex items-center gap-2",children:[a.jsx(G,{className:"h-4 w-4 shrink-0 text-[#b87a5f]"}),"30-day money-back promise"]}),a.jsxs("span",{className:"inline-flex items-center gap-2",children:[a.jsx(C,{className:"h-4 w-4 shrink-0 text-[#b87a5f]"}),null!==c?c+" families have gifted Grace":"Made with care"]})]})]})}),a.jsx(te,{}),a.jsx("section",{className:"border-t border-[#1a2332]/8 bg-white px-4 py-12 sm:px-6 md:px-10",children:a.jsxs("div",{className:"mx-auto max-w-3xl",children:[a.jsx("h2",{className:"text-center text-2xl font-bold text-[#172132] sm:text-3xl mb-8",style:H,children:"Common questions"}),a.jsx("div",{className:"space-y-3",children:V.map(e=>a.jsxs("details",{className:"group rounded-xl border border-stone-200 bg-white transition hover:border-stone-300",children:[a.jsxs("summary",{className:"flex cursor-pointer items-center justify-between px-5 py-4 text-[18px] font-semibold text-[#172132] marker:content-none [&::-webkit-details-marker]:hidden",style:R,children:[a.jsx("span",{children:e.q}),a.jsx("span",{className:"ml-3 shrink-0 text-xl leading-none text-[#b87a5f] transition-transform group-open:rotate-45",children:"+"})]}),a.jsx("p",{className:"px-5 pb-5 text-[18px] leading-relaxed text-slate-600",style:R,children:e.a})]},e.q))})]})}),a.jsx("section",{className:"relative w-full overflow-hidden",children:a.jsxs("div",{className:"relative w-full",style:{paddingBottom:"56.25%"},children:[a.jsx("video",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 h-full w-full object-cover",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,preload:"none",ref:e=>{e&&(e.playbackRate=.65)},children:a.jsx("source",{src:"https://moxnvwhuxobtszhwxmxs.supabase.co/storage/v1/object/public/Images%20For%20App/Graceguide_compressed.mp4",type:"video/mp4"})}),a.jsx("div",{className:"pointer-events-none absolute inset-0",style:{background:"linear-gradient(to bottom, rgba(255,255,255,0.85) 0%, transparent 15%, transparent 85%, rgba(15,22,36,0.7) 100%)"}})]})}),a.jsxs("footer",{className:"bg-[#0f1624] px-4 py-8 text-center",children:[a.jsx("p",{className:"text-sm text-white/40",style:R,children:"© 2026 My Plan Keeper Inc."}),a.jsxs("div",{className:"mt-2 flex items-center justify-center gap-4 text-sm text-white/35",style:R,children:[a.jsx("a",{href:"/privacy",target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-2 hover:text-white/60",children:"Privacy Policy"}),a.jsx("span",{className:"text-white/20",children:"·"}),a.jsx("a",{href:"/terms",target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-2 hover:text-white/60",children:"Terms of Service"})]}),a.jsx("p",{className:"mt-4 mx-auto max-w-md text-xs text-white/25 leading-relaxed",style:R,children:"Grace is an AI-powered educational tool â not a financial advisor, attorney, or doctor. Nothing Grace shares should be treated as investment, legal, or medical advice. If you're gifting Grace to someone new to AI, please take a moment to help them understand what Grace is and isn't. We built him to inform and empower, never to replace the professionals who know their situation best."})]}),be&&a.jsx(se,{recipientName:j,buyerName:w,buyerEmail:g,personalMessage:T,concerns:Q,giftRowId:me,lifeStage:ie,onClose:Ie})]})}
1export{ie as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.