/* Slate-palette legal pages (privacy policy, terms of use) — 2026-05-24.
   Shared component styles for the centered legal reading column. Inherits
   design tokens from extensions/index_new/styles.css; scoped under .mv-root
   so it never leaks into the rest of the app. Pairs with the slate auth
   header/footer for a minimal, chrome-light reading surface. */

.mv-root.legal-root { background: var(--bg); }

.mv-root .legal-wrap {
	max-width: 760px;
	margin: 0 auto;
	padding: 72px 24px 96px;
}

/* --- Page head --- */
.mv-root .legal-head {
	padding-bottom: 28px;
	margin-bottom: 40px;
	border-bottom: 1px solid var(--border);
}
.mv-root .legal-eyebrow {
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 12px;
}
.mv-root .legal-title {
	font-family: var(--font-serif);
	font-size: 42px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--text-1);
	margin: 0 0 10px;
}
.mv-root .legal-title em { font-style: italic; font-weight: 500; color: var(--accent); }
.mv-root .legal-updated {
	font-family: var(--font-sans);
	font-size: 14px;
	color: var(--text-3);
	margin: 0;
}

/* --- Sections --- */
.mv-root .legal-sections {
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.mv-root .legal-section h2 {
	font-family: var(--font-serif);
	font-size: 23px;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.25;
	color: var(--text-1);
	margin: 0 0 14px;
}
.mv-root .legal-section p {
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.7;
	color: var(--text-2);
	margin: 0 0 14px;
}
.mv-root .legal-section p:last-child { margin-bottom: 0; }
.mv-root .legal-section p.legal-list {
	padding-left: 22px;
	color: var(--text-2);
}
.mv-root .legal-section strong { color: var(--text-1); font-weight: 600; }
.mv-root .legal-section a {
	color: var(--accent);
	text-decoration: none;
	border-bottom: 1px solid color-mix(in oklab, var(--accent) 35%, transparent);
	transition: border-color .12s, color .12s;
}
.mv-root .legal-section a:hover {
	color: var(--accent-strong);
	border-bottom-color: var(--accent-strong);
}

@media (max-width: 600px) {
	.mv-root .legal-wrap { padding: 48px 18px 64px; }
	.mv-root .legal-title { font-size: 32px; }
	.mv-root .legal-section h2 { font-size: 20px; }
	.mv-root .legal-sections { gap: 32px; }
}

/* Phone portrait: hide the hero eyebrow/pill above the main H1 (section eyebrows stay). */
@media (max-width: 560px) { .mv-root .legal-eyebrow { display: none !important; } }
