/* ===== TYH CONSTRUCT — LEGAL PAGES ONLY ===== */
/* These pages load ONLY legal.css, so it defines background + text itself. */

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body.legal-page {
	font-family: "Georgia", "Times New Roman", serif;
	font-size: 16px;
	line-height: 1.7;
	color: #E9ECEF;
	background-color: #10151C;
	overflow-x: hidden;
}

body.legal-page a {
	color: #E0A93E;
	text-decoration: none;
}

body.legal-page a:hover {
	color: #F0C57C;
	text-decoration: underline;
}

/* scope-isolation: any container content only styled under .legal-page .legal-content section */
body.legal-page .legal-content section {
	background-color: transparent !important;
}

/* ===== LEGAL HEADER — solid background and strong h1 contrast ===== */
.legal-head {
	background-color: #1A2129;
	border-bottom: 4px solid #E0A93E;
	padding: 40px 0;
}

.legal-head-inner {
	max-width: 820px;
	margin: 0 auto;
	padding: 0 24px;
}

.legal-brand {
	display: inline-block;
	color: #E0A93E;
	font-weight: 800;
	letter-spacing: 3px;
	text-transform: uppercase;
	font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	margin-bottom: 22px;
}

.legal-brand:hover {
	color: #E9C97A;
	text-decoration: none;
}

.legal-kicker {
	color: #C9743B;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 13px;
	font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	margin-bottom: 8px;
}

.legal-head h1 {
	color: #E9ECEF;
	font-size: 38px;
	line-height: 1.15;
	margin-bottom: 16px;
}

.legal-intro {
	color: #B7BDC4;
	font-size: 16px;
	max-width: 760px;
}

/* ===== MAIN CONTENT WRAPPER ===== */
.legal-content {
	max-width: 940px;
	margin: 0 auto;
	padding: 30px 24px 40px;
}

/* ===== TABLE OF CONTENTS ===== */
.legal-toc {
	background-color: #1A2129;
	border: 1px solid #27303A;
	border-left: 4px solid #E0A93E;
	padding: 22px 24px;
	margin-bottom: 36px;
}

.legal-toc ol {
	padding-left: 18px;
	list-style: decimal;
}

.legal-toc li {
	margin: 7px 0;
}

.legal-toc::before {
	content: "Contents — In This Policy";
	display: block;
	color: #E0A93E;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 14px;
	font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	margin-bottom: 12px;
}

/* ===== ARTICLE SECTIONS ===== */
.legal-article section {
	margin-bottom: 10px;
}

.legal-article section h2 {
	color: #E0A93E;
	font-size: 24px;
	margin: 28px 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid #27303A;
	scroll-margin-top: 20px;
}

.legal-article section p {
	color: #D0D5DC;
	margin-bottom: 16px;
}

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

/* ===== LEGAL FOOTER ===== */
.legal-foot {
	background-color: #0B0F14;
	border-top: 4px solid #E0A93E;
	padding: 26px 24px;
	text-align: center;
	color: #B7BDC4;
	font-size: 14px;
}

.legal-foot p {
	margin-bottom: 6px;
}

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

.legal-address {
	color: #8b93a1;
	font-size: 13px;
	letter-spacing: 0.2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 680px) {
	.legal-head h1 {
		font-size: 28px;
	}

	.legal-article section h2 {
		font-size: 20px;
	}
}
