/* --------------------------------------------------------------------------
   Manrope, self-hosted.

   This file used to open with `@import url('https://fonts.googleapis.com/…')`.
   The standalone preview stripped it, but the PLUGIN enqueues this CSS as-is,
   so the live page had to fetch this file, parse it, discover the @import,
   resolve a third-party host, fetch a second stylesheet, and only then fetch
   the font — four serial round trips before text could paint in the right
   face. That is the flash of wrong type on every load.

   Manrope is a VARIABLE font, and Google serves one identical file for all
   five weights this page uses — so a single @font-face with a 400-800 range
   replaces five downloads: 121 KB -> 25 KB, five requests -> one, no
   third-party hop, and no GDPR question on a page carrying ad spend.

   Latin subset only; the page is English.
   -------------------------------------------------------------------------- */
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url('../fonts/manrope-variable.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Clarity Comprehensive API Integrations — campaign landing page
   Built from Figma node 3240:632 (Clarity Website / API).

   Everything is scoped under .cai so nothing leaks into the host theme, and
   every declaration that Elementor's own resets would otherwise win is kept
   inside that scope rather than flagged !important.

   Type scale and palette follow the Clarity Type Scale Reference, with the
   two section-heading sizes taken from this Figma frame (56px hero / 40px
   section) rather than the 40/30 pair in the general reference.

     Display   56px / 800 ExtraBold / -0.03em
     Claim     64px / 800 ExtraBold / UPPERCASE / Green   <- page's loudest type
     H2        40px / 700 Bold      / -0.02em
     H3        22px / 700 Bold
     Body Lg   18px / 400
     Body Md   16px / 26px / 400
     Tag       11px / 700 UPPERCASE
   ========================================================================== */

.cai {
	/* Brand */
	--cai-navy: #00315a;
	--cai-navy-dark: #001b33;
	--cai-blue: #23498a;
	--cai-blue-mid: #3a6db5;
	--cai-blue-light: #bacbda;
	--cai-blue-pale: #dbeafe;     /* pill fill */
	--cai-green: #679c5b;
	--cai-green-dark: #4f7d45;
	--cai-green-deep: #3f6537;

	/* Brand green #679C5B carries only 3.24:1 against white, so white text on
	   it fails WCAG AA (4.5:1) at every size this page uses, and green text on
	   white fails too. --cai-green-ink is the darkest green in the palette and
	   reaches 4.69:1, so anything that pairs green with white TEXT uses this
	   instead. #679C5B stays the accent for borders, marks and large numerals,
	   where 3:1 is the applicable threshold. NOTE: this affects the other
	   Clarity landing pages too — they use #679C5B as a button fill. */
	--cai-green-ink: #4f7d45;
	--cai-black: #000;
	--cai-muted: #6b7a99;
	--cai-white: #fff;
	/* #FBFBFB (the Figma value) sits too close to white — the band boundary
	   against the neighbouring white sections was effectively invisible. */
	--cai-offwhite: #f7f9fc;
	--cai-tint: #f3f8ff;
	--cai-line: #e4e8f0;

	/* Type */
	--cai-fs-display: 56px;
	--cai-fs-claim: 64px;
	--cai-fs-h2: 40px;
	--cai-fs-h3: 22px;
	--cai-fs-body-lg: 18px;
	--cai-fs-body: 16px;
	--cai-fs-sm: 13px;
	--cai-fs-tag: 11px;
	--cai-fs-menu: 14px;

	/* Geometry */
	--cai-radius: 20px;
	--cai-radius-sm: 12px;
	--cai-wrap: 1240px;
	--cai-gutter: 24px;
	--cai-shadow-sm: 0 4px 12px rgba(35, 73, 138, 0.05);
	--cai-shadow-md: 0 10px 30px rgba(35, 73, 138, 0.08);
	--cai-shadow-lg: 0 24px 60px rgba(0, 49, 90, 0.16);

	box-sizing: border-box;
	font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: var(--cai-fs-body);
	line-height: 26px;
	font-weight: 400;
	color: var(--cai-black);
	-webkit-font-smoothing: antialiased;
	text-align: left;
}

.cai.cai *,
.cai.cai *::before,
.cai.cai *::after { box-sizing: inherit; }

/* `.cai.cai` doubles the class to score (0,2,0), which is what it takes to beat
   a host theme's element rules. Elementor emits its global kit as
   `.elementor-kit-<id> h1` — (0,1,1) — so a zero-specificity `:where()` reset
   (the earlier version here) lost every collision: headings fell back to theme
   sizes, lists regained their bullets and indent, paragraphs regained margins.
   The elements stay inside `:where()` so they contribute nothing, and every
   component rule below is likewise (0,2,0) but later in the file, so those
   still win over this reset. */
.cai.cai.cai :where(h1, h2, h3, h4, p, ul, ol, li, figure, figcaption) {
	margin: 0;
	padding: 0;
	/* The kit sets font-family directly on h1/h2/h3, and a direct declaration
	   always beats the family inherited from .cai. */
	font-family: inherit;
}

.cai.cai.cai :where(ul, ol) { list-style: none; }

.cai.cai.cai :where(img) { max-width: 100%; }

/* Form controls do not inherit type by default, and Elementor styles bare
   <button> and <input> as theme widgets — which turned the fan diagram's
   platform nodes into solid blue theme buttons. Neutralise the host here;
   each component then paints its own look. */
.cai.cai.cai :where(button, input, select, textarea) {
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
	text-transform: none;
	background: none;
	border: 0;
	border-radius: 0;
	padding: 0;
	margin: 0;
}

.cai.cai .cai-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* --------------------------------------------------------------------------
   Bands and the full-bleed break-out

   --cai-vw is set by the script to documentElement.clientWidth, i.e. the
   viewport WITHOUT the scrollbar. Using 100vw here instead would overflow the
   page by the scrollbar's width and produce a horizontal scrollbar; we cannot
   clip that away on .cai because the bands are meant to escape .cai's box.
   With no JS the 100vw fallback applies, which most themes already absorb.
   -------------------------------------------------------------------------- */
.cai.cai .cai--bleed { margin-inline: calc(50% - var(--cai-vw, 100vw) / 2); }

.cai.cai .cai-band {
	width: 100%;
	padding: 100px var(--cai-gutter);
}

.cai.cai .cai-band--white { background: var(--cai-white); }
.cai.cai .cai-band--offwhite { background: var(--cai-offwhite); }
.cai.cai .cai-band--tint { background: var(--cai-tint); }
.cai.cai .cai-band--blue { background: var(--cai-blue); }

/* House hero: the same 135deg navy ramp as the Frost, enav and true landing
   pages, rather than the Figma frame's flat fill. Padded for the fixed nav. */
.cai.cai .cai-band--hero {
	background: linear-gradient(135deg, #001b33 0%, #00315a 50%, #1a3a68 100%);
	position: relative;
	overflow: hidden;
}

/* Deliberately (0,2,0). The responsive blocks below reset `.cai-band` with a
   `padding` SHORTHAND, which at equal specificity and a later source position
   would wipe the hero's top padding and slide the headline under the fixed
   nav. Scoping with .cai keeps the hero's own padding authoritative, so only
   the breakpoints that genuinely need a different value restate it. */
.cai.cai .cai-band--hero {
	padding-top: 168px;
	padding-bottom: 104px;
}

/* Soft green bloom, bottom-right — lifts the flat ramp without adding chrome. */
.cai.cai .cai-band--hero::after {
	content: '';
	position: absolute;
	right: -10%;
	bottom: -40%;
	width: 60%;
	padding-bottom: 60%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(103, 156, 91, 0.22) 0%, rgba(103, 156, 91, 0) 70%);
	pointer-events: none;
}

.cai.cai .cai-band--hero > .cai-wrap { position: relative; z-index: 1; }

/* Sampled across the Figma CTA band: blue at both edges, green cresting just
   past centre. Purely horizontal — the vertical samples were flat.

   The crest is the darker --cai-green-ink green rather than the Figma's
   #679C5B: white body copy sits on this band, and over a #679C5B crest that
   is only 3.6:1. With this ramp the lightest point the text crosses is 5.0:1.
   The mid stops are darkened to match so the ramp stays smooth. */
.cai.cai .cai-band--gradient {
	background: linear-gradient(90deg, #23498a 0%, #3d6068 32%, #4f7d45 58%, #3d6068 84%, #2b5288 100%);
}

.cai.cai .cai-wrap {
	max-width: var(--cai-wrap);
	margin: 0 auto;
	width: 100%;
}

.cai.cai .cai-center { text-align: center; }

/* --------------------------------------------------------------------------
   Header — slim campaign nav: logo plus one CTA, transparent over the hero
   and solid once scrolled, matching the other Clarity landing pages.

   The site's main mega-menu deliberately is NOT used here; a campaign page
   keeps a single exit so the CTA stays the only competing click.
   -------------------------------------------------------------------------- */
.cai.cai .cai-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	padding: 0 48px;
	border-bottom: 1px solid transparent;
	transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.cai.cai .cai-nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: var(--cai-wrap);
	height: 88px;
	margin: 0 auto;
	transition: height 0.35s ease;
}

.cai.cai .cai-nav__logo {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}

/* No `display` here on purpose. `.cai-nav__logo img` scores (0,1,1) and would
   outrank the single-class swap rules below (0,1,0), showing both logos at
   once — the same specificity trap as the margin reset at the top of this
   file. Sizing only; visibility is handled by the class rules. */
.cai.cai .cai-nav__logo img {
	width: 186px;
	height: 38px;
	transition: width 0.35s ease, height 0.35s ease;
}

/* Two logo files rather than a CSS filter: the wordmark is two-tone, so a
   brightness/invert trick would flatten the green rule between the words. */
.cai.cai .cai-nav__logo-light { display: block; }
.cai.cai .cai-nav__logo-dark { display: none; }

.cai.cai .cai-nav.is-scrolled {
	background: var(--cai-white);
	border-bottom-color: var(--cai-line);
	box-shadow: 0 4px 20px rgba(0, 49, 90, 0.08);
}

.cai.cai .cai-nav.is-scrolled .cai-nav__inner { height: 72px; }
.cai.cai .cai-nav.is-scrolled .cai-nav__logo-light { display: none; }
.cai.cai .cai-nav.is-scrolled .cai-nav__logo-dark { display: block; }

.cai.cai .cai-nav__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-height: 42px;
	padding: 0 22px;
	border: 1.5px solid transparent;
	border-radius: 10px;
	background: var(--cai-green-ink);
	font-size: var(--cai-fs-menu);
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--cai-white);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.cai.cai .cai-nav__cta:hover,
.cai.cai .cai-nav__cta:focus-visible {
	background: var(--cai-green-deep);
	color: var(--cai-white);
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(79, 125, 69, 0.3);
}

