/* Language controls and Arabic layout, scoped to the three public journeys. */
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/tajawal/tajawal-400.woff") format("woff"); }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/tajawal/tajawal-500.woff") format("woff"); }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/tajawal/tajawal-700.woff") format("woff"); }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 800; font-display: swap; src: url("../assets/fonts/tajawal/tajawal-800.woff") format("woff"); }
.public-page .header-controls { display: flex; align-items: center; gap: 18px; }
.public-page .language-switch { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; font-size: 13px; white-space: nowrap; }
.language-switch a { color: #ead5b0; text-decoration: none; padding: 10px 4px; min-height: 44px; display: inline-flex; align-items: center; }
.language-switch [aria-current="true"] { color: #aeb5c0; }
.language-switch .language-divider { color: #626b7c; }
.mobile-nav .language-switch { margin-top: 22px; }
html[lang="ar"] { --font-primary: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif; --font-sans: var(--font-primary); font-synthesis: none; }
html[lang="ar"] .public-page { line-height: 1.8; font-weight: 400; }
html[lang="ar"] .public-page h1 { line-height: 1.4; letter-spacing: 0; font-weight: 800; }
html[lang="ar"] .public-page h2, html[lang="ar"] .public-page h3 { line-height: 1.5; letter-spacing: 0; font-weight: 700; }
html[lang="ar"] .public-page .btn, html[lang="ar"] .faq-question, html[lang="ar"] .service-shortcut strong { font-weight: 700; }
html[lang="ar"] .public-page .main-nav .nav-link, html[lang="ar"] .service-state, html[lang="ar"] .service-shortcut small { font-weight: 500; }
html[lang="ar"] .public-page .eyebrow, html[lang="ar"] .pricing-eyebrow, html[lang="ar"] .founding-offer-kicker { letter-spacing: 0; }
html[lang="ar"] .public-page p, html[lang="ar"] .public-page li { line-height: 1.85; }
html[lang="ar"] .service-shortcuts, html[lang="ar"] .faq-question, html[lang="ar"] .contact-link-copy,
html[lang="ar"] .footer-container, html[lang="ar"] .capital-guidance-inline { text-align: start; }
html[lang="ar"] .link-arrow { margin-left: 0; margin-inline-start: auto; transform: scaleX(-1); }
html[lang="ar"] .service-card-action > span { transform: scaleX(-1); }
html[lang="ar"] .public-service-card ul { padding-left: 0; padding-inline-start: 20px; }
html[lang="ar"] .service-state, html[lang="ar"] .service-shortcut small { font-size: 12px; line-height: 1.7; }
html[lang="ar"] .public-page .main-nav .nav-link { font-size: 14px; margin-inline: 8px; }
html[lang="ar"] .faq-icon { margin-left: 0; margin-inline-start: 18px; }
html[lang="ar"] .mobile-nav-close { right: auto; left: 24px; }
html[lang="ar"] .public-page bdi, html[lang="ar"] [data-pricing]:not([data-pricing="access-cycle-days"]),
html[lang="ar"] .contact-link-copy > span { unicode-bidi: isolate; }
html[lang="ar"] [data-pricing]:not([data-pricing="access-cycle-days"]) { direction: ltr; display: inline-block; }
html[lang="ar"] .pricing-rate-title, html[lang="ar"] .pricing-price { letter-spacing: 0; }
html[lang="ar"] .credit-example > div { border-left: 0; border-inline-start: 2px solid var(--gold-metallic); }
html[lang="ar"] .credit-rules span { padding-left: 0; padding-inline-start: 20px; }
html[lang="ar"] .credit-rules span::before { left: auto; right: 0; }
html[lang="ar"] .founding-offer-countdown { font-size: 16px; line-height: 1.8; }
html[lang="ar"] .pricing-plan-cta { white-space: normal; }
html[lang="ar"] .bidi-token { direction: ltr; unicode-bidi: isolate; display: inline-block; max-inline-size: 100%; overflow-wrap: anywhere; vertical-align: baseline; }
html[lang="ar"] .ea-offer-inline-link { direction: ltr; unicode-bidi: isolate; display: inline-block; }
html[lang="ar"] .capital-guidance-row { display: block; margin-block-end: 5px; }
html[lang="ar"] .capital-equation { display: block; direction: ltr; unicode-bidi: isolate; text-align: right; white-space: normal; max-inline-size: 100%; margin-block-start: 2px; font-size: 13px; }
html[lang="ar"] .capital-guidance-note { font-weight: 400; }
@media (max-width: 640px) {
    .public-page .header-controls { gap: 16px; }
    .public-page .language-switch { font-size: 12px; gap: 6px; }
    html[lang="ar"] .public-page h1 { font-size: 29px; }
    html[lang="ar"] .service-shortcut { min-height: 150px; }
    html[lang="ar"] .service-shortcuts { text-align: center; }
    html[lang="ar"] .service-shortcut strong { font-size: 14px; line-height: 1.7; }
}

/* Solid Arabic heading color avoids transparent isolated words in WebKit. */
html[lang="ar"] .public-page .gold-gradient { background: none; color: #ddc79e; -webkit-text-fill-color: currentColor; }
html[lang="ar"] .service-back { display: inline-block; word-spacing: normal; }
html[lang="ar"] .public-page { word-spacing: normal; }
html[lang="ar"] .service-card-action { display: block; }
html[lang="ar"] .service-card-action > span { float: left; }
html[lang="ar"] .legal-box-full h1 { background: none; color: #ddc79e; -webkit-text-fill-color: currentColor; }
html[lang="ar"] .legal-text-body { text-align: start; line-height: 1.9; }
html[lang="ar"] .legal-text-body h2 { text-align: start; }
