/* ==========================================================================
   CRMmentor — design system
   Paper / slate ink / petrol bands / teal = active state / amber = events & leaks
   ========================================================================== */

@font-face { font-family: "Schibsted Grotesk"; src: url(../fonts/schibsted-grotesk-latin-wght-normal.woff2) format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(../fonts/source-serif-4-latin-wght-normal.woff2) format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(../fonts/source-serif-4-latin-wght-italic.woff2) format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
	--paper: #F4F6F5;
	--surface: #FFFFFF;
	--tint: #E8EFED;
	--ink: #16212B;
	--ink-2: #44525D;
	--rule: #D3DCD9;
	--rule-2: #B9C6C2;
	--petrol: #0E3B43;
	--petrol-2: #15505A;
	--teal: #0F7B6C;
	--teal-soft: #D7EBE6;
	--amber: #D9962B;
	--amber-ink: #8A5A0B;
	--amber-soft: #FBEFD9;
	--danger: #A3312A;

	--sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--serif: "Source Serif 4", Georgia, "Times New Roman", serif;

	--wrap: 76rem;
	--gutter: clamp(1rem, 4vw, 2.5rem);
	--measure: 42rem;
	--r: 8px;
	--r-sm: 5px;
	--sec: clamp(3.5rem, 8vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 1.125rem; line-height: 1.65; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--petrol); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--sans); color: var(--ink); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .6em; font-weight: 700; }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.3rem); }
h3 { font-size: 1.2rem; letter-spacing: -.005em; line-height: 1.3; font-weight: 650; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }
strong { font-weight: 650; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

.cm-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.cm-skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; font-family: var(--sans); border-radius: var(--r-sm); }
.cm-skip:focus { top: 1rem; color: #fff; }

/* ---------- Buttons ---------- */
.cm-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.2; padding: .8rem 1.25rem; border-radius: var(--r-sm); border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; min-height: 44px; text-align: center; }
.cm-btn--primary { background: var(--petrol); color: #fff; }
.cm-btn--primary:hover { background: var(--teal); color: #fff; }
.cm-btn--ghost { background: transparent; color: var(--petrol); border-color: var(--rule-2); }
.cm-btn--ghost:hover { border-color: var(--petrol); color: var(--petrol); background: var(--surface); }
.cm-btn--light { background: #fff; color: var(--petrol); }
.cm-btn--light:hover { background: var(--amber-soft); color: var(--petrol); }
.cm-btn--sm { font-size: .92rem; padding: .55rem .9rem; min-height: 40px; }
.cm-btn--lg { font-size: 1.05rem; padding: .95rem 1.5rem; }
.cm-btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header & navigation ---------- */
.cm-header { position: sticky; top: 0; z-index: 50; background: rgba(244,246,245,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--rule); font-family: var(--sans); }
.cm-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.cm-logo { display: inline-flex; align-items: center; gap: .55rem; color: var(--petrol); text-decoration: none; flex: none; }
.cm-logo:hover { color: var(--petrol); }
.cm-logo__word { font-family: var(--sans); font-size: 1.3rem; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.cm-logo__word b { font-weight: 800; color: var(--petrol); }
.cm-logo--light, .cm-logo--light .cm-logo__word, .cm-logo--light .cm-logo__word b { color: #fff; }
.cm-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cm-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0; }
.cm-nav__item { position: relative; display: flex; align-items: center; }
.cm-nav__link, .cm-nav__list--wp a { display: block; white-space: nowrap; padding: .55rem .6rem; color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; border-radius: var(--r-sm); }
.cm-nav__link:hover, .cm-nav__link[aria-current] { color: var(--teal); }
.cm-nav__link[aria-current] { box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.cm-nav__toggle { background: none; border: 0; padding: .35rem .2rem; margin-left: -.35rem; color: var(--ink-2); cursor: pointer; display: inline-flex; border-radius: var(--r-sm); }
.cm-nav__toggle .cm-icon { width: 16px; height: 16px; transition: transform .15s; }
.cm-nav__toggle[aria-expanded="true"] .cm-icon { transform: rotate(180deg); }
.cm-sub { position: absolute; top: calc(100% + .6rem); left: 0; min-width: 16rem; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: .5rem; box-shadow: 0 18px 40px -18px rgba(14,59,67,.35); display: none; }
.cm-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -.7rem; height: .7rem; }
.cm-sub.is-open { display: block; }
.cm-sub ul { list-style: none; margin: 0; padding: 0; }
.cm-sub a { display: block; padding: .5rem .7rem; color: var(--ink); text-decoration: none; font-size: .95rem; border-radius: var(--r-sm); }
.cm-sub a:hover { background: var(--tint); color: var(--petrol); }
.cm-sub .is-more { border-top: 1px solid var(--rule); margin-top: .35rem; padding-top: .35rem; }
.cm-sub .is-more a { color: var(--teal); font-weight: 600; }
.cm-sub--mega { left: 50%; transform: translateX(-38%); width: min(52rem, 92vw); padding: 1.25rem 1.25rem .75rem; }
.cm-mega { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1rem 1.5rem; }
.cm-mega__col:first-child ul { columns: 2; column-gap: 1rem; }
.cm-mega__h { font-size: .8rem; font-weight: 700; color: var(--ink-2); margin: 0 0 .4rem .7rem; letter-spacing: .01em; }
.cm-mega__col a { padding: .35rem .7rem; }
.cm-mega__foot { margin: .75rem 0 0; padding: .75rem .7rem 0; border-top: 1px solid var(--rule); font-size: .9rem; color: var(--ink-2); display: flex; gap: 1rem; align-items: baseline; flex-wrap: wrap; }
.cm-mega__foot a { font-weight: 600; text-decoration: none; }
.cm-nav__ctas { display: flex; gap: .5rem; flex: none; }
.cm-menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--rule-2); border-radius: var(--r-sm); width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.cm-menu-btn__close { display: none; }
.cm-menu-btn[aria-expanded="true"] .cm-menu-btn__open { display: none; }
.cm-menu-btn[aria-expanded="true"] .cm-menu-btn__close { display: inline-flex; }

@media (min-width: 1201px) {
	.cm-nav__item.has-sub:hover > .cm-sub { display: block; }
}
@media (max-width: 1200px) {
	.cm-menu-btn { display: inline-flex; }
	.cm-nav { display: none; position: fixed; inset: 4.25rem 0 0 0; background: var(--paper); flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 1rem var(--gutter) 2rem; overflow-y: auto; border-top: 1px solid var(--rule); }
	.cm-nav.is-open { display: flex; }
	.cm-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.cm-nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--rule); }
	.cm-nav__link { flex: 1; padding: .9rem 0; font-size: 1.1rem; }
	.cm-nav__link[aria-current] { box-shadow: none; }
	.cm-nav__toggle { padding: .75rem; margin: 0; }
	.cm-sub, .cm-sub--mega { position: static; transform: none; width: 100%; box-shadow: none; border: 0; padding: 0 0 .75rem .5rem; background: transparent; }
	.cm-sub::before { display: none; }
	.cm-mega { grid-template-columns: 1fr 1fr; }
	.cm-mega__col:first-child { grid-column: 1 / -1; }
	.cm-nav__ctas { flex-direction: column; margin-top: 1.25rem; }
	.cm-nav__ctas .cm-btn { width: 100%; }
	body.menu-open { overflow: hidden; }
}

/* ---------- Page hero ---------- */
.cm-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4rem); border-bottom: 1px solid var(--rule); background: linear-gradient(180deg, var(--paper), var(--paper)); }
.cm-breadcrumbs { font-family: var(--sans); font-size: .85rem; margin-bottom: clamp(1.5rem, 4vw, 2.75rem); }
.cm-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; color: var(--ink-2); }
.cm-breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .35rem; color: var(--rule-2); }
.cm-breadcrumbs a { color: var(--ink-2); text-decoration: none; }
.cm-breadcrumbs a:hover { color: var(--teal); text-decoration: underline; }
.cm-hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.cm-hero--graphic .cm-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.cm-hero__eyebrow { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--teal); margin: 0 0 .9rem; }
.cm-hero__title { font-size: clamp(1.54rem, 0.98rem + 2.24vw, 2.52rem); line-height: 1.05; letter-spacing: -.028em; max-width: 20ch; margin-bottom: .5em; font-weight: 750; }
.cm-hero__lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--ink-2); max-width: 40rem; line-height: 1.55; }
.cm-hero__lede p { margin: 0; }
.cm-hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.cm-hero__graphic .cm-g { margin: 0; }
@media (max-width: 900px) { .cm-hero--graphic .cm-hero__grid { grid-template-columns: 1fr; } }
.cm-byline { font-family: var(--sans); font-size: .9rem; color: var(--ink-2); margin: 1.25rem 0 0; }

