/*
 * Design tokens — Raquel Coaching MVP
 *
 * Single source of truth for color, type, spacing, radius and shadow.
 * application.css consumes these only: no raw hex outside this file.
 * Dark mode is a later :root swap (deferred, see decision log D5).
 */

:root {
  /* Warm neutral canvas */
  --color-bg: #faf8f5;
  --color-surface: #ffffff;
  --color-border: #e7e1d8;
  --color-text: #2b2724;
  --color-text-muted: #6f675f;

  /* Accent — provisional warm coral, judged live in-browser.
   * Swap all three shades together if the feedback pass changes it.
   * Parked alternates: terracotta #c65d3b, tangerine #f2792b, teal #178a86.
   */
  --color-accent: #e5533d;
  --color-accent-hover: #cf4531;
  --color-accent-soft: #fbe9e4;

  /* Status colors, warm-shifted to sit on the cream canvas */
  --color-success: #2f7d4f;
  --color-success-soft: #e6f2ea;
  --color-danger: #b5372a;
  --color-danger-soft: #fbe9e6;

  /* Type — system humanist sans, ~1.2 modular scale */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --leading: 1.5;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;

  /* Radius — rounder reads warmer */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  /* Touch target — minimum tappable size (Apple HIG 44pt / WCAG 2.5.8) */
  --tap-target: 44px;

  /* Shadows — tinted with the text color so they don't muddy the cream */
  --shadow-sm: 0 1px 2px rgba(43, 39, 36, 0.06);
  --shadow-md: 0 4px 12px rgba(43, 39, 36, 0.1);

  /* Overlay — dims the page behind the modal (same warm tint as the shadows) */
  --overlay: rgba(43, 39, 36, 0.4);
}
