.page-template-template-pricing .site-footer,
.page-template-template-upgrade .site-footer,
.page-template-template-billing .site-footer {
	margin-top: 0;
}

.lmb-billing {
	--lmb-billing-bg: #f5f8f7;
	--lmb-billing-panel: #ffffff;
	--lmb-billing-ink: #14211f;
	--lmb-billing-muted: #61706b;
	--lmb-billing-border: #d9e5e1;
	--lmb-billing-green: #0d5b56;
	--lmb-billing-green-dark: #083e3a;
	--lmb-billing-green-soft: #e8f3f0;
	--lmb-billing-gold: #d4a017;
	--lmb-billing-danger: #a7352a;
	--lmb-billing-shadow: 0 20px 55px rgba(8, 62, 58, 0.09);
	background: var(--lmb-billing-bg);
	color: var(--lmb-billing-ink);
	min-height: 100vh;
}

.lmb-billing a,
.lmb-billing button,
.lmb-billing input,
.lmb-billing select {
	-webkit-tap-highlight-color: transparent;
}

.lmb-billing a:focus-visible,
.lmb-billing button:focus-visible,
.lmb-billing input:focus-visible,
.lmb-billing select:focus-visible {
	outline: var(--lmb-focus-ring-width) solid rgba(var(--lmb-color-primary-rgb), 0.3);
	outline-offset: var(--lmb-focus-ring-offset);
}

.lmb-billing__hero {
	background:
		radial-gradient(circle at 80% 10%, rgba(212, 160, 23, 0.2), transparent 24rem),
		linear-gradient(135deg, var(--lmb-billing-green-dark), var(--lmb-billing-green));
	color: #ffffff;
	padding: clamp(3.75rem, 8vw, 6.5rem) var(--lmb-space-4);
}

.lmb-billing__hero-inner,
.lmb-billing__section,
.lmb-billing__cta {
	margin-inline: auto;
	max-width: var(--lmb-size-container-wide);
	width: 100%;
}

.lmb-billing__hero-inner {
	display: grid;
	gap: var(--lmb-space-4);
}

.lmb-billing__eyebrow,
.lmb-billing__plan-label {
	color: var(--lmb-billing-gold);
	font-family: var(--lmb-font-heading);
	font-size: var(--lmb-font-size-xs);
	font-weight: var(--lmb-font-weight-extrabold);
	letter-spacing: 0.12em;
	line-height: var(--lmb-leading-snug);
	margin: 0;
	text-transform: uppercase;
}

.lmb-billing__hero h1 {
	color: #ffffff;
	font-size: clamp(2.35rem, 5vw, 4.5rem);
	line-height: 1.02;
	margin: 0;
	max-width: 56rem;
}

.lmb-billing__hero p:last-child {
	color: rgba(255, 255, 255, 0.84);
	font-size: var(--lmb-font-size-lg);
	line-height: 1.75;
	margin: 0;
	max-width: 47rem;
}

.lmb-billing__section {
	padding: clamp(2.75rem, 6vw, 5rem) var(--lmb-space-4);
}

.lmb-billing__section--soft {
	background: #edf4f1;
	max-width: none;
}

.lmb-billing__section--soft > * {
	margin-inline: auto;
	max-width: var(--lmb-size-container-wide);
}

.lmb-billing__section-heading,
.lmb-billing__account-heading {
	align-items: end;
	display: flex;
	flex-wrap: wrap;
	gap: var(--lmb-space-5);
	justify-content: space-between;
	margin-bottom: var(--lmb-space-8);
}

.lmb-billing__section-heading > div:first-child,
.lmb-billing__account-heading > div:first-child {
	display: grid;
	gap: var(--lmb-space-3);
}

.lmb-billing__section-heading h2,
.lmb-billing__account-heading h2,
.lmb-billing__message-card h2 {
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	margin: 0;
}

.lmb-billing__cycle {
	background: #e4ece9;
	border: 1px solid var(--lmb-billing-border);
	border-radius: var(--lmb-radius-pill);
	display: inline-grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding: 0.25rem;
}

