:root {
	--zr-crumbs-max: 1100px;
}

.zr-tp-hub {
	--zr-tp-ink: #111827;
	--zr-tp-body: #4b5563;
	--zr-tp-muted: #6b7280;
	--zr-tp-primary: #1d4ed8;
	--zr-tp-border: #e5e7eb;
	--zr-tp-soft: #f8faff;
	--zr-tp-panel: #f0f6ff;
	--zr-tp-panel-border: #d0e4ff;
	--zr-tp-accent-bg: #fff8f0;
	--zr-tp-accent: #e65100;
	--zr-tp-accent-border: #ffe0b2;
	--zr-tp-gradient: linear-gradient(135deg, #1d4ed8, #1e3a8a);
	--zr-tp-h2-size: clamp(24px, 3.4vw, 32px);
	color: var(--zr-tp-body);
	line-height: 1.6;
}

/* One class of specificity: beats the theme's bare ul rules, loses to the list classes below. */
.zr-tp-hub :where(ul, ol) {
	margin: 0;
	padding: 0;
	list-style: none;
}

.zr-tp-hub [hidden] {
	display: none !important;
}

.zr-tp-hub,
.zr-tp-hub * {
	box-sizing: border-box;
}

.zr-tp-wrap {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 16px;
}

.zr-tp-section {
	padding: 48px 0;
}

.zr-tp-h1,
.zr-tp-h2,
.zr-tp-step-title,
.zr-tp-panel-title,
.zr-tp-price-title,
.zr-tp-letter,
.zr-tp-acc summary,
.zr-tp-state-card,
.zr-tp-featured-card,
.zr-tp-cost-row:last-child {
	color: var(--zr-tp-ink);
}

.zr-tp-h1 {
	margin: 8px 0 16px;
	font-size: clamp(32px, 5vw, 48px);
	line-height: 1.15;
	font-weight: 700;
}

.zr-tp-h2 {
	margin: 0 0 24px;
	font-size: var(--zr-tp-h2-size);
	line-height: 1.25;
	font-weight: 700;
}

.zr-tp-hero {
	padding: 56px 0 40px;
	background: var(--zr-tp-soft);
}

.zr-tp-hero,
.zr-tp-reviews {
	text-align: center;
}

.zr-tp-eyebrow {
	margin: 0;
	color: var(--zr-tp-primary);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.zr-tp-intro {
	max-width: 680px;
	margin: 0 auto 24px;
	font-size: 18px;
}

.zr-tp-lead {
	margin: 0 0 24px;
	font-size: 18px;
}

.zr-tp-btn {
	display: inline-block;
	padding: 12px 28px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.zr-tp-btn--primary {
	background: var(--zr-tp-gradient);
	color: #fff;
}

.zr-tp-btn--primary:hover {
	color: #fff;
	background: #1e3a8a;
}

.zr-tp-btn--light {
	background: #fff;
	color: var(--zr-tp-primary);
}

.zr-tp-btn--ghost {
	border-color: var(--zr-tp-primary);
	color: var(--zr-tp-primary);
	background: transparent;
}

.zr-tp-btn--light:hover,
.zr-tp-btn--ghost:hover {
	background: var(--zr-tp-panel);
}

.zr-tp-hub :focus-visible {
	outline: 3px solid var(--zr-tp-primary);
	outline-offset: 2px;
}

.zr-tp-map-section {
	padding: 24px 0 48px;
}

.zr-tp-map {
	width: 100%;
	height: 420px;
	margin-bottom: 24px;
	border: 1px solid var(--zr-tp-border);
	border-radius: 12px;
	background: var(--zr-tp-panel);
	overflow: hidden;
}

.zr-tp-map-note,
.zr-tp-note,
.zr-tp-empty {
	margin: 16px 0 0;
	color: var(--zr-tp-muted);
	font-size: 14px;
}

.zr-tp-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
}

.zr-tp-stat,
.zr-tp-price-card {
	padding: 20px 16px;
	border: 1px solid;
	border-radius: 12px;
	text-align: center;
}

.zr-tp-stat strong {
	display: block;
	color: var(--zr-tp-primary);
	font-size: 32px;
	line-height: 1.2;
}

.zr-tp-stat-label {
	color: var(--zr-tp-muted);
	font-size: 14px;
}

.zr-tp-steps-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
}

.zr-tp-step-n {
	display: inline-flex;
	width: 36px;
	height: 36px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--zr-tp-primary);
	color: #fff;
	font-weight: 700;
}

.zr-tp-step-title,
.zr-tp-panel-title,
.zr-tp-price-title {
	margin: 12px 0 8px;
	font-size: 20px;
}

.zr-tp-step p,
.zr-tp-panel dd {
	margin: 0;
}

.zr-tp-panels {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
}

