/* =========================
   TYPOGRAPHY LAYER
   =========================
   This file maps semantic typography tokens
   to actual UI elements and components.

   It must NOT contain raw pixel values.
   ========================= */

/* -------------------------
   Base text
   ------------------------- */

body {
    font-family: var(--font-body), sans-serif;
    font-size: var(--type-body);
    line-height: var(--line-normal);
}

p {
    font-size: var(--type-body);
    line-height: var(--line-normal);
}

small {
    font-size: var(--type-caption);
    line-height: var(--line-normal);
}

strong {
    font-size: var(--type-emphasis);
}

/* -------------------------
   Headings (semantic levels)
   ------------------------- */

h1 {
    font-family: var(--font-heading), sans-serif;
    font-size: var(--type-h1);
    line-height: var(--line-tight);
    font-weight: 700;
}

h2 {
    font-family: var(--font-heading), sans-serif;
    font-size: var(--type-h2);
    line-height: var(--line-tight);
    font-weight: 600;
}

h3 {
    font-family: var(--font-heading), sans-serif;
    font-size: var(--type-h3);
    line-height: var(--line-tight);
    font-weight: 600;
}

/* -------------------------
   Code
   ------------------------- */

code,
pre {
    font-family: var(--font-mono), monospace;
    font-size: var(--type-body);
}
