/* Mobile-first overrides loaded only on small screens via media attribute in index.php */

.shell {
	width: min(1140px, calc(100% - 1rem));
}

section[id] {
	scroll-margin-top: 128px;
}

.top-nav {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"brand toggle"
		"cta cta"
		"menu menu";
	align-items: center;
	gap: 0.55rem 0.5rem;
	padding: 0.72rem 0 0.82rem;
}

.brand {
	grid-area: brand;
	justify-content: flex-start;
	justify-self: start;
	gap: 0.5rem;
}

.brand-logo {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	padding: 0.22rem;
}

.brand span {
	font-size: 0.9rem;
	letter-spacing: 0.01em;
}

.nav-toggle {
	display: inline-flex;
	grid-area: toggle;
	justify-self: end;
}

.nav-links {
	display: none;
	grid-area: menu;
	grid-template-columns: 1fr;
	width: 100%;
	gap: 0.42rem;
}

.nav-links.is-open {
	display: grid;
}

.nav-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 0.82rem;
	line-height: 1.2;
	padding: 0.56rem 0.52rem;
	min-height: 2.3rem;
	border: 1px solid rgba(79, 107, 145, 0.82);
	border-radius: 999px;
	background: rgba(10, 18, 30, 0.9);
}

.nav-links a::after {
	display: none;
}

.top-nav > .btn {
	grid-area: cta;
	width: 100%;
	max-width: 320px;
	padding: 0.72rem 0.95rem;
	font-size: 0.86rem;
	justify-self: center;
}

h1 {
	font-size: clamp(1.78rem, 8.4vw, 2.3rem);
}

.hero {
	padding: 3rem 0 2.7rem;
}

.hero-grid,
.meeting-layout,
.cta-block {
	grid-template-columns: 1fr;
}

.hero-grid {
	gap: 1.12rem;
}

.lede {
	font-size: 0.95rem;
	margin-bottom: 1.16rem;
}

.hero-actions,
.hero-metrics,
.cards,
.steps,
.trust-items,
.photo-wall {
	grid-template-columns: 1fr;
}

.hero-actions {
	display: grid;
	gap: 0.6rem;
	margin-bottom: 1.25rem;
}

.hero-actions .btn,
.cta-actions .btn {
	width: 100%;
}

.metric-card {
	padding: 0.86rem;
	border-radius: 14px;
}

.hero-visual {
	grid-template-columns: 1fr;
	gap: 0.62rem;
	padding: 0.66rem;
	border-radius: 20px;
}

.hero-photo {
	min-height: 192px;
}

.hero-photo-main {
	grid-row: span 1;
	min-height: 248px;
}

.hero-photo-caption {
	text-align: center;
	font-size: 0.82rem;
}

.trust-items {
	gap: 0.42rem;
	font-size: 0.75rem;
}

.card {
	border-radius: 16px;
}

.card-media {
	height: 200px;
}

.card-body {
	padding: 0.98rem 0.92rem 1.04rem;
}

.meeting-layout {
	gap: 0.74rem;
}

.network-panel {
	padding: 0.88rem;
	border-radius: 14px;
}

.network-photo {
	height: 208px;
}

.photo-wall {
	grid-auto-rows: 186px;
}

.workflow,
.quote,
.cta-block {
	border-radius: 20px;
}

.workflow,
.cta-block {
	padding: 1.35rem;
}

.cta-actions {
	width: 100%;
	gap: 0.52rem;
}

.section {
	padding: 2.9rem 0;
}

.footer-content {
	justify-content: center;
	text-align: center;
	font-size: 0.82rem;
	gap: 0.45rem;
}

@media (max-width: 460px) {
	.shell {
		width: min(1140px, calc(100% - 0.85rem));
	}

	section[id] {
		scroll-margin-top: 120px;
	}

	.brand-logo {
		width: 40px;
		height: 40px;
	}

	.brand span {
		font-size: 0.84rem;
	}

	.nav-toggle {
		padding: 0.4rem 0.52rem;
		font-size: 0.72rem;
		gap: 0.36rem;
	}

	.nav-links a {
		font-size: 0.76rem;
		padding: 0.44rem 0.38rem;
		min-height: 2.02rem;
	}

	.metric-value {
		font-size: 1.28rem;
	}

	.card-media {
		height: 188px;
	}

	.network-photo {
		height: 194px;
	}

	.section {
		padding: 2.5rem 0;
	}
}
