/* Annual Plan's pages, in the app's own language: a flat white page (black in
   the dark), near-black ink, SF Rounded with big heavy titles, words on month
   stickers a little askew, screenshots in plain phone frames, buttons that are
   solid white capsules with a hairline, and a wash of this month's colour at
   the very top that eases away to nothing. Colour comes from the stickers and
   the screenshots, never from the page. */

:root {
	color-scheme: light dark;
	--page: #ffffff;
	--ink: #161616;
	--muted: #5f5f64;
	--rule: #ededef;
	--weekend: #f6f6f8;
	--card: #ffffff;
	/* The app's chrome: buttons and capsules (PageChrome.swift). */
	--surface: #ffffff;
	--edge: rgba(0, 0, 0, 0.07);
	--frame-edge: rgba(0, 0, 0, 0.11);
	--lift: 0 3px 9px rgba(0, 0, 0, 0.1);
	/* The ink printed on every sticker, light and dark alike. */
	--sticker-ink: #161616;
	/* This month's colour, for the wash at the top (site.js sets it; December, the month the site launched, without it). */
	--wash-rgb: 255 216 77;
	--accent: #ff5a3c;
	--round: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--wide: 1180px;
	--gutter: clamp(20px, 5vw, 48px);
	--bezel: #0e0e10;
}

@media (prefers-color-scheme: dark) {
	:root {
		--page: #000000;
		--ink: #f4f4f5;
		--muted: #a1a1a6;
		--rule: #2a2a2d;
		--weekend: #161618;
		--card: #1c1c1e;
		--surface: #1e1e21;
		--edge: rgba(255, 255, 255, 0.11);
		--frame-edge: rgba(255, 255, 255, 0.12);
		--lift: 0 3px 9px rgba(0, 0, 0, 0.4);
		--bezel: #1a1a1d;
	}
}

/* The months' colours (StickerShapes.swift's MonthLook), each with the lean
   its sticker has on the month pages (MonthSticker.tilt). */
