/*
 * Virexa design tokens.
 *
 * Colours are sampled from the approved mockup (design/virexa-mockup.png).
 * Everything else in the theme reads these custom properties; change values
 * here rather than in component files.
 */

@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext carries the Naira sign (U+20A6) used in programme prices. */
@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	/* Brand */
	--vx-color-primary: #4e22c6;
	--vx-color-primary-dark: #3a179f;
	--vx-color-primary-darker: #1e0780;
	--vx-color-primary-light: #f1ecfd;
	--vx-color-primary-lighter: #f8f6fe;
	--vx-color-accent: #8b5cf6;
	--vx-color-accent-soft: #c4b0f7;

	/* Neutrals */
	--vx-color-background: #ffffff;
	--vx-color-surface: #ffffff;
	--vx-color-surface-alt: #f6f6fc;
	--vx-color-text: #0b0b2e;
	--vx-color-text-muted: #5b5e78;
	--vx-color-text-subtle: #696c86;
	--vx-color-border: #e7e6f0;
	--vx-color-border-strong: #cfcde0;

	/* Dark surfaces (stats band, footer, dashboard sidebar) */
	--vx-color-ink: #0b0c36;
	--vx-color-ink-raised: #17184a;
	--vx-color-ink-border: rgba(255, 255, 255, 0.1);
	--vx-color-on-ink: #ffffff;
	--vx-color-on-ink-muted: #b9b8d8;

	/* Status: each has a strong (text/icon) and soft (background) value. */
	--vx-color-success: #067647;
	--vx-color-success-soft: #ecfdf3;
	--vx-color-warning: #a64b00;
	--vx-color-warning-soft: #fff6e5;
	--vx-color-danger: #c4291c;
	--vx-color-danger-soft: #fef1f0;
	--vx-color-info: #175cd3;
	--vx-color-info-soft: #eff6ff;

	--vx-gradient-cta: linear-gradient(100deg, #170861 0%, #2b0f8a 45%, #4a1bb8 100%);
	--vx-gradient-hero: linear-gradient(90deg, #f8f6fe 0%, #f8f6fe 40%, rgba(248, 246, 254, 0) 100%);

	/* Typography */
	--vx-font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--vx-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--vx-text-display: clamp(2.25rem, 1.5rem + 3.2vw, 3.75rem);
	--vx-text-h1: clamp(2rem, 1.5rem + 2vw, 3rem);
	--vx-text-h2: clamp(1.625rem, 1.3rem + 1.3vw, 2.25rem);
	--vx-text-h3: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
	--vx-text-h4: 1.0625rem;
	--vx-text-lead: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
	--vx-text-body: 1rem;
	--vx-text-small: 0.875rem;
	--vx-text-caption: 0.75rem;
	--vx-text-button: 0.9375rem;
	--vx-text-nav: 0.9375rem;

	--vx-leading-tight: 1.15;
	--vx-leading-snug: 1.3;
	--vx-leading-body: 1.65;

	--vx-weight-regular: 400;
	--vx-weight-medium: 500;
	--vx-weight-semibold: 600;
	--vx-weight-bold: 700;
	--vx-weight-extrabold: 800;

	--vx-tracking-tight: -0.02em;
	--vx-tracking-eyebrow: 0.08em;

	/* Spacing (4px base) */
	--vx-space-1: 0.25rem;
	--vx-space-2: 0.5rem;
	--vx-space-3: 0.75rem;
	--vx-space-4: 1rem;
	--vx-space-5: 1.25rem;
	--vx-space-6: 1.5rem;
	--vx-space-8: 2rem;
	--vx-space-10: 2.5rem;
	--vx-space-12: 3rem;
	--vx-space-16: 4rem;
	--vx-space-20: 5rem;
	--vx-space-24: 6rem;
	--vx-section-space: clamp(3.5rem, 2.5rem + 4vw, 6rem);

	/* Layout */
	--vx-container: 1200px;
	--vx-container-narrow: 760px;
	--vx-gutter: clamp(1rem, 0.5rem + 2vw, 2rem);
	--vx-header-height: 72px;

	/* Radius */
	--vx-radius-sm: 6px;
	--vx-radius-md: 10px;
	--vx-radius-lg: 16px;
	--vx-radius-xl: 24px;
	--vx-radius-pill: 999px;

	/* Shadows: kept soft; the mockup relies on borders more than elevation. */
	--vx-shadow-xs: 0 1px 2px rgba(16, 12, 64, 0.06);
	--vx-shadow-sm: 0 2px 8px rgba(16, 12, 64, 0.06);
	--vx-shadow-md: 0 10px 30px rgba(16, 12, 64, 0.08);
	--vx-shadow-lg: 0 24px 60px rgba(16, 12, 64, 0.14);
	--vx-shadow-primary: 0 8px 20px rgba(78, 34, 198, 0.25);

	/* Focus */
	--vx-focus-ring: 0 0 0 3px #ffffff, 0 0 0 5px var(--vx-color-primary);
	--vx-focus-ring-on-dark: 0 0 0 3px var(--vx-color-ink), 0 0 0 5px #ffffff;

	/* Motion */
	--vx-ease: cubic-bezier(0.2, 0, 0, 1);
	--vx-duration-fast: 120ms;
	--vx-duration: 200ms;
	--vx-transition: var(--vx-duration) var(--vx-ease);

	--vx-z-header: 100;
	--vx-z-overlay: 200;
}

@media (prefers-reduced-motion: reduce) {
	:root {
		--vx-duration-fast: 0ms;
		--vx-duration: 0ms;
	}
}
