/* Shared product-page hero. Loaded only by the Landing page template. */

/* z-index 2 keeps the text above the darkening layers (::before) that the
   solution heroes and narrow product heroes add over the photograph. */
.moca-product-hero .wp-block-cover__inner-container {
	z-index: 2;
	width: 100%;
}

/* Product heroes sit behind the transparent site header. Match the approved
   Platform hero's clearance so the product eyebrow never collides with the
   logo or navigation. */
.moca-product-hero {
	padding: 6.25rem 1.5rem 3.25rem !important;
}

/* The four workload solution pages share one silhouette while each uses a
   distinct background from the approved MOCA365 image palette. */
.moca-solution-hero {
	box-sizing: border-box;
	min-height: clamp(34rem, 40vw, 37.75rem);
	padding: 6.25rem 1.5rem 4rem !important;
}

/* The lede keeps the prose measure but stays on the hero's left edge. The
   constrained layout centred it (margin-left: auto !important), which pushed
   it about 180px in from the H1 and the button. */
.moca-solution-hero .moca-editorial-lead {
	max-width: var(--wp--custom--width--prose, 820px);
	margin-left: 0 !important;
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--xl);
}

/* Text and button sit above the darkening layer below. Core gives the inner
   container position: relative but no z-index, so the z-index 1 layer painted
   over it and greyed the heading, lede and CTA. */
.moca-solution-hero .wp-block-cover__inner-container {
	z-index: 2;
}

/* A second, uniform darkening layer between the photograph and each page's
   own gradient. The gradients live in the page content, so a fix there would
   have to be repeated four times and again in wp-admin; this holds for any
   tint. Per pixel, white text on the bright right half measured 3.2-3.9:1
   (Fabric, PPG, SharePoint) and 3.3:1 (Microsoft 365) before it. The lede is
   also held to the prose measure above, so it ends where the photograph is
   still under the dark end of the gradient rather than running to ~1300px.
   z-index 1 puts it over the photograph and the overlay span; the inner
   container is lifted to z-index 2 above, so the text is never under it. */
.moca-solution-hero::before {
	content: "";
	position: absolute;
	z-index: 1;
	inset: 0;
	background: linear-gradient(105deg, rgb(8 10 48 / 30%) 0%, rgb(8 10 48 / 55%) 100%);
	pointer-events: none;
}

.moca-product-hero__columns {
	gap: clamp(2rem, 4vw, 4.5rem);
}

/* The hero's columns are top-aligned, so the visual started level with the
   eyebrow rather than with the headline. Drop it by the eyebrow's line box
   plus its own margin - 0.8125rem at 1.6, then 0.75rem - so the image's top
   edge meets the top of the h1 rather than sitting 33px above it.

   /platform/ centres its hero columns instead and carries the ecosystem strip
   under the image, so it is excluded rather than nudged. Below 981px the
   columns stack and there is nothing to align to. */
@media (min-width: 981px) {

	.moca-product-hero__columns > .wp-block-column:last-child:not(.is-vertically-aligned-center) {
		padding-top: calc(0.8125rem * 1.6 + 0.75rem);
	}
}

.moca-product-hero .moca-eyebrow {
	color: var(--wp--preset--color--white);
}

/* Below 981px the hero's single column runs across the whole photograph,
   including the bright right-hand end of the 105deg gradient that the desktop
   text never reaches. Per pixel at 390, the white subhead and eyebrow measured
   3.5-4.0:1 there on /platform/, Foundation and /pricing/ (review, 11 Nov
   2026). A uniform layer over the photograph and overlay, under the text,
   brings every line past 4.5:1 without touching each page's own gradient. */
@media (max-width: 980px) {

	.moca-product-hero:not(.moca-solution-hero)::before {
		content: "";
		position: absolute;
		z-index: 1;
		inset: 0;
		background: rgb(8 10 48 / 38%);
		pointer-events: none;
	}
}

/* The product's icon, locked up to the left of the eyebrow. It floats beside
   the eyebrow instead of stacking above it, and is no taller than the
   eyebrow's line box plus its margin, so the H1 does not move and the visual
   column's alignment to the H1 (above) still holds. The eyebrow follows it in
   the flow layout, so the block gap that would now push it down is removed. */
.moca-product-hero__mark {
	display: grid;
	float: left;
	place-items: center;
	width: 2rem;
	height: 2rem;
	margin: -0.35rem 0.7rem 0 0;
	border-radius: 9px;
	color: var(--wp--preset--color--white);
	background: rgba(255, 255, 255, 0.16);
}

.moca-product-hero__mark svg {
	width: 1.3rem;
	height: 1.3rem;
}

.moca-product-hero__mark + .moca-eyebrow {
	margin-block-start: 0;
}

.moca-product-hero h1 {
	margin-top: 0;
	margin-bottom: 1.2rem;
	font-size: var(--wp--preset--font-size--display);
	font-weight: 200;
	line-height: 1.08;
}

.moca-product-hero__columns > .wp-block-column:first-child > p.has-white-color {
	margin-top: 0;
	margin-bottom: 1.65rem;
	font-size: var(--wp--preset--font-size--xl);
	font-weight: 400;
	line-height: 1.65;
}

/* One frame for the hero's right column: screenshot or quotation card. */
.moca-product-hero__visual,
.moca-partner-hero__quote {
	margin: 0;
	border: 1px solid rgba(255, 255, 255, 0.58);
	border-radius: 18px;
	box-shadow: 0 22px 55px rgba(8, 10, 48, 0.34);
}

