/* Product Features — four-up technology row on the ink band (design.md
   §Product page). Also defines the product page's scroll reveal (.tt-reveal),
   which product.js arms with .tt-reveal-ready so nothing is hidden without JS. */

.tt-product-features {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 !important;
	padding: 72px calc(50px + var(--tt-bleed));
	background: var(--wp--preset--color--ink, #141412);
	color: #fff;
}

.tt-product-features__item {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0 !important;
	padding: 0 clamp(20px, 2.31vw, 40px);
	box-shadow: inset 1px 0 0 #30302e;
}

.tt-product-features__item:first-child {
	box-shadow: none;
}

.tt-product-features__item > * {
	margin: 0 !important;
}

.tt-product-features__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 71px;
	height: 73px;
	background: rgba(207, 32, 38, 0.2);
}

.tt-product-features__icon img {
	display: block;
	width: 45px;
	height: 46px;
}

.tt-product-features__title {
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif) !important;
	font-weight: 400 !important;
	font-size: 22px !important;
	line-height: 1.2 !important;
	text-transform: none !important;
	color: #fff !important;
}

.tt-product-features__text {
	font-family: var(--wp--preset--font-family--encode-sans, "Encode Sans", sans-serif);
	font-size: 16px;
	line-height: 1.6;
	color: var(--wp--preset--color--grey-light, #adadad);
	text-wrap: pretty;
}

/* ---- Product page scroll reveal ------------------------------------------ */
.tt-reveal-ready .tt-product .tt-reveal {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tt-reveal-ready .tt-product .tt-reveal.is-in {
	opacity: 1;
	transform: none;
}

/* ---- Mobile --------------------------------------------------------------- */
@media (max-width: 1099px) {
	.tt-product-features {
		grid-template-columns: minmax(0, 1fr);
		padding: 40px 16px;
	}

	.tt-product-features__item {
		display: grid;
		grid-template-columns: 56px minmax(0, 1fr);
		grid-template-rows: auto 1fr;
		column-gap: 16px;
		row-gap: 6px;
		padding: 24px 0;
		box-shadow: inset 0 -1px 0 #30302e;
	}

	.tt-product-features__item:first-child {
		padding-top: 0;
		box-shadow: inset 0 -1px 0 #30302e;
	}

	.tt-product-features__item:last-child {
		padding-bottom: 0;
		box-shadow: none;
	}

	.tt-product-features__icon {
		grid-row: 1 / span 2;
		width: 56px;
		height: 58px;
	}

	.tt-product-features__icon img {
		width: 36px;
		height: 37px;
	}

	.tt-product-features__title {
		font-size: 19px !important;
	}

	.tt-product-features__text {
		font-size: 15px;
		line-height: 1.55;
	}

	.tt-reveal-ready .tt-product .tt-reveal {
		transform: translateY(28px);
	}
}