/* ---------- Body & prose ---------- */
.cm-body { padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.cm-body.has-toc { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; gap: 0 4rem; align-items: start; }
.cm-body.has-toc .cm-content { grid-column: 1; grid-row: 1; }
.cm-toc { grid-column: 2; grid-row: 1; position: sticky; top: 6rem; font-family: var(--sans); font-size: .9rem; }
.cm-toc__box summary { font-weight: 700; color: var(--ink); cursor: pointer; margin-bottom: .6rem; list-style: none; }
.cm-toc__box summary::-webkit-details-marker { display: none; }
.cm-toc ol { list-style: none; margin: 0; padding: 0 0 0 .9rem; border-left: 1px solid var(--rule); }
.cm-toc li { margin: 0 0 .5rem; line-height: 1.35; }
.cm-toc a { color: var(--ink-2); text-decoration: none; }
.cm-toc a:hover, .cm-toc a.is-active { color: var(--teal); }
.cm-toc a.is-active { font-weight: 600; }
@media (max-width: 1080px) {
	.cm-body.has-toc { display: block; }
	.cm-toc { position: static; margin-bottom: 2rem; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); }
	.cm-toc__box:not([open]) summary { margin: 0; }
}

.cm-content > * { max-width: var(--measure); }
.cm-content > .cm-cards, .cm-content > .cm-steps, .cm-content > .cm-g, .cm-content > figure,
.cm-content > .cm-inline-cta, .cm-content > .cm-related, .cm-content > .cm-catalog, .cm-content > .cm-catalog__grid,
.cm-content > .cm-pricing, .cm-content > .cm-hc, .cm-content > .cm-form, .cm-content > .cm-empty, .cm-content > .cm-related__grid,
.cm-content > .cm-faq, .cm-content > .cm-form__alt, .cm-content > .cm-form__done { max-width: none; }
.cm-content > .cm-faq { max-width: 52rem; }
.cm-content h2 { margin-top: 2.6em; scroll-margin-top: 6rem; }
.cm-content > h2:first-child, .cm-content > :first-child { margin-top: 0; }
.cm-content h3 { margin-top: 1.9em; }
.cm-content ul, .cm-content ol { padding-left: 1.3rem; margin: 0 0 1.25em; }
.cm-content li { margin-bottom: .45em; padding-left: .2rem; }
.cm-content ul li::marker { color: var(--teal); }
.cm-content ol li::marker { font-family: var(--sans); font-weight: 600; color: var(--teal); font-size: .95em; }
.cm-content code { font-size: .9em; background: var(--tint); padding: .1em .35em; border-radius: 3px; }
.cm-content table { border-collapse: collapse; width: 100%; font-family: var(--sans); font-size: .95rem; }
.cm-content td, .cm-content th { border-bottom: 1px solid var(--rule); padding: .6rem .5rem; text-align: left; }

/* Note / callout */
.cm-note { border-left: 3px solid var(--amber); background: var(--surface); padding: 1rem 1.25rem; margin: 1.75rem 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.cm-note p { margin: 0; font-size: 1.05rem; }

/* Card grid (content) — ruled, not boxed */
.cm-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0; margin: 2rem 0 2.5rem; border-top: 1px solid var(--rule); }
.cm-card { padding: 1.4rem 1.5rem 1.2rem 0; border-bottom: 1px solid var(--rule); }
.cm-cards .cm-card:nth-child(n) { padding-right: 1.75rem; }
.cm-card h3 { margin: 0 0 .45rem; font-size: 1.1rem; }
.cm-card p { font-size: 1rem; color: var(--ink-2); margin: 0 0 .6em; line-height: 1.55; }
.cm-card p:last-child { margin-bottom: 0; }
.cm-card__icon { display: inline-flex; width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--teal-soft); color: var(--petrol); margin-bottom: .75rem; }
.cm-card__icon .cm-icon { width: 1.35rem; height: 1.35rem; }

/* Steps */
.cm-steps { counter-reset: step; margin: 2rem 0 2.5rem; display: grid; gap: 0; }
.cm-step { counter-increment: step; position: relative; padding: 0 0 1.6rem 3.5rem; }
.cm-step::before { content: counter(step); position: absolute; left: 0; top: -.1rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1.5px solid var(--petrol); font-family: var(--sans); font-weight: 700; font-size: .95rem; display: flex; align-items: center; justify-content: center; color: var(--petrol); background: var(--paper); z-index: 1; }
.cm-step::after { content: ""; position: absolute; left: 1.1rem; top: 2.1rem; bottom: 0; border-left: 1.5px solid var(--rule-2); }
.cm-step:last-child::after { display: none; }
.cm-step:last-child { padding-bottom: 0; }
.cm-step h3 { margin: 0 0 .35rem; font-size: 1.1rem; padding-top: .15rem; }
.cm-step p { margin: 0 0 .5em; color: var(--ink-2); font-size: 1.02rem; }

