/* Landing page only. Shared pieces (tokens, buttons, header, footer) live in base.css. */

.section {
	padding-top: clamp(80px, 11vw, 140px);
}
.section-head {
	margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head.split {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px 40px;
}
.title-xl.narrow {
	max-width: 12ch;
}
.section-note {
	margin: 0;
	max-width: 22em;
	color: var(--muted);
	font-size: 17px;
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	overflow: hidden;
	padding: clamp(120px, 14vw, 170px) var(--gutter) 0;
}
.hero-bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}
.blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
	animation: drift var(--dur) ease-in-out var(--delay) infinite alternate;
}
.blob-1 {
	top: -10%;
	left: -8%;
	width: 46vw;
	height: 46vw;
	background: #e8b060;
	opacity: 0.1;
	--dur: 16s;
	--delay: 0s;
}
.blob-2 {
	top: 8%;
	left: 62%;
	width: 40vw;
	height: 40vw;
	background: #bfd48a;
	opacity: 0.1;
	--dur: 19s;
	--delay: -4s;
}
.blob-3 {
	top: 46%;
	left: 24%;
	width: 50vw;
	height: 50vw;
	background: #f2e7c6;
	opacity: 0.2;
	--dur: 22s;
	--delay: -8s;
}
.hero-dots {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(31, 26, 14, 0.09) 1px, transparent 1.2px);
	background-size: 22px 22px;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-inner {
	position: relative;
	z-index: 2;
	max-width: var(--max);
	margin: 0 auto;
	text-align: center;
}

.floater {
	position: absolute;
	z-index: 0;
	pointer-events: none;
	width: var(--size);
	height: var(--size);
	transform: translate3d(calc(var(--mx, 0) * var(--depth) * 1px), calc(var(--my, 0) * var(--depth) * 1px), 0);
	transition: transform 0.4s var(--ease);
}
.floater img {
	width: 100%;
	height: 100%;
	animation: bob var(--dur) ease-in-out var(--delay) infinite alternate;
	filter: drop-shadow(0 18px 22px rgba(31, 26, 14, 0.22));
}
.f-cap {
	top: -4%;
	left: 2%;
	--size: clamp(54px, 7vw, 110px);
	--depth: -28;
}
.f-cap img {
	--r: -14deg;
	--dur: 4.2s;
	--delay: 0s;
}
.f-bulb {
	top: 6%;
	right: 3%;
	--size: clamp(54px, 6.5vw, 100px);
	--depth: 34;
}
.f-bulb img {
	--r: 12deg;
	--dur: 3.6s;
	--delay: 0.4s;
}
.f-books {
	top: 52%;
	left: -1%;
	--size: clamp(54px, 7vw, 112px);
	--depth: 22;
}
.f-books img {
	--r: -6deg;
	--dur: 4.8s;
	--delay: 0.2s;
}
.f-plane {
	top: 48%;
	right: 0;
	--size: clamp(56px, 7.5vw, 118px);
	--depth: -36;
}
.f-plane img {
	--r: 8deg;
	--dur: 3.9s;
	--delay: 0.7s;
}
.f-ruler {
	top: 82%;
	left: 14%;
	--size: clamp(40px, 4.5vw, 72px);
	--depth: 44;
}
.f-ruler img {
	--r: 18deg;
	--dur: 4.4s;
	--delay: 1s;
}
.f-sparkles {
	top: 84%;
	right: 15%;
	--size: clamp(40px, 4.5vw, 70px);
	--depth: -40;
}
.f-sparkles img {
	--r: 0deg;
	--dur: 3.3s;
	--delay: 0.5s;
}

