/* ablefrog.com. Quiet and precise around one bold piece: the homepage's features bento. */

:root {
	--paper: #fff;
	--mist: #eef2e6;
	--pond: #14251a;
	--pond-2: #1f3424;
	--frog: #749338;
	--frog-deep: #56741f;
	--frog-bright: #b5cf78;
	--hair: #dce3cf;
	--text: #14251a;
	--muted: #556052;
	--on-dark: #e9efdc;
	--on-dark-muted: #a9b6a0;

	--display: "Bricolage Grotesque", "Archivo", system-ui, sans-serif;
	--body: "Archivo", system-ui, sans-serif;

	--r-xl: 28px;
	--r-l: 22px;
	--r-m: 14px;
	--r-s: 10px;

	--wrap: 1100px;
	--gutter: clamp(18px, 4vw, 40px);
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 84px;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--body);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a {
	color: var(--frog-deep);
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1.5px;
}

h1,
h2,
h3 {
	margin: 0;
	font-family: var(--display);
	font-optical-sizing: auto;
	font-weight: 700;
	line-height: 1;
	text-wrap: balance;
}

h1 {
	font-size: clamp(3rem, 7.4vw, 6rem);
	letter-spacing: -0.035em;
	line-height: 0.95;
}

h2 {
	font-size: clamp(2.2rem, 4.4vw, 3.4rem);
	letter-spacing: -0.035em;
}

h3 {
	font-size: 1.4rem;
	font-weight: 650;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

p {
	margin: 0;
	text-wrap: pretty;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

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

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

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

.section {
	padding: clamp(80px, 10vw, 136px) 0;
}

.page-top {
	padding-top: clamp(56px, 8vw, 104px);
}

.narrow {
	max-width: calc(760px + var(--gutter) * 2);
}

.section-mist {
	background: var(--mist);
}

.section-head {
	max-width: 620px;
	margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head p {
	margin-top: 16px;
	font-size: 1.2rem;
	color: var(--muted);
}

/* ---------- buttons */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 20px;
	border: 1.5px solid var(--frog-deep);
	border-radius: 999px;
	background: var(--frog-deep);
	color: #fff;
	font: inherit;
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s;
}

.button:hover {
	background: var(--pond);
	border-color: var(--pond);
}

.button-quiet {
	border-color: var(--hair);
	background: var(--paper);
	color: var(--text);
}

.button-quiet:hover {
	border-color: var(--text);
	background: var(--paper);
}

.button-ink {
	border-color: var(--frog-bright);
	background: var(--frog-bright);
	color: var(--pond);
}

.button-ink:hover {
	border-color: #fff;
	background: #fff;
}

.button-big {
	padding: 15px 26px;
	font-size: 1.08rem;
}

.button-small {
	padding: 8px 16px;
}

/* ---------- header */

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: color-mix(in srgb, var(--paper) 90%, transparent);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s;
}

.site-header.scrolled {
	border-bottom-color: var(--hair);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 72px;
}

.brand img {
	width: 146px;
	height: auto;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 4px;
}

.site-nav a:not(.button) {
	padding: 8px 12px;
	border-radius: 999px;
	color: var(--text);
	font-weight: 550;
	text-decoration: none;
}

.site-nav a:not(.button):hover,
.site-nav a[aria-current="page"]:not(.button) {
	background: var(--mist);
}

.site-nav .button {
	margin-left: 10px;
}

/* Tools: a dropdown of the free tools on their own sites */
.nav-drop {
	position: relative;
}

.nav-drop-toggle {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 8px 12px;
	border: 0;
	border-radius: 999px;
	background: none;
	color: var(--text);
	font: inherit;
	font-weight: 550;
	cursor: pointer;
}

.nav-drop-toggle:hover,
.nav-drop-toggle[aria-expanded="true"] {
	background: var(--mist);
}

.nav-drop-toggle svg {
	width: 12px;
	height: 12px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 0.15s;
}

.nav-drop-toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.nav-drop-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	display: none;
	min-width: 200px;
	padding: 6px;
	border: 1px solid var(--hair);
	border-radius: var(--r-m);
	background: var(--paper);
	box-shadow: 0 12px 32px -12px rgb(20 37 26 / 0.22);
}