/* FAQ */
.cm-faq { margin: 1.5rem 0 2.5rem; border-top: 1px solid var(--rule); }
.cm-faq__item { border-bottom: 1px solid var(--rule); }
.cm-faq__item summary { font-family: var(--sans); font-weight: 600; font-size: 1.08rem; padding: 1.1rem 2.5rem 1.1rem 0; cursor: pointer; list-style: none; position: relative; line-height: 1.35; }
.cm-faq__item summary::-webkit-details-marker { display: none; }
.cm-faq__item summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: .7rem; height: .7rem; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.cm-faq__item[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.cm-faq__item summary:hover { color: var(--teal); }
.cm-faq__item > :not(summary) { margin-top: 0; padding-right: 2rem; }
.cm-faq__item > p:last-child { padding-bottom: 1.1rem; }

/* ---------- Diagrams ---------- */
.cm-g { margin: 2.25rem 0 2.5rem; font-family: var(--sans); }
.cm-g__caption { font-family: var(--sans); font-size: .9rem; color: var(--ink-2); margin-top: .9rem; max-width: 40rem; }

/* Lifecycle: connected state nodes, horizontal on wide screens */
.cm-lifecycle__track { list-style: none; margin: 0; padding: 1.5rem 1.25rem; display: flex; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.cm-lifecycle__node { flex: 1 1 0; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .6rem; padding: 0 .2rem; min-width: 0; }
.cm-lifecycle__node::before { content: ""; position: absolute; top: .55rem; left: -50%; width: 100%; border-top: 2px solid var(--rule-2); z-index: 0; }
.cm-lifecycle__node:first-child::before { display: none; }
.cm-lifecycle__dot { width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--surface); border: 2.5px solid var(--petrol); position: relative; z-index: 1; }
.cm-lifecycle__node:last-child .cm-lifecycle__dot { background: var(--teal); border-color: var(--teal); }
.cm-lifecycle__label { font-size: .88rem; font-weight: 600; line-height: 1.25; color: var(--ink); overflow-wrap: anywhere; }
.cm-lifecycle__node.is-leak::before { border-top-color: var(--amber); border-top-style: dashed; }
@media (max-width: 760px) {
	.cm-lifecycle__track { flex-direction: column; padding: 1.25rem 1.25rem; gap: 0; }
	.cm-lifecycle__node { flex-direction: row; text-align: left; padding: .45rem 0; gap: .9rem; }
	.cm-lifecycle__node::before { top: -50%; left: .55rem; width: 0; height: 100%; border-top: 0; border-left: 2px solid var(--rule-2); }
	.cm-lifecycle__label { font-size: 1rem; }
}
.cm-hero__graphic .cm-lifecycle__track { flex-direction: column; padding: 1.25rem 1.5rem; }
.cm-hero__graphic .cm-lifecycle__node { flex-direction: row; text-align: left; padding: .5rem 0; gap: .9rem; }
.cm-hero__graphic .cm-lifecycle__node::before { top: -50%; left: .55rem; width: 0; height: 100%; border-top: 0; border-left: 2px solid var(--rule-2); }
.cm-hero__graphic .cm-lifecycle__label { font-size: 1rem; }

/* Flow: trigger → condition → action */
.cm-flow__track { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; gap: 0; counter-reset: none; }
.cm-flow__step { flex: 1 1 0; display: flex; flex-direction: column; gap: .5rem; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 1rem 1rem 1.1rem; position: relative; font-weight: 600; font-size: .98rem; line-height: 1.3; margin-right: 1.6rem; min-width: 0; overflow-wrap: anywhere; }
.cm-flow__step:not(:last-child)::after { content: ""; position: absolute; right: -1.35rem; top: 50%; width: 1.1rem; height: 1.1rem; transform: translateY(-50%); background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E3B43' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 12h15M14 6l6 6-6 6'/%3E%3C/svg%3E"); }
.cm-flow__step:last-child { margin-right: 0; }
.cm-flow__step.is-end { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.cm-flow__n { font-size: .78rem; font-weight: 700; color: var(--teal); }
.cm-flow__step.is-end .cm-flow__n { color: #9FD3C8; }
@media (max-width: 760px) {
	.cm-flow__track { flex-direction: column; }
	.cm-flow__step { margin: 0 0 1.4rem; flex-direction: row; align-items: baseline; gap: .75rem; }
	.cm-flow__step:not(:last-child)::after { right: auto; left: 1.4rem; top: auto; bottom: -1.3rem; transform: rotate(90deg); }
	.cm-flow__step:last-child { margin-bottom: 0; }
}
.cm-hero__graphic .cm-flow__track { flex-direction: column; }
.cm-hero__graphic .cm-flow__step { margin: 0 0 1.4rem; flex-direction: row; align-items: baseline; gap: .75rem; }
.cm-hero__graphic .cm-flow__step:not(:last-child)::after { right: auto; left: 1.4rem; top: auto; bottom: -1.3rem; transform: rotate(90deg); }
.cm-hero__graphic .cm-flow__step:last-child { margin-bottom: 0; }

/* Routing: lead → rules → owner */
.cm-routing__grid { display: grid; grid-template-columns: 1fr 1.2fr 1.1fr; gap: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); }
.cm-routing__col { padding: 1.25rem; position: relative; }
.cm-routing__col + .cm-routing__col { border-left: 1px dashed var(--rule-2); }
.cm-routing__k { display: block; font-size: .8rem; font-weight: 700; color: var(--ink-2); margin-bottom: .75rem; }
.cm-routing__box { display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; border: 1.5px solid var(--petrol); border-radius: 999px; font-weight: 600; font-size: .98rem; }
.cm-routing__box .cm-icon { width: 1.25rem; color: var(--teal); flex: none; }
.cm-routing ol, .cm-routing ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.cm-routing__checks li { display: flex; gap: .65rem; align-items: center; font-size: .95rem; font-weight: 500; }
.cm-routing__diamond { width: .8rem; height: .8rem; transform: rotate(45deg); border: 2px solid var(--amber); background: var(--amber-soft); flex: none; }
.cm-routing__targets li { display: flex; gap: .55rem; align-items: center; padding: .5rem .75rem; background: var(--tint); border-radius: var(--r-sm); font-size: .95rem; font-weight: 600; }
.cm-routing__targets .cm-icon { width: 1.1rem; color: var(--petrol); flex: none; }
@media (max-width: 760px) {
	.cm-routing__grid { grid-template-columns: 1fr; }
	.cm-routing__col + .cm-routing__col { border-left: 0; border-top: 1px dashed var(--rule-2); }
}
.cm-hero__graphic .cm-routing__grid { grid-template-columns: 1fr; }
.cm-hero__graphic .cm-routing__col + .cm-routing__col { border-left: 0; border-top: 1px dashed var(--rule-2); }

/* Hub: system at the centre */
.cm-hub__wrap { position: relative; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 1rem; }
.cm-hub__lines { position: absolute; inset: 1rem; width: calc(100% - 2rem); height: calc(100% - 2rem); stroke: var(--rule-2); stroke-width: 1.5; stroke-dasharray: 4 4; }
.cm-hub__grid { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, minmax(4.5rem, auto)); gap: 1rem; }
.cm-hub__node, .cm-hub__center { display: flex; align-items: center; justify-content: center; text-align: center; padding: .6rem .7rem; border-radius: var(--r); font-size: .92rem; font-weight: 600; line-height: 1.25; align-self: center; justify-self: center; max-width: 13rem; width: 100%; }
.cm-hub__node { background: var(--surface); border: 1.5px solid var(--rule-2); }
.cm-hub__center { background: var(--petrol); color: #fff; min-height: 5rem; border-radius: 50%; aspect-ratio: 1; width: auto; max-width: none; padding: 1rem; font-size: 1.05rem; }
@media (max-width: 560px) { .cm-hub__node { font-size: .8rem; padding: .5rem; } .cm-hub__grid { gap: .5rem; } .cm-hub__center { font-size: .9rem; min-height: 4rem; } }

/* Equation */
.cm-equation__row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 1.25rem; }
.cm-equation__part { padding: .55rem .9rem; border: 1.5px solid var(--petrol); border-radius: 999px; font-weight: 600; font-size: .95rem; }
.cm-equation__op { font-size: 1.3rem; font-weight: 700; color: var(--amber-ink); }
.cm-equation__result { padding: .6rem 1rem; background: var(--petrol); color: #fff; border-radius: 999px; font-weight: 700; }

/* States */
.cm-states .cm-lifecycle__track { border-radius: var(--r) var(--r) 0 0; }
.cm-states__back { background: var(--surface); border: 1px solid var(--rule); border-top: 1px dashed var(--rule-2); border-radius: 0 0 var(--r) var(--r); padding: 1.1rem 1.25rem; }
.cm-states__k { font-size: .82rem; font-weight: 700; color: var(--ink-2); margin: 0 0 .6rem; }
.cm-states__back ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.cm-states__back li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1rem; font-size: .95rem; }
.cm-states__move { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--amber-ink); }
.cm-states__move svg { color: var(--amber); }
.cm-states__why { color: var(--ink-2); }

/* ---------- Inline CTA ---------- */
.cm-inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; flex-wrap: wrap; background: var(--tint); border: 1px solid var(--rule); border-left: 4px solid var(--teal); border-radius: var(--r); padding: 1.5rem 1.75rem; margin: 2.75rem 0; font-family: var(--sans); }
.cm-inline-cta > div { flex: 1 1 22rem; }
.cm-inline-cta__title { font-weight: 700; font-size: 1.2rem; margin: 0 0 .3rem; letter-spacing: -.01em; }
.cm-inline-cta__text { margin: 0; color: var(--ink-2); font-size: 1rem; }

