/**
 * "AI Landing Page" template — page styles.
 *
 * Figma "AI-Led Quality Engineering" (pJ4EpZaVjiG9yjFUxWKTeR), page
 * "review v1", frame 68:7999, 1440 wide: content 1112 at x 164, sections
 * 132 apart. Loaded after page-ai-app-dev.css, whose hero, testimonial, logo
 * strip, result tiles, capability rows, CTA pill, industries, why-us and FAQ
 * are reused (same Figma components). The challenge cards, CTA strip,
 * outcomes and related-service cards are this template's own (derived from
 * the Legacy Modernisation page, kept separate so the two pages can change
 * independently).
 *
 * Motion (Figma prototype): testimonial, challenge cards, capability rows,
 * why-us and service cards are SMART_ANIMATE EASE_OUT 0.3s; result tiles
 * SLOW 1.25s and industry tiles BOUNCY (both from page-ai-app-dev.css).
 */

.tp-ailp {
	--ailp-ease: cubic-bezier(0, 0, 0.58, 1);
	--ailp-dur: 0.3s;
}

/* Section rhythm: 132px between blocks (Figma). Every white section owns the
   gap BELOW it and none above, so any section can be switched off without
   doubling or losing a gap; a white section right after one of the two blue
   bands gets the gap above instead (the bands pad themselves). */
.tp-ailp-results,
.tp-ailp-chal,
.tp-ailp-strip,
.tp-ailp-out,
.tp-ailp .tp-ailp-ind,
.tp-ailp .tp-ailp-why,
.tp-ailp .tp-ailp-faq {
	padding-top: 0;
	padding-bottom: var(--aiad-section);
}

.tp-ailp .tp-aiad-logos + section,
.tp-ailp .tp-aiad-hero + section:not(.tp-aiad-logos),
.tp-ailp .tp-ailp-sol + section:not(.tp-ailp-strip),
.tp-ailp .tp-ailp-next + section {
	padding-top: var(--aiad-section);
}

/* Review v2 (QA 2026-11-16): the challenge cards end the standard 132px
   above the blue band (251:1986 → 251:2021); v1's 102px rule is gone. */

.tp-ailp .tp-aiad-h2--42 {
	line-height: 42px;
}

/* -----------------------------------------------------------------------
   01 Hero — the AI App Dev hero; card at x 767. Testimonial switch =
   EASE_OUT 0.3s (1:4079 arrows).
   ----------------------------------------------------------------------- */
.tp-ailp .tp-aiad-testi {
	--aiad-swing-dur: 0.3s;
	--aiad-swing-ease: cubic-bezier(0, 0, 0.58, 1);
}

/* -----------------------------------------------------------------------
   03 Results — 68:8562: heading column 313 + 66 gap + two 355 tiles
   (C1 purple / C2 orange). Hover SLOW 1.25s (page-ai-app-dev.css).
   ----------------------------------------------------------------------- */
.tp-ailp-results__row {
	display: flex;
	align-items: flex-start;
	gap: 66px;
}

.tp-ailp-results__head {
	display: grid;
	gap: 16px;
	flex: 0 0 313px;
}

.tp-ailp-results__head .tp-aiad-h2 {
	max-width: 304px;
}

.tp-ailp .tp-ailp-results__grid {
	flex: 1 1 auto;
	grid-template-columns: repeat(2, 355px);
	justify-content: end;
	margin-top: 0;
}

/* Figma's white box hugs its content (196 tall); the figure then sits 90px down. */
.tp-ailp .tp-aiad-res__box {
	min-height: 196px;
}

/* "Enterprise UAT" tag (54:6757): a full pill; on hover it becomes the
   32/16/16/32 chip with a 20% white fill (54:6767), as on the orange tile. */
.tp-ailp .tp-aiad-res--purple .tp-aiad-res__tag {
	border-radius: 261px;
	padding-inline: 16px;
	transition: color var(--res-duration) var(--res-ease), background-color var(--res-duration) var(--res-ease), box-shadow var(--res-duration) var(--res-ease), border-radius var(--res-duration) var(--res-ease);
}

.tp-ailp .tp-aiad-res--purple:is(:hover, :focus-within) .tp-aiad-res__tag {
	border-radius: 32px 16px 16px 32px;
}