.nav-drop-toggle[aria-expanded="true"] + .nav-drop-menu {
	display: grid;
}

.site-nav .nav-drop-menu a:not(.button) {
	border-radius: var(--r-s);
	white-space: nowrap;
}

/* Account link: set apart from the page links by a short hairline, so the
   Download pill stays the only button in the header. */
.site-nav .nav-login {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	position: relative;
	margin-left: 21px;
}

.site-nav .nav-login::before {
	content: "";
	position: absolute;
	left: -13px;
	top: 50%;
	width: 1px;
	height: 20px;
	background: var(--hair);
	transform: translateY(-50%);
}

.nav-login svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: var(--frog-deep);
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* "Cloud" once signed in at cloud.ablefrog.com (class set in base.njk) */
.signed-in .nav-login .when-signed-out,
html:not(.signed-in) .nav-login .when-signed-in {
	display: none;
}

.menu-button {
	display: none;
	width: 44px;
	height: 44px;
	padding: 10px;
	border: 1px solid var(--hair);
	border-radius: 12px;
	background: var(--paper);
	cursor: pointer;
}

.menu-button svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: var(--text);
	stroke-width: 2;
	stroke-linecap: round;
}

@media (max-width: 900px) {
	.menu-button {
		display: block;
	}

	.site-nav {
		position: absolute;
		top: 72px;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		padding: 12px var(--gutter) 20px;
		background: var(--paper);
		border-bottom: 1px solid var(--hair);
	}

	.site-nav.open {
		display: flex;
	}

	.site-nav a:not(.button) {
		padding: 12px 14px;
		font-size: 1.1rem;
	}

	.nav-drop-toggle {
		width: 100%;
		justify-content: space-between;
		padding: 12px 14px;
		font-size: 1.1rem;
	}

	.nav-drop-menu {
		position: static;
		min-width: 0;
		padding: 0 0 0 14px;
		border: 0;
		box-shadow: none;
		background: none;
	}

	.site-nav .nav-login {
		margin: 0;
	}

	.site-nav .nav-login::before {
		display: none;
	}

	.site-nav .button {
		margin: 8px 0 0;
	}
}

/* ---------- hero: the headline, then the app on a dark stage */

.hero {
	padding-top: clamp(48px, 8vw, 104px);
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.55fr 1fr;
	align-items: end;
	gap: 32px clamp(32px, 5vw, 72px);
	margin-bottom: clamp(40px, 6vw, 72px);
}

.hero-title {
	max-width: 9.5em;
}

.hero-side {
	display: grid;
	gap: 22px;
	padding-bottom: 0.6em;
}

.hero-small {
	color: var(--muted);
	font-size: 1.1rem;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 12px;
}

.hero-other a {
	color: var(--muted);
	font-size: 0.95rem;
}

.stage {
	padding: clamp(20px, 5vw, 64px) clamp(16px, 5vw, 64px) 0;
	border-radius: var(--r-xl);
	background: var(--pond);
	overflow: hidden;
}

.stage-shot {
	margin: 0;
	overflow: hidden;
	border: 1px solid rgb(255 255 255 / 0.12);
	border-bottom: 0;
	border-radius: var(--r-m) var(--r-m) 0 0;
}

.stage-shot img {
	width: 100%;
}

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

	.hero-side {
		padding-bottom: 0;
	}

	.hero-actions {
		justify-content: flex-start;
	}
}

/* ---------- how it works: each stage's two clips as a little stack of app windows */

.stack-how {
	background: #dde6cb; /* sage: a step deeper than --mist, so the section reads as its own band */
}

.stack-title {
	margin-bottom: clamp(32px, 5vw, 56px);
}

.stack-row {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	align-items: center;
	gap: clamp(28px, 6vw, 96px);
}

.stack-row + .stack-row {
	margin-top: clamp(32px, 5vw, 64px);
}

/* every other stage: the windows on the left, the text on the right */
.stack-flip {
	grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
}

.stack-flip .stack-place {
	order: -1;
}

