.compare-heading .landing-section-title {
	margin-bottom: 0.75rem;
}

.compare-section .table-responsive {
	border-radius: 12px;
	overflow-x: auto;
	overflow-y: visible;
	box-shadow: 0 4px 24px rgba(48, 99, 227, 0.12);
}

.compare-table thead tr:first-child th:first-child {
	border-top-left-radius: 12px;
}

.compare-table thead tr:first-child th:last-child {
	border-top-right-radius: 12px;
}

.compare-table tbody tr:last-child td:first-child {
	border-bottom-left-radius: 12px;
}

.compare-table tbody tr:last-child td:last-child {
	border-bottom-right-radius: 12px;
}

.compare-table {
	margin-bottom: 0;
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	border: none;
}

.compare-table.table td,
.compare-table.table th {
	border-left: none !important;
	border-right: none !important;
}

.compare-table thead {
	background: radial-gradient(900px 420px at 22% 28%, rgba(56, 189, 248, 0.22) 0%, rgba(56, 189, 248, 0) 60%),
		radial-gradient(720px 380px at 72% 18%, rgba(168, 85, 247, 0.18) 0%, rgba(168, 85, 247, 0) 55%),
		radial-gradient(520px 320px at 62% 62%, rgba(34, 197, 94, 0.12) 0%, rgba(34, 197, 94, 0) 60%),
		linear-gradient(180deg, #05070d 0%, #0b1020 45%, #0b1020 100%);
	color: #f8fafc;
}

.compare-table thead th {
	vertical-align: middle;
	font-weight: 600;
	padding: 1.1rem 1.35rem;
	color: #f8fafc;
	border: none;
	background: transparent;
	text-align: center;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
}

.compare-table thead th:first-child {
	text-align: left;
}

.compare-table tbody td {
	vertical-align: middle;
	padding: 1.05rem 1.35rem;
	border: none;
	border-top: 1px solid #e8ecf4;
	background: #fff;
}

.compare-table .compare-feature {
	font-weight: 500;
	color: #111827;
	text-align: left;
}

.compare-table .compare-cell {
	text-align: center;
}

.compare-table .compare-cell--cubicl {
	background: #f5f8ff;
}

.compare-table .compare-cell--wrap {
	white-space: normal;
	max-width: 15rem;
}

.compare-table tr td:not(.compare-cell--cubicl) * {
	color: #c0c0c0 !important;
	font-weight: 600;
	font-size: 0.95rem;
}

.compare-cell-inner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	flex-wrap: wrap;
}

.compare-yes {
	color: #16a34a;
	font-weight: 600;
	font-size: 0.95rem;
}

.compare-yes i {
	font-size: 1.05rem;
}

.compare-yes--stack {
	flex-direction: column;
	gap: 0.25rem;
	text-align: center;
	line-height: 1.35;
}

.compare-yes--stack i {
	line-height: 1;
}

.compare-warn {
	color: #ea580c;
	font-weight: 600;
	font-size: 0.95rem;
}

.compare-footnote {
	margin-top: 1rem;
	margin-bottom: 0;
	max-width: 48rem;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.compare-monkedo-wrap {
	top: -0.2em;
	margin-left: 0.1em;
}

.compare-monkedo-ref {
	position: relative;
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	font: inherit;
	font-weight: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
	cursor: help;
	text-decoration: underline;
	text-decoration-style: dotted;
	text-underline-offset: 0.15em;
	vertical-align: baseline;
}

.compare-monkedo-ref:focus {
	outline: 2px solid #0071e3;
	outline-offset: 2px;
}

.compare-monkedo-ref:focus:not(:focus-visible) {
	outline: none;
}

.compare-monkedo-ref::after {
	content: attr(data-tooltip);
	position: absolute;
	left: 50%;
	bottom: calc(100% + 10px);
	transform: translateX(-50%);
	min-width: 12rem;
	max-width: min(18rem, calc(100vw - 2rem));
	padding: 0.65rem 0.85rem;
	background: #111827;
	color: #f8fafc;
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.45;
	text-align: left;
	text-decoration: none;
	white-space: normal;
	border-radius: 8px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.22);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	z-index: 1090;
	transition: opacity 0.12s ease, visibility 0.12s ease;
}

.compare-monkedo-ref:hover::after,
.compare-monkedo-ref:focus-visible::after {
	opacity: 1;
	visibility: visible;
}

.compare-pain-heading {
	margin-bottom: 2rem;
	max-width: 40rem;
	margin-left: auto;
	margin-right: auto;
}

