:root {
  color-scheme: dark;
  --page: #090e1b;
  --surface: #101727;
  --surface-raised: #151f32;
  --surface-soft: #111a2b;
  --text: #f4f7ff;
  --text-secondary: #aab5c9;
  --text-muted: #78859d;
  --line: rgba(179, 198, 230, .13);
  --line-strong: rgba(179, 198, 230, .22);
  --blue: #378bff;
  --blue-bright: #52a8ff;
  --blue-deep: #175bed;
  --red: #f25468;
  --red-deep: #c93450;
  --shadow: 0 12px 30px rgba(0, 0, 0, .18);
  --header-bg: rgba(9, 14, 27, .78);
}

:root[data-theme="light"] {
  color-scheme: light;
  --page: #f7f9fd;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-soft: #eef4fc;
  --text: #10182a;
  --text-secondary: #526078;
  --text-muted: #68768e;
  --line: rgba(32, 54, 87, .11);
  --line-strong: rgba(32, 54, 87, .2);
  --blue: #126be8;
  --blue-bright: #1687ff;
  --blue-deep: #1258d4;
  --red: #df3b57;
  --red-deep: #bd2947;
  --shadow: 0 12px 30px rgba(37, 69, 118, .08);
  --header-bg: rgba(247, 249, 253, .84);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
