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

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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: "IBM Plex Sans Arabic", system-ui, -apple-system, "Geeza Pro", Tahoma, sans-serif;
  background: #FAFAF8;
  color: #1A1A1A;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  padding: 88px 24px 0;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding-bottom: 120px;
}

.opener .wordmark {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.28;
  margin-bottom: 28px;
  letter-spacing: 0;
}

.opener .positioning {
  font-size: 19px;
  line-height: 1.72;
  margin-bottom: 14px;
}

.opener .context {
  font-size: 17px;
  line-height: 1.8;
  color: #3D3D3D;
}

h2 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 20px;
}

section p + p {
  margin-top: 18px;
}

section p {
  font-size: 17px;
  line-height: 1.85;
}

.divider {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin: 72px 0;
}

.divider + section h2 {
  margin-top: 0;
}

a {
  color: #3B4856;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid #3B4856;
  outline-offset: 4px;
  border-radius: 2px;
}

footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 24px;
  text-align: center;
}

footer p {
  font-size: 13px;
  color: #6B6B6B;
  max-width: 680px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  body {
    padding: 112px 32px 0;
  }
  .opener .wordmark { font-size: 34px; }
  .opener .positioning { font-size: 20px; }
  h2 { font-size: 22px; margin-bottom: 22px; }
  section p { font-size: 18px; }
  section p + p { margin-top: 20px; }
  .divider { margin: 84px 0; }
}

@media (min-width: 1024px) {
  body {
    padding: 132px 48px 0;
  }
  .opener .wordmark { font-size: 38px; }
  .opener .positioning { font-size: 20px; }
  h2 { font-size: 24px; margin-bottom: 24px; }
  section p { font-size: 18px; }
  section p + p { margin-top: 20px; }
  .divider { margin: 100px 0; }
}
