:root {
	--navy: #1b2841;
	--red: #d33632;
	--red-hover: #a12b28;
	--paper: #f4f2ee;
	--muted: rgba(244, 242, 238, 0.72);
	--faint: rgba(244, 242, 238, 0.58);
	--success: #24ae6c;
	--font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* {
	box-sizing: border-box;
	margin: 0;
}

body {
	background: var(--navy);
	color: var(--paper);
	font-family: var(--font);
	-webkit-font-smoothing: antialiased;
}

::selection {
	background: rgba(211, 54, 50, 0.4);
}

.page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background:
		radial-gradient(55rem 55rem at 50% -25%, rgba(255, 255, 255, 0.1), transparent 60%),
		radial-gradient(45rem 45rem at 50% 125%, rgba(211, 54, 50, 0.18), transparent 60%);
}

.bar,
.foot {
	width: 100%;
	max-width: 72rem;
	margin: 0 auto;
	padding: 0 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.bar {
	height: 5rem;
}

.bar__logo {
	height: 1.75rem;
	width: auto;
}

.bar__link {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--muted);
	text-decoration: none;
	transition: color 0.15s;
}

.bar__link:hover {
	color: var(--paper);
}

.hero {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 0 1.5rem;
}

.hero__logo {
	width: 16rem;
	height: auto;
}

.hero__text {
	margin-top: 2rem;
	max-width: 28rem;
	font-size: 1rem;
	line-height: 1.625;
	color: var(--muted);
	text-wrap: balance;
}

.cta {
	margin-top: 3rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border-radius: 999px;
	background: var(--red);
	padding: 0.875rem 2rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	transition: background-color 0.15s;
}

.cta:hover {
	background: var(--red-hover);
}

.cta:focus-visible,
.bar__link:focus-visible {
	outline: 2px solid var(--paper);
	outline-offset: 3px;
}

.cta__arrow {
	width: 1rem;
	height: 1rem;
	transition: transform 0.15s;
}

.cta:hover .cta__arrow {
	transform: translateX(3px);
}

.foot {
	padding-top: 2rem;
	padding-bottom: 2rem;
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--faint);
}

.status {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.status__dot {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 999px;
	background: var(--success);
}

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

.rise {
	opacity: 0;
	animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.d1 {
	animation-delay: 0.05s;
}

.d2 {
	animation-delay: 0.2s;
}

.d3 {
	animation-delay: 0.35s;
}

.d4 {
	animation-delay: 0.5s;
}

@media (min-width: 640px) {
	.bar,
	.foot {
		padding: 0 2rem;
	}

	.foot {
		padding-top: 2rem;
		padding-bottom: 2rem;
	}

	.hero__logo {
		width: 20rem;
	}

	.hero__text {
		font-size: 1.125rem;
	}
}

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

	.cta__arrow {
		transition: none;
	}
}