.lmb-billing__cycle button {
	background: transparent;
	border: 0;
	border-radius: var(--lmb-radius-pill);
	color: var(--lmb-billing-muted);
	cursor: pointer;
	font-family: var(--lmb-font-heading);
	font-size: var(--lmb-font-size-sm);
	font-weight: var(--lmb-font-weight-bold);
	min-height: 2.8rem;
	padding: 0.55rem 1rem;
}

.lmb-billing__cycle button[aria-pressed="true"] {
	background: #ffffff;
	box-shadow: 0 5px 16px rgba(20, 33, 31, 0.1);
	color: var(--lmb-billing-green-dark);
}

.lmb-billing__cycle button span {
	display: block;
	font-size: 0.65rem;
	line-height: 1.2;
}

.lmb-billing__plans {
	display: grid;
	gap: var(--lmb-space-6);
}

.lmb-billing__plan-card,
.lmb-billing__checkout-summary,
.lmb-billing__checkout-card,
.lmb-billing__message-card,
.lmb-billing__status-card,
.lmb-billing__details-card {
	background: var(--lmb-billing-panel);
	border: 1px solid var(--lmb-billing-border);
	border-radius: 1.4rem;
	box-shadow: var(--lmb-billing-shadow);
}

.lmb-billing__plan-card {
	display: grid;
	gap: var(--lmb-space-5);
	padding: clamp(1.5rem, 4vw, 2.5rem);
	position: relative;
}

.lmb-billing__plan-card--featured {
	border-color: rgba(var(--lmb-color-accent-rgb), 0.72);
}

.lmb-billing__plan-card h2,
.lmb-billing__checkout-summary h2,
.lmb-billing__status-card h3,
.lmb-billing__details-card h3 {
	margin: var(--lmb-space-2) 0 0;
}

.lmb-billing__plan-card p,
.lmb-billing__checkout-summary p,
.lmb-billing__status-card p,
.lmb-billing__message-card p,
.lmb-billing__support-note {
	color: var(--lmb-billing-muted);
	line-height: 1.7;
}

.lmb-billing__plan-card > div > p:last-child {
	margin-bottom: 0;
}

.lmb-billing__popular {
	background: #fff7dc;
	border: 1px solid #ead18b;
	border-radius: var(--lmb-radius-pill);
	color: #785b06 !important;
	font-family: var(--lmb-font-heading);
	font-size: var(--lmb-font-size-xs);
	font-weight: var(--lmb-font-weight-bold);
	justify-self: start;
	margin: 0;
	padding: 0.35rem 0.7rem;
}

.lmb-billing__price,
.lmb-billing__checkout-price {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: var(--lmb-space-2);
	margin: 0;
}

.lmb-billing__price strong,
.lmb-billing__checkout-price strong {
	color: var(--lmb-billing-green-dark);
	font-family: var(--lmb-font-heading);
	font-size: clamp(2.5rem, 7vw, 4.1rem);
	line-height: 1;
}

.lmb-billing__price span,
.lmb-billing__checkout-price span,
.lmb-billing__price-note,
.lmb-billing__plan-card small {
	color: var(--lmb-billing-muted);
	font-size: var(--lmb-font-size-sm);
}

.lmb-billing__price-note {
	margin: calc(var(--lmb-space-4) * -1) 0 0;
}

.lmb-billing__renewal-note {
	background: var(--lmb-billing-green-soft);
	border-radius: var(--lmb-radius-md);
	color: var(--lmb-billing-green-dark);
	font-size: var(--lmb-font-size-sm);
	line-height: 1.65;
	margin: 0;
	padding: var(--lmb-space-4);
}

.lmb-billing__feature-list {
	display: grid;
	gap: var(--lmb-space-3);
	list-style: none;
	margin: 0;
	padding: 0;
}

.lmb-billing__feature-list li {
	align-items: start;
	display: grid;
	gap: var(--lmb-space-3);
	grid-template-columns: 1.5rem minmax(0, 1fr);
	line-height: 1.55;
}

