.site-footer {
	--footer-bg: #0a0a0a;
	--footer-white: #f4f3ef;
	--footer-muted: #b0b0b4;
	--footer-copy: #a5a5a5;
	--footer-input-border: #5b5a54;
	--footer-input-bg: #191919;
	--footer-placeholder: #77777c;
	--footer-purple: #cb6bf3;
	background: var(--footer-bg);
	color: var(--footer-white);
	padding: 48px 0 32px;
}

.site-footer,
.site-footer .container,
.site-footer__cols {
	overflow: visible;
}

.site-footer .container {
	max-width: 1400px;
}

.site-footer__top {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 40px;
}

.site-footer__brand {
	margin: 0;
}

.site-footer__brand img {
	display: block;
	height: 34px;
	width: auto;
}

.site-footer__social {
	align-items: center;
	display: flex;
	gap: 12px;
}

.site-footer__social a {
	align-items: center;
	background: rgba(244, 243, 239, 0.08);
	border-radius: 50%;
	color: var(--footer-white);
	display: flex;
	height: 32px;
	justify-content: center;
	transition: background-color 180ms ease;
	width: 32px;
}

.site-footer__social a:hover {
	background: #612cb5;
	color: var(--footer-white);
}

.site-footer__main {
	align-items: stretch;
	display: grid;
	gap: 32px;
	grid-template-columns: minmax(0, 1fr);
}

.site-footer__navigation {
	min-width: 0;
	width: 100%;
}

.site-footer-navigation__content {
	min-width: 0;
	width: 100%;
}

.site-footer-navigation__groups,
.site-footer-navigation__groups .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer-navigation__groups {
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(0, 1fr);
}

.site-footer-navigation__groups > li {
	min-width: 0;
}

.site-footer-navigation__groups--columns-2,
.site-footer-navigation__groups--columns-3,
.site-footer-navigation__groups--columns-4 {
	grid-template-columns: minmax(0, 1fr);
}

.site-footer-navigation__heading {
	color: var(--footer-white);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0;
}

.site-footer-navigation__groups .sub-menu > li > a,
.site-footer-navigation__groups .site-footer-navigation__label {
	font-size: 15px;
	line-height: 1.5;
	text-decoration: none;
	transition: color 180ms ease, text-decoration-color 180ms ease;
}

.site-footer-navigation__heading a {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
}

.site-footer-navigation__groups .sub-menu {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 12px;
}

.site-footer-navigation__groups .sub-menu > li > a,
.site-footer-navigation__groups .site-footer-navigation__label {
	color: var(--footer-copy);
}

.site-footer-navigation__groups a:hover {
	color: var(--footer-purple);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.site-footer-navigation__admin-hint {
	color: var(--footer-muted);
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
}

.site-footer a:focus-visible,
.site-footer button:focus-visible {
	outline: 3px solid var(--footer-purple);
	outline-offset: 4px;
}

.site-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 28px;
	height: 100%;
	min-width: 0;
	width: 100%;
}

