:root {
  /* Dark theme color palette */
  --color-primary: #d4af37; /* Gold accent */
  --color-primary-hover: #f0c864;
  --color-primary-light: #e8c55b;
  --color-primary-dark: #b8941f;

  --color-secondary: #059669; /* Safari green */
  --color-accent: #dc2626; /* Safari red */

  /* Dark theme grayscale */
  --color-white: #ffffff;
  --color-gray-50: #0a0a0a;
  --color-gray-100: #121212;
  --color-gray-200: #1a1a1a;
  --color-gray-300: #2a2a2a;
  --color-gray-400: #6b6b6b;
  --color-gray-500: #8a8a8a;
  --color-gray-600: #a0a0a0;
  --color-gray-700: #c0c0c0;
  --color-gray-800: #e0e0e0;
  --color-gray-900: #f5f5f5;

  /* Semantic colors - Dark theme */
  --color-bg: #0a0a0a;
  --color-bg-secondary: #121212;
  --color-bg-tertiary: #1a1a1a;
  --color-text: #f5f5f5;
  --color-text-secondary: #c0c0c0;
  --color-text-light: #a0a0a0;
  --color-border: #2a2a2a;
  --color-border-light: rgba(255, 255, 255, 0.1);

  /* 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;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-serif: Georgia, Cambria, 'Times New Roman', Times, 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;

  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  /* Border radius */
  --radius-sm: 0.125rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);

  /* Container */
  --container-xl: 1280px;

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 200ms ease-in-out;
  --transition-slow: 300ms ease-in-out;
}

/* Base styles */
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-hover);
}