.lmb-billing__feature-list li > span {
	align-items: center;
	background: var(--lmb-billing-green-soft);
	border-radius: var(--lmb-radius-pill);
	color: var(--lmb-billing-green);
	display: inline-flex;
	font-size: 0.75rem;
	font-weight: var(--lmb-font-weight-extrabold);
	height: 1.5rem;
	justify-content: center;
	width: 1.5rem;
}

.lmb-billing__button,
.lmb-billing__payment-button {
	align-items: center;
	border: 1px solid transparent;
	border-radius: var(--lmb-radius-pill);
	cursor: pointer;
	display: inline-flex;
	font-family: var(--lmb-font-heading);
	font-size: var(--lmb-font-size-sm);
	font-weight: var(--lmb-font-weight-bold);
	justify-content: center;
	min-height: 3rem;
	padding: 0.8rem 1.25rem;
	text-align: center;
	text-decoration: none;
	transition: transform var(--lmb-transition-fast), box-shadow var(--lmb-transition-fast), background-color var(--lmb-transition-fast);
	width: fit-content;
}

.lmb-billing__button:hover,
.lmb-billing__button:focus-visible,
.lmb-billing__payment-button:hover,
.lmb-billing__payment-button:focus-visible {
	transform: translateY(-1px);
}

.lmb-billing__button--primary {
	background: var(--lmb-billing-green);
	box-shadow: 0 13px 28px rgba(13, 91, 86, 0.2);
	color: #ffffff;
}

.lmb-billing__button--primary:hover,
.lmb-billing__button--primary:focus-visible {
	background: var(--lmb-billing-green-dark);
	color: #ffffff;
}

.lmb-billing__button--secondary {
	background: var(--lmb-billing-green-soft);
	border-color: #c8ddd7;
	color: var(--lmb-billing-green-dark);
}

.lmb-billing__button--danger {
	background: #fff3f1;
	border-color: #f1c2bc;
	color: var(--lmb-billing-danger);
}

.lmb-billing__button--light {
	background: #ffffff;
	color: var(--lmb-billing-green-dark);
}

.lmb-billing__table-wrap {
	overflow-x: auto;
}

.lmb-billing__comparison {
	background: #ffffff;
	border: 1px solid var(--lmb-billing-border);
	border-collapse: separate;
	border-radius: 1.25rem;
	border-spacing: 0;
	overflow: hidden;
	width: 100%;
}

.lmb-billing__comparison th,
.lmb-billing__comparison td {
	border-bottom: 1px solid var(--lmb-billing-border);
	padding: var(--lmb-space-4);
	text-align: left;
}

.lmb-billing__comparison thead th {
	background: var(--lmb-billing-green-dark);
	color: #ffffff;
	font-family: var(--lmb-font-heading);
}

.lmb-billing__comparison tbody th {
	font-weight: var(--lmb-font-weight-semibold);
}

.lmb-billing__comparison tr:last-child > * {
	border-bottom: 0;
}

.lmb-billing__comparison td:last-child {
	color: var(--lmb-billing-green);
	font-weight: var(--lmb-font-weight-bold);
}

.lmb-billing__cta {
	align-items: center;
	background: var(--lmb-billing-green-dark);
	border-radius: 1.5rem 1.5rem 0 0;
	color: #ffffff;
	display: grid;
	gap: var(--lmb-space-6);
	padding: clamp(2rem, 6vw, 4rem);
}

.lmb-billing__cta h2 {
	color: #ffffff;
	font-size: clamp(1.8rem, 4vw, 3rem);
	margin: var(--lmb-space-3) 0;
}

.lmb-billing__cta p:last-child {
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.7;
	margin: 0;
	max-width: 48rem;
}

.lmb-billing__account-shell {
	max-width: 1100px;
}

.lmb-billing__message-card {
	display: grid;
	gap: var(--lmb-space-5);
	margin-inline: auto;
	max-width: 47rem;
	padding: clamp(1.5rem, 5vw, 3rem);
	text-align: center;
}

.lmb-billing__message-card > * {
	justify-self: center;
	margin-bottom: 0;
	margin-top: 0;
}

