/* AINERGY Holiday Video Studio — design tokens v1.0 (2026-10-24, kai.claude)
   Source of truth: docs/design/DESIGN.md. Keep names and values 1:1 with that file. */
:root {
  /* night (dark surfaces) */
  --night-0: #050A18;
  --night-1: #0A1630;
  --night-2: #12234A;
  --on-dark-text: #F3F1EA;
  --on-dark-muted: #DCE3EE;
  --on-dark-line: rgba(255, 255, 255, .08);

  /* paper (light surfaces) */
  --paper: #F5F6FA;
  --surface: #FFFFFF;
  --line: #E4E8F1;
  --line-strong: #CBD3E1;
  --ink: #0A1630;
  --ink-2: #33405C;
  --muted: #5B6680;

  /* gold — pick by surface */
  --gold-400: #F4C46B;   /* dark surfaces only */
  --gold-soft: #FFE2A3;  /* dark surfaces only */
  --gold-600: #C99A3B;   /* light surfaces: decorative lines >= 3px only */
  --gold-800: #7E5B17;   /* light surfaces: gold text */

  /* cold light */
  --ice: #A9D8FF;
  --ice-white: #EAF4FF;
  --berry: #C33B52;

  /* status (dots, text, 3px lines only) */
  --ok: #1F8A5B;
  --warn: #B7791F;
  --error: #C2413A;
  --info: #2F6FD8;
  --st-received: #6B7A99;
  --st-authorization: var(--warn);
  --st-confirmed: var(--info);
  --st-production: #7C4DDB;
  --st-qa: #0E8A8A;
  --st-ready: var(--ok);
  --st-cancelled: #9AA3B5;

  /* headline gradient (no dark text-shadow on gradient text) */
  --hl-stops: #FFE2A3, #A9D8FF, #FFE2A3;

  /* type */
  --font-display: "Arial Black", Arial, sans-serif;
  --font-sans: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-zh: "Microsoft YaHei", "PingFang SC", sans-serif;
  --text-min: 12px;

  /* spacing */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --container: 1200px;

  /* radius */
  --r-media: 14px;
  --r-card: 16px;
  --r-panel: 20px;
  --r-input: 10px;
  --r-button: 12px;
  --r-chip: 999px;

  /* elevation */
  --e1: 0 1px 2px rgba(10, 22, 48, .04);
  --e2: 0 1px 2px rgba(10, 22, 48, .04), 0 12px 32px rgba(10, 22, 48, .06);
  --e3: 0 24px 64px rgba(5, 10, 24, .32);

  /* buttons */
  --btn-primary-bg: var(--night-1);
  --btn-primary-fg: #FFFFFF;
  --btn-primary-on-dark-bg: #9DC7FF;
  --btn-primary-on-dark-fg: var(--night-1);
  --btn-h-lg: 48px; --btn-h-md: 40px; --btn-h-sm: 32px;

  /* focus */
  --focus-on-light: 0 0 0 2px var(--paper), 0 0 0 4px var(--night-1);
  --focus-on-dark: 0 0 0 2px var(--night-1), 0 0 0 4px var(--gold-soft);

  /* motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --d-micro: 160ms; --d-ui: 240ms; --d-panel: 400ms; --d-hero: 900ms;

  /* icons */
  --icon-customer: 20px;
  --icon-admin: 18px;
  --icon-stroke: 1.75;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
