* {
	font-family: "Manrope", sans-serif;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html {
	overflow-x: hidden;
}
body {
	background: #f0f3ff;
	color: #111;
	overflow-x: hidden;
}

/* ── NAV ── */
.top-nav {
	background: #4b5efa;
	padding: 18px 60px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 4px 24px rgba(75, 94, 250, 0.3);
}
.nav-logo {
	font-size: 1.6rem;
	font-weight: 900;
	color: #fff;
	text-decoration: none;
}
.nav-logo span {
	color: #111;
}
.nav-links {
	display: flex;
	align-items: center;
	gap: 32px;
}
.nav-link {
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s;
}
.nav-link:hover {
	color: #fff;
}
.nav-back {
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
	padding: 8px 20px;
	border-radius: 9999px;
	transition: background 0.2s;
}
.nav-back:hover {
	background: rgba(255, 255, 255, 0.25);
}

/* ── HERO ── */
.hero {
	background: #4b5efa;
	padding: 70px 60px 80px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.hero::before {
	content: "";
	position: absolute;
	width: 400px;
	height: 400px;
	border-radius: 50%;
	border: 60px solid rgba(255, 255, 255, 0.08);
	bottom: -140px;
	right: -80px;
	pointer-events: none;
}
.hero::after {
	content: "";
	position: absolute;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	border: 40px solid rgba(255, 255, 255, 0.06);
	top: -60px;
	left: -40px;
	pointer-events: none;
}
.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 9999px;
	padding: 8px 20px;
	font-size: 0.82rem;
	font-weight: 700;
	color: #fff;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 24px;
}
.hero h1 {
	font-size: clamp(2.2rem, 5vw, 3.8rem);
	font-weight: 800;
	color: #fff;
	margin-bottom: 14px;
	line-height: 1.1;
}
.hero h1 span {
	color: #111;
}
.hero p {
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.95rem;
	font-weight: 500;
}
.hero-nav-pills {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 36px;
	flex-wrap: wrap;
}
.hero-pill {
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: rgba(255, 255, 255, 0.8);
	border-radius: 9999px;
	padding: 8px 20px;
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s;
}
.hero-pill:hover {
	background: rgba(255, 255, 255, 0.28);
	color: #fff;
}

/* ── BODY LAYOUT ── */
.legal-wrapper {
	max-width: 1080px;
	margin: 0 auto;
	padding: 56px 40px 100px;
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

/* Sidebar */
.toc {
	width: 220px;
	flex-shrink: 0;
	position: sticky;
	top: 90px;
	background: #fff;
	border-radius: 16px;
	padding: 24px 20px;
	box-shadow: 0 4px 24px rgba(75, 94, 250, 0.1);
	border: 1px solid rgba(75, 94, 250, 0.1);
}
.toc h4 {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #4b5efa;
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 2px solid #f0f3ff;
}
.toc ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.toc ul li a {
	display: block;
	padding: 7px 10px;
	border-radius: 8px;
	color: #555;
	font-size: 0.82rem;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s;
	border-left: 2px solid transparent;
}
.toc ul li a:hover {
	color: #4b5efa;
	background: #f0f3ff;
	border-left-color: #4b5efa;
}
.toc-other-page {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 2px solid #f0f3ff;
}
.toc-other-page a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	background: #4b5efa;
	color: #fff;
	border-radius: 10px;
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.2s;
}
.toc-other-page a:hover {
	background: #3a4de0;
}

/* Main content */
.legal-content {
	flex: 1;
	min-width: 0;
}

.legal-section {
	background: #fff;
	border-radius: 16px;
	padding: 32px 36px;
	margin-bottom: 20px;
	box-shadow: 0 2px 16px rgba(75, 94, 250, 0.07);
	border: 1px solid rgba(75, 94, 250, 0.08);
	scroll-margin-top: 100px;
	overflow-x: hidden;
	max-width: 100%;
}
.legal-section h2 {
	font-size: 1.2rem;
	font-weight: 800;
	color: #111;
	margin-bottom: 16px;
	padding-bottom: 14px;
	border-bottom: 2px solid #f0f3ff;
	display: flex;
	align-items: center;
	gap: 12px;
}
.section-num {
	background: #4b5efa;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.legal-section p {
	color: #444;
	font-size: 0.93rem;
	line-height: 1.8;
	margin-bottom: 12px;
	word-break: break-word;
	overflow-wrap: break-word;
}
.legal-section p:last-child {
	margin-bottom: 0;
}
.legal-section ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin: 12px 0;
}
.legal-section ul li {
	color: #444;
	font-size: 0.93rem;
	line-height: 1.7;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	word-break: break-word;
	overflow-wrap: break-word;
}
.legal-section ul li::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #4b5efa;
	flex-shrink: 0;
	margin-top: 8px;
}
.legal-section a {
	color: #4b5efa;
	text-decoration: none;
	font-weight: 600;
	word-break: break-word;
	overflow-wrap: break-word;
}
.legal-section a:hover {
	text-decoration: underline;
}

