/* ==========================================================================
   ERPKaro site chrome + high-intent page components.

   Hand-written (not Tailwind): the header, footer and the page components
   below ship as-is with no build step. Tokens mirror DESIGN.md. Loaded after
   app.css on the front end and as an editor style, so block previews match.

   Motion rule: every animation is opt-in under
   (prefers-reduced-motion: no-preference) and uses transform/opacity only.
   ========================================================================== */

:root {
	--ek-brand: #5d3996;
	--ek-brand-deep: #4d3280;
	--ek-brand-soft: #ece6f7;
	--ek-brand-veil: #f5f3fb;
	--ek-surface: #f7f6ff;
	--ek-ink: #0f172a;
	--ek-ink-soft: #334155;
	--ek-ink-muted: #475569;
	--ek-ink-faint: #64748b;
	--ek-line: #e2e8f0;
	--ek-line-soft: #f1f5f9;
	--ek-header-h: 56px;
	--ek-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--ek-font-display: 'Plus Jakarta Sans', Inter, ui-sans-serif, system-ui, sans-serif;
	--ek-font-body: Inter, ui-sans-serif, system-ui, sans-serif;
}

@media (min-width: 1024px) {
	:root {
		--ek-header-h: 64px;
	}
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.ek-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 50;
	background: #fff;
	border-bottom: 1px solid var(--ek-line);
	font-family: var(--ek-font-body);
	transition: box-shadow 0.2s ease;
}

.ek-header.is-scrolled {
	box-shadow: 0 4px 18px -10px rgba(15, 23, 42, 0.18);
}

.ek-header__bar {
	display: flex;
	align-items: center;
	gap: 12px;
	height: var(--ek-header-h);
	max-width: 90rem;
	margin: 0 auto;
	padding: 0 clamp(16px, 2.5vw, 32px);
}

.ek-header__logo {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	flex-shrink: 0;
	margin-right: auto;
}

.ek-header__logo img {
	display: block;
	height: 28px;
	width: auto;
}

@media (min-width: 1024px) {
	.ek-header__logo {
		margin-right: 8px;
	}

	.ek-header__logo img {
		height: 34px;
	}
}

.ek-header__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.ek-header__signin {
	display: none;
	align-items: center;
	min-height: 44px;
	padding: 0 10px;
	font-size: 14px;
	font-weight: 500;
	color: var(--ek-ink-soft);
	text-decoration: none;
	border-radius: 8px;
	transition: color 0.15s ease;
}

.ek-header__signin:hover {
	color: var(--ek-brand-deep);
}

/* Primary "Book a Demo": the purple brand action with the indigo-tinted
   shadow signature. */
.ek-btn-demo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 16px;
	border-radius: 10px;
	background: var(--ek-brand);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 8px 20px -8px rgba(93, 57, 150, 0.55);
	transition: background-color 0.15s ease, box-shadow 0.2s ease, transform 0.2s var(--ek-ease);
}

.ek-btn-demo:hover,
.ek-btn-demo:focus-visible {
	background: var(--ek-brand-deep);
	color: #fff;
	box-shadow: 0 10px 24px -8px rgba(93, 57, 150, 0.65);
}

.ek-btn-demo svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

/* Phones/tablets: the bar keeps a compact Book a Demo beside the burger. */
@media (max-width: 1023px) {
	.ek-header__actions .ek-btn-demo {
		min-height: 44px;
		padding: 0 12px;
		font-size: 13px;
	}
}

@media (max-width: 399px) {
	.ek-header__actions .ek-btn-demo svg {
		display: none;
	}
}

@media (max-width: 329px) {
	.ek-header__actions .ek-btn-demo {
		display: none;
	}
}

.ek-header__burger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--ek-line);
	border-radius: 10px;
	background: #fff;
	color: var(--ek-ink-soft);
	cursor: pointer;
}

.ek-header__burger svg {
	width: 22px;
	height: 22px;
}

.ek-header__burger .ek-icon-close {
	display: none;
}

.ek-header__burger[aria-expanded='true'] .ek-icon-open {
	display: none;
}

.ek-header__burger[aria-expanded='true'] .ek-icon-close {
	display: block;
}

:where(.ek-header) a:focus-visible,
:where(.ek-header) button:focus-visible,
:where(.ek-footer) a:focus-visible {
	outline: 2px solid var(--ek-brand);
	outline-offset: 2px;
}

/* --- Desktop navigation (>= 1024px) --- */
.ek-nav {
	display: none;
}

@media (min-width: 1024px) {
	.ek-nav {
		display: block;
		flex: 1 1 auto;
		min-width: 0;
	}

	.ek-header__signin {
		display: inline-flex;
	}

	.ek-header__burger {
		display: none;
	}
}

.ek-nav__list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ek-nav__item {
	position: relative;
}

.ek-nav__link,
.ek-nav__trigger {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 44px;
	padding: 0 12px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	color: var(--ek-ink-soft);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: color 0.15s ease, background-color 0.15s ease;
}

.ek-nav__link:hover,
.ek-nav__trigger:hover,
.ek-nav__item.is-open > .ek-nav__trigger {
	color: var(--ek-brand-deep);
	background: var(--ek-brand-veil);
}

.ek-nav__link[aria-current='page'] {
	color: var(--ek-brand-deep);
}

.ek-nav__chev {
	width: 14px;
	height: 14px;
	opacity: 0.7;
	transition: transform 0.2s ease;
}

.ek-nav__item.is-open .ek-nav__chev {
	transform: rotate(180deg);
}

.ek-nav__panel {
	position: absolute;
	top: 100%;
	left: 50%;
	z-index: 60;
	padding-top: 10px;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 6px);
	transition: opacity 0.16s ease, transform 0.18s var(--ek-ease), visibility 0s linear 0.18s;
}

.ek-nav__item--end .ek-nav__panel {
	left: auto;
	right: 0;
	transform: translate(0, 6px);
}

.ek-nav__item--start .ek-nav__panel {
	left: 0;
	transform: translate(0, 6px);
}

/* Open: JS state, plus a no-JS fallback via keyboard focus. */
.ek-nav__item.is-open > .ek-nav__panel,
.ek-nav:not(.is-enhanced) .ek-nav__item:focus-within > .ek-nav__panel {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, 0);
	transition: opacity 0.16s ease, transform 0.18s var(--ek-ease), visibility 0s;
}

.ek-nav__item--end.is-open > .ek-nav__panel,
.ek-nav:not(.is-enhanced) .ek-nav__item--end:focus-within > .ek-nav__panel,
.ek-nav__item--start.is-open > .ek-nav__panel,
.ek-nav:not(.is-enhanced) .ek-nav__item--start:focus-within > .ek-nav__panel {
	transform: translate(0, 0);
}

.ek-nav__sheet {
	width: max-content;
	max-width: min(42rem, calc(100vw - 48px));
	padding: 8px;
	border: 1px solid var(--ek-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 24px 48px -20px rgba(15, 23, 42, 0.28);
}

.ek-nav__grid {
	display: grid;
	grid-template-columns: minmax(15rem, 19rem);
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ek-nav__sheet--wide .ek-nav__grid {
	grid-template-columns: repeat(2, minmax(15rem, 19rem));
}

.ek-nav__group + .ek-nav__group {
	margin-top: 6px;
	padding-top: 6px;
	border-top: 1px solid var(--ek-line-soft);
}

.ek-nav__group-title {
	margin: 0;
	padding: 10px 12px 4px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ek-ink-faint);
}

.ek-nav__entry {
	display: block;
	padding: 10px 12px;
	border-radius: 10px;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.ek-nav__entry:hover,
.ek-nav__entry:focus-visible {
	background: var(--ek-brand-veil);
}

.ek-nav__entry-title {
	display: block;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--ek-ink);
}

.ek-nav__entry:hover .ek-nav__entry-title {
	color: var(--ek-brand-deep);
}

.ek-nav__entry-desc {
	display: block;
	margin-top: 2px;
	font-size: 12.5px;
	line-height: 1.4;
	color: var(--ek-ink-faint);
}

.ek-nav__entry--lead .ek-nav__entry-title {
	color: var(--ek-brand-deep);
	font-weight: 600;
}

/* --- Mobile navigation (< 1024px) --- */
.ek-mnav {
	position: fixed;
	top: var(--ek-mnav-top, var(--ek-header-h));
	inset-inline: 0;
	bottom: 0;
	z-index: 49;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: #fff;
	border-top: 1px solid var(--ek-line);
	padding: 8px clamp(16px, 4vw, 24px) calc(24px + env(safe-area-inset-bottom));
}

.ek-mnav[hidden] {
	display: none;
}

@media (min-width: 1024px) {
	.ek-mnav {
		display: none !important;
	}
}

.ek-mnav__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ek-mnav__list > li {
	border-bottom: 1px solid var(--ek-line-soft);
}

.ek-mnav__link,
.ek-mnav__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 52px;
	padding: 0 4px;
	border: 0;
	background: none;
	font: inherit;
	font-size: 16px;
	font-weight: 500;
	color: var(--ek-ink);
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.ek-mnav__toggle .ek-nav__chev {
	width: 18px;
	height: 18px;
}

.ek-mnav__toggle[aria-expanded='true'] .ek-nav__chev {
	transform: rotate(180deg);
}

.ek-mnav__sub {
	margin: 0;
	padding: 0 0 12px;
	list-style: none;
}

.ek-mnav__sub[hidden] {
	display: none;
}

.ek-mnav__sub a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0 12px;
	border-radius: 8px;
	font-size: 15px;
	color: var(--ek-ink-soft);
	text-decoration: none;
}

.ek-mnav__sub a:hover,
.ek-mnav__sub a:focus-visible {
	background: var(--ek-brand-veil);
	color: var(--ek-brand-deep);
}

.ek-mnav__subhead {
	padding: 10px 12px 2px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ek-ink-faint);
}

.ek-mnav__foot {
	display: grid;
	gap: 10px;
	margin-top: 20px;
}

.ek-mnav__foot .ek-btn-demo {
	min-height: 48px;
	font-size: 15px;
}

.ek-mnav__signin {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	border: 1px solid var(--ek-line);
	border-radius: 10px;
	font-size: 15px;
	font-weight: 500;
	color: var(--ek-ink-soft);
	text-decoration: none;
}

