/* ============================================================
   Closora — Classic Light Design Tokens
   White canvas, ink text, deep blue primary, clean enterprise SaaS.
   ============================================================ */
:root {
  /* ---- Canvas (clean white) ---- */
  --color-background: #ffffff;
  --color-background-2: #f7f7f9;
  --color-surface: #f4f4f7;          /* card / subtle bg */
  --color-surface-2: #ebebee;        /* raised panel */
  --color-panel: #e4e4e8;            /* deeper panel */
  --color-ink-plate: #0b0f14;        /* kept for any full-bleed dark areas */

  /* ---- Text ramp (dark on light) ---- */
  --color-text: #0b0f14;             /* near-black — headlines */
  --color-text-muted: #3c3c52;       /* body text */
  --color-text-subtle: #72728a;      /* captions, kickers, meta */
  --color-text-faint: #babace;       /* decorative / placeholder */
  --color-text-on-ink: #0b0f14;      /* same bg — no need for white override */

  /* ---- Brand / CTA ---- */
  --color-primary: #1a40c4;          /* deep enterprise blue */
  --color-primary-hover: #1535a8;    /* darker on hover */
  --color-on-primary: #ffffff;       /* white text on blue */

  /* ---- Accent: deep violet (readable on white) ---- */
  --color-accent: #5a4ccc;           /* deep violet — legible on white */
  --color-accent-hover: #4a3cbc;     /* darker on hover */
  --color-accent-press: #3a2ca8;     /* press state */
  --color-accent-soft: #7c6aff;      /* light tint uses */
  --color-accent-ink: #4a3cbc;       /* accent text on light (contrast ≥ 4.5:1) */
  --color-accent-wash: rgba(90, 76, 204, 0.07);
  --color-gold: #c07b00;             /* warm gold — used for special highlights */

  /* ---- Secondary accent: sky blue ---- */
  --color-cyan: #0284c7;             /* sky blue — eyebrows and secondary UI */
  --color-cyan-wash: rgba(2, 132, 199, 0.07);

  /* ---- Hairlines / rules (dark on light) ---- */
  --color-line: rgba(0, 0, 0, 0.08);
  --color-line-strong: rgba(0, 0, 0, 0.14);

  /* ---- State colors ---- */
  --color-success: #2e7d32;
  --color-warning: #c77a00;
  --color-error: #c62828;
  --color-info: #1565c0;

  /* ---- Neutral scale (light) ---- */
  --neutral-0: #ffffff;
  --neutral-50: #f7f7f9;
  --neutral-100: #f4f4f7;
  --neutral-200: #e4e4e8;
  --neutral-400: #babace;
  --neutral-600: #72728a;
  --neutral-800: #3c3c52;
  --neutral-900: #0b0f14;

  /* ---- Typography ---- */
  --font-display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif-text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-ui: var(--font-sans);
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* ---- Fluid type scale (dramatic, editorial) ---- */
  --fs-display: clamp(3rem, 1.6rem + 6.4vw, 6rem);      /* 48 → 96 hero */
  --fs-h1: clamp(2.5rem, 1.6rem + 4vw, 4.25rem);        /* 40 → 68 */
  --fs-h2: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);         /* 32 → 50 */
  --fs-h3: clamp(1.5rem, 1.2rem + 1.4vw, 2.05rem);      /* 24 → 33 */
  --fs-h4: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);      /* 20 → 24 */
  --fs-h5: 1.25rem;
  --fs-deck: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);    /* standfirst */
  --fs-quote: clamp(1.75rem, 1.3rem + 2vw, 2.6rem);     /* pull quote */
  --fs-lead: clamp(1.125rem, 1.04rem + 0.45vw, 1.35rem);
  --fs-body: 1.0625rem;     /* 17px */
  --fs-body-lg: 1.1875rem;  /* 19px long-read */
  --fs-caption: 0.875rem;
  --fs-eyebrow: 0.75rem;

  --fw-light: 300;
  --fw-regular: 400;
  --fw-book: 450;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 800;

  --lh-tight: 1.05;
  --lh-heading: 1.12;
  --lh-body: 1.7;

  --tracking-eyebrow: 0.18em;
  --tracking-tight: -0.015em;

  /* ---- Spacing scale (px) ---- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* ---- Radius (enterprise — sharp confidence) ---- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 999px;

  /* ---- Gradients — removed; solid equivalents used throughout ---- */
  --gradient-brand: var(--color-primary);
  --gradient-brand-soft: rgba(26, 64, 196, 0.08);
  --gradient-ink: var(--color-ink-plate);
  --gradient-surface: var(--color-surface);
  --gradient-hero: transparent;
  --gradient-glow: transparent;
  --gradient-mesh: transparent;

  /* ---- Shadows — removed; borders used for definition ---- */
  --shadow-xs: 0 0 0 0 transparent;
  --shadow-sm: 0 0 0 0 transparent;
  --shadow-card: 0 0 0 0 transparent;
  --shadow-lg: 0 0 0 0 transparent;
  --shadow-glow: 0 0 0 0 transparent;
  --shadow-glow-green: 0 0 0 0 transparent;
  --shadow-cta: 0 0 0 0 transparent;
  --ring-accent: 0 0 0 0 transparent;

  /* ---- Layout (generous editorial margins) ---- */
  --container: 1440px;
  --container-wide: 1560px;
  --container-narrow: 820px;
  --gutter: clamp(24px, 6vw, 72px);

  /* ---- Motion (quiet, elegant) ---- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 520ms;

  /* ---- Z-index ---- */
  --z-banner: 60;
  --z-nav: 70;
  --z-drawer: 80;
  --z-modal: 90;
  --z-toast: 100;
}