.highlight-box {
	background: #f0f3ff;
	border: 1px solid rgba(75, 94, 250, 0.2);
	border-left: 4px solid #4b5efa;
	border-radius: 10px;
	padding: 16px 20px;
	margin: 16px 0;
}
.highlight-box p {
	color: #333 !important;
	margin: 0 !important;
	font-size: 0.9rem !important;
}

.warning-box {
	background: #fff8f0;
	border: 1px solid rgba(255, 160, 50, 0.25);
	border-left: 4px solid #f59e0b;
	border-radius: 10px;
	padding: 16px 20px;
	margin: 16px 0;
}
.warning-box p {
	color: #333 !important;
	margin: 0 !important;
	font-size: 0.9rem !important;
}

/* ── FOOTER ── */
.site-footer {
	background: #4b5efa;
	padding: 28px 60px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}
.site-footer p {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.85rem;
}
.footer-links {
	display: flex;
	gap: 24px;
}
.footer-links a {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.85rem;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.2s;
}
.footer-links a:hover {
	color: #fff;
}


/* ── Hamburger & Mobile Navigation ── */
.hamburger-btn {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	background: rgba(255, 255, 255, 0.15);
	border: 1.5px solid rgba(255, 255, 255, 0.3);
	border-radius: 8px;
	cursor: pointer;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
}
.hamburger-btn span {
	display: block;
	width: 20px;
	height: 2px;
	background: #fff;
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.2s ease;
	pointer-events: none;
}
.hamburger-btn.active span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.active span:nth-child(2) {
	opacity: 0;
}
.hamburger-btn.active span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}
.mobile-nav {
	display: none;
	position: fixed;
	inset: 0;
	background: #4b5efa;
	z-index: 9999;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 80px 24px 48px;
}
.mobile-nav.open {
	display: flex;
	animation: mobileNavFadeIn 0.22s ease;
}
@keyframes mobileNavFadeIn {
	from { opacity: 0; transform: translateY(-8px); }
	to   { opacity: 1; transform: translateY(0); }
}
.mobile-nav-logo-area {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.mobile-nav-close-btn {
	background: rgba(255, 255, 255, 0.15);
	border: 1.5px solid rgba(255, 255, 255, 0.3);
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.mobile-nav a {
	display: block;
	width: 100%;
	max-width: 320px;
	text-align: center;
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.1rem;
	font-weight: 600;
	text-decoration: none;
	padding: 13px 24px;
	border-radius: 10px;
	transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}
.mobile-nav .mobile-nav-cta {
	background: #111;
	color: #fff !important;
	border-radius: 9999px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-size: 0.9rem !important;
	padding: 14px 44px !important;
	margin-top: 16px;
}

@media (max-width: 768px) {
	.top-nav,
	.hero,
	.site-footer {
		padding-left: 24px;
		padding-right: 24px;
	}
    .hamburgerBtn{
        display: flex;
    }
	.legal-wrapper {
		flex-direction: column;
		padding: 32px 20px 60px;
		overflow-x: hidden;
	}
	.toc {
		width: 100%;
		position: static;
	}
	.legal-section {
		padding: 24px 20px;
	}
	.nav-links,
	.nav-back {
		display: none !important;
	}
	.hamburger-btn {
		display: flex;
	}
	.highlight-box,
	.warning-box {
		padding: 14px 16px;
	}
}
