/**
 * InCard child theme components.
 *
 * Every value here resolves to a theme.json token. Do not hardcode colours,
 * spacing or font sizes in this file or in patterns - add a token instead.
 */

/* ---------------------------------------------------------------- Buttons */

/* The signature CTA on incard.biz: a green-500 -> emerald-600 gradient. */
.incard-btn-gradient .wp-block-button__link {
	background: var( --wp--preset--gradient--button-green );
	border: 0;
	color: var(--ag-on-green, #0c1922);
}

.incard-btn-gradient .wp-block-button__link:hover {
	filter: brightness( 0.94 );
}

/* The parent theme underlines links inside the post content, buttons included,
   and does it with enough weight that a plain rule loses. Buttons are never
   underlined on the live site. */
.entry-content .wp-element-button,
.entry-content .wp-block-button__link,
.entry-content .wp-block-button__link:hover,
.wp-block-button__link.wp-element-button {
	text-decoration: none !important;
}

/* ----------------------------------------------------- Card sub-components */

/* Illustration sitting at the top of a card. Ratios are the live site's
   rendered dimensions: solution/product cards 348x182, industry tiles are
   square, case-study covers are a wide 396x160 letterbox. Using one ratio for
   all three is what threw the section heights out. */
.incard-card-media img {
	aspect-ratio: 348 / 182;
	border-radius: 12px;
	display: block;
	object-fit: cover;
	width: 100%;
}

/* Category chip, e.g. "Manufacturing" on a case-study card. */
.incard-chip {
	background: var( --wp--preset--color--surface );
	border: 1px solid var( --wp--preset--color--hairline );
	border-radius: 999px;
	display: inline-block;
	font-size: var( --wp--preset--font-size--xs );
	font-weight: 600;
	padding: 4px 12px;
}

/* ------------------------------------------------------------------ Cards */

.incard-card {
	background: var( --wp--preset--color--surface );
	border: 1px solid var( --wp--preset--color--hairline );
	border-radius: 16px;
	height: 100%;
	padding: var( --wp--preset--spacing--40 );
}

/* Card sitting on a dark band. */
.incard-card-dark {
	background: #ffffff0f;
	border: 1px solid #ffffff1f;
	border-radius: 16px;
	height: 100%;
	padding: var( --wp--preset--spacing--40 );
}

/* ------------------------------------------------------------------ Lists */

/* Feature bullet lists inside cards: green check marks, no default markers. */
.incard-checks {
	list-style: none;
	margin: 0;
	padding: 0;
}

.incard-checks li {
	color: var( --wp--preset--color--text-muted );
	line-height: 1.6;
	padding-left: 1.6em;
	position: relative;
}

.incard-checks li + li {
	margin-top: 0.5em;
}

/* The real Lucide circle-check the live site uses, not a text tick. The mask
   comes from the custom property icons.css publishes for every glyph. */
.incard-checks li::before {
	background-color: var( --wp--preset--color--accent );
	content: "";
	height: 1.05em;
	left: 0;
	mask-image: var( --incard-icon-circle-check );
	mask-position: center;
	mask-repeat: no-repeat;
	mask-size: contain;
	position: absolute;
	top: 0.28em;
	width: 1.05em;
	-webkit-mask-image: var( --incard-icon-circle-check );
	-webkit-mask-position: center;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: contain;
}

/* -------------------------------------------------------------------- FAQ */

.incard-faq .wp-block-details {
	background: var( --wp--preset--color--surface );
	border: 1px solid var( --wp--preset--color--hairline );
	border-radius: 12px;
	padding: var( --wp--preset--spacing--30 );
}

.incard-faq .wp-block-details + .wp-block-details {
	margin-top: var( --wp--preset--spacing--20 );
}

.incard-faq summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	font-weight: 600;
	justify-content: space-between;
	list-style: none;
}

/* Chevron that flips when the item opens - matches the live accordion. */
.incard-faq summary::after {
	background-color: var( --wp--preset--color--text-muted );
	content: "";
	flex-shrink: 0;
	height: 1.1em;
	mask-image: var( --incard-icon-chevron-down );
	mask-position: center;
	mask-repeat: no-repeat;
	mask-size: contain;
	transition: transform 0.2s ease;
	width: 1.1em;
	-webkit-mask-image: var( --incard-icon-chevron-down );
	-webkit-mask-position: center;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: contain;
}

.incard-faq details[open] summary::after {
	transform: rotate( 180deg );
}

/* ----------------------------------------------------------- Responsive */

@media ( max-width: 781px ) {
	.incard-card,
	.incard-card-dark {
		padding: var( --wp--preset--spacing--30 );
	}
}

/* InCard Global Style 2026
 * Canonical theme compatibility layer generated from the active Novamira design.
 */
