.cfa-site-footer {
	--cfa-footer-bg: #020b19;
	--cfa-footer-panel: rgba(9, 24, 44, 0.82);
	--cfa-footer-line: rgba(139, 185, 234, 0.2);
	--cfa-footer-text: #f4f8ff;
	--cfa-footer-muted: #9fb0c7;
	--cfa-footer-cyan: #1bdde5;
	--cfa-footer-green: #7eed6f;
	position: relative;
	overflow: hidden;
	padding: 48px var(--cfa-shell-pad, 24px) 24px;
	color-scheme: dark;
	color: var(--cfa-footer-text);
	background:
		radial-gradient(circle at 14% 0%, rgba(19, 208, 219, 0.1), transparent 30rem),
		radial-gradient(circle at 88% 20%, rgba(83, 114, 255, 0.12), transparent 34rem),
		var(--cfa-footer-bg);
	isolation: isolate;
}

.cfa-site-footer::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(95, 148, 207, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(95, 148, 207, 0.035) 1px, transparent 1px);
	background-size: 48px 48px;
	content: "";
	mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.cfa-site-footer__glow {
	position: absolute;
	top: -7rem;
	left: 50%;
	z-index: -1;
	width: min(70rem, 86vw);
	height: 14rem;
	border-radius: 50%;
	background: rgba(18, 203, 218, 0.13);
	filter: blur(70px);
	transform: translateX(-50%);
	pointer-events: none;
}

/* .cfa-site-footer already applies the shell inset, and the stretched body rows
   are never capped at --cfa-shell, so capping this card there left it narrower
   than every card above it. Fill the padded box it already sits in instead. */
.cfa-site-footer__inner {
	width: 100%;
	margin: 0 auto;
}

.cfa-site-footer__panel {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 48px;
	padding: 40px;
	border: 1px solid var(--cfa-footer-line);
	border-radius: 9px;
	background:
		linear-gradient(145deg, rgba(19, 42, 70, 0.42), transparent 58%),
		var(--cfa-footer-panel);
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
	backdrop-filter: blur(18px);
}

.cfa-site-footer__intro {
	max-width: 34rem;
}

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

.cfa-site-footer__brand-mark {
	display: grid;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	place-items: center;
	border: 1px solid rgba(27, 221, 229, 0.45);
	border-radius: 9px;
	color: var(--cfa-footer-cyan);
	background: rgba(27, 221, 229, 0.08);
	box-shadow: inset 0 0 24px rgba(27, 221, 229, 0.06);
}

.cfa-site-footer__brand-mark svg {
	width: 34px;
	height: 34px;
}

.cfa-site-footer__brand strong,
.cfa-site-footer__brand small {
	display: block;
}

