:root {
	--red: #d90000;
	--red-2: #b60000;
	--red-3: #ffefef;
	--text: #151515;
	--muted: #626262;
	--soft: #f6f7fb;
	--card: #ffffff;
	--line: #e8e8e8;
	--green: #1fa64a;
	--radius: 24px;
	--radius-sm: 16px;
	--shadow: 0 24px 70px rgba(30, 30, 55, .11);
	--shadow-soft: 0 12px 34px rgba(30, 30, 55, .08);
}

* {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	padding: 0;
	min-width: 320px;
	color: var(--text);
	font-family: Arial, Helvetica, sans-serif;
	background:
		radial-gradient(circle at 14% 8%, rgba(217, 0, 0, .09), transparent 32%),
		radial-gradient(circle at 88% 18%, rgba(217, 0, 0, .055), transparent 28%),
		linear-gradient(180deg, #ffffff 0%, #f8f9fd 46%, #ffffff 100%);
}

a {
	color: var(--red);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

img,
video,
iframe {
	max-width: 100%;
}

.center {
	text-align: center;
}

.clear {
	clear: both;
}

/* HERO */

.hero {
	position: relative;
	padding: 44px 20px 38px;
	text-align: center;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 247, 247, .92));
	border-bottom: 1px solid rgba(217, 0, 0, .12);
	overflow: hidden;
}

.hero:before {
	content: "";
	position: absolute;
	top: -190px;
	left: 50%;
	width: 760px;
	height: 360px;
	transform: translateX(-50%);
	border-radius: 50%;
	background: rgba(217, 0, 0, .07);
	pointer-events: none;
}

.hero__inner {
	position: relative;
	z-index: 1;
	max-width: 980px;
	margin: 0 auto;
}

.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 16px;
	padding: 8px 17px;
	border: 1px solid rgba(217, 0, 0, .14);
	border-radius: 999px;
	background: #fff;
	color: var(--red);
	font-size: 15px;
	line-height: 1.25;
	font-weight: 800;
	box-shadow: 0 8px 24px rgba(217, 0, 0, .08);
}

.hero h1 {
	max-width: 940px;
	margin: 0 auto;
	color: var(--red);
	font-size: clamp(34px, 4.6vw, 56px);
	line-height: 1.04;
	font-weight: 900;
	letter-spacing: -.045em;
	text-wrap: balance;
}

.hero__subtitle {
	max-width: 760px;
	margin: 22px auto 0;
	color: #151515;
	font-size: clamp(21px, 2.55vw, 31px);
	line-height: 1.18;
	font-weight: 900;
	letter-spacing: -.03em;
	text-wrap: balance;
}

/* STEPS */

.steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	width: min(860px, calc(100% - 36px));
	margin: 26px auto 34px;
}

.steps:before {
	content: "";
	position: absolute;
	left: 8%;
	right: 8%;
	top: 25px;
	height: 2px;
	background: #e5e5e5;
	z-index: 0;
}

.steps__item {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 10px 16px;
	border-radius: 999px;
	background: #f1f1f1;
	color: #868686;
	font-size: 15px;
	line-height: 1.15;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .035em;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .04);
}

.steps__item span {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 29px;
	height: 29px;
	border-radius: 50%;
	background: #fff;
	color: inherit;
	font-size: 14px;
	font-weight: 900;
}

.steps__item.is-active {
	background: linear-gradient(135deg, var(--red), var(--red-2));
	color: #fff;
	box-shadow: 0 16px 36px rgba(217, 0, 0, .24);
}

.steps__item.is-active span {
	background: rgba(255, 255, 255, .18);
	color: #fff;
}

/* OLD SUB HEADER FALLBACK */

#sub_header {
	width: min(960px, calc(100% - 36px));
	margin: 0 auto 24px;
	text-align: center;
}

#sub_header h2 {
	margin: 0;
	color: var(--text);
	font-size: clamp(25px, 3vw, 34px);
	line-height: 1.18;
	font-weight: 900;
	letter-spacing: -.03em;
}

/* MAIN LAYOUT */

#content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 34px;
	align-items: start;
	width: min(1080px, calc(100% - 36px));
	margin: 0 auto;
	padding-top: 2px;
}

#left,
#right {
	float: none;
	min-width: 0;
}

#right {
	padding-right: 0;
}

/* VIDEO */