:root {
	--incard-green: #168b47;
	--incard-green-hover: #11763b;
	--incard-blue: #168be5;
	--incard-deep-navy: #082d40;
	--incard-text: #111827;
	--incard-text-secondary: #6b7280;
	--incard-border: #e5e7eb;
	--incard-background: #f2f6fa;
	--incard-surface: #ffffff;
	--incard-success: #168b47;
	--incard-warning: #f59e0b;
	--incard-danger: #ef4444;
	--incard-gradient: linear-gradient(135deg, #168b47 0%, #168be5 100%);
	--incard-radius-control: 8px;
	--incard-radius-card: 16px;
	--incard-radius-panel: 24px;
	--incard-shadow-sm: 0 1px 2px rgba(8, 45, 64, 0.06);
	--incard-shadow-md: 0 4px 12px rgba(8, 45, 64, 0.08);
	--incard-shadow-lg: 0 12px 24px rgba(8, 45, 64, 0.10);
	--incard-shadow-xl: 0 24px 48px rgba(8, 45, 64, 0.12);
}

body,
.editor-styles-wrapper {
	background-color: var(--incard-background);
	color: var(--incard-text);
	font-family: Inter, system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.6;
}

:where(body, .editor-styles-wrapper) :where(h1, h2, h3, h4, h5, h6) {
	color: var(--incard-deep-navy);
	font-family: Inter, system-ui, sans-serif;
	font-weight: 700;
	letter-spacing: -0.02em;
}

:where(body, .editor-styles-wrapper) a {
	color: var(--incard-blue);
	text-underline-offset: 0.18em;
}

:where(body, .editor-styles-wrapper) a:hover {
	color: var(--incard-green);
}

:where(body, .editor-styles-wrapper) :where(
	.wp-element-button,
	.wp-block-button__link,
	button,
	input[type="button"],
	input[type="submit"]
) {
	min-height: 44px;
	border: 1px solid var(--incard-green);
	border-radius: var(--incard-radius-control);
	background: var(--incard-green);
	color: var(--ag-on-green, #0c1922);
	font-family: Inter, system-ui, sans-serif;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	padding: 0.875rem 1.5rem;
	box-shadow: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

:where(body, .editor-styles-wrapper) :where(
	.wp-element-button,
	.wp-block-button__link,
	button,
	input[type="button"],
	input[type="submit"]
):hover {
	border-color: var(--incard-green-hover);
	background: var(--incard-green-hover);
	color: #ffffff;
}

:where(body, .editor-styles-wrapper) :where(
	.wp-element-button,
	.wp-block-button__link,
	button,
	input[type="button"],
	input[type="submit"]
):active {
	transform: translateY(1px);
}

:where(body, .editor-styles-wrapper) .is-style-outline > .wp-block-button__link {
	border-color: var(--incard-green);
	background: transparent;
	color: var(--incard-green);
}

:where(body, .editor-styles-wrapper) .is-style-outline > .wp-block-button__link:hover {
	background: var(--incard-green);
	color: var(--ag-on-green, #0c1922);
}

:where(body, .editor-styles-wrapper) :where(input, select, textarea) {
	border: 1px solid var(--incard-border);
	border-radius: var(--incard-radius-control);
	background: var(--incard-surface);
	color: var(--incard-text);
	font-family: Inter, system-ui, sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

:where(body, .editor-styles-wrapper) :where(input:not([type="checkbox"]):not([type="radio"]), select) {
	min-height: 44px;
	padding: 0.625rem 0.875rem;
}

:where(body, .editor-styles-wrapper) textarea {
	min-height: 120px;
	padding: 0.75rem 0.875rem;
}

:where(body, .editor-styles-wrapper) :where(input, select, textarea)::placeholder {
	color: var(--incard-text-secondary);
	opacity: 1;
}

:where(body, .editor-styles-wrapper) :where(a, button, input, select, textarea, .wp-element-button):focus-visible {
	outline: 3px solid #168be5;
	outline-offset: 2px;
}

:where(body, .editor-styles-wrapper) :where(
	.wp-block-group.is-style-card,
	.wp-block-column.is-style-card,
	.incard-card,
	.incard-feature-card
) {
	border: 1px solid var(--incard-border);
	border-radius: var(--incard-radius-card);
	background: var(--incard-surface);
	box-shadow: var(--incard-shadow-md);
}

:where(body, .editor-styles-wrapper) :where(.has-incard-brand-gradient-background) {
	background: var(--incard-gradient);
}

@media (max-width: 781px) {

	:where(body, .editor-styles-wrapper) :where(.wp-block-columns, .incard-grid) {
		gap: 1.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	:where(body, .editor-styles-wrapper) *,
	:where(body, .editor-styles-wrapper) *::before,
	:where(body, .editor-styles-wrapper) *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

.wp-site-blocks .wp-block-button__link:not(.has-background),
.editor-styles-wrapper .wp-block-button__link:not(.has-background) {
	border-color: var(--incard-green);
	background-color: var(--incard-green);
	color: var(--ag-on-green, #0c1922);
}

.wp-site-blocks .wp-block-button__link:not(.has-background):hover,
.editor-styles-wrapper .wp-block-button__link:not(.has-background):hover {
	border-color: var(--incard-green-hover);
	background-color: var(--incard-green-hover);
	color: #ffffff;
}

.wp-site-blocks .is-style-outline > .wp-block-button__link:not(.has-background),
.editor-styles-wrapper .is-style-outline > .wp-block-button__link:not(.has-background) {
	border-color: var(--incard-green);
	background-color: transparent;
	color: var(--incard-green);
}

.wp-site-blocks .is-style-outline > .wp-block-button__link:not(.has-background):hover,
.editor-styles-wrapper .is-style-outline > .wp-block-button__link:not(.has-background):hover {
	background-color: var(--incard-green);
	color: var(--ag-on-green, #0c1922);
}
/* End InCard Global Style 2026 compatibility patch */

/* Language switcher */
.incard-lang-switch {
	color: var(--wp--preset--color--text-muted);
	font-size: 14px;
	font-weight: 500;
}
.incard-lang-switch a {
	color: inherit;
	text-decoration: none;
}
.incard-lang-switch a:hover {
	color: var(--wp--preset--color--incard-green);
}
.incard-lang-switch a[aria-current="page"] {
	color: var(--wp--preset--color--deep-navy);
	font-weight: 600;
}

/* Homepage Global Style 2026 final layer. */

/* Rebuilt 2026-08-18 to match design/mockups/incard-homepage-global-style-v1.png.
   Layout and iconography only: no block markup, header, footer or copy changes.
   The block patterns ship geometric Unicode characters as icon placeholders;
   every .*__icon element below hides that character with font-size:0 and paints
   the real Lucide glyph through a ::before mask, so the rendered icon set
   matches the mockup without editing post content. */

.home {
	--home-section-y: clamp(72px, 7vw, 104px);
	--home-line: rgba(8, 45, 64, 0.10);
	--home-green-wash: #f0fdf4;
	--home-blue-wash: #eaf5ff;
	--home-band: #f2f6fa;
	--home-connector: rgba(22, 139, 229, 0.45);
	--home-radius: 16px;
	--home-shadow-sm: 0 1px 2px rgba(8, 45, 64, 0.06);
	--home-shadow-md: 0 4px 12px rgba(8, 45, 64, 0.08);
	--home-shadow-lg: 0 12px 24px rgba(8, 45, 64, 0.10);
	background: var(--incard-surface);
}

/* Extra Lucide glyphs the mockup needs that the shared icon set does not carry. */
.home {
	--home-ico-building-2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z'/%3E%3Cpath d='M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2'/%3E%3Cpath d='M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M10 6h4'/%3E%3Cpath d='M10 10h4'/%3E%3Cpath d='M10 14h4'/%3E%3Cpath d='M10 18h4'/%3E%3C/svg%3E");
	--home-ico-target: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E");
	--home-ico-trending-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 7h6v6'/%3E%3Cpath d='m22 7-8.5 8.5-5-5L2 17'/%3E%3C/svg%3E");
	--home-ico-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E");
	--home-ico-inbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-6l-2 3h-4l-2-3H2'/%3E%3Cpath d='M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z'/%3E%3C/svg%3E");
	--home-ico-funnel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 3H2l8 9.46V19l4 2v-8.54L22 3z'/%3E%3C/svg%3E");
	--home-ico-repeat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m17 2 4 4-4 4'/%3E%3Cpath d='M3 11v-1a4 4 0 0 1 4-4h14'/%3E%3Cpath d='m7 22-4-4 4-4'/%3E%3Cpath d='M21 13v1a4 4 0 0 1-4 4H3'/%3E%3C/svg%3E");
	--home-ico-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
	--home-ico-message-circle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E");
	--home-ico-database: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='5' rx='9' ry='3'/%3E%3Cpath d='M3 5v14a9 3 0 0 0 18 0V5'/%3E%3Cpath d='M3 12a9 3 0 0 0 18 0'/%3E%3C/svg%3E");
	--home-ico-code: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 18 6-6-6-6'/%3E%3Cpath d='m8 6-6 6 6 6'/%3E%3C/svg%3E");
	--home-ico-quote: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h1a1 1 0 0 1 1 1v1a2 2 0 0 1-2 2h-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h1a6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z'/%3E%3Cpath d='M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h1a1 1 0 0 1 1 1v1a2 2 0 0 1-2 2H4a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h1a6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z'/%3E%3C/svg%3E");
	--home-ico-brand-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='currentColor' stroke='none' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z'/%3E%3C/svg%3E");
	--home-ico-chevron-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E");
}

.home main,
.home main .entry-content {
	margin: 0;
	background: var(--incard-surface);
}

.home .incard-home-section {
	padding-block: var(--home-section-y);
}

/* -------------------------------------------------------- Section headers */

/* The mockup anchors every section header to the left edge of the container. */
.home .incard-home-section__header {
	max-width: none;
	margin: 0 0 40px;
	text-align: left;
}

/* The constrained block layout centres every child of a group with
   `margin-inline: auto !important` and caps it at the global content size.
   Left-anchored headers have to opt out with the same weight. */
.home .incard-home-section__header > *,
.home .incard-home-section__header-copy > *,
.home .incard-home-integrations__copy > *,
.home .incard-home-cta__copy > * {
	margin-inline: 0 !important;
	max-width: none;
}

/* Same layer sets `margin-block-start: 24px` on every child, which pushes each
   grid item past the first one down a row-height. */
.home .incard-home-metrics > *,
.home .incard-home-feature-grid > *,
.home .incard-home-benefit-grid > *,
.home .incard-home-solution-grid > *,
.home .incard-home-product-grid > *,
.home .incard-home-step-grid > *,
.home .incard-home-channel-grid > * {
	margin-block: 0;
}

.home .incard-home-section__header--split {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
}

.home .incard-home-section__header-copy {
	margin: 0;
}

.home .incard-home-section__header h2,
.home .incard-home-integrations h2,
.home .incard-home-cta h2 {
	margin: 0;
	color: var(--incard-deep-navy);
	font-size: clamp(1.9rem, 3vw, 2.4rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.12;
}

.home .incard-home-section__lead {
	max-width: 560px;
	margin: 12px 0 0;
	color: var(--incard-text-secondary);
	font-size: 16px;
	line-height: 1.6;
}

.home .incard-home-accent,
.home .incard-home-accent-blue {
	background: none !important;
	-webkit-background-clip: initial !important;
	background-clip: initial !important;
}

.home .incard-home-accent {
	color: var(--incard-green) !important;
	-webkit-text-fill-color: var(--incard-green) !important;
}

.home .incard-home-accent-blue {
	color: var(--incard-blue) !important;
	-webkit-text-fill-color: var(--incard-blue) !important;
}

.home .incard-home-section__header-link {
	flex: 0 0 auto;
	margin: 0;
}

.home .incard-home-section__header-link a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border: 1px solid rgba(22, 139, 71, 0.34);
	border-radius: 8px;
	color: var(--incard-green);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.home .incard-home-section__header-link a:hover {
	border-color: var(--incard-green);
	background: var(--home-green-wash);
	color: var(--incard-green);
}

.home .incard-home-card__link a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--incard-blue);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.home .incard-home-card__link a:hover {
	color: var(--incard-green);
}

/* ---------------------------------------------------------------- Buttons */

.home .incard-home-btn-primary .wp-block-button__link,
.home .incard-home-btn-secondary .wp-block-button__link,
.home .incard-home-cta__button .wp-block-button__link {
	box-sizing: border-box;
	min-height: 46px;
	padding: 13px 22px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.home .incard-home-btn-primary .wp-block-button__link {
	border: 1px solid var(--incard-green);
	background: var(--incard-green);
	color: var(--ag-on-green, #0c1922);
	box-shadow: 0 8px 20px rgba(22, 139, 71, 0.18);
}

.home .incard-home-btn-primary .wp-block-button__link:hover {
	border-color: var(--incard-green-hover);
	background: var(--incard-green-hover);
	color: var(--incard-surface);
}

.home .incard-home-btn-secondary .wp-block-button__link {
	border: 1px solid var(--incard-blue);
	background: transparent;
	color: var(--incard-blue);
}

.home .incard-home-btn-secondary .wp-block-button__link:hover {
	border-color: var(--incard-blue);
	background: var(--incard-blue);
	color: var(--incard-surface);
}

.home .wp-block-button__link:focus-visible,
.home .incard-home-section__header-link a:focus-visible,
.home .incard-home-card__link a:focus-visible {
	outline: 3px solid #168be5;
	outline-offset: 3px;
}

.home .incard-home-btn-primary .wp-block-button__link:active,
.home .incard-home-btn-secondary .wp-block-button__link:active,
.home .incard-home-cta__button .wp-block-button__link:active {
	transform: translateY(1px);
}

/* ------------------------------------------------------------ Icon system */

.home .incard-home-metric__icon,
.home .incard-home-feature-card__icon,
.home .incard-home-benefit__icon,
.home .incard-home-step__icon,
.home .incard-home-channel__icon {
	font-size: 0 !important;
	line-height: 0;
	text-indent: 0;
}

.home .incard-home-metric__icon::before,
.home .incard-home-feature-card__icon::before,
.home .incard-home-benefit__icon::before,
.home .incard-home-step__icon::before,
.home .incard-home-channel__icon::before {
	content: "";
	display: block;
	background-color: currentColor;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-image: var(--home-ico);
	mask-image: var(--home-ico);
}

.home .incard-icon {
	display: inline-block;
	width: 20px;
	height: 20px;
	background-color: currentColor;
}

.home .incard-home-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	right: -110px;
	top: 38px;
	width: 430px;
	height: 430px;
	border: 1px solid rgba(22, 139, 229, 0.14);
	border-radius: 50%;
	box-shadow: 0 0 0 58px rgba(22, 139, 229, 0.035), 0 0 0 116px rgba(22, 139, 71, 0.025);
}

.home .incard-home-hero__copy,
.home .incard-home-hero__visual {
	min-width: 0;
	margin: 0;
}

.home .incard-home-hero__copy {
	padding-bottom: 42px;
}

.home .incard-home-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: auto;
	margin: 0 0 24px;
	padding: 8px 12px;
	border: 1px solid rgba(22, 139, 71, 0.24);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.78);
	color: var(--incard-green);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	box-shadow: var(--home-shadow-sm);
}

.home .incard-home-hero__lead {
	max-width: 610px;
	margin: 24px 0 0;
	color: var(--incard-text-secondary);
	font-size: clamp(1rem, 1.45vw, 1.125rem);
	line-height: 1.65;
}

.home .incard-home-hero__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 32px 0 0;
}

.home .incard-home-hero__image img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 24px 36px rgba(8, 45, 64, 0.14));
}

/* The three channel chips are already drawn inside the hero artwork. */
.home .incard-home-hero__float {
	display: none !important;
}

.home .incard-home-metric {
	display: grid;
	grid-template-columns: 44px auto;
	grid-template-rows: auto auto;
	column-gap: 14px;
	align-items: center;
	justify-content: center;
	min-width: 0;
	padding: 4px 18px;
	border-right: 1px solid var(--incard-border);
}

.home .incard-home-metric:last-child {
	border-right: 0;
}

.home .incard-home-metric__icon {
	grid-row: 1 / 3;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: 0;
	border-radius: 50%;
	background: var(--home-green-wash);
	color: var(--incard-green);
}

.home .incard-home-metric__icon::before {
	width: 22px;
	height: 22px;
}

.home .incard-home-metric:nth-child(even) .incard-home-metric__icon {
	background: var(--home-blue-wash);
	color: var(--incard-blue);
}

.home .incard-home-metric:nth-child(1) .incard-home-metric__icon { --home-ico: var(--incard-icon-users); }
.home .incard-home-metric:nth-child(2) .incard-home-metric__icon { --home-ico: var(--home-ico-building-2); }
.home .incard-home-metric:nth-child(3) .incard-home-metric__icon { --home-ico: var(--incard-icon-globe); }
.home .incard-home-metric:nth-child(4) .incard-home-metric__icon { --home-ico: var(--incard-icon-zap); }

.home .incard-home-metric__value {
	margin: 0;
	color: var(--incard-deep-navy);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.home .incard-home-metric__label {
	margin: 3px 0 0;
	color: var(--incard-text-secondary);
	font-size: 13px;
	line-height: 1.35;
}

/* -------------------------------------------------- Ecosystem: before/during/after */

.home .incard-home-ecosystem {
	padding-top: var(--home-section-y);
	background: var(--home-band);
}

/* Copy column on the left, three equal phase cards on the right. */
.home .incard-home-ecosystem,
.home .incard-home-benefits,
.home .incard-home-integrations {
	--home-aside: minmax(260px, 0.98fr);
	--home-aside-gap: clamp(36px, 4.4vw, 64px);
}

.home .incard-home-ecosystem,
.home .incard-home-benefits {
	display: grid;
	grid-template-columns: var(--home-aside) minmax(0, 2.02fr);
	align-items: center;
	column-gap: var(--home-aside-gap);
}

/* The constrained group layout centres and width-caps every direct child,
   which would collapse the two columns back into one. */
.home .incard-home-ecosystem > *,
.home .incard-home-benefits > * {
	max-width: none;
	margin-inline: 0;
}

.home .incard-home-feature-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-template-rows: none;
	gap: clamp(36px, 3.4vw, 46px);
	margin: 0;
}

.home .incard-home-feature-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	min-height: 0;
	padding: 28px 22px 30px;
	border: 1px solid var(--home-line);
	border-radius: var(--home-radius);
	background: var(--incard-surface);
	text-align: center;
	box-shadow: var(--home-shadow-md);
}

/* No dark lead panel in the mockup: all three phases carry equal weight. */
.home .incard-home-feature-card:first-child {
	grid-row: auto;
	align-content: initial;
	min-height: 0;
	padding: 28px 22px 30px;
	background: var(--incard-surface);
	box-shadow: var(--home-shadow-md);
}

.home .incard-home-feature-card:first-child h3,
.home .incard-home-feature-card:first-child .incard-home-feature-card__copy {
	color: inherit;
}

.home .incard-home-feature-card:first-child .incard-home-feature-card__copy {
	color: var(--incard-text-secondary);
}

/* Phase chip sits above the icon, as in the mockup. */
.home .incard-home-feature-card__phase {
	order: -1;
	width: fit-content;
	margin: 0 0 20px;
	padding: 5px 14px;
	border-radius: 999px;
	background: var(--incard-green);
	color: var(--ag-on-green, #0c1922);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.09em;
	line-height: 1.2;
	text-transform: uppercase;
}

.home .incard-home-feature-card:nth-child(2) .incard-home-feature-card__phase {
	background: var(--incard-blue);
}

.home .incard-home-feature-card__icon {
	grid-row: auto;
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	margin: 0 0 16px;
	border-radius: 50%;
	background: var(--home-green-wash);
	color: var(--incard-green);
}

.home .incard-home-feature-card__icon::before {
	width: 26px;
	height: 26px;
}

.home .incard-home-feature-card:first-child .incard-home-feature-card__icon {
	background: var(--home-green-wash);
	color: var(--incard-green);
}

.home .incard-home-feature-card:nth-child(2) .incard-home-feature-card__icon {
	background: var(--home-blue-wash);
	color: var(--incard-blue);
}

.home .incard-home-feature-card:nth-child(1) .incard-home-feature-card__icon { --home-ico: var(--home-ico-target); }
.home .incard-home-feature-card:nth-child(2) .incard-home-feature-card__icon { --home-ico: var(--incard-icon-message-square); }
.home .incard-home-feature-card:nth-child(3) .incard-home-feature-card__icon { --home-ico: var(--incard-icon-headphones); }

.home .incard-home-feature-card h3,
.home .incard-home-solution-card h3,
.home .incard-home-product-card h3,
.home .incard-home-benefit h3,
.home .incard-home-step h3 {
	margin: 0;
	color: var(--incard-deep-navy);
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.home .incard-home-feature-card__copy,
.home .incard-home-benefit__copy,
.home .incard-home-card__copy {
	margin: 10px 0 0;
	color: var(--incard-text-secondary);
	font-size: 14px;
	line-height: 1.6;
}

/* Dotted connector between consecutive phase cards. */
.home .incard-home-feature-card + .incard-home-feature-card::before {
	content: "";
	position: absolute;
	top: 50%;
	left: calc(-1 * clamp(36px, 3.4vw, 46px));
	width: clamp(36px, 3.4vw, 46px);
	height: 8px;
	transform: translateY(-50%);
	background-image:
		radial-gradient(circle at 4px 50%, var(--home-connector) 0 3px, transparent 3.5px),
		radial-gradient(circle at calc(100% - 4px) 50%, var(--home-connector) 0 3px, transparent 3.5px),
		repeating-linear-gradient(to right, var(--home-connector) 0 4px, transparent 4px 9px);
	background-size: 100% 100%, 100% 100%, calc(100% - 20px) 1px;
	background-position: 0 0, 0 0, 10px 50%;
	background-repeat: no-repeat;
}

/* ------------------------------------------------------ Benefits: outcomes */

.home .incard-home-benefits {
	background: var(--incard-surface);
}

.home .incard-home-benefit-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
	border-block: 0;
}

.home .incard-home-benefit {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
	padding: 26px 18px 28px;
	border: 1px solid var(--home-line);
	border-right: 1px solid var(--home-line);
	border-radius: var(--home-radius);
	background: var(--incard-surface);
	text-align: center;
	box-shadow: var(--home-shadow-md);
	transform: none !important;
}

.home .incard-home-benefit:last-child {
	border-right: 1px solid var(--home-line);
}

.home .incard-home-benefit__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin: 0 0 16px;
	border-radius: 50%;
	background: var(--home-green-wash);
	color: var(--incard-green);
}

.home .incard-home-benefit__icon::before {
	width: 23px;
	height: 23px;
}

.home .incard-home-benefit:nth-child(even) .incard-home-benefit__icon {
	background: var(--home-blue-wash);
	color: var(--incard-blue);
}

.home .incard-home-benefit:nth-child(1) .incard-home-benefit__icon { --home-ico: var(--home-ico-trending-up); }
.home .incard-home-benefit:nth-child(2) .incard-home-benefit__icon { --home-ico: var(--home-ico-clock); }
.home .incard-home-benefit:nth-child(3) .incard-home-benefit__icon { --home-ico: var(--incard-icon-chart-column); }
.home .incard-home-benefit:nth-child(4) .incard-home-benefit__icon { --home-ico: var(--incard-icon-zap); }

.home .incard-home-benefit h3 {
	font-size: 16px;
	font-weight: 600;
}

.home .incard-home-benefit__value {
	margin: 12px 0 0;
	color: var(--incard-green);
	font-size: clamp(1.7rem, 2.2vw, 2.1rem);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 1.05;
}

.home .incard-home-benefit:nth-child(even) .incard-home-benefit__value {
	color: var(--incard-blue);
}

.home .incard-home-benefit__copy {
	margin-top: 10px;
	font-size: 13px;
	line-height: 1.5;
}

/* ------------------------------------------------- Solutions by pipeline */

.home .incard-home-solutions {
	background: var(--home-band);
}

.home .incard-home-solution-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 24px;
	margin: 0;
}

/* The stack direction is what the previous build was missing: without it the
   card's flex children laid out in a row and every label collapsed to one
   character per line. */
.home .incard-home-solution-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	padding: 26px 26px 24px;
	border: 1px solid var(--home-line);
	border-radius: var(--home-radius);
	background: var(--incard-surface);
	box-shadow: var(--home-shadow-md);
}

/* The illustration is a small corner motif, not a banner. The source assets
   carry a pale backdrop, so the figure is feathered into the card on its top
   and left edges and the bitmap is multiplied to drop the near-white ground. */
.home .incard-home-solution-card__image,
.home .incard-home-solution-card:first-child .incard-home-solution-card__image {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 0;
	order: 99;
	aspect-ratio: 1 / 1;
	width: 40%;
	max-width: 142px;
	margin: 0;
	overflow: visible;
	border-radius: 0;
	background: none;
	pointer-events: none;
	-webkit-mask-image:
		linear-gradient(to right, transparent 0, #000 46%),
		linear-gradient(to bottom, transparent 0, #000 40%);
	mask-image:
		linear-gradient(to right, transparent 0, #000 46%),
		linear-gradient(to bottom, transparent 0, #000 40%);
	-webkit-mask-composite: source-in;
	mask-composite: intersect;
}

.home .incard-home-solution-card__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: right bottom;
	mix-blend-mode: multiply;
}

.home .incard-home-solution-card > :not(.incard-home-solution-card__image) {
	position: relative;
	z-index: 1;
}

.home .incard-home-card__tag {
	width: fit-content;
	margin: 0 0 12px;
	padding: 5px 12px;
	border-radius: 6px;
	background: var(--home-green-wash);
	color: var(--incard-green);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.07em;
	line-height: 1.2;
	text-transform: uppercase;
}

.home .incard-home-solution-card:nth-child(n+2) .incard-home-card__tag,
.home .incard-home-product-card:nth-child(2) .incard-home-card__tag {
	background: var(--home-blue-wash);
	color: var(--incard-blue);
}

/* Keep the checklist clear of the corner illustration. */
.home .incard-home-solution-card .incard-home-card__copy {
	max-width: 94%;
}

.home .incard-home-solution-card .incard-home-card__list {
	max-width: 72%;
}

.home .incard-home-card__list {
	display: grid;
	gap: 9px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
	color: var(--incard-text-secondary);
	font-size: 13.5px;
	line-height: 1.5;
}

.home .incard-home-card__list li {
	position: relative;
	padding-left: 22px;
}

.home .incard-home-card__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.28em;
	width: 14px;
	height: 14px;
	background: var(--incard-green);
	-webkit-mask: url("../icons/circle-check.svg") center / contain no-repeat;
	mask: url("../icons/circle-check.svg") center / contain no-repeat;
}

.home .incard-home-card__link {
	margin: auto 0 0;
	padding-top: 26px;
}

/* ----------------------------------------------------------- Our products */

.home .incard-home-products {
	background: var(--incard-surface);
}

.home .incard-home-product-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
}

.home .incard-home-product-card {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(150px, 0.98fr);
	align-items: center;
	column-gap: 14px;
	min-width: 0;
	overflow: hidden;
	padding: 30px;
	border: 1px solid var(--home-line);
	border-radius: var(--home-radius);
	background: var(--incard-surface);
	box-shadow: var(--home-shadow-md);
}

.home .incard-home-product-card__copy {
	position: relative;
	z-index: 2;
	margin: 0;
}

/* Contained artwork on the right of both panels, matching the mockup. */
.home .incard-home-product-card__image,
.home .incard-home-product-card:nth-child(2) .incard-home-product-card__image {
	order: 0;
	width: 100%;
	margin: 0;
}

.home .incard-home-product-card__image img {
	width: 100%;
	height: auto;
	max-height: 240px;
	object-fit: contain;
	object-position: center;
}

/* --------------------------------------------------- Automation: 6 steps */

.home .incard-home-automation {
	background: var(--incard-surface);
}

.home .incard-home-step-grid {
	position: relative;
	display: grid !important;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
}

.home .incard-home-step-grid::before {
	content: none;
}

.home .incard-home-step {
	position: relative;
	z-index: 1;
	min-width: 0;
	text-align: center;
}

/* Dashed arrow between consecutive steps, level with the icon centre. */
.home .incard-home-step + .incard-home-step::before {
	content: "";
	position: absolute;
	top: 27px;
	left: calc(-16px - 50%);
	width: calc(16px + 50%);
	height: 1px;
	background-image: repeating-linear-gradient(to right, rgba(8, 45, 64, 0.34) 0 4px, transparent 4px 9px);
	background-size: calc(100% - 26px) 1px;
	background-position: 8px 50%;
	background-repeat: no-repeat;
}

.home .incard-home-step + .incard-home-step::after {
	content: "";
	position: absolute;
	top: 23px;
	left: -12px;
	width: 0;
	height: 0;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 6px solid rgba(8, 45, 64, 0.42);
}

.home .incard-home-step__icon {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	margin: 0 auto 18px;
	border: 5px solid var(--incard-surface);
	border-radius: 50%;
	background: var(--incard-green);
	color: var(--ag-on-green, #0c1922);
	box-shadow: 0 0 0 1px rgba(22, 139, 71, 0.18), 0 6px 14px rgba(8, 45, 64, 0.09);
}

.home .incard-home-step__icon::before {
	width: 24px;
	height: 24px;
}

.home .incard-home-step:nth-child(even) .incard-home-step__icon {
	background: var(--incard-blue);
	box-shadow: 0 0 0 1px rgba(22, 139, 229, 0.18), 0 6px 14px rgba(8, 45, 64, 0.09);
}

.home .incard-home-step:nth-child(1) .incard-home-step__icon { --home-ico: var(--home-ico-inbox); }
.home .incard-home-step:nth-child(2) .incard-home-step__icon { --home-ico: var(--incard-icon-message-square); }
.home .incard-home-step:nth-child(3) .incard-home-step__icon { --home-ico: var(--home-ico-funnel); }
.home .incard-home-step:nth-child(4) .incard-home-step__icon { --home-ico: var(--home-ico-repeat); }
.home .incard-home-step:nth-child(5) .incard-home-step__icon { --home-ico: var(--incard-icon-headphones); }
.home .incard-home-step:nth-child(6) .incard-home-step__icon { --home-ico: var(--home-ico-trending-up); }

.home .incard-home-step h3 {
	font-size: 16px;
}

.home .incard-home-step:nth-child(even) h3 {
	color: var(--incard-blue);
}

.home .incard-home-step:nth-child(odd) h3 {
	color: var(--incard-green);
}

.home .incard-home-step__copy {
	margin: 8px auto 0;
	color: var(--incard-text-secondary);
	font-size: 12.5px;
	line-height: 1.5;
}

/* ------------------------------------------------ Channels & integrations */

.home .incard-home-integrations {
	background: var(--home-band);
}

.home .incard-home-integrations__layout {
	display: grid !important;
	grid-template-columns: var(--home-aside) minmax(0, 2.02fr);
	align-items: center;
	gap: var(--home-aside-gap);
	margin: 0;
}

.home .incard-home-integrations__copy {
	margin: 0;
}

.home .incard-home-integrations__copy .wp-block-buttons {
	margin-top: 26px;
}

.home .incard-home-channel-grid {
	display: grid !important;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
}

/* Icon over label, centred: the mockup's compact 6 x 2 tile wall. */
.home .incard-home-channel {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 0;
	padding: 18px 8px 16px;
	border: 1px solid var(--home-line);
	border-radius: 12px;
	background: var(--incard-surface);
	text-align: center;
	box-shadow: var(--home-shadow-sm);
}

.home .incard-home-channel__icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	margin: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--incard-blue);
}

.home .incard-home-channel__icon::before {
	width: 30px;
	height: 30px;
}

.home .incard-home-channel:nth-child(even) .incard-home-channel__icon {
	background: transparent;
}

/* Brand marks keep their own colour; utility channels use the palette. */
.home .incard-home-channel:nth-child(1) .incard-home-channel__icon { --home-ico: var(--incard-icon-brand-facebook); color: #1877f2; }
.home .incard-home-channel:nth-child(2) .incard-home-channel__icon { --home-ico: var(--incard-icon-brand-messenger-ig-dm); color: #0084ff; }
.home .incard-home-channel:nth-child(3) .incard-home-channel__icon { --home-ico: var(--home-ico-message-circle); color: #0068ff; }
.home .incard-home-channel:nth-child(4) .incard-home-channel__icon { --home-ico: var(--incard-icon-brand-instagram); color: #e1306c; }
.home .incard-home-channel:nth-child(5) .incard-home-channel__icon { --home-ico: var(--incard-icon-brand-whatsapp); color: #25d366; }
.home .incard-home-channel:nth-child(6) .incard-home-channel__icon { --home-ico: var(--incard-icon-brand-tiktok); color: #111827; }
.home .incard-home-channel:nth-child(7) .incard-home-channel__icon { --home-ico: var(--home-ico-mail); color: var(--incard-blue); }
.home .incard-home-channel:nth-child(8) .incard-home-channel__icon { --home-ico: var(--incard-icon-message-square); color: var(--incard-green); }
.home .incard-home-channel:nth-child(9) .incard-home-channel__icon { --home-ico: var(--incard-icon-globe); color: var(--incard-blue); }
.home .incard-home-channel:nth-child(10) .incard-home-channel__icon { --home-ico: var(--home-ico-target); color: var(--incard-green); }
.home .incard-home-channel:nth-child(11) .incard-home-channel__icon { --home-ico: var(--home-ico-database); color: var(--incard-blue); }
.home .incard-home-channel:nth-child(12) .incard-home-channel__icon { --home-ico: var(--home-ico-code); color: var(--incard-text-secondary); }

.home .incard-home-channel__name {
	min-width: 0;
	margin: 0;
	color: var(--incard-deep-navy);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.3;
}

.home .incard-home-cta__layout {
	position: relative;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 40px;
	margin: 0;
	padding: clamp(30px, 3.6vw, 44px) clamp(32px, 4vw, 52px);
	border-radius: 24px;
	background: linear-gradient(120deg, #168b47 0%, #138a44 32%, #168be5 100%);
	box-shadow: 0 24px 48px rgba(8, 45, 64, 0.14);
	overflow: hidden;
}

/* Soft arc echoing the mockup's banner artwork. */
.home .incard-home-cta__layout::after {
	content: "";
	position: absolute;
	z-index: 0;
	left: -80px;
	bottom: -160px;
	width: 340px;
	height: 340px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	pointer-events: none;
}

.home .incard-home-cta__copy {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	align-items: center;
	column-gap: 24px;
}

/* Calendar badge: drawn in CSS so the block content stays untouched. The disc
   is ::before and the glyph is a masked ::after, because a data-URI SVG used as a
   background image cannot inherit currentColor, so it would render black. */
.home .incard-home-cta__copy::before {
	content: "";
	grid-row: 1 / 3;
	display: block;
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background: var(--incard-surface);
	box-shadow: 0 8px 20px rgba(8, 45, 64, 0.16);
}

.home .incard-home-cta__copy::after {
	content: "";
	position: absolute;
	left: 21px;
	top: 50%;
	width: 34px;
	height: 34px;
	transform: translateY(-50%);
	background-color: var(--incard-green);
	-webkit-mask: var(--incard-icon-calendar) center / contain no-repeat;
	mask: var(--incard-icon-calendar) center / contain no-repeat;
}

.home .incard-home-cta h2 {
	max-width: 640px;
	color: var(--incard-surface);
	font-size: clamp(1.4rem, 2.1vw, 1.75rem);
}

.home .incard-home-cta__lead {
	margin: 10px 0 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 15px;
	line-height: 1.55;
}

.home .incard-home-cta__action,
.home .incard-home-cta__action .wp-block-buttons {
	position: relative;
	z-index: 1;
	margin: 0;
}

.home .incard-home-cta__button .wp-block-button__link {
	border: 1px solid var(--incard-surface);
	background: var(--incard-surface);
	color: var(--incard-blue);
	box-shadow: 0 8px 20px rgba(8, 45, 64, 0.16);
}

.home .incard-home-cta__button .wp-block-button__link:hover {
	border-color: var(--incard-surface);
	background: var(--home-blue-wash);
	color: var(--incard-blue);
}

/* ------------------------------------------------------------------ Hover */

@media (hover: hover) {
	.home .incard-home-feature-card,
	.home .incard-home-benefit,
	.home .incard-home-solution-card,
	.home .incard-home-product-card,
	.home .incard-home-channel {
		transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
	}

	.home .incard-home-feature-card:hover,
	.home .incard-home-benefit:hover,
	.home .incard-home-solution-card:hover,
	.home .incard-home-product-card:hover {
		transform: translateY(-4px);
		border-color: rgba(22, 139, 71, 0.28);
		box-shadow: var(--home-shadow-lg);
	}

	.home .incard-home-channel:hover {
		transform: translateY(-2px);
		border-color: rgba(22, 139, 229, 0.25);
		box-shadow: 0 6px 14px rgba(8, 45, 64, 0.08);
	}
}

/* ------------------------------------------------------------- Responsive */

@media (max-width: 1180px) {
	.home .incard-home-ecosystem,
	.home .incard-home-benefits {
		grid-template-columns: minmax(220px, 0.9fr) minmax(0, 2fr);
	}

	.home .incard-home-integrations__layout {
		grid-template-columns: minmax(220px, 0.9fr) minmax(0, 2fr);
	}

	.home .incard-home-channel-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 960px) {
	.home {
		--home-container: min(760px, calc(100vw - 36px));
	}

	.home main .entry-content > .wp-block-group.incard-home-hero .incard-home-hero__grid,
	.home .incard-home-integrations__layout {
		grid-template-columns: 1fr !important;
	}

	.home .incard-home-ecosystem,
	.home .incard-home-benefits {
		display: block;
	}

	.home .incard-home-hero__copy {
		padding-bottom: 0;
	}

	.home .incard-home-metric:nth-child(2) {
		border-right: 0;
	}

	.home .incard-home-metric:nth-child(-n+2) {
		padding-bottom: 16px;
		border-bottom: 1px solid var(--incard-border);
	}

	.home .incard-home-metric:nth-child(n+3) {
		padding-top: 16px;
	}

	.home .incard-home-benefit-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home .incard-home-solution-grid,
	.home .incard-home-product-grid {
		grid-template-columns: 1fr !important;
	}

	.home .incard-home-solution-card {
		padding: 24px;
	}

	.home .incard-home-solution-card__image,
	.home .incard-home-solution-card:first-child .incard-home-solution-card__image {
		width: 32%;
		max-width: 190px;
	}

	.home .incard-home-step-grid {
		grid-template-columns: repeat(3, 1fr);
		row-gap: 36px;
	}

	.home .incard-home-step + .incard-home-step::before,
	.home .incard-home-step + .incard-home-step::after {
		content: none;
	}

	.home .incard-home-channel-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.home {
		--home-section-y: 64px;
	}

	.home .incard-home-hero__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.home .incard-home-hero__actions .wp-block-button,
	.home .incard-home-hero__actions .wp-block-button__link {
		width: 100%;
	}

	.home .incard-home-metric,
	.home .incard-home-metric:nth-child(n) {
		padding: 13px 4px;
		border-right: 0;
		border-bottom: 1px solid var(--incard-border);
	}

	.home .incard-home-metric:last-child {
		border-bottom: 0;
	}

	.home .incard-home-ecosystem {
		padding-top: var(--home-section-y);
	}

	.home .incard-home-section__header,
	.home .incard-home-section__header--split {
		display: block;
		margin-bottom: 32px;
		text-align: left;
	}

	.home .incard-home-section__header-link {
		margin-top: 20px;
	}

	.home .incard-home-feature-grid,
	.home .incard-home-benefit-grid,
	.home .incard-home-cta__layout {
		grid-template-columns: 1fr !important;
	}

	.home .incard-home-feature-card + .incard-home-feature-card::before {
		content: none;
	}

	.home .incard-home-feature-card:first-child {
		min-height: 0;
	}

	.home .incard-home-solution-card__image,
	.home .incard-home-solution-card:first-child .incard-home-solution-card__image {
		width: 38%;
		max-width: 150px;
	}

	.home .incard-home-product-card {
		grid-template-columns: 1fr;
		padding: 26px;
	}

	.home .incard-home-product-card__image,
	.home .incard-home-product-card:nth-child(2) .incard-home-product-card__image {
		order: -1;
		width: 100%;
		margin: 0 0 18px;
	}

	.home .incard-home-step-grid {
		grid-template-columns: 1fr 1fr;
	}

	.home .incard-home-channel-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}

	.home .incard-home-cta__layout {
		gap: 26px;
		padding: 30px 24px;
	}

	.home .incard-home-cta__copy {
		grid-template-columns: 60px minmax(0, 1fr);
		column-gap: 18px;
	}

	.home .incard-home-cta__copy::before {
		width: 60px;
		height: 60px;
		background-size: 28px 28px;
	}

	.home .incard-home-cta__action .wp-block-button,
	.home .incard-home-cta__action .wp-block-button__link {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home *,
	.home *::before,
	.home *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* The shared outcome grid carries four tiles in English and three in
   Vietnamese. auto-fit cannot be used here: inside the aside layout the track
   is a flex fraction, so auto-fit collapses the grid to its intrinsic width
   instead of filling it. Count the tiles explicitly instead. */
.home .incard-home-benefit-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home .incard-home-benefit-grid:has(> .incard-home-benefit:nth-child(4)) {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home .incard-home-faq-list .wp-block-details[open] summary::after {
	transform: translateY(-50%) rotate(180deg);
}

/* End Homepage Global Style 2026 final layer. */

/* Solution Page Style 2026. */

/* Layer for the pipeline solution pages, built to
   design/mockups/incard-solution-agentic-ai-platform-v1. Selectors key off the
   block class names rather than a body class, so the same layer serves the
   Vietnamese page and its English twin without further scoping. */

.incard-sol-hero,
.incard-sol-section,
.incard-sol-cta {
	--sol-line: rgba(8, 45, 64, 0.10);
	--sol-band: #f2f6fa;
	--sol-green-wash: #f0fdf4;
	--sol-blue-wash: #eaf5ff;
	--sol-radius: 16px;
	--sol-shadow-sm: 0 1px 2px rgba(8, 45, 64, 0.06);
	--sol-shadow-md: 0 4px 12px rgba(8, 45, 64, 0.08);
	--sol-shadow-lg: 0 12px 24px rgba(8, 45, 64, 0.10);
	box-sizing: border-box;
	margin-block: 0;
	padding-inline: max(24px, calc((100vw - var(--container-max)) / 2));
}

.incard-sol-section {
	padding-block: clamp(60px, 6vw, 92px);
}

/* Band rhythm, alternating with the mockup. */
.incard-sol-roles,
.incard-sol-stage--pre,
.incard-sol-stage--post,
.incard-sol-faq {
	background: var(--sol-band);
}

.incard-sol-channels,
.incard-sol-stage--during,
.incard-sol-rollout,
.incard-sol-resources {
	background: var(--incard-surface);
}

/* ------------------------------------------------------------- Type scale */

.incard-sol-section__header {
	max-width: 720px;
	margin: 0 auto 40px;
	text-align: center;
}

.incard-sol-section__header > * {
	margin-inline: auto !important;
}

.incard-sol-section__header h2 {
	margin: 0;
	color: var(--incard-deep-navy);
}

.incard-sol-section__lead {
	max-width: 640px;
	margin: 12px auto 0;
	color: var(--incard-text-secondary);
	font-size: var(--text-body);
	line-height: 1.65;
}

.incard-sol-accent {
	color: var(--incard-green);
}

.incard-sol-accent-blue {
	color: var(--incard-blue);
}

.incard-sol-card__copy {
	margin: 10px 0 0;
	color: var(--incard-text-secondary);
	font-size: var(--text-sm);
	line-height: 1.6;
}

.incard-sol-card__link {
	margin: auto 0 0;
	padding-top: 20px;
}

.incard-sol-card__link a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--incard-blue);
	font-size: var(--text-sm);
	font-weight: 600;
	text-decoration: none;
}

.incard-sol-card__link a:hover {
	color: var(--incard-green);
}

/* Green circle-check bullets, shared by every list on the page. */
.incard-sol-check-list {
	display: grid;
	gap: 9px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
	color: var(--incard-text-secondary);
	font-size: var(--text-sm);
	line-height: 1.55;
}

.incard-sol-check-list li {
	position: relative;
	padding-left: 24px;
}

.incard-sol-check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.24em;
	width: 15px;
	height: 15px;
	background: var(--incard-green);
	-webkit-mask: url("../icons/circle-check.svg") center / contain no-repeat;
	mask: url("../icons/circle-check.svg") center / contain no-repeat;
}

/* Numbered process list: the source copy had the digits glued to the text. */
.incard-sol-step-list {
	display: grid;
	gap: 10px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: sol-step;
	color: var(--incard-text-secondary);
	font-size: var(--text-sm);
	line-height: 1.55;
}

.incard-sol-step-list li {
	position: relative;
	counter-increment: sol-step;
	padding-left: 30px;
}

.incard-sol-step-list li::before {
	content: counter(sol-step);
	position: absolute;
	left: 0;
	top: 0.05em;
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--sol-blue-wash);
	color: var(--incard-blue);
	font-size: var(--text-xs);
	font-weight: 700;
	line-height: 1;
}

/* ---------------------------------------------------------------- Buttons */

.incard-sol-btn-primary .wp-block-button__link,
.incard-sol-cta__button .wp-block-button__link {
	box-sizing: border-box;
	min-height: 46px;
	padding: 13px 24px;
	border: 1px solid var(--incard-green);
	border-radius: 8px;
	background: var(--incard-green);
	color: var(--ag-on-green, #0c1922);
	font-size: var(--text-btn);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(22, 139, 71, 0.18);
	transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.incard-sol-btn-primary .wp-block-button__link:hover {
	border-color: var(--incard-green-hover);
	background: var(--incard-green-hover);
	color: var(--incard-surface);
}

.incard-sol-btn-primary .wp-block-button__link:active,
.incard-sol-cta__button .wp-block-button__link:active {
	transform: translateY(1px);
}

.incard-sol-hero__actions,
.incard-sol-stage__actions {
	justify-content: center;
	margin: 34px 0 0;
}

/* ------------------------------------------------------------------- Hero */

.incard-sol-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(52px, 6vw, 84px);
	background:
		radial-gradient(circle at 88% 16%, rgba(22, 139, 229, 0.22), transparent 34%),
		radial-gradient(circle at 12% 84%, rgba(22, 139, 71, 0.18), transparent 36%),
		linear-gradient(150deg, #082d40 0%, #0a3b55 58%, #0d4a5f 100%);
}

.incard-sol-hero__title {
	max-width: 900px;
	margin: 0 auto;
	color: var(--incard-surface);
	text-align: center;
}

.incard-sol-hero__title .incard-sol-accent {
	color: #52d589;
}

.incard-sol-hero__lead {
	max-width: 720px;
	margin: 16px auto 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: var(--text-body);
	line-height: 1.65;
	text-align: center;
}

/* Three product cards sitting on the dark band. */
.incard-sol-hero__cards {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 40px 0 0;
}

.incard-sol-hero__card {
	min-width: 0;
	padding: 14px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--sol-radius);
	background: var(--incard-surface);
	box-shadow: 0 12px 28px rgba(3, 20, 30, 0.28);
}

.incard-sol-hero__card-image {
	margin: 0;
}

.incard-sol-hero__card-image img {
	display: block;
	aspect-ratio: 16 / 9;
	width: 100%;
	height: auto;
	object-fit: contain;
}

/* Copy panel plus dashboard shot. */
.incard-sol-hero__panel {
	display: grid !important;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	align-items: stretch;
	gap: 20px;
	margin: 20px 0 0;
}

.incard-sol-hero__panel-copy {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 26px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--sol-radius);
	background: rgba(255, 255, 255, 0.06);
}

.incard-sol-hero__eyebrow {
	width: fit-content;
	margin: 0 0 12px;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(82, 213, 137, 0.16);
	color: #52d589;
	font-size: var(--text-xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.incard-sol-hero__panel-text {
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: var(--text-sm);
	line-height: 1.7;
}

.incard-sol-hero__panel-link {
	margin: auto 0 0;
	padding-top: 20px;
}

.incard-sol-hero__panel-link a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #52d589;
	font-size: var(--text-sm);
	font-weight: 600;
	text-decoration: none;
}

.incard-sol-hero__panel-link a:hover {
	color: var(--incard-surface);
}

.incard-sol-hero__panel-visual {
	min-width: 0;
	padding: 0;
}

.incard-sol-hero__panel-image {
	height: 100%;
	margin: 0;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--sol-radius);
}

.incard-sol-hero__panel-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ----------------------------------------------------- Lợi ích theo vai trò */

.incard-sol-role-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
}

.incard-sol-role-card,
.incard-sol-channel-card,
.incard-sol-rollout-card,
.incard-sol-resource-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 26px;
	border: 1px solid var(--sol-line);
	border-radius: var(--sol-radius);
	background: var(--incard-surface);
	box-shadow: var(--sol-shadow-md);
}

.incard-sol-role-card h3,
.incard-sol-channel-card h3,
.incard-sol-rollout-card h3,
.incard-sol-resource-card h3 {
	margin: 0;
	color: var(--incard-deep-navy);
}

/* ------------------------------------------------------- Kênh & Tích hợp */

.incard-sol-channel-grid,
.incard-sol-rollout-grid,
.incard-sol-resource-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
}

/* ------------------------------------------- Ba giai đoạn của phễu bán hàng */

/* Illustration on the left, problem and solution panels on the right. */
.incard-sol-stage__body {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	/* Centre rather than stretch: a stretched visual column leaves the tinted
	   tile showing above and below the illustration. Core ships
	   `.wp-block-columns{align-items:normal!important}`, so this needs the
	   same weight to win. */
	align-items: center !important;
	gap: 22px;
	margin: 0;
	padding: 22px;
	border: 1px solid var(--sol-line);
	border-radius: 20px;
	background: var(--incard-surface);
	box-shadow: var(--sol-shadow-md);
}

.incard-sol-stage__visual {
	display: grid;
	place-items: center;
	min-width: 0;
	padding: 0;
	overflow: hidden;
	border-radius: 12px;
	background: linear-gradient(150deg, #f2f6fa, #eaf5ff);
}

.incard-sol-stage__image {
	margin: 0;
}

.incard-sol-stage__image img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.incard-sol-stage__panels {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	min-width: 0;
	padding: 0;
}

.incard-sol-panel {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 20px;
	border-radius: 12px;
}

.incard-sol-panel--problem {
	border: 1px solid var(--sol-line);
	background: var(--sol-band);
}

.incard-sol-panel--solution {
	border: 1px solid rgba(22, 139, 71, 0.22);
	background: var(--incard-surface);
}

.incard-sol-panel h3 {
	margin: 0;
	color: var(--incard-deep-navy);
}

.incard-sol-panel--solution h3 {
	color: var(--incard-green);
}

/* The implementation steps under each stage. */
.incard-sol-step-row {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 18px 0 0;
}

.incard-sol-step {
	min-width: 0;
	padding: 14px 16px;
	border: 1px solid var(--sol-line);
	border-radius: 10px;
	background: var(--incard-surface);
	box-shadow: var(--sol-shadow-sm);
}

.incard-sol-step__text {
	margin: 0;
	color: var(--incard-deep-navy);
	font-size: var(--text-sm);
	line-height: 1.5;
}

/* --------------------------------------------------------------- Resources */

.incard-sol-resource-card h3 {
}

/* The FAQ section has no questions in the source content yet. */
.incard-sol-faq {
	padding-block: clamp(44px, 4vw, 64px);
}

.incard-sol-faq .incard-sol-section__header {
	margin-bottom: 0;
}

/* --------------------------------------------------------------- Close CTA */

.incard-sol-cta {
	padding-block: clamp(52px, 5vw, 76px);
	background: var(--incard-surface);
}

.incard-sol-cta__layout {
	position: relative;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 36px;
	margin: 0;
	overflow: hidden;
	padding: clamp(30px, 3.6vw, 46px) clamp(30px, 4vw, 52px);
	border-radius: 24px;
	background: linear-gradient(120deg, #168b47 0%, #138a44 34%, #168be5 100%);
	box-shadow: 0 24px 48px rgba(8, 45, 64, 0.14);
}

.incard-sol-cta__layout::after {
	content: "";
	position: absolute;
	z-index: 0;
	left: -70px;
	bottom: -170px;
	width: 340px;
	height: 340px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	pointer-events: none;
}

.incard-sol-cta__copy,
.incard-sol-cta__action {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.incard-sol-cta h2 {
	max-width: 640px;
	margin: 0;
	color: var(--incard-surface);
}

.incard-sol-cta__lead {
	margin: 10px 0 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: var(--text-body);
	line-height: 1.55;
}

.incard-sol-cta__action .wp-block-buttons {
	margin: 0;
}

.incard-sol-cta__button .wp-block-button__link {
	border-color: var(--incard-surface);
	background: var(--incard-surface);
	color: var(--incard-blue);
	box-shadow: 0 8px 20px rgba(8, 45, 64, 0.16);
}

.incard-sol-cta__button .wp-block-button__link:hover {
	border-color: var(--incard-surface);
	background: var(--sol-blue-wash);
	color: var(--incard-blue);
}

/* --------------------------------------------------- Block layout resets */

/* The constrained group layout centres and width-caps every child with
   !important. On a flex column that auto margin does more than centre: it
   shrink-wraps the child to its content, which is why panel headings came out
   centred and narrow. Every constrained group on this page opts out. */
.incard-sol-hero > *,
.incard-sol-section > *,
.incard-sol-cta > *,
.incard-sol-stage__panels > *,
.incard-sol-panel > *,
.incard-sol-hero__panel-copy > *,
.incard-sol-cta__copy > * {
	margin-inline: 0 !important;
	max-width: none;
}

.incard-sol-hero__cards > *,
.incard-sol-hero__panel > *,
.incard-sol-role-grid > *,
.incard-sol-channel-grid > *,
.incard-sol-rollout-grid > *,
.incard-sol-resource-grid > *,
.incard-sol-stage__body > *,
.incard-sol-step-row > * {
	margin-block: 0;
}

/* ------------------------------------------------------------------ Hover */

@media (hover: hover) {
	.incard-sol-role-card,
	.incard-sol-channel-card,
	.incard-sol-rollout-card,
	.incard-sol-resource-card,
	.incard-sol-step {
		transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
	}

	.incard-sol-role-card:hover,
	.incard-sol-channel-card:hover,
	.incard-sol-rollout-card:hover,
	.incard-sol-resource-card:hover {
		transform: translateY(-4px);
		border-color: rgba(22, 139, 71, 0.28);
		box-shadow: var(--sol-shadow-lg);
	}

	.incard-sol-step:hover {
		border-color: rgba(22, 139, 229, 0.25);
		box-shadow: 0 6px 14px rgba(8, 45, 64, 0.08);
	}
}

/* ------------------------------------------------------------- Responsive */

@media (max-width: 1024px) {
	.incard-sol-stage__body {
		grid-template-columns: 1fr;
	}

	.incard-sol-stage__visual {
		max-height: 320px;
	}

	.incard-sol-hero__panel {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 860px) {

	.incard-sol-hero__cards,
	.incard-sol-role-grid,
	.incard-sol-channel-grid,
	.incard-sol-rollout-grid,
	.incard-sol-resource-grid,
	.incard-sol-step-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.incard-sol-cta__layout {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

@media (max-width: 600px) {

	.incard-sol-hero__cards,
	.incard-sol-role-grid,
	.incard-sol-channel-grid,
	.incard-sol-rollout-grid,
	.incard-sol-resource-grid,
	.incard-sol-step-row,
	.incard-sol-stage__panels {
		grid-template-columns: 1fr !important;
	}

	.incard-sol-stage__body {
		padding: 16px;
	}

	.incard-sol-cta__action .wp-block-button,
	.incard-sol-cta__action .wp-block-button__link,
	.incard-sol-hero__actions .wp-block-button,
	.incard-sol-hero__actions .wp-block-button__link {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.incard-sol-hero *,
	.incard-sol-section *,
	.incard-sol-cta * {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* ==========================================================================
   Custom AI Agent Solutions (page 206): components this page adds on top of
   the shared solution layer above.
   ========================================================================== */

/* Band rhythm for this page's sections. */
.incard-sol-intro,
.incard-sol-outcomes,
.incard-sol-industries,
.incard-sol-phases,
.incard-sol-connect,
.incard-sol-faq {
	background: var(--sol-band);
}

.incard-sol-fit,
.incard-sol-flow,
.incard-sol-enterprise,
.incard-sol-compliance,
.incard-sol-cases {
	background: var(--incard-surface);
}

/* ------------------------------------------------------- Hero result tiles */

.incard-sol-stat-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin: 38px 0 0;
}

.incard-sol-stat {
	min-width: 0;
	padding: 22px 20px 24px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--sol-radius);
	background: rgba(255, 255, 255, 0.06);
	text-align: center;
}

.incard-sol-stat__value {
	margin: 0;
	color: #52d589;
	font-size: var(--text-h2);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1.1;
}

.incard-sol-stat:nth-child(even) .incard-sol-stat__value {
	color: #6fc4f5;
}

.incard-sol-stat__label {
	margin: 10px 0 0;
	color: var(--incard-surface);
	font-size: var(--text-sm);
	font-weight: 600;
	line-height: 1.35;
}

.incard-sol-stat__note {
	margin: 4px 0 0;
	color: rgba(255, 255, 255, 0.62);
	font-size: var(--text-xs);
	line-height: 1.45;
}

/* ------------------------------------------------------------- Intro block */

.incard-sol-intro {
	padding-block: clamp(36px, 4vw, 56px);
}

.incard-sol-callout {
	max-width: 900px;
	margin: 0 auto !important;
	padding: 22px 28px;
	border: 1px solid var(--sol-line);
	border-left: 3px solid var(--incard-green);
	border-radius: 12px;
	background: var(--incard-surface);
	color: var(--incard-deep-navy);
	font-size: var(--text-body);
	line-height: 1.7;
	text-align: center;
	box-shadow: var(--sol-shadow-sm);
}

/* -------------------------------------------------- Chips shared by cards */

.incard-sol-chip {
	width: fit-content;
	margin: 0;
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--sol-blue-wash);
	color: var(--incard-blue);
	font-size: var(--text-xs);
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.2;
}

/* --------------------------------------------------- Quy trình hoạt động */

.incard-sol-flow-grid,
.incard-sol-phase-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
}

.incard-sol-flow-card,
.incard-sol-phase-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 26px;
	border: 1px solid var(--sol-line);
	border-radius: var(--sol-radius);
	background: var(--incard-surface);
	box-shadow: var(--sol-shadow-md);
}

.incard-sol-flow-card__num,
.incard-sol-phase-card__num {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	margin: 0 0 14px;
	border-radius: 50%;
	background: var(--sol-green-wash);
	color: var(--incard-green);
	font-size: var(--text-sm);
	font-weight: 700;
	line-height: 1;
}

.incard-sol-flow-card:nth-child(even) .incard-sol-flow-card__num,
.incard-sol-phase-card:nth-child(even) .incard-sol-phase-card__num {
	background: var(--sol-blue-wash);
	color: var(--incard-blue);
}

.incard-sol-flow-card h3,
.incard-sol-phase-card h3 {
	margin: 10px 0 0;
	color: var(--incard-deep-navy);
}

.incard-sol-flow-card .incard-sol-chip {
	margin: 0;
}

.incard-sol-phase-card .incard-sol-chip {
	margin: 10px 0 0;
	background: var(--sol-green-wash);
	color: var(--incard-green);
}

.incard-sol-phase-card:nth-child(even) .incard-sol-chip {
	background: var(--sol-blue-wash);
	color: var(--incard-blue);
}

/* --------------------------------------------- Industry cards with imagery */

.incard-sol-industry-grid,
.incard-sol-case-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	margin: 0;
}

.incard-sol-industry-card,
.incard-sol-case-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	padding: 0 24px 26px;
	border: 1px solid var(--sol-line);
	border-radius: var(--sol-radius);
	background: var(--incard-surface);
	box-shadow: var(--sol-shadow-md);
}

.incard-sol-industry-card__image,
.incard-sol-case-card__image {
	aspect-ratio: 16 / 9;
	margin: 0 -24px 20px;
	overflow: hidden;
	background: linear-gradient(150deg, #f2f6fa, #eaf5ff);
}

.incard-sol-industry-card__image img,
.incard-sol-case-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Bricks renders the image element AS the <img>, which therefore carries the __image class
   itself — the wrapper-shaped rule above never matches it, leaving the image with no width
   constraint (measured 2062px inside a 385px card). */
img.incard-sol-industry-card__image,
img.incard-sol-case-card__image {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	object-fit: cover;
}

.incard-sol-industry-card h3,
.incard-sol-case-card h3 {
	margin: 0;
	color: var(--incard-deep-navy);
}

/* Case-study taxonomy chips. */
.incard-sol-case-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 12px;
}

.incard-sol-tag {
	margin: 0;
	padding: 4px 10px;
	border-radius: 6px;
	background: var(--sol-green-wash);
	color: var(--incard-green);
	font-size: var(--text-xs);
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
}

.incard-sol-case-card__tags .incard-sol-tag:nth-child(2) {
	background: var(--sol-blue-wash);
	color: var(--incard-blue);
}

/* --------------------------------------------------- Two-up compliance row */

.incard-sol-step-row--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 900px;
	margin-inline: auto !important;
}

/* The integrations section has no logo list in the source content yet. */
.incard-sol-connect {
	padding-block: clamp(44px, 4vw, 64px);
}

.incard-sol-connect .incard-sol-section__header,
.incard-sol-faq .incard-sol-section__header {
	margin-bottom: 0;
}

.incard-sol-faq__actions {
	justify-content: center;
	margin: 26px 0 0;
}

/* --------------------------------------------------------- Layout resets */

.incard-sol-stat-grid > *,
.incard-sol-flow-grid > *,
.incard-sol-phase-grid > *,
.incard-sol-industry-grid > *,
.incard-sol-case-grid > * {
	margin-block: 0;
}

.incard-sol-flow-card > *,
.incard-sol-phase-card > *,
.incard-sol-case-card > *,
.incard-sol-case-card__tags > * {
	margin-inline: 0 !important;
	max-width: none;
}

@media (hover: hover) {
	.incard-sol-flow-card,
	.incard-sol-phase-card,
	.incard-sol-industry-card,
	.incard-sol-case-card {
		transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
	}

	.incard-sol-flow-card:hover,
	.incard-sol-phase-card:hover,
	.incard-sol-industry-card:hover,
	.incard-sol-case-card:hover {
		transform: translateY(-4px);
		border-color: rgba(22, 139, 71, 0.28);
		box-shadow: var(--sol-shadow-lg);
	}
}

@media (max-width: 1024px) {
	.incard-sol-stat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.incard-sol-flow-grid,
	.incard-sol-phase-grid,
	.incard-sol-industry-grid,
	.incard-sol-case-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.incard-sol-stat-grid,
	.incard-sol-flow-grid,
	.incard-sol-phase-grid,
	.incard-sol-industry-grid,
	.incard-sol-case-grid,
	.incard-sol-step-row--two {
		grid-template-columns: 1fr !important;
	}

	.incard-sol-callout {
		padding: 18px 20px;
		text-align: left;
	}
}

/* ==========================================================================
   AI Social Media (page 205): components this page adds, plus an explicit
   band modifier so each solution page can set its own light/white rhythm
   without the semantic section classes fighting across pages.
   ========================================================================== */

/* Declared after the per-section background rules so it wins on equal
   specificity wherever a page opts in explicitly. */
.incard-sol-section.incard-sol-band {
	background: var(--sol-band);
}

.incard-sol-platforms,
.incard-sol-features {
	background: var(--incard-surface);
}

/* ----------------------------------------------------------------- Hero */

.incard-sol-hero__eyebrow--center {
	margin-inline: auto !important;
}

.incard-sol-hero__figure {
	max-width: 860px;
	margin: 34px auto 0 !important;
	padding: 14px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.06);
}

.incard-sol-hero__figure-image {
	margin: 0;
	overflow: hidden;
	border-radius: 12px;
}

.incard-sol-hero__figure-image img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* -------------------------------------------- Kết quả bạn nhận được */

/* The light-surface twin of the hero stat tiles. */
.incard-sol-result-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
}

.incard-sol-result {
	min-width: 0;
	padding: 26px 20px 28px;
	border: 1px solid var(--sol-line);
	border-radius: var(--sol-radius);
	background: var(--incard-surface);
	text-align: center;
	box-shadow: var(--sol-shadow-md);
}

.incard-sol-result__value {
	margin: 0;
	color: var(--incard-green);
	font-size: var(--text-h2);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1.1;
}

.incard-sol-result:nth-child(even) .incard-sol-result__value {
	color: var(--incard-blue);
}

.incard-sol-result__label {
	margin: 8px 0 0;
	color: var(--incard-text-secondary);
	font-size: var(--text-sm);
	font-weight: 600;
	line-height: 1.4;
}

/* ----------------------------------------------------- Tính năng chính */

/* Copy and illustration side by side, alternating which side the art sits on. */
.incard-sol-feature {
	display: grid !important;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	align-items: center !important;
	gap: clamp(24px, 3.4vw, 48px);
	margin: 0 0 22px;
	padding: 26px;
	border: 1px solid var(--sol-line);
	border-radius: 20px;
	background: var(--incard-surface);
	box-shadow: var(--sol-shadow-md);
}

.incard-sol-feature:last-child {
	margin-bottom: 0;
}

.incard-sol-feature--b .incard-sol-feature__visual {
	order: -1;
}

.incard-sol-feature__copy,
.incard-sol-feature__visual {
	min-width: 0;
	padding: 0;
}

.incard-sol-feature__copy h3 {
	margin: 0;
	color: var(--incard-deep-navy);
}

.incard-sol-feature__image {
	margin: 0;
	overflow: hidden;
	border-radius: 12px;
	background: linear-gradient(150deg, #f2f6fa, #eaf5ff);
}

.incard-sol-feature__image img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

/* --------------------------------------------------------------- Footnote */

.incard-sol-footnote {
	max-width: 760px;
	margin: 24px auto 0 !important;
	color: var(--incard-text-secondary);
	font-size: var(--text-sm);
	line-height: 1.6;
	text-align: center;
}

/* --------------------------------------------------------- Layout resets */

.incard-sol-result-grid > *,
.incard-sol-feature > * {
	margin-block: 0;
}

.incard-sol-feature__copy > *,
.incard-sol-hero__figure > * {
	margin-inline: 0 !important;
	max-width: none;
}

@media (hover: hover) {
	.incard-sol-result,
	.incard-sol-feature {
		transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
	}

	.incard-sol-result:hover {
		transform: translateY(-4px);
		border-color: rgba(22, 139, 71, 0.28);
		box-shadow: var(--sol-shadow-lg);
	}
}

@media (max-width: 1024px) {
	.incard-sol-result-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.incard-sol-feature,
	.incard-sol-feature--b {
		grid-template-columns: 1fr;
	}

	/* Keep the illustration below the copy on narrow screens for both. */
	.incard-sol-feature--b .incard-sol-feature__visual {
		order: 0;
	}
}

@media (max-width: 600px) {
	.incard-sol-result-grid {
		grid-template-columns: 1fr !important;
	}

	.incard-sol-hero__figure {
		padding: 10px;
	}

	.incard-sol-feature {
		padding: 18px;
	}
}

/* ==========================================================================
   AI Sales Chatbot (page 204).
   ========================================================================== */

/* Companion to .incard-sol-band: forces the plain surface where a shared
   section class defaults to the tinted one on another page. Together the two
   let each page state its own band rhythm explicitly. */
.incard-sol-section.incard-sol-plain {
	background: var(--incard-surface);
}

/* The section has a heading and a lead but no metrics in the source content. */
.incard-sol-benefits {
	padding-block: clamp(44px, 4vw, 64px);
}

.incard-sol-benefits .incard-sol-section__header {
	margin-bottom: 0;
}

/* ------------------------------------------------------- Four-up card rows */

.incard-sol-channel-grid.incard-sol-grid-4,
.incard-sol-flow-grid.incard-sol-flow-grid--four {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Category chip inside a feature card, above its check list. */
.incard-sol-channel-card .incard-sol-chip {
	margin: 10px 0 0;
	background: var(--sol-green-wash);
	color: var(--incard-green);
}

.incard-sol-channel-card:nth-child(even) .incard-sol-chip {
	background: var(--sol-blue-wash);
	color: var(--incard-blue);
}

.incard-sol-channel-card .incard-sol-chip + .incard-sol-check-list {
	margin-top: 14px;
}

/* --------------------------------------------------- Auto-numbered steps */

/* The four rollout steps are numbered in the heading ("4 bước triển khai") but
   the copy carries no digits, so the sequence is generated rather than added
   to the content. */
.incard-sol-flow-grid--auto {
	counter-reset: sol-flow;
}

.incard-sol-flow-grid--auto .incard-sol-flow-card {
	counter-increment: sol-flow;
}

.incard-sol-flow-grid--auto .incard-sol-flow-card::before {
	content: counter(sol-flow, decimal-leading-zero);
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	margin: 0 0 14px;
	border-radius: 50%;
	background: var(--sol-green-wash);
	color: var(--incard-green);
	font-size: var(--text-sm);
	font-weight: 700;
	line-height: 1;
}

.incard-sol-flow-grid--auto .incard-sol-flow-card:nth-child(even)::before {
	background: var(--sol-blue-wash);
	color: var(--incard-blue);
}

.incard-sol-flow-grid--auto .incard-sol-flow-card h3 {
	margin-top: 0;
}

/* ------------------------------------------------------------- Security */

.incard-sol-security .incard-sol-callout {
	max-width: 720px;
	font-weight: 600;
}

@media (max-width: 1024px) {
	.incard-sol-channel-grid.incard-sol-grid-4,
	.incard-sol-flow-grid.incard-sol-flow-grid--four {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.incard-sol-channel-grid.incard-sol-grid-4,
	.incard-sol-flow-grid.incard-sol-flow-grid--four {
		grid-template-columns: 1fr !important;
	}
}

/* ==========================================================================
   Components for the remaining Vietnamese solution pages:
   203 AI Customer Care Bot, 207 Smart Networking Mobile App, 201 Giải pháp hub.
   ========================================================================== */

/* Sections whose source content is a heading, sometimes a lead, and nothing
   else. Rendered compactly so they read as a signpost rather than a void. */
.incard-sol-stub {
	padding-block: clamp(40px, 3.6vw, 58px);
}

.incard-sol-stub .incard-sol-section__header {
	margin-bottom: 0;
}

.incard-sol-stub .incard-sol-faq__actions {
	margin-top: 22px;
}

/* The closing "Giá trị thực tế:" line each capability card ends on. */
.incard-sol-value-note {
	margin: 18px 0 0;
	padding: 12px 14px;
	border-radius: 10px;
	background: var(--sol-green-wash);
	color: var(--incard-deep-navy);
	font-size: var(--text-sm);
	font-weight: 600;
	line-height: 1.55;
}

.incard-sol-channel-card:nth-child(even) .incard-sol-value-note {
	background: var(--sol-blue-wash);
}

/* Sample queries under the AI Search capability. */
.incard-sol-examples {
	max-width: 720px;
	margin: 26px auto 0 !important;
	padding: 20px 24px;
	border: 1px dashed rgba(22, 139, 229, 0.34);
	border-radius: 12px;
	background: var(--incard-surface);
}

.incard-sol-examples > * {
	margin-inline: 0 !important;
	max-width: none;
}

.incard-sol-examples__label {
	margin: 0 0 12px;
	color: var(--incard-deep-navy);
	font-size: var(--text-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
}

.incard-sol-example-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.incard-sol-example-list li {
	padding: 8px 14px;
	border: 1px solid var(--sol-line);
	border-radius: 999px;
	background: var(--sol-band);
	color: var(--incard-text-secondary);
	font-size: var(--text-sm);
	line-height: 1.4;
}

/* The hub's chooser cards carry a link, so the whole card gets the lift. */
.incard-sol-picker .incard-sol-channel-card .incard-sol-card__link {
	margin-top: auto;
	padding-top: 18px;
}

/* Two-up rows on the hub use the card treatment rather than the plain pill. */
.incard-sol-pricing .incard-sol-step-row--two {
	max-width: 900px;
	margin-inline: auto !important;
}

.incard-sol-pricing .incard-sol-channel-card {
	text-align: left;
}

/* Capability cards on 207 hold four stacked elements, so they need a little
   more breathing room than the plain channel card. */
.incard-sol-capabilities .incard-sol-channel-card {
	padding: 28px 26px;
}

.incard-sol-capabilities .incard-sol-chip + .incard-sol-card__copy {
	margin-top: 14px;
}

/* Smart Networking runs a card row and a numbered flow back to back. */
.incard-sol-networking .incard-sol-flow-grid {
	margin-top: 22px;
}

@media (max-width: 600px) {
	.incard-sol-examples {
		padding: 16px 18px;
	}

	.incard-sol-example-list li {
		font-size: var(--text-sm);
	}
}

/* Four content-heavy capability cards balance better two-up than 3+1. */
.incard-sol-capabilities .incard-sol-channel-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 860px) {
	.incard-sol-capabilities .incard-sol-channel-grid {
		grid-template-columns: 1fr;
	}
}

/* --------------------------- Feature pages 291–296 --------------------------- */

/* "<X> phù hợp với ai?" is a single prose paragraph rather than a one-liner. */
.incard-sol-callout--prose {
	max-width: 860px;
	font-size: var(--text-body);
	font-weight: 400;
	text-align: left;
}

/* Quoted example prompts. */
.incard-sol-prompts .incard-sol-examples {
	max-width: 900px;
	border-style: solid;
	border-color: var(--sol-line);
}

.incard-sol-prompts .incard-sol-example-list li {
	background: var(--incard-surface);
}

/* Closing banner on the two pages whose source has no button. */
.incard-sol-cta__layout--copy-only {
	grid-template-columns: minmax(0, 1fr) !important;
}

.incard-sol-cta__layout--copy-only .incard-sol-cta__copy {
	max-width: 760px;
}

/* ----------------------------- Industries pages ----------------------------- */

/* A section whose whole body is one card spans the container instead of
   sitting in a lonely third of a grid. */
.incard-sol-solo {
	max-width: 900px;
	margin: 0 auto !important;
	padding: 26px 28px;
	border: 1px solid var(--sol-line);
	border-radius: var(--sol-radius);
	background: var(--incard-surface);
	box-shadow: var(--sol-shadow-md);
}

.incard-sol-solo > * {
	margin-inline: 0 !important;
	max-width: none;
}

.incard-sol-solo h3 {
	margin: 0;
	color: var(--incard-deep-navy);
}

/* Lead sentences that introduce a grid read better centred under the heading. */
.incard-sol-section__lead--center {
	max-width: 720px;
	margin: 0 auto 30px !important;
	text-align: center;
}

/* Eight-up card runs get a tighter card so four fit per row comfortably. */
.incard-sol-grid-4 .incard-sol-channel-card {
	padding: 22px;
}

/* ------------------------------- Photo blocks ------------------------------- */

.incard-sol-photo-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
}

.incard-sol-photo-grid > * {
	margin-block: 0;
}

.incard-sol-photo {
	min-width: 0;
	padding: 0;
}

.incard-sol-photo__image {
	aspect-ratio: 4 / 3;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--sol-line);
	border-radius: var(--sol-radius);
	background: linear-gradient(150deg, #f2f6fa, #eaf5ff);
	box-shadow: var(--sol-shadow-md);
}

.incard-sol-photo__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Photo sitting at the top of a content card. */
.incard-sol-card__image {
	aspect-ratio: 16 / 9;
	margin: 0 0 18px;
	overflow: hidden;
	border-radius: 12px;
	background: linear-gradient(150deg, #f2f6fa, #eaf5ff);
}

.incard-sol-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 860px) {
	.incard-sol-photo-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.incard-sol-photo-grid {
		grid-template-columns: 1fr !important;
	}
}
/* End Solution Page Style 2026. */

/* Footer colour on the ink band. */

/* The footer paints itself with the `ink` preset (#082D40) but styles its body
   copy, navigation and social marks with `text-subtle` (#6B7280), which is the
   light-mode secondary. On #082D40 that pair measures 2.98:1: below WCAG AA for
   body text (4.5:1) and below even the 3:1 large-text floor.

   The preset itself is correct wherever it sits on a light surface, so it is
   not touched. Instead the ink band gets a white-alpha ramp, which keeps the
   same visual hierarchy and lands every level above AA:
     text   rgba(255,255,255,0.72)  ->  8.1:1
     muted  rgba(255,255,255,0.58)  ->  5.8:1
     bright #ffffff                 -> 14.4:1                                */

.wp-site-blocks .has-ink-background-color {
	--incard-onink-text: rgba(255, 255, 255, 0.72);
	--incard-onink-muted: rgba(255, 255, 255, 0.58);
	--incard-onink-bright: #ffffff;
	--incard-onink-accent: #52d589;
	--incard-onink-rule: rgba(255, 255, 255, 0.14);
}

/* Preset colour classes are emitted with !important, so the override needs the
   same weight. */
.wp-site-blocks .has-ink-background-color .has-text-subtle-color {
	color: var(--incard-onink-text) !important;
}

/* The two lowest-priority lines: the newsletter note (the paragraph directly
   above the social row) and the bottom bar below the divider. justifyContent
   is applied through a layout class, not an inline style, so the bottom bar is
   reached from the separator instead. */
.wp-site-blocks .has-ink-background-color .wp-block-separator ~ .wp-block-group .has-text-subtle-color,
.wp-site-blocks .has-ink-background-color .has-text-subtle-color:has(+ .wp-block-social-links) {
	color: var(--incard-onink-muted) !important;
}

/* Column headings stay at full white. */
.wp-site-blocks .has-ink-background-color .has-surface-color {
	color: var(--incard-onink-bright) !important;
}

/* --------------------------------------------------------------- Links */

.wp-site-blocks .has-ink-background-color a {
	color: inherit;
	text-decoration: none;
	transition: color 160ms ease;
}

.wp-site-blocks .has-ink-background-color a:hover {
	color: var(--incard-onink-accent);
	text-decoration: underline;
}

.wp-site-blocks .has-ink-background-color a:focus-visible {
	outline: 2px solid var(--incard-onink-accent);
	outline-offset: 3px;
	border-radius: 2px;
}

/* The legal pair in the bottom bar rendered as brand blue with a permanent
   underline: the only underlined text in the footer, and 4.4:1 on ink. It now
   follows the same rest/hover treatment as every other footer link. */
.wp-site-blocks .has-ink-background-color .wp-block-separator ~ .wp-block-group a {
	color: inherit;
	text-decoration: none;
}

.wp-site-blocks .has-ink-background-color .wp-block-separator ~ .wp-block-group a:hover {
	color: var(--incard-onink-bright);
	text-decoration: underline;
}

/* -------------------------------------------------------- Social marks */

.wp-site-blocks .has-ink-background-color .wp-block-social-links.is-style-logos-only .wp-social-link a {
	color: var(--incard-onink-muted);
	transition: color 160ms ease, transform 160ms ease;
}

.wp-site-blocks .has-ink-background-color .wp-block-social-links.is-style-logos-only .wp-social-link a:hover {
	color: var(--incard-onink-bright);
	transform: translateY(-1px);
}

.wp-site-blocks .has-ink-background-color .wp-block-social-links.is-style-logos-only .wp-social-link svg {
	fill: currentColor;
}

/* ------------------------------------------------------------ Divider */

.wp-site-blocks .has-ink-background-color .wp-block-separator {
	background-color: var(--incard-onink-rule) !important;
	color: var(--incard-onink-rule) !important;
	border-color: var(--incard-onink-rule) !important;
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.wp-site-blocks .has-ink-background-color a,
	.wp-site-blocks .has-ink-background-color .wp-social-link a {
		transition-duration: 0.01ms !important;
	}
}

/* --- h2 40 / 700 / 1.12 / -0.035em --------------------------------------- */

.home .incard-home-section__header h2,
.home .incard-home-integrations h2,
.home .incard-home-cta h2 {
	font-size: clamp(2rem, 2.9vw, 2.5rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

/* --- h3 24 / 600 / 1.20 / -0.020em --------------------------------------- */

.home .incard-home-feature-card h3,
.home .incard-home-solution-card h3,
.home .incard-home-product-card h3,
.home .incard-home-outcome-card h3,
.home .incard-home-industry-card h3,
.home .incard-home-rollout-card h3,
.home .incard-home-award h3,
.home .incard-home-case-card h3,
.home .incard-home-benefit h3,
.home .incard-home-step h3 {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

/* --- lead 20 / 400 / 1.50 ------------------------------------------------ */

.home .incard-home-hero__lead,
.home .incard-home-section__lead {
	font-size: 20px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0;
}

/* --- body 16 / 400 / 1.60 ------------------------------------------------ */

.home .incard-home-feature-card__copy,
.home .incard-home-benefit__copy,
.home .incard-home-card__copy,
.home .incard-home-card__list,
.home .incard-home-step__copy,
.home .incard-home-outcome-note,
.home .incard-home-quote__text,
.home .incard-home-cta__lead,
.home .incard-home-faq-list .wp-block-details p {
	font-size: 16px;
	line-height: 1.6;
}

.home .incard-home-btn-primary .wp-block-button__link,
.home .incard-home-btn-secondary .wp-block-button__link {
	font-size: 16px;
}

/* --- small 14 / 400 / 1.50 ----------------------------------------------- */

.home .incard-home-metric__label,
.home .incard-home-quote__role,
.home .incard-home-case-card__org,
.home .incard-home-channel__name,
.home .incard-home-case-metric__label,
.home .incard-home-hero__badge {
	font-size: 14px;
	line-height: 1.5;
}

.home .incard-home-metric__label,
.home .incard-home-quote__role,
.home .incard-home-case-card__org,
.home .incard-home-case-metric__label {
	font-weight: 400;
}

/* --- label 12 / 700 / +0.08em / uppercase -------------------------------- */

.home .incard-home-card__tag,
.home .incard-home-feature-card__phase,
.home .incard-home-channel-group__label,
.home .incard-home-trust__eyebrow,
.home .incard-home-rollout-card__num {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* --- stat: the display step reused for figures --------------------------- */

.home .incard-home-benefit__value,
.home .incard-home-benefits--stack .incard-home-benefit__value {
	font-size: clamp(2rem, 2.9vw, 2.5rem);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.04em;
}

.home .incard-home-metric__value,
.home .incard-home-case-metric__value {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.home .incard-home-hero__grid {
	gap: 48px;
}

.home .incard-home-hero__copy {
	padding-bottom: 40px;
}

.home .incard-home-hero__actions {
	gap: 16px;
}

.home .incard-home-section {
	column-gap: 48px;
}

.home .incard-home-section__lead {
	margin-top: 16px;
}

.home .incard-home-metrics {
	padding-block: 24px;
}

.home .incard-home-metric {
	padding-block: 8px;
	column-gap: 16px;
}

.home .incard-home-metric__label,
.home .incard-home-case-metric__label {
	margin-top: 8px;
}

/* Card grids all move to the same 24px gutter, which is what makes separate
   sections read as one system rather than as a stack of one-off layouts. */
.home .incard-home-outcome-grid,
.home .incard-home-auto-grid,
.home .incard-home-industry-grid,
.home .incard-home-benefit-grid,
.home .incard-home-quote-grid,
.home .incard-home-case-grid,
.home .incard-home-award-grid,
.home .incard-home-channel-stack,
.home .incard-home-rollout-grid {
	gap: 24px;
}

/* Measured at 46px, which rounds to 48, but these cards sit inside the narrow
   column of a two-up section and were only 226px wide at that gutter. 24px is
   equally on-scale, matches every other card grid, and gives the headings room
   to sit on one line. */
.home .incard-home-feature-grid {
	gap: 24px;
}

.home .incard-home-integrations__layout {
	gap: 48px;
}

.home .incard-home-channel-grid {
	gap: 16px;
}

/* §4.3 puts card padding on space.md so it sits on the scale like everything
   else. Measured values were 26, 28 and 30px depending on the component. */
.home .incard-home-feature-card,
.home .incard-home-outcome-card,
.home .incard-home-solution-card,
.home .incard-home-product-card,
.home .incard-home-auto-card,
.home .incard-home-rollout-card,
.home .incard-home-benefit,
.home .incard-home-quote,
.home .incard-home-award {
	padding-block: 24px;
}

.home .incard-home-channel {
	padding-block: 16px;
	gap: 8px;
}

.home .incard-home-card__tag,
.home .incard-home-feature-card__phase {
	padding-block: 8px;
}

.home .incard-home-card__copy,
.home .incard-home-feature-card__copy,
.home .incard-home-benefit__copy,
.home .incard-home-cta__lead {
	margin-top: 8px;
}

.home .incard-home-card__list {
	gap: 8px;
	margin-top: 8px;
}

/* Only present on the English home page, which carries the step and stacked
   benefit sections the Vietnamese one does not. */
.home .incard-home-benefit__value {
	margin-top: 8px;
}

.home .incard-home-card__link {
	padding-top: 24px;
	margin-top: auto;
}

.home .incard-home-cta__layout {
	padding-block: 48px;
}

.home .incard-home-product-card {
	column-gap: 16px;
}

/* ============================================================= §3.5 Radius */

/* 50px on a 44-54px box is already a circle; the pill token says the same
   thing and keeps the value on the scale. */
.home .incard-home-metric__icon,
.home .incard-home-feature-card__icon,
.home .incard-home-outcome-card__icon,
.home .incard-home-auto-card__icon,
.home .incard-home-channel__icon,
.home .incard-home-benefit__icon,
.home .incard-home-award__icon,
.home .incard-home-step__icon {
	border-radius: 999px;
}

.home .incard-home-card__tag,
.home .incard-home-feature-card__phase {
	border-radius: 999px;
}

.home .incard-home-feature-card:first-child {
	padding-block: 24px;
}

.home .incard-home-auto-card .incard-home-card__list,
.home .incard-home-solution-card .incard-home-card__list {
	margin-top: 8px;
}

/* ========================================================== §3.7 Responsive */

@media (max-width: 960px) {
	.home .incard-home-section__header h2,
	.home .incard-home-integrations h2,
	.home .incard-home-cta h2 {
		font-size: 32px;
	}

	.home .incard-home-hero__lead,
	.home .incard-home-section__lead {
		font-size: 18px;
	}

	.home .incard-home-integrations__layout,
	.home .incard-home-logo-wall {
		gap: 32px;
	}
}

@media (max-width: 640px) {
	.home .incard-home-feature-card h3,
	.home .incard-home-solution-card h3,
	.home .incard-home-product-card h3,
	.home .incard-home-outcome-card h3,
	.home .incard-home-industry-card h3,
	.home .incard-home-rollout-card h3,
	.home .incard-home-award h3,
	.home .incard-home-case-card h3,
	.home .incard-home-benefit h3,
	.home .incard-home-step h3 {
		font-size: 20px;
	}
}

/* End design system alignment layer. */
/* Accessibility remediation layer, measured against DESIGN-GUIDELINE.md §5.
 *
 * Every value here replaces one that was measured below its threshold on the
 * live page, not one that merely looked risky. The brand hues stay recognisable
 * because only their lightness moves; hue and chroma are held.
 *
 *   #168be5 -> #1272bc   blue, as text 3.24-3.58:1 -> 5.05:1 on white
 *   #168b47 -> #148041   green, as text 4.01-4.36:1 -> 5.01:1 on white
 *   #6b7280 -> #69707d   secondary text, 4.37-4.45:1 -> 4.60:1 on the band
 *
 * The same two hues also sit behind white button and chip labels, so darkening
 * the token repairs the fill cases in the same move.
 *
 * These are theme-wide tokens: the change reaches every page built on this
 * stylesheet, not the home page alone. That is intended.
 */

:root {
	--incard-green: #148041;
	--incard-green-hover: #0f6d36;
	--incard-blue: #1272bc;
	--incard-text-secondary: #69707d;
	--incard-success: #148041;

	/* Kept for artwork that carries no text: connectors, glows, icon washes. */
	--incard-green-vivid: #168b47;
	--incard-blue-vivid: #168be5;

	--incard-gradient: linear-gradient(135deg, #148041 0%, #1272bc 100%);
}

/* The block editor emits its own preset variables ahead of this sheet; any
   pattern that reaches for them directly must land on the same values. */
:root,
body {
	--wp--preset--color--incard-green: #148041;
	--wp--preset--color--incard-blue: #1272bc;
}

/* --------------------------------------------------------- CTA banner */

/* The banner's gradient runs under body copy, so its stops are text ground and
   have to clear 4.5:1, unlike the display gradient in the hero headline. */
.home .incard-home-cta__layout {
	background: linear-gradient(120deg, #148041 0%, #12773c 32%, #1272bc 100%);
}

/* At 15px this measured 2.90:1 through 82% alpha. Solid white reads 5.01:1 at
   the green end and 5.05:1 at the blue, with no alpha to tune. */
.home .incard-home-cta__lead {
	color: #ffffff;
}

/* ------------------------------------------------- Solution page layer */

/* The same three defects appear on the solution pages, where the colours are
   written out rather than taken from the tokens, so the token change above
   does not reach them. */

.incard-sol-cta__layout {
	background: linear-gradient(120deg, #148041 0%, #12773c 34%, #1272bc 100%);
}

.incard-sol-cta__lead {
	color: #ffffff;
}

/* Mint on the navy hero measured 3.19:1 at the lightest point of the gradient,
   where the blue glow overlaps the third stop. This value clears 4.5:1 against
   every stop, including through the eyebrow's own 16% mint wash. */
.incard-sol-hero__eyebrow,
.incard-sol-hero__panel-link a {
	color: #aef4cb;
}

/* Caption under a stat, at 12.5px through 62% alpha, measured 4.28:1. */
.incard-sol-stat__note {
	color: rgba(255, 255, 255, 0.78);
}

/* ---------------------------------------------------------- Focus ring */

/* A 30% wash of the accent measured 1.43:1 against the surface it sits on.
   Solid blue reads 3.58:1 on white and 5.05:1 on the band, both past the 3:1
   the guideline asks of a focus indicator, and the offset keeps it clear of
   the element's own border.

   The colour is written out rather than taken from a token on purpose: a
   var() inside the `outline` shorthand left the longhands unresolved here, so
   outline-color fell back to its initial currentColor and the ring took each
   element's own text colour, including white on white in the header. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline-color: #168be5;
	outline-style: solid;
	outline-width: 3px;
	outline-offset: 2px;
	/* The theme transitions `all`, which drags the ring through 0.23s of
	   currentColor before it reaches the accent. On the header's white-on-green
	   button that leaves the indicator white on white for the first frames, so
	   the ring is taken out of the animated set and appears at once. */
	transition-property: color, background-color, border-color, box-shadow, transform, opacity !important;
}

/* --------------------------------------------------------- Touch area */

/* Inline "read more" links measured 22px tall. The guideline clears a small
   target when neighbours are 24px away, but these sit inside dense card grids,
   so the target itself is padded to the 24px minimum instead. */
.home .incard-home-card__link a,
.home .incard-home-section__link a,
.home a.incard-home-card__link {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
}
.home .incard-home-hero::after { content: none; }
