/* ─── Policy pages ─────────────────────────────────────── */

/* Full-bleed hero + sidebar nav + editorial legal content. */


/* ─── Page shell ─────────────────────────────────────────── */

.policy											{

													/* Horizontal bleed only — keep body top padding so the hero clears the nav */
													margin: 0 calc(-1 * var(--shell-pad)) 0;
}


/* ─── Hero ───────────────────────────────────────────────── */

.policy-hero									{	position: relative;
													background: transparent;
													padding: clamp(3rem, 8vw, 5.5rem) var(--shell-pad) clamp(2.5rem, 5vw, 4rem);
													border-bottom: 1px solid var(--color-rule);
													isolation: isolate;

	/* Shared eyebrow → display-font treatment */
	.eyebrow									{	margin-bottom: 1.25em;
													font-family: var(--font-display); font-weight: 700;
													letter-spacing: var(--track-eyebrow); line-height: 1;
	}

	.policy-hero-inner							{	position: relative; z-index: 1; max-width: 900px; }

	h1											{	margin: 0 0 0.5em;
													font-family: var(--font-display);
													font-size: clamp(2rem, 5.5vw, 3.75rem); font-weight: 700;
													line-height: 0.95; letter-spacing: -0.03em; text-transform: uppercase;
	}

	.policy-lede								{	max-width: 52ch;
													font-size: var(--fs-4); line-height: 1.55;
													color: var(--color-paper-mute);

		p										{	margin: 0; }
	}

	.policy-mark								{	position: absolute; z-index: 0;
													font-family: var(--font-mono); font-size: 14px; font-weight: 500;
													line-height: 1; color: var(--color-paper-low);
													pointer-events: none; user-select: none;

		&.policy-mark--tl						{	top: clamp(1.25rem, 3vw, 2rem); left: var(--shell-pad); }

		&.policy-mark--br						{	right: var(--shell-pad); bottom: clamp(1.25rem, 3vw, 2rem); }
	}

	@media screen and (max-width: 650px)		{	padding-bottom: 2rem;

		.policy-mark							{	display: none; }
	}
}


/* ─── Shell (nav + content) ──────────────────────────────── */

.policy-shell									{	background: transparent; }

.policy-shell-inner								{

													/* Sidebar layout — genuine 2-axis, grid is the right tool here */
													display: grid;
													grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
													gap: clamp(2rem, 5vw, 4rem); align-items: start;
													max-width: 1200px;
													margin-inline: auto;
													padding: clamp(2.5rem, 5vw, 4rem) var(--shell-pad) clamp(4rem, 8vw, 6rem);

	@media screen and (max-width: 900px)		{	grid-template-columns: 1fr; gap: 2rem; }
}


/* ─── Policy nav ─────────────────────────────────────────── */

.policy-nav										{	position: sticky; top: var(--shell-pad);

	.policy-nav-label							{	margin: 0 0 1em;
													font-family: var(--font-display); font-size: 10px; font-weight: 700;
													letter-spacing: var(--track-eyebrow); text-transform: uppercase;
													color: var(--color-paper-low);
	}

	.policy-nav-list							{	display: flex; flex-direction: column; gap: 0.15em; }

	.policy-nav-link							{	display: block;
													padding: 0.55em 0 0.55em 0.85em;
													border-left: 2px solid transparent;
													font-size: var(--fs-5); font-weight: 500; line-height: 1.35;
													color: var(--color-paper-mute); text-decoration: none;
													transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
		&:hover									{	color: var(--color-paper); }

		&.policy-nav-link--current				{	border-left-color: var(--color-brand);
													color: var(--color-paper); font-weight: 600;
		}
	}

	@media screen and (max-width: 900px)		{	position: static;
													padding-bottom: 1.5em;
													border-bottom: 1px solid var(--color-rule);

		.policy-nav-list						{	flex-direction: row; flex-wrap: wrap; gap: 0.45em; }

		.policy-nav-link						{	padding: 0.45em 0.9em;
													border-left: 0; border: 1px solid var(--color-rule);
													border-radius: var(--radius-pill);
													font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
													text-transform: uppercase; white-space: nowrap;

			&.policy-nav-link--current			{	border-color: var(--color-brand); background: var(--color-brand-soft);
													color: var(--color-brand);
			}
		}
	}

	@media screen and (max-width: 650px)		{

		.policy-nav-list						{	flex-wrap: nowrap; overflow-x: auto;
													-webkit-overflow-scrolling: touch;
													padding-bottom: 0.25em;
													scrollbar-width: none;
			&::-webkit-scrollbar				{	display: none; }
		}
	}
}


/* ─── Legal content ──────────────────────────────────────── */

.policy-content									{	font-size: var(--fs-4); line-height: 1.65;
													color: var(--color-paper-mute);
													max-width: 52rem;

	h2											{	margin: 2.75em 0 0.85em; padding-top: 1.5em;
													border-top: 2px solid var(--color-brand);
													font-family: var(--font-display);
													font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 700;
													line-height: 1.15; letter-spacing: 0.04em; text-transform: uppercase;
													color: var(--color-paper);
		&:first-child							{	margin-top: 0; padding-top: 0; border-top: 0; }
	}

	h3											{	margin: 1.75em 0 0.5em;
													font-family: var(--font-display); font-size: var(--fs-4);
													font-weight: 700; line-height: 1.25; letter-spacing: 0.02em;
													text-transform: uppercase; color: var(--color-paper);
	}

	p											{	margin: 0 0 1em; }

	ul, ol										{	margin: 0 0 1.35em; padding: 0; list-style: none; }

	li											{	position: relative; margin-bottom: 0.5em; padding-left: 1.15em; }

	ul li										{	padding-left: 1.35em;
													font-family: var(--font-mono); font-size: 11px; line-height: 1.45;
													letter-spacing: 0.02em; color: var(--color-paper-low);
		&::before								{	content: "—";
													top: 0;
													width: auto; height: auto;
													border-radius: 0; background: none;
													color: var(--color-brand);
		}
	}

	ol											{	counter-reset: policy-ol;

		li										{	counter-increment: policy-ol;
													padding-left: 1.75em;
			&::before							{	content: counter(policy-ol, decimal-leading-zero);
													position: absolute; left: 0; top: 0;
													font-family: var(--font-mono); font-size: 11px; font-weight: 600;
													letter-spacing: 0.06em; color: var(--color-brand);
			}
		}
	}

	a											{	color: var(--color-brand); text-decoration: none;
													border-bottom: 1px solid var(--color-brand-mute);
													transition: opacity var(--dur-fast) var(--ease-out);
		&:hover									{	opacity: 0.85; }
	}

	strong										{	color: var(--color-paper); font-weight: 600; }

	.placeholder								{	display: inline;
													padding: 0.1em 0.35em;
													border-radius: 2px; background: var(--color-brand-soft);
													color: var(--color-brand); font-style: normal; font-weight: 600;
	}
}


/* ─── Callout ────────────────────────────────────────────── */

.policy-callout									{	margin: 2.5em 0 0; padding: 1.5em 1.75em;
													background: var(--color-ink-0);
													border-left: 3px solid var(--color-brand);

	p											{	margin: 0;
													font-size: var(--fs-5); line-height: 1.55;
													color: var(--color-paper-mute);

		& + p									{	margin-top: 0.85em; }
	}

	a											{	color: var(--color-brand); border-bottom-color: currentColor; }
}
