/* Economiq design tokens.
   Brand gradient sampled from assets/brand/economiq-mark-source.png
   (DEFINITIVA editada.png). See memory-bank/BRAND_SOURCE_OF_TRUTH.md */

:root {
  /* --- Brand gradient (sampled from mark source PNG) --- */
  --color-brand-start: #0b47e9;
  --color-brand-mid: #087af4;
  --color-brand-end: #0abffd;
  --gradient-brand: linear-gradient(
    90deg,
    var(--color-brand-start) 0%,
    var(--color-brand-mid) 50%,
    var(--color-brand-end) 100%
  );
  /* Darker CTA gradient — keeps white label readable (avoids bright cyan under text) */
  --gradient-brand-cta: linear-gradient(
    90deg,
    var(--color-brand-start) 0%,
    var(--color-brand-mid) 100%
  );

  /* --- UI colors derived from brand --- */
  --color-background: #f5f8fc;
  --color-surface: #ffffff;
  --color-surface-tint: #eef3fb;
  --color-section-alt: #f3f7fc;
  --color-text: #12151a;
  --color-text-muted: #5c6570;
  --color-primary: #0b47e9;
  --color-primary-hover: #0939c4;
  --color-border: #d5deea;
  --color-focus: #0b47e9;
  --color-hero-glow: rgba(11, 71, 233, 0.1);
  --color-hero-mist: rgba(10, 191, 253, 0.08);
  --shadow-header: 0 8px 24px rgba(18, 21, 26, 0.04);

  /* --- Semantic (NOT brand gradient) --- */
  --color-success: #2f6b4f;
  --color-warning: #8a6a1f;
  --color-error: #8b2e2e;

  --font-sans: "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: clamp(2.25rem, 4vw, 3rem);
  --text-brand: clamp(2.75rem, 6vw, 4.25rem);

  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-normal: 1.6;

  --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: 4.5rem;
  --space-9: 6.5rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;

  --shadow-focus: 0 0 0 3px rgba(11, 71, 233, 0.28);
  --container: 72rem;
  --header-height: 4.25rem;
  --wordmark-header-height: 1.75rem;
  --wordmark-hero-height: clamp(2.75rem, 7vw, 4rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 280ms;
}
