/*
 * AlphaLabs Footer V2
 * Light, warm redesign using the site's original cream, sage, teal, orange,
 * and brown color direction.
 */

.alpx-footer-v2,
.alpx-footer-v2 * {
	box-sizing: border-box;
}

.alpx-footer-v2 {
	--alpx-footer-cream: #faf6f2;
	--alpx-footer-cream-deep: #f4eee8;
	--alpx-footer-peach: #fae4cd;
	--alpx-footer-peach-soft: #fff1e5;
	--alpx-footer-sage: #98b5a1;
	--alpx-footer-teal: #00686b;
	--alpx-footer-teal-deep: #074b50;
	--alpx-footer-orange: #c75d20;
	--alpx-footer-orange-bright: #db7827;
	--alpx-footer-brown: #59341a;
	--alpx-footer-brown-soft: #775644;
	--alpx-footer-border: #e6d8cd;
	--alpx-footer-text: #4d5e5f;
	position: relative;
	background: var(--alpx-footer-cream);
	color: var(--alpx-footer-text);
	font-family: inherit;
	isolation: isolate;
}

.alpx-footer-v2 a {
	text-decoration: none;
}

.alpx-footer-v2 svg {
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Compact assistance panel */
.alpx-footer-v2__support {
	position: relative;
	padding: 52px 0 0;
	background: #fff;
	overflow: hidden;
}

.alpx-footer-v2__support-card {
	min-height: 238px;
	position: relative;
	display: flex;
	align-items: center;
	padding: 44px clamp(34px, 5vw, 68px);
	border: 1px solid rgba(152, 181, 161, .34);
	border-radius: 24px;
	background:
		linear-gradient(112deg, rgba(250, 228, 205, .86) 0%, rgba(255, 249, 243, .98) 48%, rgba(231, 244, 239, .92) 100%);
	box-shadow: 0 18px 46px rgba(89, 52, 26, .075);
	overflow: hidden;
}

.alpx-footer-v2__support-card::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 6px;
	background: linear-gradient(180deg, var(--alpx-footer-orange), var(--alpx-footer-teal));
}

.alpx-footer-v2__support-copy {
	position: relative;
	z-index: 3;
	max-width: 720px;
	padding-right: 260px;
}

.alpx-footer-v2__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	color: var(--alpx-footer-orange);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.alpx-footer-v2__eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	background: currentColor;
}

.alpx-footer-v2__support h2 {
	max-width: 620px;
	margin: 0;
	color: var(--alpx-footer-brown);
	font-size: clamp(29px, 3.2vw, 44px);
	font-weight: 820;
	letter-spacing: -.038em;
	line-height: 1.04;
}

.alpx-footer-v2__support-copy > p {
	max-width: 610px;
	margin: 16px 0 0;
	color: #62584f;
	font-size: 15px;
	line-height: 1.65;
}

.alpx-footer-v2__support-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 23px;
}

.alpx-footer-v2__support-link {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 0 18px;
	border: 1px solid rgba(89, 52, 26, .17);
	border-radius: 8px;
	background: rgba(255, 255, 255, .78);
	color: var(--alpx-footer-brown);
	font-size: 13px;
	font-weight: 760;
	box-shadow: 0 7px 18px rgba(89, 52, 26, .06);
	transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.alpx-footer-v2__support-link svg {
	width: 18px;
	height: 18px;
}

.alpx-footer-v2__support-link:hover,
.alpx-footer-v2__support-link:focus-visible {
	transform: translateY(-2px);
	border-color: var(--alpx-footer-orange);
	color: var(--alpx-footer-orange);
}

.alpx-footer-v2__support-link--primary {
	border-color: var(--alpx-footer-orange);
	background: linear-gradient(90deg, var(--alpx-footer-orange), var(--alpx-footer-orange-bright));
	color: #fff;
	box-shadow: 0 10px 22px rgba(199, 93, 32, .2);
}

.alpx-footer-v2__support-link--primary:hover,
.alpx-footer-v2__support-link--primary:focus-visible {
	border-color: var(--alpx-footer-brown);
	background: var(--alpx-footer-brown);
	color: #fff;
}

.alpx-footer-v2__support-visual {
	position: absolute;
	right: clamp(20px, 5vw, 76px);
	bottom: -42px;
	width: 265px;
	height: 290px;
	z-index: 2;
	pointer-events: none;
}

.alpx-footer-v2__support-visual::before {
	content: "";
	position: absolute;
	right: 8px;
	bottom: 38px;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(152, 181, 161, .34) 0%, rgba(152, 181, 161, .1) 58%, transparent 70%);
}

