/* ============================================================
   WAVES AI · design tokens (compact edition)
   ============================================================ */

:root {
  /* brand */
  --brand-gold: #f4c66a;
  --brand-gold-deep: #c89646;
  --brand-gold-soft: #ffe0a0;
  --brand-teal: #4fe3c1;
  --brand-magenta: #ff4fa3;
  --brand-violet: #9b6cff;

  /* surfaces */
  --bg-0: #05060d;
  --bg-1: #0a0c1a;
  --bg-2: #11142a;
  --bg-3: #171b36;
  --surface: rgba(18, 22, 44, 0.62);
  --surface-strong: rgba(12, 16, 32, 0.86);
  --surface-soft: rgba(28, 32, 58, 0.5);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-strong: rgba(255, 255, 255, 0.08);

  /* text */
  --text: #f6f7ff;
  --text-dim: #b6bdd8;
  --muted: #8892b5;
  --muted-deep: #5c6485;

  /* lines */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --line-gold: rgba(244, 198, 106, 0.4);
  --line-teal: rgba(79, 227, 193, 0.35);

  /* status */
  --danger: #ff5c72;
  --success: #62e39a;

  /* motion */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
  --dur-fast: 180ms;
  --dur-base: 280ms;
  --dur-slow: 540ms;

  /* shadows */
  --shadow-card: 0 18px 40px -18px rgba(5, 6, 13, 0.9);
  --shadow-gold: 0 14px 40px -12px rgba(244, 198, 106, 0.38);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.05);

  /* radii */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-pill: 999px;

  /* typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Fira Code', monospace;

  /* gradients */
  --grad-gold: linear-gradient(120deg, #ffe0a0, #f4c66a 50%, #c89646);
  --grad-teal: linear-gradient(120deg, #6ffff0, #4fe3c1 60%, #2baa8c);
  --grad-aurora: radial-gradient(circle at 15% 20%, rgba(244, 198, 106, 0.18), transparent 50%),
                 radial-gradient(circle at 85% 30%, rgba(79, 227, 193, 0.14), transparent 55%),
                 radial-gradient(circle at 50% 90%, rgba(255, 79, 163, 0.12), transparent 60%);

  /* layout — compact */
  --container-max: 1280px;
  --container-pad: clamp(20px, 3.5vw, 48px);
  --section-pad-y: clamp(48px, 6vw, 72px);
  --section-pad-y-tight: clamp(32px, 4vw, 48px);
  --nav-h: 64px;
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 0ms; --dur-base: 0ms; --dur-slow: 0ms; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ── scrollbar ── */
:root {
  scrollbar-width: thin;
  scrollbar-color: var(--brand-gold) var(--bg-1);
}
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f4c66a 0%, #4fe3c1 100%);
  border-radius: 99px;
  border: 1px solid var(--bg-1);
  transition: opacity 0.2s;
}
::-webkit-scrollbar-thumb:hover { opacity: 0.8; }

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
::selection { background: var(--brand-gold); color: var(--bg-0); }
