/* Tokens mirror apps/mobile/constants/Theme.ts. */
:root {
	--canvas: #f8f7f2;
	--paper: #fffefa;
	--ink: #25281f;
	--muted: #717469;
	--line: #e5e5db;
	--yellow: #f4d652;
	--yellow-soft: #f9efbc;
	--yellow-bubble: #ffe477;
	--lavender: #ece8f6;
	--green: #3f6651;
	--green-soft: #e7efe5;
	--pond: #d9e8df;
	--ripple: #bcd5c8;
	--gutter: 24px;
	--radius: 28px;
	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background: var(--canvas);
	color: var(--ink);
	font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
dl,
dd {
	margin: 0;
}

h1 {
	font-size: clamp(40px, 6.4vw, 68px);
	line-height: 1.02;
	font-weight: 800;
	letter-spacing: -0.04em;
}

h2 {
	font-size: clamp(30px, 4vw, 42px);
	line-height: 1.08;
	font-weight: 800;
	letter-spacing: -0.03em;
}

h3 {
	font-size: 19px;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: -0.015em;
}

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

a {
	color: var(--green);
}

button {
	font: inherit;
	color: inherit;
	cursor: pointer;
	touch-action: manipulation;
}

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

svg {
	display: block;
}

fieldset {
	border: 0;
	padding: 0;
	margin: 0;
	min-width: 0;
}

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

.skip {
	position: absolute;
	left: -999px;
	top: 8px;
	background: var(--paper);
	padding: 10px 14px;
	border-radius: 12px;
	z-index: 10;
}

.skip:focus {
	left: 8px;
}

.wrap {
	max-width: 1136px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* Buttons */
.btn[hidden] {
	display: none;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 12px 22px;
	border-radius: 16px;
	border: 1.5px solid var(--line);
	background: var(--paper);
	color: var(--ink);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	transition: transform 0.12s var(--ease-out), background-color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
	border-color: #cfd6c9;
}

.btn:active {
	transform: translateY(1px);
}

.btn.primary {
	background: var(--yellow);
	border-color: var(--yellow);
}

.btn.primary:hover {
	background: #efcd3f;
	border-color: #efcd3f;
}

.btn.ghost {
	background: transparent;
}

.btn.dark {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
}

.btn.dark:hover {
	background: #3a3e32;
	border-color: #3a3e32;
}

.btn.compact {
	min-height: 42px;
	padding: 8px 16px;
	font-size: 14px;
	border-radius: 13px;
}

.apple {
	width: 20px;
	height: 20px;
	margin-top: -2px;
}

/* Header and hero share one pond-green band. */
.top {
	background: var(--green-soft);
}

.mast {
	padding-top: 20px;
	padding-bottom: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 23px;
	font-weight: 800;
	letter-spacing: -0.04em;
	color: var(--ink);
	text-decoration: none;
}

.brand-duck {
	width: 40px;
	height: 40px;
}

.brand-duck svg {
	width: 100%;
	height: 100%;
}

.mast-nav {
	display: flex;
	align-items: center;
	gap: 26px;
	font-size: 14px;
	font-weight: 600;
}

.mast-nav a {
	color: var(--ink);
	text-decoration: none;
}

.mast-nav a:not(.btn):hover {
	color: var(--green);
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 40px;
	align-items: center;
	padding-top: 40px;
	padding-bottom: 72px;
}

.hero-copy {
	container-type: inline-size;
}

.hero-copy h1 {
	font-size: clamp(24px, 9cqi, 68px);
}

.hero-copy h1 span {
	display: block;
	white-space: nowrap;
}

.hero-copy .lead {
	font-size: 19px;
	line-height: 1.5;
	max-width: 28em;
	margin-top: 24px;
	color: #4f5348;
}

.lead em {
	font-style: italic;
	color: var(--ink);
}

.cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 36px;
}

.hero .btn.ghost {
	border-color: #c9d6c6;
}

.hero-stage {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

/* The duck button mirrors the Studio duck in the app. */
.duck-button {
	--duck-size: 260px;
	position: relative;
	width: 100%;
	max-width: 330px;
	height: 320px;
	border: 0;
	background: transparent;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	-webkit-tap-highlight-color: transparent;
	user-select: none;
	-webkit-user-select: none;
}

.duck-button.hero-duck {
	--duck-size: 300px;
	max-width: 400px;
	height: 380px;
}

.duck-button.small {
	--duck-size: 210px;
	height: 260px;
	max-width: 270px;
}

.duck-button:focus-visible {
	outline-offset: -4px;
	border-radius: 24px;
}

.pond {
	position: absolute;
	bottom: 43px;
	width: 254px;
	height: 147px;
	border-radius: 90px;
	background: var(--pond);
	transform: rotate(-5deg);
}

.ripple {
	position: absolute;
	bottom: 40px;
	left: 50%;
	width: 200px;
	height: 56px;
	margin-left: -100px;
	border-radius: 100px;
	border: 1.5px solid var(--ripple);
}

.duck-button.small .pond {
	width: 210px;
	height: 120px;
	bottom: 36px;
}

.duck-button.small .ripple {
	width: 165px;
	height: 46px;
	margin-left: -82px;
	bottom: 33px;
}

.duck {
	position: relative;
	width: 100%;
	height: 100%;
	transform-origin: 50% 88%;
	will-change: transform;
}

.duck-button .duck {
	width: var(--duck-size);
	height: var(--duck-size);
}

.duck svg {
	width: 100%;
	height: 100%;
}

/* The unread quack bubble from the Pond: bright yellow, tail angled back toward the head. */
.say {
	position: absolute;
	top: 6%;
	right: 4%;
	padding: 12px 18px;
	border-radius: 22px;
	background: var(--yellow-bubble);
	color: var(--ink);
	font-size: 20px;
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -0.01em;
	white-space: nowrap;
	pointer-events: none;
	transform-origin: 12% 100%;
	transform: rotate(6deg) scale(0.6);
	opacity: 0;
	transition: opacity 0.16s ease, transform 0.36s var(--ease-out);
}

.say::after {
	content: "";
	position: absolute;
	left: 10px;
	bottom: -9px;
	border-left: 12px solid transparent;
	border-right: 4px solid transparent;
	border-top: 14px solid var(--yellow-bubble);
	transform: rotate(22deg);
}

.say.show {
	opacity: 1;
	transform: rotate(6deg) scale(1);
}

.say.nudge {
	animation: nudge 0.28s var(--ease-out);
}

@keyframes nudge {
	0% {
		transform: rotate(6deg) scale(1);
	}
	40% {
		transform: rotate(6deg) scale(1.1);
	}
	100% {
		transform: rotate(6deg) scale(1);
	}
}

.bubbles {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.bubble {
	position: absolute;
	padding: 9px 12px;
	border-radius: 17px;
	background: var(--paper);
	border: 1px solid var(--line);
	color: var(--green);
	font-size: 14px;
	line-height: 1.2;
	font-weight: 700;
	white-space: nowrap;
	animation: bubble-life 1.25s var(--ease-out) forwards;
}

.bubble::after {
	content: "";
	position: absolute;
	bottom: -4.5px;
	left: 16px;
	width: 8px;
	height: 8px;
	background: var(--paper);
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	transform: rotate(45deg);
}

@keyframes bubble-life {
	0% {
		opacity: 0;
		transform: rotate(var(--tilt)) translateY(8px) scale(0.86);
	}
	12% {
		opacity: 1;
		transform: rotate(var(--tilt)) translateY(5px) scale(1);
	}
	72% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		transform: rotate(var(--tilt)) translateY(-12px) scale(1);
	}
}

.hint {
	font-size: 14px;
	color: var(--green);
	font-weight: 600;
	text-align: center;
}

/* How it works */
.how {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 56px;
	align-items: center;
	padding-top: 96px;
	padding-bottom: 96px;
}

.steps {
	list-style: none;
	margin: 36px 0 0;
	padding: 0;
	display: grid;
	gap: 28px;
}

.steps li {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}

.steps p {
	margin-top: 6px;
	max-width: 32em;
}

.step-number {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--yellow);
	font-weight: 800;
	font-size: 15px;
}

.demo {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 224px;
	gap: 20px;
	align-items: stretch;
}

.flock-card {
	background: #e7ecdd;
	border-radius: var(--radius);
	min-width: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.flock-hint {
	padding: 20px 22px 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--green);
	line-height: 1.4;
}

/* One nest from the app's Pond; main.js positions everything with the app's geometry. */
.flock {
	position: relative;
	margin-top: 6px;
}

.pond-ground {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.friend {
	position: absolute;
	border: 0;
	background: transparent;
	padding: 0;
	-webkit-tap-highlight-color: transparent;
	user-select: none;
	-webkit-user-select: none;
}

.friend .duck,
.friend svg {
	display: block;
}

.nest-sign {
	position: absolute;
	left: 14px;
	top: 9px;
	/* Its own stacking context, so the posts tuck under the board rather than the whole card. */
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 9px;
	pointer-events: none;
}

.nest-board {
	position: relative;
	min-width: 92px;
	padding: 5px 12px 6px;
	border-radius: 7px;
	border: 1.5px solid #a5825b;
	background: #d3b78d;
	color: #3b2f20;
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

.nest-posts {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: 34px;
	z-index: -1;
}

.nest-posts i {
	width: 6px;
	height: 24px;
	margin-top: -6px;
	border-radius: 2px;
	background: #a5825b;
}

.nest-count {
	min-width: 24px;
	padding: 2px 7px;
	border-radius: 999px;
	background: var(--paper);
	color: var(--muted);
	font-size: 11px;
	font-weight: 700;
	text-align: center;
}

.pond-names {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.pond-name {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.pond-chip {
	padding: 3px 9px;
	border-radius: 12px;
	background: var(--paper);
	color: var(--ink);
	font-size: 13px;
	line-height: 18px;
	font-weight: 700;
	white-space: nowrap;
}

.pond-sent {
	margin-top: 2px;
	font-size: 11px;
	line-height: 16px;
	font-weight: 700;
	color: var(--muted);
}

/* The app's sent bubble: yellow, centred over the duck, with a tail pointing down at it. */
.pond-bubble {
	position: absolute;
	padding: 7px 13px;
	border-radius: 22px;
	background: var(--yellow);
	color: var(--ink);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	transform: translate(-50%, -100%);
	animation: pond-bubble 1.1s var(--ease-out) forwards;
}

.pond-bubble::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -8px;
	margin-left: -6px;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 9px solid var(--yellow);
}

@keyframes pond-bubble {
	0% {
		opacity: 0;
		transform: translate(-50%, -80%) scale(0.7);
	}
	18%,
	80% {
		opacity: 1;
		transform: translate(-50%, -100%) scale(1);
	}
	100% {
		opacity: 0;
		transform: translate(-50%, -100%) scale(1);
	}
}

.phone {
	position: relative;
	border-radius: 36px;
	background: var(--ink);
	padding: 12px;
	min-height: 420px;
	display: flex;
	flex-direction: column;
	box-shadow: inset 0 0 0 2px #4a4e40;
}

.phone::before {
	content: "";
	position: absolute;
	inset: 12px;
	border-radius: 26px;
	background: linear-gradient(180deg, #dfe9e3 0%, var(--lavender) 100%);
}

.phone-notch {
	position: relative;
	width: 78px;
	height: 22px;
	margin: 6px auto 0;
	border-radius: 12px;
	background: var(--ink);
}

.phone-time {
	position: relative;
	text-align: center;
	color: var(--ink);
	font-size: 44px;
	font-weight: 300;
	letter-spacing: -0.03em;
	line-height: 1;
	margin-top: 22px;
}

.notifications {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 26px 8px 8px;
	flex: 1;
}

.phone-empty {
	text-align: center;
	font-size: 12px;
	color: var(--green);
	margin-top: 10px;
}

/* A lock-screen alert, the one surface where frosted paper is the literal reference. */
.notification {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr);
	gap: 10px;
	align-items: center;
	background: rgba(255, 254, 250, 0.82);
	backdrop-filter: blur(14px);
	border-radius: 18px;
	padding: 10px 12px;
	text-align: left;
	border: 0;
	width: 100%;
	color: var(--ink);
	animation: slide-in 0.32s var(--ease-out);
	transition: transform 0.12s var(--ease-out);
}

.notification:active {
	transform: scale(0.98);
}

.notification.leaving {
	animation: slide-out 0.24s ease-in forwards;
}

.notification-icon {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--yellow);
	display: grid;
	place-items: center;
	overflow: hidden;
}

.notification-icon svg {
	width: 34px;
	height: 34px;
	margin-top: 4px;
}

.notification-meta {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	font-size: 11px;
	line-height: 14px;
	color: var(--muted);
	font-weight: 600;
}

.notification-title {
	display: block;
	font-size: 13px;
	font-weight: 700;
	line-height: 17px;
}

.notification-body {
	display: block;
	font-size: 12px;
	line-height: 16px;
	color: var(--ink);
}

@keyframes slide-in {
	from {
		opacity: 0;
		transform: translateY(-14px) scale(0.96);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes slide-out {
	to {
		opacity: 0;
		transform: translateX(24px);
	}
}

/* Duck Studio */
.studio {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 56px;
	align-items: start;
	padding-top: 32px;
	padding-bottom: 96px;
}

.studio-copy > p {
	margin-top: 16px;
	max-width: 30em;
}

.feathers {
	display: flex;
	gap: 10px;
	margin: 28px 0 18px;
}

.feather {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 0;
	background: transparent;
	display: grid;
	place-items: center;
	padding: 0;
}

.feather i {
	display: block;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--swatch);
	border: 1.5px solid rgba(37, 40, 31, 0.18);
	transition: transform 0.16s var(--ease-out);
}

.feather:hover i {
	transform: scale(1.08);
}

.feather[aria-pressed="true"] i {
	outline: 2.5px solid var(--ink);
	outline-offset: 3px;
}

.studio-stage {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
}

.studio-pond {
	background: var(--green-soft);
	border-radius: var(--radius);
	padding: 18px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.caption {
	font-size: 15px;
	font-weight: 700;
	color: var(--ink);
	text-align: center;
}

.duck.changed {
	animation: fit 0.2s var(--ease-out);
}

@keyframes fit {
	from {
		transform: scale(0.965);
	}
	to {
		transform: scale(1);
	}
}

.lookbook {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.look {
	min-width: 0;
	border: 1.5px solid transparent;
	border-radius: 22px;
	background: var(--look-bg);
	padding: 12px 10px 14px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	transition: transform 0.18s var(--ease-out), border-color 0.14s ease;
}

.look:hover {
	transform: translateY(-2px);
}

.look[aria-pressed="true"] {
	border-color: var(--ink);
}

.look-art {
	width: 96px;
	height: 96px;
}

.look strong {
	display: block;
	font-size: 13px;
	font-weight: 700;
	margin-top: 4px;
	color: var(--ink);
}

.look-desc {
	display: block;
	font-size: 11.5px;
	line-height: 1.35;
	color: var(--muted);
	margin-top: 3px;
}

/* The little things */
.details {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 56px;
	padding-top: 8px;
	padding-bottom: 96px;
	align-items: start;
}

.detail-list > div {
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr);
	gap: 16px;
	padding: 18px 0;
	border-top: 1px solid var(--line);
}

.detail-list > div:last-child {
	border-bottom: 1px solid var(--line);
}

.detail-list dt {
	font-weight: 700;
}

.detail-list dd {
	color: var(--muted);
	max-width: 36em;
}

/* Closing call to action on duck yellow. */
.outro {
	background: var(--yellow);
}

.outro-inner {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding-top: 56px;
	padding-bottom: 72px;
}

.outro-duck {
	width: 132px;
	height: 132px;
}

.outro-duck svg {
	width: 100%;
	height: 100%;
}

.outro p {
	font-size: 17px;
	color: #4a4520;
}

.outro .btn {
	margin-top: 10px;
}

.foot {
	padding-top: 24px;
	padding-bottom: 40px;
	font-size: 13px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 960px) {
	.hero {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
		padding-top: 8px;
		padding-bottom: 56px;
	}

	.hero-stage {
		order: -1;
	}

	.how,
	.studio,
	.details {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}

	.details {
		gap: 20px;
	}

	.demo {
		grid-template-columns: minmax(0, 1fr) 230px;
	}
}

@media (max-width: 640px) {
	.how,
	.studio {
		padding-top: 64px;
		padding-bottom: 64px;
	}

	.details {
		padding-bottom: 64px;
	}

	.mast {
		padding-top: 14px;
		padding-bottom: 14px;
	}

	.mast-nav {
		gap: 16px;
	}

	.mast-nav a:not(.btn) {
		display: none;
	}

	.page-body .mast-nav a:not(.btn) {
		display: inline;
	}

	.hero-copy .lead {
		font-size: 17px;
	}

	.cta-row .btn {
		flex: 1 1 100%;
	}

	.page-body .mast-nav .btn {
		display: none;
	}

	.duck-button.hero-duck {
		--duck-size: 250px;
		height: 320px;
	}

	.say {
		font-size: 17px;
		padding: 10px 15px;
	}

	.demo {
		grid-template-columns: minmax(0, 1fr);
	}

	.phone {
		min-height: 320px;
		max-width: 300px;
		width: 100%;
		margin: 0 auto;
	}

	.lookbook {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.detail-list > div {
		grid-template-columns: minmax(0, 1fr);
		gap: 4px;
	}
}

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

	.say {
		opacity: 1;
		transform: rotate(6deg);
		transition: none;
	}

	.say.nudge,
	.notification,
	.duck.changed {
		animation: none;
	}

	.bubble {
		animation: bubble-still 1.25s linear forwards;
	}

	.pond-bubble {
		animation: pond-bubble-still 1.1s linear forwards;
	}

	@keyframes pond-bubble-still {
		0%,
		90% {
			opacity: 1;
		}
		100% {
			opacity: 0;
		}
	}

	@keyframes bubble-still {
		0%,
		90% {
			opacity: 1;
			transform: rotate(var(--tilt));
		}
		100% {
			opacity: 0;
			transform: rotate(var(--tilt));
		}
	}

	.look:hover,
	.feather:hover i {
		transform: none;
	}
}

/* Support and privacy pages */
.page-body .mast {
	padding-bottom: 8px;
}

.mast-nav a[aria-current="page"] {
	color: var(--green);
}

.page {
	max-width: 760px;
	padding-top: 32px;
	padding-bottom: 80px;
}

.page h1 {
	font-size: clamp(36px, 5vw, 52px);
}

.page .lead {
	font-size: 19px;
	line-height: 1.5;
	margin-top: 18px;
	color: #4f5348;
}

.effective {
	margin-top: 12px;
	font-size: 14px;
}

.page-section {
	margin-top: 44px;
}

.page-section h2 {
	font-size: 26px;
}

.page-section p {
	margin-top: 12px;
	max-width: 66ch;
}

.page-section a {
	font-weight: 600;
}

.faq {
	margin-top: 8px;
}

.faq > div {
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}

.faq dt {
	font-weight: 700;
	font-size: 17px;
}

.faq dd {
	margin-top: 6px;
	color: var(--muted);
	max-width: 66ch;
}

.numbered {
	margin: 14px 0 0;
	padding-left: 0;
	list-style: none;
	counter-reset: step;
	display: grid;
	gap: 10px;
}

.numbered li {
	counter-increment: step;
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	color: var(--muted);
}

.numbered strong {
	color: var(--ink);
}

.numbered li::before {
	content: counter(step);
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--yellow);
	color: var(--ink);
	font-weight: 800;
	font-size: 14px;
}

.plain-list {
	margin: 12px 0 0;
	padding-left: 20px;
	color: var(--muted);
	max-width: 66ch;
	display: grid;
	gap: 8px;
}

.foot-nav {
	display: flex;
	gap: 18px;
	font-size: 13px;
	font-weight: 600;
}

.foot-nav a {
	text-decoration: none;
}

.foot-nav a:hover {
	text-decoration: underline;
}

/* Invite page */
.invite {
	text-align: center;
}

.invite .lead,
.invite .page-section p {
	margin-left: auto;
	margin-right: auto;
}

.invite-duck {
	width: 132px;
	height: 132px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: var(--yellow-soft);
	display: grid;
	place-items: center;
}

.invite-duck svg {
	width: 96px;
	height: 96px;
}

.invite-card {
	margin-top: 32px;
	padding: 28px 24px;
	border-radius: var(--radius);
	background: var(--yellow-soft);
}

.invite-card .cta-row {
	justify-content: center;
	margin-top: 20px;
}

.eyebrow {
	margin: 0;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

/* invite.js sets data-platform before the first paint; without it the page behaves as desktop. */
.phone-only,
.ios-only,
.android-only,
:root[data-platform="ios"] .desktop-only,
:root[data-platform="android"] .desktop-only {
	display: none;
}

:root[data-platform="ios"] .phone-only,
:root[data-platform="android"] .phone-only,
:root[data-platform="ios"] .ios-only,
:root[data-platform="android"] .android-only {
	display: revert;
}

:root[data-platform="ios"] .cta-row.phone-only,
:root[data-platform="android"] .cta-row.phone-only {
	display: flex;
}

.invite-code {
	margin: 10px 0 0;
	font-size: 40px;
	font-weight: 800;
	letter-spacing: 0.08em;
	font-variant-numeric: tabular-nums;
	color: var(--ink);
	user-select: all;
}

/* Wide enough for "Could not copy", so the label swap never resizes the button. */
.invite-copy {
	min-width: 170px;
	margin-top: 14px;
}

.invite-accept {
	width: 100%;
	max-width: 360px;
}

.invite-hint {
	margin: 14px 0 0;
	font-size: 14px;
	color: var(--muted);
}

.invite .numbered {
	max-width: 420px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}

.invite .page-section .cta-row {
	justify-content: center;
}
