/* ==========================================================================
   Synvoca — Design Tokens
   Dark, glow-accented theme (colors inspired by callbuddy.ai reference)
   ========================================================================== */

:root {
  /* Color — dark base */
  --color-bg: #05060c;
  --color-bg-alt: #0c0e18;
  --color-surface: #12141f;
  --color-fg: #f1f5f9;
  --color-fg-secondary: #94a3b8;
  --color-fg-muted: #64748b;
  --color-border: rgba(255, 255, 255, 0.09);
  --color-border-strong: rgba(255, 255, 255, 0.16);

  /* "Inverse" = a slightly distinct dark panel for emphasis — close in tone to the rest of the page, not a flip to white */
  --color-inverse-bg: radial-gradient(120% 140% at 50% -10%, #161d33 0%, #05060c 62%);
  --color-inverse-fg: #f1f5f9;
  --color-inverse-fg-secondary: #9aa7c7;
  --color-inverse-border: rgba(255, 255, 255, 0.1);

  --color-focus: #22d3ee;

  /* Accent — cyan-to-violet-to-magenta brand gradient, used for CTAs, glows, links */
  --color-accent: #22d3ee;
  --color-accent-2: #6366f1;
  --color-accent-3: #e64fd0;
  --color-accent-soft: rgba(34, 211, 238, 0.14);
  --gradient-brand: linear-gradient(100deg, #22d3ee 0%, #3b82f6 36%, #8b5cf6 66%, #e64fd0 100%);

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --fs-eyebrow: 0.8125rem;
  --fs-small: 0.9375rem;
  --fs-body: 1.0625rem;
  --fs-body-lg: 1.1875rem;
  --fs-h4: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --fs-h3: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  --fs-h2: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  --fs-h1: clamp(2.25rem, 1.75rem + 2.4vw, 3.75rem);

  --lh-tight: 1.15;
  --lh-heading: 1.25;
  --lh-body: 1.65;

  --ls-tight: -0.02em;
  --ls-normal: 0;
  --ls-wide: 0.08em;

  /* Spacing scale (8px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --section-padding-y: clamp(4.5rem, 3.5rem + 4vw, 9rem);
  --container-width: 1180px;
  --container-padding-x: clamp(1.25rem, 1rem + 2vw, 2.5rem);

  /* Radius — rounder than a strict-minimal system, to match the reference's softer cards */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 999px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 500ms;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 60px rgba(34, 211, 238, 0.18);
}
