/* ============================
   KHURAL.MN _system/scale.css
   Color-neutral design tokens shared by ALL themes.
   Themes override COLORS via their own palette.css, but inherit the rest.
   ============================ */

:root {
    /* ---------- TYPOGRAPHY ---------- */
    --ff-sans: 'Inter', 'Noto Sans', 'Segoe UI', system-ui, sans-serif;
    --ff-serif: 'Noto Serif', 'PT Serif', Georgia, serif;

    --fs-xs:   0.75rem;    /* 12 — chip, micro label */
    --fs-sm:   0.875rem;   /* 14 — meta, caption */
    --fs-base: 1rem;       /* 16 — body, nav */
    --fs-md:   1.125rem;   /* 18 — card title, subhead */
    --fs-lg:   1.5rem;     /* 24 — h3, panel */
    --fs-xl:   2rem;       /* 32 — h2, section */
    --fs-2xl:  clamp(2rem, 4vw, 3rem);  /* h1, hero */

    --fw-normal:  400;
    --fw-medium:  500;
    --fw-semi:    600;
    --fw-bold:    700;
    --fw-extra:   800;

    --lh-tight: 1.2;
    --lh-base:  1.55;

    /* ---------- SPACING (4px base) ---------- */
    --s-1: 4px;
    --s-2: 8px;
    --s-3: 12px;
    --s-4: 16px;
    --s-5: 24px;
    --s-6: 32px;
    --s-7: 48px;
    --s-8: 64px;

    /* ---------- RADIUS ---------- */
    --r-none: 0;
    --r-sm:   4px;
    --r-md:   8px;
    --r-pill: 999px;

    /* ---------- SHADOW ---------- */
    --sh-sm: 0 1px 3px rgba(15,23,42,.06);
    --sh-md: 0 4px 14px rgba(15,23,42,.08);
    --sh-lg: 0 12px 40px rgba(15,23,42,.14);

    /* ---------- MOTION ---------- */
    --motion-fast: 0.15s ease-out;
    --motion-base: 0.3s cubic-bezier(.4,0,.2,1);

    /* ---------- LAYOUT ---------- */
    --container: 1240px;

    /* ---------- BREAKPOINTS (reference) ---------- */
    --bp-sm: 480px;
    --bp-md: 768px;
    --bp-lg: 1024px;
    --bp-xl: 1280px;

    /* ---------- CARD (base component) ---------- */
    --card-radius: var(--r-none);
    --card-pad:    var(--s-4);
}
