/* Conversion canvas for the Aeternum: Preludio funnel.
 * Gutenberg owns the content; this layer reuses the theme's editorial system. */
.kn-funnel-body {
	background:
		linear-gradient(rgba(203, 161, 53, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(203, 161, 53, 0.035) 1px, transparent 1px),
		radial-gradient(circle at 78% 7%, rgba(203, 161, 53, 0.13), transparent 32rem),
		var(--kn-ink);
	background-size: 64px 64px, 64px 64px, auto, auto;
}

.kn-funnel-page .kn-site-header,
.kn-funnel-page .kn-site-footer {
	display: none !important;
}

.kn-funnel-main {
	overflow: clip;
	padding: clamp(3.75rem, 7vw, 6.5rem) 0 clamp(4.5rem, 8vw, 7.5rem);
}

.kn-funnel {
	margin-inline: auto;
	max-width: 1100px;
	width: calc(100% - 64px);
}

.kn-funnel h1,
.kn-funnel h2,
.kn-funnel h3 {
	color: var(--kn-ivory);
	font-family: var(--kn-display);
	font-weight: 800;
	letter-spacing: -0.035em;
}

.kn-funnel h1 {
	font-size: clamp(3.4rem, 5.5vw, 5rem);
	line-height: 0.94;
	margin: 0 auto clamp(2.5rem, 5vw, 4rem);
	max-width: none;
	text-align: center;
}

.kn-funnel h2 {
	font-size: clamp(2.3rem, 4vw, 3.6rem);
	line-height: 0.98;
	margin: 0 0 1.5rem;
}

.kn-funnel p,
.kn-funnel li {
	color: rgba(245, 241, 231, 0.86);
	font-size: clamp(1.02rem, 1.35vw, 1.14rem);
	line-height: 1.62;
	text-align: justify;
	text-align-last: left;
}

.kn-funnel strong {
	color: var(--kn-ivory);
}

.kn-funnel__content > p {
	margin: 0 auto 1.25rem;
	max-width: 720px;
}

.kn-funnel__intro {
	font-size: clamp(1.16rem, 1.75vw, 1.38rem) !important;
	line-height: 1.5 !important;
	margin-top: 0 !important;
}

/* Confirmation follows one centered path in the existing Gutenberg order. */
.kn-funnel--confirmacion .kn-funnel__content > p {
	margin-inline: auto;
	max-width: 720px;
}

.kn-funnel__feature-link,
.kn-funnel__offer-link {
	display: block;
	margin-inline: auto;
	text-decoration: none;
}

.kn-funnel__feature-link {
	margin-block: clamp(2rem, 4vw, 3rem);
	width: min(100%, 360px);
}

.kn-funnel__offer-link {
	width: min(100%, 300px);
}

.kn-funnel__feature-link img,
.kn-funnel__offer-link img {
	display: block;
	height: auto;
	margin: 0 auto;
	transition: transform 220ms ease;
	width: 100%;
}

.kn-funnel__offer-link:hover img,
.kn-funnel__offer-link:focus-within img {
	transform: scale(1.045);
}

.kn-funnel__section {
	border-top: 1px solid var(--kn-line);
	margin-top: clamp(3.75rem, 7vw, 6.5rem);
	padding-top: clamp(3rem, 5vw, 4.5rem);
}

.kn-funnel__offer-grid {
	align-items: center;
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	grid-template-columns: minmax(0, 1fr) minmax(250px, 0.8fr);
	margin-inline: auto;
	max-width: 860px;
}

.kn-funnel__offer-copy {
	text-align: center;
}

.kn-funnel__offer-copy h2 {
	font-size: clamp(2.5rem, 4.7vw, 4.25rem);
	margin-inline: auto;
	max-width: 11ch;
}

.kn-funnel__price {
	color: #732d3e !important;
	font-family: var(--kn-display);
	font-size: clamp(2.2rem, 4vw, 3.2rem) !important;
	font-weight: 800;
	line-height: 0.9 !important;
	margin: 0.35rem 0 1.75rem !important;
	text-decoration: line-through;
	text-decoration-thickness: 0.1em;
	text-align: center !important;
	text-align-last: center !important;
}

.kn-funnel__price strong {
	color: inherit;
}

.kn-funnel__actions {
	justify-content: center;
	margin: 0;
}

.kn-funnel__actions .wp-block-button {
	margin: 0;
}

.kn-funnel__actions .wp-block-button__link,
.kn-funnel__download-button {
	align-items: center;
	background: var(--kn-gold);
	border: 1px solid var(--kn-gold);
	border-radius: 0;
	box-shadow: none;
	color: var(--kn-ink);
	display: inline-flex;
	font-family: var(--kn-tech);
	font-size: 0.78rem;
	font-weight: 800;
	justify-content: center;
	letter-spacing: 0.07em;
	line-height: 1.2;
	min-height: 48px;
	padding: 0.75rem 1.1rem;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.kn-funnel__actions .wp-block-button__link:hover,
.kn-funnel__download-button:hover {
	background: transparent;
	border-color: var(--kn-gold);
	color: var(--kn-gold);
	transform: translateY(-2px);
}

.kn-funnel__section .kn-funnel__actions .wp-block-button__link {
	font-size: 0.92rem;
	padding-inline: 1.35rem;
}

.kn-funnel__actions .wp-block-button__link:focus-visible,
.kn-funnel__download-button:focus-visible,
.kn-funnel a:focus-visible {
	outline: 3px solid var(--kn-ivory);
	outline-offset: 4px;
}

/* The two download choices form the only horizontal-H divider. */
.kn-funnel__downloads {
	border-bottom: 1px solid var(--kn-line);
	border-top: 1px solid var(--kn-line);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0 auto;
	max-width: 900px;
}

.kn-funnel__download-card {
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: clamp(2.5rem, 5vw, 4.25rem);
	text-align: center;
}

.kn-funnel__download-card + .kn-funnel__download-card {
	border-left: 1px solid var(--kn-line);
}

.kn-funnel__download-card figure {
	margin: 0 auto 2rem;
	width: min(100%, 230px);
}

/* Reserve the intrinsic PNG proportions before download to prevent layout shift. */
.kn-funnel--descargar-preludio .kn-funnel__download-card figure {
	aspect-ratio: 13 / 16;
}

.kn-funnel--descargar-preludio .kn-funnel__section > .kn-funnel__offer-link {
	aspect-ratio: 357 / 440;
}

.kn-funnel__download-card img {
	display: block;
	height: auto;
	transition: transform 220ms ease;
	width: 100%;
}

.kn-funnel__download-card figure:hover img,
.kn-funnel__download-card figure:focus-within img {
	transform: scale(1.045);
}

.kn-funnel__download-card .kn-funnel__actions {
	justify-content: center;
}

/* Download close: centered bridge, then offer copy and boxset in two columns. */
.kn-funnel--descargar-preludio .kn-funnel__section {
	border-top: 0;
	column-gap: clamp(1.5rem, 3vw, 2.5rem);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(250px, 0.8fr);
	margin-inline: auto;
	max-width: 860px;
}

.kn-funnel--descargar-preludio .kn-funnel__section > h2:first-of-type,
.kn-funnel--descargar-preludio .kn-funnel__section > p:not(.kn-funnel__price) {
	grid-column: 1 / -1;
	justify-self: center;
	max-width: 720px;
}

.kn-funnel--descargar-preludio .kn-funnel__section > h2:first-of-type {
	margin-inline: auto;
	text-align: center;
}

.kn-funnel--descargar-preludio .kn-funnel__section > h2:nth-of-type(2),
.kn-funnel--descargar-preludio .kn-funnel__section > .kn-funnel__price,
.kn-funnel--descargar-preludio .kn-funnel__section > .kn-funnel__actions {
	grid-column: 1;
}

.kn-funnel--descargar-preludio .kn-funnel__section > h2:nth-of-type(2) {
	font-size: clamp(2.5rem, 4.7vw, 4.25rem);
	margin: 3rem auto 1.5rem;
	max-width: 11ch;
	text-align: center;
}

.kn-funnel--descargar-preludio .kn-funnel__section > .kn-funnel__price {
	text-align: center;
}

.kn-funnel--descargar-preludio .kn-funnel__section > .kn-funnel__offer-link {
	align-self: center;
	grid-column: 2;
	grid-row: 4 / span 3;
	margin-top: 3rem;
}

.kn-funnel__help {
	margin-inline: auto;
	max-width: 720px;
}

.kn-funnel__help h2 {
	max-width: none;
	text-align: center;
}

.kn-funnel__help a {
	color: var(--kn-gold);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.kn-funnel__help ul {
	margin: 1.75rem 0 0;
	padding-left: 1.25rem;
}

.kn-funnel__help li {
	padding-left: 0.45rem;
}

.kn-funnel__help li::marker {
	color: var(--kn-gold);
}

.kn-funnel__help li + li {
	border-top: 1px solid var(--kn-line);
	margin-top: 1rem;
	padding-top: 1rem;
}

@media (min-width: 900px) {
	.kn-funnel h1,
	.kn-funnel__help h2 {
		white-space: nowrap;
	}
}

@media (max-width: 720px) {
	.kn-funnel-main {
		padding: 2.5rem 0 4.5rem;
	}

	.kn-funnel {
		width: calc(100% - 32px);
	}

	.kn-funnel h1 {
		font-size: clamp(2.65rem, 13vw, 3.7rem);
		line-height: 0.98;
		margin-bottom: 2rem;
	}

	.kn-funnel h2,
	.kn-funnel__offer-copy h2,
	.kn-funnel--descargar-preludio .kn-funnel__section > h2:nth-of-type(2) {
		font-size: clamp(2.15rem, 10vw, 3rem);
		max-width: 100%;
	}

	.kn-funnel__offer-grid,
	.kn-funnel__downloads,
	.kn-funnel--descargar-preludio .kn-funnel__section {
		display: block;
	}

	.kn-funnel--confirmacion .kn-funnel__feature-link {
		width: min(100%, 300px);
	}

	.kn-funnel__section {
		margin-top: 3.5rem;
		padding-top: 3rem;
	}

	.kn-funnel__offer-link,
	.kn-funnel--descargar-preludio .kn-funnel__section > .kn-funnel__offer-link {
		margin-top: 2.75rem;
		width: min(100%, 230px);
	}

	.kn-funnel__actions .wp-block-button {
		max-width: 320px;
		width: 100%;
	}

	.kn-funnel__actions .wp-block-button__link,
	.kn-funnel__download-button {
		width: 100%;
	}

	.kn-funnel__download-card {
		padding: 2.75rem 0;
	}

	.kn-funnel__download-card + .kn-funnel__download-card {
		border-left: 0;
		border-top: 1px solid var(--kn-line);
	}

	.kn-funnel__download-card figure {
		width: min(100%, 205px);
	}

	.kn-funnel--descargar-preludio .kn-funnel__section > h2:nth-of-type(2) {
		margin-top: 2.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kn-funnel__actions .wp-block-button__link,
	.kn-funnel__download-button,
	.kn-funnel__download-card img,
	.kn-funnel__offer-link img {
		transition: none;
	}

	.kn-funnel__download-card figure:hover img,
	.kn-funnel__download-card figure:focus-within img,
	.kn-funnel__offer-link:hover img,
	.kn-funnel__offer-link:focus-within img {
		transform: none;
	}
}
