/* ===========================================================================
   FE Studios — Privacy notice and client terms
   ========================================================================== */

:root {
	--legal-bg: #ffffff;
	--legal-ink: #111111;
	--legal-muted: #626262;
	--legal-line: #d9d9d9;
	--legal-max-width: 1120px;
	--legal-content-width: 900px;
	--font-display: "Bricolage Grotesque", sans-serif;
	--font-body: Manrope, ui-sans-serif, system-ui, sans-serif;
	--font-mono: "JetBrains Mono", monospace;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--legal-bg);
	color: var(--legal-ink);
	font-family: var(--font-body);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

a:focus-visible {
	outline: 2px solid var(--legal-ink);
	outline-offset: 4px;
}

::selection { background: var(--legal-ink); color: var(--legal-bg); }

.site-shell {
	min-height: 100vh;
	overflow-x: hidden;
	background: var(--legal-bg);
}

/* Accessibility --------------------------------------------------------- */
.legal-skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 1000;
	padding: 12px 16px;
	border-radius: 8px;
	background: var(--legal-ink);
	color: var(--legal-bg);
	font-weight: 700;
	text-decoration: none;
	transform: translateY(-150%);
}

.legal-skip-link:focus { transform: none; }

/* Header ---------------------------------------------------------------- */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 60;
	border-bottom: 1px solid rgb(17 17 17 / 10%);
	background: rgb(255 255 255 / 92%);
	backdrop-filter: blur(12px);
}

.site-header__content {
	display: flex;
	max-width: var(--legal-max-width);
	margin-inline: auto;
	align-items: center;
	justify-content: space-between;
	padding: 18px 28px;
}

.site-header__brand,
.site-header__nav { display: flex; align-items: center; }

.site-header__logo {
	width: auto;
	height: 34px;
	user-select: none;
}

.site-header__cta {
	padding: 9px 15px;
	border: 1px solid var(--legal-ink);
	border-radius: 8px;
	background: var(--legal-ink);
	color: var(--legal-bg);
	font-size: 12px;
	transition: background 0.2s, transform 0.2s;
}

.site-header__cta:hover {
	background: #303030;
	transform: translateY(-1px);
}

/* Legal content --------------------------------------------------------- */
.privacy-page {
	width: 100%;
	max-width: var(--legal-content-width);
	margin-inline: auto;
	padding: clamp(145px, 17vw, 190px) 28px clamp(80px, 10vw, 120px);
}

.privacy-page__header { padding-bottom: clamp(42px, 6vw, 64px); }

.section-eyebrow {
	margin: 0;
	color: var(--legal-muted);
	font: 600 11px / 1.2 var(--font-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.privacy-page__header h1 {
	margin: 18px 0 0;
	font-family: var(--font-display);
	font-size: clamp(3.25rem, 8vw, 6rem);
	line-height: 0.95;
	letter-spacing: -0.05em;
}

.privacy-page__updated {
	margin: 22px 0 0;
	color: var(--legal-muted);
	font: 500 11px / 1.4 var(--font-mono);
}

.privacy-page__lead {
	max-width: 660px;
	margin: 26px 0 0;
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	line-height: 1.65;
}

.privacy-section {
	padding: clamp(32px, 5vw, 48px) 0;
	border-top: 1px solid var(--legal-line);
}

.privacy-section h2 {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.privacy-section h3 { margin: 0; font-size: 1rem; }

.privacy-section p,
.privacy-section li,
.privacy-section address { font-size: 14px; line-height: 1.75; }

.privacy-section p {
	max-width: 72ch;
	margin: 16px 0 0;
	color: var(--legal-muted);
}

.privacy-section ul,
.privacy-section ol {
	max-width: 72ch;
	margin: 16px 0 0;
	padding-left: 21px;
	color: var(--legal-muted);
}

.privacy-section li + li { margin-top: 7px; }

.privacy-section address {
	margin-top: 16px;
	color: var(--legal-muted);
	font-style: normal;
}

.privacy-section a {
	color: var(--legal-ink);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.privacy-purpose-list {
	display: grid;
	max-width: 760px;
	margin-top: 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 42px;
}

.privacy-purpose-list p { margin-top: 8px; }

/* Footer ---------------------------------------------------------------- */
.site-footer {
	display: flex;
	max-width: var(--legal-max-width);
	margin-inline: auto;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding: 24px 28px 36px;
	border-top: 1px solid var(--legal-line);
	background: var(--legal-bg);
	color: var(--legal-muted);
	font: 400 11px / 1.4 var(--font-mono);
}

.site-footer__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px 22px;
}

.site-footer__links a {
	color: var(--legal-ink);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.site-footer__links a:hover { color: var(--legal-muted); }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 650px) {
	.site-header__content,
	.site-footer { padding-inline: 20px; }

	.site-header__logo { height: 30px; }
	.privacy-page { padding-inline: 20px; }

	.privacy-purpose-list {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.site-footer,
	.site-footer__links { flex-direction: column; }
	.site-footer__links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition-duration: 0.01ms !important; }
}
