/* =========================================================
   ENTRO — TRUST, EDITORIAL AND LEGAL PAGES
========================================================= */

body:has(.entro-trust-page),
body:has(.entro-contact-page) {
	margin: 0;
	background: #f4f1e9;
}

.entro-trust-page {
	--trust-ink: #121212;
	--trust-paper: #f4f1e9;
	--trust-white: #ffffff;
	--trust-orange: #ff5c35;
	--trust-yellow: #ffd84d;
	--trust-green: #c9ff5a;
	--trust-muted: #696963;
	--trust-line: rgba(18, 18, 18, 0.18);
	--trust-container: 1240px;

	color: var(--trust-ink);
	background: var(--trust-paper);
	font-family: inherit;
	line-height: 1.75;
}

.entro-trust-page *,
.entro-trust-page *::before,
.entro-trust-page *::after {
	box-sizing: border-box;
}

.entro-trust-page a {
	color: inherit;
}

.entro-trust-container {
	width: min(var(--trust-container), calc(100% - 48px));
	margin-inline: auto;
}

.entro-trust-kicker {
	display: block;
	margin-bottom: 18px;
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}


/* Reading progress */

.entro-trust-progress {
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	pointer-events: none;
}

.entro-trust-progress span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--trust-orange);
}


/* Hero */

.entro-trust-hero {
	padding: 38px 0 86px;
	color: var(--trust-white);
	background:
		radial-gradient(
			circle at 87% 8%,
			rgba(255, 92, 53, 0.42),
			transparent 30%
		),
		var(--trust-ink);
}

.entro-trust-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-bottom: 70px;
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.77rem;
}

.entro-trust-breadcrumbs a {
	text-decoration: none;
}

.entro-trust-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.55fr);
	align-items: end;
	gap: 80px;
}

.entro-trust-hero h1 {
	max-width: 1000px;
	margin: 0;
	font-size: clamp(3.5rem, 8vw, 7.5rem);
	line-height: 0.88;
	letter-spacing: -0.075em;
	overflow-wrap: anywhere;
}

