body.page-id-97,
body.page-id-3,
body.privacy-policy {
	overflow-x: clip;
}

/* Full-bleed photo hero — matches FAQ / Contact */
.ineed-terms-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	min-height: 340px;
	padding: 72px 24px 56px;
	background:
		linear-gradient(to top, rgba(8, 30, 24, 0.88), rgba(8, 30, 24, 0.5) 55%, rgba(8, 30, 24, 0.38)),
		var(--ineed-terms-hero-image) center / cover no-repeat;
	color: #f7f7f5;
	text-align: center;
}

.ineed-terms-hero__inner {
	max-width: 760px;
	margin: 0 auto;
}

.ineed-terms-hero__eyebrow {
	margin: 0 0 12px;
	color: rgba(247, 247, 245, 0.8);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ineed-terms-hero__title {
	margin: 0 0 14px;
	color: #f7f7f5;
	font-size: clamp(34px, 4vw, 52px);
	font-weight: 700;
	line-height: 1.15;
}

.ineed-terms-hero__lead {
	margin: 0 auto;
	max-width: 640px;
	color: rgba(247, 247, 245, 0.94);
	font-size: 18px;
	line-height: 1.5;
}

.ineed-terms-hero__meta {
	display: inline-block;
	margin: 22px 0 0;
	padding: 7px 14px;
	border: 1px solid rgba(247, 247, 245, 0.32);
	border-radius: 4px;
	color: rgba(247, 247, 245, 0.92);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.4;
}

/* Document shell */
.ineed-terms {
	background: #ffffff;
	padding: 40px 20px 80px;
}

.ineed-terms__shell {
	display: grid;
	grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
	gap: 36px;
	align-items: start;
	max-width: 1080px;
	margin: 0 auto;
}

/* Sticky contents */
.ineed-terms__toc {
	position: sticky;
	top: calc(var(--ineed-header-offset, 72px) + 16px);
	padding: 4px 0;
}

.ineed-terms__toc-label {
	margin: 0 0 14px;
	color: #0f3d32;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ineed-terms__toc-nav ol {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 2px;
	border-left: 2px solid #dde5e1;
}

.ineed-terms__toc-nav a {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 8px 12px 8px 14px;
	margin-left: -2px;
	border-left: 2px solid transparent;
	color: #4b5563;
	font-size: 13.5px;
	line-height: 1.35;
	text-decoration: none;
	transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.ineed-terms__toc-nav a:hover {
	color: #0f3d32;
	border-left-color: #0f3d32;
	background: rgba(15, 61, 50, 0.04);
}

.ineed-terms__toc-num {
	flex: 0 0 auto;
	color: #9ca3af;
	font-size: 12px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	line-height: 1.4;
}

.ineed-terms__toc-nav a:hover .ineed-terms__toc-num {
	color: #0f3d32;
}

.ineed-terms__toc-text {
	flex: 1 1 auto;
}

/* Continuous document — not a stack of cards */
.ineed-terms__document {
	background: #ffffff;
	border: 1px solid #e4e4e4;
	border-radius: 4px;
	padding: 40px 44px 36px;
	box-shadow: 0 1px 2px rgba(17, 17, 17, 0.03);
}

.ineed-terms__intro {
	margin: 0 0 28px;
	padding: 0 0 28px;
	border-bottom: 1px solid #e8ecea;
}

.ineed-terms__intro p {
	margin: 0;
	max-width: 58ch;
	color: #1f2937;
	font-size: 17.5px;
	line-height: 1.65;
}

.ineed-terms__section {
	margin: 0;
	padding: 28px 0;
	border-bottom: 1px solid #eef1f3;
	scroll-margin-top: calc(var(--ineed-header-offset, 72px) + 20px);
}

.ineed-terms__section:last-of-type {
	border-bottom: 0;
	padding-bottom: 8px;
}

.ineed-terms__section-head {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin: 0 0 16px;
}

.ineed-terms__index {
	flex: 0 0 auto;
	color: #0f3d32;
	font-size: 13px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.04em;
	line-height: 1.4;
}

.ineed-terms__heading {
	margin: 0;
	color: #111111;
	font-size: clamp(20px, 2.2vw, 24px);
	font-weight: 700;
	line-height: 1.3;
}

.ineed-terms__content {
	color: #374151;
	font-size: 16px;
	line-height: 1.75;
}

.ineed-terms__content p {
	margin: 0 0 14px;
	max-width: 68ch;
}

.ineed-terms__content p:last-child {
	margin-bottom: 0;
}

.ineed-terms__clauses {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 18px;
	counter-reset: none;
}

.ineed-terms__clauses li {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	max-width: 68ch;
	margin: 0;
	padding: 0;
	color: #374151;
	font-size: 16px;
	line-height: 1.75;
	background: none;
	border: 0;
}

.ineed-terms__mark {
	color: #0f3d32;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 1.75;
}

.ineed-terms__clause-text {
	min-width: 0;
}

.ineed-terms__footer-note {
	margin: 32px 0 0;
	padding: 22px 0 0;
	border-top: 1px solid #e8ecea;
	text-align: left;
}

.ineed-terms__footer-note p {
	margin: 0;
	color: #6b7280;
	font-size: 15px;
	line-height: 1.5;
}

.ineed-terms__footer-note a {
	color: #0f3d32;
	font-weight: 600;
	text-decoration: none;
}

.ineed-terms__footer-note a:hover {
	text-decoration: underline;
}

@media (max-width: 900px) {
	.ineed-terms__shell {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.ineed-terms__toc {
		position: static;
		padding: 18px 18px 14px;
		background: #ffffff;
		border: 1px solid #e4e4e4;
		border-radius: 4px;
	}

	.ineed-terms__toc-nav ol {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0 8px;
		border-left: 0;
	}

	.ineed-terms__toc-nav a {
		margin-left: 0;
		padding: 7px 8px;
		border-left: 0;
		border-radius: 3px;
	}

	.ineed-terms__toc-nav a:hover {
		border-left-color: transparent;
	}

	.ineed-terms__document {
		padding: 28px 22px 24px;
	}
}

@media (max-width: 640px) {
	.ineed-terms-hero {
		min-height: 280px;
		padding: 56px 18px 44px;
	}

	.ineed-terms-hero__lead {
		font-size: 16px;
	}

	.ineed-terms {
		padding: 24px 14px 56px;
	}

	.ineed-terms__toc-nav ol {
		grid-template-columns: 1fr;
	}

	.ineed-terms__document {
		padding: 22px 16px 20px;
	}

	.ineed-terms__section-head {
		gap: 10px;
	}

	.ineed-terms__clauses li {
		grid-template-columns: 24px minmax(0, 1fr);
		gap: 8px;
	}
}
