@font-face {
  font-family: 'Inter';
  src: url('/fonts/InterTight-Regular.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/fonts/InterTight-Medium.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/fonts/InterTight-SemiBold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  src: url('/fonts/IBMPlexSansArabic-Regular.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  src: url('/fonts/IBMPlexSansArabic-Medium.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  src: url('/fonts/IBMPlexSansArabic-SemiBold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background-image: linear-gradient(#FBFBFB .1em, transparent .1em), linear-gradient(90deg, #FBFBFB .1em, transparent .1em);
  background-size: 1em 1em;
  color: #111;
}

body.is-rtl,
html[dir="rtl"] body {
  font-family: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif;
}

.legal-shell {
  max-width: 820px;
  margin: 0 auto;
  padding: 72px 32px;
}

.legal-article {
  text-align: start;
  direction: ltr;
}

html[dir="rtl"] .legal-article,
body.is-rtl .legal-article {
  text-align: right;
  direction: rtl;
}

.legal-page-title,
.legal-page-content {
  font-family: inherit;
  unicode-bidi: plaintext;
  color: #111;
}

.legal-page-title {
  padding-bottom: 21px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.legal-page-content {
  font-size: 16px;
  line-height: 1.25;
  font-weight: 300;
}

.legal-page-content p {
  margin: 0 0 16px 0;
}

.legal-page-content p:last-of-type {
  margin-bottom: 0;
}

.legal-page-content a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

html[dir="rtl"] .legal-page-title,
html[dir="rtl"] .legal-page-content,
body.is-rtl .legal-page-title,
body.is-rtl .legal-page-content {
  font-family: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif;
}

.legal-updated {
  margin-top: 21px;
  padding-top: 21px;
  color: #666;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 300;
}

@media (max-width: 480px) {
  .legal-shell {
    padding: 42px 32px;
  }

  .legal-page-title {
    font-size: 21px;
    line-height: 1.2;
  }
}
