/* Design tokens — from the Figma style guide (page "1- Style Guide"). */
@font-face {
	font-family: "IRANYekanX";
	src: url("../fonts/IRANYekanXVFaNumVF.woff2") format("woff2");
	font-weight: 100 1000;
	font-display: swap;
}

/* Icon font — the IcoMoon pack in assets/icomoon/ (replace both files to update it). */
@font-face {
	font-family: "icomoon";
	src: url("../icomoon/icomoon.woff") format("woff");
	font-display: block;
}

:root {
	/* Blue */
	--blue-light: #e6f7fd;
	--blue-light-hover: #d9f2fc;
	--blue-light-active: #b0e5f8;
	--blue: #00aae9;
	--blue-hover: #0099d2;
	--blue-active: #0088ba;
	--blue-dark: #0080af;
	--blue-dark-hover: #00668c;
	--blue-dark-active: #004c69;
	--blue-darker: #003b52;

	/* Orange */
	--orange-light: #fff3e7;
	--orange-light-hover: #ffecdb;
	--orange-light-active: #ffd8b4;
	--orange: #ff820e;
	--orange-hover: #e6750d;
	--orange-active: #cc680b;
	--orange-dark: #bf620b;
	--orange-dark-hover: #994e08;
	--orange-dark-active: #733a06;
	--orange-darker: #592e05;

	/* Neutral */
	--n-10: #1a1a1a;
	--n-20: #333333;
	--n-30: #4d4d4d;
	--n-40: #666666;
	--n-50: #808080;
	--n-60: #999999;
	--n-70: #b3b3b3;
	--n-80: #cccccc;
	--n-90: #e6e6e6;
	--n-93: #ededed;
	--n-95: #f2f2f2;
	--n-97: #f7f7f7;
	--n-100: #ffffff;

	/* Dark surfaces (footer) — sampled from the Figma footer; not in the neutral scale */
	--dark-bg: #292929;
	--dark-card: #373737;
	--dark-raised: #434343;
	--dark-line: #4a4a4a;

	/* Semantic */
	--c-active: #0072da;
	--c-warning: #ffab00;
	--c-danger: #cc3931;
	--c-success: #36b37e;

	/* Roles */
	--c-ink: #02060a;
	--c-text: var(--n-20);
	--c-muted: var(--n-50);
	--c-border: var(--n-90);
	--c-surface: var(--n-100);
	--c-surface-alt: var(--n-97);
	--c-brand: var(--blue);
	--c-cta: var(--orange);

	/* Type — IRANYekan scale: size / line-height */
	--font: "IRANYekanX", Tahoma, sans-serif;
	--font-latin: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; /* English names and model codes: the theme font only has Persian digits */

	--fs-display-l: 57px;  --lh-display-l: 70px;
	--fs-display-m: 45px;  --lh-display-m: 56px;
	--fs-display-s: 36px;  --lh-display-s: 48px;
	--fs-headline-l: 32px; --lh-headline-l: 44px;
	--fs-headline-m: 28px; --lh-headline-m: 40px;
	--fs-headline-s: 24px; --lh-headline-s: 36px;
	--fs-title-l: 22px;    --lh-title-l: 32px;
	--fs-title-m: 16px;    --lh-title-m: 24px;
	--fs-title-s: 14px;    --lh-title-s: 22px;
	--fs-label-l: 14px;    --lh-label-l: 22px;
	--fs-label-m: 12px;    --lh-label-m: 16px;
	--fs-label-s: 11px;    --lh-label-s: 16px;
	--fs-body-l: 16px;     --lh-body-l: 24px;
	--fs-body-m: 14px;     --lh-body-m: 20px;
	--fs-body-s: 12px;     --lh-body-s: 16px;

	/* Spacing */
	--sp-8: 8px;
	--sp-12: 12px;
	--sp-16: 16px;
	--sp-24: 24px;
	--sp-32: 32px;
	--sp-40: 40px;
	--sp-48: 48px;
	--sp-56: 56px;
	--sp-64: 64px;
	--sp-72: 72px;
	--sp-80: 80px;

	/* Radius */
	--r-8: 8px;
	--r-12: 12px;
	--r-16: 16px;
	--r-24: 24px;
	--r-32: 32px;
	--r-pill: 999px;

	/* Header shadow — Figma: x 0, y 4, blur 40, spread 0, #80808014 */
	--header-shadow: 0 4px 40px 0 #80808014;

	/* Banner hover: very light, smooth shadow (no zoom) */
	--banner-hover-shadow: 0 6px 20px rgb(0 0 0 / .08);

	/* Layout */
	--container: 1320px;
	--gutter: var(--sp-16);
	--crumbs-gap: var(--sp-24); /* header → breadcrumbs → first block, on every page with breadcrumbs (16px on phones) */
}

@media (max-width: 769px) {
	:root { --crumbs-gap: var(--sp-16); }
}
