/* Site footer - SellAuth-style closing band.
 *
 * One brand column, three link columns (Pages, Socials, Legal), one bottom
 * bar with the copyright. Tokens are local so the component reads the same on
 * the Elementor pages, the account shell and the product template, in light
 * and dark.
 *
 * Kept deliberately compact: the footer closes the page, it is not a second
 * landing page. Type is 13.5px, rows are 5px, and the band is under 400px on
 * desktop.
 */

.sa-footer {
	--sa-f-bg: #f2f2f2;
	--sa-f-ink: #16181d;
	--sa-f-muted: #6b6f76;
	--sa-f-faint: #6b6f76;
	--sa-f-line: #e6e8ec;
	--sa-f-accent: #6571ff;

	margin-top: auto;
	flex-shrink: 0;
	background: var(--sa-f-bg);
	color: var(--sa-f-ink);
	border-top: 1px solid var(--sa-f-line);
	font-family: "Proxima Nova", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
	text-align: left;
}

body.dark .sa-footer {
	--sa-f-bg: #101010;
	--sa-f-ink: #f2f2f2;
	--sa-f-muted: rgba(255, 255, 255, 0.62);
	--sa-f-faint: rgba(255, 255, 255, 0.5);
	--sa-f-line: #242424;
}

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

.sa-footer-inner {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 24px 0;
}

.sa-footer-top {
	display: grid;
	grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.6fr);
	gap: 48px;
	padding-bottom: 32px;
}

/* ------------------------------------------------------------- brand */

.sa-footer-brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.sa-footer-logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.sa-footer-logo img {
	display: block;
	height: 38px;
	width: auto;
}

.sa-footer-tag {
	margin: 0;
	max-width: 32ch;
	font-size: 13px;
	line-height: 1.6;
	color: var(--sa-f-muted);
	text-wrap: pretty;
}

/* ------------------------------------------------------------- columns */

.sa-footer-cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}

.sa-footer-col h2 {
	margin: 0 0 10px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sa-f-muted);
}

.sa-footer-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sa-footer-col li {
	margin: 0;
	padding: 0;
}

.sa-footer-col a {
	display: inline-block;
	padding: 5px 0;
	font-size: 13.5px;
	line-height: 1.35;
	color: var(--sa-f-muted);
	text-decoration: none;
	transition: color 0.16s ease;
}

.sa-footer-col a:hover {
	color: var(--sa-f-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: var(--sa-f-line);
}

.sa-footer-col a:focus-visible {
	outline: 2px solid var(--sa-f-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

/* ------------------------------------------------------------- bottom */

.sa-footer-bottom {
	padding: 16px 0 20px;
	border-top: 1px solid var(--sa-f-line);
}

.sa-footer-bottom p {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--sa-f-faint);
}

/* ------------------------------------------------------------- mobile */

@media (max-width: 768px) {
	.sa-footer-top {
		grid-template-columns: 1fr;
		gap: 28px;
		padding-bottom: 26px;
	}

	.sa-footer-cols {
		gap: 24px;
	}

	.sa-footer-tag {
		max-width: 46ch;
	}
}

@media (max-width: 560px) {
	.sa-footer-inner {
		padding: 32px 20px 0;
	}

	.sa-footer-logo img {
		height: 34px;
	}

	.sa-footer-cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 22px 20px;
	}

	.sa-footer-bottom {
		padding: 14px 0 18px;
	}
}
