:root {
	font-family:
		Inter,
		ui-sans-serif,
		system-ui,
		-apple-system,
		BlinkMacSystemFont,
		'Segoe UI',
		sans-serif;
	color: #f5f5f5;
	background: #000000;
	color-scheme: dark;
	font-synthesis: none;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	min-width: 280px;
}

::selection {
	background: #ffffff;
	color: #000000;
}

.page {
	display: flex;
	min-height: 100svh;
	flex-direction: column;
	padding-inline: clamp(20px, 5vw, 64px);
	text-align: center;
}

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

a:focus-visible {
	border-radius: 2px;
	outline: 2px solid #ffffff;
	outline-offset: 6px;
}

main {
	display: grid;
	flex: 1;
	place-items: center;
	padding-block: clamp(48px, 6svh, 72px) 32px;
}

.hero {
	display: flex;
	width: 100%;
	max-width: 1000px;
	align-items: center;
	flex-direction: column;
}

.brand {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 20px;
	margin-bottom: 36px;
}

.logo {
	display: block;
	width: 88px;
	height: auto;
	animation: logo-arrive 1.3s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.wordmark {
	margin: 0;
	font-size: 17px;
	font-weight: 500;
	letter-spacing: -0.025em;
}

h1 {
	max-width: 940px;
	margin: 0;
	font-size: clamp(34px, 4.5vw, 60px);
	font-weight: 500;
	letter-spacing: -0.05em;
	line-height: 1.14;
	text-wrap: balance;
}

h1 span {
	display: block;
}

.description {
	max-width: 460px;
	margin: 24px 0 0;
	color: #ababab;
	font-size: 16px;
	line-height: 1.7;
	text-wrap: pretty;
}

.contact {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 4px;
	margin-top: 32px;
}

.contact-link {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	gap: 24px;
	border: 1px solid transparent;
	border-radius: 2px;
	padding: 12px 24px;
	background-color: #ffffff;
	color: #000000;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
	transition: background-color 150ms ease;
}

.contact-link:hover {
	background-color: #d9d9d9;
}

.email-address {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	color: #ababab;
	font-size: 13px;
}

.email-address:hover {
	color: #ffffff;
}

.businesses {
	width: 100%;
	max-width: 460px;
	margin-top: 36px;
	border-top: 1px solid #272727;
	padding-top: 24px;
}

.businesses h2 {
	margin: 0 0 12px;
	color: #ababab;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1.5;
	text-transform: uppercase;
}

.business-link {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 8px;
	padding: 8px 12px;
}

.business-name {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.5;
}

.business-link:hover .business-name {
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

.business-description {
	max-width: 330px;
	color: #ababab;
	font-size: 13px;
	line-height: 1.7;
	text-wrap: pretty;
}

footer {
	padding-block: 16px 24px;
	color: #8f8f8f;
	font-size: 11px;
}

.error-page .brand {
	margin-bottom: 32px;
}

.error-page .description {
	margin-bottom: 32px;
}

@keyframes logo-arrive {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 600px) {
	main {
		padding-top: 40px;
	}

	.brand {
		gap: 16px;
		margin-bottom: 28px;
	}

	.logo {
		width: 68px;
	}

	.description {
		margin-top: 20px;
		font-size: 15px;
	}

	.contact {
		margin-top: 28px;
	}

	.businesses {
		margin-top: 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.logo {
		animation: none;
	}

	.contact-link {
		transition: none;
	}
}
