/* Persian (RTL) pages only. Loaded by /fa/... and nowhere else, so the English
   pages keep exactly the CSS they were audited with. Since RC5.3 (27.11.2026)
   the rules are keyed on dir="rtl" and also serve the Arabic page. System fonts only: no web
   font is downloaded. The brand wordmark stays Latin and left-to-right. */
html[dir="rtl"] body{font-family:"Vazirmatn","Iranian Sans","Geeza Pro","Noto Naskh Arabic","Noto Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif}
html[dir="rtl"] .brand{direction:ltr;unicode-bidi:isolate}
html[dir="rtl"] h1,html[dir="rtl"] h2,html[dir="rtl"] h3{font-family:inherit;letter-spacing:0;line-height:1.55}
html[dir="rtl"] .page-head h1{font-size:clamp(32px,4.2vw,56px)}
html[dir="rtl"] .eyebrow,html[dir="rtl"] .mm-group{letter-spacing:0;font-size:12px}
html[dir="rtl"] p,html[dir="rtl"] li,html[dir="rtl"] figcaption,html[dir="rtl"] label{line-height:1.95}
html[dir="rtl"] .lead{max-width:640px}
html[dir="rtl"] .paper ul,html[dir="rtl"] .content ul,html[dir="rtl"] .steps{padding-left:0;padding-right:22px}
html[dir="rtl"] .steps li{padding-left:0;padding-right:10px}
html[dir="rtl"] .button{gap:0;font-size:15px}
html[dir="rtl"] .fa h3{margin-top:44px}
html[dir="rtl"] .fa .paper h3{margin-top:0}
html[dir="rtl"] input,html[dir="rtl"] textarea,html[dir="rtl"] select{font-family:inherit;text-align:right}
/* Floating WhatsApp button: on the inline-end side for RTL (left), and the first
   photograph's caption keeps clear of it so the two never overlap on a phone. */
html[dir="rtl"] .floating{right:auto;left:22px}
@media(max-width:700px){
 html[dir="rtl"] .page-head h1{font-size:30px}
 html[dir="rtl"] .eyebrow{font-size:11px}
 html[dir="rtl"] .fa-hero figcaption{padding-left:132px;min-height:58px}
 html[dir="rtl"] .lp-hero figcaption{padding-right:0;padding-left:132px}
}