html.ek-mnav-open,
html.ek-mnav-open body {
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.ek-footer {
	background: var(--ek-ink);
	color: #cbd5e1;
	font-family: var(--ek-font-body);
	font-size: 14px;
	line-height: 1.6;
}

.ek-footer a {
	color: #cbd5e1;
	text-decoration: none;
	transition: color 0.15s ease;
}

.ek-footer a:hover {
	color: #fff;
}

.ek-footer__inner {
	max-width: 90rem;
	margin: 0 auto;
	padding: 56px clamp(16px, 2.5vw, 32px) 28px;
}

.ek-footer__top {
	display: grid;
	gap: 40px;
}

@media (min-width: 1024px) {
	.ek-footer__top {
		grid-template-columns: minmax(18rem, 1.35fr) 3fr;
		gap: 56px;
	}
}

.ek-footer__logo img {
	display: block;
	height: 34px;
	width: auto;
	padding: 6px 10px;
	border-radius: 8px;
	background: #fff;
}

.ek-footer__tagline {
	max-width: 26rem;
	margin: 16px 0 0;
	color: #cbd5e1;
}

.ek-footer__byline {
	margin: 10px 0 0;
	font-size: 13px;
	color: #94a3b8;
}

.ek-footer__byline a {
	color: #e2e8f0;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: rgba(226, 232, 240, 0.35);
	text-underline-offset: 3px;
}

.ek-footer__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.ek-footer .ek-btn-demo {
	min-height: 44px;
	color: #fff;
	box-shadow: none;
}

.ek-footer__ghost {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid #334155;
	border-radius: 10px;
	font-weight: 500;
	color: #e2e8f0 !important;
}

.ek-footer__ghost:hover {
	border-color: #64748b;
}

.ek-footer__contact {
	display: grid;
	gap: 6px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.ek-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.ek-footer__contact svg {
	width: 16px;
	height: 16px;
	margin-top: 4px;
	flex-shrink: 0;
	color: #a78bfa;
}

.ek-footer__contact a {
	display: inline-flex;
	min-height: 28px;
	align-items: center;
}

.ek-footer__contact span {
	color: #94a3b8;
}

.ek-footer__address {
	font-style: normal;
	line-height: 1.55;
}

.ek-footer__address a {
	display: inline-block;
	padding: 4px 0;
}

.ek-footer__social {
	display: flex;
	gap: 10px;
	margin-top: 18px;
}

.ek-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid #334155;
	border-radius: 999px;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.ek-footer__social a:hover {
	border-color: #a78bfa;
}

.ek-footer__social svg {
	width: 18px;
	height: 18px;
}

.ek-footer__cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px 24px;
}

@media (min-width: 768px) {
	.ek-footer__cols {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1280px) {
	.ek-footer__cols {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 32px 20px;
	}
}

.ek-footer__heading {
	margin: 0 0 12px;
	font-family: var(--ek-font-display);
	font-size: 14px;
	font-weight: 600;
	color: #fff;
}

.ek-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ek-footer__links a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
}

.ek-footer__source {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 16px;
	font-size: 13px;
}

.ek-footer__source svg {
	width: 15px;
	height: 15px;
	margin-top: 3px;
	flex-shrink: 0;
	color: #a78bfa;
}

.ek-footer__bottom {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 48px;
	padding-top: 20px;
	border-top: 1px solid #1e293b;
	font-size: 13px;
	color: #94a3b8;
}

@media (min-width: 768px) {
	.ek-footer__bottom {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

.ek-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 0 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ek-footer__legal li + li::before {
	content: '·';
	margin-right: 6px;
	color: #475569;
}

.ek-footer__legal a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	color: #94a3b8;
}

.ek-footer__copy {
	margin: 0;
}

/* --------------------------------------------------------------------------
   High-intent page components (block markup: core blocks + ek-* classes)
   -------------------------------------------------------------------------- */

/* Card grid: 1 / 2 / 3 columns. Children are ek-card groups. */
.ek-grid {
	display: grid;
	gap: 16px;
}

.ek-grid > * {
	margin-top: 0 !important;
}

@media (min-width: 640px) {
	.ek-grid-2,
	.ek-grid-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.ek-grid-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ek-grid {
		gap: 20px;
	}
}

.ek-grid > .is-style-ek-card {
	padding: 24px;
	transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.25s var(--ek-ease);
}

.ek-grid > .is-style-ek-card:hover {
	border-color: #d6cbee;
	box-shadow: 0 16px 32px -24px rgba(93, 57, 150, 0.45);
}

.ek-grid > .is-style-ek-card > h3.wp-block-heading {
	font-size: 1.0625rem;
	line-height: 1.35;
}

.ek-grid > .is-style-ek-card > * + * {
	margin-top: 0.5rem;
}

.ek-grid > .is-style-ek-card p.is-style-ek-num {
	color: var(--ek-brand);
}

/* Connected-steps flow (ordered list). Numbered badges joined by a rail that
   draws in once the list scrolls into view. */
ol.ek-flow {
	position: relative;
	display: grid;
	gap: 14px;
	margin-top: 1.75rem !important;
	margin-bottom: 0;
	padding: 0;
	list-style: none;
	counter-reset: ek-flow;
}

ol.ek-flow > li {
	position: relative;
	padding: 4px 0 4px 56px;
	counter-increment: ek-flow;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ek-ink-muted);
}

ol.ek-flow > li::before {
	content: counter(ek-flow, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #d6cbee;
	font-size: 13px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var(--ek-brand-deep);
	box-shadow: 0 6px 14px -10px rgba(93, 57, 150, 0.6);
}

/* Vertical rail (phones/tablets). */
ol.ek-flow::before {
	content: '';
	position: absolute;
	left: 19.5px;
	top: 20px;
	bottom: 20px;
	width: 1px;
	background: linear-gradient(#c0b0e4, #ece6f7);
	transform-origin: top;
}

ol.ek-flow > li strong {
	display: block;
	margin-bottom: 2px;
	font-size: 16px;
	font-weight: 600;
	color: var(--ek-ink);
}

@media (min-width: 1024px) {
	ol.ek-flow {
		grid-template-columns: repeat(var(--ek-flow-cols, 5), minmax(0, 1fr));
		gap: 20px;
	}

	ol.ek-flow.ek-flow-4 {
		--ek-flow-cols: 4;
	}

	ol.ek-flow.ek-flow-6 {
		--ek-flow-cols: 6;
	}

	ol.ek-flow > li {
		padding: 56px 0 0;
		font-size: 14px;
	}

	ol.ek-flow::before {
		left: 20px;
		right: 20px;
		top: 20px;
		bottom: auto;
		width: auto;
		height: 1px;
		background: linear-gradient(90deg, #c0b0e4, #ece6f7);
		transform-origin: left;
	}
}

/* Link cards ("Connected modules", hub listings). */
ul.ek-links {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 640px) {
	ul.ek-links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	ul.ek-links {
		grid-template-columns: repeat(var(--ek-links-cols, 4), minmax(0, 1fr));
	}

	ul.ek-links.ek-links-3 {
		--ek-links-cols: 3;
	}
}

ul.ek-links > li {
	margin: 0;
}

ul.ek-links > li > a {
	position: relative;
	display: block;
	height: 100%;
	padding: 16px 44px 16px 16px;
	border: 1px solid var(--ek-line);
	border-radius: 14px;
	background: #fff;
	font-size: 14px;
	line-height: 1.5;
	color: var(--ek-ink-muted);
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.25s ease;
}

ul.ek-links > li > a strong {
	display: block;
	margin-bottom: 2px;
	font-size: 15px;
	font-weight: 600;
	color: var(--ek-ink);
}

ul.ek-links > li > a::after {
	content: '';
	position: absolute;
	right: 16px;
	top: 18px;
	width: 16px;
	height: 16px;
	background: var(--ek-brand);
	-webkit-mask: var(--ek-icon-arrow) center / contain no-repeat;
	mask: var(--ek-icon-arrow) center / contain no-repeat;
	transition: transform 0.2s var(--ek-ease);
}

ul.ek-links > li > a:hover {
	border-color: #c0b0e4;
	box-shadow: 0 14px 28px -22px rgba(93, 57, 150, 0.55);
}

ul.ek-links > li > a:hover strong {
	color: var(--ek-brand-deep);
}

/* Comparison table: scrolls sideways inside its own frame on phones, so the
   page itself never scrolls horizontally. */
figure.ek-compare {
	margin: 0;
	overflow-x: auto;
	border: 1px solid var(--ek-line);
	border-radius: 16px;
	background: #fff;
	-webkit-overflow-scrolling: touch;
}

figure.ek-compare table {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
	font-size: 14px;
	line-height: 1.5;
}

/* Core table styles draw 1px black cell borders and a 3px header rule. */
figure.ek-compare thead {
	border-bottom: 1px solid var(--ek-line);
}

figure.ek-compare th,
figure.ek-compare td {
	border: 0;
	padding: 14px 16px;
	border-bottom: 1px solid var(--ek-line-soft);
	text-align: left;
	vertical-align: top;
	color: var(--ek-ink-muted);
}

figure.ek-compare thead th {
	background: var(--ek-surface);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ek-ink-soft);
}

figure.ek-compare tbody th {
	position: sticky;
	left: 0;
	background: #fff;
	font-weight: 600;
	color: var(--ek-ink);
	min-width: 150px;
}

figure.ek-compare tr > :last-child {
	background: var(--ek-brand-veil);
	color: var(--ek-ink);
}

figure.ek-compare thead tr > :last-child {
	background: var(--ek-brand-soft);
	color: var(--ek-brand-deep);
}

figure.ek-compare tbody tr:last-child > * {
	border-bottom: 0;
}

/* Phones: each comparison row becomes a card; cells carry their column
   name (data-label), ERPKaro's answer stays highlighted. */
@media (max-width: 639px) {
	figure.ek-compare {
		overflow: visible;
		border: 0;
		background: transparent;
	}

	figure.ek-compare table {
		min-width: 0;
	}

	figure.ek-compare thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	figure.ek-compare table,
	figure.ek-compare tbody,
	figure.ek-compare tr,
	figure.ek-compare th,
	figure.ek-compare td {
		display: block;
	}

	figure.ek-compare tbody tr {
		margin-bottom: 12px;
		border: 1px solid var(--ek-line);
		border-radius: 14px;
		overflow: hidden;
		background: #fff;
	}

	figure.ek-compare tbody th {
		position: static;
		padding: 12px 14px;
		background: var(--ek-surface);
		font-size: 15px;
	}

	figure.ek-compare td {
		display: grid;
		grid-template-columns: 42% 1fr;
		gap: 10px;
		padding: 10px 14px;
	}

	figure.ek-compare td::before {
		content: attr(data-label);
		font-size: 12px;
		font-weight: 600;
		color: var(--ek-ink-faint);
	}

	figure.ek-compare tbody tr:last-child > * {
		border-bottom: 1px solid var(--ek-line-soft);
	}

	figure.ek-compare tbody tr > td:last-child {
		border-bottom: 0;
	}

	figure.ek-compare tr > td:last-child::before {
		color: var(--ek-brand-deep);
	}
}

/* Article section rendered by the erpkaro/latest-posts block (it sits
   directly in the canvas, so it carries its own gutter and column). */
.ek-articles {
	padding: 4rem clamp(1.5rem, 0.75rem + 2vw, 2.5rem);
	background: #fff;
}

@media (min-width: 768px) {
	.ek-articles {
		padding-block: 6rem;
	}
}

.ek-articles__inner {
	max-width: 72rem;
	margin: 0 auto;
}

.ek-articles__inner > * + * {
	margin-top: 1rem;
}

.ek-articles__inner > .ek-articles__grid {
	margin-top: 2rem;
}

.ek-articles__more {
	margin-top: 1.5rem !important;
	font-size: 14px;
	font-weight: 500;
}

.ek-articles__more a {
	color: var(--ek-brand-deep);
	text-decoration: none;
}

.ek-articles__more a:hover {
	text-decoration: underline;
}

/* --- Homepage sections --- */

/* Four-up card grid (pain points, modules): 1 / 2 / 4 columns. */
@media (min-width: 640px) {
	.ek-grid-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.ek-grid-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Whole-card links: the "Explore …" link stretches over its card, so the
   card is one large tap target while the link text stays the accessible name. */
.ek-linked > .is-style-ek-card {
	position: relative;
	display: flex;
	flex-direction: column;
}

.ek-linked > .is-style-ek-card > p.ek-more {
	margin-top: auto !important;
	padding-top: 0.75rem;
}

.ek-grid > .is-style-ek-card p.ek-more a {
	font-size: 14px;
	font-weight: 600;
	color: var(--ek-brand-deep);
	text-decoration: none;
}

.ek-linked p.ek-more a::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 16px;
}

.ek-linked > .is-style-ek-card:focus-within {
	outline: 2px solid var(--ek-brand);
	outline-offset: 2px;
}

.ek-linked > .is-style-ek-card:hover h3.wp-block-heading {
	color: var(--ek-brand-deep);
}

p.ek-section-link {
	margin-top: 1.75rem !important;
}

p.ek-section-link a {
	font-size: 15px;
	font-weight: 600;
	color: var(--ek-brand-deep);
	text-decoration: none;
}

p.ek-section-link a:hover {
	text-decoration: underline;
}

/* Trust band: compact, centred statement. */
.ek-trust {
	text-align: center;
}

.ek-trust > h2.wp-block-heading {
	font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem);
}

.ek-trust > p {
	max-width: 40rem;
	margin-inline: auto !important;
}

.ek-trust a {
	font-weight: 600;
	color: var(--ek-brand-deep);
	text-decoration: none;
	white-space: nowrap;
}

/* Approved customer logos (erpkaro/proof-logos). */
ul.ek-logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 24px 40px;
	margin: 2rem auto 0 !important;
	padding: 0;
	list-style: none;
}

ul.ek-logos img {
	display: block;
	max-height: 40px;
	max-width: 140px;
	width: auto;
	filter: grayscale(1);
	opacity: 0.75;
	transition: filter 0.2s ease, opacity 0.2s ease;
}

ul.ek-logos li:hover img {
	filter: none;
	opacity: 1;
}

/* Centred band (pricing). */
.ek-center {
	text-align: center;
}

.ek-center > p.is-style-ek-lede {
	margin-inline: auto !important;
}

.ek-center > .wp-block-buttons {
	justify-content: center;
}

.ek-cta-calc .wp-block-button__link::before {
	display: none;
}

/* Hero helper line under the CTAs. */
p.ek-hero-note {
	font-size: 13px !important;
	color: var(--ek-ink-faint) !important;
}

/* Section intros sit under their heading, not centred in the column. */
/* WP's constrained layout centres any child narrower than the 72rem column;
   pin these to the column's left edge instead, aligned with the heading. */
.ek-left > p.is-style-ek-lede,
.ek-left > p.is-style-ek-caption {
	margin-left: max(0px, calc((100% - 72rem) / 2)) !important;
	margin-right: auto !important;
	text-align: left;
}

/* Copy-only hero: no visual to balance, so less air before the next section. */
.is-style-ek-section-hero.ek-intent-hero:has(.ek-hero-solo):not(:has(+ .is-style-ek-section-band)) {
	padding-bottom: 1.5rem;
}

/* Copy-only hero (no product mock): keep the measure readable. */
.ek-hero-solo > .wp-block-column {
	max-width: 52rem;
}

/* Long hero headlines on intent pages: one size up from the canvas default. */
.ek-intent-hero h1.wp-block-heading {
	font-size: clamp(1.75rem, 1rem + 2.2vw, 2.75rem);
}

@media (max-width: 639px) {
	.ek-intent-hero .wp-block-buttons .wp-block-button,
	.ek-intent-hero .wp-block-buttons .wp-block-button__link,
	.ek-close .wp-block-buttons .wp-block-button,
	.ek-close .wp-block-buttons .wp-block-button__link {
		width: 100%;
	}
}

/* Closing CTA keeps the two co-primary buttons centred. */
.ek-close .wp-block-buttons {
	justify-content: center;
}

/* --------------------------------------------------------------------------
   Motion (opt-in only)
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
	/* Hero copy settles in on load. */
	.ek-intent-hero .wp-block-column:first-child > * {
		animation: ek-rise 0.6s var(--ek-ease) both;
	}

	.ek-intent-hero .wp-block-column:first-child > :nth-child(2) {
		animation-delay: 60ms;
	}

	.ek-intent-hero .wp-block-column:first-child > :nth-child(3) {
		animation-delay: 120ms;
	}

	.ek-intent-hero .wp-block-column:first-child > :nth-child(n + 4) {
		animation-delay: 180ms;
	}

	.ek-intent-hero .wp-block-column:last-child {
		animation: ek-rise 0.8s var(--ek-ease) 0.2s both;
	}

	/* Flow rail draws in, then steps follow in order. */
	ol.ek-flow[data-reveal] {
		opacity: 1;
		transform: none;
	}

	ol.ek-flow[data-reveal]::before {
		transform: scaleY(0);
		transition: transform 0.9s var(--ek-ease);
	}

	ol.ek-flow[data-reveal] > li {
		opacity: 0;
		transform: translateY(10px);
		transition: opacity 0.5s ease, transform 0.6s var(--ek-ease);
	}

	ol.ek-flow.is-revealed::before {
		transform: none;
	}

	ol.ek-flow.is-revealed > li {
		opacity: 1;
		transform: none;
	}

	ol.ek-flow.is-revealed > li:nth-child(2) { transition-delay: 90ms; }
	ol.ek-flow.is-revealed > li:nth-child(3) { transition-delay: 180ms; }
	ol.ek-flow.is-revealed > li:nth-child(4) { transition-delay: 270ms; }
	ol.ek-flow.is-revealed > li:nth-child(5) { transition-delay: 360ms; }
	ol.ek-flow.is-revealed > li:nth-child(6) { transition-delay: 450ms; }
	ol.ek-flow.is-revealed > li:nth-child(n + 7) { transition-delay: 540ms; }

	@media (min-width: 1024px) {
		ol.ek-flow[data-reveal]::before {
			transform: scaleX(0);
		}
	}

	/* Cards lift a hair on hover; link arrows nudge. */
	.ek-grid > .is-style-ek-card:hover {
		transform: translateY(-2px);
	}

	ul.ek-links > li > a:hover::after {
		transform: translateX(3px);
	}

	/* Dropdown entries fade in a touch after the sheet. */
	.ek-nav__item.is-open .ek-nav__grid > li {
		animation: ek-fade 0.24s ease both;
	}
}

@keyframes ek-rise {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes ek-fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ek-nav__panel,
	.ek-nav__chev,
	.ek-btn-demo {
		transition: none !important;
	}
}

/* ==========================================================================
   Product screens (template-parts/mock/*) — interiors drawn with ekm-*.
   Illustrative UI only; sized in px to read like a real app at any width.
   ========================================================================== */

.ekm-frame {
	box-shadow: 0 30px 60px -30px rgba(76, 50, 128, 0.35), 0 12px 24px -16px rgba(15, 23, 42, 0.18);
}

.ekm {
	padding: 12px;
	font-family: var(--ek-font-body);
	font-size: 11px;
	line-height: 1.4;
	color: var(--ek-ink-soft);
}

.ekm-head,
.ekm-split,
.ekm-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.ekm-head {
	margin-bottom: 10px;
}

.ekm-foot {
	margin-top: 10px;
}

.ekm-title {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	color: var(--ek-ink);
}

.ekm-ico {
	width: 13px;
	height: 13px;
	color: var(--ek-brand);
}

.ekm-muted {
	color: #64748b;
	font-weight: 400;
}

.ekm-strong {
	font-weight: 600;
	color: var(--ek-ink);
}

.ekm-num {
	font-variant-numeric: tabular-nums;
}

.ekm-chip {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	white-space: nowrap;
	border-radius: 999px;
	padding: 2px 8px;
	font-size: 10px;
	font-weight: 600;
	background: #f1f5f9;
	color: #475569;
}

.ekm-chip.is-brand {
	background: var(--ek-brand-soft);
	color: var(--ek-brand-deep);
}

.ekm-chip.is-alert {
	background: var(--ek-brand-deep);
	color: #fff;
}

.ekm-tag {
	display: inline-block;
	border: 1px solid #e2e8f0;
	border-radius: 4px;
	background: #f8fafc;
	padding: 1px 5px;
	font-size: 10px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: #334155;
}

.ekm-btn {
	display: inline-flex;
	align-items: center;
	border-radius: 6px;
	background: var(--ek-brand);
	padding: 4px 10px;
	font-size: 10px;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
}

.ekm-row {
	display: grid;
	grid-template-columns: var(--cols, 1fr);
	align-items: center;
	gap: 8px;
	padding: 7px 9px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
}

.ekm-row + .ekm-row {
	margin-top: 6px;
}

.ekm-row--head {
	border: 0;
	background: transparent;
	padding-block: 0 2px;
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #94a3b8;
}

.ekm-row--stack {
	gap: 5px;
}

.ekm-row.is-flag {
	border-color: #c0b0e4;
	box-shadow: 0 0 0 3px var(--ek-brand-veil);
}

.ekm-bar {
	display: block;
	height: 4px;
	overflow: hidden;
	border-radius: 999px;
	background: var(--ek-brand-soft);
}

