/* WorkNXL case study (application/views/case_study/worknxl_view.php) */
.wx {
	--wx-ink: #10153d;
	--wx-navy: #151b4f;
	--wx-brand: #232a7a;
	--wx-accent: #5b6cf0;
	--wx-soft: #e8ebfc;
	--wx-tint: #f5f6fa;
	--wx-tile: #f1f2f6;
	--wx-line: #e3e5ee;
	--wx-text: #1d2135;
	--wx-muted: #575c74;
	--wx-radius: 16px;
	--wx-head: "Montserrat", sans-serif;
	--wx-grad: linear-gradient(110deg, #141a4f 0%, #1f2770 55%, #2e3b9c 100%);
	background: #fff;
	color: var(--wx-text) !important;
	font-size: 16px !important;
	line-height: 1.6;
}
.wx *,
.wx *::before,
.wx *::after {
	box-sizing: border-box;
}
.wx h1,
.wx h2,
.wx h3,
.wx h4,
.wx p,
.wx ul,
.wx ol,
.wx dl,
.wx dd,
.wx blockquote,
.wx figure {
	margin: 0;
	padding: 0;
	letter-spacing: normal;
	text-transform: none;
}
.wx h1,
.wx h2,
.wx h3,
.wx h4 {
	font-family: var(--wx-head);
	color: var(--wx-ink) !important;
	line-height: 1.2;
}
/* the theme forces p { color, font-size, letter-spacing !important }; :where() keeps this override at element specificity */
:where(.wx) p {
	color: inherit !important;
	font-size: inherit !important;
	letter-spacing: inherit !important;
}
.wx ul,
.wx ol {
	list-style: none;
}
.wx a {
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.wx a:focus-visible,
.wx button:focus-visible,
.wx summary:focus-visible {
	outline: 2px solid var(--wx-accent);
	outline-offset: 3px;
}
.wx svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ---------- shared ---------- */
.wx-section {
	padding: 80px 0;
	background: #fff;
}
.wx-section--tint {
	background: var(--wx-tint);
}
.wx-section--flush-top {
	padding-top: 56px;
}
.wx-eyebrow {
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase !important;
	color: var(--wx-brand) !important;
	margin-bottom: 8px !important;
}
.wx-h2 {
	font-size: clamp(24px, 2.4vw, 30px) !important;
	font-weight: 600 !important;
	margin-bottom: 0 !important;
}
.wx-body {
	color: var(--wx-text) !important;
	font-size: 16px !important;
	line-height: 1.75;
}
.wx-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.wx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 26px;
	border-radius: 999px;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.2;
	border: 1.5px solid transparent;
	cursor: pointer;
}
.wx-btn--light {
	background: #fff;
	color: var(--wx-brand) !important;
}
.wx-btn--light:hover {
	background: var(--wx-soft);
}
.wx-btn--ghost {
	border-color: rgba(255, 255, 255, 0.55);
	color: #fff !important;
}
.wx-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: #fff;
}

/* ---------- hero ---------- */
.wx-hero {
	position: relative;
	padding: 175px 0 124px;
	background: linear-gradient(160deg, #1a1f63 0%, #1f2a7e 55%, #2e3fa6 100%);
	color: #fff !important;
	overflow: hidden;
}
.wx-hero__grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 48px;
	align-items: center;
}
.wx-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}
.wx-pill {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff !important;
}
.wx-pill--solid {
	background: #fff;
	border-color: #fff;
	color: var(--wx-brand) !important;
}
.wx .wx-hero h1 {
	color: #fff !important;
	font-size: clamp(26px, 2.6vw, 34px) !important;
	font-weight: 600 !important;
	line-height: 1.25;
	margin-bottom: 18px;
}
.wx-hero__lead {
	color: rgba(255, 255, 255, 0.86) !important;
	font-size: 16px !important;
	line-height: 1.7;
	max-width: 600px;
	margin-bottom: 28px !important;
}
.wx-hero__media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
	box-shadow: 0 24px 50px rgba(5, 8, 40, 0.35);
}

