/* AlphaLabs Footer V3 — clean light layout */
.alpx-footer-v3 {
	--alpx-f3-cream: #fff9f3;
	--alpx-f3-cream-deep: #f8f0e8;
	--alpx-f3-surface: #fffdf9;
	--alpx-f3-brown: #4f2d1c;
	--alpx-f3-teal: #087f86;
	--alpx-f3-teal-deep: #064a50;
	--alpx-f3-orange: #ee741b;
	--alpx-f3-text: #625b55;
	--alpx-f3-muted: #80766f;
	--alpx-f3-border: #e8ddd2;
	--alpx-f3-teal-soft: #edf8f6;
	--alpx-f3-peach-soft: #fff1e4;
	position: relative;
	z-index: 3;
	margin: 0;
	background: var(--alpx-f3-cream);
	color: var(--alpx-f3-text);
	font-family: inherit;
}

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

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

.alpx-footer-v3__main {
	position: relative;
	padding: 64px 0 26px;
	border-top: 1px solid var(--alpx-f3-border);
	background:
		radial-gradient(circle at 8% 4%, rgba(237, 248, 246, .92), transparent 24%),
		radial-gradient(circle at 94% 2%, rgba(255, 241, 228, .86), transparent 25%),
		linear-gradient(180deg, #fffdf9 0%, var(--alpx-f3-cream) 100%);
}

.alpx-footer-v3__grid {
	display: grid;
	grid-template-columns: minmax(320px, 1.5fr) minmax(150px, .65fr) minmax(170px, .78fr) minmax(260px, 1fr);
	gap: clamp(34px, 4vw, 72px);
	align-items: start;
}

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

.alpx-footer-v3__logo {
	margin-bottom: 20px;
}

.alpx-footer-v3__logo .alpx-original-logo-image,
.alpx-footer-v3__logo img {
	display: block !important;
	width: 150px !important;
	max-width: 150px !important;
	height: auto !important;
	object-fit: contain !important;
}

.alpx-footer-v3__about {
	max-width: 470px;
	color: var(--alpx-f3-text);
	font-size: 14px;
	font-weight: 470;
	line-height: 1.72;
}

.alpx-footer-v3__about p {
	margin: 0 0 12px;
	color: inherit;
	font: inherit;
	line-height: inherit;
}

.alpx-footer-v3__about p:last-child {
	margin-bottom: 0;
}

.alpx-footer-v3__research-badge {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 22px;
	padding: 10px 13px;
	border: 1px solid rgba(8, 127, 134, .22);
	border-radius: 9px;
	background: rgba(237, 248, 246, .9);
	color: var(--alpx-f3-teal-deep);
	font-size: 11px;
	font-weight: 780;
	letter-spacing: .025em;
	line-height: 1.2;
	text-transform: uppercase;
}

.alpx-footer-v3__research-badge svg {
	width: 17px;
	height: 17px;
	flex: 0 0 auto;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.alpx-footer-v3__links,
.alpx-footer-v3__contact {
	margin: 0;
	padding: 0;
}

.alpx-footer-v3__toggle,
.alpx-footer-v3__contact h2 {
	margin: 0 0 22px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--alpx-f3-brown);
	font-size: 14px;
	font-weight: 820;
	letter-spacing: .055em;
	line-height: 1.2;
	text-align: left;
	text-transform: uppercase;
}

.alpx-footer-v3__toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-family: inherit;
	cursor: default;
}

.alpx-footer-v3__toggle svg {
	display: none;
	width: 14px;
	height: 9px;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform .18s ease;
}

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

.alpx-footer-v3__links li {
	margin: 0 0 13px;
	padding: 0;
}

.alpx-footer-v3__links li:last-child {
	margin-bottom: 0;
}

.alpx-footer-v3__links a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--alpx-f3-text);
	font-size: 13px;
	font-weight: 540;
	line-height: 1.45;
	transition: color .18s ease, transform .18s ease;
}

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

.alpx-footer-v3__links a:hover,
.alpx-footer-v3__links a:focus-visible {
	color: var(--alpx-f3-teal-deep);
	transform: translateX(2px);
}

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

.alpx-footer-v3__contact h2 {
	font-family: inherit;
}

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

.alpx-footer-v3__contact-row:last-of-type {
	margin-bottom: 0;
}

.alpx-footer-v3__contact-icon {
	width: 29px;
	height: 29px;
	display: grid;
	place-items: center;
	color: var(--alpx-f3-orange);
}

.alpx-footer-v3__contact-icon svg {
	width: 22px;
	height: 22px;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.alpx-footer-v3__contact-row address,
.alpx-footer-v3__contact-row div {
	margin: 0;
	color: var(--alpx-f3-text);
	font-size: 13px;
	font-style: normal;
	font-weight: 500;
	line-height: 1.55;
}

.alpx-footer-v3__contact-row a {
	color: var(--alpx-f3-teal-deep);
	font-size: 13px;
	font-weight: 760;
	overflow-wrap: anywhere;
	transition: color .18s ease;
}

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

.alpx-footer-v3__contact-row small {
	display: block;
	margin-top: 3px;
	color: var(--alpx-f3-muted);
	font-size: 10px;
	font-weight: 500;
	line-height: 1.4;
}

.alpx-footer-v3__account-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 22px;
	padding-bottom: 3px;
	border-bottom: 1px solid rgba(238, 116, 27, .35);
	color: var(--alpx-f3-orange);
	font-size: 12px;
	font-weight: 740;
	transition: color .18s ease, border-color .18s ease;
}

