/*
 * Legal (/legal/): the two-column layout and the card spacing only. Values from
 * _reference/artboards/Legal.dc.html lines 55-98. Spec: plan/phase-09-account-and-legal.md part B.
 * Text styles and the .sit-doc card come from prose.css; the sidebar is .sit-toc in components.css.
 */

/* The artboards set no body line-height (base.css sets 1.6). */
.sit-legalpage {
	line-height: normal;
	padding: 56px 0 96px;
}

.sit-legalpage__wrap {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

/* Head (lines 57-61) */
.sit-legalpage__head {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sit-legalpage__eyebrow {
	color: var(--sit-sapphire);
}

.sit-legalpage__updated {
	font-size: 15px;
	color: var(--sit-muted);
}

/* Two columns (lines 62-66) */
.sit-legalpage__cols {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	align-items: flex-start;
}

.sit-legalpage__toc {
	flex: 1 1 220px;
}

@media (min-width: 961px) {
	.sit-legalpage__toc {
		position: sticky;
		top: 24px;
	}
}

/* The block content: one .sit-doc card per top-level Group block, 24px apart. */
.sit-legal {
	flex: 999 1 640px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.sit-legal > * {
	margin: 0;
}

/* Cards are targets of the sidebar and footer links; keep the heading clear of the top edge. */
.sit-legal > .sit-doc {
	scroll-margin-top: 24px;
}
