﻿/* ==========================================================================
   Design Tokens & CSS Custom Properties
   ========================================================================== */

:root {
  /* Primary Colors */
  --primary-orange: #FFA237;
  --primary-orange-alt: #FF9E2D;
  --secondary-cyan: #59D0DC;
  --secondary-teal: #1099A8;
  --secondary-blue: #0B5DB8;
  
  /* Background Colors */
  --bg-white: #FFFFFF;
  --bg-cream: #FEFAF6;
  --bg-peach: #FFB860;
  
  /* Text Colors */
  --text-black: #000000;
  --text-gray: #707070;
  --text-gray-light: #AEAEAE;
  --text-dark-gray: #2D2D2D;
  --text-charcoal: #605D5D;
  --text-blue: #1673A7;
  --text-orange-accent: #F07738;
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Rajdhani', sans-serif;
  
  /* Font Sizes */
  --text-2xs: 14px;
  --text-xs: 16px;  /* body */
  --text-sm: 18px;  /* lead */
  --text-md: 20px;  /* card titles / small headings */
  --text-lg: 22px;  /* h3 */
  --text-xl: 28px;  /* brand / medium headings */
  --text-2xl: 32px; /* h2 small */
  --text-3xl: 40px; /* section titles */
  --text-4xl: 56px; /* hero h1 */;
  
  /* Font Weights */
  --weight-light: 300;
  --weight-normal: 400;
  --weight-bold: 700;
  
  /* Letter Spacing */
  --spacing-tight: 0.04px;
  --spacing-normal: 0.1px;
  --spacing-wide: 0.2px;
  --spacing-wider: 0.8px;
  
  /* Border Radius */
  --radius-sm: 20px;
  --radius-md: 28px;
  --radius-lg: 37px;
  
  /* Shadows */
  --shadow-card: 0px 20px 40px rgba(0, 0, 0, 0.161);
  
  /* Layout */
  --container-width: 1520px;
  --page-width: 1920px;
  --header-height: 129px;
  --footer-height: 243px;
  
  /* Spacing */
  --spacing-xs: 10px;
  --spacing-sm: 20px;
  --spacing-md: 40px;
  --spacing-lg: 60px;
  --spacing-xl: 80px;
  --spacing-2xl: 30px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* =========================
   Typography system (semantic)
   ========================= */
:root{
  /* Add missing weights (you already use --weight-semibold in header.css) */
  --weight-medium: 500;
  --weight-semibold: 600;

  /* Font sizes: responsive + consistent */
  --fs-small: clamp(0.875rem, 0.2vw + 0.83rem, 0.9375rem);   /* 14–15 */
  --fs-nav:   clamp(0.9375rem, 0.25vw + 0.9rem, 1rem);       /* 15–16 */
  --fs-body:  clamp(1rem, 0.35vw + 0.9rem, 1.125rem);        /* 16–18 */
  --fs-lead:  clamp(1.0625rem, 0.45vw + 0.95rem, 1.25rem);   /* 17–20 */

  --fs-h1: clamp(2.75rem, 3.6vw, 3.5rem); /* 44–56 */
  --fs-h2: clamp(2rem, 2.6vw, 2.5rem);    /* 32–40 */
  --fs-h3: clamp(1.375rem, 1.6vw, 1.75rem);/* 22–28 */

  --fs-brand: clamp(1.125rem, 1.2vw, 1.375rem); /* 18–22 */

  /* Line heights */
  --lh-body: 1.65;
  --lh-h1: 1.05;
  --lh-h2: 1.15;
  --lh-h3: 1.2;
}
