/**
 * Fediya Team — دو فونت لوکال (بدون CDN)
 * بدنه: Vazirmatn — خوانا، مینیمال
 * عناوین: Estedad (Fediya Display) — هندسی، شیک
 */

/* ——— Vazirmatn · body ——— */
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ——— Estedad · display / headings ——— */
@font-face {
  font-family: "Fediya Display";
  src: url("../fonts/display/Estedad-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fediya Display";
  src: url("../fonts/display/Estedad-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fediya Display";
  src: url("../fonts/display/Estedad-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Tokens — available before theme layers */
html[data-app="team"] {
  --font-body: "Vazirmatn", Tahoma, "Segoe UI", system-ui, sans-serif;
  --font-display: "Fediya Display", "Vazirmatn", Tahoma, sans-serif;
  --font-weight-body: 400;
  --font-weight-ui: 500;
  --font-weight-heading: 600;
  --font-weight-strong: 700;
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
}

/* Base typography — body + headings */
html[data-app="team"] body {
  font-family: var(--font-body);
  font-weight: var(--font-weight-body);
  font-feature-settings: "kern" 1, "liga" 1;
}

html[data-app="team"] :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--font-display);
  font-weight: var(--font-weight-heading);
  letter-spacing: var(--tracking-tight);
  line-height: 1.25;
}

html[data-app="team"] :is(button, input, select, textarea, .team-input) {
  font-family: var(--font-body);
}

html[data-app="team"] :is(th, .team-table th) {
  font-family: var(--font-body);
  font-weight: var(--font-weight-ui);
}

html[data-app="team"] strong,
html[data-app="team"] b {
  font-weight: var(--font-weight-strong);
}