/* Reading-progress hairline along the bottom edge of the nav. */
.cai.cai .cai-nav__progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	overflow: hidden;
}

.cai.cai .cai-nav__progress span {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, var(--cai-green) 0%, var(--cai-blue-mid) 100%);
	transform: scaleX(0);
	transform-origin: left center;
}

/* --------------------------------------------------------------------------
   Eyebrow pill (house pattern)
   -------------------------------------------------------------------------- */
.cai.cai .cai-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 7px 16px 7px 13px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.08);
	font-size: var(--cai-fs-tag);
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.2;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.95);
}

.cai.cai .cai-eyebrow__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--cai-green);
	box-shadow: 0 0 0 3px rgba(103, 156, 91, 0.28);
}

.cai.cai .cai-eyebrow + .cai-display { margin-top: 24px; }

.cai.cai .cai-measure {
	max-width: 900px;
	margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */
.cai.cai .cai-display {
	font-size: var(--cai-fs-display);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--cai-blue);
}

.cai.cai .cai-display--onnavy { color: var(--cai-white); }

.cai.cai .cai-h2 {
	font-size: var(--cai-fs-h2);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.02em;
	color: var(--cai-blue);
}

.cai.cai .cai-h2--onnavy { color: var(--cai-white); }

.cai.cai .cai-lead {
	font-size: var(--cai-fs-body-lg);
	line-height: 1.5;
	margin-top: 28px;
}

.cai.cai .cai-body {
	font-size: var(--cai-fs-body);
	line-height: 26px;
	margin-top: 20px;
}

.cai.cai .cai-lead--onnavy,
.cai.cai .cai-body--onnavy { color: rgba(255, 255, 255, 0.92); }

