.yps-wrap {
	width: min(var(--yps-max), calc(100% - 2.5rem));
	margin-inline: auto;
}

.yps-section {
	padding-block: var(--yps-section-pad);
	position: relative;
}

.yps-section--dark {
	background: var(--yps-primary);
	color: #cbd5e1;
}

.yps-section--dark h1,
.yps-section--dark h2,
.yps-section--dark h3 {
	color: #f8fafc;
}

.yps-section--surface {
	background: var(--yps-surface);
}

.yps-section--muted {
	background: var(--yps-background);
}

.yps-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--yps-accent);
	margin-bottom: 1rem;
}

.yps-section--dark .yps-eyebrow {
	color: #c4b5fd;
}

.yps-hero .yps-eyebrow {
	color: var(--yps-accent);
}

.yps-eyebrow__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 14px currentColor;
	animation: yps-pulse-glow 2s ease infinite;
}

.yps-badge-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
	margin-top: 1.75rem;
}

.yps-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.375rem 0.875rem;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 500;
	background: var(--yps-accent-soft);
	border: 1px solid rgba(124, 58, 237, 0.15);
	color: var(--yps-primary);
}

.yps-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

.yps-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.yps-grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

.yps-bento {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 1.25rem;
}

.yps-bento .yps-feature-card:nth-child(1) { grid-column: span 4; }
.yps-bento .yps-feature-card:nth-child(2) { grid-column: span 4; }
.yps-bento .yps-feature-card:nth-child(3) { grid-column: span 4; }
.yps-bento .yps-feature-card:nth-child(4) { grid-column: span 6; }
.yps-bento .yps-feature-card:nth-child(5) { grid-column: span 6; }
.yps-bento .yps-feature-card:nth-child(6) { grid-column: span 12; }

.yps-reveal {
	transform: translateY(32px);
	opacity: 1;
	transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.yps-reveal.is-visible {
	transform: none;
}

.yps-reveal-stagger > * {
	opacity: 1;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.yps-reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; transform: none; }
.yps-reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; transform: none; }
.yps-reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; transform: none; }
.yps-reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; transform: none; }
.yps-reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.33s; transform: none; }
.yps-reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.4s; transform: none; }
