/* ════════════════════════════════════════════
   Inter Font Family — Self-hosted
   Weights: 400 · 500 · 600 · 700 · 800
   format: woff2 (modern browsers)
════════════════════════════════════════════ */

@font-face {
  font-family: 'Inter';
  src: url('/static/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

@font-face {
  font-family: 'Inter';
  src: url('/static/fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

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

@font-face {
  font-family: 'Inter';
  src: url('/static/fonts/Inter-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ════════════════════════════════════════════
   Global Typography Reset
   Apply Inter across entire app
════════════════════════════════════════════ */

*,
*::before,
*::after {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11', 'ss01';
  /* cv02-cv11: Inter alternate characters for cleaner look    */
  /* ss01: Inter's alternate digit style (tabular numerals)   */
}

/* ── Type Scale ── */
:root {
  --font:        'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* sizes */
  --text-xs:    0.72rem;   /* 11.5px — labels, badges          */
  --text-sm:    0.8rem;    /* 12.8px — captions, meta          */
  --text-base:  0.875rem;  /* 14px   — body text               */
  --text-md:    0.95rem;   /* 15.2px — UI elements             */
  --text-lg:    1.05rem;   /* 16.8px — lead / intro            */
  --text-xl:    1.2rem;    /* 19.2px — card titles             */
  --text-2xl:   1.5rem;    /* 24px   — section subheads        */
  --text-3xl:   2rem;      /* 32px   — section heads           */
  --text-4xl:   2.6rem;    /* 41.6px — hero headline           */

  /* weights */
  --fw-normal:    400;
  --fw-medium:    500;
  --fw-semibold:  600;
  --fw-bold:      700;
  --fw-extrabold: 800;

  /* line heights */
  --lh-tight:   1.15;
  --lh-snug:    1.35;
  --lh-normal:  1.6;
  --lh-relaxed: 1.75;

  /* letter spacing */
  --ls-tight:   -0.04em;
  --ls-snug:    -0.02em;
  --ls-normal:   0em;
  --ls-wide:     0.04em;
  --ls-wider:    0.08em;
}
