/*test*/
.clarity-rates-wrapper .clarity-card-footer {
    display: block;
    width: 100%;
}

.clarity-rates-wrapper .clarity-footer-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}

.clarity-rates-wrapper .clarity-cta-column {
    margin-left: auto;
    flex-shrink: 0;
}

/* Stack the button beneath the legal text on mobile. */
@media (max-width: 1023px) {
    .clarity-rates-wrapper .clarity-footer-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .clarity-rates-wrapper .clarity-cta-column {
        margin-left: 0;
    }
}
/*end*/



.clarity-rates-wrapper {
	--cly-green-dark: #002b28;
	--cly-lime: #d4f900;
	--cly-grey-light: #f3f5f6;
	--cly-grey-border: #e2e6e9;
	--cly-text-dark: #12181a;
	--cly-text-muted: #5e696d;
	color: var(--cly-text-dark);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	padding: 60px 20px;
}

.clarity-rates-wrapper *,
.clarity-rates-wrapper *::before,
.clarity-rates-wrapper *::after {
	box-sizing: border-box;
}

.clarity-rates-container {
	margin: 0 auto;
	max-width: 980px;
}

.clarity-rates-header {
	margin-bottom: 30px;
	text-align: center;
}

.clarity-rates-header h2 {
	font-size: 40px;
	font-weight: 400;
	margin: 0 0 10px;
	color:#003746;
}

.clarity-rates-header h2 strong {
	font-weight: 700;
}

.clarity-rates-subtitle {
	color: #003746;
	font-size: 13px;
	margin: 0 0 18px;
}

.clarity-illustrative-pill {
	background: #fbfde5;
	border: 1px solid #e1e9a7;
	border-radius: 20px;
	display: inline-block;
	font-size: 13px;
	font-weight: 500;
	margin: 0;
	padding: 6px 18px;
}

.clarity-tabs-nav {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-bottom: 24px;
}

button.clarity-tab-btn:hover {
	background-color:#003746!important;
}

.clarity-tab-btn {
	background: var(--cly-grey-light);
	border: 0;
	border-radius: 8px;
	color: var(--cly-text-dark);
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	padding: 12px 28px;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.clarity-tab-btn.active,
.clarity-tab-btn[aria-selected="true"] {
	background-color:#003746!important;
	color: #fff;
}

.clarity-tab-btn:focus-visible,
.clarity-custom-select select:focus-visible,
.clarity-rates-wrapper a:focus-visible,
.clarity-glossary-trigger:focus-visible {
	outline: 3px solid #5b7400;
	outline-offset: 3px;
}

.clarity-mobile-select-wrap {
	display: none;
	margin-bottom: 20px;
}

.clarity-custom-select {
	position: relative;
	width: 100%;
}

.clarity-custom-select select {
	appearance: none;
	background: #003746!important;
	border: 0;
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	padding: 14px 44px 14px 20px;
	width: 100%;
}

.clarity-custom-select::after {
	color: #fff;
	content: "▾";
	pointer-events: none;
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
}

.clarity-card-box {
	background: #fff;
	border: 1px solid var(--cly-grey-border);
	border-radius: 12px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
	padding: 36px 40px;
}

.clarity-rates-wrapper .clarity-card-topbar {
    display: flex;
    width: 100%;
}

.clarity-rates-wrapper .clarity-effective-pill {
    margin-left: auto;
    align-self: flex-start;
}

.clarity-card-topbar {
	align-items: flex-start;
	display: flex;
	justify-content: space-between;
	margin-bottom: 24px;
}

.clarity-card-titles h3 {
	font-size: 24px;
	margin: 0 0 6px;
}

.clarity-card-titles p {
	color: var(--cly-text-muted);
	font-size: 15px;
	margin: 0;
}

.clarity-effective-pill {
	background: var(--cly-grey-light);
	border-radius: 6px;
	color: var(--cly-text-dark);
	font-size: 13px;
	font-weight: 500;
	margin: 0;
	padding: 6px 14px;
}
/*table*/

/* Clarity savings rates: desktop comparison table */
.clarity-rates-wrapper .clarity-rates-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 0;
    color: #062b36;
}

/* Light grey, rounded header */
.clarity-rates-wrapper .clarity-rates-table thead th {
    background: #edf1f2;
    border: 0;
    color: #062b36;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    padding: 8px 20px;
    text-align: left;
}

.clarity-rates-wrapper .clarity-rates-table thead th:first-child {
    border-radius: 9px 0 0 9px;
}

.clarity-rates-wrapper .clarity-rates-table thead th:last-child {
    border-radius: 0 9px 9px 0;
}

/* Compact rows with subtle horizontal dividers */
.clarity-rates-wrapper .clarity-rates-table tbody td {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #cbd4d8;
    color: #062b36;
    font-size: 16px;
    line-height: 1.2;
    padding: 7px 20px;
    text-align: left;
}

/* Bold term */
.clarity-rates-wrapper .clarity-rates-table tbody td:first-child {
    font-weight: 700;
}

