/* ============================================================
   SILBERBERG CAPITAL — Design Tokens
   Brand colours, typography, spacing, shadows, transitions
   ============================================================ */

:root {
  /* ── Brand Colours ── */
  --color-primary:        #163149;   /* Deep corporate navy blue */
  --color-primary-dark:   #0E2236;   /* Darker navy for hover states */
  --color-primary-light:  #1A3B56;   /* Rich blue — secondary navy */
  --color-primary-rgb:    22, 49, 73;

  --color-accent:         #1B9145;   /* Growth green */
  --color-accent-bright:  #1FA249;   /* Active / bright green */
  --color-accent-dark:    #157A38;   /* Green hover state */
  --color-accent-rgb:     27, 145, 69;

  /* ── Neutral Colours ── */
  --color-dark:           #111827;   /* Almost black — main text */
  --color-dark-600:       #374151;   /* Body text secondary */
  --color-dark-500:       #6B7280;   /* Muted text */
  --color-dark-400:       #9CA3AF;   /* Placeholder text */

  --color-light:          #F7FAF8;   /* Soft off-white background */
  --color-white:          #FFFFFF;   /* Clean white */
  --color-border:         #E5E7EB;   /* Light grey for cards/lines */
  --color-border-dark:    #D1D5DB;   /* Slightly darker border */

  /* ── Semantic Colours ── */
  --color-success:        #059669;
  --color-warning:        #D97706;
  --color-danger:         #DC2626;
  --color-info:           #2563EB;

  /* ── Status Badge Colours ── */
  --status-open:          #059669;
  --status-open-bg:       #ECFDF5;
  --status-closing:       #D97706;
  --status-closing-bg:    #FFFBEB;
  --status-closed:        #DC2626;
  --status-closed-bg:     #FEF2F2;
  --status-funded:        #2563EB;
  --status-funded-bg:     #EFF6FF;

  /* ── Typography ── */
  --font-heading:  'Outfit', sans-serif;
  --font-body:     'Inter', sans-serif;

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

  --leading-tight:   1.25;
  --leading-normal:  1.6;
  --leading-relaxed: 1.75;

  --weight-normal:   400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;
  --weight-extrabold:800;

  /* ── Spacing Scale ── */
  --space-1:   0.25rem;   /* 4px */
  --space-2:   0.5rem;    /* 8px */
  --space-3:   0.75rem;   /* 12px */
  --space-4:   1rem;      /* 16px */
  --space-5:   1.25rem;   /* 20px */
  --space-6:   1.5rem;    /* 24px */
  --space-8:   2rem;      /* 32px */
  --space-10:  2.5rem;    /* 40px */
  --space-12:  3rem;      /* 48px */
  --space-16:  4rem;      /* 64px */
  --space-20:  5rem;      /* 80px */
  --space-24:  6rem;      /* 96px */

  /* ── Section Padding ── */
  --section-py:  var(--space-20);
  --section-px:  var(--space-6);

  /* ── Border Radius ── */
  --radius-sm:   0.375rem;  /* 6px */
  --radius-md:   0.5rem;    /* 8px */
  --radius-lg:   0.75rem;   /* 12px */
  --radius-xl:   1rem;      /* 16px */
  --radius-2xl:  1.5rem;    /* 24px */
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-sm:   0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md:   0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg:   0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl:   0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);

  /* ── Transitions ── */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   350ms ease;
  --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Z-Index Scale ── */
  --z-dropdown:  100;
  --z-sticky:    200;
  --z-overlay:   300;
  --z-modal:     400;
  --z-toast:     500;

  /* ── Container ── */
  --container-max: 1280px;
  --container-sm:  768px;
  --container-lg:  1024px;
}
