/*
 * Adapted from:
 * kzmk-10 v1.3.21 / assets/css/page/home-landing.css (hero-section rules)
 *
 * Webasyst selectors are scoped to the WordPress front page. Its runtime,
 * modal binding and CMS variables are intentionally not included.
 */

.home {
	--kzmk-source-accent: #ff8c6a;
	--kzmk-source-shell: min(100%, 1248px);
	--kzmk-source-gutter: clamp(12px, 1.8vw + 6px, 24px);
	--kzmk-source-h1: clamp(28px, 22px + 2.9vw, 58px);
	--kzmk-source-body: clamp(16px, 15px + 0.35vw, 17px);
	--kzmk-source-lead: clamp(17px, 16px + 0.22vw, 18px);
	--kzmk-source-ui: clamp(14px, 13px + 0.32vw, 16px);
	background: #202020;
}

.home .site-header {
	width: var(--kzmk-source-shell);
	padding-inline: var(--kzmk-source-gutter);
	color: #ffffff;
}

.home .site-main {
	width: 100%;
	max-width: none;
	padding: 0;
}

.home .hero-section {
	position: relative;
	container-type: inline-size;
	container-name: hero;
	min-height: calc(100vh - 80px);
	overflow: hidden;
	border-radius: 0 0 30px 30px;
	background: #202020;
}

.home .hero-section__inner {
	position: relative;
	z-index: 1;
	width: var(--kzmk-source-shell);
	min-height: calc(100vh - 80px);
	margin: 0 auto;
	padding: 24px var(--kzmk-source-gutter) 32px;
	overflow: visible;
	border-radius: 0 0 30px 30px;
}

