:root {
	--bg: #f6f7f9;
	--card: #ffffff;
	--text: #16181d;
	--muted: #6f7480;
	--line: #e3e6eb;
	--blue: #1677ff;
	--shadow: 0 18px 45px rgba(20, 30, 50, .08);
	--radius: 24px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	background:
		radial-gradient(circle at top left, rgba(22, 119, 255, .12), transparent 34rem),
		var(--bg);
	color: var(--text);
}

a {
	color: inherit;
	text-decoration: none;
}

.wrap {
	width: min(1120px, calc(100% - 40px));
	margin: 0 auto;
}

header {
	padding: 34px 0 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.logo {
	font-weight: 800;
	font-size: 22px;
	letter-spacing: -.03em;
}

.logo span {
	color: var(--blue);
}

nav {
	font-size: 14px;
	color: var(--muted);
}

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

.hero h1 {
	margin: 0 auto 20px;
	max-width: 1024px;
	font-size: 3.3em;
	line-height: .95;
//	letter-spacing: -.07em;
}

.hero p {
	margin: 0 auto;
	max-width:800px;
	font-size: 1.25em;
	line-height: 1.45;
	color: var(--muted);
}

.hero .pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 20px;
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 255, 255, .75);
	color: var(--muted);
	font-size: 14px;
	backdrop-filter: blur(12px);
}

section {
	padding: 24px 0;
}

.intro-text {
	padding: 8px 0 34px;
}

.intro-text p {
	max-width: 830px;
	margin: 0 auto;
	text-align: center;
	color: var(--muted);
	font-size: 18px;
	line-height: 1.6;
}

.section-head {
	margin: 20px 0 18px;
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
}

.section-head h2 {
	margin: 0;
	font-size: 34px;
	letter-spacing: -.05em;
}

.section-head p {
	margin: 6px 0 0;
	color: var(--muted);
	font-size: 15px;
}

.app-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.app {
	display: flex;
	gap: 18px;
	padding: 20px;
	min-height: 150px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.app:hover {
	transform: translateY(-3px);
	border-color: rgba(22, 119, 255, .35);
	box-shadow: 0 24px 60px rgba(20, 30, 50, .12);
}

.app img {
	width: 76px;
	height: 76px;
	border-radius: 18px;
	flex: 0 0 auto;
}

.app h3 {
	margin: 2px 0 7px;
	font-size: 20px;
	line-height: 1.1;
	letter-spacing: -.04em;
}

.app p {
	margin: 0;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.42;
}

.app small {
	display: inline-block;
	margin-top: 12px;
	color: var(--blue);
	font-weight: 650;
	font-size: 13px;
}

footer {
	padding: 20px 0 20px;
	color: var(--muted);
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	border-top: 1px solid var(--line);
	margin-top: 36px;
}

button.link {
	border: 0;
	background: none;
	padding: 0;
	margin: 0;
	font: inherit;
	color: var(--muted);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.overlay {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(10, 12, 18, .48);
	backdrop-filter: blur(10px);
	z-index: 20;
}

.overlay.open {
	display: flex;
}

.modal {
	width: min(420px, 100%);
	background: #fff;
	border-radius: 24px;
	padding: 28px;
	box-shadow: 0 30px 90px rgba(0, 0, 0, .25);
}

.modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.modal h2 {
	margin: 0;
	font-size: 26px;
	letter-spacing: -.04em;
}

.close {
	width: 36px;
	height: 36px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: #fff;
	cursor: pointer;
	font-size: 24px;
	line-height: 1;
}

.modal p {
	margin: 0;
	color: var(--muted);
	line-height: 1.6;
}

.modal a {
	color: var(--blue);
}

@media (max-width: 900px) {
	.app-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	.wrap {
		width: min(100% - 26px, 1120px);
	}

	header,
	footer {
		align-items: flex-start;
		flex-direction: column;
	}

	.hero {
		text-align: left;
		padding: 48px 0 30px;
	}

	.hero h1,
	.hero p {
		margin-left: 0;
	}

	.intro-text p {
		text-align: left;
		font-size: 17px;
	}

	.section-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.app-grid {
		grid-template-columns: 1fr;
	}

	.app {
		min-height: auto;
	}
}