:root {
	--paper: #f4efe6;
	--ink: #1c1915;
	--ink-soft: #5c5348;
	--cedar: #8a4b2a;
	--button-hover: #3a332c;
	--column: 960px;
	--step-cycle: 9.6s;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: ui-sans-serif, "Segoe UI", Helvetica, Arial, sans-serif;
	font-size: 1.0625rem;
	line-height: 1.55;
}

.page {
	max-width: var(--column);
	margin: 0 auto;
	padding: 2rem 1.25rem 3.5rem;
}

.site-header {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 3rem;
}

.brand img {
	display: block;
	width: 96px;
	height: auto;
	mix-blend-mode: multiply;
}

.product-name {
	margin: 0;
	font-family: Georgia, "Iowan Old Style", Palatino, serif;
	font-size: 1.75rem;
	line-height: 1.1;
}

h1,
h2,
.steps h3 {
	font-family: Georgia, "Iowan Old Style", Palatino, serif;
	font-weight: 500;
	line-height: 1.15;
}

h1 {
	margin: 0 0 1rem;
	font-size: clamp(2.1rem, 5vw, 3.4rem);
	letter-spacing: -0.02em;
	max-width: 14ch;
}

h2 {
	margin: 0 0 1.25rem;
	font-size: 1.75rem;
}

.lead,
.hero > p,
.privacy > p,
.points p,
.steps p {
	max-width: 38rem;
}

.lead {
	font-size: 1.2rem;
}

.hero > p:last-of-type {
	color: var(--ink-soft);
}

.hero,
.how,
.points,
.privacy {
	margin-bottom: 3.5rem;
}

.order {
	display: inline-block;
	margin-top: 0.5rem;
	padding: 0.85rem 1.35rem;
	background: var(--ink);
	color: var(--paper);
	text-decoration: none;
	border-radius: 6px;
	font-weight: 600;
}

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

.order:focus-visible,
.brand:focus-visible,
.site-footer a:focus-visible {
	outline: 3px solid var(--cedar);
	outline-offset: 3px;
}

.steps {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: scan;
	display: grid;
	gap: 1.75rem;
}

.steps > li {
	counter-increment: scan;
	position: relative;
	padding-top: 2.6rem;
	color: var(--ink);
	animation: step-emphasis var(--step-cycle) infinite;
}

.steps > li::before {
	content: counter(scan);
	position: absolute;
	top: 0;
	left: 0;
	font-family: Georgia, "Iowan Old Style", Palatino, serif;
	font-size: 1.75rem;
	line-height: 1;
	color: var(--cedar);
}

.steps > li::after {
	content: "";
	display: block;
	width: 2.5rem;
	height: 3px;
	margin-top: 1rem;
	background: var(--cedar);
	animation: step-line var(--step-cycle) infinite;
}

.steps > li:nth-child(1),
.steps > li:nth-child(1)::after {
	animation-delay: 0s;
}

.steps > li:nth-child(2),
.steps > li:nth-child(2)::after {
	animation-delay: -7.2s;
}

.steps > li:nth-child(3),
.steps > li:nth-child(3)::after {
	animation-delay: -4.8s;
}

.steps > li:nth-child(4),
.steps > li:nth-child(4)::after {
	animation-delay: -2.4s;
}

.steps h3 {
	margin: 0 0 0.4rem;
	font-size: 1.2rem;
	color: inherit;
}

.steps p {
	margin: 0;
}

.sample {
	font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	font-size: 0.92em;
}

.point-list {
	display: grid;
	gap: 1.5rem;
}

.point-list h3 {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
	font-weight: 600;
}

.point-list p,
.privacy p,
.site-footer p {
	margin: 0;
}

.site-footer {
	padding-top: 1.5rem;
	border-top: 1px solid rgba(28, 25, 21, 0.15);
	color: var(--ink-soft);
	font-size: 0.95rem;
}

.site-footer a {
	color: inherit;
}

@keyframes step-emphasis {
	0%, 20% { color: var(--ink); }
	25%, 100% { color: var(--ink-soft); }
}

@keyframes step-line {
	0%, 20% { background: var(--cedar); }
	25%, 100% { background: transparent; }
}

@media (max-width: 799px) {
	.order {
		display: block;
		text-align: center;
	}
}

@media (min-width: 800px) {
	.steps,
	.point-list {
		grid-template-columns: repeat(4, 1fr);
	}

	.point-list {
		grid-template-columns: repeat(3, 1fr);
		gap: 2rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.steps > li,
	.steps > li::after {
		animation: none;
	}
}