.hero-badge {
	margin: 0 auto 26px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
	background: var(--card);
	border: 1px solid rgba(24, 26, 17, 0.1);
	padding: 6px 16px 6px 6px;
	border-radius: 999px;
	box-shadow: 0 6px 20px -10px rgba(24, 26, 17, 0.25);
	animation: rise 0.8s var(--ease) both;
}
.hero-badge img {
	background: var(--amber-soft);
	border-radius: 50%;
	padding: 3px;
}
.hero-title {
	position: relative;
	margin: 0 auto;
	max-width: 13.5ch;
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(46px, 8vw, 118px);
	line-height: 1;
	letter-spacing: -0.035em;
	color: var(--ink-deep);
	text-wrap: balance;
	animation: rise 0.9s 0.08s var(--ease) both;
}
.crown-a,
.swoosh-word {
	position: relative;
	display: inline-block;
}
.swoosh-word {
	color: var(--olive);
}
.crown {
	position: absolute;
	left: -0.18em;
	top: -0.62em;
	width: 0.62em;
	height: 0.62em;
	pointer-events: none;
	--r: -18deg;
	animation: bob 3.2s ease-in-out infinite alternate;
	filter: drop-shadow(0 8px 10px rgba(31, 26, 14, 0.25));
}
.swoosh {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -0.12em;
	width: 100%;
	height: 0.28em;
	overflow: visible;
}
.swoosh path {
	stroke: var(--amber);
	stroke-width: 9;
	fill: none;
	stroke-linecap: round;
	stroke-dasharray: 320;
	stroke-dashoffset: 320;
	animation: draw 1.1s 0.7s cubic-bezier(0.6, 0.1, 0.2, 1) forwards;
}
@keyframes draw {
	to {
		stroke-dashoffset: 0;
	}
}
@media (prefers-reduced-motion: reduce) {
	.swoosh path {
		stroke-dashoffset: 0;
	}
}
.hero-lead {
	margin: 30px auto 0;
	max-width: 30em;
	font-size: clamp(19px, 2vw, 23px);
	line-height: 1.45;
	color: var(--ink-2);
	text-wrap: pretty;
	animation: rise 0.9s 0.18s var(--ease) both;
}
.hero-actions {
	margin-top: 30px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	animation: rise 0.9s 0.26s var(--ease) both;
}
.btn-watch {
	--fill: var(--ink);
	--fill-ink: var(--bg);
	--arrow-h: var(--amber);
	padding: 8px 26px 8px 8px;
	box-shadow: 0 14px 30px -12px rgba(184, 122, 22, 0.8);
}
.btn-join {
	--fill: var(--ink);
	--fill-ink: var(--bg);
	--arrow-h: var(--amber);
	font-weight: 600;
	padding: 8px 8px 8px 26px;
}
.btn-join .btn-arrow {
	width: 40px;
	height: 40px;
}

/* ---------- Demo card ---------- */
.demo {
	position: relative;
	z-index: 3;
	max-width: var(--max);
	margin: clamp(40px, 6vw, 72px) auto 0;
	scroll-margin-top: 96px;
	perspective: 1600px;
}
.demo-card {
	position: relative;
	aspect-ratio: 16 / 9;
	min-height: 240px;
	overflow: hidden;
	background: var(--night);
	border-radius: clamp(20px, 2.6vw, 36px);
	box-shadow:
		0 50px 100px -40px rgba(31, 26, 14, 0.55),
		0 0 0 1px rgba(24, 26, 17, 0.1);
	transform-origin: 50% 100%;
	will-change: transform;
}
.demo-card video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: var(--night);
}
.demo-poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
	background: radial-gradient(120% 90% at 50% 110%, #2a3117 0%, var(--night) 60%);
}
.demo-cover img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.demo-poster:focus-visible {
	outline: 4px solid var(--amber);
	outline-offset: -6px;
	border-radius: clamp(20px, 2.6vw, 36px);
}
.demo-play {
	position: absolute;
	left: 50%;
	top: 46%;
	transform: translate(-50%, -50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.demo-play .ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--amber);
	animation: ring 2s ease-out infinite;
}
.demo-play .ring.r2 {
	animation-delay: 1s;
}
.demo-play .disc {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: clamp(68px, 8vw, 104px);
	height: clamp(68px, 8vw, 104px);
	border-radius: 50%;
	background: var(--amber);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}
@keyframes ring {
	0% {
		transform: scale(1);
		opacity: 0.55;
	}
	100% {
		transform: scale(1.9);
		opacity: 0;
	}
}

/* ---------- Feature strip ---------- */
.features {
	margin-top: clamp(48px, 6vw, 72px);
}
.feature-list {
	list-style: none;
	margin: 0;
	padding: clamp(22px, 3vw, 34px);
	background: var(--brown);
	color: var(--bg);
	border-radius: clamp(20px, 2.6vw, 32px);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 22px 0;
}
.feature-list li {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 4px clamp(12px, 2vw, 28px);
}
.feature-list img {
	flex: none;
	background: var(--brown-2);
	border-radius: 16px;
	padding: 8px;
}
.feature-title {
	margin: 0;
	font-weight: 400;
	font-family: var(--serif);
	font-size: 24px;
	line-height: 1.15;
}
.feature-text {
	margin: 6px 0 0;
	font-size: 16px;
	color: var(--brown-muted);
}

/* ---------- Marquee ---------- */
.marquee {
	margin-top: clamp(64px, 9vw, 110px);
	transform: rotate(-2deg);
	overflow: hidden;
	background: var(--amber);
	color: var(--ink);
	padding: 16px 0;
	box-shadow: 0 20px 40px -24px rgba(122, 79, 12, 0.6);
}
.marquee-track {
	display: flex;
	width: max-content;
	animation: marquee 36s linear infinite;
}
.marquee-row {
	display: flex;
	align-items: center;
	gap: 28px;
	padding-right: 28px;
}
.marquee-row span {
	font-family: var(--serif);
	font-size: clamp(24px, 3vw, 40px);
	white-space: nowrap;
	letter-spacing: -0.02em;
}
@keyframes marquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

