/* ==========================================================================
   NAPIMS Cooperative Design Tokens
   Single source of truth for the entire design system.
   ========================================================================== */

:root {
  /* ----- Brand color ----- */
  --clr-primary: #08683a;        /* NAPIMS Cooperative green */
  --clr-primary-dark: #06552f;   /* hover / pressed */
  --clr-primary-deep: #0e3d2c;   /* top bar, dark surfaces */
  --clr-primary-tint: #e8f3ec;   /* subtle green wash */

  /* ----- Accent (CTAs only) ----- */
  --clr-accent: #e8b820;         /* warm gold */
  --clr-accent-dark: #c99a12;

  /* ----- Neutrals ----- */
  --clr-white: #ffffff;
  --clr-surface: #f4f7f5;        /* light grey section background */
  --clr-border: #e1e8e4;
  --clr-ink: #1f2622;            /* headings */
  --clr-text: #3a4640;           /* body */
  --clr-muted: #5e6a64;          /* secondary text */

  /* ----- Typography ----- */
  --ff-base: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Arial, sans-serif;
  --fw-regular: 400;             /* body */
  --fw-medium: 500;              /* labels */
  --fw-semibold: 600;            /* navigation */
  --fw-bold: 700;                /* headings */

  /* ----- Spacing scale (4px base) ----- */
  --space-2xs: 0.25rem;   /*  4px */
  --space-xs: 0.5rem;     /*  8px */
  --space-sm: 0.75rem;    /* 12px */
  --space-md: 1rem;       /* 16px */
  --space-lg: 1.5rem;     /* 24px */
  --space-xl: 2rem;       /* 32px */
  --space-2xl: 3rem;      /* 48px */
  --space-3xl: 4.5rem;    /* 72px */
  --space-4xl: 6rem;      /* 96px */

  /* ----- Layout ----- */
  --container-max: 75rem;        /* 1200px */
  --container-pad: clamp(1rem, 4vw, 2rem);
  --topbar-h: 2.625rem;          /* 42px */
  --nav-h: 5.25rem;              /* 84px desktop */

  /* ----- Shape & elevation ----- */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 0.75rem;
  --shadow-sm: 0 1px 2px rgba(16, 33, 24, 0.06);
  --shadow-md: 0 12px 32px -8px rgba(16, 33, 24, 0.18);

  /* ----- Motion ----- */
  --transition: 200ms ease;

  /* ----- Layers ----- */
  --z-header: 100;
}
