/* ==========================================================================
   DESIGN SYSTEM VARIABLES
   Consistent colors, spacing, typography, and accessible sizing tokens.
   ========================================================================== */

:root {
  /* Brand & Interactive Colors (High Contrast WCAG AA/AAA) */
  --color-primary: #1B4965;        /* Deep Slate Blue */
  --color-primary-hover: #13354A;  /* Darker Navy for hover/active */
  --color-primary-light: #EBF3F9;  /* Soft Blue tint for badges & icons */
  --color-primary-rgb: 27, 73, 101;

  --color-teal: #146C60;           /* Caretaker accent */
  --color-teal-light: #E8F5F3;

  --color-amber: #9A5B13;          /* Tenant accent (high contrast) */
  --color-amber-light: #FDF4E7;

  /* Neutral & Surface Colors */
  --color-bg-white: #FFFFFF;
  --color-bg-alt: #F4F7FA;         /* Soft cool gray for section contrast */
  --color-footer-bg: #112636;      /* Dark Navy footer */

  /* Typography Colors */
  --color-text-main: #1A202C;      /* Near-black charcoal for easy reading */
  --color-text-muted: #4A5568;     /* Accessible dark slate gray */
  --color-text-light: #E2E8F0;     /* High-contrast light text on dark bg */

  /* Borders & Focus */
  --color-border: #CBD5E1;         /* Visible card borders */
  --color-border-strong: #64748B;  /* Clear input borders */
  --color-focus-ring: #D97706;     /* Distinct amber focus outline */
  --color-success: #146C60;
  --color-danger: #B42318;
  --color-warning: #8A4B08;

  /* Typography Scale (Comfortable for elderly & general users) */
  --font-family-base: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-size-base: 1.125rem;      /* 18px base font size */
  --font-size-sm: 1rem;            /* 16px minimum for secondary text */
  --line-height-base: 1.65;

  /* Spacing & Sizing */
  --section-padding-y: 4.5rem;
  --btn-min-height: 52px;          /* Generous touch target */
  --input-min-height: 52px;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --space-content: clamp(1rem, 2.2vw, 2rem);

  /* Subtle Elevation */
  --shadow-card: 0 4px 12px rgba(17, 38, 54, 0.06);
  --shadow-header: 0 2px 10px rgba(17, 38, 54, 0.08);
  --shadow-menu: 0 12px 32px rgba(17, 38, 54, 0.14);
}