/* ---------- facts card ---------- */
.wx-facts-wrap {
	position: relative;
	z-index: 2;
	margin-top: -84px;
	background: linear-gradient(to bottom, transparent 84px, var(--wx-tint) 84px);
}
.wx-facts {
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 20px 50px rgba(16, 21, 61, 0.12);
	overflow: hidden;
}
.wx-facts__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	border-bottom: 1px solid var(--wx-line);
}
.wx-facts__row > div {
	padding: 22px 24px;
	border-right: 1px solid var(--wx-line);
	margin-right: -1px;
}
.wx-facts__row dt {
	font-size: 12px !important;
	font-weight: 500 !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wx-muted) !important;
	margin-bottom: 8px;
}
.wx-facts__row dd {
	font-weight: 600 !important;
	font-size: 16px !important;
	color: var(--wx-ink) !important;
	line-height: 1.45;
}
.wx-glance {
	padding: 30px 32px 34px;
}
.wx-glance h2 {
	font-size: 20px !important;
	font-weight: 600 !important;
	margin-bottom: 22px !important;
}
.wx-glance ol {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px 40px;
	counter-reset: glance;
}
.wx-glance li {
	position: relative;
	padding-left: 38px;
	font-size: 15px !important;
	line-height: 1.65;
	color: var(--wx-text) !important;
	counter-increment: glance;
}
.wx-glance li::before {
	content: counter(glance);
	position: absolute;
	left: 0;
	top: 0;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--wx-soft);
	color: var(--wx-brand) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 26px;
	text-align: center;
}
.wx-glance b {
	color: var(--wx-ink) !important;
}

/* ---------- challenge ---------- */
.wx-challenge {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px 64px;
	align-items: start;
}
.wx-challenge .wx-body {
	margin: 22px 0 32px !important;
}
.wx-challenge__img {
	background: #fff;
	border-radius: 18px;
	padding: 24px;
}
.wx-challenge__img img {
	display: block;
	width: 100%;
	height: auto;
}
.wx-grid2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px 32px;
	padding-top: 28px;
}
.wx-num {
	display: block;
	font-family: var(--wx-head);
	font-size: 14px !important;
	font-weight: 700 !important;
	color: var(--wx-accent) !important;
	margin-bottom: 10px;
}
.wx-point h3 {
	font-size: 17px !important;
	font-weight: 600 !important;
	line-height: 1.5;
	margin-bottom: 8px !important;
}
.wx-point p {
	font-size: 15px !important;
	color: var(--wx-muted) !important;
	line-height: 1.7;
}

/* ---------- approach: step picker ---------- */
.wx-approach .wx-body {
	max-width: 900px;
	margin-top: 22px !important;
}
.wx-steps {
	display: grid !important;
	grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
	gap: 14px !important;
	margin-top: 40px !important;
}
.wx-step {
	position: relative !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	width: 100% !important;
	padding: 20px 12px 22px !important;
	background: #fff !important;
	border: 2px solid transparent !important;
	border-radius: 14px !important;
	box-shadow: 0 6px 22px rgba(16, 21, 61, 0.07) !important;
	font: inherit !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	line-height: 1.3 !important;
	color: var(--wx-ink) !important;
	text-align: center !important;
	cursor: pointer !important;
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s !important;
}
.wx-step:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(16, 21, 61, 0.11) !important;
}
.wx-step.is-active {
	border-color: var(--wx-brand) !important;
}
.wx-step img {
	display: block;
	width: 100%;
	max-width: 150px;
	height: auto;
	margin: 6px auto 14px;
}
.wx-step__tag {
	position: absolute;
	top: 12px;
	right: 12px;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--wx-tile);
	color: var(--wx-muted) !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	line-height: 1.4;
}
.wx-step__tag--ai {
	background: var(--wx-brand);
	color: #fff !important;
}
.wx-step__n {
	display: block;
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wx-accent) !important;
	margin-bottom: 6px;
}
.wx-step__name {
	display: block;
	font-family: var(--wx-head);
	font-size: 16px !important;
	font-weight: 700 !important;
}
.wx-stage {
	margin-top: 16px;
	padding: 36px 40px 40px;
	background: #fff;
	border: 1px solid var(--wx-line);
	border-radius: 20px;
}
.wx-stage h3 {
	font-size: 20px !important;
	font-weight: 700 !important;
	margin-bottom: 24px !important;
}
.wx-compare {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
.wx-compare > div {
	padding: 26px 28px 28px;
	border-radius: 14px;
	background: var(--wx-tile);
}
.wx-compare .wx-compare__after {
	background: var(--wx-soft);
}
.wx-compare span {
	display: block;
	font-size: 12px !important;
	font-weight: 500 !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wx-muted) !important;
	margin-bottom: 10px;
}
.wx-compare .wx-compare__after span {
	font-weight: 700 !important;
	color: var(--wx-brand) !important;
}
.wx-compare p {
	font-size: 16px !important;
	line-height: 1.65;
	color: var(--wx-text) !important;
}

