/* ============================================================
   DESIGN TOKENS — Pack2Door
   Single source of truth for all design values
   ============================================================ */

:root {

  /* ── Colors ─────────────────────────────────────────────── */
  --color-primary:          #1D4ED8;
  --color-primary-dark:     #1a44c2;
  --color-primary-darker:   #1638a8;
  --color-primary-light:    #EFF6FF;
  --color-primary-subtle:   #DBEAFE;
  --color-primary-muted:    #93C5FD;

  --color-accent:           #F97316;
  --color-accent-dark:      #EA6C0A;
  --color-accent-light:     #FFF7ED;
  --color-accent-subtle:    #FED7AA;

  --color-bg:               #FFFFFF;
  --color-bg-secondary:     #F8FAFC;
  --color-bg-tertiary:      #F1F5F9;
  --color-bg-dark:          #0F172A;
  --color-bg-dark-secondary:#1E293B;

  --color-text:             #0F172A;
  --color-text-secondary:   #334155;
  --color-text-muted:       #64748B;
  --color-text-subtle:      #94A3B8;
  --color-text-inverse:     #FFFFFF;

  --color-border:           #E5E7EB;
  --color-border-light:     #F1F5F9;
  --color-border-dark:      #CBD5E1;

  --color-success:          #10B981;
  --color-success-light:    #ECFDF5;
  --color-success-subtle:   #D1FAE5;
  --color-warning:          #F59E0B;
  --color-warning-light:    #FFFBEB;
  --color-error:            #EF4444;
  --color-error-light:      #FEF2F2;


  /* ── Typography ─────────────────────────────────────────── */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               'Helvetica Neue', Arial, sans-serif;

  /* Type scale — Major Third (1.25) */
  --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 */
  --text-7xl:  4.5rem;     /* 72px */

  /* Font weights */
  --font-normal:    400;
  --font-medium:    500;
  --font-semibold:  600;
  --font-bold:      700;
  --font-extrabold: 800;

  /* Line heights */
  --leading-none:    1;
  --leading-tight:   1.2;
  --leading-snug:    1.35;
  --leading-normal:  1.5;
  --leading-relaxed: 1.65;
  --leading-loose:   1.8;

  /* Letter spacing */
  --tracking-tightest: -0.04em;
  --tracking-tighter:  -0.03em;
  --tracking-tight:    -0.02em;
  --tracking-snug:     -0.01em;
  --tracking-normal:    0em;
  --tracking-wide:      0.02em;
  --tracking-wider:     0.05em;
  --tracking-widest:    0.1em;


  /* ── Spacing (8px base system) ──────────────────────────── */
  --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-7:  1.75rem;   /* 28px */
  --space-8:  2rem;      /* 32px */
  --space-10: 2.5rem;    /* 40px */
  --space-12: 3rem;      /* 48px */
  --space-14: 3.5rem;    /* 56px */
  --space-16: 4rem;      /* 64px */
  --space-20: 5rem;      /* 80px */
  --space-24: 6rem;      /* 96px */
  --space-28: 7rem;      /* 112px */
  --space-32: 8rem;      /* 128px */
  --space-40: 10rem;     /* 160px */


  /* ── Border Radius ──────────────────────────────────────── */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   14px;
  --radius-xl:   18px;
  --radius-2xl:  24px;
  --radius-3xl:  32px;
  --radius-full: 9999px;


  /* ── Shadows ─────────────────────────────────────────────── */
  --shadow-xs:   0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-sm:   0 1px 3px 0 rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
  --shadow-md:   0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg:   0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl:   0 20px 25px -5px rgba(0, 0, 0, 0.07), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 0 0 1px rgba(0,0,0,0.04), 0 2px 16px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 0 0 1px rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.1);
  --shadow-primary: 0 4px 24px rgba(29, 78, 216, 0.25);
  --shadow-accent: 0 4px 24px rgba(249, 115, 22, 0.25);
  --shadow-dashboard: 0 32px 64px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.06);


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


  /* ── Layout ──────────────────────────────────────────────── */
  --max-width:     1280px;
  --nav-height:    72px;
  --section-py:    var(--space-28);
  --content-px:    var(--space-6);
}

/* ── Media query breakpoints (reference only) ────────────── */
/* sm:  640px  */
/* md:  768px  */
/* lg:  1024px */
/* xl:  1280px */
