/**
 * Starter-site preview layout and motion.
 */
.at-homepage-starter {
	padding-top: var(--at-marketing-section-padding);
	text-align: center;
}

.at-homepage-starter__description {
	max-width: 640px;
	margin-inline: auto;
	text-wrap: balance;
}

.at-homepage-starter__stage {
	aspect-ratio: 2 / 1;
	margin-top: 56px;
	border-radius: 28px;
	background: var(--at-homepage-stage-background);
}

.at-homepage-starter__scene {
	position: absolute;
	inset: 0;
	container-type: inline-size;
}

.at-homepage-starter__scene::before {
	position: absolute;
	inset: 0;
	background: radial-gradient(45% 60% at 80% 10%, rgba(120, 155, 255, .75), transparent 70%), radial-gradient(50% 70% at 15% 25%, rgba(51, 94, 234, .85), transparent 72%), radial-gradient(60% 50% at 50% 100%, rgba(80, 120, 255, .7), transparent 70%), var(--at-homepage-stage-background);
	background-size: 150% 150%, 150% 150%, 150% 150%, 100% 100%;
	background-position: 0% 0%, 100% 0%, 50% 100%, 0 0;
	content: '';
}

.at-homepage-starter__scene::after {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 2.333333cqw 2.333333cqw;
	mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent);
	pointer-events: none;
	content: '';
}

.at-homepage-starter__badge {
	position: absolute;
	z-index: 8;
	inset: 24px auto auto 24px;
	padding: 5px 12px;
	border: 1px solid rgba(255, 255, 255, .24);
	border-radius: var(--at-marketing-radius-full);
	background: var(--at-homepage-stage-panel);
	color: var(--at-marketing-on-inverse);
	font-size: 13px;
	font-weight: 500;
}

.at-homepage-starter__badge::before {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-inline-end: 8px;
	border-radius: 50%;
	background: var(--at-marketing-brand-soft);
	box-shadow: 0 0 0 3px rgba(190, 204, 249, .15);
	content: '';
}

