/* =========================================================
   ZiaMap Theme. Design tokens lifted from the live site to
   match design fidelity. Sourced 2026-05-25.
   ========================================================= */

@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; /* ZiaMap Gold */
  --brand-1-light: #e0f2fe;
  --brand-2: #0c4a6e;
  --brand-2-light: #bae6fd;
  --brand-3: #0f766e;
  --brand-3-light: #99f6e4;
  --brand-4: #a21caf;
  --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;
  --success-light: #dcfce7;
  --info: #2563eb;
  --info-light: #dbeafe;
  --warning: #ea580c;
  --warning-light: #ffedd5;
  --error: #b91c1c;
  --error-light: #fee2e2;
  --link: #2563eb;
  --highlight: #fef08a;

  /* 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);
  --shadow-brand: 0 0 30px rgba(240, 178, 0, 0.15);

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

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

  /* Fluid Text Scale. 320px to 1600px viewport. Major Third to Augmented Fourth ratio. */
  --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. 320px to 1600px viewport. Perfect Fifth to Major Sixth ratio. */
  --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);

  /* Heights (referenced by .desktop nav) */
  --height-md: 5rem;
}
