/* sylaux.com: the approved mock-up (design/mockups/sylaux-site.html) as a page. Token values are
   web/src/app.css's, light and dark; the site follows the system, with no switch. */

@font-face {
	font-family: 'Geist Variable';
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(/fonts/geist-latin-ext-wght-normal.woff2) format('woff2-variations');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
		U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Geist Variable';
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(/fonts/geist-latin-wght-normal.woff2) format('woff2-variations');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
		U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	color-scheme: light dark;
	--page: #fff;
	--ink: #1f2024;
	--ink-2: #5f6168;
	--ink-3: #85878e;
	--hover: #f3f3f5;
	--selected: #eaeaee;
	--on-ink: #fff;
	/* a placeholder the owner still has to fill: the ochre pair, the only colour on these pages */
	--todo-bg: #f5ecd0;
	--todo-fg: #6a500e;
	--sans: 'Geist Variable', system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
	:root {
		--page: #1c1d20;
		--ink: #ececef;
		--ink-2: #a0a2a9;
		--ink-3: #76787f;
		--hover: #26272b;
		--selected: #2f3035;
		--on-ink: #17181a;
		--todo-bg: #463a1c;
		--todo-fg: #ecd79c;
	}
}

* {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
}
body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--page);
	color: var(--ink);
	font: 400 15px/1.5 var(--sans);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
svg {
	display: block;
	flex: none;
}
a {
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: var(--ink-3);
	text-underline-offset: 3px;
	overflow-wrap: anywhere;
}
h1,
h2,
h3 {
	font-weight: 600;
	letter-spacing: -0.025em;
}
mark.todo {
	background: var(--todo-bg);
	color: var(--todo-fg);
	padding: 0 4px;
	border-radius: 3px;
	font-weight: 500;
}

/* header, main, footer */
.top {
	display: flex;
	align-items: center;
	gap: 24px;
	width: 100%;
	max-width: 880px;
	margin: 0 auto;
	padding: 16px 24px 0;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 44px;
	font-weight: 600;
	font-size: 17px;
	letter-spacing: -0.02em;
	text-decoration: none;
}
.mark .back {
	stroke: var(--page);
}
.top nav {
	margin-left: auto;
	display: none;
	gap: 22px;
	font-size: 14px;
}
.top nav a {
	color: var(--ink-2);
	text-decoration: none;
}
.top nav a[aria-current] {
	color: var(--ink);
	font-weight: 500;
}
main {
	width: 100%;
	max-width: 880px;
	margin: 0 auto;
	padding: 0 24px;
	flex: 1;
}
.col {
	max-width: 600px;
}
footer {
	width: 100%;
	max-width: 880px;
	margin: 64px auto 0;
	padding: 22px 24px 40px;
	font-size: 13.5px;
	color: var(--ink-2);
}
footer .links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
}
footer .links a,
footer a {
	color: var(--ink-2);
}
footer .links a {
	display: inline-flex;
	min-height: 32px;
	align-items: center;
}
footer p {
	margin: 10px 0 0;
	line-height: 1.5;
}

/* home */
.hero {
	padding-top: 44px;
}
.hero h1 {
	font-size: 34px;
	line-height: 1.12;
	margin: 0;
	max-width: 12em;
}
.hero .lede {
	font-size: 17px;
	line-height: 1.5;
	color: var(--ink-2);
	margin: 14px 0 0;
	max-width: 36ch;
}
/* The App Store badge: Apple's artwork goes here once the listing exists (P9.4). */
.badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 48px;
	margin-top: 26px;
	padding: 0 16px;
	border: 1.5px dashed var(--ink-3);
	border-radius: 10px;
	color: var(--ink-2);
	font-size: 13px;
	line-height: 1.25;
	text-decoration: none;
}
.badge b {
	display: block;
	color: var(--ink);
	font-weight: 500;
	font-size: 14px;
}
.shots {
	display: flex;
	gap: 14px;
	margin: 40px -24px 0;
	padding: 0 24px 6px;
	overflow-x: auto;
	scrollbar-width: none;
}
.shot {
	flex: none;
	width: 196px;
	margin: 0;
}
/* each picture holds the light screen on the left half and the dark one on the right */
.shot .img {
	aspect-ratio: 420 / 876;
	border-radius: 22px;
	background-repeat: no-repeat;
	background-size: 200% auto;
	background-position: left top;
	background-color: var(--hover);
}
.shot-shopping {
	background-image: url(/img/shopping.png);
}
.shot-workout {
	background-image: url(/img/workout.png);
}
.shot-task {
	background-image: url(/img/task.png);
}
@media (prefers-color-scheme: dark) {
	.shot .img {
		background-position: right top;
	}
}
.shot figcaption {
	margin-top: 8px;
	font-size: 13px;
	color: var(--ink-2);
}
.sec {
	margin-top: 48px;
}
.sec h2 {
	font-size: 22px;
	line-height: 1.2;
	margin: 0 0 6px;
}
.sec p.sub {
	margin: 0;
	color: var(--ink-2);
	max-width: 52ch;
}
.areas {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
}
.areas li {
	display: flex;
	gap: 14px;
	padding: 10px 0;
}
.areas li svg {
	color: var(--ink-2);
	margin-top: 1px;
}
.areas b {
	display: block;
	font-weight: 500;
	font-size: 16px;
}
.areas span {
	display: block;
	color: var(--ink-2);
	font-size: 14px;
	line-height: 1.45;
}
.plans {
	display: grid;
	gap: 36px;
	margin-top: 22px;
}
.plans h3 {
	font-size: 17px;
	line-height: 1.25;
	margin: 0;
}
.plans .price {
	margin: 4px 0 0;
	font-size: 15px;
	color: var(--ink-2);
}
.plans .fine {
	margin: 12px 0 0;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--ink-2);
}
.contact p {
	margin: 6px 0 0;
}