.ekm-bar > i {
	display: block;
	width: var(--w, 0%);
	height: 100%;
	border-radius: inherit;
	background: var(--ek-brand);
	transform-origin: left;
}

.ekm-kpis {
	display: grid;
	gap: 6px;
	margin-bottom: 10px;
}

.ekm-kpis--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ekm-kpi {
	display: grid;
	gap: 2px;
	padding: 8px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
}

.ekm-kpi b {
	font-size: 16px;
	font-weight: 700;
	color: var(--ek-ink);
}

/* Order stepper */
.ekm-steps {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ekm-steps li {
	position: relative;
	display: grid;
	grid-template-columns: 14px 1fr auto;
	align-items: center;
	gap: 8px;
	padding: 6px 0;
}

.ekm-steps li + li::before {
	content: '';
	position: absolute;
	left: 6px;
	top: -6px;
	height: 12px;
	width: 2px;
	background: #e2e8f0;
}

.ekm-steps li.is-done + li::before,
.ekm-steps li.is-done::before {
	background: var(--ek-brand);
}

.ekm-dot {
	width: 14px;
	height: 14px;
	border-radius: 999px;
	border: 2px solid #cbd5e1;
	background: #fff;
}

.ekm-steps .is-done .ekm-dot {
	border-color: var(--ek-brand);
	background: var(--ek-brand);
}

.ekm-steps .is-now .ekm-dot {
	border-color: var(--ek-brand);
	box-shadow: 0 0 0 4px var(--ek-brand-soft);
}

/* Handling units */
.ekm-hus {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 10px;
}

.ekm-hu {
	border: 1px dashed #c0b0e4;
	border-radius: 6px;
	padding: 4px 8px;
	font-size: 10px;
	font-weight: 600;
	color: var(--ek-brand-deep);
	background: #fff;
}

.ekm-hu.is-sealed {
	border-style: solid;
	background: var(--ek-brand-soft);
}

/* Chart */
.ekm-chart {
	padding: 10px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
	margin-bottom: 8px;
}

.ekm-legend {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #64748b;
}

.ekm-legend i {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: var(--ek-brand-soft);
	margin-left: 6px;
}

.ekm-legend i.is-actual,
.ekm-col__bars i.is-actual {
	background: var(--ek-brand);
}

.ekm-bars {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 8px;
	margin-top: 8px;
}

.ekm-col {
	display: grid;
	justify-items: center;
	gap: 4px;
}

.ekm-col__bars {
	display: flex;
	align-items: flex-end;
	gap: 3px;
	height: 72px;
}

.ekm-col__bars i {
	display: block;
	width: 9px;
	height: var(--h);
	border-radius: 3px 3px 0 0;
	background: var(--ek-brand-soft);
	transform-origin: bottom;
}

/* Gantt */
.ekm-gantt {
	padding: 10px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
}

.ekm-gantt__scale,
.ekm-lane {
	display: grid;
	grid-template-columns: 42px 1fr;
	align-items: center;
}

.ekm-gantt__scale {
	grid-template-columns: 42px repeat(4, 1fr);
	margin-bottom: 6px;
	font-size: 9.5px;
	color: #94a3b8;
}

.ekm-lane + .ekm-lane {
	margin-top: 6px;
}

.ekm-track {
	position: relative;
	display: block;
	height: 22px;
	border-radius: 6px;
	background: repeating-linear-gradient(90deg, #f8fafc 0 24.6%, #eef2f7 24.6% 25%);
}

.ekm-track i {
	position: absolute;
	top: 2px;
	bottom: 2px;
	display: flex;
	align-items: center;
	overflow: hidden;
	padding: 0 6px;
	border-radius: 5px;
	background: var(--ek-brand-soft);
	font-size: 9.5px;
	font-style: normal;
	font-weight: 600;
	white-space: nowrap;
	color: var(--ek-brand-deep);
	transform-origin: left;
}

.ekm-track i.is-rush {
	background: var(--ek-brand);
	color: #fff;
}

/* Pricing preview */
.ekm-slider + .ekm-slider {
	margin-top: 12px;
}

.ekm-slider__track {
	position: relative;
	display: block;
	height: 6px;
	margin-top: 8px;
	border-radius: 999px;
	background: var(--ek-brand-soft);
}

.ekm-slider__track i {
	position: absolute;
	inset: 0 auto 0 0;
	width: var(--v);
	border-radius: inherit;
	background: var(--ek-brand);
	transform-origin: left;
}

.ekm-slider__track b {
	position: absolute;
	top: 50%;
	left: var(--v);
	width: 16px;
	height: 16px;
	margin: -8px 0 0 -8px;
	border-radius: 999px;
	background: #fff;
	border: 2px solid var(--ek-brand);
	box-shadow: 0 2px 6px rgba(76, 50, 128, 0.35);
}

.ekm-estimate {
	display: grid;
	gap: 4px;
	margin-top: 14px;
	padding: 12px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid #e2e8f0;
}

.ekm-price {
	font-size: 22px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--ek-ink);
}

.ekm-price small {
	font-size: 11px;
	font-weight: 500;
	color: #64748b;
}

/* Plant group chat (pain points) */
.ekc {
	overflow: hidden;
	border: 1px solid var(--ek-line);
	border-radius: 18px;
	background: #fff;
	font-family: var(--ek-font-body);
	box-shadow: 0 30px 60px -30px rgba(76, 50, 128, 0.35);
}

.ekc__head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border-bottom: 1px solid var(--ek-line-soft);
	font-size: 13px;
}

.ekc__head > span:last-child {
	display: grid;
}

.ekc__head > span:last-child span {
	font-size: 11px;
	color: #64748b;
}

.ekc__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	background: var(--ek-brand-soft);
	font-size: 12px;
	font-weight: 700;
	color: var(--ek-brand-deep);
}

.ekc__body {
	display: grid;
	gap: 8px;
	padding: 14px;
	background: linear-gradient(#f8f7fc, #f5f3fb);
}

.ekc__msg {
	justify-self: start;
	max-width: 86%;
	padding: 8px 11px;
	border-radius: 4px 14px 14px 14px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--ek-ink-soft);
}

.ekc__msg b {
	display: block;
	font-size: 11px;
	color: var(--ek-brand-deep);
}

.ekc__msg.is-out {
	justify-self: end;
	border-radius: 14px 4px 14px 14px;
	background: var(--ek-brand);
	color: #fff;
}

.ekc__msg.is-out b {
	color: #e9dffb;
}

.ekc__typing {
	display: inline-flex;
	justify-self: start;
	gap: 4px;
	padding: 10px 12px;
	border-radius: 14px;
	background: #fff;
}

.ekc__typing i {
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: #c0b0e4;
}

/* ==========================================================================
   Homepage interactive sections
   ========================================================================== */

/* Pain list: icon rows, no boxes. */
ul.ek-painlist {
	display: grid;
	gap: 0;
	margin-top: 1.75rem !important;
	margin-bottom: 0;
	padding: 0;
	list-style: none;
}

ul.ek-painlist > li {
	position: relative;
	padding: 16px 0 16px 56px;
	border-top: 1px solid var(--ek-line);
	font-size: 15px;
	line-height: 1.55;
	color: var(--ek-ink-muted);
}

ul.ek-painlist > li:last-child {
	border-bottom: 1px solid var(--ek-line);
}

ul.ek-painlist > li strong {
	display: block;
	font-size: 16px;
	color: var(--ek-ink);
}

ul.ek-painlist > li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 16px;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--ek-brand-soft);
}

ul.ek-painlist > li::after {
	content: '';
	position: absolute;
	left: 10px;
	top: 26px;
	width: 20px;
	height: 20px;
	background: var(--ek-brand-deep);
	-webkit-mask: var(--ek-pain-ico) center / contain no-repeat;
	mask: var(--ek-pain-ico) center / contain no-repeat;
}

ul.ek-painlist > li:nth-child(1) { --ek-pain-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3'/%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E"); }
ul.ek-painlist > li:nth-child(2) { --ek-pain-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E"); }
ul.ek-painlist > li:nth-child(3) { --ek-pain-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z'/%3E%3Cpath d='m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z'/%3E%3Cpath d='M7 21h10'/%3E%3Cpath d='M12 3v18'/%3E%3Cpath d='M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2'/%3E%3C/svg%3E"); }
ul.ek-painlist > li:nth-child(4) { --ek-pain-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2'/%3E%3Cpath d='M15 18H9'/%3E%3Cpath d='M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3C/svg%3E"); }

.ek-pain .wp-block-columns {
	gap: clamp(2rem, 4vw, 4rem);
}

/* --- Module tour --- */
.ek-showcase {
	margin-top: 2rem;
}

.ek-showcase__tabs {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 4px 2px 10px;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

.ek-showcase__tab {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--ek-line);
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	color: var(--ek-ink-soft);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ek-showcase__tab:hover {
	border-color: #c0b0e4;
	color: var(--ek-brand-deep);
}

.ek-showcase__tab[aria-selected='true'] {
	border-color: var(--ek-brand);
	background: var(--ek-brand);
	color: #fff;
	box-shadow: 0 10px 20px -12px rgba(93, 57, 150, 0.7);
}

.ek-showcase__tab:focus-visible {
	outline: 2px solid var(--ek-brand);
	outline-offset: 2px;
}

.ek-showcase__ico {
	width: 16px;
	height: 16px;
}

@media (min-width: 1024px) {
	.ek-showcase__tabs {
		flex-wrap: wrap;
		overflow: visible;
	}
}

.ek-showcase__panel {
	display: grid;
	gap: 24px;
	align-items: center;
	margin-top: 16px;
	padding: 20px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid var(--ek-line);
}

.ek-showcase.is-enhanced .ek-showcase__panel:not(.is-active) {
	display: none;
}

@media (min-width: 900px) {
	.ek-showcase__panel {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
		gap: 40px;
		padding: 36px;
	}
}

.ek-showcase__copy h3 {
	margin: 0;
	font-family: var(--ek-font-display);
	font-size: 1.375rem;
	font-weight: 600;
	color: var(--ek-ink);
}

.ek-showcase__copy p {
	margin: 10px 0 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ek-ink-muted);
}

.ek-showcase__copy ul {
	display: grid;
	gap: 8px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.ek-showcase__copy li {
	position: relative;
	padding-left: 26px;
	font-size: 14px;
	color: var(--ek-ink-soft);
}

.ek-showcase__copy li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 2px;
	width: 16px;
	height: 16px;
	background: var(--ek-brand);
	-webkit-mask: var(--ek-icon-check) center / contain no-repeat;
	mask: var(--ek-icon-check) center / contain no-repeat;
}

.ek-showcase__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	margin-top: 12px;
	font-size: 15px;
	font-weight: 600;
	color: var(--ek-brand-deep);
	text-decoration: none;
}

.ek-showcase__link:hover span {
	transform: translateX(3px);
}

.ek-showcase__link span {
	transition: transform 0.2s var(--ek-ease);
}

.ek-showcase__note {
	margin: 12px 0 0 !important;
	font-size: 12px !important;
	color: var(--ek-ink-faint) !important;
}

/* --- Industry tiles --- */
ul.ek-tiles {
	display: grid;
	gap: 8px;
	margin-top: 2rem !important;
	margin-bottom: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 640px) {
	ul.ek-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	ul.ek-tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 12px;
	}
}

ul.ek-tiles a {
	display: flex;
	gap: 16px;
	height: 100%;
	padding: 18px;
	border-radius: 16px;
	text-decoration: none;
	transition: background-color 0.25s ease, transform 0.25s var(--ek-ease), box-shadow 0.25s ease;
}

ul.ek-tiles a:hover,
ul.ek-tiles a:focus-visible {
	background: var(--ek-surface);
	box-shadow: inset 0 0 0 1px #ddd3f1;
}

.ek-tiles__ico {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--ek-brand-soft), #f5f3fb);
	color: var(--ek-brand-deep);
	transition: background 0.25s ease, color 0.25s ease;
}

.ek-tiles__ico svg {
	width: 24px;
	height: 24px;
}

ul.ek-tiles a:hover .ek-tiles__ico {
	background: var(--ek-brand);
	color: #fff;
}

.ek-tiles__text {
	display: grid;
	gap: 4px;
	align-content: start;
}

.ek-tiles__text strong {
	font-size: 16px;
	font-weight: 600;
	color: var(--ek-ink);
}

.ek-tiles__text > span {
	font-size: 14px;
	line-height: 1.5;
	color: var(--ek-ink-muted);
}

.ek-tiles__text em {
	margin-top: 4px;
	font-size: 13px;
	font-style: normal;
	font-weight: 600;
	color: var(--ek-brand-deep);
}

/* --- Why bento --- */
.ek-bento {
	display: grid;
	gap: 12px;
	margin-top: 2rem;
}

@media (min-width: 768px) {
	.ek-bento {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ek-bento__tile--lead,
	.ek-bento__tile--wide {
		grid-column: 1 / -1;
	}
}

@media (min-width: 1024px) {
	.ek-bento {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
	}

	.ek-bento__tile--lead {
		grid-column: span 2;
	}

	/* Last tile closes the grid as a full-width row: icon, copy, link. */
	.ek-bento__tile--wide {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: auto minmax(0, 1fr) auto;
		align-items: center;
		column-gap: 20px;
	}

	.ek-bento__tile--wide h3 {
		margin-top: 0;
	}

	.ek-bento__tile--wide .ek-bento__ico {
		grid-row: span 2;
	}

	.ek-bento__tile--wide .ek-bento__link {
		grid-column: 3;
		grid-row: 1 / span 2;
		margin-top: 0;
	}
}

.ek-bento__tile {
	position: relative;
	overflow: hidden;
	padding: 24px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04), 0 18px 36px -30px rgba(76, 50, 128, 0.45);
}

.ek-bento__tile--lead {
	background: linear-gradient(135deg, #4d3280 0%, #5d3996 55%, #6d4bb0 100%);
	color: #fff;
}

.ek-bento__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--ek-brand-soft);
	color: var(--ek-brand-deep);
}

.ek-bento__ico svg {
	width: 22px;
	height: 22px;
}

.ek-bento__tile--lead .ek-bento__ico {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.ek-bento__tile h3 {
	margin: 16px 0 0;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--ek-ink);
}

.ek-bento__tile p {
	margin: 6px 0 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--ek-ink-muted);
}

.ek-bento__tile--lead h3 {
	font-size: 20px;
	color: #fff;
}

.ek-bento__tile--lead p {
	max-width: 34rem;
	color: #e9dffb;
}

.ek-bento__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-top: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ek-brand-deep);
	text-decoration: none;
}

/* Connected-workflow strip inside the lead tile. */
.ek-chain {
	position: relative;
	display: flex;
	justify-content: space-between;
	gap: 6px;
	margin-top: 24px;
	padding-top: 2px;
}

.ek-chain::before {
	content: '';
	position: absolute;
	left: 8%;
	right: 8%;
	top: 50%;
	height: 2px;
	background: rgba(255, 255, 255, 0.28);
}

.ek-chain span {
	position: relative;
	z-index: 1;
	padding: 6px 10px;
	border-radius: 999px;
	background: #fff;
	font-size: 12px;
	font-weight: 600;
	color: var(--ek-brand-deep);
	white-space: nowrap;
}

.ek-chain__pulse {
	position: absolute;
	top: 50%;
	left: 8%;
	z-index: 0;
	width: 10px;
	height: 10px;
	margin-top: -5px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25);
	opacity: 0;
}

@media (max-width: 479px) {
	/* "Production" / "Quality check" don't fit one row on phones: wrap, and
	   drop the connector line and pulse, which would cut between the rows. */
	.ek-chain {
		flex-wrap: wrap;
		justify-content: flex-start;
		row-gap: 8px;
	}

	.ek-chain::before,
	.ek-chain__pulse {
		display: none;
	}

	.ek-chain span {
		padding: 5px 7px;
		font-size: 10.5px;
	}
}