#video {
	width: 100%;
	height: auto;
	margin: 0 auto 24px;
	padding: 14px;
	border-radius: var(--radius);
	background: #111;
	box-shadow: var(--shadow);
}

#player,
#full_player {
	display: block;
	width: 100%;
	max-width: 100%;
	border: 0;
	border-radius: 20px;
	background: #111;
	box-shadow: var(--shadow);
	overflow: hidden;
}

#player {
	height: auto;
	aspect-ratio: 16 / 9;
}

#full_player {
	width: min(960px, calc(100% - 36px));
	margin: 24px auto 0;
	aspect-ratio: 16 / 9;
}

iframe#player {
	min-height: 420px;
}

/* REGISTRATION BANNER */

#arrow {
	position: relative;
	height: auto;
	margin: 0 0 24px;
	padding: 26px 30px;
	border-radius: var(--radius);
	background:
		linear-gradient(135deg, rgba(255, 255, 255, .08), transparent 42%),
		linear-gradient(135deg, var(--red), var(--red-2));
	color: #fff;
	box-shadow: 0 20px 46px rgba(217, 0, 0, .22);
	overflow: hidden;
}

#arrow:before {
	content: "Регистрация на вебинар";
	display: block;
	max-width: 560px;
	font-size: clamp(31px, 3.6vw, 44px);
	line-height: .98;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .015em;
}

#arrow:after {
	content: "Заполните форму справа, чтобы зарезервировать участие";
	display: block;
	margin-top: 10px;
	font-size: 15px;
	line-height: 1.35;
	font-weight: 800;
	opacity: .94;
}

/* RESULTS */

#results {
	width: 100%;
	margin: 0 0 24px;
	padding: 26px 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, .92);
	color: var(--muted);
	font-size: 16px;
	line-height: 1.48;
	box-shadow: var(--shadow-soft);
	backdrop-filter: blur(8px);
}

#results h2 {
	margin: 0 0 16px;
	color: var(--text);
	font-size: 27px;
	line-height: 1.15;
	font-weight: 900;
	letter-spacing: -.03em;
}

#results ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#results ul li {
	position: relative;
	margin: 13px 0;
	padding-left: 38px;
	background: none;
}

#results ul li:before {
	content: "✓";
	position: absolute;
	left: 0;
	top: -1px;
	display: grid;
	place-items: center;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	background: #eaffef;
	color: var(--green);
	font-size: 17px;
	font-weight: 900;
}

#results li:nth-child(odd) {
	color: #252525;
	font-weight: 900;
}

#results p {
	margin: 10px 0;
}

/* DESCRIPTION */

#description {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 26px 28px;
	border: 1px solid rgba(217, 0, 0, .18);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, .94);
	box-shadow: var(--shadow-soft);
	overflow: hidden;
}

#description:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 6px;
	background: var(--red);
}

#description h2 {
	margin: 0 0 20px;
	color: var(--red);
	font-size: 28px;
	line-height: 1.15;
	font-weight: 900;
	letter-spacing: -.03em;
}

#description img {
	float: left;
	width: 104px;
	height: 104px;
	margin: 0 22px 8px 0;
	object-fit: cover;
	border-radius: 50%;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .13);
}

#description #info {
	float: none;
	width: auto;
	margin: 0;
	overflow: hidden;
}

#description #info p {
	margin: 8px 0;
	font-size: 16px;
	line-height: 1.35;
}

#description #info span {
	color: #181818;
	font-weight: 900;
}

/* FORM */

#form {
	position: sticky;
	top: 22px;
	width: 100%;
	padding: 0;
	border: 1px solid rgba(217, 0, 0, .22);
	border-radius: 28px;
	background:
		linear-gradient(180deg, #ffffff 0%, #fff6f6 100%);
	text-align: center;
	font-size: 15px;
	box-shadow: var(--shadow);
	overflow: hidden;
}

#form:before {
	content: "Регистрация на вебинар";
	display: block;
	padding: 22px 22px 17px;
	background: linear-gradient(135deg, var(--red), var(--red-2));
	color: #fff;
	font-size: 23px;
	line-height: 1.05;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .02em;
}

#form form {
	padding: 24px 22px 0;
}

#form form > div {
	margin: 0;
}

label {
	display: block;
	margin: 18px 0 8px;
	color: #262626;
	font-size: 14px;
	line-height: 1.25;
	font-weight: 900;
	text-align: left;
}

