/**
 * Unitree Finance: CSS that Tailwind utilities can't express.
 *
 * The range slider's pseudo-elements, the logo entrance, the FAQ accordion's height transition, the motion
 * layer's hooks and keyframes, and reduced motion. Loaded after style.css (Tailwind), so keep these to rules
 * that no utility in the markup needs to override (the icon font's defaults live in
 * tailwind/custom/components/icons.css for that reason).
 */

/* WordPress's screen-reader text (skip links, Contact Form 7's response for screen readers). */
.screen-reader-text,
.wpcf7 .screen-reader-response {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Range slider: 8px track, teal fill (--fill, set by main.js), 28px ink thumb with a white ring. It takes 30px of
   the layout, but the negative margins give it a 44px-high touch target. */
.range-slider {
	--fill: 50%;
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 44px;
	margin: -7px 0;
	background: transparent;
	cursor: pointer;
}

.range-slider:focus {
	outline: none;
}

.range-slider::-webkit-slider-runnable-track {
	height: 8px;
	border-radius: 4px;
	background: linear-gradient(to right, #1dcaca 0 var(--fill), #e3e5f0 var(--fill) 100%);
}

.range-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 28px;
	height: 28px;
	margin-top: -10px;
	border-radius: 50%;
	border: 3px solid #fff;
	background: #1e1e53;
	box-shadow: 0 2px 6px rgb(30 30 83 / 0.28);
	transition:
		transform 0.18s cubic-bezier(0.2, 0.7, 0.2, 1),
		box-shadow 0.18s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.range-slider::-moz-range-track {
	height: 8px;
	border-radius: 4px;
	background: #e3e5f0;
}

.range-slider::-moz-range-progress {
	height: 8px;
	border-radius: 4px;
	background: #1dcaca;
}

.range-slider::-moz-range-thumb {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 3px solid #fff;
	background: #1e1e53;
	box-shadow: 0 2px 6px rgb(30 30 83 / 0.28);
	transition:
		transform 0.18s cubic-bezier(0.2, 0.7, 0.2, 1),
		box-shadow 0.18s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.range-slider:hover::-webkit-slider-thumb {
	transform: scale(1.2);
	box-shadow:
		0 0 0 7px rgb(29 202 202 / 0.25),
		0 2px 6px rgb(30 30 83 / 0.28);
}

.range-slider:hover::-moz-range-thumb {
	transform: scale(1.2);
	box-shadow:
		0 0 0 7px rgb(29 202 202 / 0.25),
		0 2px 6px rgb(30 30 83 / 0.28);
}

.range-slider:active::-webkit-slider-thumb {
	transform: scale(1.32);
	box-shadow:
		0 0 0 9px rgb(29 202 202 / 0.3),
		0 2px 6px rgb(30 30 83 / 0.28);
}

.range-slider:active::-moz-range-thumb {
	transform: scale(1.32);
	box-shadow:
		0 0 0 9px rgb(29 202 202 / 0.3),
		0 2px 6px rgb(30 30 83 / 0.28);
}

.range-slider:focus-visible::-webkit-slider-thumb {
	outline: 3px solid #4746c8;
	outline-offset: 2px;
}

.range-slider:focus-visible::-moz-range-thumb {
	outline: 3px solid #4746c8;
	outline-offset: 2px;
}

/* Logo entrance: the stem grows, the two leaves unfurl from it, the wordmark follows. Entrance only; it settles on
   the logo artwork. Hovering the header logo replays the icon's part (main.js). The Thank You page's icon
   (.uf-thanks-logo) plays the same entrance. */
.logo-animated [data-part] {
	transform-box: fill-box;
}

.logo-animated [data-part="stem"] {
	transform-origin: 50% 100%;
	animation: uf-logo-stem 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both;
}

.logo-animated [data-part="leaf-large"] {
	transform-origin: 0% 100%;
	animation: uf-logo-leaf 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}

.logo-animated [data-part="leaf-small"] {
	transform-origin: 100% 100%;
	animation: uf-logo-leaf 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.62s both;
}

.logo-animated :is([data-part="uni"], [data-part="tree"], [data-part="i-dot"], [data-part="tab"], [data-part="finance"]) {
	animation: uf-logo-word 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) 0.45s both;
}

@keyframes uf-logo-stem {
	from {
		transform: scaleY(0);
	}
}

@keyframes uf-logo-leaf {
	from {
		transform: scale(0);
	}
}

@keyframes uf-logo-word {
	from {
		opacity: 0;
		transform: translateX(-36px);
	}
}

/* The Thank You page's confirmation: the logo's icon in place of a tick (template-parts/flexible/thank-you.php). */
.uf-thanks-logo {
	width: auto;
	height: clamp(92px, 8vw, 124px);
	aspect-ratio: 304.633 / 400.696;
	overflow: visible;
}

/* FAQ accordion: animate <details> open and close where the browser supports ::details-content. */
@supports selector(::details-content) {
	[data-accordion] {
		interpolate-size: allow-keywords;
	}

	[data-accordion] details::details-content {
		block-size: 0;
		overflow: hidden;
		transition:
			block-size 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
			content-visibility 0.35s allow-discrete;
	}

	[data-accordion] details[open]::details-content {
		block-size: auto;
	}
}

/* The review walls' slider on phones (main.js, the About pages): Glide.js's core styles (glide.core.css, Glide.js
   v3.7.1, MIT License). */
.glide {
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

.glide * {
	box-sizing: inherit;
}

.glide__track {
	overflow: hidden;
}

.glide__slides {
	position: relative;
	width: 100%;
	list-style: none;
	backface-visibility: hidden;
	transform-style: preserve-3d;
	touch-action: pan-Y;
	overflow: hidden;
	margin: 0;
	padding: 0;
	white-space: nowrap;
	display: flex;
	flex-wrap: nowrap;
	will-change: transform;
}

.glide__slides--dragging {
	user-select: none;
}

.glide__slide {
	width: 100%;
	height: 100%;
	flex-shrink: 0;
	white-space: normal;
	user-select: none;
	-webkit-touch-callout: none;
	-webkit-tap-highlight-color: transparent;
}

.glide__slide a {
	user-select: none;
	-webkit-user-drag: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

.glide__arrows,
.glide__bullets {
	-webkit-touch-callout: none;
	user-select: none;
}

.glide--rtl {
	direction: rtl;
}

/* Motion layer (main.js). The script in <head> adds .uf-motion to <html> unless the visitor prefers reduced
   motion; without it nothing below applies and the page is fully static. */

/* Hero photo: a slow zoom-out from the first paint. The hero's text, buttons, trust figures and enquiry panel are
   visible and final from the first paint. */
.uf-motion [data-hero-photo] {
	animation: uf-hero-zoom 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes uf-hero-zoom {
	from {
		transform: scale(1.08);
	}
	to {
		transform: scale(1);
	}
}

/* Parallax photos are zoomed in so their edges never show while they drift. */
.uf-motion img[data-parallax-img] {
	scale: 1.15;
}

/* Scroll-linked motion. Browsers with scroll-driven animations run the leaves, panel grow and progress bar here,
   right from the first paint; elsewhere, and for the photos, main.js drives the same values through the custom
   properties in the fallback rules below. */
@supports (animation-timeline: view()) {
	.uf-motion :has(> [data-parallax-leaf]:not([data-parallax-js])) {
		view-timeline: --uf-leaf block;
		view-timeline-inset: 0px;
	}

	.uf-motion [data-parallax-leaf]:not([data-parallax-js]) {
		animation: uf-leaf-drift linear both;
		animation-timeline: --uf-leaf;
	}

	/* Dark panels grow from 92% between their top reaching the bottom of the viewport and 45% of the way up it. */
	.uf-motion [data-grow-panel] {
		animation: uf-panel-grow linear both;
		animation-timeline: view(block 0px);
		animation-range: cover 0px cover 55dvh;
	}

	/* Reading progress bar. */
	.uf-motion [data-scroll-progress] {
		animation: uf-progress linear both;
		animation-timeline: scroll(root block);
	}
}

@keyframes uf-leaf-drift {
	from {
		translate: 0 calc(var(--leaf-shift, 0px) / 2);
		rotate: calc(var(--leaf-turn, 0deg) / -2);
	}
	to {
		translate: 0 calc(var(--leaf-shift, 0px) / -2);
		rotate: calc(var(--leaf-turn, 0deg) / 2);
	}
}

@keyframes uf-panel-grow {
	from {
		scale: 0.92;
	}
	to {
		scale: 1;
	}
}

@keyframes uf-progress {
	from {
		transform: scaleX(0);
	}
	to {
		transform: scaleX(1);
	}
}

/* The full-screen enquiry form (template-parts/components/enquiry-popup.php) rises in and fades out. */
@keyframes uf-popup-in {
	from {
		opacity: 0;
		translate: 0 24px;
	}
}

@keyframes uf-popup-out {
	to {
		opacity: 0;
		translate: 0 16px;
	}
}

/* The page's reading-progress bar sits above everything, so it steps aside while the form is open. */
[data-enquiry-open] [data-scroll-progress] {
	visibility: hidden;
}

/* Signed in, the form starts below WordPress's toolbar (fixed from 601px; above that it scrolls with the page). */
@media (min-width: 601px) {
	.admin-bar [data-enquiry-dialog] {
		top: var(--wp-admin--admin-bar--height, 32px);
	}
}

/* reCAPTCHA v3's floating badge is left visible (bottom right). Every form also shows Google's notice (inc/cf7.php,
   aiims_recaptcha_notice()), so hiding the badge again (visibility: hidden) would still be allowed. */

/* Fallback (no scroll-driven animations): main.js sets these attributes and custom properties. */
.uf-motion [data-parallax] {
	translate: 0 var(--py, 0px);
	rotate: var(--pr, 0deg);
}

.uf-motion [data-grow] {
	scale: var(--grow, 1);
}

/* "Subscribe on YouTube" on the Videos page: YouTube red with the play mark, lifting a little on hover. */
a.uf-youtube-btn {
	border-color: #ff0000;
	background-color: #ff0000;
	color: #fff;
	box-shadow: 0 10px 24px -12px rgb(255 0 0 / 0.65);
}

a.uf-youtube-btn:hover,
a.uf-youtube-btn:focus-visible {
	border-color: #cc0000;
	background-color: #cc0000;
	color: #fff;
	box-shadow: 0 14px 28px -12px rgb(204 0 0 / 0.7);
	transform: translateY(-2px);
}

a.uf-youtube-btn > span {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.uf-youtube-mark {
	width: 26px;
	height: 19px;
	flex: none;
	color: #fff;
}

/* FAQ answers written over several lines (template-parts/flexible/faq.php): space between the paragraphs and lists,
   and lines starting "- " as a bulleted list with teal bullets. */
.uf-faq-answer > * + * {
	margin-top: 12px;
}

.uf-faq-answer ul {
	display: grid;
	gap: 6px;
	padding-left: 22px;
	list-style: disc;
}

.uf-faq-answer li::marker {
	color: #1dcaca;
}

@media (prefers-reduced-motion: reduce) {
	.logo-animated [data-part] {
		animation: none !important;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	/* A still grid of every logo. Cells shrink the widest logos, so phones keep two to a row at the full height. */
	[data-marquee-track] {
		animation: none;
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		width: auto;
		justify-items: center;
		gap: 28px 24px;
	}

	[data-marquee-track] img {
		max-width: 100%;
	}

	[data-marquee-track] [aria-hidden="true"] {
		display: none;
	}

	[data-marquee] {
		mask-image: none;
	}
}

/* "What we fund" (template-parts/components/fund-strip.php; BugHerd #84, #90): the label in its ink panel, then the
   items moving past on indigo, paused on hover. Without .uf-motion (reduced motion) they sit still and scroll
   sideways. On the Apply page it runs full width and square-cornered across the foot of the page (--band). */
.uf-fund {
	display: flex;
	min-height: 148px;
	overflow: hidden;
	border-radius: var(--radius-card, 22px);
	background: var(--color-indigo);
	color: #fff;
}

.uf-fund--home {
	grid-column: 1;
	margin-top: clamp(16px, 1.6vw, 24px);
}

.uf-fund--band {
	min-height: 168px;
	border-radius: 0;
}

.uf-fund__label {
	display: grid;
	flex: none;
	align-content: center;
	justify-items: start;
	gap: 16px;
	width: 196px;
	padding: 0 32px;
	background: var(--color-ink);
}

.uf-fund__label p {
	font-family: Gabarito, "Gabarito Fallback", "Hanken Grotesk", system-ui, sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--color-teal);
}

.uf-fund__leaf {
	width: 14px;
	height: 14px;
	color: var(--color-magenta);
}

.uf-fund__viewport {
	display: flex;
	flex: 1;
	min-width: 0;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.uf-fund__track {
	display: flex;
	flex: none;
	width: max-content;
}

/* The icons line up: every name has room for two lines, and a one-line name sits in the middle of it. */
.uf-fund__item {
	display: grid;
	flex: none;
	grid-template-rows: auto 2.6em;
	align-content: center;
	justify-items: center;
	gap: 12px;
	width: 172px;
	padding: 20px 12px;
	text-align: center;
}

.uf-fund__icon {
	width: 40px;
	height: 40px;
}

.uf-fund__accent {
	stroke: var(--color-teal);
}

.uf-fund__name {
	display: flex;
	align-items: center;
	max-width: 124px;
	text-wrap: balance;
	font-family: Gabarito, "Gabarito Fallback", "Hanken Grotesk", system-ui, sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

@keyframes uf-fund-lap {
	to {
		transform: translateX(-50%);
	}
}

.uf-motion .uf-fund__track {
	animation: uf-fund-lap var(--fund-lap, 30s) linear infinite;
}

.uf-fund:hover .uf-fund__track {
	animation-play-state: paused;
}

html:not(.uf-motion) .uf-fund__viewport {
	overflow-x: auto;
	scrollbar-width: none;
	mask-image: none;
}

html:not(.uf-motion) .uf-fund__item[aria-hidden="true"] {
	display: none;
}

@media (max-width: 1023px) {
	.uf-fund__label {
		width: 160px;
		padding: 0 24px;
	}

	.uf-fund__item {
		width: 148px;
	}

	.uf-fund__icon {
		width: 36px;
		height: 36px;
	}
}

@media (max-width: 639px) {
	.uf-fund {
		min-height: 116px;
		border-radius: 18px;
	}

	.uf-fund--band {
		border-radius: 0;
	}

	.uf-fund__label {
		gap: 10px;
		width: 104px;
		padding: 0 14px;
	}

	.uf-fund__label p {
		font-size: 12px;
		letter-spacing: 0.12em;
	}

	.uf-fund__leaf {
		width: 11px;
		height: 11px;
	}

	.uf-fund__item {
		gap: 9px;
		width: 120px;
		padding: 16px 8px;
	}

	.uf-fund__name {
		max-width: 104px;
	}

	.uf-fund__icon {
		width: 30px;
		height: 30px;
	}

	.uf-fund__name {
		font-size: 13px;
	}
}

/* The thank-you animation (BugHerd #102, #133; inc/thank-you.php, aiims_thanks_scene()): on the Thank you page and
   the application form's thank-you. Aditya's design: the page's lines draw and it folds away, a paper plane (SMIL in
   the SVG) flies the dotted trail to the phone, which buzzes; a tick pops with a burst of leaves, the notice drops in
   and the broker starts typing. About 4.5 seconds from --uf-ty-start, once; then the phone floats and the dots keep
   typing. The page's words rise in as it ends (.uf-ty-reveal). Less motion: the finished scene, no plane or page. */
.uf-ty-scene {
	--uf-ty-start: 0.3s;
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.uf-ty-scene :is(.uf-ty-doc, .uf-ty-phone, .uf-ty-ring, .uf-ty-tick-circle, .uf-ty-notice, .uf-ty-bubble, .uf-ty-bit) {
	transform-box: fill-box;
}

.uf-ty-doc {
	transform-origin: center;
	animation: uf-ty-fold 0.9s cubic-bezier(0.6, 0, 0.4, 1) calc(var(--uf-ty-start) + 0.5s) forwards;
}

.uf-ty-line {
	stroke-dasharray: 120;
	stroke-dashoffset: 120;
	animation: uf-ty-draw 0.5s ease-out var(--uf-ty-start) forwards;
}

.uf-ty-l2 {
	animation-delay: calc(var(--uf-ty-start) + 0.1s);
}

.uf-ty-l3 {
	animation-delay: calc(var(--uf-ty-start) + 0.2s);
}

.uf-ty-trail {
	stroke-dasharray: 1 14;
	stroke-linecap: round;
}

.uf-ty-trail-mask {
	stroke-dasharray: 900;
	stroke-dashoffset: 900;
	animation: uf-ty-draw 1.9s cubic-bezier(0.45, 0.05, 0.35, 1) calc(var(--uf-ty-start) + 1.25s) forwards;
}

.uf-ty-phone {
	transform-origin: center bottom;
	animation:
		uf-ty-phone-in 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--uf-ty-start) + 0.2s) both,
		uf-ty-buzz 0.45s ease-in-out calc(var(--uf-ty-start) + 3.15s);
}

.uf-ty-ring {
	transform-origin: center;
	opacity: 0;
	animation: uf-ty-ring 0.9s ease-out calc(var(--uf-ty-start) + 3.15s) forwards;
}

.uf-ty-ring-2 {
	animation-delay: calc(var(--uf-ty-start) + 3.35s);
}

.uf-ty-tick-circle {
	transform-origin: center;
	transform: scale(0);
	animation: uf-ty-pop 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) calc(var(--uf-ty-start) + 3.2s) forwards;
}

.uf-ty-tick {
	stroke-dasharray: 40;
	stroke-dashoffset: 40;
	animation: uf-ty-draw 0.35s ease-out calc(var(--uf-ty-start) + 3.5s) forwards;
}

.uf-ty-notice {
	transform-origin: center top;
	opacity: 0;
	animation: uf-ty-drop 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--uf-ty-start) + 3.45s) forwards;
}

.uf-ty-bubble {
	transform-origin: left bottom;
	opacity: 0;
	animation: uf-ty-drop 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--uf-ty-start) + 4.1s) forwards;
}

.uf-ty-dot {
	animation: uf-ty-typing 1.2s ease-in-out calc(var(--uf-ty-start) + 4.6s) infinite;
}

.uf-ty-d2 {
	animation-delay: calc(var(--uf-ty-start) + 4.8s);
}

.uf-ty-d3 {
	animation-delay: calc(var(--uf-ty-start) + 5s);
}

.uf-ty-bit {
	transform-origin: center;
	opacity: 0;
	animation: uf-ty-burst 1.1s cubic-bezier(0.15, 0.8, 0.3, 1) calc(var(--uf-ty-start) + 3.2s) forwards;
}

.uf-ty-float {
	animation: uf-ty-float 5s ease-in-out calc(var(--uf-ty-start) + 4.4s) infinite;
}

/* The words beside it rise in as it ends. */
.uf-ty-reveal {
	opacity: 0;
	transform: translateY(14px);
	animation: uf-ty-rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 3.9s forwards;
}

.uf-ty-r2 {
	animation-delay: 4.1s;
}

.uf-ty-r3 {
	animation-delay: 4.3s;
}

.uf-ty-r4 {
	animation-delay: 4.5s;
}

.uf-ty-r5 {
	animation-delay: 4.7s;
}

/* "In progress" in the Thank you page's "What happens next". */
.uf-ty-pulse {
	width: 8px;
	height: 8px;
	flex: none;
	border-radius: 50%;
	background: var(--color-violet);
	animation: uf-ty-pulse 1.6s ease-out infinite;
}

/* The Thank you page's canopy: four leaves grow in at the band's edges (two on phones). */
.uf-ty-canopy {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

.uf-ty-leaf {
	position: absolute;
	opacity: 0;
	border-radius: var(--r) 0 var(--r) 0;
	animation: uf-ty-grow 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0.3s) forwards;
}

.uf-ty-leaf-a {
	--r: 120px;
	top: 120px;
	left: -40px;
	width: 120px;
	height: 210px;
	background: var(--color-indigo);
}

.uf-ty-leaf-b {
	--r: 60px;
	--d: 0.45s;
	top: 250px;
	left: 92px;
	width: 60px;
	height: 96px;
	border-radius: 0 var(--r) 0 var(--r);
	background: var(--color-teal);
}

.uf-ty-leaf-c {
	--r: 150px;
	--d: 0.4s;
	top: -60px;
	right: -60px;
	width: 150px;
	height: 250px;
	background: var(--color-indigo);
}

.uf-ty-leaf-d {
	--r: 44px;
	--d: 0.6s;
	top: 150px;
	right: 110px;
	width: 44px;
	height: 70px;
	border-radius: 0 var(--r) 0 var(--r);
	background: var(--color-magenta);
}

@media (max-width: 1023px) {
	.uf-ty-leaf-b,
	.uf-ty-leaf-d {
		display: none;
	}

	.uf-ty-leaf-a {
		top: 40px;
	}
}

@keyframes uf-ty-fold {
	60% {
		transform: scale(0.55, 0.35) rotate(-8deg);
		opacity: 1;
	}

	100% {
		transform: scale(0.2, 0.12) rotate(-14deg);
		opacity: 0;
	}
}

@keyframes uf-ty-draw {
	to {
		stroke-dashoffset: 0;
	}
}

@keyframes uf-ty-phone-in {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
}

@keyframes uf-ty-buzz {
	20% {
		transform: rotate(-3deg);
	}

	40% {
		transform: rotate(3deg);
	}

	60% {
		transform: rotate(-2deg);
	}

	80% {
		transform: rotate(2deg);
	}
}

@keyframes uf-ty-ring {
	0% {
		opacity: 0.9;
		transform: scale(0.6);
	}

	100% {
		opacity: 0;
		transform: scale(1.6);
	}
}

@keyframes uf-ty-pop {
	to {
		transform: scale(1);
	}
}

@keyframes uf-ty-drop {
	from {
		opacity: 0;
		transform: translateY(-10px) scale(0.92);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes uf-ty-typing {
	0%,
	60%,
	100% {
		opacity: 0.35;
		transform: none;
	}

	30% {
		opacity: 1;
		transform: translateY(-3px);
	}
}

@keyframes uf-ty-burst {
	0% {
		opacity: 0;
		transform: translate(0, 0) scale(0.2);
	}

	15% {
		opacity: 1;
	}

	100% {
		opacity: 1;
		transform: translate(var(--x), var(--y)) scale(1);
	}
}

@keyframes uf-ty-float {
	50% {
		transform: translateY(-6px);
	}
}

@keyframes uf-ty-rise {
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes uf-ty-pulse {
	0% {
		box-shadow: 0 0 0 0 rgb(71 70 200 / 0.5);
	}

	100% {
		box-shadow: 0 0 0 9px rgb(71 70 200 / 0);
	}
}

@keyframes uf-ty-grow {
	from {
		opacity: 0;
		transform: scale(0.4);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.uf-ty-scene *,
	.uf-ty-reveal,
	.uf-ty-leaf {
		animation-delay: 0s !important;
	}

	.uf-ty-scene :is(.uf-ty-doc, .uf-ty-plane) {
		display: none;
	}

	.uf-ty-trail-mask {
		stroke-dashoffset: 0;
	}

	.uf-ty-dot,
	.uf-ty-float,
	.uf-ty-pulse {
		animation: none !important;
	}
}
