/* NOVA Home Care — Design Tokens (Design System v1.0) */

:root {
  /* Color */
  --color-bg: #FAF9F6;
  --color-surface: #FFFFFF;
  --color-text-primary: #16221F;
  --color-text-secondary: #5B6A64;
  --color-text-muted: #8A948F;
  --color-primary: #1E5245;
  --color-accent: #D89B4A;
  --color-border: #DEE3DE;
  --color-success: #2E9163; /* verified/completed states only — never decorative */
  --color-warning: #B8721F;
  --color-error: #B24444;
  --color-focus-ring: #1E5245;
  --color-selection-bg: rgba(216, 155, 74, 0.25);

  /* Typography */
  --font-display: 'Fraunces', ui-serif, Georgia, 'Times New Roman', serif;
  --font-body: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.375rem;
  --text-xl: 1.75rem;
  --text-2xl: 2.25rem;
  --text-3xl: 2.75rem;
  --text-4xl: clamp(2.25rem, 4vw + 1rem, 3.5rem);

  --leading-tight: 1.1;
  --leading-heading: 1.2;
  --leading-base: 1.6;
  --leading-mono: 1.4;

  --tracking-display: -0.02em;
  --tracking-heading: -0.01em;
  --tracking-body: 0em;
  --tracking-mono: 0.02em;

  /* Spacing (8px base) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;

  /* Layout */
  --container-max: 1200px;
  --gutter-mobile: 20px;
  --gutter-tablet: 32px;
  --gutter-desktop: 48px;
  --gutter-wide: 64px;

  /* Border / rule */
  --rule-color: #DEE3DE;
  --rule-primary: 1px solid var(--rule-color);
  --rule-secondary: 1px solid rgba(222, 227, 222, 0.5);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* Shadow — reserved for genuine elevation only (drawer, lightbox, scrolled header) */
  --shadow-elevated: 0 2px 8px rgba(22, 34, 31, 0.06);

  /* Motion */
  --duration-instant: 0ms;
  --duration-fast: 150ms;
  --duration-standard: 250ms;
  --duration-slow: 400ms;
  --easing-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --easing-decel: cubic-bezier(0, 0, 0.2, 1);
  --easing-accel: cubic-bezier(0.4, 0, 1, 1);

  /* Focus */
  --focus-ring-width: 2px;
  --focus-ring-color: var(--color-focus-ring);
  --focus-ring-offset: 2px;

  /* Z-index — not specified in Design System v1.0; minimal structural scale
     added here out of necessity for the sticky header / mobile drawer / lightbox
     built in later phases. Flagged in the Phase 2 completion report. */
  --z-header: 100;
  --z-drawer: 200;
  --z-lightbox: 300;
}

/* Breakpoints (reference only — CSS custom properties cannot be used inside
   @media conditions, so these are documented here for consistency across
   component CSS written in later phases, not consumed as tokens directly):
   320 / 375 / 390 / 430 / 768 / 1024 / 1280 / 1440 / 1920 */
