/* X1 Algo legal pages — dark document layout */

html {
	scroll-behavior: smooth;
}

body.x1-legal-page {
	margin: 0;
	background: #050808;
	color: #c5c9c9;
	font-family: Inter, system-ui, sans-serif;
	min-height: 100vh;
}

body.x1-legal-page #wpadminbar {
	position: fixed;
}

body.x1-legal-page.admin-bar .x1-legal-topbar {
	top: 32px;
}

@media (max-width: 782px) {
	body.x1-legal-page.admin-bar .x1-legal-topbar {
		top: 46px;
	}
}

.x1-legal-topbar {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(8, 16, 17, 0.92);
	border-bottom: 1px solid rgba(123, 255, 130, 0.12);
	backdrop-filter: blur(16px);
}

.x1-legal-topbar-inner {
	max-width: 820px;
	margin: 0 auto;
	padding: 16px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.x1-legal-logo img {
	display: block;
	height: 28px;
	width: auto;
}

.x1-legal-topnav {
	display: flex;
	align-items: center;
	gap: 8px;
}

.x1-legal-topnav a {
	font-family: "Space Grotesk", Inter, sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #b3b7b7 !important;
	text-decoration: none !important;
	padding: 8px 14px;
	border-radius: 999px;
	transition: color 0.2s ease, background 0.2s ease;
}

.x1-legal-topnav a:hover,
.x1-legal-topnav a.is-active {
	color: #7bff82 !important;
	background: rgba(123, 255, 130, 0.08);
}

.x1-legal-home-btn {
	background: #fff !important;
	color: #081011 !important;
	font-weight: 600 !important;
	box-shadow: 0 3px 0 0 #b3b7b7;
}

.x1-legal-home-btn:hover {
	background: #7bff82 !important;
	color: #081011 !important;
	opacity: 0.95;
}

.x1-legal-main {
	max-width: 820px;
	margin: 0 auto;
	padding: 32px 24px 80px;
}

.x1-legal-hero {
	margin-bottom: 36px;
	padding-bottom: 28px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.x1-legal-eyebrow {
	display: inline-flex;
	align-items: center;
	margin: 0 0 14px !important;
	padding: 6px 12px;
	border: 1px solid rgba(123, 255, 130, 0.35);
	border-radius: 999px;
	color: #7bff82 !important;
	font-size: 12px !important;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-family: "Space Grotesk", Inter, sans-serif;
}

.x1-legal-hero h1 {
	margin: 0 0 12px !important;
	color: #fff !important;
	font-family: "Space Grotesk", Inter, sans-serif !important;
	font-size: 42px !important;
	line-height: 1.15 !important;
	font-weight: 600 !important;
	letter-spacing: -0.03em;
}

.x1-legal-updated {
	margin: 0 !important;
	color: #8f9495 !important;
	font-size: 14px !important;
}

.x1-legal-layout {
	display: block;
}

.x1-legal-toc {
	display: none !important;
}

.x1-legal-content,
.x1-legal-content p,
.x1-legal-content li,
.x1-legal-content td {
	font-family: Inter, system-ui, sans-serif;
	font-size: 16px !important;
	line-height: 1.75 !important;
	color: #c5c9c9;
}

.x1-legal-content p {
	margin: 0 0 16px !important;
}

.x1-legal-content a {
	color: #7bff82 !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

.x1-legal-content a:hover {
	color: #fff !important;
}

.x1-legal-kicker {
	margin: 0 0 18px !important;
	color: #fff !important;
	font-family: "Space Grotesk", Inter, sans-serif !important;
	font-size: 22px !important;
	line-height: 1.3 !important;
	font-weight: 600 !important;
}

.x1-legal-section-title {
	display: flex;
	gap: 12px;
	align-items: baseline;
	margin: 40px 0 16px !important;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: #fff !important;
	font-family: "Space Grotesk", Inter, sans-serif !important;
	font-size: 20px !important;
	line-height: 1.35 !important;
	font-weight: 600 !important;
	scroll-margin-top: 110px;
}

.x1-legal-num {
	color: #7bff82;
	flex: none;
}

.x1-legal-content h2 {
	scroll-margin-top: 110px;
}

.x1-legal-content h3 {
	margin: 24px 0 10px !important;
	color: #fff !important;
	font-family: "Space Grotesk", Inter, sans-serif !important;
	font-size: 17px !important;
	line-height: 1.4 !important;
	font-weight: 600 !important;
}

.x1-legal-content ul,
.x1-legal-content ol {
	margin: 0 0 18px !important;
	padding: 0 0 0 22px !important;
}

.x1-legal-content li {
	list-style: disc !important;
	margin: 0 0 8px !important;
	padding: 0 !important;
}

.x1-legal-content strong {
	color: #fff;
	font-weight: 600;
}

.x1-legal-short,
.x1-legal-lede,
.x1-legal-note {
	background: rgba(123, 255, 130, 0.06);
	border: 1px solid rgba(123, 255, 130, 0.16);
	border-radius: 12px;
	padding: 14px 16px !important;
	color: #d7dbdb !important;
	font-size: 15px !important;
}

.x1-legal-note {
	font-style: italic;
}

.x1-legal-callout {
	margin: 28px 0;
	padding: 8px 20px 20px;
	border: 1px solid rgba(123, 255, 130, 0.28);
	border-radius: 16px;
	background: linear-gradient(180deg, rgba(123, 255, 130, 0.08), rgba(123, 255, 130, 0.02));
}

.x1-legal-callout .x1-legal-section-title {
	border-top: 0;
	padding-top: 16px;
	margin-top: 0 !important;
}

.x1-legal-address {
	display: block;
	margin: 8px 0 0;
	padding: 20px 22px;
	border-radius: 14px;
	background: #0b1618;
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: #fff;
	font-style: normal;
	line-height: 1.7;
}

.x1-legal-address a {
	display: inline-block;
	margin-top: 8px;
}

.x1-legal-table-wrap {
	overflow-x: auto;
	margin: 0 0 20px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
}

.x1-legal-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 640px;
}

.x1-legal-table th,
.x1-legal-table td {
	padding: 12px 14px !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	text-align: left;
	vertical-align: top;
	font-size: 14px !important;
	line-height: 1.5 !important;
}

.x1-legal-table th {
	background: #0b1618;
	color: #fff !important;
	font-family: "Space Grotesk", Inter, sans-serif;
	font-size: 13px !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.x1-legal-table tr:last-child td {
	border-bottom: 0;
}

.x1-legal-badge {
	display: inline-flex;
	min-width: 42px;
	justify-content: center;
	padding: 3px 8px;
	border-radius: 999px;
	font-size: 11px !important;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.x1-legal-badge.yes {
	background: rgba(123, 255, 130, 0.16);
	color: #7bff82;
}

.x1-legal-badge.no {
	background: rgba(255, 255, 255, 0.06);
	color: #8f9495;
}

.x1-legal-footer {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 28px 24px 40px;
}

.x1-legal-footer-inner {
	max-width: 820px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	align-items: center;
}

.x1-legal-footer p,
.x1-legal-footer a,
.x1-legal-footer li {
	margin: 0 !important;
	color: #8f9495 !important;
	font-size: 13px !important;
	list-style: none !important;
}

.x1-legal-footer ul {
	display: flex;
	gap: 18px;
	margin: 0 !important;
	padding: 0 !important;
}

.x1-legal-footer a:hover {
	color: #7bff82 !important;
}

body.page-sms-consent-evidence .x1-legal-topbar-inner,
body.page-sms-consent-evidence .x1-legal-main,
body.page-sms-consent-evidence .x1-legal-footer-inner {
	max-width: 960px;
}

.x1-legal-evidence-shot {
	margin: 8px 0 10px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	overflow: hidden;
	background: #0b1618;
}

.x1-legal-evidence-shot a {
	display: block;
	text-decoration: none !important;
}

.x1-legal-evidence-shot img {
	display: block;
	width: 100%;
	height: auto;
}

.x1-legal-caption {
	margin: 0 0 24px !important;
	color: #8f9495 !important;
	font-size: 13px !important;
}

@media (max-width: 960px) {
	.x1-legal-topbar-inner {
		flex-wrap: wrap;
	}

	.x1-legal-topnav {
		width: 100%;
		justify-content: flex-start;
		flex-wrap: wrap;
	}

	.x1-legal-hero h1 {
		font-size: 32px !important;
	}
}

@media (max-width: 600px) {
	.x1-legal-hero h1 {
		font-size: 28px !important;
	}

	.x1-legal-main {
		padding: 24px 16px 56px;
	}
}
