@font-face {
	font-family: Inter;
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url(/fonts/inter-latin.woff2) format("woff2");
}
@font-face {
	font-family: "IBM Plex Mono";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(/fonts/ibm-plex-mono-latin-400.woff2) format("woff2");
}
@font-face {
	font-family: "IBM Plex Mono";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url(/fonts/ibm-plex-mono-latin-500.woff2) format("woff2");
}

:root {
	--paper: #ffffff;
	--ink: #111111;
	--dim: #4a4a50;
	--muted: #6b6b6b;
	--rule: #e6e6e6;
	--accent: #6e1010;
	--accent-ink: #6e1010;
	--on-accent: #ffffff;
	--mark-tread: #111111;
	--mark-riser: #3a3a3a;
	--mark-side: #6b6b6b;
	--mark-peak: #6e1010;
	--sans: Inter, ui-sans-serif, system-ui, sans-serif;
	--mono: "IBM Plex Mono", ui-monospace, monospace;
	--col: 1040px;
	--pad-x: 24px;
	color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
	:root {
		--paper: #000000;
		--ink: #ededed;
		--dim: #b0b0b6;
		--muted: #888a91;
		--rule: #1e2025;
		--accent-ink: #eca5a5;
		--mark-tread: #ffffff;
		--mark-riser: #bdbdbd;
		--mark-side: #7a7a7a;
		--mark-peak: #b3261e;
	}
}

* {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
a {
	color: inherit;
}
h1,
h2,
p,
ul,
dl,
dd,
figure {
	margin: 0;
}
.inner {
	width: 100%;
	max-width: var(--col);
	margin: 0 auto;
	padding-left: var(--pad-x);
	padding-right: var(--pad-x);
}

/* Header */
.top {
	position: sticky;
	top: 0;
	z-index: 2;
	background: color-mix(in srgb, var(--paper) 92%, transparent);
	backdrop-filter: saturate(1.4) blur(12px);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid var(--rule);
}
.top .inner {
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}
.mark {
	width: 24px;
	height: 24px;
	flex: none;
}
.mark .tread {
	fill: var(--mark-tread);
}
.mark .riser {
	fill: var(--mark-riser);
}
.mark .side {
	fill: var(--mark-side);
}
.mark .peak {
	fill: var(--mark-peak);
}
.word {
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
}
.nav {
	display: flex;
	gap: 20px;
	font-size: 14px;
	color: var(--muted);
}
.nav a {
	text-decoration: none;
	padding: 4px 0;
	border-bottom: 1px solid transparent;
	transition:
		color 180ms ease,
		border-color 180ms ease;
}
.nav a:hover {
	color: var(--ink);
	border-bottom-color: var(--accent-ink);
}

/* Hero */
.hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 64px;
	align-items: center;
	padding-top: 72px;
	padding-bottom: 88px;
}
h1 {
	font-size: clamp(40px, 6vw, 64px);
	line-height: 1.04;
	font-weight: 600;
	letter-spacing: -0.025em;
	max-width: 12ch;
	text-wrap: balance;
}
.lede {
	margin-top: 24px;
	font-size: 19px;
	line-height: 1.55;
	color: var(--dim);
	max-width: 34em;
}
.status {
	margin-top: 28px;
	font-family: var(--mono);
	font-size: 13px;
	color: var(--muted);
	display: flex;
	gap: 8px;
}
.cta {
	display: inline-block;
	margin-top: 16px;
	padding: 12px 20px;
	border-radius: 10px;
	background: var(--accent);
	color: var(--on-accent);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition:
		transform 160ms ease,
		filter 160ms ease;
}
.cta:hover {
	filter: brightness(1.15);
}
.cta:active {
	transform: scale(0.97);
}
.cta:focus-visible,
.nav a:focus-visible,
.brand:focus-visible,
.foot a:focus-visible {
	outline: 2px solid var(--accent-ink);
	outline-offset: 3px;
}

/* Phone recordings */
.phone {
	width: 100%;
	max-width: 320px;
	justify-self: center;
}
.phone video {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 590 / 1282;
	border-radius: 44px;
	border: 1px solid var(--rule);
	background: var(--paper);
}

/* Features */
.feature {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 64px;
	align-items: center;
	padding-top: 88px;
	padding-bottom: 88px;
	border-top: 1px solid var(--rule);
}
.feature:not(.feature-media) {
	align-items: start;
}
.feature:not(.feature-media) .feature-copy {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	column-gap: 64px;
}
.feature:not(.feature-media) .feature-copy h2 {
	grid-row: span 2;
}
.feature-media {
	grid-template-columns: 320px minmax(0, 1fr);
}
.feature-media .feature-copy:first-child {
	order: 0;
}
#nutrition {
	grid-template-columns: minmax(0, 1fr) 320px;
}
h2 {
	font-size: clamp(28px, 3.4vw, 40px);
	line-height: 1.1;
	font-weight: 600;
	letter-spacing: -0.02em;
	text-wrap: balance;
}
.feature-copy p {
	margin-top: 16px;
	font-size: 17px;
	color: var(--dim);
	max-width: 34em;
}
.feature:not(.feature-media) .feature-copy p {
	margin-top: 0;
}
.specs {
	list-style: none;
	padding: 0;
	margin-top: 24px;
	border-top: 1px solid var(--rule);
}
.specs li {
	padding: 10px 0;
	border-bottom: 1px solid var(--rule);
	font-size: 15px;
}

/* The math */
.math {
	padding-top: 88px;
	padding-bottom: 88px;
	border-top: 1px solid var(--rule);
}
.math-lede {
	margin-top: 16px;
	font-size: 17px;
	color: var(--dim);
	max-width: 34em;
}
.rules {
	margin-top: 40px;
	border-top: 1px solid var(--ink);
}
.rules div {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 24px;
	padding: 16px 0;
	border-bottom: 1px solid var(--rule);
}
.rules dt {
	font-family: var(--mono);
	font-weight: 500;
	font-size: 14px;
	padding-top: 2px;
}
.rules dd {
	font-size: 16px;
	color: var(--dim);
	max-width: 40em;
}

/* Yours */
.yours {
	padding-top: 88px;
	padding-bottom: 104px;
	border-top: 1px solid var(--rule);
}
.yours p {
	margin-top: 16px;
	font-size: 19px;
	color: var(--dim);
	max-width: 34em;
}

/* Footer */
.foot {
	border-top: 1px solid var(--ink);
}
.foot .inner {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-top: 20px;
	padding-bottom: 28px;
	font-size: 13px;
	color: var(--muted);
}
.foot a {
	color: var(--ink);
	text-decoration: none;
	border-bottom: 1px solid var(--accent-ink);
}

@media (max-width: 860px) {
	.nav {
		display: none;
	}
	.hero,
	.feature,
	.feature-media,
	#nutrition {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
		padding-top: 56px;
		padding-bottom: 56px;
	}
	.hero {
		padding-top: 40px;
	}
	.feature:not(.feature-media) .feature-copy {
		grid-template-columns: minmax(0, 1fr);
	}
	.feature:not(.feature-media) .feature-copy p {
		margin-top: 16px;
	}
	#nutrition .phone {
		order: -1;
	}
	.phone {
		max-width: 280px;
	}
	.lede {
		font-size: 17px;
	}
	.rules div {
		grid-template-columns: minmax(0, 1fr);
		gap: 4px;
	}
	.math,
	.yours {
		padding-top: 56px;
		padding-bottom: 56px;
	}
}