/* ---------- Phone frame ---------- */
.phone {
	position: relative;
	aspect-ratio: 420 / 933;
}
.phone-screen {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: var(--night);
}
.phone-screen img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ---------- Stepper ---------- */
.stepper {
	position: relative;
	overflow: hidden;
	background: var(--night);
	color: var(--night-ink);
	border-radius: var(--radius-xl);
	padding: clamp(22px, 4vw, 60px);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
	gap: clamp(28px, 4vw, 64px);
	align-items: center;
}
.stepper-glow {
	position: absolute;
	right: -10%;
	top: -30%;
	width: 60%;
	height: 120%;
	border-radius: 50%;
	background: var(--olive);
	filter: blur(90px);
	opacity: 0.35;
	pointer-events: none;
	animation: drift 18s ease-in-out infinite alternate;
}
.stepper-copy,
.stepper-phone-wrap {
	position: relative;
	z-index: 1;
}
.stepper-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
}
.pause-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--night-line);
	background: transparent;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
}
.pause-btn:hover {
	background: var(--night-2);
}
.stepper :focus-visible {
	outline-color: var(--amber);
}
.step-list {
	display: flex;
	flex-direction: column;
}
.step {
	text-align: left;
	cursor: pointer;
	background: transparent;
	border: 0;
	color: inherit;
	padding: 0;
	display: grid;
	grid-template-columns: 2px 1fr;
	gap: 0 26px;
	border-radius: 6px;
}
.step:focus-visible {
	outline-offset: 6px;
}
.step-bar {
	position: relative;
	background: var(--night-line);
	overflow: hidden;
}
.step-fill {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 0;
	background: var(--amber);
}
.step.is-past .step-fill {
	height: 100%;
}
.step.is-active .step-fill {
	animation: fill-h var(--dur, 5s) linear forwards;
}
.stepper.is-paused .step.is-active .step-fill {
	animation-play-state: paused;
}
@keyframes fill-h {
	from {
		height: 0;
	}
	to {
		height: 100%;
	}
}
@keyframes fill-w {
	from {
		width: 0;
	}
	to {
		width: 100%;
	}
}
@media (prefers-reduced-motion: reduce) {
	.step.is-active .step-fill {
		height: 100%;
		width: 100%;
	}
}
.step-body {
	display: block;
	padding: 18px 0;
}
.step-title {
	display: block;
	font-family: var(--serif);
	font-size: clamp(24px, 2.6vw, 34px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: #5f6353;
	transition: color 0.4s;
}
.step.is-past .step-title {
	color: #8a8e78;
}
.step.is-active .step-title {
	color: #f6f2e7;
}
.step-desc {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.5s var(--ease);
}
.step.is-active .step-desc {
	grid-template-rows: 1fr;
}
.step-desc > span {
	overflow: hidden;
	min-height: 0;
}
.step-desc > span > span {
	display: block;
	padding-top: 10px;
	font-size: 17px;
	line-height: 1.55;
	color: var(--night-muted);
	max-width: 26em;
}
.stepper-phone-wrap {
	display: flex;
	justify-content: center;
	perspective: 1200px;
}
.stepper-phone {
	width: min(100%, 330px);
	border-radius: 42px;
	padding: 10px;
	background: linear-gradient(160deg, #3a3f2e, var(--night-2));
	box-shadow:
		0 40px 80px -24px rgba(0, 0, 0, 0.7),
		inset 0 0 0 1px #4a503c;
	transform: rotateY(var(--tilt, -6deg)) rotateX(4deg);
	transition: transform 0.6s var(--ease);
}
.stepper-phone .phone-screen {
	border-radius: 33px;
}
.step-shot {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: translateY(3%) scale(1.04);
	transition:
		opacity 0.5s ease,
		transform 0.6s var(--ease);
}
.step-shot.is-past {
	transform: translateY(-3%) scale(1.04);
}
.step-shot.is-active {
	opacity: 1;
	transform: none;
}

/* ---------- Replay chat ---------- */
.replay-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
}
.replay-bulb {
	margin-bottom: 18px;
	transform: rotate(-10deg);
}
.replay-text {
	margin: 20px 0 0;
	max-width: 26em;
	color: var(--ink-2);
	text-wrap: pretty;
}
.chat {
	position: relative;
	background: var(--night);
	color: var(--night-ink);
	border-radius: 32px;
	padding: clamp(16px, 2.4vw, 26px);
	box-shadow: 0 40px 80px -40px rgba(31, 26, 14, 0.6);
}
.chat :focus-visible {
	outline-color: var(--amber);
}
.chat-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 2px 4px 14px;
	border-bottom: 1px solid var(--night-line);
}
.chat-who {
	display: flex;
	align-items: center;
	gap: 12px;
}
.chat-who img {
	border-radius: 10px;
}
.chat-who {
	min-width: 0;
}
.chat-who > div {
	min-width: 0;
}
.chat-topic {
	margin: 0;
	font-weight: 600;
	font-size: 16px;
}
.chat-meta {
	margin: 2px 0 0;
	font-size: 13px;
	color: #a6c45c;
	display: flex;
	align-items: center;
	gap: 6px;
}
.chat-meta .dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #a6c45c;
}
.chat-reset {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
	font-size: 14px;
	color: #f2d9a6;
	background: transparent;
	border: 1px solid var(--night-line);
	border-radius: 999px;
	padding: 7px 13px;
	cursor: pointer;
}
.chat-reset:hover {
	background: var(--night-2);
}
.chat-log {
	min-height: 320px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 18px 4px;
}
.msg {
	max-width: 86%;
	font-size: 16px;
	line-height: 1.5;
	animation: rise 0.45s var(--ease) both;
}
.msg.tutor {
	align-self: flex-start;
	padding: 4px;
}
.msg.student {
	align-self: flex-end;
	background: var(--night-3);
	border: 1px solid var(--night-line);
	border-radius: 20px 20px 6px 20px;
	padding: 12px 16px;
}
.typing {
	align-self: flex-start;
	display: flex;
	gap: 5px;
	padding: 10px 4px;
}
.typing span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #a6c45c;
	animation: dot 1s ease-in-out infinite;
}
.typing span:nth-child(2) {
	animation-delay: 0.15s;
}
.typing span:nth-child(3) {
	animation-delay: 0.3s;
}
@keyframes dot {
	0%,
	80%,
	100% {
		opacity: 0.25;
		transform: translateY(0);
	}
	40% {
		opacity: 1;
		transform: translateY(-4px);
	}
}
.chat-compose {
	display: flex;
	gap: 10px;
	align-items: center;
	border-top: 1px solid var(--night-line);
	padding-top: 14px;
}
.chat-draft {
	flex: 1;
	min-width: 0;
	background: var(--night-2);
	border: 1px solid var(--night-line);
	border-radius: 18px;
	padding: 13px 15px;
	font-size: 15px;
	line-height: 1.4;
	color: var(--night-ink);
}
.chat-draft.is-muted {
	color: #868a73;
}
.chat-send {
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	border: 0;
	background: var(--amber);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition:
		background 0.2s,
		transform 0.2s;
}
.chat-send:hover {
	transform: scale(1.06);
}
.chat-send:disabled {
	background: var(--night-line);
	cursor: default;
	transform: none;
}
.chat-send:focus-visible {
	outline-color: var(--night-ink);
}

