.ef-founder-banner {
	position: relative;
	display: grid;
	grid-template-columns:
		minmax(380px, 1.65fr)
		minmax(250px, 0.85fr)
		minmax(220px, 0.7fr)
		auto;

	align-items: center;
	gap: 16px;

	width: 100%;
	min-height: 74px;
	padding: 10px 46px 10px 32px;

	overflow: hidden;

	background: #26104f;
	color: #ffffff;

	font-family: inherit;
	box-sizing: border-box;
}

.ef-founder-banner *,
.ef-founder-banner *::before,
.ef-founder-banner *::after {
	box-sizing: border-box;
}

.ef-founder-banner__headline {
	display: flex;
	align-items: center;
	gap: 12px;
	white-space: nowrap;

	font-size: 20px;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.02em;
	z-index: 2;
}

.ef-founder-banner__discount {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-width: 118px;
	padding: 9px 16px;

	border-radius: 999px;
	background: #ff704d;
	color: #16122f;

	font-size: 24px;
	font-weight: 900;
	line-height: 1;
}

.ef-founder-banner__headline-text {
	font-weight: 800;
}

.ef-founder-banner__pricing {
	display: flex;
	flex-direction: column;
	gap: 2px;

	color: #d6cbe9;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.1;

	z-index: 2;
}