.home .hero-section__watermark {
	position: absolute;
	z-index: 0;
	left: 50%;
	top: 33%;
	transform: translate(-50%, -50%);
	display: block;
	width: max-content;
	max-width: min(100% - 2 * var(--kzmk-source-gutter), 1248px);
	margin: 0;
	color: rgba(255, 255, 255, 0.055);
	font-size: clamp(4rem, 21cqi, 28rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
}

.home .hero-section__heading-wrap,
.home .hero-section__content,
.home .hero-section__lead,
.home .hero-section__actions {
	position: relative;
	z-index: 1;
}

.home .hero-section__title {
	max-width: 760px;
	margin: 0;
	color: #ffffff;
	font-size: var(--kzmk-source-h1);
	font-weight: 800;
	line-height: 0.94;
	letter-spacing: -0.035em;
	text-transform: uppercase;
	text-wrap: balance;
}

.home .hero-section__title span {
	display: block;
	color: var(--kzmk-source-accent);
}

.home .hero-section__content {
	display: grid;
	grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
	align-items: start;
	column-gap: 28px;
	row-gap: 24px;
	padding-top: 24px;
}

.home .hero-section__visual {
	position: relative;
	grid-column: 1;
}

.home .hero-section__visual-image {
	display: block;
	width: 620px;
	max-width: 100%;
	height: auto;
}

.home .hero-section__benefits {
	grid-column: 2;
	width: auto;
	margin: 0;
	padding: 0;
	list-style: none;
}

.home .hero-section__benefit {
	display: grid;
	grid-template-columns: 35px 15px minmax(0, 1fr);
	align-items: start;
}

.home .hero-section__benefit + .hero-section__benefit {
	margin-top: 16px;
}

.home .hero-section__benefit-icon {
	grid-column: 1;
	width: 35px;
	height: 35px;
}

.home .hero-section__benefit span {
	grid-column: 3;
	color: #ffffff;
	font-size: var(--kzmk-source-body);
	font-weight: 400;
	line-height: 1.55;
}

.home .hero-section__lead {
	max-width: 760px;
	margin: 0;
	color: #ffffff;
	font-size: var(--kzmk-source-lead);
	font-weight: 400;
	line-height: 1.58;
	text-wrap: pretty;
}

.home .hero-section__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.home .hero-section__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 230px;
	min-height: 56px;
	padding: 12px clamp(26px, 3vw, 42px);
	border: 1px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-size: var(--kzmk-source-ui);
	font-weight: 600;
	line-height: 1.22;
	text-decoration: none;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.home .hero-section__action--accent {
	color: #ffffff;
	background: var(--kzmk-source-accent);
	box-shadow: 0 18px 34px rgba(255, 127, 82, 0.24);
}

.home .hero-section__action:hover,
.home .hero-section__action:focus-visible {
	transform: translateY(-1px);
}

.home .hero-section__action--accent:hover,
.home .hero-section__action--accent:focus-visible {
	background: color-mix(in srgb, var(--kzmk-source-accent) 88%, #ffffff 12%);
}

.home .hero-section__action:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 3px;
}

@media (min-width: 640px) and (max-width: 959px) {
	.home .hero-section,
	.home .hero-section__inner {
		min-height: auto;
	}

	.home .hero-section__content {
		grid-template-columns: minmax(0, 1.28fr) minmax(220px, 0.92fr);
		column-gap: clamp(18px, 2.8vw, 24px);
		row-gap: clamp(20px, 3vw, 28px);
	}

	.home .hero-section__benefit {
		grid-template-columns: 32px 10px minmax(0, 1fr);
	}

	.home .hero-section__benefit span {
		font-size: 16px;
		line-height: 1.45;
	}
}

@media (max-width: 639px) {
	.home .site-header {
		width: 100%;
	}

	.home .hero-section {
		min-height: auto;
		border-radius: 0;
	}

	.home .hero-section__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		row-gap: 18px;
		width: 100%;
		min-height: auto;
		padding: 24px 16px 40px;
	}

	.home .hero-section__watermark {
		top: 40%;
		font-size: clamp(4rem, 46vw, 12rem);
	}

	.home .hero-section__heading-wrap {
		order: 1;
	}

	.home .hero-section__title {
		max-width: 100%;
		font-size: clamp(17px, 5.4vw, 30px);
		line-height: 0.98;
		letter-spacing: -0.045em;
	}

	.home .hero-section__content {
		order: 2;
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
		width: 100%;
		padding-top: 0;
	}

	.home .hero-section__visual,
	.home .hero-section__benefits {
		grid-column: 1;
		width: 100%;
	}

	.home .hero-section__benefits {
		display: grid;
		gap: 12px;
	}

	.home .hero-section__benefit,
	.home .hero-section__benefit + .hero-section__benefit {
		grid-template-columns: 44px minmax(0, 1fr);
		gap: 14px;
		margin-top: 0;
	}

	.home .hero-section__benefit-icon {
		width: 44px;
		height: 44px;
	}

	.home .hero-section__benefit span {
		grid-column: 2;
		font-size: var(--kzmk-source-ui);
		line-height: 1.38;
	}

	.home .hero-section__lead {
		max-width: 100%;
	}

	.home .hero-section__actions {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		margin-top: 4px;
	}

	.home .hero-section__action {
		width: 100%;
		min-width: 0;
		min-height: 56px;
	}
}

/* Adapted from kzmk-10 v1.3.21 / home-landing.css: solutions-intro. */
.home .solutions-intro {
	background: #ffffff;
}

.home .solutions-intro__inner {
	display: grid;
	gap: clamp(18px, 2vw, 28px);
	align-content: start;
	width: var(--kzmk-source-shell);
	margin: 0 auto;
	padding: clamp(56px, 7vw, 96px) var(--kzmk-source-gutter);
}

.home .solutions-intro__title {
	max-width: min(100%, 1060px);
	margin: 0;
	color: #000000;
	font-size: clamp(22px, 14px + 2.4vw, 48px);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -.03em;
	text-transform: uppercase;
	text-wrap: balance;
}

.home .solutions-intro__title span {
	color: var(--kzmk-source-accent);
}

.home .solutions-intro__summary {
	max-width: min(100%, 880px);
	margin: 0;
	color: #202020;
	font-size: 18px;
	line-height: 1.5;
}

@media (max-width: 639px) {
	.home .solutions-intro__inner {
		padding-block: clamp(36px, 5vw + 20px, 56px);
	}

	.home .solutions-intro__title {
		font-size: clamp(20px, 14px + 2.2vw, 28px);
		line-height: 1.08;
	}

	.home .solutions-intro__summary {
		font-size: 16px;
		line-height: 1.55;
	}
}
