/*
 * Terms and Privacy: a single readable column of text, headings in the site's light display weight.
 */
.legal {
	max-width: 720px;
	padding-bottom: var(--space-16);
	color: var(--text-body);
}

.legal__header {
	margin-bottom: var(--space-8);
}

.legal__title {
	font-size: 2.25rem;
	font-weight: 300;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.legal__accent {
	color: var(--accent);
}

.legal__date {
	margin-top: var(--space-2);
	color: var(--text-faint);
	font-family: var(--font-mono);
	font-size: var(--text-xs);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.legal h2 {
	margin: var(--space-8) 0 var(--space-3);
	color: var(--text);
	font-size: var(--text-lg);
	font-weight: 500;
}

.legal p,
.legal li {
	max-width: 68ch;
	line-height: 1.7;
}

.legal p + p,
.legal p + ul,
.legal ul + p {
	margin-top: var(--space-3);
}

.legal ul {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	padding-left: var(--space-6);
}

.legal li::marker {
	color: var(--text-faint);
}

.legal strong {
	color: var(--text);
	font-weight: 500;
}

.legal a {
	color: var(--accent);
	text-underline-offset: 3px;
}

.legal code {
	padding: 1px 5px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--surface);
	color: var(--text);
	font-family: var(--font-mono);
	font-size: 0.875em;
}

/* Shown as text, so it can be copied; the footer has the clickable link */
.legal__email {
	color: var(--text);
	font-family: var(--font-mono);
	font-size: 0.95em;
	user-select: all;
}
