:root {
	color-scheme: light;
	--ink: #071633;
	--muted: #536176;
	--line: rgba(126, 143, 168, .28);
	--blue: #1377ff;
	--page-bg: #fafbff;
	--page-bg-rgb: 250, 251, 255;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	min-height: 100%;
}

body {
	overflow-x: hidden;
	background:
		radial-gradient(circle at 84% 28%, rgba(31, 121, 255, .11), rgba(31, 121, 255, 0) 28%),
		linear-gradient(135deg, #fff 0%, #fbfdff 46%, #f3f7fc 100%);
	color: var(--ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

.home-shell {
	position: relative;
	width: min(100% - 40px, 1060px);
	margin: 0 auto;
	padding: 34px 0 20px;
}

.home-header {
	display: flex;
	align-items: center;
	height: 42px;
	margin-bottom: 0;
}

.home-brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.home-brand img,
.footer-bottom img {
	display: block;
	width: auto;
	height: auto;
}

.home-hero {
	position: relative;
	display: flex;
	align-items: flex-start;
	min-height: 430px;
	padding: 92px 56px 48px 0;
	overflow: hidden;
	isolation: isolate;
}

.home-hero::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: -4px;
	right: 0;
	width: min(62vw, 920px);
	height: 448px;
	opacity: .9;
	background:
		linear-gradient(to right, rgba(var(--page-bg-rgb), 1) 0%, rgba(var(--page-bg-rgb), .92) 10%, rgba(var(--page-bg-rgb), .42) 26%, rgba(var(--page-bg-rgb), .08) 48%, rgba(var(--page-bg-rgb), .18) 70%, rgba(var(--page-bg-rgb), .78) 88%, rgba(var(--page-bg-rgb), 1) 100%),
		linear-gradient(to bottom, rgba(var(--page-bg-rgb), 1) 0%, rgba(var(--page-bg-rgb), .72) 8%, rgba(var(--page-bg-rgb), .1) 22%, rgba(var(--page-bg-rgb), .08) 58%, rgba(var(--page-bg-rgb), .68) 82%, rgba(var(--page-bg-rgb), 1) 100%),
		url("/static/home-bg.png") center / cover no-repeat;
	-webkit-mask-image:
		linear-gradient(to right, transparent 0%, #000 18%, #000 78%, transparent 100%),
		linear-gradient(to bottom, transparent 0%, #000 18%, #000 72%, transparent 100%),
		radial-gradient(ellipse 64% 54% at 60% 46%, #000 0 48%, rgba(0, 0, 0, .55) 64%, transparent 100%);
	-webkit-mask-composite: source-in, source-in;
	mask-image:
		linear-gradient(to right, transparent 0%, #000 18%, #000 78%, transparent 100%),
		linear-gradient(to bottom, transparent 0%, #000 18%, #000 72%, transparent 100%),
		radial-gradient(ellipse 64% 54% at 60% 46%, #000 0 48%, rgba(0, 0, 0, .55) 64%, transparent 100%);
	mask-composite: intersect;
}

.hero-copy {
	margin-top: 0;
}

.hero-copy h1 {
	margin: 0;
	max-width: 420px;
	font-size: 54px;
	line-height: 1.06;
	font-weight: 700;
	letter-spacing: -2px;
	color: #06152f;
}

.hero-copy p {
	margin: 30px 0 0;
	font-size: 18px;
	line-height: 1.5;
	font-weight: 390;
	letter-spacing: 0;
	color: #65758f;
	white-space: nowrap;
}

.home-footer {
	position: relative;
	z-index: 1;
	padding: 0 0 4px;
	margin-top: 0;
	background: transparent;
}

.value-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: center;
	column-gap: 42px;
	min-height: 88px;
	border-top: 1px solid rgba(126, 143, 168, .24);
	border-bottom: 1px solid var(--line);
}

.value-item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	min-width: 0;
	min-height: 58px;
	color: #101d35;
	font-size: 17px;
	font-weight: 560;
}

.value-item + .value-item {
	border-left: 1px solid var(--line);
}

.value-item img {
	display: block;
	width: 36px;
	height: 36px;
	object-fit: contain;
	filter: saturate(1.08) contrast(1.08);
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-height: 72px;
	color: #8a96a8;
	font-size: 13px;
}

@media (max-width: 900px) {
	.home-header {
		height: 38px;
	}

	.home-hero {
		align-items: flex-start;
		min-height: 405px;
		padding: 68px 42px 44px 0;
	}

	.home-hero::before {
		top: 28px;
		right: 0;
		width: min(76vw, 680px);
		height: 360px;
		opacity: .5;
	}

	.hero-copy {
		margin-top: 0;
	}

	.hero-copy h1 {
		font-size: 46px;
	}

	.hero-copy p {
		font-size: 16px;
		white-space: normal;
	}

	.value-row {
		grid-template-columns: 1fr;
		column-gap: 0;
		min-height: 0;
		padding: 18px 0;
	}

	.value-item {
		justify-content: flex-start;
		min-height: 68px;
		padding: 0 4px;
	}

	.value-item + .value-item {
		border-left: 0;
		border-top: 1px solid var(--line);
	}
}

@media (max-width: 560px) {
	.home-shell {
		width: min(100% - 32px, 1060px);
		padding-top: 26px;
	}

	.home-header {
		height: 34px;
		margin-bottom: 18px;
	}

	.home-brand img {
		width: 116px;
		height: auto;
	}

	.home-hero {
		min-height: 360px;
		padding: 44px 0 40px;
		overflow: hidden;
	}

	.home-hero::before {
		top: 76px;
		right: 0;
		width: 100%;
		height: 260px;
		opacity: .26;
		background:
			linear-gradient(to right, rgba(var(--page-bg-rgb), .94) 0%, rgba(var(--page-bg-rgb), .2) 28%, rgba(var(--page-bg-rgb), .24) 74%, rgba(var(--page-bg-rgb), .94) 100%),
			linear-gradient(to bottom, rgba(var(--page-bg-rgb), .8) 0%, rgba(var(--page-bg-rgb), .05) 24%, rgba(var(--page-bg-rgb), .84) 100%),
			url("/static/home-bg.png") center / cover no-repeat;
		-webkit-mask-image: radial-gradient(ellipse 70% 54% at 58% 50%, #000 0 45%, transparent 100%);
		mask-image: radial-gradient(ellipse 70% 54% at 58% 50%, #000 0 45%, transparent 100%);
	}

	.hero-copy h1 {
		font-size: 36px;
		letter-spacing: -1px;
	}

	.hero-copy p {
		font-size: 15px;
	}

	.home-footer {
		padding-bottom: 0;
	}

	.value-item {
		gap: 20px;
		font-size: 17px;
	}

	.value-item img {
		width: 40px;
		height: 40px;
	}

	.footer-bottom {
		min-height: 78px;
		font-size: 14px;
	}

	.footer-bottom img {
		width: 106px;
		height: auto;
	}
}
