@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;600;700&display=swap');
/* Reference hero only. Production header, footer and data UI are not styled here. */
html[dir=rtl] .fh-hero{font-family:"Tajawal",Tahoma,sans-serif}
html .fh-hero{position:relative;isolation:isolate;overflow:hidden;background:#03131e;min-height:0}
html .fh-hero .hero-art{position:absolute;inset:auto;top:calc(min(100vw,1480px)* -.1198659);left:50%;right:auto;width:min(100%,1480px);height:auto;aspect-ratio:1193/1318;transform:translateX(-50%);background-image:url('/assets/hero-reference-plate.png');background-size:auto 100%;background-position:0% 0%;background-repeat:no-repeat;opacity:1;mask-image:none}
html[dir=ltr] .fh-hero .hero-art{transform:translateX(-50%) scaleX(-1)}
html .fh-hero .fh-stage{position:relative;z-index:1;min-height:clamp(460px,49.8vw,695px);padding-block:clamp(44px,6.5vw,86px) 35px;display:flex;align-items:flex-start}
.fh-copy{width:60%;min-width:0}
html .fh-hero h1{font-size:clamp(32px,4.25vw,65px);font-weight:700;line-height:1.2;letter-spacing:-.04em;white-space:nowrap;max-width:none;margin:0}
html[dir=rtl] .fh-hero h1{font-size:clamp(42px,6.4vw,84px);letter-spacing:0;line-height:1.24}
html .fh-hero .hero-instrument{font-size:clamp(21px,2.55vw,33px);line-height:1.35;margin:12px 0 22px;text-align:start}
html[dir=rtl] .fh-hero .hero-instrument{text-align:right}
.fh-lead{font-size:clamp(19px,2.4vw,30px);font-weight:500;line-height:1.5;margin:0 0 13px;color:#f2f5f8}
.fh-description{font-size:clamp(16px,1.95vw,24px);font-weight:400;line-height:1.7;color:#d2dce5;margin:0}
/* A local, feathered navy veil improves copy contrast without dimming the scene. */
.fh-lead,.fh-description{position:relative;isolation:isolate}
.fh-lead:before,.fh-description:before{content:'';position:absolute;inset:-8px -12px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at center,#03131e38 0%,#03131e24 55%,#03131e00 78%)}
html .fh-hero .hero-actions{margin-top:30px;gap:16px;flex-wrap:nowrap}
html .fh-hero .hero-actions .button{font-size:clamp(14px,1.9vw,24px);min-height:clamp(50px,6.4vw,77px);padding:12px 20px;gap:16px;white-space:nowrap;border-radius:8px}
html .fh-hero .hero-actions .primary{flex:1}html .fh-hero .hero-actions .secondary{flex:.75}
html .fh-hero .hero-actions .secondary{background-color:#071622a3}
html .fh-hero .hero-actions .secondary:hover{background-color:#152b3b}
html .fh-hero .hero-actions .how-play-icon{width:30px;height:30px;flex:none}
html .fh-hero .hero-actions .primary>.icon{width:27px;height:27px}
.fh-extension{position:relative;z-index:1;padding-bottom:24px}
.fh-heading{display:flex;align-items:center;gap:30px;line-height:1.4;font-size:clamp(24px,3.1vw,39px);font-weight:600;text-align:center;margin:0}
.fh-heading:before,.fh-heading:after{content:'';height:1px;flex:1;background:#84b9d1}
.fh-heading>span{max-width:80%;flex:none}.fh-heading bdi{display:inline-block;direction:ltr;color:#f2f5f8;font-weight:700}.fh-heading bdi>span{color:var(--gold)}
.fh-features{list-style:none;padding:0;margin:22px 0 22px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));text-align:center}
.fh-features li{position:relative;min-width:0;padding:0 18px;display:grid;grid-template-rows:subgrid;grid-row:span 3}
.fh-icon{width:24px;height:24px;flex:none;display:block}
.fh-symbol{height:48px;width:48px;margin:0 auto 9px;display:grid;place-items:center;border:1px solid #284f62;border-radius:50%;color:var(--gold)}
.fh-symbol .fh-icon{width:28px;height:28px}
/* Shrink the drawing inside its original slot. Compensate the stroke so its
   visible weight, icon center and every surrounding layout measurement stay fixed. */
.fh-symbol .fh-icon path{transform:scale(.865);transform-origin:center;transform-box:view-box;stroke-width:1.445087}
.fh-symbol .fh-icon-accent{stroke:#9dcce6}
.fh-benefits .fh-icon path{transform:scale(.89);transform-origin:center;transform-box:view-box;stroke-width:1.404494}
.fh-features h3{font-size:clamp(16px,1.8vw,23px);line-height:1.35;font-weight:600;margin:0 0 7px}
.fh-features p{font-size:clamp(14px,1.65vw,20px);line-height:1.55;font-weight:400;color:#cbd7e1;margin:0}
.fh-features li:not(:last-child):after{content:'';position:absolute;inset-inline-end:0;top:68px;bottom:8px;width:1px;background:#49758a}
.fh-arrow{position:absolute;inset-inline-end:-7px;top:15px;width:14px;height:18px;color:var(--gold)}[dir=rtl] .fh-arrow{transform:scaleX(-1)}
.fh-benefits{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #385c70;border-radius:10px;background:#0a233033;padding:9px 10px;margin:0;min-height:44px}
.fh-benefits li{display:flex;align-items:center;justify-content:center;gap:10px;padding:0 14px;font-size:clamp(12px,1.3vw,16px);font-weight:400;line-height:1.5;min-width:0}
.fh-benefits li:not(:last-child){border-inline-end:1px solid #385c70}.fh-benefits .fh-icon{width:20px;height:20px;color:#a5d4e9}
html .fh-hero .hero-trust{display:flex;justify-content:center;margin:22px auto 0;width:fit-content;max-width:100%;font-size:clamp(13px,1.55vw,20px);line-height:1.6;gap:16px;font-weight:400}
html .fh-hero .hero-trust>.icon:first-child{width:30px;height:30px;flex:none}
html .fh-hero .hero-trust>.icon:last-child{display:block;width:23px;height:23px;flex:none}
@media(min-width:601px) and (max-width:900px){html .fh-hero .fh-stage{min-height:430px;padding-top:45px}.fh-copy{width:64%}html[dir=rtl] .fh-hero h1{font-size:5.6vw}html .fh-hero h1{font-size:3.8vw}.fh-description{font-size:16px}.fh-lead{font-size:19px}.fh-description br{display:none}html .fh-hero .hero-actions{gap:10px;margin-top:23px}html .fh-hero .hero-actions .button{font-size:13px;padding:10px 12px;gap:8px}.fh-features li{padding:0 10px}.fh-features h3{font-size:16px}.fh-features p{font-size:14px}.fh-symbol{width:46px;height:46px}.fh-symbol .fh-icon{width:29px;height:29px}.fh-features li:not(:last-child):after{top:69px}.fh-benefits li{font-size:12px;padding:0 7px;gap:9px}}
@media(min-width:601px) and (max-width:900px){
html .fh-hero .fh-stage{min-height:clamp(370px,52vw,430px)}
.fh-symbol{width:42px;height:42px}.fh-symbol .fh-icon{width:26px;height:26px}
.fh-features h3{font-size:14px}.fh-features p{font-size:12px}
.fh-features li:not(:last-child):after{top:60px}
}
@media(min-width:601px) and (max-width:700px){
.fh-features{grid-template-columns:repeat(2,minmax(0,1fr));margin:16px 0}
.fh-symbol{width:30px;height:30px;border:0;margin-bottom:4px}.fh-symbol .fh-icon{width:24px;height:24px}
.fh-features h3{margin-bottom:4px}.fh-features p{line-height:1.5}
.fh-features li:nth-child(-n+2){padding-bottom:10px}
.fh-features li:not(:last-child):after{top:40px;bottom:6px}
.fh-arrow{top:7px;width:10px;height:14px;inset-inline-end:-5px}
.fh-features li:nth-child(2):after,.fh-features li:nth-child(2) .fh-arrow{display:none}
.fh-benefits{padding:7px 3px;min-height:38px}.fh-benefits li{font-size:10px;padding:0 5px;gap:5px}.fh-benefits .fh-icon{width:17px;height:17px}
html .fh-hero .hero-trust{margin-top:16px}.fh-extension{padding-bottom:16px}
}
@media(max-width:600px){
html .fh-hero .hero-art{width:650px;height:auto;top:-78px;left:0;right:auto;transform:none;background-size:auto 100%;background-position:0% 0%;opacity:1}
html[dir=ltr] .fh-hero .hero-art{left:auto;right:0;transform:scaleX(-1)}
html .fh-hero .fh-stage{padding:25px 0 24px;min-height:313px}
.fh-copy{width:100%}
html .fh-hero h1{font-size:clamp(23px,6.9vw,37px);line-height:1.25;letter-spacing:-.04em}
html[dir=rtl] .fh-hero h1{font-size:clamp(28px,8.4vw,43px);line-height:1.3;letter-spacing:0}
html .fh-hero .hero-instrument{font-size:19px;margin:5px 0 17px}
.fh-lead{font-size:16px;line-height:1.5;margin-bottom:9px;font-weight:500}
.fh-description{font-size:13px;line-height:1.75}.fh-description br{display:none}
html .fh-hero .hero-actions{margin-top:19px;gap:10px}
html .fh-hero .hero-actions .button{font-size:11px;min-height:44px;padding:9px 10px;gap:7px}
html .fh-hero .hero-actions .how-play-icon{width:22px;height:22px}html .fh-hero .hero-actions .primary>.icon{width:19px;height:19px}
.fh-heading{font-size:19px;gap:13px}.fh-heading>span{max-width:84%}
.fh-features{grid-template-columns:repeat(2,minmax(0,1fr));margin:12px 0 14px;row-gap:0}
.fh-features li{padding:0 8px}.fh-symbol{border:0;width:26px;height:26px;margin-bottom:4px}.fh-symbol .fh-icon{width:23px;height:23px}
.fh-features li:nth-child(-n+2){padding-bottom:10px}
.fh-features h3{font-size:13px;line-height:1.35;margin-bottom:4px}.fh-features p{font-size:11px;line-height:1.5}
.fh-features li:not(:last-child):after{top:36px;bottom:6px}.fh-features li:nth-child(2):after{display:none}
.fh-arrow{top:6px;width:10px;height:14px;inset-inline-end:-5px}.fh-features li:nth-child(2) .fh-arrow{display:none}
.fh-benefits{padding:7px 3px;min-height:38px;border-radius:8px}.fh-benefits li{font-size:9px;padding:0 4px;gap:4px}.fh-benefits .fh-icon{width:15px;height:15px}
html .fh-hero .hero-trust{font-size:11px;gap:9px;margin-top:14px;line-height:1.65;align-items:center}html .fh-hero .hero-trust>.icon:first-child{width:22px;height:22px}html .fh-hero .hero-trust>.icon:last-child{width:17px;height:17px}
.fh-extension{padding-bottom:12px}
}
@media(max-width:360px){.fh-features li{padding-inline:4px}}

/* Desktop sizing is independent of the locked mobile/tablet presentation.
   The scene is fluid and uncropped; its canvas reads the same image projection. */
@media(min-width:1024px){
html .fh-hero{--fh-scene-width:78vw}
html .fh-hero .hero-art{inset:auto;left:0;right:0;top:calc(var(--fh-scene-width)* -.1198659);width:100%;height:calc(var(--fh-scene-width)* 1318 / 1193);aspect-ratio:auto;transform:none;background-size:auto 100%;background-position:14.2% 0%;mask-image:linear-gradient(90deg,#000 calc(var(--fh-scene-width) + 3.125vw - 100px),transparent calc(var(--fh-scene-width) + 3.125vw))}
html[dir=ltr] .fh-hero .hero-art{transform:scaleX(-1)}
html .fh-hero .fh-stage,html .fh-hero .fh-extension{width:calc(100% - clamp(64px,6.25vw,128px))}
html .fh-hero .fh-stage{min-height:clamp(460px,33vw,675px);padding-block:clamp(48px,3.4vw,70px) 30px}
html .fh-hero .fh-copy{width:56%}
html .fh-hero h1{font-size:clamp(36px,calc(3.2vw + 6px),58px)}
html[dir=rtl] .fh-hero h1{font-size:clamp(52px,calc(4.1vw + 8px),74px)}
html .fh-hero .hero-instrument{font-size:clamp(23px,calc(1.35vw + 7px),30px);margin:9px 0 18px}
html .fh-hero .fh-lead{font-size:clamp(20px,calc(1.2vw + 8px),27px);margin-bottom:11px}
html .fh-hero .fh-description{font-size:clamp(17px,calc(1vw + 6px),22px)}
html .fh-hero .hero-actions{max-width:900px;margin-top:25px;gap:16px}
html .fh-hero .hero-actions .button{font-size:clamp(17px,calc(1.2vw + 4px),22px);min-height:66px;padding:11px 20px;gap:14px}
html .fh-hero .hero-actions .how-play-icon{width:28px;height:28px}
html .fh-hero .hero-actions .primary>.icon{width:25px;height:25px}
html .fh-hero .fh-heading{font-size:clamp(30px,2.55vw,42px)}
html .fh-hero .fh-features h3{font-size:clamp(19px,1.5vw,25px)}
html .fh-hero .fh-features p{font-size:clamp(16px,1.3vw,21px)}
html .fh-hero .fh-benefits{min-height:50px;padding-block:10px}
html .fh-hero .fh-benefits li{font-size:clamp(14px,1.05vw,18px)}
html .fh-hero .hero-trust{font-size:clamp(16px,1.3vw,22px)}
}

/* Compact Arabic wording is visible only at the approved mobile breakpoint. */
.fh-benefits .fh-demo-mobile{display:none}
@media(max-width:600px){
html .fh-hero .fh-stage:before{content:'';position:absolute;inset:0 -16px 52px;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#03131e0a 0%,#03131e24 24%,#03131e24 72%,#03131e00 100%)}
html .fh-hero .hero-actions .how-play-icon{stroke-width:1.65}
html .fh-hero .hero-actions .how-play-icon>path{fill:#07162233}
html .fh-hero .hero-actions .primary{font-size:clamp(11px,3vw,12px)}
html[lang=ar] .fh-hero .hero-actions .primary{font-size:12px}
.fh-benefits .fh-demo-default{display:none}
.fh-benefits .fh-demo-mobile{display:inline}
html .fh-hero .hero-trust{width:100%;padding:6px 8px;gap:8px;border:1px solid #748597;border-radius:8px;background-color:#071622a3}
html .fh-hero .hero-trust>span{min-width:0}
html .fh-hero .hero-trust:hover{background-color:#152b3b}
}

/* Local hero refinement: preserve every existing frame and content dimension. */
html .fh-hero .hero-art{opacity:.9}
html .fh-hero .fh-description{text-shadow:0 1px 3px #00000029}
html .fh-hero .hero-trust,
html .fh-hero .hero-trust:hover,
html .fh-hero .hero-trust>.icon{color:var(--text)}
html .fh-hero .hero-trust>span{text-decoration-color:color-mix(in srgb,var(--text) 35%,transparent)}
html .fh-hero .hero-trust:hover>span{text-decoration-color:var(--text)}
/* Let the established strip and first two items determine its height. The new
   label can use two centered lines within that same compact row when needed. */
.fh-benefits li:last-child{contain:size}
.fh-settings-compact{display:none}
@media(max-width:700px){
.fh-settings-full{display:none}
.fh-settings-compact{display:inline}
}

/* Local precision pass: visual treatment only; existing geometry is unchanged. */
html .fh-hero .fh-lead{text-shadow:0 .5px 2px #00000024}
/* Reduce the transparent fraction by 20%: 36.1% → 28.9%. */
html .fh-hero .hero-actions .secondary{background-color:#071622b5}
html .fh-hero .hero-trust>.icon:first-child{color:var(--gold)}

/* Desktop density: size the scene, copy and controls independently while
   retaining the full-width composition and the locked mobile/tablet rules. */
@media(min-width:1200px){
html .fh-hero{--fh-stage-height:clamp(400px,min(28vw,54vh),560px);--fh-scene-width:min(66vw,calc(var(--fh-stage-height)*2.35))}
html .fh-hero .fh-stage{min-height:var(--fh-stage-height);padding-block:clamp(40px,2.8vw,58px) 24px}
html .fh-hero h1{font-size:clamp(42px,2.65vw,54px)}
html[dir=rtl] .fh-hero h1{font-size:clamp(56px,3.4vw,70px)}
html .fh-hero .hero-instrument{font-size:clamp(24px,1.35vw,28px);margin:7px 0 14px}
html .fh-hero .fh-lead{font-size:clamp(21px,1.35vw,25px);margin-bottom:9px}
html .fh-hero .fh-description{font-size:clamp(17px,1.05vw,20px)}
html .fh-hero .hero-actions{margin-top:20px}
html .fh-hero .hero-actions .button{font-size:clamp(16px,calc(1.08vw + 3.6px),20px);min-height:60px;padding:10px 18px}
html .fh-hero .fh-features{margin-block:19px}
html .fh-hero .fh-symbol{margin-bottom:8px}
html .fh-hero .fh-features h3{margin-bottom:6px}
html .fh-hero .fh-features li:not(:last-child):after{top:67px}
html .fh-hero .fh-benefits{min-height:48px;padding-block:9px}
html .fh-hero .hero-trust{margin-top:18px}
html .fh-hero .fh-extension{padding-bottom:21px}
}

/* One homepage desktop shell, using the existing Live Account wrap dimensions.
   Mobile/tablet and the independent global header retain their approved rules. */
@media(min-width:1200px){
#main:has(>.fh-hero){--page-content-max:1320px;--page-gutter:40px}
#main>.fh-hero,#main:has(>.fh-hero)>.main-content{width:min(var(--page-content-max),calc(100% - 2*var(--page-gutter)));margin-inline:auto}
html .fh-hero .fh-stage,html .fh-hero .fh-extension{width:100%}
html .fh-hero .fh-heading{font-size:clamp(24.9px,2.1165vw,34.86px)}
html .fh-hero .fh-heading:before,html .fh-hero .fh-heading:after{flex:1 1 0;min-width:0;height:1px;align-self:center}
html .fh-hero .fh-heading:before{background:linear-gradient(to right,#84b9d100,#84b9d1a6)}
html .fh-hero .fh-heading:after{background:linear-gradient(to left,#84b9d100,#84b9d1a6)}
html[dir=rtl] .fh-hero .fh-heading:before{background:linear-gradient(to left,#84b9d100,#84b9d1a6)}
html[dir=rtl] .fh-hero .fh-heading:after{background:linear-gradient(to right,#84b9d100,#84b9d1a6)}
}
@media(min-width:1600px){
#main:has(>.fh-hero){--page-content-max:1480px;--page-gutter:60px}
}

/* The scene and canvas retain their projection. End their visible backdrop at
   the feature boundary, including tablet gutters, behind all foreground copy.
   The hero clips this full-bleed layer; the approved mobile scene is untouched. */
@media(min-width:601px){
html .fh-hero .fh-extension{--fh-scene-fade:clamp(36px,5vw,96px);z-index:0}
html .fh-hero .fh-extension:before{content:'';position:absolute;inset-block:calc(-1 * var(--fh-scene-fade)) 0;inset-inline:calc((100% - 100vw)/2);z-index:-1;pointer-events:none;background:linear-gradient(to bottom,#03131e00 0,#03131e var(--fh-scene-fade),#03131e 100%)}
}

/* Narrow only the outer desktop benefit strip; retain all internal styling. */
@media(min-width:1200px){
html .fh-hero .fh-benefits{width:76%;margin-inline:auto}
}

/* A soft reflection travels on the existing one-pixel border only. */
@property --fh-border-x{syntax:'<percentage>';inherits:false;initial-value:0%}
@property --fh-border-y{syntax:'<percentage>';inherits:false;initial-value:0%}
.fh-benefits{position:relative}
.fh-benefits:after{content:'';position:absolute;inset:-1px;padding:1px;border-radius:inherit;pointer-events:none;background:radial-gradient(circle 36px at var(--fh-border-x) var(--fh-border-y),#fff6df59 0%,#efbd6445 35%,#efbd641f 65%,#efbd6400 100%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:fh-border-reflection 7s linear infinite}
@keyframes fh-border-reflection{0%,100%{--fh-border-x:0%;--fh-border-y:0%}46%{--fh-border-x:100%;--fh-border-y:0%}50%{--fh-border-x:100%;--fh-border-y:100%}96%{--fh-border-x:0%;--fh-border-y:100%}}
@media(prefers-reduced-motion:reduce){.fh-benefits:after{content:none;animation:none}}