.stack-text h2 {
	font-size: clamp(1.9rem, 3.2vw, 2.7rem);
	letter-spacing: -0.035em;
	line-height: 1.05;
}

.stack-text p {
	margin-top: 14px;
	max-width: 34ch;
	color: #4a5646; /* --muted, darkened for the sage */
	font-size: 1.1rem;
}

/* sized from its column's width (cqw): the back window 66% wide, the top one 50%, over its corner */
.stack-place {
	container-type: inline-size;
}

.stack {
	--tab: 34px;
	position: relative;
	height: calc(var(--tab) + 63cqw);
}

.stack-window {
	position: absolute;
	margin: 0;
	outline: none;
	cursor: pointer;
	transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s;
}

.stack-back {
	z-index: 1;
	top: var(--tab);
	left: 0;
	width: 66cqw;
}

.stack-top {
	z-index: 2;
	top: calc(var(--tab) + 25cqw);
	right: 0;
	width: 50cqw;
	transform: rotate(2deg);
}

.stack-flip .stack-back {
	left: auto;
	right: 0;
}

.stack-flip .stack-top {
	right: auto;
	left: 0;
	transform: rotate(-2deg);
}

/* the one being looked at comes forward and straightens */
.stack-window.front {
	z-index: 3;
	transform: translateY(-4px) rotate(0deg);
}

.stack-frame {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border: 1px solid rgb(20 37 26 / 0.18);
	border-radius: var(--r-m);
	background: #16181c;
	box-shadow: 0 22px 44px -26px rgb(20 37 26 / 0.45);
	transition: box-shadow 0.35s;
}

.stack-top .stack-frame,
.stack-window.front .stack-frame {
	box-shadow: 0 30px 60px -22px rgb(20 37 26 / 0.55), 0 2px 6px rgb(20 37 26 / 0.12);
}

.stack-frame > * {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* a folder tab on the window's top edge, naming it; the second says how it relates (or / then) */
.stack-tab {
	position: absolute;
	bottom: calc(100% - 1px);
	left: 16px;
	padding: 6px 13px 7px;
	border: 1px solid rgb(20 37 26 / 0.18);
	border-bottom: 0;
	border-radius: 9px 9px 0 0;
	background: var(--paper);
	font-size: 0.88rem;
	font-weight: 650;
	line-height: 1.2;
	white-space: nowrap;
}

.stack-tab span {
	color: var(--muted);
	font-weight: 500;
}

.stack-window:focus-visible .stack-frame {
	outline: 3px solid var(--frog);
	outline-offset: 3px;
}

@media (max-width: 820px) {
	.stack-row,
	.stack-flip {
		grid-template-columns: 1fr;
	}

	.stack-flip .stack-place {
		order: 0;
	}

	.stack-top {
		transform: rotate(1.5deg);
	}

	.stack-flip .stack-top {
		transform: rotate(-1.5deg);
	}
}

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

/* clips in feature tiles fill the shot like a screenshot does */
.tile-shot video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: left top;
}

/* the features follow the hero directly, now that it has no screenshot */
.hero + #features {
	padding-top: clamp(8px, 2vw, 24px);
}

.lead {
	max-width: 30ch;
	margin-bottom: clamp(28px, 4vw, 44px);
	font-family: var(--display);
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: var(--muted);
}

/* ---------- features: a bento of every feature, sized by how much it matters */

.bento {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 16px;
}

.tile {
	--pad: clamp(22px, 2.4vw, 32px);
	--shot-h: 240px;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	padding: var(--pad) var(--pad) 0;
	border-radius: var(--r-l);
	background: var(--mist);
}

.tile-text {
	display: grid;
	align-content: start;
	gap: 10px;
	max-width: 46ch;
	margin-bottom: 26px;
}

.tile-text p {
	color: var(--muted);
	font-size: 0.98rem;
	line-height: 1.55;
}

.tile-icon {
	width: 40px;
	height: 40px;
	margin-bottom: 6px;
	border-radius: 10px;
}

/* screenshots run off the tile's bottom and right edges, like a window behind it */
.tile-shot {
	flex: none;
	height: var(--shot-h);
	margin: auto calc(var(--pad) * -1) 0 0;
	overflow: hidden;
	border: 1px solid rgb(20 37 26 / 0.14);
	border-right: 0;
	border-bottom: 0;
	border-radius: var(--r-s) 0 0 0;
	background: #1b1d1f;
}

