/*
  ----------------------------------------
  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: #efb100; /* Sky blue */
  --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;
  --midtone: #71717a;
  --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: 1280px;
  --container-padding: 0 var(--space-lg);

  /* Fluid Text Scale – Generated with: `npx prewindcss text`
     Min viewport: 320px
     Max viewport: 1600px
     Min base size: 14px
     Max base size: 18px
     Min ratio: 1.25 - Major Third
     Max ratio: 1.414 - Augmented Fourth
  */
  --text-sm: clamp(0.7rem, 0.6761rem + 0.1195vw, 0.7956rem);
  --text-base: clamp(0.875rem, 0.8125rem + 0.3125vw, 1.125rem);
  --text-lg: clamp(1.094rem, 0.9695rem + 0.6212vw, 1.591rem);
  --text-xl: clamp(1.367rem, 1.147rem + 1.103vw, 2.249rem);
  --text-2xl: clamp(1.709rem, 1.341rem + 1.839vw, 3.181rem);
  --text-3xl: clamp(2.136rem, 1.546rem + 2.951vw, 4.497rem);
  --text-4xl: clamp(2.67rem, 1.748rem + 4.611vw, 6.359rem);

  /* 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);
}
