/* virtstrength.com (issue 893, ./pages.js): Virt's own look, as the app's first screen. Pure black, Tyler's gold VIRT
   word and V mark, graphite only for cards, the one red for the App Store button and link underlines. The phone's own
   fonts: nothing is fetched from anywhere else. Mobile first; on a wide screen the same column grows into a deliberate
   layout (the screens in one row, the points two by two). */
:root {
	--black: black; /* pure black, as the app's first screen (a name, not a hex: the site's tokens have no pure black) */
	--graphite: #15171b;
	--line: #32363d;
	--text: #f4f2ee;
	--muted: #a3a8af;
	--red: #ff4b3a;
	--gold: #dfc297;
	--pad: 24px;
	--font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	color-scheme: dark;
}
* {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	background: var(--black);
}
body {
	margin: 0;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	background: var(--black);
	color: var(--text);
	font: 400 17px/1.5 var(--font);
}
main {
	flex: 1;
}
a {
	color: var(--text);
	text-decoration: underline;
	text-decoration-color: var(--red);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}
a:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 3px;
	border-radius: 4px;
}
.gold {
	color: var(--gold);
}

/* the bar: the gold V home, Support and Privacy */
.bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 72rem;
	width: 100%;
	margin: 0 auto;
	padding: calc(14px + env(safe-area-inset-top)) var(--pad) 14px;
}
.mark {
	display: block;
	line-height: 0;
	padding: 6px 0;
}
.mark img {
	width: 34px;
	height: auto;
}
.bar nav {
	display: flex;
	gap: 22px;
}
.bar nav a {
	color: var(--muted);
	text-decoration: none;
	font-weight: 600;
	font-size: 16px;
	padding: 8px 0;
}
.bar nav a[aria-current='page'] {
	color: var(--text);
}

/* Home's top */
.hero {
	text-align: center;
	padding: 28px var(--pad) 8px;
	max-width: 40rem;
	margin: 0 auto;
}
.word {
	width: min(66vw, 300px);
	height: auto;
}
.hero h1 {
	margin: 22px 0 12px;
	font-size: 30px;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.01em;
}
.lede {
	margin: 0 auto 26px;
	max-width: 30rem;
	color: var(--muted);
	font-size: 17px;
}
.store {
	display: inline-block;
	margin: 0;
	padding: 15px 28px;
	border-radius: 14px;
	background: var(--red);
	color: var(--graphite);
	font-weight: 800;
	font-size: 17px;
	text-decoration: none;
}
.for {
	margin: 12px 0 0;
	color: var(--muted);
	font-size: 14px;
}

/* the screens: a row to swipe on a phone, all four side by side on a wide screen */
.shots {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 36px var(--pad) 8px;
	scrollbar-width: none;
}
.shots::-webkit-scrollbar {
	display: none;
}
.shots figure {
	flex: 0 0 62%;
	margin: 0;
	scroll-snap-align: center;
}
.shots img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 22px;
	border: 1px solid var(--line);
}
.shots figcaption {
	margin-top: 10px;
	color: var(--muted);
	font-size: 15px;
	text-align: center;
}

/* the four points */
.points ul {
	list-style: none;
	margin: 0 auto;
	padding: 16px var(--pad) 40px;
	max-width: 40rem;
}
.points li {
	padding: 18px 0;
	border-top: 1px solid var(--line);
}
.points b {
	display: block;
	font-size: 19px;
	margin-bottom: 4px;
}
.points span {
	color: var(--muted);
}
.points .own b {
	color: var(--gold);
}

/* Support, Privacy, Terms: one column of words */
.wrap {
	width: 100%;
	max-width: calc(40rem + 2 * var(--pad));
	margin: 0 auto;
	padding: 20px var(--pad) 48px;
}
.words h1 {
	margin: 0 0 12px;
	font-size: 34px;
	line-height: 1.1;
	font-weight: 800;
}
.words h2 {
	margin: 30px 0 0;
	font-size: 19px;
	line-height: 1.25;
}
.words p {
	margin: 10px 0 0;
	color: var(--muted);
}
.words p.lede {
	margin: 0;
	max-width: none;
}
.words strong,
.words b {
	color: var(--text);
}
.words ul {
	margin: 10px 0 0;
	padding-left: 1.2rem;
	color: var(--muted);
}
.words li {
	margin: 8px 0;
}
.cards {
	display: grid;
	gap: 14px;
	margin-top: 20px;
}
.card {
	background: var(--graphite);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 18px;
	color: var(--muted);
}
.card b {
	display: block;
	margin-bottom: 4px;
	font-size: 17px;
}
.card a {
	font-size: 18px;
	color: var(--text);
	overflow-wrap: anywhere;
}

.foot {
	border-top: 1px solid var(--line);
	padding: 22px var(--pad) calc(30px + env(safe-area-inset-bottom));
	color: var(--muted);
	font-size: 15px;
}
.foot > * {
	/* the same edges as the bar above: its 72rem holds its padding */
	max-width: calc(72rem - 2 * var(--pad));
	margin-left: auto;
	margin-right: auto;
}
.foot nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
}
.foot nav a {
	color: var(--muted);
	text-decoration: none;
	font-weight: 600;
	padding: 6px 0;
}
.foot p {
	margin-top: 10px;
	margin-bottom: 0;
}

@media (min-width: 900px) {
	:root {
		--pad: 40px;
	}
	.hero {
		padding-top: 64px;
	}
	.word {
		width: 380px;
	}
	.hero h1 {
		font-size: 46px;
	}
	.lede {
		font-size: 19px;
	}
	.shots {
		overflow: visible;
		width: 100%;
		max-width: 72rem;
		margin: 0 auto;
		padding-top: 64px;
		gap: 28px;
	}
	.shots figure {
		flex: 1 1 0;
	}
	.points ul {
		max-width: 72rem;
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 56px;
		padding-top: 48px;
		padding-bottom: 72px;
	}
	.cards {
		grid-template-columns: 1fr 1fr;
	}
	.words h1 {
		font-size: 44px;
	}
	.wrap {
		padding-top: 48px;
	}
}
