html[lang="ar"] body {
  font-family: "Noto Sans Arabic", sans-serif;
  text-align: start;
}

html[lang="ar"] .privacy .page {
  text-align: start;
}

html[lang="ar"] .prose,
html[lang="ar"] .prose .updated {
  font-family: "Noto Sans Arabic", sans-serif;
  letter-spacing: normal;
}

html[lang="ar"] :is(h1, h2, h3):not(.nc *),
html[lang="ar"] .label,
html[lang="ar"] .pill {
  font-family: "Noto Sans Arabic", sans-serif;
  letter-spacing: normal;
}

html[lang="ar"] .prose p,
html[lang="ar"] .prose li {
  line-height: 1.9;
}

html[lang="ar"] .prose ul {
  padding-inline: 20px 0;
}

html[lang="ar"] .prose h1 {
  line-height: 1.4;
}

html[lang="ar"] .label {
  text-transform: none;
}

html[lang="ar"] code,
html[lang="ar"] pre,
html[lang="ar"] .ipa {
  direction: ltr;
  unicode-bidi: isolate;
}

.site-language {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.site-language a {
  color: inherit;
  text-underline-offset: 0.2em;
}

.privacy .top:has(.site-language) {
  flex-wrap: wrap;
  gap: 1rem;
}

.chrome .site-language {
  margin-bottom: 24px;
}

html[lang="ar"] .chrome {
  --display: "Noto Sans Arabic", sans-serif;
  --sans: "Noto Sans Arabic", sans-serif;
}

html[lang="ar"] .chrome .site-nav :is(button, a, p, b, span, small, em) {
  font-family: var(--sans);
  letter-spacing: normal;
  line-height: 1.5;
}

html[lang="ar"] .chrome :is(h1, h2):not(.nc *) {
  line-height: 1.4;
}

html[lang="ar"] .chrome :is(.features, .install) {
  text-align: start;
}

html[lang="ar"] .chrome .install li {
  padding-inline: 38px 0;
}

html[lang="ar"] .chrome .install li::before {
  inset-inline: 0 auto;
}

html[lang="ar"] .chrome .install code {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

html[lang="ar"] .chrome .crop {
  direction: ltr;
}

html[lang="ar"] .chrome .site-nav__feature::before {
  inset-inline: -30px auto;
}

html[lang="ar"] .chrome .site-nav__feature em::after {
  content: "←";
}
