@font-face {
	font-family: "PT Sans";
	src: url("../fonts/pt-sans-400.woff2") format("woff2");
	font-weight: 400;
	font-display: swap;
}

:root {
	color-scheme: light;
	--color-text: #222;
	--color-muted: #878481;
	--color-header: #ebebeb;
	--color-link: #008cba;
	--color-link-hover: #0078a0;
	--color-accent: #c33;
	--content-width: 62.5rem;
}

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

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0;
	padding-top: 2rem;
	border-bottom: 10px solid var(--color-accent);
	background: #fff;
	color: var(--color-text);
	font: 400 1rem/1.6 "PT Sans", system-ui, sans-serif;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

a {
	color: var(--color-link);
	text-underline-offset: 0.15em;
	transition: color 0.15s, opacity 0.15s, background-color 0.15s;
}

a:hover {
	color: var(--color-link-hover);
}

:focus-visible {
	outline: 2px solid var(--color-link);
	outline-offset: 3px;
}

.header {
	position: relative;
	padding: 2rem 1rem 1rem;
	background: var(--color-header);
	text-align: center;
}

.logo {
	display: block;
	max-width: var(--content-width);
	margin-inline: auto;
}

.logo img {
	display: block;
	width: 85%;
	height: auto;
	margin-inline: auto;
}

.logo:hover {
	opacity: 0.8;
}

.tagline {
	margin: 0.3em 0 0;
	color: var(--color-muted);
	font-size: clamp(1.2rem, 4.5vw, 2.7rem);
	font-weight: 400;
	line-height: 1.2;
}

.language-switch {
	position: absolute;
	top: 0.4rem;
	right: 0.75rem;
	display: flex;
	gap: 0.25rem;
	font-size: 0.875rem;
}

.language-switch a {
	padding: 0.15rem 0.5rem;
	border-radius: 4px;
	color: var(--color-muted);
	text-decoration: none;
}

.language-switch a:hover {
	background: #fff;
	color: var(--color-text);
}

.language-switch [aria-current] {
	color: var(--color-text);
}

.content {
	flex: 1;
	width: 100%;
	max-width: var(--content-width);
	margin-inline: auto;
	padding: 1rem 1rem 2rem;
	font-size: clamp(1rem, 2.5vw, 1.2rem);
	text-align: center;
}

.content p {
	margin: 0 0 1.25em;
}

.mail {
	display: inline-block;
	margin: 1rem 0 0.7rem;
	font-size: clamp(1.3rem, 5vw, 2.5rem);
	text-decoration: none;
}

.newsletter {
	display: block;
	width: 100%;
	height: 375px;
	margin-top: 1.5rem;
	border: 0;
}

@media (max-width: 40em) {
	body {
		padding-top: 0;
	}

	.header {
		padding-top: 2.5rem;
	}

	.logo img {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	a {
		transition: none;
	}
}