.tile-shot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: left top;
}

.tile-dark {
	background: var(--pond);
	color: var(--on-dark);
}

.tile-dark .tile-text p {
	color: var(--on-dark-muted);
}

.tile-dark .tile-shot {
	border-color: rgb(255 255 255 / 0.14);
}

/* the setlist generator leads: tall, dark, its shot filling the height */
.t-setlist {
	grid-column: span 7;
	grid-row: span 2;
}

.t-setlist h3 {
	font-size: clamp(1.7rem, 2.6vw, 2.2rem);
}

.t-setlist .tile-text p {
	font-size: 1.08rem;
}

.t-setlist .tile-shot {
	flex: 1;
	height: auto;
	min-height: 320px;
}

.t-setlist .tile-text {
	margin-bottom: 34px;
}

.t-cloud,
.t-builder {
	grid-column: span 5;
	--shot-h: 210px;
}

.t-tracks,
.t-pco {
	grid-column: span 6;
	--shot-h: 260px;
}

/* the cue panel is narrow: text beside it, the panel at its own size */
.t-pp {
	grid-column: span 7;
	display: grid;
	grid-template-columns: 1fr minmax(0, 300px);
	gap: 28px;
}

.t-pp .tile-shot {
	align-self: stretch;
	height: auto;
	min-height: 320px;
	margin: 0 calc(var(--pad) * -1) 0 0;
}

.t-ableset {
	grid-column: span 5;
	--shot-h: 280px;
}

.t-auto {
	grid-column: span 4;
	justify-content: space-between;
	padding-bottom: var(--pad);
}

.t-magic {
	grid-column: span 8;
	--shot-h: 230px;
}

.t-key,
.t-tc,
.t-export {
	grid-column: span 4;
	--shot-h: 200px;
}

/* features on the way: title and status pill, no shot */
.t-soon {
	grid-column: span 4;
	padding-bottom: var(--pad);
}

.t-soon .tile-text {
	margin-bottom: 0;
}

.pill {
	justify-self: start;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--paper);
	color: var(--frog-deep);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

/* a release marked as a beta in the cloud's admin: the download page's version line, the changelog */
.beta-pill {
	display: inline-block;
	margin-left: 8px;
	background: var(--mist);
	vertical-align: 0.1em;
}

.beta-pill[hidden] {
	display: none;
}

.changelog-version .beta-pill {
	margin: 12px 0 0;
}

/* an automation lane: tempo stepping between songs */
.lane {
	width: 100%;
	height: auto;
	margin-top: 28px;
}

.lane-line {
	fill: none;
	stroke: var(--frog-bright);
	stroke-width: 2;
	stroke-linejoin: round;
}

.lane-dot {
	fill: var(--pond);
	stroke: var(--frog-bright);
	stroke-width: 2;
}

.lane-floor {
	stroke: rgb(255 255 255 / 0.12);
	stroke-width: 1;
}

@media (max-width: 1020px) {
	.bento {
		grid-template-columns: repeat(6, 1fr);
	}

	.t-setlist {
		grid-column: span 6;
		grid-row: auto;
	}

	.t-setlist .tile-shot {
		flex: none;
		height: 380px;
	}

	.t-cloud,
	.t-builder,
	.t-tracks,
	.t-pco,
	.t-key,
	.t-tc,
	.t-auto {
		grid-column: span 3;
	}

	.t-pp,
	.t-ableset,
	.t-magic,
	.t-export {
		grid-column: span 6;
	}

	.t-soon {
		grid-column: span 6;
	}
}

@media (max-width: 760px) {
	.t-pp {
		display: flex;
	}

	.t-pp .tile-shot {
		height: 300px;
		min-height: 0;
		margin-top: auto;
	}
}

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

	.bento > .tile {
		grid-column: auto;
	}

	.tile {
		--shot-h: 220px;
	}
}

/* ---------- pricing */

.price-cards {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	align-items: stretch;
	gap: 16px;
}

