/* ==========================================================================
   Facet design system — tokens
   Gina Empowerment diamond investment platform
   ========================================================================== */

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

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

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

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

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

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

:root {
    /* Colour — ink scale */
    --ink-950: #06070A;
    --ink-900: #0B0D12;
    --ink-850: #10131A;
    --ink-800: #161A22;
    --ink-750: #1D222C;
    --ink-700: #262C38;

    /* Colour — neutrals */
    --platinum: #ECEAE4;
    --mist: #9CA1AC;
    --mist-dim: #767D8A;

    /* Colour — accent */
    --sapphire-600: #2F5BFF;
    --sapphire-500: #4A72FF;
    --sapphire-400: #6A8CFF;
    --ice-200: #CFE0FF;

    /* Colour — semantic */
    --success: #37C99A;
    --danger: #F0555A;
    --warning: #E8B04A;

    /* Colour — lines and surfaces */
    --line: rgba(255, 255, 255, .10);
    --line-strong: rgba(255, 255, 255, .16);
    --line-soft: rgba(255, 255, 255, .06);
    --surface-1: var(--ink-900);
    --surface-2: var(--ink-850);
    --surface-3: var(--ink-800);
    --surface-raised: rgba(22, 26, 34, .82);
    --overlay: rgba(6, 7, 10, .78);

    /* Gradients */
    --grad-sapphire: linear-gradient(135deg, #6A8CFF 0%, #2F5BFF 55%, #1B3ACB 100%);
    --grad-ice: linear-gradient(140deg, #F4F7FF 0%, #CFE0FF 42%, #2F5BFF 100%);
    --grad-panel: linear-gradient(160deg, rgba(255, 255, 255, .05) 0%, rgba(255, 255, 255, .01) 42%, rgba(47, 91, 255, .07) 100%);
    --grad-glow: radial-gradient(60% 60% at 50% 30%, rgba(47, 91, 255, .32) 0%, rgba(6, 7, 10, 0) 72%);

    /* Type */
    --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --fs-eyebrow: .72rem;
    --fs-small: .82rem;
    --fs-body: .95rem;
    --fs-lead: 1.075rem;
    --fs-h6: 1rem;
    --fs-h5: 1.18rem;
    --fs-h4: clamp(1.35rem, 1.1vw + .9rem, 1.6rem);
    --fs-h3: clamp(1.6rem, 1.4vw + 1rem, 2.05rem);
    --fs-h2: clamp(2rem, 2.2vw + 1rem, 2.9rem);
    --fs-h1: clamp(2.55rem, 3.6vw + 1rem, 4.3rem);
    --fs-display: clamp(3rem, 4.6vw + 1rem, 5.4rem);

    /* Space */
    --space-1: .25rem;
    --space-2: .5rem;
    --space-3: .75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 2.75rem;
    --space-8: 3.5rem;
    --space-9: 5rem;
    --space-10: 7rem;

    /* Shape */
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 999px;

    /* Elevation */
    --shadow-sm: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 8px 24px rgba(0, 0, 0, .28);
    --shadow-md: 0 24px 60px rgba(0, 0, 0, .42);
    --shadow-glow: 0 18px 60px rgba(47, 91, 255, .26);

    /* Motion */
    --ease-out: cubic-bezier(.22, .68, .26, 1);
    --dur-fast: 160ms;
    --dur-base: 240ms;
    --dur-slow: 420ms;

    /* Layout */
    --container: 1240px;
    --container-narrow: 880px;
    --header-height: 76px;

    /* Layers */
    --z-header: 100;
    --z-drawer: 200;
    --z-modal: 300;
    --z-toast: 400;
}
