.hero-home {
	position: relative;
	padding: 178px 0 112px;
	background:
		radial-gradient(ellipse 65% 70% at -5% 0%, rgba(168, 224, 234, 0.6) 0%, transparent 65%),
		radial-gradient(ellipse 55% 60% at 108% 0%, rgba(168, 224, 234, 0.4) 0%, transparent 60%),
		linear-gradient(180deg, #ffffff 0%, #f8fcfd 100%);
	background-size: 120% 120%, 120% 120%, auto;
	color: #102a35;
	overflow: clip;
	isolation: isolate;
	animation: hero-teal-drift 14s ease-in-out infinite alternate;
}

.hero-home::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	z-index: 0;
	height: 150px;
	background: linear-gradient(180deg, rgba(248, 252, 253, 0) 0%, #ffffff 82%);
	pointer-events: none;
}

@keyframes hero-teal-drift {
	0% {
		background-position: 0% 0%, 100% 0%, 0 0;
	}

	100% {
		background-position: 8% 3%, 92% 4%, 0 0;
	}
}

.hero-home .container {
	position: relative;
	z-index: 1;
	max-width: 1500px;
}

.hero-home__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
	gap: 84px;
	align-items: center;
	min-height: 560px;
}

.hero__copy {
	max-width: 660px;
}

.hero__eyebrow {
	margin: 0 0 18px;
	color: #102a35;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.35;
}

.hero__copy h1 {
	margin: 0;
	color: #102a35;
	background: linear-gradient(45deg, #54c5d0, #146a72 80%);
	-webkit-background-clip: text;
	background-clip: text;
	font-size: 3.55rem;
	font-weight: 750;
	line-height: 1.12;
	text-wrap: balance;
	-webkit-text-fill-color: transparent;
}

.hero__calm {
	position: relative;
	display: inline-block;
	isolation: isolate;
	padding: 0 0.02em 0.1em;
	color: #146a72;
	-webkit-text-fill-color: #146a72;
}

.hero__calm::after {
	content: "";
	position: absolute;
	right: -0.03em;
	bottom: 0.02em;
	left: -0.02em;
	height: 0.075em;
	background: #146a72;
	opacity: 0.58;
	pointer-events: none;
	transform: rotate(-2deg);
	transform-origin: left center;
	z-index: -1;
}

.hero__subhead {
	max-width: 560px;
	margin: 22px 0 0;
	color: #38515f;
	font-size: 1.02rem;
	line-height: 1.68;
}

.hero__cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
	margin-top: 30px;
}

.hero__cta-row .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	padding: 15px 28px;
	border-radius: 8px;
	font-size: 0.98rem;
	font-weight: 500;
	line-height: 1.2;
}

.hero__cta-primary {
	border-color: transparent;
	background: linear-gradient(135deg, #26cbd3 0%, #146a72 100%);
	box-shadow: 0 16px 34px rgba(20, 106, 114, 0.18);
}

.hero__cta-primary:hover {
	border-color: transparent;
	background: linear-gradient(135deg, #39dce4 0%, #197d86 100%);
}

.hero__cta-secondary {
	border-color: rgba(20, 106, 114, 0.28);
	color: #146a72;
	background: rgba(255, 255, 255, 0.72);
}

.hero__cta-secondary:hover {
	border-color: #146a72;
	color: #ffffff;
	background: #146a72;
}

.hero-home a:focus-visible,
.hero-home button:focus-visible {
	outline: 3px solid #54c5d0;
	outline-offset: 4px;
	box-shadow: none;
}

.hero__proof {
	margin: 24px 0 0;
	color: #1f3b50;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.45;
}

.hero__pricing {
	margin: 8px 0 0;
	color: #587281;
	font-size: 0.9rem;
	line-height: 1.5;
}

.hero__visual {
	position: relative;
	min-height: 535px;
	margin: 0;
}

.hero__visual-brand {
	position: absolute;
	top: 28px;
	right: -36px;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: flex-end;
	width: min(760px, 54vw);
}

.hero__visual-brand::before {
	content: "Business Operating System as a Service";
	max-width: 0;
	overflow: hidden;
	color: #38515f;
	font-size: 0.74rem;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
	opacity: 0;
	transform: translateX(8px);
	transition:
		max-width 0.28s ease,
		opacity 0.22s ease,
		transform 0.22s ease;
}

.hero__visual-brand:hover::before {
	max-width: 270px;
	opacity: 0.86;
	transform: translateX(0);
}

.hero__visual-brand img {
	display: block;
	width: auto;
	height: 22px;
	object-fit: contain;
	opacity: 0.9;
}

.hero__media {
	position: absolute;
	top: 50%;
	right: -36px;
	width: min(760px, 54vw);
	aspect-ratio: 16 / 9;
	transform: translateY(-50%);
	border: 1px solid rgba(20, 106, 114, 0.16);
	border-radius: 8px;
	background: #eaf7f8;
	box-shadow:
		0 0 0 8px rgba(255, 255, 255, 0.7),
		0 24px 70px rgba(20, 106, 114, 0.16);
	overflow: hidden;
}

.hero__media::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
	pointer-events: none;
	z-index: 1;
}

.hero__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	opacity: 1;
}

