.gc-legal #page,
.gc-legal .site-content,
.gc-legal .content-area,
.gc-legal .site-main,
.gc-legal .inside-article {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.gc-legal .entry-content {
	margin: 0;
}

.gc-legal {
	overflow-x: clip;
	background: var(--gc-color-cloud);
}

.gc-legal .gc-site-header {
	border-bottom-color: rgba(255, 255, 255, 0.13);
	background: linear-gradient(110deg, #25282c, #273237 68%, #2b4148);
	color: #fff;
}

.gc-legal .gc-site-header__signal {
	background: linear-gradient(90deg, #9ab7c1, #0d9488 55%, #6a8999);
}

.gc-legal .gc-brand,
.gc-legal .gc-menu a {
	color: #fff;
}

.gc-legal .gc-menu--primary > li > a::after {
	background: #6a8999;
}

.gc-legal .gc-menu--actions > li:last-child > a {
	border-color: #fff;
	background: #fff;
	color: #25282c;
}

.gc-neutral-page {
	box-sizing: border-box;
	width: min(calc(100% - 48px), 1120px) !important;
	max-width: 1120px !important;
	margin: 72px auto 104px !important;
	padding: 0;
	color: #25282c;
}

.gc-legal-hero {
	position: relative;
	overflow: hidden;
	padding: 76px 88px 72px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px 16px 0 0;
	background:
		radial-gradient(circle at 84% 18%, rgba(13, 148, 136, 0.3), transparent 30%),
		linear-gradient(135deg, #25282c, #26353a 70%, #2b4148);
	color: #fff;
}

.gc-legal-hero::before,
.gc-legal-hero::after {
	position: absolute;
	content: "";
	pointer-events: none;
}

.gc-legal-hero::before {
	top: 0;
	right: 88px;
	bottom: 0;
	width: 1px;
	background: rgba(255, 255, 255, 0.08);
	box-shadow: -88px 0 rgba(255, 255, 255, 0.04), 88px 0 rgba(255, 255, 255, 0.04);
}

.gc-legal-hero::after {
	top: 50%;
	right: 82px;
	width: 13px;
	height: 13px;
	border: 2px solid #9ab7c1;
	border-radius: 50%;
	background: #26383c;
	box-shadow: 0 0 0 8px rgba(154, 183, 193, 0.1);
}

.gc-legal-hero > * {
	position: relative;
	z-index: 1;
}

.gc-legal-kicker,
.gc-legal-meta,
.gc-legal-toc__label,
.gc-legal-related__label {
	font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.gc-legal-kicker {
	margin: 0 0 24px;
	color: #9ab7c1;
}

.gc-legal-hero h1 {
	max-width: 740px;
	margin: 0 0 26px;
	color: #fff;
	font-size: clamp(52px, 6vw, 80px);
	font-weight: 690;
	letter-spacing: -0.055em;
	line-height: 0.95;
}

.gc-legal-meta {
	margin: 0 0 22px;
	color: #d1d7df;
	letter-spacing: 0.08em;
}

.gc-legal-intro {
	max-width: 690px;
	margin: 0;
	color: #c1c8d2;
	font-size: 17px;
	line-height: 1.7;
}

.gc-legal-layout {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 72px;
	padding: 72px 88px 84px;
	border: 1px solid #dce0e8;
	border-top: 0;
	border-radius: 0 0 16px 16px;
	background: #fff;
	box-shadow: 0 30px 75px rgba(37, 40, 44, 0.1);
}

.gc-legal-toc {
	align-self: start;
	position: sticky;
	top: 112px;
	margin: 0;
	padding: 2px 0 2px 25px;
	border-left: 1px solid #cdd6da;
}

.gc-legal-toc::before {
	position: absolute;
	top: 4px;
	left: -5px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #0d9488;
	box-shadow: 0 0 0 6px #e4f0ef;
	content: "";
}

.gc-legal-toc__label,
.gc-legal-related__label {
	margin: 0 0 18px;
	color: #6a8999;
}

.gc-legal-toc ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gc-legal-toc li + li {
	margin-top: 12px;
}

.gc-legal-toc a {
	color: #626a73;
	font-size: 13px;
	font-weight: 650;
	line-height: 1.35;
	text-decoration: none;
}

.gc-legal-toc a:hover {
	color: #0d7169;
}

.gc-legal-content {
	min-width: 0;
}

.gc-legal-section {
	position: relative;
	margin: 0;
	padding: 42px 0 38px;
	border-top: 1px solid #e2e5e9;
	scroll-margin-top: 110px;
}

.gc-legal-section:first-child {
	padding-top: 0;
	border-top: 0;
}

.gc-legal-section h2,
.gc-legal-related h2 {
	margin: 0 0 16px;
	color: #25282c;
	font-size: clamp(25px, 2.7vw, 32px);
	font-weight: 720;
	letter-spacing: -0.035em;
	line-height: 1.15;
}

.gc-legal-section p,
.gc-legal-related p {
	margin: 0 0 16px;
	color: #626a73;
	font-size: 15px;
	line-height: 1.78;
}

.gc-legal-section p:last-child,
.gc-legal-related p:last-child {
	margin-bottom: 0;
}

.gc-legal-content a {
	color: #0d7169;
	font-weight: 700;
	text-decoration-color: rgba(13, 113, 105, 0.35);
	text-underline-offset: 3px;
}

.gc-legal-content a:hover {
	text-decoration-color: currentColor;
}

.gc-legal-content a:focus-visible,
.gc-legal-toc a:focus-visible {
	border-radius: 2px;
	outline: 3px solid rgba(13, 148, 136, 0.3);
	outline-offset: 4px;
}

.gc-legal-related {
	margin-top: 34px;
	padding: 30px 32px 32px;
	border: 1px solid #d9e1e3;
	border-radius: 10px;
	background:
		linear-gradient(90deg, rgba(13, 148, 136, 0.08), transparent 42%),
		#f7f8f8;
}

.gc-legal-related__links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	margin-bottom: 22px !important;
}

.gc-legal-related__links a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
}

.gc-legal-related__links a::after,
.gc-legal-related .gc-menu-item-support a::after,
.gc-legal-related .gc-cookie-preferences a::after {
	width: 13px;
	height: 13px;
	margin-left: 8px;
	background: currentColor;
	content: "";
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.gc-legal-related .gc-menu-item-support,
.gc-legal-related .gc-cookie-preferences {
	margin-top: 8px;
}

@media (max-width: 1250px) {
	.gc-legal .gc-site-header__drawer {
		background: #25282c;
	}
}

@media (max-width: 820px) {
	.gc-neutral-page {
		width: calc(100% - 28px) !important;
		margin: 32px auto 70px !important;
	}

	.gc-legal-hero {
		padding: 58px 34px 54px;
	}

	.gc-legal-hero::before {
		right: 48px;
	}

	.gc-legal-hero::after {
		right: 42px;
	}

	.gc-legal-hero h1 {
		font-size: clamp(44px, 12vw, 62px);
	}

	.gc-legal-intro {
		font-size: 16px;
	}

	.gc-legal-layout {
		grid-template-columns: 1fr;
		gap: 48px;
		padding: 48px 34px 56px;
	}

	.gc-legal-toc {
		position: relative;
		top: auto;
		padding: 0 0 24px;
		border-bottom: 1px solid #dce0e8;
		border-left: 0;
	}

	.gc-legal-toc::before {
		display: none;
	}

	.gc-legal-toc ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px 18px;
	}

	.gc-legal-toc li + li {
		margin-top: 0;
	}
}

@media (max-width: 520px) {
	.gc-legal-hero {
		padding: 48px 24px 46px;
	}

	.gc-legal-hero::before,
	.gc-legal-hero::after {
		display: none;
	}

	.gc-legal-layout {
		gap: 42px;
		padding: 42px 24px 48px;
	}

	.gc-legal-toc ul {
		grid-template-columns: 1fr;
	}

	.gc-legal-section {
		padding: 34px 0 30px;
	}

	.gc-legal-related {
		padding: 26px 24px 28px;
	}

	.gc-legal-related__links {
		display: grid;
		gap: 4px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gc-neutral-page * {
		scroll-behavior: auto;
		transition: none !important;
	}
}