.price-card {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: clamp(26px, 3vw, 40px);
	border: 1px solid var(--hair);
	border-radius: var(--r-l);
	background: var(--paper);
}

.price-card h3 {
	font-size: 1.5rem;
}

.price-main {
	border-color: var(--pond);
	background: var(--pond);
	color: var(--on-dark);
}

.price-main h3 {
	font-size: 1.9rem;
}

.price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
}

.price-amount {
	font-family: var(--display);
	font-size: clamp(2.6rem, 4vw, 3.4rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
}

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

.price-main .price-note {
	color: var(--on-dark-muted);
}

.ticks {
	display: grid;
	gap: 9px;
}

.ticks li {
	position: relative;
	padding-left: 28px;
}

.ticks li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.42em;
	width: 12px;
	height: 7px;
	border-left: 2px solid var(--frog);
	border-bottom: 2px solid var(--frog);
	rotate: -45deg;
}

.price-main .ticks li::before {
	border-color: var(--frog-bright);
}

.price-card .button {
	align-self: flex-start;
	margin-top: auto;
}

/* cloud storage: one row per plan, the size first */
.tiers {
	display: grid;
	margin: 0;
	border-top: 1px solid var(--hair);
}

.tier {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--hair);
}

.tier dt {
	font-family: var(--display);
	font-size: 1.65rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.tier dd {
	margin: 0;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.tier dd span {
	color: var(--muted);
	font-weight: 400;
}

.fine-print {
	margin-top: 22px;
	color: var(--muted);
	font-size: 0.92rem;
}

/* the pricing page adds the renewal card */
.price-cards:not(.price-cards-two) {
	grid-template-columns: 1.1fr 0.85fr 1.15fr;
}

@media (max-width: 1020px) {
	.price-cards:not(.price-cards-two) {
		grid-template-columns: 1fr 1fr;
	}

	.price-cards:not(.price-cards-two) .price-main {
		grid-column: 1 / -1;
	}
}

@media (max-width: 860px) {
	.price-cards,
	.price-cards:not(.price-cards-two) {
		grid-template-columns: 1fr;
	}
}

.price-card > p:not(.price):not(.price-note) {
	color: var(--muted);
}

/* ---------- cloud */

.cloud {
	background: var(--pond);
	color: var(--on-dark);
}

.cloud-inner {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	align-items: center;
	gap: clamp(32px, 6vw, 80px);
}

.cloud-text p {
	margin-top: 18px;
	max-width: 52ch;
	font-size: 1.15rem;
	color: var(--on-dark-muted);
}

.cloud-art {
	justify-self: center;
	width: min(340px, 70vw);
}

.cloud-shape {
	fill: var(--pond-2);
	stroke: var(--frog-bright);
	stroke-width: 2.5;
	stroke-linejoin: round;
}

.cloud-arrow {
	fill: none;
	stroke: var(--frog-bright);
	stroke-width: 5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

@media (max-width: 820px) {
	.cloud-inner {
		grid-template-columns: 1fr;
	}

	.cloud-art {
		justify-self: start;
		width: 220px;
	}
}

/* ---------- call to action */

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

.cta-inner p {
	margin-top: 16px;
	font-size: 1.2rem;
	color: var(--muted);
}

.download-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 30px;
}

/* ---------- download page */

.download-inner {
	display: grid;
	gap: clamp(56px, 8vw, 88px);
	justify-items: center;
}

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

.download-head > p {
	margin-top: 16px;
	font-size: 1.2rem;
	color: var(--muted);
}

.download-head .download-started {
	margin-top: 22px;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--mist);
	color: var(--text);
	font-size: 1rem;
}

.download-head .version-line {
	margin-top: 22px;
	font-size: 0.95rem;
}

.requirements {
	width: 100%;
	max-width: 620px;
	padding: clamp(26px, 3vw, 36px);
	border-radius: var(--r-l);
	background: var(--mist);
}

.requirements h2 {
	margin-bottom: 20px;
	font-size: 1.8rem;
}

/* ---------- questions */

.narrow h1,
.narrow h2 {
	margin-bottom: clamp(28px, 4vw, 44px);
}

.faq-list {
	border-top: 1px solid var(--hair);
}

.faq-item {
	border-bottom: 1px solid var(--hair);
}

.faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 0;
	font-family: var(--display);
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.3;
	cursor: pointer;
	list-style: none;
}

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

