/* Systical — Footer */

.sys-ft__outer {
	--ft-mark-fg: #ffffff;
	--ft-mark-accent: #9afd0d;
	--ft-mark-size: 20vw;
	--ft-mark-show: 0.62;
	--ft-mark-pad: 25px;

	background: #070707;
}

.sys-ft {
	--ft-max: 1200px;
	--ft-radius: 28px;
	--ft-brand: 1.8fr;
	--ft-rule: rgba(255, 255, 255, 0.12);

	--ft-link: #b4b4b4;
	--ft-link-hover: #fff;

	--ft-social: 44px;
	--ft-social-bg: #1e1e20;
	--ft-social-fg: #9a9a9c;
	--ft-social-bg-hover: #9afd0d;
	--ft-social-fg-hover: #0b0b0b;

	border-radius: var(--ft-radius) var(--ft-radius) 0 0;
	background: #101011;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

.sys-ft__inner {
	max-width: var(--ft-max);
	margin: 0 auto;
	padding: 70px 60px 34px;
}

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

.sys-ft__grid {
	display: grid;
	grid-template-columns: var(--ft-brand) 1fr 1fr 1fr;
	gap: 40px;
	align-items: start;
}

/* Grid items default to min-width:auto, so a long link would set the column
   floor and push the footer wider than the page. */
.sys-ft__brand,
.sys-ft__col {
	min-width: 0;
}

.sys-ft__title {
	display: inline-block;
	margin-bottom: 26px;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
}

.sys-ft__address {
	max-width: 34ch;
	margin: 0 0 34px;
	color: #fff;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.55;
}

.sys-ft__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sys-ft__list li + li {
	margin-top: 16px;
}

.sys-ft__link {
	color: var(--ft-link);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.2s ease;
}

.sys-ft__link:hover,
.sys-ft__link:focus {
	color: var(--ft-link-hover);
}

/* ---------- social ---------- */

.sys-ft__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.sys-ft__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--ft-social);
	height: var(--ft-social);
	border-radius: 50%;
	background: var(--ft-social-bg);
	color: var(--ft-social-fg);
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.sys-ft__social:hover,
.sys-ft__social:focus {
	background: var(--ft-social-bg-hover);
	color: var(--ft-social-fg-hover);
}

.sys-ft__social svg {
	width: 44%;
	height: 44%;
}

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

.sys-ft__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 46px;
	padding-top: 30px;
	border-top: 1px solid var(--ft-rule);
}

.sys-ft__copy {
	margin: 0;
	color: #8e8e8e;
	font-size: 14px;
	line-height: 1.5;
}

.sys-ft__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

.sys-ft__legal-link {
	color: #d6d6d6;
	font-size: 14px;
	text-decoration: none;
	transition: color 0.2s ease;
}

.sys-ft__legal-link:hover,
.sys-ft__legal-link:focus {
	color: #fff;
}

/* ---------- oversized wordmark ---------- */

.sys-ft__mark {
	position: relative;
	overflow: hidden;
	background: #070707;
	line-height: 0;
	text-align: center;
	/* Only the top slice of the glyphs shows; the rest is cut by the page
	   edge, which is what gives it the cropped-lockup look. The pad is added
	   on top of that slice so the descender area clears the fold and the word
	   reads as cropped rather than sliced through. */
	height: calc(var(--ft-mark-size) * var(--ft-mark-show) + var(--ft-mark-pad));
}

.sys-ft__mark-text {
	display: block;
	color: var(--ft-mark-fg);
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	font-size: var(--ft-mark-size);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
	white-space: nowrap;
	user-select: none;
}

.sys-ft__mark-accent {
	color: var(--ft-mark-accent);
}

.sys-ft img.sys-ft__mark-img,
.sys-ft__mark img.sys-ft__mark-img {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
	.sys-ft__inner {
		padding: 54px 40px 28px;
	}

	.sys-ft__grid {
		grid-template-columns: 1fr 1fr;
		gap: 36px 30px;
	}

	.sys-ft__brand {
		grid-column: 1 / -1;
	}

	.sys-ft__address {
		margin-bottom: 26px;
	}
}

@media (max-width: 767px) {
	.sys-ft__outer {
		--ft-mark-size: 34vw;
	}

	.sys-ft {
		--ft-radius: 20px;
		--ft-social: 40px;
	}

	.sys-ft__inner {
		padding: 40px 22px 24px;
	}

	.sys-ft__grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.sys-ft__title {
		margin-bottom: 18px;
	}

	.sys-ft__address {
		max-width: none;
		font-size: 16px;
	}

	.sys-ft__list li + li {
		margin-top: 13px;
	}

	.sys-ft__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		margin-top: 34px;
		padding-top: 24px;
	}

	.sys-ft__legal {
		gap: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sys-ft__link,
	.sys-ft__social,
	.sys-ft__legal-link {
		transition: none;
	}
}
