/**
 * OneGrab - Design tokens & CSS variables
 * Central place for colors, spacing, typography, motion
 */

:root {
  /* Colors */
  --color-bg: #0a0a0b;
  --color-bg-elevated: #141416;
  --color-bg-card: #1a1a1e;
  --color-surface: #222228;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.12);

  --color-text: #f4f4f5;
  --color-text-muted: #a1a1aa;
  --color-text-subtle: #71717a;

  --color-accent: #00d4ff;
  --color-accent-hover: #00b4d8;
  --color-accent-muted: rgba(0, 212, 255, 0.15);
  --color-accent-glow: rgba(0, 212, 255, 0.25);

  --color-link: #00d4ff;
  --color-link-hover: #67e8f9;
  --color-link-visited: #06b6d4;

  --color-focus-ring: #00d4ff;

  /* Typography */
  --font-sans: "Outfit", "DM Sans", system-ui, -apple-system, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  --leading-tight: 1.2;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  --tracking-tight: -0.02em;
  --tracking-normal: 0;

  /* Spacing (scale) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 72rem;
  --container-padding: var(--space-4);
  --section-padding-y: var(--space-20);
  --header-height: 4rem;

  /* Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-full: 9999px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px var(--color-accent-glow);
}

@media (min-width: 48rem) {
  :root {
    --container-padding: var(--space-6);
    --section-padding-y: var(--space-24);
  }
}

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