/* Synced from design/tokens.css by bin/sync-theme-assets.mjs. Edit the source, not this copy. */
/* BlogPsy design tokens, v0. Source of truth for the theme's custom properties.
   Palette from the brief; derived colours checked by design/tools/contrast-check.mjs.
   Type: Golos Text, body 18/1.75 (decision D5). Mobile values first, desktop from 760px. */
:root {
	/* Colour */
	--color-bg: #f7f9f8;
	--color-surface: #ffffff;
	--color-ink: #253b3d;
	--color-ink-soft: #4d6264;
	--color-accent: #326f6b;
	--color-accent-strong: #245652;
	--color-accent-soft: #e4f0ec;
	--color-rule: #d5dedb;
	--color-rule-strong: #728986;
	--color-focus: #326f6b;
	--color-demo: #8a5a1f;
	--color-demo-bg: #fbf3e7;

	/* Brand covers (gene k_brandcover): muted decorative tint per rubric, never behind text */
	--cover-otnosheniya: #ecdfe0;
	--cover-lichnost: #e3e2ee;
	--cover-psikhologiya-kak-nauka: #e5e9dc;
	--cover-chelovek-i-obshchestvo: #e0e7ee;
	--cover-emotsii: #f1e5d6;
	--cover-myshlenie-i-mozg: #dcebe5;
	--cover-samoregulyatsiya: #dde9ee;
	--cover-semya-i-deti: #eee6d4;
	--cover-shape: #326f6b;

	/* Type */
	--font-sans: "Golos Text Variable", "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--fw-regular: 400;
	--fw-medium: 500;
	--fw-semibold: 600;
	--fw-bold: 700;

	--fs-h1: 32px;
	--fs-h2: 24px;
	--fs-h3: 20px;
	--fs-lead: 18px;
	--fs-body: 18px;
	--fs-small: 15px;
	--fs-meta: 14px;
	--fs-logo: 24px;
	--fs-nav: 15px;
	--fs-card-title: 18px;
	--fs-block-title: 17px;
	--fs-table: 16px;
	--fs-card-label: 14px;  /* inside cards: never below 14px (anti-gene x_empty) */
	--fs-label: 13px;       /* uppercase letter-spaced labels outside cards only */
	--lh-body: 1.75;
	--lh-lead: 1.6;
	--lh-heading: 1.2;
	--lh-tight: 1.4;

	/* Space (4px base) */
	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 24px;
	--space-6: 32px;
	--space-7: 48px;
	--space-8: 64px;
	--space-9: 96px;

	/* Shape and layout */
	--radius-s: 8px;
	--radius-m: 12px;
	--measure: 720px;
	--toc-width: 220px;
	--column-gap: 56px;
	--container: 1240px;
	--gutter: 20px;
}

@media (min-width: 760px) {
	:root {
		--fs-h1: 44px;
		--fs-h2: 30px;
		--fs-h3: 22px;
		--fs-lead: 20px;
		--gutter: 32px;
	}
}
