.cwb-pricing__status {
	margin: 0 0 24px;
	padding: 14px 18px;
	border-radius: 8px;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
}

.cwb-pricing__status--error {
	background: #fef2f2;
	border-color: #fecaca;
	color: #991b1b;
}

.cwb-pricing__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
}

.cwb-pricing__card {
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 28px 24px;
	background: #fff;
	display: flex;
	flex-direction: column;
}

.cwb-pricing__name {
	margin: 0 0 8px;
	font-size: 1.1rem;
}

.cwb-pricing__desc {
	margin: 0 0 16px;
	color: #6b7280;
}

.cwb-pricing__price {
	margin-bottom: 16px;
}

.cwb-pricing__amount {
	font-size: 2rem;
	font-weight: 700;
}

.cwb-pricing__interval {
	color: #6b7280;
}

.cwb-pricing__limit {
	margin: 0 0 16px;
	color: #6b7280;
}

.cwb-pricing__features {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	flex: 1;
}

.cwb-pricing__features li {
	padding: 6px 0;
	border-top: 1px solid #f3f4f6;
}

.cwb-pricing__features li:first-child {
	border-top: none;
}

.cwb-pricing__button {
	padding: 10px 16px;
	border-radius: 6px;
	border: none;
	background: #2a78d6;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.cwb-pricing__button:disabled {
	opacity: 0.6;
	cursor: default;
}

.cwb-pricing__button--small {
	padding: 6px 12px;
	font-size: 0.85rem;
}

.cwb-signup {
	margin-top: 32px;
	max-width: 420px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 24px;
	background: #fff;
}

.cwb-signup__plan {
	margin: 0;
}

.cwb-signup label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-weight: 600;
}

.cwb-signup input[type="text"],
.cwb-signup input[type="email"] {
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-weight: 400;
}

.cwb-signup__subdomain-row {
	display: flex;
	align-items: center;
	gap: 6px;
}

.cwb-signup__subdomain-row input {
	flex: 1;
}

#cwb-signup-subdomain-preview {
	color: #6b7280;
	white-space: nowrap;
}

.cwb-signup__own-domain-toggle {
	flex-direction: row !important;
	align-items: center;
	gap: 8px !important;
	font-weight: 500 !important;
}

.cwb-signup__own-domain-toggle input[type="checkbox"] {
	width: auto;
}

.cwb-signup__own-domain {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #f9fafb;
}

.cwb-signup__own-domain-hint {
	margin: 0;
	font-size: 0.85rem;
	font-weight: 400;
	color: #6b7280;
}

.cwb-custom-domain {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.cwb-custom-domain__status {
	margin: 0 0 10px;
}

.cwb-custom-domain__status code {
	font-weight: 700;
	background: rgba(0, 0, 0, 0.06);
	padding: 2px 6px;
	border-radius: 4px;
}

.cwb-signup__hp {
	/* Genuinely display:none, not the usual visually-hidden clip-rect trick -
	   that trick keeps the field in the DOM and rendered (just off-screen),
	   which browser/password-manager autofill still finds and fills,
	   tripping the honeypot for real users. display:none is invisible to
	   both autofill and screen readers, and just as invisible to the actual
	   threat here (naive bots that scrape raw HTML/POST without rendering
	   CSS at all). */
	display: none !important;
}

@media (prefers-color-scheme: dark) {
	.cwb-pricing__card,
	.cwb-signup {
		background: #1f2937;
		border-color: #374151;
	}

	.cwb-pricing__features li {
		border-top-color: #374151;
	}

	.cwb-pricing__interval,
	.cwb-pricing__limit,
	.cwb-pricing__desc,
	#cwb-signup-subdomain-preview {
		color: #9ca3af;
	}

	.cwb-signup__own-domain {
		background: #111827;
		border-color: #374151;
	}

	.cwb-signup__own-domain-hint {
		color: #9ca3af;
	}

	.cwb-custom-domain {
		border-top-color: rgba(255, 255, 255, 0.1);
	}

	.cwb-custom-domain__status code {
		background: rgba(255, 255, 255, 0.1);
	}
}
