/*
 * Clixcel brand tokens. Every colour, font and size used by the site comes from here.
 * Brand palette: indigo #3E3D7B, gold #E0C600, lavender #F3F1F9.
 * Gold is a fill and accent colour only: it fails contrast as text on light backgrounds.
 */

@font-face {
    font-family: "Jost";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Jost";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("../fonts/jost-latin-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --indigo-950: #15143a;
    --indigo-900: #1f1e4a;
    --indigo-800: #2d2c62;
    --indigo-700: #3e3d7b;
    --indigo-600: #504f95;
    --indigo-500: #6766ae;
    --indigo-400: #8988c6;
    --indigo-300: #b0afdc;
    --indigo-200: #d4d3ed;
    --indigo-100: #e7e5f5;
    --indigo-50: #f3f1f9;

    --gold-800: #6f6200;
    --gold-700: #8f7e00;
    --gold-600: #bba500;
    --gold-500: #e0c600;
    --gold-400: #ead53c;
    --gold-300: #f1e27a;
    --gold-200: #f7eeb2;
    --gold-100: #fcf8de;

    --ink: #17162e;
    --ink-soft: #3d3c58;
    --ink-muted: #5f5e7a;
    --line: #e4e2ef;
    --line-strong: #cfcde2;
    --white: #ffffff;

    --success: #1d7a52;
    --success-bg: #e6f4ed;
    --danger: #b42318;
    --danger-bg: #fdecea;

    --color-bg: var(--white);
    --color-surface: var(--indigo-50);
    --color-text: var(--ink);
    --color-heading: var(--indigo-900);
    --color-muted: var(--ink-muted);
    --color-primary: var(--indigo-700);
    --color-primary-strong: var(--indigo-800);
    --color-accent: var(--gold-500);
    --color-accent-strong: #ccb400;
    --color-on-accent: var(--indigo-950);
    --color-focus: var(--gold-500);

    --font-display: "Jost", "Futura", "Century Gothic", "Avenir Next", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

    --text-xs: 0.8125rem;
    --text-sm: 0.9375rem;
    --text-base: 1.0625rem;
    --text-lg: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.12rem + 0.55vw, 1.5rem);
    --h1: clamp(2.6rem, 1.55rem + 4.3vw, 5rem);
    --h2: clamp(2rem, 1.35rem + 2.6vw, 3.4rem);
    --h3: clamp(1.35rem, 1.2rem + 0.6vw, 1.75rem);
    --h4: 1.2rem;

    --space-2xs: 0.25rem;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4.5rem;
    --section-y: clamp(4.5rem, 2.8rem + 6.5vw, 8.5rem);

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 36px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgb(21 20 58 / 0.06), 0 1px 1px rgb(21 20 58 / 0.04);
    --shadow: 0 14px 34px -14px rgb(21 20 58 / 0.22), 0 3px 8px -2px rgb(21 20 58 / 0.06);
    --shadow-lg: 0 34px 70px -24px rgb(21 20 58 / 0.35), 0 10px 22px -10px rgb(21 20 58 / 0.14);

    --container: 1200px;
    --container-wide: 1340px;
    --gutter: clamp(1rem, 0.4rem + 2.6vw, 2rem);
    --header-height: 72px;

    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --duration: 220ms;
}
