/**
 * Site footer — from Figma node 27:564 "Footer":
 * container=Narrow(<720px): stacked links, ~44px tall each.
 * container=Wide(>=720px): horizontal links, content centered at max 1120px.
 * Sourced via get_design_context on instance 27:565 (Narrow/390).
 */

.site-footer {
	container-type: inline-size;
	container-name: footer;
	background-color: var(--color-bg-inverse);
	color: var(--color-text-inverse);
}

.site-footer__inner {
	max-width: 1120px;
	margin-inline: auto;
	padding: 48px var(--container-px);
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.site-footer__logo {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	text-decoration: none;
}

/* Logo mark is a solid brand/primary (blue) SVG — recolor to white for the
   dark footer without needing a separate asset export. */
.site-footer__logo-img {
	filter: brightness(0) invert(1);
}

.site-footer__logo-img--wide {
	display: none;
}

.site-footer__logo-sub {
	font: 700 20px/1.3 var(--font-sans);
	color: var(--color-text-inverse);
}

.site-footer__nav ul {
	display: flex;
	flex-direction: column;
}

.site-footer__nav a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding-block: 10px;
	font: 400 14px/1.7 var(--font-sans);
	color: var(--color-text-inverse);
	text-decoration: none;
}

.site-footer__copyright {
	font: 400 12px/1.6 var(--font-sans);
	color: var(--color-text-inverse);
}

@container footer (min-width: 720px) {
	.site-footer__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		flex-wrap: wrap;
	}

	.site-footer__logo {
		width: 100%;
	}

	.site-footer__logo-img--narrow {
		display: none;
	}

	.site-footer__logo-img--wide {
		display: block;
	}

	.site-footer__nav ul {
		flex-direction: row;
		gap: 24px;
	}

	.site-footer__copyright {
		width: 100%;
	}
}
