:root {
	--navy: #0d2136;
	--navy-light: #16324f;
	--text: #f4f6f8;
	--muted: #a9b8c8;
	--accent: #e8c98a;
	--rule: rgba(255, 255, 255, 0.16);
	--serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--navy);
	background-image: radial-gradient(120% 80% at 50% 0%, var(--navy-light) 0%, var(--navy) 60%);
	background-repeat: no-repeat;
	color: var(--text);
	font-family: var(--sans);
	font-size: 1.125rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.page {
	min-height: 100vh;
	min-height: 100svh;
	max-width: 44rem;
	margin: 0 auto;
	padding: 2.5rem 1.5rem;
	display: flex;
	flex-direction: column;
}

.wordmark {
	margin: 0;
	font-family: var(--sans);
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.wordmark span {
	font-weight: 400;
	color: var(--accent);
}

main {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 3rem 0;
}

h1 {
	margin: 0 0 1.75rem;
	font-family: var(--serif);
	font-size: clamp(1.9rem, 5.2vw, 2.9rem);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

p {
	margin: 0 0 1.25rem;
	max-width: 38rem;
}

main p {
	color: #dfe6ed;
}

a {
	color: var(--text);
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

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

a:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 2px;
}

.cta {
	margin-top: 1rem;
}

.button {
	display: inline-block;
	padding: 0.7rem 1.25rem;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 6px;
	font-size: 1rem;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.button:hover {
	background: var(--text);
	border-color: var(--text);
	color: var(--navy);
}

footer {
	border-top: 1px solid var(--rule);
	padding-top: 1.25rem;
	color: var(--muted);
	font-size: 0.875rem;
}

footer p {
	margin: 0;
}

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