/* ---------- Related & listing cards ---------- */
.cm-related { margin: 3.5rem 0 0; padding-top: 2rem; border-top: 1px solid var(--rule); }
.cm-related__h { font-size: 1.3rem; margin: 0 0 1.25rem !important; }
.cm-related__grid { list-style: none; margin: 0; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; }
.cm-related__grid li { margin: 0; padding: 0; }
.cm-related__card { display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: 1.15rem 1.2rem 1.25rem; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); text-decoration: none; color: var(--ink); transition: border-color .15s; font-family: var(--sans); }
.cm-related__card:hover { border-color: var(--teal); color: var(--ink); }
.cm-related__kind { font-size: .8rem; font-weight: 600; color: var(--teal); }
.cm-related__title { font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.cm-related__text { font-size: .93rem; color: var(--ink-2); line-height: 1.5; }

.cm-catalog__group { margin: 0 0 2.75rem; }
.cm-catalog__h { font-size: 1.3rem !important; margin: 0 0 1rem !important; padding-bottom: .6rem; border-bottom: 1px solid var(--rule); }
.cm-catalog__grid { list-style: none; margin: 0; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; }
.cm-catalog__grid--3 { grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }
.cm-catalog__item { margin: 0 !important; padding: 0 !important; }
.cm-catalog__item a { display: flex; flex-direction: column; gap: .4rem; height: 100%; padding: 1.2rem 1.25rem; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); color: var(--ink); text-decoration: none; font-family: var(--sans); }
.cm-catalog__item a:hover { border-color: var(--teal); }
.cm-catalog__item.is-core a { border-color: var(--petrol); border-width: 1.5px; }
.cm-catalog__item .cm-icon { color: var(--teal); width: 1.6rem; height: 1.6rem; margin-bottom: .2rem; }
.cm-catalog__name { font-weight: 700; font-size: 1.08rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.cm-catalog__text { font-size: .93rem; color: var(--ink-2); line-height: 1.5; }
.cm-tag { font-size: .72rem; font-weight: 700; color: var(--petrol); background: var(--teal-soft); padding: .15rem .5rem; border-radius: 999px; }

/* Pricing */
.cm-pricing { list-style: none; margin: 2rem 0 2.5rem; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.cm-pricing__item { margin: 0 !important; padding: 1.5rem 1.35rem !important; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); display: flex; flex-direction: column; font-family: var(--sans); }
.cm-pricing__item:first-child { border-color: var(--petrol); border-width: 1.5px; }
.cm-pricing__name { font-size: 1.05rem !important; margin: 0 0 .75rem !important; }
.cm-pricing__price { font-size: 1.65rem; font-weight: 750; letter-spacing: -.02em; margin: 0; color: var(--petrol); line-height: 1.15; }
.cm-pricing__basis { font-size: .85rem; color: var(--ink-2); margin: .2rem 0 .9rem; }
.cm-pricing__text { font-size: .94rem; color: var(--ink-2); line-height: 1.5; flex: 1; }
.cm-pricing__item .cm-btn { margin-top: .5rem; }

.cm-empty { background: var(--surface); border: 1px dashed var(--rule-2); border-radius: var(--r); padding: 1.75rem; margin: 2rem 0; }
.cm-empty__title { font-family: var(--sans); font-weight: 700; font-size: 1.15rem; }

/* ---------- Closing band ---------- */
.cm-band { background: var(--petrol); color: #E4EFEC; padding: clamp(3rem, 7vw, 4.75rem) 0; position: relative; overflow: hidden; }
.cm-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 18px 18px; pointer-events: none; }
.cm-band__inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 2rem 4rem; flex-wrap: wrap; }
.cm-band__inner > div:first-child { flex: 1 1 28rem; max-width: 42rem; }
.cm-band__title { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); margin: 0 0 .5rem; }
.cm-band__text { margin: 0; font-size: 1.1rem; }
.cm-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.cm-band__alt { color: #fff; font-family: var(--sans); font-size: .95rem; }
.cm-band__alt:hover { color: var(--amber-soft); }
.cm-band :focus-visible { outline-color: var(--amber); }

/* ---------- Forms ---------- */
.cm-form { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2rem); margin: 2rem 0; font-family: var(--sans); scroll-margin-top: 6rem; }
.cm-form__group { border: 0; padding: 0; margin: 0 0 1.75rem; min-width: 0; }
.cm-form__group > legend { font-weight: 700; font-size: 1.1rem; margin-bottom: .9rem; padding: 0; }
.cm-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
.cm-form__field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; border: 0; padding: 0; margin: 0; }
.cm-form__field.is-wide { grid-column: 1 / -1; }
.cm-form label, .cm-form__field > legend { font-weight: 600; font-size: .95rem; color: var(--ink); padding: 0; }
.cm-req { color: var(--danger); }
.cm-opt { font-weight: 400; color: var(--ink-2); font-size: .88em; }
.cm-form input[type=text], .cm-form input[type=email], .cm-form input[type=url], .cm-form select, .cm-form textarea,
.cm-hc input[type=text], .cm-hc input[type=email], .cm-hc input:not([type]) { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--rule-2); border-radius: var(--r-sm); padding: .7rem .8rem; min-height: 46px; }
.cm-form textarea { min-height: 8rem; resize: vertical; }
.cm-form input:focus, .cm-form select:focus, .cm-form textarea:focus, .cm-hc input:focus { outline: 3px solid var(--teal-soft); border-color: var(--teal); background: #fff; }
.cm-form [aria-invalid="true"] { border-color: var(--danger); }
.cm-form__help { font-size: .87rem; color: var(--ink-2); }
.cm-form__error { font-size: .88rem; color: var(--danger); font-weight: 600; }
.cm-form__checkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: .5rem .75rem; margin-top: .35rem; }
.cm-form__checkgrid label { font-weight: 500; display: flex; gap: .55rem; align-items: center; padding: .55rem .7rem; border: 1px solid var(--rule); border-radius: var(--r-sm); cursor: pointer; background: var(--paper); }
.cm-form__checkgrid label:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); }
.cm-form input[type=checkbox], .cm-hc input[type=radio] { width: 1.1rem; height: 1.1rem; accent-color: var(--teal); flex: none; margin: 0; }
.cm-form__legal { font-size: .88rem; color: var(--ink-2); }
.cm-form__alert { background: #FBE9E7; border-left: 4px solid var(--danger); padding: .9rem 1rem; margin-bottom: 1.5rem; border-radius: var(--r-sm); font-weight: 600; }
.cm-form__alt { font-family: var(--sans); display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cm-form__done { background: var(--teal-soft); border-left: 4px solid var(--teal); padding: 1.25rem 1.5rem; border-radius: var(--r-sm); font-family: var(--sans); }
.cm-form__done-title { font-weight: 700; font-size: 1.15rem; margin: 0 0 .3rem; }
.cm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .cm-form__grid { grid-template-columns: 1fr; } }

/* ---------- CRM Health Check ---------- */
.cm-hc { margin: 1rem 0 2rem; font-family: var(--sans); scroll-margin-top: 6rem; }
.cm-hc__panel { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: clamp(1.25rem, 3.5vw, 2.25rem); }
.cm-hc__progress { margin-bottom: 1.5rem; }
.cm-hc__progress-text { font-size: .88rem; font-weight: 600; color: var(--ink-2); margin-bottom: .45rem; }
.cm-hc__bar { height: 6px; background: var(--tint); border-radius: 999px; overflow: hidden; }
.cm-hc__bar span { display: block; height: 100%; background: var(--teal); border-radius: 999px; transition: width .3s ease; }
.cm-hc__h { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin: 0 0 .4rem; }
.cm-hc__h:focus { outline: none; }
.cm-hc__intro { color: var(--ink-2); font-size: 1rem; margin-bottom: 1.5rem; }
.cm-hc__q { border: 0; border-top: 1px solid var(--rule); margin: 0; padding: 1.1rem 0 1.2rem; min-width: 0; }
.cm-hc__q legend { font-size: 1.05rem; font-weight: 600; line-height: 1.4; padding: 0; margin-bottom: .75rem; float: left; width: 100%; }
.cm-hc__q legend + * { clear: both; }
.cm-hc__opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.cm-hc__opts--stack { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.cm-hc__opt { display: inline-flex; align-items: center; gap: .55rem; padding: .6rem .9rem; border: 1.5px solid var(--rule-2); border-radius: 999px; cursor: pointer; font-size: .95rem; font-weight: 500; background: var(--paper); min-height: 44px; }
.cm-hc__opts--stack .cm-hc__opt { border-radius: var(--r-sm); }
.cm-hc__opt:hover { border-color: var(--petrol); }
.cm-hc__opt:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); font-weight: 600; }
.cm-hc__opt:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 2px; }
.cm-hc__err { color: var(--danger); font-weight: 600; margin: 1rem 0 0; }
.cm-hc__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); flex-wrap: wrap; }
.cm-hc__teaser { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: .6rem; }
.cm-hc__teaser li { display: flex; flex-direction: column; padding: .8rem 1rem; border-radius: var(--r-sm); border: 1px solid var(--rule); border-left-width: 4px; }
.cm-hc__teaser li.is-good { border-left-color: var(--teal); }
.cm-hc__teaser li.is-mid { border-left-color: var(--amber); }
.cm-hc__teaser li.is-low { border-left-color: var(--danger); }
.cm-hc__teaser-cat { font-weight: 700; }
.cm-hc__teaser-band { font-size: .9rem; color: var(--ink-2); }
.cm-hc__gate { margin-top: 2rem; padding: 1.5rem; background: var(--tint); border-radius: var(--r); }
.cm-hc__gate h3 { margin: 0 0 .35rem; }
.cm-hc__gate .cm-form__grid { grid-template-columns: repeat(3, minmax(0,1fr)); margin: 1rem 0; }
.cm-hc__gate label { font-weight: 600; font-size: .95rem; }
@media (max-width: 760px) { .cm-hc__gate .cm-form__grid { grid-template-columns: 1fr; } }
.cm-meter { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .3rem 1rem; }
.cm-meter__num { grid-row: span 2; display: flex; align-items: baseline; gap: .1rem; }
.cm-meter__num strong { font-size: 2rem; font-weight: 750; letter-spacing: -.03em; line-height: 1; color: var(--petrol); }
.cm-meter__num span { color: var(--ink-2); font-size: .9rem; }
.cm-meter__track { height: 10px; background: var(--tint); border-radius: 999px; overflow: hidden; }
.cm-meter__track span { display: block; height: 100%; border-radius: 999px; background: var(--teal); }
.cm-meter--mid .cm-meter__track span { background: var(--amber); }
.cm-meter--low .cm-meter__track span { background: var(--danger); }
.cm-meter__label { font-weight: 700; font-size: .95rem; }
.cm-meter--big { padding: 1.25rem; border: 1px solid var(--rule); border-radius: var(--r); margin: 1rem 0; }
.cm-meter--big .cm-meter__num strong { font-size: 3.4rem; }
.cm-hc__cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; margin: 1.5rem 0 2.5rem; }
.cm-hc__cat { padding: 1rem; border: 1px solid var(--rule); border-radius: var(--r); }
.cm-hc__cat h3 { margin: 0 0 .6rem; font-size: 1rem; }
.cm-hc__detail { border-top: 1px solid var(--rule); padding: 1.5rem 0 .5rem; }
.cm-hc__detail h3 { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: .5rem; }
.cm-hc__band { font-size: .8rem; padding: .2rem .6rem; border-radius: 999px; font-weight: 700; }
.cm-hc__band.is-good { background: var(--teal-soft); color: var(--petrol); }
.cm-hc__band.is-mid { background: var(--amber-soft); color: var(--amber-ink); }
.cm-hc__band.is-low { background: #FBE9E7; color: var(--danger); }
.cm-hc__findings { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .75rem; }
.cm-hc__findings li { padding: .9rem 1rem; background: var(--paper); border-radius: var(--r-sm); border-left: 3px solid var(--amber); }
.cm-hc__findings p { margin: 0; font-size: .97rem; color: var(--ink-2); }
.cm-hc__findings .cm-hc__finding-q { color: var(--ink); font-weight: 600; margin-bottom: .35rem; }
.cm-hc__findings em { font-style: normal; font-weight: 500; font-size: .85rem; color: var(--amber-ink); margin-left: .35rem; white-space: nowrap; }
.cm-hc__partly { font-size: .95rem; color: var(--ink-2); }
.cm-hc__fine { font-size: .95rem; color: var(--ink-2); }

/* ---------- Footer ---------- */
.cm-footer { background: var(--ink); color: #C4CFCC; font-family: var(--sans); font-size: .93rem; padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; }
.cm-footer a { color: #E4EFEC; text-decoration: none; }
.cm-footer a:hover { color: #fff; text-decoration: underline; }
.cm-footer__top { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.cm-footer__brand { max-width: 34rem; }
.cm-footer__tag { color: #fff; font-weight: 600; margin: .9rem 0 .5rem; }
.cm-footer__line { color: #A9B8B4; line-height: 1.55; }
.cm-footer__social { display: inline-flex; gap: .4rem; align-items: center; }
.cm-footer__social .cm-icon { width: 1.1rem; }
.cm-footer__cols { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2rem 1.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.12); }
@media (max-width: 1100px) { .cm-footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cm-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cm-footer__h { color: #fff; font-weight: 700; margin: 0 0 .75rem; font-size: .9rem; }
.cm-footer__col ul { list-style: none; margin: 0; padding: 0; }
.cm-footer__col li { margin: 0 0 .5rem; line-height: 1.35; }
.cm-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding-top: 1.25rem; font-size: .82rem; color: #93A39F; }
.cm-footer__bottom p { margin: 0; }
.cm-footer :focus-visible { outline-color: var(--amber); }

.cm-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: .5rem; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: rgba(244,246,245,.97); border-top: 1px solid var(--rule); }
.cm-sticky .cm-btn { flex: 1; }
@media (min-width: 761px) { .cm-sticky { display: none !important; } }
@media (max-width: 760px) { body.has-sticky { padding-bottom: 4.5rem; } }

/* ==========================================================================
   Homepage
   ========================================================================== */
.cm-hhero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; border-bottom: 1px solid var(--rule); }
.cm-hhero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 3rem; align-items: center; }
.cm-hhero__title { font-size: clamp(1.75rem, 1.05rem + 2.66vw, 3.01rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 780; margin: 0 0 1.25rem; max-width: 14ch; }
.cm-hhero__lede { font-size: clamp(1.1rem, 1rem + .45vw, 1.32rem); color: var(--ink-2); line-height: 1.55; max-width: 36rem; }
.cm-hhero__note { font-family: var(--sans); font-size: .9rem; color: var(--ink-2); margin-top: 1rem; }
.cm-hhero__diagram { margin: 0; }
.cm-hhero__diagram figcaption { font-family: var(--sans); font-size: .88rem; color: var(--ink-2); margin-top: .75rem; padding-left: .25rem; }
@media (max-width: 960px) { .cm-hhero__grid { grid-template-columns: 1fr; } }

.cm-hd { display: block; width: 100%; height: auto; font-family: var(--sans); }
.cm-hd--v { display: none; max-width: 26rem; }
@media (max-width: 600px) { .cm-hd--h { display: none; } .cm-hd--v { display: block; } }
.cm-hd__bg { fill-opacity: 1; stroke: var(--rule); stroke-width: 1; }
.cm-hd__gridpt { fill: #CBD6D3; }
.cm-hd__bg--plain { fill: var(--surface); }
.cm-hd__edges path { stroke: var(--rule-2); stroke-width: 2; }
.cm-hd__edges path.is-leak { stroke: var(--amber); stroke-dasharray: 5 4; }
.cm-hd__arrowhead { fill: var(--rule-2); }
.cm-hd__node rect { fill: var(--surface); stroke: var(--petrol); stroke-width: 1.5; }
.cm-hd__node circle { fill: var(--surface); stroke: var(--petrol); stroke-width: 2.5; }
.cm-hd__node text { font-size: 15px; font-weight: 600; fill: var(--ink); }
.cm-hd__node.is-active rect { fill: var(--petrol); }
.cm-hd__node.is-active circle { fill: var(--teal); stroke: #9FD3C8; }
.cm-hd__node.is-active text { fill: #fff; }
.cm-hd__leak path { stroke: var(--amber); stroke-width: 1.5; fill: none; }
.cm-hd__leak circle { fill: var(--amber); stroke: var(--surface); stroke-width: 3; }
.cm-hd__leak text { font-size: 13.5px; font-weight: 600; fill: var(--amber-ink); }
@media (prefers-reduced-motion: no-preference) {
	.cm-hd__node { opacity: 0; animation: cm-node-in .45s ease forwards; animation-delay: calc(var(--i) * 70ms + 100ms); }
	.cm-hd__edges, .cm-hd__leak { opacity: 0; animation: cm-fade .6s ease forwards .75s; }
	.cm-hd__leak circle { animation: cm-pulse 2.4s ease-in-out 1.5s 3; transform-box: fill-box; transform-origin: center; }
	@keyframes cm-node-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
	@keyframes cm-fade { to { opacity: 1; } }
	@keyframes cm-pulse { 50% { transform: scale(1.45); } }
}

.cm-strip { display: flex; align-items: center; gap: .75rem 2rem; flex-wrap: wrap; padding: 1.5rem 0; margin-top: clamp(2rem, 5vw, 3.5rem); border-top: 1px solid var(--rule); font-family: var(--sans); }
.cm-strip__label { margin: 0; font-size: .88rem; color: var(--ink-2); }
.cm-strip__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.cm-strip__list a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; opacity: .8; }
.cm-strip__list a:hover { opacity: 1; color: var(--teal); }
.cm-strip__all { margin-left: auto; font-size: .92rem; font-weight: 600; }

.cm-sec { padding: var(--sec) 0; }
.cm-sec--tint { background: var(--tint); }
.cm-sec__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.cm-sec__head h2 { margin-bottom: .5em; }
.cm-sec__head p { color: var(--ink-2); font-size: 1.1rem; margin: 0; }
.cm-sec__foot { margin: 2.5rem 0 0; }

.cm-problems { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.cm-problem { padding: 1.75rem 2rem 1.75rem 0; border-bottom: 1px solid var(--rule); }
.cm-problem:not(:nth-child(3n+1)) { padding-left: 2rem; border-left: 1px solid var(--rule); }
.cm-problem__icon { display: inline-flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--surface); border: 1px solid var(--rule); color: var(--petrol); margin-bottom: 1rem; }
.cm-problem h3 { margin: 0 0 .5rem; }
.cm-problem p { margin: 0; color: var(--ink-2); font-size: 1.02rem; line-height: 1.55; }
@media (max-width: 900px) {
	.cm-problems { grid-template-columns: 1fr 1fr; }
	.cm-problem:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
	.cm-problem:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--rule); }
}
@media (max-width: 620px) {
	.cm-problems { grid-template-columns: 1fr; }
	.cm-problem:nth-child(even) { padding-left: 0; border-left: 0; }
	.cm-problem { padding-right: 0; }
}

.cm-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.cm-split__k { font-family: var(--sans); font-weight: 700; margin: 1.75rem 0 .75rem; }
.cm-split--rev .cm-split__a { order: 2; }
@media (max-width: 900px) { .cm-split { grid-template-columns: 1fr; } .cm-split--rev .cm-split__a { order: 0; } }
.cm-asks { list-style: none; padding: 0; margin: 0; counter-reset: ask; font-family: var(--sans); }
.cm-asks li { counter-increment: ask; padding: .55rem 0 .55rem 2.25rem; position: relative; border-top: 1px solid var(--rule-2); font-weight: 500; }
.cm-asks li::before { content: "?"; position: absolute; left: 0; top: .6rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--amber-soft); color: var(--amber-ink); font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center; }

.cm-vlife { margin: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 1.5rem 1.75rem; }
.cm-vlife ol { list-style: none; margin: 0; padding: 0; font-family: var(--sans); }
.cm-vlife li { display: grid; grid-template-columns: 1.5rem 8.5rem 1fr; gap: 0 .9rem; align-items: center; padding: .6rem 0; position: relative; }
.cm-vlife li:not(:last-child)::after { content: ""; position: absolute; left: .7rem; top: 1.65rem; height: 100%; border-left: 2px solid var(--rule-2); }
.cm-vlife__dot { width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2.5px solid var(--petrol); background: var(--surface); position: relative; z-index: 1; justify-self: center; }
.cm-vlife li:nth-child(5) .cm-vlife__dot { background: var(--teal); border-color: var(--teal); }
.cm-vlife strong { font-weight: 700; }
.cm-vlife span:last-child { color: var(--ink-2); font-size: .93rem; }
@media (max-width: 520px) { .cm-vlife li { grid-template-columns: 1.5rem 1fr; } .cm-vlife span:last-child { grid-column: 2; } }

.cm-hcprev { margin: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 1.5rem; font-family: var(--sans); box-shadow: 0 24px 48px -32px rgba(14,59,67,.45); }
.cm-hcprev__head { display: flex; justify-content: space-between; font-weight: 700; padding-bottom: .9rem; border-bottom: 1px solid var(--rule); margin-bottom: .5rem; }
.cm-hcprev__head span:last-child { font-weight: 500; color: var(--ink-2); font-size: .9rem; }
.cm-hcprev ul { list-style: none; margin: 0; padding: 0; }
.cm-hcprev li { display: grid; grid-template-columns: 7rem 1fr auto; gap: 1rem; align-items: center; padding: .7rem 0; border-bottom: 1px dashed var(--rule); font-weight: 600; font-size: .95rem; }
.cm-hcprev__bar { height: 8px; background: var(--tint); border-radius: 999px; overflow: hidden; }
.cm-hcprev__bar i { display: block; height: 100%; background: repeating-linear-gradient(90deg, var(--rule-2) 0 6px, transparent 6px 10px); }
.cm-hcprev__q { font-size: .8rem; color: var(--ink-2); font-weight: 500; }
.cm-hcprev figcaption { font-size: .82rem; color: var(--ink-2); margin-top: .9rem; }

.cm-svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.cm-svc__card { display: flex; flex-direction: column; height: 100%; padding: 1.5rem; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); color: var(--ink); text-decoration: none; font-family: var(--sans); }
.cm-svc__card:hover { border-color: var(--teal); color: var(--ink); }
.cm-svc__card .cm-icon { width: 2rem; height: 2rem; color: var(--teal); margin-bottom: 1.1rem; }
.cm-svc__card h3 { margin: 0 0 .5rem; }
.cm-svc__card p { color: var(--ink-2); font-size: .98rem; flex: 1; }
.cm-svc__more { font-weight: 600; color: var(--teal); font-size: .95rem; }
@media (max-width: 1000px) { .cm-svc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cm-svc { grid-template-columns: 1fr; } }

.cm-method { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; font-family: var(--sans); position: relative; }
.cm-method li { padding: 0 1.25rem 0 0; position: relative; }
.cm-method li::before { content: ""; position: absolute; top: 1.3rem; left: 2.8rem; right: 0; border-top: 2px solid var(--rule-2); }
.cm-method li:last-child::before { display: none; }
.cm-method__n { display: flex; width: 2.6rem; height: 2.6rem; border-radius: 50%; align-items: center; justify-content: center; background: var(--petrol); color: #fff; font-weight: 700; font-size: .95rem; margin-bottom: 1rem; position: relative; }
.cm-method li:nth-child(5) .cm-method__n { background: var(--teal); }
.cm-method h3 { margin: 0 0 .4rem; font-size: 1.1rem; }
.cm-method p { color: var(--ink-2); font-size: .95rem; line-height: 1.5; margin: 0; }
@media (max-width: 1000px) {
	.cm-method { grid-template-columns: 1fr; }
	.cm-method li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 0 1.1rem; padding: 0 0 1.5rem; }
	.cm-method li::before { top: 2.6rem; left: 1.3rem; right: auto; bottom: 0; border-top: 0; border-left: 2px solid var(--rule-2); }
	.cm-method__n { grid-row: span 2; margin: 0; }
	.cm-method h3 { padding-top: .5rem; }
}

.cm-sols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cm-sol { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 1.75rem; display: flex; flex-direction: column; align-items: flex-start; }
.cm-sol h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.cm-sol__path { font-family: var(--sans); font-size: .9rem; font-weight: 600; color: var(--teal); padding-bottom: .9rem; border-bottom: 1px dashed var(--rule-2); width: 100%; }
.cm-sol p:not(.cm-sol__path) { color: var(--ink-2); font-size: 1rem; flex: 1; }
@media (max-width: 900px) { .cm-sols { grid-template-columns: 1fr; } }

.cm-plats { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 2rem; font-family: var(--sans); border-top: 1px solid var(--rule); padding-top: 1.5rem; }
.cm-plats h3 { font-size: .95rem; color: var(--ink-2); margin-bottom: .9rem; }
.cm-plats ul { list-style: none; margin: 0; padding: 0; }
.cm-plats__col:first-child ul { columns: 2; }
.cm-plats li { margin-bottom: .55rem; }
.cm-plats a { color: var(--ink); font-weight: 600; text-decoration: none; }
.cm-plats a:hover { color: var(--teal); text-decoration: underline; }
@media (max-width: 1000px) { .cm-plats { grid-template-columns: 1fr 1fr; } .cm-plats__col:first-child { grid-column: 1 / -1; } .cm-plats__col:first-child ul { columns: 3; } }
@media (max-width: 520px) { .cm-plats__col:first-child ul { columns: 2; } }

.cm-proof { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: clamp(1.5rem, 4vw, 2.5rem); }
.cm-proof__meta { font-family: var(--sans); font-weight: 600; color: var(--teal); margin-bottom: .5rem; }
.cm-proof__intro { color: var(--ink-2); max-width: 44rem; }
.cm-proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 1.75rem 0; border-top: 2px solid var(--petrol); }
.cm-proof__grid > div { padding: 1.1rem 1.25rem 0 0; }
.cm-proof__grid > div + div { padding-left: 1.25rem; border-left: 1px solid var(--rule); }
.cm-proof__grid dt { font-family: var(--sans); font-weight: 700; margin-bottom: .4rem; }
.cm-proof__grid dd { margin: 0; color: var(--ink-2); font-size: 1rem; }
@media (max-width: 900px) { .cm-proof__grid { grid-template-columns: 1fr 1fr; } .cm-proof__grid > div:nth-child(3) { padding-left: 0; border-left: 0; } .cm-proof__grid > div { padding-bottom: 1.25rem; } }
@media (max-width: 560px) { .cm-proof__grid { grid-template-columns: 1fr; } .cm-proof__grid > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); } }

.cm-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.cm-why > div { border-top: 3px solid var(--petrol); padding-top: 1.25rem; }
.cm-why > div:nth-child(2) { border-top-color: var(--teal); }
.cm-why > div:nth-child(3) { border-top-color: var(--amber); }
.cm-why h3 { font-size: 1.35rem; }
.cm-why p { color: var(--ink-2); margin: 0; }
@media (max-width: 800px) { .cm-why { grid-template-columns: 1fr; gap: 2rem; } }

.cm-founder { display: grid; grid-template-columns: minmax(12rem, 22rem) 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cm-founder__img img { border-radius: var(--r); display: block; width: 100%; object-fit: cover; aspect-ratio: 6/7; }
.cm-founder__mono { aspect-ratio: 6/7; border-radius: var(--r); background: var(--petrol); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-weight: 750; font-size: 5rem; letter-spacing: -.04em; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 16px 16px; }
.cm-founder__text { max-width: 42rem; }
.cm-founder__sig { font-family: var(--sans); font-weight: 600; color: var(--petrol); }
@media (max-width: 760px) { .cm-founder { grid-template-columns: 1fr; } .cm-founder__img { max-width: 16rem; } }

.cm-404-search { margin-top: 2rem; max-width: 30rem; font-family: var(--sans); }
.cm-404-search input[type=search] { font: inherit; padding: .6rem .8rem; border: 1.5px solid var(--rule-2); border-radius: var(--r-sm); }

/* WordPress core block resets that matter here */
.wp-block-group { box-sizing: border-box; }
/* Classic themes wrap group inner blocks; let our grids see the real children. */
[class*="cm-"] > .wp-block-group__inner-container { display: contents; }
.cm-content .wp-block-details summary { cursor: pointer; }

@media print {
	.cm-header, .cm-footer, .cm-sticky, .cm-band, .cm-toc, .cm-hero__ctas { display: none !important; }
	body { background: #fff; }
}

/* ---------- Phase 3 additions ---------- */
.cm-content > .cm-tool, .cm-content > .cm-print { max-width: none; }
.cm-tool { margin-top: 0; }
.cm-tool__out { margin-top: 1.25rem; }
.cm-tool__out:focus { outline: none; }
.cm-tool__out h3 { margin-top: 1.5rem; }
.cm-tool .cm-form__grid { margin-bottom: .5rem; }
.cm-tool input[type=number] { width: 100%; font: inherit; font-size: 1rem; background: var(--paper); border: 1.5px solid var(--rule-2); border-radius: var(--r-sm); padding: .7rem .8rem; min-height: 46px; }
.cm-tool select { width: 100%; font: inherit; font-size: 1rem; background: var(--paper); border: 1.5px solid var(--rule-2); border-radius: var(--r-sm); padding: .7rem .8rem; min-height: 46px; }
.cm-tool input:focus, .cm-tool select:focus { outline: 3px solid var(--teal-soft); border-color: var(--teal); }
.cm-tool label { font-weight: 600; font-size: .95rem; }
.cm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; margin: 1.25rem 0 1.5rem; }
.cm-stats > div { border: 1px solid var(--rule); border-top: 3px solid var(--petrol); border-radius: var(--r-sm); padding: 1rem 1.1rem; }
.cm-stats dt { font-size: .9rem; color: var(--ink-2); margin-bottom: .3rem; }
.cm-stats dd { margin: 0; font-size: 2rem; font-weight: 750; letter-spacing: -.02em; color: var(--petrol); }
.cm-print { margin: 1.25rem 0 2rem; }
.cm-print .cm-icon { width: 1.15rem; height: 1.15rem; }
.cm-catalog__more { margin: .9rem 0 0; font-family: var(--sans); font-weight: 600; }
@media print {
	.cm-print, .cm-breadcrumbs, .cm-related, .cm-inline-cta, .cm-byline { display: none !important; }
	.cm-hero { border: 0; padding: 0 0 1rem; }
	.cm-content > * { max-width: none; }
	.cm-content a { color: inherit; text-decoration: none; }
	.cm-content li { break-inside: avoid; }
	body { font-size: 11pt; }
}