.ef-founder-banner__pricing-row {
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.ef-founder-banner__label {
	color: #d6cbe9;
}

.ef-founder-banner__old-price {
	color: #88789d;
	font-size: 16px;
	font-weight: 700;
	text-decoration-thickness: 2px;
}

.ef-founder-banner__new-price {
	color: #18cfaa;
	font-size: 22px;
	font-weight: 900;
	white-space: nowrap;
}

.ef-founder-banner__monthly {
	color: #d6cbe9;
}

.ef-founder-banner__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-width: 220px;
	min-height: 50px;
	padding: 12px 22px;

	border-radius: 14px;
	background: linear-gradient(90deg, #7131eb 0%, #a16de8 100%);

	color: #ffffff;
	text-decoration: none;
	font-size: 17px;
	font-weight: 800;
	line-height: 1;

	box-shadow: none;
	z-index: 2;

	transition:
		transform 0.18s ease,
		filter 0.18s ease;
}

.ef-founder-banner__cta:hover,
.ef-founder-banner__cta:focus-visible {
	color: #ffffff;
	text-decoration: none;
	transform: translateY(-1px);
	filter: brightness(1.08);
}

.ef-founder-banner__spots {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	padding: 8px 14px;

	border-radius: 999px;
	background: #23caa9;
	color: #171235;

	font-size: 15px;
	font-weight: 800;
	white-space: nowrap;

	transform: rotate(-4deg);
	z-index: 2;
}

.ef-founder-banner__close {
	position: absolute;
	top: 50%;
	right: 12px;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: 28px;
	height: 28px;
	padding: 0;

	border: 0;
	background: transparent;
	color: #d8cfee;

	transform: translateY(-50%);
	cursor: pointer;
	z-index: 4;
}

.ef-founder-banner__close:hover,
.ef-founder-banner__close:focus-visible {
	color: #ffffff;
}

.ef-founder-banner__decor {
	position: absolute;
	width: 150px;
	height: 150px;
	border: 1px dashed rgba(172, 130, 255, 0.32);
	border-radius: 50%;
	pointer-events: none;
	z-index: 1;
}

.ef-founder-banner__decor--left {
	left: -105px;
	top: -82px;
}

.ef-founder-banner__decor--right {
	right: -90px;
	bottom: -108px;
}

.ef-founder-banner__dot {
	position: absolute;
	display: block;
	border-radius: 50%;
	pointer-events: none;
	z-index: 1;
}

.ef-founder-banner__dot--orange {
	width: 8px;
	height: 8px;
	left: 180px;
	top: 20px;
	background: #ff704d;
}

.ef-founder-banner__dot--purple {
	width: 8px;
	height: 8px;
	right: 122px;
	bottom: 16px;
	background: #a773ff;
}

.ef-founder-banner__mobile-only {
	display: none;
}

/* Slightly tighter desktop layout */
@media (max-width: 1350px) {
	.ef-founder-banner {
		gap: 14px;
		padding-left: 24px;
		padding-right: 44px;
	}

	.ef-founder-banner__headline {
		font-size: 18px;
	}

	.ef-founder-banner__discount {
		min-width: 108px;
		font-size: 22px;
	}

	.ef-founder-banner__cta {
		min-width: 200px;
		font-size: 16px;
	}

	.ef-founder-banner__spots {
		font-size: 14px;
		padding-inline: 12px;
	}
}

/* Tablet / mobile */
@media (max-width: 900px) {
	.ef-founder-banner {
		display: grid;
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"headline spots"
			"pricing pricing"
			"cta cta";

		gap: 10px 10px;

		min-height: 0;
		padding: 14px 26px 14px 14px;
	}

	.ef-founder-banner__headline {
		grid-area: headline;
		gap: 8px;
		font-size: 19px;
	}

	.ef-founder-banner__discount {
		min-width: auto;
		padding: 8px 13px;
		font-size: 23px;
	}

	.ef-founder-banner__pricing {
		grid-area: pricing;

		display: flex;
		flex-direction: row;
		align-items: baseline;
		flex-wrap: wrap;

		gap: 4px 7px;
		font-size: 15px;
	}

	.ef-founder-banner__pricing-row {
		gap: 7px;
	}

	.ef-founder-banner__old-price {
		font-size: 17px;
	}

	.ef-founder-banner__new-price {
		font-size: 22px;
	}

	.ef-founder-banner__cta {
		grid-area: cta;

		width: 100%;
		min-width: 0;
		min-height: 48px;

		border-radius: 14px;
		font-size: 17px;
	}

	.ef-founder-banner__spots {
		grid-area: spots;
		padding: 7px 11px;
		font-size: 13px;
	}

	.ef-founder-banner__close {
		right: 4px;
		top: 16px;
		transform: none;
	}
}

/* Mobile layout */
@media (max-width: 600px) {
	.ef-founder-banner {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"headline spots"
			"pricing pricing"
			"cta cta";

		row-gap: 10px;
		padding: 14px 28px 14px 14px;
	}

	.ef-founder-banner__desktop-only {
		display: none;
	}

	.ef-founder-banner__mobile-only {
		display: inline;
	}

	.ef-founder-banner__headline {
		font-size: 18px;
		gap: 7px;
	}

	.ef-founder-banner__discount {
		padding: 8px 12px;
		font-size: 22px;
		border-radius: 999px;
	}

	.ef-founder-banner__headline-text {
		font-size: 18px;
	}

	.ef-founder-banner__pricing {
		font-size: 14px;
		line-height: 1.2;
	}

	.ef-founder-banner__pricing-row {
		gap: 6px;
	}

	.ef-founder-banner__label {
		font-size: 14px;
	}

	.ef-founder-banner__old-price {
		font-size: 16px;
	}

	.ef-founder-banner__new-price {
		font-size: 21px;
	}

	.ef-founder-banner__monthly {
		font-size: 14px;
	}

	.ef-founder-banner__cta {
		min-height: 48px;
		padding: 12px 18px;
		font-size: 17px;
	}

	.ef-founder-banner__spots {
		align-self: start;
		padding: 6px 10px;
		font-size: 12px;
		transform: rotate(-5deg);
	}

	.ef-founder-banner__close {
		width: 28px;
		height: 28px;
		right: 1px;
		top: 8px;
	}

	.ef-founder-banner__dot--orange {
		left: 14px;
		top: auto;
		bottom: 8px;
	}

	.ef-founder-banner__dot--purple {
		right: 14px;
		bottom: 8px;
	}
}

/* Very narrow screens */
@media (max-width: 390px) {
	.ef-founder-banner {
		padding-left: 12px;
	}

	.ef-founder-banner__headline {
		font-size: 16px;
	}

	.ef-founder-banner__discount {
		font-size: 20px;
		padding: 7px 10px;
	}

	.ef-founder-banner__headline-text {
		font-size: 16px;
	}

	.ef-founder-banner__new-price {
		font-size: 19px;
	}

	.ef-founder-banner__spots {
		font-size: 11px;
	}
}

/* =========================================================
   FOUNDER BANNER — RESPONSIVE OVERFLOW FIX
   ========================================================= */

.ef-founder-banner {
    max-width: 100%;
    overflow: hidden;
}

.ef-founder-banner__headline,
.ef-founder-banner__pricing,
.ef-founder-banner__cta,
.ef-founder-banner__spots {
    min-width: 0;
}


/* Switch to compact layout earlier.
   Desktop row becomes too wide around 900–1100px. */
@media (max-width: 1100px) {

    .ef-founder-banner {
        display: grid;

        grid-template-columns:
            minmax(0, 1fr)
            auto;

        grid-template-areas:
            "headline spots"
            "pricing pricing"
            "cta cta";

        gap: 10px;

        min-height: 0;

        padding:
            14px
            32px
            14px
            16px;
    }

    .ef-founder-banner__headline {
        grid-area: headline;
        min-width: 0;
    }

    .ef-founder-banner__pricing {
        grid-area: pricing;

        min-width: 0;

        flex-wrap: wrap;
    }

    .ef-founder-banner__cta {
        grid-area: cta;

        width: 100%;
        min-width: 0;
    }

    .ef-founder-banner__spots {
        grid-area: spots;

        max-width: 100%;

        justify-self: end;
    }
}


/* Phone layout:
   don't force headline + spots into the same row */
@media (max-width: 600px) {

    .ef-founder-banner {
        grid-template-columns: minmax(0, 1fr);

        grid-template-areas:
            "headline"
            "spots"
            "pricing"
            "cta";

        padding:
            14px
            30px
            14px
            14px;
    }

    .ef-founder-banner__spots {
        justify-self: start;

        max-width: 100%;

        white-space: normal;

        text-align: center;
    }
}