/* ==========================================================================
   SMAC design tokens — the single source for colour, type, spacing, radius,
   shadow and motion. Every other stylesheet reads these variables.
   (Organised the same way as the MenThee site: tokens -> components -> pages.)
   ========================================================================== */

:root {
  /* Colour: brand */
  --sm-navy-950: #061633;
  --sm-navy-900: #0a2250;
  --sm-navy-800: #0d2f6b;
  --sm-royal: #1d5fd8;
  --sm-blue: #2a7bf0;
  --sm-cyan: #14b8e6;

  /* Colour: neutrals */
  --sm-ink: #0f1f3d;
  --sm-text: #3d4d6a;
  --sm-muted: #66758f;
  --sm-line: #e3e9f3;
  --sm-soft: #f4f7fb;
  --sm-tint: #eaf1fc;
  --sm-white: #fff;

  /* Colour: state */
  --sm-ok: #0f7a47;
  --sm-err: #c0262d;

  /* Colour: MenThee product identities (used only on product visuals) */
  --sm-p-shoppy: #1d6fe0;
  --sm-p-erp: #5b3fc4;
  --sm-p-crm: #12803f;
  --sm-p-hrms: #d2600c;
  --sm-p-eims: #c8204f;

  /* Type */
  --sm-font-head: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --sm-font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --sm-fs-xs: 0.8125rem;
  --sm-fs-sm: 0.9375rem;
  --sm-fs-md: 1rem;
  --sm-fs-lg: 1.125rem;
  --sm-fs-h3: 1.25rem;
  --sm-fs-h2: clamp(1.75rem, 3.2vw, 2.5rem);
  --sm-fs-h1: clamp(2.125rem, 4.6vw, 3.5rem);

  /* Spacing scale (4px base) */
  --sm-s1: 4px;
  --sm-s2: 8px;
  --sm-s3: 12px;
  --sm-s4: 16px;
  --sm-s5: 24px;
  --sm-s6: 32px;
  --sm-s7: 48px;
  --sm-s8: 64px;
  --sm-s9: 96px;
  --sm-section-y: clamp(64px, 8vw, 96px);

  /* Radius: three steps only */
  --sm-r-sm: 8px;
  --sm-r-md: 12px;
  --sm-r-lg: 16px;

  /* Shadow: two steps only */
  --sm-sh-1: 0 1px 2px rgba(6, 22, 51, 0.05), 0 4px 14px rgba(6, 22, 51, 0.06);
  --sm-sh-2: 0 2px 4px rgba(6, 22, 51, 0.05), 0 16px 40px rgba(6, 22, 51, 0.12);

  /* Icon sizes */
  --sm-icon-sm: 20px;
  --sm-icon-md: 24px;
  --sm-icon-lg: 28px;

  /* Layout */
  --sm-container: 1460px;
  --sm-gutter: 20px;
  --sm-header-h: 72px;

  /* Motion */
  --sm-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --sm-t: 0.25s var(--sm-ease);
}

@media (min-width: 640px) { :root { --sm-gutter: 28px; } }
@media (min-width: 1100px) { :root { --sm-header-h: 84px; } }
