/* Shared navigation; English typography follows the existing Ruh Essence palette. */
[hidden] { display: none !important; }
.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 7px 13px;
  margin: 0;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--forest);
  background: var(--paper);
  font-size: .76rem;
  font-weight: 600;
  white-space: nowrap;
}
.language-switch:hover { border-color: var(--gold); background: var(--sage-soft); }
.language-switch span { color: var(--gold); }
html[lang="en"] .language-switch { margin-left: auto; margin-right: 0; }
html[lang="ar"] .language-switch { margin-right: auto; margin-left: 0; }
.language-switch[lang="ar"] { font-family: "Alexandria", Tahoma, sans-serif; }
html[lang="en"] {
  --display: Georgia, "Times New Roman", serif;
  --body: "Trebuchet MS", Arial, sans-serif;
}
html[lang="en"] body { line-height: 1.7; }
html[lang="en"] .brand-copy strong { font-size: 1.55rem; letter-spacing: -.035em; }
html[lang="en"] .brand-copy small { text-align: left; font-size: .52rem; letter-spacing: .13em; margin-top: 4px; }
html[lang="en"] .hero h1 { font-weight: 400; line-height: 1.07; font-size: clamp(3rem, 5.3vw, 5rem); }
html[lang="en"] .hero h1 em { font-style: italic; }
html[lang="en"] .hero-lead { font-size: 1.08rem; }
html[lang="en"] .section-heading h2,
html[lang="en"] .sessions-intro h2,
html[lang="en"] .about-copy h2,
html[lang="en"] .contact-card h2 { font-weight: 400; line-height: 1.18; letter-spacing: -.035em; }
html[lang="en"] .course-title h2,
html[lang="en"] .birth-guide-intro h1,
html[lang="en"] .quiz-hero h1 { font-weight: 400; line-height: 1.2; }
html[lang="en"] .product-cover strong { line-height: 1.25; font-weight: 400; font-size: clamp(1.7rem, 2.45vw, 2.3rem); }
html[lang="en"] .product-kicker { left: 32px; right: auto; }
html[lang="en"] .product-copy p,
html[lang="en"] .free-tool-banner p,
html[lang="en"] .birth-guide-banner p { font-size: .91rem; }
html[lang="en"] .product-copy h3,
html[lang="en"] .free-tool-banner h3,
html[lang="en"] .birth-guide-banner h3 { line-height: 1.35; font-size: 1.3rem; }
html[lang="en"] .session-list h3 { line-height: 1.3; font-size: 1.45rem; }
html[lang="en"] .session-list p { font-size: .93rem; }
html[lang="en"] .principles h2 { font-size: 1.3rem; }
html[lang="en"] .principles p { font-size: .83rem; }
html[lang="en"] .text-link:hover span { transform: translateX(4px); }
html[lang="en"] .legal-shell ul,
html[lang="en"] .result-steps { padding-left: 22px; padding-right: 0; }
html[lang="en"] .legal-shell p,
html[lang="en"] .legal-shell li { font-size: .97rem; }
html[lang="en"] .legal-shell h2 { font-size: 1.4rem; }
html[lang="en"] .quiz-question legend { font-family: var(--body); font-size: 1rem; }
html[lang="en"] .quiz-question legend span { margin-left: 0; margin-right: 8px; }
html[lang="en"] .quiz-option { font-size: .94rem; }
html[lang="en"] .result-steps { font-size: .94rem; }
html[lang="en"] .safety-heading > p:last-child { font-size: .94rem; }
html[lang="en"] .goal-panel > p,
html[lang="en"] .waitlist-panel p,
html[lang="en"] .result-truth p { font-size: .9rem; }
html[lang="en"] .goal-panel h3,
html[lang="en"] .waitlist-panel h3 { font-size: 1.45rem; }
html[lang="en"] .quiz-result h2 { line-height: 1.2; font-weight: 400; }
.session-language-note { font-size: .84rem; color: var(--gold-soft) !important; margin-block: 22px 0; }
@media (max-width: 980px) {
  .nav-wrap { gap: 16px; }
  .main-nav { position: absolute; inset: 100% 0 auto; min-height: calc(100dvh - 84px); margin: 0; visibility: hidden; pointer-events: none; }
  .main-nav.open { visibility: visible; pointer-events: auto; }
  html[lang="en"] .language-switch,
  html[lang="ar"] .language-switch { margin-left: 0; margin-right: 0; }
  html[lang="en"] .nav-wrap > .brand + .language-switch { margin-left: auto; }
  html[lang="ar"] .nav-wrap > .brand + .language-switch { margin-right: auto; }
  html[lang="en"] .main-nav:not(.open) { transform: translateX(-105%); }
  html[lang="en"] .hero h1 { font-size: clamp(3rem, 8vw, 4.8rem); }
}
@media (max-width: 680px) {
  .nav-wrap { gap: 10px; }
  .main-nav { inset-block-start: 100%; min-height: calc(100dvh - 72px); }
  .language-switch { min-height: 38px; padding: 6px 10px; font-size: .7rem; }
  html[lang="en"] .brand-copy strong { font-size: 1.3rem; }
  html[lang="en"] .brand-copy small { font-size: .43rem; letter-spacing: .09em; }
  html[lang="en"] .hero h1 { font-size: clamp(2.8rem, 12vw, 4.5rem); }
  html[lang="en"] .hero-lead { font-size: 1rem; }
  html[lang="en"] .product-cover strong { font-size: 2.05rem; }
  html[lang="en"] .birth-guide-back { font-size: .7rem; }
  html[lang="en"] .quiz-hero h1 { font-size: 2.6rem; }
}
