:root {
	--ink: #17201f;
	--muted: #5f6b68;
	--paper: #f7f4ef;
	--white: #ffffff;
	--teal: #275d5a;
	--brass: #b58a4a;
	--line: #ddd6ca;
	--shadow: 0 18px 55px rgba(23, 32, 31, 0.16);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--ink);
	background: var(--paper);
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.5;
}

a {
	color: inherit;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 72px;
	padding: 16px clamp(20px, 5vw, 64px);
	background: rgba(247, 244, 239, 0.92);
	border-bottom: 1px solid rgba(221, 214, 202, 0.72);
	backdrop-filter: blur(12px);
}

.brand,
.site-nav,
.hero-actions {
	display: flex;
	align-items: center;
}

.brand {
	gap: 12px;
	font-weight: 700;
	text-decoration: none;
}

.brand-mark {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	color: var(--white);
	background: var(--ink);
	border: 2px solid var(--brass);
	font-size: 18px;
	line-height: 1;
}

.site-nav {
	gap: clamp(14px, 3vw, 30px);
	color: var(--muted);
	font-size: 15px;
}

.site-nav a,
.text-link {
	text-decoration: none;
}

.site-nav a:hover,
.text-link:hover {
	color: var(--teal);
}

.hero {
	display: grid;
	min-height: min(720px, calc(100vh - 104px));
	padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 64px);
	align-items: center;
	background:
		linear-gradient(90deg, rgba(12, 19, 19, 0.92) 0%, rgba(12, 19, 19, 0.72) 42%, rgba(12, 19, 19, 0.18) 78%),
		url("../img/app-studio-hero.png") center / cover no-repeat;
	color: var(--white);
}

.hero-content {
	width: min(660px, 100%);
}

.eyebrow {
	margin: 0 0 12px;
	color: var(--brass);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1 {
	margin-bottom: 20px;
	font-size: 84px;
	line-height: 0.95;
	letter-spacing: 0;
}

h2 {
	margin-bottom: 18px;
	font-size: 46px;
	line-height: 1.05;
	letter-spacing: 0;
}

h3 {
	margin-bottom: 10px;
	font-size: 22px;
	line-height: 1.15;
	letter-spacing: 0;
}

.hero-copy {
	width: min(600px, 100%);
	margin-bottom: 28px;
	color: rgba(255, 255, 255, 0.84);
	font-size: 22px;
}

.hero-actions {
	gap: 20px;
	flex-wrap: wrap;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	color: var(--ink);
	background: var(--white);
	border: 1px solid transparent;
	border-radius: 6px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: var(--shadow);
}

.button:hover {
	background: #f1eee8;
}

.button-dark {
	color: var(--white);
	background: var(--ink);
	box-shadow: none;
}

.button-dark:hover {
	background: var(--teal);
}

.section,
.split-section,
.contact-section {
	padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 64px);
}

.section-heading {
	width: min(780px, 100%);
	margin-bottom: 30px;
}

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

.product-card {
	min-height: 230px;
	padding: 26px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: 0 12px 28px rgba(23, 32, 31, 0.06);
}

.product-card p:last-child,
.body-copy p:last-child,
.contact-section p:last-child,
.site-footer p {
	margin-bottom: 0;
}

.product-type {
	margin-bottom: 38px;
	color: var(--teal);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
}

.product-card p,
.body-copy,
.contact-section p,
.site-footer {
	color: var(--muted);
}

.split-section {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
	gap: clamp(28px, 7vw, 90px);
	background: var(--white);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.body-copy {
	font-size: 18px;
}

.contact-section {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.contact-section > div {
	width: min(660px, 100%);
}

.site-footer {
	padding: 28px clamp(20px, 5vw, 64px);
	font-size: 14px;
}

@media (max-width: 820px) {
	.site-header,
	.contact-section {
		align-items: flex-start;
		flex-direction: column;
	}

	.site-header {
		gap: 14px;
	}

	.hero {
		min-height: min(680px, calc(100vh - 136px));
		background:
			linear-gradient(180deg, rgba(12, 19, 19, 0.92) 0%, rgba(12, 19, 19, 0.64) 58%, rgba(12, 19, 19, 0.3) 100%),
			url("../img/app-studio-hero.png") 58% center / cover no-repeat;
	}

	.product-grid,
	.split-section {
		grid-template-columns: 1fr;
	}

	h1 {
		font-size: 60px;
	}

	h2 {
		font-size: 38px;
	}

	.hero-copy {
		font-size: 20px;
	}
}

@media (max-width: 520px) {
	.site-nav {
		width: 100%;
		justify-content: space-between;
	}

	.button {
		width: 100%;
	}

	.text-link {
		width: 100%;
		text-align: center;
	}

	h1 {
		font-size: 46px;
	}

	h2 {
		font-size: 32px;
	}
}
