
/* =====================================================================
   PERSIAN (RTL) overrides. Font: Estedad, self-hosted.
   Rule: never letter-space Arabic-script text (it breaks letter joining).
   ===================================================================== */
:root{
  --sans:'Estedad','Inter Tight',system-ui,Tahoma,sans-serif;
  --serif:'Estedad','Inter Tight',system-ui,Tahoma,sans-serif;
  --mono:'Estedad','Inter Tight',system-ui,Tahoma,sans-serif;
}
html[lang=fa] *,html[lang=fa] *::before,html[lang=fa] *::after{letter-spacing:0!important}
html[lang=fa] body{line-height:1.75;font-feature-settings:"ss01" off}
html[lang=fa] .eyebrow,html[lang=fa] .card label,html[lang=fa] .scan-h,html[lang=fa] .tag-s,html[lang=fa] .bl,
html[lang=fa] .facts small,html[lang=fa] .cinfo small,html[lang=fa] .ft h5,html[lang=fa] .sv-nav small,html[lang=fa] .layer h4,html[lang=fa] .fit h3{text-transform:none;font-family:var(--sans);font-weight:600}
html[lang=fa] .eyebrow{font-size:14px;font-weight:600}
html[lang=fa] .card label{font-size:13px;font-weight:600}

/* latin-only bits stay LTR and keep their own face */
.latin,.field,.bar-top span,.note-ltr{direction:ltr;unicode-bidi:isolate}
html[lang=fa] .field input{font-family:'Inter Tight','Estedad',sans-serif;text-align:left}
html[lang=fa] .field input::placeholder{text-align:left}

