/* AnyVideo Cinematic Design System — shared tokens for the web UI.
   Palette, type scale, spacing, radii, and breakpoints. The web and Flutter
   clients implement the same tokens; see DESIGN-SYSTEM.md. */
:root {
  /* Surfaces */
  --av-bg: #0b0d12;
  --av-surface: #161922;
  --av-surface-2: #20242e;
  --av-elevated: #232636;
  /* Text */
  --av-text: #f7f8fa;
  --av-text-2: #a6adba;
  --av-text-3: #6f7684;
  /* Accent (lime) — reserved for primary actions, focus, progress */
  --av-lime: #d4ff76;
  --av-lime-ink: #1a2410;
  /* Lines + states */
  --av-line: #2a303b;
  --av-success: #7ddf9a;
  --av-warning: #f2c14e;
  --av-error: #f28b82;
  --av-disabled: #565c68;
  --av-focus: #d4ff76;
  /* Type scale */
  --av-hero: clamp(30px, 4.6vw, 52px);
  --av-h1: clamp(24px, 3vw, 32px);
  --av-h2: 19px;
  --av-h3: 16px;
  --av-body: 14px;
  --av-meta: 12px;
  --av-caption: 11px;
  /* Shape + spacing */
  --av-radius-s: 8px;
  --av-radius-m: 14px;
  --av-radius-l: 22px;
  --av-gap: 14px;
  /* Motion (disabled entirely under reduced-motion) */
  --av-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --av-lift: translateY(-3px) scale(1.015);
}

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