.lmb-billing__selector {
	display: grid;
	gap: var(--lmb-space-3);
	max-width: 32rem;
	text-align: left;
	width: 100%;
}

.lmb-billing__selector label {
	font-family: var(--lmb-font-heading);
	font-size: var(--lmb-font-size-sm);
	font-weight: var(--lmb-font-weight-bold);
}

.lmb-billing__selector input[type="text"],
.lmb-billing__selector select {
	background: #ffffff;
	border: 1px solid var(--lmb-billing-border);
	border-radius: var(--lmb-radius-md);
	color: var(--lmb-billing-ink);
	min-height: 3rem;
	padding: 0.7rem 2.5rem 0.7rem 0.9rem;
	width: 100%;
}

.lmb-billing__selector .lmb-billing__button {
	width: 100%;
}

.lmb-billing__selector--compact {
	grid-template-columns: minmax(12rem, 1fr) auto;
	max-width: 31rem;
}

.lmb-billing__selector--compact label {
	grid-column: 1 / -1;
}

.lmb-billing__checkout-layout,
.lmb-billing__status-grid {
	display: grid;
	gap: var(--lmb-space-6);
}

.lmb-billing__checkout-summary,
.lmb-billing__checkout-card,
.lmb-billing__status-card,
.lmb-billing__details-card {
	display: grid;
	gap: var(--lmb-space-5);
	padding: clamp(1.4rem, 4vw, 2.3rem);
}

.lmb-billing__checkout-summary > * {
	margin-bottom: 0;
	margin-top: 0;
}

.lmb-billing__checkout-card .lmb-billing__cycle {
	width: 100%;
}

.lmb-billing__checkout-card form,
.lmb-billing__account-actions form {
	margin: 0;
}

.lmb-billing__payment-button {
	border-radius: var(--lmb-radius-md);
	display: grid;
	gap: 0.15rem;
	min-height: 4.25rem;
	width: 100%;
}

.lmb-billing__payment-button span {
	font-family: var(--lmb-font-body);
	font-size: var(--lmb-font-size-xs);
	font-weight: var(--lmb-font-weight-regular);
}

.lmb-billing__payment-button--stripe {
	background: #635bff;
	color: #ffffff;
}

.lmb-billing__payment-button--paypal {
	background: #ffc439;
	color: #172c70;
}

.lmb-billing button:disabled {
	cursor: wait;
	opacity: 0.68;
}

.lmb-billing__divider {
	align-items: center;
	color: var(--lmb-billing-muted);
	display: grid;
	font-size: var(--lmb-font-size-xs);
	gap: var(--lmb-space-3);
	grid-template-columns: 1fr auto 1fr;
	text-transform: uppercase;
}

.lmb-billing__divider::before,
.lmb-billing__divider::after {
	background: var(--lmb-billing-border);
	content: "";
	height: 1px;
}

.lmb-billing__secure-note,
.lmb-billing__support-note {
	font-size: var(--lmb-font-size-sm);
	margin: 0;
	text-align: center;
}

.lmb-billing__notice {
	background: #fff8df;
	border: 1px solid #ead18b;
	border-radius: var(--lmb-radius-md);
	color: #6f5508;
	line-height: 1.55;
	padding: var(--lmb-space-3) var(--lmb-space-4);
}

.lmb-billing__notice--page {
	margin: 0 auto var(--lmb-space-6);
	max-width: 47rem;
}

.lmb-billing__notice--info {
	background: #eef6fb;
	border-color: #b9d7e8;
	color: #204f69;
}

.lmb-billing__notice--success {
	background: #e8f6ed;
	border-color: #add9bd;
	color: #17633b;
}

.lmb-billing__notice--error {
	background: #fff1ef;
	border-color: #f0c0ba;
	color: var(--lmb-billing-danger);
}

.lmb-billing__status-pill {
	background: #eef2f1;
	border-radius: var(--lmb-radius-pill);
	color: var(--lmb-billing-muted) !important;
	font-family: var(--lmb-font-heading);
	font-size: var(--lmb-font-size-xs);
	font-weight: var(--lmb-font-weight-bold);
	justify-self: start;
	line-height: 1;
	margin: 0;
	padding: 0.45rem 0.7rem;
	text-transform: uppercase;
}

