/**
 * Legal shortcode typography — matches the Syntai Studio theme .prose legal pages.
 */
.sc-legal {
	color: var(--muted, #9aa3b5);
	font-size: 1.02rem;
}
.sc-legal > * + * {
	margin-top: 1.1rem;
}
.sc-legal h2 {
	color: var(--text, #e8ebf2);
	font-size: clamp(1.35rem, 2.6vw, 1.75rem);
	margin-top: 2.8rem;
}
.sc-legal h3 {
	color: var(--text, #e8ebf2);
	font-size: 1.15rem;
	margin-top: 2rem;
}
.sc-legal h4 {
	color: var(--text, #e8ebf2);
	margin-top: 1.6rem;
}
.sc-legal > h2:first-child,
.sc-legal > h3:first-child,
.sc-legal > p:first-child {
	margin-top: 0;
}
.sc-legal strong {
	color: var(--text, #e8ebf2);
}
.sc-legal ul,
.sc-legal ol {
	padding-left: 1.3rem;
}
.sc-legal li + li {
	margin-top: 0.4rem;
}
.sc-legal li::marker {
	color: var(--accent, #7cf0c4);
}
.sc-legal table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.92rem;
	display: block;
	overflow-x: auto;
}
.sc-legal th,
.sc-legal td {
	border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
	padding: 0.6rem 0.8rem;
	text-align: left;
	vertical-align: top;
}
.sc-legal th {
	background: var(--surface, #141822);
	color: var(--text, #e8ebf2);
	font-weight: 600;
}
.sc-legal hr {
	border: 0;
	border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
	margin: 2.5rem 0;
}
.sc-legal code {
	background: var(--surface, #141822);
	padding: 0.1rem 0.35rem;
	border-radius: 6px;
	font-size: 0.9em;
}
.sc-legal a {
	color: var(--accent, #7cf0c4);
}

/* When the shortcode sits inside the theme .prose block, keep the first heading spaced like other legal h2s. */
.prose .sc-legal > h2:first-child {
	margin-top: 2.8rem;
}
.prose .sc-legal > p:first-child {
	margin-top: 0;
}
