/* ============================================================
   CashLaw Global — Design System
   Authority Navy + Premium Gold | Poppins + Open Sans
   ============================================================ */

/* Google Fonts — loads in real browser; system fallback used in sandboxed preview */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ── Color Tokens ─────────────────────────────────────────── */
:root {
  --color-primary:       #192781;   /* CashLaw Royal Blue */
  --color-primary-700:   #1e3199;   /* Lighter blue */
  --color-secondary:     #334155;   /* Slate */
  --color-secondary-400: #64748B;   /* Muted slate */

  --color-gold:          #f0b80c;   /* CashLaw Gold */
  --color-gold-light:    #fef9e7;   /* Gold tint */
  --color-gold-hover:    #c99a0a;   /* Gold hover */

  --color-bg:            #F8FAFC;   /* Page background */
  --color-bg-alt:        #F1F5F9;   /* Alt section bg */
  --color-white:         #FFFFFF;

  --color-text:          #020617;   /* Primary text */
  --color-text-muted:    #64748B;   /* Secondary text */
  --color-text-light:    #94A3B8;   /* Disabled / hint */

  --color-border:        #E2E8F0;
  --color-border-dark:   #CBD5E1;

  --color-success:       #16A34A;
  --color-error:         #DC2626;
}

/* ── Typography Scale ─────────────────────────────────────── */
:root {
  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-body:    'Open Sans', system-ui, sans-serif;

  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg:   1.125rem;   /* 18px */
  --text-xl:   1.25rem;    /* 20px */
  --text-2xl:  1.5rem;     /* 24px */
  --text-3xl:  1.875rem;   /* 30px */
  --text-4xl:  2.25rem;    /* 36px */
  --text-5xl:  3rem;       /* 48px */
  --text-6xl:  3.75rem;    /* 60px */

  --leading-tight:  1.25;
  --leading-snug:   1.375;
  --leading-normal: 1.5;
  --leading-relaxed:1.625;
  --leading-loose:  1.75;

  --font-weight-regular:   400;
  --font-weight-medium:    500;
  --font-weight-semibold:  600;
  --font-weight-bold:      700;
  --font-weight-extrabold: 800;
}

/* ── Spacing Scale ────────────────────────────────────────── */
:root {
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --section-padding-y: var(--space-20);
  --container-max:     1200px;
  --container-padding: var(--space-6);
}

/* ── Shadows ──────────────────────────────────────────────── */
:root {
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:  0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg:  0 10px 15px rgba(0,0,0,0.08), 0 4px 6px rgba(0,0,0,0.04);
  --shadow-xl:  0 20px 25px rgba(0,0,0,0.08), 0 10px 10px rgba(0,0,0,0.04);
  --shadow-gold:0 4px 14px rgba(202,138,4,0.25);
}

/* ── Border Radius ────────────────────────────────────────── */
:root {
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-full: 9999px;
}

/* ── Z-Index Scale ────────────────────────────────────────── */
:root {
  --z-base:    0;
  --z-raised:  10;
  --z-dropdown:20;
  --z-sticky:  30;
  --z-overlay: 40;
  --z-modal:   50;
}

/* ── Transitions ──────────────────────────────────────────── */
:root {
  --transition-fast:   150ms ease;
  --transition-base:   200ms ease;
  --transition-slow:   300ms ease;
  --transition-slower: 400ms ease;
}

/* ── Breakpoints (reference only — use media queries) ──────── */
/* sm: 640px | md: 768px | lg: 1024px | xl: 1280px */
