/**
 * How it works + setup — sticky morph scroll section.
 */

.rf-morph {
	--rf-morph-purple: #a855f7;
	--rf-morph-purple-soft: #d8b4fe;
	--rf-morph-green: #25d366;
	--rf-morph-green-soft: #86efac;
	--rfp: 0;
	--side: 1;
	--compact: 1;
	--detail: 0;
	--step-width: 31%;
	--card-height: 340px;
	--card-compact-h: 340px;
	position: relative;
	overflow: visible;
	color: #fff;
}

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

.rf-morph-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
	background-size: 34px 34px;
	opacity: 0.38;
	mask-image: radial-gradient(circle at 50% 45%, black, transparent 76%);
}

.rf-morph-wrap {
	position: relative;
	z-index: 2;
	width: min(1180px, 100%);
	margin: 0 auto;
	padding: clamp(2.5rem, 5vw, 4.5rem) 20px 1.25rem;
}

.rf-morph-head {
	max-width: 880px;
}

.rf-morph-head > .rf-morph-kicker,
.rf-morph-head > h2,
.rf-morph-head > p {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.rf-morph.is-in-view .rf-morph-head > .rf-morph-kicker {
	opacity: 1;
	transform: none;
	transition-delay: 0.05s;
}

.rf-morph.is-in-view .rf-morph-head > h2 {
	opacity: 1;
	transform: none;
	transition-delay: 0.12s;
}

.rf-morph.is-in-view .rf-morph-head > p {
	opacity: 1;
	transform: none;
	transition-delay: 0.2s;
}

.rf-morph-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	padding: 8px 12px;
	margin-bottom: 16px;
	border-radius: 999px;
	color: var(--rf-morph-purple-soft);
	background: rgba(168, 85, 247, 0.14);
	border: 1px solid rgba(216, 180, 254, 0.18);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.rf-morph-kicker i,
.rf-morph-wizard-status i {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var(--rf-morph-green);
	box-shadow: 0 0 16px rgba(37, 211, 102, 0.9);
}

.rf-morph-head h2 {
	margin: 0;
	font-size: clamp(34px, 5.4vw, 68px);
	line-height: 0.95;
	letter-spacing: -0.06em;
}

.rf-morph-head p {
	max-width: 800px;
	margin: 16px 0 0;
	color: rgba(255, 255, 255, 0.66);
	font-size: 16px;
	line-height: 1.65;
}

.rf-morph-scroll {
	position: relative;
	z-index: 3;
}

/* Sticky pin only during morph; flow mode uses natural document height. */
.rf-morph-scroll.is-pin .rf-morph-pin {
	position: sticky;
	top: calc(var(--rf-header-h, 64px) + 12px);
	height: calc(100vh - var(--rf-header-h, 64px) - 24px);
	max-height: calc(100vh - var(--rf-header-h, 64px) - 24px);
	display: grid;
	place-items: center;
	padding: 12px 16px;
	box-sizing: border-box;
	overflow: hidden;
}

/* After morph: normal section flow — full wizard height, no fake scroll track. */
.rf-morph-scroll.is-settled {
	height: auto !important;
}

.rf-morph-scroll.is-settled .rf-morph-pin {
	position: relative;
	top: auto;
	height: auto;
	max-height: none;
	display: block;
	padding: 0 16px clamp(2.5rem, 5vw, 4rem);
	overflow: visible;
}

.rf-morph-stage {
	position: relative;
	width: min(1180px, 100%);
	height: 100%;
	max-height: 100%;
	margin: 0 auto;
}

.rf-morph-card {
	position: absolute;
	top: 50%;
	overflow: hidden;
	padding: 22px;
	border-radius: 30px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.07);
	transition: opacity 0.15s linear;
}

.rf-morph-card--one {
	left: 0;
	width: 31%;
	height: auto;
	max-height: min(420px, 88%);
	transform: translateY(-50%) translateX(calc(var(--rfp) * -40px)) scale(calc(0.94 + var(--side) * 0.06));
	opacity: var(--side);
	pointer-events: none;
}

