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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--color-text);
	background: var(--color-surface);
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.6;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

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

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

h1,
h2,
h3 {
	line-height: 1.15;
}

h1 {
	font-size: clamp(2.25rem, 5vw, 4.6rem);
	letter-spacing: -0.045em;
}

h2 {
	font-size: clamp(1.75rem, 3vw, 2.6rem);
	letter-spacing: -0.03em;
}

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

.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;
}

.c-skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 9999;
	padding: 10px 14px;
	background: var(--color-surface);
	transform: translateY(-160%);
}

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

@media (max-width: 640px) {
	input,
	select,
	textarea {
		font-size: 1rem;
	}
}
