/* ============================================
   KELLY EXLINE REAL ESTATE — DESIGN TOKENS
   Single source of truth (documented in DESIGN.md).
   Loaded by index.html, tools.html, AND
   coming-soon.html — never fork these per page.
   ============================================ */

:root {
  /* ----- Brand — one dominant hue ----- */
  --brand: #6C3CE0;             /* interactive, links, active states, brand mark */
  --brand-deep: #5228B8;        /* hover / pressed */
  --brand-light: #8B6CE8;       /* light step for dark surfaces */
  --brand-rgb: 108, 60, 224;    /* for rgba() tints and focus rings */

  /* ----- Accent — ONE highlight per surface ----- */
  --accent: #FF6B35;
  --accent-deep: #E55A28;
  --accent-light: #FF8A5C;
  --accent-rgb: 255, 107, 53;

  /* ----- Neutrals — single cool-gray ramp ----- */
  --color-dark: #1A1A2E;        /* ink: headings, dark sections */
  --color-dark-2: #16213E;
  --color-gray-900: #212529;
  --color-gray-800: #343A40;    /* body text */
  --color-gray-700: #495057;
  --color-gray-600: #6C757D;    /* secondary text */
  --color-gray-400: #ADB5BD;
  --color-gray-300: #DEE2E6;
  --color-gray-200: #E9ECEF;    /* borders */
  --color-gray-100: #F8F9FA;    /* alt surfaces */
  --color-white: #FFFFFF;

  /* ----- Semantic — meaning only, never decoration ----- */
  --success: #00A88B;           /* form success (teal, demoted to semantic duty) */
  --success-rgb: 0, 168, 139;
  --danger: #C03A2B;            /* form errors (replaces off-palette #e74c3c) */
  --danger-rgb: 192, 58, 43;

  /* ----- The one gradient that earns its place:
           photo-legibility scrim / dark section background ----- */
  --scrim-hero: linear-gradient(135deg, #1A1A2E 0%, #16213E 40%, #0F3460 100%);

  /* ----- Type ----- */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* ----- Elevation ----- */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --shadow-xl: 0 16px 60px rgba(0,0,0,0.2);
  --shadow-glow: 0 0 40px rgba(var(--brand-rgb), 0.3);

  /* ----- Radii ----- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* ----- Motion (durations + easing; pair with explicit
           transition-property — never `transition: all`) ----- */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