/* ==========================================================================
   Motion layer. html.ek-motion is set by site-motion.js only when the visitor
   has not asked for reduced motion; without it everything renders static.
   ========================================================================== */

html.ek-motion .ekm-live .ekm-row,
html.ek-motion .ekm-live .ekm-steps li,
html.ek-motion .ekm-live .ekm-hus,
html.ek-motion .ekm-live .ekm-slider,
html.ek-motion .ekm-live .ekm-estimate,
html.ek-motion .ekm-live .ekc__msg,
html.ek-motion .ekm-live .ekc__typing {
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.45s ease, transform 0.55s var(--ek-ease);
	transition-delay: calc(var(--i, 0) * 90ms + 120ms);
}

html.ek-motion .ekm-live .ekc__msg,
html.ek-motion .ekm-live .ekc__typing {
	transform: translateY(10px) scale(0.96);
	transform-origin: left bottom;
	transition-delay: calc(var(--i, 0) * 320ms + 200ms);
}

html.ek-motion .ekm-live .ekm-bar > i,
html.ek-motion .ekm-live .ekm-slider__track i,
html.ek-motion .ekm-live .ekm-track i {
	transform: scaleX(0);
	transition: transform 0.9s var(--ek-ease);
	transition-delay: calc(var(--i, 0) * 90ms + 300ms);
}

html.ek-motion .ekm-live .ekm-col__bars i {
	transform: scaleY(0);
	transition: transform 0.8s var(--ek-ease);
	transition-delay: calc(var(--i, 0) * 70ms + 250ms);
}

html.ek-motion .ekm-live .ekm-slider__track b {
	left: 0;
	transition: left 1s var(--ek-ease);
	transition-delay: calc(var(--i, 0) * 150ms + 350ms);
}

html.ek-motion .ekm-live.is-live .ekm-row,
html.ek-motion .ekm-live.is-live .ekm-steps li,
html.ek-motion .ekm-live.is-live .ekm-hus,
html.ek-motion .ekm-live.is-live .ekm-slider,
html.ek-motion .ekm-live.is-live .ekm-estimate,
html.ek-motion .ekm-live.is-live .ekc__msg,
html.ek-motion .ekm-live.is-live .ekc__typing {
	opacity: 1;
	transform: none;
}

html.ek-motion .ekm-live.is-live .ekm-bar > i,
html.ek-motion .ekm-live.is-live .ekm-slider__track i,
html.ek-motion .ekm-live.is-live .ekm-track i {
	transform: scaleX(1);
}

html.ek-motion .ekm-live.is-live .ekm-col__bars i {
	transform: scaleY(1);
}

html.ek-motion .ekm-live.is-live .ekm-slider__track b {
	left: var(--v);
}

html.ek-motion .ekm-live.is-live .ekc__typing i {
	animation: ek-typing 1.2s ease-in-out infinite;
}

html.ek-motion .ekm-live.is-live .ekc__typing i:nth-child(2) { animation-delay: 0.15s; }
html.ek-motion .ekm-live.is-live .ekc__typing i:nth-child(3) { animation-delay: 0.3s; }

/* "Now" step breathes; the rush job glows once. */
html.ek-motion .ekm-live.is-live .ekm-steps .is-now .ekm-dot {
	animation: ek-breathe 2.4s ease-in-out infinite;
}

/* Tour panel swap. */
html.ek-motion .ek-showcase.is-enhanced .ek-showcase__panel.is-active .ek-showcase__copy {
	animation: ek-rise 0.5s var(--ek-ease) both;
}

html.ek-motion .ek-showcase.is-enhanced .ek-showcase__panel.is-active .ek-showcase__screen {
	animation: ek-rise 0.6s var(--ek-ease) 0.06s both;
}

/* Tiles and bento tiles settle in as the section reveals. */
html.ek-motion ul.ek-tiles > li,
html.ek-motion .ek-bento__tile {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.5s ease, transform 0.6s var(--ek-ease);
	transition-delay: calc(var(--i, 0) * 70ms);
}

html.ek-motion ul.ek-tiles.is-live > li,
html.ek-motion .ek-bento.is-live .ek-bento__tile {
	opacity: 1;
	transform: none;
}

html.ek-motion ul.ek-tiles a:hover {
	transform: translateY(-2px);
}

html.ek-motion .ek-bento.is-live .ek-chain__pulse {
	animation: ek-travel 4.2s ease-in-out 0.8s infinite;
}

/* Pain list rows slide in from the left. */
html.ek-motion ul.ek-painlist > li {
	opacity: 0;
	transform: translateX(-10px);
	transition: opacity 0.5s ease, transform 0.6s var(--ek-ease);
}

html.ek-motion ul.ek-painlist.is-live > li {
	opacity: 1;
	transform: none;
}

html.ek-motion ul.ek-painlist.is-live > li:nth-child(2) { transition-delay: 90ms; }
html.ek-motion ul.ek-painlist.is-live > li:nth-child(3) { transition-delay: 180ms; }
html.ek-motion ul.ek-painlist.is-live > li:nth-child(4) { transition-delay: 270ms; }

@keyframes ek-typing {
	0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
	30% { transform: translateY(-3px); opacity: 1; }
}

@keyframes ek-breathe {
	0%, 100% { box-shadow: 0 0 0 4px var(--ek-brand-soft); }
	50% { box-shadow: 0 0 0 7px rgba(236, 230, 247, 0.6); }
}

@keyframes ek-travel {
	0% { left: 8%; opacity: 0; }
	10% { opacity: 1; }
	90% { opacity: 1; }
	100% { left: 92%; opacity: 0; }
}

/* ==========================================================================
   Page visuals (template-parts/visuals/*) and the owner's-view section.
   ========================================================================== */

.ek-visual-section .ekv {
	margin-top: 2rem !important;
}

.ekv {
	font-family: var(--ek-font-body);
	color: var(--ek-ink-soft);
}

.ekv small {
	display: block;
	font-size: 12px;
	color: var(--ek-ink-faint);
}

.ekv-pill {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f1f5f9;
	font-size: 12px;
	font-weight: 600;
	color: var(--ek-ink-soft);
	white-space: nowrap;
}

.ekv-pill.is-brand {
	background: var(--ek-brand-soft);
	color: var(--ek-brand-deep);
}

p.ekv-note {
	margin-top: 14px !important;
	font-size: 13px !important;
	color: var(--ek-ink-faint) !important;
}

.ekv svg {
	width: 20px;
	height: 20px;
}

/* --- Owner's view: question → answer rows --- */
ul.ek-ask {
	display: grid;
	gap: 12px;
	margin-top: 1.75rem !important;
	padding: 0;
	list-style: none;
	counter-reset: ek-ask;
}

ul.ek-ask > li {
	display: grid;
	gap: 6px;
	padding: 18px 20px 18px 64px;
	position: relative;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04), 0 16px 30px -28px rgba(76, 50, 128, 0.5);
	counter-increment: ek-ask;
}

ul.ek-ask > li::before {
	content: '?';
	position: absolute;
	left: 20px;
	top: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 10px;
	background: var(--ek-brand);
	font-family: var(--ek-font-display);
	font-size: 16px;
	font-weight: 700;
	color: #fff;
}

.ek-ask__q {
	font-family: var(--ek-font-display);
	font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
	font-weight: 600;
	color: var(--ek-ink);
}

.ek-ask__a {
	position: relative;
	padding-left: 22px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ek-ink-muted);
}

.ek-ask__a::before {
	content: '';
	position: absolute;
	left: 0;
	top: 4px;
	width: 14px;
	height: 14px;
	background: var(--ek-brand);
	-webkit-mask: var(--ek-icon-arrow) center / contain no-repeat;
	mask: var(--ek-icon-arrow) center / contain no-repeat;
}

@media (min-width: 900px) {
	ul.ek-ask > li {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		align-items: center;
		gap: 24px;
		padding: 22px 28px 22px 72px;
	}

	ul.ek-ask > li::before {
		top: 50%;
		left: 24px;
		margin-top: -15px;
	}
}

/* --- Before / after --- */
.ekv-ba {
	display: grid;
	gap: 16px;
	align-items: center;
}

@media (min-width: 900px) {
	.ekv-ba {
		grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1.15fr);
		gap: 20px;
	}
}

.ekv-ba__pane {
	margin: 0;
}

.ekv-ba__pane figcaption {
	margin-bottom: 10px;
}

.ekv-ba__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	justify-self: center;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background: var(--ek-brand);
	color: #fff;
	box-shadow: 0 10px 20px -10px rgba(93, 57, 150, 0.7);
	transform: rotate(90deg);
}

@media (min-width: 900px) {
	.ekv-ba__arrow {
		transform: none;
	}
}

.ekv-sheet,
.ekv-board,
.ekv-register {
	position: relative;
	overflow: hidden;
	border-radius: 14px;
	border: 1px solid #e2e8f0;
	background: #fff;
	filter: saturate(0.7);
}

.ekv-sheet__tabs {
	display: flex;
	gap: 4px;
	padding: 8px 8px 0;
	background: #f1f5f9;
	font-size: 11px;
}

.ekv-sheet__tabs span {
	padding: 4px 8px;
	border-radius: 6px 6px 0 0;
	background: #e2e8f0;
	color: #475569;
	white-space: nowrap;
}

.ekv-sheet__tabs span:first-child {
	background: #fff;
}

.ekv-sheet table {
	width: 100%;
	border-collapse: collapse;
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}

.ekv-sheet th,
.ekv-sheet td {
	padding: 8px;
	border: 1px solid #e2e8f0;
	text-align: left;
	color: #334155;
}

.ekv-sheet th {
	background: #f8fafc;
	font-weight: 500;
	color: #94a3b8;
	width: 24px;
}

.ekv-sheet td.is-warn,
.ekv-register .is-warn {
	color: #b91c1c;
	font-weight: 600;
}

.ekv-sticky {
	position: absolute;
	right: 14px;
	bottom: 14px;
	padding: 8px 10px;
	transform: rotate(-3deg);
	border-radius: 4px;
	background: #fef3c7;
	box-shadow: 0 6px 12px -6px rgba(15, 23, 42, 0.3);
	font-size: 12px;
	font-style: italic;
	color: #78350f;
}

.ekv-sticky--2 {
	right: auto;
	left: 14px;
	bottom: 18px;
	transform: rotate(2deg);
}

.ekv-board {
	min-height: 260px;
	padding: 20px 20px 64px;
	background: #fbfbfa;
}

.ekv-board ul {
	margin: 0;
	padding: 0 0 0 18px;
	font-family: 'Segoe Print', 'Bradley Hand', 'Comic Sans MS', cursive;
	font-size: 15px;
	line-height: 2;
	color: #1e3a8a;
}

.ekv-board em {
	color: #b91c1c;
}

.ekv-register {
	padding: 18px 20px;
	background: repeating-linear-gradient(#fffdf6 0 31px, #e8e2cf 31px 32px);
	font-family: 'Segoe Print', 'Bradley Hand', 'Comic Sans MS', cursive;
	font-size: 14px;
	line-height: 32px;
	color: #1e3a8a;
}

.ekv-register p {
	margin: 0 !important;
	color: inherit !important;
	font-size: inherit !important;
}

.ekv-register span {
	color: #64748b;
}

/* --- BOM tree --- */
.ekv-tree {
	padding: 24px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 24px 48px -36px rgba(76, 50, 128, 0.5);
}

.ekv-tree__root {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border-radius: 14px;
	background: var(--ek-brand);
	color: #fff;
}

.ekv-tree__root small {
	color: #e9dffb;
}

.ekv-tree__ico {
	display: inline-flex;
	padding: 8px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.16);
}

.ekv-tree__kids {
	position: relative;
	display: grid;
	gap: 10px;
	margin: 0 0 0 26px;
	padding: 18px 0 0 26px;
	list-style: none;
	border-left: 2px solid var(--ek-brand-soft);
}

@media (min-width: 900px) {
	.ekv-tree__root {
		display: flex;
		width: max-content;
		margin: 0 auto;
	}

	.ekv-tree__kids {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		margin: 0;
		padding: 28px 0 0;
		border-left: 0;
		border-top: 2px solid var(--ek-brand-soft);
		margin-top: 24px;
	}
}

.ekv-tree__kids li {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #fff;
	font-size: 14px;
}

.ekv-tree__kids li::before {
	content: '';
	position: absolute;
	left: -28px;
	top: 22px;
	width: 26px;
	height: 2px;
	background: var(--ek-brand-soft);
}

@media (min-width: 900px) {
	.ekv-tree__kids li::before {
		left: 50%;
		top: -30px;
		width: 2px;
		height: 28px;
	}
}

.ekv-tree__kids li.is-short {
	border-color: var(--ek-brand);
	box-shadow: 0 0 0 4px var(--ek-brand-veil);
}

.ekv-tree__mark {
	display: inline-flex;
	flex: 0 0 auto;
	padding: 4px;
	border-radius: 8px;
	background: var(--ek-brand-soft);
	color: var(--ek-brand-deep);
}

.ekv-tree__mark svg {
	width: 14px;
	height: 14px;
}

.is-short .ekv-tree__mark {
	background: var(--ek-brand);
	color: #fff;
}

/* --- QC gates --- */
.ekv-gates {
	padding: 22px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 24px 48px -36px rgba(76, 50, 128, 0.5);
}

ol.ekv-gates__list {
	position: relative;
	display: grid;
	gap: 14px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

@media (min-width: 900px) {
	ol.ekv-gates__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 18px;
	}
}

.ekv-gates__gate {
	display: grid;
	align-content: start;
	gap: 10px;
	margin: 0 !important;
	padding: 16px;
	border: 1px solid var(--ek-line);
	border-radius: 16px;
	background: var(--ek-brand-veil);
}

.ekv-gates__head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ekv-gates__head b {
	display: block;
	font-size: 16px;
	color: var(--ek-ink);
}

.ekv-gates__ico {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: var(--ek-brand-soft);
	color: var(--ek-brand-deep);
}

.ekv-gates p {
	margin: 0 !important;
	font-size: 14px !important;
	line-height: 1.45 !important;
}

p.ekv-gates__where {
	color: var(--ek-ink-faint) !important;
}

p.ekv-gates__row {
	display: grid;
	grid-template-columns: 76px 1fr;
	align-items: baseline;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 12px;
	background: #fff;
	color: var(--ek-ink-soft);
}

.ekv-gates__tag {
	justify-self: start;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
}

.ekv-gates__row.is-hold .ekv-gates__tag {
	background: #fef3c7;
	color: #92400e;
}

.ekv-gates__row.is-pass .ekv-gates__tag {
	background: #dcfce7;
	color: #166534;
}

p.ekv-gates__foot {
	margin-top: 16px !important;
	font-size: 13px !important;
	color: var(--ek-ink-faint) !important;
}

/* --- Batch trace --- */
.ekv-trace {
	padding: 22px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 24px 48px -36px rgba(76, 50, 128, 0.5);
}

.ekv-trace__search {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	font-size: 14px;
}

.ekv-trace__search em {
	margin-left: auto;
	font-style: normal;
	font-size: 12px;
	font-weight: 600;
	color: var(--ek-brand-deep);
}

