/* Shared typographic identity. The Latin run stays together inside the RTL name. */
@font-face {
  font-family: "CheckayAI Alexandria";
  src: url("/assets/fonts/alexandria-arabic-v1.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

body .site-wordmark.site-wordmark {
  display: inline-flex;
  align-items: baseline;
  flex: none;
  gap: 0;
  font-family: "CheckayAI Alexandria", "Readex Pro", Arial, sans-serif;
  font-size: var(--site-wordmark-size, 25px);
  font-weight: 660;
  font-style: normal;
  line-height: 1.35;
  letter-spacing: normal;
  color: #163b2c;
  white-space: nowrap;
}

body .site-wordmark .site-wordmark__ar,
body .site-wordmark .site-wordmark__ai,
body .site-wordmark .site-wordmark__question {
  font: inherit;
  color: inherit;
  letter-spacing: normal;
}

body .site-wordmark .site-wordmark__ar { font-size: .9em; }

body .site-wordmark .site-wordmark__ai {
  display: inline-flex;
  direction: ltr;
  margin-inline: .055em .18em;
  font-size: 1.02em;
  font-weight: 700;
  letter-spacing: -.035em;
}

body .site-wordmark .site-wordmark__ai > :first-child { color: #7a9450; }
body .site-wordmark .site-wordmark__ai > :last-child { color: #b58b26; }

body .site-wordmark .site-wordmark__question {
  font-size: .86em;
  font-weight: 620;
}

a:has(> .site-wordmark) {
  min-block-size: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

footer .site-wordmark { --site-wordmark-size: 20px; }
.aiai-handoff .site-wordmark { --site-wordmark-size: 37px; }

@media (max-width: 640px) {
  body .site-wordmark.site-wordmark { font-size: var(--site-wordmark-size, 23px); }
  footer .site-wordmark { --site-wordmark-size: 19px; }
  .aiai-handoff .site-wordmark { --site-wordmark-size: 32px; }
}