/* ---------- free tool ---------- */
.wx-tool {
	background: var(--wx-navy);
	color: rgba(255, 255, 255, 0.85) !important;
}
.wx-tool__inner {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}
.wx-tool .wx-eyebrow {
	color: #9aa6ff !important;
}
.wx .wx-tool h2 {
	color: #fff !important;
}
.wx-tool .wx-body {
	color: rgba(255, 255, 255, 0.85) !important;
	margin: 22px 0 32px !important;
}
/* ---------- results ---------- */
.wx-results {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 28px 24px;
	margin-top: 28px;
	padding: 40px 44px;
	border-radius: 26px;
	background: var(--wx-grad);
	color: #fff !important;
}
.wx-results b {
	display: block;
	font-family: var(--wx-head);
	font-size: clamp(30px, 3vw, 40px) !important;
	font-weight: 700 !important;
	line-height: 1.1;
	margin-bottom: 10px;
}
.wx-results span {
	display: block;
	font-size: 15px !important;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85) !important;
}

/* ---------- testimonial / used by ---------- */
.wx .wx-quote {
	margin: 0 auto !important;
	padding: 48px 52px 44px;
	background: #fff;
	border: 1px solid var(--wx-line);
	border-radius: 28px;
}
.wx-quote__mark {
	display: block;
	font-family: Georgia, serif;
	font-size: 64px !important;
	font-weight: 700;
	line-height: 0.6;
	color: var(--wx-accent) !important;
	margin: 16px 0 20px;
}
.wx .wx-quote__title {
	font-family: var(--wx-head);
	color: var(--wx-ink) !important;
	font-size: clamp(20px, 2vw, 24px) !important;
	font-weight: 600 !important;
	line-height: 1.35;
	margin-bottom: 16px !important;
}
.wx-quote blockquote p:not(.wx-quote__title) {
	color: var(--wx-muted) !important;
	font-size: 16px !important;
	line-height: 1.75;
}
.wx-quote figcaption {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 28px;
}
.wx-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--wx-soft);
	color: var(--wx-brand) !important;
	font-size: 15px !important;
	font-weight: 700 !important;
}
.wx-quote figcaption b,
.wx-quote figcaption small {
	display: block;
}
.wx-quote figcaption b {
	color: var(--wx-ink) !important;
	font-size: 16px !important;
}
.wx-quote figcaption small {
	color: var(--wx-muted) !important;
	font-size: 14px !important;
}
.wx-usedby {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 36px;
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid var(--wx-line);
}
.wx .wx-quote--plain {
	padding: 32px 40px;
}
.wx-quote--plain .wx-usedby {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}
.wx-usedby span {
	font-size: 12px !important;
	font-weight: 500 !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wx-muted) !important;
}
.wx-usedby ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 36px;
}
.wx-usedby li {
	font-size: 16px !important;
	font-weight: 600 !important;
	color: #6a6f8a !important;
}

/* ---------- tech stack ---------- */
.wx-stack {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 20px;
	margin-top: 32px;
}
.wx-card {
	background: #fff;
	border: 1px solid var(--wx-line);
	border-radius: var(--wx-radius);
	padding: 28px 22px 30px;
}
.wx-card small {
	display: block;
	font-size: 13px !important;
	font-weight: 500 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wx-muted) !important;
	margin-bottom: 12px;
}
.wx-card h3 {
	font-family: inherit;
	font-size: 18px !important;
	font-weight: 600 !important;
	margin-bottom: 10px !important;
}
.wx-card p {
	font-size: 15px !important;
	line-height: 1.7;
	color: var(--wx-muted) !important;
}
.wx-related {
	margin-top: 28px !important;
	font-size: 16px !important;
	color: var(--wx-muted) !important;
}
.wx-related a {
	color: var(--wx-brand) !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.wx-related a:hover {
	color: var(--wx-accent) !important;
}

/* ---------- what we learned ---------- */
.wx-learned {
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
}
.wx-learned .wx-body {
	margin-top: 20px !important;
	font-size: 16px !important;
}

/* ---------- FAQ ---------- */
.wx-faq {
	max-width: 900px;
	margin: 0 auto;
}
.wx-faq .wx-h2 {
	margin-bottom: 24px !important;
}
.wx-faq__item {
	border-bottom: 1px solid var(--wx-line);
}
.wx-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 0;
	cursor: pointer;
	list-style: none;
}
.wx-faq__item summary::-webkit-details-marker {
	display: none;
}
.wx .wx-faq__item h3 {
	font-family: inherit;
	font-size: 17px !important;
	font-weight: 600 !important;
	line-height: 1.45;
}
.wx-faq__item summary svg {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	color: var(--wx-brand);
	transition: transform 0.2s;
}
.wx-faq__item[open] summary svg {
	transform: rotate(180deg);
}
.wx-faq__item > p {
	padding: 0 0 22px;
	font-size: 16px !important;
	line-height: 1.75;
	color: var(--wx-muted) !important;
}

