PageSourceSearch

https://justgold.app/_next/static/chunks/0gi.85k5wrka-.js

js justgold.app collected 2026-10-06 00:18:44 UTC 64,428 bytes, 13 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,55415,e=>{"use strict";var t=e.i(43476),a=e.i(57688),s=e.i(22016),i=e.i(32181),n=e.i(72328),r=e.i(35382),l=e.i(95420),o=e.i(91994),d=e.i(71645),c=e.i(32259),m=e.i(54459),x=e.i(67881),p=e.i(91323),h=e.i(56420);let b=(0,h.default)("coins",[["path",{d:"M13.744 17.736a6 6 0 1 1-7.48-7.48",key:"bq4yh3"}],["path",{d:"M15 6h1v4",key:"11y1tn"}],["path",{d:"m6.134 14.768.866-.5 2 3.464",key:"17snzx"}],["circle",{cx:"16",cy:"8",r:"6",key:"14bfc9"}]]),u=(0,h.default)("package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]),g=(0,h.default)("arrow-right-left",[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]]),f={hidden:{},visible:{transition:{staggerChildren:.14,delayChildren:.08}}};function y(e){return{hidden:{opacity:0,y:22*!e},visible:{opacity:1,y:0,transition:{duration:.6,ease:[.2,0,0,1]}}}}let v={hidden:{},visible:{transition:{staggerChildren:.16,delayChildren:.12}}};function j(e){return{hidden:{opacity:0,y:e?0:"112%",filter:e?"none":"blur(8px)"},visible:{opacity:1,y:0,filter:"blur(0px)",transition:{duration:.78,ease:[.2,0,0,1]}}}}let w=[{icon:b,text:"Saved 2g of gold",delay:.6,offset:"ml-14"},{icon:u,text:"10g gold bar delivered",delay:.85,offset:"-ml-2"},{icon:g,text:"Sold silver, withdrew to bank",delay:1.1,offset:"ml-2"}],N=[{x:18,y:14},{x:-12,y:18},{x:22,y:-10}];function k({icon:e,text:a,delay:s,offset:n,index:r,reduce:d,mouseX:c,mouseY:m}){let x=N[r],p={stiffness:120,damping:25,mass:.8},h=(0,l.useTransform)(c,[-1,1],[-x.x,x.x]),b=(0,l.useTransform)(m,[-1,1],[-x.y,x.y]),u=(0,o.useSpring)(h,p),g=(0,o.useSpring)(b,p);return(0,t.jsxs)(i.motion.div,{initial:{opacity:0,scale:d?1:.9,filter:"blur(4px)"},animate:{opacity:1,scale:1,filter:"blur(0px)"},transition:{duration:.6,ease:[.2,0,0,1],delay:s},style:d?{}:{x:u,y:g},className:`flex items-center gap-2.5 px-4 py-2.5 w-fit
2        rounded-card
3        bg-white/60 backdrop-blur-xl
4        border border-white/80
5        shadow-[0_4px_24px_rgba(0,0,0,0.06),0_1px_3px_rgba(0,0,0,0.04)]
6        ${n}`,children:[(0,t.jsx)("span",{className:"flex items-center justify-center w-7 h-7 rounded-lg bg-primary-600/10",children:(0,t.jsx)(e,{className:"w-3.5 h-3.5 text-primary-600",strokeWidth:2})}),(0,t.jsx)("span",{className:"text-sm font-medium text-primary-800 whitespace-nowrap",children:a})]})}e.s(["HeroSection",0,function(){let e=(0,n.useReducedMotion)()??!1,l=(0,r.useMotionValue)(0),o=(0,r.useMotionValue)(0),h=(0,d.useCallback)(e=>{let t=e.currentTarget.getBoundingClientRect(),a=(e.clientX-t.left)/t.width*2-1,s=(e.clientY-t.top)/t.height*2-1;l.set(a),o.set(s)},[l,o]),b=(0,d.useCallback)(()=>{l.set(0),o.set(0)},[l,o]);return(0,t.jsxs)("section",{className:"relative w-full overflow-hidden bg-neutral-0","aria-labelledby":"hero-heading",onMouseMove:h,onMouseLeave:b,children:[(0,t.jsx)(a.default,{src:"/hero-bg.png",alt:"",width:1975,height:796,priority:!0,className:"pointer-events-none absolute inset-0 h-full w-full object-cover object-center select-none","aria-hidden":"true"}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-x-0 top-0 z-[1] h-[160px] bg-gradient-to-b from-neutral-0 via-neutral-0/70 to-transparent","aria-hidden":"true"}),(0,t.jsxs)("div",{className:"relative z-10 mx-auto max-w-[1440px] grid grid-cols-1 lg:grid-cols-2 items-end min-h-[420px] lg:min-h-[580px]",children:[(0,t.jsxs)(i.motion.div,{variants:f,initial:"hidden",animate:"visible",className:"flex flex-col items-center lg:items-start gap-5 px-6 sm:px-10 lg:pl-20 lg:pr-8 py-16 lg:py-0 lg:self-center text-center lg:text-left",children:[(0,t.jsxs)(i.motion.div,{variants:y(e),className:"inline-flex max-w-full items-center gap-3 py-1 pr-1",children:[(0,t.jsx)("span",{className:"flex h-7 w-7 shrink-0 items-center justify-center rounded-full bg-accent-100 text-accent-600","aria-hidden":"true",children:(0,t.jsx)(p.BadgeCheck,{className:"h-4 w-4",strokeWidth:2})}),(0,t.jsxs)("span",{className:"flex min-w-0 flex-nowrap items-center gap-x-1.5 text-left leading-none sm:gap-x-2",children:[(0,t.jsxs)("span",{className:"inline-flex shrink-0 items-center gap-1 text-sm font-semibold text-accent-500 sm:gap-1.5 sm:text-lg",children:[(0,t.jsx)(c.AedSymbol,{className:"h-[1.05em] w-[1.05em]",label:"AED "}),"21M+"]}),(0,t.jsx)("span",{className:"truncate text-[11px] font-medium text-primary-600 sm:text-[15px]",children:"in gold & silver sold on JustGold"})]})]}),(0,t.jsxs)(i.motion.h1,{id:"hero-heading",variants:v,className:"text-[clamp(2.25rem,4.5vw,3.5rem)] font-semibold leading-[1.1] tracking-[-0.015em] text-primary-800",children:[(0,t.jsx)("span",{className:"block overflow-hidden pb-1",children:(0,t.jsxs)(i.motion.span,{variants:j(e),className:"block",children:["Your"," ",(0,t.jsx)("span",{className:"font-instrument italic font-normal",children:"family"})," ","has always"]})}),(0,t.jsx)("span",{className:"block overflow-hidden pb-1",children:(0,t.jsx)(i.motion.span,{variants:j(e),className:"block",children:"saved in gold."})})]}),(0,t.jsxs)(i.motion.p,{variants:y(e),className:"font-heading text-[clamp(1.4rem,2.6vw,2rem)] font-semibold leading-[1.1] tracking-[-0.015em] text-primary-800",children:["Now start with"," ",(0,t.jsxs)("span",{className:"inline-flex items-baseline gap-1 text-accent-500",children:[(0,t.jsx)(c.AedSymbol,{className:"h-[0.72em] w-[0.83em] align-baseline",label:"AED "})," ","10."]})]}),(0,t.jsx)(i.motion.p,{variants:y(e),className:"max-w-[520px] text-lg leading-relaxed text-text-body",children:"Real 24K gold and 999 silver, bought from your phone. Stored in insured Dubai vaults in your name. Sell it, cash out to your bank, or have it delivered to your door whenever you want."}),(0,t.jsxs)(i.motion.div,{variants:y(e),className:"flex flex-wrap items-center gap-3",children:[(0,t.jsxs)(m.DownloadAppLink,{className:(0,x.buttonVariants)({variant:"brand",size:"md"}),children:["Start from ",(0,t.jsx)(c.AedSymbol,{className:"h-[0.72em] w-[0.83em] align-baseline",label:"AED "})," ","10"]}),(0,t.jsx)(s.default,{href:"/gold-silver-prices",className:(0,x.buttonVariants)({variant:"outline-brand",size:"md"}),children:"See today's rate"})]})]}),(0,t.jsxs)(i.motion.div,{variants:{hidden:{opacity:0,x:40*!e},visible:{opacity:1,x:0,transition:{duration:.8,ease:[.2,0,0,1],delay:.2}}},initial:"hidden",animate:"visible",className:"relative flex justify-center lg:justify-end items-end self-end px-6 lg:px-0",children:[(0,t.jsx)("div",{className:"absolute z-20 hidden lg:flex flex-col gap-3 right-[6%] bottom-[
610%]","aria-hidden":"true",children:w.map((a,s)=>(0,t.jsx)(k,{...a,index:s,reduce:e,mouseX:l,mouseY:o},a.text))}),(0,t.jsx)(a.default,{src:"/hero-person-2.png",alt:"Person in white thobe smiling while using the JustGold app on their phone",width:1402,height:1122,priority:!0,className:"h-[300px] sm:h-[380px] lg:h-[520px] xl:h-[560px] w-auto object-contain object-bottom select-none pointer-events-none"})]})]})]})}],55415)},87652,e=>{"use strict";var t=e.i(71645),a=e.i(49652);let s={some:0,all:1};e.s(["useInView",0,function(e,{root:i,margin:n,amount:r,once:l=!1,initial:o=!1}={}){let[d,c]=(0,t.useState)(o);return(0,t.useEffect)(()=>{if(!e.current||l&&d)return;let t={root:i&&i.current||void 0,margin:n,amount:r};return function(e,t,{root:i,margin:n,amount:r="some"}={}){let l=(0,a.resolveElements)(e),o=new WeakMap,d=new IntersectionObserver(e=>{e.forEach(e=>{let a=o.get(e.target);if(!!a!==e.isIntersecting)if(e.isIntersecting){let a=t(e.target,e);"function"==typeof a?o.set(e.target,a):d.unobserve(e.target)}else"function"==typeof a&&(a(e),o.delete(e.target))})},{root:i,rootMargin:n,threshold:"number"==typeof r?r:s[r]});return l.forEach(e=>d.observe(e)),()=>d.disconnect()}(e.current,()=>(c(!0),l?void 0:()=>c(!1)),t)},[i,e,n,l,r]),d}],87652)},84898,e=>{"use strict";var t=e.i(43476),a=e.i(71645),s=e.i(32181),i=e.i(87652),n=e.i(72328),r=e.i(32259);let l=[{to:21,prefix:(0,t.jsx)(r.AedSymbol,{className:"h-[0.72em] w-[0.72em]",label:"AED "}),suffix:"M+",label:"In gold and silver sold"},{to:5e4,suffix:"+",label:"Savers across the UAE"},{to:24,suffix:"K",label:"Certified 999.9 pure gold"},{to:100,suffix:"%",label:"Insured and Shariah compliant"}],o={hidden:{},visible:{transition:{staggerChildren:.1,delayChildren:.05}}};function d({to:e,decimals:s=0,active:i}){let r=(0,n.useReducedMotion)(),[l,o]=(0,a.useState)(r?e:0);return(0,a.useEffect)(()=>{if(!i)return;if(r)return void o(e);let t=0,a=null,s=i=>{null===a&&(a=i);let n=Math.min((i-a)/1400,1);o(e*(1-Math.pow(1-n,3))),n<1?t=requestAnimationFrame(s):o(e)};return t=requestAnimationFrame(s),()=>cancelAnimationFrame(t)},[i,e,r]),(0,t.jsx)(t.Fragment,{children:l.toLocaleString("en-US",{minimumFractionDigits:s,maximumFractionDigits:s})})}e.s(["AboutStats",0,function(){let e=(0,n.useReducedMotion)()??!1,r=(0,a.useRef)(null),c=(0,i.useInView)(r,{once:!0,margin:"-80px"});return(0,t.jsx)("section",{ref:r,className:"border-y border-[#e3ecfb] bg-neutral-0","aria-label":"JustGold by the numbers",children:(0,t.jsx)(s.motion.div,{variants:o,initial:"hidden",animate:c?"visible":"hidden",className:"mx-auto grid max-w-[1440px] grid-cols-2 gap-y-10 px-6 py-14 sm:px-10 lg:grid-cols-4 lg:gap-y-0 lg:px-20 lg:py-16",children:l.map((a,i)=>(0,t.jsxs)(s.motion.div,{variants:{hidden:{opacity:0,y:18*!e},visible:{opacity:1,y:0,transition:{duration:.5,ease:[.2,0,0,1]}}},className:i<l.length-1?"flex flex-col items-center text-center lg:border-r lg:border-primary-200/50":"flex flex-col items-center text-center",children:[(0,t.jsx)("p",{className:"font-heading text-[clamp(2rem,4vw,2.75rem)] font-bold leading-none tracking-[-0.02em] text-primary-900 tabular-nums",children:(0,t.jsxs)("span",{className:"inline-flex items-baseline",children:[a.prefix,(0,t.jsx)(d,{to:a.to,decimals:a.decimals,active:c}),a.suffix]})}),(0,t.jsx)("p",{className:"mt-3 max-w-[180px] text-sm leading-snug text-text-muted",children:a.label})]},a.label))})})}])},90262,e=>{"use strict";var t=e.i(43476),a=e.i(37902),s=e.i(71645),i=e.i(88653),n=e.i(32181),r=e.i(72328),l=e.i(32259),o=e.i(67881),d=e.i(47163),c=e.i(94646),m=e.i(65897);let x=[{key:"2016",label:"July 2016",years:10},{key:"2019",label:"July 2019",years:7},{key:"2021",label:"July 2021",years:5}],p=[{amount:2e3,emoji:"📱",name:"A phone"},{amount:8e3,emoji:"✈️",name:"A trip"},{amount:2e4,emoji:"💍",name:"A wedding"},{amount:8e4,emoji:"🚗",name:"A car"},{amount:25e4,emoji:"🎓",name:"Tuition"},{amount:5e5,emoji:"🏡",name:"A home"},{amount:8e5,emoji:"🌴",name:"Retirement"}];function h(e){return{hidden:{opacity:0,y:20*!e},visible:{opacity:1,y:0,transition:{duration:.55,ease:[.2,0,0,1]}}}}function b({value:e}){let a=(0,r.useReducedMotion)()??!1,s=Math.round(e).toLocaleStr
6ing("en-US");return(0,t.jsx)("span",{role:"text","aria-label":s,children:(0,t.jsx)("span",{className:"inline-flex items-baseline tabular-nums","aria-hidden":"true",children:s.split("").map((e,s)=>/\d/.test(e)?(0,t.jsx)("span",{className:"relative inline-block h-[0.92em] w-[0.64em] overflow-hidden",children:(0,t.jsx)(i.AnimatePresence,{mode:"popLayout",initial:!1,children:(0,t.jsx)(n.motion.span,{className:"absolute inset-0",initial:{y:a?"0%":"72%",opacity:+!!a},animate:{y:"0%",opacity:1},exit:{y:a?"0%":"-72%",opacity:+!!a},transition:{duration:.34*!a,ease:[.2,0,0,1]},children:e},`${e}-${s}`)})},s):(0,t.jsx)("span",{className:"inline-block w-[0.26em] text-center",children:e},`${e}-${s}`))})})}function u(e,t){return"gold"===e?{history:c.GOLD_HISTORY_USD_PER_OZ,rate:t??c.GOLD_RATE_AED_PER_GRAM}:{history:c.SILVER_HISTORY_USD_PER_OZ,rate:c.SILVER_RATE_AED_PER_GRAM}}function g(e,t,a,s){let{history:i,rate:n}=u(a,s),r=i[i.length-1],l=Math.min(4*t,i.length-1),o=i.slice(i.length-1-l).map(e=>e/r*n),d=0,c=0,m=0;return o.map((a,s)=>{let i=Math.max(1,Math.round((s+1)/o.length*t*12)),r=e*(i-m);c+=r,d+=r/a,m=i;let l=d*n;return{months:i,contributed:c,growth:Math.max(0,l-c),height:l,total:l,units:d}})}function f(e){return e>=1e6?`${(e/1e6).toFixed(e>=1e7?0:1)}M`:e>=1e3?`${(e/1e3).toFixed(e>=1e5?0:1)}K`:Math.round(e).toLocaleString("en-US")}function y(e){return Math.round(e).toLocaleString("en-US")}e.s(["GoldCalculator",0,function(){let e=(0,r.useReducedMotion)()??!1,i=(0,m.useLiveRatesContext)(),[c,v]=(0,s.useState)(250),[j,w]=(0,s.useState)("2016"),N=x.find(e=>e.key===j)??x[0],k=N.years,S="gold",A=i?.goldBuy,M=(0,s.useMemo)(()=>(function(e,t,a,s){let i=g(e,t,a,s),n=i[i.length-1],{history:r,rate:l}=u(a,s),o=r.length-1-Math.min(4*t,r.length-1),d=r[o]/r[r.length-1]*l,c=n.total-n.contributed;return{invested:n.contributed,value:n.total,gain:c,gainPct:c/n.contributed*100,goldAccumulated:n.units,startRate:d,currentRate:l}})(c,k,S,A),[c,k,S,A]),C=(0,s.useMemo)(()=>g(c,k,S,A),[c,k,S,A]),_=(0,s.useMemo)(()=>{let e,t;return e=p.filter(e=>C.some(t=>t.total>=e.amount)).slice(-5),t=C[C.length-1]?.height||1,e.map(e=>{let a=Math.max(0,C.findIndex(t=>t.total>=e.amount)),s=C[a];return{...e,label:f(s.total),left:`${Math.min(96,Math.max(4,a/Math.max(1,C.length-1)*100))}%`,bottom:`${Math.min(88,Math.max(12,s.height/t*100+8))}%`}})},[C]),E=(c-10)/4990*100,G=(0,s.useCallback)(e=>v(Number(e.target.value)),[]);return(0,t.jsxs)(n.motion.section,{className:"relative overflow-visible bg-neutral-0 px-4 pb-16 pt-16 sm:px-6 sm:pb-20 sm:pt-20 lg:px-10 lg:pb-24 lg:pt-24","aria-labelledby":"calculator-heading",initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.15},variants:{hidden:{},visible:{transition:{staggerChildren:.08,delayChildren:.04}}},children:[(0,t.jsxs)(n.motion.div,{variants:h(e),className:"mx-auto mb-10 max-w-[1280px]",children:[(0,t.jsx)("p",{className:"jsx-325ba72b3ce7b0d9 mb-3 text-xs font-semibold uppercase tracking-[0.16em] text-primary-600",children:"Looking back, not guessing forward"}),(0,t.jsx)("h2",{id:"calculator-heading",className:"jsx-325ba72b3ce7b0d9 max-w-[1100px] text-[clamp(1.75rem,3.5vw,2.5rem)] font-semibold leading-[1.15] tracking-[-0.015em] text-primary-900",children:"What saving a little would have been worth"}),(0,t.jsx)("p",{className:"jsx-325ba72b3ce7b0d9 mt-5 max-w-[760px] text-lg leading-[1.55] text-text-body",children:"Gold has had good years and flat years. Here's what putting a set amount aside each month would have come to, based on actual Dubai gold rates."})]}),(0,t.jsxs)("div",{className:"jsx-325ba72b3ce7b0d9 relative mx-auto max-w-[1280px] overflow-visible rounded-card bg-accent-50/70 px-6 py-7 sm:px-8 sm:py-8 lg:px-12 lg:py-9",children:[(0,t.jsxs)("div",{className:"jsx-325ba72b3ce7b0d9 relative grid gap-8 lg:min-h-[440px] lg:grid-cols-[0.78fr_1.22fr] lg:gap-20",children:[(0,t.jsxs)(n.motion.div,{variants:h(e),className:"flex flex-col",children:[(0,t.jsxs)("div",{className:"jsx-325ba72b3ce7b0d9 max-w-[520px]",children:[(0,t.jsxs)("p",{className:"jsx-325ba72b3ce7b0d9 whitespace-nowrap text-[clamp(0.95rem,2.4vw,1.125rem)] font-semibold leading-snug text-primary-800",children:["If you'd saved"," ",(0,t.jsxs)("span",{className:"jsx-325ba72b3ce7b0d9 whitespace-nowrap",children:[(0,t.jsx)(l.AedSymbol,{className:"inline h-[0.85em] w-[0.85em]",label:"AED "}
6),c.toLocaleString("en-US")]}),"/month since ",N.key,", it could be worth"]}),(0,t.jsxs)("div",{className:"jsx-325ba72b3ce7b0d9 mt-3 flex items-baseline gap-2 text-success",children:[(0,t.jsx)(l.AedSymbol,{className:"h-[clamp(2.15rem,3.6vw,3.8rem)] w-[clamp(2.15rem,3.6vw,3.8rem)]",label:"AED "}),(0,t.jsx)("span",{className:"jsx-325ba72b3ce7b0d9 font-heading text-[clamp(2.75rem,3.84vw,3.625rem)] font-semibold leading-[0.92] tracking-normal",children:(0,t.jsx)(b,{value:M.value})})]}),(0,t.jsxs)("div",{className:"jsx-325ba72b3ce7b0d9 mt-5 flex flex-wrap items-center gap-2 text-sm font-medium text-text-muted",children:[(0,t.jsx)("span",{className:"jsx-325ba72b3ce7b0d9",children:"Gold rate"}),(0,t.jsxs)("span",{className:"jsx-325ba72b3ce7b0d9 font-semibold text-primary-900",children:[(0,t.jsx)(l.AedSymbol,{className:"inline h-[0.8em] w-[0.8em]",label:"AED "}),M.startRate.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2}),"/g"]}),(0,t.jsx)("span",{"aria-hidden":"true",className:"jsx-325ba72b3ce7b0d9",children:"→"}),(0,t.jsxs)("span",{className:"jsx-325ba72b3ce7b0d9 font-semibold text-primary-900",children:[(0,t.jsx)(l.AedSymbol,{className:"inline h-[0.8em] w-[0.8em]",label:"AED "}),M.currentRate.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2}),"/g today"]})]})]}),(0,t.jsxs)("div",{className:"jsx-325ba72b3ce7b0d9 mt-8 max-w-[430px] rounded-card bg-neutral-0 p-5 ring-1 ring-neutral-200 sm:p-6 lg:mt-auto",children:[(0,t.jsxs)("div",{className:"jsx-325ba72b3ce7b0d9 mb-5 border-b border-neutral-200 pb-5",children:[(0,t.jsx)("p",{className:"jsx-325ba72b3ce7b0d9 text-xs font-semibold uppercase tracking-[0.14em] text-primary-500",children:"Rewind your savings to"}),(0,t.jsx)("div",{role:"group","aria-label":"Historical start date",className:"jsx-325ba72b3ce7b0d9 mt-2 flex w-full flex-wrap gap-1 rounded-card bg-primary-50 p-1.5 ring-1 ring-primary-100",children:x.map(e=>{let a=e.key===j;return(0,t.jsx)("button",{type:"button",onClick:()=>w(e.key),"aria-pressed":a,className:"jsx-325ba72b3ce7b0d9 "+((0,o.buttonVariants)({variant:a?"brand":"outline-brand",size:"sm",className:(0,d.cn)("min-w-0 flex-1 rounded-card-sm px-2",!a&&"border-2 border-primary-100 bg-neutral-0 hover:border-primary-200 hover:bg-neutral-0")})||""),children:e.label},e.key)})})]}),(0,t.jsxs)("div",{className:"jsx-325ba72b3ce7b0d9",children:[(0,t.jsxs)("label",{htmlFor:"cal-monthly",className:"jsx-325ba72b3ce7b0d9 text-lg font-medium text-text-muted",children:["Monthly amount saved since ",N.label]}),(0,t.jsxs)("div",{className:"jsx-325ba72b3ce7b0d9 mt-1 flex items-baseline gap-2 text-text-heading",children:[(0,t.jsx)(l.AedSymbol,{className:"h-[1.05rem] w-[1.05rem]",label:"AED "}),(0,t.jsx)("span",{className:"jsx-325ba72b3ce7b0d9 font-heading text-[clamp(1.75rem,3vw,2.35rem)] font-semibold leading-none tracking-normal tabular-nums",children:c.toLocaleString("en-US")}),(0,t.jsx)("span",{className:"jsx-325ba72b3ce7b0d9 text-sm text-text-muted",children:"per month"})]})]}),(0,t.jsx)("input",{id:"cal-monthly",type:"range",min:10,max:5e3,step:10,value:c,onChange:G,style:{"--slider-percent":`${E}%`},"aria-label":"Monthly saving slider","aria-valuetext":`${c} AED per month`,className:"jsx-325ba72b3ce7b0d9 gold-slider mt-5 w-full cursor-pointer"})]})]}),(0,t.jsxs)(n.motion.div,{variants:h(e),className:"relative flex min-h-[300px] w-full flex-col justify-end pt-3 lg:ml-auto lg:min-h-[390px] lg:max-w-[560px] lg:pt-10",children:[(0,t.jsxs)("div",{className:"jsx-325ba72b3ce7b0d9 relative h-[250px] sm:h-[300px] lg:h-[340px]",children:[(0,t.jsx)("div",{className:"jsx-325ba72b3ce7b0d9 absolute inset-x-0 top-[25%] border-t border-dashed border-neutral-200"}),(0,t.jsx)("div",{className:"jsx-325ba72b3ce7b0d9 absolute inset-x-0 top-[60%] border-t border-dashed border-neutral-200"}),(0,t.jsx)("div",{className:"jsx-325ba72b3ce7b0d9 absolute inset-x-0 bottom-0 border-t border-neutral-300"}),(0,t.jsx)("div",{className:"jsx-325ba72b3ce7b0d9 pointer-events-none absolute inset-0 z-10",children:_.map((a,s)=>(0,t.jsxs)(n.motion.span,{className:"absolute flex flex-col items-center gap-1 text-[9px] font-semibold tabular-nums text-text-muted",style:{left:a.left,bottom:`calc(${a.bottom} + ${7*s}px)`},initial:{opacity:0,x:"-50%",y:8*!e,scale:e?1:.88}
6,animate:{opacity:1,x:"-50%",y:0,scale:1},transition:{duration:.32*!e,delay:e?0:.04*s,ease:[.2,0,0,1]},"aria-label":`${a.name}, ${a.label} historical value`,children:[(0,t.jsx)("span",{className:"jsx-325ba72b3ce7b0d9 flex h-7 w-7 items-center justify-center rounded-full bg-neutral-0/90 text-base shadow-sm ring-1 ring-neutral-200",children:a.emoji}),(0,t.jsxs)("span",{className:"jsx-325ba72b3ce7b0d9 flex flex-col items-center whitespace-nowrap rounded-full bg-neutral-0/90 px-2 py-0.5 text-center shadow-sm ring-1 ring-neutral-200",children:[(0,t.jsx)("span",{className:"jsx-325ba72b3ce7b0d9 text-[9px] font-semibold text-text-heading",children:a.name}),(0,t.jsx)("span",{className:"jsx-325ba72b3ce7b0d9 text-[8px] font-medium text-text-muted",children:a.label})]})]},`${k}-${a.amount}`))}),(0,t.jsx)("div",{className:"jsx-325ba72b3ce7b0d9 chart-bars absolute inset-x-0 bottom-0 flex h-full items-end gap-[5px] sm:gap-2",children:C.map((a,s)=>{var i,r,o;let d=a.total,c=`${Math.min(100,a.contributed/d*100).toPrecision(6)}%`,m=`${Math.max(0,a.growth/d*100).toPrecision(6)}%`,x=(i=a.months)<12?`${i}M`:i%12==0?`${i/12}Y`:`${(i/12).toFixed(1)}Y`;return(0,t.jsxs)(n.motion.button,{type:"button",className:"chart-bar group relative flex min-w-0 flex-1 cursor-default flex-col justify-end gap-[3px] rounded-card-sm outline-none focus-visible:ring-2 focus-visible:ring-primary-600/20",style:{height:`${(a.height/(C[C.length-1]?.height||1)*100).toPrecision(6)}%`},initial:{scaleY:+!!e},animate:{scaleY:1},transition:{duration:.6,delay:.018*s,ease:[.2,0,0,1]},"aria-label":`${x}: ${y(d)} total, ${f(a.growth)} earned, ${f(a.contributed)} added`,children:[(0,t.jsxs)("span",{className:`jsx-325ba72b3ce7b0d9 pointer-events-none absolute z-30 block w-[176px] translate-y-2 scale-[0.96] rounded-card bg-neutral-0 p-3 text-left opacity-0 shadow-lg ring-1 ring-neutral-200 transition-all duration-300 ease-out group-hover:translate-y-0 group-hover:scale-100 group-hover:opacity-100 group-focus-visible:translate-y-0 group-focus-visible:scale-100 group-focus-visible:opacity-100 ${(r=C.length,o=a.height,`${o>.68?"top-0":"bottom-[calc(100%+0.5rem)]"} ${s<4?"left-0 translate-x-0":s>r-5?"right-0 translate-x-0":"left-1/2 -translate-x-1/2"}`)}`,children:[(0,t.jsxs)("span",{className:"jsx-325ba72b3ce7b0d9 mb-1.5 flex items-center justify-between gap-3",children:[(0,t.jsx)("span",{className:"jsx-325ba72b3ce7b0d9 text-xs font-medium text-text-muted",children:"Total"}),(0,t.jsx)("span",{className:"jsx-325ba72b3ce7b0d9 text-xs font-semibold text-text-muted",children:x})]}),(0,t.jsxs)("span",{className:"jsx-325ba72b3ce7b0d9 mb-3 flex items-baseline gap-1 text-[1.35rem] font-semibold leading-none text-text-heading tabular-nums",children:[(0,t.jsx)(l.AedSymbol,{className:"h-[0.78em] w-[0.78em]",label:"AED "}),y(d)]}),(0,t.jsxs)("span",{className:"jsx-325ba72b3ce7b0d9 flex items-center justify-between gap-3",children:[(0,t.jsxs)("span",{className:"jsx-325ba72b3ce7b0d9 inline-flex items-center gap-2 text-sm font-semibold text-success",children:[(0,t.jsx)("span",{className:"jsx-325ba72b3ce7b0d9 h-2.5 w-2.5 rounded-full bg-success"}),"Earned"]}),(0,t.jsx)("span",{className:"jsx-325ba72b3ce7b0d9 text-sm font-medium text-text-muted",children:f(a.growth)})]}),(0,t.jsxs)("span",{className:"jsx-325ba72b3ce7b0d9 mt-1.5 flex items-center justify-between gap-3",children:[(0,t.jsxs)("span",{className:"jsx-325ba72b3ce7b0d9 chart-added-text inline-flex items-center gap-2 text-sm font-semibold",children:[(0,t.jsx)("span",{className:"jsx-325ba72b3ce7b0d9 chart-added h-2.5 w-2.5 rounded-full"}),"Added"]}),(0,t.jsx)("span",{className:"jsx-325ba72b3ce7b0d9 chart-added-text text-sm font-medium",children:f(a.contributed)})]})]}),(0,t.jsx)("div",{style:{height:m},className:"jsx-325ba72b3ce7b0d9 bar-segment rounded-t-card-sm bg-success"}),(0,t.jsx)("div",{style:{height:c},className:"jsx-325ba72b3ce7b0d9 chart-added bar-segment rounded-b-card-sm"})]},`${k}-${s}`)})})]}),(0,t.jsxs)("div",{className:"jsx-325ba72b3ce7b0d9 mt-4 flex items-center justify-between text-sm text-text-muted",children:[(0,t.jsx)("span",{className:"jsx-325ba72b3ce7b0d9",children:N.label}),(0,t.jsx)("span",{className:"jsx-325ba72b3ce7b0d9",children:"Today"})]})]})]}),(0,t.jsx)("p",{className:"jsx-325ba72b3ce7b0d9 relative mt-4 text-xs leading-relaxed text-text-muted",children:"Based on historical gold rates from your chosen start date to today. Gold prices rise and fall. Past performance does not indicate future results, and the value of your savings can go down as well as up."})]}
6),(0,t.jsx)(a.default,{id:"325ba72b3ce7b0d9",children:".chart-bar.jsx-325ba72b3ce7b0d9{transform-origin:bottom;transition:transform .26s,opacity .26s}.bar-segment.jsx-325ba72b3ce7b0d9{transform-origin:bottom;transition:transform .26s,opacity .26s,filter .26s}.chart-added.jsx-325ba72b3ce7b0d9{background:var(--color-chart-gold)}.chart-added-text.jsx-325ba72b3ce7b0d9{color:var(--color-chart-gold)}.chart-bars.jsx-325ba72b3ce7b0d9:hover .chart-bar.jsx-325ba72b3ce7b0d9:not(:hover) .bar-segment.jsx-325ba72b3ce7b0d9{opacity:.45}.chart-bar.jsx-325ba72b3ce7b0d9:hover{transform:translateY(-3px)}.chart-bar.jsx-325ba72b3ce7b0d9:hover .bar-segment.jsx-325ba72b3ce7b0d9,.chart-bar.jsx-325ba72b3ce7b0d9:focus-visible .bar-segment.jsx-325ba72b3ce7b0d9{filter:saturate(1.12);opacity:1;transform:scaleX(1.12)}.gold-slider.jsx-325ba72b3ce7b0d9{appearance:none;background:linear-gradient(to right, var(--color-chart-gold) 0%, var(--color-chart-gold) var(--slider-percent), var(--color-neutral-300) var(--slider-percent), var(--color-neutral-300) 100%);border-radius:999px;outline:none;height:5px}.gold-slider.jsx-325ba72b3ce7b0d9::-webkit-slider-thumb{appearance:none;background:var(--color-neutral-0);border:3px solid var(--color-chart-gold);width:19px;height:19px;box-shadow:var(--shadow-sm);cursor:pointer;border-radius:50%;transition:transform .15s}.gold-slider.jsx-325ba72b3ce7b0d9::-webkit-slider-thumb:hover{transform:scale(1.12)}.gold-slider.jsx-325ba72b3ce7b0d9::-moz-range-thumb{background:var(--color-neutral-0);border:3px solid var(--color-chart-gold);width:19px;height:19px;box-shadow:var(--shadow-sm);cursor:pointer;border-radius:50%}.gold-slider.jsx-325ba72b3ce7b0d9:focus-visible::-webkit-slider-thumb{box-shadow:var(--shadow-focus)}"})]})}])},86800,e=>{"use strict";var t=e.i(43476),a=e.i(57688),s=e.i(71645),i=e.i(32181),n=e.i(72328),r=e.i(32259),l=e.i(47163),o=e.i(84026),d=e.i(29210),c=e.i(91323),m=e.i(6537),x=e.i(56420);let p=(0,x.default)("fingerprint-pattern",[["path",{d:"M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4",key:"1nerag"}],["path",{d:"M14 13.12c0 2.38 0 6.38-1 8.88",key:"o46ks0"}],["path",{d:"M17.29 21.02c.12-.6.43-2.3.5-3.02",key:"ptglia"}],["path",{d:"M2 12a10 10 0 0 1 18-6",key:"ydlgp0"}],["path",{d:"M2 16h.01",key:"1gqxmh"}],["path",{d:"M21.8 16c.2-2 .131-5.354 0-6",key:"drycrb"}],["path",{d:"M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2",key:"1tidbn"}],["path",{d:"M8.65 22c.21-.66.45-1.32.57-2",key:"13wd9y"}],["path",{d:"M9 6.8a6 6 0 0 1 9 5.2v2",key:"1fr1j5"}]]);var h=e.i(67363);let b=(0,x.default)("zap",[["path",{d:"M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z",key:"1v7up4"}]]);var u=e.i(41120);let g={hidden:{},visible:{transition:{staggerChildren:.08,delayChildren:.05}}};function f(e){return{hidden:{opacity:0,y:22*!e},visible:{opacity:1,y:0,transition:{duration:.55,ease:[.2,0,0,1]}}}}function y({id:e,activeId:a,className:s,children:n,onActivate:r,radius:o="rounded-card-sm"}){let d=a===e;return(0,t.jsx)(i.motion.button,{type:"button",variants:f(!1),onClick:()=>r(e),onFocus:()=>r(e),onMouseEnter:()=>r(e),"aria-pressed":d,className:(0,l.cn)("group relative block w-full appearance-none overflow-hidden border border-[#d4e4fa] p-0 text-left [font:inherit] transition-all duration-300",o,"focus-visible:outline-none",d?"border-primary-300":"hover:border-primary-200",s),children:n})}function v({title:e,children:a,size:s="sm",className:i}){return(0,t.jsxs)("div",{className:(0,l.cn)("relative z-20 flex flex-col gap-1 not-italic","lg"===s?"p-[35px]":"p-[23px]",i),children:[(0,t.jsx)("h3",{className:(0,l.cn)("font-bold leading-none tracking-[-0.01em] text-text-heading","lg"===s?"text-[28px]":"text-[20px]"),children:e}),(0,t.jsx)("p",{className:(0,l.cn)("text-text-body leading-[1.2]","lg"===s?"text-base":"text-sm"),children:a})]})}function j(){return(0,t.jsxs)("div",{className:"relative z-10 mx-[23px] mt-[110px] rounded-[10px] border border-[#d4e4fa] bg-white p-3",children:[(0,t.jsxs)("div",{className:"flex items-end justify-between gap-2",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,t.jsx)("p",{className:"text-[10px] font-medium uppercase tracking-[0.06em] text-text-muted",children:"24K Gold / gm"}),(0,t.jsx)("p",{className:"text-[18px] font-bold leading-none text-text-heading tabular-nums",children:(0,t.jsxs)("span",{className:"inline-flex items-baseline gap-1",children:[(0,t.jsx)(r.AedSymbol,{className:"h-[0.7em] w-[0.7em]",label:"AED "}),"450.20"]})})]}),(0,t.jsxs)("span",{className:"inline-flex items-center gap-0.5 rounded-full bg-success-bg px-1.5 py-0.5 text-[9px] font-semibold leading-none text-success",children:[(0,t.jsx)("svg",{viewBox:"0 0 8 8",className:"h-2 w-2",fill:"
6currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M4 1.5L7 6H1L4 1.5z"})}),"1.8%"]})]}),(0,t.jsxs)("svg",{viewBox:"0 0 285 70",preserveAspectRatio:"none",className:"mt-2.5 h-[58px] w-full overflow-visible","aria-hidden":"true",children:[(0,t.jsx)("defs",{children:(0,t.jsxs)("linearGradient",{id:"rateFillGrad",x1:"0",x2:"0",y1:"0",y2:"1",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#d89a2c",stopOpacity:"0.28"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#d89a2c",stopOpacity:"0"})]})}),(0,t.jsx)("path",{d:"M0 56 C14 46 24 50 36 44 C52 34 62 40 78 38 C96 34 106 44 124 38 C142 32 150 38 168 32 C188 26 194 30 210 22 C228 12 238 18 254 10 C268 4 276 6 285 2 L285 70 L0 70 Z",fill:"url(#rateFillGrad)"}),(0,t.jsx)("path",{d:"M0 56 C14 46 24 50 36 44 C52 34 62 40 78 38 C96 34 106 44 124 38 C142 32 150 38 168 32 C188 26 194 30 210 22 C228 12 238 18 254 10 C268 4 276 6 285 2",fill:"none",stroke:"#d89a2c",strokeLinecap:"round",strokeWidth:"1.5"}),(0,t.jsx)("circle",{cx:"283",cy:"3",r:"2.5",fill:"#d89a2c"}),(0,t.jsx)("circle",{cx:"283",cy:"3",r:"5",fill:"#d89a2c",fillOpacity:"0.18"})]}),(0,t.jsx)("div",{className:"mt-2 flex items-center gap-1 rounded-[6px] bg-[#f3f6fb] p-0.5",children:["1D","1W","1M","1Y"].map((e,a)=>(0,t.jsx)("span",{className:(0,l.cn)("flex-1 rounded-[4px] px-1 py-1 text-center text-[10px] font-semibold leading-none transition-colors",0===a?"bg-white text-text-heading shadow-[0_1px_2px_rgba(14,58,138,0.08)]":"text-text-muted"),children:e},e))})]})}e.s(["FeaturesSection",0,function(){let e=(0,n.useReducedMotion)()??!1,[r,x]=(0,s.use
6State)("starter");return(0,t.jsxs)(i.motion.section,{className:"relative overflow-hidden bg-neutral-0","aria-labelledby":"features-heading",initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.15},children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 bg-gradient-to-b from-neutral-0 via-primary-50/25 to-neutral-0"}),(0,t.jsxs)("div",{className:"relative mx-auto max-w-[1440px] px-6 pb-16 pt-16 sm:px-10 sm:pb-20 sm:pt-20 lg:px-20 lg:pb-24 lg:pt-24",children:[(0,t.jsxs)(i.motion.div,{variants:f(e),className:"mb-10 max-w-[720px]",children:[(0,t.jsx)("p",{className:"mb-3 text-xs font-semibold uppercase tracking-[0.14em] text-primary-400",children:"Why JustGold"}),(0,t.jsx)("h2",{id:"features-heading",className:"scroll-mt-28 text-[clamp(1.75rem,3.5vw,2.5rem)] font-semibold leading-[1.15] tracking-[-0.015em] text-primary-900 xl:whitespace-nowrap",children:"Six reasons this is safer than a drawer at home"})]}),(0,t.jsxs)(i.motion.div,{variants:g,className:"grid gap-6 lg:grid-cols-[428fr_841fr]",children:[(0,t.jsxs)(y,{id:"starter",activeId:r,onActivate:x,radius:"rounded-card",className:"min-h-[560px] bg-[#f7f9fe] lg:h-[647px]",children:[(0,t.jsx)(a.default,{src:"/bento-bg-pattern-blue.png",alt:"",fill:!0,sizes:"428px",className:"pointer-events-none select-none object-cover opacity-90","aria-hidden":"true"}),(0,t.jsx)(v,{size:"lg",className:"absolute inset-x-0 top-0",title:"Buy & sell in seconds",children:"Move whenever you like, no lock-in, no penalty for selling early."}),(0,t.jsx)(a.default,{src:"/bento-phone.png",alt:"JustGold mobile app showing gold balance and purchase actions",width:1328,height:2726,sizes:"(max-width: 1024px) 220px, 240px",className:(0,l.cn)("absolute bottom-4 left-8 z-10 h-[400px] w-auto object-contain transition-transform duration-500 sm:left-10 sm:h-[440px] lg:bottom-6 lg:left-10 lg:h-[473px]","starter"===r&&"scale-[1.02]"),priority:!0}),(0,t.jsx)("div",{className:"absolute right-4 top-1/2 z-20 flex -translate-y-1/2 flex-col gap-3 lg:right-5",children:[{icon:b,label:"Instant\nPurchase"},{icon:u.RefreshCw,label:"No Lock-in\nEver"},{icon:o.ShieldCheck,label:"Transparent\nPricing"}].map(({icon:e,label:a})=>(0,t.jsxs)("div",{className:"flex w-[96px] flex-col items-center gap-2 rounded-card-sm border border-white/80 bg-white/65 px-3 py-3.5 backdrop-blur-md shadow-[0_4px_18px_rgba(14,58,138,0.08)]",children:[(0,t.jsx)("span",{className:"flex h-9 w-9 items-center justify-center rounded-lg bg-primary-50",children:(0,t.jsx)(e,{className:"h-4 w-4 text-primary-600",strokeWidth:2})}),(0,t.jsx)("p",{className:"text-center text-[12px] font-semibold leading-[1.2] text-text-heading",children:a.split("\n").map((e,a)=>(0,t.jsx)("span",{className:"block",children:e},a))})]},a))})]}),(0,t.jsxs)("div",{className:"grid gap-6",children:[(0,t.jsxs)("div",{className:"grid gap-6 lg:grid-cols-[353fr_464fr]",children:[(0,t.jsxs)(y,{id:"rates",activeId:r,onActivate:x,className:"h-[308px] bg-[#f8fafd]",children:[(0,t.jsx)(a.default,{src:"/bento-bg-pattern-light.png",alt:"",fill:!0,sizes:"353px",className:"pointer-events-none select-none object-cover","aria-hidden":"true"}),(0,t.jsx)(v,{className:"absolute inset-x-0 top-0",title:"The real Dubai rate",children:"Live international gold and silver market rates."}),(0,t.jsx)(j,{})]}),(0,t.jsxs)(y,{id:"vault",activeId:r,onActivate:x,className:"h-[308px] bg-gradient-to-b from-[#fafafc] to-[#f6f9fe]",children:[(0,t.jsx)(v,{className:"absolute inset-x-0 top-0",title:"Held by Loomis, insured in Dubai",children:"Held in an insured Dubai vault, audited independently. Never on our balance sheet."}),(0,t.jsx)("div",{className:"absolute bottom-[60px] left-[23px] z-20 flex flex-col gap-2",children:[{icon:o.ShieldCheck,label:"Fully insured custody"},{icon:d.Landmark,label:"Dubai based vaults"},{icon:c.BadgeCheck,label:"Independently audited"}].map(({icon:e,label:a})=>(0,t.jsxs)("span",{className:"inline-flex w-fit items-center gap-2 rounded-full border border-white/80 bg-white/70 px-3 py-1.5 backdrop-blur-md shadow-[0_2px_8px_rgba(14,58,138,0.06)]",children:[(0,t.jsx)(e,{className:"h-3.5 w-3.5 text-primary-600",strokeWidth:2}),(0,t.jsx)("span",{className:"text-[12px] font-medium text-text-heading",children:a})]},a))}),(0,t.jsx)(a.default,{src:"/bento-vault-figma.png",alt:"Insured vault with gold bars",width:640,height:640,sizes:"464px",className:(0,l.cn)("absolute -right-4 -bottom-6 z-10 h-[340px] w-auto translate-x-[14%] object-contain transition-transform duration-500","vault"===r&&"scale-[1.03]")})]})]}),(0,t.jsxs)("div",{className:"grid gap-6 lg:grid-cols-3",children:[(0,t.jsxs)(y,{id:"shariah",activeId:r,onActivate:x,className:"h-[308px] bg-[#f9f9fe]",children:[(0,t.jsx)(v,{className:"absolute inset-x-0 top-0",title:"Certified Shariah compliant",children:"Real physical gold, no interest, no lending."}),(0,t.jsx)(a.default,{src:"/bento-shariah-coin.png",alt:"Shariah-compliant gold coin certification",width:420,height:420,sizes:"264px",className:(0,l.cn)("absolute left-1/2 top-[100px] z-10 h-[180px] w-auto -translate-x-1/2 object-contain transition-transform duration-500","shariah"===r&&"scale-[1.04]")}
6),(0,t.jsx)("div",{className:"absolute bottom-[16px] left-1/2 z-20 flex -translate-x-1/2 flex-row items-center gap-1.5",children:[{icon:c.BadgeCheck,label:"Scholar approved"}].map(({icon:e,label:a})=>(0,t.jsxs)("span",{className:"inline-flex w-fit items-center gap-2 rounded-full border border-white/80 bg-white/70 px-3.5 py-1.5 backdrop-blur-md shadow-[0_2px_8px_rgba(14,58,138,0.06)]",children:[(0,t.jsx)(e,{className:"h-4 w-4 text-primary-600",strokeWidth:2}),(0,t.jsx)("span",{className:"whitespace-nowrap text-[12px] font-medium text-text-heading",children:a})]},a))})]}),(0,t.jsxs)(y,{id:"delivery",activeId:r,onActivate:x,className:"h-[308px] bg-[#f9f9fe]",children:[(0,t.jsx)(a.default,{src:"/bento-delivery-box.png",alt:"Boxed physical gold delivery",fill:!0,sizes:"264px",className:"pointer-events-none select-none object-cover"}),(0,t.jsx)("div",{className:"absolute inset-x-0 top-0 z-10 h-[121px] bg-gradient-to-b from-[#f9f9fe] via-[#f9f9fe]/70 to-transparent","aria-hidden":"true"}),(0,t.jsx)(v,{className:"absolute inset-x-0 top-0 z-20",title:"Take it home whenever",children:"Turn your grams into coins or bars, delivered anywhere in the UAE."}),(0,t.jsx)("div",{className:"absolute bottom-[16px] left-1/2 z-20 flex -translate-x-1/2",children:(0,t.jsxs)("span",{className:"inline-flex w-fit items-center gap-2 rounded-full border border-white/80 bg-white/70 px-3.5 py-1.5 backdrop-blur-md shadow-[0_2px_8px_rgba(14,58,138,0.06)]",children:[(0,t.jsx)(h.Truck,{className:"h-4 w-4 text-primary-600",strokeWidth:2}),(0,t.jsx)("span",{className:"whitespace-nowrap text-[12px] font-medium text-text-heading",children:"Insured UAE delivery"})]})})]}),(0,t.jsxs)(y,{id:"security",activeId:r,onActivate:x,className:"h-[308px] bg-[#f5f7fd]",children:[(0,t.jsx)(v,{className:"absolute inset-x-0 top-0",title:"Bank-grade security",children:"Your account and data are protected the same way banks protect theirs."}),(0,t.jsx)("div",{className:"absolute bottom-[32px] left-[18px] z-20 flex flex-col gap-2",children:[{icon:m.Lock,label:"256 bit encryption"},{icon:c.BadgeCheck,label:"ISO 27001 certified"},{icon:p,label:"Biometric login"}].map(({icon:e,label:a})=>(0,t.jsxs)("span",{className:"inline-flex w-fit items-center gap-1.5 rounded-full border border-white/80 bg-white/70 px-2.5 py-1 backdrop-blur-md shadow-[0_2px_8px_rgba(14,58,138,0.06)]",children:[(0,t.jsx)(e,{className:"h-3 w-3 text-primary-600",strokeWidth:2}),(0,t.jsx)("span",{className:"text-[11px] font-medium text-text-heading",children:a})]},a))}),(0,t.jsx)(a.default,{src:"/bento-shield-secure.png",alt:"Secure shield with lock",width:440,height:512,sizes:"264px",className:(0,l.cn)("absolute right-2 bottom-2 z-10 h-[200px] w-auto object-contain transition-transform duration-500","security"===r&&"scale-[1.04]")})]})]})]})]})]})]})}],86800)},39160,e=>{"use strict";var t=e.i(43476),a=e.i(57688),s=e.i(71645),i=e.i(32181),n=e.i(72328),r=e.i(10542),l=e.i(95420),o=e.i(47163);function d(e){return e.replace(".png","-20260731.png")}let c=[{id:"buy",label:"Buy",title:"Own gold by the gram",steps:[{image:d("/buy-step-1.png"),title:"Choose your amount",alt:"JustGold app screen to buy 24K digital gold, real metal backed",body:(0,t.jsxs)(t.Fragment,{children:["Enter dirhams or grams,"," ",(0,t.jsx)("span",{className:"font-semibold text-accent-500",children:"from AED 10 up."})," ","You'll see exactly how much gold that buys at today's rate."]})},{image:d("/buy-step-2.png"),title:"Pay securely",alt:"JustGold app payment screen with a linked bank and order breakdown",body:(0,t.jsx)(t.Fragment,{children:"Card or bank transfer, with the full breakdown shown before you confirm."})},{image:d("/buy-step-3.png"),title:"It's in your vault",alt:"Confirmation that the gold is insured and stored in a secure vault",body:(0,t.jsx)(t.Fragment,{children:"Your gold appears in the app immediately, stored and insured in Dubai."})}]},{id:"sell",label:"Sell",title:"Cash out in seconds",steps:[{image:d("/sell-step-1.png"),title:"Choose how much",alt:"JustGold app screen to sell 24K digital gold in AED or grams",body:(0,t.jsxs)(t.Fragment,{children:["Sell any amount, in dirhams or grams, at the live sell price."," ",(0,t.jsx)("span",{className:"font-semibold text-accent-500",children:"No notice, no penalty."})]})},{image:d("/sell-step-2.png"),title:"Pick your account",alt:"JustGold app screen to select a linked UAE bank account for payout",body:(0,t.jsx)(t.Fragment,{children:"Send it to any linked UAE bank account."})},{image:d("/sell-step-3.png"),title:"Money in your bank",alt:"Confirmation screen that the gold has been sold and payout scheduled",body:(0,t.jsx)(t.Fragment,{children:"Funds arrive within 2 to 3 working days."})}]},{id:"convert",label:"Deliver",title:"Convert into coins or bars",steps:[{image:d("/delivery-step-1.png"),title:"Cho
6ose your coin or bar",alt:"JustGold app catalog to pick a coin or bar",body:(0,t.jsx)(t.Fragment,{children:"Minimum value, from 1g upwards."})},{image:d("/delivery-step-2.png"),title:"Review and confirm",alt:"JustGold app order review with price breakdown and delivery estimate",body:(0,t.jsx)(t.Fragment,{children:"Use the gold already in your vault and see every charge before you pay."})},{image:"/delivery-step-3-20260812.png",title:"Track it to your door",alt:"JustGold app order tracking with a courier holding a Just Gold box",body:(0,t.jsx)(t.Fragment,{children:"Insured door to door, anywhere in the UAE."})}]}];function m({step:e,index:s,wide:i}){return(0,t.jsxs)("div",{className:(0,o.cn)("flex flex-col items-center lg:items-stretch",i&&"col-span-2 flex-row items-stretch gap-4 sm:col-span-1 sm:flex-col sm:items-center sm:gap-0 lg:items-stretch"),children:[(0,t.jsx)("div",{className:(0,o.cn)("flex w-full justify-center rounded-card-sm bg-[#f1f4f9] px-4 pt-4",i&&"w-1/2 shrink-0 items-start pb-4 sm:w-full sm:items-stretch sm:pb-0"),children:(0,t.jsx)("div",{className:(0,o.cn)("relative w-full max-w-[260px] overflow-hidden rounded-card-sm border border-[#e6edf7] aspect-[735/1004] lg:aspect-auto lg:h-[clamp(340px,46vh,460px)] lg:w-[260px] lg:max-w-[260px]",i&&"sm:aspect-[735/1004]"),children:(0,t.jsx)(a.default,{src:e.image,alt:e.alt,fill:!0,sizes:"(max-width: 640px) 40vw, 340px",className:(0,o.cn)("object-top",i?"object-contain":"object-cover"),priority:0===s})})}),(0,t.jsxs)("div",{className:(0,o.cn)("mt-4 w-full",i&&"mt-0 flex flex-col justify-center sm:mt-4"),children:[(0,t.jsx)("h4",{className:"text-sm font-bold leading-snug tracking-[-0.01em] text-primary-900 sm:text-base",children:e.title}),(0,t.jsx)("p",{className:"mt-1 text-xs leading-[1.45] text-text-body sm:text-sm",children:e.body})]})]})}function x({panel:e,index:a,total:s,progress:n,stacking:r}){let d=(0,l.useTransform)(n,[a/s,1],[1,1-(s-1-a)*.03]);return(0,t.jsxs)(i.motion.section,{"aria-label":e.title,style:r?{top:88+24*a,scale:d,transformOrigin:"center top"}:void 0,className:(0,o.cn)("rounded-card border border-[#e3ecfb] bg-white px-6 py-6 sm:px-10 sm:py-8 lg:px-12 lg:py-7","shadow-[0_-18px_50px_-22px_rgba(10,45,110,0.28),0_6px_20px_-14px_rgba(10,45,110,0.10)]",r?"sticky":"static",a<s-1&&"mb-6 lg:mb-8"),children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsxs)("span",{className:"font-heading text-sm font-bold tracking-[0.08em] text-accent-500 tabular-nums",children:["0",a+1]}),(0,t.jsx)("span",{className:"h-4 w-px bg-primary-200"}),(0,t.jsx)("span",{className:"text-xs font-semibold uppercase tracking-[0.18em] text-primary-500",children:e.label})]}),(0,t.jsx)("h3",{className:"mt-3 text-[clamp(1.5rem,2.6vw,2.1rem)] font-semibold leading-[1.1] tracking-[-0.015em] text-primary-900",children:e.title}),(0,t.jsx)("div",{className:"mt-6 grid grid-cols-2 gap-4 sm:gap-7 md:grid-cols-3 lg:mt-7",children:e.steps.map((a,s)=>(0,t.jsx)(m,{step:a,index:s,wide:2===s},`${e.id}-${s}`))})]})}let p={hidden:{},visible:{transition:{staggerChildren:.08,delayChildren:.04}}};function h(e){return{hidden:{opacity:0,y:20*!e},visible:{opacity:1,y:0,transition:{duration:.55,ease:[.2,0,0,1]}}}}e.s(["GoldActions",0,function(){let e=(0,n.useReducedMotion)()??!1,a=function(){let[e,t]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{let e=window.matchMedia("(min-width: 1024px)"),a=()=>t(e.matches);return a(),e.addEventListener("change",a),()=>e.removeEventListener("change",a)},[]),e}()&&!e,l=(0,s.useRef)(null),{scrollYProgress:o}=(0,r.useScroll)({target:l,offset:["start start","end end"]});return(0,t.jsx)("section",{className:"relative bg-neutral-0","aria-labelledby":"gold-actions-heading",children:(0,t.jsxs)("div",{className:"mx-auto max-w-[1440px] px-6 pb-16 pt-16 sm:px-10 sm:pb-20 sm:pt-20 lg:px-20 lg:pb-24 lg:pt-24",children:[(0,t.jsxs)(i.motion.div,{variants:p,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.4},className:"mb-10 max-w-[720px] lg:mb-14",children:[(0,t.jsx)(i.motion.p,{variants:h(e),className:"mb-3 text-xs font-semibold uppercase tracking-[0.16em] text-primary-500",children:"How it works"}),(0,t.jsx)(i.motion.h2,{id:"gold-actions-heading",variants:h(e),className:"text-[clamp(1.75rem,3.5vw,2.5rem)] font-semibold leading-[1.15] tracking-[-0.015em] text-primary-900 xl:whitespace-nowrap",children:"Three steps, whichever direction you're going"}),(0,t.jsx)(i.motion.p,{variants:h(e),className:"mt-4 max-w-[560px] text-lg leading-[1.5] text-text-body",children:"Buying, selling and taking delivery all work the same way. Nothing hidden, nothing to learn."})]}),(0,t.jsx)("div",{ref:l,className:"relative",children:c.map((e,s)=>(0,t.jsx)(x,{panel:e,index:s,total:c.length,progress:o,stacking:a},e.id))})]})})}])},41059,e=>{"use strict";var t=e.i(43476),a=e.i(57688),s=e.i(32181),i=e.i(72328);let n=(0,e.i(56420).default)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);var r=e.i(47163);let l=[{name:"Gulf News",src:"/logo-gulf-news.svg",width:160,height:40},{name:"Khaleej Times",src:"/logo-khaleej-times.svg",width:180,height:44},{name:"Dubai Fintech Summit",src:"/logo-dubai-fintech-summit.svg",width:180,height:44},{name:"Technology Integrator",src:"/logo-technology-integrator.svg",width:200,height:50}],o=[{publication:"Gulf News",date:"February 2026",headline:"JustGold App introduces silver savings, enhancing precious metals access",excerpt:"JustGold expands beyond gold to offer silver, giving customers regulated, Shariah compliant access to physically backed precious metals in one app.",url:"https://gulfnews.com/business/corporate-news/justgold-app-introduces-silver-savings-enhancing-precious-metals-access-1.500446028"},{publication:"Gulf News",date:"December 2025",headline:"The Just Gold App achieves Shariah certification",excerpt:"Following an independent review by Panacea Consulting, Bahrain, JustGold receives formal certification that every purchase is real physical gold handled under recognised Shariah principles.",url:"https://gulfnews.com/business/corporate-news/the-just-gold-app-achieves-shariah-certification-1.500380335"},{publication:"Khaleej Times",date:"November 2025",headline:"The calm after the digital gold rush: Why trust matters more than technology",excerpt:"As the UAE digital gold market matures, JustGold is highlighted for vaulted custody, independent trustee oversight, and gold ownership starting from AED 10.",url:"https://www.khaleejtimes.com/business/the-calm-after-the-digital-gold-rush-why-trust-matters-more-than-technology"},{publication:"Khaleej Times",date:"October 2025",headline:"Diwali Gold, reimagined for a new generation",excerpt:"JustGold features as the modern way to gift gold for Diwali: 24K, 999.9 purity at official UAE rates, vaulted and insured, with instant sell or physical delivery.",url:"https://www.khaleejtimes.com/supplements/diwali-gold-reimagined-for-a-new-generation"}],d={hidden:{},visible:{transition:{staggerChildren:.1,delayChildren:.05}}};function c(e){return{hidden:{opacity:0,y:22*!e},visible:{opacity:1,y:0,transition:{duration:.55,ease:[.2,0,0,1]}}}}function m(){let e=[...l,...l];return(0,t.jsxs)("div",{className:"relative w-full overflow-hidden py-8",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 z-10 w-24 bg-gradient-to-r from-white to-transparent"}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 right-0 z-10 w-24 bg-gradient-to-l from-white to-transparent"}),(0,t.jsx)("div",{className:"flex w-max animate-marquee items-center gap-20",children:e.map((e,s)=>(0,t.jsx)("div",{className:"flex shrink-0 items-center opacity-60 grayscale select-none",children:(0,t.jsx)(a.default,{src:e.src,alt:e.name,width:e.width,height:e.height,className:"h-8 w-auto object-contain",draggable:!1})},`${e.name}-${s}`))})]})}function x({article:e,reduce:i}){var o;let d=(o=e.publication,l.find(e=>e.name===o)??l[0]);return(0,t.jsxs)(s.motion.a,{href:e.url,target:"_blank",rel:"noopener noreferrer",variants:c(i),className:(0,r.cn)("group flex shrink-0 snap-start flex-col gap-4 roun
6ded-card border border-[#e3ecfb] bg-white p-6","w-[82vw] max-w-[320px] sm:w-auto sm:max-w-none","transition-all duration-300 hover:-translate-y-1 hover:shadow-[0_8px_30px_rgba(14,58,138,0.08)]"),children:[(0,t.jsx)(a.default,{src:d.src,alt:e.publication,width:d.width,height:d.height,className:"h-6 w-auto object-contain object-left"}),(0,t.jsx)("h3",{className:"text-[17px] font-bold leading-[1.25] tracking-[-0.01em] text-text-heading",children:e.headline}),(0,t.jsx)("p",{className:"text-sm leading-[1.55] text-text-body",children:e.excerpt}),(0,t.jsx)("span",{className:"text-xs text-primary-300",children:e.date}),(0,t.jsxs)("span",{className:"mt-auto inline-flex items-center gap-1.5 text-sm font-semibold text-primary-500 transition-colors group-hover:text-primary-600",children:["Read more",(0,t.jsx)(n,{className:"h-3.5 w-3.5",strokeWidth:2.2})]})]})}e.s(["MediaCoverage",0,function(){let e=(0,i.useReducedMotion)()??!1;return(0,t.jsx)(s.motion.section,{className:"relative overflow-hidden bg-white","aria-labelledby":"media-coverage-heading",variants:{hidden:{},visible:{transition:{staggerChildren:.1,delayChildren:.05}}},initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.15},children:(0,t.jsxs)("div",{className:"relative mx-auto max-w-[1440px] px-6 pb-16 sm:px-10 sm:pb-20 lg:px-20 lg:pb-24",children:[(0,t.jsxs)(s.motion.div,{variants:c(e),className:"mb-6 max-w-[720px]",children:[(0,t.jsx)("p",{className:"mb-3 text-xs font-semibold uppercase tracking-[0.14em] text-primary-500",children:"Media coverage"}),(0,t.jsx)("h2",{id:"media-coverage-heading",className:"scroll-mt-28 text-[clamp(1.75rem,3.5vw,2.5rem)] font-semibold leading-[1.15] tracking-[-0.015em] text-primary-900",children:"What the press has said"}),(0,t.jsx)("p",{className:"mt-4 max-w-[560px] text-base leading-[1.55] text-text-body",children:"The UAE's leading publications have covered JustGold for making gold investment accessible, transparent, and trustworthy."})]}),(0,t.jsx)(s.motion.div,{variants:c(e),children:(0,t.jsx)(m,{})}),(0,t.jsx)(s.motion.div,{variants:d,className:"mt-4 flex snap-x snap-mandatory gap-5 overflow-x-auto pb-2 [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden sm:grid sm:snap-none sm:gap-6 sm:overflow-visible sm:pb-0 sm:grid-cols-2 lg:grid-cols-4",children:o.map(a=>(0,t.jsx)(x,{article:a,reduce:e},a.headline))})]})})}],41059)},29325,e=>{"use strict";var t=e.i(43476),a=e.i(71645),s=e.i(32181),i=e.i(87652),n=e.i(72328),r=e.i(86563),l=e.i(47163);let o=[{name:"Mohammed Abdul Rehman",source:"Play Store",date:"02/08/2026",rating:5,quote:"My experience with JustGold has been excellent from start to finish. The ability to buy gold digitally in small fractions and later redeem it as physical gold through a smooth delivery process is truly impressive. The app is simple, transparent, and easy to use. The trust, professionalism, and exceptional customer service provided throughout the journey make JustGold a reliable choice for gold investment. Highly recommended!"},{name:"Anmol Chawla",source:"Play Store",date:"08/07/2026",rating:5,quote:"JustGold has made investing in real 24K gold incredibly easy and accessible here in Dubai. The app is user-friendly with live market prices and buying/selling is instant 24/7. What stands out is that my gold is fully backed by physical assets, securely vaulted, regulated, insured. The option to redeem for physical delivery to my doorstep is a game-changer. Seamless registration, secure transactions, and transparent everything — exactly what I was looking for in a modern gold savings platform."},{name:"Syed hannaan ullah hussaini",source:"Play Store",date:"08/04/2026",rating:5,quote:"A very reliable and smooth app experience. Navigation is simple, and everything is transparent. Even during system outages, my gold was 100% safe. Not even 0.01 gram was affected. That level of security builds real trust."},{name:"Dr Swamy Nadh",source:"Play Store",date:"28/11/2025",rating:5,quote:"I have completed over ten transactions on Just Gold, including buying, selling and gold delivery. Every experience has been smooth, transparent and reliable. My delivery arrived sealed and certified, which gave me full confidence in the platform. The app is simple, pricing is fair, and the support team is excellent. Just Gold has earned my trust. Highly recommended."},{name:"Bovas John",source:"Play Store",date:"02/01/2026",rating:5,title:"Great UI, Easy to Use",quote:"This app w
6as my top choice for saving money in the UAE. It's easy to get started and clearly shows how my investments grow every day. Highly recommended for anyone looking to start with small savings."},{name:"Kainat Javed",source:"App Store",date:"28 Oct",rating:5,title:"Trusted and always available for support",quote:"Very good app for saving and always available for support! I received my 2gm the next day! Do put your trust on it for saving!"},{name:"FarhanZubairi",source:"App Store",date:"14 Jul",rating:5,title:"Realtor & Investor",quote:"Prices, deliveries and service - everything is exceptional. Best part is they provide dedicated service agents to key accounts offering amazing prices, the team is available 24x7 for booking live. The Founder is an interesting guy who gains trust in the first go!"},{name:"Malghorani",source:"App Store",date:"1y ago",rating:5,title:"Finally a simple and halal gold purchasing app in the Middle East",quote:"I just downloaded the app and I love how easy it is go through and do the basic functions. The price of gold is transparent and the option to pay with Bank transfer to save transaction fees is a savior tbh."}],d=[...o,...o];function c(e){return{hidden:{opacity:0,y:22*!e},visible:{opacity:1,y:0,transition:{duration:.55,ease:[.2,0,0,1]}}}}let m={hidden:{},visible:{transition:{staggerChildren:.08,delayChildren:.05}}};function x({count:e}){return(0,t.jsx)("div",{className:"flex gap-0.5",children:Array.from({length:e}).map((e,a)=>(0,t.jsx)(r.Star,{className:"h-4 w-4 fill-accent-500 text-accent-500"},a))})}function p({testimonial:e,ariaHidden:a=!1}){return(0,t.jsxs)("div",{"aria-hidden":a,className:(0,l.cn)("flex w-[82vw] min-w-[82vw] max-w-[380px] shrink-0 select-none flex-col gap-3 rounded-card border border-[#e3ecfb] bg-white p-6 md:w-auto md:min-w-[320px] md:max-w-[380px]"),children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsx)(x,{count:e.rating}),(0,t.jsx)("span",{className:"text-xs text-text-muted",children:e.date})]}),e.title?(0,t.jsx)("p",{className:"text-sm font-bold leading-snug text-text-heading",children:e.title}):null,(0,t.jsx)("p",{className:"line-clamp-6 text-sm leading-relaxed text-text-body",children:e.quote}),(0,t.jsxs)("div",{className:"mt-auto flex items-center justify-between gap-3 border-t border-[#e3ecfb] pt-3",children:[(0,t.jsx)("p",{className:"text-sm font-semibold text-text-heading",children:e.name}),(0,t.jsx)("p",{className:"text-xs text-text-muted",children:e.source})]})]})}e.s(["TestimonialsSection",0,function(){let e=(0,n.useReducedMotion)(),r=(0,a.useRef)(null),l=(0,i.useInView)(r,{once:!0,margin:"-80px"});return(0,t.jsxs)("section",{ref:r,className:"border-t border-[#e3ecfb] bg-[#f7faff] pb-16 pt-16 sm:pb-20 sm:pt-20 lg:pb-24 lg:pt-24",children:[(0,t.jsx)("style",{children:`
7        @keyframes testimonial-scroll {
8          from { transform: translateX(0); }
9          to { transform: translateX(calc(-50% - 0.75rem)); }
10        }
11      `}),(0,t.jsxs)(s.motion.div,{variants:m,initial:"hidden",animate:l?"visible":"hidden",className:"mx-auto max-w-[1440px] px-5 md:px-8",children:[(0,t.jsxs)(s.motion.div,{variants:c(!!e),className:"mx-auto mb-14 max-w-2xl text-center",children:[(0,t.jsx)("span",{className:"text-xs font-semibold uppercase tracking-wide text-primary-500",children:"Real reviews"}),(0,t.jsx)("h2",{className:"mt-3 text-[clamp(1.75rem,3.5vw,2.5rem)] font-semibold leading-[1.15] tracking-[-0.015em] text-primary-900",children:"What our users say"}),(0,t.jsx)("p",{className:"mt-4 text-base leading-relaxed text-text-body md:text-lg",children:"Real reviews from the App Store and Google Play."})]}),(0,t.jsx)(s.motion.div,{variants:c(!!e),className:"group overflow-hidden","aria-label":"Customer testimonials",children:(0,t.jsx)("div",{className:"flex w-max gap-6 group-hover:[animation-play-state:paused] group-focus-within:[animation-play-state:paused] group-active:[animation-play-state:paused]",style:{animation:e?"none":"testimonial-scroll 110s linear infinite"},children:d.map((e,a)=>(0,t.jsx)(p,{testimonial:e,ariaHidden:a>=o.length},`${e.name}-${a}`))})})]})]})}])},36900,e=>{"use strict";var t=e.i(43476),a=e.i(32181),s=e.i(72328),i=e.i(68877),n=e.i(74544),r=e.i(49882),l=e.i(57688),o=e.i(47163),d=e.i(83471);function c(e){return{hidden:{opacity:0,y:22*!e},visible:{opacity:1,y:0,transition:{duration:.55,ease:[.2,0,0,1]}}}}let m={hidden:{},visible:{transition:{staggerChildren:.1,delayChildren:.05}}};function x({post:e}){return(0,t.jsxs)(a.motion.a,{variants:c(!1),href:(0,d.postHref)(e),"aria-label":e.title,className:(0,o.cn)("group flex w-[82vw] min-w-[82vw] max-w-[380px] snap-start cursor-pointer flex-col overflow-hidden rounded-card border border-[#e3ecfb] bg-white md:w-auto md:min-w-0 md:max-w-none","transition-all duration-300 hover:-translate-y-1 hover:shadow-md"),children:[(0,t.jsxs)("div",{className:"relative h-48 overflow-hidden",children:[(0,t.jsx)(l.default,{src:e.imageSrc,alt:e.imageAlt,fill:!0,sizes:"(min-width: 1024px) 33vw, (min-width: 640px) 50vw, 100vw",className:"object-cover transition-transform duration-500 group-hover:scale-105"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-primary-900/35 via-primary-900/5 to-transparent"}
11),(0,t.jsx)("span",{className:"absolute left-4 top-4 rounded-full bg-white/90 px-3 py-1 text-[11px] font-semibold text-primary-800 backdrop-blur-sm",children:e.category})]}),(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-3 p-5",children:[(0,t.jsx)("h3",{className:"line-clamp-2 text-lg font-bold leading-snug tracking-[-0.01em] text-primary-900",children:e.title}),(0,t.jsx)("p",{className:"line-clamp-2 text-sm leading-relaxed text-text-body",children:e.excerpt}),(0,t.jsxs)("div",{className:"mt-auto flex items-center gap-4 border-t border-[#e3ecfb] pt-4 text-xs text-text-muted",children:[(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:[(0,t.jsx)(n.Clock,{className:"h-3.5 w-3.5"}),e.readTime]}),(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:[(0,t.jsx)(r.Calendar,{className:"h-3.5 w-3.5"}),e.date]})]})]})]})}e.s(["BlogSection",0,function({posts:e}){let n=(0,s.useReducedMotion)()??!1,r=e.slice(0,3).map(e=>({slug:e.slug,title:e.title,excerpt:e.excerpt,category:e.category,readTime:"5 min read",date:e.date,imageSrc:e.image,imageAlt:e.title}));return 0===r.length?null:(0,t.jsx)(a.motion.section,{className:"border-t border-[#e3ecfb] bg-white pb-16 pt-16 sm:pb-20 sm:pt-20 lg:pb-24 lg:pt-24","aria-labelledby":"blog-heading",initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.15},children:(0,t.jsxs)("div",{className:"mx-auto max-w-7xl px-5 md:px-8",children:[(0,t.jsxs)(a.motion.div,{variants:c(n),className:"mb-12 flex flex-col gap-4 sm:flex-row sm:items-end sm:justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"text-xs font-semibold uppercase tracking-[0.14em] text-primary-500",children:"From the Blog"}),(0,t.jsx)("h2",{id:"blog-heading",className:"mt-3 text-[clamp(1.75rem,3.5vw,2.5rem)] font-semibold leading-[1.15] tracking-[-0.015em] text-primary-900",children:"Gold, money, markets"})]}),(0,t.jsxs)("a",{href:"/blogs",className:"group/link inline-flex items-center gap-1.5 text-sm font-semibold text-primary-600 transition-colors hover:text-primary-800",children:["View all blogs",(0,t.jsx)(i.ArrowRight,{className:"h-4 w-4 transition-transform duration-200 group-hover/link:translate-x-0.5"})]})]}),(0,t.jsx)(a.motion.div,{variants:m,className:"-mx-5 flex snap-x snap-mandatory gap-4 overflow-x-auto px-5 pb-2 [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden md:mx-0 md:grid md:grid-cols-2 md:gap-6 md:overflow-visible md:px-0 md:pb-0 lg:grid-cols-3",role:"region","aria-label":"Latest blog posts",children:r.map(e=>(0,t.jsx)(x,{post:e},e.slug))})]})})}])},29854,e=>{"use strict";var t=e.i(43476),a=e.i(71645),s=e.i(88653),i=e.i(32181),n=e.i(72328),r=e.i(77071),l=e.i(47163);let o=e.i(4110).FAQ_QUESTIONS.slice(0,6),d={hidden:{},visible:{transition:{staggerChildren:.05,delayChildren:.04}}};function c(e){return{hidden:{opacity:0,y:18*!e},visible:{opacity:1,y:0,transition:{duration:.5,ease:[.2,0,0,1]}}}}function m({faq:e,index:a,isOpen:n,onToggle:o,reduce:d}){let x=`faq-panel-${a}`,p=`faq-button-${a}`;return(0,t.jsxs)(i.motion.div,{variants:c(d),className:(0,l.cn)("overflow-hidden rounded-card border bg-white transition-colors",n?"border-primary-200 shadow-[0_10px_30px_-18px_rgba(10,45,110,0.18)]":"border-[#e3ecfb]"),children:[(0,t.jsxs)("button",{id:p,type:"button",onClick:o,"aria-expanded":n,"aria-controls":x,className:"flex w-full items-start justify-between gap-6 px-5 py-5 text-left sm:px-6 sm:py-6",children:[(0,t.jsx)("span",{className:"text-base font-semibold leading-snug text-primary-900 sm:text-lg",children:e.question}),(0,t.jsx)("span",{className:(0,l.cn)("mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-full border transition-colors",n?"border-primary-600 bg-primary-600 text-white":"border-[#e3ecfb] bg-[#f7faff] text-primary-700"),"aria-hidden":"true",children:(0,t.jsx)(r.Plus,{className:(0,l.cn)("h-4 w-4 transition-transform duration-300",n?"rotate-45":"rotate-0"),strokeWidth:2.2})})]}),(0,t.jsx)(s.AnimatePresence,{initial:!1,children:n?(0,t.jsx)(i.motion.div,{id:x,role:"region","aria-labelledby":p,initial:d?{opacity:1,height:"auto"}:{opacity:0,height:0}
11,animate:{opacity:1,height:"auto"},exit:d?{opacity:1,height:"auto"}:{opacity:0,height:0},transition:{duration:.28,ease:[.2,0,0,1]},className:"overflow-hidden",children:(0,t.jsx)("div",{className:"px-5 pb-6 pr-14 text-base leading-[1.55] text-text-body sm:px-6 sm:pr-16",children:e.answer})},"content"):null})]})}e.s(["FaqSection",0,function(){let e=(0,n.useReducedMotion)()??!1,[s,r]=(0,a.useState)(0);return(0,t.jsx)(i.motion.section,{className:"bg-white pb-16 pt-16 sm:pb-20 sm:pt-20 lg:pb-24 lg:pt-24","aria-labelledby":"faq-heading",initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.15},variants:d,children:(0,t.jsxs)("div",{className:"mx-auto grid max-w-[1200px] gap-10 px-5 sm:px-8 lg:grid-cols-[0.9fr_1.1fr] lg:gap-16",children:[(0,t.jsxs)(i.motion.div,{variants:c(e),children:[(0,t.jsx)("p",{className:"mb-3 text-xs font-semibold uppercase tracking-[0.16em] text-primary-500",children:"Before you start"}),(0,t.jsx)("h2",{id:"faq-heading",className:"text-[clamp(1.75rem,3.5vw,2.5rem)] font-semibold leading-[1.15] tracking-[-0.015em] text-primary-900",children:"Questions people ask before they start"}),(0,t.jsxs)("p",{className:"mt-4 max-w-[420px] text-base leading-relaxed text-text-body",children:["The essentials on buying, selling, and cashing out with JustGold. Still curious? Check the"," ",(0,t.jsx)("a",{href:"/faqs",className:"font-semibold text-primary-600 underline decoration-primary-200 underline-offset-4 hover:text-primary-800",children:"full FAQ"}),"."]})]}),(0,t.jsx)("div",{className:"flex flex-col gap-3",children:o.map((a,i)=>(0,t.jsx)(m,{faq:a,index:i,isOpen:s===i,onToggle:()=>r(s===i?null:i),reduce:e},a.question))})]})})}])}]);
12
13//# sourceMappingURL=0ao743m_3u0ck.js.map

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.