.ekv-trace__chain {
	position: relative;
	display: grid;
	gap: 12px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 900px) {
	.ekv-trace__chain {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.ekv-trace__chain::before {
		content: '';
		position: absolute;
		left: 8%;
		right: 8%;
		top: 22px;
		height: 2px;
		background: var(--ek-brand-soft);
	}
}

.ekv-trace__chain li {
	position: relative;
	display: grid;
	grid-template-columns: 44px 1fr;
	column-gap: 12px;
	align-items: center;
	font-size: 14px;
}

.ekv-trace__chain li small {
	grid-column: 2;
}

@media (min-width: 900px) {
	.ekv-trace__chain li {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
		row-gap: 6px;
	}

	.ekv-trace__chain li small {
		grid-column: auto;
	}
}

.ekv-trace__ico {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: var(--ek-brand-soft);
	color: var(--ek-brand-deep);
	grid-row: span 2;
}

@media (min-width: 900px) {
	.ekv-trace__ico {
		grid-row: auto;
	}
}

.ekv-trace__chain li:nth-child(3) .ekv-trace__ico {
	background: var(--ek-brand);
	color: #fff;
}

/* --- Days of cover --- */
.ekv-cover {
	display: grid;
	gap: 14px;
	padding: 22px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 24px 48px -36px rgba(76, 50, 128, 0.5);
}

.ekv-cover__legend {
	display: flex;
	gap: 18px;
	font-size: 12px;
	color: var(--ek-ink-faint);
}

.ekv-cover__legend i {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-right: 6px;
	border-radius: 3px;
	background: var(--ek-brand);
	vertical-align: -1px;
}

.ekv-cover__legend i.is-lead {
	width: 3px;
	height: 12px;
	border-radius: 0;
	background: var(--ek-ink);
}

.ekv-cover__row {
	display: grid;
	grid-template-columns: minmax(0, 9rem) minmax(0, 1fr) 6.5rem;
	align-items: center;
	gap: 12px;
	font-size: 14px;
}

@media (max-width: 559px) {
	.ekv-cover__row {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.ekv-cover__track {
		grid-column: 1 / -1;
		grid-row: 2;
	}
}

.ekv-cover__name {
	font-weight: 600;
	color: var(--ek-ink);
}

.ekv-cover__track {
	position: relative;
	height: 12px;
	border-radius: 999px;
	background: #f1f5f9;
}

.ekv-cover__track i {
	position: absolute;
	inset: 0 auto 0 0;
	width: var(--w);
	border-radius: inherit;
	background: var(--ek-brand-soft);
	transform-origin: left;
}

.is-risk .ekv-cover__track i {
	background: var(--ek-brand);
}

.ekv-cover__track b {
	position: absolute;
	top: -5px;
	bottom: -5px;
	width: 3px;
	margin-left: -1px;
	border-radius: 2px;
	background: var(--ek-ink);
}

.ekv-cover__val {
	text-align: right;
	font-variant-numeric: tabular-nums;
	color: var(--ek-ink-muted);
}

.ekv-cover__val em {
	font-style: normal;
	font-weight: 700;
	color: var(--ek-brand-deep);
}

/* --- Order search --- */
.ekv-search {
	max-width: 46rem;
}

.ekv-search__bar {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	border: 2px solid var(--ek-brand);
	border-radius: 14px;
	background: #fff;
	font-size: 16px;
	font-weight: 500;
	color: var(--ek-ink);
	box-shadow: 0 12px 24px -18px rgba(93, 57, 150, 0.7);
}

.ekv-caret {
	width: 2px;
	height: 20px;
	margin-left: -6px;
	background: var(--ek-brand);
}

.ekv-search__card {
	margin-top: 12px;
	padding: 20px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 24px 48px -36px rgba(76, 50, 128, 0.5);
}

.ekv-search__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	font-size: 15px;
	color: var(--ek-ink);
}

.ekv-stages {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 4px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.ekv-stages li {
	display: grid;
	gap: 6px;
	font-size: 11px;
	font-weight: 600;
	text-align: center;
	color: var(--ek-ink-faint);
}

.ekv-stages i {
	height: 6px;
	border-radius: 999px;
	background: #e2e8f0;
	transform-origin: left;
}

.ekv-stages .is-done i {
	background: var(--ek-brand);
}

.ekv-stages .is-now i {
	background: linear-gradient(90deg, var(--ek-brand) 72%, var(--ek-brand-soft) 72%);
}

.ekv-stages .is-done,
.ekv-stages .is-now {
	color: var(--ek-brand-deep);
}

.ekv-search__facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 16px;
}

.ekv-search__facts span {
	padding: 10px;
	border-radius: 10px;
	background: var(--ek-surface);
	font-size: 13px;
	color: var(--ek-ink);
}

/* --- Bin map --- */
.ekv-bins {
	max-width: 46rem;
	padding: 20px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 24px 48px -36px rgba(76, 50, 128, 0.5);
}

.ekv-bins__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
	font-size: 14px;
	color: var(--ek-ink);
}

.ekv-bins__grid {
	display: grid;
	grid-template-columns: 22px repeat(6, minmax(0, 1fr));
	gap: 6px;
	margin-top: 16px;
}

.ekv-bins__label {
	display: flex;
	align-items: center;
	font-size: 12px;
	font-weight: 700;
	color: var(--ek-ink-faint);
}

.ekv-bin {
	display: grid;
	place-items: center;
	min-height: 44px;
	border-radius: 8px;
	background: #f1f5f9;
	font-size: 10px;
	color: var(--ek-ink-faint);
}

.ekv-bin.is-pick {
	background: var(--ek-brand);
	color: #fff;
}

.ekv-bin b {
	font-size: 15px;
	line-height: 1;
}

.ekv-bin.is-pick small {
	color: #e9dffb;
	font-size: 10px;
}

.ekv-bins__dock {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 12px;
	padding: 12px;
	border: 1px dashed #c0b0e4;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ek-brand-deep);
}

/* --- Document pack --- */
.ekv-docs__src {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	border-radius: 16px;
	background: var(--ek-brand);
	color: #fff;
}

.ekv-docs__src small {
	color: #e9dffb;
}

.ekv-docs__src .ekv-pill {
	margin-left: auto;
}

.ekv-docs__ico {
	display: inline-flex;
	padding: 10px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.16);
}

.ekv-docs__out {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 18px 0 0;
	list-style: none;
}

