/*
 * Melegim – tokens vizuali (spec §4) și fonturile găzduite local.
 * DM Sans și Gilda Display: SIL Open Font License 1.1; subseturi latin + latin-ext (ș, ț).
 */

@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url(../fonts/dm-sans-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url(../fonts/dm-sans-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Gilda Display";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/gilda-display-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Gilda Display";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/gilda-display-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	/* Culori */
	--m-ivory: #FAF9F5;
	--m-stone: #F0EEE6;
	--m-line: #E3DED4;
	--m-field: #B9B3A7;
	--m-ink: #141413;
	--m-ink-2: #3D3D3A;
	--m-muted: #5E5D59;
	--m-accent: #B5532F;
	--m-accent-tint: #F6E7DF;
	--m-accent-text: #8A3A1E;
	--m-success: #2F6B4F;
	--m-success-bg: #E6F0EA;
	--m-warning: #6B4A00;
	--m-warning-bg: #FBF0D9;
	--m-error: #B42318;
	--m-white: #FFFFFF;

	/* Tipografie (html are font-size 62.5%, deci 1rem = 10px) */
	--m-font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--m-font-serif: "Gilda Display", Georgia, "Times New Roman", serif;
	--m-text: 1.7rem;
	--m-text-meta: 1.5rem;
	--m-text-small: 1.4rem;
	--m-leading: 1.6;
	--m-leading-heading: 1.15;

	/* Dimensiuni */
	--m-radius-s: 8px;
	--m-radius-m: 12px;
	--m-radius-l: 16px;
	--m-control: 52px;
	--m-button: 48px;
	--m-target: 44px;
}
