:root {
	color-scheme: light dark;
	--chrome: #f0f0f1;
	--canvas: #fafafa;
	--card: #ffffff;
	--separator: rgb(0 0 0 / 0.1);
	--text: #1d1d1f;
	--secondary: rgb(29 29 31 / 0.64);
	--tertiary: rgb(29 29 31 / 0.42);
	--accent: #6e56cf;
	--font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI', system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
	:root {
		--chrome: #0c0c0d;
		--canvas: #141415;
		--card: #1b1b1d;
		--separator: rgb(255 255 255 / 0.1);
		--text: #f5f5f7;
		--secondary: rgb(245 245 247 / 0.62);
		--tertiary: rgb(245 245 247 / 0.4);
		--accent: #7c66dc;
	}
}

@media (prefers-contrast: more) {
	:root {
		--separator: rgb(127 127 127 / 0.6);
		--secondary: color-mix(in srgb, var(--text) 85%, transparent);
		--tertiary: color-mix(in srgb, var(--text) 70%, transparent);
	}
}

* {
	box-sizing: border-box;
}

html {
	background: var(--chrome);
}

body {
	margin: 0;
	background: var(--chrome);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

.page {
	width: min(1120px, 100% - 32px);
	margin: 0 auto;
}

.top-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 0;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 17px;
	font-weight: 600;
	text-decoration: none;
}

.brand img {
	width: 30px;
	height: 30px;
	border-radius: 7px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 18px;
	border: 1px solid var(--separator);
	border-radius: 9px;
	background: var(--card);
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.button:hover {
	filter: brightness(0.97);
}

.button.prominent {
	border-color: transparent;
	background: var(--accent);
	color: white;
}

.hero {
	padding: 56px 0 40px;
	text-align: center;
}

.hero h1 {
	max-width: 760px;
	margin: 0 auto;
	font-size: clamp(34px, 6vw, 56px);
	font-weight: 650;
	letter-spacing: -0.025em;
	line-height: 1.08;
}

.hero p {
	max-width: 600px;
	margin: 20px auto 0;
	color: var(--secondary);
	font-size: clamp(17px, 2.2vw, 19px);
}

.hero .actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin-top: 30px;
}

.hero .note {
	margin: 0;
	color: var(--tertiary);
	font-size: 14px;
}

.shot {
	display: block;
}

.shot img {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 24px 48px rgb(0 0 0 / 0.16));
}

.hero-shot {
	margin-top: 48px;
}

.features {
	display: flex;
	flex-direction: column;
	gap: 96px;
	padding: 96px 0;
}

.feature {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	align-items: center;
	gap: 48px;
}

.feature:nth-child(even) {
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.feature:nth-child(even) .text {
	order: 2;
}

.feature h2 {
	margin: 0 0 12px;
	font-size: clamp(24px, 3.2vw, 32px);
	font-weight: 650;
	letter-spacing: -0.015em;
	line-height: 1.15;
}

.feature p {
	margin: 0;
	color: var(--secondary);
	font-size: 17px;
}

.principles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	padding: 0 0 96px;
}

.principle {
	padding: 22px;
	border: 1px solid var(--separator);
	border-radius: 14px;
	background: var(--card);
}

.principle h3 {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 600;
}

.principle p {
	margin: 0;
	color: var(--secondary);
	font-size: 15px;
}

.closing {
	padding: 0 0 96px;
	text-align: center;
}

.closing h2 {
	margin: 0 0 24px;
	font-size: clamp(26px, 3.6vw, 36px);
	font-weight: 650;
	letter-spacing: -0.02em;
}

.footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 24px;
	padding: 28px 0 40px;
	border-top: 1px solid var(--separator);
	color: var(--tertiary);
	font-size: 14px;
}

.footer nav {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.footer a {
	text-decoration: none;
}

.footer a:hover {
	color: var(--text);
}

.legal {
	max-width: 720px;
	padding: 32px 0 80px;
}

.legal h1 {
	margin: 0 0 6px;
	font-size: 34px;
	font-weight: 650;
	letter-spacing: -0.02em;
}

.legal h2 {
	margin: 36px 0 8px;
	font-size: 19px;
	font-weight: 600;
}

.legal p,
.legal li {
	color: var(--secondary);
}

.legal .updated {
	margin: 0;
	color: var(--tertiary);
	font-size: 14px;
}

.missing {
	padding: 1px 6px;
	border-radius: 5px;
	background: rgb(255 170 0 / 0.25);
	color: var(--text);
}

@media (max-width: 760px) {
	.feature,
	.feature:nth-child(even) {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.feature:nth-child(even) .text {
		order: 0;
	}

	.features {
		gap: 64px;
		padding: 64px 0;
	}

	.hero {
		padding-top: 32px;
	}
}