@media (min-width: 640px) {
	.ekv-docs__out {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.ekv-docs__out {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

.ekv-docs__out li {
	position: relative;
	display: grid;
	gap: 4px;
	padding: 16px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid #e2e8f0;
	font-size: 14px;
	color: var(--ek-ink);
}

.ekv-docs__out li::before {
	content: '';
	position: absolute;
	left: 24px;
	top: -18px;
	width: 2px;
	height: 18px;
	background: var(--ek-brand-soft);
}

.ekv-docs__ico--sm {
	width: max-content;
	padding: 8px;
	background: var(--ek-brand-soft);
	color: var(--ek-brand-deep);
}

/* --- KPI wall --- */
.ekv-kpis {
	display: grid;
	gap: 12px;
}

@media (min-width: 640px) {
	.ekv-kpis {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.ekv-kpis {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.ekv-kpi {
	display: grid;
	gap: 6px;
	padding: 18px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 18px 36px -30px rgba(76, 50, 128, 0.5);
}

.ekv-kpi b {
	font-family: var(--ek-font-display);
	font-size: 32px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--ek-ink);
}

.ekv-kpi svg {
	width: 100%;
	height: 34px;
}

.ekv-kpi polyline {
	fill: none;
	stroke: var(--ek-brand);
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
	stroke-dasharray: 200;
	stroke-dashoffset: 0;
}

.ekv-kpis__list {
	display: grid;
	gap: 8px;
	padding: 18px;
	border-radius: 16px;
	background: #fff;
	font-size: 14px;
	box-shadow: 0 18px 36px -30px rgba(76, 50, 128, 0.5);
}

@media (min-width: 640px) {
	.ekv-kpis__list {
		grid-column: 1 / -1;
	}
}

.ekv-kpis__list span {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ekv-kpis__list i {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var(--ek-brand);
}

/* --- Path picker & compare picker --- */
ul.ekv-paths,
ul.ekv-picker {
	display: grid;
	gap: 14px;
	padding: 0;
	list-style: none;
}

@media (min-width: 640px) {
	ul.ekv-paths,
	ul.ekv-picker {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	ul.ekv-paths {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Picker pills carry full product names; four columns only once they fit on one line. */
@media (min-width: 1200px) {
	ul.ekv-picker {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

ul.ekv-paths a,
ul.ekv-picker a {
	display: grid;
	gap: 8px;
	align-content: start;
	height: 100%;
	padding: 22px;
	border-radius: 18px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--ek-line);
	font-size: 14px;
	line-height: 1.5;
	color: var(--ek-ink-muted);
	text-decoration: none;
	transition: box-shadow 0.25s ease, transform 0.25s var(--ek-ease), background-color 0.25s ease;
}

ul.ekv-paths a:hover,
ul.ekv-picker a:hover,
ul.ekv-paths a:focus-visible,
ul.ekv-picker a:focus-visible {
	box-shadow: inset 0 0 0 2px var(--ek-brand), 0 18px 36px -28px rgba(76, 50, 128, 0.6);
}

ul.ekv-paths b,
ul.ekv-picker b {
	font-family: var(--ek-font-display);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ek-ink);
}

ul.ekv-paths em {
	margin-top: auto;
	font-style: normal;
	font-weight: 600;
	color: var(--ek-brand-deep);
}

.ekv-paths__ico {
	display: inline-flex;
	width: max-content;
	padding: 12px;
	border-radius: 14px;
	background: var(--ek-brand-soft);
	color: var(--ek-brand-deep);
	transition: background-color 0.25s ease, color 0.25s ease;
}

ul.ekv-paths a:hover .ekv-paths__ico {
	background: var(--ek-brand);
	color: #fff;
}

.ekv-picker__pair {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

/* Full product names in pills (no abbreviations). */
.ekv-picker__pair i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0 12px;
	border-radius: 999px;
	font-size: 13px;
	white-space: nowrap;
	background: #f1f5f9;
	font-style: normal;
	font-weight: 700;
	color: var(--ek-ink-soft);
}

.ekv-picker__pair i.is-us {
	background: var(--ek-brand);
	color: #fff;
}

.ekv-picker__pair em {
	font-style: normal;
	font-size: 12px;
	color: var(--ek-ink-faint);
}

/* --- Two systems (Tally) --- */
.ekv-two {
	display: grid;
	gap: 16px;
	align-items: center;
}

@media (min-width: 900px) {
	.ekv-two {
		grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr) minmax(0, 1fr);
	}
}

.ekv-two__col {
	padding: 20px;
	border-radius: 18px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--ek-line);
}

.ekv-two__col--us {
	box-shadow: inset 0 0 0 2px var(--ek-brand), 0 18px 36px -28px rgba(76, 50, 128, 0.5);
}

.ekv-two__col ul {
	display: grid;
	gap: 10px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.ekv-two__col li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: var(--ek-ink);
}

.ekv-two__col li svg {
	flex: 0 0 auto;
	padding: 6px;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: var(--ek-brand-soft);
	color: var(--ek-brand-deep);
}

.ekv-two__flow {
	position: relative;
	display: grid;
	gap: 8px;
	justify-items: center;
}

.ekv-two__doc {
	padding: 6px 12px;
	border-radius: 8px;
	background: var(--ek-surface);
	box-shadow: inset 0 0 0 1px #ddd3f1;
	font-size: 12px;
	font-weight: 600;
	color: var(--ek-brand-deep);
}

.ekv-two__arrow {
	display: inline-flex;
	color: var(--ek-brand);
	transform: rotate(90deg);
}

@media (min-width: 900px) {
	.ekv-two__arrow {
		transform: none;
	}
}

/* --- Cutover --- */
.ekv-cut {
	position: relative;
}

.ekv-cut ol {
	position: relative;
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 900px) {
	.ekv-cut ol {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

.ekv-cut__track {
	display: none;
}

@media (min-width: 900px) {
	.ekv-cut__track {
		display: block;
		position: absolute;
		/* From the first dot's centre to the last: five columns, 14px gaps. */
		left: 22px;
		right: calc((100% - 56px) / 5 - 22px);
		top: 21px;
		height: 3px;
		border-radius: 3px;
		background: var(--ek-brand-soft);
	}

	.ekv-cut__track i {
		display: block;
		height: 100%;
		width: 100%;
		border-radius: inherit;
		background: var(--ek-brand);
		transform-origin: left;
	}
}

.ekv-cut li {
	display: grid;
	gap: 8px;
	align-content: start;
	padding: 18px;
	border-radius: 16px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--ek-line);
}

@media (min-width: 900px) {
	.ekv-cut li {
		padding-top: 0;
		background: transparent;
		box-shadow: none;
	}
}

.ekv-cut__dot {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background: var(--ek-brand);
	font-weight: 700;
	color: #fff;
	box-shadow: 0 0 0 6px #fff;
}

.ekv-cut b {
	font-family: var(--ek-font-display);
	font-size: 18px;
	color: var(--ek-ink);
}

.ekv-cut__check {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	color: var(--ek-ink-muted);
}

.ekv-cut__check svg {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin-top: 2px;
	color: var(--ek-brand);
}

/* --- Site map --- */
.ekv-sites {
	display: grid;
	gap: 16px;
}

@media (min-width: 900px) {
	.ekv-sites {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
		align-items: center;
	}
}

.ekv-sites__map {
	position: relative;
	min-height: 280px;
	border-radius: 20px;
	background:
		radial-gradient(circle at 1px 1px, #ddd3f1 1px, transparent 1.5px) 0 0 / 22px 22px,
		var(--ek-surface);
	overflow: hidden;
}

.ekv-sites__lines {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
}

.ekv-sites__lines path {
	fill: none;
	stroke: #c0b0e4;
	stroke-width: 2;
	stroke-dasharray: 5 6;
	vector-effect: non-scaling-stroke;
}

.ekv-sites__node {
	position: absolute;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 14px 28px -18px rgba(76, 50, 128, 0.6);
	transform: translate(-50%, -50%);
	font-size: 13px;
	white-space: nowrap;
	color: var(--ek-ink);
}

.ekv-sites__node > svg {
	padding: 6px;
	width: 32px;
	height: 32px;
	border-radius: 10px;
	background: var(--ek-brand);
	color: #fff;
}

@media (max-width: 559px) {
	.ekv-sites__node small {
		display: none;
	}

	.ekv-sites__node {
		padding: 8px;
	}
}

.ekv-sites__parcel {
	position: absolute;
	z-index: 0;
	width: 12px;
	height: 12px;
	margin: -6px 0 0 -6px;
	border-radius: 4px;
	background: var(--ek-brand);
	opacity: 0;
}

.ekv-sites__table {
	display: grid;
	gap: 0;
	padding: 18px;
	border-radius: 18px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--ek-line);
	font-size: 14px;
}

.ekv-sites__table > b {
	margin-bottom: 8px;
	color: var(--ek-ink);
}

.ekv-sites__table > span {
	display: flex;
	justify-content: space-between;
	padding: 9px 0;
	border-top: 1px solid var(--ek-line-soft);
}

.ekv-sites__table em {
	font-style: normal;
	font-variant-numeric: tabular-nums;
	color: var(--ek-ink);
}

.ekv-sites__table .is-total {
	font-weight: 700;
	color: var(--ek-brand-deep);
}

.ekv-sites__table .is-total em {
	color: var(--ek-brand-deep);
}

/* --- Verdict --- */
.ekv-verdict {
	position: relative;
	display: grid;
	gap: 14px;
	align-items: stretch;
}

@media (min-width: 900px) {
	.ekv-verdict {
		grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
		gap: 0;
	}
}

.ekv-verdict__card {
	padding: 26px;
	border-radius: 20px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--ek-line);
}

.ekv-verdict__card.is-us {
	background: linear-gradient(135deg, #4d3280, #5d3996 60%, #6d4bb0);
	box-shadow: 0 24px 48px -30px rgba(76, 50, 128, 0.7);
	color: #e9dffb;
}

.ekv-verdict__card h3 {
	margin: 0;
	font-family: var(--ek-font-display);
	font-size: 22px;
	color: var(--ek-ink);
}

.is-us.ekv-verdict__card h3 {
	color: #fff;
}

p.ekv-verdict__best {
	margin-top: 8px !important;
	font-size: 16px !important;
	font-weight: 600;
	color: var(--ek-ink) !important;
}

.is-us p.ekv-verdict__best {
	color: #fff !important;
}

.is-us p.ekv-verdict__best small {
	color: #d7c9f2;
}

.ekv-verdict__card ul {
	display: grid;
	gap: 8px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.ekv-verdict__card li {
	position: relative;
	padding-left: 24px;
	font-size: 14px;
}

.ekv-verdict__card li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 3px;
	width: 15px;
	height: 15px;
	background: currentColor;
	-webkit-mask: var(--ek-icon-check) center / contain no-repeat;
	mask: var(--ek-icon-check) center / contain no-repeat;
	opacity: 0.8;
}

.ekv-verdict__vs {
	display: flex;
	align-items: center;
	justify-content: center;
	justify-self: center;
	align-self: center;
	z-index: 1;
	width: 48px;
	height: 48px;
	margin: -6px 0;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 8px 18px -8px rgba(15, 23, 42, 0.3);
	font-weight: 700;
	color: var(--ek-ink-faint);
}

@media (min-width: 900px) {
	.ekv-verdict__vs {
		margin: 0 -20px;
	}
}

/* --- Scorecard --- */
.ekv-score {
	display: grid;
	gap: 20px;
	padding: 24px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 24px 48px -36px rgba(76, 50, 128, 0.5);
}

@media (min-width: 900px) {
	.ekv-score {
		grid-template-columns: 15rem minmax(0, 1fr);
		align-items: start;
	}
}

.ekv-score__meter {
	display: grid;
	justify-items: start;
	gap: 14px;
	font-size: 14px;
}

@media (min-width: 900px) {
	.ekv-score__meter {
		position: sticky;
		top: calc(var(--ek-header-h) + 72px);
	}
}

.ekv-score__meter > span:last-child {
	display: grid;
	gap: 2px;
}

.ekv-score__ring {
	display: grid;
	place-content: center;
	justify-items: center;
	width: 120px;
	height: 120px;
	border-radius: 999px;
	background:
		radial-gradient(circle, #fff 58%, transparent 59%),
		conic-gradient(var(--ek-brand) calc(var(--p) * 1%), var(--ek-brand-soft) 0);
	transition: background 0.4s ease;
}

.ekv-score__ring b {
	font-family: var(--ek-font-display);
	font-size: 34px;
	line-height: 1;
	color: var(--ek-ink);
}

.ekv-score__groups {
	display: grid;
	gap: 18px;
}

.ekv-score fieldset {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
}

.ekv-score legend {
	margin-bottom: 4px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ek-brand-deep);
}

.ekv-score label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-height: 44px;
	padding: 10px 12px;
	border-radius: 12px;
	background: var(--ek-surface);
	font-size: 15px;
	line-height: 1.45;
	color: var(--ek-ink);
	cursor: pointer;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.ekv-score label:has(input:checked) {
	background: var(--ek-brand-soft);
	box-shadow: inset 0 0 0 1px #c0b0e4;
}

.ekv-score input {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	accent-color: var(--ek-brand);
}

/* --- Walkthrough player --- */
.ekv-walk__rail {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 2px 2px 10px;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: thin;
}

.ekv-walk__rail button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 14px 0 6px;
	border: 1px solid var(--ek-line);
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	color: var(--ek-ink-soft);
	cursor: pointer;
}

.ekv-walk__rail button span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 999px;
	background: var(--ek-surface);
	font-weight: 700;
	color: var(--ek-brand-deep);
}

.ekv-walk__rail button[aria-current='step'] {
	border-color: var(--ek-brand);
	background: var(--ek-brand);
	color: #fff;
}

.ekv-walk__rail button[aria-current='step'] span {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
}

.ekv-walk__step {
	display: grid;
	gap: 20px;
	align-items: center;
	margin-top: 14px;
	padding: 22px;
	border-radius: 20px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--ek-line);
}

.ekv-walk.is-enhanced .ekv-walk__step:not(.is-active) {
	display: none;
}

@media (min-width: 900px) {
	.ekv-walk__step {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
		gap: 40px;
		padding: 36px;
	}
}

.ekv-walk__copy h3 {
	margin: 6px 0 0;
	font-family: var(--ek-font-display);
	font-size: 24px;
	color: var(--ek-ink);
}

.ekv-walk__copy p {
	margin-top: 10px !important;
	font-size: 16px !important;
	line-height: 1.6;
}

.ekv-walk__nav {
	display: none;
	align-items: center;
	gap: 14px;
	margin-top: 14px;
}

.ekv-walk.is-enhanced .ekv-walk__nav {
	display: flex;
}

.ekv-walk__nav button {
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--ek-line);
	border-radius: 10px;
	background: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--ek-ink-soft);
	cursor: pointer;
}

.ekv-walk__nav button.is-primary {
	border-color: var(--ek-brand);
	background: var(--ek-brand);
	color: #fff;
}

.ekv-walk__nav button:disabled {
	opacity: 0.45;
	cursor: default;
}

.ekv-walk__bar {
	flex: 1 1 auto;
	height: 6px;
	border-radius: 999px;
	background: var(--ek-brand-soft);
	overflow: hidden;
}

.ekv-walk__bar i {
	display: block;
	height: 100%;
	width: var(--p);
	border-radius: inherit;
	background: var(--ek-brand);
	transition: width 0.4s var(--ek-ease);
}

/* --- Go-live plan --- */
.ekv-plan {
	overflow-x: auto;
	padding-bottom: 4px;
}

.ekv-plan__grid {
	display: grid;
	grid-template-columns: 7rem repeat(5, minmax(9rem, 1fr));
	gap: 8px;
	min-width: 760px;
}

.ekv-plan__lane {
	display: flex;
	align-items: center;
	font-size: 13px;
	font-weight: 700;
	color: var(--ek-ink);
}

.ekv-plan__phase {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border-radius: 12px;
	background: var(--ek-ink);
	font-size: 14px;
	font-weight: 600;
	color: #fff;
}

.ekv-plan__phase b {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	font-size: 12px;
}

.ekv-plan__task {
	padding: 14px 12px;
	border-radius: 12px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--ek-line);
	font-size: 14px;
	line-height: 1.45;
	color: var(--ek-ink-soft);
}

.ekv-plan__task.is-us {
	background: var(--ek-brand-soft);
	box-shadow: none;
	color: var(--ek-brand-deep);
	font-weight: 500;
}

/* Phones: the plan stacks phase by phase instead of scrolling sideways. */
@media (max-width: 767px) {
	.ekv-plan {
		overflow: visible;
	}

	.ekv-plan__grid {
		grid-template-columns: 1fr;
		min-width: 0;
	}

	.ekv-plan__lane {
		display: none;
	}

	.ekv-plan__phase {
		order: var(--o);
		margin-top: 8px;
	}

	.ekv-plan__task {
		order: var(--o);
	}

	.ekv-plan__task.is-us::before {
		content: 'ERPKaro · ';
		font-weight: 700;
	}

	.ekv-plan__task:not(.is-us)::before {
		content: 'You · ';
		font-weight: 700;
		color: var(--ek-ink);
	}
}

/* --- Referral flow --- */
ol.ekv-ref {
	position: relative;
	display: grid;
	gap: 14px;
	padding: 0;
	list-style: none;
}

@media (min-width: 900px) {
	ol.ekv-ref {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	ol.ekv-ref::before {
		content: '';
		position: absolute;
		left: 12%;
		right: 12%;
		top: 32px;
		height: 2px;
		background: repeating-linear-gradient(90deg, #c0b0e4 0 8px, transparent 8px 14px);
	}
}

ol.ekv-ref li {
	display: grid;
	gap: 6px;
	justify-items: start;
	padding: 18px;
	border-radius: 18px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--ek-line);
	font-size: 14px;
}

@media (min-width: 900px) {
	ol.ekv-ref li {
		justify-items: center;
		text-align: center;
		padding: 0 12px;
		background: transparent;
		box-shadow: none;
	}
}

ol.ekv-ref b {
	font-family: var(--ek-font-display);
	font-size: 17px;
	color: var(--ek-ink);
}

.ekv-ref__ico {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 20px;
	background: var(--ek-brand);
	color: #fff;
	box-shadow: 0 0 0 8px #fff, 0 18px 30px -16px rgba(76, 50, 128, 0.8);
}

.ekv-ref__ico svg {
	width: 26px;
	height: 26px;
}

/* --- Visual motion (html.ek-motion only) --- */
html.ek-motion .ekv.ekm-live .ekv-tree__kids li,
html.ek-motion .ekv.ekm-live .ekv-trace__chain li,
html.ek-motion .ekv.ekm-live .ekv-cover__row,
html.ek-motion .ekv.ekm-live .ekv-docs__out li,
html.ek-motion .ekv.ekm-live .ekv-kpi,
html.ek-motion .ekv.ekm-live .ekv-two__col li,
html.ek-motion .ekv.ekm-live .ekv-two__doc,
html.ek-motion .ekv.ekm-live .ekv-cut li,
html.ek-motion .ekv.ekm-live .ekv-sites__node,
html.ek-motion .ekv.ekm-live .ekv-plan__task,
html.ek-motion .ekv.ekm-live .ekv-search__card,
html.ek-motion .ekv-paths.ekm-live > li,
html.ek-motion .ekv-picker.ekm-live > li,
html.ek-motion .ekv-ref.ekm-live > li,
html.ek-motion .ekv-verdict.ekm-live .ekv-verdict__card {
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.5s ease, transform 0.6s var(--ek-ease);
	transition-delay: calc(var(--i, 0) * 110ms + 100ms);
}

html.ek-motion .ekv.ekm-live.is-live .ekv-tree__kids li,
html.ek-motion .ekv.ekm-live.is-live .ekv-trace__chain li,
html.ek-motion .ekv.ekm-live.is-live .ekv-cover__row,
html.ek-motion .ekv.ekm-live.is-live .ekv-docs__out li,
html.ek-motion .ekv.ekm-live.is-live .ekv-kpi,
html.ek-motion .ekv.ekm-live.is-live .ekv-two__col li,
html.ek-motion .ekv.ekm-live.is-live .ekv-two__doc,
html.ek-motion .ekv.ekm-live.is-live .ekv-cut li,
html.ek-motion .ekv.ekm-live.is-live .ekv-sites__node,
html.ek-motion .ekv.ekm-live.is-live .ekv-plan__task,
html.ek-motion .ekv.ekm-live.is-live .ekv-search__card,
html.ek-motion .ekv-paths.ekm-live.is-live > li,
html.ek-motion .ekv-picker.ekm-live.is-live > li,
html.ek-motion .ekv-ref.ekm-live.is-live > li,
html.ek-motion .ekv-verdict.ekm-live.is-live .ekv-verdict__card {
	opacity: 1;
	transform: none;
}

/* The search answer waits for the query to finish typing. */
html.ek-motion .ekv.ekm-live .ekv-search__card {
	transition-delay: 1.5s;
}

html.ek-motion .ekv.ekm-live .ekv-cover__track i,
html.ek-motion .ekv.ekm-live .ekv-stages i,
html.ek-motion .ekv.ekm-live .ekv-cut__track i {
	transform: scaleX(0);
	transition: transform 1s var(--ek-ease);
	transition-delay: calc(var(--i, 0) * 120ms + 300ms);
}

html.ek-motion .ekv.ekm-live .ekv-stages i {
	transition-delay: calc(var(--i, 0) * 120ms + 1.7s);
}

html.ek-motion .ekv.ekm-live.is-live .ekv-cover__track i,
html.ek-motion .ekv.ekm-live.is-live .ekv-stages i,
html.ek-motion .ekv.ekm-live.is-live .ekv-cut__track i {
	transform: scaleX(1);
}

html.ek-motion .ekv.ekm-live .ekv-kpi polyline {
	stroke-dashoffset: 200;
	transition: stroke-dashoffset 1.4s var(--ek-ease);
	transition-delay: calc(var(--i, 0) * 120ms + 400ms);
}

html.ek-motion .ekv.ekm-live.is-live .ekv-kpi polyline {
	stroke-dashoffset: 0;
}

/* Typing query + blinking caret. */
html.ek-motion .ekv.ekm-live .ekv-type {
	display: inline-block;
	overflow: hidden;
	white-space: nowrap;
	max-width: 0;
	vertical-align: bottom;
}

html.ek-motion .ekv.ekm-live.is-live .ekv-type {
	max-width: 32ch;
	transition: max-width 1.3s steps(26, end) 0.2s;
}

html.ek-motion .ekv.ekm-live.is-live .ekv-caret {
	animation: ek-blink 1s step-end infinite;
}

/* Bin picks light up in pick order; the short tree node and the map
   parcels keep a gentle pulse. */
html.ek-motion .ekv.ekm-live .ekv-bin.is-pick {
	background: #f1f5f9;
	color: var(--ek-ink-faint);
	transition: background-color 0.4s ease, color 0.4s ease, transform 0.4s var(--ek-ease);
	transition-delay: calc(var(--i, 0) * 350ms + 200ms);
}

html.ek-motion .ekv.ekm-live.is-live .ekv-bin.is-pick {
	background: var(--ek-brand);
	color: #fff;
	transform: scale(1.04);
}

html.ek-motion .ekv.ekm-live.is-live .ekv-tree__kids li.is-short {
	animation: ek-glow 2.6s ease-in-out 1.2s infinite;
}

html.ek-motion .ekv.ekm-live.is-live .ekv-sites__parcel--1 {
	animation: ek-parcel-1 3.6s ease-in-out 0.8s infinite;
}

html.ek-motion .ekv.ekm-live.is-live .ekv-sites__parcel--2 {
	animation: ek-parcel-2 3.6s ease-in-out 2.6s infinite;
}

/* Before/after: the "today" pane dims as the ERPKaro pane arrives. */
html.ek-motion .ekv-ba.ekm-live .ekv-ba__pane--after,
html.ek-motion .ekv-ba.ekm-live .ekv-ba__arrow {
	opacity: 0;
	transform: translateX(16px);
	transition: opacity 0.6s ease 0.5s, transform 0.7s var(--ek-ease) 0.5s;
}

html.ek-motion .ekv-ba.ekm-live.is-live .ekv-ba__pane--after {
	opacity: 1;
	transform: none;
}

html.ek-motion .ekv-ba.ekm-live.is-live .ekv-ba__arrow {
	opacity: 1;
	transform: rotate(90deg);
}

@media (min-width: 900px) {
	html.ek-motion .ekv-ba.ekm-live.is-live .ekv-ba__arrow {
		transform: none;
	}
}

html.ek-motion .ekv.ekm-live .ekv-walk__step.is-active .ekv-walk__copy {
	animation: ek-rise 0.45s var(--ek-ease) both;
}

html.ek-motion .ekv.ekm-live .ekv-walk__step.is-active .ekv-walk__screen {
	animation: ek-rise 0.55s var(--ek-ease) 0.05s both;
}

html.ek-motion ul.ek-ask > li {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.5s ease, transform 0.6s var(--ek-ease);
}

html.ek-motion ul.ek-ask.is-live > li {
	opacity: 1;
	transform: none;
}

html.ek-motion ul.ek-ask.is-live > li:nth-child(2) { transition-delay: 120ms; }
html.ek-motion ul.ek-ask.is-live > li:nth-child(3) { transition-delay: 240ms; }
html.ek-motion ul.ek-ask.is-live > li:nth-child(4) { transition-delay: 360ms; }

@keyframes ek-blink {
	50% { opacity: 0; }
}

@keyframes ek-glow {
	0%, 100% { box-shadow: 0 0 0 4px var(--ek-brand-veil); }
	50% { box-shadow: 0 0 0 8px rgba(236, 230, 247, 0.9); }
}

@keyframes ek-parcel-1 {
	0% { left: 24%; top: 26%; opacity: 0; }
	12% { opacity: 1; }
	88% { opacity: 1; }
	100% { left: 72%; top: 50%; opacity: 0; }
}

@keyframes ek-parcel-2 {
	0% { left: 24%; top: 76%; opacity: 0; }
	12% { opacity: 1; }
	88% { opacity: 1; }
	100% { left: 72%; top: 50%; opacity: 0; }
}

/* ==========================================================================
   Refined section designs — every page except the homepage and the pricing
   page (body.ek-refined, see erpkaro_refined_body_class()). CSS-only, so
   sector, location, solution and product pages all pick them up.
   ========================================================================== */

/* Micro numbers become brand chips. */
body.ek-refined p.is-style-ek-num {
	display: inline-flex;
	align-items: center;
	width: max-content;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--ek-brand-soft);
	font-size: 11px !important;
	letter-spacing: 0.12em;
	color: var(--ek-brand-deep) !important;
}

/* Check lists everywhere: round brand badges instead of bare ticks. */
body.ek-refined ul.is-style-ek-check > li {
	padding-left: 34px;
	line-height: 1.55;
}

body.ek-refined ul.is-style-ek-check > li::before {
	top: 1px;
	width: 22px;
	height: 22px;
	border-radius: 999px;
	background: var(--ek-brand-soft);
	-webkit-mask: none;
	mask: none;
}

body.ek-refined ul.is-style-ek-check > li::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 6px;
	width: 12px;
	height: 12px;
	background: var(--ek-brand-deep);
	-webkit-mask: var(--ek-icon-check) center / contain no-repeat;
	mask: var(--ek-icon-check) center / contain no-repeat;
}

/* --- 1. Fact strip: an elevated panel that overlaps the hero edge. --- */
body.ek-refined .is-style-ek-section-band:has(> .wp-block-columns ul.is-style-ek-check) {
	position: relative;
	z-index: 2;
	border: 0;
	padding-top: 0;
	padding-bottom: clamp(2rem, 4vw, 3.5rem);
	background: linear-gradient(#fff 0, #fff 100%);
}

body.ek-refined .is-style-ek-section-band > .wp-block-columns:has(ul.is-style-ek-check) {
	position: relative;
	margin-top: calc(-1 * clamp(1.5rem, 3vw, 2.5rem)) !important;
	gap: 0 !important;
	padding: 6px;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04), 0 28px 56px -36px rgba(76, 50, 128, 0.55);
	outline: 1px solid var(--ek-line-soft);
}

body.ek-refined .is-style-ek-section-band > .wp-block-columns:has(ul.is-style-ek-check) > .wp-block-column {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px 22px;
	margin: 0 !important;
}

body.ek-refined .is-style-ek-section-band > .wp-block-columns:has(ul.is-style-ek-check) > .wp-block-column + .wp-block-column::before {
	content: '';
	position: absolute;
	left: 0;
	top: 22%;
	bottom: 22%;
	width: 1px;
	background: var(--ek-line);
}

@media (max-width: 781px) {
	body.ek-refined .is-style-ek-section-band > .wp-block-columns:has(ul.is-style-ek-check) > .wp-block-column + .wp-block-column::before {
		left: 22px;
		right: 22px;
		top: 0;
		bottom: auto;
		width: auto;
		height: 1px;
	}
}

body.ek-refined .is-style-ek-section-band > .wp-block-columns:has(ul.is-style-ek-check) p.is-style-ek-num {
	padding: 0;
	background: none;
	font-family: var(--ek-font-display);
	font-size: 26px !important;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1;
	color: transparent !important;
	background-image: linear-gradient(135deg, var(--ek-brand) 0%, #8f6fd1 100%);
	-webkit-background-clip: text;
	background-clip: text;
}

body.ek-refined .is-style-ek-section-band > .wp-block-columns:has(ul.is-style-ek-check) ul.is-style-ek-check {
	margin: 0 !important;
}

body.ek-refined .is-style-ek-section-band > .wp-block-columns:has(ul.is-style-ek-check) ul.is-style-ek-check > li {
	padding-left: 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.45;
	color: var(--ek-ink);
}

body.ek-refined .is-style-ek-section-band > .wp-block-columns:has(ul.is-style-ek-check) ul.is-style-ek-check > li::before,
body.ek-refined .is-style-ek-section-band > .wp-block-columns:has(ul.is-style-ek-check) ul.is-style-ek-check > li::after {
	display: none;
}

/* --- 2. Problem → solution rows (ledger) --- */
body.ek-refined .ek-ledger {
	display: grid;
	gap: 16px;
	border: 0;
	margin-top: 2rem !important;
}

body.ek-refined .ek-ledger > .wp-block-columns {
	position: relative;
	gap: 44px !important;
	align-items: stretch !important;
	padding: 0;
	border: 0 !important;
	margin: 0 !important;
}

body.ek-refined .ek-ledger > .wp-block-columns > .wp-block-column {
	position: relative;
	align-self: stretch !important;
	padding: 24px 26px;
	border-radius: 18px;
}

body.ek-refined .ek-ledger > .wp-block-columns > .wp-block-column:first-child {
	background: #f8fafc;
	box-shadow: inset 0 0 0 1px var(--ek-line-soft);
}

body.ek-refined .ek-ledger > .wp-block-columns > .wp-block-column:last-child {
	background: linear-gradient(135deg, #faf8fe 0%, var(--ek-brand-veil) 100%);
	box-shadow: inset 0 0 0 1px #e4dbf5, 0 18px 36px -32px rgba(76, 50, 128, 0.6);
}

/* Arrow between the two panels. */
body.ek-refined .ek-ledger > .wp-block-columns > .wp-block-column:last-child::before {
	content: '';
	position: absolute;
	left: -36px;
	top: 50%;
	width: 28px;
	height: 28px;
	margin-top: -14px;
	border-radius: 999px;
	background: var(--ek-brand) var(--ek-arrow-white) center / 14px no-repeat;
	box-shadow: 0 8px 16px -8px rgba(93, 57, 150, 0.8);
}

@media (max-width: 781px) {
	body.ek-refined .ek-ledger > .wp-block-columns {
		gap: 40px !important;
	}

	body.ek-refined .ek-ledger > .wp-block-columns > .wp-block-column:last-child::before {
		left: 50%;
		top: -34px;
		margin: 0 0 0 -14px;
		transform: rotate(90deg);
	}
}

body.ek-refined .ek-ledger .wp-block-column:first-child p.is-style-ek-num {
	background: #e2e8f0;
	color: #475569 !important;
}

body.ek-refined .ek-ledger .wp-block-column:first-child h3.wp-block-heading {
	color: var(--ek-ink);
}

body.ek-refined .ek-ledger .wp-block-column:last-child p.is-style-ek-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	letter-spacing: 0.14em;
}

body.ek-refined .ek-ledger .wp-block-column:last-child p.is-style-ek-eyebrow::before {
	content: '';
	width: 18px;
	height: 18px;
	border-radius: 999px;
	background: var(--ek-brand) var(--ek-check-white) center / 10px no-repeat;
}

body.ek-refined .ek-ledger .wp-block-column:last-child p:not(.is-style-ek-eyebrow):not(.is-style-ek-num) {
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--ek-ink-soft);
}

/* Hub insight rows carry extra "What we hear / What this leads to" labels. */
body.ek-refined .ek-ledger .wp-block-column p.is-style-ek-num + p:not(.is-style-ek-num) {
	margin-top: 6px;
}

:root {
	--ek-arrow-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
	--ek-check-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	--ek-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
	--ek-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14'/%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}

/* --- 3. Feature grid → one hairline-divided sheet with icon badges --- */
body.ek-refined .ek-grid.ek-grid-3:not(.ek-linked) {
	gap: 1px !important;
	overflow: hidden;
	border-radius: 22px;
	background: var(--ek-line);
	box-shadow: 0 28px 56px -40px rgba(76, 50, 128, 0.55);
	outline: 1px solid var(--ek-line);
}

body.ek-refined .ek-grid.ek-grid-3:not(.ek-linked) > .is-style-ek-card {
	position: relative;
	border: 0;
	border-radius: 0;
	padding: 28px 26px 30px 26px;
	background: #fff;
	box-shadow: none;
	transform: none !important;
	transition: background-color 0.25s ease;
}

body.ek-refined .ek-grid.ek-grid-3:not(.ek-linked) > .is-style-ek-card::before {
	content: '';
	display: block;
	width: 40px;
	height: 40px;
	margin-bottom: 16px;
	border-radius: 12px;
	background: var(--ek-brand-soft) var(--ek-feat-ico, none) center / 18px no-repeat;
}

body.ek-refined .ek-grid.ek-grid-3:not(.ek-linked) > .is-style-ek-card:hover {
	background: #fcfbff;
}

body.ek-refined .ek-grid.ek-grid-3:not(.ek-linked) > .is-style-ek-card:hover::before {
	background-color: var(--ek-brand);
	--ek-feat-ico: var(--ek-check-white);
}

body.ek-refined .ek-grid.ek-grid-3:not(.ek-linked) > .is-style-ek-card {
	--ek-feat-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234d3280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

body.ek-refined .ek-grid.ek-grid-3:not(.ek-linked) > .is-style-ek-card > h3.wp-block-heading {
	font-size: 1.0625rem;
}

/* --- 4. Top-level checklists (sector workflows): two-column rows --- */
body.ek-refined .wp-block-group[class*='is-style-ek-section'] > ul.is-style-ek-check {
	display: grid;
	gap: 0 40px;
	margin-top: 1.75rem !important;
}

@media (min-width: 900px) {
	body.ek-refined .wp-block-group[class*='is-style-ek-section'] > ul.is-style-ek-check {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

body.ek-refined .wp-block-group[class*='is-style-ek-section'] > ul.is-style-ek-check > li {
	margin: 0 !important;
	padding: 16px 0 16px 46px;
	border-bottom: 1px solid #e4dbf5;
	font-size: 14.5px;
	color: var(--ek-ink-muted);
}

body.ek-refined .wp-block-group[class*='is-style-ek-section'] > ul.is-style-ek-check > li strong {
	display: block;
	margin-bottom: 2px;
	font-size: 15.5px;
	font-weight: 600;
	color: var(--ek-ink);
}

body.ek-refined .wp-block-group[class*='is-style-ek-section'] > ul.is-style-ek-check > li::before {
	top: 16px;
	width: 30px;
	height: 30px;
	border-radius: 10px;
	background: #fff;
	box-shadow: inset 0 0 0 1px #ddd3f1;
}

body.ek-refined .wp-block-group[class*='is-style-ek-section'] > ul.is-style-ek-check > li::after {
	left: 8px;
	top: 24px;
	width: 14px;
	height: 14px;
}

/* --- 5. Compliance tiles (card of h4 + text columns) --- */
body.ek-refined .is-style-ek-card:has(> .wp-block-columns > .wp-block-column > h4) {
	padding: 6px;
	border: 0;
	background: linear-gradient(135deg, #faf8fe, var(--ek-brand-veil));
	box-shadow: inset 0 0 0 1px #e4dbf5;
}

body.ek-refined .is-style-ek-card > .wp-block-columns > .wp-block-column:has(> h4) {
	position: relative;
	padding: 22px 22px 22px 70px;
	border-radius: 16px;
	background: #fff;
	margin: 0 !important;
}

body.ek-refined .is-style-ek-card > .wp-block-columns:has(> .wp-block-column > h4) {
	gap: 6px !important;
	margin: 0 !important;
}

body.ek-refined .is-style-ek-card > .wp-block-columns > .wp-block-column:has(> h4)::before {
	content: '';
	position: absolute;
	left: 22px;
	top: 22px;
	width: 34px;
	height: 34px;
	border-radius: 11px;
	background: var(--ek-brand);
}

body.ek-refined .is-style-ek-card > .wp-block-columns > .wp-block-column:has(> h4)::after {
	content: '';
	position: absolute;
	left: 30px;
	top: 30px;
	width: 18px;
	height: 18px;
	background: #fff;
	-webkit-mask: var(--ek-shield) center / contain no-repeat;
	mask: var(--ek-shield) center / contain no-repeat;
}

/* --- 6. Workflow tiles, document list, roadmap chips (hub) --- */
body.ek-refined ul.is-style-ek-tiles > li {
	position: relative;
	padding: 14px 14px 14px 44px;
	border-radius: 12px;
	border: 0;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--ek-line), 0 10px 20px -18px rgba(76, 50, 128, 0.5);
	transition: box-shadow 0.2s ease, transform 0.2s var(--ek-ease);
}

body.ek-refined ul.is-style-ek-tiles > li::before {
	content: '';
	position: absolute;
	left: 14px;
	top: 50%;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	border-radius: 6px;
	background: var(--ek-brand-soft) var(--ek-check-white) center / 0 no-repeat;
	box-shadow: inset 0 0 0 5px var(--ek-brand-soft), inset 0 0 0 9px var(--ek-brand);
}

body.ek-refined ul.is-style-ek-tiles > li:hover {
	box-shadow: inset 0 0 0 1px #c0b0e4, 0 14px 26px -18px rgba(76, 50, 128, 0.6);
}

body.ek-refined ul.is-style-ek-docs > li {
	padding: 9px 0 9px 32px;
	border-bottom: 1px dashed var(--ek-line);
}

body.ek-refined ul.is-style-ek-docs > li::before {
	top: 10px;
}

body.ek-refined ul.is-style-ek-chips > li {
	padding: 8px 14px 8px 30px;
	position: relative;
	background: #fff;
	box-shadow: inset 0 0 0 1px #ddd3f1;
	font-size: 13px;
}

body.ek-refined ul.is-style-ek-chips > li::before {
	content: '';
	position: absolute;
	left: 12px;
	top: 50%;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border-radius: 999px;
	background: var(--ek-brand);
	box-shadow: 0 0 0 3px var(--ek-brand-soft);
}

/* --- 7. FAQ: one joined panel, plus → minus, answers ease open --- */
body.ek-refined .wp-block-group:has(> .wp-block-details) > .wp-block-details {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	border: 0;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
	border-bottom: 1px solid var(--ek-line-soft);
}

body.ek-refined .wp-block-group:has(> .wp-block-details) > h2 + .wp-block-details,
body.ek-refined .wp-block-group:has(> .wp-block-details) > p + .wp-block-details {
	margin-top: 1.75rem !important;
	border-radius: 18px 18px 0 0;
}

body.ek-refined .wp-block-group:has(> .wp-block-details) > .wp-block-details:last-child {
	border-bottom: 0;
	border-radius: 0 0 18px 18px;
}

body.ek-refined .wp-block-group:has(> .wp-block-details) {
	--ek-faq-shadow: 0 28px 56px -44px rgba(76, 50, 128, 0.6);
}

body.ek-refined .wp-block-group:has(> .wp-block-details) > .wp-block-details:first-of-type {
	box-shadow: var(--ek-faq-shadow);
}

body.ek-refined .wp-block-details > summary {
	gap: 16px;
	padding: 20px 24px;
	font-size: 16px;
	font-weight: 600;
	color: var(--ek-ink);
}

body.ek-refined .wp-block-details > summary:hover {
	background: #fcfbff;
	color: var(--ek-brand-deep);
}

body.ek-refined .wp-block-details > summary::after {
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: var(--ek-brand-soft);
	-webkit-mask: none;
	mask: none;
	background-image: none;
	box-shadow: inset 0 0 0 1px #ddd3f1;
	position: relative;
}

body.ek-refined .wp-block-details > summary::before {
	content: '';
	order: 2;
	position: absolute;
	right: 31px;
	top: 50%;
	margin-top: -7px;
	width: 14px;
	height: 14px;
	background: var(--ek-brand-deep);
	-webkit-mask: var(--ek-plus) center / contain no-repeat;
	mask: var(--ek-plus) center / contain no-repeat;
	transition: transform 0.25s var(--ek-ease);
	z-index: 1;
}

body.ek-refined .wp-block-details > summary {
	position: relative;
}

body.ek-refined .wp-block-details[open] > summary::before {
	transform: rotate(45deg);
}

body.ek-refined .wp-block-details[open] > summary::after {
	background: var(--ek-brand);
	box-shadow: none;
}

body.ek-refined .wp-block-details[open] > summary::before {
	background: #fff;
}

body.ek-refined .wp-block-details > :not(summary) {
	margin: 0 !important;
	padding: 0 64px 22px 24px;
	font-size: 15px !important;
	line-height: 1.65;
	color: var(--ek-ink-muted) !important;
}

/* --- 8. "Keep exploring" link cards: arrow in a circle --- */
body.ek-refined ul.ek-links > li > a {
	padding: 18px 56px 18px 18px;
	border-radius: 16px;
}

body.ek-refined ul.ek-links > li > a::after {
	right: 16px;
	top: 50%;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	border-radius: 999px;
	background: var(--ek-brand-soft) var(--ek-arrow-purple) center / 14px no-repeat;
	-webkit-mask: none;
	mask: none;
	transition: background-color 0.2s ease, transform 0.2s var(--ek-ease);
}

body.ek-refined ul.ek-links > li > a:hover::after {
	background-color: var(--ek-brand);
	background-image: var(--ek-arrow-white);
}

:root {
	--ek-arrow-purple: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234d3280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
}

/* --- 9. Comparison fit cards: neutral vs brand --- */
body.ek-refined .wp-block-columns .is-style-ek-card:has(> ul.is-style-ek-check),
body.ek-refined .wp-block-columns .is-style-ek-card-tint:has(> ul.is-style-ek-check) {
	height: 100%;
	padding: 28px;
	border-radius: 22px;
}

body.ek-refined .wp-block-columns .is-style-ek-card-tint:has(> ul.is-style-ek-check) {
	border: 0;
	background: linear-gradient(135deg, #4d3280 0%, #5d3996 55%, #6d4bb0 100%);
	box-shadow: 0 28px 56px -32px rgba(76, 50, 128, 0.75);
}

body.ek-refined .wp-block-columns .is-style-ek-card-tint:has(> ul.is-style-ek-check) h3.wp-block-heading {
	color: #fff;
}

body.ek-refined .wp-block-columns .is-style-ek-card-tint:has(> ul.is-style-ek-check) ul.is-style-ek-check > li {
	color: #f1ebfb;
}

body.ek-refined .wp-block-columns .is-style-ek-card-tint:has(> ul.is-style-ek-check) ul.is-style-ek-check > li::before {
	background: rgba(255, 255, 255, 0.16);
}

body.ek-refined .wp-block-columns .is-style-ek-card-tint:has(> ul.is-style-ek-check) ul.is-style-ek-check > li::after {
	background: #fff;
}

body.ek-refined .wp-block-columns .is-style-ek-card:has(> ul.is-style-ek-check) ul.is-style-ek-check > li::before {
	background: #f1f5f9;
}

body.ek-refined .wp-block-columns .is-style-ek-card:has(> ul.is-style-ek-check) ul.is-style-ek-check > li::after {
	background: #475569;
}

body.ek-refined .wp-block-columns .is-style-ek-card:has(> ul.is-style-ek-check) h3.wp-block-heading,
body.ek-refined .wp-block-columns .is-style-ek-card-tint:has(> ul.is-style-ek-check) h3.wp-block-heading {
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
}

/* --- 10. Closing call to action: a gradient panel --- */
body.ek-refined .ek-close,
body.ek-refined .is-style-ek-section:has(> .wp-block-buttons):not(.ek-intent-hero) {
	position: relative;
	isolation: isolate;
	border-top: 0 !important;
	padding-top: clamp(4rem, 8vw, 6.5rem);
	padding-bottom: clamp(4rem, 8vw, 6.5rem);
}

body.ek-refined .ek-close::before,
body.ek-refined .is-style-ek-section:has(> .wp-block-buttons):not(.ek-intent-hero)::before {
	content: '';
	position: absolute;
	z-index: -1;
	left: 50%;
	top: clamp(1.25rem, 3vw, 2rem);
	bottom: clamp(1.25rem, 3vw, 2rem);
	width: min(72rem, calc(100% - 2 * clamp(1rem, 2.5vw, 2.5rem)));
	transform: translateX(-50%);
	border-radius: 28px;
	background:
		radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.14) 1px, transparent 1.6px) 0 0 / 20px 20px,
		radial-gradient(60% 80% at 85% 10%, rgba(143, 111, 209, 0.55), transparent 70%),
		linear-gradient(135deg, #3d2768 0%, #4d3280 45%, #5d3996 100%);
	box-shadow: 0 40px 80px -48px rgba(61, 39, 104, 0.85);
}

body.ek-refined .ek-close > h2.wp-block-heading,
body.ek-refined .is-style-ek-section:has(> .wp-block-buttons):not(.ek-intent-hero) > h2.wp-block-heading {
	color: #fff;
	font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
}

body.ek-refined .ek-close > p,
body.ek-refined .is-style-ek-section:has(> .wp-block-buttons):not(.ek-intent-hero) > p {
	color: #e3d9f6 !important;
}

body.ek-refined .ek-close .wp-block-button__link,
body.ek-refined .is-style-ek-section:has(> .wp-block-buttons):not(.ek-intent-hero) .wp-block-button:not(.is-style-ek-ghost):not(.ek-cta-assess) .wp-block-button__link {
	background-image: none;
	background-color: #fff !important;
	color: var(--ek-brand-deep) !important;
	border-color: #fff !important;
	box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.45);
}

body.ek-refined .ek-close .ek-cta-assess .wp-block-button__link,
body.ek-refined .is-style-ek-section:has(> .wp-block-buttons):not(.ek-intent-hero) .is-style-ek-ghost .wp-block-button__link {
	background: transparent !important;
	color: #fff !important;
	border: 2px solid rgba(255, 255, 255, 0.55) !important;
	box-shadow: none;
}

body.ek-refined .ek-close .ek-cta-assess .wp-block-button__link:hover,
body.ek-refined .is-style-ek-section:has(> .wp-block-buttons):not(.ek-intent-hero) .is-style-ek-ghost .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.1) !important;
}

/* --- 11. Prose cards (About and similar): rhythm and real bullets --- */
body.ek-refined .is-style-ek-card > h2.wp-block-heading {
	position: relative;
	padding-top: 1.5rem;
	margin-top: 1.75rem;
	border-top: 1px solid var(--ek-line-soft);
}

body.ek-refined .is-style-ek-card > h2.wp-block-heading:first-child {
	padding-top: 0;
	margin-top: 0;
	border-top: 0;
}

body.ek-refined .is-style-ek-card > ul:not([class*='is-style-']) {
	display: grid;
	gap: 10px;
	padding: 0;
	list-style: none;
}

body.ek-refined .is-style-ek-card > ul:not([class*='is-style-']) > li {
	position: relative;
	padding: 12px 14px 12px 46px;
	border-radius: 12px;
	background: var(--ek-surface);
	font-size: 15px;
	color: var(--ek-ink-soft);
}

body.ek-refined .is-style-ek-card > ul:not([class*='is-style-']) > li::before {
	content: '';
	position: absolute;
	left: 14px;
	top: 13px;
	width: 20px;
	height: 20px;
	border-radius: 999px;
	background: var(--ek-brand) var(--ek-check-white) center / 11px no-repeat;
}

/* --- 12. Markets directory (hub) --- */
.ek-markets {
	display: grid;
	gap: 16px;
	margin-top: 2rem;
}

@media (min-width: 900px) {
	.ek-markets {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}
}

.ek-markets__cat {
	padding: 24px;
	border-radius: 22px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--ek-line), 0 24px 48px -40px rgba(76, 50, 128, 0.6);
}

.ek-markets__cat header {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 14px;
	align-items: start;
}

.ek-markets__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--ek-brand), #7a55bd);
	color: #fff;
}