.zr-tp-step,
.zr-tp-panel {
	padding: 24px;
	border: 1px solid var(--zr-tp-border);
	border-radius: 12px;
}

.zr-tp-cost-rows {
	margin: 0;
}

.zr-tp-cost-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid var(--zr-tp-border);
}

.zr-tp-cost-row:last-child {
	border-bottom: 0;
	font-weight: 700;
}

.zr-tp-state-cards,
.zr-tp-featured-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 12px;
	margin-bottom: 24px;
}

.zr-tp-state-card,
.zr-tp-featured-card {
	display: flex;
	height: 100%;
	flex-direction: column;
	gap: 4px;
	padding: 16px;
	border: 1px solid var(--zr-tp-border);
	border-radius: 10px;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.zr-tp-state-card:hover,
.zr-tp-featured-card:hover {
	border-color: var(--zr-tp-primary);
	background: var(--zr-tp-soft);
}

.zr-tp-state-count {
	color: var(--zr-tp-muted);
	font-size: 14px;
	font-weight: 400;
}

.zr-tp-featured-tag {
	align-self: flex-start;
	padding: 2px 10px;
	border: 1px solid;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
}

.zr-tp-acc {
	margin-bottom: 8px;
	border: 1px solid var(--zr-tp-border);
	border-radius: 10px;
	background: #fff;
}

.zr-tp-acc summary {
	padding: 14px 16px;
	font-weight: 600;
	cursor: pointer;
}

.zr-tp-acc > p,
.zr-tp-acc > .zr-tp-chips {
	margin: 0;
	padding: 0 16px 16px;
}

.zr-tp-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.zr-tp-chip {
	display: inline-block;
	padding: 6px 14px;
	border: 1px solid;
	border-radius: 999px;
	font-size: 14px;
	text-decoration: none;
}

.zr-tp-cta {
	margin: 24px 0;
	background: var(--zr-tp-gradient);
	text-align: center;
}

.zr-tp-cta-title {
	margin: 0 0 8px;
	color: #fff;
	font-size: var(--zr-tp-h2-size);
}

.zr-tp-cta p {
	margin: 0 0 20px;
	color: #e0e7ff;
}

.zr-tp-included-grid {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 32px;
	align-items: start;
}

.zr-tp-check-list {
	display: grid;
	gap: 12px;
}

.zr-tp-check-list li {
	position: relative;
	padding-left: 28px;
}

.zr-tp-check-list li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	color: var(--zr-tp-primary);
	font-weight: 700;
}

.zr-tp-price {
	margin: 8px 0;
	color: var(--zr-tp-primary);
	font-size: 44px;
	font-weight: 700;
	line-height: 1.1;
}

.zr-tp-price-note {
	margin: 0 0 4px;
	color: var(--zr-tp-muted);
}

.zr-tp-price-card .zr-tp-btn {
	margin-top: 16px;
}

.zr-tp-more a,
.zr-tp-about a {
	color: var(--zr-tp-primary);
}

.zr-tp-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 16px;
}

.zr-tp-tab {
	padding: 10px 20px;
	border: 1px solid var(--zr-tp-border);
	border-radius: 999px;
	background: #fff;
	color: var(--zr-tp-body);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.zr-tp-search-input {
	display: block;
	width: 100%;
	margin-bottom: 16px;
	max-width: 360px;
	padding: 10px 16px;
	border: 1px solid var(--zr-tp-border);
	border-radius: 999px;
	font: inherit;
}

.zr-tp-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.zr-tp-letter-group {
	margin-bottom: 16px;
}

.zr-tp-letter {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
}

.zr-tp-about p {
	max-width: 760px;
	margin: 0 0 12px;
}

/* Colour variants: after the base rules, whose border shorthand would reset them. */
.zr-tp-stat,
.zr-tp-price-card,
.zr-tp-panel--ziprent,
.zr-tp-tabpanel--pm .zr-tp-chip,
.zr-tp-tab--pm[aria-selected="true"] {
	border-color: var(--zr-tp-panel-border);
	background: var(--zr-tp-panel);
}

.zr-tp-tabpanel--pm .zr-tp-chip,
.zr-tp-tab--pm[aria-selected="true"] {
	color: var(--zr-tp-primary);
}

.zr-tp-featured-tag,
.zr-tp-chip,
.zr-tp-tab--tp[aria-selected="true"] {
	border-color: var(--zr-tp-accent-border);
	background: var(--zr-tp-accent-bg);
	color: var(--zr-tp-accent);
}

@media (max-width: 767px) {
	.zr-tp-section {
		padding: 32px 0;
	}

	.zr-tp-map {
		height: 320px;
	}

	.zr-tp-included-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 599px) {
	.zr-tp-stats {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.zr-tp-hub * {
		transition: none !important;
	}
}
