/**
 * PiDesk Landing Page - Variables & Design Tokens
 * Domain: https://pidesk.noedge.org
 */

:root {
  /* Colors - Dark Obsidian Canvas */
  --bg-canvas: #090b10;
  --bg-surface: #10141e;
  --bg-surface-elevated: #161b28;
  --bg-surface-hover: #1e2436;
  --bg-glass: rgba(16, 20, 30, 0.78);
  --bg-glass-strong: rgba(10, 12, 17, 0.92);

  /* Borders & Dividers */
  --border-subtle: rgba(148, 163, 184, 0.08);
  --border-medium: rgba(148, 163, 184, 0.16);
  --border-highlight: rgba(255, 255, 255, 0.18);
  --border-accent: rgba(255, 42, 59, 0.45);

  /* Primary Brand Accent (PiDesk Crimson / Ruby) */
  --accent-primary: #ff2a3b;
  --accent-hover: #ff4555;
  --accent-light: #ff6472;
  --accent-glow: rgba(255, 42, 59, 0.35);
  --accent-subtle: rgba(255, 42, 59, 0.12);

  /* Secondary Accents */
  --accent-emerald: #10b981;
  --accent-blue: #38bdf8;
  --accent-purple: #a855f7;
  --accent-amber: #f59e0b;

  /* Typography / Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #7c8aa0; /* >= 4.5:1 contrast on all dark surfaces */
  --text-inverse: #090b10;

  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', Menlo, Consolas, monospace;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 5rem;
  --space-4xl: 7.5rem;

  /* Max Widths */
  --container-max: 1200px;
  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 35px var(--accent-glow);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 250ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Accessibility Focus Ring */
  --focus-outline: 2px solid var(--accent-light);
  --focus-offset: 2px;

  /* Z-Index Layers */
  --z-nav: 100;
  --z-modal: 600;
}
