/**
 * variables.css
 * Design tokens. Palette is derived directly from the DeskCloud logo
 * (cyan-to-blue cloud, navy document fold) rather than a generic blue.
 */
:root {
  /* ---- Brand palette (from logo) ---- */
  --brand-50: #eef7ff;
  --brand-100: #dbeeff;
  --brand-200: #b8ddff;
  --brand-300: #7fc3f7;
  --brand-400: #3fabee;
  --brand-500: #1f8fe0;
  --brand-600: #1668e0;
  --brand-700: #124fc0;
  --brand-800: #14297a;
  --brand-900: #0e1c54;

  --brand-gradient: linear-gradient(135deg, #3fc3f0 0%, #1f79ea 55%, #14297a 100%);

  /* ---- Neutrals ---- */
  --bg: #ffffff;
  --surface: #f6f9fd;
  --surface-hover: #eef3fb;
  --surface-alt: #f0f4f9;
  --border: #e3e9f2;
  --border-strong: #cdd7e6;
  --text-primary: #101828;
  --text-secondary: #5c6b81;
  --text-muted: #94a1b4;
  --text-on-brand: #ffffff;

  /* ---- Semantic ---- */
  --success-500: #12b76a;
  --success-100: #e3f9ee;
  --warning-500: #f5a524;
  --warning-100: #fdf3e0;
  --danger-500: #e5484d;
  --danger-100: #fbe6e7;
  --info-500: var(--brand-600);

  /* ---- Radii ---- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 999px;

  /* ---- Shadows (soft, blue-tinted) ---- */
  --shadow-xs: 0 1px 2px rgba(20, 41, 122, 0.06);
  --shadow-sm: 0 2px 8px rgba(20, 41, 122, 0.08);
  --shadow-md: 0 8px 24px rgba(20, 41, 122, 0.10);
  --shadow-lg: 0 16px 40px rgba(20, 41, 122, 0.14);
  --shadow-focus: 0 0 0 3px rgba(31, 143, 224, 0.28);

  /* ---- Typography ---- */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", 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.75rem;

  /* ---- Layout ---- */
  --sidebar-width: 232px;
  --sidebar-width-collapsed: 76px;
  --navbar-height: 64px;
  --bottom-nav-height: 64px;

  /* ---- Motion ---- */
  --ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
  --duration-fast: 140ms;
  --duration-medium: 220ms;
  --duration-slow: 360ms;
}

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