/**
 * SpotaNest design tokens.
 *
 * The single source of truth for colour, type, spacing, radius, shadow and motion.
 * Every SpotaNest stylesheet (theme overrides, plugins, components) must use these
 * variables instead of hard-coded values so the whole site stays consistent.
 */
:root {
	/* Brand — sampled from the primary logo (SpotaNest_Primary_Logo_Original.png):
	   ring/magnifier green #009664, "Nest" wordmark #008C5D, nest/house orange #F37A06,
	   "Spota" wordmark #16232C, globe #3D4952. */
	--spn-jade: #009664;
	--spn-jade-dark: #008C5D;
	--spn-jade-darker: #00744D;
	--spn-jade-soft: #E6F5EF;
	--spn-jade-border: #B3DFCD;
	--spn-orange: #F37A06;
	--spn-orange-dark: #C25E00;
	--spn-orange-soft: #FEF2E6;
	--spn-orange-border: #FBD3AC;
	--spn-gold: #F59E0B;        /* Brand kit "Gold Orange": ratings, highlights. */
	--spn-nest-brown: #7A4A24;  /* Brand kit "Nest Brown": sparing accent only. */
	--spn-gradient: linear-gradient(135deg, #009664 0%, #008C5D 55%, #F37A06 100%);

	/* Neutrals: ink = "Spota" wordmark, ink-2 = globe; light gray / line gray from the brand kit. */
	--spn-ink: #16232C;
	--spn-ink-2: #3D4952;
	--spn-slate: #52606D;       /* Secondary text. */
	--spn-muted: #8A96A0;
	--spn-line: #E5E7EB;
	--spn-line-strong: #CBD3DA;
	--spn-surface: #F8FAFC;
	--spn-white: #FFFFFF;

	/* Feedback */
	--spn-success: #009664;
	--spn-warning: #F59E0B;
	--spn-warning-soft: #FEF3C7;
	--spn-danger: #C62828;
	--spn-danger-soft: #FDECEC;
	--spn-info: #2563EB;
	--spn-info-soft: #EAF1FE;

	/* Typography */
	--spn-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--spn-font-size: 15px;
	--spn-line-height: 1.6;
	--spn-fs-xs: 12px;
	--spn-fs-sm: 13.5px;
	--spn-fs-md: 15px;
	--spn-fs-lg: 17px;
	--spn-fs-h6: 15px;
	--spn-fs-h5: 17px;
	--spn-fs-h4: 20px;
	--spn-fs-h3: clamp(20px, 1.4vw + 14px, 24px);
	--spn-fs-h2: clamp(24px, 2vw + 16px, 32px);
	--spn-fs-h1: clamp(30px, 3.2vw + 16px, 48px);
	--spn-fw-regular: 400;
	--spn-fw-medium: 500;
	--spn-fw-semibold: 600;
	--spn-fw-bold: 700;
	--spn-fw-heavy: 800;
	--spn-fw-heading: 800;           /* Brand kit: headlines Inter 800. */
	--spn-tracking-tight: -0.025em;
	--spn-tracking-heading: -0.04em; /* Brand kit: -0.04em to -0.06em. */
	--spn-tracking-display: -0.05em; /* Large hero headlines. */
	--spn-tracking-tagline: 0.22em;  /* Tagline: uppercase, weight 600. */

	/* Spacing scale (4px base) */
	--spn-space-1: 4px;
	--spn-space-2: 8px;
	--spn-space-3: 12px;
	--spn-space-4: 16px;
	--spn-space-5: 20px;
	--spn-space-6: 24px;
	--spn-space-8: 32px;
	--spn-space-10: 40px;
	--spn-space-12: 48px;
	--spn-space-16: 64px;
	--spn-gutter: clamp(16px, 4vw, 24px);
	--spn-container: 1240px;

	/* Shape */
	--spn-radius-sm: 10px;
	--spn-radius-md: 14px;
	--spn-radius-lg: 20px;
	--spn-radius-xl: 26px;
	--spn-radius-pill: 999px;

	/* Elevation */
	--spn-shadow-xs: 0 1px 2px rgba(22, 35, 44, .06);
	--spn-shadow-sm: 0 8px 26px rgba(22, 35, 44, .07);
	--spn-shadow-md: 0 18px 56px rgba(22, 35, 44, .10);
	--spn-shadow-brand: 0 10px 24px rgba(0, 150, 100, .22);
	--spn-focus-ring: 0 0 0 3px rgba(0, 150, 100, .22);

	/* Controls */
	--spn-control-height: 48px;
	--spn-touch-target: 44px;

	/* Motion */
	--spn-ease: cubic-bezier(.2, .8, .2, 1);
	--spn-duration: .18s;
}

@media (prefers-reduced-motion: reduce) {
	:root { --spn-duration: 0s; }
}
