.zk-square {
	--zk-ink: #1c1917;
	--zk-muted: #57534e;
	--zk-line: #e7e5e4;
	--zk-paper: #fffcf7;
	--zk-accent: #176b45;
	--zk-accent-ink: #f7fff9;
	--zk-warn: #9a3412;
	--zk-warn-bg: #fff7ed;
	max-width: 980px;
	margin: 1.5rem auto;
	color: var(--zk-ink);
	font: inherit;
	line-height: 1.5;
}

.zk-square__title {
	margin: 0 0 0.35rem;
	font-size: 1.6rem;
	letter-spacing: -0.02em;
}

.zk-square__lead,
.zk-square-card__meta {
	color: var(--zk-muted);
}

.zk-square__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
	margin: 1rem 0 2rem;
}

.zk-square-card,
.zk-square-locked {
	position: relative;
	background: var(--zk-paper);
	border: 1px solid var(--zk-line);
	border-radius: 18px;
	padding: 1.15rem 1.15rem 1.25rem;
	box-shadow: 0 1px 0 rgba(28, 25, 23, 0.04);
}

.zk-square-card h3,
.zk-square-locked h3 {
	margin: 0.2rem 0 0.4rem;
	font-size: 1.25rem;
}

.zk-square-card__price {
	margin: 0;
	font-size: 1.8rem;
	font-weight: 700;
	letter-spacing: -0.03em;
}

.zk-square-card__badge {
	display: inline-block;
	margin: 0 0 0.4rem;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	background: #e7f6ee;
	color: var(--zk-accent);
	font-size: 0.78rem;
	font-weight: 700;
}

.zk-square-card__copy {
	font-size: 0.95rem;
}

.zk-square-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin-top: 0.75rem;
	padding: 0.55rem 1rem;
	border: 0;
	border-radius: 999px;
	background: var(--zk-accent);
	color: var(--zk-accent-ink);
	font: inherit;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.zk-square-button:hover,
.zk-square-button:focus-visible {
	background: #0f5134;
	color: var(--zk-accent-ink);
}

.zk-square-button--ghost {
	background: transparent;
	color: var(--zk-ink);
	border: 1px solid var(--zk-line);
}

.zk-square-button--ghost:hover,
.zk-square-button--ghost:focus-visible {
	background: #f5f5f4;
	color: var(--zk-ink);
}

.zk-square-button:focus-visible {
	outline: 2px solid var(--zk-ink);
	outline-offset: 3px;
}

.zk-square form {
	margin: 0;
}

.zk-square-notice {
	margin: 0 0 1rem;
	padding: 0.75rem 0.9rem;
	border-radius: 12px;
	background: #ecfdf3;
	color: #14532d;
}

.zk-square-notice--warning {
	background: var(--zk-warn-bg);
	color: var(--zk-warn);
}

.zk-square-notice--error {
	background: #fef2f2;
	color: #991b1b;
}

.zk-square-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0.75rem 1rem;
	margin: 1rem 0;
}

.zk-square-facts div {
	margin: 0;
	padding-bottom: 0.6rem;
	border-bottom: 1px solid var(--zk-line);
}

.zk-square-facts dt {
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--zk-muted);
}

.zk-square-facts dd {
	margin: 0.15rem 0 0;
	font-weight: 650;
}

.zk-square-check {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	margin: 1rem 0 0.4rem;
}

.zk-square-locked {
	overflow: hidden;
	min-height: 180px;
}

.zk-square-locked__fake {
	display: grid;
	gap: 0.55rem;
	filter: grayscale(1);
	opacity: 0.45;
	pointer-events: none;
}

.zk-square-locked__fake span {
	display: block;
	height: 0.85rem;
	border-radius: 999px;
	background: #d6d3d1;
}

.zk-square-locked__fake span:nth-child(2) {
	width: 72%;
}

.zk-square-locked__fake span:nth-child(3) {
	width: 48%;
}

.zk-square-locked__panel {
	margin-top: 0.9rem;
}

.zk-square-locked__kicker {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--zk-accent);
}

@media (max-width: 640px) {
	.zk-square {
		margin: 1rem 0;
	}

	.zk-square-button {
		width: 100%;
	}
}
