/* AI-assisted diagnostics and prognostics.
   Desktop first. Breakpoints: 1024px, 768px, 480px.
   Overrides use max-width in pixels. */

body.aid-page {
	--aid-space: 90px;
	background: #ffffff;
}

.aid-space {
	padding-block: var(--aid-space);
}

body.aid-page .site {
	padding-top: var(--hero-inset);
}

body.aid-page .site-main--aid {
	padding-block: 0;
}

body.aid-page .site-header {
	background-color: transparent;
}

body.aid-page .site-header.is-scrolled {
	background-color: rgb(1 19 37 / 0.92);
	backdrop-filter: blur(12px);
}

body.aid-page.has-mobile-nav-open .site-header {
	background-color: var(--color-navy);
}

.aid-hero h1,
.aid-insight h2,
.aid-diagnostics h2,
.aid-intelligence h2,
.aid-proven h2,
.aid-cta h2 {
	margin: 0;
	font-family: var(--font-display);
	font-weight: var(--font-weight-medium);
	line-height: 1.2;
}

.aid-insight h2,
.aid-diagnostics h2,
.aid-intelligence h2,
.aid-proven h2 {
	color: #1c1b1b;
	font-size: clamp(2rem, 4vw, 3rem);
}

.aid-insight .section-kicker,
.aid-intelligence .section-kicker,
.aid-proven .section-kicker {
	color: #0a0d12;
	font-weight: var(--font-weight-medium);
}

/* Hero */

.aid-hero {
	position: relative;
	width: calc(100% - (var(--hero-inset) * 2));
	min-height: 38.5rem;
	margin-top: calc(var(--header-height) * -1);
	margin-inline: auto;
	overflow: hidden;
	border-radius: 1.5rem;
	color: #ffffff;
	background: #011325;
}

.aid-hero__media,
.aid-cta__media {
	position: absolute;
	inset: 0;
}

.aid-hero__image,
.aid-cta__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.aid-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgb(0 8 18 / 0.78) 0%, rgb(0 8 18 / 0.42) 46%, rgb(0 8 18 / 0.12) 100%),
		linear-gradient(180deg, rgb(0 0 0 / 0.28) 0%, transparent 32%, rgb(0 0 0 / 0.45) 100%);
}

.aid-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: inherit;
	padding-top: calc(var(--header-height) + 2.5rem);
	padding-bottom: 3.5rem;
}

.aid-hero__kicker {
	color: #0fdf84;
}

.aid-hero__kicker .section-kicker__rule {
	background: #0fdf84;
}

.aid-hero__title {
	max-width: 12em;
	margin: 0 0 1rem;
	font-size: clamp(2.4rem, 4.6vw, 4.0625rem);
	font-weight: var(--font-weight-semibold);
	line-height: 1.06;
}

.aid-hero__title span {
	display: block;
	white-space: nowrap;
}

.aid-hero__title-accent {
	color: #0fdf84;
}

.aid-hero__lede {
	max-width: 38rem;
	margin: 10px 0 1.5rem;
	color: rgb(255 255 255 / 0.93);
	font-size: 1rem;
	line-height: 1.55;
}

/* Insight flow */

.aid-insight {
	background: #f4f6f8;
}

.aid-insight__intro {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: 2rem 3rem;
	align-items: end;
}

.aid-insight__intro > p {
	max-width: 33.25rem;
	margin: 0;
	justify-self: end;
	color: #646464;
	font-size: 1.25rem;
	line-height: 1.3;
}

.aid-insight__intro > p span {
	color: #0d8651;
}

.aid-insight__flow {
	display: flex;
	align-items: stretch;
	gap: 0.95rem;
	margin-top: 2.75rem;
}

.aid-insight__flow article {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	align-items: center;
	gap: 0.45rem;
	min-width: 0;
	padding: 1.85rem 1rem 1.5rem;
	border-radius: 1rem;
	background: #ffffff;
	text-align: center;
}

.aid-insight__arrow {
	flex: 0 0 2.3rem;
	align-self: center;
	width: 2.3rem;
	height: auto;
}

.aid-insight__flow article img {
	width: 3rem;
	height: 3rem;
	object-fit: contain;
}

.aid-insight__flow h3 {
	margin: 0.35rem 0 0;
	color: #1c1b1b;
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: var(--font-weight-semibold);
	letter-spacing: -0.03em;
	line-height: 1.3;
}

.aid-insight__flow p {
	max-width: 16rem;
	margin: 0;
	color: #646464;
	font-size: 0.875rem;
	line-height: 1.45;
}

/* Diagnostics */

.aid-diagnostics {
	overflow: hidden;
	background: #011325;
	color: #ffffff;
}

.aid-diagnostics h2,
.aid-diagnostics__kicker,
.aid-diagnostics__kicker .section-kicker__index {
	color: #ffffff;
}

.aid-diagnostics h2 span {
	display: block;
	color: #0d8651;
}