/* Larger, bold percentage */
.clarity-rates-wrapper .clarity-rates-table tbody td.col-rate {
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}

/* Column proportions */
.clarity-rates-wrapper .clarity-rates-table th:nth-child(1),
.clarity-rates-wrapper .clarity-rates-table td:nth-child(1) {
    width: 34%;
}

.clarity-rates-wrapper .clarity-rates-table th:nth-child(2),
.clarity-rates-wrapper .clarity-rates-table td:nth-child(2) {
    width: 31%;
}

.clarity-rates-wrapper .clarity-rates-table th:nth-child(3),
.clarity-rates-wrapper .clarity-rates-table td:nth-child(3) {
    width: 35%;
}

table thead:first-child tr:first-child th {
    border-block-start: 0px solid hsla(0, 0%, 50%, .502);
}

/*end*/
.clarity-rates-table {
	border-collapse: collapse;
	margin-bottom: 24px;
	width: 100%;
}

.clarity-rates-table thead tr {
	background: var(--cly-grey-light);
}

.clarity-rates-table th {
	color: var(--cly-text-muted);
	font-size: 14px;
	font-weight: 600;
	padding: 12px 16px;
	text-align: left;
}

.clarity-rates-table td {
	border-bottom: 1px solid var(--cly-grey-border);
	font-size: 17px;
	padding: 18px 16px;
}

.clarity-rates-table td.col-rate {
	font-size: 22px;
	font-weight: 700;
}

.clarity-rates-status {
	color: var(--cly-text-muted);
	margin: 16px 0;
	text-align: center;
}

.clarity-rates-status.is-error {
	color: #8a1f11;
}

.clarity-mobile-cards-container {
	display: none;
}

.clarity-mobile-product-card {
	border: 1px solid var(--cly-grey-border);
	border-radius: 8px;
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 12px;
	padding: 16px 12px;
}

.clarity-card-metric {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.clarity-metric-lbl {
	color: var(--cly-text-muted);
	font-size: 11px;
	margin-bottom: 4px;
}

.clarity-metric-val {
	font-size: 15px;
	overflow-wrap: anywhere;
}

.clarity-metric-val.bold {
	font-weight: 700;
}

.clarity-card-footer {
	display: flex;
    justify-content: space-between;
    margin-top: 24px;
    flex-direction: column;
}

.clarity-footer-wrapper {
	display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.clarity-glossary-trigger {
	background: none;
	border: 0;
	color: var(--cly-text-dark);
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 8px;
	padding: 0;
	text-decoration: underline;
}

.clarity-glossary-popover {
	background: #eef2f4;
	border-radius: 6px;
	font-size: 13px;
	margin-bottom: 10px;
	padding: 10px 14px;
}

.clarity-glossary-popover p {
	margin: 0;
}

.clarity-indicative-note {
	color: var(--cly-text-muted);
	font-size: 13px;
	margin: 4px 0 12px;
}

.clarity-terms-links {
	font-size: 13px;
	display:flex;
}

.clarity-terms-links a,
.clarity-bottom-anchor a {
	color: var(--cly-text-dark);
	text-decoration: underline;
}

.clarity-terms-links .sep {
	color: var(--cly-text-muted);
	margin: 0 8px;
}

.clarity-btn-start {
	background-color: #DEFF00;
    color: #000000!important;
	border-radius: 26px;
	display: inline-block;
	font-size: 16px;
	font-weight: 700;
	padding: 14px 32px;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.clarity-btn-start:hover {
	transform: scale(1.04);
}

.clarity-bottom-anchor {
	margin-top: 28px;
	text-align: center;
}

.clarity-bottom-anchor a {
	font-size: 14px;
	text-decoration: none;
}

@media (max-width: 1023px) {
	.clarity-tabs-nav,
	.clarity-desktop-table-container {
		display: none;
	}

	.clarity-mobile-select-wrap,
	.clarity-mobile-cards-container:not([hidden]) {
		display: block;
	}

	.clarity-card-box {
		padding: 24px 20px;
	}

	.clarity-card-topbar {
		flex-direction: column;
		gap: 12px;
	}

	.clarity-card-footer {
		align-items: stretch;
		flex-direction: column;
		gap: 20px;
	}

	.clarity-btn-start {
		text-align: center;
		width: 100%;
	}
}

@media (min-width: 1024px) {
	.clarity-desktop-table-container:not([hidden]) {
		display: block;
	}
}

@media (max-width: 480px) {
	.clarity-rates-wrapper {
		padding: 40px 12px;
	}

	.clarity-rates-header h2 {
		font-size: 32px;
	}

	.clarity-mobile-product-card {
		gap: 6px;
		padding: 14px 8px;
	}

	.clarity-metric-val {
		font-size: 13px;
	}
	.clarity-rates-wrapper .clarity-effective-pill {
		margin-left:revert!important;	
	}
	
	.clarity-footer-wrapper {
		flex-direction:column!important;
	}
}
