/*
  ----------------------------------------
  Theme - Utility classes
  ----------------------------------------
*/

@import url("https://fonts.googleapis.com/css2?family=Archivo+Narrow:ital,wght@0,400;0,700;1,400;1,700&family=Inter:wght@300;400;600;800&display=swap");

:root {
    /* Font families */
    --font-body: "Inter", system-ui, sans-serif;
    --font-heading: "Archivo Narrow", system-ui, sans-serif;

    /* Font weights */
    --font-light: 200;
    --font-normal: 400;
    --font-semibold: 600;
    --font-bold: 700;
    --font-heavy: 800;

    /* Brand Colors */
    --brand-1: #f0b200; /* Bright orange */
    --brand-1-light: #e0f2fe;
    --brand-2: #0c4a6e; /* Blue */
    --brand-2-light: #bae6fd;
    --brand-3: #0f766e; /* Teal */
    --brand-3-light: #99f6e4;
    --brand-4: #a21caf; /* Fuchsia */
    --brand-4-light: #f5d0fe;

    /* Neutral Colors */
    --black: #030309;
    --darker: #27272a;
    --dark: #3f3f46;
    --darkest: #0b0b0b;
    --midtone: #94a2b8;
    --light: #d4d4d8;
    --lighter: #f4f4f5;
    --white: #ffffff;

    /* Semantic Colors */
    --success: #16a34a; /* Green */
    --success-light: #dcfce7;
    --info: #2563eb; /* Blue */
    --info-light: #dbeafe;
    --warning: #ea580c; /* Orange */
    --warning-light: #ffedd5;
    --error: #b91c1c; /* Red */
    --error-light: #fee2e2;
    --link: #2563eb; /* Blue */
    --highlight: #fef08a; /* Yellow */

    /* Border & Outline Widths */
    --border: 1px;
    --border-sm: 0.5px;
    --border-lg: 2px;

    /* Border Radius */
    --rounded: 0.25rem;
    --rounded-sm: 0.125rem;
    --rounded-lg: 0.5rem;

    /* Shadow */
    --shadow: 0 4px 4px 1px rgb(0 0 0 / 0.15), 0 2px 4px -2px rgb(0 0 0 / 0.25);
    --shadow-sm:
        0 2px 3px -0.5px rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-lg:
        0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

    /* Width Constraints */
    --max-w-text: 50ch;
    --max-w-form: 40rem;

    /* Container */
    --container-max: 1400px;
    --container-padding: 0 var(--space-lg);

    /* Fluid Text Scale – Generated with: `npx prewindcss text`
     Min viewport: 320px
     Max viewport: 1600px
     Min base size: 15px
     Max base size: 20px
     Min ratio: 1.25 - Major Third
     Max ratio: 1.414 - Augmented Fourth
  */
    --text-sm: clamp(0.75rem, 0.7165rem + 0.1675vw, 0.884rem);
    --text-base: clamp(0.9375rem, 0.8594rem + 0.3906vw, 1.25rem);
    --text-lg: clamp(1.172rem, 1.023rem + 0.7445vw, 1.767rem);
    --text-xl: clamp(1.465rem, 1.206rem + 1.293vw, 2.499rem);
    --text-2xl: clamp(1.831rem, 1.405rem + 2.129vw, 3.534rem);
    --text-3xl: clamp(2.289rem, 1.612rem + 3.385vw, 4.997rem);
    --text-4xl: clamp(2.861rem, 1.81rem + 5.256vw, 7.066rem);

    /* Fluid Space Scale – Generated with: `npx prewindcss space`
     Min viewport: 320px
     Max viewport: 1600px
     Min sm size: 12px
     Max sm size: 18px
     Min ratio: 1.5 - Perfect Fifth
     Max ratio: 1.667 - Major Sixth
  */
    --space-3xs: clamp(0.2222rem, 0.2171rem + 0.02579vw, 0.2429rem);
    --space-2xs: clamp(0.3333rem, 0.3155rem + 0.08938vw, 0.4048rem);
    --space-xs: clamp(0.5rem, 0.4563rem + 0.2186vw, 0.6749rem);
    --space-sm: clamp(0.75rem, 0.6563rem + 0.4688vw, 1.125rem);
    --space-md: clamp(1.125rem, 0.9374rem + 0.938vw, 1.875rem);
    --space-lg: clamp(1.688rem, 1.328rem + 1.798vw, 3.126rem);
    --space-xl: clamp(2.531rem, 1.861rem + 3.35vw, 5.211rem);
    --space-2xl: clamp(3.797rem, 2.574rem + 6.113vw, 8.688rem);
    --space-3xl: clamp(5.695rem, 3.499rem + 10.98vw, 14.48rem);
    --space-4xl: clamp(8.543rem, 4.643rem + 19.5vw, 24.14rem);
}
