/* =================================================================
   Footer — multi-column
================================================================= */
.footer {
	margin-top: 64px;
	padding: 72px 0 32px;
	background: linear-gradient(180deg, var(--bg-mid), var(--bg-deep));
	border-top: 1px solid rgba(157, 178, 206, 0.08);
	color: var(--text-muted);
	transition: background 240ms ease, border-color 240ms ease;
}
[data-theme="light"] .footer { border-top-color: rgba(11, 42, 74, 0.10); }

.footer__grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(4, 1fr);
	gap: 48px;
	margin-bottom: 56px;
}
.footer__brand .footer__wordmark {
	display: inline-flex; align-items: center; gap: 12px;
	margin-bottom: 16px;
}
.footer__brand .footer__wordmark span {
	font-family: 'Segoe UI Variable', Inter, sans-serif;
	font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em;
	color: var(--text-primary);
}
.footer__brand .footer__wordmark .iq {
	background: linear-gradient(90deg, var(--brand-electric-azure), var(--brand-cyan-glow));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__tagline {
	margin: 0; max-width: 32ch;
	font-size: 0.9375rem; line-height: 1.6; color: var(--text-secondary);
}
.footer__col h4 {
	margin: 0 0 18px;
	font-size: 0.6875rem; font-weight: 700;
	letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--text-muted);
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a {
	color: var(--text-secondary); text-decoration: none;
	font-size: 0.9375rem; transition: color 150ms ease;
}
.footer__col a:hover { color: var(--brand-cyan-glow); }
[data-theme="light"] .footer__col a:hover { color: var(--brand-electric-azure); }
.footer__col a.is-strong { color: var(--text-primary); font-weight: 600; }
.footer__col a.is-strong:hover { color: var(--brand-cyan-glow); }

.footer__bottom {
	display: flex; justify-content: space-between; align-items: center;
	padding-top: 28px;
	border-top: 1px solid rgba(157, 178, 206, 0.08);
	font-size: 0.8125rem; color: var(--text-muted);
	flex-wrap: wrap; gap: 16px;
}
[data-theme="light"] .footer__bottom { border-top-color: rgba(11, 42, 74, 0.10); }

@media (max-width: 1000px) {
	.footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
	.footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.footer__grid { grid-template-columns: 1fr; }
	.footer__bottom { justify-content: center; text-align: center; }
}
