@font-face {
	font-family: "Montserrat";
	src: url("./fonts/Montserrat-Latin-420.woff2") format("woff2");
	font-weight: 420;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Instrument Serif";
	src: url("./fonts/InstrumentSerif-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Instrument Serif";
	src: url("./fonts/InstrumentSerif-Italic.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

:root {
	--bg: #0b0418;
	--bg-2: #14082a;
	--ink: #f5eefb;
	--ink-dim: #c9b8e0;
	--ink-soft: #8a7aa6;
	--purple: #7a2bf0;
	--purple-2: #b07cff;
	--purple-glow: rgba(170, 110, 255, 0.45);
	--line: rgba(255, 255, 255, 0.08);
}

* {
	box-sizing: border-box;
}
body {
	margin: 0;
	color: var(--ink);
	-webkit-font-smoothing: antialiased;
}
a {
	color: inherit;
}
.shell {
	margin: 0 auto;
}
header {
	padding: 28px 0;
}
.brand {
	font-family: "Montserrat", sans-serif;
	font-weight: 420;
	font-size: 32px;
	letter-spacing: -0.02em;
	text-decoration: none;
}
h1 {
	font-family: "Instrument Serif", Georgia, serif;
	font-weight: 400;
}

.privacy {
	background: var(--bg)
		radial-gradient(ellipse at top, var(--bg-2) 0%, var(--bg) 60%);
	font-family: system-ui, -apple-system, sans-serif;
	line-height: 1.7;
	.shell {
		max-width: 820px;
		padding: 0 24px;
	}
	a {
		text-underline-offset: 4px;
	}
	a:hover {
		color: #d8b8ff;
	}
	a:focus-visible {
		outline: 2px solid var(--purple-2);
		outline-offset: 5px;
	}
	main {
		padding: 40px 0 64px;
	}
	h1 {
		margin: 0 0 8px;
		font-size: clamp(40px, 7vw, 56px);
		line-height: 1.1;
	}
	h2 {
		margin: 32px 0 8px;
		font-size: 20px;
		font-weight: 600;
	}
	p {
		margin: 0 0 16px;
		color: var(--ink-dim);
	}
	.updated {
		margin-bottom: 32px;
		font-size: 14px;
	}
	footer {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		gap: 16px;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
		padding: 24px 0 40px;
		color: var(--ink-dim);
		font-size: 14px;
	}
	@media (max-width: 640px) {
		main {
			padding-top: 24px;
		}
	}
}

.home {
	font-family: "Inter", system-ui, -apple-system, sans-serif;
	background: radial-gradient(ellipse at top, var(--bg-2) 0%, var(--bg) 60%)
		fixed;
	line-height: 1.55;
	overflow-x: hidden;

	a {
		text-decoration: none;
	}

	#chromo-canvas {
		position: fixed;
		inset: 0;
		width: 100%;
		height: 100%;
		z-index: 0;
		pointer-events: none;
	}

	.vignette {
		position: fixed;
		inset: 0;
		z-index: 1;
		pointer-events: none;
		background:
			radial-gradient(
				ellipse at center,
				transparent 40%,
				rgba(11, 4, 24, 0.6) 100%
			),
			linear-gradient(180deg, rgba(11, 4, 24, 0) 0%, rgba(11, 4, 24, 0.7) 100%);
	}

	.shell {
		position: relative;
		z-index: 2;
		max-width: 1180px;
		padding: 0 32px;
	}

	header.nav {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.brand {
		display: flex;
		align-items: center;
		gap: 14px;
	}

	.brand-mark {
		width: 44px;
		height: 44px;
		display: grid;
		place-items: center;
	}

	.brand-mark svg {
		width: 100%;
		height: 100%;
	}

	.hero {
		padding: 90px 0 140px;
		max-width: 880px;
		margin: 0 auto;
		text-align: center;
	}

	h1 {
		font-size: clamp(28px, 4vw, 52px);
		line-height: 1.05;
		letter-spacing: -0.02em;
		margin: 0 0 28px;
	}
	h1 em {
		font-style: italic;
		background: linear-gradient(120deg, #d8b8ff 0%, #8b4dff 60%, #d8b8ff 100%);
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
		display: inline-block;
		padding: 0.05em 0.12em 0.05em 0;
	}

	footer {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 2;
		padding: 56px 48px;
		color: var(--ink-soft);
		font-size: 15px;
	}
	.foot {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex-wrap: wrap;
		gap: 16px;
	}
	.foot a:hover {
		color: var(--ink);
	}

	@media (max-width: 640px) {
		.hero {
			padding: 60px 0 100px;
		}
	}
}