.site-footer__lines {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.site-footer__lines a {
	color: var(--footer-white);
	font-size: 15px;
	text-decoration: none;
	transition: color 180ms ease;
}

.site-footer__lines a:hover {
	color: var(--footer-purple);
}

.site-footer__divider {
	border: none;
	border-top: 1px solid rgba(244, 243, 239, 0.15);
	margin: 0;
	width: 100%;
}

.site-footer__legal nav {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.site-footer__legal .menu {
	display: flex;
	flex-direction: column;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__legal .menu li {
	list-style: none;
	margin: 0;
	position: relative;
}

.site-footer__nav {
	position: relative;
	z-index: 3;
}

.site-footer__nav .menu > li {
	position: relative;
}

.site-footer__nav .menu > li > a {
	font-weight: 500;
}

.site-footer__nav .menu-item-has-children > a {
	align-items: center;
	display: inline-flex;
}

.site-footer__nav .menu-item-has-children > a::after {
	border-color: currentColor;
	border-style: solid;
	border-width: 0 1.2px 1.2px 0;
	content: "";
	display: inline-block;
	margin-left: 8px;
	opacity: 0.55;
	padding: 2.5px;
	transform: rotate(-45deg);
	transition: transform 160ms ease, opacity 160ms ease;
}

.site-footer__nav .sub-menu {
	background: #191919;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 16px;
	box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
	display: flex;
	flex-direction: column;
	gap: 3px;
	left: calc(100% + 12px);
	list-style: none;
	margin: 0;
	min-width: 230px;
	opacity: 0;
	padding: 10px;
	pointer-events: none;
	position: absolute;
	top: 50%;
	transform: translateY(calc(-50% + 8px));
	transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
	visibility: hidden;
	z-index: 20;
}

.site-footer__nav .sub-menu .sub-menu {
	left: calc(100% + 8px);
	top: -10px;
	transform: translateY(8px);
	transition: none;
}

.site-footer__nav .sub-menu .sub-menu::before {
	bottom: -10px;
	content: "";
	left: -12px;
	position: absolute;
	top: 0;
	width: 12px;
}

.site-footer__nav .menu > li > .sub-menu::before {
	bottom: 0;
	content: "";
	left: -16px;
	position: absolute;
	top: 0;
	width: 16px;
}

.site-footer__nav .menu > li:hover > .sub-menu,
.site-footer__nav .menu > li:focus-within > .sub-menu,
.site-footer__nav .menu > li.is-submenu-open > .sub-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(-50%);
	visibility: visible;
}

.site-footer__nav .sub-menu li:hover > .sub-menu,
.site-footer__nav .sub-menu li:focus-within > .sub-menu,
.site-footer__nav .sub-menu li.is-submenu-open > .sub-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
	transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
	visibility: visible;
}

.site-footer__nav .sub-menu a {
	border-radius: 9px;
	color: #e4e4e4;
	display: block;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.25;
	padding: 10px 12px;
}

.site-footer__nav .sub-menu a:hover,
.site-footer__nav .sub-menu a:focus-visible {
	background: rgba(203, 107, 243, 0.16);
	color: #ffffff;
}

.site-footer__nav .sub-menu .menu-item-has-children > a {
	align-items: center;
	display: inline-flex;
	width: 100%;
}

.site-footer__legal a {
	color: var(--footer-copy);
	font-size: 14px;
	text-decoration: none;
	transition: color 180ms ease;
}

.site-footer__legal a:hover {
	color: var(--footer-purple);
}

.site-footer__copyright {
	color: var(--footer-purple);
	font-size: 13px;
	margin: 0;
}

.site-footer__newsletter {
	min-width: 0;
	width: 100%;
}

.site-footer__newsletter h3 {
	color: var(--footer-purple);
	font-family: "Inter Tight", sans-serif;
	font-size: 26px;
	font-weight: 500;
	line-height: 1.25;
	margin: 0;
}

.site-footer__newsletter p {
	color: var(--footer-muted);
	font-size: 15px;
	line-height: 1.5;
	margin: 14px 0 0;
}

.site-footer__newsletter form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 24px;
}

.site-footer__newsletter input {
	background: var(--footer-input-bg);
	border: 1px solid var(--footer-input-border);
	border-radius: 32px;
	color: var(--footer-white);
	font-family: "Inter Tight", sans-serif;
	font-size: 15px;
	height: 52px;
	padding: 0 20px;
	width: 100%;
}

.site-footer__newsletter input::placeholder {
	color: var(--footer-placeholder);
}

.site-footer__newsletter button {
	background: var(--footer-purple);
	border: 1px solid var(--footer-purple);
	border-radius: 100px;
	color: var(--footer-bg);
	cursor: pointer;
	font-family: "Inter Tight", sans-serif;
	font-size: 16px;
	height: 52px;
	padding: 0 24px;
	transition: background-color 180ms ease, border-color 180ms ease;
	width: 100%;
}

