:root {
	--page-bg: #f7f5ef;
	--panel-bg: rgba(255, 255, 255, 0.9);
	--text-main: #101417;
	--text-soft: #404a52;
	--line-soft: rgba(16, 20, 23, 0.08);
	--brand-blue: #002d72;
	--brand-gold: #f2bc00;
	--brand-red: #d81300;
	--signal-orange: #ff9500;
	--ember-red: #e63946;
	--neon-blue: #008cff;
	--sky-blue: #00b2ff;
	--slate-navy: #1c2d46;
	--charcoal: #333333;
}

* {
	box-sizing: border-box;
}

html {
	font-size: 16px;
}

body {
	margin: 0;
	background-color: var(--page-bg);
	background-image:
		linear-gradient(rgba(247, 245, 239, 0.94),
			rgba(247, 245, 239, 0.94)),
		url("../img/governance-mesh.svg");
	background-position: 0 0, center top;
	background-repeat: repeat, repeat;
	color: var(--text-main);
	font-family: "Avenir Next", "Segoe UI", sans-serif;
}

a {
	color: inherit;
}

.page-shell {
	max-width: 1580px;
	margin: 0 auto;
	padding: 40px 28px 56px;
}

.hero {
	padding: 16px 0 34px;
}

.brand-lockup {
	margin-bottom: 36px;
}

.brand-logo {
	display: block;
	max-width: min(100%, 520px);
	height: auto;
}

.hero-kicker {
	margin: 0 0 12px;
	color: var(--text-soft);
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.hero h1 {
	max-width: 1040px;
	margin: 0;
	font-size: clamp(3.2rem, 8vw, 6.6rem);
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.04em;
	text-wrap: balance;
}

.hero-copy {
	max-width: 720px;
	margin: 24px 0 0;
	color: var(--text-soft);
	font-size: 1.1rem;
	line-height: 1.6;
}

.tile-row {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 18px;
	align-items: stretch;
}

.nav-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 310px;
	padding: 22px 20px 20px;
	border: 1px solid var(--line-soft);
	background: var(--panel-bg);
	backdrop-filter: blur(3px);
	box-shadow: 0 18px 60px rgba(16, 20, 23, 0.07);
	overflow: hidden;
	text-decoration: none;
	transition:
		transform 160ms ease,
		box-shadow 160ms ease,
		border-color 160ms ease;
}

.nav-tile::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 10px;
	background: var(--tile-accent);
}

.nav-tile::after {
	content: "";
	position: absolute;
	right: -34px;
	bottom: -34px;
	width: 124px;
	height: 124px;
	border: 2px solid rgba(0, 0, 0, 0.12);
	border-radius: 999px;
}

.nav-tile:hover,
.nav-tile:focus {
	transform: translateY(-6px);
	border-color: rgba(0, 0, 0, 0.18);
	box-shadow: 0 26px 80px rgba(16, 20, 23, 0.12);
	outline: none;
}

.tile-eyebrow {
	margin: 18px 0 16px;
	color: var(--tile-accent);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.nav-tile h2 {
	margin: 0 0 20px;
	font-size: 1.6rem;
	line-height: 1.08;
	text-wrap: balance;
}

.tile-hook {
	margin: auto 0 0;
	max-width: 22ch;
	color: var(--text-soft);
	font-size: 0.98rem;
	line-height: 1.55;
}

.tile-blue {
	--tile-accent: var(--brand-blue);
}

.tile-gold {
	--tile-accent: var(--brand-gold);
}

.tile-red {
	--tile-accent: var(--brand-red);
}

.tile-sky {
	--tile-accent: var(--sky-blue);
}

.tile-ember {
	--tile-accent: var(--signal-orange);
}

.tile-method {
	--tile-accent: var(--slate-navy);
}

.supporting-copy {
	max-width: 760px;
	padding-top: 32px;
}

.supporting-copy p {
	margin: 0;
	color: var(--text-soft);
	font-size: 1rem;
	line-height: 1.7;
}

.page-footer {
	margin-top: 42px;
	padding-top: 20px;
	border-top: 1px solid var(--line-soft);
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 18px;
	align-items: center;
	color: var(--text-soft);
	font-size: 0.92rem;
}

.footer-nav a {
	text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus {
	text-decoration: underline;
}

.footer-trademark {
	max-width: 1100px;
	margin: 14px 0 0;
	color: var(--text-soft);
	font-size: 0.78rem;
	line-height: 1.55;
}

@media (max-width: 1380px) {
	.tile-row {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.page-shell {
		padding: 24px 18px 44px;
	}

	.brand-lockup {
		margin-bottom: 28px;
	}

	.hero h1 {
		font-size: clamp(2.5rem, 12vw, 4.6rem);
	}

	.tile-row {
		grid-template-columns: 1fr;
	}

	.nav-tile {
		min-height: 0;
	}

	.tile-hook {
		max-width: none;
	}
}
