/* JAD Pipes & Fittings — Design Tokens
   Source: Company Logo/JAD — Pipes & Fittings · Corporate Identity.pdf */

:root {
  /* Brand colors (official CI palette) */
  --jad-blue: #252fa8;       /* primary */
  --jad-blue-soft: #5560c4;  /* secondary / accent */
  --ink-navy: #0e1542;       /* deep text, dark sections */
  --paper: #f6f5f1;          /* warm off-white background */
  --white: #ffffff;

  /* Accent — sampled from Kothari's own Foamcore/UDS pipe orange, used to break up the blue */
  --kothari-orange: #d9622f;
  --kothari-orange-soft: #f2a878;
  --kothari-orange-50: #fdf1e9;

  /* Functional tones derived from brand */
  --blue-50: #eef0fb;
  --blue-100: #dde1f6;
  --border: #e3e1da;
  --border-dark: rgba(255, 255, 255, 0.14);
  --text-body: #3d3f52;
  --text-muted: #6b6d84;
  --success: #1b8a5a;
  --warning: #b8590a;

  /* Typography */
  --font-display: "Montserrat", -apple-system, "Segoe UI", sans-serif;
  --font-body: "Montserrat", -apple-system, "Segoe UI", sans-serif;

  /* Type scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;
  --text-4xl: 3rem;
  --text-5xl: 3.75rem;

  /* Spacing scale (4/8px rhythm) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 6rem;
  --space-16: 8rem;

  /* Layout */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur-base: 220ms;
  --dur-slow: 400ms;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(14, 21, 66, 0.06), 0 1px 1px rgba(14, 21, 66, 0.04);
  --shadow-md: 0 8px 24px rgba(14, 21, 66, 0.09), 0 2px 6px rgba(14, 21, 66, 0.06);
  --shadow-lg: 0 20px 48px rgba(14, 21, 66, 0.14), 0 4px 12px rgba(14, 21, 66, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;
    --dur-base: 0ms;
    --dur-slow: 0ms;
  }
}