.faq-item summary:hover {
	color: var(--frog-deep);
}

.faq-item p {
	max-width: 62ch;
	padding: 0 0 24px;
	color: var(--muted);
}

/* a plus that becomes a minus when open */
.faq-mark {
	position: relative;
	flex: none;
	width: 16px;
	height: 16px;
}

.faq-mark::before,
.faq-mark::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 2px;
	border-radius: 1px;
	background: currentColor;
	translate: 0 -50%;
	transition: rotate 0.2s ease;
}

.faq-mark::after {
	rotate: 90deg;
}

.faq-item[open] .faq-mark::after {
	rotate: 0deg;
}

/* ---------- 404 */

.lost-inner {
	display: grid;
	justify-items: start;
	gap: 18px;
	padding-bottom: clamp(40px, 8vw, 120px);
}

.lost-inner h1 {
	max-width: 9em;
}

.lost-inner p {
	font-size: 1.2rem;
	color: var(--muted);
}

.lost-inner .button {
	margin-top: 12px;
}

/* ---------- footer */

.site-footer {
	padding: 64px 0 40px;
	background: var(--pond);
	color: var(--on-dark-muted);
}

.footer-inner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 28px 40px;
}

.footer-brand img {
	width: 150px;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	gap: 6px 22px;
	max-width: 420px;
}

.site-footer a {
	color: var(--on-dark);
	text-decoration: none;
}

.site-footer a:hover {
	text-decoration: underline;
}

.footer-contact a {
	color: var(--frog-bright);
}

.back-to-top {
	justify-self: end;
	font-weight: 600;
}

.footer-small {
	grid-column: 1 / -1;
	display: grid;
	gap: 8px;
	padding-top: 24px;
	border-top: 1px solid rgb(255 255 255 / 0.1);
	font-size: 0.85rem;
	color: #7f8c78;
}

@media (max-width: 700px) {
	.footer-inner {
		grid-template-columns: 1fr;
	}

	.back-to-top {
		justify-self: start;
	}
}

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

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

/* ---------- changelog: each version beside what changed in it */

.changelog {
	max-width: calc(920px + var(--gutter) * 2);
}

.changelog h1 {
	margin-bottom: clamp(32px, 5vw, 56px);
}

.changelog-list {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--hair);
	list-style: none;
}

.changelog-entry {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	gap: 12px clamp(24px, 5vw, 64px);
	padding: clamp(28px, 4vw, 44px) 0;
	border-bottom: 1px solid var(--hair);
}

.changelog-version {
	align-self: start;
	position: sticky;
	top: 96px;
}

.changelog-version h2 {
	margin: 0;
	color: var(--frog-deep);
	font-size: clamp(1.9rem, 3.4vw, 2.4rem);
	letter-spacing: -0.035em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.changelog-version time {
	display: block;
	margin-top: 8px;
	color: var(--muted);
	font-size: 0.95rem;
}

.changelog-notes {
	max-width: 62ch;
	line-height: 1.65;
}

.changelog-notes > * + * {
	margin-top: 12px;
}

.changelog-notes h3 {
	margin-top: 28px;
	font-size: 1.2rem;
}

.changelog-notes h4 {
	margin-top: 20px;
	font-size: 1.05rem;
}

.changelog-notes > :first-child {
	margin-top: 0;
}

.changelog-notes ul {
	padding-left: 1.2em;
	list-style: disc;
}

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

.changelog-notes li::marker {
	color: var(--frog);
}

.changelog-notes code {
	padding: 1px 6px;
	border-radius: 6px;
	background: var(--mist);
	font-size: 0.9em;
}

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

@media (max-width: 680px) {
	.changelog-entry {
		grid-template-columns: minmax(0, 1fr);
	}

	.changelog-version {
		position: static;
		display: flex;
		align-items: baseline;
		gap: 14px;
	}

	.changelog-version time,
	.changelog-version .beta-pill {
		margin: 0;
	}
}
