/* 1B.6 homepage density. Scoped to .yepx-home-v2 only. */

.yepx-home-v2 {
	--yepx-container-max: 1240px;
	--yepx-page-gutter: 32px;
	width: min(var(--yepx-container-max), calc(100% - (var(--yepx-page-gutter) * 2)));
	margin-inline: auto;
	max-width: 100%;
}

.yepx-home-v2 .yepx-section {
	padding-block: clamp(3.5rem, 5vw, 4.5rem);
}

.yepx-home-v2 .yepx-hero-stage,
.yepx-home-v2 .yepx-hero-stage.yepx-reveal {
	min-height: 540px;
	padding-block: 0.75rem 1rem;
	opacity: 1;
	transform: none;
}

.yepx-home-v2 .yepx-slider {
	padding-block: 1.15rem 1.25rem;
}

.yepx-home-v2 .yepx-slider.is-desktop .yepx-slider__slide,
.yepx-home-v2 .yepx-slider-noscript .yepx-slider__slide {
	grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
	gap: clamp(2.75rem, 4vw, 3.5rem);
	align-items: center;
}

.yepx-home-v2 .yepx-hero-badge {
	margin: 0 0 0.65rem;
}

.yepx-home-v2 .yepx-hero-benefits {
	margin: 0.75rem 0 0;
	gap: 0.5rem;
}

.yepx-home-v2 .yepx-hero-benefits li {
	min-height: 36px;
	padding: 0.25rem 0.7rem;
}

.yepx-home-v2 .yepx-float-card {
	min-width: 8.25rem;
	padding: 0.55rem 0.75rem;
}

.yepx-home-v2 .yepx-slider__title,
.yepx-home-v2 .yepx-hero-stage h1 {
	max-width: 580px;
	font-size: clamp(44px, 4vw, 60px);
	line-height: 1.08;
}

.yepx-home-v2 .yepx-slider__desc,
.yepx-home-v2 .yepx-hero-stage .yepx-slider__desc {
	max-width: 36rem;
	font-size: 1.0625rem;
	line-height: 1.6;
}

.yepx-home-v2 .yepx-slider__actions .yepx-btn {
	min-height: 52px;
	height: 52px;
	padding: 0 1.7rem;
	border-radius: 9999px;
}

.yepx-home-v2 .yepx-slider__img {
	width: 100%;
	max-width: 650px;
	min-height: 320px;
	object-fit: contain;
}

.yepx-home-v2 .yepx-section.yepx-trust {
	padding-block: 24px;
	min-height: 0;
	height: auto;
}

.yepx-home-v2 .yepx-trust__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.85rem 1.75rem;
	overflow: visible;
	min-height: 0;
	height: auto;
}

.yepx-home-v2 .yepx-trust__list li {
	flex: 0 0 auto;
	width: auto;
	min-width: 0;
	min-height: 0;
	padding: 0;
}

.yepx-home-v2 .yepx-trust__list img {
	display: block;
	height: 36px;
	max-height: 42px;
	width: auto;
	max-width: 140px;
}

.yepx-home-v2 .yepx-section.yepx-types {
	padding-block: 3.25rem 3.5rem;
}

.yepx-home-v2 .yepx-type-card {
	min-height: 150px;
	padding: 0;
	border-radius: 22px;
}

.yepx-home-v2 .yepx-type-card a {
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-template-rows: auto auto;
	align-items: start;
	column-gap: 0.85rem;
	row-gap: 0.35rem;
	min-height: 150px;
	padding: 1.4rem 1.5rem;
}

.yepx-home-v2 .yepx-type-card .yepx-icon-well {
	width: 52px;
	height: 52px;
	grid-row: 1 / span 2;
}

.yepx-home-v2 .yepx-type-card strong {
	grid-column: 2;
	grid-row: 1;
}

.yepx-home-v2 .yepx-type-card a > span:not(.yepx-icon-well):not(.yepx-icon) {
	grid-column: 2;
	grid-row: 2;
	color: var(--yepx-color-muted);
	font-size: 0.875rem;
	line-height: 1.45;
}

.yepx-home-v2 .yepx-type-card__chevron {
	grid-column: 3;
	grid-row: 1 / span 2;
	align-self: center;
}

.yepx-home-v2 .yepx-px__tabs [role="tab"] {
	min-height: 48px;
	height: 48px;
	padding: 0 1.5rem;
	border-radius: 9999px;
}

.yepx-home-v2 .yepx-px__tabs {
	gap: 0.75rem;
}

.yepx-home-v2 .yepx-px__panel {
	min-height: 440px;
	padding: 2.6rem 2.8rem;
	border-radius: 30px;
}

.yepx-home-v2 .yepx-showcase {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.25rem;
}

.yepx-home-v2 .yepx-showcase > .yepx-eyebrow,
.yepx-home-v2 .yepx-showcase > h2 {
	grid-column: 1 / -1;
}

.yepx-home-v2 .yepx-showcase__panel {
	min-height: 380px;
	padding: 1.5rem 1.65rem;
}

