/* TheNexAeon design tokens — dark-first. Change brand values here only. */
:root {
  color-scheme: dark;

  /* Surfaces */
  --bg: #07060b;
  --bg-2: #0c0a13;
  --surface: #121019;
  --surface-2: #181523;
  --surface-3: #211d2f;
  --surface-hover: #1d1a2a;

  /* Lines */
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --line-accent: rgba(167, 139, 250, 0.22);

  /* Text */
  --text: #ecebf3;
  --text-2: #b6b2c8;
  --text-3: #85809b;
  --text-on-accent: #0b0812;

  /* Brand */
  --accent: #8b5cf6;
  --accent-2: #a78bfa;
  --accent-3: #d4c8ff;
  --accent-soft: rgba(139, 92, 246, 0.14);
  --glow: rgba(139, 92, 246, 0.38);
  --silver: #d3d6df;
  --gold: #c9aa6b;
  --gold-soft: rgba(201, 170, 107, 0.14);

  /* Status */
  --danger: #f26b84;
  --danger-soft: rgba(242, 107, 132, 0.12);
  --ok: #52d1a6;
  --ok-soft: rgba(82, 209, 166, 0.12);
  --warn: #e9b65c;
  --warn-soft: rgba(233, 182, 92, 0.12);
  --live: #ff4d6d;

  /* Realm accents */
  --realm-occult: #c94a86;
  --realm-religious: #d4af6a;
  --realm-rational: #4fb6d8;
  --realm-philosophical: #9ea8ea;
  --realm-unexplained: #5ccf9a;

  /* Type */
  --font-display: "Cormorant Garamond", "Cormorant", "Iowan Old Style", Georgia, serif;
  --font-ui: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --fs-xs: 0.75rem;
  --fs-sm: 0.8125rem;
  --fs-md: 0.9375rem;
  --fs-lg: 1.0625rem;
  --fs-xl: 1.375rem;
  --fs-2xl: 1.875rem;
  --fs-3xl: clamp(2.25rem, 4.6vw, 3.6rem);
  --fs-hero: clamp(2.6rem, 7vw, 5.4rem);

  /* Space & shape */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 24px 60px rgba(0, 0, 0, 0.55);

  --topbar-h: 60px;
  --rail-w: 232px;
  --aside-w: 320px;
  --content-max: 1360px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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