/* Цвета, шрифт и брейкпоинты взяты из topskin (client/views/styles/_vars.import.less) */
@font-face {
	font-family: 'Rubik';
	src: url('/assets/fonts/Rubik-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Rubik';
	src: url('/assets/fonts/Rubik-Medium.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Rubik';
	src: url('/assets/fonts/Rubik-SemiBold.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Rubik';
	src: url('/assets/fonts/Rubik-ExtraBoldItalic.woff2') format('woff2');
	font-weight: 800;
	font-style: italic;
	font-display: swap;
}

:root {
	--slate200: #9B9DB1;
	--slate300: #414250;
	--slate400: #343541;
	--slate500: #272835;
	--slate600: #1C1D27;
	--slate700: #161720;
	--slate800: #12131A;
	--slate900: #0E0F15;
	--orange500: #FF6E40;
	--orange600: #DC5D35;
	--yellow500: #FFA826;
	--header-height: 64px;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-height) + 16px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background-color: var(--slate800);
	color: #fff;
	font-family: 'Rubik', 'Open Sans', Arial, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol {
	margin: 0;
}

ul, ol {
	padding: 0;
	list-style: none;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

.icon {
	width: 1em;
	height: 1em;
	flex-shrink: 0;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 16px;
}
.container_narrow {
	max-width: 860px;
}

.link {
	color: var(--orange500);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.link:hover {
	color: var(--yellow500);
}

/* Кнопки */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 20px;
	height: 44px;
	border-radius: 12px;
	background-color: var(--orange500);
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	white-space: nowrap;
	transition: background-color .15s, box-shadow .15s, border-color .15s;
}
.btn:hover {
	background-color: var(--orange600);
	box-shadow: 0 0 24px rgba(255, 110, 64, .45);
}
.btn_small {
	height: 38px;
	padding: 0 18px;
}
.btn_big {
	height: 54px;
	padding: 0 28px;
	border-radius: 14px;
	font-size: 16px;
}
.btn_ghost {
	background-color: transparent;
	border: 1px solid var(--slate300);
}
.btn_ghost:hover {
	background-color: var(--slate500);
	border-color: var(--slate200);
	box-shadow: none;
}

/* Шапка */
.header {
	position: sticky;
	top: 0;
	z-index: 10;
	height: var(--header-height);
	background-color: rgba(18, 19, 26, .9);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--slate600);
}
.header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: 100%;
}
.header__logo {
	flex-shrink: 0;
}
.header__nav {
	display: none;
	gap: 28px;
	margin: 0 auto;
	color: var(--slate200);
	font-size: 14px;
	font-weight: 500;
}
.header__nav a:hover {
	color: #fff;
}
.header .btn {
	margin-left: auto;
}

/* Первый экран */
.hero {
	position: relative;
	overflow: hidden;
	padding: 40px 0 48px;
	background:
		radial-gradient(60% 70% at 85% 30%, rgba(255, 110, 64, .2), transparent 70%),
		radial-gradient(50% 60% at 0% 100%, rgba(152, 71, 255, .12), transparent 70%);
}
.hero__inner {
	display: grid;
	gap: 24px;
}
.hero__label {
	display: inline-block;
	margin-bottom: 16px;
	padding: 6px 12px;
	border-radius: 8px;
	background-color: rgba(255, 110, 64, .12);
	color: var(--orange500);
	font-size: 13px;
	font-weight: 500;
}
.hero__title {
	font-size: 32px;
	line-height: 1.1;
	font-weight: 800;
	font-style: italic;
	text-transform: uppercase;
}
.hero__title span {
	color: var(--orange500);
}
.hero__text {
	margin-top: 16px;
	max-width: 560px;
	color: var(--slate200);
	font-size: 16px;
}
.hero__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 28px;
}
.promo {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 16px;
	padding: 10px 10px 10px 16px;
	border-radius: 14px;
	border: 1px dashed var(--slate300);
	background-color: var(--slate600);
}
.promo__info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.promo__label {
	color: var(--slate200);
	font-size: 12px;
	line-height: 1.3;
}
.promo__code {
	font-size: 17px;
	font-weight: 600;
	letter-spacing: .04em;
	overflow-wrap: anywhere;
	user-select: all;
}
.promo__copy {
	flex-shrink: 0;
	height: 38px;
	padding: 0 16px;
	border: 0;
	border-radius: 10px;
	background-color: var(--slate400);
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .15s, color .15s;
}
.promo__copy:hover {
	background-color: var(--slate300);
}
.promo__copy_done,
.promo__copy_done:hover {
	background-color: rgba(190, 255, 52, .14);
	color: #BEFF34;
}
.hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin-top: 28px;
	color: var(--slate200);
	font-size: 14px;
}
.hero__facts li {
	display: flex;
	align-items: center;
	gap: 8px;
}
.hero__facts li::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: var(--orange500);
}
.hero__visual {
	display: none;
	align-items: center;
	justify-content: center;
}
.hero__crown {
	width: 100%;
	max-width: 380px;
	color: var(--orange500);
	filter: drop-shadow(0 0 60px rgba(255, 110, 64, .55));
	transform: rotate(-6deg);
}