/* -----------------------------------------------------------------------
   04 Challenges — 68:8569. 3 × 354 cards, 24 gaps, 252 tall; hover
   (1:4897 → 1:4908): border #94bfff, white→#ebe9fe wash, block pattern
   (opacity .2) fading in at 159 / -20.
   ----------------------------------------------------------------------- */
.tp-ailp-chal__head {
	max-width: 863px;
	gap: 16px;
}

.tp-ailp-chal__head .tp-aiad-lead {
	max-width: 660px;
}

.tp-ailp-chal__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 42px;
}

.tp-ailp-chal__card {
	position: relative;
	min-height: 252px;
	padding: 32px;
	border: 1px solid #d5d7da;
	border-radius: 16px;
	overflow: hidden;
	isolation: isolate;
	background: #ffffff;
	transition: border-color var(--ailp-dur) var(--ailp-ease);
}

.tp-ailp-chal__card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background: linear-gradient(164deg, #ffffff 23%, #ebe9fe 100%);
	opacity: 0;
	transition: opacity var(--ailp-dur) var(--ailp-ease);
}

.tp-ailp-chal__grid-art {
	position: absolute;
	top: -21px;
	left: 159px;
	z-index: -1;
	width: 274px;
	max-width: none;
	opacity: 0;
	transition: opacity var(--ailp-dur) var(--ailp-ease);
	pointer-events: none;
}

.tp-ailp-chal__card:hover,
.tp-ailp-chal__card:focus-within {
	border-color: #94bfff;
}

.tp-ailp-chal__card:is(:hover, :focus-within)::before,
.tp-ailp-chal__card:is(:hover, :focus-within) .tp-ailp-chal__grid-art {
	opacity: 1;
}

.tp-ailp-chal__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 8px;
	background: #ebe9fe;
}

.tp-ailp-chal__icon img {
	width: 32px;
	height: 32px;
}

.tp-ailp-chal__title {
	margin-top: 24px !important;
	font: 500 20px/30px var(--tp-font-heading, 'Plus Jakarta Sans'), sans-serif !important;
	color: #080a0b !important;
}

.tp-ailp-chal__text {
	margin-top: 12px !important;
	color: #383838;
}

/* -----------------------------------------------------------------------
   05 Capabilities — 68:8607: the AI App Dev rows on #002f86. The blue
   field ends 132 below the last row; the CTA strip overlaps its bottom
   46px. Rows: EASE_OUT 0.3s (9:1062 → 9:1067). Line art 68:8626 / 68:8627
   (the right one hangs 216px past the field's bottom edge, clipped).
   ----------------------------------------------------------------------- */
.tp-ailp-sol {
	padding-bottom: var(--aiad-section);
}

.tp-ailp .tp-aiad-sol__lines--b {
	top: auto;
	bottom: -216px;
}

.tp-ailp-sol__head {
	max-width: 799px;
}

/* 68:8613: rows 24px apart (the 1px line sits under each row, then the
   gap); number and title centred on each other (one-line titles sit 14px
   lower than two-line ones). Phones use the swipe cards instead. */
@media (min-width: 768px) {
	.tp-ailp .tp-aiad-sol__row + .tp-aiad-sol__row {
		margin-top: 24px;
	}

	.tp-ailp .tp-aiad-sol__head {
		align-items: center;
		min-height: 60px;
	}
}

.tp-ailp .tp-aiad-sol__row::before,
.tp-ailp .tp-aiad-sol__img {
	transition: opacity var(--ailp-dur) var(--ailp-ease);
}

/* Plain hover at desktop widths (not gated on a hover-capable pointer, so
   touch laptops get it too); the image card is hidden below 1024 anyway. */
@media (min-width: 1024px) {
	.tp-ailp .tp-aiad-sol__row:hover::before { opacity: 0.09; }
	.tp-ailp .tp-aiad-sol__row:hover .tp-aiad-sol__img { opacity: 1; }
}

/* -----------------------------------------------------------------------
   06 CTA strip — 169:1652: 1112×358, r 42, #c45757 → #000279, three
   frosted panes and the photo
   (750×358 crop of 169:1667, anchored bottom-right; hidden on phones, doc).
   ----------------------------------------------------------------------- */
.tp-ailp-strip {
	position: relative;
	z-index: 1;
}

.tp-ailp-strip--overlap {
	margin-top: -46px;
}

