/* ============================================================
   SILVER FERN - Design Tokens
   Source: 01_brand_system.md
   ============================================================ */

:root {
  /* ── Brand Colors ── */
  --color-canopy:       #1B4332;   /* Primary headers, footers, structural framing */
  --color-canopy-dark:  #122e23;   /* Hover states, pressed */
  --color-canopy-mid:   #2d6a4f;   /* Secondary green, section tints */
  --color-canopy-light: #e8f5e9;   /* Light green tint for section backgrounds */
  --color-highvis:      #FF5A00;   /* CTAs, quote buttons, active badges */
  --color-highvis-dark: #d94e00;   /* Hover state for CTA */
  --color-highvis-light:#fff3ee;   /* Light orange tint */
  --color-charcoal:     #1A1C1E;   /* Headings, body copy, technical text */
  --color-silver:       #D5DADD;   /* Borders, card dividers, logo accents */
  --color-silver-dark:  #b0b8bc;   /* Darker borders */
  --color-paper:        #F8F9FA;   /* Background canvas, product card backgrounds */
  --color-paper-warm:   #f1f3f4;   /* Alternate section background */
  --color-white:        #FFFFFF;

  /* ── Status / Badge Colors ── */
  --color-compliant:    #1B4332;
  --color-warning:      #FF5A00;
  --color-info:         #1565C0;
  --color-success:      #2d6a4f;

  /* ── Typography ── */
  --font-heading:   'Montserrat', sans-serif;
  --font-body:      'Inter', sans-serif;
  --font-mono:      'Roboto Mono', monospace;

  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semibold:600;
  --fw-bold:    700;

  /* ── Type Scale ── */
  --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 */

  /* ── Spacing ── */
  --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;

  /* ── Border Radius ── */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-pill: 999px;

  /* ── Shadows ── */
  --shadow-sm:  0 1px 3px rgba(27,67,50,0.08), 0 1px 2px rgba(27,67,50,0.06);
  --shadow-md:  0 4px 12px rgba(27,67,50,0.10), 0 2px 4px rgba(27,67,50,0.06);
  --shadow-lg:  0 8px 24px rgba(27,67,50,0.12), 0 4px 8px rgba(27,67,50,0.08);
  --shadow-card:0 2px 8px rgba(26,28,30,0.07);

  /* ── Transitions ── */
  --transition-fast:  0.15s ease;
  --transition-base:  0.25s ease;
  --transition-slow:  0.4s ease;

  /* ── Layout ── */
  --max-width:       1360px;
  --nav-height:      72px;
  --sidebar-width:   260px;

  /* ── Z-Index Scale ── */
  --z-nav:     100;
  --z-modal:   200;
  --z-toast:   300;
}