/* the document pages: privacy, support, terms (the web /privacy page's measure) */
.doc {
	max-width: 680px;
	padding-top: 36px;
}
.doc h1 {
	font-size: 30px;
	line-height: 1.1;
	margin: 0;
}
.doc .meta {
	font-size: 14px;
	color: var(--ink-2);
	margin: 6px 0 20px;
}
.doc .short p {
	margin: 0 0 8px;
	font-size: 17px;
	line-height: 1.5;
}
.doc h2 {
	font-size: 17px;
	line-height: 1.25;
	margin: 30px 0 6px;
}
.doc h3 {
	font-size: 15.5px;
	line-height: 1.3;
	margin: 22px 0 4px;
	letter-spacing: -0.01em;
}
.doc p,
.doc li {
	font-size: 15.5px;
	line-height: 1.6;
	margin: 0;
}
.doc p + p,
.doc ul + p,
.doc p + ul {
	margin-top: 10px;
}
.doc ul {
	margin: 6px 0 0;
	padding-left: 20px;
}
.doc li + li {
	margin-top: 5px;
}
.doc b {
	font-weight: 600;
}
.doc .mail {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	margin-top: 10px;
	padding: 0 16px;
	border-radius: 7px;
	background: var(--ink);
	color: var(--on-ink);
	font-weight: 500;
	text-decoration: none;
}
.doc .hint {
	margin-top: 8px;
	font-size: 14px;
	color: var(--ink-2);
}
.qa {
	margin-top: 4px;
}

/* the invite page */
.inv {
	max-width: 560px;
	padding-top: 40px;
}
.inv h1 {
	font-size: 30px;
	line-height: 1.12;
	margin: 18px 0 0;
}
.inv .lede {
	font-size: 17px;
	line-height: 1.5;
	color: var(--ink-2);
	margin: 12px 0 0;
}
.steps {
	list-style: none;
	margin: 30px 0 0;
	padding: 0;
}
.steps li {
	display: grid;
	grid-template-columns: 28px 1fr;
	gap: 0 14px;
	padding: 14px 0;
}
.steps .n {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--selected);
	display: grid;
	place-items: center;
	font-size: 14px;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}
.steps b {
	display: block;
	font-weight: 500;
	font-size: 16px;
	padding-top: 2px;
}
.steps span {
	display: block;
	color: var(--ink-2);
	font-size: 14.5px;
	line-height: 1.5;
	margin-top: 2px;
}
.steps .badge {
	margin-top: 12px;
}
.qr {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 12px;
}
/* the code keeps its white ground in dark, so cameras read it */
.qr .code {
	width: 132px;
	height: 132px;
	padding: 6px;
	border-radius: 10px;
	background: #fff;
}
.qr .code svg {
	width: 100%;
	height: 100%;
}
.copy {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 14px;
	border: 0;
	border-radius: 7px;
	background: var(--hover);
	color: var(--ink);
	font: 500 14.5px/1 var(--sans);
	cursor: pointer;
}
.inv .fine {
	margin: 18px 0 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--ink-2);
}
.btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	margin-top: 28px;
	border-radius: 7px;
	background: var(--ink);
	color: var(--on-ink);
	text-decoration: none;
	font-weight: 500;
	font-size: 16px;
}
a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 3px;
	border-radius: 4px;
}
[hidden] {
	display: none !important;
}

/* laptop */
@media (min-width: 720px) {
	.top {
		padding-top: 28px;
	}
	.top nav {
		display: flex;
	}
	.hero {
		padding-top: 84px;
	}
	.hero h1 {
		font-size: 44px;
		line-height: 1.08;
	}
	.hero .lede {
		font-size: 19px;
		max-width: 40ch;
	}
	.sec {
		margin-top: 72px;
	}
	.plans {
		grid-template-columns: 1fr 1fr;
		gap: 56px;
	}
	footer {
		padding-bottom: 48px;
	}
	.doc {
		padding-top: 64px;
	}
	.doc h1 {
		font-size: 32px;
	}
	.inv {
		margin: 0 auto;
		padding-top: 76px;
	}
	.inv h1 {
		font-size: 34px;
	}
}

/* three screenshots side by side need 824px; below that they keep scrolling sideways */
@media (min-width: 880px) {
	.shots {
		margin: 64px 0 0;
		padding: 0;
		gap: 22px;
		overflow: visible;
	}
	.shot {
		width: 260px;
	}
	.shot .img {
		border-radius: 28px;
	}
}
