/**
 * Home page — hero
 */

/**
 * Homepage hero — scoped under .vz-hero
 */

.vz-hero {
	position: relative;
	overflow: hidden;
	background-color: #111;
	color: #fff;
}

.vz-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 64% 58%;
	pointer-events: none;
}

.vz-hero__scrim {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.26) 45%, rgba(0, 0, 0, 0.39) 100%),
		radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.28) 100%);
}

.vz-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	align-items: center;
	justify-items: center;
	max-width: var(--content-max-width);
	min-height: calc(100vh - 3.5rem);
	min-height: calc(100svh - 3.5rem);
	margin-left: auto;
	margin-right: auto;
	padding: 3rem 1.5rem 3.5rem;
}

@media (min-width: 920px) {
	.vz-hero__bg {
		object-position: center;
	}

	.vz-hero__inner {
		min-height: 36rem;
		padding: 5rem 1.5rem 5.5rem;
	}
}

.vz-hero__copy {
	position: relative;
	z-index: 1;
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.vz-hero__copy > * {
	transition: opacity 700ms ease, transform 700ms ease;
}

.vz-hero--animate:not(.vz-hero--in) .vz-hero__copy > * {
	opacity: 0;
	transform: translateY(1.25rem);
}

.vz-hero__title {
	margin: 0 0 1rem;
	color: #fff;
	font-size: clamp(2rem, 4.6vw, 3.35rem);
	font-weight: var(--weight-heading);
	line-height: 1.08;
	letter-spacing: var(--tracking-heading);
	transition-delay: 160ms;
}

.vz-hero__body {
	margin: 0 auto 1.5rem;
	max-width: 32rem;
	color: rgba(255, 255, 255, 0.86);
	font-size: var(--text-body);
	line-height: var(--leading-body);
	transition-delay: 240ms;
}

.vz-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
	transition-delay: 320ms;
}

.vz-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0.65rem 1.5rem;
	border-radius: var(--radius-pill);
	font-size: 0.9375rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-decoration: none;
	transition: transform 200ms ease, background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.vz-hero__btn--primary {
	background-color: #fff;
	color: var(--color-blue-eleva);
}

.vz-hero__btn--primary::after {
	content: " →";
}

.vz-hero__btn--ghost {
	border: 1px solid rgba(255, 255, 255, 0.55);
	color: #fff;
}

.vz-hero__btn-icon {
	flex-shrink: 0;
	width: 1.125rem;
	height: 1.125rem;
}

.vz-hero__btn:hover {
	transform: translateY(-2px);
}

.vz-hero__btn--primary:hover {
	background-color: rgba(255, 255, 255, 0.9);
	color: var(--color-dark-blue-eleva);
}

.vz-hero__btn--ghost:hover {
	border-color: #fff;
	background-color: rgba(255, 255, 255, 0.1);
}

.vz-hero__copy > .vz-trust-badge {
	background-color: rgba(255, 255, 255, 0.94);
	color: var(--color-text);
	transition-delay: 400ms;
}

.vz-hero__copy > .vz-trust-badge .vz-trust-badge__text {
	color: var(--color-text);
}

@media (prefers-reduced-motion: reduce) {
	.vz-hero__copy > * {
		opacity: 1;
		transform: none;
		transition: none;
		animation: none;
	}
}
