/* Blue Crest Creative, LLC — Privacy, Support and Terms pages
   Loads AFTER /css/bcc2026.css, which supplies the shared header, footer,
   fonts and colors. This file only styles the page content and the app picker. */

:root {
	--bcc-teal: #23b0bb;
	--bcc-navy: #0a3b61;
	--teal-text: #157d86;
	--muted: #5a6472;
	--line: #dce4ea;
	--tint: #eef6f8;
}

/* Keeps the footer at the bottom on short pages */
body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

body > main {
	flex: 1 0 auto;
}

/* ---------- Gradient page header (matches the Work page) ---------- */

.page-hero {
	background: linear-gradient(135deg, #23b0bb 0%, #0a3b61 75%);
	color: #fff;
	text-align: center;
	padding: 40px 24px 44px;
}

.page-hero h1 {
	margin: 0;
	font: 700 40px/1.2 Poppins, sans-serif;
	color: #fff;
}

.page-hero p {
	max-width: 640px;
	margin: 12px auto 0;
	font-size: 17px;
	line-height: 1.6;
	color: #fff;
	opacity: .92;
}

.page-hero .updated {
	font-size: 15px;
	opacity: .85;
}

/* ---------- Content ---------- */

.legal {
	width: 100%;
	max-width: 820px;
	margin: 0 auto;
	padding: 40px 24px 72px;
}

.legal h2 {
	font: 700 22px/1.3 Poppins, sans-serif;
	color: var(--bcc-navy);
	margin: 0 0 12px;
}

.legal h3 {
	font: 600 17px/1.35 Poppins, sans-serif;
	color: var(--teal-text);
	margin: 28px 0 8px;
}

.legal p,
.legal li {
	font-size: 16px;
	line-height: 1.7;
	color: #333;
}

.legal ul {
	padding-left: 22px;
}

.legal a {
	color: var(--bcc-navy);
	text-decoration: underline;
	text-decoration-color: rgba(10, 59, 97, .35);
	text-underline-offset: 2px;
}

.legal a:hover {
	color: var(--teal-text);
	text-decoration-color: currentColor;
}

.intro {
	font-size: 17px;
	margin: 0 0 8px;
}

/* Sections that apply to every app, shown below the app panels */
.legal h2.shared {
	font-size: 19px;
	margin-top: 44px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

/* ---------- Support contact box ---------- */

.contact-box {
	background: #fff;
	border-radius: 18px;
	border-left: 5px solid var(--bcc-teal);
	box-shadow: 0 14px 36px rgba(10, 59, 97, .12);
	padding: 22px 26px;
	margin: 0 0 40px;
	font-size: 16px;
	line-height: 1.6;
	color: #333;
	overflow-wrap: break-word;
}

.legal .contact-box a {
	font-weight: 600;
	text-decoration: none;
}

.legal .contact-box a:hover {
	text-decoration: underline;
}

.topics-title {
	font-size: 20px !important;
	margin: 0 0 14px !important;
}

/* ---------- App picker ---------- */

.app-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 24px 0 0;
}

.topics-title + .app-tabs {
	margin-top: 0;
}

.legal .pill {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 999px;
	border: 2px solid var(--line);
	background: #fff;
	color: var(--bcc-navy);
	font: 600 14px Poppins, sans-serif;
	text-decoration: none;
	cursor: pointer;
	transition: border-color .2s, background .2s;
}

.legal .pill:hover {
	border-color: var(--bcc-teal);
	color: var(--bcc-navy);
}

.legal .pill.active,
.legal .pill.active:hover {
	background: var(--bcc-navy);
	border-color: var(--bcc-navy);
	color: #fff;
}

.divider {
	border: none;
	border-top: 1px solid var(--line);
	margin: 24px 0 0;
}

.empty-state {
	margin: 0;
	padding: 28px 0 0;
	color: var(--muted) !important;
	font-size: 15px !important;
}

/* The chosen app's section sits in a card, like the rest of the site */
.app-panel {
	margin-top: 28px;
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 16px 40px rgba(10, 59, 97, .12);
	padding: 32px 32px 18px;
}

.app-panel[hidden] {
	display: none;
}

.app-panel > h2:first-child {
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 18px;
}

.page-support .app-panel h2 + h3 {
	margin-top: 0;
}

/* ---------- Small screens ---------- */

@media (max-width: 640px) {
	.page-hero {
		padding: 30px 20px 34px;
	}

	.page-hero h1 {
		font-size: 30px;
	}

	.page-hero p {
		font-size: 16px;
	}

	.legal {
		padding: 30px 18px 56px;
	}

	.app-panel {
		padding: 24px 20px 10px;
		border-radius: 18px;
	}

	.contact-box {
		padding: 18px 20px;
	}
}
