.crumb {
	margin: 0 0 14px;
	color: var(--muted);
	font-size: 13px;
}

.crumb a,
.site-foot__legal a {
	color: var(--green-dark);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.page-hero {
	padding: 48px var(--pad) 28px;
	background: var(--paper);
}

.page-hero--split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 520px;
	gap: 48px;
	align-items: start;
}

.page-kicker {
	margin: 0;
	color: var(--green-dark);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.2px;
}

.page-hero h1 {
	margin: 12px 0 0;
	font-family: var(--display);
	font-size: 46px;
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -1px;
}

.page-hero .lede {
	max-width: 640px;
	margin: 16px 0 0;
	color: var(--muted);
	font-size: 17px;
	line-height: 1.5;
}

.page-hero--article {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 48px var(--pad);
	background: #112d21;
}

.page-hero--article .crumb,
.page-hero--article .crumb a {
	margin: 0;
	color: #78e7a1;
}

.page-hero--article h1 {
	margin: 0;
	color: #fff;
	font-size: 44px;
}

.page-hero--article .lede {
	max-width: 760px;
	margin: 0;
	color: #d5e8dc;
	font-size: 18px;
}

.page-hero--article .updated {
	margin: 0;
	color: #b9d1c2;
	font-size: 12px;
}

.page-hero .btn {
	margin-top: 22px;
}

.page-section {
	padding: 56px var(--pad);
}

.page-section h2 {
	margin: 12px 0 0;
	font-family: var(--display);
	font-size: 40px;
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -1px;
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 28px;
}

.card-grid article {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 180px;
	padding: 24px;
	border-radius: 14px;
	background: var(--paper);
}

.card-grid span {
	color: var(--green-dark);
	font-size: 14px;
}

.card-grid h2,
.card-grid h3 {
	margin: 0;
	font-size: 23px;
	font-weight: 700;
}

.card-grid p,
.card-grid a {
	margin: 0;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.45;
}

.card-grid a {
	margin-top: auto;
	color: var(--green-dark);
	font-weight: 600;
}

.cost {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}

.faq-list {
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.faq-list li {
	padding: 18px 0;
	border-top: 1px solid var(--line);
}

.faq-list li:last-child {
	border-bottom: 1px solid var(--line);
}

.faq-list h2,
.faq-list h3 {
	margin: 0;
	font-size: 23px;
	font-weight: 700;
}

.faq-list p {
	margin: 8px 0 0;
	color: var(--muted);
	font-size: 17px;
	line-height: 1.5;
}

.doc-list {
	display: grid;
	gap: 12px;
	margin-top: 28px;
}

.doc-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 20px;
	border-radius: 14px;
	background: var(--paper);
	font-size: 21px;
	font-weight: 600;
}

.doc-list a span {
	color: var(--green-dark);
	font-size: 15px;
	font-weight: 600;
}

.doc-prep {
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding: 48px var(--pad);
	background: #f4f8f5;
}

.doc-prep .page-kicker {
	font-size: 12px;
	letter-spacing: 0.08em;
}

.doc-prep h2 {
	margin: 0;
	font-family: var(--display);
	font-size: 38px;
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.5px;
}

.doc-prep > p {
	max-width: 720px;
	margin: 0;
	color: #62746a;
	font-size: 17px;
	line-height: 1.5;
}

.doc-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.doc-cards article {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: 230px;
	padding: 24px;
	border: 1px solid #dfeae2;
	border-radius: 12px;
	background: #fff;
}

.doc-cards span {
	color: var(--green-dark);
	font-size: 13px;
	font-weight: 600;
}

.doc-cards h3 {
	margin: 0;
	font-size: 21px;
	font-weight: 800;
}

.doc-cards p {
	margin: 0;
	color: #62746a;
	font-size: 14px;
	line-height: 1.45;
}

.doc-prep__note {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 22px;
	border-radius: 10px;
	background: #e2f3e7;
	color: #466953;
	font-size: 14px;
	line-height: 1.45;
}

.doc-prep__note .icon {
	width: 20px;
	height: 20px;
	color: var(--green-dark);
}

.article {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 56px;
	align-items: start;
	padding: 48px var(--pad);
}

