/* Legal pages: privacy.html, terms.html */



/* Hero — full-width mint band, flush under the nav */

.legal-hero-band {
	margin-top: 0;
	background-color: #d5f3f3;
}

#legal-hero {
	padding-top: 55px;
	padding-bottom: 60px;
}

.legal-hero-kicker {
	color: #00676f;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.legal-hero-updated {
	color: #333333;
	margin: 0 auto;
}



/* Summary card */

.legal-summary {
	max-width: 760px;
	margin: 0 auto 45px;
	background-color: #d5f3f3;
	border-radius: 7px;
	padding: 30px 35px;
	color: #230051;
}

.legal-summary p {
	margin: 0 0 10px;
	font-size: 15px;
	line-height: 1.6;
}

.legal-summary p:last-child {
	margin-bottom: 0;
}

.legal-summary b {
	color: #230051;
}



/* Body prose */

.legal-content {
	max-width: 760px;
	margin: 0 auto;
	color: #333333;
	text-align: left;
}

.legal-content h2 {
	font-size: 1.375rem;
	color: #230051;
	margin: 40px 0 12px;
}

.legal-content h3 {
	font-size: 1.0625rem;
	color: #230051;
	margin: 25px 0 8px;
}

.legal-content p {
	font-size: 15px;
	line-height: 1.7;
	margin: 12px 0;
}

.legal-content ul {
	margin: 12px 0 12px 8px;
	padding-left: 20px;
}

.legal-content li {
	font-size: 15px;
	line-height: 1.7;
	margin-bottom: 8px;
}

.legal-content a {
	color: #5d68bf;
	font-weight: 500;
}

.legal-content a:focus-visible {
	outline: 2px solid #50248f;
	outline-offset: 3px;
}



/* The retention table (privacy policy): theme.css draws the rules between rows */

.legal-table-wrapper {
	max-width: 100%;
	overflow-x: auto;
}

.legal-content table {
	margin: 16px 0 12px;
}

.legal-content th,
.legal-content td {
	font-size: 15px;
	line-height: 1.6;
	padding: 12px 18px 12px 0;
	vertical-align: top;
}

.legal-content th {
	font-weight: 600;
	color: #230051;
	border-top: 0;
}

.legal-content th:last-child,
.legal-content td:last-child {
	width: 36%;
	padding-right: 0;
}



/* Legal hub (/legal) */

.legal-cards {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
	max-width: 800px;
	margin: 10px auto 0;
}

.legal-card {
	flex: 1 1 calc(50% - 15px);
	display: flex;
	flex-direction: column;
	background-color: #ffffff;
	border: 1px solid rgba(200, 200, 200, 0.5);
	border-radius: 7px;
	box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.1);
	padding: 30px;
	text-decoration: none;
	color: #333333;
	transition: transform 150ms ease, box-shadow 150ms ease;
}

.legal-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 34px 0 rgba(0, 0, 0, 0.14);
}

.legal-card:focus-visible {
	outline: 2px solid #50248f;
	outline-offset: 3px;
}

.legal-card-icon {
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #d5f3f3;
	color: #00848e;
	border-radius: 50%;
	font-size: 18px;
	margin-bottom: 18px;
}

.legal-card-title {
	display: block;
	font-size: 1.125rem;
	font-weight: 600;
	color: #230051;
	margin-bottom: 8px;
}

.legal-card-text {
	display: block;
	font-size: 14.5px;
	line-height: 1.6;
	margin-bottom: 16px;
}

.legal-card-cta {
	display: block;
	margin-top: auto;
	color: #5d68bf;
	font-weight: 500;
	font-size: 14.5px;
}

.legal-card-cta i {
	font-size: 12px;
	margin-left: 6px;
	transition: transform 150ms ease;
}

.legal-card:hover .legal-card-cta i {
	transform: translateX(3px);
}

.legal-hub-note {
	margin: 35px auto 0;
	color: #555555;
}

.legal-hub-note a {
	color: #5d68bf;
	font-weight: 500;
}



/* Bottom breathing room before the footer */

#legal-body {
	margin-bottom: 90px;
}



/* Responsive */

@media only screen and (max-width: 850px) {

	#legal-hero {
		padding-top: 40px;
		padding-bottom: 45px;
	}

	.legal-summary {
		padding: 25px 22px;
	}


	.legal-cards {
		flex-direction: column;
		align-items: center;
	}

	.legal-card {
		width: 100%;
		max-width: 480px;
	}

}

@media only screen and (max-width: 479px) {

	#legal-hero {
		padding-top: 30px;
		padding-bottom: 35px;
	}

}