/* ---------- Setup ---------- */
.setup {
	position: relative;
	overflow: hidden;
	background: var(--sand);
	border-radius: var(--radius-xl);
	padding: clamp(24px, 4.5vw, 64px);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}
#how {
	scroll-margin-top: 96px;
}
.setup-hint {
	margin: 16px 0 0;
	color: var(--muted);
	font-size: 17px;
}
.setup-steps {
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.setup-step {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 4px 16px;
	align-items: start;
	padding: 16px 18px;
	border-radius: 20px;
	border: 1px solid transparent;
	color: var(--muted-2);
	transition:
		background 0.4s,
		color 0.4s,
		transform 0.4s,
		border-color 0.4s;
}
.setup-step.is-lit {
	background: var(--card);
	color: var(--ink);
	border-color: var(--line);
	transform: translateX(6px);
}
.setup-num {
	grid-row: span 2;
	font-family: var(--serif);
	font-size: 34px;
	line-height: 1;
	color: #b5ad96;
	transition: color 0.4s;
}
.setup-step.is-lit .setup-num {
	color: var(--olive);
}
.setup-title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	font-weight: 700;
	font-size: 20px;
	line-height: 1.3;
}
.setup-tag {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--amber-soft);
	color: var(--amber-deep);
}
.setup-size {
	display: none;
}
.setup-step[data-needs="false"] .setup-tag {
	background: var(--leaf);
	color: var(--ink);
}
.setup-desc {
	font-size: 16px;
	line-height: 1.5;
	opacity: 0.85;
}
.setup-demo {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
}
.switch {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	cursor: pointer;
	background: var(--card);
	border: 1px solid rgba(24, 26, 17, 0.12);
	border-radius: 999px;
	padding: 8px 20px 8px 8px;
	box-shadow: 0 10px 30px -14px rgba(24, 26, 17, 0.35);
}
.switch-track {
	position: relative;
	width: 64px;
	height: 36px;
	border-radius: 999px;
	background: #b5ad96;
	transition: background 0.3s;
}
.switch-knob {
	position: absolute;
	top: 4px;
	left: 4px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--card);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
	transition: left 0.3s var(--ease);
}
.switch[aria-checked="true"] .switch-track {
	background: var(--olive);
}
.switch[aria-checked="true"] .switch-knob {
	left: 32px;
}
.switch-label {
	font-weight: 700;
	font-size: 17px;
	color: var(--ink);
}
.setup-phone {
	width: min(100%, 280px);
	border-radius: 38px;
	padding: 9px;
	background: var(--night-2);
	box-shadow: 0 40px 70px -30px rgba(31, 26, 14, 0.6);
}
.setup-phone .phone-screen {
	border-radius: 30px;
}
.setup-phone img {
	transition: filter 0.4s;
}
.setup.is-online .setup-phone img {
	filter: saturate(0.6) brightness(0.85);
}
.setup-badge {
	position: absolute;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%);
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	padding: 9px 14px;
	border-radius: 999px;
	background: var(--leaf);
	color: var(--ink);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
	transition: background 0.3s;
}
.setup.is-online .setup-badge {
	background: var(--amber-soft);
}
.phones-note {
	margin-top: 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	align-items: center;
	border: 1px solid #ddd5bf;
	border-radius: 24px;
	padding: 18px 24px;
}
.phones-note p {
	margin: 0;
	flex: 1 1 28em;
	color: var(--ink-2);
	font-size: 17px;
	text-wrap: pretty;
}
.phones-note strong {
	color: var(--ink);
}