/* On the CTA band the ground is a green-crested ramp, not navy, so the 8%
   softening above costs real contrast: it measures 4.37:1 over the crest
   against a 4.5:1 requirement. Opaque white takes the same text to 4.68:1. */
.cai.cai .cai-band--gradient .cai-lead--onnavy,
.cai.cai .cai-band--gradient .cai-body--onnavy,
.cai.cai .cai-band--gradient .cai-microcopy { color: var(--cai-white); }

.cai.cai .cai-h2 + .cai-body,
.cai.cai .cai-h2 + .cai-pills { margin-top: 24px; }

/* The kicker under the fan diagram — a claim, not body copy. */
.cai.cai .cai-kicker {
	margin-top: 20px;
	font-size: var(--cai-fs-body-lg);
	font-weight: 700;
	color: var(--cai-blue);
}

.cai.cai .cai-microcopy {
	margin-top: 24px;
	font-size: var(--cai-fs-sm);
	color: rgba(255, 255, 255, 0.85);
}

.cai.cai .cai-microcopy a {
	color: var(--cai-white);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Headline claim — deliberately the largest, loudest type on the page.
   Uppercased in CSS, not in the markup, so assistive tech reads it normally. */
.cai.cai .cai-claim {
	margin: 48px auto 8px;
	max-width: 1100px;
	font-size: var(--cai-fs-claim);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: var(--cai-green);
}

/* House gradient-text accent. background-clip:text has no fallback colour of
   its own, so the plain green stays declared on .cai-claim above — if a
   browser ignores the clip it renders solid green rather than transparent. */
.cai.cai .cai-claim__accent {
	background: linear-gradient(100deg, #4f7d45 0%, #679c5b 45%, #23498a 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
	.cai.cai .cai-claim__accent {
		color: var(--cai-green-dark);
		-webkit-text-fill-color: currentColor;
	}
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.cai.cai .cai-btnrow {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 36px;
}

.cai.cai .cai-btnrow--center { justify-content: center; }

.cai.cai .cai-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 56px;
	padding: 0 32px;
	border: 1.5px solid transparent;
	border-radius: var(--cai-radius-sm);
	font-family: inherit;
	font-size: var(--cai-fs-body-lg);
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease,
		transform 0.18s ease, box-shadow 0.18s ease;
}

.cai.cai .cai-btn__arrow { flex: 0 0 auto; }

.cai.cai .cai-btn--green {
	background: var(--cai-green-ink);
	color: var(--cai-white);
}

.cai.cai .cai-btn--green:hover,
.cai.cai .cai-btn--green:focus-visible {
	background: var(--cai-green-deep);
	color: var(--cai-white);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(79, 125, 69, 0.32);
}

.cai.cai .cai-btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.6);
	color: var(--cai-white);
}

.cai.cai .cai-btn--ghost:hover,
.cai.cai .cai-btn--ghost:focus-visible {
	background: rgba(255, 255, 255, 0.12);
	border-color: var(--cai-white);
	color: var(--cai-white);
	transform: translateY(-2px);
}

.cai.cai .cai-btn--white {
	background: var(--cai-white);
	color: var(--cai-blue);
}

.cai.cai .cai-btn--white:hover,
.cai.cai .cai-btn--white:focus-visible {
	background: var(--cai-white);
	color: var(--cai-blue);
	transform: translateY(-2px);
	box-shadow: var(--cai-shadow-lg);
}

.cai.cai :focus-visible {
	outline: 3px solid rgba(35, 73, 138, 0.35);
	outline-offset: 2px;
}

.cai.cai .cai-band--hero :focus-visible,
.cai.cai .cai-band--blue :focus-visible,
.cai.cai .cai-band--gradient :focus-visible,
.cai.cai .cai-track--clarity :focus-visible {
	outline-color: rgba(255, 255, 255, 0.85);
}

/* --------------------------------------------------------------------------
   Pills
   -------------------------------------------------------------------------- */
.cai.cai .cai-pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 28px;
}