.cfa-site-footer__brand strong {
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.cfa-site-footer__brand small {
	margin-top: 5px;
	color: var(--cfa-footer-muted);
	font-size: 0.75rem;
	line-height: 1.25;
}

.cfa-site-footer__summary {
	max-width: 31rem;
	margin: 24px 0 0;
	color: #c2cee0;
	font-size: 1rem;
	line-height: 1.75;
}

.cfa-site-footer__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.cfa-site-footer__button {
	display: inline-flex !important;
	box-sizing: border-box;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 11px 17px !important;
	border: 1px solid transparent;
	border-radius: 9px;
	color: #061421 !important;
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
	text-decoration: none !important;
	white-space: normal;
	overflow-wrap: anywhere;
	transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

/* Keep the footer's own calls to action legible across WPressOne pages. */
.cfa-site-footer .cfa-site-footer__button,
.cfa-site-footer .cfa-site-footer__button:visited {
	color: #061421 !important;
	text-shadow: none !important;
}

.cfa-site-footer .cfa-site-footer__button--secondary,
.cfa-site-footer .cfa-site-footer__button--secondary:visited {
	color: #ffffff !important;
	text-shadow: none !important;
}

.cfa-site-footer__button:hover,
.cfa-site-footer__button:focus-visible {
	transform: translateY(-2px);
}

.cfa-site-footer__button--primary {
	color: #001317;
	background: linear-gradient(135deg, var(--cfa-footer-cyan), #75f1c8);
	box-shadow: 0 10px 32px rgba(27, 221, 229, 0.18);
}

.cfa-site-footer__button--primary:hover,
.cfa-site-footer__button--primary:focus-visible {
	color: #001317;
	background: linear-gradient(135deg, #6af7f2, #a3ffd9);
}

.cfa-site-footer__button--secondary {
	border-color: rgba(159, 176, 199, 0.3);
	color: var(--cfa-footer-text);
	background: rgba(255, 255, 255, 0.035);
}

.cfa-site-footer__button--secondary:hover,
.cfa-site-footer__button--secondary:focus-visible {
	border-color: rgba(27, 221, 229, 0.58);
	color: var(--cfa-footer-cyan);
	background: rgba(27, 221, 229, 0.07);
}

.cfa-site-footer__nav {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.cfa-site-footer__nav-group h2 {
	margin: 0 0 20px;
	color: var(--cfa-footer-text);
	font-size: 0.76rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.cfa-site-footer__nav-group ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cfa-site-footer__nav-group li + li {
	margin-top: 13px;
}

.cfa-site-footer__nav-group a {
	display: inline-flex;
	position: relative;
	padding: 2px 0;
	color: var(--cfa-footer-muted);
	font-size: 0.9rem;
	line-height: 1.45;
	text-decoration: none;
	transition: color 180ms ease, transform 180ms ease;
}

.cfa-site-footer__nav-group a::before {
	position: absolute;
	top: 50%;
	left: -13px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--cfa-footer-cyan);
	content: "";
	opacity: 0;
	transform: translateY(-50%) scale(0.5);
	transition: opacity 180ms ease, transform 180ms ease;
}

.cfa-site-footer__nav-group a:hover,
.cfa-site-footer__nav-group a:focus-visible {
	color: var(--cfa-footer-text);
	transform: translateX(4px);
}

.cfa-site-footer__nav-group a:hover::before,
.cfa-site-footer__nav-group a:focus-visible::before {
	opacity: 1;
	transform: translateY(-50%) scale(1);
}

.cfa-site-footer__proof {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	margin-top: 16px;
	padding: 16px 24px;
	border: 1px solid var(--cfa-footer-line);
	border-radius: 9px;
	color: #b8c7da;
	background: rgba(8, 22, 39, 0.7);
	font-size: 0.77rem;
	font-weight: 650;
	line-height: 1.3;
	letter-spacing: 0.025em;
}

.cfa-site-footer__proof span {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 0 24px;
}

.cfa-site-footer__proof span + span {
	border-left: 1px solid var(--cfa-footer-line);
}

.cfa-site-footer__status {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--cfa-footer-green);
	box-shadow: 0 0 12px rgba(126, 237, 111, 0.72);
}

.cfa-site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 24px 2px 0;
	color: #71839c;
	font-size: 0.75rem;
	line-height: 1.5;
}

.cfa-site-footer__bottom p {
	margin: 0;
}

.cfa-site-footer__back-to-top {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #8fa4bf;
	text-decoration: none;
	transition: color 180ms ease;
}

.cfa-site-footer__back-to-top:hover,
.cfa-site-footer__back-to-top:focus-visible {
	color: var(--cfa-footer-cyan);
}

.cfa-site-footer a:focus-visible {
	outline: 2px solid var(--cfa-footer-cyan);
	outline-offset: 4px;
}

@media (max-width: 900px) {
	.cfa-site-footer__panel {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.cfa-site-footer__intro {
		max-width: 42rem;
	}
}

@media (max-width: 600px) {
  .cfa-site-footer__button {
    box-sizing: border-box;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
  }

  .cfa-site-footer .cfa-site-footer__button--primary,
  .cfa-site-footer .cfa-site-footer__button--primary:visited {
    color: #061421 !important;
  }

  .cfa-site-footer .cfa-site-footer__button--secondary,
  .cfa-site-footer .cfa-site-footer__button--secondary:visited {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.72);
  }

	.cfa-site-footer {
		padding: 34px var(--cfa-shell-pad, 20px) 20px;
	}

	.cfa-site-footer__panel {
		gap: 34px;
		padding: 24px 20px;
	}

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

	.cfa-site-footer__nav-group:last-child {
		grid-column: auto;
	}

	.cfa-site-footer__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.cfa-site-footer__button {
		width: 100%;
	}

	.cfa-site-footer__proof {
		align-items: stretch;
		flex-direction: column;
		gap: 10px;
		padding: 20px;
	}

	.cfa-site-footer__proof span {
		padding: 0;
	}

	.cfa-site-footer__proof span + span {
		padding-top: 10px;
		border-top: 1px solid var(--cfa-footer-line);
		border-left: 0;
	}

	.cfa-site-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 14px;
		padding-top: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cfa-site-footer *,
	.cfa-site-footer *::before,
	.cfa-site-footer *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
