.bea-pathway-finder {
	--bea-pathway-surface: #0b0720;
	--bea-pathway-card: #232039;
	--bea-pathway-card-border: rgba(230, 232, 236, 0.28);
	--bea-pathway-accent: linear-gradient(144deg, #6128ff 0%, #f235aa 52%, #f06f8c 78%, #ffd503 100%);
	--bea-pathway-text-muted: #b5b3ba;

	position: relative;
	padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3.25rem);
	background: var(--bea-pathway-surface);
	color: #ffffff;
	border-radius: 14px;
	overflow: hidden;
}

.bea-pathway-finder__progress {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 12px;
	background: rgba(255, 255, 255, 0.16);
}

.bea-pathway-finder__progress-fill {
	display: block;
	height: 100%;
	width: var(--bea-pathway-progress, 0%);
	background-image: url('/wp-content/uploads/2026/08/gradient.webp');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	transition: width 0.25s ease;
}

.bea-pathway-finder__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 840px;
	margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);
	text-align: center;
}

.bea-pathway-finder__glyph {
	display: block;
	width: 34px;
	height: 34px;
	margin: 0 auto 0.9rem;
	background-image: url('/wp-content/uploads/2026/08/icon-cap.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	opacity: 0.95;
}

.bea-pathway-finder__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading, sans-serif);
	font-size: 48px;
	line-height: 1;
	letter-spacing: -0.02em;
	text-transform: none;
	color: #ffffff;
}

.bea-pathway-finder__intro {
	margin: clamp(1rem, 2vw, 1.35rem) auto 0;
	max-width: 960px;
	font-family: var(--wp--preset--font-family--body, sans-serif);
	font-size: 20px;
	line-height: 1.45;
	color: #b5b3ba;
}

.bea-pathway-finder__screen {
	display: block;
}

.bea-pathway-finder__screen[hidden] {
	display: none;
}

.bea-pathway-finder__options,
.bea-pathway-finder__results {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	max-width: 1120px;
	margin: 0 auto;
}