select,
input[type="text"] {
	width: 100%;
	border: 1px solid #dddddd;
	border-radius: 15px;
	background: #fff;
	color: #222;
	outline: none;
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

select {
	height: 48px;
	margin: 0 0 11px;
	padding: 0 14px;
	font-size: 16px;
	cursor: pointer;
}

input[type="text"] {
	height: 48px;
	margin: 0 0 10px;
	padding: 0 14px;
	font-size: 16px;
	text-align: left;
}

input[type="text"]::placeholder {
	color: #999;
}

select:focus,
input[type="text"]:focus {
	border-color: var(--red);
	box-shadow: 0 0 0 4px rgba(217, 0, 0, .10);
}

.form-submit {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 64px;
	margin: 20px 0 18px;
	padding: 0 24px;
	border: 0;
	border-radius: 18px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, .18), transparent 38%),
		linear-gradient(135deg, var(--red), var(--red-2));
	color: #fff;
	font-size: 28px;
	line-height: 1;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .035em;
	cursor: pointer;
	box-shadow: 0 18px 38px rgba(217, 0, 0, .30);
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.form-submit:before {
	content: "";
	position: absolute;
	top: 0;
	left: -80%;
	width: 55%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, .32),
		transparent
	);
	transform: skewX(-18deg);
	transition: left .55s ease;
}

.form-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 22px 46px rgba(217, 0, 0, .36);
	filter: saturate(1.08);
}

.form-submit:hover:before {
	left: 130%;
}

.form-submit:active {
	transform: translateY(0);
	box-shadow: 0 14px 30px rgba(217, 0, 0, .28);
}

.form-submit:focus-visible {
	outline: 4px solid rgba(217, 0, 0, .18);
	outline-offset: 3px;
}

#no_spam {
	padding: 0 22px 20px;
	color: #777;
	font-size: 13px;
	line-height: 1.35;
}

#no_spam img {
	margin-right: 4px;
	vertical-align: -2px;
}

/* GENERIC BUTTONS */

button:not(.form-submit),
.delivery__next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: min(320px, 100%);
	min-height: 58px;
	padding: 0 24px;
	border: 0;
	border-radius: 18px;
	background: linear-gradient(135deg, var(--red), var(--red-2));
	color: #fff;
	font-size: 19px;
	font-weight: 900;
	cursor: pointer;
	box-shadow: 0 16px 34px rgba(217, 0, 0, .24);
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

button:not(.form-submit):hover,
.delivery__next:hover {
	transform: translateY(-2px);
	box-shadow: 0 20px 42px rgba(217, 0, 0, .30);
	filter: saturate(1.05);
}

button:not(.form-submit):active,
.delivery__next:active {
	transform: translateY(0);
}

/* OFFER / BONUS BUTTONS */

.button {
	margin: 20px 0;
	text-align: center;
}

.button a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	padding: 0 30px;
	border: 0;
	border-radius: 18px;
	background: linear-gradient(135deg, #ffd84a, #ff9f1c);
	color: #6b2100;
	font-size: 21px;
	font-weight: 900;
	text-decoration: none;
	box-shadow: 0 16px 34px rgba(255, 159, 28, .30);
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.button a:hover {
	color: #6b2100;
	transform: translateY(-2px);
	box-shadow: 0 20px 42px rgba(255, 159, 28, .36);
	filter: saturate(1.08);
}

/* ACTIVATE / CONFIRMATION */

#activate {
	width: min(620px, calc(100% - 36px));
	margin: 34px auto 0;
	padding: 34px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, .94);
	color: var(--muted);
	text-align: center;
	box-shadow: var(--shadow);
}

#activate h1 {
	margin: 0 0 16px;
	color: var(--red);
	font-size: 31px;
	line-height: 1.15;
	font-weight: 900;
	letter-spacing: -.03em;
}

#activate p {
	margin: 12px 0;
	font-size: 16px;
	line-height: 1.5;
}

#activate a {
	color: var(--red);
	font-weight: 900;
}

.g-recaptcha {
	display: table;
	margin: 0 auto 22px;
}

/* LIVE LINK */

#live_link {
	width: min(960px, calc(100% - 36px));
	margin: 28px auto 0;
	padding: 26px;
	border: 1px solid rgba(217, 0, 0, .22);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, .94);
	color: var(--muted);
	text-align: center;
	box-shadow: var(--shadow-soft);
}

#live_link p {
	margin: 0;
	font-size: 16px;
	line-height: 1.45;
}