.hero__module-links {
	position: absolute;
	right: -36px;
	bottom: 8px;
	z-index: 2;
	overflow: hidden;
	width: min(760px, 54vw);
	margin: 0;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000000 11%, #000000 89%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0%, #000000 11%, #000000 89%, transparent 100%);
}

.hero__module-track {
	display: flex;
	gap: 6px;
	width: max-content;
	animation: hero-module-scroll 28s linear infinite;
	will-change: transform;
}

.hero__module-links:hover .hero__module-track {
	animation-play-state: paused;
}

@keyframes hero-module-scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

.hero__module-links a {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 6px 10px;
	border: 1px solid rgba(16, 42, 53, 0.06);
	border-radius: 0;
	background: rgba(16, 42, 53, 0.045);
	color: #405b6b;
	font-size: 0.72rem;
	font-weight: 500;
	line-height: 1.15;
	text-decoration: none;
	transition:
		background-color 0.18s ease,
		border-color 0.18s ease,
		color 0.18s ease,
		transform 0.18s ease;
}

.hero__module-links a:hover {
	border-color: rgba(20, 106, 114, 0.18);
	background: rgba(255, 255, 255, 0.86);
	color: #102a35;
	transform: translateY(-1px);
}

.home-clients {
	position: relative;
	margin-top: -56px;
	padding-top: 44px;
	background: #ffffff;
}

.home-clients::before {
	content: none;
}

.home-clients .aqtos-logos-grid-wrap {
	padding-top: 96px;
}

.home-clients .aqtos-logos-grid-wrap > .aqtos-logos-heading {
	height: 96px;
	padding-bottom: 12px;
}

.home-clients .aqtos-logos-grid-wrap::before {
	clip-path: inset(2px 0 0);
}

@media (max-width: 1399.98px) {
	.hero-home__grid {
		gap: 52px;
	}

	.hero__copy h1 {
		font-size: 3.25rem;
	}

	.hero__visual-brand,
	.hero__media,
	.hero__module-links {
		right: -24px;
		width: min(680px, 52vw);
	}
}

@media (max-width: 1199.98px) {
	.hero-home {
		padding: 136px 0 78px;
	}

	.hero-home__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 46px;
		min-height: 0;
	}

	.hero__copy {
		max-width: 820px;
	}

	.hero__copy h1 {
		font-size: 2.95rem;
	}

	.hero__visual {
		min-height: 0;
	}

	.hero__visual-brand,
	.hero__media,
	.hero__module-links {
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		width: 100%;
		max-width: 900px;
		transform: none;
	}

	.hero__visual-brand {
		margin-bottom: 8px;
	}

	.hero__module-links {
		margin-top: 14px;
	}
}

@media (max-width: 767.98px) {
	.hero-home {
		padding: 112px 0 64px;
		background-size: 125% 125%, 125% 125%, auto;
	}

	.hero-home__grid {
		gap: 34px;
	}

	.hero__eyebrow {
		margin-bottom: 16px;
		font-size: 0.72rem;
	}

	.hero__copy h1 {
		font-size: 2.08rem;
		line-height: 1.16;
	}

	.hero__subhead {
		margin-top: 18px;
		font-size: 0.95rem;
		line-height: 1.62;
	}

	.hero__cta-row {
		align-items: stretch;
		margin-top: 30px;
	}

	.hero__cta-row .btn {
		width: 100%;
		min-height: 54px;
	}

	.hero__proof {
		align-items: flex-start;
		font-size: 0.9rem;
	}

	.hero__pricing {
		margin-left: 0;
		font-size: 0.86rem;
	}

	.hero__visual-brand::before {
		content: none;
	}

	.hero__module-links {
		-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000000 8%, #000000 92%, transparent 100%);
		mask-image: linear-gradient(90deg, transparent 0%, #000000 8%, #000000 92%, transparent 100%);
	}

	.hero__module-links a {
		min-height: 26px;
		padding: 6px 9px;
		font-size: 0.68rem;
	}
}

@media (max-width: 374.98px) {
	.hero__copy h1 {
		font-size: 1.92rem;
	}

	.hero__module-links a {
		font-size: 0.66rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero-home *,
	.hero-home *::before,
	.hero-home *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.001ms !important;
	}

	.hero__module-track {
		animation: none !important;
		transform: none !important;
	}
}
