/* ========================
   LEGAL PAGES
======================== */

.legal-main {
	min-height: 100vh;
	padding-top: 80px;
	padding-bottom: 80px;
}

.legal-container {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Header */
.legal-header {
	padding: 60px 0 48px;
	border-bottom: 1px solid var(--bg-card-border);
	margin-bottom: 52px;
}

.legal-tag {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--green);
	margin-bottom: 14px;
}

.legal-title {
	font-size: clamp(32px, 5vw, 52px);
	font-weight: 900;
	letter-spacing: -2px;
	line-height: 1.1;
	margin-bottom: 14px;
}

.legal-meta {
	font-size: 13px;
	color: var(--text-muted);
}

.legal-meta time {
	color: var(--text-sub);
}

/* Body */
.legal-body {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.legal-intro {
	font-size: 16px;
	color: var(--text-sub);
	line-height: 1.75;
	margin-bottom: 48px;
	padding: 20px 24px;
	background: rgba(34, 197, 94, 0.04);
	border: 1px solid rgba(34, 197, 94, 0.12);
	border-radius: var(--radius-sm);
}

.legal-intro strong {
	color: var(--text);
}

.legal-section {
	padding: 36px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.legal-section:last-child {
	border-bottom: none;
}

.legal-section h2 {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.4px;
	margin-bottom: 14px;
	color: var(--text);
}

.legal-section p {
	font-size: 15px;
	color: var(--text-sub);
	line-height: 1.75;
	margin-bottom: 12px;
}

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

.legal-section p strong {
	color: var(--text);
	font-weight: 600;
}

.legal-section a {
	color: var(--green);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: opacity 0.2s;
}

.legal-section a:hover {
	opacity: 0.8;
}

.legal-section ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 14px 0;
	padding: 0;
}

.legal-section ul li {
	font-size: 15px;
	color: var(--text-sub);
	line-height: 1.65;
	padding-left: 20px;
	position: relative;
}

.legal-section ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 10px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--green);
	opacity: 0.6;
}

.legal-section ul li strong {
	color: var(--text);
	font-weight: 600;
}

/* Contact block */
.legal-contact {
	margin-top: 14px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	background: var(--bg-card);
	border: 1px solid var(--bg-card-border);
	border-radius: var(--radius-sm);
}

.legal-contact a {
	font-size: 14px;
	font-weight: 600;
	color: var(--green) !important;
}

/* Bottom nav */
.legal-footer-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding-top: 48px;
	margin-top: 8px;
	border-top: 1px solid var(--bg-card-border);
	flex-wrap: wrap;
}

@media (max-width: 480px) {
	.legal-header {
		padding: 40px 0 36px;
	}

	.legal-footer-nav {
		flex-direction: column;
	}

	.legal-footer-nav .btn {
		width: 100%;
		justify-content: center;
	}
}
