/* =========================================================
   Optentia — Canonical Design Tokens
   ========================================================= */

/* ── Brand fonts via Google Fonts ───────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;0,900;1,400;1,500;1,700;1,900&family=Sora:wght@100;200;300;400;500;600;700;800&family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap');

:root {
  /* ── Typography ─────────────────────────────────────────── */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Sora', system-ui, sans-serif;
  --font-mono:    'DM Mono', ui-monospace, monospace;

  /* ── Color ──────────────────────────────────────────────── */
  --color-bg:                  #0D1B2A;
  --color-bg-light:            #132238;
  --color-surface:             #132238;
  --color-surface-2:           #1A2E47;
  --color-border:              #2A4258;

  --color-brand-teal:          #2A7A8A;
  --color-brand-teal-light:    #3A9AAA;
  --color-brand-teal-dark:     #1E5A66;
  --color-brand-gold:          #C9A84C;
  --color-brand-gold-light:    #E0C56A;

  --color-brand-accent:        var(--color-brand-teal);
  --color-brand-accent-bright: var(--color-brand-teal-light);
  --color-brand-accent-dark:   var(--color-brand-teal-dark);

  --color-text:               #F0F4F7;
  --color-text-cream:         #F5F0E8;
  --color-text-muted:         #8DA4B5;
  --color-text-strong:        #FFFFFF;

  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-danger:  #EF4444;
  --color-info:    var(--color-brand-teal-light);

  /* ── Spacing ────────────────────────────────────────────── */
  --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;
  --space-11: 192px;

  /* ── Radii ──────────────────────────────────────────────── */
  --radius-sm:    6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-pill: 9999px;

  /* ── Shadows ────────────────────────────────────────────── */
  --shadow-xs:   0 1px 2px rgba(0,0,0,0.30);
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.35);
  --shadow-md:   0 8px 24px rgba(0,0,0,0.40);
  --shadow-lg:   0 24px 64px rgba(0,0,0,0.45);
  --shadow-glow: 0 0 32px var(--color-brand-teal-light);

  /* ── Motion ─────────────────────────────────────────────── */
  --ease-standard:    cubic-bezier(0.2, 0, 0, 1);
  --ease-emphasized:  cubic-bezier(0.3, 0, 0, 1);
  --ease-decelerate:  cubic-bezier(0, 0, 0, 1);
  --ease-accelerate:  cubic-bezier(0.3, 0, 1, 1);
  --dur-instant:    80ms;
  --dur-fast:      150ms;
  --dur-base:      240ms;
  --dur-slow:      480ms;
  --dur-cinematic: 800ms;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
