/* /privacy — the privacy policy. Builds on styles.css tokens. */

.pv-main {
	padding-block: clamp(40px, 7vw, 84px) clamp(64px, 9vw, 108px);
}

.pv-hero {
	margin-bottom: clamp(40px, 6vw, 64px);
}
.pv-hero a,
.pv-body a {
	color: var(--amber);
	text-decoration: underline;
	text-decoration-color: var(--amber-border);
	text-underline-offset: 3px;
}
.pv-hero a:hover,
.pv-body a:hover {
	text-decoration-color: currentColor;
}
.pv-updated {
	margin: 18px 0 0;
	font-family: var(--font-mono);
	font-size: 12.5px;
	letter-spacing: 0.02em;
	color: var(--text-dim);
}

/* ───────────────────────── Layout: contents beside the policy ───────────────────────── */

.pv-layout {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}

.pv-toc {
	position: sticky;
	top: 96px;
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	scrollbar-width: thin;
}
.pv-toc-title {
	margin: 0 0 10px;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--amber);
}
.pv-toc ol {
	margin: 0;
	padding: 0;
	list-style: none;
}
.pv-toc a {
	display: block;
	padding: 6px 0;
	border-bottom: 1px solid var(--border);
	color: var(--text-muted);
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.15s var(--ease);
}
.pv-toc a:hover {
	color: var(--text-strong);
}

.pv-body {
	max-width: 70ch;
}

/* ───────────────────────── Sections ───────────────────────── */

.pv-section + .pv-section {
	margin-top: clamp(32px, 5vw, 48px);
	padding-top: clamp(32px, 5vw, 48px);
	border-top: 1px solid var(--border);
}
.pv-section h2 {
	margin-bottom: 18px;
	font-size: clamp(23px, 2.8vw, 29px);
	letter-spacing: -0.03em;
}
.pv-section h3 {
	margin: 32px 0 12px;
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.01em;
}
.pv-section p {
	margin: 0 0 14px;
	max-width: 68ch;
}
.pv-section ul:not(.pv-summary) {
	margin: 0 0 16px;
	padding-left: 1.2em;
	display: grid;
	gap: 8px;
}
.pv-section ul:not(.pv-summary) li::marker {
	color: var(--amber);
}

/* A jumped-to heading glows amber for a moment, so the eye lands on it. */
.pv-section:target h2,
.pv-section h3:target {
	animation: pv-target 1.8s var(--ease-in-out);
}
@keyframes pv-target {
	0%,
	35% {
		color: var(--amber);
	}
	100% {
		color: var(--text-strong);
	}
}

/* The short version: the pledge, made exact */

.pv-summary {
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid var(--border);
	background: var(--surface);
}
.pv-summary li {
	position: relative;
	padding: 14px 18px 14px 42px;
	color: var(--text-muted);
	line-height: 1.6;
}
.pv-summary li + li {
	border-top: 1px solid var(--border);
}
.pv-summary li::before {
	content: '';
	position: absolute;
	left: 20px;
	top: 1.55em;
	width: 6px;
	height: 6px;
	background: var(--amber);
}
.pv-summary strong {
	color: var(--text-strong);
}

/* A term beside its details, as the press kit's facts table */

.pv-facts {
	display: grid;
	margin: 0 0 16px;
	border: 1px solid var(--border);
}
.pv-facts > div {
	display: grid;
	grid-template-columns: 11.5rem minmax(0, 1fr);
	gap: 16px;
	padding: 12px 16px;
}
.pv-facts > div + div {
	border-top: 1px solid var(--border);
}
.pv-facts dt {
	font-family: var(--font-display);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--text-strong);
}
.pv-facts dd {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--text-muted);
}

/* ───────────────────────── Small screens ───────────────────────── */

@media (max-width: 900px) {
	.pv-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}
	.pv-toc {
		position: static;
		max-height: none;
		overflow: visible;
	}
	.pv-toc ol {
		columns: 2;
		column-gap: 32px;
	}
	.pv-toc li {
		break-inside: avoid;
	}
}

@media (max-width: 640px) {
	.pv-toc ol {
		columns: 1;
	}
	.pv-facts > div {
		grid-template-columns: minmax(0, 1fr);
		gap: 4px;
	}
}
