/**
 * [simple_footer] — editorial footer, calm links, clear hierarchy
 */

.sspks-simple-footer {
	--sf-pad-x: clamp(1rem, 3vw, 1.5rem);
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 0;
	font-family: var(--sspks-font-sans);
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--sspks-ink-muted, #3d4f5c);
	background: var(--sspks-surface-muted, #f4f6f8);
	border-top: 1px solid var(--sspks-border, rgba(15, 20, 25, 0.1));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
	position: relative;
}

/* Thin brand accent — reads “intentional” without loud gradient */
.sspks-simple-footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(
		90deg,
		var(--sspks-accent-softer, rgba(13, 91, 212, 0.08)),
		var(--sspks-accent, #0d5bd4) 35%,
		var(--sspks-accent-soft, rgba(13, 91, 212, 0.35)) 100%
	);
	opacity: 0.9;
	pointer-events: none;
}

.sspks-simple-footer__inner {
	width: min(100%, 90vw);
	max-width: 90vw;
	margin: 0 auto;
	padding: clamp(2rem, 5vw, 2.75rem) var(--sf-pad-x) clamp(1.5rem, 3vw, 2rem);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}

/* Logo */
.sspks-simple-footer__brand {
	display: flex;
	justify-content: center;
	margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.sspks-simple-footer__brand .sspks-site-logo {
	justify-content: center;
	text-align: center;
	color: var(--sspks-ink, #0f1419);
	font-size: clamp(1.2rem, 2.4vw, 1.55rem);
	font-weight: 600;
	letter-spacing: 0.01em;
}

.sspks-simple-footer__brand .sspks-site-logo__link {
	text-decoration: none;
	transition: color var(--sspks-duration, 0.2s) var(--sspks-ease);
}

.sspks-simple-footer__brand .sspks-site-logo__link:hover,
.sspks-simple-footer__brand .sspks-site-logo__link:focus-visible {
	opacity: 1;
	color: var(--sspks-accent, #0d5bd4);
	outline: none;
}

/* Link columns */
.sspks-simple-footer__nav-wrap {
	width: 100%;
}

.sspks-simple-footer__grids {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.5rem, 4vw, 2.25rem);
	width: 100%;
	max-width: 40rem;
	margin: 0 auto;
}

@media (min-width: 36rem) {
	.sspks-simple-footer__grids {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 44rem;
		gap: clamp(1.75rem, 4vw, 3rem);
	}
}

.sspks-simple-footer__col {
	margin: 0;
	min-width: 0;
}

.sspks-simple-footer__label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.75rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sspks-ink-soft, #5c6e7a);
}

.sspks-simple-footer__label::before {
	content: "";
	width: 1.35rem;
	height: 2px;
	border-radius: 1px;
	background: var(--sspks-accent, #0d5bd4);
	opacity: 0.55;
	flex-shrink: 0;
}

@media (max-width: 35.99rem) {
	.sspks-simple-footer__label {
		justify-content: center;
	}

	.sspks-simple-footer__label::before {
		display: none;
	}
}

.sspks-simple-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	align-items: center;
}

@media (min-width: 36rem) {
	.sspks-simple-footer__links {
		align-items: flex-start;
	}
}

.sspks-simple-footer__links li {
	margin: 0;
}

/* No default underline — cleaner; underline + color on hover */
.sspks-simple-footer__link {
	display: inline-block;
	padding: 0.35rem 0;
	font-weight: 500;
	font-size: 0.9375rem;
	color: var(--sspks-ink, #0f1419);
	text-decoration: none;
	border-radius: var(--sspks-radius-sm, 8px);
	transition:
		color var(--sspks-duration, 0.2s) var(--sspks-ease),
		background var(--sspks-duration, 0.2s) var(--sspks-ease);
}

.sspks-simple-footer__link:hover,
.sspks-simple-footer__link:focus-visible {
	color: var(--sspks-accent, #0d5bd4);
	text-decoration: underline;
	text-decoration-color: var(--sspks-accent-soft, rgba(13, 91, 212, 0.45));
	text-underline-offset: 0.2em;
	outline: none;
}

.sspks-simple-footer__link:focus-visible {
	outline: 2px solid var(--sspks-accent, #0d5bd4);
	outline-offset: 2px;
	text-decoration: none;
}

.sspks-simple-footer__link--privacy {
	font-size: 0.875rem;
	font-weight: 600;
}

/* Between nav and legal */
.sspks-simple-footer__divider {
	width: 100%;
	max-width: 12rem;
	height: 1px;
	margin: clamp(1.35rem, 3.5vw, 2rem) auto;
	background: linear-gradient(
		90deg,
		transparent,
		var(--sspks-border-strong, rgba(15, 20, 25, 0.12)) 20%,
		var(--sspks-border-strong, rgba(15, 20, 25, 0.12)) 80%,
		transparent
	);
	border: 0;
	padding: 0;
}

/* Meta row */
.sspks-simple-footer__bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	width: 100%;
	text-align: center;
}

@media (min-width: 36rem) {
	.sspks-simple-footer__bottom {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		text-align: left;
		gap: 0.75rem 1.5rem;
	}
}

.sspks-simple-footer__copy {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--sspks-ink-faint, rgba(15, 20, 25, 0.45));
	max-width: 36rem;
}

.sspks-simple-footer__legal {
	margin: 0;
	flex-shrink: 0;
}

@media (min-width: 36rem) {
	.sspks-simple-footer__legal .sspks-simple-footer__link--privacy {
		padding: 0.4rem 0.85rem;
		margin: -0.4rem -0.85rem;
		border-radius: var(--sspks-radius-pill, 999px);
	}

	.sspks-simple-footer__legal .sspks-simple-footer__link--privacy:hover,
	.sspks-simple-footer__legal .sspks-simple-footer__link--privacy:focus-visible {
		background: var(--sspks-accent-softer, rgba(13, 91, 212, 0.08));
		text-decoration: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sspks-simple-footer__link,
	.sspks-simple-footer__brand .sspks-site-logo__link {
		transition: none;
	}
}
