:root {
	--ink: #17211b;
	--muted: #627067;
	--paper: #fbfaf6;
	--panel: #ffffff;
	--line: #ded8ca;
	--sage: #dfe9d6;
	--leaf: #1f6f4a;
	--leaf-dark: #145039;
	--clay: #c4643c;
	--gold: #e9b44c;
	--blue: #d9e8ef;
	--shadow: 0 24px 80px rgba(31, 47, 38, 0.14);
	--radius: 8px;
	--max: 1120px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		linear-gradient(90deg, rgba(23, 33, 27, 0.035) 1px, transparent 1px),
		linear-gradient(rgba(23, 33, 27, 0.035) 1px, transparent 1px),
		var(--paper);
	background-size: 28px 28px;
	color: var(--ink);
	font-family: Charter, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	font-size: 18px;
	line-height: 1.6;
}

a {
	color: var(--leaf-dark);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

img {
	max-width: 100%;
	height: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	border-bottom: 1px solid rgba(23, 33, 27, 0.1);
	background: rgba(251, 250, 246, 0.88);
	backdrop-filter: blur(16px);
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: var(--max);
	margin: 0 auto;
	padding: 14px 22px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
	font-weight: 800;
	letter-spacing: 0;
	text-decoration: none;
}

.brand img {
	width: 34px;
	height: 34px;
	border-radius: 8px;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 18px;
	font-size: 15px;
	font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nav-links a {
	color: var(--ink);
	text-decoration: none;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 11px 18px;
	border: 1px solid var(--leaf-dark);
	border-radius: var(--radius);
	background: var(--leaf-dark);
	color: #fff;
	font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 15px;
	font-weight: 750;
	text-decoration: none;
	box-shadow: 0 12px 28px rgba(20, 80, 57, 0.2);
}

.button.secondary {
	background: transparent;
	color: var(--leaf-dark);
	box-shadow: none;
}

.hero {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--line);
}

.hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
	gap: 52px;
	align-items: center;
	max-width: var(--max);
	min-height: calc(100vh - 72px);
	margin: 0 auto;
	padding: 78px 22px 52px;
}

.eyebrow {
	margin: 0 0 14px;
	color: var(--clay);
	font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

h1,
h2,
h3 {
	margin: 0;
	line-height: 1.05;
	letter-spacing: 0;
}

h1 {
	max-width: 820px;
	font-size: clamp(48px, 8vw, 92px);
}

h2 {
	font-size: clamp(34px, 5vw, 56px);
}

h3 {
	font-size: 26px;
}

.lead {
	max-width: 650px;
	margin: 24px 0 0;
	color: var(--muted);
	font-size: 23px;
	line-height: 1.45;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.hero-note {
	max-width: 600px;
	margin: 22px 0 0;
	color: var(--muted);
	font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 14px;
}

.phone-scene {
	position: relative;
	min-height: 540px;
}

.phone {
	position: absolute;
	inset: 0 20px auto auto;
	width: min(350px, 88vw);
	min-height: 590px;
	border: 12px solid #17211b;
	border-radius: 34px;
	background: #f6f2e9;
	box-shadow: var(--shadow);
	overflow: hidden;
	transform: rotate(2deg);
}

.phone-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 18px;
	background: var(--sage);
	font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 13px;
	font-weight: 800;
}

.app-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
}

.scan-card {
	margin: 22px;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}

.label-lines {
	display: grid;
	gap: 8px;
	margin-top: 14px;
}

.label-lines span {
	height: 10px;
	border-radius: 999px;
	background: #e7e0d3;
}

.label-lines span:nth-child(2) {
	width: 76%;
}

.label-lines span:nth-child(3) {
	width: 58%;
}

.verdict {
	margin: 22px;
	padding: 18px;
	border-radius: var(--radius);
	background: var(--leaf-dark);
	color: #fff;
}

.verdict strong {
	display: block;
	font-size: 42px;
	line-height: 1;
}

.ingredient-list {
	display: grid;
	gap: 10px;
	margin: 22px;
}

.ingredient {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 14px;
}

.tag {
	min-width: 72px;
	text-align: center;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--sage);
	color: var(--leaf-dark);
	font-weight: 800;
}

.tag.warn {
	background: #f6dfd2;
	color: #8d321a;
}

.bowl-mark {
	position: absolute;
	left: 0;
	bottom: 40px;
	width: 180px;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--panel);
	box-shadow: var(--shadow);
	transform: rotate(-6deg);
	font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 14px;
}

.section {
	max-width: var(--max);
	margin: 0 auto;
	padding: 86px 22px;
}

.band {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: rgba(223, 233, 214, 0.62);
}

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

.feature,
.post-card,
.legal-card {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.82);
	padding: 22px;
	box-shadow: 0 12px 34px rgba(23, 33, 27, 0.06);
}

.feature p,
.post-card p {
	margin-bottom: 0;
	color: var(--muted);
}

.split {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 46px;
	align-items: start;
}

.steps {
	counter-reset: step;
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.steps li {
	counter-increment: step;
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 14px;
	align-items: start;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}

.steps li::before {
	content: counter(step);
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--ink);
	color: #fff;
	font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-weight: 800;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-top: 34px;
}

.post-card {
	display: flex;
	flex-direction: column;
	min-height: 245px;
	color: var(--ink);
	text-decoration: none;
}

.post-card .meta,
.article-meta {
	color: var(--clay);
	font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
}

.post-card h2 {
	margin-top: 14px;
	font-size: 31px;
}

.post-card .read {
	margin-top: auto;
	color: var(--leaf-dark);
	font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 15px;
	font-weight: 800;
}

.article {
	max-width: 790px;
	margin: 0 auto;
	padding: 74px 22px;
}

.article h1 {
	font-size: clamp(42px, 7vw, 70px);
}

.article p,
.article li {
	color: #36423a;
}

.article h2 {
	margin-top: 44px;
	font-size: 34px;
}

.article ul {
	padding-left: 24px;
}

.legal-page {
	max-width: 880px;
	margin: 0 auto;
	padding: 70px 22px;
}

.legal-page h1 {
	font-size: clamp(42px, 7vw, 74px);
}

.legal-page h2 {
	margin-top: 34px;
	font-size: 30px;
}

.footer {
	border-top: 1px solid var(--line);
	background: var(--ink);
	color: #f8f4ea;
}

.footer-inner {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 24px;
	max-width: var(--max);
	margin: 0 auto;
	padding: 38px 22px;
}

.footer a {
	color: #f8f4ea;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: flex-end;
	font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 14px;
}

@media (max-width: 820px) {
	.nav {
		align-items: flex-start;
	}

	.nav-links {
		flex-wrap: wrap;
		justify-content: flex-end;
	}

	.hero-inner,
	.split,
	.footer-inner {
		grid-template-columns: 1fr;
	}

	.hero-inner {
		padding-top: 54px;
	}

	.phone-scene {
		min-height: 620px;
	}

	.phone {
		left: 50%;
		right: auto;
		transform: translateX(-50%) rotate(1deg);
	}

	.bowl-mark {
		left: 10px;
		bottom: 12px;
	}

	.grid-3,
	.post-grid {
		grid-template-columns: 1fr;
	}

	.footer-links {
		justify-content: flex-start;
	}
}

@media (max-width: 560px) {
	body {
		font-size: 17px;
	}

	.nav {
		display: grid;
	}

	.nav-links {
		justify-content: flex-start;
	}

	.hero-actions {
		display: grid;
	}

	.button {
		width: 100%;
	}

	.phone {
		width: 305px;
		min-height: 560px;
	}
}