.tp-ailp-strip__card {
	position: relative;
	min-height: 358px;
	border-radius: 42px;
	overflow: hidden;
	isolation: isolate;
	/* QA 2026-11-16: Figma's gradient handles are in the card's unit square
	   and its third handle skews it, so on the 1112×358 card the colour runs
	   almost top to bottom (salmon top, indigo bottom). Converted with all
	   three handles; matches the Figma render within 1 level. (Was 214°,
	   39% → 106%, which ran corner to corner.) */
	background: linear-gradient(176.2deg, #c45757 -0.7%, #000279 111.7%);
}

.tp-ailp-strip__glass {
	position: absolute;
	z-index: 0;
	width: 204px;
	height: 229px;
	border: 1.94px solid transparent;
	border-radius: 38.72px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%) padding-box,
		linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%) border-box;
	-webkit-backdrop-filter: blur(19.36px);
	backdrop-filter: blur(19.36px);
}

/* Figma x 669 / 769 / 869 in the 1112 card, kept from the right edge. */
.tp-ailp-strip__glass--1 { right: 239px; top: 192px; }
.tp-ailp-strip__glass--2 { right: 139px; top: 112px; }
.tp-ailp-strip__glass--3 { right: 39px; top: 32px; }

.tp-ailp-strip__photo {
	position: absolute;
	z-index: 1;
	right: 0;
	bottom: 0;
	width: 750px;
	max-width: none !important;
	height: 358px !important;
	object-fit: contain;
	object-position: right bottom;
	pointer-events: none;
}

.tp-ailp-strip__copy {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 743px; /* 62 inset + 681 copy box */
	max-width: 100%;
	padding: 92px 0 92px 62px;
}

.tp-ailp-strip__title {
	font: 700 36px/46px var(--tp-font-heading, 'Plus Jakarta Sans'), sans-serif !important;
	color: #ffffff !important;
	text-transform: capitalize;
}

.tp-ailp-strip__desc {
	max-width: 577px;
	margin-top: 12px !important;
	color: rgba(255, 255, 255, 0.8);
}

.tp-ailp-strip__copy .tp-aiad-cta {
	margin-top: 24px;
	text-transform: none;
}

/* -----------------------------------------------------------------------
   07 Outcomes — 175:2485: heading 551 + 16 + paragraph 545; 4 × 254
   items, 32 gaps; illustrations 149 tall, multiplied onto the white page
   as in Figma (their white boxes disappear).
   ----------------------------------------------------------------------- */
.tp-ailp-out__head {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	min-height: 92px; /* Figma's heading frame (title 84) */
}

.tp-ailp-out__head .tp-aiad-h2 {
	flex: 0 0 551px;
}

.tp-ailp-out__head .tp-aiad-lead {
	flex: 0 1 545px;
}

.tp-ailp-out__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
	margin-top: 42px;
}

.tp-ailp-out__img {
	display: block;
	width: auto !important;
	height: 149px !important;
	max-width: 100%;
	object-fit: contain;
	object-position: left center;
	mix-blend-mode: multiply;
}

.tp-ailp-out__title {
	/* Review v2 (QA 2026-11-16): two-line titles in the 254 column; the v1
	   overhang into the gap ("Operational resilience") is gone. */
	margin-top: 12px !important;
	font: 400 24px/28px var(--tp-font-heading, 'Plus Jakarta Sans'), sans-serif !important;
	color: #080a0b !important;
	text-transform: capitalize;
}

.tp-ailp-out__text {
	margin-top: 14px !important;
	color: #383838;
}

/* Review v2 251:2072: text boxes fill the 254 column, except the third
   (226). */
@media (min-width: 1024px) {
	.tp-ailp-out__item:nth-child(4n + 3) .tp-ailp-out__text {
		max-width: 226px;
	}
}

/* -----------------------------------------------------------------------
   08 Industries — 68:8586: heading 36/46, tiles 34px below it.
   09 Why us — 146:1544: 132 above and below.
   ----------------------------------------------------------------------- */
.tp-ailp .tp-aiad-ind__grid {
	margin-top: 34px;
}

