/* Capy Portal design tokens — single source of truth for color/type/space */
:root {
  color-scheme: dark;

  /* Surfaces */
  --bg: #080a0c;
  --surface: #111418;
  --surface-hover: #171b20;
  --surface-elevated: #1a1f25;
  --panel: var(--surface);
  --panel-2: var(--surface-hover);

  /* Text */
  --text: #f4f1e8;
  --text-secondary: #aeb5bc;
  --text-muted: #929ba5;
  --muted: var(--text-muted);

  /* Borders */
  --border: rgba(255, 255, 255, 0.11);
  --line: var(--border);
  --border-strong: rgba(255, 255, 255, 0.22);

  /* Brand */
  --primary: #ff8a2a;
  --primary-hover: #ff9b4d;
  --primary-fg: #140b04;
  --orange: var(--primary);
  --gold: #dfad45;
  --violet: #9d7cff;
  --blue: #54b7ff;
  --rng: #ff6ad5;

  /* Status */
  --success: #7fc78b;
  --warning: #dfad45;
  --danger: #e85d5d;
  --online: var(--success);
  --development: var(--violet);
  --coming-soon: var(--blue);
  --maintenance: var(--warning);
  --offline: var(--text-muted);
  --green: var(--success);

  /* Layout */
  --max: 1200px;
  --wiki-max: 860px;
  --nav-h: 56px;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 14px;
  --radius-pill: 999px;

  /* Type scale */
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fs-display: clamp(1.75rem, 3.2vw, 2.25rem);
  --fs-page: clamp(1.5rem, 2.4vw, 1.875rem);
  --fs-section: clamp(1.25rem, 2vw, 1.5rem);
  --fs-card: 1.0625rem;
  --fs-body: 0.9375rem;
  --fs-secondary: 0.875rem;
  --fs-meta: 0.75rem;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur: 160ms;
  --dur-slow: 220ms;

  /* Shadows (sparse) */
  --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.28);
  --shadow-primary: 0 12px 28px rgba(255, 138, 42, 0.22);
}