.entro-trust-hero-meta {
	display: grid;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.entro-trust-hero-meta > span {
	color: rgba(255, 255, 255, 0.48);
	font-size: 0.68rem;
	font-weight: 850;
	text-transform: uppercase;
}

.entro-trust-hero-meta time {
	margin-top: 5px;
	font-size: 1rem;
	font-weight: 800;
}

.entro-trust-hero-meta a {
	margin-top: 28px;
	font-size: 0.76rem;
	font-weight: 900;
	text-underline-offset: 5px;
}


/* Document layout */

.entro-trust-document {
	padding: 100px 0 115px;
	background: var(--trust-white);
}

.entro-trust-layout {
	display: grid;
	grid-template-columns: 245px minmax(0, 780px);
	justify-content: center;
	gap: clamp(55px, 8vw, 120px);
}

.entro-trust-sidebar {
	position: relative;
}

.entro-trust-sidebar-inner {
	position: sticky;
	top: 90px;
	padding-top: 18px;
	border-top: 2px solid var(--trust-ink);
}

.entro-trust-sidebar-label {
	display: block;
	margin-bottom: 20px;
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.entro-trust-toc {
	display: grid;
}

.entro-trust-toc a {
	padding: 8px 0 8px 15px;
	border-left: 2px solid var(--trust-line);
	color: var(--trust-muted);
	font-size: 0.76rem;
	line-height: 1.45;
	text-decoration: none;
}

.entro-trust-toc a:hover,
.entro-trust-toc a.is-active {
	border-color: var(--trust-orange);
	color: var(--trust-ink);
}

.entro-trust-toc a[data-level="3"] {
	padding-left: 27px;
	font-size: 0.71rem;
}

.entro-trust-sidebar-contact {
	display: grid;
	gap: 8px;
	margin-top: 30px;
	padding-top: 22px;
	border-top: 1px solid var(--trust-line);
}

.entro-trust-sidebar-contact span {
	color: var(--trust-muted);
	font-size: 0.7rem;
}

.entro-trust-sidebar-contact a {
	font-size: 0.74rem;
	font-weight: 900;
	text-underline-offset: 4px;
}


/* Policy content */

.entro-trust-content {
	min-width: 0;
	font-size: clamp(1rem, 1.4vw, 1.1rem);
}

.entro-trust-content > *:first-child {
	margin-top: 0;
}

.entro-trust-content > p:first-child {
	margin-bottom: 2em;
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	font-weight: 600;
	line-height: 1.65;
}

.entro-trust-content p {
	margin: 0 0 1.55em;
}

.entro-trust-content h2 {
	scroll-margin-top: 100px;
	margin: 2.2em 0 0.75em;
	padding-top: 0.65em;
	border-top: 2px solid var(--trust-ink);
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.05;
	letter-spacing: -0.05em;
}

.entro-trust-content h3 {
	scroll-margin-top: 100px;
	margin: 2em 0 0.7em;
	font-size: clamp(1.35rem, 2.5vw, 2rem);
	line-height: 1.2;
	letter-spacing: -0.025em;
}

.entro-trust-content h4 {
	margin: 1.8em 0 0.65em;
	font-size: 1.15rem;
}

.entro-trust-content ul,
.entro-trust-content ol {
	margin: 0 0 1.8em;
	padding-left: 1.4em;
}

.entro-trust-content li {
	margin-bottom: 0.65em;
	padding-left: 0.25em;
}

.entro-trust-content a {
	font-weight: 750;
	text-decoration-color: var(--trust-orange);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.entro-trust-content blockquote {
	margin: 2.4em 0;
	padding: 28px 32px;
	border: 0;
	border-left: 7px solid var(--trust-orange);
	background: var(--trust-paper);
	font-size: 1.13rem;
	font-weight: 650;
}

.entro-trust-content blockquote p:last-child {
	margin-bottom: 0;
}

.entro-trust-content table {
	width: 100%;
	margin: 2.3em 0;
	border: 2px solid var(--trust-ink);
	border-collapse: collapse;
	background: var(--trust-white);
	font-size: 0.86rem;
}

.entro-trust-content th,
.entro-trust-content td {
	padding: 15px;
	border: 1px solid var(--trust-line);
	text-align: left;
	vertical-align: top;
}

.entro-trust-content th {
	color: var(--trust-white);
	background: var(--trust-ink);
}

.entro-trust-content hr {
	margin: 3em 0;
	border: 0;
	border-top: 2px solid var(--trust-ink);
}

.entro-trust-content img {
	display: block;
	max-width: 100%;
	height: auto;
}

.entro-trust-content figure {
	margin: 2.5em 0;
}

.entro-trust-content figcaption {
	margin-top: 10px;
	color: var(--trust-muted);
	font-size: 0.7rem;
}


/* Document footer */

.entro-trust-document-footer {
	display: grid;
	grid-template-columns: 1fr 1fr auto;
	align-items: end;
	gap: 25px;
	margin-top: 75px;
	padding: 28px;
	border: 2px solid var(--trust-ink);
	background: var(--trust-yellow);
	box-shadow: 7px 7px 0 var(--trust-ink);
}

.entro-trust-document-footer > div {
	display: grid;
	gap: 3px;
}

.entro-trust-document-footer span {
	font-size: 0.65rem;
	font-weight: 900;
	text-transform: uppercase;
}

.entro-trust-document-footer strong,
.entro-trust-document-footer time {
	font-size: 0.82rem;
}

.entro-trust-document-footer button {
	min-height: 44px;
	padding: 10px 15px;
	border: 2px solid var(--trust-ink);
	color: var(--trust-white);
	background: var(--trust-ink);
	font: inherit;
	font-size: 0.72rem;
	font-weight: 900;
	cursor: pointer;
}


/* Related policies */

.entro-trust-related {
	padding: 105px 0;
	background: var(--trust-paper);
}

.entro-trust-heading {
	margin-bottom: 40px;
	padding-bottom: 25px;
	border-bottom: 2px solid var(--trust-ink);
}

.entro-trust-heading h2 {
	margin: 0;
	font-size: clamp(2.7rem, 5vw, 5rem);
	line-height: 0.95;
	letter-spacing: -0.06em;
}

.entro-trust-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 2px solid var(--trust-ink);
	border-left: 2px solid var(--trust-ink);
}

.entro-trust-related-grid a {
	display: grid;
	grid-template-columns: 35px 1fr auto;
	align-items: center;
	gap: 15px;
	min-height: 135px;
	padding: 24px;
	border-right: 2px solid var(--trust-ink);
	border-bottom: 2px solid var(--trust-ink);
	background: var(--trust-white);
	text-decoration: none;
}

.entro-trust-related-grid a:hover,
.entro-trust-related-grid a[aria-current="page"] {
	background: var(--trust-green);
}

.entro-trust-related-grid span {
	color: var(--trust-orange);
	font-size: 0.68rem;
	font-weight: 900;
}

.entro-trust-related-grid strong {
	font-size: 1rem;
}

.entro-trust-related-grid i {
	font-size: 1.25rem;
	font-style: normal;
}


/* Accessibility */

.entro-trust-page :focus-visible {
	outline: 3px solid var(--trust-orange);
	outline-offset: 3px;
}

.entro-trust-page .screen-reader-text {
	position: absolute;
	overflow: hidden;
	width: 1px;
	height: 1px;
	padding: 0;
	border: 0;
	margin: -1px;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}


/* Responsive */

@media (max-width: 900px) {
	.entro-trust-layout {
		grid-template-columns: 1fr;
		gap: 45px;
	}

	.entro-trust-sidebar-inner {
		position: static;
	}

	.entro-trust-toc {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.entro-trust-related-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 700px) {
	.entro-trust-container {
		width: min(100% - 30px, var(--trust-container));
	}

	.entro-trust-hero {
		padding: 28px 0 58px;
	}

	.entro-trust-breadcrumbs {
		margin-bottom: 48px;
	}

	.entro-trust-hero-grid {
		grid-template-columns: 1fr;
		gap: 42px;
	}

	.entro-trust-hero h1 {
		font-size: clamp(3.3rem, 15vw, 5.4rem);
	}

	.entro-trust-document {
		padding: 70px 0 85px;
	}

	.entro-trust-document-footer {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.entro-trust-related {
		padding: 75px 0;
	}
}

@media (max-width: 520px) {
	.entro-trust-toc,
	.entro-trust-related-grid {
		grid-template-columns: 1fr;
	}

	.entro-trust-content h2 {
		font-size: clamp(2rem, 10vw, 3rem);
	}
}


/* Printing */

@media print {
	.entro-trust-progress,
	.entro-trust-hero,
	.entro-trust-sidebar,
	.entro-trust-related,
	.entro-trust-document-footer button {
		display: none !important;
	}

	.entro-trust-document {
		padding: 0;
	}

	.entro-trust-layout {
		display: block;
	}

	.entro-trust-content {
		max-width: none;
		font-size: 11pt;
	}

	.entro-trust-document-footer {
		box-shadow: none;
	}
}