.alpx-footer-v2__support-visual img {
	position: absolute;
	right: 24px;
	bottom: -10px;
	width: 172px;
	height: auto;
	filter: drop-shadow(0 24px 25px rgba(70, 79, 66, .19));
	transform: rotate(4deg);
	animation: alpx-footer-vial-float 8s ease-in-out infinite;
}

.alpx-footer-v2__orb,
.alpx-footer-v2__node {
	position: absolute;
	display: block;
	border-radius: 50%;
}

.alpx-footer-v2__orb--one {
	right: 166px;
	top: 52px;
	width: 44px;
	height: 44px;
	background: rgba(219, 120, 39, .13);
	border: 1px solid rgba(199, 93, 32, .2);
}

.alpx-footer-v2__orb--two {
	right: 6px;
	top: 34px;
	width: 72px;
	height: 72px;
	background: rgba(0, 104, 107, .08);
	border: 1px solid rgba(0, 104, 107, .12);
}

.alpx-footer-v2__node {
	width: 15px;
	height: 15px;
	border: 2px solid rgba(0, 104, 107, .34);
	background: rgba(255, 255, 255, .88);
}

.alpx-footer-v2__node::after {
	content: "";
	position: absolute;
	left: 12px;
	top: 6px;
	width: 66px;
	height: 1px;
	background: rgba(0, 104, 107, .22);
	transform-origin: left center;
}

.alpx-footer-v2__node--one { left: 8px; top: 118px; }
.alpx-footer-v2__node--one::after { transform: rotate(-28deg); }
.alpx-footer-v2__node--two { left: 75px; top: 78px; }
.alpx-footer-v2__node--two::after { width: 50px; transform: rotate(34deg); }
.alpx-footer-v2__node--three { left: 122px; top: 108px; border-color: rgba(199, 93, 32, .35); }
.alpx-footer-v2__node--three::after { display: none; }

@keyframes alpx-footer-vial-float {
	0%, 100% { transform: translateY(0) rotate(4deg); }
	50% { transform: translateY(-7px) rotate(2deg); }
}

/* Main light footer */
.alpx-footer-v2__main {
	position: relative;
	padding: 64px 0 30px;
	background:
		radial-gradient(circle at 3% 12%, rgba(250, 228, 205, .5), transparent 25%),
		radial-gradient(circle at 94% 18%, rgba(152, 181, 161, .18), transparent 22%),
		var(--alpx-footer-cream);
	border-top: 1px solid rgba(230, 216, 205, .65);
}

.alpx-footer-v2__grid {
	display: grid;
	grid-template-columns: minmax(250px, 1.45fr) minmax(150px, .68fr) minmax(160px, .76fr) minmax(270px, 1.12fr);
	gap: clamp(32px, 4vw, 62px);
	align-items: start;
}

.alpx-footer-v2__brand {
	min-width: 0;
}

.alpx-footer-v2__logo {
	display: inline-flex;
	align-items: center;
	min-height: 80px;
}

.alpx-footer-v2__logo .alpx-original-logo,
.alpx-footer-v2__logo .alpx-original-logo a {
	display: inline-flex;
	align-items: center;
	margin: 0;
}

