/* Familiar site, Foil Pop look (Jon's design system, ~/AI Projects/Design Systems/Foil Pop/DESIGN.md).
   Raw values live here and nowhere else: colours, face, scale, space, radii, shadows, motion.
   The face is IBM Plex Sans, the same two weights the app bundles. */

@font-face {
	font-family: "IBM Plex Sans";
	src: url("/fonts/plex-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "IBM Plex Sans";
	src: url("/fonts/plex-600.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

:root {
	/* neutrals */
	--canvas: #faf8fc;
	--paper: #ffffff;
	--bone: #f4f0f8;
	--ink: #2a1f3d;
	--ink-2: rgb(42 31 61 / 0.82);
	--ink-3: rgb(42 31 61 / 0.7);
	--ink-4: rgb(42 31 61 / 0.58);
	--edge: rgb(42 31 61 / 0.07);
	--line: rgb(42 31 61 / 0.12);

	/* foil swatches (sampled from the stickers) */
	--orchid: #d9ace5;
	--orchid-deep: #c08fd2;
	--aqua: #7decf0;
	--apricot: #f7dbb5;
	--periwinkle: #adc1f1;
	--lemon: #f3f6b6;
	--rose: #fac1c5;
	--seafoam: #b2edE2;
	--mauve: #cd92cb;

	/* tints, one per panel, neighbours differ */
	--lilac: #f2e6f7;
	--ice: #e0f8f9;
	--peach: #fdf0e2;
	--sky: #e7edfc;
	--blush: #fde9eb;
	--mint: #e3f8f3;

	/* type */
	--face: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--t-hero: clamp(2.75rem, 1.4rem + 6.2vw, 5.5rem);
	--t-h2: clamp(2.25rem, 1.3rem + 4vw, 3.9rem);
	--t-lead: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
	--t-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
	--t-small: 0.875rem;
	--t-label: 0.75rem;

	/* shape */
	--r-card: 24px;
	--r-big: 32px;
	--r-inner: 18px;
	--r-pill: 9999px;

	/* tinted-plum shadows */
	--sh-card: 0 1px 2px rgb(80 50 120 / 0.04), 0 12px 32px -18px rgb(80 50 120 / 0.22);
	--sh-photo: 0 20px 40px -24px rgb(80 50 120 / 0.45);
	--sh-nav: 0 8px 24px -14px rgb(80 50 120 / 0.3);
	--sh-button: 0 6px 16px -8px rgb(140 90 180 / 0.55);
	--sh-watch: 0 30px 50px -28px rgb(80 50 120 / 0.55), 0 8px 16px -10px rgb(80 50 120 / 0.3);
	--sticker: drop-shadow(0 6px 10px rgb(80 50 120 / 0.16)) drop-shadow(0 1px 1px rgb(80 50 120 / 0.1));

	/* motion */
	--ease: cubic-bezier(0.2, 0.8, 0.2, 1);
	--ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

	/* page */
	--gutter: 16px;
	--max: 1200px;
	--watch-case: linear-gradient(150deg, #f1eeec 0%, #dcd7d5 40%, #e9e6e4 60%, #c3bdbb 100%);
}
@media (min-width: 900px) {
	:root {
		--gutter: 32px;
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}
body {
	margin: 0;
	background: var(--canvas);
	color: var(--ink);
	font-family: var(--face);
	font-size: var(--t-body);
	line-height: 1.6;
	font-weight: 400;
	font-synthesis: none;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
[hidden] {
	display: none !important;
}
::selection {
	background: #e9d5ff;
}
img,
video {
	max-width: 100%;
	height: auto;
	display: block;
}
h1,
h2,
h3,
p,
figure,
ul {
	margin: 0;
}
a {
	color: inherit;
}
:focus-visible {
	outline: 3px solid var(--ink);
	outline-offset: 3px;
	border-radius: 6px;
}
.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.skip {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 100;
	background: var(--ink);
	color: var(--paper);
	padding: 10px 16px;
	border-radius: var(--r-pill);
	text-decoration: none;
}
.skip:focus {
	top: 12px;
}

.wrap {
	width: min(100% - 2 * var(--gutter), var(--max));
	margin-inline: auto;
}

/* ---------- type ---------- */
.hero__title,
.h2,
.h3 {
	font-weight: 400;
	letter-spacing: -0.045em;
	line-height: 1;
}
.hero__title {
	font-size: var(--t-hero);
	line-height: 0.98;
	text-wrap: balance;
}
.h2 {
	font-size: var(--t-h2);
	line-height: 1.02;
	text-wrap: balance;
}
.h3 {
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
	line-height: 1.08;
}
.lead {
	font-size: var(--t-lead);
	line-height: 1.35;
	letter-spacing: -0.02em;
	color: var(--ink-2);
	text-wrap: pretty;
}
.body {
	color: var(--ink-3);
	text-wrap: pretty;
}
.label {
	font-size: var(--t-label);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-4);
}
.mono {
	font-variant-numeric: tabular-nums;
}

/* ---------- nav ---------- */
.nav {
	position: sticky;
	top: 12px;
	z-index: 50;
	margin: 12px auto 0;
	width: min(100% - 2 * var(--gutter), var(--max));
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 8px 8px 20px;
	background: rgb(255 255 255 / 0.86);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border: 1px solid var(--edge);
	border-radius: var(--r-pill);
	box-shadow: var(--sh-nav);
}
.nav__brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	font-weight: 600;
	letter-spacing: -0.02em;
	font-size: 1.125rem;
}
.nav__brand img {
	width: 28px;
	height: 28px;
	object-fit: contain;
	filter: var(--sticker);
}
.nav__links {
	display: none;
	gap: 4px;
	list-style: none;
	padding: 0;
}
.nav__links a {
	display: block;
	padding: 8px 14px;
	border-radius: var(--r-pill);
	text-decoration: none;
	color: var(--ink-3);
	font-size: 0.9375rem;
	transition: background 150ms, color 150ms;
}
.nav__links a:hover {
	background: var(--bone);
	color: var(--ink);
}
@media (min-width: 900px) {
	.nav__links {
		display: flex;
	}
}

/* ---------- buttons, chips, fields ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 24px;
	border: 0;
	border-radius: var(--r-pill);
	background: var(--orchid);
	color: var(--ink);
	font: 600 1rem/1 var(--face);
	letter-spacing: -0.01em;
	text-decoration: none;
	cursor: pointer;
	box-shadow: var(--sh-button);
	transition: transform 150ms var(--ease), background 150ms;
}
.btn:hover {
	background: var(--orchid-deep);
	transform: translateY(-1px);
}
.btn:active {
	transform: translateY(1px) scale(0.98);
}
.btn[disabled] {
	opacity: 0.6;
	cursor: wait;
}
.btn--small {
	min-height: 40px;
	padding: 0 18px;
	font-size: 0.9375rem;
}
.btn--ink {
	background: var(--ink);
	color: var(--paper);
	box-shadow: none;
}
.btn--ink:hover {
	background: #43335f;
}
.chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: var(--r-pill);
	background: var(--ink);
	color: var(--paper);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1;
	transform: rotate(-2deg);
}
.chip i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #5ed6c8;
	animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
	50% {
		box-shadow: 0 0 0 6px rgb(94 214 200 / 0.25);
	}
}
.field {
	display: block;
}
.field__input {
	width: 100%;
	min-height: 48px;
	padding: 0 20px;
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
	background: var(--paper);
	color: var(--ink);
	font: 400 1rem/1 var(--face);
}
.field__input::placeholder {
	color: var(--ink-4);
}
.field__input:focus-visible {
	outline: 3px solid var(--orchid-deep);
	outline-offset: 1px;
	border-color: transparent;
}
.field__input[aria-invalid="true"] {
	border-color: #c8416b;
}

/* ---------- sign-up ---------- */
.signup {
	max-width: 520px;
}
.signup__fields {
	display: grid;
	gap: 10px;
}
.signup__trap {
	position: absolute;
	left: -9999px;
}
.signup__note {
	margin-top: 12px;
	font-size: var(--t-small);
	color: var(--ink-4);
}
.signup__error {
	margin-top: 10px;
	color: #a3264d;
	font-size: var(--t-small);
	font-weight: 600;
}
.signup__turnstile {
	margin-top: 10px;
}
.signup__turnstile:not(.is-asking) {
	height: 0;
	overflow: hidden;
}
.signup__done {
	display: flex;
	gap: 16px;
	align-items: center;
	padding: 16px 20px;
	background: var(--paper);
	border-radius: var(--r-card);
	border: 1px solid var(--edge);
	box-shadow: var(--sh-card);
}
.signup__done img {
	width: 64px;
	height: auto;
	filter: var(--sticker);
}
.signup__bubble {
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: -0.02em;
}
.signup__body {
	font-size: var(--t-small);
	color: var(--ink-3);
}
.signup__wrong {
	border: 0;
	background: none;
	padding: 0;
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
	color: var(--ink);
}
.signup.is-done .signup__fields,
.signup.is-done .signup__note {
	display: none;
}
@media (min-width: 640px) {
	.signup__fields {
		grid-template-columns: 1fr 1fr auto;
	}
	.signup .btn {
		white-space: nowrap;
	}
}

/* ---------- stickers ---------- */
.sticker {
	position: absolute;
	width: var(--s, 96px);
	height: auto;
	filter: var(--sticker);
	transform: rotate(var(--r, 8deg));
	transition: transform 350ms var(--ease);
	pointer-events: auto;
	user-select: none;
	-webkit-user-drag: none;
	z-index: 2;
}
.sticker--bob {
	animation: bob 5s ease-in-out infinite;
}
@keyframes bob {
	50% {
		translate: 0 -6px;
	}
}
.sticker.is-hover {
	transform: rotate(0deg) perspective(600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.06);
	transition-duration: 120ms;
}

/* ---------- the watch ---------- */
/* The case, its black glass, and the screen whole inside it: every still and loop was shot with --mask=black, so the
   screen's own rounded corners are already in the picture and vanish into the glass. Never round the picture itself to
   a guessed radius (the corners fight). Proportions match tools/reel.py's watch. */
.watch {
	--w: 260px;
	position: relative;
	width: var(--w);
	padding: calc(var(--w) * 0.053);
	background: var(--watch-case);
	border-radius: calc(var(--w) * 0.313);
	box-shadow: var(--sh-watch), inset 0 0 0 1.5px rgb(120 112 118 / 0.45), inset 0 0 0 3.5px rgb(255 255 255 / 0.55);
	flex: none;
}
.watch::before {
	/* crown */
	content: "";
	position: absolute;
	right: calc(var(--w) * -0.04);
	top: 25%;
	width: calc(var(--w) * 0.05);
	height: 16%;
	background: repeating-linear-gradient(180deg, #b9b3b1 0 2px, #9d9795 2px 3px);
	border-radius: 0 6px 6px 0;
	z-index: -1;
}
.watch::after {
	/* side button */
	content: "";
	position: absolute;
	right: calc(var(--w) * -0.028);
	top: 50%;
	width: calc(var(--w) * 0.035);
	height: 13%;
	background: linear-gradient(180deg, #d0cac8, #aaa4a2);
	border-radius: 0 4px 4px 0;
	z-index: -1;
}
.watch__screen {
	position: relative;
	padding: calc(var(--w) * 0.0407);
	border-radius: calc(var(--w) * 0.26);
	overflow: hidden;
	background: #09080c;
	isolation: isolate;
}
.watch__screen::after {
	/* a faint sheen on the glass */
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(125deg, transparent 30%, rgb(255 255 255 / 0.07) 42%, transparent 55%);
	pointer-events: none;
}
.watch__screen img,
.watch__screen video {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 422 / 514;
	object-fit: cover;
	border-radius: calc(var(--w) * 0.2);
	background: #09080c;
}
.watch {
	--w: min(250px, 66vw);
}
.watch--s {
	--w: min(170px, 40vw);
}
.watch--m {
	--w: min(220px, 58vw);
}
.watch--l {
	--w: min(320px, 78vw);
}
@media (min-width: 640px) {
	.watch {
		--w: 270px;
	}
	.watch--s {
		--w: 200px;
	}
}
@media (min-width: 900px) {
	.watch {
		--w: 310px;
	}
	.watch--s {
		--w: 230px;
	}
	.watch--m {
		--w: 240px;
	}
	.watch--l {
		--w: 380px;
	}
}
.watch--tilt-l {
	transform: rotate(-3deg);
}
.watch--tilt-r {
	transform: rotate(3deg);
}

/* a watch on a tinted panel */
.stage {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	gap: 16px;
	padding: 28px 0 8px;
}
@media (min-width: 900px) {
	.stage {
		min-height: 340px;
		padding-top: 36px;
	}
}
.stage--pair .watch--second {
	margin-left: -14%;
	margin-bottom: -6px;
	z-index: 1;
}
@media (max-width: 639px) {
	.stage--pair .watch--second {
		display: none;
	}
}
/* him, cut out, standing beside a watch */
.spot {
	position: absolute;
	width: var(--s, 140px);
	height: auto;
	z-index: 3;
	filter: drop-shadow(0 10px 12px rgb(80 50 120 / 0.18));
	pointer-events: none;
}
@media (max-width: 639px) {
	.spot {
		width: calc(var(--s, 140px) * 0.72);
	}
}

/* ---------- sections and cards ---------- */
.section {
	padding-block: 32px;
}
@media (min-width: 900px) {
	.section {
		padding-block: 44px;
	}
}
.section__head {
	max-width: 760px;
	margin-bottom: 32px;
}
.section__head .label {
	margin-bottom: 12px;
}
.section__head .lead {
	margin-top: 16px;
}

.panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
	align-items: center;
	padding: 28px 22px 24px;
	border-radius: var(--r-big);
	background: var(--tint, var(--lilac));
	border: 1px solid var(--edge);
	box-shadow: var(--sh-card);
	overflow: clip;
}
.panel__words {
	display: grid;
	gap: 14px;
	align-content: center;
	max-width: 520px;
}
.panel__words .label {
	color: var(--ink-3);
}
@media (min-width: 900px) {
	.panel {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		padding: 48px 56px;
		gap: 40px;
		min-height: 540px;
	}
	.panel--flip .panel__words {
		order: 2;
		justify-self: end;
	}
}
.panel + .panel {
	margin-top: 16px;
}

.quote {
	display: inline-block;
	align-self: start;
	justify-self: start;
	max-width: 100%;
	padding: 10px 16px;
	background: var(--paper);
	border: 1px solid var(--edge);
	border-radius: 18px 18px 18px 6px;
	box-shadow: var(--sh-card);
	font-size: 0.9375rem;
	line-height: 1.4;
	color: var(--ink-2);
	transform: rotate(-1deg);
}

/* ---------- hero: the reel, then the pitch ---------- */
.hero {
	padding-block: 16px 8px;
}
.reel {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: var(--r-big);
	overflow: hidden;
	background: var(--lilac);
	box-shadow: var(--sh-photo), 0 0 0 1px var(--edge);
}
@media (min-width: 700px) {
	.reel {
		aspect-ratio: 16 / 9;
	}
}
.reel__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.reel__sound {
	position: absolute;
	left: 14px;
	bottom: 14px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 18px 0 8px;
	border: 0;
	border-radius: var(--r-pill);
	background: rgb(255 255 255 / 0.9);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: var(--ink);
	font: 600 0.9375rem/1 var(--face);
	letter-spacing: -0.01em;
	cursor: pointer;
	box-shadow: var(--sh-nav);
	transition: transform 150ms var(--ease);
}
.reel__sound:hover {
	transform: translateY(-1px);
}
.reel__icon {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--orchid);
	position: relative;
}
.reel__icon::before {
	/* a play triangle, or two bars once it's playing with sound */
	content: "";
	position: absolute;
	left: 11px;
	top: 9px;
	border-style: solid;
	border-width: 6px 0 6px 10px;
	border-color: transparent transparent transparent var(--ink);
}
.reel__sound[aria-pressed="true"] .reel__icon::before {
	left: 10px;
	top: 10px;
	width: 3px;
	height: 10px;
	border: 0;
	background: var(--ink);
	box-shadow: 6px 0 0 var(--ink);
}
@media (min-width: 900px) {
	.reel__sound {
		left: 24px;
		bottom: 24px;
	}
}
.hero__row {
	display: grid;
	gap: 22px;
	padding-top: 28px;
}
.hero__words {
	display: grid;
	gap: 16px;
	justify-items: start;
}
@media (min-width: 960px) {
	.hero__row {
		grid-template-columns: 1.1fr 0.9fr;
		align-items: end;
		gap: 48px;
		padding-top: 44px;
	}
	.hero__join .signup__fields {
		grid-template-columns: 1fr 1fr;
	}
	.hero__join .signup__fields .btn {
		grid-column: 1 / -1;
	}
}

/* ---------- key art ---------- */
.keyart {
	position: relative;
	margin: 0;
	border-radius: var(--r-big);
	overflow: hidden;
	background: var(--lilac);
	box-shadow: var(--sh-photo), 0 0 0 1px var(--edge);
}
.keyart img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	object-position: 50% 88%;
}
.keyart__words {
	display: grid;
	gap: 12px;
	padding: 22px 22px 26px;
	background: var(--paper);
}
@media (min-width: 700px) {
	.keyart img {
		aspect-ratio: 16 / 9;
	}
	.keyart__words {
		position: absolute;
		left: 0;
		top: 0;
		bottom: 0;
		width: min(46%, 520px);
		align-content: center;
		padding: 48px;
		background: linear-gradient(90deg, rgb(250 248 252 / 0.9) 0%, rgb(250 248 252 / 0.6) 70%, rgb(250 248 252 / 0) 100%);
	}
}
.keyart + .loop,
.keyart + .panel {
	margin-top: 16px;
}
.keyart .label {
	color: var(--ink-3);
}

/* ---------- the rooms: a slow marquee of eight homes ---------- */
.wrap + .rooms {
	margin-top: 16px;
}
.rooms {
	overflow: hidden;
	padding-block: 8px 24px;
	-webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.rooms__track {
	display: flex;
	gap: 28px;
	width: max-content;
	padding: 0;
	list-style: none;
	animation: rooms 60s linear infinite;
}
.rooms__track {
	padding-block: 12px;
}
.rooms__track li {
	flex: none;
	transform: rotate(var(--r, -2deg));
}
.rooms__track li:nth-child(even) {
	--r: 2deg;
}
.rooms__track .watch {
	--w: clamp(190px, 52vw, 250px);
}
.rooms:hover .rooms__track {
	animation-play-state: paused;
}
@keyframes rooms {
	to {
		transform: translateX(calc(-50% - 14px));
	}
}

/* ---------- games ---------- */
.games {
	display: grid;
	gap: 16px;
}
.game {
	display: grid;
	gap: 10px;
	justify-items: start;
	align-content: start; /* a shorter card's spare height mustn't stretch the watch case */
	padding: 24px 22px 26px;
	border-radius: var(--r-big);
	background: var(--tint, var(--lilac));
	border: 1px solid var(--edge);
	box-shadow: var(--sh-card);
}
.game .watch {
	justify-self: center;
	margin: 4px 0 14px;
	transform: rotate(var(--r, -2deg));
}
.game:nth-child(even) .watch {
	--r: 2deg;
}
.game .label {
	color: var(--ink-3);
}
@media (min-width: 900px) {
	.games {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px;
	}
	.game {
		padding: 32px 28px 34px;
	}
}

/* ---------- FAQ layout ---------- */
.faq {
	display: grid;
	gap: 24px;
}
.faq__side {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.faq__side img {
	width: 110px;
	filter: drop-shadow(0 8px 10px rgb(80 50 120 / 0.16));
}
@media (min-width: 900px) {
	.faq {
		grid-template-columns: 0.7fr 1.3fr;
		align-items: start;
	}
	.faq__side {
		display: grid;
		gap: 24px;
		justify-items: start;
	}
	.faq__side img {
		width: 200px;
	}
}

/* ---------- loop strip ---------- */
.loop {
	display: grid;
	gap: 12px;
	list-style: none;
	padding: 0;
	counter-reset: step;
}
.loop li {
	position: relative;
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 16px 20px;
	background: var(--paper);
	border: 1px solid var(--edge);
	border-radius: var(--r-card);
	box-shadow: var(--sh-card);
	font-size: 1.0625rem;
	letter-spacing: -0.02em;
	transform: rotate(var(--r, 0.6deg));
	transition: transform 400ms var(--ease);
}
.loop li:nth-child(even) {
	--r: -0.8deg;
}
.loop li:hover {
	transform: rotate(0) translateY(-3px);
}
.loop img {
	width: 64px;
	height: 64px;
	object-fit: contain;
	filter: drop-shadow(0 6px 6px rgb(80 50 120 / 0.16));
	flex: none;
}
.loop b {
	font-weight: 600;
}
@media (min-width: 900px) {
	.loop {
		grid-template-columns: repeat(5, 1fr);
		gap: 16px;
	}
	.loop li {
		flex-direction: column;
		align-items: flex-start;
		padding: 24px 22px;
		min-height: 180px;
	}
	.loop img {
		width: 104px;
		height: 104px;
	}
}

/* ---------- photo-row (polaroids) ---------- */
.shots {
	display: flex;
	gap: 14px;
	justify-content: center;
	align-items: flex-end;
}

/* ---------- FAQ ---------- */
.qa {
	display: grid;
	gap: 12px;
	max-width: 820px;
}
.qa details {
	background: var(--paper);
	border: 1px solid var(--edge);
	border-radius: var(--r-card);
	box-shadow: var(--sh-card);
	padding: 0 24px;
	transform: rotate(var(--r, 0.4deg));
	transition: transform 400ms var(--ease);
}
.qa details:nth-child(even) {
	--r: -0.5deg;
}
.qa details[open],
.qa details:hover {
	transform: rotate(0);
}
.qa summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 64px;
	cursor: pointer;
	list-style: none;
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: -0.02em;
}
.qa summary::-webkit-details-marker {
	display: none;
}
.qa summary::after {
	content: "+";
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--lilac);
	display: grid;
	place-items: center;
	font-weight: 400;
	font-size: 1.25rem;
	line-height: 1;
}
.qa details[open] summary::after {
	content: "\2212";
}
.qa p {
	padding-bottom: 20px;
	color: var(--ink-3);
	max-width: 62ch;
}

/* ---------- join band + footer ---------- */
.join {
	position: relative;
	display: grid;
	gap: 28px;
	padding: 36px 24px;
	background: var(--orchid);
	border-radius: var(--r-big);
	overflow: clip;
	transform: rotate(-0.4deg);
}
.join .signup__note {
	color: var(--ink-2);
}
.join__spot {
	position: absolute;
	right: -10px;
	top: -6px;
	width: 120px;
	filter: drop-shadow(0 10px 12px rgb(80 50 120 / 0.2));
	pointer-events: none;
}
.join > div {
	padding-right: 96px;
}
.join > div .lead {
	margin-top: 10px;
}
@media (min-width: 900px) {
	.join__spot {
		width: 150px;
		right: auto;
		left: 38%;
		top: -58px;
	}
	.join > div {
		padding-right: 0;
	}
}
.join .btn {
	background: var(--ink);
	color: var(--paper);
	box-shadow: none;
}
.join .btn:hover {
	background: #43335f;
}
@media (min-width: 900px) {
	.join {
		grid-template-columns: 1fr 1.1fr;
		align-items: center;
		padding: 56px;
	}
}
.foot {
	margin-top: 56px;
	padding: 40px 0 calc(40px + env(safe-area-inset-bottom));
	background: var(--ink);
	color: rgb(255 255 255 / 0.78);
	border-radius: 28px 28px 0 0;
	font-size: var(--t-small);
}
.foot__row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 32px;
	justify-content: space-between;
}
.foot a {
	color: var(--paper);
}

.joinbar {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: calc(12px + env(safe-area-inset-bottom));
	z-index: 40;
}
.joinbar .btn {
	width: 100%;
	box-shadow: var(--sh-button), 0 0 0 4px rgb(250 248 252 / 0.9);
}
@media (min-width: 900px) {
	.joinbar {
		display: none;
	}
}

/* ---------- reveal ---------- */
.js .reveal {
	opacity: 0;
	translate: 0 16px;
	transition: opacity 700ms var(--ease-soft), translate 700ms var(--ease-soft);
	transition-delay: calc(var(--i, 0) * 70ms);
}
.js .reveal.is-in {
	opacity: 1;
	translate: 0 0;
}
@keyframes slap {
	0% {
		scale: 0;
		rotate: -25deg;
	}
	70% {
		scale: 1.12;
	}
	100% {
		scale: 1;
		rotate: 0deg;
	}
}
.js .sticker.slap {
	animation: slap 600ms var(--ease) both;
}
.js .sticker.slap.sticker--bob {
	animation: slap 600ms var(--ease) both, bob 5s ease-in-out 700ms infinite;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.js .reveal,
	.js .reveal.is-in {
		opacity: 1;
		translate: none;
		transition: none;
	}
	.sticker,
	.sticker--bob,
	.js .sticker.slap,
	.js .sticker.slap.sticker--bob,
	.chip i {
		animation: none;
	}
	.loop li,
	.qa details,
	.sticker {
		transition: none;
	}
	.rooms__track {
		animation: none;
	}
	.rooms {
		overflow-x: auto;
	}
}

/* ---------- prose (privacy) ---------- */
.prose {
	max-width: 720px;
	margin: 32px auto 80px;
	padding: 36px 28px;
	background: var(--paper);
	border: 1px solid var(--edge);
	border-radius: var(--r-big);
	box-shadow: var(--sh-card);
}
.prose h1 {
	font-size: 2.5rem;
	font-weight: 400;
	letter-spacing: -0.04em;
	line-height: 1.05;
	margin-bottom: 8px;
}
.prose h2 {
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	margin: 28px 0 8px;
}
.prose p,
.prose li {
	color: var(--ink-3);
}
.prose ul {
	padding-left: 1.2em;
}
.prose__meta {
	font-size: var(--t-small);
	color: var(--ink-4) !important;
}
.prose a {
	color: var(--ink);
}
.notfound {
	display: grid;
	justify-items: center;
	gap: 16px;
	text-align: center;
	padding: 80px 0;
}
.notfound img {
	width: 140px;
	filter: var(--sticker);
}
