/*
 * =====================================================
 * CONFIVATE MVP PRODUCT DESIGN TOKENS
 * =====================================================
 *
 * These tokens are the shared visual language for the
 * controlled MVP.
 *
 * Components must consume these variables rather than
 * introducing arbitrary visual values.
 * =====================================================
 */

:root {

    /* -------------------------------------------------
       Typography
       ------------------------------------------------- */

    --font-sans:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    --font-mono:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        monospace;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: clamp(2.25rem, 5vw, 3.75rem);

    --leading-tight: 1.1;
    --leading-heading: 1.2;
    --leading-body: 1.6;

    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;


    /* -------------------------------------------------
       Spacing
       ------------------------------------------------- */

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;


    /* -------------------------------------------------
       Brand / product palette
       ------------------------------------------------- */

    --color-ink-950: #091323;
    --color-ink-900: #101d31;
    --color-ink-800: #172840;
    --color-ink-700: #31445f;

    --color-teal-700: #08736f;
    --color-teal-600: #0b8983;
    --color-teal-500: #10a39c;
    --color-teal-100: #dff7f4;
    --color-teal-50: #effcfb;

    --color-violet-700: #5946b2;
    --color-violet-600: #6b56cc;
    --color-violet-100: #ece8ff;
    --color-violet-50: #f7f5ff;

    --color-white: #ffffff;

    --color-neutral-25: #fcfdff;
    --color-neutral-50: #f7f9fc;
    --color-neutral-100: #eef2f7;
    --color-neutral-200: #dde4ec;
    --color-neutral-300: #c8d1dc;
    --color-neutral-500: #68788d;
    --color-neutral-600: #526277;
    --color-neutral-700: #3c4b60;


    /* -------------------------------------------------
       Semantic states
       ------------------------------------------------- */

    --color-success-700: #176b45;
    --color-success-100: #dcf7e9;

    --color-warning-700: #8a5a08;
    --color-warning-100: #fff2ce;

    --color-danger-700: #a73737;
    --color-danger-100: #ffe1e1;

    --color-info-700: #285f9c;
    --color-info-100: #dfedff;


    /* -------------------------------------------------
       Semantic product tokens
       ------------------------------------------------- */

    --color-page:
        var(--color-neutral-50);

    --color-surface:
        var(--color-white);

    --color-surface-muted:
        var(--color-neutral-100);

    --color-surface-accent:
        var(--color-teal-50);

    --color-text:
        var(--color-ink-900);

    --color-text-strong:
        var(--color-ink-950);

    --color-text-muted:
        var(--color-neutral-600);

    --color-border:
        var(--color-neutral-200);

    --color-border-strong:
        var(--color-neutral-300);

    --color-primary:
        var(--color-teal-700);

    --color-primary-hover:
        #075f5c;

    --color-intelligence:
        var(--color-violet-600);

    --color-focus:
        #286ce2;


    /* -------------------------------------------------
       Radius
       ------------------------------------------------- */

    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-pill: 999px;


    /* -------------------------------------------------
       Shadows
       ------------------------------------------------- */

    --shadow-sm:
        0 1px 2px rgba(9, 19, 35, 0.05);

    --shadow-md:
        0 8px 24px rgba(9, 19, 35, 0.08);

    --shadow-lg:
        0 20px 50px rgba(9, 19, 35, 0.12);


    /* -------------------------------------------------
       Layout
       ------------------------------------------------- */

    --shell-width: 72rem;
    --content-width: 48rem;
    --header-height: 4.5rem;


    /* -------------------------------------------------
       Interaction
       ------------------------------------------------- */

    --focus-ring:
        0 0 0 3px rgba(40, 108, 226, 0.28);

    --transition-fast: 120ms ease;
    --transition-base: 180ms ease;
}


/* -----------------------------------------------------
   Reduced motion foundation
   ----------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

}
