/* Privacy policy page. If tables ever return, wrap them in a horizontal
   scroller so the body never scrolls sideways on a phone. */

.mf-legal {
	/* ~80ch, wider than ideal on purpose (owner decision): shorter reads as less of an ordeal. */
	max-width: 54rem;
	margin: 0 auto;
	padding: 2rem 1.25rem 4rem;
	color: var(--mf-ink);
	font-size: 1.0625rem;
	line-height: 1.75;
}

/* Head */

.mf-legal__head {
	margin-bottom: 2rem;
}

.mf-legal__title {
	margin: 0 0 0.5rem;
	color: var(--mf-navy);
	font-size: clamp(1.875rem, 5vw, 2.5rem);
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.mf-legal__updated {
	margin: 0;
	color: var(--mf-muted);
	font-size: 0.9375rem;
	line-height: 1.6;
}

/* Summary card */

.mf-legal__summary {
	margin: 0 0 3rem;
	padding: 1.5rem 1.375rem;
	border-left: 3px solid var(--mf-sky-3);
	border-radius: 0 10px 10px 0;
	background: var(--mf-sky-1);
}

.mf-legal__summary-title {
	margin: 0 0 0.75rem;
	color: var(--mf-navy);
	font-size: 1.25rem;
	line-height: 1.3;
}

.mf-legal__lead {
	margin: 0 0 1rem;
}

.mf-legal__summary-list {
	margin: 0;
	padding-left: 1.25rem;
	list-style: disc;
}

.mf-legal__summary-list > li {
	margin-bottom: 0.625rem;
}

.mf-legal__summary-list > li:last-child {
	margin-bottom: 0;
}

/* Sections */

.mf-legal__section {
	margin-bottom: 2.75rem;
	/* Keep anchored deep links clear of the sticky header. */
	scroll-margin-top: 6rem;
}

.mf-legal__h2 {
	margin: 0 0 0.875rem;
	color: var(--mf-navy);
	font-size: 1.4375rem;
	line-height: 1.3;
}

.mf-legal__num {
	margin-right: 0.375rem;
	color: var(--mf-sky-3);
	font-weight: 600;
}

.mf-legal h3 {
	margin: 1.75rem 0 0.625rem;
	color: var(--mf-navy);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.4;
}

.mf-legal p {
	margin: 0 0 1rem;
}

.mf-legal a {
	color: var(--mf-blue);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.mf-legal a:hover,
.mf-legal a:focus {
	color: var(--mf-blue-deep);
}

/* Lists */

.mf-legal__reasons {
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.mf-legal__reasons > li {
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--mf-line);
}

.mf-legal__reasons > li:first-child {
	padding-top: 0;
}

.mf-legal__reasons > li:last-child {
	border-bottom: 0;
}

.mf-legal__reasons strong {
	color: var(--mf-navy);
}

.mf-legal__facts {
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.mf-legal__facts > li {
	margin-bottom: 0.375rem;
}

.mf-legal__facts strong {
	color: var(--mf-navy);
}

/* The inline "reopen the cookie sheet" button */

/* Styled as a link because it sits mid-sentence; kept a <button> for semantics. */
.mf-legal__inline-btn {
	padding: 0;
	border: 0;
	background: none;
	color: var(--mf-blue);
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.mf-legal__inline-btn:hover,
.mf-legal__inline-btn:focus-visible {
	color: var(--mf-blue-deep);
}

.mf-legal__inline-btn:focus-visible {
	outline: 2px solid var(--mf-blue);
	outline-offset: 2px;
	border-radius: 2px;
}

/* Wider screens */

@media (min-width: 48rem) {
	.mf-legal {
		padding: 3rem 2rem 5rem;
	}

	.mf-legal__summary {
		padding: 1.75rem 1.75rem;
	}
}
