:root {
	--navy: #0b0b1e;
	--navy-ink: #0d0c23;
	--blue: #0158fc;
	--blue-soft: #4d8bff;
	--white: #ffffff;
	--muted: rgba(255, 255, 255, 0.72);
	--line: rgba(255, 255, 255, 0.14);
	--gutter: clamp(16px, 5vw, 64px);
	--font-heading: "Montserrat", system-ui, sans-serif;
	--font-body: "Inter", system-ui, sans-serif;
}

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

html,
body {
	margin: 0;
	height: 100%;
}

body {
	min-height: 100vh;
	min-height: 100dvh;
	display: grid;
	grid-template-rows: auto 1fr auto;
	background: var(--navy);
	color: var(--white);
	font-family: var(--font-body);
	font-weight: 400;
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

/* Large gear motif from the brand deck, bleeding off the right edge */
.backdrop {
	position: fixed;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
	z-index: 0;
}

.gear {
	position: absolute;
	top: 50%;
	right: -28vmax;
	width: 90vmax;
	height: 90vmax;
	margin-top: -45vmax;
	background: url("assets/icon.svg") center / contain no-repeat;
	animation: spin 120s linear infinite;
}

.gear-glow {
	filter: blur(60px);
	opacity: 0.9;
}

.gear-solid {
	opacity: 0.55;
	-webkit-mask-image: radial-gradient(circle at 70% 50%, #000 20%, transparent 75%);
	mask-image: radial-gradient(circle at 70% 50%, #000 20%, transparent 75%);
}

.backdrop::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--navy) 0%, rgba(11, 11, 30, 0.85) 35%, rgba(11, 11, 30, 0) 70%);
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.site-header,
.hero,
.site-footer {
	position: relative;
	z-index: 1;
	padding-inline: var(--gutter);
}

.site-header {
	padding-top: clamp(20px, 4vw, 40px);
}

.logo {
	display: block;
	width: clamp(120px, 14vw, 160px);
	height: auto;
}

.hero {
	align-self: center;
	max-width: 760px;
	padding-block: 48px;
}

.status {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 28px;
	padding: 6px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--blue-soft);
	box-shadow: 0 0 0 0 rgba(77, 139, 255, 0.7);
	animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
	70% {
		box-shadow: 0 0 0 10px rgba(77, 139, 255, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(77, 139, 255, 0);
	}
}

h1 {
	margin: 0 0 24px;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(2.25rem, 6vw, 4.25rem);
	line-height: 1.08;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.accent {
	color: var(--blue-soft);
}

.lede {
	margin: 0 0 16px;
	max-width: 58ch;
	color: var(--muted);
	font-weight: 300;
	font-size: clamp(1rem, 1.4vw, 1.125rem);
}

.lede-sub {
	color: var(--white);
	font-weight: 400;
}

.pillars {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
}

.pillars li {
	padding: 8px 16px;
	border-radius: 10px;
	background: var(--blue);
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: 0.875rem;
}

.site-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 24px clamp(20px, 3vw, 32px);
	color: var(--muted);
	font-size: 0.8125rem;
}

@media (max-width: 720px) {
	.gear {
		top: -20vmax;
		right: -55vmax;
		width: 100vmax;
		height: 100vmax;
		margin-top: 0;
	}

	.gear-solid {
		opacity: 0.4;
	}

	.backdrop::after {
		background: linear-gradient(180deg, rgba(11, 11, 30, 0.35) 0%, rgba(11, 11, 30, 0.85) 45%, var(--navy) 80%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.gear,
	.status-dot {
		animation: none;
	}
}