/* display type */
html[lang=fa] h1{font-size:clamp(40px,5.4vw,86px);line-height:1.22;font-weight:800}
html[lang=fa] h1 .ln{padding:.04em 0 .02em}
html[lang=fa] h1 .ln:nth-child(3){padding-bottom:.4em}
html[lang=fa] h1 .grad{font-family:var(--sans);font-style:normal;font-weight:800;padding-right:0;padding-left:.1em}
html[lang=fa] h1 .shim{background:linear-gradient(100deg,#fff 0%,#fff 34%,rgba(255,255,255,.14) 50%,#fff 66%,#fff 100%);background-size:300% 100%;-webkit-background-clip:text;background-clip:text}
html[lang=fa] .swoosh{left:auto;right:0;transform:scaleX(-1);clip-path:inset(0 0 0 100%)}
html[lang=fa] h1.pulse .swoosh{animation:draw-rtl 1.3s var(--ease) 0s forwards}
@keyframes draw-rtl{to{clip-path:inset(0 0 0 0)}}
html[lang=fa] .fill{font-size:clamp(32px,4.4vw,66px);line-height:1.4;font-weight:700}
html[lang=fa] .fill .c{transition:color .35s}
html[lang=fa] .story h2,html[lang=fa] .svcs h2,html[lang=fa] .psec h2,html[lang=fa] .phero h1,html[lang=fa] .cta-band h2{line-height:1.3;font-weight:800}
html[lang=fa] .phero h1{font-size:clamp(34px,4.6vw,70px)}
html[lang=fa] .story h2{font-size:clamp(40px,5vw,78px);line-height:1.2}
html[lang=fa] .story h2 em,html[lang=fa] .svcs h2 em,html[lang=fa] .way h3 em{font-family:var(--sans);font-style:normal;font-weight:800}
html[lang=fa] .svcs h2 em{padding-right:0;padding-left:.08em}
html[lang=fa] .way h3,html[lang=fa] .svc h3,html[lang=fa] .steps li h3,html[lang=fa] .three h3,html[lang=fa] .incl h3,html[lang=fa] .psteps h3,html[lang=fa] .pill3 h3,html[lang=fa] .vals h3{line-height:1.35;font-weight:700}
html[lang=fa] .svc h3{font-size:clamp(19px,1.5vw,22px)}
html[lang=fa] .svc p,html[lang=fa] .incl p,html[lang=fa] .psteps p,html[lang=fa] .three p,html[lang=fa] .steps li p{line-height:1.8}
html[lang=fa] .sub,html[lang=fa] .lead,html[lang=fa] .lead2,html[lang=fa] .about-p,html[lang=fa] .plead,html[lang=fa] .cta-band p{line-height:1.85}
html[lang=fa] .card h2{font-size:22px;font-weight:800;line-height:1.5}
html[lang=fa] .btn{font-weight:700}
html[lang=fa] .nowebsite strong{font-weight:800}
html[lang=fa] .faq summary{font-weight:700;line-height:1.6}
html[lang=fa] .ring .num{font-family:var(--sans)}

/* direction-sensitive pieces */
[dir=rtl] .btn svg,[dir=rtl] .more svg,[dir=rtl] .nowebsite svg{transform:scaleX(-1)}
[dir=rtl] .btn:hover svg{transform:scaleX(-1) translateX(3px)}
[dir=rtl] .field .pre{padding-left:0;padding-right:0}
[dir=rtl] .field{direction:ltr}
[dir=rtl] .nowebsite{text-align:start}
[dir=rtl] .row .v{text-align:left}
[dir=rtl] .bl em{text-align:left}
[dir=rtl] .three>div{border-right:0;border-left:1px solid var(--line-l);padding:28px 28px 8px 28px}
[dir=rtl] .three>div:first-child{padding-right:0}
[dir=rtl] .three>div:last-child{border-left:0}
[dir=rtl] .steps li{padding:16px 22px 16px 0;border-left:0;border-right:2px solid var(--line-d)}
[dir=rtl] .steps li b{font-weight:600}
[dir=rtl] .rep{transform:perspective(1400px) rotateY(5deg) rotateX(2deg)}
[dir=rtl] .bar-top span{margin-left:0;margin-right:10px}
[dir=rtl] .tag-s{right:auto;left:16px}
[dir=rtl] .fix li{transform:translateX(-16px)}
[dir=rtl] .layer.on .fix li{transform:none}
[dir=rtl] .way li::before{content:"←";margin-right:0;margin-left:10px}
[dir=rtl] .faq details p{padding:0 0 26px 40px}
[dir=rtl] .svc.wide{padding:16px 16px 22px 28px}
[dir=rtl] .psteps>div{padding:26px 0 8px 24px}
[dir=rtl] .facts>div{padding:22px 0 6px 20px}
[dir=rtl] .phero-ill .num{left:auto;right:22px}
[dir=rtl] .hd .lang span{font-family:'Inter Tight',sans-serif}
[dir=rtl] .hd .lang b{font-family:'Estedad',sans-serif}
[dir=rtl] .crumbs i{display:inline-block;transform:scaleX(-1)}
[dir=rtl] .ft address{font-style:normal}
[dir=rtl] .ft address span,[dir=rtl] .ft address a{direction:ltr;unicode-bidi:isolate;display:block;text-align:right}
[dir=rtl] .cinfo .v,[dir=rtl] .cinfo a{direction:ltr;unicode-bidi:isolate;display:inline-block}
[dir=rtl] .ft-bot span{direction:rtl}
[dir=rtl] .wrap{direction:rtl}
[dir=rtl] .hd .in{direction:ltr}
[dir=rtl] .hd nav,[dir=rtl] .hd .login{direction:rtl}

@media (max-width:960px){
  html[lang=fa] .hl h1{font-size:min(11.4vw,52px);line-height:1.3}
  html[lang=fa] .hl .sub{font-size:15.5px;line-height:1.85}
  html[lang=fa] .story h2{font-size:38px}
}
@media (max-width:699px){
  html[lang=fa] .svc h3{font-size:14.5px;line-height:1.5}
  html[lang=fa] .svc.wide h3{font-size:17px}
}
@media (max-width:480px){
  html[lang=fa] .hd .btn-sm{font-size:12px}
}
