/**
 * Lumo — Theme intro page (page-templates/page-lumo-theme.php)
 * Layout inspired by product doc pages (hero + spec rail + section nav).
 */

.leafs-lumo-theme-page {
	position: relative;
	min-height: min(70vh, 880px);
	padding: clamp(1.5rem, 4vw, 2.75rem) 0 clamp(2.5rem, 6vw, 4rem);
	overflow: hidden;
}

.leafs-lumo-theme-page__backdrop {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 85% 50% at 15% -10%, color-mix(in srgb, var(--leafs-brand, #2563eb) 12%, transparent), transparent 50%),
		radial-gradient(ellipse 70% 45% at 100% 20%, color-mix(in srgb, var(--leafs-mint, #7c3aed) 10%, transparent), transparent 52%),
		var(--leafs-bg, #f8fafc);
	pointer-events: none;
	z-index: 0;
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__backdrop {
	background:
		radial-gradient(ellipse 80% 48% at 10% -5%, rgba(45, 120, 140, 0.18), transparent 48%),
		radial-gradient(ellipse 60% 40% at 100% 15%, rgba(80, 140, 200, 0.1), transparent 50%),
		linear-gradient(180deg, #0b0f14 0%, #070a0e 100%);
}

.leafs-lumo-theme-page__inner {
	position: relative;
	z-index: 1;
	max-width: 1120px;
}

.leafs-lumo-theme-page__crumb {
	margin-bottom: 0.75rem;
	font-size: 0.875rem;
	opacity: 0.88;
}

.leafs-lumo-theme-page__hero {
	margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.leafs-lumo-theme-page__hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, min(36vw, 380px));
	gap: clamp(1.25rem, 3vw, 2.25rem);
	align-items: start;
}

@media (max-width: 820px) {
	.leafs-lumo-theme-page__hero-grid {
		grid-template-columns: 1fr;
	}
}

/* Right rail: homepage screenshot + spec card (top-aligned with hero copy) */
.leafs-lumo-theme-page__hero-rail {
	display: flex;
	flex-direction: column;
	gap: clamp(1rem, 2.5vw, 1.35rem);
	align-items: stretch;
	min-width: 0;
}

.leafs-lumo-theme-page__hero-shot {
	margin: 0;
	padding: 0;
	position: relative;
	border-radius: 14px;
	background: color-mix(in srgb, var(--leafs-bg-elevated, #fff) 92%, transparent);
	border: 1px solid color-mix(in srgb, var(--leafs-text, #0f172a) 10%, transparent);
	box-shadow:
		0 12px 40px color-mix(in srgb, var(--leafs-text, #0f172a) 8%, transparent),
		0 0 0 1px color-mix(in srgb, var(--leafs-brand, #2563eb) 6%, transparent);
	overflow: hidden;
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__hero-shot {
	background: rgba(14, 18, 24, 0.92);
	border-color: rgba(120, 150, 180, 0.22);
	box-shadow:
		0 16px 48px rgba(0, 0, 0, 0.45),
		0 0 0 1px rgba(80, 140, 200, 0.12);
}

.leafs-lumo-theme-page__hero-shot-link {
	display: block;
	position: relative;
	line-height: 0;
	color: inherit;
	text-decoration: none;
	outline-offset: 3px;
	border-radius: inherit;
}

.leafs-lumo-theme-page__hero-shot-link:focus-visible {
	outline: 2px solid var(--leafs-mint, #7c3aed);
}

.leafs-lumo-theme-page__hero-shot-frame {
	position: absolute;
	inset: 0;
	pointer-events: none;
	border-radius: inherit;
	box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 55%, transparent);
	opacity: 0.35;
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__hero-shot-frame {
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	opacity: 0.5;
}

.leafs-lumo-theme-page__hero-shot-img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: middle;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	object-position: top center;
}

.leafs-lumo-theme-page__hero-shot-link:hover .leafs-lumo-theme-page__hero-shot-img {
	filter: brightness(1.02);
}

@media (max-width: 820px) {
	.leafs-lumo-theme-page__hero-rail {
		max-width: 420px;
		margin-left: auto;
		margin-right: auto;
	}

	.leafs-lumo-theme-page__hero-shot-img {
		aspect-ratio: 16 / 10;
	}
}

.leafs-lumo-theme-page__hero-main {
	position: relative;
	z-index: 0;
	min-width: 0;
}

.leafs-lumo-theme-page__hero-top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(72px, 120px);
	gap: clamp(1rem, 2.5vw, 1.75rem);
	align-items: start;
}

.leafs-lumo-theme-page__hero-top--single {
	grid-template-columns: 1fr;
}

@media (max-width: 520px) {
	.leafs-lumo-theme-page__hero-top {
		grid-template-columns: 1fr;
	}
}

.leafs-lumo-theme-page__hero-top-main {
	min-width: 0;
}

.leafs-lumo-theme-page__hero-mark {
	margin: 0;
	padding: 0.5rem 0 0;
	justify-self: end;
}

@media (max-width: 520px) {
	.leafs-lumo-theme-page__hero-mark {
		justify-self: end;
		padding: 0 0 0.5rem;
	}
}

.leafs-lumo-theme-page__hero-svg {
	display: block;
	width: 100%;
	max-width: 108px;
	height: auto;
	filter: drop-shadow(0 10px 28px color-mix(in srgb, var(--leafs-brand, #2563eb) 18%, transparent));
}

.leafs-lumo-theme-page__hero-row {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 0.85rem;
}

.leafs-lumo-theme-page__accent {
	display: block;
	width: 4px;
	min-height: 3.5rem;
	margin-top: 0.35rem;
	border-radius: 3px;
	background: linear-gradient(180deg, var(--leafs-brand, #2563eb), var(--leafs-mint, #7c3aed));
	flex-shrink: 0;
}

.leafs-lumo-theme-page__kicker {
	margin: 0 0 0.35rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--leafs-text, #0f172a) 55%, var(--leafs-brand, #2563eb));
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__kicker {
	color: color-mix(in srgb, #e8eef5 70%, var(--leafs-mint, #7c3aed));
}

.leafs-lumo-theme-page__title {
	margin: 0;
	font-size: clamp(1.75rem, 4.2vw, 2.45rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.12;
	color: var(--leafs-text, #0f172a);
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__title {
	color: #e8eef5;
}

.leafs-lumo-theme-page__version {
	margin: 0.65rem 0 0;
}

.leafs-lumo-theme-page__version-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.2rem 0.65rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	border-radius: 999px;
	background: color-mix(in srgb, var(--leafs-brand, #2563eb) 12%, transparent);
	color: var(--leafs-text, #0f172a);
	border: 1px solid color-mix(in srgb, var(--leafs-brand, #2563eb) 22%, transparent);
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__version-pill {
	background: rgba(80, 140, 180, 0.15);
	border-color: rgba(120, 170, 210, 0.28);
	color: #dbe7f2;
}

.leafs-lumo-theme-page__tagline {
	margin: 0;
	max-width: 40rem;
	font-size: 1rem;
	line-height: 1.65;
	color: color-mix(in srgb, var(--leafs-text, #0f172a) 86%, transparent);
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__tagline {
	color: color-mix(in srgb, #e8eef5 86%, transparent);
}

/* Hero chips + CTAs */
.leafs-lumo-theme-page__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.55rem;
	margin: 0.9rem 0 1rem;
	padding: 0;
	list-style: none;
}

.leafs-lumo-theme-page__chip {
	display: inline-flex;
	align-items: center;
	padding: 0.2rem 0.55rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--leafs-text, #0f172a) 80%, var(--leafs-brand, #2563eb));
	background: color-mix(in srgb, var(--leafs-brand, #2563eb) 7%, var(--leafs-bg-elevated, #fff));
	border: 1px solid color-mix(in srgb, var(--leafs-brand, #2563eb) 20%, transparent);
	border-radius: 999px;
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__chip {
	color: color-mix(in srgb, #e8eef5 85%, var(--leafs-mint, #7c3aed));
	background: rgba(30, 55, 72, 0.4);
	border-color: rgba(100, 160, 200, 0.22);
}

.leafs-lumo-theme-page__hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.65rem;
}

.leafs-lumo-theme-page__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 1.05rem;
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 10px;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.leafs-lumo-theme-page__cta--primary {
	color: #fff;
	background: linear-gradient(135deg, var(--leafs-brand, #2563eb), var(--leafs-mint, #7c3aed));
	border: 1px solid color-mix(in srgb, var(--leafs-brand, #2563eb) 30%, transparent);
	box-shadow: 0 4px 18px color-mix(in srgb, var(--leafs-brand, #2563eb) 22%, transparent);
}

.leafs-lumo-theme-page__cta--primary:hover {
	filter: brightness(1.04);
	box-shadow: 0 6px 22px color-mix(in srgb, var(--leafs-brand, #2563eb) 32%, transparent);
}

.leafs-lumo-theme-page__cta--primary:focus-visible {
	outline: 2px solid var(--leafs-mint, #7c3aed);
	outline-offset: 2px;
}

.leafs-lumo-theme-page__cta--purchase {
	color: #fff;
	background: linear-gradient(135deg, var(--leafs-success, #16a34a), color-mix(in srgb, var(--leafs-brand, #2563eb) 55%, var(--leafs-success, #16a34a)));
	border: 1px solid color-mix(in srgb, var(--leafs-success, #16a34a) 35%, transparent);
	box-shadow: 0 4px 18px color-mix(in srgb, var(--leafs-success, #16a34a) 28%, transparent);
}

.leafs-lumo-theme-page__cta--purchase:hover {
	filter: brightness(1.05);
	box-shadow: 0 6px 22px color-mix(in srgb, var(--leafs-success, #16a34a) 38%, transparent);
	transform: translateY(-1px);
}

.leafs-lumo-theme-page__cta--purchase:focus-visible {
	outline: 2px solid var(--leafs-success, #16a34a);
	outline-offset: 2px;
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__cta--purchase {
	box-shadow: 0 4px 20px color-mix(in srgb, var(--leafs-success, #3ddc66) 22%, transparent);
}

.leafs-lumo-theme-page__cta--ghost {
	color: color-mix(in srgb, var(--leafs-text, #0f172a) 92%, var(--leafs-brand, #2563eb));
	background: color-mix(in srgb, var(--leafs-bg-elevated, #fff) 80%, transparent);
	border: 1px solid color-mix(in srgb, var(--leafs-text, #0f172a) 10%, transparent);
}

.leafs-lumo-theme-page__cta--ghost:hover {
	background: color-mix(in srgb, var(--leafs-brand, #2563eb) 8%, var(--leafs-bg-elevated, #fff));
	border-color: color-mix(in srgb, var(--leafs-brand, #2563eb) 28%, transparent);
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__cta--ghost {
	color: #e0e9f1;
	background: rgba(20, 28, 36, 0.6);
	border-color: rgba(120, 150, 180, 0.2);
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__cta--ghost:hover {
	background: rgba(50, 90, 120, 0.25);
	border-color: rgba(120, 170, 210, 0.35);
}

/* Spec sidebar (CeoDocs-style meta card) */
.leafs-lumo-theme-page__specs {
	margin: 0;
	padding: 1rem 1.15rem;
	border-radius: 14px;
	background: color-mix(in srgb, var(--leafs-bg-elevated, #fff) 94%, transparent);
	border: 1px solid color-mix(in srgb, var(--leafs-text, #0f172a) 8%, transparent);
	box-shadow: 0 10px 36px color-mix(in srgb, var(--leafs-text, #0f172a) 6%, transparent);
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__specs {
	background: rgba(18, 24, 32, 0.88);
	border-color: rgba(120, 150, 180, 0.18);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.leafs-lumo-theme-page__specs-dl {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.leafs-lumo-theme-page__specs-row {
	display: grid;
	grid-template-columns: 5.5rem 1fr;
	gap: 0.5rem 0.75rem;
	align-items: baseline;
	font-size: 0.875rem;
	line-height: 1.45;
}

.leafs-lumo-theme-page__specs-row dt {
	margin: 0;
	font-weight: 600;
	color: color-mix(in srgb, var(--leafs-text, #0f172a) 72%, transparent);
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__specs-row dt {
	color: color-mix(in srgb, #e8eef5 72%, transparent);
}

.leafs-lumo-theme-page__specs-row dd {
	margin: 0;
	font-weight: 500;
	color: var(--leafs-text, #0f172a);
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__specs-row dd {
	color: #e8eef5;
}

@media (max-width: 400px) {
	.leafs-lumo-theme-page__specs-row {
		grid-template-columns: 1fr;
	}
}

/* Sticky section nav */
.leafs-lumo-theme-page__toc {
	position: sticky;
	top: calc(var(--leafs-header-h, 60px) + 6px);
	z-index: 3;
	margin: 0 0 clamp(1.5rem, 4vw, 2.25rem);
	padding: 0.5rem 0;
	background: color-mix(in srgb, var(--leafs-bg, #f8fafc) 88%, transparent);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid color-mix(in srgb, var(--leafs-text, #0f172a) 8%, transparent);
	border-radius: 0;
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__toc {
	background: color-mix(in srgb, #070a0e 92%, transparent);
	border-bottom-color: rgba(120, 150, 180, 0.14);
}

.leafs-lumo-theme-page__toc-list {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
	margin: 0;
	padding: 0.15rem 0 0.25rem;
	list-style: none;
	-webkit-overflow-scrolling: touch;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
	scrollbar-color: color-mix(in srgb, var(--leafs-brand, #2563eb) 30%, transparent) transparent;
}

@media (min-width: 900px) {
	.leafs-lumo-theme-page__toc-list {
		flex-wrap: wrap;
		overflow: visible;
		scroll-snap-type: none;
		padding: 0;
	}
}

.leafs-lumo-theme-page__toc-list > li {
	flex: 0 0 auto;
	scroll-snap-align: start;
}

.leafs-lumo-theme-page__toc-link {
	display: inline-flex;
	align-items: center;
	padding: 0.4rem 0.75rem;
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	color: color-mix(in srgb, var(--leafs-text, #0f172a) 88%, var(--leafs-brand, #2563eb));
	border-radius: 999px;
	border: 1px solid transparent;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.leafs-lumo-theme-page__toc-link.is-active {
	background: color-mix(in srgb, var(--leafs-brand, #2563eb) 16%, var(--leafs-bg-elevated, #fff));
	border-color: color-mix(in srgb, var(--leafs-brand, #2563eb) 30%, transparent);
	color: var(--leafs-text, #0f172a);
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__toc-link.is-active {
	background: rgba(60, 100, 130, 0.3);
	border-color: rgba(120, 180, 220, 0.4);
	color: #f0f5fa;
}

.leafs-lumo-theme-page__toc-link:hover {
	background: color-mix(in srgb, var(--leafs-brand, #2563eb) 10%, transparent);
	border-color: color-mix(in srgb, var(--leafs-brand, #2563eb) 22%, transparent);
	color: var(--leafs-text, #0f172a);
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__toc-link {
	color: color-mix(in srgb, #e8eef5 88%, var(--leafs-mint, #7c3aed));
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__toc-link:hover {
	background: rgba(80, 140, 180, 0.15);
	border-color: rgba(120, 170, 210, 0.28);
	color: #e8eef5;
}

.leafs-lumo-theme-page__toc-link:focus-visible {
	outline: 2px solid var(--leafs-mint, #7c3aed);
	outline-offset: 2px;
}

.leafs-lumo-theme-page__body {
	display: flex;
	flex-direction: column;
	gap: clamp(2rem, 5vw, 3rem);
}

.leafs-lumo-theme-page__block {
	scroll-margin-top: calc(var(--leafs-header-h, 60px) + 72px);
}

.leafs-lumo-theme-page__block-head {
	position: relative;
	margin-bottom: 1.1rem;
	padding-bottom: 0.65rem;
}

.leafs-lumo-theme-page__block-head::after {
	content: "";
	display: block;
	margin-top: 0.5rem;
	max-width: 8rem;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--leafs-brand, #2563eb), var(--leafs-mint, #7c3aed));
	opacity: 0.5;
}

.leafs-lumo-theme-page__block-title {
	margin: 0 0 0.35rem;
	font-size: clamp(1.28rem, 2.6vw, 1.55rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--leafs-text, #0f172a);
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__block-title {
	color: #e8eef5;
}

.leafs-lumo-theme-page__block-lead {
	margin: 0;
	max-width: 44rem;
	font-size: 0.94rem;
	line-height: 1.6;
	opacity: 0.88;
}

.leafs-lumo-theme-page__pullquote {
	position: relative;
	margin: 0 0 1.25rem;
	padding: 1.1rem 1.15rem 1.1rem 1.35rem;
	border-left: 4px solid var(--leafs-brand, #2563eb);
	border-radius: 0 12px 12px 0;
	background: color-mix(in srgb, var(--leafs-brand, #2563eb) 6%, var(--leafs-bg-elevated, #fff));
	font-size: 1.02rem;
	font-weight: 500;
	line-height: 1.65;
	color: var(--leafs-text, #0f172a);
}

.leafs-lumo-theme-page__pullquote::before {
	content: "\201C";
	display: block;
	margin-bottom: 0.2rem;
	font-size: 1.65rem;
	line-height: 1;
	font-weight: 700;
	color: color-mix(in srgb, var(--leafs-brand, #2563eb) 55%, transparent);
	opacity: 0.5;
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__pullquote {
	background: rgba(40, 90, 110, 0.2);
	color: #e8eef5;
}

.leafs-lumo-theme-page__editor-intro {
	margin-top: 0.25rem;
	max-width: 48rem;
	font-size: 1rem;
	line-height: 1.7;
}

.leafs-lumo-theme-page__intro-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 1.5rem;
	max-width: 52rem;
}

@media (max-width: 640px) {
	.leafs-lumo-theme-page__intro-columns {
		grid-template-columns: 1fr;
	}
}

.leafs-lumo-theme-page__intro-p {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.7;
	color: color-mix(in srgb, var(--leafs-text, #0f172a) 88%, transparent);
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__intro-p {
	color: color-mix(in srgb, #e8eef5 88%, transparent);
}

/* Feature grid + wide highlight rows */
.leafs-lumo-theme-page__features {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.15rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
	align-items: stretch;
}

@media (max-width: 960px) {
	.leafs-lumo-theme-page__features {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 540px) {
	.leafs-lumo-theme-page__features {
		grid-template-columns: 1fr;
	}
}

.leafs-lumo-theme-page__feature {
	margin: 0;
	padding: 1.15rem 1.2rem 1.2rem;
	border-radius: 14px;
	background: color-mix(in srgb, var(--leafs-bg-elevated, #fff) 92%, transparent);
	border: 1px solid color-mix(in srgb, var(--leafs-text, #0f172a) 8%, transparent);
	box-shadow: 0 1px 0 color-mix(in srgb, var(--leafs-text, #0f172a) 4%, transparent);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
	box-sizing: border-box;
	min-width: 0;
}

.leafs-lumo-theme-page__feature:not(.leafs-lumo-theme-page__feature--highlight) {
	display: flex;
	flex-direction: column;
	height: 100%;
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__feature {
	background: rgba(18, 24, 32, 0.72);
	border-color: rgba(120, 150, 180, 0.14);
	box-shadow: none;
}

.leafs-lumo-theme-page__feature:hover {
	border-color: color-mix(in srgb, var(--leafs-brand, #2563eb) 35%, transparent);
	box-shadow: 0 8px 28px color-mix(in srgb, var(--leafs-brand, #2563eb) 8%, transparent);
	transform: translateY(-2px);
}

.leafs-lumo-theme-page__feature--highlight {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 1rem 1.35rem;
	padding: 1.25rem 1.35rem 1.35rem;
	min-height: 0;
}

@media (max-width: 720px) {
	.leafs-lumo-theme-page__feature--highlight {
		grid-column: 1 / -1;
	}
}

.leafs-lumo-theme-page__feature--highlight .leafs-lumo-theme-page__feature-top {
	margin-bottom: 0;
	flex-direction: row;
	align-items: center;
}

.leafs-lumo-theme-page__feature--highlight .leafs-lumo-theme-page__feature-icon {
	width: 3rem;
	height: 3rem;
	font-size: 0.85rem;
	border-radius: 12px;
}

.leafs-lumo-theme-page__feature--highlight .leafs-lumo-theme-page__feature-desc {
	flex: 1;
	min-width: min(100%, 280px);
	margin: 0;
	padding-top: 0.15rem;
}

.leafs-lumo-theme-page__feature-top {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 0.55rem;
}

.leafs-lumo-theme-page__feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 10px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #fff;
	background: linear-gradient(145deg, var(--leafs-brand, #2563eb), var(--leafs-mint, #7c3aed));
	flex-shrink: 0;
	line-height: 1;
}

.leafs-lumo-theme-page__feature-title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--leafs-text, #0f172a);
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__feature-title {
	color: #e8eef5;
}

.leafs-lumo-theme-page__feature-desc {
	flex: 1 1 auto;
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.62;
	opacity: 0.92;
}

.leafs-lumo-theme-page__feature--highlight .leafs-lumo-theme-page__feature-desc {
	flex: 1 1 320px;
}

/* Example site screenshots */
.leafs-lumo-theme-page__block--showcase {
	margin-top: 0.25rem;
}

.leafs-lumo-theme-page__showcase-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: 1.15rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
	align-items: stretch;
}

@media (min-width: 901px) {
	.leafs-lumo-theme-page__showcase-grid {
		grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
	}
}

@media (max-width: 640px) {
	.leafs-lumo-theme-page__showcase-grid {
		grid-template-columns: 1fr;
	}
}

.leafs-lumo-theme-page__showcase-item {
	margin: 0;
	min-width: 0;
}

@media (min-width: 901px) {
	.leafs-lumo-theme-page__showcase-item--portrait {
		justify-self: center;
		max-width: min(100%, 300px);
	}
}

.leafs-lumo-theme-page__showcase-card {
	appearance: none;
	-webkit-appearance: none;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	min-height: 100%;
	margin: 0;
	padding: 0;
	font: inherit;
	color: inherit;
	text-align: left;
	cursor: zoom-in;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--leafs-text, #0f172a) 10%, transparent);
	background: color-mix(in srgb, var(--leafs-bg-elevated, #fff) 94%, transparent);
	box-shadow: 0 10px 36px color-mix(in srgb, var(--leafs-text, #0f172a) 6%, transparent);
	transition:
		transform 0.22s ease,
		box-shadow 0.22s ease,
		border-color 0.2s ease;
}

.leafs-lumo-theme-page__showcase-card:hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--leafs-brand, #2563eb) 38%, transparent);
	box-shadow: 0 16px 44px color-mix(in srgb, var(--leafs-brand, #2563eb) 14%, transparent);
}

.leafs-lumo-theme-page__showcase-card:focus-visible {
	outline: 2px solid var(--leafs-brand, #2563eb);
	outline-offset: 3px;
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__showcase-card {
	border-color: rgba(120, 150, 180, 0.18);
	background: rgba(16, 22, 30, 0.85);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__showcase-card:hover {
	border-color: rgba(130, 190, 240, 0.35);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
}

.leafs-lumo-theme-page__showcase-figure {
	margin: 0;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.leafs-lumo-theme-page__showcase-img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: middle;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: top center;
	background: color-mix(in srgb, var(--leafs-text, #0f172a) 5%, var(--leafs-bg-elevated, #fff));
}

.leafs-lumo-theme-page__showcase-item--portrait .leafs-lumo-theme-page__showcase-img {
	aspect-ratio: 10 / 16;
	object-position: center top;
}

@media (max-width: 900px) {
	.leafs-lumo-theme-page__showcase-item--portrait .leafs-lumo-theme-page__showcase-img {
		aspect-ratio: 9 / 16;
		max-height: min(70vh, 640px);
		margin-left: auto;
		margin-right: auto;
	}
}

.leafs-lumo-theme-page__showcase-cap {
	margin: 0;
	padding: 0.75rem 1rem 0.85rem;
	font-size: 0.88rem;
	font-weight: 650;
	line-height: 1.45;
	color: color-mix(in srgb, var(--leafs-text, #0f172a) 92%, transparent);
	border-top: 1px solid color-mix(in srgb, var(--leafs-text, #0f172a) 8%, transparent);
	background: color-mix(in srgb, var(--leafs-bg-elevated, #fff) 96%, transparent);
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__showcase-cap {
	color: #dce6ef;
	border-top-color: rgba(120, 150, 180, 0.16);
	background: rgba(12, 16, 22, 0.92);
}

.leafs-lumo-theme-page__showcase-note {
	margin: 1rem 0 0;
	font-size: 0.82rem;
	line-height: 1.65;
	color: color-mix(in srgb, var(--leafs-text, #0f172a) 72%, transparent);
	max-width: 52rem;
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__showcase-note {
	color: color-mix(in srgb, #e8eef5 72%, transparent);
}

.leafs-lumo-theme-page__features-empty {
	margin: 0;
	padding: 1.25rem 1.1rem;
	font-size: 0.95rem;
	line-height: 1.65;
	color: color-mix(in srgb, var(--leafs-text, #0f172a) 80%, transparent);
	background: color-mix(in srgb, var(--leafs-text, #0f172a) 3%, var(--leafs-bg-elevated, #fff));
	border: 1px dashed color-mix(in srgb, var(--leafs-text, #0f172a) 14%, transparent);
	border-radius: 12px;
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__features-empty {
	color: color-mix(in srgb, #e8eef5 78%, transparent);
	background: rgba(20, 28, 40, 0.45);
	border-color: rgba(100, 140, 180, 0.22);
}

/* More features list */
.leafs-lumo-theme-page__more-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0;
	border-radius: 14px;
	border: 1px solid color-mix(in srgb, var(--leafs-text, #0f172a) 8%, transparent);
	overflow: hidden;
	background: color-mix(in srgb, var(--leafs-bg-elevated, #fff) 94%, transparent);
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__more-list {
	border-color: rgba(120, 150, 180, 0.14);
	background: rgba(14, 18, 24, 0.55);
}

.leafs-lumo-theme-page__more-item {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	padding: 0.75rem 1rem;
	font-size: 0.9rem;
	line-height: 1.55;
	border-bottom: 1px solid color-mix(in srgb, var(--leafs-text, #0f172a) 6%, transparent);
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__more-item {
	border-bottom-color: rgba(120, 150, 180, 0.1);
}

.leafs-lumo-theme-page__more-item:last-child {
	border-bottom: 0;
}

.leafs-lumo-theme-page__more-badge {
	flex-shrink: 0;
	margin-top: 0.12rem;
	padding: 0.12rem 0.45rem;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border-radius: 4px;
	background: linear-gradient(135deg, var(--leafs-brand, #2563eb), var(--leafs-mint, #7c3aed));
	color: #fff;
}

.leafs-lumo-theme-page__more-text {
	min-width: 0;
	color: color-mix(in srgb, var(--leafs-text, #0f172a) 92%, transparent);
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__more-text {
	color: color-mix(in srgb, #e8eef5 92%, transparent);
}

/* Env / tips cards */
.leafs-lumo-theme-page__env-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 900px) {
	.leafs-lumo-theme-page__env-grid {
		grid-template-columns: 1fr;
	}
}

.leafs-lumo-theme-page__env-card {
	margin: 0;
	padding: 1.1rem 1.15rem;
	border-radius: 14px;
	border: 1px solid color-mix(in srgb, var(--leafs-text, #0f172a) 8%, transparent);
	background: color-mix(in srgb, var(--leafs-bg-elevated, #fff) 92%, transparent);
	transition: border-color 0.2s ease, transform 0.2s ease;
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__env-card {
	border-color: rgba(120, 150, 180, 0.14);
	background: rgba(18, 24, 32, 0.65);
}

.leafs-lumo-theme-page__env-card:hover {
	border-color: color-mix(in srgb, var(--leafs-brand, #2563eb) 30%, transparent);
	transform: translateY(-2px);
}

.leafs-lumo-theme-page__env-title {
	margin: 0 0 0.45rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--leafs-text, #0f172a);
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__env-title {
	color: #e8eef5;
}

.leafs-lumo-theme-page__env-desc {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.6;
	opacity: 0.9;
}

/* Changelog */
.leafs-lumo-theme-page__block--changelog {
	padding-top: 0.35rem;
	border-top: 1px solid color-mix(in srgb, var(--leafs-text, #0f172a) 10%, transparent);
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__block--changelog {
	border-top-color: rgba(120, 150, 180, 0.16);
}

.leafs-lumo-theme-page__changelog-head {
	position: relative;
	margin-bottom: 1.1rem;
	padding-bottom: 0.5rem;
}

.leafs-lumo-theme-page__changelog-head::after {
	content: "";
	display: block;
	margin-top: 0.45rem;
	max-width: 8rem;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--leafs-brand, #2563eb), var(--leafs-mint, #7c3aed));
	opacity: 0.5;
}

.leafs-lumo-theme-page__changelog-tagline {
	margin: 0 0 0.35rem;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
	color: var(--leafs-text, #0f172a);
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__changelog-tagline {
	color: #e8eef5;
}

.leafs-lumo-theme-page__changelog-sub {
	margin: 0;
	font-size: 0.88rem;
	opacity: 0.85;
}

.leafs-lumo-theme-page__changelog-empty {
	margin: 0;
	font-size: 0.95rem;
	opacity: 0.85;
}

.leafs-lumo-theme-page__changelog-list {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.leafs-lumo-theme-page__log {
	margin: 0;
	border-radius: 12px;
	border: 1px solid color-mix(in srgb, var(--leafs-text, #0f172a) 10%, transparent);
	background: color-mix(in srgb, var(--leafs-bg-elevated, #fff) 88%, transparent);
	overflow: hidden;
	transition: border-color 0.2s ease;
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__log {
	border-color: rgba(120, 150, 180, 0.16);
	background: rgba(16, 22, 30, 0.65);
}

.leafs-lumo-theme-page__log[open] {
	border-color: color-mix(in srgb, var(--leafs-brand, #2563eb) 28%, transparent);
}

.leafs-lumo-theme-page__log-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem 0.65rem;
	padding: 0.85rem 1rem;
	cursor: pointer;
	list-style: none;
	font-weight: 600;
	color: var(--leafs-text, #0f172a);
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__log-summary {
	color: #e8eef5;
}

.leafs-lumo-theme-page__log-summary::-webkit-details-marker {
	display: none;
}

.leafs-lumo-theme-page__log-summary::marker {
	content: "";
}

.leafs-lumo-theme-page__log-date {
	font-variant-numeric: tabular-nums;
	color: color-mix(in srgb, var(--leafs-text, #0f172a) 75%, var(--leafs-brand, #2563eb));
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__log-date {
	color: color-mix(in srgb, #e8eef5 78%, var(--leafs-mint, #7c3aed));
}

.leafs-lumo-theme-page__log-ver {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	padding: 0.15rem 0.45rem;
	border-radius: 6px;
	background: color-mix(in srgb, var(--leafs-mint, #7c3aed) 14%, transparent);
	color: color-mix(in srgb, var(--leafs-text, #0f172a) 85%, transparent);
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__log-ver {
	background: rgba(80, 140, 180, 0.2);
	color: #dbe7f2;
}

.leafs-lumo-theme-page__log-label {
	font-weight: 600;
}

.leafs-lumo-theme-page__log-chevron {
	margin-left: auto;
	width: 0.55rem;
	height: 0.55rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	opacity: 0.55;
	transition: transform 0.2s ease, opacity 0.2s ease;
	flex-shrink: 0;
}

.leafs-lumo-theme-page__log[open] .leafs-lumo-theme-page__log-chevron {
	transform: rotate(225deg);
	margin-top: 0.2rem;
	opacity: 0.85;
}

.leafs-lumo-theme-page__log-items {
	margin: 0;
	padding: 0 1rem 1rem 2.35rem;
	font-size: 0.9rem;
	line-height: 1.65;
	opacity: 0.92;
}

.leafs-lumo-theme-page__log-items li {
	margin-bottom: 0.35rem;
}

.leafs-lumo-theme-page__log-items li:last-child {
	margin-bottom: 0;
}

/* FAQ */
.leafs-lumo-theme-page__faq-list {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.leafs-lumo-theme-page__faq {
	margin: 0;
	border-radius: 12px;
	border: 1px solid color-mix(in srgb, var(--leafs-text, #0f172a) 9%, transparent);
	background: color-mix(in srgb, var(--leafs-bg-elevated, #fff) 90%, transparent);
	overflow: hidden;
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__faq {
	border-color: rgba(120, 150, 180, 0.14);
	background: rgba(16, 22, 30, 0.55);
}

.leafs-lumo-theme-page__faq[open] {
	border-color: color-mix(in srgb, var(--leafs-brand, #2563eb) 26%, transparent);
}

.leafs-lumo-theme-page__faq-summary {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	cursor: pointer;
	list-style: none;
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--leafs-text, #0f172a);
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__faq-summary {
	color: #e8eef5;
}

.leafs-lumo-theme-page__faq-summary::-webkit-details-marker {
	display: none;
}

.leafs-lumo-theme-page__faq-summary::marker {
	content: "";
}

.leafs-lumo-theme-page__faq-q {
	flex: 1;
	min-width: 0;
}

.leafs-lumo-theme-page__faq-chevron {
	width: 0.5rem;
	height: 0.5rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	opacity: 0.5;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.leafs-lumo-theme-page__faq[open] .leafs-lumo-theme-page__faq-chevron {
	transform: rotate(225deg);
	margin-top: 0.15rem;
	opacity: 0.85;
}

.leafs-lumo-theme-page__faq-a {
	margin: 0;
	padding: 0 1rem 1rem;
	font-size: 0.88rem;
	line-height: 1.65;
	opacity: 0.9;
}

.leafs-lumo-theme-page__log-summary:focus-visible,
.leafs-lumo-theme-page__faq-summary:focus-visible {
	outline: 2px solid var(--leafs-mint, #7c3aed);
	outline-offset: 0;
}

@media (max-width: 520px) {
	.leafs-lumo-theme-page__log-chevron {
		margin-left: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.leafs-lumo-theme-page__feature,
	.leafs-lumo-theme-page__env-card,
	.leafs-lumo-theme-page__log,
	.leafs-lumo-theme-page__cta,
	.leafs-lumo-theme-page__showcase-card {
		transition: none;
	}

	.leafs-lumo-theme-page__feature:hover,
	.leafs-lumo-theme-page__env-card:hover,
	.leafs-lumo-theme-page__showcase-card:hover {
		transform: none;
	}

	.leafs-lumo-theme-page__cta--purchase:hover {
		transform: none;
	}
}

/* -------------------------------------------------------------------------- */
/* Showcase lightbox                                                           */
/* -------------------------------------------------------------------------- */

.leafs-lumo-theme-page__lightbox {
	position: fixed;
	inset: 0;
	z-index: 200100;
	display: grid;
	place-items: center;
	padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
	box-sizing: border-box;
}

.leafs-lumo-theme-page__lightbox[hidden] {
	display: none !important;
}

.leafs-lumo-theme-page__lightbox-scrim {
	position: absolute;
	inset: 0;
	border: 0;
	padding: 0;
	margin: 0;
	cursor: zoom-out;
	background: rgba(2, 6, 14, 0.72);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.leafs-lumo-theme-page__lightbox-panel {
	position: relative;
	z-index: 1;
	width: min(96vw, 1120px);
	max-height: min(92vh, 900px);
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 0.65rem 0.65rem 0.85rem;
	border-radius: 16px;
	background: var(--leafs-card, #fff);
	border: 1px solid color-mix(in srgb, var(--leafs-border, #e2e8f0) 90%, transparent);
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
	box-sizing: border-box;
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__lightbox-panel {
	background: rgba(14, 18, 26, 0.96);
	border-color: rgba(120, 150, 180, 0.22);
	box-shadow: 0 28px 90px rgba(0, 0, 0, 0.65);
}

.leafs-lumo-theme-page__lightbox-x {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--leafs-text, #0f172a) 12%, transparent);
	background: color-mix(in srgb, var(--leafs-bg-elevated, #fff) 92%, transparent);
	color: var(--leafs-text, #0f172a);
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.leafs-lumo-theme-page__lightbox-x:hover {
	border-color: color-mix(in srgb, var(--leafs-brand, #2563eb) 45%, transparent);
	background: color-mix(in srgb, var(--leafs-brand, #2563eb) 10%, var(--leafs-card, #fff));
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__lightbox-x {
	background: rgba(24, 32, 44, 0.95);
	border-color: rgba(140, 170, 210, 0.28);
	color: #e8eef5;
}

.leafs-lumo-theme-page__lightbox-frame {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	overflow: hidden;
	background: color-mix(in srgb, var(--leafs-text, #0f172a) 6%, var(--leafs-bg-elevated, #f8fafc));
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__lightbox-frame {
	background: rgba(6, 10, 16, 0.9);
}

.leafs-lumo-theme-page__lightbox-img {
	display: block;
	max-width: 100%;
	max-height: min(78vh, 760px);
	width: auto;
	height: auto;
	object-fit: contain;
	cursor: default;
}

.leafs-lumo-theme-page__lightbox-caption {
	margin: 0.25rem 0 0;
	padding: 0 2.5rem 0 0.35rem;
	font-size: 0.9rem;
	font-weight: 650;
	line-height: 1.45;
	color: var(--leafs-text, #0f172a);
	min-height: 1.35em;
}

html[data-leafs-theme="dark"] .leafs-lumo-theme-page__lightbox-caption {
	color: #e8eef5;
}

.leafs-lumo-theme-page__lightbox-actions {
	margin: 0;
	padding: 0 0.35rem 0.15rem;
	font-size: 0.82rem;
}

.leafs-lumo-theme-page__lightbox-link {
	color: var(--leafs-link, var(--leafs-brand, #2563eb));
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.leafs-lumo-theme-page__lightbox-link:hover {
	text-decoration-thickness: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.leafs-lumo-theme-page__lightbox-scrim {
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}
}
