@font-face {
	font-family: "Atlas Heading";
	src: url("../fonts/RobotoCondensed.ttf") format("truetype");
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
}
@font-face {
	font-family: "Atlas Mono";
	src: url("../fonts/JetBrainsMono.ttf") format("truetype");
	font-style: normal;
	font-weight: 100 800;
	font-display: swap;
}
@font-face {
	font-family: "Manrope";
	src: url("../fonts/Manrope.ttf") format("truetype");
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
}
@font-face {
	font-family: "IBM Plex Sans";
	src: url("../fonts/IBMPlexSans.ttf") format("truetype");
	font-style: normal;
	font-weight: 100 700;
	font-display: swap;
}
@font-face {
	font-family: "Space Grotesk";
	src: url("../fonts/SpaceGrotesk.ttf") format("truetype");
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
}
@font-face {
	font-family: "Outfit";
	src: url("../fonts/Outfit.ttf") format("truetype");
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
}
@font-face {
	font-family: "DM Sans";
	src: url("../fonts/DMSans.ttf") format("truetype");
	font-style: normal;
	font-weight: 100 1000;
	font-display: swap;
}
@font-face {
	font-family: "Lato";
	src: url("../fonts/Lato-Regular.ttf") format("truetype");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "Lato";
	src: url("../fonts/Lato-Bold.ttf") format("truetype");
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}

/* The same semantic families reach Desk controls and the embedded native UI. */
:root[data-atlas-palette] {
	--atlas-font-ui: "InterVariable", Inter, -apple-system, BlinkMacSystemFont, sans-serif;
	--atlas-font-heading: var(--atlas-font-ui);
	--atlas-font-code: "Atlas Mono", ui-monospace, monospace;
	--font-stack: var(--atlas-font-ui);
	--font-family-sans-serif: var(--atlas-font-ui);
}
:root[data-atlas-palette="evergreen"] { --atlas-font-ui: "Manrope", sans-serif; }
:root[data-atlas-palette="ink-moss"] { --atlas-font-ui: "IBM Plex Sans", sans-serif; }
:root[data-atlas-palette="cobalt-pearl"] { --atlas-font-ui: "Space Grotesk", sans-serif; }
:root[data-atlas-palette="aptitude"] { --atlas-font-ui: "Outfit", sans-serif; }
:root[data-atlas-palette="terminal-green"] { --atlas-font-ui: "Atlas Mono", ui-monospace, monospace; }
:root[data-atlas-palette="cherry-porcelain"] { --atlas-font-ui: "Atlas Heading", sans-serif; }
:root[data-atlas-palette="citron-carbon"] { --atlas-font-ui: "DM Sans", sans-serif; }
:root[data-atlas-palette="aubergine-cloud"] { --atlas-font-ui: "Lato", sans-serif; }

:root[data-atlas-embedded] {
	--atlas-font-ui: var(--atlas-desk-font, Inter, sans-serif);
	--atlas-font-heading: var(--atlas-desk-headingFont, var(--atlas-font-ui));
	--atlas-font-code: var(--atlas-desk-monoFont, "Atlas Mono", ui-monospace, monospace);
}
:root:is([data-atlas-palette], [data-atlas-embedded]) {
	--font-family-sans: var(--atlas-font-ui);
	--v2-font-family-sans: var(--atlas-font-ui);
	--font-family-mono: var(--atlas-font-code);
	--v2-font-family-mono: var(--atlas-font-code);
}
:root:is([data-atlas-palette], [data-atlas-embedded]) :is(body, button, input, select, textarea, [contenteditable="true"]) {
	font-family: var(--atlas-font-ui);
}
:root:is([data-atlas-palette], [data-atlas-embedded]) :is(h1, h2, h3, h4, h5, h6, .page-title .title-text, .modal-title, [data-slot="dialog-title"]) {
	font-family: var(--atlas-font-heading);
	font-weight: 700;
	letter-spacing: -.015em;
}
:root:is([data-atlas-palette], [data-atlas-embedded]) :is(code, pre, kbd, samp) {
	font-family: var(--atlas-font-code);
}
