/**
 * Lightweight homepage layout (.vx-home-lite).
 * Loaded last via vertex-saas.css dependency chain.
 */

body.vx-body.vx-home .vx-home-lite__hero.vertex-hero.vx-ent-hero,
body.vx-body.vx-home .vx-tech-show.vx-home-lite__hero {
	min-height: clamp(36rem, 92svh, 54rem);
}

@supports not (height: 100svh) {
	body.vx-body.vx-home .vx-home-lite__hero.vertex-hero.vx-ent-hero,
	body.vx-body.vx-home .vx-tech-show.vx-home-lite__hero {
		min-height: 88vh;
	}
}

body.vx-body.vx-home .vx-home-lite__hero .vertex-hero__shell {
	display: flex;
	align-items: center;
	min-height: inherit;
	padding-block: clamp(5.5rem, 12vh, 7.5rem) clamp(2.5rem, 6vh, 4rem);
}

body.vx-body.vx-home .vx-home-lite__hero .vertex-hero__content {
	max-width: 40rem;
	position: relative;
	z-index: 2;
}

body.vx-body.vx-home .vx-home-lite__hero h1 {
	max-width: 14ch;
	font-size: clamp(2.1rem, 4.5vw, 3.4rem);
	letter-spacing: -0.035em;
	line-height: 1.12;
}

/* Trust strip */
.vx-home-lite__trust {
	padding: 0.95rem 0;
	background: #fff;
	border-bottom: 1px solid rgba(13, 27, 46, 0.08);
}

.vx-home-lite__trust-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.55rem 1.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vx-home-lite__trust-list li {
	position: relative;
	color: #4c5b6e;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.vx-home-lite__trust-list li + li::before {
	content: "";
	display: inline-block;
	width: 0.28rem;
	height: 0.28rem;
	margin-inline-end: 1.35rem;
	border-radius: 50%;
	background: #1493c4;
	vertical-align: 0.12em;
	opacity: 0.7;
}

/* Solutions — 4 cards */
.vx-home-lite__solutions {
	background: #f7f9fc;
}

.vx-home-lite__solutions h2 {
	max-width: 18ch;
	margin: 0;
	font-size: clamp(1.6rem, 2.4vw, 2.2rem);
	letter-spacing: -0.03em;
	line-height: 1.2;
}

.vx-home-lite__sol-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
}

.vx-home-lite__sol {
	min-height: 100%;
	padding: 1.25rem 1.2rem 1.15rem;
}

.vx-home-lite__sol h3 {
	font-size: 1.05rem;
	letter-spacing: -0.02em;
}

.vx-home-lite__sol p {
	font-size: 0.94rem;
	line-height: 1.55;
}

/* How it works */
.vx-home-lite__works {
	background: #fff;
	border-block: 1px solid rgba(13, 27, 46, 0.06);
}

.vx-home-lite__works h2 {
	margin: 0;
	font-size: clamp(1.6rem, 2.4vw, 2.2rem);
	letter-spacing: -0.03em;
}

.vx-home-lite__steps {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.85rem;
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.vx-home-lite__steps li {
	position: relative;
	padding: 1.15rem 1rem 1.1rem;
	border: 1px solid rgba(13, 27, 46, 0.08);
	border-radius: 14px;
	background: #fbfcfe;
}

.vx-home-lite__steps li:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 1.55rem;
	inset-inline-end: -0.55rem;
	width: 0.55rem;
	height: 0.55rem;
	border-top: 2px solid #1493c4;
	border-inline-end: 2px solid #1493c4;
	transform: rotate(45deg);
	opacity: 0.55;
	z-index: 1;
}

.vx-home-lite__step-num {
	display: inline-block;
	margin-bottom: 0.45rem;
	color: #0055d4;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.vx-home-lite__steps strong {
	display: block;
	font-size: 1.02rem;
	letter-spacing: -0.02em;
}

.vx-home-lite__steps p {
	margin: 0.4rem 0 0;
	color: #4c5b6e;
	font-size: 0.9rem;
	line-height: 1.5;
}

/* Portfolio: 3 columns max on lite home */
body.vx-body.vx-home .vx-home-lite .vx-ent__portfolio .vx-ent__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Engage: Ask + Maturity */
.vx-home-lite__engage {
	background:
		radial-gradient(ellipse 45% 60% at 100% 0%, rgba(20, 147, 196, 0.14), transparent 55%),
		linear-gradient(165deg, #071426 0%, #0d1b2e 100%);
	color: #f4f8fc;
	border: 0;
}

.vx-home-lite__engage .vx-ent__kicker {
	color: #7fd4ee;
}

.vx-home-lite__engage h2,
.vx-home-lite__engage h3,
.vx-home-lite__engage p {
	color: #f4f8fc;
}

.vx-home-lite__engage-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 1.25rem;
	align-items: stretch;
}

.vx-home-lite__ask,
.vx-home-lite__maturity {
	padding: 1.4rem 1.35rem;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.04);
}

.vx-home-lite__ask h2,
.vx-home-lite__maturity h3 {
	margin: 0 0 0.55rem;
	font-size: clamp(1.25rem, 1.8vw, 1.55rem);
	letter-spacing: -0.02em;
	line-height: 1.25;
	max-width: none;
}