.cai.cai .cai-pill {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border: 1px solid var(--cai-blue-light);
	border-radius: 9999px;
	background: var(--cai-blue-pale);
	font-size: var(--cai-fs-body);
	font-weight: 600;
	line-height: 24px;
	color: var(--cai-blue);
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cai.cai .cai-pill:hover {
	transform: translateY(-2px);
	border-color: var(--cai-blue-mid);
	box-shadow: var(--cai-shadow-sm);
}

.cai.cai .cai-pill--solo {
	display: inline-flex;
	margin-top: 28px;
	background: var(--cai-white);
	font-weight: 700;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.cai.cai .cai-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 60px;
	align-items: center;
}

.cai.cai .cai-hero__copy { min-width: 0; }
.cai.cai .cai-hero__visual { min-width: 0; }

.cai.cai .cai-display__em { display: inline-block; }

/* Hero connection diagram: tiles, wires, hub. Fixed 453px content width so the
   SVG wire x-coordinates stay under the tile centres; the whole figure scales
   down as one below that. */
.cai.cai .cai-diagram--hero {
	background: var(--cai-white);
	border-radius: var(--cai-radius);
	padding: 48px 40px;
	box-shadow: var(--cai-shadow-lg);
}

.cai.cai .cai-diagram__tiles {
	display: flex;
	justify-content: space-between;
	max-width: 453px;
	margin: 0 auto;
}

.cai.cai .cai-diagram__tile {
	display: block;
	width: 57px;
	height: 57px;
	flex: 0 0 57px;
	border-radius: 10px;
	overflow: hidden;
}

.cai.cai .cai-diagram__tile img {
	display: block;
	width: 57px;
	height: 57px;
}

.cai.cai .cai-diagram__wires {
	display: block;
	width: 100%;
	max-width: 453px;
	height: 96px;
	margin: 0 auto;
}

/* --- Hero data flow ----------------------------------------------------
   Static tracks, plus a short dash travelling along each one so data
   visibly moves from the platforms into Clarity. pathLength="100" in the
   markup normalises the four wire lengths to a single timing.
   ---------------------------------------------------------------------- */
.cai.cai .cai-wire__track path,
.cai.cai .cai-wire__flow path {
	fill: none;
	stroke: #23498a;
	stroke-width: 1.5;
	vector-effect: non-scaling-stroke;
}

/* Scoped to (0,2,0) so it beats `.cai-wire__track path` (0,1,1) — a bare
   `.cai-wire__trunk` would lose and the trunk would render blue. */
.cai.cai .cai-wire__track .cai-wire__trunk,
.cai.cai .cai-wire__flow .cai-wire__trunk { stroke: var(--cai-green); }

/* The tracks stay at full strength: they are the diagram, and the design
   specifies solid wires. The flow layer is a green packet travelling over
   them — purely additive, so with motion off the diagram is unchanged. */
.cai.cai .cai-wire__flow path {
	stroke: var(--cai-green);
	stroke-width: 2.6;
	stroke-linecap: round;
	stroke-dasharray: 10 100;
	stroke-dashoffset: 110;
	animation: cai-flow 2.6s linear infinite;
}

.cai.cai .cai-wire__arrow {
	fill: none;
	stroke: var(--cai-green);
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
}

@keyframes cai-flow {
	to { stroke-dashoffset: 0; }
}

/* Only animate while the hero is actually on screen. */
.cai.cai .cai-diagram--hero:not(.is-live) .cai-wire__flow path { animation-play-state: paused; }

.cai.cai .cai-diagram__hub {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 300px;
	margin: 0 auto;
	padding: 26px 20px;
	border: 1px solid var(--cai-green);
	border-radius: var(--cai-radius-sm);
	background: var(--cai-white);
}

.cai.cai .cai-diagram__hub img {
	display: block;
	width: 186px;
	height: 38px;
}

/* --------------------------------------------------------------------------
   Simple icon cards (3-up and 4-up)
   -------------------------------------------------------------------------- */
.cai.cai .cai-cards {
	display: grid;
	gap: 30px;
	margin-top: 48px;
	text-align: left;
}

.cai.cai .cai-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cai.cai .cai-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.cai.cai .cai-card2 {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	padding: 24px;
	border: 1px solid var(--cai-line);
	border-radius: var(--cai-radius-sm);
	background: var(--cai-white);
	box-shadow: var(--cai-shadow-sm);
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease,
		border-color 0.25s ease;
}

.cai.cai .cai-card2:hover {
	transform: translateY(-4px);
	border-color: var(--cai-blue-light);
	box-shadow: var(--cai-shadow-md);
}

.cai.cai .cai-card2__icon { transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
.cai.cai .cai-card2:hover .cai-card2__icon { transform: scale(1.08); }

.cai.cai .cai-res {
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.cai.cai .cai-res:hover {
	transform: translateY(-4px);
	box-shadow: var(--cai-shadow-lg);
}

/* Fixed 48px tile with a 28px content box — each icon is fitted to its own
   aspect ratio at render time, so nothing is stretched. */
.cai.cai .cai-card2__icon,
.cai.cai .cai-res__icon,
.cai.cai .cai-fan__node .cai-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.cai.cai .cai-card2__icon,
.cai.cai .cai-res__icon {
	width: 48px;
	height: 48px;
	border-radius: 10px;
	background: var(--cai-tint);
}

.cai.cai .cai-icon { display: block; }

.cai.cai .cai-card2__title {
	font-size: var(--cai-fs-h3);
	font-weight: 700;
	line-height: 1.25;
	color: var(--cai-blue);
}

.cai.cai .cai-card2__title--caps {
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

.cai.cai .cai-card2__text {
	font-size: var(--cai-fs-body);
	line-height: 26px;
	margin-top: -4px;
}

/* --------------------------------------------------------------------------
   The fan diagram — Clarity -> one model -> three platform families
   -------------------------------------------------------------------------- */
.cai.cai .cai-diagram--fan { margin-top: 40px; }

.cai.cai .cai-fan {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 232px) minmax(0, 240px) minmax(0, 340px);
	justify-content: space-between;
	align-items: center;
	gap: 0;
	max-width: 1000px;
	margin: 0 auto;
	padding: 32px 0;
	border: 1px solid var(--cai-line);
	border-radius: var(--cai-radius);
	background-color: var(--cai-white);
	background-image: radial-gradient(circle, rgba(35, 73, 138, 0.13) 1px, transparent 1px);
	background-size: 16px 16px;
}

.cai.cai .cai-fan__col {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
}

.cai.cai .cai-fan__col--start { padding-left: 32px; }
.cai.cai .cai-fan__col--end { padding-right: 32px; }

.cai.cai .cai-fan__node {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	border-radius: var(--cai-radius-sm);
	background: var(--cai-white);
	font-size: var(--cai-fs-body);
	line-height: 1.35;
	color: var(--cai-blue);
	text-align: left;
}

.cai.cai .cai-fan__node--brand {
	justify-content: center;
	border: 1px solid var(--cai-blue);
	padding: 26px 20px;
}

.cai.cai .cai-fan__node--brand img {
	display: block;
	width: 156px;
	height: 31.9px;
}

.cai.cai .cai-fan__node--model {
	flex-direction: column;
	gap: 10px;
	justify-content: center;
	text-align: center;
	border: 1px solid var(--cai-blue-light);
	padding: 22px 18px;
	margin: 0 auto;
	max-width: 200px;
}

.cai.cai .cai-fan__model-text {
	font-size: var(--cai-fs-body);
	line-height: 1.3;
}

/* Buttons so the wire highlight is keyboard reachable; reset the UA chrome. */
.cai.cai .cai-fan__node--target {
	width: 100%;
	border: 1px solid var(--cai-green);
	font-family: inherit;
	font-size: var(--cai-fs-body);
	font-weight: 500;
	cursor: pointer;
	transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.cai.cai .cai-fan__node--target:hover,
.cai.cai .cai-fan__node--target:focus-visible {
	transform: translateX(3px);
	box-shadow: var(--cai-shadow-sm);
}

/* While one target is engaged, dim the others and their wires so the single
   path from Clarity through the model to that platform family reads clearly. */
.cai.cai .cai-fan.is-engaged .cai-fan__node--target:not(.is-on) { opacity: 0.4; }

.cai.cai .cai-fan__wires {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
}

.cai.cai .cai-fan__line {
	fill: none;
	stroke: #23498a;
	stroke-width: 1.4;
	vector-effect: non-scaling-stroke;
}

.cai.cai .cai-fan__head { fill: #23498a; }

.cai.cai .cai-fan__wire {
	transition: opacity 0.25s ease;
}

.cai.cai .cai-fan.is-engaged .cai-fan__wire:not(.is-on):not([data-cai-fan-wire='trunk']) { opacity: 0.18; }

.cai.cai .cai-fan.is-engaged .cai-fan__wire.is-on .cai-fan__line { stroke: var(--cai-green); stroke-width: 2.2; }
.cai.cai .cai-fan.is-engaged .cai-fan__wire.is-on .cai-fan__head { fill: var(--cai-green); }

/* Deliberately NO draw-in animation here. These wires carry the diagram's
   actual meaning — which platform families the model reaches — so starting
   them at stroke-dashoffset:100 would leave the topology invisible until an
   animation completed, and invisible for good if it never did. The motion in
   this diagram is the hover highlight above, which only ever adds emphasis. */
/* --------------------------------------------------------------------------
   Traditional vs Clarity — two full-width step ribbons

   Laid out horizontally, the way the copy deck writes them
   ("CONNECT -> AUTOMATIC IMPLEMENTATION -> STAY CONNECTED"), and stacked so
   the Clarity ribbon gets the full width of the page. It is headline claim
   2 of 2, so it carries the gradient, the larger type and the only moving
   parts; the traditional ribbon is deliberately quieter, with dashed joins
   standing in for the manual handoffs between its stages.
   -------------------------------------------------------------------------- */
.cai.cai .cai-tracks {
	display: flex;
	flex-direction: column;
	gap: 28px;
	margin-top: 48px;
	text-align: left;
}

.cai.cai .cai-track {
	padding: 30px 34px 34px;
	border-radius: var(--cai-radius);
}

.cai.cai .cai-track--old {
	background: var(--cai-white);
	border: 1px solid var(--cai-line);
}

.cai.cai .cai-track--clarity {
	background: linear-gradient(120deg, #23498a 0%, #35657b 34%, #7cab77 62%, #4a7378 82%, #23498a 100%);
	box-shadow: var(--cai-shadow-lg);
}

.cai.cai .cai-track__label {
	font-size: var(--cai-fs-tag);
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cai-blue-mid);
	padding-bottom: 18px;
	margin-bottom: 26px;
	border-bottom: 1px solid var(--cai-line);
}

.cai.cai .cai-track--clarity .cai-track__label {
	color: rgba(255, 255, 255, 0.92);
	border-bottom-color: rgba(255, 255, 255, 0.4);
}

/* Three equal columns; each join lives in the gap to its step's left. */
.cai.cai .cai-track__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 64px;
}

.cai.cai .cai-track__step {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 22px 24px;
	border-radius: 16px;
}

.cai.cai .cai-track--old .cai-track__step {
	background: var(--cai-tint);
	border: 1px dashed var(--cai-blue-light);
}

.cai.cai .cai-track--clarity .cai-track__step {
	background: var(--cai-white);
	box-shadow: 0 12px 32px rgba(0, 27, 51, 0.18);
}

/* The numeral is a design element, not a label — big, tracked, quiet. */
.cai.cai .cai-track__num {
	font-size: 28px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--cai-muted);
}

.cai.cai .cai-track--clarity .cai-track__num { color: var(--cai-green); }

.cai.cai .cai-track__name {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--cai-blue);
}

.cai.cai .cai-track--clarity .cai-track__name {
	font-size: 26px;
	letter-spacing: -0.01em;
}

/* --- Joins ---------------------------------------------------------------
   64px wide, centred in the gap, with the arrowhead drawn on ::after.
   ------------------------------------------------------------------------ */
.cai.cai .cai-track__join {
	position: absolute;
	top: 50%;
	left: -64px;
	width: 64px;
	height: 2px;
	margin-top: -1px;
}

.cai.cai .cai-track__join::before {
	content: '';
	position: absolute;
	inset: 0;
	right: 7px;
}

.cai.cai .cai-track__join::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 0;
	width: 0;
	height: 0;
	margin-top: -5px;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
}

/* Traditional: dashed, muted — a handoff, not a flow. */
.cai.cai .cai-track--old .cai-track__join::before {
	border-top: 2px dashed var(--cai-blue-light);
}

.cai.cai .cai-track--old .cai-track__join::after { border-left: 7px solid var(--cai-blue-light); }

/* Clarity: solid white with a green packet travelling along it. */
.cai.cai .cai-track--clarity .cai-track__join::before {
	background: rgba(255, 255, 255, 0.75);
	height: 2px;
	top: 0;
}

.cai.cai .cai-track--clarity .cai-track__join::after { border-left: 7px solid var(--cai-white); }

.cai.cai .cai-track__join i {
	position: absolute;
	top: 50%;
	left: 0;
	width: 9px;
	height: 9px;
	margin-top: -4.5px;
	border-radius: 50%;
	opacity: 0;
}

/* Only the Clarity ribbon carries the packet. */
.cai.cai .cai-track--clarity .cai-track__join i {
	background: var(--cai-green);
	box-shadow: 0 0 0 4px rgba(103, 156, 91, 0.35);
	animation: cai-packet 2.4s ease-in-out infinite;
}

.cai.cai .cai-track--clarity .cai-track__step:nth-child(3) .cai-track__join i { animation-delay: 0.5s; }

@keyframes cai-packet {
	0%   { left: 0;    opacity: 0; }
	18%  { opacity: 1; }
	82%  { opacity: 1; }
	100% { left: calc(100% - 9px); opacity: 0; }
}

/* Completion badge on the final Clarity step, pulsing gently to carry
   "the connection keeps working". */
.cai.cai .cai-track__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: -11px;
	right: -11px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--cai-green);
	color: var(--cai-white);
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9);
}