.yepx-home-v2 .yepx-showcase__media img,
.yepx-home-v2 .yepx-showcase__media svg,
.yepx-home-v2 .yepx-diagram__svg {
	min-height: 150px;
	max-height: 190px;
	width: 100%;
	object-fit: cover;
}

.yepx-home-v2 .yepx-cards--spotlight {
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

.yepx-home-v2 .yepx-card--spotlight {
	min-height: 140px;
	padding: 1.5rem 1.65rem;
}

.yepx-home-v2 .yepx-card--spotlight .yepx-icon-well,
.yepx-home-v2 .yepx-feature-group .yepx-icon-well {
	width: 52px;
	height: 52px;
}

.yepx-home-v2 .yepx-card--spotlight,
.yepx-home-v2 .yepx-feature-group,
.yepx-home-v2 .yepx-type-card,
.yepx-home-v2 .yepx-guide-card {
	font-size: 0.9375rem;
}

.yepx-home-v2 .yepx-video,
.yepx-home-v2 .yepx-intro-video .yepx-video {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
}

.yepx-home-v2 .yepx-video__stage,
.yepx-home-v2 .yepx-video__poster {
	border-radius: 28px;
}

.yepx-home-v2 .yepx-video__play {
	width: 64px;
	height: 64px;
}

.yepx-home-v2 .yepx-section.yepx-integrations {
	padding-block: 48px;
	min-height: 0;
	height: auto;
}

.yepx-home-v2 .yepx-integrations__groups {
	gap: 0.5rem;
	min-height: 0;
}

.yepx-home-v2 .yepx-integrations__groups > *:empty,
.yepx-home-v2 .yepx-integrations__badges:empty {
	display: none;
}

.yepx-home-v2 .yepx-integrations__badges {
	flex-wrap: wrap;
	overflow: visible;
	min-height: 0;
	padding-bottom: 0;
	gap: 0.55rem 0.7rem;
}

.yepx-home-v2 .yepx-integrations__badges li {
	min-height: 0;
	padding: 0.4rem 0.75rem;
}

.yepx-home-v2 .yepx-section.yepx-process {
	padding-block: 3.5rem;
}

.yepx-home-v2 .yepx-cards--process {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	position: relative;
}

.yepx-home-v2 .yepx-cards--process > li {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: transparent;
	box-shadow: none;
	border: 0;
	padding: 0.25rem 0.4rem;
}

.yepx-home-v2 .yepx-cards--process > li p {
	margin: 0.35rem 0 0;
	font-size: 0.875rem;
	line-height: 1.45;
}

.yepx-home-v2 .yepx-cards--process > li::before,
.yepx-home-v2 .yepx-process .yepx-icon-well,
.yepx-home-v2 .yepx-cards--process .yepx-icon-well,
.yepx-home-v2 .yepx-step-num {
	width: 48px;
	height: 48px;
	border-radius: 9999px;
	font-size: 1.125rem;
	margin-inline: auto;
}

.yepx-home-v2 .yepx-cards--quotes {
	grid-template-columns: 1fr;
	gap: 1.35rem;
}

.yepx-home-v2 .yepx-cards--quotes li {
	min-height: 220px;
	padding: 1.85rem 1.75rem;
}

.yepx-home-v2 .yepx-cards--quotes blockquote {
	font-size: 1.05rem;
	line-height: 1.55;
}

.yepx-home-v2 .yepx-quote-icon {
	width: 48px;
	height: 48px;
}

.yepx-home-v2 .yepx-seo > p {
	max-width: 46rem;
}

.yepx-home-v2 .yepx-guide-grid {
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

.yepx-home-v2 .yepx-guide-card {
	padding: 1.4rem 1.55rem;
}

.yepx-home-v2 .yepx-guide-card .yepx-icon-well {
	width: 48px;
	height: 48px;
}

.yepx-home-v2 .yepx-faq details {
	display: block;
	width: min(896px, 100%);
	max-width: 896px;
	margin-inline: auto;
	min-height: 64px;
	padding: 0.35rem 1.35rem;
	border-radius: 18px;
}

.yepx-home-v2 .yepx-faq summary {
	min-height: 64px;
	font-size: 1.0625rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.yepx-home-v2 .yepx-faq summary::after {
	content: "";
	width: 0.55rem;
	height: 0.55rem;
	border: 0;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	border-radius: 0;
	background: transparent;
	transform: rotate(45deg);
	flex: 0 0 auto;
}

.yepx-home-v2 .yepx-faq details > *:not(summary) {
	padding: 0.25rem 0 1.15rem;
}

.yepx-home-v2 .yepx-blog__list {
	gap: 1.5rem;
}

.yepx-home-v2 .yepx-blog-card a {
	padding: 1.4rem;
	border-radius: 22px;
}

.yepx-home-v2 .yepx-section.yepx-section--cta {
	min-height: 180px;
	padding: 38px 48px;
	border-radius: 30px;
	display: grid;
	gap: 0.85rem;
	align-items: center;
	text-align: left;
}

.yepx-home-v2 .yepx-section--cta h2,
.yepx-home-v2 .yepx-section--cta p {
	margin-inline: 0;
	max-width: 36rem;
}

.yepx-home-v2 .yepx-section--cta > h2,
.yepx-home-v2 .yepx-section--cta > p,
.yepx-home-v2 .yepx-section--cta > .wp-block-heading {
	grid-column: 1;
}

.yepx-home-v2 .yepx-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: center;
	justify-content: flex-end;
}

.yepx-home-v2 .yepx-section--cta .yepx-btn,
.yepx-home-v2 .yepx-cta-actions .yepx-btn {
	min-height: 52px;
	height: 52px;
	padding: 0 1.7rem;
	border-radius: 9999px;
}

.yepx-home-v2 .yepx-btn--on-dark {
	background: #fff;
	color: var(--yepx-color-navy);
}

@media (min-width: 768px) {
	.yepx-home-v2 {
		--yepx-page-gutter: 24px;
	}

	.yepx-home-v2 .yepx-cards--spotlight,
	.yepx-home-v2 .yepx-guide-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.yepx-home-v2 .yepx-video,
	.yepx-home-v2 .yepx-intro-video .yepx-video {
		grid-template-columns: minmax(0, 0.56fr) minmax(0, 0.44fr);
		gap: 3.5rem;
	}
}

@media (min-width: 1025px) {
	.yepx-home-v2 .yepx-types__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1.35rem;
	}

	.yepx-home-v2 .yepx-cards--spotlight {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.yepx-home-v2 .yepx-guide-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.yepx-home-v2 .yepx-cards--quotes {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.yepx-home-v2 .yepx-blog__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.yepx-home-v2 .yepx-section.yepx-section--cta,
	.yepx-home-v2 .yepx-section--cta {
		grid-template-columns: minmax(0, 1fr) auto;
		text-align: left;
	}

	.yepx-home-v2 .yepx-section--cta h2,
	.yepx-home-v2 .yepx-section--cta .wp-block-heading {
		font-size: clamp(1.5rem, 2vw, 2rem);
		margin: 0 0 0.4rem;
	}

	.yepx-home-v2 .yepx-section--cta p {
		margin: 0;
	}
}

@media (min-width: 1280px) {
	.yepx-home-v2 {
		--yepx-page-gutter: 32px;
	}

	.yepx-home-v2 .yepx-showcase {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1.25rem;
	}

	.yepx-home-v2 .yepx-cards--process {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.yepx-home-v2 .yepx-cards--process::before {
		content: "";
		position: absolute;
		top: 24px;
		left: 12%;
		right: 12%;
		height: 2px;
		background: var(--yepx-color-border);
		z-index: 0;
	}

	.yepx-home-v2 .yepx-cards--process > li {
		position: relative;
		z-index: 1;
		text-align: center;
	}
}

@media (max-width: 1279px) {
	.yepx-home-v2 {
		--yepx-page-gutter: 24px;
	}

	.yepx-home-v2 .yepx-section {
		padding-block: clamp(3.5rem, 8vw, 4.5rem);
	}

	.yepx-home-v2 .yepx-showcase,
	.yepx-home-v2 .yepx-cards--spotlight,
	.yepx-home-v2 .yepx-cards--process,
	.yepx-home-v2 .yepx-guide-grid,
	.yepx-home-v2 .yepx-blog__list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.yepx-home-v2 {
		--yepx-page-gutter: 20px;
	}

	.yepx-home-v2 .yepx-section {
		padding-block: clamp(3.5rem, 8vw, 4.5rem);
	}

	.yepx-home-v2 .yepx-card--spotlight,
	.yepx-home-v2 .yepx-feature-group,
	.yepx-home-v2 .yepx-type-card {
		font-size: 1rem;
	}

	.yepx-home-v2 .yepx-btn,
	.yepx-home-v2 .yepx-slider__actions .yepx-btn,
	.yepx-home-v2 .yepx-section--cta .yepx-btn {
		min-height: 48px;
	}

	.yepx-home-v2 .yepx-section--cta,
	.yepx-home-v2 .yepx-section.yepx-section--cta {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.yepx-home-v2 .yepx-section--cta h2,
	.yepx-home-v2 .yepx-section--cta p,
	.yepx-home-v2 .yepx-cta__title,
	.yepx-home-v2 .yepx-cta__desc,
	.yepx-home-v2 .yepx-cta__desc p {
		text-align: center;
		margin-inline: auto;
	}

	.yepx-home-v2 .yepx-cta.yepx-cta--no-desc.yepx-section--cta,
	.yepx-home-v2 .yepx-cta.yepx-cta--no-desc {
		min-height: 0;
	}

	.yepx-home-v2 .yepx-section--cta > h2,
	.yepx-home-v2 .yepx-section--cta > p,
	.yepx-home-v2 .yepx-cta-actions {
		grid-column: 1;
		grid-row: auto;
		justify-content: center;
	}
}

@media (max-width: 430px) {
	.yepx-home-v2 {
		--yepx-page-gutter: 18px;
	}
}

body.home .yepx-footer {
	padding-block: 3.5rem 1.6rem;
}

body.home .yepx-footer__inner {
	row-gap: 1.5rem;
}