.vx-home-lite__ask p {
	margin: 0 0 1rem;
	color: rgba(215, 243, 251, 0.88);
	font-size: 0.98rem;
	line-height: 1.55;
}

.vx-home-lite__engage .vx-btn--ghost {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.55);
	background: transparent;
}

.vx-home-lite__engage .vx-btn--ghost:hover,
.vx-home-lite__engage .vx-btn--ghost:focus-visible {
	border-color: #7fd4ee;
	color: #7fd4ee;
}

/* Compact final CTA */
body.vx-body.vx-home .vx-home-lite .vx-ent__close {
	padding-block: clamp(3rem, 6vw, 4.5rem);
	background: #f7f9fc;
	color: #0d1b2e;
	border-block: 1px solid rgba(13, 27, 46, 0.06);
}

body.vx-body.vx-home .vx-home-lite .vx-ent__close h4 {
	color: #0d1b2e;
	max-width: 16ch;
	font-size: clamp(1.5rem, 2.5vw, 2rem);
}

body.vx-body.vx-home .vx-home-lite .vx-ent__close p {
	color: #4c5b6e;
}

body.vx-body.vx-home .vx-home-lite .vx-ent__close .vx-btn--ghost {
	color: #0055d4;
	border-color: rgba(0, 85, 212, 0.35);
	background: #fff;
}

/* Section spacing */
body.vx-body.vx-home .vx-home-lite .vx-ent__band {
	padding-block: clamp(3.25rem, 6.5vw, 5.5rem);
}

@media (max-width: 1100px) {
	.vx-home-lite__sol-grid {
		grid-template-columns: 1fr 1fr;
	}

	.vx-home-lite__steps {
		grid-template-columns: 1fr 1fr;
	}

	.vx-home-lite__steps li:not(:last-child)::after {
		display: none;
	}

	.vx-home-lite__engage-grid {
		grid-template-columns: 1fr;
	}

	body.vx-body.vx-home .vx-home-lite .vx-ent__portfolio .vx-ent__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	.vx-home-lite__sol-grid,
	.vx-home-lite__steps,
	body.vx-body.vx-home .vx-home-lite .vx-ent__portfolio .vx-ent__grid {
		grid-template-columns: 1fr;
	}

	.vx-home-lite__trust-list {
		justify-content: flex-start;
		gap: 0.45rem 1rem;
	}

	.vx-home-lite__trust-list li + li::before {
		margin-inline-end: 1rem;
	}

	body.vx-body.vx-home .vx-home-lite__hero .vertex-hero__cta {
		flex-direction: column;
		align-items: stretch;
	}

	body.vx-body.vx-home .vx-home-lite__hero .vertex-hero__cta .vx-btn {
		justify-content: center;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.vx-body.vx-home .vertex-hero__ring,
	body.vx-body.vx-home .vertex-hero__node {
		animation: none !important;
	}
}

/* Legacy ecosystem section — not shown on the lite homepage */
body.vx-body.vx-home .vertex-ecosystem {
	display: none !important;
}

/* Ask Vertex + Digital Maturity engage band — removed from lite homepage */
body.vx-body.vx-home .vx-home-lite__engage {
	display: none !important;
}


/* Why Vertex */
.vx-home-lite__why-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	list-style: none;
	margin: 1.75rem 0 0;
	padding: 0;
}
.vx-home-lite__why-grid li {
	padding: 1.25rem 1.35rem;
	border: 1px solid var(--vertex-border, rgba(13, 27, 46, 0.14));
	border-radius: var(--vertex-radius-md, 16px);
	background: var(--vertex-surface, #fff);
	box-shadow: var(--vertex-shadow-sm, 0 8px 20px rgba(13, 27, 46, 0.06));
}
.vx-home-lite__why-grid strong {
	display: block;
	margin-bottom: 0.45rem;
	color: var(--vertex-primary-dark, #002050);
	font-size: 1.05rem;
}
.vx-home-lite__why-grid p {
	color: var(--vertex-muted, #4c5b6e);
	font-size: 0.95rem;
	line-height: 1.55;
}

/* Industries */
.vx-home-lite__ind-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	list-style: none;
	margin: 1.75rem 0 0;
	padding: 0;
}
.vx-home-lite__ind-grid .vx-ent__card {
	height: 100%;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vx-home-lite__ind-grid .vx-ent__card:hover,
.vx-home-lite__ind-grid .vx-ent__card:focus-visible {
	transform: translateY(-2px);
	box-shadow: var(--vertex-shadow-md, 0 16px 36px rgba(13, 27, 46, 0.12));
}

/* Six capability cards */
.vx-home-lite__sol-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Four methodology steps */
.vx-home-lite__steps {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
	.vx-home-lite__why-grid,
	.vx-home-lite__sol-grid,
	.vx-home-lite__steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 640px) {
	.vx-home-lite__why-grid,
	.vx-home-lite__sol-grid,
	.vx-home-lite__ind-grid,
	.vx-home-lite__steps {
		grid-template-columns: 1fr;
	}
}
@media (prefers-reduced-motion: reduce) {
	.vx-home-lite__ind-grid .vx-ent__card {
		transition: none;
	}
}
