:root {
	--accent: #ffc800;
	--ink: #111111;
	--ink-soft: #4a4a4a;
	--paper: #ffffff;
	--dark: #111111;
	--dark-soft: #b8b8b8;
	--radius: 20px;
	--max: 1120px;
	color-scheme: light;
}

* {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family:
		"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
		Arial, sans-serif;
	color: var(--ink);
	background: var(--paper);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
}

.wrap {
	width: 100%;
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 24px;
}

.skip {
	position: absolute;
	left: -9999px;
}

.skip:focus {
	left: 16px;
	top: 16px;
	background: var(--ink);
	color: var(--paper);
	padding: 8px 12px;
	border-radius: 8px;
	z-index: 10;
}

/* Header */

.site-header {
	padding: 20px 0;
}

.site-header .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 18px;
	text-decoration: none;
}

.brand img {
	width: 36px;
	height: 36px;
	border-radius: 9px;
}

.nav a {
	font-weight: 600;
	text-decoration: none;
	margin-left: 20px;
}

.nav a:hover {
	text-decoration: underline;
}

/* Hero */

.hero {
	background: var(--accent);
}

.hero-body {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	align-items: center;
	gap: 48px;
	padding-top: 40px;
}

.hero h1 {
	font-size: clamp(44px, 7vw, 84px);
	line-height: 0.98;
	letter-spacing: -0.04em;
	margin: 0 0 20px;
	font-weight: 900;
}

.hero p {
	font-size: clamp(18px, 2vw, 22px);
	margin: 0 0 32px;
	max-width: 32ch;
}

.hero-shot {
	align-self: end;
	max-width: 380px;
	justify-self: center;
}

.store-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--ink);
	color: var(--paper);
	text-decoration: none;
	padding: 12px 22px;
	border-radius: 14px;
	font-weight: 600;
	font-size: 17px;
	line-height: 1.15;
}

.store-badge svg {
	width: 26px;
	height: 26px;
	fill: currentColor;
}

.store-badge small {
	display: block;
	font-size: 11px;
	font-weight: 500;
	opacity: 0.8;
}

.store-badge:hover,
.store-badge:focus-visible {
	background: #2a2a2a;
}

/* Features */

.features {
	padding: 96px 0;
}

.section-title {
	font-size: clamp(32px, 4.5vw, 52px);
	letter-spacing: -0.03em;
	line-height: 1.05;
	margin: 0 0 16px;
	font-weight: 900;
}

.section-lead {
	font-size: 19px;
	color: var(--ink-soft);
	max-width: 48ch;
	margin: 0 0 56px;
}

.feature-grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px 40px;
}

.feature-grid h3 {
	font-size: 20px;
	margin: 0 0 6px;
}

.feature-grid h3::before {
	content: "";
	display: block;
	width: 32px;
	height: 6px;
	border-radius: 3px;
	background: var(--accent);
	margin-bottom: 14px;
}

.feature-grid p {
	margin: 0;
	color: var(--ink-soft);
}

/* Gallery */

.gallery {
	background: var(--dark);
	color: var(--paper);
	padding: 96px 0;
}

.gallery .section-lead {
	color: var(--dark-soft);
}

.shots {
	list-style: none;
	margin: 0;
	padding: 0 24px 8px;
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	max-width: calc(var(--max) + 48px);
	margin-inline: auto;
}

.shots li {
	flex: 0 0 260px;
	scroll-snap-align: start;
}

.shots img {
	border-radius: var(--radius);
}

/* iPad */

.tablet {
	padding: 96px 0;
	background: var(--accent);
}

.tablet .wrap {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 56px;
	align-items: center;
}

.tablet .section-lead {
	color: var(--ink);
	margin-bottom: 0;
}

.tablet img {
	border-radius: var(--radius);
	box-shadow: 0 24px 60px rgb(0 0 0 / 0.18);
	max-width: 520px;
	justify-self: center;
}

/* CTA + footer */

.cta {
	padding: 96px 0;
	text-align: center;
}

.cta img {
	width: 96px;
	height: 96px;
	border-radius: 22px;
	margin: 0 auto 24px;
}

.cta .section-lead {
	margin: 0 auto 32px;
}

.site-footer {
	border-top: 1px solid #e6e6e6;
	padding: 32px 0;
	font-size: 15px;
	color: var(--ink-soft);
}

.site-footer .wrap {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

.site-footer a {
	text-decoration: none;
	font-weight: 600;
	color: var(--ink);
	margin-left: 20px;
}

.site-footer a:first-child {
	margin-left: 0;
}

/* Privacy (prose) */

.prose-header {
	background: var(--accent);
	padding-bottom: 56px;
}

.prose-header h1 {
	font-size: clamp(40px, 6vw, 64px);
	letter-spacing: -0.04em;
	line-height: 1;
	margin: 32px 0 12px;
	font-weight: 900;
}

.prose-header p {
	margin: 0;
	font-size: 18px;
}

.prose {
	max-width: 720px;
	padding-top: 56px;
	padding-bottom: 96px;
	font-size: 17px;
}

.prose h2 {
	font-size: 24px;
	letter-spacing: -0.01em;
	margin: 48px 0 12px;
}

.prose ul {
	padding-left: 22px;
}

.prose li {
	margin-bottom: 8px;
}

.prose .summary {
	background: #fff6cc;
	border-left: 6px solid var(--accent);
	border-radius: 12px;
	padding: 20px 24px;
	font-size: 18px;
}

/* Responsive */

@media (max-width: 860px) {
	.hero-body,
	.tablet .wrap {
		grid-template-columns: 1fr;
	}

	.hero-body {
		text-align: center;
		gap: 32px;
	}

	.hero p {
		margin-inline: auto;
	}

	.hero-shot {
		max-width: 300px;
	}

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

	.features,
	.gallery,
	.tablet,
	.cta {
		padding: 64px 0;
	}
}

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

	.nav a {
		margin-left: 14px;
	}

	.shots li {
		flex-basis: 72vw;
	}
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}
