/* Pricing page styles. */

.kz-pricing {
	max-width: 56rem;
	margin: 0 auto;
	padding: 1.5rem 1rem 3rem;
}

.kz-pricing__hero {
	text-align: center;
	margin-bottom: 2rem;
}

.kz-pricing__headline {
	margin: 0 0 0.5rem;
	font-family: var(--wp--preset--font-family--heading, Nunito, system-ui, sans-serif);
	font-size: clamp(1.75rem, 5vw, 2.5rem);
	font-weight: 800;
	line-height: 1.2;
	color: var(--wp--preset--color--contrast, #2a3544);
}

.kz-pricing__subheadline {
	margin: 0;
	font-size: 1.1rem;
	color: var(--wp--preset--color--contrast-muted, #7a8799);
}

.kz-pricing__table-wrap {
	overflow-x: auto;
	margin-bottom: 2.5rem;
}

.kz-pricing__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.kz-pricing__th,
.kz-pricing__td {
	padding: 0.75rem 1rem;
	text-align: center;
	border-bottom: 1px solid rgba(42, 53, 68, 0.1);
}

.kz-pricing__th--feature,
.kz-pricing__td--feature {
	text-align: left;
	font-weight: 600;
	color: var(--wp--preset--color--contrast, #2a3544);
}

.kz-pricing__th {
	font-size: 0.85rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--wp--preset--color--contrast-muted, #7a8799);
	background: #f8fafc;
}

.kz-pricing__th.is-current,
.kz-pricing__td.is-current {
	background: rgba(91, 154, 232, 0.08);
}

.kz-pricing__th--premium {
	color: var(--wp--preset--color--primary, #5b9ae8);
}

.kz-pricing__check {
	color: #22c55e;
	font-weight: bold;
	font-size: 1.1rem;
}

.kz-pricing__dash {
	color: var(--wp--preset--color--contrast-muted, #7a8799);
}

.kz-pricing__cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: 1.5rem;
	max-width: 40rem;
	margin: 0 auto 2rem;
}

.kz-pricing__card {
	position: relative;
	padding: 1.5rem;
	border-radius: 1rem;
	border: 2px solid rgba(42, 53, 68, 0.1);
	background: #fff;
	text-align: center;
}

.kz-pricing__card--featured {
	border-color: var(--wp--preset--color--primary, #5b9ae8);
	box-shadow: 0 4px 20px rgba(91, 154, 232, 0.15);
}

.kz-pricing__badge {
	position: absolute;
	top: -0.75rem;
	left: 50%;
	transform: translateX(-50%);
	padding: 0.25rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #fff;
	background: var(--wp--preset--color--primary, #5b9ae8);
	border-radius: 999px;
}

.kz-pricing__card-header {
	margin-bottom: 0.5rem;
}

.kz-pricing__card-title {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading, Nunito, system-ui, sans-serif);
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--wp--preset--color--contrast, #2a3544);
}

.kz-pricing__card-price {
	margin-bottom: 0.25rem;
}

.kz-pricing__price-amount {
	font-family: var(--wp--preset--font-family--heading, Nunito, system-ui, sans-serif);
	font-size: 2.5rem;
	font-weight: 800;
	color: var(--wp--preset--color--contrast, #2a3544);
}

.kz-pricing__price-period {
	font-size: 1rem;
	color: var(--wp--preset--color--contrast-muted, #7a8799);
}

.kz-pricing__card-equiv {
	margin: 0 0 0.5rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--wp--preset--color--primary, #5b9ae8);
}

.kz-pricing__card-desc {
	margin: 0 0 1rem;
	font-size: 0.85rem;
	color: var(--wp--preset--color--contrast-muted, #7a8799);
}

.kz-pricing__cta {
	display: block;
	width: 100%;
	box-sizing: border-box;
}

.kz-pricing__footer {
	text-align: center;
	font-size: 0.9rem;
	color: var(--wp--preset--color--contrast-muted, #7a8799);
}

.kz-pricing__footer a {
	color: var(--wp--preset--color--primary, #5b9ae8);
	text-decoration: none;
}

.kz-pricing__footer a:hover,
.kz-pricing__footer a:focus-visible {
	text-decoration: underline;
}

@media (max-width: 600px) {
	.kz-pricing {
		padding: 1rem 0.75rem 2rem;
	}

	.kz-pricing__table {
		font-size: 0.85rem;
	}

	.kz-pricing__th,
	.kz-pricing__td {
		padding: 0.5rem 0.5rem;
	}

	.kz-pricing__cards {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.kz-pricing__price-amount {
		font-size: 2rem;
	}
}
