/* ===== Privacy Policy (page-specific layer) ===== */

/* Safety: use site variables from style.css; no external libs */
.policy {
	padding: 40px 0 46px;
}
.policy-grid {
	display: grid;
	gap: 20px;
	align-items: start;
	grid-template-columns: 0.85fr 1.15fr;
}

/* Aside / TOC */
.toc {
	position: sticky;
	top: 64px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 12px;
}
.toc-title {
	margin: 0 0 6px;
	font-size: 1.02rem;
}
.toc ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 6px;
}
.toc a {
	display: inline-block;
	padding: 6px 8px;
	border-radius: 10px;
	color: var(--ink);
	text-decoration: none;
	border: 1px solid transparent;
	transition: background var(--speed), border-color var(--speed),
		transform var(--speed);
}
.toc a:hover {
	background: #fff7e6;
	border-color: #ffd9a8;
	transform: translateY(-1px);
}

/* Main body */
.policy-head .lede {
	color: var(--muted);
	margin-bottom: 6px;
}
.policy-head .lede-note {
	color: var(--muted);
}

.policy-body {
	display: grid;
	gap: 14px;
}
.card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 12px;
}
.card h2 {
	margin: 0 0 6px;
}
.card p + p {
	margin-top: 8px;
}

.card p a {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Decorative underline for page */
.policy .page-title {
	position: relative;
	display: inline-block;
	padding-bottom: 4px;
}
.policy .page-title::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 6px;
	border-radius: 999px;
	background: linear-gradient(90deg, #ffe29a, #ffcc7a, #fb8500);
	filter: drop-shadow(0 6px 10px rgba(251, 133, 0, 0.18));
}

/* Responsive */
@media (max-width: 1040px) {
	.policy-grid {
		grid-template-columns: 1fr;
	}
	.toc {
		position: static;
	}
}
@media (max-width: 560px) {
	.policy {
		padding: 28px 0 36px;
	}
	.card {
		padding: 10px;
	}
	.toc {
		padding: 10px;
	}
}
