/* Call Hole's website: the app's own look (night navy, indigo, a coral handset, light cards). */

:root {
	--night: #1b1f3b;
	--deep: #0b0d1c;
	--ink: #1b1b21;
	--soft: #5b5d72;
	--card: #fbf8ff;
	--tint: #dfe0ff;
	--line: #c6c5d0;
	--indigo: #4a55a2;
	--indigo-dark: #323c88;
	--coral: #ff6b6b;
	--glow: #bcc2ff;
	--radius: 28px;
}

* {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
	font-size: 18px;
	line-height: 1.6;
	color: var(--ink);
	background: linear-gradient(180deg, #2a3163 0, var(--night) 420px, var(--deep) 1500px) var(--deep);
}

h1,
h2,
h3 {
	line-height: 1.15;
	margin: 0;
	font-weight: 700;
	text-wrap: balance;
}

p {
	margin: 0;
}

a {
	color: var(--indigo);
	text-underline-offset: 3px;
}

a:focus-visible,
.button:focus-visible {
	outline: 4px solid var(--coral);
	outline-offset: 3px;
}

.wrap {
	width: 100%;
	max-width: 1040px;
	margin: 0 auto;
	padding: 0 16px;
}

main {
	flex: 1;
}

/* The top bar: the app's icon and name, and the way back from the other pages. */

.top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 20px;
	padding-bottom: 20px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 22px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
}

.brand img {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	box-shadow: 0 0 0 1px rgba(188, 194, 255, 0.25), 0 4px 12px rgba(0, 0, 0, 0.35);
}

.top nav a {
	color: #fff;
	font-weight: 600;
}

/* The hero: title, pitch and the store button beside a phone screenshot. */

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	align-items: center;
	gap: 48px;
	padding-top: 24px;
	padding-bottom: 72px;
	color: #fff;
}

.hero h1 {
	font-size: clamp(44px, 8vw, 80px);
	letter-spacing: -0.01em;
}

.pill {
	display: inline-block;
	margin-top: 14px;
	padding: 6px 18px;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--night);
	background: var(--coral);
}

.hero .lead {
	margin-top: 24px;
	max-width: 30em;
	font-size: 21px;
	color: #e6e7fb;
}

.hero .actions {
	margin-top: 32px;
}

.hero .note {
	margin-top: 14px;
	font-size: 16px;
	color: var(--glow);
}

.button {
	display: inline-block;
	padding: 16px 32px;
	border-radius: 999px;
	font-size: 20px;
	font-weight: 700;
	color: var(--night);
	text-decoration: none;
	background: var(--glow);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
	transition: transform 0.08s ease, background 0.08s ease;
}

.button:hover {
	background: #fff;
	transform: translateY(-1px);
}

.button:active {
	transform: translateY(2px);
}

.phone {
	justify-self: center;
	width: min(100%, 320px);
	padding: 10px;
	border-radius: 40px;
	background: #05060f;
	box-shadow: 0 0 0 1px rgba(188, 194, 255, 0.2), 0 24px 60px rgba(0, 0, 0, 0.5);
}

.phone img,
.shots img {
	display: block;
	width: 100%;
	height: auto;
}

.phone img {
	border-radius: 30px;
}

/* Light cards, as in the app. */

.card {
	background: var(--card);
	border-radius: var(--radius);
	padding: 40px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.card + .card {
	margin-top: 32px;
}

.card h2 {
	font-size: 32px;
	margin-bottom: 16px;
}

.card p + p {
	margin-top: 14px;
}

.features {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 32px;
}

.features li {
	position: relative;
	padding-left: 30px;
}

.features li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--coral);
}

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

.shots figure {
	margin: 0;
}

.shots img {
	border-radius: 20px;
	border: 1px solid var(--line);
}

.shots figcaption {
	margin-top: 10px;
	text-align: center;
	font-size: 16px;
	color: var(--soft);
}

/* Long text: the privacy policy. */

.prose {
	max-width: 760px;
	margin: 0 auto 72px;
}

.prose h1 {
	font-size: clamp(32px, 6vw, 44px);
	margin-bottom: 8px;
}

.prose h2 {
	font-size: 24px;
	margin: 32px 0 10px;
}

.prose .soft {
	color: var(--soft);
	font-size: 16px;
}

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

.prose li + li {
	margin-top: 6px;
}

.prose ul + p {
	margin-top: 14px;
}

/* The footer, down in the hole. */

footer {
	margin-top: 72px;
	padding: 32px 0 40px;
	color: #c4c5dd;
	font-size: 16px;
}

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

footer a {
	color: #fff;
}

footer nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}

@media (max-width: 760px) {
	.hero {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
		padding-bottom: 56px;
		text-align: center;
	}

	.hero .lead {
		margin-left: auto;
		margin-right: auto;
		font-size: 19px;
	}

	.phone {
		width: min(78%, 300px);
	}

	.card {
		padding: 28px 22px;
	}

	.card h2 {
		font-size: 27px;
	}

	.features {
		grid-template-columns: minmax(0, 1fr);
	}

	.shots {
		grid-template-columns: minmax(0, 1fr);
		max-width: 320px;
		margin: 0 auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.button {
		transition: none;
	}
}
