/* ═══════════════════════════════════════════
   LEGAL PAGES — SHARED STYLES
   Used by: Privacy Policy, Terms & Conditions, Cookie Policy
   ═══════════════════════════════════════════ */
.legal-hero {
	background: linear-gradient(135deg, #1f4e8a 0%, #00A896 100%);
	padding: 90px 20px 64px;
	text-align: center;
	color: #fff;
}
.legal-hero-eyebrow {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	opacity: 0.82;
	margin-bottom: 18px;
}
.legal-hero h1 {
	font-size: clamp(2rem, 5vw, 2.8rem);
	font-weight: 700;
	color: #fff;
	margin: 0 0 18px;
	line-height: 1.2;
}
.legal-hero-meta {
	font-size: 0.88rem;
	opacity: 0.78;
}
.legal-hero-meta span {
	display: inline-block;
	margin: 0 10px;
}
.legal-body {
	max-width: 1120px;
	margin: 0 auto;
	padding: 64px 24px 96px;
	display: grid;
	grid-template-columns: 1fr 256px;
	gap: 52px;
	align-items: start;
}
@media (max-width: 920px) {
	.legal-body { grid-template-columns: 1fr; }
	.legal-toc  { display: none; }
}
.legal-section {
	margin-bottom: 52px;
	padding-bottom: 52px;
	border-bottom: 1px solid #e5eaf2;
	scroll-margin-top: 90px;
}
.legal-section:last-child {
	border-bottom: none;
	margin-bottom: 0;
}
.legal-section h2 {
	font-size: 1.25rem;
	font-weight: 700;
	color: #1f4e8a;
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 2px solid #e5eaf2;
}
.legal-section h3 {
	font-size: 0.975rem;
	font-weight: 600;
	color: #1f4e8a;
	margin: 28px 0 10px;
}
.legal-section p {
	font-size: 0.94rem;
	line-height: 1.85;
	color: #444;
	margin-bottom: 14px;
}
.legal-section ul,
.legal-section ol {
	padding-left: 22px;
	margin-bottom: 14px;
}
.legal-section li {
	font-size: 0.94rem;
	line-height: 1.85;
	color: #444;
	margin-bottom: 7px;
}
.legal-highlight {
	background: #f0f6ff;
	border-left: 4px solid #1f4e8a;
	padding: 18px 22px;
	border-radius: 0 8px 8px 0;
	margin: 0 0 24px;
	font-size: 0.9rem;
	color: #333;
	line-height: 1.75;
}
.legal-highlight strong { color: #1f4e8a; }
.legal-table {
	width: 100%;
	border-collapse: collapse;
	margin: 16px 0 24px;
	font-size: 0.875rem;
}
.legal-table th {
	background: #1f4e8a;
	color: #fff;
	padding: 11px 14px;
	text-align: left;
	font-weight: 600;
}
.legal-table td {
	padding: 10px 14px;
	border-bottom: 1px solid #e5eaf2;
	color: #444;
	vertical-align: top;
}
.legal-table tr:nth-child(even) td { background: #f7f9fc; }
.legal-toc {
	position: sticky;
	top: 100px;
	background: #fff;
	border: 1px solid #e5eaf2;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 2px 14px rgba(31,78,138,0.07);
}
.legal-toc-title {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #1f4e8a;
	margin-bottom: 16px;
}
.legal-toc ol {
	list-style: none;
	padding: 0;
	margin: 0;
	counter-reset: toc;
}
.legal-toc li {
	counter-increment: toc;
	margin-bottom: 10px;
	font-size: 0.81rem;
	display: flex;
	gap: 6px;
}
.legal-toc li::before {
	content: counter(toc) ".";
	color: #00A896;
	font-weight: 700;
	flex-shrink: 0;
	min-width: 20px;
}
.legal-toc a {
	color: #555;
	text-decoration: none;
	line-height: 1.45;
	transition: color 0.18s;
}
.legal-toc a:hover { color: #1f4e8a; }
.legal-contact-box {
	background: linear-gradient(135deg, #1f4e8a 0%, #00A896 100%);
	border-radius: 12px;
	padding: 30px 34px;
	color: #fff;
	margin-top: 8px;
}
.legal-contact-box h3 {
	color: #fff !important;
	margin-top: 0 !important;
	font-size: 1.05rem !important;
}
.legal-contact-box p {
	color: rgba(255,255,255,0.9) !important;
	margin-bottom: 8px !important;
	font-size: 0.9rem !important;
}
.legal-contact-box a { color: #fff; font-weight: 600; }

/* ─── Terms & Conditions only ─── */
.legal-warning-box {
	background: #fff8e1;
	border-left: 4px solid #f5a623;
	padding: 18px 22px;
	border-radius: 0 8px 8px 0;
	margin: 20px 0;
	font-size: 0.9rem;
	color: #555;
	line-height: 1.75;
}
.legal-warning-box strong { color: #b07500; }

/* ─── Cookie Policy only ─── */
.cookie-type-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	margin: 24px 0;
}
.cookie-card {
	border: 1px solid #e5eaf2;
	border-radius: 10px;
	padding: 22px 20px;
	background: #fff;
}
.cookie-card-icon {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
	font-size: 1.3rem;
}
.cookie-card-icon.essential  { background: #e8f4e8; }
.cookie-card-icon.analytics  { background: #e8eeff; }
.cookie-card-icon.marketing  { background: #ffeee8; }
.cookie-card-icon.functional { background: #f0f6ff; }
.cookie-card h3 {
	font-size: 0.92rem;
	font-weight: 700;
	color: #1f4e8a;
	margin: 0 0 8px !important;
}
.cookie-card p {
	font-size: 0.86rem !important;
	line-height: 1.65 !important;
	color: #555 !important;
	margin: 0 !important;
}
.cookie-badge {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 20px;
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.cookie-badge.always-on  { background: #d4edda; color: #155724; }
.cookie-badge.opt-in     { background: #fff3cd; color: #856404; }
.opt-out-links a {
	display: inline-block;
	margin-right: 12px;
	margin-bottom: 8px;
	font-size: 0.88rem;
	color: #1f4e8a;
	font-weight: 500;
}
.opt-out-links a:hover { color: #00A896; }
