/* ==========================================================================
   KANNI MOTORS — Design System Tokens
   ========================================================================== */
:root {
  /* Color — surfaces */
  --color-bg: #0D0D0D;
  --color-bg-secondary: #151515;
  --color-surface: #1C1C1C;
  --color-surface-raised: #212121;

  /* Color — light contrast section (Cars for Sale) */
  --color-ivory: #F4F1EB;
  --color-ivory-dim: #E7E2D6;

  /* Color — accents */
  --color-gold: #B59A67;
  --color-gold-soft: #C7B589;

  /* Color — text */
  --color-text: #FFFFFF;
  --color-text-muted: #A4A4A4;
  --color-text-on-ivory: #17140F;
  --color-text-on-ivory-muted: #5B564A;

  /* Color — borders */
  --color-border: rgba(255, 255, 255, 0.12);
  --color-border-strong: rgba(255, 255, 255, 0.24);
  --color-border-gold: rgba(181, 154, 103, 0.45);
  --color-border-on-ivory: rgba(23, 20, 15, 0.12);

  /* Typography */
  --font-display: 'Cormorant Garamond', 'DM Serif Display', serif;
  --font-body: 'Manrope', 'Inter', sans-serif;

  --fs-hero: clamp(3rem, 7vw, 6.5rem);
  --fs-display-1: clamp(2.25rem, 5vw, 4.25rem);
  --fs-display-2: clamp(1.75rem, 3.4vw, 2.75rem);
  --fs-h3: clamp(1.35rem, 2.2vw, 1.75rem);
  --fs-lead: clamp(1.05rem, 1.4vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-label: 0.75rem;

  /* Spacing scale */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  /* Layout */
  --container-max: 1360px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;

  /* Motion */
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 220ms;
  --dur-base: 420ms;
  --dur-slow: 720ms;

  /* Elevation */
  --shadow-card: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --shadow-modal: 0 30px 90px -20px rgba(0, 0, 0, 0.75);

  /* Z-index */
  --z-nav: 100;
  --z-overlay: 200;
  --z-modal: 210;
  --z-toast: 220;
  --z-preloader: 300;
}

@media (max-width: 640px) {
  :root {
    --space-2xl: 4rem;
    --space-3xl: 5.5rem;
  }
}