.alpx-footer-v3__account-link:hover,
.alpx-footer-v3__account-link:focus-visible {
	border-color: var(--alpx-f3-teal);
	color: var(--alpx-f3-teal-deep);
}

.alpx-footer-v3__notice {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) auto;
	gap: 17px;
	align-items: center;
	margin-top: 48px;
	padding: 18px 22px;
	border: 1px solid var(--alpx-f3-border);
	border-left: 4px solid var(--alpx-f3-orange);
	border-radius: 10px;
	background: rgba(255, 253, 249, .88);
}

.alpx-footer-v3__notice-icon {
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	color: var(--alpx-f3-teal);
}

.alpx-footer-v3__notice-icon svg {
	width: 25px;
	height: 25px;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.alpx-footer-v3__notice h2 {
	margin: 0 0 4px;
	color: var(--alpx-f3-brown);
	font-size: 12px;
	font-weight: 820;
	letter-spacing: .018em;
	line-height: 1.25;
}

.alpx-footer-v3__notice p {
	margin: 0;
	color: var(--alpx-f3-muted);
	font-size: 11px;
	font-weight: 490;
	line-height: 1.55;
}

.alpx-footer-v3__notice > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
	color: var(--alpx-f3-orange);
	font-size: 11px;
	font-weight: 780;
	transition: color .18s ease;
}

.alpx-footer-v3__notice > a:hover,
.alpx-footer-v3__notice > a:focus-visible {
	color: var(--alpx-f3-teal-deep);
}

.alpx-footer-v3__bottom {
	border-top: 1px solid var(--alpx-f3-border);
	background: var(--alpx-f3-cream-deep);
}

.alpx-footer-v3__bottom-grid {
	min-height: 60px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.alpx-footer-v3__bottom p {
	margin: 0;
	color: var(--alpx-f3-muted);
	font-size: 10px;
	font-weight: 500;
}

.alpx-footer-v3__bottom nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0;
}

.alpx-footer-v3__bottom nav a {
	position: relative;
	padding: 0 14px;
	color: var(--alpx-f3-text);
	font-size: 10px;
	font-weight: 620;
	transition: color .18s ease;
}

.alpx-footer-v3__bottom nav a:first-child {
	padding-left: 0;
}

.alpx-footer-v3__bottom nav a:last-child {
	padding-right: 0;
}

.alpx-footer-v3__bottom nav a + a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 1px;
	height: 13px;
	background: #d8ccc1;
	transform: translateY(-50%);
}

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

.alpx-footer-v3 a:focus-visible,
.alpx-footer-v3 button:focus-visible {
	outline: 3px solid rgba(8, 127, 134, .22);
	outline-offset: 3px;
}

@media (max-width: 1080px) {
	.alpx-footer-v3__grid {
		grid-template-columns: minmax(300px, 1.35fr) minmax(140px, .65fr) minmax(160px, .75fr);
		gap: 38px;
	}

	.alpx-footer-v3__contact {
		grid-column: 2 / 4;
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: 24px;
		align-items: start;
		padding-top: 28px;
		border-top: 1px solid var(--alpx-f3-border);
	}

	.alpx-footer-v3__contact h2 {
		grid-column: 1 / -1;
		margin-bottom: 20px;
	}

	.alpx-footer-v3__account-link {
		grid-column: 1 / -1;
		justify-self: start;
	}
}

@media (max-width: 760px) {
	.alpx-footer-v3__main {
		padding: 44px 0 24px;
	}

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

	.alpx-footer-v3__brand {
		margin-bottom: 30px;
	}

	.alpx-footer-v3__logo .alpx-original-logo-image,
	.alpx-footer-v3__logo img {
		width: 138px !important;
		max-width: 138px !important;
	}

	.alpx-footer-v3__about {
		max-width: none;
		font-size: 13px;
	}

	.alpx-footer-v3__research-badge {
		margin-top: 18px;
	}

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

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

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

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

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

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

	.alpx-footer-v3__contact {
		display: block;
		margin-top: 28px;
		padding-top: 26px;
		border-top: 1px solid var(--alpx-f3-border);
	}

	.alpx-footer-v3__contact h2 {
		margin-bottom: 22px;
	}

	.alpx-footer-v3__notice {
		grid-template-columns: 31px minmax(0, 1fr);
		margin-top: 34px;
		padding: 16px;
	}

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

	.alpx-footer-v3__bottom-grid {
		min-height: auto;
		flex-direction: column;
		align-items: flex-start;
		gap: 13px;
		padding: 20px 0;
	}

	.alpx-footer-v3__bottom nav {
		justify-content: flex-start;
	}
}

@media (max-width: 430px) {
	.alpx-footer-v3__main {
		padding-top: 38px;
	}

	.alpx-footer-v3__notice {
		grid-template-columns: 27px minmax(0, 1fr);
		gap: 12px;
		padding: 15px 13px;
	}

	.alpx-footer-v3__notice-icon {
		width: 27px;
		height: 27px;
	}

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

	.alpx-footer-v3__bottom nav a {
		padding: 0;
	}

	.alpx-footer-v3__bottom nav a + a::before {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.alpx-footer-v3__links a,
	.alpx-footer-v3__links a::after,
	.alpx-footer-v3__toggle svg,
	.alpx-footer-v3__account-link,
	.alpx-footer-v3__notice > a,
	.alpx-footer-v3__bottom nav a {
		transition: none;
	}
}