/* ---------- CTA ---------- */
.wx-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding: 48px 48px;
	border-radius: 24px;
	background: var(--wx-grad);
}
.wx .wx-cta h2 {
	color: #fff !important;
	font-size: clamp(22px, 2.4vw, 30px) !important;
	font-weight: 600 !important;
	line-height: 1.3;
	margin-bottom: 10px !important;
}
.wx-cta p {
	color: rgba(255, 255, 255, 0.85) !important;
	font-size: 16px !important;
	max-width: 600px;
}
.wx-cta .wx-btns {
	flex: 0 0 auto;
}

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
	.wx-steps {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
	.wx-stack {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@media (max-width: 991px) {
	.wx-section {
		padding: 64px 0;
	}
	.wx-hero {
		padding: 165px 0 130px;
	}
	.wx-hero__grid,
	.wx-challenge {
		grid-template-columns: 1fr;
	}
	.wx-hero__media {
		max-width: 620px;
	}
	.wx-grid2 {
		padding-top: 0;
	}
	.wx-glance ol {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.wx-cta {
		flex-direction: column;
		align-items: flex-start;
		padding: 48px 40px;
	}
}
@media (max-width: 767px) {
	.wx-section {
		padding: 48px 0;
	}
	.wx-section--flush-top {
		padding-top: 48px;
	}
	.wx-hero {
		padding: 150px 0 120px;
	}
	.wx-hero__lead {
		font-size: 16px !important;
	}
	.wx-stack {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.wx-glance {
		padding: 26px 22px 28px;
	}
	.wx-glance ol {
		grid-template-columns: 1fr;
	}
	/* steps become a horizontal strip on phones */
	.wx-steps {
		display: flex !important;
		overflow-x: auto !important;
		scroll-snap-type: x mandatory;
		scrollbar-width: none !important;
		padding: 4px 4px 12px !important;
		margin: 28px -4px 0 !important;
	}
	.wx-steps::-webkit-scrollbar {
		display: none !important;
	}
	.wx-step {
		flex: 0 0 150px !important;
		scroll-snap-align: start;
	}
	.wx-stage {
		padding: 26px 20px 22px;
	}
	.wx-stage h3 {
		font-size: 19px !important;
	}
	.wx-compare {
		grid-template-columns: 1fr;
	}
	.wx-compare > div {
		padding: 20px;
	}
	.wx-results {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 36px 26px;
		border-radius: 20px;
	}
	.wx .wx-quote {
		padding: 36px 24px 32px;
		border-radius: 20px;
	}
	.wx-quote__mark {
		margin-top: 12px;
	}
	.wx-faq__item summary {
		padding: 20px 0;
	}
	.wx .wx-faq__item h3 {
		font-size: 16px !important;
	}
	.wx-learned .wx-body {
		font-size: 15px !important;
	}
	.wx-cta {
		padding: 36px 24px;
		border-radius: 20px;
	}
	.wx-cta p {
		font-size: 16px !important;
	}
}
@media (max-width: 479px) {
	.wx-grid2,
	.wx-stack,
	.wx-results {
		grid-template-columns: 1fr;
	}
	.wx-facts__row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.wx-facts__row > div {
		padding: 16px;
		border-bottom: 1px solid var(--wx-line);
		margin-bottom: -1px;
	}
	.wx-facts__row > div:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
	.wx-btns,
	.wx-btn {
		width: 100%;
	}
	.wx-cta .wx-btns {
		width: 100%;
	}
}
