/* FX24 design tokens (ТЗ palette + Figma surfaces). */
:root {
	/* Brand */
	--c-primary: #04305C;
	--c-primary-600: #0A3F73;
	--c-primary-900: #021A33;
	--c-ink-deep: #00172D;       /* footer, dark widgets */
	--c-accent: #D11239;
	--c-accent-600: #A80E2E;
	--c-link: #00629D;

	/* Text */
	--c-text: #191C1E;
	--c-text-2: #344054;         /* leads, quotes */
	--c-meta: #73777F;
	--c-on-dark: #F8FAFC;
	--c-on-dark-2: #A9B6C6;

	/* Surfaces & lines */
	--c-bg: #FFFFFF;
	--c-surface: #F1F5F9;        /* cards, chips, sidebar blocks */
	--c-surface-2: #F8F9FB;      /* quotes, panels */
	--c-line: #E5E7EB;
	--c-line-strong: #D0D5DD;

	/* Type */
	--f-head: "Chivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-logo: "Cinzel Decorative", "Chivo", serif;
	--f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; /* FAQ labels, Q# */

	--fs-hero: clamp(1.75rem, 1.1rem + 2.2vw, 2.75rem);
	--fs-h1: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
	--fs-h2: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	--fs-h3: clamp(1.125rem, 1rem + .4vw, 1.375rem);
	--fs-body: 1.0625rem;        /* 17px article body */
	--fs-ui: .9375rem;
	--fs-meta: .8125rem;
	--fs-kicker: .75rem;

	/* Shape */
	--r-xs: 6px;                 /* pills, tags, small chips */
	--r-sm: 8px;                 /* buttons, inputs */
	--r: 12px;                   /* cards, panels */
	--r-lg: 16px;                /* big blocks, overlays */
	--r-xl: 24px;                /* full-width bands (footer) */
	--r-img: 12px;
	--r-pill: 999px;

	/* Space & layout */
	--gutter: 32px;
	--container: 1280px;
	--gap: 32px;
	--header-h: 68px;
	--head-total: calc(var(--header-h) + 40px); /* header + ticker row (desktop); main.js measures the real value */
	--tabbar-h: 64px;

	/* Motion (from domryadom) */
	--ease-out: cubic-bezier(.22, 1, .36, 1);
	--ease-std: cubic-bezier(.4, 0, .2, 1);
	--ease-sheet: cubic-bezier(.32, .72, 0, 1);
	--ease-spring: cubic-bezier(.34, 1.56, .64, 1);
	--t-fast: 160ms;
	--t: 240ms;

	--shadow-1: 0 1px 2px rgba(16, 24, 40, .06);
	--shadow-card: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 28px -20px rgba(4, 48, 92, .3);   /* resting, raised */
	--shadow-lift: 0 2px 4px rgba(16, 24, 40, .04), 0 24px 44px -24px rgba(4, 48, 92, .45);  /* hover */
	--shadow-img: 0 14px 30px -22px rgba(2, 26, 51, .55);
	--shadow-2: 0 10px 30px -12px rgba(4, 48, 92, .22);
	--shadow-3: 0 24px 60px -20px rgba(2, 26, 51, .35);
}

@media (max-width: 1024px) {
	:root { --gutter: 24px; --gap: 24px; --head-total: var(--header-h); } /* ticker moves into the header row */
}
@media (max-width: 640px) {
	:root { --gutter: 16px; --gap: 20px; --header-h: 58px; }
}
