/* Homepage capability showcase. */
.om-cap-tabs-section {
	padding: 0;
	background: var(--om-paper);
	color: var(--om-ink);
}

.om-cap-showcase {
	border-top: 1px solid var(--om-line);
}

.om-cap-showcase__row {
	min-height: 430px;
	padding: 36px 0;
	display: grid;
	grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
	gap: clamp(46px, 7vw, 108px);
	align-items: center;
	border-bottom: 1px solid var(--om-line);
}

.om-cap-showcase__copy {
	padding-left: 8px;
}

.om-cap-showcase__copy h2 {
	max-width: 560px;
	margin: 0 0 18px;
	font-family: var(--om-font-serif);
	font-size: clamp(32px, 3.05vw, 46px);
	font-weight: 400;
	line-height: 1.06;
	letter-spacing: -.035em;
}

.om-cap-showcase__copy p {
	max-width: 560px;
	margin: 0;
	color: #5f626a;
	font-family: var(--om-font-grot);
	font-size: clamp(16px, 1.25vw, 19px);
	line-height: 1.5;
}

.om-cap-showcase__link {
	margin-top: 24px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--om-ink);
	font-family: var(--om-font-grot);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.om-cap-showcase__link span {
	color: var(--om-flare);
	transition: transform .18s ease;
}

.om-cap-showcase__link:hover span,
.om-cap-showcase__link:focus-visible span {
	transform: translateX(4px);
}

.om-growth-map {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border: 1px solid var(--om-line);
}

.om-growth-map > div {
	min-height: 178px;
	padding: 22px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	border-right: 1px solid var(--om-line);
	border-bottom: 1px solid var(--om-line);
}

.om-growth-map > div:nth-child(2n) {
	border-right: 0;
}

.om-growth-map > div:nth-last-child(-n+2) {
	border-bottom: 0;
}

.om-growth-map strong {
	margin-top: 16px;
	font-family: var(--om-font-grot);
	font-size: 16px;
	font-weight: 700;
}

.om-growth-map small {
	margin-top: 5px;
	color: #696c72;
	font-family: var(--om-font-grot);
	font-size: 13px;
	line-height: 1.35;
}

.om-growth-icon {
	width: 62px;
	height: 42px;
	position: relative;
	display: block;
	color: var(--om-flare);
}

.om-growth-icon--acquisition {
	display: flex;
	align-items: flex-end;
	gap: 5px;
}

.om-growth-icon--acquisition i {
	width: 10px;
	height: 14px;
	background: currentColor;
}

.om-growth-icon--acquisition i:nth-child(2) {
	height: 25px;
}

.om-growth-icon--acquisition i:nth-child(3) {
	height: 40px;
}

.om-growth-icon--retention {
	border: 1px solid currentColor;
	border-radius: 50%;
}

.om-growth-icon--retention i:first-child {
	width: 22px;
	height: 22px;
	position: absolute;
	top: 9px;
	left: 19px;
	border: 1px solid currentColor;
	border-radius: 50%;
}

.om-growth-icon--retention i:last-child {
	width: 8px;
	height: 8px;
	position: absolute;
	top: -4px;
	left: 26px;
	background: currentColor;
	border-radius: 50%;
}

.om-growth-icon--measurement::before,
.om-growth-icon--measurement::after {
	position: absolute;
	background: currentColor;
	content: "";
}

.om-growth-icon--measurement::before {
	width: 1px;
	height: 42px;
	left: 30px;
}

.om-growth-icon--measurement::after {
	width: 62px;
	height: 1px;
	top: 20px;
}

.om-growth-icon--measurement i {
	width: 8px;
	height: 8px;
	position: absolute;
	background: currentColor;
	border-radius: 50%;
}

.om-growth-icon--measurement i:first-child {
	top: 4px;
	left: 13px;
}

.om-growth-icon--measurement i:last-child {
	right: 6px;
	bottom: 4px;
}

.om-growth-icon--operations {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.om-growth-icon--operations::before {
	height: 1px;
	position: absolute;
	inset: 20px 8px auto;
	background: currentColor;
	content: "";
}

.om-growth-icon--operations i {
	width: 13px;
	height: 13px;
	z-index: 1;
	background: var(--om-paper);
	border: 2px solid currentColor;
	border-radius: 50%;
}

.om-ai-workflow {
	min-height: 342px;
	padding: 46px;
	display: grid;
	grid-template-columns: 1fr 30px 1fr 30px 1fr 30px 1fr;
	align-items: center;
	background: var(--om-ink);
	color: var(--om-paper);
}

.om-ai-workflow > div {
	min-width: 0;
	min-height: 128px;
	padding: 18px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border: 1px solid rgba(246, 244, 238, .22);
}

.om-ai-workflow span {
	color: var(--om-slate);
	font-family: var(--om-font-grot);
	font-size: 12px;
}

.om-ai-workflow strong {
	font-family: var(--om-font-grot);
	font-size: 15px;
	font-weight: 500;
}

.om-ai-workflow > i {
	height: 1px;
	background: var(--om-flare);
}

.om-ai-workflow__human {
	outline: 1px solid var(--om-flare);
	outline-offset: 5px;
}

.om-product-stack {
	min-height: 350px;
	position: relative;
	display: grid;
	align-content: center;
	justify-items: center;
}

.om-product-stack div {
	width: min(470px, 82%);
	min-height: 92px;
	padding: 20px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--om-paper);
	background: var(--om-ink);
	border: 1px solid rgba(246, 244, 238, .2);
	box-shadow: 0 18px 35px rgba(16, 17, 20, .15);
	transition: transform .22s ease;
}

