/* Loading the local Inter variable font for Cyrillic and Latin content */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter/inter-cyrillic-ext.woff2") format("woff2");
	unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter/inter-cyrillic.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter/inter-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 {
	--forest: #163d37;
	--forest-dark: #0c312c;
	--orange: #f07a24;
	--orange-dark: #d9610d;
	--cream: #f5f1e8;
	--graphite: #202a2e;
	--graphite-soft: #4d575a;
	--sage: #dce5df;
	--line: #d9dedb;
	--white: #fff;
	--container: 1340px;
	--shadow: 0 14px 34px rgba(16, 48, 43, 0.1);
	--font-size-legal: 12px;
	--font-size-label: 13px;
	--font-size-ui: 14px;
	--font-size-body: 16px;
	--font-size-lead: 18px;
	--font-size-card-title: 20px;
	--font-size-section: clamp(30px, 2.5vw, 36px);
	--font-size-display: clamp(44px, 4vw, 60px);
	--line-height-tight: 1.08;
	--line-height-ui: 1.4;
	--line-height-body: 1.55;
	--control-height: 48px;
	--control-height-compact: 44px;
	--icon-1: 16px;
	--icon-2: 20px;
	--icon-3: 24px;
	--icon-4: 32px;
	--icon-5: 40px;
	--space-1: 8px;
	--space-2: 12px;
	--space-3: 16px;
	--space-4: 24px;
	--space-5: 32px;
	--space-6: 48px;
	--space-7: 64px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 132px;
}

body {
	margin: 0;
	background: var(--white);
	color: var(--graphite);
	font-family: Inter, "Segoe UI", Arial, sans-serif;
	font-size: var(--font-size-body);
	line-height: var(--line-height-body);
	text-rendering: optimizeLegibility;
}

body.menu-open {
	position: fixed;
	width: 100%;
	overflow: hidden;
}

img,
picture,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

button,
input,
textarea,
select {
	font: inherit;
}

button,
summary {
	cursor: pointer;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
	margin-top: 0;
}

h1,
h2,
h3 {
	font-family: "Inter", "Segoe UI", Arial, sans-serif;
	font-weight: 760;
	letter-spacing: -0.035em;
	line-height: var(--line-height-tight);
}

h1 {
	font-size: var(--font-size-display);
}

h2 {
	font-size: var(--font-size-section);
}

h3 {
	font-size: var(--font-size-card-title);
}

p:last-child,
ul:last-child,
ol:last-child {
	margin-bottom: 0;
}

table {
	width: 100%;
	border-collapse: collapse;
}

.container {
	width: min(calc(100% - 48px), var(--container));
	margin-inline: auto;
}

.icon {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.text-link {
	display: inline-flex;
	gap: 7px;
	align-items: center;
	color: var(--forest);
	font-size: var(--font-size-ui);
	line-height: var(--line-height-ui);
	font-weight: 800;
	letter-spacing: 0.03em;
	text-decoration: none;
	text-transform: uppercase;
}

.text-link:hover {
	text-decoration: underline;
}

.text-link .icon {
	width: var(--icon-1);
	height: var(--icon-1);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: fixed;
	z-index: 10000;
	top: 12px;
	left: 12px;
	padding: 10px 16px;
	background: var(--white);
	color: var(--graphite);
	transform: translateY(-160%);
}

.skip-link:focus {
	transform: translateY(0);
}

:focus-visible {
	outline: 3px solid #2b7cff;
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