/* ---------- Who it's for ---------- */
.who-title {
	margin-bottom: clamp(28px, 4vw, 48px);
	max-width: 14ch;
}
.who-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 18px;
}
.who-card {
	position: relative;
	overflow: hidden;
	border-radius: 32px;
	padding: 30px;
	display: flex;
	flex-direction: column;
}
/* Scoped to .who-grid so these outrank the reveal rule (.rv-ready [data-rv].is-in) in base.css,
   which would otherwise reset the transform and transition on every card. */
.who-grid .who-card {
	transition:
		opacity 0.9s var(--ease),
		transform 0.35s var(--ease);
}
.who-grid .who-card:hover {
	transform: translateY(-8px) rotate(-0.6deg);
}
.who-grid .who-card.leaf:hover {
	transform: translateY(-8px) rotate(0.6deg);
}
.who-card.amber {
	background: var(--amber);
	color: var(--ink);
}
.who-card.leaf {
	background: var(--leaf);
	color: var(--ink);
}
.who-card.moss {
	background: var(--olive-deep);
	color: var(--bg);
}
.who-label {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.who-card h3 {
	margin: 10px 0 0;
	font-family: var(--serif);
	font-weight: 400;
	font-size: 34px;
	line-height: 1.05;
	letter-spacing: -0.02em;
	max-width: 10ch;
}
.who-text {
	margin: 12px 0 0;
	font-size: 16px;
	max-width: 15em;
}
.who-card.moss .who-label,
.who-card.moss .who-text {
	color: #e2d9bf;
}
.who-art {
	margin: auto -30px -30px;
	padding-top: 24px;
}
.who-art img {
	width: 100%;
	height: auto;
}

/* ---------- Schools ---------- */
#schools,
#faq,
#join {
	scroll-margin-top: 96px;
}
.schools {
	position: relative;
	overflow: hidden;
	background: var(--brown);
	color: var(--bg);
	border-radius: var(--radius-xl);
	padding: clamp(30px, 6vw, 88px);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
	gap: 28px 64px;
	align-items: end;
}
.schools-glow {
	position: absolute;
	left: -15%;
	bottom: -60%;
	width: 70%;
	height: 140%;
	border-radius: 50%;
	background: #b87a16;
	filter: blur(100px);
	opacity: 0.35;
	pointer-events: none;
	animation: drift 20s ease-in-out infinite alternate;
}
.schools-crown {
	position: absolute;
	right: clamp(16px, 4vw, 56px);
	top: clamp(16px, 3vw, 40px);
	width: clamp(72px, 9vw, 128px);
	height: auto;
	transform: rotate(14deg);
	filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.4));
}
.schools-col {
	position: relative;
}
.schools .eyebrow {
	margin-bottom: 16px;
	font-size: 14px;
	letter-spacing: 0.1em;
}
.schools-title {
	margin: 0;
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(40px, 6vw, 84px);
	line-height: 0.98;
	letter-spacing: -0.03em;
	max-width: 10ch;
}
.schools-text {
	margin: 0 0 24px;
	max-width: 30em;
	color: var(--brown-muted);
	text-wrap: pretty;
}
.btn-pilot {
	--fill: var(--bg);
	--fill-ink: var(--ink);
	--arrow-h: var(--amber);
	padding: 8px 8px 8px 24px;
}
.btn-pilot:focus-visible {
	outline-color: var(--bg);
}

