/* Stage 02B · Typography review v1.0.0 · 2026-09-21
   Use ONLY after approval, inside the existing demo wrapper.
   No colors, @font-face, root-size override, network loads or logo selectors.
   The 02B label completes original Stage 02; it does not renumber the roadmap.
*/
[data-automation-brand="v1"] {
  --ab-font-ui: "Vazirmatn", Tahoma, sans-serif;
  --ab-type-hero-size: 2.25rem;
  --ab-type-page-title-size: 2rem;
  --ab-type-form-title-size: 1.5rem;
  --ab-type-section-title-size: 1.25rem;
  --ab-type-card-title-size: 1.125rem;
  --ab-type-body-size: 1rem;
  --ab-type-label-size: 0.875rem;
  --ab-type-field-size: 1rem;
  --ab-type-button-size: 0.9375rem;
  --ab-type-helper-size: 0.875rem;
  --ab-type-legal-size: 0.875rem;
  --ab-type-caption-size: 0.8125rem;
  font-family: var(--ab-font-ui);
  font-size: var(--ab-type-body-size);
  font-weight: 400;
  line-height: 1.9;
  font-synthesis: none;
  letter-spacing: normal;
  text-align: start;
}
[data-automation-brand="v1"] :where(button, input, textarea, select) {
  font-family: inherit;
  font-synthesis: none;
  letter-spacing: normal;
}
[data-automation-brand="v1"] .ab-type-hero {
  font-family: var(--ab-font-ui);
  font-size: var(--ab-type-hero-size);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: normal;
  text-align: start;
}
[data-automation-brand="v1"] .ab-type-page-title {
  font-family: var(--ab-font-ui);
  font-size: var(--ab-type-page-title-size);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: normal;
  text-align: start;
}
[data-automation-brand="v1"] .ab-type-form-title {
  font-family: var(--ab-font-ui);
  font-size: var(--ab-type-form-title-size);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: normal;
  text-align: start;
}
[data-automation-brand="v1"] .ab-type-section-title {
  font-family: var(--ab-font-ui);
  font-size: var(--ab-type-section-title-size);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: normal;
  text-align: start;
}
[data-automation-brand="v1"] .ab-type-card-title {
  font-family: var(--ab-font-ui);
  font-size: var(--ab-type-card-title-size);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: normal;
  text-align: start;
}
[data-automation-brand="v1"] .ab-type-body {
  font-family: var(--ab-font-ui);
  font-size: var(--ab-type-body-size);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: normal;
  text-align: start;
}
[data-automation-brand="v1"] .ab-type-label {
  font-family: var(--ab-font-ui);
  font-size: var(--ab-type-label-size);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: normal;
  text-align: start;
}
[data-automation-brand="v1"] .ab-type-field {
  font-family: var(--ab-font-ui);
  font-size: var(--ab-type-field-size);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  text-align: start;
}
[data-automation-brand="v1"] .ab-type-button {
  font-family: var(--ab-font-ui);
  font-size: var(--ab-type-button-size);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: normal;
  text-align: start;
}
[data-automation-brand="v1"] .ab-type-helper {
  font-family: var(--ab-font-ui);
  font-size: var(--ab-type-helper-size);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: normal;
  text-align: start;
}
[data-automation-brand="v1"] .ab-type-legal {
  font-family: var(--ab-font-ui);
  font-size: var(--ab-type-legal-size);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: normal;
  text-align: start;
}
[data-automation-brand="v1"] .ab-type-caption {
  font-family: var(--ab-font-ui);
  font-size: var(--ab-type-caption-size);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: normal;
  text-align: start;
}
[data-automation-brand="v1"] .ab-type-field::placeholder {
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  opacity: 1;
}
[data-automation-brand="v1"] .ab-type-ltr { direction: ltr; unicode-bidi: isolate; }
[data-automation-brand="v1"] .ab-type-number { font-variant-numeric: tabular-nums; }
@media (max-width: 47.999rem) {
  [data-automation-brand="v1"] {
    --ab-type-hero-size: 1.75rem;
    --ab-type-page-title-size: 1.75rem;
    --ab-type-form-title-size: 1.375rem;
    --ab-type-section-title-size: 1.125rem;
    --ab-type-card-title-size: 1.0625rem;
  }
}