/* -----------------------------------------------------------------------
   10 Related services — 68:8598 "Services": #17306d → #1f4ed8 → #3b82f6,
   132 / 164 padding; heading 514 + 64 + paragraph, 64 above the cards;
   354×399 white cards, 24 gaps. Hover (18:1685 → 18:1702, EASE_OUT 0.3s):
   white 21.4px glow, blurred white disc top right, block pattern bottom
   right, ↗ moves 6px left / 6px down into a 58×58 r16 dark tile.
   ----------------------------------------------------------------------- */
.tp-ailp-next {
	padding: var(--aiad-section) 0;
	background: linear-gradient(180deg, #17306d -3%, #1f4ed8 33%, #3b82f6 100%);
}

.tp-ailp-next__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 64px;
}

.tp-ailp-next__head .tp-aiad-h2 {
	flex: 0 1 514px;
}

.tp-ailp-next__head .tp-aiad-lead {
	flex: 0 1 502px;
}

.tp-ailp-next__grid {
	display: grid;
	grid-template-columns: repeat(var(--next-cols, 3), minmax(0, 1fr));
	gap: 24px;
	margin-top: 64px;
}

.tp-ailp-next__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: 399px;
	padding: 24px;
	border-radius: 24px;
	overflow: hidden;
	isolation: isolate;
	background: #ffffff;
	color: #000000;
	box-shadow: 0 4px 21.4px rgba(255, 255, 255, 0);
	transition: box-shadow var(--ailp-dur) var(--ailp-ease);
}

.tp-ailp-next__glow {
	position: absolute;
	z-index: -1;
	top: -68px;
	right: -61px;
	width: 227px;
	height: 227px;
	border-radius: 50%;
	background: #ffffff;
	filter: blur(75.6px);
	opacity: 0;
	transition: opacity var(--ailp-dur) var(--ailp-ease);
	pointer-events: none;
}

.tp-ailp-next__grid-art {
	position: absolute;
	z-index: -1;
	top: 304px;
	left: 133px;
	width: 161px;
	max-width: none;
	opacity: 0;
	transition: opacity var(--ailp-dur) var(--ailp-ease);
	pointer-events: none;
}

.tp-ailp-next__card:is(:hover, :focus-within) {
	box-shadow: 0 4px 21.4px #ffffff;
}

.tp-ailp-next__card:is(:hover, :focus-within) .tp-ailp-next__glow,
.tp-ailp-next__card:is(:hover, :focus-within) .tp-ailp-next__grid-art {
	opacity: 1;
}

/* Arrow: 58×58 box at the card's top-right (24 / 24). At rest only the
   arrow shows, where Figma's 46px frame is; on hover the dark tile fades
   in and the arrow eases to its centre. */
.tp-ailp-next__arrow {
	position: absolute;
	z-index: 1;
	top: 24px;
	right: 24px;
	width: 58px;
	height: 58px;
	border-radius: 16px;
	color: rgba(0, 0, 0, 0.32);
	transition: color var(--ailp-dur) var(--ailp-ease);
	pointer-events: none;
}

.tp-ailp-next__arrow::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(48.7deg, #282828 11.9%, #4d4d4d 91.5%);
	opacity: 0;
	transition: opacity var(--ailp-dur) var(--ailp-ease);
}

.tp-ailp-next__arrow svg {
	position: absolute;
	top: 11.5px;
	left: 23.5px;
	display: block;
	width: 23px;
	height: 23px;
	transition: transform var(--ailp-dur) var(--ailp-ease);
}

.tp-ailp-next__card:is(:hover, :focus-within) .tp-ailp-next__arrow {
	color: #ffffff;
}

.tp-ailp-next__card:is(:hover, :focus-within) .tp-ailp-next__arrow::before {
	opacity: 1;
}

.tp-ailp-next__card:is(:hover, :focus-within) .tp-ailp-next__arrow svg {
	transform: translate(-6px, 6px);
}

.tp-ailp-next__tag {
	display: block;
	align-self: stretch;
	padding: 10px 56px 10px 0;
	border-radius: 0 12px 12px 0;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0%, rgba(200, 212, 36, 0.077) 60%, rgba(200, 212, 36, 0.22) 88%);
	font: 600 16px/24px var(--tp-font-heading, 'Plus Jakarta Sans'), sans-serif;
	color: #000000;
}

.tp-ailp-next__icon {
	width: 62px;
	height: 62px;
	margin-top: 12px;
}