/* ---------- FAQ ---------- */
.faq {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: 24px 64px;
	align-items: start;
}
.faq-brain {
	margin-top: 24px;
	transform: rotate(-8deg);
}
.faq-list {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.faq-item {
	border: 1px solid var(--line);
	border-radius: 22px;
	transition: background 0.3s;
}
.faq-item.is-open {
	background: var(--card);
}
.faq-item h3 {
	margin: 0;
}
.faq-item button {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	text-align: left;
	background: transparent;
	border: 0;
	color: var(--ink);
	cursor: pointer;
	padding: 18px 18px 18px 22px;
	font-size: 19px;
	font-weight: 600;
	border-radius: 22px;
}
.faq-icon {
	flex: none;
	display: inline-flex;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	background: var(--sand);
	transition:
		transform 0.35s var(--ease),
		background 0.3s;
}
.faq-item.is-open .faq-icon {
	background: var(--amber);
	transform: rotate(45deg);
}
.faq-panel {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.35s var(--ease);
}
.faq-item.is-open .faq-panel {
	grid-template-rows: 1fr;
}
.faq-panel > div {
	overflow: hidden;
}
.faq-panel p {
	margin: 0 22px 20px;
	color: var(--ink-2);
	font-size: 17px;
	max-width: 36em;
	text-wrap: pretty;
}

/* ---------- Join + form ---------- */
.join-section {
	padding-bottom: clamp(80px, 11vw, 140px);
}
.join {
	position: relative;
	overflow: hidden;
	background: var(--amber);
	color: var(--ink);
	border-radius: var(--radius-xl);
	padding: clamp(28px, 5.5vw, 80px);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
	gap: 36px 64px;
	align-items: center;
}
.join-rays {
	position: absolute;
	right: -30%;
	top: -60%;
	width: 110%;
	aspect-ratio: 1;
	border-radius: 50%;
	pointer-events: none;
	background: repeating-conic-gradient(from 0deg, rgba(251, 249, 242, 0.16) 0deg 6deg, transparent 6deg 18deg);
	-webkit-mask-image: radial-gradient(circle, #000 20%, transparent 68%);
	mask-image: radial-gradient(circle, #000 20%, transparent 68%);
	animation: spin 90s linear infinite;
}
.join-copy {
	position: relative;
}
.join-star {
	margin-bottom: 16px;
	transform: rotate(-12deg);
}
.join-title {
	margin: 0;
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(40px, 6vw, 84px);
	line-height: 0.98;
	letter-spacing: -0.03em;
	text-wrap: balance;
}
.join-text {
	margin: 18px 0 0;
	max-width: 26em;
	font-size: 18px;
	text-wrap: pretty;
}

.join-form {
	position: relative;
	background: var(--card);
	border-radius: 28px;
	padding: clamp(20px, 2.6vw, 28px);
	display: flex;
	flex-direction: column;
	gap: 14px;
	box-shadow: 0 30px 60px -30px rgba(31, 26, 14, 0.6);
}
.roles {
	border: 0;
	margin: 0;
	padding: 0;
}
.roles legend,
.field label {
	font-weight: 700;
	font-size: 16px;
	padding: 0;
}
.roles legend {
	margin-bottom: 8px;
	font-size: 14px;
	color: var(--muted);
}
.role-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.role {
	position: relative;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	border-radius: 999px;
	padding: 7px 14px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
	border: 1.5px solid var(--line-strong);
	transition:
		background 0.2s,
		color 0.2s,
		border-color 0.2s;
}
.role input {
	position: absolute;
	inset: 0;
	opacity: 0;
	margin: 0;
	cursor: pointer;
}
.role:has(input:checked) {
	background: var(--ink);
	color: var(--bg);
	border-color: var(--ink);
}
.role:has(input:focus-visible) {
	outline: 3px solid var(--olive);
	outline-offset: 2px;
}
.field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.join-form input[type="email"],
.join-form textarea {
	font: inherit;
	color: var(--ink);
	background: #ffffff;
	border: 1.5px solid var(--line-strong);
	border-radius: 16px;
}
.join-form input[type="email"] {
	font-size: 17px;
	padding: 12px 16px;
}
.join-form textarea {
	font-size: 17px;
	line-height: 1.5;
	padding: 12px 16px;
	resize: vertical;
	min-height: 96px;
	max-height: 280px;
}
.join-form input:focus-visible,
.join-form textarea:focus-visible {
	outline: 3px solid var(--olive);
	outline-offset: 1px;
	border-color: var(--olive);
	border-radius: 16px;
}
.optional {
	font-weight: 500;
	color: var(--muted-2);
}
.msg-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 600;
	color: var(--olive-deep);
	background: transparent;
	border: 0;
	padding: 4px 0;
	cursor: pointer;
}
.msg-toggle:hover {
	color: var(--ink);
}
.msg-plus {
	display: inline-flex;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--sand);
	align-items: center;
	justify-content: center;
}
.field-msg.is-open .msg-toggle {
	display: none;
}
.msg-wrap {
	display: grid;
	grid-template-rows: 0fr;
	visibility: hidden;
	transition:
		grid-template-rows 0.4s var(--ease),
		visibility 0.4s;
}
.field-msg.is-open .msg-wrap {
	grid-template-rows: 1fr;
	visibility: visible;
}
.msg-wrap > div {
	overflow: hidden;
	min-height: 0;
	padding: 2px 3px 3px;
}
.msg-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}
.msg-count {
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	color: var(--muted-2);
}
.msg-count.is-near {
	color: var(--wrong);
}
.btn-submit {
	--fill: var(--olive);
	--fill-ink: var(--bg);
	--arrow-h: var(--bg);
	justify-content: space-between;
	padding: 8px 8px 8px 26px;
}
.btn-submit:focus-visible {
	outline-color: var(--olive);
}
.form-notes {
	font-size: 13px;
	line-height: 1.5;
	color: var(--muted);
}
.form-notes p {
	margin: 0;
}
.form-status {
	font-size: 16px;
	font-weight: 700;
	color: var(--ink);
}
.form-status:not(:empty) {
	padding-top: 10px;
}
.form-status.is-sent {
	color: var(--teal);
}
.form-status.is-error {
	color: var(--wrong);
}
.config-note {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--amber-deep);
	background: var(--amber-soft);
	padding: 10px 14px;
	border-radius: 14px;
}
.config-note code {
	font-size: 13px;
}

