/* Dragon Rehab — Design Token Layer
   All visual decisions live here. Import this first in every page. */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand colours */
  --color-bg:           #0b0d17;
  --color-surface:      #12162a;
  --color-surface-alt:  #1a1f38;
  --color-border:       #1e2445;

  --color-primary:      #c8102e;   /* Welsh dragon red — buttons & backgrounds */
  --color-primary-dark: #9e0b23;
  --color-primary-glow: rgba(200, 16, 46, 0.25);
  --color-primary-text: #ea5570;   /* lighter red for small text on dark (WCAG AA) */

  --color-accent:       #e8c84e;   /* Gold */
  --color-accent-dark:  #b89d30;

  --color-text:         #f0f0f5;
  --color-text-muted:   #8892b0;
  --color-text-subtle:  #7d87ad;

  /* Typography */
  --font-heading: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.5rem;

  --leading-tight:  1.1;
  --leading-snug:   1.3;
  --leading-normal: 1.6;
  --leading-loose:  1.8;

  /* Spacing scale */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.6);
  --shadow-red: 0 4px 24px var(--color-primary-glow);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast:   150ms;
  --duration-normal: 250ms;
  --duration-slow:   400ms;

  /* Layout */
  --nav-height:     72px;
  --content-width:  1200px;
  --content-narrow: 800px;
}