.moca-product-hero__visual {
	overflow: hidden;
}

.moca-product-hero__visual img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/* The Platform heading is materially longer than the individual product-page
   headings. At their shared scale it wraps to five lines and makes this hero
   appear like a full screen. Keep the same component, but tune this instance
   to the visual height of its siblings. */
.moca-platform-hero h1 {
	font-size: var(--wp--preset--font-size--display) !important;
	font-weight: 200;
}

/* The ecosystem pill strip under this screenshot is gone: it repeated the
   "What MOCA365 governs" row below, and the hero carried three rows of logos
   (Lars's review, 11 Nov 2026). */
.moca-platform-hero .moca-product-hero__visual img {
	max-height: 350px;
	object-position: top left;
}

/* Platform overview: one continuous editorial composition joining the core
   portfolio facts, the case for governance and the problems addressed. */
.moca-governance-case {
	background: #fff;
}

.moca-governance-case__facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
}

.moca-governance-case__fact {
	padding: 0 clamp(2rem, 4vw, 4.5rem);
}

.moca-governance-case__fact:first-child {
	padding-left: 0;
}

.moca-governance-case__fact:last-child {
	padding-right: 0;
}

.moca-governance-case__fact + .moca-governance-case__fact {
	border-left: 1px solid var(--wp--preset--color--border, #e2e6ef);
}

/* Was a third near-duplicate of .moca-eyebrow - 12px/0.08em/product-accent,
   with an !important to beat the rail rule. One eyebrow now, so a column label
   reads the same whichever component draws it. The !important stays only while
   the rail rule still forces a size on paragraphs; it goes when the inline
   typography comes out of the remaining content files. */
.moca-governance-case__kicker {
	margin: 0 0 0.75rem;
	color: var(--wp--preset--color--blue);
	font-size: var(--wp--preset--font-size--xs) !important;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.6;
	text-transform: uppercase;
}

/* The product accent belongs to eyebrows, numerals and rules. Setting
   headings with it left whole bands reading as one flat wash of blue, and at
   28.8px in weight 200 the vivid #1f52ff thinned out badly against white
   (5.66:1, where ink gives 14.04:1). Hierarchy now comes from the coloured
   eyebrow above a dark heading, not from colouring the heading itself. */
.moca-governance-case__fact h3 {
	margin: 0 0 0.8rem;
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--xl);
	font-weight: 700;
	line-height: 1.12;
}

.moca-governance-case__fact-copy {
	margin: 0;
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--body);
	line-height: 1.65;
}

/* This band packs three blocks behind the same hairline the band separators
   use, so a reader reads them as band boundaries. They therefore take the band
   rhythm too: one rhythm above the rule, one below. They previously ran on
   56 + 24 and 24 + 24, giving 81px and 61px of air beside a 145px band gap -
   the same rule with three different amounts of space around it. */
.moca-governance-case__narrative {
	position: relative;
	margin-top: var(--wp--custom--rhythm--band, 3.25rem);
	padding: var(--wp--custom--rhythm--band, 3.25rem) 0;
	border-top: 1px solid var(--wp--preset--color--border, #e2e6ef);
	border-bottom: 1px solid var(--wp--preset--color--border, #e2e6ef);
	overflow: hidden;
}

/* A tinted callout, so the case for governance reads as its own chunk after
   the plain "What is MOCA365?" introduction (review, 11 Nov 2026). It replaced
   a decorative "Ownership · Lifecycle · Trust" motif that carried no
   meaning. */
.moca-governance-case__statement {
	padding: 1.75rem 2rem;
	border-left: 3px solid var(--wp--preset--color--foundation);
	border-radius: 0 12px 12px 0;
	background: var(--wp--preset--color--light, #f5f6f9);
}

.moca-governance-case__statement h2,
.moca-governance-case__problems h2 {
	margin: 0 0 0.7rem;
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--3-xl);
	font-weight: 400;
	line-height: 1.18;
}

.moca-governance-case__statement-copy {
	margin: 0 0 1rem;
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--body);
	line-height: 1.65;
}

.moca-governance-case__statement-copy:last-child {
	margin-bottom: 0;
}

/* When the narrative opens the band there is nothing above it to rule off. */
.moca-governance-case__narrative:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

/* Only when something precedes it. On /platform/ the columns open the band,
   and a margin there would push them off the band's own padding. */
.moca-governance-case__facts:not(:first-child) {
	margin-top: 3rem;
}

/* The lead is a direct child of the section; the same class nested inside
   .moca-governance-case__statement is a run of paragraphs where 0 and 1rem are
   correct. Only the lead takes the block rhythm. */
.moca-editorial-section > .moca-governance-case__statement-copy {
	margin-top: 1.5rem;
	margin-bottom: 0;
}

.moca-governance-case__problems {
	margin-top: 0;
	padding-top: var(--wp--custom--rhythm--band, 3.25rem);
}

.moca-governance-case__problems-intro {
	margin: 0;
	color: var(--wp--preset--color--ink);
	line-height: 1.65;
}

.moca-governance-case__problem-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 3.5rem;
	margin: 1.2rem 0 0;
	padding: 0;
	list-style: none;
}

