/*
 * Токены дизайн-системы.
 * Порядок подключения файлов задаётся в inc/enqueue.php.
 */

:root {
	/* Цвета */
	--color-brand: #173f32;
	--color-brand-dark: #102f25;
	--color-accent: #007c38;
	--color-surface: #fffefa;
	--color-surface-muted: #f7f5ef;
	--color-ink: #252b25;
	--color-ink-muted: #586654;
	--color-line: #e3e5db;
	--color-danger: #ab4433;
	--color-caramel: #b66d41;
	--color-footer: #eeeee5;
	--color-footer-text: #56664f;
	--color-footer-muted: #8b927f;
	--color-footer-line: #dfe2d4;
	--color-focus: #007c38;

	/* Шрифты */
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-display: Georgia, "Times New Roman", serif;

	/* Кегли */
	--text-xs: 0.75rem;
	--text-sm: 0.875rem;
	--text-md: 1rem;
	--text-lg: 1.25rem;
	--text-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
	--text-2xl: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);

	/* Отступы, шаг 4 px */
	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 24px;
	--space-6: 32px;
	--space-7: 48px;
	--space-8: 64px;

	/* Радиусы */
	--radius-sm: 8px;
	--radius-md: 14px;
	--radius-lg: 24px;
	--radius-pill: 999px;

	/* Каркас */
	--container: 1400px;
	--shadow-card: 0 8px 30px rgb(26 53 32 / 8%);
	--duration-fast: 150ms;
	--duration-base: 250ms;

	/* Слои */
	--z-header: 100;
	--z-overlay: 900;
	--z-modal: 1000;
}
