/* 1B.3 visual polish. Tokens only. No GoPOS copy. */

.yepx-icon {
	display: block;
	flex: 0 0 24px;
}

.yepx-icon-well {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 16px;
	background: var(--yepx-color-primary-soft);
	color: var(--yepx-color-hover);
}

.yepx-icon-well--cyan { background: #e6f8fd; color: #0a7ca8; }
.yepx-icon-well--teal { background: #e6f7f2; color: #1b7f4e; }
.yepx-icon-well--purple { background: #eeeaf6; color: #5b4b8a; }
.yepx-icon-well--gold { background: #f8f1dc; color: #b7791f; }
.yepx-icon-well--coral { background: #fbeceb; color: #d4574e; }
.yepx-icon-well--blue { background: #e8eef8; color: #123d54; }

.yepx-nav--primary > ul > li > a {
	position: relative;
	font-weight: 650;
}

.yepx-nav--primary > ul > li > a::after {
	content: "";
	position: absolute;
	left: 0.75rem;
	right: 0.75rem;
	bottom: 0.62rem;
	height: 2px;
	background: var(--yepx-color-primary);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--yepx-duration) var(--yepx-ease);
}

.yepx-nav--primary > ul > li > a:hover::after,
.yepx-nav--primary > ul > li > a:focus-visible::after,
.yepx-nav--primary > ul > li.current-menu-item > a::after,
.yepx-nav--primary > ul > li.is-mega-open > a::after {
	transform: scaleX(1);
}

.yepx-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 36px;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	background: var(--yepx-color-primary-soft);
	color: var(--yepx-color-navy);
	font-weight: 700;
	font-size: 0.875rem;
	margin: 0 0 1rem;
}

.yepx-hero-benefits {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
}

.yepx-hero-benefits li {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 40px;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: var(--yepx-color-surface);
	border: 1px solid var(--yepx-color-border);
	font-weight: 600;
	font-size: 0.875rem;
}

.yepx-hero-stage .yepx-slider__title,
.yepx-hero-stage h1 {
	max-width: 38.75rem;
	text-wrap: balance;
	font-size: clamp(2rem, 3.2vw, 3.1rem);
	line-height: 1.18;
}

.yepx-hero-stage .yepx-slider__copy,
.yepx-hero-stage .yepx-slider__desc {
	max-width: 38.75rem;
}

.yepx-hero-stage .yepx-slider__actions .yepx-btn {
	min-height: 52px;
	padding-inline: 1.6rem;
}

.yepx-slider {
	background:
		radial-gradient(circle at 82% 18%, rgba(6, 186, 243, 0.16), transparent 28%),
		var(--yepx-gradient-hero);
	border: 1px solid rgba(11, 44, 61, 0.06);
	box-shadow: var(--yepx-shadow-lg), 0 0 0 1px rgba(6, 186, 243, 0.08);
}

.yepx-types { background: #eef7fb; }
.yepx-trust { background: #fff; }
.yepx-px { background: #fff; }
.yepx-showcase { background: linear-gradient(180deg, #f3f8fb, #eef4f8); }
.yepx-cards--spotlight,
.yepx-feature-groups { background: #fff; }
.yepx-intro-video { background: #eef6fa; }
.yepx-integrations { background: #fff; }
.yepx-process { background: #f3f8fb; }
.yepx-quotes { background: #fff; }
.yepx-seo { background: #e8f3f8; }
.yepx-faq { background: #fff; }
.yepx-blog { background: #f5f7f8; }

.yepx-section--cta {
	background: var(--yepx-gradient-cta);
	border-radius: 30px;
	padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3rem);
	box-shadow: var(--yepx-shadow-lg);
}

.yepx-section--cta h2:not(.has-text-color),
.yepx-section--cta .wp-block-heading:not(.has-text-color) {
	color: #fff;
}

.yepx-px__tabs [role="tab"] {
	min-height: 48px;
	padding: 0.6rem 1.15rem;
	gap: 0.4rem;
}

.yepx-px__panel {
	border-radius: 30px;
	box-shadow: var(--yepx-shadow-md);
	background: var(--yepx-color-surface);
	padding: 1.5rem;
}

.yepx-diagram {
	min-height: 0;
	border-radius: 22px;
	display: grid;
	place-items: stretch;
	background: transparent;
	color: #7fdcf5;
}

.yepx-diagram .yepx-icon {
	width: 64px;
	height: 64px;
}

.yepx-type-card a {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.85rem;
	min-height: 44px;
}

.yepx-type-card strong {
	grid-column: 2;
}

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

.yepx-showcase__panel {
	border-radius: 30px;
	box-shadow: var(--yepx-shadow-md);
}

.yepx-card--spotlight,
.yepx-cards--quotes li {
	border-radius: 22px;
	box-shadow: var(--yepx-shadow-sm);
	min-height: 0;
}

.yepx-faq details {
	background: #fff;
	border: 1px solid var(--yepx-color-border);
	border-radius: 18px;
	padding: 0.35rem 1rem;
}

.yepx-blog-card a {
	border-radius: 22px;
	overflow: hidden;
}

.yepx-blog-card img {
	aspect-ratio: 16 / 10;
	width: 100%;
	object-fit: cover;
}

@media (min-width: 768px) {
	.yepx-types__list {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1280px) {
	.yepx-hero-floats {
		display: flex;
		flex-direction: column;
		position: absolute;
		right: 3%;
		top: 18%;
		gap: 0.7rem;
		pointer-events: none;
		z-index: 3;
		width: min(13.5rem, 22%);
	}

	.yepx-float-card {
		min-width: 0;
		box-shadow: var(--yepx-shadow-float);
		animation: yepx-float 6.5s var(--yepx-ease) infinite;
	}

	.yepx-float-card:nth-child(2) {
		margin-inline-start: 1.25rem;
	}

	.yepx-float-card:nth-child(3) {
		margin-inline-start: 0.4rem;
	}

	.yepx-float-card:nth-child(4) {
		display: none;
	}
}

@media (min-width: 1280px) {
	.yepx-types__list {
		grid-template-columns: repeat(4, 1fr);
	}

	.yepx-nav--primary .yepx-mega {
		width: min(72.5rem, calc(100vw - 3rem));
		max-width: 72.5rem;
	}

	.yepx-nav--primary .yepx-mega .yepx-mega__group.is-cat-active > .yepx-mega__links {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.yepx-nav--primary > ul > li > a {
		font-size: 0.90625rem;
		min-height: 44px;
	}
}

.yepx-nav--primary .yepx-mega__links a {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.2rem 0.75rem;
	align-items: start;
	padding: 0.65rem 0.7rem;
	border-radius: 14px;
}

.yepx-nav--primary .yepx-mega__links .yepx-icon-well {
	width: 40px;
	height: 40px;
	border-radius: 14px;
}

.yepx-nav--primary .yepx-mega__links .yepx-nav__label {
	grid-column: 2;
	font-weight: 700;
	color: var(--yepx-color-navy);
}

.yepx-nav--primary .yepx-mega__links .yepx-nav__desc {
	grid-column: 2;
}

.yepx-nav--primary .yepx-mega__links a:hover {
	background: var(--yepx-color-primary-soft);
}

.yepx-card--spotlight {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	padding: 1.35rem;
	transition: transform var(--yepx-duration) var(--yepx-ease), box-shadow var(--yepx-duration) var(--yepx-ease);
}

.yepx-card--spotlight:hover,
.yepx-card--spotlight:focus-within {
	transform: translateY(-3px);
	box-shadow: var(--yepx-shadow-md);
}

.yepx-feature-group {
	background: var(--yepx-color-surface);
	border: 1px solid var(--yepx-color-border);
	border-radius: 22px;
	padding: 1.25rem;
	box-shadow: var(--yepx-shadow-sm);
}

.yepx-feature-group h3 {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.yepx-feature-group li {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	list-style: none;
}

.yepx-feature-group ul {
	padding-left: 0;
}

.yepx-cards--process {
	display: grid;
	gap: 1rem;
	list-style: none;
	padding: 0;
	margin: 0;
	counter-reset: yepx-step;
}

.yepx-cards--process > li {
	display: grid;
	grid-template-columns: auto auto 1fr;
	gap: 0.75rem 0.85rem;
	align-items: start;
	background: #fff;
	border-radius: 22px;
	padding: 1.15rem;
	box-shadow: var(--yepx-shadow-sm);
	position: relative;
}

.yepx-step-num {
	width: 36px;
	height: 36px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	background: var(--yepx-color-navy);
	color: #fff;
	font-weight: 800;
}

.yepx-cards--process > li strong {
	grid-column: 3;
}

.yepx-cards--process > li p {
	grid-column: 3;
	margin: 0;
}

.yepx-cards--quotes li {
	padding: 1.25rem;
	background: #fff;
}

.yepx-quote-icon {
	color: var(--yepx-color-primary);
	margin-bottom: 0.5rem;
}

.yepx-guide-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}

.yepx-guide-card {
	background: #fff;
	border-radius: 20px;
	padding: 1.15rem;
	box-shadow: var(--yepx-shadow-sm);
}

.yepx-faq__list {
	display: grid;
	gap: 0.75rem;
}

.yepx-faq details,
.yepx-faq summary,
[role="tab"] {
	scroll-margin-top: 5.5rem;
}

.yepx-faq summary {
	min-height: 52px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	cursor: pointer;
	font-weight: 700;
	font-size: 1.05rem;
}

.yepx-faq summary::after {
	content: "+";
	width: 28px;
	height: 28px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	background: var(--yepx-color-primary-soft);
	color: var(--yepx-color-navy);
	font-size: 1.25rem;
	line-height: 1;
	flex: 0 0 auto;
}

.yepx-faq details[open] summary::after {
	content: "–";
}

.yepx-faq details > *:not(summary) {
	padding: 0.35rem 0 1rem;
	line-height: 1.65;
}

.yepx-video__play {
	min-width: 60px;
	min-height: 60px;
	gap: 0.4rem;
}

.yepx-footer__contact a,
.yepx-footer__contact p,
.yepx-topbar__meta a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.yepx-section--cta p {
	color: #d7e8f1;
}

.yepx-section--cta .yepx-btn {
	min-height: 52px;
}

@media (min-width: 768px) {
	.yepx-guide-grid,
	.yepx-blog__list {
		grid-template-columns: 1fr 1fr;
	}

	.yepx-cards--process {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1280px) {
	.yepx-guide-grid {
		grid-template-columns: repeat(3, 1fr);
	}

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

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

	.yepx-cards--process > li::after {
		content: "";
		position: absolute;
		top: 2.1rem;
		left: calc(100% - 0.4rem);
		width: 1.2rem;
		height: 2px;
		background: #b7c9d4;
	}

	.yepx-cards--process > li:last-child::after {
		display: none;
	}
}

.yepx-faq__list {
	grid-template-columns: 1fr;
	max-width: 56rem;
	margin-inline: auto;
}

.yepx-diagram {
	min-height: 0;
	padding: 0.75rem;
	place-items: stretch;
}

.yepx-diagram__svg {
	width: 100%;
	height: auto;
	display: block;
}

.yepx-integrations {
	padding-block: 1.25rem;
}

.yepx-integrations__groups {
	gap: 0.85rem;
}

.yepx-integrations__badges {
	flex-wrap: wrap;
	overflow: visible;
}

.yepx-cards--process > li:has(.yepx-step-num)::before {
	display: none;
}

.yepx-cards--quotes li {
	padding: 1.5rem 1.4rem;
}

.yepx-quote-icon {
	width: 32px;
	height: 32px;
}

.yepx-footer {
	padding-block: 3.25rem 2.25rem;
}

.yepx-footer__name {
	font-size: 1.45rem;
}

.yepx-footer__heading,
.yepx-footer__acc summary {
	font-size: 1.05rem;
	line-height: 1.45;
}

.yepx-blog__more,
.yepx-blog .yepx-btn--secondary {
	min-height: 44px;
}

@media (min-width: 1280px) {
	.yepx-footer {
		padding-block: 4rem 2.75rem;
	}
}

.yepx-type-card a {
	padding: 1.15rem 1.1rem;
}

.yepx-icon-well {
	width: 52px;
	height: 52px;
}

.yepx-card--spotlight {
	padding: 1.55rem;
}

.yepx-card--spotlight strong {
	font-size: 1.2rem;
}

.yepx-step-num {
	width: 44px;
	height: 44px;
}

.yepx-cards--quotes blockquote {
	line-height: 1.65;
}

.yepx-guide-card h3 {
	font-size: 1.15rem;
}

.yepx-section--cta .yepx-btn {
	min-height: 52px;
}

@media (min-width: 768px) and (max-width: 1279px) {
	.yepx-types__list {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1280px) {
	.yepx-types__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 240px) {
	.yepx-btn {
		max-width: 100%;
	}

	.yepx-blog-card img,
	.yepx-card img {
		max-width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.yepx-float-card,
	.yepx-diagram__svg {
		animation: none !important;
	}
}

.no-js .yepx-mega-parent:hover > .yepx-mega[hidden],
.no-js .yepx-mega-parent:focus-within > .yepx-mega[hidden] {
	display: grid !important;
}

.no-js .yepx-mega__group {
	display: block !important;
}

.no-js .yepx-mega__links,
.no-js .yepx-mega__links[hidden] {
	display: grid !important;
	position: static;
}
