*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 0;
	background: var(--bf-bg);
	color: var(--bf-text);
	font-family: var(--bf-font-sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

button,
input,
textarea,
select {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	border: 0;
	background: none;
	cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	margin-top: 0;
}

h1,
h2,
h3,
h4 {
	line-height: 1.1;
	letter-spacing: -0.03em;
}

h1 {
	font-size: clamp(3rem, 7vw, 6.5rem);
}

h2 {
	font-size: clamp(2.25rem, 5vw, 4.5rem);
}

h3 {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
}

p {
	color: var(--bf-text-soft);
}

::selection {
	background: var(--bf-blue);
	color: var(--bf-white);
}

:focus-visible {
	outline: 3px solid rgba(56, 103, 255, 0.35);
	outline-offset: 4px;
}