.bea-pathway-finder__results {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bea-pathway-finder__results.is-two-columns {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bea-pathway-finder__screen[data-bea-pathway-screen="segmentation"] .bea-pathway-finder__options {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bea-pathway-finder__option,
.bea-pathway-finder__result-card {
	position: relative;
	display: grid;
	align-content: center;
	justify-items: center;
	gap: 15px;
	text-align: center;
	padding: clamp(1.5rem, 2.8vw, 2rem) clamp(1rem, 2.5vw, 1.75rem);
	min-height: 210px;
	border-radius: 14px;
	background: var(--bea-pathway-card);
	border: 1px solid transparent;
	box-sizing: border-box;
}

.bea-pathway-finder__option {
	appearance: none;
	width: 100%;
	cursor: pointer;
	color: #ffffff;
}

.bea-pathway-finder__option::before,
.bea-pathway-finder__result-card::before {
	content: '';
	position: absolute;
	inset: 0;
	padding: 2px;
	border-radius: inherit;
	background: var(--bea-pathway-accent);
	opacity: 0;
	transition: opacity 0.2s ease;
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.bea-pathway-finder__option:hover,
.bea-pathway-finder__option:focus-visible,
.bea-pathway-finder__option.is-selected {
	outline: none;
	border-color: var(--bea-pathway-card-border);
}

.bea-pathway-finder__result-card:hover,
.bea-pathway-finder__result-card:focus-visible,
.bea-pathway-finder__result-card.is-highlighted {
	outline: none;
	border-color: var(--bea-pathway-card-border);
}

.bea-pathway-finder__option:hover::before,
.bea-pathway-finder__option:focus-visible::before,
.bea-pathway-finder__option.is-selected::before,
.bea-pathway-finder__result-card:hover::before,
.bea-pathway-finder__result-card:focus-visible::before,
.bea-pathway-finder__result-card.is-highlighted::before {
	opacity: 1;
}

.bea-pathway-finder__option-dot,
.bea-pathway-finder__result-icon {
	width: 16px;
	height: 16px;
	background-image: url('/wp-content/uploads/2026/08/icon-highlight-dot.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.bea-pathway-finder__option-label,
.bea-pathway-finder__result-title {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading, sans-serif);
	font-size: 18px;
	line-height: 1.08;
	letter-spacing: -0.01em;
	text-transform: uppercase;
}

.bea-pathway-finder__option-description {
	margin: 0;
	font-family: var(--wp--preset--font-family--body, sans-serif);
	font-size: 16px;
	line-height: 1.45;
	color: #e6e6ef;
}

.bea-pathway-finder__result-card.is-linked {
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.bea-pathway-finder__result-title a {
	color: inherit;
	text-decoration: none;
}

.bea-pathway-finder__result-title a:hover,
.bea-pathway-finder__result-title a:focus-visible {
	text-decoration: underline;
}

.bea-pathway-finder__result-title span {
	color: inherit;
}

.bea-pathway-finder__result-meta {
	margin: 0;
	font-family: var(--wp--preset--font-family--body, sans-serif);
	font-size: 14px;
	line-height: 1.45;
	color: #bebdcb;
}

.bea-pathway-finder__result-meta strong {
	font-weight: 600;
	color: #f5f5ff;
}

.bea-pathway-finder__result-card.is-coming-soon {
	border-color: var(--bea-pathway-card-border);
}

.bea-pathway-finder__result-status {
	margin: 0;
	font-family: var(--wp--preset--font-family--body, sans-serif);
	font-size: 0.95rem;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #ffffff;
}

.bea-pathway-finder__empty {
	grid-column: 1 / -1;
	padding: 1rem;
	text-align: center;
	color: var(--bea-pathway-text-muted);
	font-family: var(--wp--preset--font-family--body, sans-serif);
}

.bea-pathway-finder__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin-top: clamp(1.25rem, 3.2vw, 2.25rem);
}

.bea-pathway-finder__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	min-width: 190px;
	height: 52px;
	padding: 0 1.3rem;
	border-radius: 999px;
	font-family: var(--wp--preset--font-family--heading, sans-serif);
	font-size: 16px;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
	border: 1px solid rgba(230, 232, 236, 0.5);
	transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.bea-pathway-finder__button--secondary {
	background: transparent;
	color: #ffffff;
}

.bea-pathway-finder__button--primary {
	background: #ffffff;
	color: #121026;
	border-color: transparent;
}

.bea-pathway-finder__button[disabled] {
	opacity: 0.45;
	cursor: not-allowed;
}

.bea-pathway-finder__button-arrow {
	width: 22px;
	height: 22px;
	background-color: currentColor;
	mask-image: url('/wp-content/uploads/2026/08/icon-arrow-mini-right.svg');
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: contain;
	-webkit-mask-image: url('/wp-content/uploads/2026/08/icon-arrow-mini-right.svg');
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: contain;
}

.bea-pathway-finder__button--secondary .bea-pathway-finder__button-arrow {
	transform: rotate(180deg);
}

@media (max-width: 1100px) {
	.bea-pathway-finder__results {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bea-pathway-finder__screen[data-bea-pathway-screen="segmentation"] .bea-pathway-finder__options {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.bea-pathway-finder__title {
		font-size: 38px;
	}

	.bea-pathway-finder__intro {
		font-size: 18px;
	}

	.bea-pathway-finder__options,
	.bea-pathway-finder__results {
		grid-template-columns: minmax(0, 1fr);
	}

	.bea-pathway-finder__screen[data-bea-pathway-screen="segmentation"] .bea-pathway-finder__options {
		grid-template-columns: minmax(0, 1fr);
	}

	.bea-pathway-finder__results.is-two-columns {
		grid-template-columns: minmax(0, 1fr);
	}

	.bea-pathway-finder__button {
		min-width: 150px;
		height: 48px;
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bea-pathway-finder__progress-fill,
	.bea-pathway-finder__option::before,
	.bea-pathway-finder__button {
		transition: none;
	}
}
