/* Vazirmatn loaded via non-blocking <link> injected by js/main.js */

html {
  direction: rtl;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -3rem;
  z-index: 1000;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  background: var(--color-dark);
  color: var(--color-text-on-dark);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.section {
  padding-block: var(--space-16);
}

.section--dark {
  background-color: var(--color-dark);
  color: var(--color-text-on-dark);
}

.section--surface {
  background-color: var(--color-surface);
}

.section__header {
  margin-bottom: var(--space-10);
}

.section__title {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-extrabold);
  margin-bottom: var(--space-4);
}

.section__subtitle {
  font-size: var(--font-size-body-lg);
  color: var(--color-text-secondary);
  max-width: 36rem;
}

.section--dark .section__subtitle {
  color: var(--color-text-muted);
}

.text-hero {
  font-size: var(--font-size-hero);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
}

.text-h1 {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-extrabold);
}

.text-h2 {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
}

.text-h3 {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
}

.text-h4 {
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-bold);
}

.text-body-lg {
  font-size: var(--font-size-body-lg);
  line-height: var(--line-height-relaxed);
}

.text-body {
  font-size: var(--font-size-body);
  line-height: var(--line-height-normal);
}

.text-caption {
  font-size: var(--font-size-caption);
  color: var(--color-text-secondary);
}

.text-muted {
  color: var(--color-text-secondary);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-hero {
  padding-block: var(--space-20) var(--space-16);
  background-color: var(--color-bg);
}

.page-hero__title {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-extrabold);
  margin-bottom: var(--space-4);
}

.page-hero__desc {
  font-size: var(--font-size-body-lg);
  color: var(--color-text-secondary);
  max-width: 32rem;
}