.site-footer__newsletter button:hover {
	background: #dc9af8;
	border-color: #dc9af8;
}

@media screen and (min-width: 900px) {
	.site-footer {
		padding: 72px 0;
	}

	.site-footer__top {
		align-items: flex-start;
		margin-bottom: 60px;
	}

	.site-footer__social {
		gap: 14px;
	}

	.site-footer__main {
		align-items: stretch;
		gap: clamp(28px, 3.5vw, 48px);
		grid-template-columns: minmax(0, 3fr) minmax(0, 3fr) minmax(0, 4fr);
	}

	.site-footer__contact {
		gap: 48px;
		justify-self: start;
		max-width: 100%;
	}

	.site-footer__divider {
		width: 90%;
	}

	.site-footer__navigation {
		justify-self: center;
		max-width: 100%;
		width: max-content;
	}

	.site-footer__newsletter {
		justify-self: stretch;
		max-width: none;
		width: 100%;
	}

	.site-footer__lines {
		font-size: 16px;
		gap: 18px;
	}

	.site-footer__legal .menu {
		gap: 18px;
	}

	.site-footer__legal a {
		color: inherit;
		font-size: 16px;
	}

	.site-footer__nav nav,
	.site-footer__nav .menu {
		gap: 20px;
	}

	.site-footer__nav a {
		font-size: 16px;
	}

	.site-footer__nav .sub-menu a {
		font-size: 15px;
	}

	.site-footer__copyright {
		font-size: 14px;
		margin-top: auto;
	}

	.site-footer-navigation__groups {
		gap: clamp(20px, 2vw, 32px);
	}

	.site-footer-navigation__groups--columns-2,
	.site-footer-navigation__groups--columns-3,
	.site-footer-navigation__groups--columns-4 {
		grid-template-columns: minmax(0, 1fr);
	}

	.site-footer__newsletter h3 {
		font-size: 40px;
	}

	.site-footer__newsletter p {
		font-size: 20px;
		margin-top: 20px;
		max-width: 100%;
	}

	.site-footer__newsletter form {
		flex-direction: row;
		gap: 12px;
		margin-top: 32px;
		max-width: 100%;
	}

	.site-footer__newsletter input {
		flex: 1;
		font-size: 15.5px;
		height: 56px;
		width: auto;
	}

	.site-footer__newsletter button {
		font-size: 17px;
		height: 56px;
		white-space: nowrap;
		width: auto;
	}
}

@media screen and (min-width: 1025px) and (max-width: 1279px) {
	.site-footer {
		padding: 56px 0;
	}

	.site-footer__main {
		gap: 36px;
	}
}

@media screen and (max-width: 1024px) {
	.site-footer__newsletter h3 {
		font-size: 24px;
	}

	.site-footer__nav .menu-item-has-children > a::after {
		transform: rotate(45deg);
	}

	.site-footer__nav .menu-item-has-children.is-submenu-open > a::after {
		transform: rotate(-135deg);
	}

	.site-footer__nav .sub-menu,
	.site-footer__nav .sub-menu .sub-menu {
		background: transparent;
		border: 0;
		border-left: 1px solid rgba(203, 107, 243, 0.5);
		border-radius: 0;
		box-shadow: none;
		display: none;
		left: auto;
		margin: 8px 0 4px 4px;
		min-width: 0;
		opacity: 1;
		padding: 4px 0 4px 12px;
		pointer-events: auto;
		position: static;
		top: auto;
		transform: none;
		visibility: visible;
		width: auto;
	}

	.site-footer__nav .sub-menu::before,
	.site-footer__nav .sub-menu .sub-menu::before {
		display: none;
	}

	.site-footer__nav li.is-submenu-open > .sub-menu {
		display: flex;
	}

	.site-footer__nav .sub-menu a {
		padding: 8px 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-footer__nav .sub-menu,
	.site-footer__nav .menu-item-has-children > a::after {
		transition: none;
	}
}