.cai.cai .cai-track--clarity .cai-track__step.is-active .cai-track__badge {
	animation: cai-pulse 2.6s ease-in-out infinite;
}

@keyframes cai-pulse {
	0%, 100% { transform: scale(1); }
	50%      { transform: scale(1.12); }
}

/* --- Entrance ------------------------------------------------------------
   Armed by the script only. The script also sets a hard timeout that forces
   every step active, so a missed IntersectionObserver callback can never
   leave a step invisible.
   ------------------------------------------------------------------------ */
.cai.cai .cai-track--armed .cai-track__step {
	opacity: 0;
	transform: translateY(16px) scale(0.97);
}

/* The finished state is declared here as well as being the animation's end
   frame. That redundancy is the point: if the animation never runs — disabled,
   unsupported, or killed by the reduced-motion block below — the step still
   lands at full opacity instead of staying invisible for good. */
.cai.cai .cai-track--armed .cai-track__step.is-active {
	opacity: 1;
	transform: none;
	animation: cai-step-in 0.6s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}

@keyframes cai-step-in {
	from { opacity: 0; transform: translateY(16px) scale(0.97); }
	to   { opacity: 1; transform: none; }
}

/* The joins are NOT gated on the entrance animation. They carry the order and
   direction of the sequence, which is information, not decoration — fading
   them in would mean an interrupted animation leaves the ribbon as three
   disconnected boxes. Only the steps themselves animate in. */