.moca-governance-case__problem-list li {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 1.25rem;
	align-items: start;
	min-height: 112px;
	padding: 1rem 0;
	border-bottom: 1px solid var(--wp--preset--color--border, #e2e6ef);
}

.moca-governance-case__problem-list li:nth-last-child(-n+2) {
	border-bottom: 0;
}

.moca-governance-case__number {
	color: var(--moca-product-accent, var(--wp--preset--color--foundation));
	font-size: var(--wp--preset--font-size--4-xl);
	font-weight: 200;
	letter-spacing: -0.05em;
	line-height: 0.95;
}

.moca-governance-case__problem-list h3 {
	margin: 0 0 0.35rem;
	color: var(--wp--preset--color--ink);
}

.moca-governance-case__problem-copy {
	margin: 0;
	color: var(--wp--preset--color--ink);
	line-height: 1.65;
}

@media (max-width: 900px) {

	.moca-governance-case__facts {
		grid-template-columns: 1fr;
	}

	.moca-governance-case__fact,
	.moca-governance-case__fact:first-child,
	.moca-governance-case__fact:last-child {
		padding: 2rem 0;
	}

	.moca-governance-case__fact:first-child {
		padding-top: 0;
	}

	.moca-governance-case__fact + .moca-governance-case__fact {
		border-top: 1px solid var(--wp--preset--color--border, #e2e6ef);
		border-left: 0;
	}

	.moca-governance-case__narrative {
		padding-top: 1.25rem;
	}

	.moca-governance-case__problem-list {
		grid-template-columns: 1fr;
	}

	.moca-governance-case__problem-list li:nth-last-child(2) {
		border-bottom: 1px solid var(--wp--preset--color--border, #e2e6ef);
	}
}

@media (max-width: 520px) {

	.moca-governance-case {
		padding-block: 3rem !important;
	}

	.moca-governance-case__statement {
		padding: 1.25rem 1.15rem;
	}

	.moca-governance-case__problem-list li {
		grid-template-columns: 60px minmax(0, 1fr);
		gap: 0.85rem;
	}
}

/* Proof band on /platform/: the three portfolio facts and a customer quote,
   white on the deep blue gradient. */
.moca-platform-proof .moca-governance-case__fact h3,
.moca-platform-proof .moca-governance-case__fact-copy,
.moca-platform-proof .moca-governance-case__kicker,
.moca-platform-proof .moca-quote__body,
.moca-platform-proof .moca-quote cite {
	color: var(--wp--preset--color--white);
}

.moca-platform-proof .moca-governance-case__fact + .moca-governance-case__fact {
	border-color: rgb(255 255 255 / 28%);
}

.moca-platform-proof .moca-quote {
	max-width: var(--wp--custom--width--prose, 820px);
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgb(255 255 255 / 28%);
}

/* The one band that does not take the 52px rhythm, deliberately. It is
   full-bleed gradient rather than a section on the page ground, it closes the
   document, and it holds a single short message and one button - at 52px the
   colour field reads as a stripe rather than a destination. Any other band
   wanting to differ needs a reason written here too. */
.moca-product-cta {
	padding: clamp(3.5rem, 7vw, 5.5rem) 1.5rem;
	background: linear-gradient(115deg, #10123d 0%, #3356a3 48%, #8f3475 100%);
}

.moca-product-cta h2 {
	margin-top: 0;
	font-size: var(--wp--preset--font-size--3-xl);
}

@media (max-width: 980px) {

	.moca-product-hero__columns {
		flex-wrap: wrap !important;
	}

	.moca-product-hero__columns > .wp-block-column {
		flex-basis: 100% !important;
	}

	.moca-product-hero__columns > .wp-block-column:first-child {
		max-width: 720px;
	}

	.moca-product-hero__visual {
		max-width: 760px;
	}

	.moca-product-hero__visual img {
		height: auto;
		max-height: none;
		aspect-ratio: auto;
		object-fit: contain;
	}
}

@media (max-width: 760px) {

	.moca-product-hero {
		padding-top: 5.5rem !important;
		padding-bottom: 2.5rem !important;
	}
}

/* Product editorial system: shared by every product page. The fine rules and
   open layouts deliberately replace the former generic card treatment. */
/* stylelint-disable no-descending-specificity, no-duplicate-selectors -- these
   shared rules intentionally supersede the legacy product component rules. */
.moca-product-numbered {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 3.5rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.moca-product-numbered li {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	gap: 1rem;
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--wp--preset--color--border, #e2e6ef);
}

.moca-product-numbered > li > span {
	color: var(--moca-product-accent, var(--wp--preset--color--foundation));
	font-size: var(--wp--preset--font-size--4-xl);
	font-weight: 200;
	line-height: 1;
}

.moca-product-numbered h3,
.moca-product-numbered p {
	margin: 0;
}

.moca-product-numbered p {
	margin-top: 0.4rem;
	color: var(--wp--preset--color--ink);
	line-height: 1.65;
}

.moca-product-faq__list {
	margin-top: 1.5rem;
	border-top: 1px solid var(--wp--preset--color--border, #e2e6ef);
}

.moca-product-faq__list details {
	border-bottom: 1px solid var(--wp--preset--color--border, #e2e6ef);
}

/* list-style removes the native disclosure triangle, which was rendering
   beside the +/- drawn below and giving every row two markers. The WebKit
   pseudo-element covers Safari before 16, which ignores list-style here. */
.moca-product-faq__list summary {
	position: relative;
	padding: 1.25rem 3rem 1.25rem 0;
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--body);
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}

.moca-product-faq__list summary::-webkit-details-marker {
	display: none;
}

.moca-product-faq__list summary::after {
	position: absolute;
	top: 1.1rem;
	right: 0.25rem;
	content: "+";
	color: var(--moca-product-accent, var(--wp--preset--color--foundation));
	font-size: 1.5rem;
	font-weight: 400;
}

.moca-product-faq__list details[open] summary::after {
	content: "−";
}

.moca-product-faq__list summary:focus-visible {
	outline: 3px solid var(--wp--preset--color--ink);
	outline-offset: 3px;
}

.moca-product-faq__list details > div {
	padding: 0 0 1.25rem;
	color: var(--wp--preset--color--ink);
	line-height: 1.65;
}

.moca-product-faq__list p {
	margin: 0;
}

.moca-foundation-hero,
body.page-foundation {
	--moca-product-accent: var(--wp--preset--color--foundation);
}

.moca-evo-hero,
body.page-evo {
	--moca-product-accent: var(--wp--preset--color--evo);
}

.moca-intravivo-hero,
body.page-intravivo {
	--moca-product-accent: var(--wp--preset--color--intravivo);
}

/* The brand green is intended for large graphic fields; use its accessible
   text companion on white editorial sections. */
body.page-intravivo {
	--moca-product-accent: #247b1a;
}

.moca-fabric-hero,
body.page-fabric {
	--moca-product-accent: var(--wp--preset--color--fabric);
}

.moca-power-platform-hero,
body.page-power-platform {
	--moca-product-accent: var(--wp--preset--color--power-platform);
}

/* IntraVivo, Fabric and Power Platform Governance share the governance-family
   green. The brand green is for large graphic fields (the hero); on white
   editorial sections use the accessible companion so eyebrows, numerals and
   rules clear WCAG AA. Without this, Power Platform Governance fell back to
   Foundation blue - the power-platform preset did not exist - which put
   dark-blue accents on the dark-green band, the reported contrast fail. */
body.page-fabric,
body.page-power-platform {
	--moca-product-accent: #247b1a;
}

/* The CVI amber (#e7aa05) is 2.07:1 on white, so the bands take a companion,
   as IntraVivo does with its green: #a35f00 is 5.01:1 on white and 4.63:1 on
   the tint. */
.moca-partner-hero,
body.page-partner-program {
	--moca-product-accent: #a35f00;
}

/* Stacked below 981px, the copy runs over the amber tail the card covers side
   by side (H1 measured 2.75:1 at 768). A vertical gradient keeps navy under the
   copy: every hero text at least 11:1 from 360 to 980. !important beats the
   cover's inline gradient, as the hero padding does. */
@media (max-width: 980px) {

	.moca-partner-hero .wp-block-cover__background {
		background: linear-gradient(180deg, rgba(8, 10, 48, 0.88) 0%, rgba(8, 10, 48, 0.82) 45%, rgba(140, 74, 4, 0.74) 72%, rgba(231, 170, 5, 0.42) 100%) !important;
	}
}

/* The sheet's customer quotation stands in for a screenshot; frame shared
   above, column centred because the card is shorter than the copy. The navy
   scrim keeps white text readable over the amber: per pixel 10.5:1 at 1440
   and 13.2:1 at 390 (11 September 2026); axe samples the overlay, not the
   pixels. */
.moca-partner-hero__quote {
	padding: clamp(1.5rem, 3vw, 2.5rem);
	background: rgba(8, 10, 48, 0.62);
	color: var(--wp--preset--color--white);
}

.moca-partner-hero__quote blockquote {
	margin: 0;
	padding: 0;
	border: 0;
}

/* The quotation stands in for the hero's screenshot, so it takes the hero
   lede's role: xl at 400. */
.moca-partner-hero__quote p {
	margin: 0 0 1.25rem;
	font-size: var(--wp--preset--font-size--xl);
	font-weight: 400;
	line-height: 1.4;
}

.moca-partner-hero__quote figcaption {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	font-size: var(--wp--preset--font-size--sm);
	line-height: 1.4;
}

/* Optional portrait beside the name. No photo is on file yet; to add one,
   put <img class="moca-partner-hero__photo" src="..." width="112"
   height="112" alt=""> as the figcaption's first child. alt is empty because
   the caption beside it already names the person. */
.moca-partner-hero__photo {
	flex: none;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
}

@media (max-width: 760px) {

	.moca-product-numbered {
		grid-template-columns: 1fr;
	}

	.moca-product-numbered li {
		grid-template-columns: 64px minmax(0, 1fr);
	}
}

/* stylelint-enable no-descending-specificity, no-duplicate-selectors */

/* Editorial product-page composition approved from the Platform layout. */
/* stylelint-disable no-descending-specificity -- the editorial composition
   intentionally follows and supersedes legacy product component rules. */

/* The band rhythm - .moca-editorial-section, its tinted variant and the
   hairline between two untinted bands - is in style.css under "Section
   rhythm". It moved because the front page takes the same rhythm and this
   file is enqueued on the Landing page template alone; /platform/ once ran
   on six different recipes and produced five different gaps (116, 120, 136,
   144, 168px) because each section carried hand-typed inline spacing, and
   the front page had the same fault. What follows is the product-page
   composition built on that rhythm. */

/* Body copy sits on the same 1180px rail as the fact columns, tables and
   row lists it introduces. An 820px cap left the lead paragraph visibly
   short of the grid beneath it, which read as a broken edge rather than as
   a measure. */
.moca-editorial-lead {
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--body);
	line-height: 1.7;
}

.moca-editorial-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 3rem;
}

.moca-editorial-facts article {
	padding: 0 2.5rem;
	border-right: 1px solid var(--wp--preset--color--border, #e2e6ef);
}

.moca-editorial-facts article:first-child {
	padding-left: 0;
}

.moca-editorial-facts article:last-child {
	padding-right: 0;
	border-right: 0;
}

/* A column heading is an item inside a band, not the band's own heading, so it
   is an h3 - the same level .moca-governance-case__fact already used for the
   identical role. It keeps the column size; h2 now means one thing. */
.moca-editorial-facts h3 {
	margin: 0 0 0.8rem;
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--xl);
	font-weight: 700;
	line-height: 1.12;
}

/* :not() because the column kicker is a p too, and the grey was overriding
   the eyebrow colour it should keep. 1.65 is the body line-height everywhere
   else; 1.6 here was a seventh value. */

/* A standalone link is a pointer target, and these measured 20px tall against
   the 24px WCAG 2.2 asks for. Padded rather than given a taller line-height so
   the visible text stays where it sits in the column. */
.moca-editorial-facts a {
	display: inline-block;
	padding-block: 2px;
}

.moca-editorial-facts p:not(.moca-eyebrow) {
	color: var(--wp--preset--color--ink);
	line-height: 1.65;
}

.moca-editorial-rows > div,
.moca-editorial-match > div {
	display: grid;
	grid-template-columns: minmax(180px, 0.8fr) minmax(300px, 1.5fr) 28px;
	gap: 2rem;
	align-items: center;
	padding: 1rem 0;
	border-bottom: 1px solid var(--wp--preset--color--border, #e2e6ef);
}

.moca-editorial-rows > div:first-child,
.moca-editorial-match > div:first-child {
	border-top: 1px solid var(--wp--preset--color--border, #e2e6ef);
}

.moca-editorial-rows span,
.moca-editorial-match span {
	color: var(--wp--preset--color--ink);
	line-height: 1.55;
}

.moca-editorial-match b {
	color: var(--moca-product-accent, var(--wp--preset--color--foundation));
	font-size: 1.3rem;
}

.moca-editorial-band,
.moca-editorial-statement {
	border-top: 1px solid var(--wp--preset--color--border, #e2e6ef);
	border-bottom: 1px solid var(--wp--preset--color--border, #e2e6ef);
}

.moca-editorial-band h2,
.moca-editorial-statement h2 {
	margin: 0;
	font-size: var(--wp--preset--font-size--3-xl);
	font-weight: 400;
	line-height: 1.12;
}

.moca-editorial-band > p,
.moca-editorial-statement > p {
	line-height: 1.65;
}

/* The motif supports the statement above it; it is not the statement. At
   clamp(...4.25rem) it rendered 68px against the heading's 48px and took the
   band over. Now it tops out below the heading and sits a step lighter -
   #7e879e clears 3:1 on the tint, which is the bar for large text. The floor
   is 1.5rem rather than lower on purpose: 24px is exactly WCAG's large-text
   threshold, and at 21.6px the same colour would have needed 4.5:1 and failed.
   Lower this and the colour has to darken with it. */
.moca-editorial-motif {
	max-width: none;
	margin: 1.5rem 0 -0.45rem;
	color: #7e879e;
	font-size: clamp(1.5rem, 2.6vw, 2.25rem);
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 1;
	text-align: center;
}

.moca-editorial-steps {
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
	counter-reset: editorial-step;
}

.moca-editorial-steps li {
	display: grid;
	grid-template-columns: minmax(180px, 0.75fr) minmax(300px, 1.6fr);
	gap: 2rem;
	padding: 1rem 0;
	border-bottom: 1px solid var(--wp--preset--color--border, #e2e6ef);
	counter-increment: editorial-step;
}

.moca-editorial-steps strong::before {
	margin-right: 0.75rem;
	color: var(--moca-product-accent, var(--wp--preset--color--foundation));
	content: counter(editorial-step, decimal-leading-zero);
}

.moca-editorial-steps span {
	color: var(--wp--preset--color--ink);
}

/* One-line aside under a list: what a tier adds, without a fifth step. */
.moca-editorial-note {
	max-width: var(--wp--custom--width--prose, 820px);
	margin: 1.25rem 0 0;
	color: var(--wp--preset--color--gray);
	font-size: var(--wp--preset--font-size--sm);
}

@media (max-width: 760px) {

	.moca-editorial-facts {
		grid-template-columns: 1fr;
	}

	.moca-editorial-facts article,
	.moca-editorial-facts article:first-child,
	.moca-editorial-facts article:last-child {
		padding: 1.5rem 0;
		border-right: 0;
		border-bottom: 1px solid var(--wp--preset--color--border, #e2e6ef);
	}

	.moca-editorial-rows > div,
	.moca-editorial-match > div,
	.moca-editorial-steps li {
		grid-template-columns: 1fr;
		gap: 0.45rem;
	}

	.moca-editorial-match b {
		display: none;
	}
}

/* stylelint-enable no-descending-specificity */

@media (max-width: 430px) {

	/* 1.5rem, not 1rem: the bands below use 1.5rem, and the 8px difference
	   showed as the page shifting sideways on scroll. The !important is still
	   needed here to beat the inline padding /platform/'s cover carries. */
	.moca-product-hero {
		padding-inline: 1.5rem !important;
	}

	.moca-product-hero__ecosystem {
		justify-content: flex-start;
	}

	.moca-product-hero__ecosystem-item {
		width: 100%;
		justify-content: center;
	}
}

/* stylelint-disable no-descending-specificity -- the card component is
   appended after the legacy product rules it is meant to supersede. */

/* --- Use-case cards ------------------------------------------------------

   Numerals imply sequence or rank. The "how organisations use X" sections
   list parallel, unordered options, so numbering them was decorative - and
   because the numbered grid was already carrying the problem lists, two
   adjacent bands ended up with the same shape. These sections take a card
   instead: same information, different silhouette, and no false ordering.

   ADR 0002 retired the old card component over three faults. None applies
   here, by construction rather than by luck:

   - Contents were not distributed, so a card's last line landed wherever the
     copy happened to end. These are flex columns, so the description takes
     the slack and anything after it aligns across the row.
   - A grid of n columns orphans a cell whenever the count is not a multiple
     of n. auto-fit means the last row fills the width it is given at any
     count, so there is no hole to design around.
   - The accent was assigned by nth-child, which coloured cards by position
     and contradicted the navigation. The rule here is one accent per page,
     inherited from --moca-product-accent, so it is correct by subject. */
.moca-editorial-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(clamp(16rem, 40%, 24rem), 1fr));
	gap: 1.25rem;
	margin-top: 2rem;
}

/* Each card leads with an icon on a tinted tile, in the page's accent, the
   same treatment as the IntraVivo problem cards. The icon is the card's
   data-icon (assets/icons/card-*.svg); a card without one gets the check.
   The data-icon map below is unscoped, so the product summary list uses it too.
   This replaced a 32px accent dash above every heading, which reviewers
   read as a stray underline rather than a mark ("streg-overskrifter",
   review of 6 Nov 2026). */
.moca-editorial-cards > article {
	--moca-card-accent: var(--moca-product-accent, var(--wp--preset--color--blue));
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 1.75rem;
	border: 1px solid var(--wp--preset--color--border, #e2e6ef);
	border-radius: var(--wp--custom--radius--md, 10px);
	background: var(--wp--preset--color--white);
}

/* On a tinted band the card is already lighter than its ground, so the
   border would be a second, redundant edge. */
.has-background .moca-editorial-cards > article {
	border-color: transparent;
}

/* The tile. */
.moca-editorial-cards > article::before {
	display: block;
	width: 44px;
	height: 44px;
	margin-bottom: 1.1rem;
	border-radius: 11px;
	background: color-mix(in srgb, var(--moca-card-accent) 12%, #fff);
	content: "";
}

/* The icon, laid over the tile: centred in it, offset by the card padding. */
.moca-editorial-cards > article::after {
	position: absolute;
	top: calc(1.75rem + 10.5px);
	left: calc(1.75rem + 10.5px);
	width: 23px;
	height: 23px;
	background: var(--moca-card-accent);
	content: "";
	-webkit-mask: var(--moca-card-icon, url(../icons/card-check.svg)) center / contain no-repeat;
	mask: var(--moca-card-icon, url(../icons/card-check.svg)) center / contain no-repeat;
}

[data-icon="plus"] {
	--moca-card-icon: url(../icons/card-plus.svg);
}

[data-icon="user-check"] {
	--moca-card-icon: url(../icons/card-user-check.svg);
}

[data-icon="refresh"] {
	--moca-card-icon: url(../icons/card-refresh.svg);
}

[data-icon="shield"] {
	--moca-card-icon: url(../icons/card-shield.svg);
}

[data-icon="grid"] {
	--moca-card-icon: url(../icons/card-grid.svg);
}

[data-icon="tag"] {
	--moca-card-icon: url(../icons/card-tag.svg);
}

[data-icon="clipboard"] {
	--moca-card-icon: url(../icons/card-clipboard.svg);
}

[data-icon="code"] {
	--moca-card-icon: url(../icons/card-code.svg);
}

[data-icon="layers"] {
	--moca-card-icon: url(../icons/card-layers.svg);
}

[data-icon="chart"] {
	--moca-card-icon: url(../icons/card-chart.svg);
}

[data-icon="clock"] {
	--moca-card-icon: url(../icons/card-clock.svg);
}

[data-icon="link"] {
	--moca-card-icon: url(../icons/card-link.svg);
}

[data-icon="users"] {
	--moca-card-icon: url(../icons/card-users.svg);
}

[data-icon="file"] {
	--moca-card-icon: url(../icons/card-file.svg);
}

/* Product summary: the problem and the core capabilities, side by side, in one
   block that is the same on all five product pages. It replaced a six-item
   numbered problem list and a separate capabilities list, which Lars's review
   (Nov 2026) read as too much text before the product was clear. */
.moca-product-summary__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 2.5rem 4rem;
	align-items: start;
}

/* Each column opens with an eyebrow label and a statement H2 at the element
   style (review, 11 Nov 2026: label-only H2s failed the heading test). */
.moca-product-summary__title {
	margin: 0.4rem 0 1.5rem;
}

.moca-product-pains,
.moca-product-capabilities {
	margin: 0;
	padding: 0;
	list-style: none;
}

.moca-product-pains li {
	padding: 0.35rem 0 0.35rem 1rem;
	border-left: 3px solid var(--moca-product-accent, var(--wp--preset--color--foundation));
	line-height: 1.55;
}

.moca-product-pains li + li {
	margin-top: 1.25rem;
}

.moca-product-pains strong,
.moca-product-capabilities strong {
	display: block;
	color: var(--wp--preset--color--ink);
}

.moca-product-pains span,
.moca-product-capabilities span {
	color: var(--wp--preset--color--ink);
}

.moca-product-capabilities {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem 2rem;
}

.moca-product-capabilities li {
	--moca-card-accent: var(--moca-product-accent, var(--wp--preset--color--blue));
	position: relative;
	min-height: 40px;
	padding-left: 3.4rem;
	line-height: 1.55;
}

.moca-product-capabilities li::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: color-mix(in srgb, var(--moca-card-accent) 12%, #fff);
	content: "";
}

.moca-product-capabilities li::after {
	position: absolute;
	top: 9px;
	left: 9px;
	width: 22px;
	height: 22px;
	background: var(--moca-card-accent);
	content: "";
	-webkit-mask: var(--moca-card-icon, url(../icons/card-check.svg)) center / contain no-repeat;
	mask: var(--moca-card-icon, url(../icons/card-check.svg)) center / contain no-repeat;
}

@media (max-width: 760px) {

	.moca-product-summary__grid,
	.moca-product-capabilities {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* A linked card heading is a heading first: no link blue or underline until
   it is hovered or focused. */
.moca-editorial-cards h3 a {
	color: inherit;
	text-decoration: none;
}

.moca-editorial-cards h3 a:hover,
.moca-editorial-cards h3 a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

/* Size, weight and line-height come from the h3 token; only the margin is the
   card's own. 1.2rem here was a seventh heading size nothing else used. */
.moca-editorial-cards h3 {
	margin: 0 0 0.55rem;
}

.moca-editorial-cards p {
	flex: 1 1 auto;
	margin: 0;
	color: var(--wp--preset--color--ink);
	line-height: 1.65;
}

/* stylelint-enable no-descending-specificity */

/* The chips band is a label and a row of outlined pills rather than a content
   section, so it closes 31px under the pills instead of the full 52.

   The close is the band's own padding, not a lift on the rule below it.
   Lifting moved the line but left everything after it in place, which opened
   a 113px hole beneath the line; shortening the band brings the rule and the
   whole rest of the page up together. */
.moca-editorial-section:has(.moca-covers) {
	padding-bottom: 31px;
}

/* And 43px under the rule rather than 52, so the strip reads as a compact
   header for the section that follows rather than a band of its own. */
.moca-editorial-section:has(.moca-covers) + .moca-editorial-section {
	--moca-rule-gap: 43px;
}

/* The pills sit centred between the label and the rule: 31px of visible air
   on each side. The box gap is 25px rather than 31 because the eyebrow's line
   box extends about 6px below its own glyphs at 13px on a 1.6 line-height, so
   equal box gaps would read as closer to the text than to the rule. Margins
   collapse to the larger, so this replaces the eyebrow's 0.75rem bottom
   margin rather than adding to it. */
.moca-eyebrow + .moca-covers {
	margin-top: 25px;
}

/* Platform hero: the five products as marks with names, each a jump link to
   its card in "The five products". Reviewers asked to see what MOCA365 is
   made of without scrolling to the bottom of the page (review, 6 Nov 2026). */
/* stylelint-disable no-descending-specificity --
   The jump links live in the platform hero and the card heading links in
   editorial sections, so no element matches both. */
.moca-product-jump {
	margin-top: 1.5rem;
}

.moca-product-jump ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.moca-product-jump a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0.35rem 0.9rem 0.35rem 0.35rem;
	border: 1px solid rgb(255 255 255 / 30%);
	border-radius: 9999px;
	background: rgb(255 255 255 / 10%);
	color: #fff;
	font-size: var(--wp--preset--font-size--body);
	font-weight: 700;
	text-decoration: none;
	transition: background-color 160ms ease;
}

.moca-product-jump a:hover,
.moca-product-jump a:focus-visible {
	background: rgb(255 255 255 / 22%);
}

.moca-product-jump a:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

.moca-product-jump__mark {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #fff;
	color: var(--wp--preset--color--intravivo-dark);
}

.moca-product-jump__mark[data-product="foundation"] {
	color: var(--wp--preset--color--foundation);
}

.moca-product-jump__mark[data-product="evo"] {
	color: var(--wp--preset--color--evo);
}

/* stylelint-enable no-descending-specificity */

/* The jump lands below the sticky header, not under it. Section and h3
   anchors are what the folded capability pages redirect to. */
.moca-prodcard[id],
.moca-editorial-section[id],
.moca-editorial-section h3[id] {
	scroll-margin-top: 6rem;
}

@media (prefers-reduced-motion: reduce) {

	.moca-product-jump a {
		transition: none;
	}
}

/* Product intro: "What is" beside the demo video, on every product page.
   The video sat lower down under a bold "Product demo, 1:58, no sound" line
   with the screens crowded into a side column (Lars's review, 11 Nov 2026).
   The caption is one plain line; the scene-by-scene text a silent video
   needs is behind "What the video shows" and still describes the video.
   The video is preload="none" with a poster, so it costs one image until a
   visitor presses play. */

/* stylelint-disable no-descending-specificity -- the tour is its own
   component; the hero and card selectors it is compared with never match. */
.moca-product-intro__columns {
	gap: clamp(2rem, 4vw, 3.5rem);
}

.moca-product-intro h2 {
	margin-top: 0;
}

.moca-product-video,
.moca-product-tour__shots figure,
.moca-product-shot {
	margin: 0;
}

.moca-product-video[id] {
	scroll-margin-top: 6rem;
}

.moca-product-video__notes {
	margin-top: 0.4rem;
	color: var(--wp--preset--color--gray);
	font-size: var(--wp--preset--font-size--sm);
	line-height: 1.55;
}

.moca-product-video__notes summary {
	width: fit-content;
	min-height: 24px;
	color: var(--wp--preset--color--blue);
	font-size: var(--wp--preset--font-size--body);
	font-weight: 700;
	cursor: pointer;
}

.moca-product-video__notes p {
	margin: 0.4rem 0 0;
}

/* Screens of the product, two across (four sit two by two). They open full
   size, because at column width the table text is too small to read. */
.moca-product-tour__shots {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.moca-product-video video,
.moca-product-tour__shots img,
.moca-product-shot img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border: 1px solid var(--wp--preset--color--border, #e2e6ef);
	border-radius: 12px;
	background: var(--wp--preset--color--light, #f5f6f9);
	box-shadow: 0 12px 30px rgba(8, 10, 48, 0.08);
}

.moca-product-tour__shots a {
	display: block;
	border-radius: 12px;
}

/* The theme sets its own focus ring rather than trusting the browser default.
   currentColor keeps it white on the green solution band. */
.moca-product-tour__shots a:focus-visible,
.moca-product-shot a:focus-visible {
	outline: 2px solid currentcolor;
	outline-offset: 3px;
}

/* Tells a screen-reader user the image link opens the screen full size. */
.moca-shot-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.moca-product-video figcaption,
.moca-product-tour figcaption,
.moca-product-shot figcaption {
	margin-top: 0.7rem;
	color: var(--wp--preset--color--gray);
	font-size: var(--wp--preset--font-size--sm);
	line-height: 1.55;
}

.moca-product-shot {
	margin-block: 2rem 1.5rem;
}

/* On the dark green solution band the caption takes the band's white text. */
.has-white-color .moca-product-shot figcaption {
	color: inherit;
}

.has-white-color .moca-product-shot img {
	border-color: rgba(255, 255, 255, 0.58);
}

@media (max-width: 600px) {

	.moca-product-tour__shots {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* How it works, Foundation: each step is text beside its own screen, and the
   provisioning steps are a numbered flow of tiles rather than rows of black
   text on grey (Lars's review, 11 Nov 2026). */
.moca-feature-row {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 2rem 3.5rem;
	align-items: center;
	margin-top: 3rem;
}

.moca-feature-row--reverse > figure {
	order: -1;
}

.moca-feature-row h3,
.moca-product-how__block h3 {
	margin-top: 0;
}

.moca-feature-row .moca-product-shot {
	margin: 0;
}

.moca-product-how__block {
	margin-top: 3rem;
}

.moca-step-flow {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
	gap: 1rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
	counter-reset: moca-step-flow;
}

.moca-step-flow li {
	padding: 1.25rem;
	border-top: 3px solid var(--moca-product-accent, var(--wp--preset--color--blue));
	border-radius: 10px;
	background: var(--wp--preset--color--light, #f5f6f9);
	line-height: 1.55;
	counter-increment: moca-step-flow;
}

.moca-step-flow li::before {
	display: block;
	margin-bottom: 0.6rem;
	color: var(--moca-product-accent, var(--wp--preset--color--blue));
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.6;
	content: counter(moca-step-flow, decimal-leading-zero);
}

.moca-step-flow strong {
	display: block;
	margin-bottom: 0.3rem;
	color: var(--wp--preset--color--ink);
}

.moca-step-flow span,
.moca-product-how__note {
	color: var(--wp--preset--color--ink);
}

.moca-product-how__note {
	margin: 1rem 0 0;
}

.moca-product-capabilities--stack {
	grid-template-columns: minmax(0, 1fr);
	margin-top: 1.5rem;
}

/* /platform/: the two portfolio principles side by side, then one table of
   what each product does for them. It replaced two stacked lists that named
   the same four products twice. */
.moca-platform-principles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem 3.5rem;
	margin-top: 2rem;
}

.moca-platform-principles h3 {
	margin-top: 0;
}

.moca-platform-table {
	margin-top: 2rem;
	overflow-x: auto;
}

.moca-platform-table table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	background: var(--wp--preset--color--white);
	line-height: 1.55;
}

.moca-platform-table th,
.moca-platform-table td {
	padding: 1rem 1.25rem;
	border-bottom: 1px solid var(--wp--preset--color--border, #e2e6ef);
	text-align: left;
	vertical-align: top;
}

.moca-platform-table thead th {
	color: var(--wp--preset--color--blue);
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.moca-platform-table td {
	color: var(--wp--preset--color--ink);
}

/* Four cards two by two: auto-fit gave three and an orphan at 1180px. */
.moca-editorial-cards--pairs {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 860px) {

	.moca-editorial-cards--pairs,
	.moca-feature-row,
	.moca-platform-principles {
		grid-template-columns: minmax(0, 1fr);
	}

	.moca-feature-row--reverse > figure {
		order: 0;
	}
}

/* stylelint-enable no-descending-specificity */