/* ---------- Phones and small tablets: kept last so these win the cascade ----------
   Spacing comes from the phone tokens in base.css (--gutter, --m-section, --m-card, --m-stack). */
@media (max-width: 720px) {
	.floaters {
		display: none;
	}
	.section {
		padding-top: var(--m-section);
	}

	/* Hero */
	.hero {
		padding-top: 128px;
	}
	.hero-badge {
		max-width: 22rem;
		margin-bottom: 28px;
		font-size: 13px;
		line-height: 1.35;
		text-align: left;
	}
	.hero-title {
		font-size: clamp(40px, 11vw, 48px);
		line-height: 1.06;
	}
	.hero-lead {
		margin-top: 24px;
		font-size: 17px;
		line-height: 1.55;
		max-width: 22em;
	}
	.hero-actions {
		flex-direction: column;
		align-items: center;
		gap: 14px;
		margin-top: 36px;
	}
	.hero-actions .btn {
		width: 100%;
		max-width: 340px;
		justify-content: center;
	}
	.hero-actions .btn-watch {
		padding-right: 26px;
	}
	/* Nearly edge to edge: only 8px of page shows either side of the video. */
	.demo {
		margin: 48px calc(8px - var(--gutter)) 0;
	}
	.demo-card {
		aspect-ratio: 9 / 16;
		min-height: 0;
		border-radius: 20px;
	}

	/* Feature strip: one item per row, hairlines between */
	.features {
		margin-top: 72px;
	}
	.feature-list {
		padding: 8px 4px;
		gap: 0;
		border-radius: 28px;
	}
	.feature-list li {
		padding: 24px 20px;
		align-items: center;
		gap: var(--m-stack);
	}
	.feature-list li + li {
		border-top: 1px solid rgba(246, 242, 231, 0.08);
	}
	.feature-list img {
		width: 52px;
		height: 52px;
	}
	.feature-title {
		font-size: 22px;
	}
	.feature-text {
		margin-top: 6px;
		font-size: 15px;
		line-height: 1.55;
	}

	.marquee {
		margin-top: 88px;
		padding: 12px 0;
	}

	/* Section heads */
	.section-head,
	.who-title {
		margin-bottom: 36px;
	}
	.section-head.split {
		gap: 16px;
	}
	.section-note {
		font-size: 16px;
		line-height: 1.6;
	}

	/* Stepper: the four steps become a row of progress bars with only the active step's text below,
	   and the phone is cropped by the bottom of the card, so the whole block fits about one screen. */
	.stepper {
		padding: var(--m-card);
		padding-bottom: 0;
		gap: 28px;
		border-radius: 28px;
	}
	.stepper-top {
		margin-bottom: 16px;
	}
	.step-list {
		position: relative;
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 8px;
		/* Room for the active step's title and text, which sit absolutely below the bars. */
		padding-bottom: 156px;
	}
	.step {
		grid-template-columns: 1fr;
		gap: 0;
		padding: 12px 0;
	}
	.step-bar {
		height: 4px;
		border-radius: 4px;
	}
	.step-fill {
		width: 0;
		height: 100%;
	}
	.step.is-past .step-fill {
		width: 100%;
	}
	.step.is-active .step-fill {
		animation-name: fill-w;
	}
	.step-body {
		display: none;
	}
	.step.is-active .step-body {
		display: block;
		position: absolute;
		left: 0;
		right: 0;
		top: 40px;
		padding: 0;
		animation: rise 0.4s var(--ease) both;
	}
	.step-title {
		font-size: 24px;
	}
	.step-desc > span > span {
		font-size: 16px;
	}
	.stepper-phone-wrap {
		height: 340px;
		overflow: hidden;
		align-items: flex-start;
	}
	.stepper-phone {
		width: min(80%, 260px);
		border-radius: 34px;
		padding: 8px;
		transform: none;
	}
	.stepper-phone .phone-screen {
		border-radius: 27px;
	}

	/* Replay chat */
	.replay-grid {
		gap: 36px;
	}
	.replay-bulb {
		width: 64px;
		height: 64px;
	}
	.replay-text {
		margin-top: 16px;
		font-size: 17px;
		line-height: 1.6;
	}
	.chat {
		border-radius: 28px;
		padding: 20px 16px;
	}
	.chat-log {
		min-height: 260px;
		gap: 14px;
		padding: 20px 4px;
	}
	.msg {
		font-size: 15px;
		max-width: 92%;
	}
	.chat-head {
		gap: 10px;
	}
	.chat-who {
		gap: 10px;
	}
	.chat-who img {
		width: 32px;
		height: 32px;
	}
	.chat-topic {
		font-size: 15px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.chat-meta {
		font-size: 12px;
	}
	.chat-reset {
		width: 38px;
		height: 38px;
		padding: 0;
		justify-content: center;
	}
	.chat-reset-label {
		display: none;
	}

	/* Setup: switch first, then one compact row per step. The phone screenshot and step
	   descriptions are left out on phones; step 2 keeps its download size as a small label. */
	.setup {
		display: flex;
		flex-direction: column;
		gap: 0;
		padding: var(--m-card);
		border-radius: 28px;
	}
	.setup > div:first-child {
		display: contents;
	}
	.setup-hint {
		margin-top: 10px;
		font-size: 15px;
	}
	.setup-demo {
		order: 1;
		margin-top: 20px;
		align-items: flex-start;
	}
	.setup-steps {
		order: 2;
		margin-top: 16px;
		gap: 6px;
	}
	.setup-phone,
	.setup-desc {
		display: none;
	}
	.setup-step {
		grid-template-columns: 22px 1fr;
		align-items: center;
		padding: 12px 14px;
		gap: 12px;
		border-radius: 16px;
	}
	.setup-step.is-lit {
		transform: none;
	}
	.setup-num {
		grid-row: auto;
		font-size: 22px;
	}
	.setup-title {
		font-size: 15px;
		gap: 4px 8px;
	}
	.setup-size {
		display: inline;
		font-size: 12px;
		font-weight: 600;
		color: var(--muted);
	}
	.setup-tag {
		font-size: 11px;
		padding: 2px 8px;
	}
	.switch {
		padding: 6px 16px 6px 6px;
		gap: 10px;
	}
	.switch-track {
		width: 52px;
		height: 30px;
	}
	.switch-knob {
		width: 22px;
		height: 22px;
	}
	.switch[aria-checked="true"] .switch-knob {
		left: 26px;
	}
	.switch-label {
		font-size: 14px;
	}
	.phones-note {
		margin-top: 20px;
		padding: 16px 18px;
		gap: 12px;
		align-items: flex-start;
	}
	.phones-note img {
		width: 32px;
		height: 32px;
	}
	.phones-note p {
		font-size: 15px;
		line-height: 1.55;
	}

	/* Audience cards */
	.who-grid {
		gap: 24px;
	}
	.who-card {
		padding: 32px 24px;
		border-radius: 28px;
	}
	.who-card h3 {
		margin-top: 12px;
		font-size: 30px;
	}
	.who-text {
		margin-top: 14px;
	}
	.who-art {
		margin: auto -24px -32px;
		padding-top: 28px;
	}

	/* Schools */
	.schools {
		padding: 32px 24px;
		border-radius: 28px;
		gap: 16px;
	}
	.schools .eyebrow {
		margin-bottom: 12px;
		font-size: 12px;
	}
	.schools-crown {
		width: 52px;
		right: 18px;
		top: 18px;
	}
	.schools-title {
		max-width: 11ch;
		font-size: 32px;
		line-height: 1.05;
	}
	.schools-text {
		margin-bottom: 24px;
		font-size: 15px;
		line-height: 1.6;
	}
	.btn-pilot {
		width: 100%;
		justify-content: space-between;
		font-size: 15px;
	}

	/* FAQ */
	.faq {
		gap: 32px;
	}
	.faq-brain {
		width: 64px;
		height: 64px;
		margin-top: 20px;
	}
	.faq-list {
		gap: 12px;
	}
	.faq-item button {
		font-size: 17px;
		padding: 18px 14px 18px 20px;
	}
	.faq-panel p {
		margin: 0 20px 20px;
		font-size: 16px;
		line-height: 1.6;
	}

	/* Join */
	.join-section {
		padding-bottom: var(--m-section);
	}
	.join {
		padding: 32px 20px 20px;
		gap: 24px;
		border-radius: 28px;
	}
	.join-star {
		width: 48px;
		height: 48px;
		margin-bottom: 12px;
	}
	.join-title {
		font-size: 34px;
		line-height: 1.02;
	}
	.join-text {
		margin-top: 12px;
		font-size: 15px;
		line-height: 1.55;
	}
	.join-form {
		padding: 20px 18px;
		border-radius: 22px;
		gap: 14px;
	}
	.role {
		padding: 6px 12px;
		font-size: 13px;
	}
	.role-list {
		gap: 6px;
	}
	.join-form input[type="email"] {
		font-size: 16px;
	}
	.msg-toggle {
		font-size: 14px;
	}
	.btn-submit {
		font-size: 16px;
	}
}
