/**
 * ============================================================================
 * GEC Frontend Framework
 * ============================================================================
 *
 * File        : typography.css
 * Layer       : 00-settings
 * Status      : Production
 *
 * Description:
 * Primitive and compatibility typography tokens.
 *
 * This file MUST NOT contain selectors other than :root.
 *
 * ============================================================================
 */

:root {
    /* Font families
     *
     * Runtime authority follows the self-hosted assets admitted by fonts.css.
     * Inter is currently the only bundled proportional family, so both body
     * and heading tokens resolve deterministically to Inter before system
     * fallbacks. Do not place an unbundled family ahead of Inter here.
     */
    --font-family-base:
        "Inter",
        system-ui,
        sans-serif;
    --font-family-heading:
        "Inter",
        system-ui,
        sans-serif;
    --font-family-mono:
        "JetBrains Mono",
        monospace;

    /* Font-size scale */
    --font-size-2xs: 0.6875rem;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;

    /* Responsive heading sizes */
    --font-size-h1-mobile: 2.5rem;
    --font-size-h2-mobile: 2rem;
    --font-size-h3-mobile: 1.75rem;

    /* Line-height scale */
    --line-height-tight: 1.2;
    --line-height-snug: 1.35;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.7;
    --line-height-body: var(--line-height-normal);

    /* Letter-spacing scale — `caps` carries the extra tracking uppercase
       eyebrow and label text needs to stay legible at small sizes. */
    --letter-spacing-tighter: -0.02em;
    --letter-spacing-tight: -0.01em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.04em;
    --letter-spacing-wider: 0.06em;
    --letter-spacing-widest: 0.09em;
    --letter-spacing-caps: 0.1em;

    /* Font-weight scale — only weights with a self-hosted Inter face
       (fonts.css) belong here, so the browser never synthesizes bold. */
    --font-weight-normal: 400;
    --font-weight-regular: var(--font-weight-normal);
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
}


/* ============================================================================
   End of File
   ============================================================================ */