.article__body {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.article .article__lead {
	margin: 0;
	color: var(--green-dark);
	font-size: 22px;
	font-weight: 700;
}

.article__standfirst {
	margin: 0;
	color: var(--ink);
	font-size: 20px;
	line-height: 1.45;
}

.article__section {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.article h2 {
	margin: 0;
	font-size: 27px;
	font-weight: 700;
	line-height: 1.25;
}

.article p {
	margin: 0;
	color: var(--muted);
	font-size: 17px;
	line-height: 1.55;
}

.article aside {
	position: sticky;
	top: calc(var(--header) + 16px);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	padding: 24px;
	border-radius: 14px;
	background: #e9f7ee;
}

.article aside h2 {
	font-size: 20px;
}

.article aside a:not(.btn) {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.4;
}

.article__note {
	font-size: 12px;
}

.article-cta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	padding: 40px var(--pad);
	background: #e9f7ee;
}

.article-cta h2 {
	margin: 0;
	font-family: var(--display);
	font-size: 30px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.4px;
}

.site-foot {
	padding: 24px var(--pad) 40px;
	background: #fff;
}

.site-foot__cols {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.site-foot__cols h3 {
	margin: 0;
	font-size: 16px;
}

.site-foot__cols a {
	display: block;
	margin-top: 8px;
	color: var(--muted);
	font-size: 14px;
}

.site-foot__note,
.site-foot__legal {
	margin-top: 22px;
	color: #3d4944;
	font-size: 16px;
	line-height: 1.45;
}

.site-foot__legal a {
	color: var(--green-dark);
}

@media (max-width: 1100px) {
	.page-hero--split,
	.cost,
	.article,
	.site-foot__cols {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 759px) {
	.page-hero,
	.page-section,
	.doc-prep,
	.article,
	.article-cta {
		padding-left: 20px;
		padding-right: 20px;
	}

	.page-hero h1,
	.page-section h2 {
		font-size: 28px;
	}

	.page-hero--article h1,
	.doc-prep h2,
	.article-cta h2 {
		font-size: 30px;
	}

	.page-hero--article .lede,
	.article .article__lead,
	.article__standfirst {
		font-size: 17px;
	}

	.page-hero--article .updated,
	.doc-cards p,
	.doc-prep__note,
	.article aside a:not(.btn),
	.article__note {
		font-size: 16px;
	}

	.article h2 {
		font-size: 24px;
	}

	.doc-cards {
		grid-template-columns: 1fr;
	}

	.doc-cards article {
		min-height: 0;
	}

	.card-grid {
		grid-template-columns: 1fr;
	}

	.site-foot {
		padding: 28px 20px 40px;
	}
}

/* Direct .wrap (scoring) owns the side inset. Unwrapped pages keep section padding. */
.page-hero:has(> .wrap),
.page-section:has(> .wrap),
.doc-prep:has(> .wrap),
.article:has(> .wrap),
.article-cta:has(> .wrap),
.site-foot:has(> .wrap) {
	padding-left: 0;
	padding-right: 0;
}

.page-hero--article:has(> .wrap),
.page-hero--split:has(> .wrap),
.doc-prep:has(> .wrap),
.article:has(> .wrap),
.article__section:has(> .wrap),
.article-cta:has(> .wrap) {
	display: block;
}

/* The two-column hero grid moves onto the wrap so the section padding is not a second inset. */
.page-hero--split:has(> .wrap) > .wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 520px;
	gap: 48px;
	align-items: start;
}

.page-hero--article:has(> .wrap) > .wrap {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.doc-prep:has(> .wrap) > .wrap {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.doc-prep:has(> .wrap) > .wrap > p {
	max-width: 720px;
	margin: 0;
	color: #62746a;
	font-size: 17px;
	line-height: 1.5;
}

.article:has(> .wrap) > .wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 56px;
	align-items: start;
}

.article__section:has(> .wrap) > .wrap {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.article-cta:has(> .wrap) > .wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

@media (max-width: 1100px) {
	.article:has(> .wrap) > .wrap,
	.page-hero--split:has(> .wrap) > .wrap {
		grid-template-columns: 1fr;
	}
}

/* Contacts frame only. The scoring column is .wrap; these rules do not touch home or /lp/scoring. */
.contacts .page-hero {
	padding: 48px 0;
	background: #112d21;
	color: #fff;
}

.contacts .page-hero > .wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 460px;
	gap: 64px;
	align-items: center;
}

.contacts .page-hero__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	min-width: 0;
}

.contacts .page-hero .crumb,
.contacts .page-hero .crumb a,
.contacts .page-hero .page-kicker {
	margin: 0;
	color: #78e7a1;
}

.contacts .page-hero h1 {
	margin: 0;
	color: #fff;
	font-size: 46px;
	line-height: 1.16;
	letter-spacing: -1px;
}

.contacts .page-hero .lede {
	max-width: none;
	margin: 0;
	color: #d5e8dc;
	font-size: 17px;
	line-height: 1.55;
}

.contacts .page-hero .btn {
	margin-top: 0;
}

.contacts .page-hero__photo {
	width: 100%;
	height: 280px;
	object-fit: cover;
	border-radius: 16px;
}

.contacts-office,
.contacts-map,
.contacts-form,
.contacts-cta {
	padding: 56px 0;
}

.contacts-form {
	padding: 48px 0;
	background: #112d21;
}

.contacts-office {
	background: #fff;
}

.contacts-map {
	background: var(--paper);
}

.contacts-cta {
	background: var(--pale);
}

.contacts-office > .wrap {
	display: grid;
	grid-template-columns: minmax(0, 600px) minmax(360px, 1fr);
	gap: 64px;
	align-items: start;
}

.contacts-office__photo {
	width: 100%;
	height: 370px;
	object-fit: cover;
	border-radius: 14px;
}

.contacts-office__copy,
.contacts-form__copy,
.contacts-cta > .wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
}

.contacts-office__copy,
.contacts-form__copy {
	gap: 20px;
}

.contacts-cta > .wrap {
	gap: 28px;
}

.contacts-office h2,
.contacts-form h2,
.contacts-cta h2,
.contacts-form__card h3,
.contacts-office__copy p,
.contacts-form__copy .lede,
.contacts-phone,
.contacts-form__card .fine,
.contacts-form__error {
	margin: 0;
}

.contacts-office h2 {
	font-size: 32px;
	line-height: 1.16;
}

.contacts-office__copy p,
.contacts-map__place p {
	color: var(--muted);
	line-height: 1.55;
}

.contacts-office__copy p {
	font-size: 14px;
}

.contacts-map__place {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 20px;
	height: 320px;
	border-radius: 14px;
	background: #e5ece7;
	color: var(--muted);
	text-align: center;
}

.contacts-map__place .icon {
	width: 42px;
	height: 42px;
	color: var(--green-dark);
}

.contacts-map__place p {
	max-width: 500px;
	font-size: 16px;
}

.contacts-form > .wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 520px;
	gap: 80px;
	align-items: start;
}

