/* Xevrion Indigo Pulse — refined light enterprise tokens. */
:root {
  /* Canvas / surfaces — warmer paper, Anthropic-adjacent calm */
  --canvas: #F7F5F2;
  --canvas-deep: #EFECE7;
  --surface: #FFFFFF;
  --elevated: #FFFFFF;
  --elevated-2: #F3F1ED;
  --ink: #0A2540;

  /* Borders — softer, warmer */
  --border: #E6E2DC;
  --border-strong: #D4CFC7;
  --border-soft: rgba(10, 37, 64, 0.055);

  /* Text */
  --text: #0A2540;
  --text-muted: #425466;
  --text-faint: #6B7280;
  --text-on-dark: #F7F5F2;
  --text-on-dark-muted: #A8B0BC;

  /* Primary action — violet pulse kept; companions refined */
  --violet: #635BFF;
  --violet-deep: #5249E8;
  --violet-soft: rgba(99, 91, 255, 0.11);
  --violet-glow: rgba(99, 91, 255, 0.26);
  --glow-violet: rgba(99, 91, 255, 0.2);

  /* Deep indigo structural */
  --indigo: #0A2540;
  --indigo-mid: #163A5C;
  --indigo-soft: rgba(10, 37, 64, 0.055);

  /* Success (sparingly) */
  --success: #0D9488;
  --success-soft: rgba(13, 148, 136, 0.12);
  --warning: #B45309;
  --danger: #DF1B41;
  --info: #3B82F6;

  /* Mesh / glow */
  --mesh-a: rgba(99, 91, 255, 0.14);
  --mesh-b: rgba(10, 37, 64, 0.06);
  --mesh-c: rgba(99, 91, 255, 0.05);

  /* Dark bands */
  --dark: #0A2540;
  --dark-elevated: #12304F;
  --dark-border: rgba(247, 245, 242, 0.1);

  /* Type */
  --font-sans: "Inter Tight", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.5rem;
  --text-6xl: 4.75rem;

  --leading-tight: 1.05;
  --leading-snug: 1.28;
  --leading-normal: 1.6;
  --leading-display: 1.08;

  --track-tight: -0.045em;
  --track-label: 0.07em;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4.5rem;
  --space-12: 7rem;
  --space-16: 10rem;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.035);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.07), 0 2px 6px rgba(10, 37, 64, 0.035);
  --shadow-lg: 0 28px 64px rgba(10, 37, 64, 0.1), 0 8px 20px rgba(10, 37, 64, 0.05);
  --shadow-violet: 0 0 0 1px var(--violet-soft), 0 12px 32px var(--glow-violet);
  --shadow-card: 0 1px 1px rgba(10,37,64,0.02), 0 4px 14px rgba(10,37,64,0.035);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 150ms;
  --dur-normal: 320ms;
  --dur-slow: 600ms;

  --max-w: 72rem;
  --max-w-narrow: 40rem;
  --max-w-wide: 86rem;
  --header-h: 4.25rem;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 1ms;
    --dur-normal: 1ms;
    --dur-slow: 1ms;
  }
}
