/* The Arabic version of the public site (/ar/...): loaded after welcome.css.
   Norsal (declared in welcome.css; Arabic, variable weight) with Rubik (Latin, and the Arabic fallback) for headings and text. welcome.css is written with
   logical properties (inline-start/end), so it mirrors by itself; only what a font or a
   direction-specific shape needs is here. No script, no outside fonts. */
@font-face { font-family: 'Rubik'; src: url('/fonts/rubik-latin.woff2') format('woff2'); font-weight: 400 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Rubik'; src: url('/fonts/rubik-arabic.woff2') format('woff2'); font-weight: 400 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
:root {
  --head: 'Norsal', 'Rubik', system-ui, sans-serif;
  --body: 'Norsal', 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* Rubik is wider and heavier than Fraunces: the same headline at a smaller size */
  --fs-display: clamp(38px, 4.6vw, 72px);
  --fs-h1: clamp(34px, 4.6vw, 64px);
  --fs-h2: clamp(28px, 3.6vw, 50px);
  --fs-h3: clamp(24px, 2.8vw, 38px);
}
/* letter-spacing pulls the joined Arabic letters apart; Arabic has no italic */
[dir="rtl"] *, [dir="rtl"] *::before, [dir="rtl"] *::after { letter-spacing: 0 !important; font-style: normal !important; }
[dir="rtl"] :is(h1, h2, h3), [dir="rtl"] :is(.hero, .page-hero, .price-hero) h1 { line-height: 1.25; font-weight: 700; }
[dir="rtl"] .lead, [dir="rtl"] p { line-height: 1.7; }
[dir="rtl"] .chap-n, [dir="rtl"] .kit-n { font-family: 'Fraunces', serif; font-style: italic !important; }
/* the board's column names are Arabic words: no capitals to make */
[dir="rtl"] .col small { font-size: 12px; text-transform: none; }
/* the solutions' small labels: Arabic letters need more size than capitals do, and Norsal sits higher, so the strike-through moves up */
[dir="rtl"] :is(.shifts-head, .shift-from b) { font-size: 14px; }
[dir="rtl"] .shift-from s { --strike-y: 52%; }
