/* Bloom comparison table. Scoped to .bloom-compare only. */

.bloom-compare {
	padding: clamp(56px, 8vw, 104px) 0;
}

.bloom-compare__head {
	max-width: 68ch;
	margin-bottom: clamp(24px, 4vw, 40px);
}

.bloom-compare__eyebrow {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bloom-accent, #3f7d5a);
}

.bloom-compare__title {
	margin: 0 0 16px;
	font-size: clamp(26px, 3.4vw, 40px);
	line-height: 1.16;
	letter-spacing: -0.02em;
	color: var(--bloom-ink, #14211a);
}

.bloom-compare__lede {
	margin: 0;
	font-size: clamp(15px, 1.5vw, 17px);
	line-height: 1.65;
	color: var(--bloom-ink-soft, #3d4a42);
}

/* Horizontal scroll keeps the table readable on narrow phones without clipping. */
.bloom-compare__table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--bloom-line, #d8ded6);
	border-radius: 18px;
	background: var(--bloom-surface, #ffffff);
}

.bloom-compare__table-wrap:focus-visible {
	outline: 3px solid var(--bloom-accent, #3f7d5a);
	outline-offset: 3px;
}

.bloom-compare__table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.55;
}

.bloom-compare__caption {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.bloom-compare__table thead th {
	padding: 16px 18px;
	text-align: left;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--bloom-ink-soft, #3d4a42);
	border-bottom: 1px solid var(--bloom-line, #d8ded6);
	white-space: nowrap;
}

.bloom-compare__table thead th.bloom-compare__ours {
	color: var(--bloom-accent, #3f7d5a);
}

.bloom-compare__table tbody th,
.bloom-compare__table tbody td {
	padding: 16px 18px;
	vertical-align: top;
	text-align: left;
	border-bottom: 1px solid var(--bloom-line, #d8ded6);
}

.bloom-compare__table tbody tr:last-child th,
.bloom-compare__table tbody tr:last-child td {
	border-bottom: 0;
}

.bloom-compare__table tbody th {
	font-weight: 650;
	color: var(--bloom-ink, #14211a);
	width: 26%;
}

.bloom-compare__table tbody td.bloom-compare__ours {
	width: 37%;
	color: var(--bloom-ink, #14211a);
	background: var(--bloom-tint, #f3f8f2);
}

.bloom-compare__table tbody td.bloom-compare__theirs {
	width: 37%;
	color: var(--bloom-ink-soft, #4a554d);
}

.bloom-compare__reasons-wrap {
	margin-top: clamp(28px, 4vw, 44px);
}

.bloom-compare__reasons-title {
	margin: 0 0 18px;
	font-size: clamp(18px, 2vw, 22px);
	letter-spacing: -0.01em;
	color: var(--bloom-ink, #14211a);
}

.bloom-compare__reasons {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.bloom-compare__reason {
	padding: 20px 22px;
	border: 1px solid var(--bloom-line, #d8ded6);
	border-radius: 16px;
	background: var(--bloom-surface, #ffffff);
}

.bloom-compare__reason-title {
	margin: 0 0 8px;
	font-size: 16px;
	line-height: 1.3;
	color: var(--bloom-ink, #14211a);
}

.bloom-compare__reason-text {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--bloom-ink-soft, #3d4a42);
}

.bloom-compare__footnote {
	margin: 22px 0 0;
	max-width: 80ch;
	font-size: 13px;
	line-height: 1.6;
	color: var(--bloom-ink-soft, #5a6560);
}

@media (max-width: 480px) {
	.bloom-compare__table {
		font-size: 14px;
	}

	.bloom-compare__table thead th,
	.bloom-compare__table tbody th,
	.bloom-compare__table tbody td {
		padding: 13px 14px;
	}
}