.m1 { --sticker: #c3b1ff; --tilt: -1.76deg; }
.m2 { --sticker: #ff5a3c; --tilt: 2.13deg; }
.m3 { --sticker: #ffcf3f; --tilt: -1.51deg; }
.m4 { --sticker: #4f7bff; --tilt: 1.96deg; }
.m5 { --sticker: #ff9fcf; --tilt: -2.35deg; }
.m6 { --sticker: #24c1a0; --tilt: 1.37deg; }
.m7 { --sticker: #b6da4a; --tilt: -1.67deg; }
.m8 { --sticker: #ff9b2f; --tilt: 1.78deg; }
.m9 { --sticker: #62c6f5; --tilt: -1.25deg; }
.m10 { --sticker: #f2453d; --tilt: 2.37deg; }
.m11 { --sticker: #2fb36b; --tilt: -1.77deg; }
.m12 { --sticker: #ffd84d; --tilt: 2.15deg; }

/* A page's own colour: its links' underline and its title's sticker. */
.lilac { --accent: #c3b1ff; }
.tomato { --accent: #ff5a3c; }
.sunflower { --accent: #ffcf3f; }
.cobalt { --accent: #4f7bff; }
.bubblegum { --accent: #ff9fcf; }
.teal { --accent: #24c1a0; }
.lime { --accent: #b6da4a; }
.orange { --accent: #ff9b2f; }
.sky { --accent: #62c6f5; }
.red { --accent: #f2453d; }
.green { --accent: #2fb36b; }
.yellow { --accent: #ffd84d; }

*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	position: relative;
	margin: 0;
	background: var(--page);
	color: var(--ink);
	font: 17px/1.55 var(--round);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

/* The wash of this month's colour at the top of the page: strongest at the
   very top, easing away to nothing on a smoothstep curve, so there's no line
   where it ends (PageGlow's 17 stops, at 66%). */
body::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	z-index: -1;
	height: var(--wash-height, 340px);
	pointer-events: none;
	background: linear-gradient(
		to bottom,
		rgb(var(--wash-rgb) / 0.66) 0%,
		rgb(var(--wash-rgb) / 0.6526) 6.25%,
		rgb(var(--wash-rgb) / 0.6316) 12.5%,
		rgb(var(--wash-rgb) / 0.5991) 18.75%,
		rgb(var(--wash-rgb) / 0.5569) 25%,
		rgb(var(--wash-rgb) / 0.5069) 31.25%,
		rgb(var(--wash-rgb) / 0.4512) 37.5%,
		rgb(var(--wash-rgb) / 0.3916) 43.75%,
		rgb(var(--wash-rgb) / 0.33) 50%,
		rgb(var(--wash-rgb) / 0.2684) 56.25%,
		rgb(var(--wash-rgb) / 0.2088) 62.5%,
		rgb(var(--wash-rgb) / 0.1531) 68.75%,
		rgb(var(--wash-rgb) / 0.1031) 75%,
		rgb(var(--wash-rgb) / 0.0609) 81.25%,
		rgb(var(--wash-rgb) / 0.0284) 87.5%,
		rgb(var(--wash-rgb) / 0.0074) 93.75%,
		rgb(var(--wash-rgb) / 0) 100%
	);
}

/* In the dark, a warm colour over black turns muddy, so it's faint and
   gathered at the very top, like light (26%, the curve squared), and doesn't
   reach as far down. */
@media (prefers-color-scheme: dark) {
	body::before {
		height: calc(var(--wash-height, 340px) * 0.7);
		background: linear-gradient(
			to bottom,
			rgb(var(--wash-rgb) / 0.26) 0%,
			rgb(var(--wash-rgb) / 0.2542) 6.25%,
			rgb(var(--wash-rgb) / 0.2381) 12.5%,
			rgb(var(--wash-rgb) / 0.2142) 18.75%,
			rgb(var(--wash-rgb) / 0.1851) 25%,
			rgb(var(--wash-rgb) / 0.1534) 31.25%,
			rgb(var(--wash-rgb) / 0.1215) 37.5%,
			rgb(var(--wash-rgb) / 0.0915) 43.75%,
			rgb(var(--wash-rgb) / 0.065) 50%,
			rgb(var(--wash-rgb) / 0.043) 56.25%,
			rgb(var(--wash-rgb) / 0.026) 62.5%,
			rgb(var(--wash-rgb) / 0.014) 68.75%,
			rgb(var(--wash-rgb) / 0.0063) 75%,
			rgb(var(--wash-rgb) / 0.0022) 81.25%,
			rgb(var(--wash-rgb) / 0.0005) 87.5%,
			rgb(var(--wash-rgb) / 0) 93.75%,
			rgb(var(--wash-rgb) / 0) 100%
		);
	}
}

.home {
	--wash-height: clamp(380px, 52vh, 560px);
}

img,
svg {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration-line: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.2em;
}

a:hover {
	text-decoration-thickness: 3px;
}

:focus-visible {
	outline: 3px solid var(--ink);
	outline-offset: 3px;
	border-radius: 8px;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 10;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--surface);
	box-shadow: 0 0 0 1px var(--edge), var(--lift);
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
	transform: translateY(-160%);
}

.skip:focus {
	transform: none;
}

p,
ul,
ol {
	margin: 0 0 1em;
}

strong {
	font-weight: 750;
}

.wrap {
	width: 100%;
	max-width: calc(var(--wide) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* ---------------------------------------------------------------- Stickers */

/* Words printed on a bright shape: the shape is the app's own (an SVG drawn by
   the site kit from StickerShapes.swift), stretched to the words, a touch askew. */
.sticker {
	position: relative;
	isolation: isolate;
	display: inline-block;
	padding: 0.2em 0.5em;
	color: var(--sticker-ink);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: normal;
	white-space: nowrap;
	rotate: var(--tilt, 0deg);
}

.sticker[data-shape="zigzag"],
.sticker[data-shape="cloud"] {
	padding: 0.36em 0.62em;
}

.sticker[data-shape="ribbon"] {
	padding: 0.22em 0.78em;
}

.sticker[data-shape="slant"] {
	padding: 0.2em 0.62em;
}

.sticker[data-shape="wave"],
.sticker[data-shape="blob"] {
	padding: 0.26em 0.56em;
}

.sticker[data-weight="black"] {
	font-weight: 900;
}

.sticker-shape {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	overflow: visible;
	fill: var(--sticker, #ffd84d);
}

/* A year, on its starburst, in the year's colour (MonthLook.ofYear; site.js
   sets this year's). */
.year {
	--sticker: #ff5a3c;
	--tilt: 0deg;
}

/* A section's word on a month sticker, above its title. */
.kicker {
	margin: 0 0 18px;
	font-size: 17px;
}

/* --------------------------------------------------------------- Chrome */

/* The app's chrome: solid capsules, white with a hairline and a soft shadow
   (a dark grey in the dark), pressed in a touch. */
.capsule,
.chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	background: var(--surface);
	box-shadow: 0 0 0 1px var(--edge), var(--lift);
	color: var(--ink);
	font-weight: 750;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.capsule {
	transition: scale 0.15s ease;
}

.capsule:hover {
	text-decoration: none;
}

.capsule:active {
	scale: 0.95;
}

.chip {
	min-height: 36px;
	padding: 0 14px;
	font-size: 15px;
	font-weight: 800;
}

/* ---------------------------------------------------------------- Header */

.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 76px;
	padding-block: 14px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
	font-size: 19px;
	font-weight: 850;
	letter-spacing: -0.01em;
	text-decoration: none;
}

.brand img {
	width: 36px;
	height: 36px;
	border-radius: 22.37%;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.site-nav {
	display: flex;
	gap: 8px;
}

.site-nav .capsule {
	min-height: 40px;
	padding: 0 15px;
	font-size: 15px;
}

.brand span {
	white-space: nowrap;
}

/* On the narrowest phones, the name and Support are enough. */
@media (max-width: 379px) {
	.site-nav .nav-extra {
		display: none;
	}
}

/* ---------------------------------------------------------------- Phones */

/* A screenshot as a phone: a plain black bezel round it, the screenshot's own
   status bar showing. Sized by --phone-w. */
.phone {
	container-type: inline-size;
	flex: none;
	width: var(--phone-w, 300px);
	max-width: 100%;
	margin: 0;
}

.phone-body {
	padding: 10px;
	padding: 3.4cqw;
	border-radius: 52px;
	border-radius: 17.8cqw;
	background: var(--bezel);
	box-shadow:
		0 0 0 1px var(--frame-edge),
		0 2px 6px rgba(0, 0, 0, 0.08),
		0 24px 48px -16px rgba(0, 0, 0, 0.3);
}

.phone img {
	width: 100%;
	height: auto;
	border-radius: 42px;
	border-radius: 14.4cqw;
	background: var(--weekend);
}

@media (prefers-color-scheme: dark) {
	.phone-body {
		box-shadow:
			0 0 0 1px rgba(255, 255, 255, 0.16),
			0 24px 48px -16px rgba(0, 0, 0, 0.8);
	}
}

/* An iPad, the same way, with its thinner corners. */
.tablet {
	container-type: inline-size;
	width: var(--tablet-w, 560px);
	max-width: 100%;
	margin: 0;
}

.tablet .phone-body {
	padding: 2.6cqw;
	border-radius: 5cqw;
}

.tablet img {
	width: 100%;
	height: auto;
	border-radius: 2.6cqw;
	background: var(--weekend);
}

.tilt-left {
	rotate: -2deg;
}

.tilt-right {
	rotate: 2deg;
}

/* ---------------------------------------------------------------- App Store badge */

/* Apple's badge, untouched, with a quarter of its height clear round it. */
.badge {
	display: inline-block;
	margin: 12px;
	border-radius: 10px;
	line-height: 0;
}

.badge img {
	width: auto;
	height: 50px;
}

.get {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 8px;
	margin: 28px -12px 0;
}

/* Until release day, in the badge's place: the words on an ink-outlined pill,
   the badge's height, so it reads as a label rather than a button. */
.soon {
	display: inline-flex;
	align-items: center;
	min-height: 50px;
	margin: 12px;
	padding: 0 22px;
	border: 2px solid var(--ink);
	border-radius: 999px;
	color: var(--ink);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.2;
}

.finale p.soon {
	margin: 12px;
	color: var(--ink);
}

.get-note {
	margin: 0 12px;
	color: var(--muted);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}

/* ---------------------------------------------------------------- Hero */

.hero {
	display: grid;
	gap: 48px;
	align-items: center;
	padding-block: 28px 72px;
}

.today-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 26px;
	color: var(--ink);
	font-size: 16px;
	font-weight: 700;
}

.today-line:not(.is-ready) {
	visibility: hidden;
}

@media (scripting: none) {
	.today-line {
		display: none;
	}
}

/* Today on a little sticker of its month, a touch askew (TodayMark). */
.today-mark {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 2.25em;
	height: 1.9em;
	color: var(--sticker-ink);
	font-size: 15px;
	font-weight: 850;
}

.today-mark svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	fill: var(--today, #ffd84d);
	rotate: var(--today-tilt, 2deg);
}

.today-mark span {
	position: relative;
}

.today-line .year {
	font-size: 14px;
}

h1 {
	margin: 0;
	font-size: clamp(2.75rem, 9.5vw, 5.4rem);
	font-weight: 900;
	line-height: 1.04;
	letter-spacing: -0.03em;
}

h1 .line {
	display: block;
}

/* The sticker's shape reaches above and below the words without spacing the
   lines apart. */
h1 .sticker {
	margin: -0.24em 0.02em;
	vertical-align: 0.02em;
}

.lead {
	max-width: 34em;
	margin: 26px 0 0;
	font-size: clamp(1.15rem, 2.2vw, 1.35rem);
	line-height: 1.5;
}

.hero-shot {
	display: flex;
	justify-content: center;
}

.hero .phone {
	--phone-w: min(330px, 76vw);
}

@media (min-width: 960px) {
	.hero {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
		gap: 64px;
		min-height: min(780px, calc(100svh - 76px));
		padding-block: 24px 88px;
	}

	.hero h1 {
		font-size: clamp(4rem, 6.6vw, 5.6rem);
	}
}

/* ---------------------------------------------------------------- Sections */

.section {
	padding-block: clamp(72px, 9vw, 120px);
}

.section + .section {
	border-top: 1px solid var(--rule);
}

h2 {
	margin: 0 0 20px;
	font-size: clamp(2rem, 5vw, 3.1rem);
	font-weight: 900;
	line-height: 1.06;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

h3 {
	margin: 0 0 6px;
	font-size: 1.15rem;
	font-weight: 850;
	line-height: 1.3;
}

.section-head {
	max-width: 720px;
	margin-bottom: 48px;
}

.section-head > p:last-child {
	margin-bottom: 0;
}

.body-large {
	font-size: clamp(1.08rem, 1.6vw, 1.2rem);
	line-height: 1.55;
}

.muted {
	color: var(--muted);
}

/* Short points under thin rules, like the weeks on the planner. */
.points {
	display: grid;
	gap: 0 32px;
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
}

.points li {
	padding: 18px 0 20px;
	border-top: 1px solid var(--rule);
}

.points p {
	margin: 0;
	color: var(--muted);
}

@media (min-width: 640px) {
	.points {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---------------------------------------------------------------- At a glance */

.glance {
	display: grid;
	gap: 56px;
	align-items: center;
}

.glance .intro {
	max-width: 34em;
}

/* The twelve months on their stickers, like the month names on a poster calendar. */
.poster {
	margin: 0;
}

.poster ol {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px 8px;
	justify-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: clamp(14px, 4.2vw, 24px);
}

.poster figcaption {
	margin-top: 30px;
	color: var(--muted);
	font-size: 15px;
	text-align: center;
}

@media (min-width: 960px) {
	.glance {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
		gap: 80px;
	}

	.poster ol {
		gap: 30px 12px;
		font-size: 22px;
	}
}

/* ---------------------------------------------------------------- Views strip */

/* Four phones side by side on a wide window, a row to swipe on a narrow one. */
.strip {
	display: grid;
	grid-auto-columns: min(66vw, 270px);
	grid-auto-flow: column;
	gap: 22px;
	margin: 0 calc(-1 * var(--gutter));
	padding: 10px var(--gutter) 30px;
	overflow-x: auto;
	scroll-padding-inline: var(--gutter);
	scroll-snap-type: x mandatory;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
}

.strip::-webkit-scrollbar {
	display: none;
}

.view {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0;
	scroll-snap-align: start;
}

.view .phone {
	--phone-w: 100%;
}

.view figcaption {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	color: var(--muted);
	font-size: 15.5px;
	line-height: 1.45;
}

.view figcaption .chip {
	color: var(--ink);
}

@media (min-width: 1000px) {
	.strip {
		grid-auto-flow: row;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 36px;
		margin: 0;
		padding: 10px 0 0;
		overflow: visible;
	}
}

.strip-note {
	margin: 18px 0 0;
	color: var(--muted);
	font-size: 15px;
}

/* ---------------------------------------------------------------- Feature rows */

.feature {
	display: grid;
	gap: 48px;
	align-items: center;
}

.feature-media {
	display: flex;
	justify-content: center;
}

.feature .phone {
	--phone-w: min(300px, 70vw);
}

.feature-text {
	max-width: 560px;
}

.feature-text p:last-child,
.feature-text ul:last-child {
	margin-bottom: 0;
}

.facts {
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.facts li {
	padding: 12px 0;
	border-top: 1px solid var(--rule);
}

.facts li:last-child {
	border-bottom: 1px solid var(--rule);
}

.facts strong {
	display: block;
	font-weight: 850;
}

.facts span {
	color: var(--muted);
}

@media (min-width: 900px) {
	.feature {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 80px;
	}

	.feature.flip .feature-media {
		order: -1;
	}

	.feature-text {
		justify-self: start;
	}
}

/* Two phones, one leaning on the other. */
.pair {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding-top: 8px;
}

.pair .phone {
	--phone-w: min(250px, 47%);
}

.pair .phone + .phone {
	margin-left: 4%;
	margin-top: 56px;
}

/* The iPad, with plenty of room. */
.feature .tablet {
	--tablet-w: min(560px, 88vw);
}

@media (min-width: 900px) {
	.feature.wide {
		grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	}
}

/* ---------------------------------------------------------------- Privacy */

.privacy-points {
	display: grid;
	gap: 0 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.privacy-points li {
	padding: 20px 0 22px;
	border-top: 1px solid var(--rule);
}

.privacy-points p {
	margin: 0;
	color: var(--muted);
}

@media (min-width: 640px) {
	.privacy-points {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.privacy-points {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.more {
	margin: 28px 0 0;
}

/* ---------------------------------------------------------------- Pricing */

.plans {
	display: grid;
	gap: 24px;
	align-items: stretch;
}

.plan {
	display: flex;
	flex-direction: column;
	padding: clamp(24px, 4vw, 36px);
	border-radius: 28px;
	background: var(--card);
	box-shadow: 0 0 0 1px var(--edge), var(--lift);
}

.plan h3 {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 4px;
	font-size: 1.6rem;
	font-weight: 900;
	letter-spacing: -0.015em;
}

.plan h3 .sticker {
	font-size: 0.8em;
}

.plan-sub {
	margin: 0 0 22px;
	color: var(--muted);
	font-weight: 600;
}

.ticks {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ticks li {
	position: relative;
	margin: 0;
	padding: 7px 0 7px 30px;
}

/* A tick drawn in ink. */
.ticks li::before {
	content: "";
	position: absolute;
	top: 0.72em;
	left: 6px;
	width: 7px;
	height: 13px;
	border: solid var(--ink);
	border-width: 0 2.5px 2.5px 0;
	rotate: 45deg;
}

.prices {
	display: grid;
	gap: 12px;
	margin: 26px 0 0;
}

.price {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: baseline;
	gap: 2px 16px;
	padding: 16px 18px;
	border-radius: 18px;
	background: var(--weekend);
}

.price dt {
	font-weight: 850;
}

.price dd {
	margin: 0;
	font-weight: 850;
	text-align: right;
	text-wrap: balance;
}

.price .price-note {
	grid-column: 1 / -1;
	color: var(--muted);
	font-size: 15px;
	font-weight: 600;
	text-align: left;
}

.small-print {
	max-width: 760px;
	margin: 26px 0 0;
	color: var(--muted);
	font-size: 14.5px;
	line-height: 1.5;
}

@media (min-width: 760px) {
	.plans {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 980px;
	}
}

/* ---------------------------------------------------------------- Questions */

.faq {
	max-width: 820px;
}

.faq details {
	border-top: 1px solid var(--rule);
}

.faq details:last-child {
	border-bottom: 1px solid var(--rule);
}

.faq summary {
	position: relative;
	padding: 22px 56px 22px 0;
	font-size: 1.15rem;
	font-weight: 850;
	line-height: 1.35;
	list-style: none;
	cursor: pointer;
}

.faq summary::-webkit-details-marker {
	display: none;
}

/* A round chrome button with a + that turns to × when open. */
.faq summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	width: 36px;
	height: 36px;
	margin-top: -18px;
	border-radius: 50%;
	background:
		linear-gradient(var(--ink), var(--ink)) center / 13px 2.5px no-repeat,
		linear-gradient(var(--ink), var(--ink)) center / 2.5px 13px no-repeat,
		var(--surface);
	box-shadow: 0 0 0 1px var(--edge), var(--lift);
	transition: rotate 0.2s ease;
}

.faq details[open] summary::after {
	rotate: 45deg;
}

@media (forced-colors: active) {
	.faq summary::after {
		forced-color-adjust: none;
	}
}

.faq details p {
	max-width: 40em;
	margin: -4px 0 24px;
	color: var(--muted);
}

/* ---------------------------------------------------------------- Finale */

.finale {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.finale-icon {
	width: 104px;
	height: 104px;
	margin-bottom: 26px;
	border-radius: 22.37%;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
	rotate: -3deg;
}

.finale h2 {
	margin-bottom: 10px;
}

.finale p {
	margin: 0;
	color: var(--muted);
}

.finale .get {
	justify-content: center;
	margin-top: 18px;
}

/* ---------------------------------------------------------------- Footer */

.site-footer {
	padding-block: 40px 48px;
	border-top: 1px solid var(--rule);
	color: var(--muted);
	font-size: 15px;
}

/* The months as the dense grids tag them: "JAN" on a pill of its colour. */
.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
}

.tags li {
	padding: 2px 7px;
	border-radius: 999px;
	background: var(--sticker);
	color: var(--sticker-ink);
	font-size: 11px;
	font-weight: 850;
	letter-spacing: 0.02em;
	line-height: 1.3;
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	margin-bottom: 10px;
}

.footer-nav a {
	color: var(--ink);
	font-weight: 700;
	text-decoration-color: transparent;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
	text-decoration-color: var(--accent);
}

.site-footer p {
	margin: 0 0 8px;
}

.trademarks {
	max-width: 720px;
	margin-top: 18px !important;
	font-size: 12.5px;
	line-height: 1.5;
}

/* ---------------------------------------------------------------- Documents (privacy, terms, support, 404) */

.doc {
	max-width: 720px;
	padding-block: 32px 24px;
}

.doc h1 {
	margin: 12px 0 14px;
	font-size: clamp(2.2rem, 8vw, 3.4rem);
}

.doc h1 .sticker {
	margin: 0;
}

.doc h2 {
	margin: 2.1em 0 0.45em;
	font-size: 1.4rem;
	font-weight: 850;
	line-height: 1.25;
	letter-spacing: -0.01em;
	text-wrap: pretty;
}

.doc ul {
	padding-left: 1.25em;
}

.doc li {
	margin: 0.4em 0;
}

.doc li::marker {
	color: var(--muted);
}

.doc .lead {
	margin: 0 0 1em;
	font-size: 1.2rem;
}

.meta {
	color: var(--muted);
	font-size: 0.9rem;
}

/* A place in Settings: Settings › Weather › Show Forecast. */
.path {
	font-weight: 650;
}

.doc .capsule {
	margin-top: 8px;
}

/* The titles' own leans, as they always had. */
.lean-left {
	--tilt: -2deg;
}

.lean-right {
	--tilt: 1.8deg;
}

.lean-right-less {
	--tilt: 1.6deg;
}

.c-tomato { --sticker: #ff5a3c; }
.c-sky { --sticker: #62c6f5; }
.c-green { --sticker: #2fb36b; }
.c-lilac { --sticker: #c3b1ff; }
.c-cobalt { --sticker: #4f7bff; }

/* ---------------------------------------------------------------- Motion */

/* Stuck on as the page opens: the phone settles, the title's sticker presses on. */
@media (prefers-reduced-motion: no-preference) {
	.hero-text > * {
		animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}

	.hero-text > :nth-child(2) {
		animation-delay: 0.05s;
	}

	.hero-text > :nth-child(3) {
		animation-delay: 0.12s;
	}

	.hero-text > :nth-child(4) {
		animation-delay: 0.18s;
	}

	.hero h1 .sticker {
		animation: press 0.5s 0.35s cubic-bezier(0.3, 1.5, 0.5, 1) both;
	}

	.hero-shot .phone {
		animation: settle 0.9s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}
}

@keyframes rise {
	from {
		opacity: 0;
		translate: 0 14px;
	}
}

@keyframes press {
	from {
		scale: 1.25;
		rotate: -8deg;
		opacity: 0;
	}
}

@keyframes settle {
	from {
		opacity: 0;
		translate: 0 40px;
		rotate: 6deg;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition: none !important;
	}
}