.alpx-footer-v2__logo .alpx-original-logo-image {
	display: block;
	width: 164px !important;
	height: auto !important;
	max-width: 164px !important;
	max-height: 112px !important;
	object-fit: contain !important;
}

.alpx-footer-v2__about {
	max-width: 390px;
	margin-top: 12px;
	color: var(--alpx-footer-text);
	font-size: 13px;
	line-height: 1.72;
}

.alpx-footer-v2__about .widget,
.alpx-footer-v2__about p {
	margin: 0 !important;
	color: inherit;
	font: inherit;
	line-height: inherit;
}

.alpx-footer-v2__about .widget-title {
	display: none;
}

.alpx-footer-v2__research-badge {
	width: fit-content;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 18px;
	padding: 8px 11px;
	border: 1px solid rgba(0, 104, 107, .16);
	border-radius: 8px;
	background: rgba(152, 181, 161, .15);
	color: var(--alpx-footer-teal-deep);
	font-size: 10px;
	font-weight: 760;
	letter-spacing: .035em;
	text-transform: uppercase;
}

.alpx-footer-v2__research-badge svg {
	width: 18px;
	height: 18px;
	color: var(--alpx-footer-orange);
}

.alpx-footer-v2__links {
	min-width: 0;
}

.alpx-footer-v2__toggle {
	width: 100%;
	min-height: 38px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 15px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--alpx-footer-brown);
	font: inherit;
	font-size: 15px;
	font-weight: 820;
	line-height: 1.3;
	text-align: left;
	cursor: default;
}

.alpx-footer-v2__toggle::after {
	content: "";
	position: absolute;
}

.alpx-footer-v2__toggle svg {
	display: none;
	width: 12px;
	height: 8px;
	transition: transform .18s ease;
}

.alpx-footer-v2__links ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.alpx-footer-v2__links li {
	margin: 0 0 11px;
	padding: 0;
}

.alpx-footer-v2__links a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #5d6764;
	font-size: 13px;
	font-weight: 560;
	line-height: 1.4;
	transition: color .18s ease, transform .18s ease;
}

.alpx-footer-v2__links a::after {
	content: "→";
	color: var(--alpx-footer-orange);
	opacity: 0;
	transform: translateX(-5px);
	transition: opacity .18s ease, transform .18s ease;
}

.alpx-footer-v2__links a:hover,
.alpx-footer-v2__links a:focus-visible {
	color: var(--alpx-footer-orange);
	transform: translateX(2px);
}

.alpx-footer-v2__links a:hover::after,
.alpx-footer-v2__links a:focus-visible::after {
	opacity: 1;
	transform: translateX(0);
}

.alpx-footer-v2__contact {
	position: relative;
	padding: 24px;
	border: 1px solid rgba(230, 216, 205, .95);
	border-radius: 16px;
	background: rgba(255, 255, 255, .88);
	box-shadow: 0 13px 34px rgba(89, 52, 26, .07);
	overflow: hidden;
}

.alpx-footer-v2__contact::after {
	content: "";
	position: absolute;
	right: -32px;
	top: -32px;
	width: 110px;
	height: 110px;
	border-radius: 50%;
	background: rgba(250, 228, 205, .55);
	z-index: 0;
}

.alpx-footer-v2__contact > * {
	position: relative;
	z-index: 1;
}