/* --------------------------------------------------------------------------
   Resource cards
   -------------------------------------------------------------------------- */
/* Four across. The cards hold a title, one line and a link, which suits a
   ~290px column; at half-width they read as mostly padding. */
.cai.cai .cai-cards--res { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.cai.cai .cai-res {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding: 28px;
	border-radius: var(--cai-radius-sm);
	background: var(--cai-white);
	box-shadow: var(--cai-shadow-md);
}

.cai.cai .cai-res__title {
	font-size: var(--cai-fs-h3);
	font-weight: 700;
	line-height: 1.22;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	color: var(--cai-blue);
}

.cai.cai .cai-res__sub {
	font-size: var(--cai-fs-body);
	line-height: 24px;
	color: var(--cai-black);
	margin-top: -6px;
}

.cai.cai .cai-res__link {
	margin-top: auto;
	padding-top: 16px;
	width: 100%;
	border-top: 1px solid var(--cai-line);
	font-size: var(--cai-fs-body);
	font-weight: 700;
	color: var(--cai-green-ink);
	text-decoration: none;
}

.cai.cai .cai-res__link:hover,
.cai.cai .cai-res__link:focus-visible {
	color: var(--cai-green-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Six cards fill two rows of three exactly, so no centring trick is needed —
   the plain three-column grid declared above is enough. (An earlier five-card
   version doubled the track count to centre a two-card final row; that is gone
   deliberately, not lost.) */

/* ==========================================================================
   THE FINDER — "Wondering if we connect with yours?"

   Replaces the Figma's provider dropdown with a single expanding panel that
   reveals every platform at once, plus type-to-filter and category chips.
   ========================================================================== */
.cai.cai .cai-finder {
	max-width: 1140px;
	margin: 40px auto 0;
	text-align: left;
}

/* The trigger is visible from first paint and the panel ships collapsed, so
   what the browser paints first IS the settled state.

   The earlier arrangement was the reverse — panel open, trigger revealed by
   JS — which meant every single load painted the full 66-platform list and
   then collapsed it: a measured 1774px of content disappearing after the fact.
   Correct for no-JS, awful as a first impression and terrible CLS on a page
   carrying ad spend.

   The no-JS case is now handled by a <noscript> block in the markup, which
   hides this trigger and opens the panel. Scripting off still gets the whole
   list; scripting on gets no layout shift at all. */
.cai.cai .cai-finder__trigger { display: flex; }

.cai.cai .cai-finder__trigger {
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	padding: 24px 28px;
	border: 1.5px solid var(--cai-blue-light);
	border-radius: var(--cai-radius);
	background: var(--cai-tint);
	font-family: inherit;
	text-align: left;
	cursor: pointer;
	transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease,
		transform 0.18s ease;
}

.cai.cai .cai-finder__trigger:hover {
	background: var(--cai-blue-pale);
	border-color: var(--cai-blue-mid);
	box-shadow: var(--cai-shadow-md);
	transform: translateY(-1px);
}

.cai.cai .cai-finder__trigger-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.cai.cai .cai-finder__trigger-label {
	font-size: var(--cai-fs-h3);
	font-weight: 700;
	line-height: 1.25;
	color: var(--cai-blue);
}

.cai.cai .cai-finder__trigger-sub {
	font-size: var(--cai-fs-body);
	font-weight: 500;
	line-height: 24px;
	color: var(--cai-blue-mid);
}

.cai.cai .cai-finder__trigger-chevron {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 9999px;
	background: var(--cai-blue);
	color: var(--cai-white);
	transition: transform 0.25s ease, background-color 0.18s ease;
}

.cai.cai .cai-finder__trigger[aria-expanded='true'] .cai-finder__trigger-chevron { transform: rotate(180deg); }

/* Panel. Height is animated from a measured pixel value by the script, then
   released to auto so the grid can reflow (search, filter, window resize). */
.cai.cai .cai-finder__panel { overflow: hidden; }

.cai.cai .cai-finder.is-enhanced .cai-finder__panel {
	transition: height 0.32s cubic-bezier(0.3, 0, 0.2, 1),
		opacity 0.22s ease;
}

.cai.cai .cai-finder.is-enhanced .cai-finder__panel[hidden] { display: none; }
.cai.cai .cai-finder--animating .cai-finder__panel { opacity: 0.75; }

.cai.cai .cai-finder__panel-inner {
	margin-top: 20px;
	padding: 28px;
	border: 1px solid var(--cai-line);
	border-radius: var(--cai-radius);
	background: var(--cai-white);
	box-shadow: var(--cai-shadow-md);
}

/* Toolbar */
/* padding-top leaves room for the absolutely-positioned search label, which
   would otherwise sit on top of the panel's own edge. */
.cai.cai .cai-finder__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 26px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--cai-line);
}

.cai.cai .cai-finder__search {
	position: relative;
	display: flex;
	align-items: center;
	flex: 1 1 300px;
	min-width: 0;
	max-width: 420px;
}

.cai.cai .cai-finder__search-label {
	font-size: var(--cai-fs-tag);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cai-blue-mid);
	position: absolute;
	top: -22px;
	left: 0;
}

.cai.cai .cai-finder__search-icon {
	position: absolute;
	left: 14px;
	display: inline-flex;
	color: var(--cai-blue-mid);
	pointer-events: none;
}

.cai.cai .cai-finder__search-input {
	width: 100%;
	min-height: 48px;
	padding: 0 44px;
	border: 1.5px solid var(--cai-blue-light);
	border-radius: var(--cai-radius-sm);
	background: var(--cai-white);
	font-family: inherit;
	font-size: var(--cai-fs-body);
	line-height: 24px;
	color: var(--cai-black);
	-webkit-appearance: none;
	appearance: none;
}

.cai.cai .cai-finder__search-input::-webkit-search-cancel-button { display: none; }