#live_link a {
	color: var(--red);
	font-weight: 900;
	word-break: break-all;
}

/* STREAM PAGE */

#count {
	margin: 0 0 12px;
	color: var(--muted);
	font-size: 15px;
}

#content #right noscript p {
	margin: 0 0 14px;
	padding: 14px;
	border-radius: var(--radius-sm);
	background: var(--red-3);
	color: var(--red);
}

#chat {
	width: 100%;
	height: 280px;
	padding: 15px;
	overflow-y: auto;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: #fff;
	text-align: right;
	box-shadow: var(--shadow-soft);
}

#chat p {
	margin: 0 0 8px;
}

.red {
	color: var(--red);
}

.green {
	color: var(--green);
}

/* TIMER AND OLD LIVE BLOCKS */

.header {
	color: var(--text);
	text-align: center;
}

#timer table {
	margin: 18px auto 24px;
	border-spacing: 10px;
}

#timer td {
	width: 104px;
	height: 90px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: #fff;
	color: var(--red);
	text-align: center;
	box-shadow: var(--shadow-soft);
}

#timer .red {
	font-size: 200%;
	font-weight: 900;
}

/* FOOTER */

footer {
	width: min(960px, calc(100% - 36px));
	margin: 48px auto 34px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
	background: none;
	color: #999;
	font-size: 13px;
	line-height: 1.45;
	text-align: center;
}

footer p {
	margin: 0;
}

/* RESPONSIVE */

@media (max-width: 980px) {
	#content {
		grid-template-columns: 1fr;
		width: min(760px, calc(100% - 32px));
	}

	#form {
		position: static;
		max-width: 430px;
		margin: 0 auto;
	}

	iframe#player {
		min-height: 360px;
	}
}

@media (max-width: 760px) {
	.hero {
		padding: 32px 16px 28px;
	}

	.hero h1 {
		font-size: 32px;
	}

	.hero__subtitle {
		margin-top: 18px;
		font-size: 22px;
	}

	.steps {
		grid-template-columns: 1fr;
		gap: 10px;
		margin: 18px auto 26px;
	}

	.steps:before {
		display: none;
	}

	.steps__item {
		justify-content: flex-start;
		padding-left: 16px;
	}

	#arrow {
		padding: 23px 22px;
		border-radius: 20px;
	}

	#arrow:before {
		font-size: 30px;
	}

	#results,
	#description,
	#activate,
	#live_link {
		border-radius: 20px;
		padding: 22px;
	}

	#description img {
		float: none;
		display: block;
		margin: 0 auto 16px;
	}

	#description #info {
		text-align: left;
	}

	iframe#player {
		min-height: 300px;
	}
}

@media (max-width: 520px) {
	.hero__eyebrow {
		font-size: 14px;
	}

	.hero h1 {
		font-size: 29px;
	}

	.hero__subtitle {
		font-size: 20px;
	}

	#content {
		width: calc(100% - 24px);
		gap: 26px;
	}

	#arrow:before {
		font-size: 27px;
	}

	#results {
		font-size: 15px;
	}

	#results ul li {
		padding-left: 34px;
	}

	#description h2 {
		font-size: 26px;
	}

	#form {
		border-radius: 22px;
	}

	#form:before {
		font-size: 21px;
	}

	#form form {
		padding: 22px 18px 0;
	}

	#no_spam {
		padding-left: 18px;
		padding-right: 18px;
	}

	#chat {
		height: 240px;
	}

	iframe#player {
		min-height: 230px;
	}
}

.video-box {
	width: 100%;
}

.video-controls {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 18px 0 8px;
}

.video-control-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 190px;
	min-height: 54px;
	padding: 0 22px;
	border: 0;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--red), var(--red-2));
	color: #fff;
	font-size: 17px;
	font-weight: 900;
	cursor: pointer;
	box-shadow: 0 14px 30px rgba(217, 0, 0, .22);
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.video-control-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 38px rgba(217, 0, 0, .30);
	filter: saturate(1.08);
}

.video-control-btn:active {
	transform: translateY(0);
}

.video-control-btn--ghost {
	background: #fff;
	color: var(--red);
	border: 1px solid rgba(217, 0, 0, .24);
	box-shadow: 0 10px 26px rgba(30, 30, 55, .08);
}

.video-note {
	color: var(--muted);
	font-size: 15px;
	line-height: 1.45;
}