.alpx-footer-v2__contact-kicker {
	display: block;
	margin-bottom: 5px;
	color: var(--alpx-footer-orange);
	font-size: 10px;
	font-weight: 820;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.alpx-footer-v2__contact h2 {
	margin: 0 0 20px;
	color: var(--alpx-footer-brown);
	font-size: 22px;
	font-weight: 820;
	letter-spacing: -.025em;
	line-height: 1.15;
}

.alpx-footer-v2__contact-row {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	margin-bottom: 15px;
}

.alpx-footer-v2__contact-row:last-child {
	margin-bottom: 0;
}

.alpx-footer-v2__contact-row > span {
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: var(--alpx-footer-peach-soft);
	color: var(--alpx-footer-orange);
}

.alpx-footer-v2__contact-row svg {
	width: 18px;
	height: 18px;
}

.alpx-footer-v2__contact-row > div {
	min-width: 0;
	padding-top: 2px;
	color: #5b6260;
	font-size: 12px;
	line-height: 1.5;
}

.alpx-footer-v2__contact-row .widget,
.alpx-footer-v2__contact-row p {
	margin: 0 !important;
	color: inherit;
	font: inherit;
	line-height: inherit;
}

.alpx-footer-v2__contact-row .widget-title {
	display: none;
}

.alpx-footer-v2__contact-row a {
	color: var(--alpx-footer-teal-deep);
	font-size: 13px;
	font-weight: 720;
	overflow-wrap: anywhere;
}

.alpx-footer-v2__contact-row a:hover,
.alpx-footer-v2__contact-row a:focus-visible {
	color: var(--alpx-footer-orange);
}

.alpx-footer-v2__contact-row small {
	display: block;
	margin-top: 3px;
	color: #8c8580;
	font-size: 10px;
}

.alpx-footer-v2__notice {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) auto;
	gap: 15px;
	align-items: center;
	margin-top: 42px;
	padding: 17px 20px;
	border: 1px solid rgba(230, 216, 205, .9);
	border-left: 4px solid var(--alpx-footer-orange);
	border-radius: 11px;
	background: rgba(255, 249, 243, .92);
}

.alpx-footer-v2__notice > svg {
	width: 27px;
	height: 27px;
	color: var(--alpx-footer-teal);
}

.alpx-footer-v2__notice h2 {
	margin: 0 0 3px;
	color: var(--alpx-footer-brown);
	font-size: 12px;
	font-weight: 820;
	letter-spacing: .025em;
}

.alpx-footer-v2__notice p {
	margin: 0;
	color: #766c65;
	font-size: 10px;
	line-height: 1.55;
}

.alpx-footer-v2__notice > a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	white-space: nowrap;
	color: var(--alpx-footer-orange);
	font-size: 11px;
	font-weight: 780;
}

.alpx-footer-v2__notice > a:hover,
.alpx-footer-v2__notice > a:focus-visible {
	color: var(--alpx-footer-brown);
}

/* Light legal row */
.alpx-footer-v2__bottom {
	border-top: 1px solid var(--alpx-footer-border);
	background: var(--alpx-footer-cream-deep);
}

.alpx-footer-v2__bottom-grid {
	min-height: 72px;
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center;
	gap: 28px;
}

.alpx-footer-v2__bottom p {
	margin: 0;
	color: #776b63;
	font-size: 10px;
}

.alpx-footer-v2__bottom nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 17px;
}

.alpx-footer-v2__bottom nav a {
	color: #665d57;
	font-size: 10px;
	font-weight: 620;
}

.alpx-footer-v2__bottom nav a:hover,
.alpx-footer-v2__bottom nav a:focus-visible {
	color: var(--alpx-footer-orange);
}

.alpx-footer-v2__payments {
	max-width: 158px;
	max-height: 28px;
	object-fit: contain;
	opacity: .8;
}

@media (max-width: 1100px) {
	.alpx-footer-v2__grid {
		grid-template-columns: 1.25fr .7fr .8fr 1fr;
		gap: 30px;
	}

	.alpx-footer-v2__support-copy {
		padding-right: 225px;
	}

	.alpx-footer-v2__support-visual {
		right: 15px;
	}
}

