/* ===== Terms & conditions ===== */
.terms-hero {
	padding: 64px 0 44px;
	background:
		radial-gradient(45rem 26rem at 50% -20%, rgba(108, 71, 255, .10), transparent 60%),
		var(--surface);
	border-bottom: 1px solid var(--surface-border);
}
.terms-badge {
	background: var(--primary-soft);
	color: var(--primary-ink);
	font-weight: 600;
	padding: 6px 14px;
}
.terms-hero h1 { font-size: 2rem; }
.terms-lead {
	color: var(--muted);
	max-width: 620px;
	margin-inline: auto;
}
.terms-updated { color: var(--muted); }

.terms-section { padding: 40px 0 70px; }

/* Sticky table of contents */
.terms-toc {
	position: sticky;
	top: 90px;
	background: var(--card);
	border: 1px solid var(--surface-border);
	border-radius: var(--radius, 16px);
	padding: 18px 18px 10px;
	box-shadow: 0 2px 14px rgba(15, 23, 42, .04);
}
.terms-toc-title {
	font-weight: 700;
	margin-bottom: 10px;
	color: var(--body-text);
}
.terms-toc-list {
	list-style: none;
	counter-reset: toc;
	margin: 0;
	padding: 0;
}
.terms-toc-list li { counter-increment: toc; }
.terms-toc-list a {
	display: flex;
	gap: 8px;
	align-items: baseline;
	padding: 7px 8px;
	border-radius: 8px;
	color: var(--muted);
	text-decoration: none;
	font-size: .9rem;
	transition: background .15s ease, color .15s ease;
}
.terms-toc-list a::before {
	content: counter(toc);
	flex-shrink: 0;
	min-width: 1.4em;
	text-align: center;
	font-size: .78rem;
	font-weight: 700;
	color: var(--primary, #4f46e5);
}
.terms-toc-list a:hover {
	background: var(--primary-soft);
	color: var(--primary-ink);
}

/* Body */
.terms-body { max-width: 780px; }
.terms-callout {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	background: var(--primary-soft);
	border: 1px solid var(--surface-border);
	border-radius: 14px;
	padding: 16px 18px;
	margin-bottom: 34px;
	color: var(--primary-ink);
}
.terms-callout i { font-size: 1.25rem; line-height: 1.7; }

.terms-item { margin-bottom: 34px; scroll-margin-top: 90px; }
.terms-item h2 {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--surface-border);
}
.terms-item h2 .num {
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--gradient, linear-gradient(135deg, #4f46e5, #7c3aed));
	color: #fff;
	font-size: .95rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.terms-item p { color: var(--text-2); margin-bottom: 12px; }
.terms-item ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.terms-item li {
	position: relative;
	padding-inline-start: 26px;
	margin-bottom: 10px;
	color: var(--text-2);
}
.terms-item li::before {
	content: "";
	position: absolute;
	inset-inline-start: 4px;
	top: 12px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--primary-light, #818cf8);
}
.terms-item b { color: var(--body-text); }

.terms-signoff {
	margin-top: 18px;
	font-weight: 600;
	color: var(--primary-ink) !important;
}
