/* ==========================================================================
   Globex "Veylo" design tokens — single source of truth for the redesign.
   Every value is overridable; the Customizer / Theme Dashboard can swap any
   of these without touching component CSS.

   Brand palette (1.8.0): deep navy #0A1172 is the primary brand colour for
   headings, primary buttons, card borders and navigation. A royal-blue
   secondary (#2F43E0) is reserved for gradients, glows and small accents so
   the UI stays bold without becoming monochrome.
   ========================================================================== */

:root {
	/* Brand — primary deep navy (#0A1172) + royal-blue secondary */
	--gx-primary:     #0A1172;
	--gx-accent:      #0A1172;
	--gx-accent-600:  #070C52;
	--gx-accent-100:  #EDEEF8;
	--gx-accent-glow: rgba(10, 17, 114, .16);
	--gx-secondary:      #2F43E0;
	--gx-secondary-600:  #2333C4;
	--gx-secondary-100:  #E8EBFC;

	/* Neutrals — crisp light UI with navy-tinted borders */
	--gx-bg:           #FFFFFF;
	--gx-bg-soft:      #F5F6FB;
	--gx-surface:      #FFFFFF;
	--gx-surface-2:    #F0F2FA;
	--gx-border:       #DFE2F0;
	--gx-border-strong:#C3C8E4;
	--gx-text:         #0A1172;
	--gx-text-2:       #3D4570;
	/* Caption grey: #5C6488 passes 5.2:1 on white (WCAG 1.4.3). */
	--gx-text-3:       #5C6488;
	--gx-inverse-bg:   #0A1172;
	--gx-inverse-text: #FFFFFF;

	/* Status (mock-UI accents) */
	--gx-success:      #15803D;
	--gx-success-100:  #E7F7EE;
	--gx-warning:      #B45309;
	--gx-warning-100:  #FEF3E2;
	--gx-danger:       #DC2626;

	/* Radius [VERIFIED: cards 20px, buttons 12px, chips 8px] */
	--gx-r-xs: 8px;
	--gx-r-sm: 12px;
	--gx-r-md: 16px;
	--gx-r-lg: 20px;
	--gx-r-xl: 32px;
	--gx-r-pill: 999px;

	/* Shadows — navy-tinted so cards sit on the brand palette */
	--gx-shadow-xs: 0 4px 10px rgba(10, 17, 114, .05);
	--gx-shadow-sm: 0 6px 16px rgba(10, 17, 114, .08);
	--gx-shadow-md: 0 10px 28px rgba(10, 17, 114, .12);
	--gx-shadow-lg: 0 24px 60px rgba(10, 17, 114, .16);
	--gx-ring: 0 0 0 4px rgba(10, 17, 114, .04);

	/* Spacing (8pt) */
	--gx-s-1: 4px;
	--gx-s-2: 8px;
	--gx-s-3: 12px;
	--gx-s-4: 16px;
	--gx-s-5: 24px;
	--gx-s-6: 32px;
	--gx-s-7: 48px;
	--gx-s-8: 64px;
	--gx-s-9: 96px;
	--gx-s-10: 128px;

	/* Layout */
	--gx-container: 1160px;
	--gx-gutter: clamp(18px, 4vw, 32px);
	--gx-section-y: clamp(56px, 8vw, 100px);

	/* Type — bold, confident headings in Plus Jakarta Sans */
	--gx-font-sans: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--gx-h1: clamp(2.35rem, 4vw + 1.05rem, 3.75rem);
	--gx-h2: clamp(2.1rem, 2.4vw + 1.25rem, 3rem);
	--gx-h3: clamp(1.5rem, .8vw + 1.15rem, 1.75rem);
	--gx-body: 1rem;
	--gx-body-lg: 1.125rem;
	--gx-small: .875rem;
	--gx-caption: .75rem;
	--gx-head-weight: 700;
	--gx-lh-tight: 1.06;
	--gx-lh-head: 1.12;
	--gx-lh-body: 1.6;
	--gx-ls-head: -0.03em;
	--gx-ls-display: -0.045em;

	/* Motion [VERIFIED: 0.2s ease transitions] */
	--gx-ease: cubic-bezier(.22, 1, .36, 1);
	--gx-ease-spring: cubic-bezier(.34, 1.56, .64, 1);
	--gx-dur-fast: 160ms;
	--gx-dur: 240ms;
	--gx-dur-slow: 800ms;
	--gx-reveal-distance: 24px;

	/* Header height is published by main.js (--gls-header-offset); these are
	   the safe fallbacks used before JS runs and inside static previews. */
	--gx-header-offset: var(--gls-header-offset, 128px);
}
