/**
 * Uniway Trading – Design tokens.
 * Change colours, fonts, spacing and radii here; every other file uses these variables.
 */

:root {
	/* Brand colours (from the Uniway logo / coming soon page) */
	--uw-primary: #008c46;
	--uw-primary-dark: #006b36;
	--uw-primary-darker: #005229;
	--uw-primary-light: #e9f7ef;
	--uw-primary-soft: #d3efdf;
	--uw-primary-rgb: 0, 140, 70;
	--uw-accent: #16a05a;
	--uw-deep: #063d25;
	--uw-deep-2: #0a2f1e;

	/* Neutrals */
	--uw-text: #17231c;
	--uw-heading: #0f1a14;
	--uw-muted: #68766d;
	--uw-border: #e3ece6;
	--uw-border-strong: #cfdcd3;
	--uw-bg: #f7faf8;
	--uw-bg-tint: #f1f7f3;
	--uw-white: #ffffff;
	--uw-black: #000000;

	/* Utility colours */
	--uw-whatsapp: #25d366;
	--uw-whatsapp-dark: #1da851;
	--uw-success: #22c55e;
	--uw-error: #dc2626;
	--uw-error-bg: #fef2f2;

	/* Gradients */
	--uw-gradient: linear-gradient(120deg, #008c46 0%, #16a05a 50%, #005f32 100%);
	--uw-gradient-deep: linear-gradient(135deg, #063d25 0%, #0a5a35 55%, #008c46 100%);
	--uw-gradient-soft: linear-gradient(180deg, #ffffff 0%, #f1f7f3 100%);

	/* Typography */
	--uw-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--uw-fs-xs: 0.75rem;
	--uw-fs-sm: 0.875rem;
	--uw-fs-base: 1rem;
	--uw-fs-md: 1.0625rem;
	--uw-fs-lg: 1.25rem;
	--uw-fs-xl: 1.5rem;
	--uw-fs-h3: clamp(1.125rem, 1rem + 0.5vw, 1.3rem);
	--uw-fs-h2: clamp(1.875rem, 1.3rem + 2.2vw, 2.875rem);
	--uw-fs-h1: clamp(2.5rem, 1.6rem + 4vw, 4.75rem);
	--uw-fs-page-title: clamp(2.125rem, 1.5rem + 2.8vw, 3.5rem);
	--uw-lh: 1.75;
	--uw-lh-tight: 1.15;
	--uw-fw-regular: 400;
	--uw-fw-medium: 500;
	--uw-fw-semibold: 600;
	--uw-fw-bold: 700;
	--uw-fw-extrabold: 800;
	--uw-fw-black: 900;

	/* Layout */
	--uw-container: 1240px;
	--uw-container-narrow: 860px;
	--uw-gutter: 24px;
	--uw-section-y: clamp(64px, 5vw + 32px, 112px);
	--uw-header-h: 84px;
	--uw-topbar-h: 42px;
	--uw-gap: 28px;

	/* Radii */
	--uw-radius-sm: 8px;
	--uw-radius: 12px;
	--uw-radius-md: 16px;
	--uw-radius-lg: 22px;
	--uw-radius-xl: 32px;
	--uw-radius-pill: 999px;

	/* Shadows */
	--uw-shadow-xs: 0 1px 2px rgba(15, 26, 20, 0.05);
	--uw-shadow-sm: 0 5px 20px rgba(15, 26, 20, 0.04);
	--uw-shadow: 0 10px 35px rgba(15, 26, 20, 0.06);
	--uw-shadow-md: 0 18px 45px rgba(15, 26, 20, 0.09);
	--uw-shadow-lg: 0 30px 70px rgba(15, 26, 20, 0.14);
	--uw-shadow-green: 0 12px 28px rgba(0, 140, 70, 0.22);
	--uw-shadow-green-lg: 0 18px 40px rgba(0, 140, 70, 0.3);

	/* Motion */
	--uw-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--uw-t-fast: 0.2s;
	--uw-t: 0.35s;
	--uw-t-slow: 0.8s;

	/* Z-index scale */
	--uw-z-header: 100;
	--uw-z-backdrop: 99; /* below header: the off-canvas nav lives inside the header's stacking context */
	--uw-z-nav: 200;
	--uw-z-overlay: 300;
	--uw-z-float: 90;
	--uw-z-preloader: 999;
}

@media (max-width: 991px) {
	:root {
		--uw-header-h: 72px;
		--uw-gap: 22px;
	}
}

@media (max-width: 575px) {
	:root {
		--uw-gutter: 18px;
		--uw-gap: 18px;
	}
}