.aid-diagnostics h2 span.is-inline {
	display: inline;
}

.aid-diagnostics__kicker .section-kicker__rule {
	background: #0d8651;
}

.aid-diagnostics__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 1.25rem 2rem;
	align-items: center;
}

.aid-diagnostics__lede {
	max-width: 30rem;
	margin: 0;
	justify-self: end;
	color: #ffffff;
	font-size: 1.25rem;
	line-height: 1.3;
}

.aid-diagnostics__cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
}

.aid-diagnostics__cards li {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.45rem;
	min-height: 10.35rem;
	padding: 1.25rem;
	border-radius: 1rem;
	background: #0f1f2f;
}

.aid-diagnostics__cards img {
	width: 2.5rem;
	height: 2.5rem;
	margin-bottom: 0.35rem;
	object-fit: contain;
}

.aid-diagnostics__cards h3 {
	margin: 0;
	color: #ffffff;
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: var(--font-weight-semibold);
	letter-spacing: -0.03em;
	line-height: 1.5;
}

.aid-diagnostics__cards p {
	margin: 0;
	color: #a4a4a4;
	font-size: 0.875rem;
	line-height: 1.45;
}

.aid-diagnostics__visual img {
	display: block;
	width: 128%;
	max-width: none;
	height: auto;
	margin-left: -6%;
	mix-blend-mode: lighten;
}

body.aod-page .aid-diagnostics__visual img,
body.ada-page .aid-diagnostics__visual img,
body.cicd-page .aid-diagnostics__visual img,
body.sse-page .aid-diagnostics__visual img {
	width: 100%;
	margin-left: 0;
}

body.sse-page .aid-diagnostics__visual img {
	mix-blend-mode: normal;
}

body.ada-page .aid-hero__title br,
body.cicd-page .aid-hero__title br {
	display: none;
}

body.ada-page .section-kicker > span:last-child,
body.cicd-page .section-kicker > span:last-child {
	min-width: 0;
}

/* Intelligence */

.aid-intelligence {
	background: #F9F9F9;
}

.aid-intelligence__layout {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: 3rem;
	align-items: center;
}

.aid-intelligence__photo {
	position: relative;
	height: 100%;
	min-height: 32rem;
	margin: 0;
	overflow: hidden;
	border-radius: 1.875rem;
}

.aid-intelligence__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.aid-intelligence__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgb(0 0 0 / 0.2);
}

.aid-intelligence__heading {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) 1px minmax(8.5rem, 0.7fr);
	gap: 1.15rem 1.25rem;
	align-items: center;
	margin-bottom: 1.25rem;
}

.aid-intelligence h2 {
	font-size: clamp(1.75rem, 2.5vw, 2.75rem);
}

.aid-intelligence h2 > span {
	display: block;
}

.aid-intelligence h2 > span span {
	color: #0d8651;
}

.aid-intelligence__rule {
	align-self: stretch;
	min-height: 8.5rem;
	background: #e5e7eb;
}

.aid-intelligence__heading p {
	margin: 0;
	color: rgb(1 1 1 / 0.6);
	font-size: 1.125rem;
	line-height: 1.4;
}

.aid-intelligence__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid #e5e7eb;
}

.aid-intelligence__list li {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
	padding: 1rem 0 1.05rem;
	border-bottom: 1px solid #e5e7eb;
}

.aid-intelligence__list li:last-child {
	border-bottom: 0;
}

.aid-intelligence__icon {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	border-radius: 0.75rem;
	background: #f3f4f6;
}

.aid-intelligence__icon img {
	width: 1.625rem;
	height: 1.625rem;
	object-fit: contain;
}

.aid-intelligence__list h3 {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 5px;
	color: #010101;
	font-family: var(--font-grotesk);
	font-size: 1rem;
	font-weight: var(--font-weight-bold);
	line-height: 1.7;
}

.aid-intelligence__list h3 span {
	color: #0d8651;
	font-family: var(--font-sans);
	font-size: 0.875rem;
	line-height: 1.45;
}

.aid-intelligence__list p {
	margin: 0;
	padding-left: 1.85rem;
	color: rgb(1 1 1 / 0.6);
	font-size: 0.875rem;
	font-weight: var(--font-weight-medium);
	line-height: 1.45;
}

/* Proven */

.aid-proven h2 {
	max-width: 18em;
}

.aid-proven__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 2.5rem 0 0;
	padding: 0;
	list-style: none;
	text-align: center;
}

.aid-proven__stats li + li {
	border-left: 1px solid #e5e7eb;
}

.aid-proven__stats strong {
	display: block;
	color: #0d8651;
	font-family: var(--font-display);
	font-size: clamp(2.25rem, 4vw, 3rem);
	font-weight: var(--font-weight-bold);
	line-height: 1.35;
}