.at-homepage-starter__prompt {
	position: absolute;
	z-index: 7;
	inset: 8% 23.333333% auto;
	display: flex;
	align-items: center;
	gap: 1.333333cqw;
	height: 5.666667cqw;
	padding: 0 2cqw;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: var(--at-marketing-radius-full);
	background: linear-gradient(#151b3d, #151b3d) padding-box, linear-gradient(90deg, #beccf9, #fff 50%, #beccf9) border-box;
	color: var(--at-marketing-on-inverse);
	font-size: 1.583333cqw;
	text-align: start;
	box-shadow: 0 0 0 5px rgba(51, 94, 234, .45), 0 0 40px rgba(120, 155, 255, .85), 0 0 90px rgba(51, 94, 234, .6);
}

.at-homepage-starter__shimmer {
	position: absolute;
	inset: 0 auto 0 0;
	width: 10cqw;
	background: linear-gradient(90deg, transparent, rgba(130, 160, 255, .28), transparent);
	transform: translateX(-116.666667%);
	pointer-events: none;
}

.at-homepage-starter__send {
	flex: 0 0 2.166667cqw;
	width: 2.166667cqw;
	height: 2.166667cqw;
	margin-inline-start: auto;
}

.at-homepage-starter__sparkle,
.at-homepage-starter__decoration {
	color: var(--at-marketing-brand-soft);
}

.at-homepage-starter__site,
.at-homepage-starter__wireframe {
	position: absolute;
	inset: 29.333333% auto auto 29.166667%;
	width: 41.666667%;
	border-radius: 1.5cqw;
	transform-origin: 50% 0;
}

.at-homepage-starter__site {
	z-index: 4;
	display: block;
	height: auto;
	box-shadow: 0 24px 60px rgba(6, 10, 40, .5);
}

.at-homepage-starter__wireframe {
	z-index: var(--at-homepage-wireframe-depth);
	height: 106.666667%;
	overflow: hidden;
	background: #2a3a9c;
	transform: var(--at-homepage-wireframe-start);
	filter: brightness(var(--at-homepage-wireframe-brightness));
}

.at-homepage-starter__wireframe--0 {
	--at-homepage-wireframe-start: translate(-140%, 24.0625%) scale(0.8);
	--at-homepage-wireframe-end: translate(-232%, 35%) scale(0.74);
	--at-homepage-wireframe-brightness: 0.8;
	--at-homepage-wireframe-end-brightness: 0.7;
	--at-homepage-wireframe-depth: 1;
	--at-homepage-wireframe-end-depth: 0;
}

.at-homepage-starter__wireframe--1 {
	--at-homepage-wireframe-start: translate(-80%, 9.375%) scale(0.88);
	--at-homepage-wireframe-end: translate(-140%, 24.0625%) scale(0.8);
	--at-homepage-wireframe-brightness: 0.9;
	--at-homepage-wireframe-end-brightness: 0.8;
	--at-homepage-wireframe-depth: 2;
	--at-homepage-wireframe-end-depth: 1;
}

.at-homepage-starter__wireframe--2 {
	--at-homepage-wireframe-start: translate(0%, 0%) scale(1);
	--at-homepage-wireframe-end: translate(-80%, 9.375%) scale(0.88);
	--at-homepage-wireframe-brightness: 1;
	--at-homepage-wireframe-end-brightness: 0.9;
	--at-homepage-wireframe-depth: 3;
	--at-homepage-wireframe-end-depth: 2;
}

.at-homepage-starter__wireframe--3 {
	--at-homepage-wireframe-start: translate(80%, 9.375%) scale(0.88);
	--at-homepage-wireframe-end: translate(0%, 0%) scale(1);
	--at-homepage-wireframe-brightness: 0.9;
	--at-homepage-wireframe-end-brightness: 1;
	--at-homepage-wireframe-depth: 2;
	--at-homepage-wireframe-end-depth: 3;
}

.at-homepage-starter__wireframe--4 {
	--at-homepage-wireframe-start: translate(140%, 24.0625%) scale(0.8);
	--at-homepage-wireframe-end: translate(80%, 9.375%) scale(0.88);
	--at-homepage-wireframe-brightness: 0.8;
	--at-homepage-wireframe-end-brightness: 0.9;
	--at-homepage-wireframe-depth: 1;
	--at-homepage-wireframe-end-depth: 2;
}

.at-homepage-starter__wireframe--5 {
	--at-homepage-wireframe-start: translate(232%, 35%) scale(0.74);
	--at-homepage-wireframe-end: translate(140%, 24.0625%) scale(0.8);
	--at-homepage-wireframe-brightness: 0.7;
	--at-homepage-wireframe-end-brightness: 0.8;
	--at-homepage-wireframe-depth: 0;
	--at-homepage-wireframe-end-depth: 1;
}

.at-homepage-starter__wireframe-header {
	position: relative;
	display: grid;
	place-items: center;
	height: 4.333333cqw;
	background: #22318a;
}

.at-homepage-starter__wireframe-header span {
	width: 30%;
	height: .833333cqw;
	border-radius: var(--at-marketing-radius-full);
	background: rgba(190, 204, 249, .32);
}

.at-homepage-starter__wireframe-header i {
	position: absolute;
	right: 1.666667cqw;
	width: 1.666667cqw;
	height: 1.166667cqw;
	background: repeating-linear-gradient(180deg, rgba(190, 204, 249, .3) 0 2px, transparent 2px 5px);
}

.at-homepage-starter__wireframe-hero {
	height: 21.833333cqw;
	margin-top: 1.166667cqw;
	border: 1px dashed rgba(190, 204, 249, .22);
	background: rgba(190, 204, 249, .04);
}

.at-homepage-starter__wireframe-blocks {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.333333cqw;
	margin: 1.333333cqw;
}

.at-homepage-starter__wireframe-blocks span {
	height: 21.666667cqw;
	border-radius: .833333cqw;
	background: rgba(190, 204, 249, .08);
}

.at-homepage-starter__decoration {
	position: absolute;
	z-index: 6;
	inset: 9.666667% auto auto 82.5%;
	width: 3.833333cqw;
	height: 3.833333cqw;
	filter: drop-shadow(0 6px 14px rgba(10, 20, 90, .55));
}

.at-homepage-starter__decoration--two {
	inset: 25% auto auto 88.166667%;
	width: 6.166667cqw;
	height: 6.166667cqw;
}

.at-homepage-starter__decoration--three {
	inset: 6.666667% auto auto 91.5%;
	width: 2.5cqw;
	height: 2.5cqw;
}

.at-homepage-starter__prompts {
	display: grid;
	flex: 1;
	min-width: 0;
}

.at-homepage-starter__prompt-text {
	grid-area: 1 / 1;
	white-space: nowrap;
}

.at-homepage-starter__prompt-text:not(:first-child),
.at-homepage-starter__site ~ .at-homepage-starter__site {
	opacity: 0;
}

@media (max-width: 767px) {

	.at-homepage-starter {
		text-align: start;
	}

	.at-homepage-starter__description {
		margin-inline: 0;
		text-wrap: initial;
	}

	.at-homepage-starter__stage {
		aspect-ratio: 358 / 283;
		margin-top: 32px;
		border-radius: 16px;
	}

	.at-homepage-starter__scene {
		inset: 0 auto auto -29.05%;
		width: 158.1%;
		aspect-ratio: 2 / 1;
	}

	.at-homepage-starter__badge {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
		border: 0;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.at-homepage-starter__scene::before {
		animation: at-homepage-starter-glow 16s ease-in-out infinite;
	}

	.at-homepage-starter__shimmer {
		animation: at-homepage-starter-shimmer 3s ease-in-out infinite;
	}

	.at-homepage-starter__stage .at-homepage-starter__prompt-text {
		animation: at-homepage-starter-prompt 15s linear infinite both;
		animation-delay: var(--at-homepage-preview-delay);
	}

	.at-homepage-starter__stage .at-homepage-starter__site {
		mask-image: linear-gradient(90deg, #000 0 42%, transparent 58% 100%);
		mask-size: 260% 100%;
		mask-repeat: no-repeat;
		animation: at-homepage-starter-site 15s var(--at-marketing-ease-in-out) infinite both;
		animation-delay: var(--at-homepage-preview-delay);
	}

	.at-homepage-starter__stage .at-homepage-starter__send {
		animation: at-homepage-starter-send 3s ease-in-out infinite;
	}

	.at-homepage-starter__stage .at-homepage-starter__wireframe {
		animation: at-homepage-starter-wireframe 3s var(--at-marketing-ease-in-out) infinite;
	}

	.at-homepage-starter__stage .at-homepage-starter__decoration {
		animation: at-homepage-starter-sparkle 5s ease-in-out infinite;
	}

	.at-homepage-starter__stage .at-homepage-starter__decoration--two {
		animation-duration: 6s;
		animation-delay: -1.6s;
	}

	.at-homepage-starter__stage .at-homepage-starter__decoration--three {
		animation-duration: 4.5s;
		animation-delay: -3s;
	}

	@keyframes at-homepage-starter-prompt {
		0%, .8% { opacity: 1; clip-path: inset(0 100% 0 0); }
		6.8%, 16% { opacity: 1; clip-path: inset(0); }
		17.2%, 100% { opacity: 0; clip-path: inset(0); }
	}

	@keyframes at-homepage-starter-site {
		0%, 8% { opacity: 1; mask-position: 100% 0; transform: none; filter: brightness(1); z-index: 4; }
		11.2%, 16% { opacity: 1; mask-position: 0 0; transform: none; filter: brightness(1); z-index: 4; }
		20% { opacity: 0; mask-position: 0 0; transform: translate(-80%, 12%) scale(.88); filter: brightness(.9); z-index: 2; }
		20.05%, 100% { opacity: 0; mask-position: 100% 0; transform: translate(-80%, 12%) scale(.88); filter: brightness(.9); z-index: 2; }
	}

	@keyframes at-homepage-starter-send {
		0%, 34%, 41%, 100% { transform: none; }
		37% { transform: scale(.86); }
	}

	@keyframes at-homepage-starter-wireframe {
		0%, 80% { transform: var(--at-homepage-wireframe-start); filter: brightness(var(--at-homepage-wireframe-brightness)); z-index: var(--at-homepage-wireframe-depth); }
		100% { transform: var(--at-homepage-wireframe-end); filter: brightness(var(--at-homepage-wireframe-end-brightness)); z-index: var(--at-homepage-wireframe-end-depth); }
	}

	@keyframes at-homepage-starter-glow {
		0%, 100% { background-position: 0% 0%, 100% 0%, 50% 100%, 0 0; }
		50% { background-position: 25% 15%, 75% 25%, 40% 80%, 0 0; }
	}

	@keyframes at-homepage-starter-shimmer {
		from { transform: translateX(-116.666667%); }
		to { transform: translateX(566.666667%); }
	}

	@keyframes at-homepage-starter-sparkle {
		0%, 100% { transform: translateY(0) rotate(0) scale(.92); }
		50% { transform: translateY(-10px) rotate(10deg) scale(1); }
	}
}
