/* R20 «پیشخوان» — slice 1: the font token.
   THE swap point: the family names live ONLY in this file (two lines:
   --font-display and --font-body). Every font-family in the new r20-*
   CSS references only these tokens. Swapping the family is one edit
   here, never ten places. Display: Yekan Bakh Variable (wght 100-950,
   wdth 62.5-150). Body: IRANYekanX Variable (wght 100-1000). */
@font-face {
  font-family: 'Yekan Bakh';
  src: url('/static/fonts/YekanBakh-VF.woff2') format('woff2-variations');
  font-weight: 100 950;
  font-stretch: 62.5% 150%;
  font-display: swap;
}
@font-face {
  font-family: 'IRANYekanX';
  src: url('/static/fonts/IRANYekanXVF.woff2') format('woff2-variations');
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  --font-display: 'Yekan Bakh', Tahoma, sans-serif;
  --font-body: 'IRANYekanX', Tahoma, sans-serif;
  font-synthesis: none;

  /* Color — one accent + neutrals (research pattern 5). */
  --c-accent: #0053ff;
  --c-accent-ink: #ffffff;
  --c-ink: #0c0c0c;
  --c-body: #5c6573;
  --c-bg: #ffffff;
  --c-bg-soft: #f8f9fa;
  --c-border: #ebebeb;
  --c-success: #1e6b43;
  --c-urgent: #da1e28;
  --c-warn: #b45309;
  /* Radius. */
  --r-card: 8px;
  --r-btn: 8px;
  --r-pill: 999px;
  /* Spacing — 8px grid. */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 16px;
  --s-4: 24px;
  --s-5: 32px;
  --s-6: 48px;
  --s-7: 64px;
  --s-8: 80px;
  /* Type scale. */
  --t-hero: clamp(40px, 6vw, 80px);
  --t-hero-home: clamp(32px, 4vw, 52px);
  --t-hero-lh: 1.15;
  --t-section: clamp(32px, 3vw, 40px);
  --t-h2: 28px;
  --t-title: 20px;
  --t-body: 16px;
  --t-small: 13px;
  /* Layout. */
  --w-max: 1200px;
  --nav-h: 64px;
  --nav-h-mobile: 56px;
  --tabbar-h: 60px;
  /* Shadow (menu only — cards use a border, never a shadow). */
  --shadow-menu: 0 8px 24px rgb(16 24 40 / 0.08);
  /* Type — lead + score number. */
  --t-lead: 18px;
  --t-score: 56px;
}