.lmb-billing__status-pill--active,
.lmb-billing__status-pill--trialing {
	background: #e8f6ed;
	color: #17633b !important;
}

.lmb-billing__status-pill--past_due,
.lmb-billing__status-pill--unpaid,
.lmb-billing__status-pill--pending_review,
.lmb-billing__status-pill--pending {
	background: #fff3df;
	color: #80540a !important;
}

.lmb-billing__status-pill--cancelled,
.lmb-billing__status-pill--canceled,
.lmb-billing__status-pill--cancelling,
.lmb-billing__status-pill--payment_failed,
.lmb-billing__status-pill--suspended,
.lmb-billing__status-pill--expired,
.lmb-billing__status-pill--rejected,
.lmb-billing__status-pill--refunded {
	background: #fff1ef;
	color: var(--lmb-billing-danger) !important;
}

.lmb-billing__details-card dl {
	display: grid;
	gap: 0;
	margin: 0;
}

.lmb-billing__details-card dl > div {
	align-items: center;
	border-bottom: 1px solid var(--lmb-billing-border);
	display: flex;
	gap: var(--lmb-space-4);
	justify-content: space-between;
	padding: var(--lmb-space-3) 0;
}

.lmb-billing__details-card dl > div:last-child {
	border-bottom: 0;
}

.lmb-billing__details-card dt {
	color: var(--lmb-billing-muted);
}

.lmb-billing__details-card dd {
	font-weight: var(--lmb-font-weight-bold);
	margin: 0;
	text-align: right;
}

.lmb-billing__details-card dl > .lmb-billing__details-amount {
	background: var(--lmb-billing-green-soft);
	border: 0;
	border-radius: var(--lmb-radius-md);
	margin: var(--lmb-space-2) 0;
	padding: var(--lmb-space-4);
}

.lmb-billing__details-amount dd {
	color: var(--lmb-billing-green-dark);
	font-size: var(--lmb-font-size-lg);
}

.lmb-billing__account-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--lmb-space-3);
	margin-top: var(--lmb-space-6);
}

.lmb-billing__account-actions--paypal-pending {
	display: grid;
	gap: var(--lmb-space-5);
	margin-inline: auto;
	max-width: 32rem;
	width: 100%;
}

.lmb-billing__account-actions--paypal-pending > * {
	max-width: none;
	width: 100%;
}

.lmb-billing__selector--abandon {
	border-top: 1px solid var(--lmb-billing-border);
	padding-top: var(--lmb-space-5);
}

.lmb-billing__selector--abandon label {
	color: var(--lmb-billing-muted);
	font-family: var(--lmb-font-body);
	font-size: var(--lmb-font-size-sm);
	font-weight: var(--lmb-font-weight-regular);
	line-height: 1.55;
}

.lmb-billing__account-actions > .lmb-billing__notice {
	flex-basis: 100%;
}

.lmb-billing__account-actions + .lmb-billing__support-note {
	margin-top: var(--lmb-space-4);
}

@media (min-width: 48rem) {
	.lmb-billing__plans,
	.lmb-billing__checkout-layout,
	.lmb-billing__status-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lmb-billing__cta {
		grid-template-columns: minmax(0, 1fr) auto;
	}
}

@media (max-width: 42rem) {
	.lmb-billing__section-heading,
	.lmb-billing__account-heading {
		align-items: stretch;
		flex-direction: column;
	}

	.lmb-billing__cycle,
	.lmb-billing__button,
	.lmb-billing__account-actions form,
	.lmb-billing__account-actions button {
		width: 100%;
	}

	.lmb-billing__selector--compact {
		grid-template-columns: 1fr;
	}

	.lmb-billing__selector--compact label {
		grid-column: auto;
	}

	.lmb-billing__comparison {
		min-width: 39rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lmb-billing,
	.lmb-billing * {
		transition-delay: 0ms;
		transition-duration: 0.01ms;
	}
}
