.wp-block-acf-fp-hero {
	padding: 0;
}

.fp-hero {
	position: relative;
	color: var(--ed-color-text, #0f172a);
	background: #fff;
}

/* ——— Header bar ——— */
.fp-hero__header {
	position: sticky;
	top: 0;
	z-index: 20;
	height: 80px;
	display: flex;
	align-items: center;
	padding: 12px 48px;
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04), 0 4px 8px rgba(0, 0, 0, 0.04), 0 16px 32px rgba(0, 0, 0, 0.06);
}

.fp-hero__header-inner {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.fp-hero__brand {
	font-family: var(--ed-font-display, "DM Sans", sans-serif);
	font-size: 28px;
	font-weight: 700;
	line-height: 1;
	color: var(--ed-color-accent, #244fd8);
	text-decoration: none;
	flex-shrink: 0;
}

.fp-hero__brand--logo {
	display: inline-flex;
	align-items: center;
}

.fp-hero__logo-img {
	display: block;
	width: auto;
	height: 32px;
}

.fp-hero__nav {
	min-width: 0;
}

.fp-hero__menu {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 2px;
}

.fp-hero__menu-link {
	display: inline-flex;
	align-items: center;
	padding: 6px 16px;
	border-radius: 999px;
	color: var(--ed-color-text, #0f172a);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease;
}

a.fp-hero__menu-link:hover,
a.fp-hero__menu-link:focus-visible {
	background: #eef2ff;
}

.fp-hero__menu-item.is-active .fp-hero__menu-link {
	background: #eef2ff;
	color: var(--ed-color-accent, #244fd8);
}

/* ——— Banner ——— */
.fp-hero__banner {
	position: relative;
	overflow: hidden;
	color: #fff;
	background: #111827;
}

.fp-hero__bg {
	position: absolute;
	inset: 0;
}

.fp-hero__bg-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.fp-hero__bg-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%);
}

.fp-hero__banner-inner {
	position: relative;
	z-index: 1;
	max-width: 1440px;
	margin: 0 auto;
	padding: 320px 48px 80px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 48px;
}

.fp-hero__main {
	max-width: 882px;
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.fp-hero__title {
	margin: 0;
	font-size: clamp(2.5rem, 4.4vw, 64px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	font-weight: 700;
	color: #fff;
}

.fp-hero__subtitle {
	margin: -24px 0 0;
	font-size: 22px;
	line-height: 1.2;
	font-weight: 400;
	color: #fff;
}

.fp-hero .fp-cta-pair {
	gap: 24px;
	width: 100%;
	max-width: 677px;
}

.fp-hero .fp-btn {
	flex: 1 1 auto;
	min-height: 56px;
	font-size: 18px;
	white-space: nowrap;
}

.fp-hero .fp-btn--secondary {
	background: #fff;
	border-color: #fff;
	color: var(--ed-color-text, #0f172a);
}

/* ——— Sidebar facts ——— */
.fp-hero__features {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
	flex-shrink: 0;
}

.fp-hero__feature {
	display: flex;
	align-items: center;
	gap: 8px;
}

.fp-hero__feature-icon {
	width: 24px;
	height: 24px;
	object-fit: contain;
	flex: 0 0 24px;
	/* Force white rendering on the dark banner regardless of source fill. */
	filter: brightness(0) invert(1);
}

.fp-hero__feature-icon--dot {
	border-radius: 999px;
	background: #fff;
	filter: none;
}

.fp-hero__feature-text {
	font-size: 22px;
	font-weight: 600;
	line-height: 1.2;
	color: #fff;
	white-space: nowrap;
}

/* ——— Outcomes / stats ——— */
.fp-hero__outcomes {
	background: #fff;
	color: var(--ed-color-text, #0f172a);
	padding: 80px 48px;
}

.fp-hero__outcomes-inner {
	max-width: 1440px;
	margin: 0 auto;
}

.fp-hero__outcomes-heading {
	margin: 0 0 40px;
	font-size: clamp(1.9rem, 3.4vw, 48px);
	line-height: 1.2;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: inherit;
}

.fp-hero__outcomes-grid {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid #e2e8f0;
	border-left: 1px solid #e2e8f0;
}

.fp-hero__outcome {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 24px;
	border-right: 1px solid #e2e8f0;
	border-bottom: 1px solid #e2e8f0;
	font-size: 18px;
	line-height: 1.5;
}

.fp-hero__outcome::before {
	content: "";
	width: 32px;
	height: 32px;
	background: url("../../assets/img/foundation_v2/arrow-down.svg") center / contain no-repeat;
	flex-shrink: 0;
}

@media (max-width: 1024px) {
	.fp-hero__banner-inner {
		flex-direction: column;
		padding: 120px 32px 64px;
	}

	.fp-hero__features {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 16px 32px;
	}
}

@media (max-width: 900px) {
	.fp-hero__header {
		padding: 12px 24px;
	}

	.fp-hero__menu {
		display: none;
	}

	.fp-hero__outcomes {
		padding: 56px 24px;
	}

	.fp-hero__outcomes-grid {
		grid-template-columns: 1fr;
	}

	.fp-hero .fp-cta-pair {
		flex-direction: column;
	}
}

@media (max-width: 600px) {
	.fp-hero__header {
		height: 64px;
		padding: 12px 16px;
	}

	.fp-hero__banner-inner {
		padding: 96px 16px 40px;
		gap: 32px;
	}

	.fp-hero__main {
		gap: 32px;
	}

	.fp-hero__title {
		font-size: clamp(2rem, 8vw, 2.5rem);
	}

	.fp-hero__subtitle {
		margin-top: -16px;
		font-size: 16px;
	}

	.fp-hero .fp-cta-pair {
		gap: 16px;
	}

	.fp-hero .fp-btn {
		font-size: 16px;
	}

	.fp-hero__features {
		flex-direction: column;
		gap: 20px;
	}

	.fp-hero__feature-text {
		font-size: 18px;
		white-space: normal;
	}

	.fp-hero__outcomes {
		padding: 40px 16px;
	}

	.fp-hero__outcomes-heading {
		margin-bottom: 24px;
	}
}
