/* ============================================================
   MAX INDUSTRIAL TECHNOLOGIES — Design Tokens
   Palette: Deep graphite + vivid teal — industrial precision
   ============================================================ */

:root {
  /* --- Teal accent palette --- */
  --teal-800: #115E59;
  --teal-700: #0F766E;
  --teal-600: #0D9488;
  --teal-500: #14B8A6;
  --teal-400: #2DD4BF;
  --teal-100: #CCFBF1;
  --teal-50:  #F0FDFA;

  /* --- Graphite/charcoal neutrals --- */
  --gray-950: #030712;
  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50:  #F9FAFB;

  /* --- Legacy aliases (referenced directly in design.css) --- */
  --navy-800:   var(--gray-900);
  --navy-900:   var(--gray-950);
  --steel-300:  var(--gray-400);
  --steel-200:  var(--gray-300);
  --steel-100:  var(--gray-200);
  --steel-50:   var(--gray-100);
  --white:      #FFFFFF;
  --grey-50:    var(--gray-50);
  --grey-100:   var(--gray-100);
  --grey-400:   var(--gray-400);
  --grey-700:   var(--gray-700);
  --black:      var(--gray-950);

  /* --- Semantic colors --- */
  --color-bg-primary:           var(--white);
  --color-bg-secondary:         var(--gray-50);
  --color-bg-tertiary:          var(--gray-100);
  --color-bg-inverse:           var(--gray-800);

  --color-text-primary:         var(--gray-900);
  --color-text-secondary:       var(--gray-700);
  --color-text-tertiary:        var(--gray-500);
  --color-text-inverse:         var(--white);
  --color-text-on-accent:       var(--white);

  --color-border-primary:       var(--gray-200);
  --color-border-secondary:     var(--gray-100);
  --color-border-focus:         var(--teal-600);

  --color-accent:               var(--teal-600);
  --color-accent-hover:         var(--teal-500);
  --color-accent-active:        var(--teal-700);
  --color-accent-muted:         var(--teal-100);

  --color-header-bg:            #1D4170;
  --color-header-text:          var(--white);
  --color-footer-bg:            #0A1628;
  --color-footer-text:          var(--gray-300);
  --color-cta-bg:               var(--gray-800);
  --color-cta-accent:           var(--teal-400);

  --color-status-success:       #16A34A;
  --color-status-error:         #DC2626;
  --color-status-warning:       #D97706;

  /* --- Spacing (8px base) --- */
  --space-0:   0;
  --space-1:   2px;
  --space-2:   4px;
  --space-3:   8px;
  --space-4:   12px;
  --space-5:   16px;
  --space-6:   24px;
  --space-7:   32px;
  --space-8:   48px;
  --space-9:   64px;
  --space-10:  80px;
  --space-11:  96px;
  --space-12:  128px;

  /* --- Typography --- */
  --font-display:     'Oswald', 'Arial Narrow', sans-serif;
  --font-body:        'Raleway', 'Segoe UI', sans-serif;

  --text-xs:    0.6875rem;   /* 11px */
  --text-sm:    0.8125rem;   /* 13px */
  --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 */

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

  --leading-tight:    1.1;
  --leading-snug:     1.3;
  --leading-normal:   1.5;
  --leading-relaxed:  1.7;

  --tracking-tight:   -0.02em;
  --tracking-normal:  0;
  --tracking-wide:    0.06em;
  --tracking-wider:   0.12em;

  /* --- Layout --- */
  --max-content:  72ch;
  --max-wide:     1100px;
  --max-page:     1400px;

  --radius-sm:    3px;
  --radius-md:    6px;
  --radius-lg:    12px;
  --radius-full:  9999px;

  --shadow-sm:    0 1px 3px rgba(3,7,18,.08), 0 1px 2px rgba(3,7,18,.05);
  --shadow-md:    0 4px 12px rgba(3,7,18,.10), 0 2px 4px rgba(3,7,18,.06);
  --shadow-lg:    0 12px 32px rgba(3,7,18,.15), 0 4px 8px rgba(3,7,18,.08);
  --shadow-focus: 0 0 0 3px rgba(13,148,136,.28);

  /* --- Motion --- */
  --dur-instant:  50ms;
  --dur-fast:     150ms;
  --dur-normal:   250ms;
  --dur-slow:     400ms;

  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:     cubic-bezier(0, 0, 0.2, 1);
  --ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);

  /* --- Breakpoints (reference only — use in media queries) ---
     sm:  480px  |  md: 768px  |  lg: 1024px  |  xl: 1280px  */
}
