/* ============================================================
   PRODVIS Design Tokens
   Color: CANCOM-inspired B2B clarity using the PRODVIS logo palette.
   Type:  Inter (UI/body) + Space Grotesk (Display).
   ============================================================ */

:root {
  /* --- Color: crisp corporate neutrals --- */
  --color-bg:          #F7F8F5;          /* crisp off-white */
  --color-surface:     #FFFFFF;
  --color-surface-2:   #EEF1ED;
  --color-surface-3:   #E1E6E1;
  --color-border:      #CAD2CD;
  --color-border-soft: #E3E8E3;

  --color-ink:         #0B1C24;          /* deep corporate blue-black */
  --color-ink-2:       #263A42;
  --color-muted:       #5C6D73;
  --color-muted-2:     #8A999D;

  /* --- PRODVIS logo accents --- */
  --color-accent:        #0B6076;        /* logo petrol */
  --color-accent-hover:  #084B5D;
  --color-accent-soft:   #DCEEF0;
  --color-accent-glow:   rgba(11, 96, 118, 0.12);

  /* Secondary logo accents, used sparingly */
  --color-accent-2:      #F2A72B;        /* logo gold */
  --color-accent-3:      #79BE43;        /* logo green */

  /* Feedback */
  --color-success: #2F7D4B;

  /* --- Type scale (clamp-based, fluid) --- */
  --text-xs:    clamp(11px, 0.72rem + 0.05vw, 12px);
  --text-sm:    clamp(13px, 0.82rem + 0.06vw, 14px);
  --text-base:  clamp(15px, 0.92rem + 0.10vw, 16px);
  --text-lg:    clamp(17px, 1.05rem + 0.15vw, 19px);
  --text-xl:    clamp(22px, 1.20rem + 0.7vw, 28px);
  --text-2xl:   clamp(28px, 1.4rem + 1.4vw, 40px);
  --text-3xl:   clamp(36px, 1.6rem + 2.6vw, 56px);
  --text-hero:  clamp(44px, 2rem + 4vw, 84px);

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

  /* --- Layout --- */
  --container-max: 1240px;
  --container-prose: 70ch;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  /* --- Shadows: very subtle, no glow --- */
  --shadow-sm: 0 1px 2px rgba(11, 28, 36, 0.04), 0 1px 1px rgba(11, 28, 36, 0.03);
  --shadow-md: 0 4px 14px rgba(11, 28, 36, 0.06), 0 1px 2px rgba(11, 28, 36, 0.04);
  --shadow-lg: 0 10px 30px rgba(11, 28, 36, 0.08);

  /* --- Type families --- */
  --font-display: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* --- Motion --- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 150ms;
  --dur-base: 280ms;
  --dur-slow: 600ms;
}

/* Honor reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