.ek-markets__ico svg {
	width: 22px;
	height: 22px;
}

.ek-markets__cat h3 {
	margin: 0;
	font-family: var(--ek-font-display);
	font-size: 18px;
	font-weight: 600;
	color: var(--ek-ink);
}

.ek-markets__cat header p {
	margin: 4px 0 0 !important;
	font-size: 14px !important;
	line-height: 1.5;
	color: var(--ek-ink-faint) !important;
}

.ek-markets__cat header em {
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--ek-brand-soft);
	font-size: 12px;
	font-style: normal;
	font-weight: 600;
	white-space: nowrap;
	color: var(--ek-brand-deep);
}

.ek-markets__cat ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 479px) {
	.ek-markets__cat ul {
		grid-template-columns: 1fr;
	}

	.ek-markets__cat header {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.ek-markets__cat header em {
		grid-column: 2;
		width: max-content;
	}
}

.ek-markets__cat li a,
.ek-markets__cat li > span {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 44px;
	padding: 10px 12px;
	border-radius: 12px;
	background: var(--ek-surface);
	font-size: 14px;
	font-weight: 500;
	color: var(--ek-ink-soft);
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ek-markets__cat li a svg {
	width: 14px;
	height: 14px;
	flex: 0 0 auto;
	color: var(--ek-brand);
	transition: transform 0.2s var(--ek-ease);
}

.ek-markets__cat li a:hover {
	background: var(--ek-brand);
	color: #fff;
}

.ek-markets__cat li a:hover svg {
	color: #fff;
	transform: translateX(2px);
}

/* --- 13. Related sectors (industry pages) --- */
.ek-siblings__label {
	margin: 0 !important;
	font-size: 12px !important;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ek-ink-faint) !important;
}

.ek-siblings ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.ek-siblings a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 16px;
	border-radius: 999px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--ek-line);
	font-size: 14px;
	font-weight: 500;
	color: var(--ek-ink-soft);
	text-decoration: none;
	transition: box-shadow 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.ek-siblings a:hover {
	box-shadow: inset 0 0 0 1px var(--ek-brand);
	color: var(--ek-brand-deep);
}