.contacts-form h2 {
	color: #fff;
	font-size: 40px;
	line-height: 1.14;
}

.contacts-form__copy .lede {
	color: #d5e8dc;
	font-size: 18px;
	line-height: 1.5;
}

.contacts-phone,
.contacts-phone a {
	color: #2dd46b;
	font-family: var(--display);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.14;
}

.contacts-form__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	min-width: 0;
	padding: 28px;
	border-radius: 16px;
	background: var(--pale);
}

.contacts-form__card h3 {
	font-family: var(--font);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.5;
}

.contacts-field {
	position: relative;
	display: block;
	width: 100%;
}

.contacts-field input {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid #c9e7d3;
	border-radius: 8px;
	background: #fff;
	color: var(--ink);
	font-size: 16px;
	line-height: 1.5;
}

.contacts-field input::placeholder {
	color: var(--muted);
}

.contacts-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.contacts-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.5;
}

.contacts-consent input {
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	flex: none;
	accent-color: var(--green-dark);
}

.contacts-consent a {
	color: var(--green-dark);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.contacts-form__card .fine {
	color: var(--muted);
	font-size: 13px;
	font-weight: 400;
	text-align: left;
}

.contacts-form__error {
	color: #9b2c2c;
	font-size: 16px;
}

.contacts-cta h2 {
	font-size: 38px;
	line-height: 1.16;
}

@media (max-width: 1100px) {
	.contacts-office > .wrap,
	.contacts-form > .wrap {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
}

@media (max-width: 900px) {
	.contacts .page-hero > .wrap {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
}

@media (max-width: 759px) {
	.contacts .page-hero,
	.contacts-office,
	.contacts-map,
	.contacts-form,
	.contacts-cta {
		padding: 28px 0;
	}

	.contacts .page-hero__photo {
		height: 220px;
	}

	.contacts-office__photo {
		height: 240px;
	}

	.contacts .page-hero h1,
	.contacts-form h2,
	.contacts-cta h2 {
		font-size: 30px;
	}

	.contacts-office h2 {
		font-size: 25px;
	}

	.contacts-phone,
	.contacts-phone a {
		font-size: 25px;
	}

	.contacts .page-hero .crumb,
	.contacts .page-hero .page-kicker,
	.contacts .page-hero .lede,
	.contacts-form__copy .lede,
	.contacts-office__copy p,
	.contacts-form__card .fine,
	.contacts-consent,
	.contacts-map__place p {
		font-size: 16px;
	}

	.contacts .page-hero .btn,
	.contacts-office .btn,
	.contacts-form__card .btn,
	.contacts-cta .btn {
		width: 100%;
	}
}
