/* Legal / policy pages — extends faq-page.css (faq-unified shell) */

.policy-page .policy-page-inner {
	width: 100%;
	margin: 1.5rem auto 2.5rem;
}

/* Long policy docs: do not clip inside the unified card */
.policy-page .faq-unified {
	overflow: visible;
	min-height: 0;
	align-items: stretch;
}

.policy-page .policy-nav-block + .policy-nav-block {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(58, 45, 99, 0.85);
}

.policy-page .policy-legal-link.is-current {
	background: rgba(139, 92, 246, 0.22);
	color: #fff;
	pointer-events: none;
}

.policy-page .policy-legal-link.is-current i {
	color: #c084fc;
}

/* Section nav: stack vertically, no inner scroll trap */
.policy-page .policy-section-links {
	display: block;
	overflow: visible;
}

.policy-page .policy-section-link {
	white-space: normal;
	line-height: 1.35;
}

.policy-page .policy-section-link i {
	font-size: 0.35rem !important;
	margin-top: 0.45rem;
	align-self: flex-start;
}

.policy-page .policy-doc {
	flex: 1 1 auto;
	min-width: 0;
}

.policy-page .policy-intro {
	font-size: 0.875rem;
	line-height: 1.65;
	color: #374151;
	margin-bottom: 1.25rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid #e5e7eb;
}

.policy-page .policy-intro p {
	margin: 0 0 0.75rem;
}

.policy-page .policy-intro p:last-child {
	margin-bottom: 0;
}

.policy-page .policy-section {
	scroll-margin-top: 1.25rem;
	padding: 1.25rem 0;
	border-bottom: 1px solid #e5e7eb;
}

.policy-page .policy-section:last-of-type {
	border-bottom: none;
	padding-bottom: 0.5rem;
}

.policy-page .policy-section-heading {
	font-size: 1.0625rem;
	font-weight: 700;
	color: #111827;
	margin: 0 0 0.85rem;
	line-height: 1.35;
}

.policy-page .policy-section-body {
	font-size: 0.875rem;
	line-height: 1.65;
	color: #374151;
}

.policy-page .policy-section-body p {
	margin: 0 0 0.75rem;
}

.policy-page .policy-section-body ul,
.policy-page .policy-section-body ol {
	padding-left: 1.25rem;
	margin: 0.35rem 0 0.75rem;
}

.policy-page .policy-section-body li {
	margin-bottom: 0.35rem;
}

.policy-page .policy-section-body h3 {
	font-size: 0.9375rem;
	font-weight: 600;
	color: #111827;
	margin: 1rem 0 0.4rem;
}

.policy-page .policy-section-body strong {
	color: #111827;
	font-weight: 600;
}

.policy-page .policy-section-body a {
	color: #059669;
	text-decoration: underline;
}

.policy-page .policy-section-body a:hover {
	color: #047857;
}

.policy-page .policy-contact-card {
	margin-top: 1.5rem;
	padding: 1rem 1.1rem;
	border-radius: 5px;
	border: 1px solid #e5e7eb;
	background: #f9fafb;
	font-size: 0.8125rem;
	color: #4b5563;
}

.policy-page .policy-contact-card a {
	color: #059669;
	font-weight: 600;
}

@media (max-width: 1279px) {
	.policy-page .policy-nav {
		border-bottom: 1px solid #3a2d63;
	}

	.policy-page .policy-section-links {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		gap: 0.3rem;
		padding-bottom: 0.25rem;
	}
}