.ek-siblings a.is-all {
	background: var(--ek-brand);
	box-shadow: none;
	color: #fff;
}

.ek-siblings a svg {
	width: 14px;
	height: 14px;
}

/* --- Motion for the refined pieces (html.ek-motion only) --- */
html.ek-motion body.ek-refined .ek-ledger > .wp-block-columns[data-reveal] > .wp-block-column:last-child {
	opacity: 0;
	transform: translateX(14px);
	transition: opacity 0.55s ease 0.15s, transform 0.65s var(--ek-ease) 0.15s;
}

html.ek-motion body.ek-refined .ek-ledger > .wp-block-columns[data-reveal].is-revealed > .wp-block-column:last-child {
	opacity: 1;
	transform: none;
}

html.ek-motion body.ek-refined .wp-block-details[open] > :not(summary) {
	animation: ek-rise 0.35s var(--ek-ease) both;
}

html.ek-motion .ek-markets__cat {
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.5s ease, transform 0.6s var(--ek-ease);
	transition-delay: calc(var(--i, 0) * 90ms);
}

html.ek-motion .ek-markets.is-live .ek-markets__cat {
	opacity: 1;
	transform: none;
}


/* About-style hero band: clear the fixed header, keep the intro under the
   headline instead of centred in the wide column. */
body.ek-refined main > .is-style-ek-hero-band:first-child {
	padding-top: calc(var(--ek-header-h) + clamp(2.5rem, 5vw, 4rem));
	padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

body.ek-refined .is-style-ek-hero-band > p.is-style-ek-lede {
	margin-left: max(0px, calc((100% - 90rem) / 2)) !important;
	margin-right: auto !important;
	text-align: left;
}

body.ek-refined .is-style-ek-hero-band > h1.wp-block-heading {
	font-size: clamp(1.875rem, 1rem + 2.4vw, 3rem);
}

/* A number chip sitting directly in a section keeps chip width but stays on
   the 72rem column edge (inline-flex would ignore the layout's margins). */
body.ek-refined .is-layout-constrained > p.is-style-ek-num {
	display: flex;
	margin-left: max(0px, calc((100% - 72rem) / 2)) !important;
	margin-right: auto !important;
}

/* --- Sector pages: deepened sections (worked example, costing,
   go-live, further reading) --- */
p.ek-card-link {
	margin-top: 12px;
	font-size: 15px;
	font-weight: 600;
}

p.ek-card-link a {
	color: var(--ek-brand-deep);
	text-decoration: none;
}

p.ek-card-link a:hover {
	text-decoration: underline;
}

/* Two-column calculation table: label left, figure right, total row bold. */
figure.ek-calc {
	margin: 0;
	border: 1px solid var(--ek-line);
	border-radius: 16px;
	background: #fff;
	overflow: hidden;
}

figure.ek-calc table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.45;
}

figure.ek-calc th,
figure.ek-calc td {
	border: 0;
	padding: 14px 18px;
	border-bottom: 1px solid var(--ek-line-soft);
	vertical-align: top;
}

figure.ek-calc th {
	text-align: left;
	font-weight: 500;
	color: var(--ek-ink-muted);
}

figure.ek-calc td {
	text-align: right;
	font-weight: 600;
	color: var(--ek-ink);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

figure.ek-calc tr.is-total > * {
	border-bottom: 0;
	background: var(--ek-brand-veil);
	color: var(--ek-brand-deep);
	font-weight: 700;
}

@media (max-width: 479px) {
	figure.ek-calc th,
	figure.ek-calc td {
		padding: 12px 14px;
		font-size: 14px;
	}

	figure.ek-calc td {
		white-space: normal;
	}
}

/* Further reading, above the sibling-sector chips in the band. */
.ek-reading {
	margin-bottom: 28px;
}

p.ek-reading__label {
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ek-ink-faint);
}

ul.ek-reading__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
	gap: 8px 24px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

ul.ek-reading__list a {
	color: var(--ek-brand-deep);
	font-weight: 500;
	text-decoration: none;
}

ul.ek-reading__list a::after {
	content: ' →';
}

ul.ek-reading__list a:hover {
	text-decoration: underline;
}

.ek-deep .wp-block-column > p.is-style-ek-caption {
	margin-inline: 0 !important;
	text-align: left;
}

.ek-deep p.ek-card-link {
	margin-left: max(0px, calc((100% - 72rem) / 2)) !important;
}

.ek-deep .wp-block-column > p.ek-card-link {
	margin-left: 0 !important;
}

/* Sector pages: Tally / AI / QR / reports cards (2×2). */
.ek-extras > .wp-block-columns {
	margin-bottom: 20px;
}

.ek-extras > .wp-block-columns:last-child {
	margin-bottom: 0;
}

.ek-extras .is-style-ek-card {
	height: 100%;
}

.ek-extras .is-style-ek-card h3.wp-block-heading {
	margin-top: 0;
	font-size: 1.125rem;
}

/* Workflow rows whose name links to its module page (e.g. Quality Control). */
ul.is-style-ek-check > li > strong > a {
	color: var(--ek-brand-deep);
	text-decoration: underline;
	text-decoration-color: var(--ek-brand-soft);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

ul.is-style-ek-check > li > strong > a:hover,
ul.is-style-ek-check > li > strong > a:focus-visible {
	text-decoration-color: currentColor;
}