@media (max-width: 900px) {
	.alpx-footer-v2__support-card {
		min-height: 265px;
		padding: 38px 34px;
	}

	.alpx-footer-v2__support-copy {
		max-width: 68%;
		padding-right: 0;
	}

	.alpx-footer-v2__support-visual {
		right: 6px;
		width: 245px;
	}

	.alpx-footer-v2__support-visual img {
		width: 154px;
	}

	.alpx-footer-v2__grid {
		grid-template-columns: 1.15fr .8fr .85fr;
	}

	.alpx-footer-v2__contact {
		grid-column: 2 / 4;
	}

	.alpx-footer-v2__bottom-grid {
		grid-template-columns: 1fr auto;
		padding: 18px 0;
	}

	.alpx-footer-v2__bottom nav {
		grid-column: 1 / -1;
		grid-row: 2;
	}
}

@media (max-width: 680px) {
	.alpx-footer-v2__support {
		padding-top: 30px;
	}

	.alpx-footer-v2__support-card {
		min-height: 390px;
		align-items: flex-start;
		padding: 30px 24px;
		border-radius: 18px;
	}

	.alpx-footer-v2__support-card::before {
		width: 4px;
	}

	.alpx-footer-v2__support-copy {
		max-width: none;
	}

	.alpx-footer-v2__support h2 {
		max-width: 420px;
		font-size: 29px;
	}

	.alpx-footer-v2__support-copy > p {
		max-width: 420px;
		font-size: 13px;
	}

	.alpx-footer-v2__support-actions {
		position: relative;
		z-index: 4;
	}

	.alpx-footer-v2__support-visual {
		right: -16px;
		bottom: -75px;
		width: 235px;
		height: 250px;
		opacity: .94;
	}

	.alpx-footer-v2__support-visual img {
		right: 24px;
		width: 142px;
	}

	.alpx-footer-v2__support-visual::before {
		width: 190px;
		height: 190px;
	}

	.alpx-footer-v2__main {
		padding: 48px 0 24px;
	}

	.alpx-footer-v2__grid {
		display: block;
	}

	.alpx-footer-v2__brand {
		margin-bottom: 28px;
	}

	.alpx-footer-v2__logo .alpx-original-logo-image {
		width: 148px !important;
		max-width: 148px !important;
	}

	.alpx-footer-v2__links {
		border-top: 1px solid var(--alpx-footer-border);
	}

	.alpx-footer-v2__toggle {
		min-height: 54px;
		margin: 0;
		cursor: pointer;
	}

	.alpx-footer-v2__toggle svg {
		display: block;
	}

	.alpx-footer-v2__toggle[aria-expanded="true"] svg {
		transform: rotate(180deg);
	}

	.alpx-footer-v2__links ul {
		padding: 0 0 18px;
	}

	.alpx-footer-v2__links ul[hidden] {
		display: none;
	}

	.alpx-footer-v2__contact {
		margin-top: 24px;
		padding: 21px;
	}

	.alpx-footer-v2__notice {
		grid-template-columns: 30px minmax(0, 1fr);
		margin-top: 28px;
		padding: 15px;
	}

	.alpx-footer-v2__notice > a {
		grid-column: 2;
		justify-self: start;
		margin-top: 2px;
	}

	.alpx-footer-v2__bottom-grid {
		min-height: auto;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
		padding: 21px 0;
	}

	.alpx-footer-v2__bottom nav {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px 18px;
	}

	.alpx-footer-v2__payments {
		max-width: 140px;
	}
}

@media (max-width: 430px) {
	.alpx-footer-v2__support-card {
		min-height: 420px;
	}

	.alpx-footer-v2__support-actions {
		flex-direction: column;
		align-items: flex-start;
	}

	.alpx-footer-v2__support-link {
		min-width: 145px;
	}

	.alpx-footer-v2__support-visual {
		right: -36px;
		bottom: -62px;
	}

	.alpx-footer-v2__contact h2 {
		font-size: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.alpx-footer-v2__support-visual img {
		animation: none;
	}

	.alpx-footer-v2__support-link,
	.alpx-footer-v2__links a,
	.alpx-footer-v2__toggle svg {
		transition: none;
	}
}