/* Секции */
.section {
	padding: 48px 0;
}
.section_dark {
	background-color: var(--slate700);
}
.section__title {
	font-size: 24px;
	line-height: 1.2;
	font-weight: 800;
	font-style: italic;
	text-transform: uppercase;
}
.section__lead {
	margin-top: 12px;
	max-width: 720px;
	color: var(--slate200);
}

/* Режимы */
.modes {
	display: grid;
	gap: 12px;
	margin-top: 28px;
}
.mode {
	--rarity: #88C9E5;
	position: relative;
	overflow: hidden;
	padding: 20px;
	border-radius: 20px;
	background-color: var(--slate600);
	border: 1px solid var(--slate500);
}
.mode::after {
	content: '';
	position: absolute;
	inset: auto 0 0;
	height: 3px;
	background-color: var(--rarity);
	box-shadow: 0 0 28px 6px var(--rarity);
	opacity: .7;
}
.mode_common { --rarity: #88C9E5; }
.mode_milspec { --rarity: #4564FF; }
.mode_restricted { --rarity: #9847FF; }
.mode_classified { --rarity: #FF4487; }
.mode_covert { --rarity: #FF3535; }
.mode_rare { --rarity: #FFA826; }
.mode_gloves { --rarity: #BEFF34; }
.mode_giveaway { --rarity: #34E5C8; }
.mode__icon,
.card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background-color: var(--slate500);
	color: var(--rarity, var(--orange500));
	font-size: 22px;
}
.mode__title,
.card__title,
.steps__title {
	margin-top: 16px;
	font-size: 18px;
	font-weight: 600;
}
.mode__text,
.card__text,
.steps__text {
	margin-top: 8px;
	color: var(--slate200);
	font-size: 15px;
}

/* Шаги */
.steps {
	display: grid;
	gap: 12px;
	margin-top: 28px;
	counter-reset: step;
}
.steps__item {
	position: relative;
	padding: 20px 20px 20px 76px;
	border-radius: 20px;
	background-color: var(--slate600);
	counter-increment: step;
}
.steps__item::before {
	content: counter(step);
	position: absolute;
	top: 20px;
	left: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background-color: var(--orange500);
	font-weight: 800;
	font-style: italic;
	font-size: 18px;
}
.steps__title {
	margin-top: 0;
}

/* Рабочий адрес */
.address {
	display: grid;
	gap: 24px;
}
.address__content p {
	margin-top: 16px;
	color: var(--slate200);
}
.checklist {
	display: grid;
	gap: 10px;
	margin-top: 16px;
}
.checklist li {
	position: relative;
	padding-left: 28px;
}
.checklist li::before {
	content: '';
	position: absolute;
	top: 7px;
	left: 4px;
	width: 12px;
	height: 7px;
	border-left: 2px solid var(--orange500);
	border-bottom: 2px solid var(--orange500);
	transform: rotate(-45deg);
}
.address__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 32px 20px;
	border-radius: 20px;
	background:
		radial-gradient(80% 100% at 50% 0%, rgba(255, 110, 64, .22), transparent 70%),
		var(--slate600);
	border: 1px solid var(--slate500);
	text-align: center;
}
.address__card-label {
	color: var(--slate200);
	font-size: 14px;
}
.address__card-domain {
	margin-bottom: 16px;
	font-size: 30px;
	font-weight: 800;
	font-style: italic;
	overflow-wrap: anywhere;
}

/* Карточки */
.cards {
	display: grid;
	gap: 12px;
	margin-top: 28px;
}
.card {
	padding: 20px;
	border-radius: 20px;
	background-color: var(--slate600);
}

/* FAQ */
.faq {
	display: grid;
	gap: 8px;
	margin-top: 28px;
}
.faq__item {
	border-radius: 16px;
	background-color: var(--slate600);
}
.faq__question {
	position: relative;
	padding: 18px 52px 18px 20px;
	font-weight: 500;
	cursor: pointer;
	list-style: none;
}
.faq__question::-webkit-details-marker {
	display: none;
}
.faq__question::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 22px;
	width: 9px;
	height: 9px;
	margin-top: -7px;
	border-right: 2px solid var(--slate200);
	border-bottom: 2px solid var(--slate200);
	transform: rotate(45deg);
	transition: transform .15s;
}
.faq__item[open] .faq__question::after {
	margin-top: -2px;
	transform: rotate(-135deg);
	border-color: var(--orange500);
}
.faq__answer {
	padding: 0 20px 20px;
	color: var(--slate200);
	font-size: 15px;
}

/* Призыв */
.cta__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding-top: 40px;
	padding-bottom: 40px;
	border-radius: 20px;
	background:
		radial-gradient(70% 120% at 50% 0%, rgba(255, 110, 64, .25), transparent 70%),
		var(--slate700);
	text-align: center;
}
.cta__title {
	font-size: 24px;
	line-height: 1.2;
	font-weight: 800;
	font-style: italic;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}
.cta__text {
	max-width: 520px;
	color: var(--slate200);
}

/* Подвал */
.footer {
	padding: 40px 0 104px;
	background-color: var(--slate900);
	color: var(--slate200);
	font-size: 14px;
}
.footer__inner {
	display: grid;
	gap: 28px;
}
.footer__brand p {
	margin-top: 12px;
}
.footer__age {
	display: inline-block;
	padding: 2px 8px;
	border: 1px solid var(--slate300);
	border-radius: 6px;
	font-weight: 600;
}
.footer__col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}
.footer__title {
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}
.footer__col a:hover {
	color: #fff;
}
.footer__social {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.footer__social .icon {
	font-size: 18px;
}
.footer__bottom {
	display: grid;
	gap: 8px;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--slate600);
	font-size: 13px;
}

/* Закреплённая кнопка на мобильных */
.sticky-cta {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: calc(12px + env(safe-area-inset-bottom));
	z-index: 10;
	box-shadow: 0 8px 32px rgba(0, 0, 0, .5);
}

:focus-visible {
	outline: 2px solid var(--yellow500);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	* {
		transition: none !important;
	}
}

/* Планшет */
@media (min-width: 630px) {
	.promo {
		display: inline-flex;
		gap: 24px;
	}
	.container {
		padding: 0 24px;
	}
	.hero {
		padding: 64px 0;
	}
	.hero__title {
		font-size: 44px;
	}
	.hero__actions {
		flex-direction: row;
	}
	.section {
		padding: 64px 0;
	}
	.section__title,
	.cta__title {
		font-size: 30px;
	}
	.modes,
	.cards,
	.steps {
		grid-template-columns: repeat(2, 1fr);
	}
	.footer {
		padding-bottom: 40px;
	}
	.footer__inner {
		grid-template-columns: 2fr 1fr 1fr;
	}
	.sticky-cta {
		display: none;
	}
}

/* Десктоп */
@media (min-width: 1100px) {
	.header__nav {
		display: flex;
	}
	.header .btn {
		margin-left: 0;
	}
	.hero {
		padding: 96px 0;
	}
	.hero__inner {
		grid-template-columns: 1.3fr 1fr;
		align-items: center;
		gap: 48px;
	}
	.hero__title {
		font-size: 60px;
	}
	.hero__text {
		font-size: 18px;
	}
	.hero__visual {
		display: flex;
	}
	.section {
		padding: 88px 0;
	}
	.section__title,
	.cta__title {
		font-size: 36px;
	}
	.modes {
		grid-template-columns: repeat(4, 1fr);
	}
	.cards {
		grid-template-columns: repeat(3, 1fr);
	}
	.steps {
		grid-template-columns: repeat(5, 1fr);
	}
	.steps__item {
		padding: 76px 20px 20px;
	}
	.address {
		grid-template-columns: 1.5fr 1fr;
		align-items: center;
		gap: 48px;
	}
	.cta__inner {
		padding-top: 64px;
		padding-bottom: 64px;
	}
}
