/* ─────────────────────────────────────────────────────────────────────────────
   pricing-cards.css — shared styling for the plan grid rendered by
   js/v2/plan-catalog.js. Used by BOTH landing-v2.html and pricing.html so the
   5-tier grid looks identical everywhere. Self-contained palette (no token
   dependency) so it renders the same regardless of which page includes it.
   ───────────────────────────────────────────────────────────────────────────── */

/* Monthly / yearly toggle */
.sp-cycle-toggle {
	display: flex;
	width: fit-content;
	gap: 4px;
	padding: 4px;
	background: #eef2f7;
	border-radius: 999px;
	margin: 0 auto 28px;
}
.sp-cycle-toggle button {
	border: 0;
	background: transparent;
	color: #64748b;
	font: 600 0.9rem/1 inherit;
	padding: 9px 20px;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}
.sp-cycle-toggle button.active {
	background: #fff;
	color: #0f172a;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}
.sp-cycle-toggle .sp-cycle-save {
	font-size: 0.72rem;
	font-weight: 700;
	color: #16a34a;
	margin-left: 4px;
}

/* The 5-card grid */
.sp-plan-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 14px;
	align-items: stretch;
}
@media (max-width: 1080px) { .sp-plan-grid { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto; } }
@media (max-width: 560px)  { .sp-plan-grid { grid-template-columns: 1fr; max-width: 420px; } }

.sp-plan-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 22px 20px;
}
.sp-plan-popular {
	border-color: #2563eb;
	box-shadow: 0 14px 36px rgba(37, 99, 235, 0.15);
}
.sp-plan-pill {
	position: absolute;
	top: -11px;
	left: 50%;
	transform: translateX(-50%);
	background: #2563eb;
	color: #fff;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 4px 12px;
	border-radius: 999px;
	white-space: nowrap;
}
.sp-plan-name {
	font-size: 1.05rem;
	font-weight: 800;
	color: #0f172a;
}
.sp-plan-blurb {
	font-size: 0.8rem;
	color: #64748b;
	margin: 4px 0 14px;
	min-height: 2.2em;
}
.sp-plan-price { display: flex; align-items: baseline; gap: 5px; }
.sp-plan-amount { font-size: 1.7rem; font-weight: 800; color: #0f172a; letter-spacing: -0.02em; }
.sp-plan-unit { font-size: 0.82rem; color: #64748b; font-weight: 600; }
.sp-plan-save {
	font-size: 0.72rem;
	font-weight: 700;
	color: #16a34a;
	margin: 5px 0 0;
	min-height: 1em;
}
.sp-plan-save-empty { color: #94a3b8; font-weight: 600; }
.sp-plan-records {
	font-size: 0.85rem;
	font-weight: 700;
	color: #0f172a;
	margin: 14px 0 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid #eef2f7;
}
.sp-plan-features {
	list-style: none;
	padding: 0;
	margin: 0 0 18px;
	flex: 1;
}
.sp-plan-features li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 0.83rem;
	color: #334155;
	padding: 5px 0;
}
.sp-plan-features svg {
	width: 15px;
	height: 15px;
	color: #16a34a;
	flex: 0 0 auto;
	margin-top: 2px;
}
.sp-plan-cta {
	display: block;
	text-align: center;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.9rem;
	padding: 11px 16px;
	border-radius: 10px;
	transition: background 0.15s, color 0.15s;
}
.sp-plan-cta-blue { background: #2563eb; color: #fff; }
.sp-plan-cta-blue:hover { background: #1d4ed8; }
.sp-plan-cta-ghost { background: #fff; color: #2563eb; border: 1px solid #2563eb; }
.sp-plan-cta-ghost:hover { background: #2563eb; color: #fff; }

.sp-plan-gst-note {
	text-align: center;
	color: #64748b;
	font-size: 0.85rem;
	margin: 26px 0 0;
}
