/* Alkimia — combined stylesheet */
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Italic-VariableFont_opsz,wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Primary brand colors */
  --color-primary: #6B4FA1;
  --color-primary-light: #8B6BB8;
  --color-primary-dark: #4A3070;
  
  /* Accent colors - inspired by dynamic gradients */
  --color-accent-warm: #FF6B35;
  --color-accent-cool: #4A90E2;
  --color-accent-gold: #FFD700;
  
  /* Semantic colors */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;
  --color-info: #3B82F6;
  
  /* Neutrals */
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-gray-50: #F9FAFB;
  --color-gray-100: #F3F4F6;
  --color-gray-200: #E5E7EB;
  --color-gray-300: #D1D5DB;
  --color-gray-400: #9CA3AF;
  --color-gray-500: #6B7280;
  --color-gray-600: #4B5563;
  --color-gray-700: #374151;
  --color-gray-800: #1F2937;
  --color-gray-900: #111827;
  
  /* Text colors */
  --text-primary: #1F2937;
  --text-secondary: #4B5563;
  --text-tertiary: #9CA3AF;
  --text-inverse: #FFFFFF;
  
  /* Surface colors */
  --surface-default: #FFFFFF;
  --surface-elevated: #F9FAFB;
  --surface-depressed: #F3F4F6;
  --surface-overlay: rgba(0, 0, 0, 0.5);
  --surface-dark: #1F2937;
}

:root {
  /* Font stacks */
  --font-family-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-family-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-family-mono: "Courier New", monospace;
  
  /* Font sizes */
  --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-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;
  
  /* Font weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  
  /* Line heights */
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  --line-height-loose: 2;
  
  /* Letter spacing */
  --letter-spacing-tight: -0.02em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.02em;
}

/* Display typography */
:root {
  --text-display-lg: {
    font-size: var(--font-size-6xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
  };
  --text-display-md: {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
  };
  --text-display-sm: {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
  };
  
  /* Heading typography */
  --text-heading-lg: {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
  };
  --text-heading-md: {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-normal);
  };
  --text-heading-sm: {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-normal);
  };
  
  /* Body typography */
  --text-body-lg: {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
  };
  --text-body-md: {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
  };
  --text-body-sm: {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
  };
  --text-body-xs: {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
  };
}

:root {
  /* Spacing scale */
  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --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;
  
  /* Gap tokens */
  --gap-xs: var(--space-2);
  --gap-sm: var(--space-4);
  --gap-md: var(--space-6);
  --gap-lg: var(--space-8);
  --gap-xl: var(--space-12);
  --gap-2xl: var(--space-16);
  
  /* Padding tokens */
  --padding-xs: var(--space-2);
  --padding-sm: var(--space-4);
  --padding-md: var(--space-6);
  --padding-lg: var(--space-8);
  --padding-xl: var(--space-12);
  
  /* Margin tokens */
  --margin-xs: var(--space-2);
  --margin-sm: var(--space-4);
  --margin-md: var(--space-6);
  --margin-lg: var(--space-8);
  --margin-xl: var(--space-12);
}

:root {
  /* Border radius */
  --radius-none: 0;
  --radius-sm: 0.25rem; /* @kind radius */
  --radius-md: 0.5rem; /* @kind radius */
  --radius-lg: 0.75rem; /* @kind radius */
  --radius-xl: 1rem; /* @kind radius */
  --radius-2xl: 1.5rem; /* @kind radius */
  --radius-full: 9999px; /* @kind radius */
  
  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* @kind shadow */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); /* @kind shadow */
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* @kind shadow */
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* @kind shadow */
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); /* @kind shadow */
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out; /* @kind other */
  --transition-base: 200ms ease-in-out; /* @kind other */
  --transition-slow: 300ms ease-in-out; /* @kind other */
  
  /* Opacity */
  --opacity-disabled: 0.5; /* @kind other */
  --opacity-hover: 0.8; /* @kind other */
}


* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: var(--font-family-body); font-size: var(--font-size-base); line-height: var(--line-height-normal); color: var(--text-primary); background-color: var(--surface-default); }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-light); }