.om-product-stack div:nth-child(2) {
	transform: translateX(7%) rotate(-1deg);
	background: #1b1c20;
}

.om-product-stack div:nth-child(3) {
	transform: translateX(-4%) rotate(1deg);
	background: var(--om-flare);
	border-color: transparent;
}

.om-product-stack:hover div:first-child {
	transform: translateY(-4px);
}

.om-product-stack:hover div:nth-child(2) {
	transform: translateX(7%) translateY(-2px) rotate(-1deg);
}

.om-product-stack:hover div:nth-child(3) {
	transform: translateX(-4%) translateY(3px) rotate(1deg);
}

.om-product-stack span {
	color: #b8bac0;
	font-family: var(--om-font-grot);
	font-size: 13px;
}

.om-product-stack div:last-child span {
	color: #fff;
}

.om-product-stack strong {
	font-family: var(--om-font-grot);
	font-size: 16px;
	font-weight: 500;
}

@media (max-width: 980px) {
	.om-cap-showcase__row {
		grid-template-columns: 1fr;
		gap: 30px;
		padding: 54px 0;
	}

	.om-cap-showcase__copy {
		padding-left: 0;
	}

	.om-cap-showcase__copy h2,
	.om-cap-showcase__copy p {
		max-width: 720px;
	}
}

@media (max-width: 767px) {
	.om-cap-showcase__row {
		min-height: 0;
		padding: 48px 0;
		gap: 28px;
	}

	.om-cap-showcase__copy h2 {
		font-size: clamp(30px, 9.5vw, 40px);
	}

	.om-cap-showcase__copy p {
		font-size: 16px;
	}

	.om-growth-map > div {
		min-height: 142px;
		padding: 16px;
	}

	.om-growth-map strong {
		font-size: 14px;
	}

	.om-growth-map small {
		font-size: 11px;
	}

	.om-ai-workflow {
		min-height: 230px;
		padding: 22px 14px;
		grid-template-columns: 1fr 10px 1fr 10px 1fr 10px 1fr;
	}

	.om-ai-workflow > div {
		min-height: 108px;
		padding: 12px 9px;
	}

	.om-ai-workflow span {
		font-size: 10px;
	}

	.om-ai-workflow strong {
		font-size: 12px;
	}

	.om-ai-workflow__human {
		outline-offset: 3px;
	}

	.om-product-stack {
		min-height: 300px;
	}

	.om-product-stack div {
		width: 90%;
		min-height: 78px;
		padding: 17px;
	}

	.om-product-stack span {
		font-size: 12px;
	}

	.om-product-stack strong {
		font-size: 14px;
	}
}

@media (max-width: 430px) {
	.om-growth-map > div {
		min-height: 132px;
		padding: 14px;
	}

	.om-growth-icon {
		transform: scale(.82);
		transform-origin: left bottom;
	}

	.om-ai-workflow {
		padding: 18px 10px;
	}

	.om-ai-workflow > div {
		padding: 10px 7px;
	}

	.om-ai-workflow strong {
		font-size: 11px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.om-cap-showcase__link span,
	.om-product-stack div {
		transition: none;
	}
}

/* Capability navigator, shared segmented-menu system. */
.om-capability-nav {
	position: sticky;
	top: 83px;
	z-index: 15;
	padding: 10px 0 12px;
	background: var(--om-ink);
}

.admin-bar .om-capability-nav {
	top: 115px;
}

.om-capability-nav__inner {
	width: min(calc(100% - 48px), 1204px);
	margin: 0 auto;
	padding: 8px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	background: var(--om-paper-3);
	border: 1px solid var(--om-line);
	border-radius: 12px;
}

.om-capability-nav a {
	min-width: 0;
	min-height: 52px;
	padding: 16px 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--om-ink);
	border: 0;
	border-radius: 0;
	font-family: var(--om-font-grot);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color .18s ease, color .18s ease;
}

.om-capability-nav a::after {
	display: none;
}

.om-capability-nav a.is-active {
	color: #fff;
	background: var(--om-flare);
	font-weight: 700;
}

.om-capability-nav a:not(.is-active):hover {
	background: rgba(16, 17, 20, .045);
}

.om-capability-nav a:focus-visible {
	outline: 2px solid var(--om-flare);
	outline-offset: -3px;
}

.om-cap-showcase__row {
	scroll-margin-top: 190px;
}

@media (max-width: 782px) {
	.admin-bar .om-capability-nav {
		top: 123px;
	}
}

@media (max-width: 767px) {
	.om-capability-nav {
		top: 77px;
		padding: 6px 0 8px;
	}

	.admin-bar .om-capability-nav {
		top: 123px;
	}

	.om-capability-nav__inner {
		padding: 5px;
		gap: 4px;
		border-radius: 10px;
	}

	.om-capability-nav a {
		min-height: 56px;
		padding: 8px 4px;
		font-size: 10.5px;
		line-height: 1.15;
	}
}

@media (prefers-reduced-motion: reduce) {
	.om-capability-nav a {
		transition: none;
	}
}

@media (max-width: 340px) {
	.om-capability-nav a {
		font-size: 9.5px;
	}
}

/* Capability rail, flush header handoff. */
.om-capability-nav {
	padding: 0;
	background: transparent;
	border-bottom: 0;
}

.admin-bar .om-capability-nav {
	top: 83px;
}

@media (max-width: 1024px) {
	.om-capability-nav,
	.admin-bar .om-capability-nav {
		top: 77px;
	}
}
