/*
 * OG Nexus design tokens. The values and their roles are in DESIGN.md at the theme root.
 * Loaded first on every front-end page; other theme CSS should use these names, not raw values.
 * Colours that Elementor's Site Settings kit owns are read from the kit's --e-global-color-* variables
 * (set on body.elementor-kit-6), so changing them in Site Settings changes them everywhere.
 */

:root {
	/* Neutrals */
	--og-bg: #05070b;
	--og-surface: #11151c;
	--og-surface-2: #151a24;
	--og-surface-navy: #0d1426;
	--og-border: rgba(255, 255, 255, .12);
	--og-border-strong: rgba(255, 255, 255, .20);
	--og-text: #f5f7fb;
	--og-text-2: #c3cad6;
	--og-muted: #9da5b3;
	--og-ink: #1b1f27;
	--og-link-on-light: #0b4fa8;

	/* Brand blue (one hue, two steps) */
	--og-blue: #328eff;
	--og-primary: var(--og-blue);
	--og-link: #7db8ff;
	--og-primary-soft: rgba(50, 142, 255, .14);
	--og-on-primary: #05070b;
	--og-accent: var(--og-blue); /* glow / category colour, overridden per card */

	/* Highlight: at most one use per page, never on buttons */
	--og-highlight: #a78bfa;

	/* Status */
	--og-success: #19c37d;
	--og-success-text: #5fe3a8;
	--og-success-soft: rgba(25, 195, 125, .12);
	--og-warning: #ffc94a;
	--og-warning-soft: rgba(255, 201, 74, .12);
	--og-danger: #ff5a5a;
	--og-danger-text: #ff9d9d;
	--og-danger-soft: rgba(255, 90, 90, .14);
	--og-disabled: #2a3350;

	/* Category palette (data only: product categories, Keystone tiles) */
	--og-cat-blue: #328eff;
	--og-cat-cyan: #22d3ee;
	--og-cat-green: #34d399;
	--og-cat-amber: #fbbf24;
	--og-cat-violet: #a78bfa;
	--og-cat-pink: #f472b6;
	--og-cat-slate: #6b8bb8;

	/* Typography */
	--og-font-display: "Orbitron", "Roboto", sans-serif;
	--og-font-body: "Roboto", system-ui, sans-serif;
	--og-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--og-fs-display: clamp(36px, 5vw, 56px);
	--og-fs-h1: clamp(30px, 4vw, 42px);
	--og-fs-h2: 28px;
	--og-fs-h3: 20px;
	--og-fs-lg: 18px;
	--og-fs-body: 16px;
	--og-fs-sm: 14px;
	--og-fs-xs: 12px;
	--og-lh-tight: 1.15;
	--og-lh-snug: 1.3;
	--og-lh-body: 1.6;
	--og-tracking-eyebrow: .12em;
	--og-measure: 68ch;

	/* Spacing (4px base) */
	--og-space-1: 4px;
	--og-space-2: 8px;
	--og-space-3: 12px;
	--og-space-4: 16px;
	--og-space-5: 24px;
	--og-space-6: 32px;
	--og-space-7: 48px;
	--og-space-8: 64px;
	--og-space-9: 96px;
	--og-space-10: 128px;
	--og-section-y: 96px;
	--og-container: 1180px;
	--og-gutter: 16px;

	/* Shape */
	--og-radius-sm: 8px;
	--og-radius-md: 12px;
	--og-radius-lg: 16px;
	--og-radius-xl: 24px;
	--og-radius-pill: 999px;

	/* Depth */
	--og-shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
	--og-shadow-lg: 0 24px 60px -24px rgba(0, 0, 0, .8);
	--og-focus: 0 0 0 3px rgba(50, 142, 255, .45);

	/* Motion */
	--og-dur-fast: 150ms;
	--og-dur-base: 250ms;
	--og-ease: cubic-bezier(.2, .7, .2, 1);

	/* Controls */
	--og-control-h: 44px;
}

/* Kit-owned values: follow Elementor Site Settings when the kit variables are present. */
body {
	--og-bg: var(--e-global-color-ogn_bg, #05070b);
	--og-surface: var(--e-global-color-secondary, #11151c);
	--og-border: var(--e-global-color-ogn_border, rgba(255, 255, 255, .12));
	--og-text: var(--e-global-color-text, #f5f7fb);
	--og-muted: var(--e-global-color-accent, #9da5b3);
	--og-blue: var(--e-global-color-primary, #328eff);
	--og-primary: var(--og-blue);
}

@media (max-width: 767px) {
	:root {
		--og-section-y: 64px;
	}
}

/* Pages with the OG3D background (2026-11-22): give the page itself the scene's dark base colour.
   html and body were transparent, so contrast checkers read the text against white instead of the dark scene. */
html:has(#og3d-bg) { background-color: #05070d; }