.cai.cai .cai-finder__search-input:focus {
	border-color: var(--cai-blue);
	outline: 3px solid rgba(35, 73, 138, 0.35);
	outline-offset: 2px;
}

.cai.cai .cai-finder__search-clear {
	position: absolute;
	right: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 9999px;
	background: var(--cai-tint);
	color: var(--cai-blue);
	cursor: pointer;
}

.cai.cai .cai-finder__search-clear:hover { background: var(--cai-blue-pale); }

/* An author `display` on a class outranks the UA stylesheet's [hidden] rule,
   so anything given a display value above needs [hidden] restated. Without
   this the clear button shows on an empty search box. */
.cai.cai .cai-finder__search-clear[hidden] { display: none; }

/* Chips */
.cai.cai .cai-finder__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.cai.cai .cai-chip {
	padding: 9px 16px;
	border: 1px solid var(--cai-blue-light);
	border-radius: 9999px;
	background: var(--cai-white);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	color: var(--cai-blue);
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cai.cai .cai-chip:hover { background: var(--cai-blue-pale); }

.cai.cai .cai-chip.is-active {
	background: var(--cai-blue);
	border-color: var(--cai-blue);
	color: var(--cai-white);
}

.cai.cai .cai-finder__count {
	margin-top: 18px;
	font-size: var(--cai-fs-sm);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--cai-blue-mid);
}

/* The grid of platforms */
.cai.cai .cai-finder__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px 30px;
	margin-top: 14px;
}

.cai.cai .cai-card {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 54px;
	padding: 11px 12px;
	border: 1px solid var(--cai-line);
	border-radius: 10px;
	background: var(--cai-white);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cai.cai .cai-card:hover {
	border-color: var(--cai-blue-light);
	box-shadow: var(--cai-shadow-sm);
}

.cai.cai .cai-card[hidden] { display: none; }

.cai.cai .cai-card__logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	border-radius: 7px;
	overflow: hidden;
}

/* Every provider mark is a square tile that carries its own background, so a
   single 32x32 leaf is correct for all of them. */
.cai.cai .cai-card__logo img {
	display: block;
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.cai.cai .cai-card__lettermark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 7px;
	background: var(--cai-blue);
	color: var(--cai-white);
	font-size: 15px;
	font-weight: 700;
}

.cai.cai .cai-card__name {
	flex: 1 1 auto;
	min-width: 0;
	font-size: var(--cai-fs-body);
	font-weight: 600;
	line-height: 24px;
	color: var(--cai-blue);
}

.cai.cai .cai-card__methods {
	display: inline-flex;
	flex: 0 0 auto;
	gap: 6px;
}

.cai.cai .cai-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 20px;
	padding: 0 8px;
	border-radius: 5px;
	font-size: var(--cai-fs-tag);
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1;
}

.cai.cai .cai-tag--api {
	background: var(--cai-blue-pale);
	color: var(--cai-blue);
}

.cai.cai .cai-tag--sftp {
	background: #e6f0e3;
	color: var(--cai-green-deep);
}

.cai.cai .cai-finder__empty {
	margin-top: 24px;
	padding: 24px;
	border: 1px solid var(--cai-blue-light);
	border-radius: var(--cai-radius-sm);
	background: var(--cai-tint);
	font-size: var(--cai-fs-body);
	line-height: 26px;
}

.cai.cai .cai-finder__empty strong { color: var(--cai-blue); }

.cai.cai .cai-finder__empty a,
.cai.cai .cai-finder__foot a:not(.cai-btn) {
	color: var(--cai-blue);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cai.cai .cai-finder__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--cai-line);
}

.cai.cai .cai-finder__foot-text {
	flex: 1 1 340px;
	min-width: 0;
	font-size: var(--cai-fs-body);
	line-height: 26px;
}

.cai.cai .cai-finder__foot-text strong { color: var(--cai-blue); }

/* Standalone use of the finder on another page. */
.cai.cai .cai--standalone .cai-finder { margin-top: 0; }

/* --------------------------------------------------------------------------
   Footer — slim legal strip, matching the other Clarity landing pages
   -------------------------------------------------------------------------- */
.cai.cai .cai-footer {
	width: 100%;
	padding: 36px var(--cai-gutter);
	background: var(--cai-navy);
}

.cai.cai .cai-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
}

.cai.cai .cai-footer__logo img {
	display: block;
	width: 156px;
	height: 31.9px;
}

.cai.cai .cai-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
}

.cai.cai .cai-footer__links a,
.cai.cai .cai-footer__copy {
	font-size: var(--cai-fs-sm);
	line-height: 22px;
	color: rgba(255, 255, 255, 0.8);
}

.cai.cai .cai-footer__links a {
	font-weight: 600;
	text-decoration: none;
}