.rf-morph-card--three {
	right: 0;
	width: 31%;
	height: auto;
	max-height: min(420px, 88%);
	transform: translateY(-50%) translateX(calc(var(--rfp) * 40px)) scale(calc(0.94 + var(--side) * 0.06));
	opacity: var(--side);
	pointer-events: none;
}

/* Step 2 — starts compact (matches cards 1 & 3), then grows width then height. */
.rf-morph-card--two {
	left: 50%;
	width: var(--step-width);
	height: var(--card-height, var(--card-compact-h));
	max-width: 100%;
	max-height: calc(100% - 8px);
	transform: translate(-50%, -50%);
	border-color: rgba(37, 211, 102, calc(0.1 + var(--detail) * 0.22));
	box-shadow:
		0 28px 100px rgba(37, 211, 102, calc(var(--detail) * 0.12)),
		0 24px 80px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
	z-index: 3;
}

.rf-morph-card--two::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(
		135deg,
		rgba(168, 85, 247, calc(0.1 + var(--detail) * 0.45)),
		rgba(37, 211, 102, calc(0.08 + var(--detail) * 0.4))
	);
	-webkit-mask:
		linear-gradient(#000 0 0) content-box,
		linear-gradient(#000 0 0);
	mask:
		linear-gradient(#000 0 0) content-box,
		linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.rf-morph-step-glow {
	position: absolute;
	inset: auto -20% -50% auto;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(37, 211, 102, 0.2), transparent 62%);
	opacity: var(--detail);
	pointer-events: none;
}

.rf-morph-compact {
	opacity: var(--compact);
	visibility: visible;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.rf-morph-compact[hidden],
.rf-morph.is-expanded .rf-morph-compact {
	opacity: 0;
	visibility: hidden;
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.rf-morph-expanded {
	position: absolute;
	inset: 22px;
	opacity: var(--detail);
	visibility: hidden;
	pointer-events: none;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.rf-morph.is-expanded .rf-morph-expanded {
	visibility: visible;
	pointer-events: auto;
}

.rf-morph.is-expanded .rf-morph-card--two {
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rf-morph.is-expanded .rf-morph-card--two::before {
	display: none;
}

.rf-morph-scroll.is-pin .rf-morph-card--two {
	overflow: hidden;
}

.rf-morph-scroll.is-settled .rf-morph-stage {
	height: auto;
	max-height: none;
}

.rf-morph-scroll.is-settled .rf-morph-card--one,
.rf-morph-scroll.is-settled .rf-morph-card--three {
	display: none;
}

.rf-morph-scroll.is-settled .rf-morph-card--two {
	position: relative;
	left: auto;
	top: auto;
	width: 100%;
	max-width: min(1180px, 100%);
	margin: 0 auto;
	height: auto;
	max-height: none;
	transform: none;
	overflow: visible;
	padding: clamp(18px, 2.5vw, 26px);
	animation: rfMorphSettle 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
	contain: layout style;
}

.rf-morph-scroll.is-settled .rf-morph-card--two::before {
	display: none;
}

.rf-morph-scroll.is-settled .rf-morph-card {
	transition: none;
	will-change: auto;
}

.rf-morph-scroll.is-settled .rf-morph-wizard,
.rf-morph-scroll.is-settled .rf-morph-expanded-left,
.rf-morph-scroll.is-settled .rf-morph-expanded-right {
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.rf-morph-scroll.is-settled .rf-morph-wizard.is-viewport-glow,
.rf-morph-scroll.is-settled .rf-morph-wizard-top strong.is-viewport-glow {
	box-shadow: none;
	border-color: rgba(168, 85, 247, 0.2);
}

.rf-morph.is-expanded .rf-morph-scroll {
	contain: layout style;
}

.rf-morph-scroll.is-settled .rf-morph-expanded {
	position: relative;
	inset: auto;
	opacity: 1;
	max-height: none;
	overflow: visible;
	display: block;
}

.rf-morph-scroll.is-settled .rf-morph-scroll-cue {
	display: none;
}

@keyframes rfMorphSettle {
	from {
		opacity: 0.94;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rf-morph-scroll.is-settled .rf-morph-card--two {
		animation: none;
	}
}

.rf-morph.is-measuring .rf-morph-pin {
	height: auto;
	max-height: none;
	overflow: visible;
}

.rf-morph.is-measuring .rf-morph-stage {
	height: auto;
}

.rf-morph.is-measuring .rf-morph-card--two {
	position: relative;
	left: auto;
	top: auto;
	width: 100%;
	max-height: none;
	min-height: 0;
	height: auto;
	transform: none;
	display: block;
}

.rf-morph.is-measuring .rf-morph-compact {
	display: none;
}

.rf-morph.is-measuring .rf-morph-expanded {
	opacity: 1;
	overflow: visible;
	display: block;
}

.rf-morph-step-num {
	position: absolute;
	top: 18px;
	right: 18px;
	color: rgba(255, 255, 255, 0.18);
	font-size: 34px;
	font-weight: 950;
	letter-spacing: -0.06em;
}

.rf-morph-icon {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	margin-bottom: 24px;
	border-radius: 20px;
	background: rgba(168, 85, 247, 0.16);
	border: 1px solid rgba(216, 180, 254, 0.18);
	box-shadow: 0 0 30px rgba(168, 85, 247, 0.12);
}

.rf-morph-icon span {
	font-size: 22px;
	color: var(--rf-morph-purple-soft);
}

.rf-morph-card h3 {
	margin: 0 0 12px;
	font-size: clamp(22px, 2.6vw, 30px);
	line-height: 1;
	letter-spacing: -0.05em;
}

.rf-morph-card > .rf-morph-compact > p,
.rf-morph-card--one > p,
.rf-morph-card--three > p {
	margin: 0;
	color: rgba(255, 255, 255, 0.62);
	font-size: 13px;
	line-height: 1.6;
}

.rf-morph-tags,
.rf-morph-pills,
.rf-morph-generated {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 20px;
}

.rf-morph-tags span,
.rf-morph-pills span {
	padding: 7px 9px;
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.74);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 11px;
	font-weight: 850;
}

.rf-morph-mini {
	display: grid;
	gap: 10px;
	margin-top: 20px;
	padding: 12px;
	border-radius: 20px;
	background: rgba(10, 4, 18, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.rf-morph-mini small {
	display: block;
	margin-bottom: 5px;
	color: rgba(255, 255, 255, 0.44);
	font-size: 10px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.rf-morph-mini strong {
	color: rgba(255, 255, 255, 0.84);
	font-size: 12px;
	line-height: 1.4;
}

.rf-morph-mini-arrow {
	color: var(--rf-morph-green-soft);
	font-weight: 950;
	text-align: center;
}

.rf-morph-scroll-cue {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	color: rgba(255, 255, 255, 0.55);
	font-size: 12px;
	font-weight: 850;
}

.rf-morph-scroll-cue b {
	color: var(--rf-morph-green-soft);
	animation: rfMorphBounce 1.3s ease-in-out infinite;
}

@keyframes rfMorphBounce {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(5px);
	}
}

.rf-morph-qr {
	display: grid;
	grid-template-columns: 86px 1fr;
	gap: 14px;
	align-items: center;
	margin-top: 20px;
	padding: 13px;
	border-radius: 18px;
	background: rgba(37, 211, 102, 0.08);
	border: 1px solid rgba(37, 211, 102, 0.14);
}

.rf-morph-qr-box {
	display: grid;
	grid-template-columns: repeat(4, 10px);
	gap: 5px;
	width: 74px;
	height: 74px;
	padding: 12px;
	border-radius: 16px;
	background: #f4eee6;
}

.rf-morph-qr-box span {
	width: 10px;
	height: 10px;
	border-radius: 3px;
	background: #171717;
}

.rf-morph-qr-box span:nth-child(3),
.rf-morph-qr-box span:nth-child(5),
.rf-morph-qr-box span:nth-child(10),
.rf-morph-qr-box span:nth-child(12),
.rf-morph-qr-box span:nth-child(14) {
	opacity: 0.22;
}

.rf-morph-qr strong {
	display: block;
	margin-bottom: 4px;
	color: var(--rf-morph-green-soft);
	font-size: 13px;
}

.rf-morph-qr small {
	display: block;
	color: rgba(255, 255, 255, 0.56);
	font-size: 11px;
	font-weight: 800;
}

.rf-morph-expanded-head {
	max-width: 860px;
	margin-bottom: 18px;
}

.rf-morph-expanded-head h2 {
	margin: 0;
	font-size: clamp(28px, 4vw, 52px);
	line-height: 0.95;
	letter-spacing: -0.06em;
}

.rf-morph-expanded-head p {
	max-width: 780px;
	margin: 14px 0 0;
	color: rgba(255, 255, 255, 0.64);
	font-size: 14px;
	line-height: 1.6;
}

.rf-morph-expanded-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 14px;
	align-items: start;
}

.rf-morph-expanded-left,
.rf-morph-wizard {
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(255, 255, 255, 0.08);
	padding: 16px;
}

.rf-morph-wizard.is-viewport-glow {
	border-color: rgba(168, 85, 247, 0.28);
	box-shadow: 0 0 24px rgba(168, 85, 247, 0.12);
}

.rf-morph-wizard-top strong {
	transition:
		font-size 0.45s ease,
		color 0.45s ease;
}

.rf-morph-wizard-top strong.is-viewport-glow {
	font-size: 15px;
	color: #f5f0ff;
}

.rf-morph-time {
	display: grid;
	grid-template-columns: 84px 1fr;
	gap: 14px;
	align-items: center;
	padding: 14px 16px;
	margin-bottom: 12px;
	border-radius: 22px;
	background: rgba(37, 211, 102, 0.08);
	border: 1px solid rgba(37, 211, 102, 0.14);
}

@media (min-width: 981px) {
	.rf-morph-time {
		grid-template-columns: 80px 1fr;
		align-items: center;
	}

	.rf-morph-time > div:last-child {
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
}

.rf-morph-time-ring {
	position: relative;
	width: 74px;
	height: 74px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: conic-gradient(var(--rf-morph-green) 0 82%, rgba(255, 255, 255, 0.1) 82% 100%);
}

.rf-morph-time-ring::after {
	content: "";
	position: absolute;
	inset: 7px;
	border-radius: 50%;
	background: #10001d;
}

.rf-morph-time-ring span,
.rf-morph-time-ring small {
	position: relative;
	z-index: 2;
	line-height: 1;
}

.rf-morph-time-ring span {
	font-size: 25px;
	font-weight: 950;
	letter-spacing: -0.06em;
	line-height: 1;
}

.rf-morph-time-ring small {
	margin: 0;
	color: rgba(255, 255, 255, 0.55);
	font-size: 9px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.rf-morph-time strong,
.rf-morph-points strong,
.rf-morph-import strong,
.rf-morph-agent strong {
	display: block;
	margin-bottom: 5px;
	font-size: 14px;
}

.rf-morph-time p,
.rf-morph-points p,
.rf-morph-import p,
.rf-morph-agent p,
.rf-morph-toggle p {
	margin: 0;
	color: rgba(255, 255, 255, 0.6);
	font-size: 12px;
	line-height: 1.45;
}

.rf-morph-points {
	display: grid;
	gap: 9px;
}

.rf-morph-points article {
	display: grid;
	grid-template-columns: 38px 1fr;
	gap: 10px;
	padding: 11px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.055);
	border: 1px solid rgba(255, 255, 255, 0.07);
}

.rf-morph-points b {
	display: grid;
	place-items: center;
	width: 31px;
	height: 31px;
	border-radius: 12px;
	color: var(--rf-morph-purple-soft);
	background: rgba(168, 85, 247, 0.16);
	font-size: 11px;
}

.rf-morph-import,
.rf-morph-wizard-q,
.rf-morph-wizard-input,
.rf-morph-wizard-output,
.rf-morph-agent,
.rf-morph-automations {
	padding: 12px;
	border-radius: 18px;
	background: rgba(10, 4, 18, 0.54);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.rf-morph-import {
	margin-top: 10px;
}

.rf-morph-card-head {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.rf-morph-card-head span {
	font-size: 12px;
	font-weight: 900;
}

.rf-morph-card-head small {
	color: var(--rf-morph-green-soft);
	font-size: 10px;
	font-weight: 850;
}

.rf-morph-import-options {
	display: grid;
	gap: 8px;
	margin-bottom: 9px;
}

.rf-morph-import-options div {
	padding: 10px;
	border-radius: 15px;
	background: rgba(255, 255, 255, 0.055);
	border: 1px solid rgba(255, 255, 255, 0.07);
}

.rf-morph-wizard-top {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	align-items: center;
	margin-bottom: 12px;
}

.rf-morph-wizard-top strong {
	display: block;
	font-size: 14px;
}

.rf-morph-wizard-top > div > span {
	display: block;
	margin-top: 4px;
	color: rgba(255, 255, 255, 0.5);
	font-size: 11px;
	font-weight: 750;
}

.rf-morph-wizard-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	padding: 8px 10px;
	border-radius: 999px;
	color: var(--rf-morph-green-soft);
	background: rgba(37, 211, 102, 0.12);
	font-size: 11px;
	font-weight: 850;
}

.rf-morph-wizard-progress {
	height: 5px;
	margin-bottom: 12px;
	overflow: hidden;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.09);
}

.rf-morph-wizard-progress span {
	display: block;
	width: calc(40% + var(--detail) * 46%);
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--rf-morph-green), var(--rf-morph-purple));
	transition: width 0.15s linear;
}

.rf-morph-wizard-panel {
	display: grid;
	gap: 10px;
}

.rf-morph-wizard-q small,
.rf-morph-wizard-input small,
.rf-morph-agent small {
	display: block;
	margin-bottom: 6px;
	color: rgba(255, 255, 255, 0.44);
	font-size: 10px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.rf-morph-wizard-q strong {
	font-size: 16px;
	letter-spacing: -0.03em;
}

.rf-morph-example-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.rf-morph-example-tabs button {
	border: 1px solid rgba(255, 255, 255, 0.09);
	cursor: pointer;
	padding: 8px 10px;
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.66);
	background: rgba(255, 255, 255, 0.06);
	font: inherit;
	font-size: 11px;
	font-weight: 850;
}

.rf-morph-example-tabs button.active {
	color: #fff;
	background: rgba(37, 211, 102, 0.18);
	border-color: rgba(37, 211, 102, 0.24);
}

.rf-morph-wizard-input p {
	min-height: 38px;
	margin: 0;
	color: rgba(255, 255, 255, 0.84);
	font-size: 12px;
	line-height: 1.45;
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.rf-morph-generated span {
	padding: 7px 9px;
	border-radius: 999px;
	color: var(--rf-morph-purple-soft);
	background: rgba(168, 85, 247, 0.14);
	border: 1px solid rgba(216, 180, 254, 0.14);
	font-size: 10.5px;
	font-weight: 850;
}

.rf-morph-generated {
	margin-top: 0;
}

.rf-morph-agent {
	display: grid;
	grid-template-columns: 1fr 180px;
	gap: 12px;
	align-items: center;
}

.rf-morph-agent-preview {
	padding: 11px;
	border-radius: 16px;
	background: rgba(37, 211, 102, 0.1);
	border: 1px solid rgba(37, 211, 102, 0.14);
}

.rf-morph-agent-preview span {
	display: block;
	margin-bottom: 5px;
	color: rgba(255, 255, 255, 0.48);
	font-size: 10px;
	font-weight: 900;
	text-transform: uppercase;
}

.rf-morph-agent-preview strong {
	display: block;
	margin: 0 0 4px;
	color: var(--rf-morph-green-soft);
	font-size: 13px;
}

.rf-morph-agent-preview p {
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 10.5px;
	line-height: 1.35;
}

.rf-morph-toggle-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
}

.rf-morph-toggle {
	appearance: none;
	border: 1px solid rgba(255, 255, 255, 0.07);
	cursor: pointer;
	text-align: left;
	display: grid;
	grid-template-columns: 36px 1fr;
	gap: 9px;
	align-items: flex-start;
	padding: 9px;
	border-radius: 15px;
	background: rgba(255, 255, 255, 0.055);
	color: inherit;
	font-family: inherit;
}

.rf-morph-toggle > span {
	position: relative;
	width: 32px;
	height: 19px;
	margin-top: 1px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.rf-morph-toggle > span i {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 13px;
	height: 13px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.55);
	transition: left 0.28s ease, background 0.28s ease;
}

.rf-morph-toggle.is-on > span {
	background: rgba(37, 211, 102, 0.28);
}

.rf-morph-toggle.is-on > span i {
	left: 16px;
	background: var(--rf-morph-green);
	box-shadow: 0 0 14px rgba(37, 211, 102, 0.85);
}

.rf-morph-toggle strong {
	display: block;
	margin-bottom: 3px;
	font-size: 11.5px;
}

.rf-morph-toggle p {
	font-size: 10px;
	line-height: 1.3;
}

@media (max-width: 980px) {
	.rf-morph-wrap {
		padding-bottom: 16px;
	}

	.rf-morph-scroll {
		height: auto !important;
	}

	.rf-morph-scroll.is-settled .rf-morph-compact {
		display: none;
	}

	.rf-morph-scroll.is-settled .rf-morph-card--one,
	.rf-morph-scroll.is-settled .rf-morph-card--three {
		display: none;
	}

	.rf-morph-pin {
		position: relative;
		top: auto;
		height: auto;
		max-height: none;
		display: block;
		padding: 16px 20px 40px;
		overflow: visible;
	}

	.rf-morph-stage {
		height: auto;
		display: grid;
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.rf-morph-card,
	.rf-morph-card--one,
	.rf-morph-card--three,
	.rf-morph-card--two {
		position: relative;
		left: auto;
		right: auto;
		top: auto;
		width: 100%;
		max-height: none;
		min-height: auto;
		transform: none;
		opacity: 1;
		pointer-events: auto;
		display: block;
	}

	.rf-morph-compact {
		opacity: 1;
		max-height: none;
	}

	.rf-morph-expanded {
		opacity: 1;
		margin-top: 22px;
		pointer-events: auto;
		max-height: none;
		overflow: visible;
		display: block;
	}

	.rf-morph-expanded-grid {
		grid-template-columns: 1fr;
	}

	.rf-morph-scroll-cue {
		display: none;
	}
}

@media (max-width: 620px) {
	.rf-morph-wrap {
		padding: 2.5rem 16px 12px;
	}

	.rf-morph-pin {
		padding: 12px 16px 48px;
	}

	.rf-morph-card,
	.rf-morph-expanded-left,
	.rf-morph-wizard {
		border-radius: 24px;
		padding: 18px;
	}

	.rf-morph-card--two {
		border-radius: 26px;
	}

	.rf-morph-time {
		grid-template-columns: 72px 1fr;
		gap: 12px;
		padding: 12px;
	}

	.rf-morph-time-ring {
		width: 64px;
		height: 64px;
	}

	.rf-morph-time-ring span {
		font-size: 22px;
	}

	.rf-morph-time-ring small {
		margin: 0;
	}

	.rf-morph-expanded-head h2 {
		font-size: clamp(1.65rem, 8vw, 2rem);
		line-height: 1.05;
	}

	.rf-morph-expanded-left,
	.rf-morph-agent,
	.rf-morph-toggle-grid,
	.rf-morph-qr {
		grid-template-columns: 1fr;
	}

	.rf-morph-import-options {
		grid-template-columns: 1fr;
	}

	.rf-morph-points article {
		grid-template-columns: 34px 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rf-morph-wizard-top strong {
		transition: none;
	}

	.rf-morph-wizard.is-viewport-glow,
	.rf-morph-wizard-top strong.is-viewport-glow {
		box-shadow: none;
		font-size: inherit;
	}

	.rf-morph-scroll-cue b {
		animation: none;
	}

	.rf-morph *,
	.rf-morph *::before,
	.rf-morph *::after {
		animation: none !important;
		transition: none !important;
	}
}
