/* ========================================
   AUDIENCE — "Who It's For"
   ======================================== */
.audience {
	max-inline-size: 1920px;
	margin-inline: auto;
	padding-block: clamp(80px, 10vw, 160px);
	padding-inline: 27px;
	color: var(--color-text);
	background: none;

	@media (width <= 768px) {
		padding-inline: 16px;
	}
}

.audience-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 27px;
	align-items: end;
	margin-block-end: clamp(40px, 6vw, 80px);

	@media (width <= 1024px) {
		grid-template-columns: 1fr;
	}
}

.audience-hero__lead {
	display: flex;
	align-items: baseline;
	gap: 27px;
	flex-wrap: wrap;
}

.audience-hero__num,
.audience-hero__title {
	font-size: clamp(32px, 4.6vw, 68px);
	font-weight: var(--font-medium);
	line-height: 1;
	letter-spacing: -0.04em;
	margin: 0;
	font-variant-numeric: tabular-nums;
	-webkit-text-fill-color: currentColor;
	background: none;
}

.audience-hero__title {
	white-space: nowrap;

	@media (width <= 768px) {
		white-space: normal;
	}
}

.audience-hero__desc {
	margin: 0;
	padding-inline-start: clamp(24px, 4vw, 64px);
	font-size: 17px;
	line-height: 1.26;
	opacity: 0.7;
	max-inline-size: 40ch;

	@media (width <= 1024px) {
		grid-column: 1 / -1;
		padding-inline-start: 0;
	}
}

/* 3-card grid */
.audience-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	padding: 0;
	border: 1px solid rgb(0 0 0 / 0.07);
	border-radius: 14px;
	overflow: hidden;

	@media (width <= 768px) {
		grid-template-columns: 1fr;
	}
}

.audience-card {
	padding: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 40px);
	background: transparent;
	background-color: transparent;
	background-image: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-block-size: auto;
	opacity: 0;
	translate: -80px 0;
	transition:
		opacity 0.6s ease var(--stagger-delay, 0s),
		translate 0.7s cubic-bezier(0.2, 0.9, 0.2, 1) var(--stagger-delay, 0s);
}

.audience-card.is-revealed {
	opacity: 1;
	translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
	.audience-card {
		opacity: 1;
		translate: 0 0;
		transition: none;
	}
}

@media (hover: hover) {
	.audience-card:hover {
		transform: none;
		box-shadow: none;
		background: transparent;
		background-image: none;
	}
}

.audience-card + .audience-card,
.audience-grid .audience-card + .audience-card-featured,
.audience-grid .audience-card-featured + .audience-card {
	border-inline-start: 1px solid rgb(0 0 0 / 0.07);

	@media (width <= 768px) {
		border-inline-start: 0;
		border-block-start: 1px solid rgb(0 0 0 / 0.07);
	}
}

.audience-card.audience-card-featured {
	background: transparent;
	background-image: none;
}

.audience-card-featured .audience-card-icon {
	background: none;
	background-color: transparent;
	color: var(--color-accent);
}

.audience-card-featured .audience-card-name {
	color: var(--color-text);
	-webkit-text-fill-color: currentColor;
}

.audience-card-featured .audience-card-desc {
	color: var(--color-text-secondary);
}

.audience-card-icon {
	font-size: 32px;
	color: var(--color-accent);
	line-height: 1;
	align-self: flex-start;
	background: none;
	background-image: none;
	border-radius: 0;
	inline-size: auto;
	block-size: auto;
	padding: 0;
	box-shadow: none;
}

.audience-card-name {
	font-size: 26px;
	font-weight: var(--font-medium);
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0;
	color: var(--color-text);
	background: none;
	-webkit-text-fill-color: currentColor;
}

.audience-card-desc {
	margin: 0;
	font-size: 17px;
	line-height: 1.26;
	color: var(--color-text-secondary);
}

/* ========================================
   CTA SECTION — centered closing block
   ======================================== */
.cta-section {
	max-inline-size: 1920px;
	margin-inline: auto;
	padding-block: clamp(80px, 10vw, 160px) clamp(20px, 2vw, 40px);
	padding-inline: 27px;
	text-align: center;
	color: var(--color-text);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(32px, 5vw, 64px);

	@media (width <= 768px) {
		padding-inline: 16px;
	}
}

.cta-section__title {
	font-size: clamp(32px, 4.6vw, 68px);
	font-weight: var(--font-medium);
	line-height: 1;
	letter-spacing: -0.04em;
	margin: 0;
	color: var(--color-text);
	-webkit-text-fill-color: currentColor;
	background: none;
	max-inline-size: 20ch;
}

.cta-section__buttons {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	justify-content: center;
}

/* CTA button — uses default gradient from .nav-auth-btn */
.cta-section .nav-auth-btn .nav-chip {
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

/* ========================================
   CTA BALL — rolls in, half-buried behind the footer
   Container height = half of the image; the other half overflows below
   and is covered by the footer (which sits on top via higher z-index).
   ======================================== */
.cta-ball {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	inline-size: 100%;
	block-size: clamp(280px, 36vw, 500px); /* top half visible */
	margin-block-start: 0;
	pointer-events: none;
	overflow: clip;
}

.cta-ball img {
	inline-size: clamp(560px, 72vw, 1000px);
	block-size: auto;
	aspect-ratio: 1;
	display: block;
	translate: 0 120%;
	transition: translate 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cta-ball.is-revealed img {
	translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
	.cta-ball img {
		translate: 0 0;
		transition: none;
	}
}

/* Footer stacks above the ball to cover its bottom half */
.cta-ball + .footer {
	position: relative;
	z-index: 2;
}