.aid-proven__stats span {
	display: block;
	max-width: 16rem;
	margin-inline: auto;
	color: #444846;
	font-size: 1rem;
	line-height: 1.6;
}

.aid-proven__list {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin: 2.5rem 0 0;
	padding: 0;
	list-style: none;
}

.aid-proven__list li {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	align-items: center;
	gap: 0.65rem;
	min-width: 0;
	padding: 0 0.75rem;
	border-left: 1px solid #e5e7eb;
	text-align: center;
}

.aid-proven__list li:first-child {
	border-left: 0;
}

.aid-proven__list img {
	width: 3rem;
	height: 3rem;
	object-fit: contain;
}

.aid-proven__list span {
	color: #1c1b1b;
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: var(--font-weight-semibold);
	letter-spacing: -0.03em;
	line-height: 1.4;
}

/* CTA */

.aid-cta {
	position: relative;
	overflow: hidden;
	color: #ffffff;
	background: #02080c;
}

.aid-cta__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgb(0 8 18 / 0.72), rgb(0 8 18 / 0.25));
}

.aid-cta__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 2rem;
}

.aid-cta h2 {
	margin-bottom: 0.5rem;
	font-size: clamp(1.75rem, 3.2vw, 2.75rem);
}

.aid-cta h2 span {
	white-space: nowrap;
}

.aid-cta p {
	margin: 0;
	color: rgb(255 255 255 / 0.86);
}

.aid-cta__actions {
	display: flex;
	flex-shrink: 0;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* Tablet — under 1024px */

@media (max-width: 1023.98px) {
	body.aid-page {
		--aid-space: 64px;
	}

	.aid-hero {
		min-height: 34rem;
	}

	.aid-insight__intro,
	.aid-diagnostics__grid,
	.aid-intelligence__layout,
	.aid-intelligence__heading {
		grid-template-columns: 1fr;
	}

	.aid-insight__intro > p,
	.aid-diagnostics__lede {
		justify-self: start;
		max-width: 40rem;
	}

	.aid-insight__flow {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.25rem;
	}

	.aid-insight__arrow {
		display: none;
	}

	.aid-diagnostics__visual {
		order: 3;
	}

	.aid-diagnostics__cards {
		order: 4;
	}

	.aid-diagnostics__visual img {
		width: 100%;
		margin-left: 0;
	}

	.aid-intelligence__photo {
		min-height: 22rem;
	}

	.aid-intelligence__rule {
		display: none;
	}

	.aid-intelligence__heading p {
		max-width: 36rem;
	}

	.aid-proven__list {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1.5rem 0;
	}

	.aid-proven__list li:nth-child(4n + 1) {
		border-left: 0;
	}
}

/* Mobile — under 768px */

@media (max-width: 767.98px) {
	body.aid-page {
		--aid-space: 48px;
	}

	.aid-hero {
		width: calc(100% - 1rem);
		min-height: 32rem;
		border-radius: 1rem;
	}

	.aid-hero__title span,
	.aid-cta h2 span {
		white-space: normal;
	}

	body.ada-page .aid-hero__title,
	body.cicd-page .aid-hero__title {
		max-width: 100%;
	}

	body.ada-page .aid-hero__title br,
	body.cicd-page .aid-hero__title br {
		display: inline;
	}

	body.ada-page .aid-hero__lede,
	body.cicd-page .aid-hero__lede {
		max-width: 18.5rem;
	}

	body.ada-page,
	body.cicd-page {
		overflow-x: clip;
	}

	.aid-insight__flow,
	.aid-diagnostics__cards,
	.aid-proven__stats {
		grid-template-columns: 1fr;
	}
	.aid-proven__stats li {
		padding-bottom: 20px;
	}
	.aid-proven__stats span, .aid-insight__flow p {
		max-width: 100%;
	}
	.aid-proven__stats li + li {
		padding-top: 1.25rem;
		border-top: 1px solid #e5e7eb;
		border-left: 0;
	}

	.aid-insight__intro > p,
	.aid-diagnostics__lede {
		font-size: 1.05rem;
	}

	.aid-intelligence__list li {
		gap: 1rem;
	}

	.aid-cta__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.aid-proven__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.5rem;
	}

	.aid-proven__list li,
	.aid-proven__list li:nth-child(4n + 1) {
		padding-top: 1.25rem;
		border-top: 1px solid #e5e7eb;
		border-left: 0;
	}

	.aid-proven__list li:first-child,
	.aid-proven__list li:nth-child(2) {
		padding-top: 0;
		border-top: 0;
	}
}

/* Small phones — under 480px */

@media (max-width: 479.98px) {
	body.aid-page {
		--aid-space: 40px;
	}

	.aid-hero__inner {
		padding-bottom: 2rem;
	}

	.aid-hero__actions .button,
	.aid-cta__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.aid-intelligence__icon {
		width: 3.25rem;
		height: 3.25rem;
	}

	.aid-intelligence__list p {
		padding-left: 0;
	}
}
