:root {
	--page-top: #ffffff;
	--page-middle: #edf3fb;
	--page-bottom: #e6eef8;
	--surface: #ffffff;
	--soft-border: #d6e1f0;
	--ink: #15263c;
	--yellow: #facc15;
	--red: #dc2626;
	--blue: #0ea5e9;
}

* {
	box-sizing: border-box;
}

[hidden] {
	display: none !important;
}

html,
body {
	min-height: 100%;
}

body.vsl-experiment {
	margin: 0;
	background: radial-gradient(circle at 50% -180px, var(--page-top) 0%, var(--page-middle) 56%, var(--page-bottom) 100%);
	color: var(--ink);
	font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
}

button,
input {
	font: inherit;
}

.funnel-shell {
	width: 100%;
}

.screening {
	display: flex;
	justify-content: center;
	padding: 24px 16px 16px;
}

.screening__frame {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 14px 14px 10px;
	border: 1px solid var(--soft-border);
	border-radius: 22px;
	background: var(--surface);
	box-shadow: 0 10px 24px rgba(10, 33, 64, 0.08);
}

.screening__viewport {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 18px;
	background: #000000;
	box-shadow: 0 14px 28px rgba(5, 27, 54, 0.24);
}

.screening__video {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.screening__shade {
	position: absolute;
	inset: 0;
	z-index: 10;
	display: grid;
	place-items: center;
	background: rgba(0, 0, 0, 0.5);
	cursor: pointer;
}

.activation-ring {
	position: relative;
	display: grid;
	place-items: center;
}

.activation-ring::before {
	position: absolute;
	inset: -18px;
	border: 4px solid rgba(255, 255, 255, 0.48);
	border-top-color: transparent;
	border-radius: 50%;
	content: "";
	pointer-events: none;
	animation: orbit 2.8s linear infinite;
}

.activation-button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 176px;
	height: 176px;
	padding: 0 13px 34px;
	border: 4px solid #111111;
	border-radius: 50%;
	background: var(--yellow);
	box-shadow: 0 0 0 4px var(--red), 0 0 0 8px #111111, 0 20px 25px -5px rgba(0, 0, 0, 0.35);
	color: #000000;
	cursor: pointer;
	animation: breathe 1.4s ease-in-out infinite;
}

.activation-button:focus-visible,
.resume-dialog button:focus-visible,
.order-prompt:focus-visible,
.checkout input:focus-visible,
.checkout__submit:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 6px;
}

.activation-button__text {
	font-size: 14px;
	font-weight: 900;
	line-height: 1.5;
	letter-spacing: 0;
	text-align: center;
	text-transform: uppercase;
	transform: translateY(15px);
}

.activation-button__icons {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 38px;
}

.activation-button__play {
	position: relative;
	display: inline-block;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #ed624f;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.24);
}

.activation-button__play::after {
	position: absolute;
	top: 10px;
	left: 14px;
	width: 0;
	height: 0;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-left: 12px solid #ffffff;
	content: "";
}

.activation-button__hand {
	position: absolute;
	right: 6px;
	bottom: -9px;
	font-family: Arial, sans-serif;
	font-size: 43px;
	line-height: 1;
	transform: rotate(-24deg);
}

.watch-progress {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 20;
	height: 4px;
}

.watch-progress span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--red);
	transition: width 0.2s linear;
}

.resume-layer {
	position: absolute;
	inset: 0;
	z-index: 30;
	display: grid;
	place-items: center;
	padding: 16px;
	background: rgba(0, 0, 0, 0.7);
}

.resume-dialog {
	width: min(100%, 760px);
	padding: 32px 40px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
	text-align: center;
}

.resume-dialog h1 {
	margin: 0 0 14px;
	font-size: 42px;
	line-height: 1.15;
}

.resume-dialog p {
	margin: 0 0 24px;
	font-size: 19px;
}

.resume-dialog__actions {
	display: flex;
	justify-content: center;
	gap: 12px;
}

.resume-dialog button {
	min-height: 44px;
	padding: 10px 18px;
	border: 0;
	border-radius: 10px;
	background: #15803d;
	color: #ffffff;
	font-weight: 700;
	cursor: pointer;
}

.resume-dialog button + button {
	background: #e5e7eb;
	color: #111827;
}

.order-prompt {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 25;
	display: grid;
	gap: 12px;
	width: min(240px, calc(100% - 32px));
	min-height: 190px;
	padding: 24px 20px;
	border: 0;
	border-radius: 14px;
	background: #dc2626;
	box-shadow: 0 18px 36px rgba(0, 0, 0, 0.38);
	color: #ffffff;
	cursor: pointer;
	font-size: 18px;
	line-height: 1.25;
	text-align: center;
	transform: translate(-50%, -50%);
}

.order-prompt strong {
	font-size: 15px;
	text-decoration: underline;
}

.checkout {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 36px 16px;
}

.checkout__form {
	width: min(100%, 540px);
}

.checkout__card {
	padding: 24px 28px;
	border: 2px solid #38bdf8;
	border-radius: 28px;
	background: #ffffff;
	box-shadow: 0 14px 36px rgba(10, 33, 64, 0.12);
}

.checkout__media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	max-width: 100%;
	margin: 0 auto 25px;
	overflow: hidden;
	border: 2px solid #7dd3fc;
	border-radius: 20px;
	background: transparent;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.checkout__media video {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 320px;
	border-radius: 18px;
	object-fit: cover;
}

.checkout__fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.checkout label {
	display: grid;
	gap: 6px;
	color: #374151;
	font-size: 14px;
	font-weight: 700;
}

.checkout input {
	width: 100%;
	height: 49px;
	padding: 12px 14px;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 400;
	outline: none;
}

.checkout input:focus {
	border-color: #38bdf8;
	box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

.checkout__submit {
	width: 100%;
	height: 55px;
	margin-top: 20px;
	padding: 14px 20px;
	border: 0;
	border-radius: 14px;
	background: var(--blue);
	color: #ffffff;
	font-size: 18px;
	font-weight: 800;
	cursor: pointer;
}

.checkout__submit:hover {
	background: #0284c7;
}

.checkout__submit:disabled {
	opacity: 0.65;
	cursor: wait;
}

@keyframes orbit {
	to {
		transform: rotate(360deg);
	}
}

@keyframes breathe {
	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.05);
	}
}

@media (max-width: 767px) {
	.activation-button__text {
		font-size: 14px;
	}

	.resume-layer {
		padding: 10px;
	}

	.resume-dialog {
		padding: 12px;
	}

	.resume-dialog h1 {
		margin-bottom: 8px;
		font-size: 22px;
	}

	.resume-dialog p {
		margin-bottom: 10px;
		font-size: 13px;
	}

	.resume-dialog__actions {
		flex-direction: column;
		gap: 8px;
	}

	.resume-dialog button {
		width: 100%;
		min-height: 40px;
		padding: 8px 10px;
		font-size: 13px;
	}
}

@media (max-width: 480px) {
	.checkout__fields {
		grid-template-columns: 1fr;
		row-gap: 18.5px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.activation-ring::before,
	.activation-button {
		animation: none;
	}

	.watch-progress span {
		transition: none;
	}
}
