html {
	scroll-behavior: smooth;
}

.policy-page {
	padding-top: 30px;
	padding-bottom: 50px;
}

.policy-hero {
	background: #111111;
	border: 1px solid #2a2a2a;
	border-radius: 14px;
	padding: 28px 28px 22px;
	margin-bottom: 30px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.policy-hero h1 {
	margin: 0 0 14px;
	font-size: 36px;
	line-height: 1.2;
	color: #ffffff;
	font-family: 'Open Sans', Arial, sans-serif;
	font-weight: 700;
}

.policy-hero__intro,
.policy-hero__agreement {
	color: #d7d7d7;
	font-size: 15px;
	line-height: 1.8;
	margin: 0 0 16px;
}

.policy-meta {
	margin: 0 0 16px;
	padding: 14px 16px;
	background: #181818;
	border: 1px solid #2f2f2f;
	border-radius: 10px;
}

.policy-meta span {
	display: inline-block;
	margin-right: 20px;
	margin-bottom: 6px;
	color: #f0f0f0;
	font-size: 13px;
}

.policy-layout {
	margin-top: 0;
}

.policy-main {
	margin-bottom: 30px;
}

.policy-section {
	background: #ffffff;
	border: 1px solid #e8e8e8;
	border-radius: 14px;
	padding: 26px 26px 18px;
	margin-bottom: 24px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
	scroll-margin-top: 120px;
}

.policy-section h2,
.policy-section h3 {
	position: relative;
}

.policy-section h2 {
	margin: 0 0 14px;
	font-size: 24px;
	line-height: 1.35;
	color: #111111;
	font-family: 'Open Sans', Arial, sans-serif;
	font-weight: 700;
	padding-right: 36px;
}

.policy-section h3 {
	margin: 18px 0 10px;
	font-size: 18px;
	line-height: 1.4;
	color: #1a1a1a;
	font-family: 'Open Sans', Arial, sans-serif;
	font-weight: 700;
	padding-right: 34px;
}

.policy-section p {
	margin-bottom: 14px;
	color: #333333;
	font-size: 14px;
	line-height: 1.85;
}

.policy-section ul,
.policy-section ol {
	margin: 0 0 16px 22px;
}

.policy-section li {
	margin-bottom: 8px;
	color: #333333;
	line-height: 1.75;
}

.policy-subsection {
	margin-top: 14px;
	padding-top: 2px;
}

.policy-anchor-link {
	position: absolute;
	right: 0;
	top: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 999px;
	background: #f4f4f4;
	border: 1px solid #e5e5e5;
	color: #555555;
	text-decoration: none;
	font-size: 14px;
	line-height: 1;
	opacity: 0;
	transform: translateY(1px);
	transition: all 0.2s ease;
}

.policy-section h2:hover .policy-anchor-link,
.policy-section h3:hover .policy-anchor-link,
.policy-anchor-link:focus {
	opacity: 1;
}

.policy-anchor-link:hover {
	background: #fb6445;
	border-color: #fb6445;
	color: #ffffff;
	text-decoration: none;
}

.policy-sidebar-wrap {
	position: relative;
}

.policy-sidebar {
	position: sticky;
	top: 110px;
}

.policy-sidebar__inner {
	background: #ffffff;
	border: 1px solid #e8e8e8;
	border-radius: 14px;
	padding: 20px 18px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
	max-height: calc(100vh - 140px);
	overflow: auto;
}

.policy-sidebar__inner h3,
.policy-mobile-toc h3 {
	margin: 0 0 14px;
	font-size: 18px;
	font-family: 'Open Sans', Arial, sans-serif;
	color: #111111;
}

.policy-toc,
.policy-mobile-toc ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.policy-toc li,
.policy-mobile-toc li {
	margin: 0 0 6px;
}

.policy-toc a,
.policy-mobile-toc a {
	display: block;
	padding: 8px 10px;
	border-radius: 8px;
	color: #444444;
	text-decoration: none;
	font-size: 13px;
	line-height: 1.45;
	transition: background 0.2s ease, color 0.2s ease;
}

.policy-toc a:hover,
.policy-mobile-toc a:hover {
	background: #fff2ed;
	color: #d9481c;
	text-decoration: none;
}

.policy-toc a.is-active {
	background: #fb6445;
	color: #ffffff;
	font-weight: 700;
}

.policy-mobile-toc {
	display: none;
	background: #ffffff;
	border: 1px solid #e8e8e8;
	border-radius: 14px;
	padding: 20px 18px;
	margin-bottom: 24px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.policy-bottom-note {
	text-align: center;
	padding: 10px 0 20px;
}

.policy-back-to-top {
	display: inline-block;
	padding: 10px 16px;
	border-radius: 999px;
	background: #111111;
	color: #ffffff;
	text-decoration: none;
	font-weight: 700;
}

.policy-back-to-top:hover {
	background: #fb6445;
	color: #ffffff;
	text-decoration: none;
}

.policy-inline-note {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	background: #fff2ed;
	color: #c84319;
	font-weight: 700;
	font-size: 12px;
	margin-left: 6px;
	vertical-align: middle;
}

/* HUB PAGE */

.policy-hub {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 10px;
}

.policy-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.policy-card-link:hover {
	text-decoration: none;
	color: inherit;
}

.policy-card {
	background: #ffffff;
	border: 1px solid #e8e8e8;
	border-radius: 18px;
	padding: 28px 24px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	height: 100%;
}

.policy-card-link:hover .policy-card {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
	border-color: #f3c3b5;
}

.policy-card__icon {
	font-size: 34px;
	line-height: 1;
	margin-bottom: 16px;
}

.policy-card h2 {
	margin: 0 0 12px;
	font-size: 26px;
	line-height: 1.3;
	color: #111111;
	font-family: 'Open Sans', Arial, sans-serif;
	font-weight: 700;
}

.policy-card p {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.8;
	color: #333333;
}

.policy-card__cta {
	display: inline-block;
	padding: 10px 16px;
	border-radius: 999px;
	background: #111111;
	color: #ffffff;
	font-weight: 700;
	font-size: 13px;
}

.policy-card-link:hover .policy-card__cta {
	background: #fb6445;
	color: #ffffff;
}

@media (max-width: 979px) {
	.policy-sidebar {
		top: 95px;
	}

	.policy-hero h1 {
		font-size: 31px;
	}

	.policy-section {
		scroll-margin-top: 110px;
	}

	.policy-hub {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.policy-page {
		padding-top: 20px;
	}

	.policy-hero {
		padding: 22px 18px 18px;
		margin-bottom: 20px;
	}

	.policy-hero h1 {
		font-size: 27px;
	}

	.policy-meta span {
		display: block;
		margin-right: 0;
	}

	.policy-mobile-toc {
		display: block;
	}

	.policy-sidebar-wrap {
		display: none;
	}

	.policy-section {
		padding: 20px 18px 14px;
		margin-bottom: 18px;
		scroll-margin-top: 95px;
	}

	.policy-section h2 {
		font-size: 21px;
		padding-right: 32px;
	}

	.policy-section h3 {
		font-size: 17px;
		padding-right: 30px;
	}

	.policy-anchor-link {
		opacity: 1;
		width: 24px;
		height: 24px;
		font-size: 13px;
	}

	.policy-card {
		padding: 22px 18px;
	}

	.policy-card h2 {
		font-size: 22px;
	}
}