/* Due Draghi Design System - Design Tokens */
/* Notion-like aesthetic matching quintaedizione.online */

:root {
  /* ===== Color Palette ===== */
  /* Primary Colors - Red/Crimson + Cyan */
  --primary: #EF4444;
  --primary-dark: #DC2626;
  --primary-light: #FEE2E2;
  --secondary: #06B6D4;
  --accent: #F59E0B;
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;

  /* Grayscale Palette */
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #E5E5E5;
  --gray-300: #D4D4D4;
  --gray-400: #A3A3A3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --white: #FFFFFF;

  /* Notion-inspired colors */
  --notion-bg: #ffffff;
  --notion-bg-secondary: #f7f7f5;
  --notion-text: #37352f;
  --notion-text-light: #787774;
  --notion-border: #e9e9e7;
  --notion-hover: rgba(55, 53, 47, 0.08);
  --notion-radius: 3px;

  /* Semantic mappings */
  --text-primary: #37352f;
  --text-secondary: #787774;
  --text-muted: #a3a3a3;
  --text-inverse: #ffffff;
  --background-color: #ffffff;
  --surface-color: #ffffff;
  --border-color: #e9e9e7;

  /* ===== Typography ===== */
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Monaco, Consolas, 'PT Mono', 'Liberation Mono', Courier, monospace;

  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;

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

  --line-height-tight: 1.25;
  --line-height-snug: 1.375;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;

  /* ===== 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-12: 3rem;
  --space-16: 4rem;

  /* ===== Border Radius ===== */
  --radius-xs: 0.25rem;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;

  /* ===== Shadows ===== */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  /* ===== Transitions ===== */
  --transition-speed-fast: 0.15s;
  --transition-speed-base: 0.3s;
  --transition-speed-slow: 0.5s;

  /* ===== Layout ===== */
  --container-max-width: 1200px;
  --container-padding: 1rem;
  --site-header-h: 56px;
  --input-height: 36px;
}

/* ===== Reduced Motion Support ===== */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-speed-fast: 0s;
    --transition-speed-base: 0s;
    --transition-speed-slow: 0s;
  }
}
