@font-face{font-family:Cormorant;src:url(/assets/home/CormorantGaramond-SemiBold.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:Cormorant;src:url(/assets/home/CormorantGaramond-MediumItalic.woff2) format("woff2");font-weight:500;font-style:italic;font-display:swap}
@font-face{font-family:EBG;src:url(/assets/home/EBGaramond-Regular.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:EBG;src:url(/assets/home/EBGaramond-Italic.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:Nastaliq;src:url(/assets/home/nastaliq.woff2) format("woff2");font-display:swap}
:root{--sky:#081537;--sky2:#0d2260;--ink:#f4ead3;--soft:rgba(244,234,211,.78);--gold:#e6c372;--gold2:#c89b3c;--parch:#f3e6c6;--parch-ink:#2b2416;--pad:max(20px,6vw)}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;background:var(--sky)}
body{margin:0;background:var(--sky);color:var(--ink);font:18px/1.55 EBG,Georgia,serif;overflow-x:hidden}
img{display:block;max-width:100%}
a{color:var(--gold)}
h1,h2,h3{font-family:Cormorant,Georgia,serif;font-weight:600;letter-spacing:.005em;margin:0}
.nq{font-family:Nastaliq,serif;direction:rtl}
.en{font-family:EBG,Georgia,serif}

/* top bar */
.nav{position:fixed;z-index:50;left:0;right:0;top:0;display:flex;align-items:center;justify-content:space-between;padding:calc(12px + env(safe-area-inset-top)) var(--pad) 12px;pointer-events:none}
.nav>*{pointer-events:auto}
.brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;font:600 21px/1 Cormorant,serif}
.brand img{width:30px;height:30px;border-radius:8px}
.brand .nq{color:var(--gold);font-size:19px;line-height:1}
.navr{display:flex;align-items:center;gap:18px}
.langs{display:flex;gap:14px;font-size:15px;padding:5px 14px;border-radius:999px;background:rgba(8,21,55,.55);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.langs a{color:var(--ink);text-decoration:none;opacity:.72;padding:4px 0}
.langs a[aria-current]{opacity:1;border-bottom:1px solid var(--gold)}
.langs a:hover{opacity:1}
.getapp{font:600 16px/1 Cormorant,serif;color:var(--ink);text-decoration:none;border:1px solid rgba(230,195,114,.7);border-radius:999px;padding:9px 16px;background:rgba(8,21,55,.55);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}

/* the story stage */
.story{position:relative;background:var(--sky)}
.stage{position:relative;overflow:hidden;isolation:isolate}
.sky{position:absolute;inset:0;z-index:0;background:radial-gradient(120% 80% at 60% 45%,#16307a 0%,#0c1f58 38%,#081537 70%,#050e28 100%);overflow:hidden}
.sky i{position:absolute;left:0;right:0;top:0;height:calc(100% + 1000px);background:url(/assets/home/sky-a.svg) 0 0/1000px 1000px;will-change:transform}
.sky i+i{background-image:url(/assets/home/sky-b.svg);background-size:700px 700px;opacity:.9}
.sky b{position:absolute;inset:0;background:url(/assets/home/sky-b.svg) 300px 200px/900px 900px;animation:twinkle 5s ease-in-out infinite alternate;opacity:.4}
@keyframes twinkle{to{opacity:1}}
.moon{position:absolute;z-index:1;inset-inline-start:38%;top:13vh;top:13svh;width:clamp(34px,4vw,56px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 40% 38%,#fff8d8,#f1d98e 55%,#c9a54e);box-shadow:0 0 30px 8px rgba(246,220,140,.35),0 0 90px 30px rgba(246,220,140,.12);will-change:transform}
.garland{position:absolute;z-index:2;inset-inline-end:-2%;top:-1%;width:clamp(160px,22vw,330px);transform:scaleX(-1);pointer-events:none}
.garden{position:absolute;z-index:4;left:50%;bottom:-2px;width:max(100%,900px);height:auto;margin-left:calc(max(100%,900px)/-2);pointer-events:none;will-change:transform}

.rosette{position:absolute;z-index:3;left:0;top:0;width:1000px;height:1000px;transform-origin:0 0;pointer-events:none}
.rosette .glow{position:absolute;inset:-120px;border-radius:50%;background:radial-gradient(closest-side,rgba(240,200,110,.30),rgba(60,100,200,.18) 55%,transparent 75%)}
.pc{position:absolute;will-change:transform,opacity;backface-visibility:hidden}
.ray{left:480px;top:-45px;width:40px;height:170px;transform-origin:20px 545px}
.pet{left:440px;top:-20px;width:120px;height:140px;transform-origin:60px 520px}
.inn{left:462px;top:195px;width:76px;height:140px;transform-origin:38px 305px}
.seg{left:259px;top:80px;width:482px;height:176px;transform-origin:241px 420px;filter:drop-shadow(0 6px 10px rgba(0,0,0,.35))}
.seg img{width:482px;height:176px}
.lab{position:absolute;left:141px;width:200px;top:34px;height:52px;display:flex;justify-content:center;align-items:center;opacity:0}
.lab b{white-space:nowrap;font:600 34px/1 Cormorant,serif;color:#f8e3a4;letter-spacing:.02em;padding:7px 20px 9px;border-radius:999px;background:linear-gradient(#173273,#0b1a4c);box-shadow:0 0 0 2px #e2b552,0 6px 14px rgba(0,0,0,.4)}

.stars{position:absolute;inset:0;z-index:5;pointer-events:none}
.gs{position:absolute;left:0;top:0;width:28px;height:28px;margin:-14px 0 0 -14px;background:url(/assets/home/star.svg) center/contain no-repeat;will-change:transform,opacity}

.phone{position:absolute;z-index:6;left:0;top:0;width:300px;height:652px;border-radius:44px;transform-origin:0 0;background:#000;box-shadow:0 0 0 7px #17130d,0 0 0 8.5px #caa65e,0 0 0 9px rgba(0,0,0,.4),0 40px 90px rgba(0,0,0,.6);will-change:transform,opacity}
.phone .scr{position:absolute;inset:0;border-radius:44px;overflow:hidden}
.phone .scr img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .45s ease}
.phone .scr img.on{opacity:1}
.phone .isl{position:absolute;left:50%;top:10px;width:86px;height:25px;margin-left:-43px;border-radius:13px;background:#000}
.halo{position:absolute;left:58px;top:408px;width:184px;height:184px}
.halo i{position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 2px rgba(248,222,140,.75),0 0 26px 6px rgba(248,222,140,.5);animation:halo 3.2s ease-in-out infinite}
@keyframes halo{0%,100%{opacity:.35;transform:scale(.97)}50%{opacity:1;transform:scale(1.04)}}

/* hero copy */
.hero{position:absolute;z-index:8;inset-inline-start:var(--pad);top:50vh;top:50svh;transform:translateY(-50%);width:min(34vw,560px)}
.eyebrow{font:500 italic 19px/1.3 Cormorant,serif;color:var(--gold);margin:0 0 12px;letter-spacing:.02em}
.hero h1{font-size:clamp(42px,4.6vw,82px);line-height:1.02;color:#fff6df;margin:0 0 18px}
.hero h1 .ln{display:block}
.sub{color:var(--soft);font-size:clamp(17px,1.35vw,20px);max-width:30em;margin:0 0 24px}
.badges{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.badges a{display:block;border-radius:9px}
.badges img{height:48px;width:auto}
.ig{flex-basis:100%;margin:4px 0 0;font-size:14px}
.note{font-size:15px;color:rgba(244,234,211,.7);margin:14px 0 0}
.rule{display:block;width:120px;height:10px;margin:0 0 18px;background:linear-gradient(90deg,transparent,var(--gold) 30%,var(--gold) 70%,transparent) center/100% 1px no-repeat}
.rule::after{content:"";display:block;width:8px;height:8px;margin:1px auto 0;transform:rotate(45deg);background:var(--gold)}
.hero-space{height:100vh;height:100svh}

/* features (static: stacked cards; motion: captions beside the ring) */
.feats{position:relative;z-index:8;padding:40px var(--pad)}
.feats .kick{font:600 13px/1 EBG,serif;letter-spacing:.28em;text-transform:uppercase;color:var(--gold);margin:0 0 10px}
.feats>h2{font-size:clamp(30px,3vw,44px);line-height:1.1;margin:0 0 28px;color:#fff6df}
.feat .num{font:500 italic 18px/1 Cormorant,serif;color:var(--gold);margin:0 0 8px}
.feat h3{font-size:clamp(30px,3.3vw,54px);line-height:1.04;color:#fff6df;margin:0 0 14px}
.feat p.body{margin:0;color:var(--soft);font-size:clamp(18px,1.4vw,21px)}
.sphone{width:220px;border-radius:32px;overflow:hidden;box-shadow:0 0 0 6px #17130d,0 0 0 7.5px #caa65e,0 24px 50px rgba(0,0,0,.5);margin:22px auto 0}
.sphone img{width:100%;height:auto}

/* Shahnameh band */
.bandwrap{position:relative;z-index:9;padding:40px 0}
.shead{text-align:center;padding:0 var(--pad);margin-bottom:22px}
.shead h2{font-size:clamp(32px,3.4vw,52px);line-height:1.05;color:#fff6df}
.shead p{margin:6px 0 0;font:500 italic clamp(18px,1.5vw,23px)/1.3 Cormorant,serif;color:var(--gold)}
.band{--bh:clamp(330px,58vh,600px);position:relative;height:var(--bh);overflow:hidden;background:#0e2a78;box-shadow:inset 0 3px 0 #e6c372,inset 0 6px 0 #0b1a46,inset 0 8px 0 #c89b3c,inset 0 -3px 0 #e6c372,inset 0 -6px 0 #0b1a46,inset 0 -8px 0 #c89b3c,0 20px 60px rgba(0,0,0,.45)}
.tiles{position:absolute;top:0;bottom:0;left:0;width:160%;background:url(/assets/home/tile-panel.webp) 0 50%/auto 100% repeat-x}
.band::after{content:"";position:absolute;inset:0;box-shadow:inset 0 3px 0 #e6c372,inset 0 6px 0 #0b1a46,inset 0 8px 0 #c89b3c,inset 0 -3px 0 #e6c372,inset 0 -6px 0 #0b1a46,inset 0 -8px 0 #c89b3c;pointer-events:none}
.strip{position:absolute;top:0;bottom:0;left:0;display:flex;align-items:center;gap:clamp(18px,2.4vw,40px);padding:0 4px}
.ep{--ph:min(calc(var(--bh) - 128px),74vw);flex:none;width:calc(var(--ph) + 22px);margin:0;padding:10px 10px 0;background:linear-gradient(#f7ecd2,#ead8b0);border-radius:6px;box-shadow:0 0 0 2px #c89b3c,0 0 0 5px #f3e6c6,0 0 0 6.5px #a87a22,0 18px 40px rgba(0,0,0,.45)}
.ep .fr{width:var(--ph);height:var(--ph);overflow:hidden;border-radius:3px;box-shadow:0 0 0 1.5px #a87a22}
.ep img{width:100%;height:100%;object-fit:cover}
.ep figcaption{height:70px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;font:600 clamp(17px,1.5vw,21px)/1.15 Cormorant,serif;color:var(--parch-ink);padding:0 6px}
.ep figcaption span{font:500 italic 15px/1.2 Cormorant,serif;color:#6b4c12;margin-bottom:3px}

/* widget copy */
.wcopy{position:relative;z-index:8;padding:40px var(--pad);max-width:640px}
.wcopy h2{font-size:clamp(34px,3.6vw,56px);line-height:1.04;color:#fff6df;margin:0 0 14px}
.wcopy p{margin:0;color:var(--soft)}
.wcopy .pills{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:18px;font:500 italic 19px/1.2 Cormorant,serif;color:var(--gold)}

/* pricing and footer */
.get{position:relative;z-index:2;padding:90px var(--pad) 40px;background:linear-gradient(var(--sky),#0a1a48 60%,#08153a);text-align:center}
.get h2{font-size:clamp(34px,3.6vw,54px);color:#fff6df;margin:0 0 30px}
.plans{display:grid;grid-template-columns:1fr 1fr;gap:22px;max-width:980px;margin:0 auto 22px;text-align:start}
.plan{background:linear-gradient(#f7ecd2,#ecdcb8);color:var(--parch-ink);border-radius:14px;padding:26px 28px;box-shadow:0 0 0 2px #c89b3c,0 0 0 6px #f3e6c6,0 0 0 7.5px #a87a22,0 24px 50px rgba(0,0,0,.35)}
.plan h3{font-size:30px;color:#1f3a7a;margin:0 0 8px}
.plan p{margin:0;font-size:17px}
.plan .price{font:500 italic 19px/1.3 Cormorant,serif;color:#6b4c12;margin:0 0 10px}
.small{color:rgba(244,234,211,.72);font-size:15px;margin:26px auto 26px;max-width:36em}
.get .badges{justify-content:center}
.free{margin:14px 0 0;font-size:16px;color:rgba(244,234,211,.8)}
footer{padding:28px var(--pad) calc(48px + env(safe-area-inset-bottom));background:#06112e;color:rgba(244,234,211,.65);font-size:15px;border-top:1px solid rgba(230,195,114,.3)}
footer nav{display:flex;flex-wrap:wrap;gap:8px 22px;margin-bottom:10px}
footer a{color:var(--ink);text-decoration:none}
footer p{margin:4px 0}

/* static (reduced motion, no JS) */
html:not(.motion) .feat{display:grid;grid-template-columns:1fr;gap:6px;max-width:980px;margin:0 auto 54px}
html:not(.motion) .feats>h2,html:not(.motion) .feats .kick{text-align:center}
html:not(.motion) .strip{position:relative;overflow-x:auto;scroll-snap-type:x mandatory;height:100%;padding:0 var(--pad);-webkit-overflow-scrolling:touch}
html:not(.motion) .ep{scroll-snap-align:center}
html:not(.motion) .tiles{width:100%}
html:not(.motion) .wcopy{margin:0 auto;text-align:center}
html:not(.motion) .wcopy .pills{justify-content:center}
html:not(.motion) .phone .halo i{animation:none;opacity:.8}
@media (min-width:900px){html:not(.motion) .feat{grid-template-columns:1fr 260px;align-items:center;gap:40px}html:not(.motion) .feat .sphone{margin:0}}

/* motion: everything lives in one pinned stage */
.motion .story{height:1240vh;height:1240svh}
.motion .stage{position:sticky;top:0;height:100vh;height:100svh}
.motion .hero-space{display:none}
.motion .hero>*{animation:rise 1.1s cubic-bezier(.2,.7,.2,1) backwards}
.motion .hero>:nth-child(2){animation-delay:.12s}.motion .hero>:nth-child(3){animation-delay:.24s}.motion .hero>:nth-child(4){animation-delay:.36s}.motion .hero>:nth-child(5){animation-delay:.48s}.motion .hero>:nth-child(6){animation-delay:.6s}
@keyframes rise{from{opacity:0;transform:translateY(26px)}}
.motion .rosette,.motion .phone{animation:fade 1.4s ease backwards}
@keyframes fade{from{opacity:0}}
.motion .feats{position:absolute;inset-inline-start:var(--pad);top:50%;transform:translateY(-50%);width:min(36vw,540px);padding:0;opacity:0;will-change:opacity}
.motion .feats>h2{display:none}
.motion .feat-list{position:relative;height:300px}
.motion .feat{position:absolute;left:0;right:0;top:0;opacity:0;will-change:transform,opacity}
.motion .feat .sphone,.motion .wcopy .sphone{display:none}
.motion .w{transition:none}
.motion .bandwrap{position:absolute;inset:0;padding:0;display:none;flex-direction:column;justify-content:center;pointer-events:none;visibility:hidden}
.motion.band-on .bandwrap{display:flex}
.motion .shead{opacity:0;will-change:transform,opacity}
.motion .band{will-change:transform,opacity;opacity:0}
.motion .strip{will-change:transform,opacity;padding:0}
.motion .tiles{will-change:transform}
.motion .ep img{will-change:transform;transform:scale(1.14)}
.motion .wcopy{position:absolute;inset-inline-start:var(--pad);top:50%;transform:translateY(-50%);width:min(36vw,520px);padding:0;opacity:0}
.motion .stars,.motion .garland,.motion .moon{display:block}
html:not(.motion) .stars{display:none}

/* stacked layout (phones, tablets in portrait) */
.stacked .hero{left:0;right:0;top:0;transform:none;width:auto;max-width:none;text-align:center;padding:calc(64px + env(safe-area-inset-top)) 20px 0}
.stacked .hero h1{font-size:clamp(36px,9.6vw,64px);margin-bottom:12px}
.stacked .sub{margin:0 auto 18px;font-size:16.5px;max-width:28em}
.stacked .rule{margin:0 auto 14px}
.stacked .badges{justify-content:center}
.stacked .badges img{height:42px}
.stacked .note{font-size:14px;margin-top:10px}
.motion.stacked .feats{left:20px;right:20px;width:auto;transform:none;text-align:center}
.motion.stacked .feat-list{height:220px}
.stacked .feat h3{font-size:clamp(26px,6.6vw,38px);margin-bottom:8px}
.stacked .feat p.body{font-size:16.5px}
.motion.stacked .wcopy{left:20px;right:20px;width:auto;top:calc(64px + env(safe-area-inset-top));transform:none;text-align:center}
.stacked .wcopy .pills{justify-content:center;font-size:17px}
.stacked .wcopy h2{font-size:clamp(32px,8.4vw,52px)}
.stacked .band{--bh:clamp(320px,56vh,560px)}
.stacked .moon{inset-inline-start:auto;inset-inline-end:7%;top:9vh;top:9svh}
.stacked .garland{width:clamp(96px,26vw,220px)}
@media (max-width:760px){.plans{grid-template-columns:1fr}.plan{padding:22px}.getapp{display:none}.brand .nq{display:none}.langs{gap:12px;font-size:14.5px;padding:4px 12px}}
@media (max-width:360px){.brand span.nm{display:none}}

/* lead line above the plans */
.lead{font:500 italic clamp(22px,2.2vw,30px)/1.35 Cormorant,serif;color:var(--gold);max-width:26em;margin:0 auto 18px}

/* right to left, Persian type */
@font-face{font-family:Vazirmatn;src:url(/fonts/vazirmatn-400.woff2) format("woff2");font-weight:400;font-display:swap;unicode-range:U+0600-06FF,U+200C-200F,U+FB50-FDFF,U+FE70-FEFF}
@font-face{font-family:Vazirmatn;src:url(/fonts/vazirmatn-700.woff2) format("woff2");font-weight:700;font-display:swap;unicode-range:U+0600-06FF,U+200C-200F,U+FB50-FDFF,U+FE70-FEFF}
[dir=rtl] .garland{transform:none}
html[lang=fa] body{font-family:Vazirmatn,EBG,Tahoma,sans-serif;font-size:17px;line-height:1.85}
html[lang=fa] :is(h1,h2,h3,.brand,.getapp,.eyebrow,.feat .num,.feats .kick,.shead p,.wcopy .pills,.plan .price,.lead,.lab b,.ep figcaption,.ep figcaption span){font-family:Vazirmatn,EBG,Tahoma,sans-serif;font-style:normal;letter-spacing:0}
html[lang=fa] :is(h1,h2,h3){font-weight:700;line-height:1.4}
html[lang=fa] .hero h1{font-size:clamp(34px,3.7vw,64px);line-height:1.35}
html[lang=fa].stacked .hero h1{font-size:clamp(30px,8vw,52px)}
html[lang=fa] .feat h3{font-size:clamp(26px,2.6vw,42px)}
html[lang=fa].stacked .feat h3{font-size:clamp(22px,5.6vw,32px)}
html[lang=fa] .shead h2,html[lang=fa] .wcopy h2,html[lang=fa] .get h2{font-size:clamp(28px,2.8vw,44px)}
html[lang=fa].stacked .wcopy h2{font-size:clamp(26px,7vw,42px)}
html[lang=fa] .feat p.body{font-size:clamp(16.5px,1.2vw,19px)}
html[lang=fa] .lab b{font-weight:700;font-size:30px;padding:9px 20px 11px}
html[lang=fa] .ep figcaption{font-weight:700;font-size:clamp(15px,1.2vw,18px);line-height:1.5}
html[lang=fa] .ep figcaption span{font-weight:400;font-size:13.5px}
html[lang=fa] .lead{font-size:clamp(19px,1.7vw,24px);line-height:1.7}
html[lang=fa] .plan p{font-size:16px}
html[lang=fa] .sub{line-height:1.9}
html[lang=de] .hero h1{font-size:clamp(38px,3.9vw,72px)}
html[lang=de].stacked .hero h1{font-size:clamp(32px,8.2vw,58px)}
