:root {
  /* Brand — Primary scale (from Kuantik GO Design System) */
  --color-primary-100: #3380D0;
  --color-primary-200: #005FC0;
  --color-primary-300: #00458A;

  /* Brand — Secondary scale */
  --color-secondary-100: #40B9FF;
  --color-secondary-200: #009DFF;
  --color-secondary-300: #0074BA;

  /* Brand — Terciary scale */
  --color-terciary-100: #4DDCFF;
  --color-terciary-200: #00C7FF;
  --color-terciary-300: #0095BA;

  /* Brand — Uso cromático primario (Kuantik marca madre) */
  --brand-cyan: #00C7FF;
  --brand-blue-medium: #0064E6;
  --brand-blue-dark: #0154A0;
  --brand-blue-deep: #005ABE;

  /* Working aliases for the page */
  --color-primary: var(--brand-blue-medium);
  --color-primary-hover: var(--brand-blue-deep);
  --color-accent: var(--brand-cyan);
  --color-dark: var(--brand-blue-dark);

  /* Neutrals */
  --color-neutral-50: #FAF9F9;
  --color-neutral-100: #F3F4F6;
  --color-neutral-200: #E5E7EB;
  --color-neutral-500: #9BA3AF;
  --color-neutral-900: #1E293B;
  --color-white: #FFFFFF;
  --color-black: #000000;

  /* Text — tuned for WCAG AA contrast on white */
  --color-text-strong: #0B1220;    /* >= 16:1 on white */
  --color-text: #1E293B;            /* >= 12:1 */
  --color-text-muted: #3F4D63;      /* 8.6:1 (was #475569 - 7.6:1) */
  --color-text-soft: #56657A;       /* 6.3:1 (was #64748B - 4.8:1) */
  --color-text-inverse: #FFFFFF;

  /* Background */
  --color-bg: #FFFFFF;
  --color-bg-soft: #FAFBFC;
  --color-bg-tint: #F3F8FE;
  --color-bg-tint-deep: #EAF2FB;
  --color-border: #E5E7EB;
  --color-border-soft: #EEF2F6;

  /* Status colors (derived from brand) */
  --color-success: #16A34A;
  --color-warning: #F59E0B;
  --color-danger: #DC2626;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, var(--brand-cyan) 0%, var(--brand-blue-medium) 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(0,199,255,0.10) 0%, rgba(0,100,230,0.10) 100%);
  --gradient-deep: linear-gradient(135deg, #0064E6 0%, #005ABE 50%, #0154A0 100%);
  --gradient-radial-hero: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,199,255,0.18), transparent 60%);

  /* Typography */
  --font-sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --fs-display: clamp(2.75rem, 4.2vw, 4.25rem);  /* hero */
  --fs-h1: clamp(2.25rem, 3.4vw, 3rem);          /* 48px */
  --fs-h2: clamp(1.875rem, 2.6vw, 2.25rem);      /* 36px */
  --fs-h3: 1.5rem;                                /* 24px */
  --fs-h4: 1.25rem;                               /* 20px */
  --fs-body-lg: 1.25rem;                          /* 20px */
  --fs-body: 1.125rem;                            /* 18px */
  --fs-body-sm: 1rem;                             /* 16px */
  --fs-small: 0.875rem;                           /* 14px */
  --fs-eyebrow: 0.8125rem;                        /* 13px */

  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-normal: 1.55;
  --lh-relaxed: 1.7;

  --letter-tight: -0.02em;
  --letter-normal: 0;
  --letter-wide: 0.04em;
  --letter-eyebrow: 0.12em;

  /* 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-7: 1.75rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-14: 3.5rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-28: 7rem;
  --space-32: 8rem;

  /* Section vertical rhythm */
  --section-y: clamp(3rem, 5vw, 5rem);

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 36px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 18px 48px rgba(15, 23, 42, 0.10), 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 32px 80px rgba(15, 23, 42, 0.14), 0 8px 20px rgba(15, 23, 42, 0.06);
  --shadow-brand: 0 16px 40px rgba(0, 100, 230, 0.28);
  --shadow-brand-strong: 0 24px 60px rgba(0, 100, 230, 0.36);

  /* Layout */
  --container-max: 1240px;
  --container-x: clamp(1.25rem, 4vw, 2.5rem);

  /* Nav */
  --nav-height: 88px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0.05, 0.36, 1);
  --duration-fast: 160ms;
  --duration-base: 240ms;
  --duration-slow: 480ms;

  /* Focus */
  --focus-ring: 0 0 0 3px rgba(0, 199, 255, 0.55);
  --focus-ring-dark: 0 0 0 3px rgba(255, 255, 255, 0.55);

  /* ─────────────────────────────────────────────────────────
     UNIFIED INTERACTION SYSTEM
     Consistent tokens reused across all interactive components.
     Hover, focus, active and select effects feel predictable.
     ───────────────────────────────────────────────────────── */

  /* Hover surfaces — translation + shadow + border */
  --hover-lift: -4px;                   /* universal vertical lift  */
  --hover-lift-sm: -2px;                /* smaller buttons / pills  */
  --hover-shadow: 0 18px 40px rgba(0, 100, 230, 0.14), 0 4px 12px rgba(15, 23, 42, 0.06);
  --hover-shadow-brand: 0 22px 50px rgba(0, 100, 230, 0.22);
  --hover-border: rgba(0, 100, 230, 0.32);

  /* Active / Selected state — kuantik gradient ring */
  --active-ring: 0 0 0 2px var(--brand-cyan), 0 16px 40px rgba(0, 100, 230, 0.22);
  --active-bg: linear-gradient(180deg, rgba(0, 199, 255, 0.06) 0%, rgba(0, 100, 230, 0.04) 100%);

  /* Glass card system — used on image backgrounds */
  --glass-bg: rgba(255, 255, 255, 0.10);
  --glass-bg-strong: rgba(255, 255, 255, 0.16);
  --glass-border: rgba(255, 255, 255, 0.22);
  --glass-blur: saturate(140%) blur(18px);
  --glass-shadow: 0 16px 48px rgba(0, 24, 60, 0.28);

  /* Dark / brand-image surface tokens */
  --on-dark-text: #FFFFFF;
  --on-dark-muted: rgba(255, 255, 255, 0.78);
  --on-dark-soft: rgba(255, 255, 255, 0.58);

  /* Brand image overlays */
  --brand-image-overlay: linear-gradient(150deg, rgba(0, 24, 60, 0.55) 0%, rgba(0, 70, 160, 0.40) 60%, rgba(0, 100, 230, 0.30) 100%);

  /* Section grid — reused on blueprint / pricing comparator */
  --grid-line: rgba(0, 100, 230, 0.06);
  --grid-line-dark: rgba(255, 255, 255, 0.05);
}