.tp-ailp-next__title {
	margin-top: 42px !important;
	font: 500 24px/32px var(--tp-font-heading, 'Plus Jakarta Sans'), sans-serif !important;
	color: #000000 !important;
}

.tp-ailp-next__text {
	margin-top: 32px !important;
	color: #000000;
}

/* The title link stretches over the whole card, so the card's hover is
   also the link's hover; the text keeps Figma's look. */
.tp-ailp-next__card.has-link {
	cursor: pointer;
}

.tp-ailp .tp-ailp-next__link,
.tp-ailp .tp-ailp-next__link:hover,
.tp-ailp .tp-ailp-next__link:focus,
.tp-ailp .tp-ailp-next__link:visited {
	color: inherit !important;
	text-decoration: none !important;
	outline: none;
}

.tp-ailp-next__link::after {
	content: "";
	position: absolute;
	z-index: 2;
	inset: 0;
	border-radius: inherit;
}

.tp-ailp-next__link:focus-visible::after {
	border-radius: 24px;
	box-shadow: inset 0 0 0 2px #2561ff;
}

/* -----------------------------------------------------------------------
   11 FAQ — 68:8535, 132 below the blue band. Smooth 0.3s open/close
   (data-wfd-faq-animated); the open question row (70px) animates with the
   answer so the tapped question doesn't jump.
   ----------------------------------------------------------------------- */

@media (min-width: 768px) {
	.tp-ailp-faq .tp-wfd-faq__btn {
		align-items: flex-start;
		min-height: 42px;
		transition: min-height 0.3s var(--tp-ease);
	}
}

/* Thank You slide heading (doc screenshot: "We’ve Received Your Request"). */
.tp-ailp-pop .tp-ailp-pop__done-head {
	margin: 0 0 8px;
	font: 600 22px/30px var(--tp-font-heading, 'Plus Jakarta Sans'), sans-serif;
	color: #080a0b;
	text-align: center;
}

/* =======================================================================
   Responsive. Desktop values above are the 1440 frame. Doc (mobile):
   case-study cards one after the other (FR-017); challenges, outcomes,
   why-us and service cards each in one swipeable row, both directions, no
   loop (FR-019/020, 033, 039, 044); capability rows without images, number
   + title then description, swipeable (FR-024–026, page-ai-app-dev.css);
   CTA-strip photo and why-us photo removed (FR-030, FR-038); headings,
   then paragraph, then cards (FR-032, FR-043).
   ======================================================================= */
@media (max-width: 1239px) {
	.tp-ailp-results__row {
		gap: 40px;
	}

	.tp-ailp-results__head {
		flex: 1 1 260px;
	}

	.tp-ailp .tp-ailp-results__grid {
		flex: 0 1 734px;
		grid-template-columns: repeat(2, minmax(0, 355px));
	}

	.tp-ailp-out__head .tp-aiad-h2 {
		flex: 0 1 551px;
	}
}

@media (max-width: 1023px) {
	/* Results: heading above, the two tiles side by side. */
	.tp-ailp-results__row {
		flex-direction: column;
		gap: 32px;
	}

	.tp-ailp-results__head {
		flex: none;
		max-width: 640px;
	}

	.tp-ailp-results__head .tp-aiad-h2 {
		max-width: none;
	}

	.tp-ailp .tp-ailp-results__grid {
		display: grid;
		flex: none;
		width: 100%;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-inline: 0;
		padding-inline: 0;
		overflow: visible;
		scroll-snap-type: none;
	}

	.tp-ailp .tp-ailp-results__grid .tp-aiad-res {
		flex: none;
	}

	.tp-ailp-chal__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* Blue band still runs under the top of the CTA strip. */
	.tp-ailp-strip--overlap {
		margin-top: -40px;
	}

	.tp-ailp-strip__copy {
		width: min(681px, calc(100% - 340px));
		padding-left: 40px;
	}

	.tp-ailp-strip__photo {
		right: -180px;
	}

	.tp-ailp-strip__glass--1 { right: 130px; }
	.tp-ailp-strip__glass--2 { right: 30px; }
	.tp-ailp-strip__glass--3 { right: -70px; }

	.tp-ailp-out__head,
	.tp-ailp-next__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.tp-ailp-out__head .tp-aiad-h2,
	.tp-ailp-out__head .tp-aiad-lead,
	.tp-ailp-next__head .tp-aiad-h2,
	.tp-ailp-next__head .tp-aiad-lead {
		flex: none;
		max-width: 640px;
	}

	.tp-ailp-out__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 48px;
	}

	.tp-ailp-out__text {
		max-width: 320px;
	}

	/* Tablet: up to 3 cards stay in one row; 4 go two by two. */
	.tp-ailp-next__grid {
		grid-template-columns: repeat(var(--next-tcols, 2), minmax(0, 1fr));
		gap: 16px;
		margin-top: 40px;
	}

	.tp-ailp-next__card {
		min-height: 360px;
	}

	.tp-ailp .tp-aiad-ind__grid {
		margin-top: 32px;
	}
}

