/*
 * Pricing page additions. Tokens, type, buttons, FAQ, and the final CTA
 * come from home.css, scoped under .gh-home. This file only covers the
 * two plan cards, the comparison table, and hero/plan spacing.
 *
 * The previous template drew a hero border-bottom and pulled the cards
 * up over it with .pricing-grid { margin: -30px auto 60px }. Those
 * classes are no longer in the markup. The homepage .gh-hero wash
 * gradient is also overridden here so it does not leave a full-width
 * seam under the headline for the cards to sit on.
 */

.gh-home .gh-hero.gh-pricing-hero {
	padding: 88px 0 32px;
	margin: 0;
	background: #fff;
	border: 0;
	border-bottom: 0;
}

.gh-home .gh-plans-sec {
	padding: 48px 0 96px;
	margin: 0;
	background: #fff;
	border: 0;
}

.gh-home .gh-plans {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	align-items: stretch;
	margin-top: 0;
}

.gh-home .gh-plan {
	background: #fff;
	border: 1px solid var(--gh-wash);
	border-radius: 24px;
	padding: 34px 34px 32px;
	display: flex;
	flex-direction: column;
	position: relative;
	text-align: left;
}

.gh-home .gh-plan-featured {
	border-color: var(--gh-royal);
	box-shadow: 0 14px 34px rgba(51, 107, 229, .12);
}

.gh-home .gh-plan .gh-kicker {
	margin-bottom: 8px !important;
}

.gh-home .gh-plan h2 {
	font-size: 32px;
	margin: 0 0 10px;
}

.gh-home .gh-plan-lead {
	font-size: 16px;
	color: var(--gh-steel);
	margin: 0 0 22px !important;
}

.gh-home .gh-plan-price {
	font-size: 36px;
	font-weight: 700;
	line-height: 1.15 !important;
	color: var(--gh-royal);
	letter-spacing: -0.02em;
	margin: 0 0 6px !important;
}

.gh-home .gh-plan-price-note {
	font-size: 15px;
	color: var(--gh-steel);
	margin: 0 0 8px !important;
}

.gh-home .gh-plan .gh-ticks {
	margin: 22px 0 28px;
	/* Fill the card so the button sits at the bottom, but keep the
	   bullets packed at the top (the list is a grid, which would
	   otherwise stretch its rows to the taller card's height). */
	flex: 1 0 auto;
	align-content: start;
	align-items: start;
}

.gh-home .gh-plan .gh-ticks li {
	font-weight: 400;
	font-size: 16px;
}

.gh-home .gh-plan .gh-ticks li strong {
	font-weight: 700;
}

.gh-home .gh-plan .gh-btn {
	align-self: flex-start;
	margin-top: auto;
}

.gh-home .gh-plan-note {
	font-size: 14px;
	color: var(--gh-steel);
	margin: 16px 0 0 !important;
}

.gh-home .gh-plan-featured > .gh-kicker,
.gh-home .gh-plan-featured > h2,
.gh-home .gh-plan-featured > .gh-plan-lead {
	padding-right: 84px;
}

.gh-home .gh-plan-radar {
	position: absolute;
	top: 20px;
	right: 16px;
	width: 80px;
	height: auto;
	pointer-events: none;
}

.gh-home .gh-table-sec {
	padding: 96px 0;
}

.gh-home .gh-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--gh-wash);
	border-radius: 24px;
	background: #fff;
}

.gh-home .gh-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 640px;
}

.gh-home .gh-table th,
.gh-home .gh-table td {
	padding: 16px 22px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--gh-wash);
	font-size: 16px;
}

.gh-home .gh-table th {
	font-weight: 700;
	color: var(--gh-royal);
	background: var(--gh-tint);
	font-size: 15px;
	letter-spacing: 0.01em;
}

.gh-home .gh-table th:nth-child(2),
.gh-home .gh-table th:nth-child(3),
.gh-home .gh-table td:nth-child(2),
.gh-home .gh-table td:nth-child(3) {
	width: 28%;
}

.gh-home .gh-table .gh-table-cat td {
	background: var(--gh-tint);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gh-navy);
	padding: 12px 22px;
}

.gh-home .gh-table tr:last-child td {
	border-bottom: 0;
}

.gh-home .gh-table a {
	font-weight: 700;
}

/* Bottom of the page: one homepage section gap (112px) between the FAQ and
   the blue band, room under the button inside the band (the homepage band
   ends with the Radar art instead), then the coach line. */
.gh-home .gh-faq-sec + .gh-final-sec {
	padding-top: 0;
	padding-bottom: 112px;
}

.gh-home .gh-final-sec .gh-final {
	padding-bottom: 80px;
}

.gh-home .gh-final-sec .gh-final p {
	margin-bottom: 32px;
}

.gh-home .gh-final-sec .gh-coach {
	margin-top: 32px !important;
	margin-bottom: 0 !important;
}

@media (max-width: 1060px) {
	.gh-home .gh-plans {
		grid-template-columns: 1fr;
		max-width: 560px;
		margin: 0 auto;
	}
}

@media (max-width: 640px) {
	.gh-home .gh-hero.gh-pricing-hero { padding: 48px 0 24px; background: #fff; border: 0; }
	.gh-home .gh-plans-sec { padding: 32px 0 64px; }
	.gh-home .gh-table-sec { padding: 72px 0; }
	.gh-home .gh-plan { padding: 26px 24px 24px; }
	.gh-home .gh-plan-featured > .gh-kicker,
	.gh-home .gh-plan-featured > h2,
	.gh-home .gh-plan-featured > .gh-plan-lead { padding-right: 70px; }
	.gh-home .gh-faq-sec + .gh-final-sec { padding-bottom: 72px; }
	.gh-home .gh-final-sec .gh-final { padding-bottom: 56px; }
	.gh-home .gh-final-sec .gh-coach { margin-top: 24px !important; }
	.gh-home .gh-plan h2 { font-size: 28px; }
	.gh-home .gh-plan-price { font-size: 30px; }
	.gh-home .gh-plan-radar { width: 64px; }
	.gh-home .gh-table { min-width: 0; }
	.gh-home .gh-table th,
	.gh-home .gh-table td { padding: 12px 10px; font-size: 13px; }
	.gh-home .gh-table th:nth-child(2),
	.gh-home .gh-table th:nth-child(3),
	.gh-home .gh-table td:nth-child(2),
	.gh-home .gh-table td:nth-child(3) { width: auto; }
}
