/**
 * OVKON design tokens — Brand Guidelines 2026-08-11
 * Source: packages/brand-kit/docs/BRAND-GUIDELINES.md
 *
 * Foundation: Black + White.
 * Accent: Signal (activity only — never dominates the mark).
 * Heritage blues retained for product bridge / 3D finishes.
 */

:root {
  /* —— Foundation —— */
  --ov-black: #050505;
  --ov-white: #FFFFFF;

  /* —— Accent (one) —— */
  --ov-signal: #C8F547;
  --ov-signal-deep: #A8D62E;

  /* —— Heritage / product bridge (not master corporate fill) —— */
  --ov-blue: #2563EB;
  --ov-blue-deep: #1D4EDB;
  --ov-glow: #60A5FA;
  --ov-teal: #38BDF8;

  /* —— Surfaces / ink —— */
  --ov-ink: #050505;
  --ov-ink-deep: #050505;
  --ov-ink-soft: #111827;
  --ov-muted: #6B7280;
  --ov-foam: #F3F4F6;
  --ov-line: rgba(5, 5, 5, 0.08);

  /* —— Type —— */
  --ov-font-ui: "Space Grotesk", "Exo 2", system-ui, sans-serif;
  --ov-font-body: "Space Grotesk", "Exo 2", system-ui, sans-serif;
  --ov-font-display: "Space Grotesk", system-ui, sans-serif; /* Orbitron retired for corporate display */
  --ov-font-wordmark: "Space Grotesk", system-ui, sans-serif;
  --ov-fs-xs: 0.72rem;
  --ov-fs-sm: 0.88rem;
  --ov-fs-md: 1rem;
  --ov-fs-lg: 1.15rem;
  --ov-fs-xl: clamp(1.35rem, 2.5vw, 1.75rem);
  --ov-fs-2xl: clamp(1.55rem, 3.2vw, 2.35rem);
  --ov-fs-hero: clamp(2.4rem, 7vw, 4.5rem);
  --ov-tracking-wordmark: 0.12em;
  --ov-tracking-display: 0.06em;
  --ov-tracking-kicker: 0.14em;

  /* —— Space (4px base ↔ brand U) —— */
  --ov-space-1: 0.25rem;
  --ov-space-2: 0.5rem;
  --ov-space-3: 0.75rem;
  --ov-space-4: 1rem;
  --ov-space-5: 1.5rem;
  --ov-space-6: 2rem;
  --ov-space-7: 3rem;
  --ov-space-8: 4rem;
  --ov-space-9: 6rem;
  --ov-max: 1120px;
  --ov-max-narrow: 720px;

  /* —— Motion —— */
  --ov-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ov-dur-fast: 180ms;
  --ov-dur: 320ms;
  --ov-dur-slow: 700ms;
  --ov-dur-activation: 550ms;
  --ov-dur-convergence: 800ms;
  --ov-dur-orbit: 28s;
  --ov-dur-depart: 900ms;

  /* —— Mark geometry (viewBox 120) —— */
  --ov-mark-size: 2.5rem;
  --ov-mark-stroke: 5.2;
  --ov-mark-u: 7.5; /* core radius unit */
  --ov-mark-orbit-rx: 44;
  --ov-mark-orbit-ry: 22;
  --ov-mark-orbit-a: -28deg;
  --ov-mark-orbit-b: 38deg;

  /* —— Legacy aliases —— */
  --ink: var(--ov-ink);
  --ink-soft: var(--ov-ink-soft);
  --muted: var(--ov-muted);
  --foam: var(--ov-foam);
  --line: var(--ov-line);
  --white: var(--ov-white);
  --blue: var(--ov-blue);
  --blue-deep: var(--ov-blue-deep);
  --blue-glow: var(--ov-glow);
  --teal: var(--ov-teal);
  --max: var(--ov-max);
  --font: var(--ov-font-ui);
  --font-display: var(--ov-font-display);
  --font-body: var(--ov-font-body);
  --accent: var(--ov-signal);
  --accent-deep: var(--ov-signal-deep);
  --ease: var(--ov-ease);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --ov-dur-fast: 1ms;
    --ov-dur: 1ms;
    --ov-dur-slow: 1ms;
    --ov-dur-activation: 1ms;
    --ov-dur-convergence: 1ms;
    --ov-dur-orbit: 1ms;
    --ov-dur-depart: 1ms;
  }
}
