.yepx-eyebrow {
	margin: 0 0 0.45rem;
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--yepx-color-hover);
}

.yepx-hero-stage {
	position: relative;
	padding-block: 0.5rem 1.5rem;
	overflow: visible;
	max-width: 100%;
}

.yepx-hero-floats {
	display: none;
}

.yepx-float-card {
	background: var(--yepx-color-surface);
	border-radius: 20px;
	box-shadow: var(--yepx-shadow-md);
	padding: 0.75rem 0.95rem;
	min-width: 9.5rem;
}

.yepx-float-card strong {
	display: block;
	font-size: 0.875rem;
}

.yepx-float-card span {
	display: block;
	font-size: 0.75rem;
	color: var(--yepx-color-muted);
}

.yepx-slider {
	border-radius: var(--yepx-radius-xl);
	overflow: hidden;
	box-shadow: var(--yepx-shadow-lg);
	background: var(--yepx-gradient-hero);
}

.yepx-preview,
.yepx-types,
.yepx-blog,
.yepx-px,
.yepx-integrations {
	min-width: 0;
	max-width: 100%;
	overflow-x: clip;
}

.yepx-types__list,
.yepx-blog__list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	min-width: 0;
	max-width: 100%;
}

.yepx-type-card a,
.yepx-blog-card a {
	display: block;
	background: var(--yepx-color-surface);
	border: 1px solid var(--yepx-color-border);
	border-radius: 22px;
	padding: 1.25rem;
	text-decoration: none;
	color: inherit;
	min-height: 44px;
	box-shadow: var(--yepx-shadow-xs);
}

.yepx-type-card__icon {
	display: inline-flex;
	width: 2.75rem;
	height: 2.75rem;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: var(--yepx-color-primary-soft);
	color: var(--yepx-color-hover);
	margin-bottom: 0.75rem;
}

.yepx-blog-card img,
.yepx-blog-card__fallback {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 16px;
	margin-bottom: 0.75rem;
	background: var(--yepx-color-surface-alt);
}

.yepx-blog-card__cat,
.yepx-blog-card time {
	display: inline-block;
	font-size: 0.8125rem;
	color: var(--yepx-color-muted);
	margin-inline-end: 0.5rem;
}

.yepx-blog-card strong {
	display: block;
	margin: 0.35rem 0;
}

.yepx-showcase {
	display: grid;
	gap: 1.5rem;
}

.yepx-showcase__panel {
	background: var(--yepx-color-surface);
	border-radius: 30px;
	box-shadow: var(--yepx-shadow-md);
	padding: clamp(1.25rem, 3vw, 2rem);
	display: grid;
	gap: 1.25rem;
}

.yepx-showcase__panel h3 {
	font-size: var(--yepx-h3-panel);
	margin: 0 0 0.5rem;
}

.yepx-refs {
	overflow: hidden;
}

.yepx-refs__track {
	display: flex;
	gap: 1.25rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	list-style: none;
	margin: 0;
	padding: 0.5rem 0;
}

.yepx-refs__track li {
	flex: 0 0 auto;
	scroll-snap-align: start;
	min-width: 7rem;
	min-height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--yepx-color-surface);
	border-radius: 16px;
	padding: 0.5rem 0.75rem;
}

.yepx-refs__track img {
	height: 36px;
	width: auto;
	max-width: 120px;
	filter: grayscale(1);
}

.yepx-refs__track img:hover,
.yepx-refs__track img:focus {
	filter: none;
}

.yepx-section--cta {
	background: var(--yepx-gradient-cta);
	box-shadow: var(--yepx-shadow-brand);
	border-radius: var(--yepx-radius-xl);
}

@media (max-width: 767px) {
	.yepx-types__list,
	.yepx-blog__list {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		grid-auto-flow: unset;
	}

	.yepx-types__list > li,
	.yepx-blog__list > li {
		flex: 0 0 86%;
		max-width: 86%;
	}

	.yepx-types__list li,
	.yepx-blog__list li {
		scroll-snap-align: start;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.yepx-types__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

@media (min-width: 1025px) {
	.yepx-hero-stage {
		min-height: 620px;
	}

	.yepx-hero-floats {
		display: block;
		position: absolute;
		inset: 18% 4% auto auto;
		width: min(16rem, 28%);
		pointer-events: none;
	}

	.yepx-float-card {
		position: absolute;
	}

	.yepx-float-card:nth-child(1) { top: 0; right: 0; }
	.yepx-float-card:nth-child(2) { top: 5.5rem; right: 7rem; }
	.yepx-float-card:nth-child(3) { top: 11rem; right: 0.5rem; }
	.yepx-float-card:nth-child(4) { top: 16.5rem; right: 6rem; }

	.yepx-types__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

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

	.yepx-showcase__panel {
		grid-template-columns: 1fr 1.1fr;
		align-items: center;
		min-height: 320px;
	}

	.yepx-showcase__panel:nth-child(even) {
		grid-template-columns: 1.1fr 1fr;
	}

	.yepx-refs__track {
		overflow: visible;
		flex-wrap: wrap;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.yepx-refs__track {
		animation: none;
	}
}
