/*
 * Golf The Bay — Design Tokens (single source of truth)
 * ------------------------------------------------------
 * The main app pages (app, courses, course, clubs, community, account, …) all
 * declared an IDENTICAL :root block inline. This file centralizes those shared
 * tokens so the values live in one place. Link it in <head> BEFORE a page's
 * inline <style>; a page may still add/override page-specific tokens inline
 * (e.g. --deal, --difficulty-*, --zone-green) after this file loads.
 *
 * NOT covered here (intentionally distinct designs — leave their own :root):
 *   - index.html  : vintage pictorial-map palette (--paper/--contour/--fairway, --gold #d4a526)
 *   - admin*.html : internal dashboards, different naming (--green/--cream, --gold #c9a227)
 *
 * Standardized breakpoints (CSS @media can't read custom properties, so these
 * are the documented conventions to use in media queries, not live vars):
 *   mobile  ≤ 480px   |   tablet ≤ 768px   |   desktop ≥ 1024px
 */
:root {
  /* Brand / greens */
  --primary: #2d5a27;
  --primary-light: #4a7a3f;
  --primary-dark: #1a3d17;

  /* Surfaces */
  --bg: #f4f1e8;
  --bg-paper: #f9f6ef;
  --card-bg: #fffef9;

  /* Text */
  --text: #3d2914;
  --text-muted: #6b5344;

  /* Lines / accents */
  --border: #c4a882;
  --border-light: #ddd0bc;
  --gold: #b8860b;

  /* Spacing scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;

  /* Radius scale */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(61, 41, 20, 0.08);
  --shadow-md: 0 4px 16px rgba(61, 41, 20, 0.1);
  --shadow-lg: 0 8px 32px rgba(61, 41, 20, 0.12);
  --shadow-xl: 0 16px 48px rgba(61, 41, 20, 0.15);

  /* Motion */
  --anim-instant: 100ms;
  --anim-fast: 200ms;
  --anim-normal: 350ms;
  --anim-slow: 500ms;
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
