/* Arcturious Design Tokens — V2
   ==============================
   All brand values as CSS custom properties.
   Source of truth for colours, typography, spacing, and radii. */

:root {
  /* ── Primary Colours ── */
  --color-solar-gold: #AF8B0F;
  --color-polar-sand: #DFC58C;
  --color-midnight: #0A0A0F;
  --color-warm-white: #F5F1EB;

  /* ── Accent Colours ── */
  --color-violet-energy: #684D7C;
  --color-aurora-green: #51B793;
  --color-nitrogen-blue: #1A7489;
  --color-ember-rose: #B04A5A;

  /* ── Functional Colours ── */
  --color-success: #3D9E7A;
  --color-warning: #D06A45;
  --color-error: #E05A60;
  --color-info: #3098B2;

  /* ── Dark Foundation ── */
  --color-dark-midnight: #0A0A0F;
  --color-dark-charcoal: #141419;
  --color-dark-slate: #1E1E26;
  --color-dark-carbon: #202020;
  --color-dark-storm: #2A2A35;

  /* ── Neutrals ── */
  --color-text-black: #020200;
  --color-bone: #E9E6DD;
  --color-white: #F5F1EB;
  --color-silver: #B8B5AE;
  --color-muted: #6B6872;

  /* ── Solar Gold Scale ── */
  --solar-gold-50: #FBF6E4;
  --solar-gold-100: #F5E9BF;
  --solar-gold-200: #EDDA96;
  --solar-gold-300: #E2C76A;
  --solar-gold-400: #D4B23E;
  --solar-gold-500: #AF8B0F;
  --solar-gold-600: #93750C;
  --solar-gold-700: #755D0A;
  --solar-gold-800: #584607;
  --solar-gold-900: #3B2F05;

  /* ── Polar Sand Scale ── */
  --polar-sand-50: #FDFBF5;
  --polar-sand-100: #F8F1E0;
  --polar-sand-200: #F1E5C8;
  --polar-sand-300: #EBD9AE;
  --polar-sand-400: #DFC58C;
  --polar-sand-500: #C9AB6A;
  --polar-sand-600: #B0924E;
  --polar-sand-700: #8E7439;
  --polar-sand-800: #6B5729;
  --polar-sand-900: #493B1B;

  /* ── Violet Energy Scale ── */
  --violet-energy-50: #F3EEF6;
  --violet-energy-100: #E0D5E8;
  --violet-energy-200: #C9B8D5;
  --violet-energy-300: #B09AC0;
  --violet-energy-400: #8C73A0;
  --violet-energy-500: #684D7C;
  --violet-energy-600: #574068;
  --violet-energy-700: #463355;
  --violet-energy-800: #352741;
  --violet-energy-900: #241A2E;

  /* ── Aurora Green Scale ── */
  --aurora-green-50: #ECF8F4;
  --aurora-green-100: #CCEDE2;
  --aurora-green-200: #A8E0CE;
  --aurora-green-300: #84D3BA;
  --aurora-green-400: #66C8A7;
  --aurora-green-500: #51B793;
  --aurora-green-600: #439A7B;
  --aurora-green-700: #357C63;
  --aurora-green-800: #285E4B;
  --aurora-green-900: #1A4033;

  /* ── Nitrogen Blue Scale ── */
  --nitrogen-blue-50: #E8F4F7;
  --nitrogen-blue-100: #BFE1E9;
  --nitrogen-blue-200: #93CCD8;
  --nitrogen-blue-300: #67B7C7;
  --nitrogen-blue-400: #4199AC;
  --nitrogen-blue-500: #1A7489;
  --nitrogen-blue-600: #156173;
  --nitrogen-blue-700: #114E5C;
  --nitrogen-blue-800: #0D3B46;
  --nitrogen-blue-900: #092830;

  /* ── Ember Rose Scale ── */
  --ember-rose-50: #F9EEEF;
  --ember-rose-100: #F0D2D7;
  --ember-rose-200: #E3B0B9;
  --ember-rose-300: #D58D9A;
  --ember-rose-400: #C46B79;
  --ember-rose-500: #B04A5A;
  --ember-rose-600: #943E4C;
  --ember-rose-700: #78323D;
  --ember-rose-800: #5C262F;
  --ember-rose-900: #401A21;

  /* ── Success Scale ── */
  --success-50: #EBF7F2;
  --success-100: #C8EBDD;
  --success-200: #A1DCC5;
  --success-300: #79CCAD;
  --success-400: #55BB93;
  --success-500: #3D9E7A;
  --success-600: #338566;
  --success-700: #296B52;
  --success-800: #1F523E;
  --success-900: #15382B;

  /* ── Warning Scale ── */
  --warning-50: #FBF1EC;
  --warning-100: #F5D9CC;
  --warning-200: #ECBCA8;
  --warning-300: #E19D82;
  --warning-400: #D98463;
  --warning-500: #D06A45;
  --warning-600: #B0593A;
  --warning-700: #8F482F;
  --warning-800: #6E3724;
  --warning-900: #4E2719;

  /* ── Error Scale ── */
  --error-50: #FDEEEF;
  --error-100: #F9D4D5;
  --error-200: #F2B2B5;
  --error-300: #EA8E92;
  --error-400: #E57479;
  --error-500: #E05A60;
  --error-600: #BE4C51;
  --error-700: #9A3D42;
  --error-800: #772F33;
  --error-900: #542124;

  /* ── Info Scale ── */
  --info-50: #EAF6F9;
  --info-100: #C5E5ED;
  --info-200: #9CD3E0;
  --info-300: #72C0D2;
  --info-400: #50ACC2;
  --info-500: #3098B2;
  --info-600: #288096;
  --info-700: #206879;
  --info-800: #184F5D;
  --info-900: #103742;

  /* ── Typography ── */
  --font-display: 'Lato', sans-serif;
  --font-heading: 'Lato', sans-serif;
  --font-body: 'Lato', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --weight-display: 700;
  --weight-heading: 700;
  --weight-body: 400;
  --weight-mono: 400;

  --tracking-display: -0.02em;
  --tracking-heading: -0.01em;
  --tracking-body: 0;
  --tracking-mono: 0;

  /* ── Spacing (base-4) ── */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* ── Border Radii (V2: simplified — no lg or xl) ── */
  --radius-none: 0;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px #AF8B0F33;

  /* ── Light Theme Shadows ── */
  --shadow-light-sm: 0 1px 3px rgba(2, 2, 0, 0.08), 0 1px 2px rgba(2, 2, 0, 0.06);
  --shadow-light-md: 0 4px 6px rgba(2, 2, 0, 0.07), 0 2px 4px rgba(2, 2, 0, 0.06);
  --shadow-light-lg: 0 10px 15px rgba(2, 2, 0, 0.08), 0 4px 6px rgba(2, 2, 0, 0.05);
  --shadow-light-xl: 0 20px 25px rgba(2, 2, 0, 0.08), 0 10px 10px rgba(2, 2, 0, 0.04);

  /* ── Gradients ── */
  --gradient-gold-shimmer: linear-gradient(135deg, #AF8B0F, #DFC58C);
  --gradient-dark-depth: linear-gradient(180deg, #141419, #0A0A0F);
  --gradient-aurora-fade: linear-gradient(135deg, #1A7489, #51B793);
  --gradient-violet-glow: linear-gradient(135deg, #684D7C, #1A7489);
  --gradient-ember-warmth: linear-gradient(135deg, #AF8B0F, #B04A5A);
  --gradient-solar-storm: linear-gradient(135deg, #D06A45, #AF8B0F);

  /* ── Layout ── */
  --max-w-content: 1280px;
  --max-w-narrow: 768px;
  --max-w-wide: 1440px;
  --gutter: 24px;
  --margin-page: clamp(16px, 4vw, 64px);

  /* ── Motion ── */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --duration-instant: 100ms;
  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-glacial: 800ms;
}
