:root {
	--color-brand: #f9ed36;
	--color-black: black;
	--color-white: white;
	height: 100%;
	font-family: "Inter", sans-serif;
}

@supports (font-variation-settings: normal) {
	:root {
		font-family: "InterVariable", sans-serif;
		font-optical-sizing: auto;
	}
}

@font-face {
	font-family: InterVariable;
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("InterVariable.woff2") format("woff2");
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("Inter-Regular.woff2") format("woff2");
}

* {
	box-sizing: border-box;
	font: inherit;
}

html,
body {
	width: 100%;
	margin: 0;
	color: var(--color-black);
	background-color: var(--color-brand);
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	font-weight: 500;
	font-synthesis: none;
	line-height: 1.2;
}

main {
	flex: 1;
	padding: 1em;
}

a,
button,
input {
	font-weight: 600;
	color: inherit;
}

button {
	appearance: none;
	cursor: pointer;
	border: 0;
}

button,
.button {
	display: inline-block;
	padding: 0.3em 1em 0.25em;
	margin-block: 0.5em;
	text-decoration: none;
	background-color: var(--color-white);
	border-radius: 4em;
	box-shadow: 0 0.25em 1em rgb(0 0 0 / 0.15);
}

p,
h2 {
	max-width: 50ch;
}

h2 {
	text-wrap: balance;
}

footer {
	padding: 1em;
	font-size: 0.7em;
}

nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	padding-left: 0;
	margin: 0;
	list-style: none;
}

.sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(0 0 99.9% 99.9%);
}

.logo {
	display: block;
	width: 7em;
	max-width: 100%;
	height: auto;
}

form {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin-block: 1em 2em;
}

input[type="email"],
input[type="text"] {
	width: 50ch;
	max-width: calc(100vw - 2em);
	padding: 0.3em 0.5em 0.25em;
	margin-block: 0.5em;
	font-size: 1rem;
	text-decoration: none;
	appearance: none;
	background-color: var(--color-white);
	border: 0;
	box-shadow: 0 0.25em 1em rgb(0 0 0 / 0.1);
}

label {
	display: flex;
	flex-direction: column;
	font-size: 0.7em;
	font-weight: 600;
}
