.blf-footer {
	--blf-bg: #111b22;
	--blf-accent: #78b84a;
	--blf-text: #f3f7f2;
	--blf-muted: #b7c1bd;
	--blf-rule: rgba(255, 255, 255, 0.13);
	background: var(--blf-bg);
	color: var(--blf-text);
	font-family: inherit;
	overflow-x: hidden;
}

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

.blf-footer__accent {
	background: var(--blf-accent);
	height: 3px;
	width: 100%;
}

.blf-footer__inner {
	margin: 0 auto;
	max-width: 1180px;
	padding: 58px 24px 28px;
	width: 100%;
}

.blf-footer__grid {
	display: grid;
	gap: 42px;
	grid-template-columns: minmax(260px, 1.55fr) minmax(150px, 0.75fr) minmax(150px, 0.75fr) minmax(250px, 1fr);
}

.blf-footer__brand-link {
	align-items: center;
	color: var(--blf-text);
	display: inline-flex;
	gap: 14px;
	text-decoration: none;
}

.blf-footer__logo {
	align-items: center;
	background: var(--blf-accent);
	border-radius: 50%;
	color: var(--blf-bg);
	display: inline-flex;
	flex: 0 0 50px;
	height: 50px;
	justify-content: center;
	width: 50px;
}

.blf-footer__logo svg {
	display: block;
	height: 28px;
	width: 28px;
}

.blf-footer__title {
	font-size: 1.7rem;
	font-weight: 700;
	line-height: 1.1;
}

.blf-footer__description,
.blf-footer__newsletter-text {
	color: var(--blf-muted);
	font-size: 0.98rem;
	line-height: 1.72;
	margin: 22px 0 0;
	max-width: 390px;
}

.blf-footer__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
}

.blf-footer__socials li {
	margin: 0;
	padding: 0;
}

.blf-footer__social,
.blf-footer__form button {
	align-items: center;
	appearance: none;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 50%;
	box-shadow: none;
	color: var(--blf-text);
	display: inline-flex;
	height: 42px;
	justify-content: center;
	margin: 0;
	padding: 0;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
	width: 42px;
}

.blf-footer__social svg,
.blf-footer__form button svg {
	display: block;
	height: 20px;
	width: 20px;
}

.blf-footer__social:not(.blf-footer__social--disabled):hover,
.blf-footer__social:not(.blf-footer__social--disabled):focus-visible {
	background: var(--blf-accent);
	border-color: var(--blf-accent);
	color: var(--blf-bg);
	transform: translateY(-1px);
}

.blf-footer__social--disabled {
	opacity: 0.72;
}

.blf-footer__heading {
	color: var(--blf-text);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 8px 0 22px;
	text-transform: uppercase;
}

.blf-footer__links {
	display: grid;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.blf-footer__links a,
.blf-footer__legal a {
	color: var(--blf-muted);
	text-decoration: none;
	text-underline-offset: 0.22em;
	transition: color 160ms ease;
}

.blf-footer__links a:hover,
.blf-footer__links a:focus-visible,
.blf-footer__legal a:hover,
.blf-footer__legal a:focus-visible {
	color: var(--blf-text);
	text-decoration: underline;
}

.blf-footer__form {
	align-items: center;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 999px;
	display: flex;
	gap: 8px;
	margin-top: 24px;
	max-width: 310px;
	padding: 6px;
	width: 100%;
}

.blf-footer__form input {
	appearance: none;
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var(--blf-text);
	flex: 1 1 auto;
	font: inherit;
	min-width: 0;
	outline: 0;
	padding: 12px 10px 12px 16px;
	width: 100%;
}

.blf-footer__form input::placeholder {
	color: rgba(243, 247, 242, 0.62);
}

.blf-footer__form button {
	background: var(--blf-accent);
	border-color: var(--blf-accent);
	color: var(--blf-bg);
	cursor: pointer;
	flex: 0 0 42px;
}

.blf-footer__form button:hover,
.blf-footer__form button:focus-visible {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.blf-footer__form--disabled {
	opacity: 0.82;
}

.blf-footer__form--disabled button,
.blf-footer__form--disabled input {
	cursor: not-allowed;
}

.blf-footer__divider {
	background: var(--blf-rule);
	height: 1px;
	margin: 46px 0 26px;
	width: 100%;
}

.blf-footer__bottom {
	align-items: center;
	display: flex;
	gap: 24px;
	justify-content: space-between;
}

.blf-footer__legal {
	align-items: center;
	color: var(--blf-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.9rem;
	gap: 10px 18px;
}

.blf-footer__tagline {
	color: var(--blf-muted);
	font-size: 0.95rem;
	font-style: italic;
	margin: 0;
	text-align: right;
}

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

.blf-screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

@media (max-width: 900px) {
	.blf-footer__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

@media (max-width: 640px) {
	.blf-footer__inner {
		padding: 44px 20px 24px;
	}

	.blf-footer__grid {
		gap: 34px;
		grid-template-columns: minmax(0, 1fr);
	}

	.blf-footer__title {
		font-size: 1.35rem;
	}

	.blf-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.blf-footer__tagline {
		text-align: left;
	}
}