.cai.cai .cai-footer__links a:hover,
.cai.cai .cai-footer__links a:focus-visible {
	color: var(--cai-white);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cai.cai .cai-footer :focus-visible { outline-color: rgba(255, 255, 255, 0.85); }

/* --------------------------------------------------------------------------
   Scroll reveal

   The .cai-reveal class is added by the script, never by the markup, so with
   JS off nothing is ever left stuck at opacity 0.
   -------------------------------------------------------------------------- */
/* Transform only — deliberately NO opacity.

   A fade-in reveal means every not-yet-revealed block sits at opacity 0, so
   any failure to deliver the "now visible" signal (a starved observer, a
   throttled callback, an ancestor that never intersects) leaves real content
   invisible with no way back. There are 33 of these blocks on this page, which
   is too much of the page to stake on one mechanism.

   Sliding an always-opaque element into place reads as the same effect and has
   no invisible state to get stuck in: the worst case is a block resting 20px
   low, which nobody would notice. The fade is kept only where the trigger is
   verified and has its own fallback — the hero and the step ribbons. */
.cai.cai .cai-reveal {
	transform: translateY(20px);
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cai.cai .cai-reveal.is-visible { transform: none; }

/* ==========================================================================
   Responsive

   The Clarity type scale is fixed px by design, so the steps below are
   explicit rather than clamp() — a 56px display and a 64px claim both overflow
   a 390px phone otherwise.
   ========================================================================== */
@media (max-width: 1100px) {
	.cai { --cai-fs-claim: 52px; --cai-fs-display: 48px; --cai-fs-h2: 34px; }

	.cai.cai .cai-band { padding: 80px var(--cai-gutter); }

	.cai.cai .cai-hero__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
	}

	.cai.cai .cai-track__steps { gap: 44px; }
	.cai.cai .cai-track { padding: 26px 24px 28px; }

	/* The fan diagram's wires are absolute pixel geometry against a 1000-unit
	   box; below that the columns stack, so the wires would point at nothing. */
	.cai.cai .cai-fan {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
		padding: 28px 24px;
	}

	.cai.cai .cai-fan__col--start,
	.cai.cai .cai-fan__col--end { padding: 0; }

	.cai.cai .cai-fan__wires { display: none; }

	.cai.cai .cai-fan__node--brand,
	.cai.cai .cai-fan__node--model { max-width: 320px; margin-inline: auto; }

	/* Four resource cards across need ~290px each to hold the longest title on
	   two lines. Below this the wrap is under ~1050px, so they drop to two. */
	.cai.cai .cai-cards--res { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
	.cai.cai .cai-cards--3,
	.cai.cai .cai-cards--res { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.cai.cai .cai-finder__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }

	/* Safety net: if a future edit reintroduces explicit grid-column spans on
	   these cards, they must not survive into the two- and one-column
	   layouts, where a span-2 card goes full width or spills into an implicit
	   track. */
	.cai.cai .cai-cards--res > .cai-res { grid-column: auto; }
}

@media (max-width: 860px) {
	/* Three across no longer fits: stack the ribbon and turn each join through
	   90 degrees so it sits above its step instead of beside it. */
	.cai.cai .cai-track__steps {
		grid-template-columns: minmax(0, 1fr);
		gap: 46px;
	}

	.cai.cai .cai-track__join {
		top: -46px;
		left: 28px;
		width: 2px;
		height: 46px;
		margin-top: 0;
	}

	.cai.cai .cai-track__join::before {
		right: 0;
		bottom: 7px;
	}

	.cai.cai .cai-track--old .cai-track__join::before {
		border-top: 0;
		border-left: 2px dashed var(--cai-blue-light);
	}

	.cai.cai .cai-track--clarity .cai-track__join::before {
		width: 2px;
		height: auto;
	}

	.cai.cai .cai-track__join::after {
		top: auto;
		bottom: 0;
		right: 50%;
		margin: 0 -5px 0 0;
		border-top: 7px solid transparent;
		border-bottom: 0;
		border-left: 5px solid transparent;
		border-right: 5px solid transparent;
	}

	.cai.cai .cai-track--old .cai-track__join::after {
		border-left-color: transparent;
		border-top-color: var(--cai-blue-light);
	}

	.cai.cai .cai-track--clarity .cai-track__join::after {
		border-left-color: transparent;
		border-top-color: var(--cai-white);
	}

	/* The vertical keyframes drive `top`, so clear the centring offsets the
	   horizontal variant sets. */
	.cai.cai .cai-track__join i {
		top: 0;
		margin-top: 0;
		left: 50%;
		margin-left: -4.5px;
	}

	.cai.cai .cai-track--clarity .cai-track__join i { animation-name: cai-packet-v; }

	@keyframes cai-packet-v {
		0%   { top: 0;   opacity: 0; }
		18%  { opacity: 1; }
		82%  { opacity: 1; }
		100% { top: calc(100% - 9px); opacity: 0; }
	}

	.cai.cai .cai-track--clarity .cai-track__name { font-size: 22px; }
}

@media (max-width: 720px) {
	.cai { --cai-fs-claim: 36px; --cai-fs-display: 34px; --cai-fs-h2: 27px; --cai-fs-body-lg: 17px; }

	.cai.cai .cai-band { padding: 60px 20px; }

	.cai.cai .cai-nav { padding: 0 16px; }
	.cai.cai .cai-nav__inner,
	.cai.cai .cai-nav.is-scrolled .cai-nav__inner { height: 64px; }
	.cai.cai .cai-nav__logo img { width: 140px; height: 28.6px; }
	.cai.cai .cai-nav__cta { min-height: 38px; padding: 0 14px; font-size: 13px; }

	.cai.cai .cai-band--hero { padding-top: 116px; padding-bottom: 64px; }

	.cai.cai .cai-footer__inner { justify-content: center; text-align: center; }
	.cai.cai .cai-footer__links { justify-content: center; }

	.cai.cai .cai-cards { gap: 20px; margin-top: 36px; }
	.cai.cai .cai-cards--3,
	.cai.cai .cai-cards--4,
	.cai.cai .cai-cards--res { grid-template-columns: minmax(0, 1fr); }

	.cai.cai .cai-finder__grid { grid-template-columns: minmax(0, 1fr); }

	.cai.cai .cai-diagram--hero { padding: 28px 20px; }
	.cai.cai .cai-diagram__hub img { width: 156px; height: 31.9px; }

	.cai.cai .cai-finder__panel-inner { padding: 20px 16px; }

	.cai.cai .cai-finder__trigger { padding: 20px; gap: 16px; }
	.cai.cai .cai-finder__trigger-label { font-size: 19px; }

	.cai.cai .cai-btn { width: 100%; padding: 0 20px; }
	.cai.cai .cai-btnrow { gap: 12px; }

	.cai.cai .cai-finder__foot .cai-btn { width: 100%; }
}

@media (max-width: 520px) {
	.cai { --cai-fs-claim: 30px; --cai-fs-display: 29px; --cai-fs-h2: 24px; }

	.cai.cai .cai-pills { gap: 8px; }
	.cai.cai .cai-pill { font-size: 14px; padding: 6px 12px; }

	/* Five 57px tiles plus gaps do not fit 320-400px; shrink the whole row. */
	.cai.cai .cai-diagram__tile,
	.cai.cai .cai-diagram__tile img { width: 44px; height: 44px; flex-basis: 44px; }
	.cai.cai .cai-diagram__wires { height: 72px; }

	.cai.cai .cai-card__name { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
	.cai.cai *,
	.cai.cai *::before,
	.cai.cai *::after {
		transition-duration: 0.01ms !important;
		/* `animation: none`, not a 0.01ms duration — the hero data-flow dashes
		   loop infinitely, and a near-zero duration would strobe rather than
		   stop. The script separately declines to arm the stepper and the
		   wire draw-in, so both render in their finished state. */
		animation: none !important;
	}
}