/* Phones */
@media (max-width: 767px) {
	.tp-ailp .tp-aiad-h2--42,
	.tp-ailp .tp-aiad-h2--46 {
		line-height: 36px;
	}

	/* Case studies one after the other (doc). */
	.tp-ailp .tp-ailp-results__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	/* One swipeable row each: challenges, outcomes, why us, related services. */
	.tp-ailp-chal__grid,
	.tp-ailp-out__grid,
	.tp-ailp-next__grid,
	.tp-ailp .tp-aiad-why__list {
		display: flex;
		gap: 16px;
		margin-inline: -20px;
		padding: 0 20px 4px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 20px;
		overscroll-behavior-x: contain;
		-webkit-overflow-scrolling: touch;
	}

	/* Explicit widths, not only flex-basis: Safari sizes these rows from content. */
	.tp-ailp-chal__card,
	.tp-ailp-next__card,
	.tp-ailp .tp-aiad-why__card {
		flex: 0 0 280px;
		width: 280px;
		scroll-snap-align: start;
	}

	.tp-ailp-out__item {
		flex: 0 0 240px;
		width: 240px;
		scroll-snap-align: start;
	}

	.tp-ailp-chal__card {
		padding: 28px 24px;
	}

	.tp-ailp-chal__grid,
	.tp-ailp-out__grid {
		margin-top: 32px;
	}

	.tp-ailp-out__text {
		max-width: none;
	}

	.tp-ailp-out__title {
		margin-right: 0;
	}

	.tp-ailp-next__card {
		flex-basis: 266px;
		width: 266px;
		min-height: 0;
	}

	.tp-ailp-next__grid {
		margin-top: 32px;
	}

	/* CTA strip: no photo (doc); copy fills the card. */
	.tp-ailp-strip--overlap {
		margin-top: -32px;
	}

	.tp-ailp-strip__photo,
	.tp-ailp-strip__glass {
		display: none;
	}

	.tp-ailp-strip__card {
		min-height: 0;
		border-radius: 28px;
	}

	.tp-ailp-strip__copy {
		width: 100%;
		padding: 40px 24px;
	}

	.tp-ailp-strip__title {
		font-size: 28px !important;
		line-height: 36px !important;
	}

	.tp-ailp-strip__copy .tp-aiad-cta {
		max-width: 100%;
		white-space: normal;
		height: auto;
		min-height: 44px;
		text-align: left;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tp-ailp-faq .tp-wfd-faq__btn {
		transition: none;
	}
}

/* =======================================================================
   QA sheet "Quality Engineering.xlsx" — 2026-11-16. Design: the client's
   copy of the Figma file, LZXw2riUblTkjJx3ehrcq7, page "review v2",
   frame 251:1445.
   ======================================================================= */

/* Rows 17–20: headings and the case-study button keep the editor's
   capitals ("Shows Up in the Results", "Quality by", "Part of the",
   "Read the Case Study"); the shared AI App Dev styles capitalise every
   word. */
.tp-ailp .tp-aiad-h2,
.tp-ailp .tp-aiad-res__btn {
	text-transform: none;
}

/* Row 14: the blue band ends at the middle of the CTA card at every width
   and whatever the card's height (review v2: the blue field 251:2021 ends
   179px into the 358px card 251:2052). The card no longer overlaps the blue
   section; instead the strip is a two-row grid whose equal rows split the
   card in half, and the top row carries the band. It repeats the section's
   blue and its line art (sol-lines-b: 606 × 645, left 50% + 316px), so the
   art runs on without a seam. v2 moved that art down with the longer band
   (251:2041 hangs 215px below the band: its bottom is 179 + 216 = 395px
   below the card's top). Both pieces are anchored to the card's top, so
   they stay joined whatever the card's height. The card keeps its place
   below the last capability row (overlap 46 / 40 / 32 px moved into the
   section's bottom padding). */
.tp-ailp .tp-ailp-sol--strip {
	padding-bottom: calc(var(--aiad-section) - 46px);
}

.tp-ailp .tp-ailp-sol--strip .tp-aiad-sol__lines--b {
	bottom: -395px;
}

.tp-ailp .tp-ailp-strip--overlap {
	display: grid;
	grid-template-rows: 1fr 1fr;
	margin-top: 0;
}

.tp-ailp .tp-ailp-strip--overlap::before {
	content: "";
	grid-area: 1 / 1 / 2 / 2;
	/* x: (W - 606) × 50% + 619 = W / 2 + 316; y: 395 - 645. */
	background: url("../images/ai-landing/sol-lines-b.svg") no-repeat calc(50% + 619px) -250px / 606px 645px, #0b3889;
}

.tp-ailp .tp-ailp-strip--overlap > .tp-aiad-wrap {
	grid-area: 1 / 1 / 3 / 2;
	position: relative;
	z-index: 1;
}

/* Row 10: four service cards (review v2 323:1665, cards s1–s4 = the Legacy
   Mod component): 266 wide with 16px gaps; the title sits 32 below the
   icon and the hover glow at top -103 / right -77 (Legacy Mod values). */
.tp-ailp .tp-ailp-next__grid--4 .tp-ailp-next__title {
	max-width: 218px; /* Figma's text column: titles wrap as designed on tablets too, so every card's text lines up */
	margin-top: 32px !important;
}

/* Row 9: outcome titles keep Figma's 254 column on tablets as well, so
   "Fewer escaped defects" wraps like the others and the texts line up. */
.tp-ailp .tp-ailp-out__title {
	max-width: 254px;
}

.tp-ailp .tp-ailp-next__grid--4 .tp-ailp-next__glow {
	top: -103px;
	right: -77px;
}

@media (min-width: 1024px) {
	.tp-ailp .tp-ailp-next__grid--4 {
		gap: 16px;
	}
}

@media (max-width: 1023px) {
	.tp-ailp .tp-ailp-sol--strip {
		padding-bottom: calc(var(--aiad-section) - 40px);
	}
}

/* Phones: the section's white glow reaches its bottom edge, so it is
   anchored to that edge (same place as before at 390px, where the section
   is 563 tall: centres 462 / 697 from the top) and the band continues it
   from the same points. */
@media (max-width: 767px) {
	.tp-ailp .tp-ailp-sol--strip {
		padding-bottom: calc(var(--aiad-section) - 32px);
		background:
			radial-gradient(circle 1000px at calc(50% - 733px) calc(100% - 101px), rgba(255, 255, 255, 0.13) 0, rgba(255, 255, 255, 0.09) 300px, rgba(255, 255, 255, 0.05) 520px, rgba(255, 255, 255, 0.02) 760px, rgba(255, 255, 255, 0) 1000px),
			radial-gradient(circle 1000px at calc(50% + 611px) calc(100% + 134px), rgba(255, 255, 255, 0.13) 0, rgba(255, 255, 255, 0.09) 300px, rgba(255, 255, 255, 0.05) 520px, rgba(255, 255, 255, 0.02) 760px, rgba(255, 255, 255, 0) 1000px),
			#0b3889;
	}

	.tp-ailp .tp-ailp-strip--overlap::before {
		background:
			url("../images/ai-landing/sol-lines-b.svg") no-repeat calc(50% + 619px) -250px / 606px 645px,
			radial-gradient(circle 1000px at calc(50% - 733px) -101px, rgba(255, 255, 255, 0.13) 0, rgba(255, 255, 255, 0.09) 300px, rgba(255, 255, 255, 0.05) 520px, rgba(255, 255, 255, 0.02) 760px, rgba(255, 255, 255, 0) 1000px),
			radial-gradient(circle 1000px at calc(50% + 611px) 134px, rgba(255, 255, 255, 0.13) 0, rgba(255, 255, 255, 0.09) 300px, rgba(255, 255, 255, 0.05) 520px, rgba(255, 255, 255, 0.02) 760px, rgba(255, 255, 255, 0) 1000px),
			#0b3889;
	}
}
