/* Lanka Ideas - design tokens and fonts. Values from design/html-reference. */

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-var-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: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-var-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Inter Tight";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-tight-var-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: "Inter Tight";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-tight-var-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	/* Colours */
	--bg: #FFFFFF;
	--soft: #F6F5F1;
	--app-bg: #FAFAF8;
	--line: #E6E4DE;
	--line-strong: #BDB9B0;
	--text: #1C1B19;
	--text-body: #34322E;
	--text-sub: #4A4843;
	--muted: #6A6862;
	--lime: #D5F28C;
	--lime-strong: #B9E45A;
	--lime-ink: #4F5E22;
	--lime-arrow: #5C8212;
	--dark: #2B2723;
	--dark-1: #36312C;
	--dark-2: #3A3530;
	--dark-3: #45403A;
	--dark-4: #524C45;
	--dark-5: #5E5850;
	--error: #A1361F;
	--error-bg: #FDE6E1;
	--warn: #8A5A00;
	--warn-bg: #FFF1D6;

	/* Type */
	--font-head: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--fs-hero: 46px;
	--fs-title: 56px;
	--fs-section: 30px;
	--fs-article-h2: 28px;
	--fs-article: 17px;
	--fw-head: 600;        /* Inter Tight for all headings and titles */
	--ls-hero: -1.2px;
	--ls-title: -1.6px;
	--ls-section: -0.6px;
	--ls-h2: -0.5px;

	/* Layout */
	--pad: 96px;
	--maxw: 1248px;
	--edge: max(var(--pad), calc((100% - var(--maxw)) / 2));
	--section: 100px;
	--btn-h: 38px;
}

@media (max-width: 1200px) {
	:root {
		--pad: 48px;
		--section: 88px;
	}
}

@media (max-width: 600px) {
	:root {
		--pad: 20px;
		--section: 56px;
		--fs-hero: 31px;
		--fs-title: 36px;
		--fs-section: 24px;
		--fs-article-h2: 23px;
		--fs-article: 16.5px;
		--ls-hero: -0.8px;
		--ls-title: -1px;
		--ls-section: -0.4px;
		--ls-h2: -0.4px;
	}
}

/* Larger touch targets on phones and tablets (quality bar: 44px). */
@media (pointer: coarse) {
	:root {
		--btn-h: 44px;
	}
}