.compare-pain-grid {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.compare-pain-row--3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.compare-pain-row--2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	max-width: 52rem;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.compare-pain-card {
	height: 100%;
}

.compare-pain-card-inner {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	padding: 1rem 1.1rem;
}

.compare-pain-icon {
	flex-shrink: 0;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 8px;
	background: #efefef;
	color: #0071e3;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
}

.compare-pain-body {
	flex: 1;
	min-width: 0;
}

.compare-pain-title {
	font-size: 1rem !important;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #0f172a;
	margin: 0 0 0.35rem;
	line-height: 1.25;
}

.compare-pain-text {
	font-size: 0.8rem !important;
	line-height: 1.5;
	color: #6b7280;
	margin: 0;
}

@media (max-width: 991.98px) {
	.compare-pain-row--3 {
		grid-template-columns: 1fr;
	}

	.compare-pain-row--2 {
		grid-template-columns: 1fr;
		max-width: none;
	}

	/* Compare pages: narrow horizontal padding on tablet/mobile (landing-section defaults are wide) */
	.compare-pain-section.landing-section {
		padding: 2.85rem 1.25rem !important;
	}

	.compare-section.landing-section {
		padding: 2.85rem 1rem !important;
	}

	.compare-section + .landing-section.landing-block-blue.text-center {
		padding: 2.65rem 1.25rem !important;
	}

	.compare-heading .landing-section-title {
		font-size: clamp(1.45rem, 3.6vw, 1.85rem);
		line-height: 1.2;
	}

	.compare-heading .lead {
		font-size: 1rem;
		line-height: 1.55;
		padding-left: 0.35rem;
		padding-right: 0.35rem;
		margin-bottom: 0;
	}

	.compare-section .table-responsive {
		margin-left: -0.25rem;
		margin-right: -0.25rem;
		padding-bottom: 0.35rem;
		-webkit-overflow-scrolling: touch;
		scroll-padding-inline: 0.5rem;
	}

	.compare-table {
		min-width: 28rem;
	}

	/* Keep feature labels visible while scrolling horizontally */
	.compare-table thead th:first-child {
		position: sticky;
		left: 0;
		z-index: 5;
		min-width: 10.5rem;
		max-width: 12.5rem;
		box-shadow: 6px 0 14px rgba(15, 23, 42, 0.18);
		background: linear-gradient(180deg, #05070d 0%, #0b1020 55%, #0b1020 100%);
	}

	.compare-table tbody td.compare-feature {
		position: sticky;
		left: 0;
		z-index: 3;
		min-width: 10.5rem;
		max-width: 12.5rem;
		box-shadow: 6px 0 14px rgba(15, 23, 42, 0.06);
		background: #fff !important;
	}

	.compare-table .compare-cell--wrap {
		max-width: none;
		min-width: 7.5rem;
	}

	.compare-section .landing-hero-actions {
		justify-content: center;
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}

	.compare-section + .landing-section.landing-block-blue.text-center .landing-section-title {
		font-size: clamp(1.38rem, 4vw, 1.85rem);
		line-height: 1.22;
	}

	.compare-section + .landing-section.landing-block-blue.text-center p {
		font-size: 1rem;
		line-height: 1.62;
		max-width: 36rem;
		margin-left: auto;
		margin-right: auto;
	}
}

@media (max-width: 575.98px) {
	.compare-table thead th,
	.compare-table tbody td {
		padding: 0.75rem 0.55rem;
		font-size: 0.8125rem;
	}

	.compare-table thead th img {
		max-width: 52px;
		width: 52px;
		height: auto;
	}

	.compare-yes,
	.compare-no {
		font-size: 0.78rem;
	}

	.compare-warn {
		font-size: 0.74rem;
	}

	.compare-pain-heading {
		margin-bottom: 1.35rem;
		font-size: clamp(1.35rem, 5vw, 1.65rem) !important;
		line-height: 1.22 !important;
		padding-left: 0.25rem;
		padding-right: 0.25rem;
	}

	.compare-pain-section.landing-section {
		padding: 2.35rem 1rem !important;
	}

	.compare-pain-grid {
		gap: 0.85rem;
	}

	.compare-pain-card-inner {
		padding: 1rem 1rem;
		align-items: flex-start;
		border-radius: 14px;
		border: 1px solid rgba(148, 163, 184, 0.35);
		background: #fff;
		box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
	}

	.compare-pain-icon {
		width: 2.5rem;
		height: 2.5rem;
		font-size: 1.35rem;
	}

	.compare-pain-title {
		font-size: 0.94rem !important;
	}

	.compare-pain-text {
		font-size: 0.8rem !important;
		line-height: 1.52;
	}

	.compare-section.landing-section {
		padding: 2.35rem 0.85rem !important;
	}

	.compare-heading .lead {
		font-size: 0.92rem;
	}

	.compare-section .table-responsive {
		margin-left: -0.35rem;
		margin-right: -0.35rem;
		border-radius: 10px;
	}

	.compare-table {
		min-width: 26.5rem;
	}

	.compare-table thead th:first-child,
	.compare-table tbody td.compare-feature {
		min-width: 9.25rem;
		max-width: 11rem;
	}

	.compare-section + .landing-section.landing-block-blue.text-center {
		padding: 2.15rem 1rem !important;
	}

	.compare-section + .landing-section.landing-block-blue.text-center .landing-section-title {
		font-size: clamp(1.28rem, 5.2vw, 1.55rem);
	}

	.compare-section + .landing-section.landing-block-blue.text-center p {
		font-size: 0.92rem;
		line-height: 1.58;
		padding-left: 0.15rem;
		padding-right: 0.15rem;
	}

	.compare-monkedo-ref::after {
		left: 0;
		right: auto;
		transform: none;
		max-width: calc(100vw - 2.5rem);
	}
}

/* Compare page feature rows: slightly larger copy next to screenshots */
.landing-section.d-flex.landing-block-blue .landing-section-label {
	font-size: 0.92rem;
	letter-spacing: 0.14em;
}

.landing-section.d-flex.landing-block-blue .landing-section-title {
	font-size: 2.12rem;
}

.landing-section.d-flex.landing-block-blue > [class*='col-'] > p {
	font-size: 1.08rem;
	line-height: 1.58;
}

.landing-section .screenshot {
	max-width: 740px !important;
}
