/* Westland Project — макет «Вечер в San Andreas» */

:root {
	--bg: #0b0b0b;
	--ink: #ececec;
	--ink-2: #c4c4c4;
	--ink-3: #8f8f8f;
	--amber: #f5a524;
	--amber-ink: #1a1206;
	--money: #7fd36f;
	--panel: rgba(13, 13, 13, 0.74);
	--line: rgba(255, 255, 255, 0.09);
	--gutter: clamp(16px, 4vw, 56px);
	--display: "Unbounded", "Manrope", system-ui, sans-serif;
	--text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--radar: 176px;
	color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--bg); }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 16px/1.6 var(--text);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* Картинки и логотип не сохранить через ПКМ и не перетащить: клик проходит сквозь картинку
   на страницу, и браузер показывает обычное меню — с «Обновить», без «Сохранить картинку» */
img {
	pointer-events: none;
	-webkit-user-drag: none;
	user-select: none;
	-webkit-touch-callout: none;
}
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, p { margin: 0; }

/* ---------- Сцены ---------- */

.scenes {
	position: fixed;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	background: #000;
}

.scene {
	position: absolute;
	inset: -2%;
	margin: 0;
	opacity: 0;
	transition: opacity 1.2s ease;
}

.scene.is-on { opacity: 1; }

/* Медленный наезд камеры на включённую сцену */
@property --z { syntax: "<number>"; inherits: true; initial-value: 1.03; }

.scene.drift { animation: drift 16s ease-out forwards; }

@keyframes drift { from { --z: 1.03; } to { --z: 1.1; } }

.scene img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: var(--fx, 50%) 50%;
	transform-origin: var(--fx, 50%) 62%;
	transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(var(--z, 1.03));
	will-change: transform;
}

.shade {
	position: fixed;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(8, 8, 8, 0.82) 0%, rgba(8, 8, 8, 0.5) 26%, rgba(8, 8, 8, 0.08) 52%, rgba(8, 8, 8, 0) 70%),
		linear-gradient(180deg, rgba(8, 8, 8, 0.6) 0%, rgba(8, 8, 8, 0) 20%, rgba(8, 8, 8, 0) 66%, rgba(8, 8, 8, 0.7) 100%);
	transition: background-color 1.2s ease;
}

body.is-final .shade { background-color: rgba(6, 6, 6, 0.28); }

.grain {
	position: fixed;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	opacity: 0.07;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Шапка ---------- */

.top {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 30;
	display: flex;
	align-items: center;
	gap: clamp(20px, 3vw, 44px);
	padding: 20px var(--gutter);
	transition: background 0.35s, padding 0.35s, border-color 0.35s;
	border-bottom: 1px solid transparent;
}

.top.is-solid {
	padding-top: 12px;
	padding-bottom: 12px;
	background: rgba(11, 11, 11, 0.78);
	border-bottom-color: var(--line);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.top__logo img { display: block; height: 38px; width: auto; }

.top__nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }

.top__nav a {
	font-weight: 500;
	font-size: 14.5px;
	color: var(--ink-2);
	transition: color 0.2s;
}

.top__nav a:hover { color: #fff; }
.top__nav a[aria-current="page"] { color: #fff; }

.top__cab {
	margin-left: auto;
	padding: 9px 16px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
	color: var(--ink);
	background: rgba(10, 10, 10, 0.35);
	backdrop-filter: blur(8px);
	transition: border-color 0.2s, background 0.2s;
}

.top__cab:hover { border-color: var(--amber); background: rgba(10, 10, 10, 0.6); }
.top__nav .top__cab--menu { display: none; }

.top__burger {
	display: none;
	margin-left: auto;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	background: rgba(10, 10, 10, 0.4);
	cursor: pointer;
	position: relative;
}

.top__burger i {
	position: absolute;
	left: 11px;
	right: 11px;
	height: 2px;
	background: var(--ink);
	border-radius: 2px;
	transition: transform 0.25s, top 0.25s;
}

.top__burger i:first-child { top: 16px; }
.top__burger i:last-child { top: 24px; }
.top__burger[aria-expanded="true"] i:first-child { top: 20px; transform: rotate(45deg); }
.top__burger[aria-expanded="true"] i:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Худ ---------- */

.hud {
	position: fixed;
	top: 92px;
	right: var(--gutter);
	z-index: 20;
	display: grid;
	justify-items: end;
	gap: 2px;
	pointer-events: none;
	text-shadow: 0 2px 0 rgba(0, 0, 0, 0.55), 0 0 18px rgba(0, 0, 0, 0.5);
}

.hud__clock {
	font: 600 38px/1 var(--display);
	letter-spacing: 0.02em;
	color: #f2f2f2;
}

.hud__money {
	margin-top: 6px;
	font: 600 22px/1 var(--display);
	letter-spacing: 0.03em;
	color: var(--money);
}

.hud__clock span,
.hud__money span {
	display: inline-block;
	width: 0.8em;
	text-align: center;
}

.hud__money span { width: 0.84em; }
.hud__clock span.sep { width: 0.42em; }
.hud__money span.sep { width: 0.7em; }

.hud__stars { display: flex; gap: 4px; margin-top: 8px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.7)); }

.hud__stars i {
	width: 17px;
	height: 17px;
	background: rgba(255, 255, 255, 0.26);
	clip-path: polygon(50% 0, 61.8% 35%, 98% 35%, 68.5% 57%, 79.4% 91%, 50% 70%, 20.6% 91%, 31.5% 57%, 2% 35%, 38.2% 35%);
	transition: background 0.25s, transform 0.25s;
}

.hud__stars i.on { background: var(--amber); transform: scale(1.08); }
.hud__stars.is-blink i.on { animation: starBlink 0.5s steps(2, jump-none) infinite; }

@keyframes starBlink { 50% { background: rgba(255, 255, 255, 0.26); } }

.hud__note {
	margin-top: 8px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink);
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity 0.4s, transform 0.4s;
}

.hud__note.is-on { opacity: 1; transform: none; }

/* ---------- Название района ---------- */

.zone {
	position: fixed;
	right: var(--gutter);
	bottom: calc(var(--gutter) + var(--radar) + 14px);
	max-width: calc(var(--radar) + 40px);
	z-index: 20;
	display: grid;
	justify-items: end;
	text-align: right;
	pointer-events: none;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.6s ease, transform 0.6s ease;
	text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5), 0 0 22px rgba(0, 0, 0, 0.55);
}

.zone.is-on { opacity: 1; transform: none; }

.zone__city {
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--amber);
}

.zone__name {
	font: 600 clamp(22px, 1.9vw, 30px)/1.12 var(--display);
	color: #fff;
}

/* ---------- Радар ---------- */

.radar {
	position: fixed;
	right: var(--gutter);
	bottom: var(--gutter);
	z-index: 20;
	width: var(--radar);
	height: var(--radar);
	pointer-events: none;
	filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5));
	transition: opacity 0.5s;
}

body.is-foot .radar,
body.is-foot .zone { opacity: 0; }

/* Третий экран — без худа и карты */
body.is-final .radar,
body.is-final .hud {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

/* Название района гаснет сразу, без затухания — иначе успевает мелькнуть */
body.is-final .zone { opacity: 0; visibility: hidden; transition: none; }

.radar svg { display: block; width: 100%; height: 100%; overflow: visible; }

.radar__sea { fill: #101b21; }
.radar__land { fill: #232320; }
.radar__water { fill: #101b21; }
.radar__grid { stroke: rgba(255, 255, 255, 0.05); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.radar__road { stroke: rgba(255, 255, 255, 0.13); stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.radar__city { fill: rgba(255, 255, 255, 0.12); font: 700 300px var(--display); text-anchor: middle; dominant-baseline: middle; }
.radar__route { stroke: rgba(255, 255, 255, 0.35); stroke-width: 2; stroke-dasharray: 3 4; fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.radar__done { stroke: var(--amber); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.radar__blip { fill: #0d0d0d; stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.radar__blip.is-done { fill: var(--amber); stroke: var(--amber); }
.radar__rim { fill: none; stroke: rgba(255, 255, 255, 0.28); stroke-width: 3; }
.radar__player { fill: #fff; stroke: #0b0b0b; stroke-width: 1.2; }
.radar__north circle { fill: #0b0b0b; stroke: rgba(255, 255, 255, 0.4); stroke-width: 1.2; }
.radar__north text { fill: #fff; font: 700 9px var(--text); text-anchor: middle; }

/* ---------- Остановки ---------- */

main { position: relative; z-index: 10; }

.stop {
	position: relative;
	padding: 0 var(--gutter);
}

.card__kicker {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink-2);
}

.card__kicker::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--line);
}

.final__title {
	margin: 16px 0 14px;
	font: 600 clamp(26px, 2.4vw, 36px)/1.14 var(--display);
	letter-spacing: -0.01em;
	color: #fff;
}

/* ---------- Второй экран: пять панелей районов ---------- */

.stop--city {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: 86px;
	padding-bottom: 40px;
}

/* Второй экран без фото: сплошной тёмный фон, как на нынешнем сайте (#161622), с мягким отсветом */
.stop--city {
	background:
		linear-gradient(180deg, #161622 0, rgba(22, 22, 34, 0) 220px, rgba(22, 22, 34, 0) calc(100% - 220px), #161622 100%),
		radial-gradient(1100px 620px at 16% 22%, rgba(245, 165, 36, 0.075), transparent 70%),
		radial-gradient(900px 700px at 88% 96%, rgba(140, 125, 220, 0.07), transparent 70%),
		#161622;
}

/* Переходы — внутри соседних экранов: низ первого уходит в этот цвет, финал из него проявляется */
.stop--hero::after,
.stop--final::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	z-index: -1;
	height: 200px;
	pointer-events: none;
}

.stop--hero::after { bottom: 0; background: linear-gradient(180deg, rgba(22, 22, 34, 0), #161622); }
.stop--final::before { top: 0; background: linear-gradient(180deg, #161622, rgba(22, 22, 34, 0)); }

/* Справа остаётся полоса под худ и радар */
.city { width: calc(100% - var(--radar) - 64px); }

.city__head { display: grid; gap: 6px; margin-bottom: 20px; }

.city__kicker {
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--amber);
}

.city__title {
	font: 600 clamp(24px, 2.1vw, 32px)/1.12 var(--display);
	letter-spacing: -0.01em;
	color: #fff;
	text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.reel {
	display: flex;
	gap: 10px;
	height: clamp(420px, calc(100vh - 240px), 720px);
}

.reel__item {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	overflow: hidden;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: #111;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
	cursor: pointer;
	outline: none;
	transition: flex-grow 0.75s cubic-bezier(0.22, 0.8, 0.24, 1), border-color 0.4s;
}

.reel__item.is-on { flex-grow: 5.2; cursor: default; border-color: rgba(255, 255, 255, 0.16); }
.reel__item:focus-visible { border-color: var(--amber); }

.reel__item img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 8% 50%;
	filter: brightness(0.5) saturate(0.85);
	transform: scale(1.04);
	transition: filter 0.7s ease, transform 1.6s ease, object-position 0.9s cubic-bezier(0.22, 0.8, 0.24, 1);
}

.reel__item:hover img { filter: brightness(0.62) saturate(0.9); }
.reel__item.is-on img { object-position: var(--fx, 50%) 50%; filter: brightness(0.92); transform: scale(1); }

.reel__item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 10, 10, 0.25) 0%, rgba(10, 10, 10, 0) 26%, rgba(10, 10, 10, 0.4) 50%, rgba(10, 10, 10, 0.88) 72%, rgba(10, 10, 10, 0.96) 100%);
	pointer-events: none;
}

/* Свёрнутая панель: время сверху, название снизу вдоль панели */
.reel__time,
.reel__label {
	position: absolute;
	z-index: 2;
	transition: opacity 0.3s ease;
}

.reel__time {
	top: 18px;
	left: 0;
	right: 0;
	text-align: center;
	font: 600 12.5px/1 var(--display);
	letter-spacing: 0.04em;
	color: var(--ink-2);
}

.reel__label {
	left: 50%;
	bottom: 26px;
	writing-mode: vertical-rl;
	transform: translateX(-50%) rotate(180deg);
	white-space: nowrap;
	font: 600 19px/1 var(--display);
	color: #fff;
}

.reel__item.is-on .reel__time,
.reel__item.is-on .reel__label { opacity: 0; }

/* Раскрытая панель: текст внизу. Ширина постоянная — строки не прыгают, пока панель раскрывается */
.reel__body {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 2;
	width: 540px;
	max-width: 100%;
	display: grid;
	gap: 10px;
	padding: 0 34px 34px;
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.25s ease, transform 0.25s ease;
	pointer-events: none;
}

.reel__item.is-on .reel__body {
	opacity: 1;
	transform: none;
	transition: opacity 0.5s ease 0.35s, transform 0.5s ease 0.35s;
	pointer-events: auto;
}

.reel__where {
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-2);
}

.reel__where b { margin-right: 10px; font: 600 12.5px var(--display); letter-spacing: 0.04em; color: var(--amber); }

.reel__body h3 {
	margin: 0;
	font: 600 clamp(24px, 2.2vw, 32px)/1.12 var(--display);
	letter-spacing: -0.01em;
	color: #fff;
}

.reel__body > p:not([class]) { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }

.reel__list {
	margin-top: 4px;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.9;
	color: var(--ink);
}

.reel__list span { white-space: nowrap; }

.reel__list:not(.reel__list--dots) span:not(:last-child)::after {
	content: "";
	display: inline-block;
	width: 3px;
	height: 3px;
	margin: 0 9px 3px;
	border-radius: 50%;
	background: var(--ink-3);
	vertical-align: middle;
}

.reel__list--dots span { display: inline-flex; align-items: center; gap: 7px; margin-right: 16px; }
.reel__list--dots span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }

/* Полоска внизу раскрытой панели — когда сама перелистнётся на следующую */
.reel__bar {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 3;
	width: 0;
	height: 3px;
	background: var(--amber);
}

.reel.is-auto .reel__item.is-on .reel__bar { animation: reelRun var(--auto, 6s) linear forwards; }

@keyframes reelRun { from { width: 0; } to { width: 100%; } }

/* ---------- Первый экран ---------- */

.stop--hero {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.hero {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 130px 0 15vh;
	max-width: 760px;
}

.hero > * { animation: rise 0.9s ease both; }
.hero > :nth-child(2) { animation-delay: 0.12s; }
.hero > :nth-child(3) { animation-delay: 0.24s; }
.hero > :nth-child(4) { animation-delay: 0.36s; }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

.hero__eyebrow {
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--amber);
}

.hero__title {
	margin: 18px 0 30px;
	font: 600 clamp(34px, 4.4vw, 62px)/1.08 var(--display);
	letter-spacing: -0.015em;
	color: #fff;
	text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}

.hero__open-label { font-size: 15px; color: var(--ink-2); }
.hero__open-label b { color: #fff; font-weight: 700; }

.count { display: flex; gap: 10px; margin-top: 14px; }

.count div {
	min-width: 84px;
	padding: 12px 14px 10px;
	border-radius: 10px;
	background: var(--panel);
	border: 1px solid var(--line);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.count b {
	display: block;
	font: 600 30px/1 var(--display);
	font-variant-numeric: tabular-nums;
	color: #fff;
}

.count span {
	display: block;
	margin-top: 6px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.count--done { font: 600 22px/1.3 var(--display); color: var(--amber); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 50px;
	padding: 0 24px;
	border-radius: 9px;
	font-weight: 700;
	font-size: 15px;
	transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
	white-space: nowrap;
}

.btn--main { background: var(--amber); color: var(--amber-ink); }
.btn--main:hover { background: #ffb53d; transform: translateY(-1px); }

.btn--ghost {
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: var(--ink);
	background: rgba(10, 10, 10, 0.3);
	backdrop-filter: blur(8px);
}

.btn--ghost:hover { border-color: #fff; }

.scroll-hint {
	position: absolute;
	left: var(--gutter);
	bottom: clamp(22px, 4.5vh, 44px);
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--ink-3);
	transition: color 0.2s;
}

.scroll-hint:hover { color: var(--ink); }

.scroll-hint__road {
	position: relative;
	width: 2px;
	height: 38px;
	background: rgba(255, 255, 255, 0.18);
	overflow: hidden;
	border-radius: 2px;
}

.scroll-hint__road i {
	position: absolute;
	left: 0;
	width: 2px;
	height: 12px;
	background: var(--amber);
	animation: road 1.6s ease-in-out infinite;
}

@keyframes road { from { top: -12px; } to { top: 38px; } }

/* ---------- Финал ---------- */

.stop--final {
	min-height: 100vh;
	padding-top: 16vh;
}

.final {
	width: min(780px, 100%);
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.final.is-in { opacity: 1; transform: none; }

.final__title { font-size: clamp(30px, 3.4vw, 50px); margin-bottom: 10px; }
.final__lead { font-size: 17px; color: var(--ink-2); }

.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-top: 30px;
	counter-reset: s;
}

.steps li {
	padding: 22px 22px 24px;
	border-radius: 12px;
	background: var(--panel);
	border: 1px solid var(--line);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.steps__n {
	display: block;
	font: 600 13px/1 var(--display);
	color: var(--amber);
}

.steps b { display: block; margin: 14px 0 6px; font-size: 17px; }
.steps p { font-size: 14.5px; line-height: 1.5; color: var(--ink-3); }

.server {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
	padding: 12px 12px 12px 22px;
	border-radius: 12px;
	background: var(--panel);
	border: 1px solid var(--line);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.server__info { display: grid; margin-right: auto; }

.server__label {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.server__ip { font: 600 20px/1.35 var(--display); color: #fff; }

.server__copy {
	height: 50px;
	padding: 0 18px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 9px;
	background: transparent;
	color: var(--ink);
	font: 600 14.5px var(--text);
	cursor: pointer;
	transition: border-color 0.2s;
}

.server__copy:hover { border-color: #fff; }

.server__msg {
	min-height: 22px;
	margin-top: 8px;
	font-size: 14px;
	color: var(--ink-3);
}

.faq { margin-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.12); }

.faq details { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }

.faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 17px 2px;
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
	list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
	content: "";
	width: 9px;
	height: 9px;
	border-right: 2px solid var(--ink-3);
	border-bottom: 2px solid var(--ink-3);
	transform: rotate(45deg) translateY(-3px);
	transition: transform 0.25s;
	flex: none;
}

.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); border-color: var(--amber); }
.faq details p { padding: 0 2px 18px; color: var(--ink-2); font-size: 15px; max-width: 640px; }

.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.social a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 44px;
	padding: 0 16px;
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	font-weight: 600;
	font-size: 14px;
	transition: background 0.2s, border-color 0.2s;
}

.social a:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

.foot {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin-top: 14vh;
	padding: 28px 0 32px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 13.5px;
	text-align: center;
	color: var(--ink-3);
}

.foot__docs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

.foot__docs a {
	padding: 7px 12px;
	border-radius: 7px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: var(--ink-2);
	transition: border-color 0.2s, color 0.2s;
}

.foot__docs a:hover { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.foot__docs a[aria-current="page"] { border-color: var(--amber); color: #fff; }

/* Продавец — ФИО и ИНН самозанятого (ЮKassa, 12.10.2026) */
.foot__seller { font-size: 12.5px; color: var(--ink-3); }

/* ---------- Узкие экраны ---------- */

/* ---------- Предупреждение Windows: рисунок «Подробнее → Выполнить» и окно после «Скачать» ---------- */

.ss { display: flex; align-items: stretch; gap: 12px; margin: 0 0 14px; }
.ss__arrow { flex: none; align-self: center; color: var(--ink-3); font-size: 20px; }
.ss__win {
	position: relative;
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	padding: 12px 12px 10px;
	border-radius: 6px;
	background: #1f4f86;
	color: #fff;
	font-size: 11px;
	line-height: 1.35;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}
.ss__t { font-size: 13px; font-weight: 600; line-height: 1.2; margin-bottom: 6px; }
.ss__l { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.28); margin: 4px 0; }
.ss__l--s { width: 70%; }
.ss__more { align-self: flex-start; margin-top: 4px; text-decoration: underline; }
.ss__meta { margin: 4px 0 2px; color: rgba(255, 255, 255, 0.85); }
.ss__btns { display: flex; justify-content: flex-end; gap: 6px; margin-top: auto; padding-top: 10px; }
.ss__btn { padding: 3px 8px; background: #e8e8e8; color: #222; border-radius: 2px; font-size: 10.5px; white-space: nowrap; }
.ss__hl { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 3px; }
.ss__n {
	position: absolute;
	top: -9px;
	left: -9px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--amber);
	color: var(--amber-ink);
	font: 700 12px/22px var(--display);
	text-align: center;
}

.faq .faq--win p { max-width: 700px; }

.dl-wrap[hidden] { display: none; }
.dl-veil { position: fixed; inset: 0; z-index: 100; background: rgba(6, 6, 10, 0.72); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.dl {
	position: fixed;
	z-index: 101;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: min(600px, calc(100% - 32px));
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 28px 28px 24px;
	border-radius: 16px;
	background: #161622;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.dl__title { margin: 14px 0 8px; font: 600 22px/1.25 var(--display); color: #fff; }
.dl__text { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin-bottom: 14px; }
.dl .ss { margin-top: 18px; }
.dl__check {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-top: 16px;
	padding: 12px 14px;
	border-radius: 10px;
	background: rgba(127, 211, 111, 0.07);
	border: 1px solid rgba(127, 211, 111, 0.22);
}
.dl__check svg { flex: none; width: 26px; height: 26px; }
.dl__check p { font-size: 14px; color: var(--ink-2); }
.vt { color: var(--amber); font-weight: 600; border-bottom: 1px solid rgba(245, 165, 36, 0.35); }
.vt:hover { border-bottom-color: var(--amber); }
.dl__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.dl__ok { border: 0; cursor: pointer; font-family: var(--text); }
.dl__again { margin-left: auto; font-size: 13.5px; color: var(--ink-3); }
.dl__again a { color: var(--ink-2); border-bottom: 1px solid rgba(255, 255, 255, 0.25); }

/* ---------- Скачать для Windows / Android + системные требования (16.11.2026, вариант А) ---------- */

.final--wide { width: min(940px, 100%); }

.plats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; align-items: start; }   /* 16.11: каждая карточка раскрывается сама, соседняя не тянется */

.plat {
	padding: 24px 24px 20px;
	border-radius: 12px;
	background: var(--panel);
	border: 1px solid var(--line);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.plat__head { display: flex; align-items: center; gap: 14px; }
.plat__ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 11px; background: rgba(245, 165, 36, 0.12); color: var(--amber); }
.plat__name { font: 600 19px/1.25 var(--display); color: #fff; }
.plat__sub { font-size: 14px; color: var(--ink-3); }
.plat .btn { width: 100%; margin-top: 20px; }
.os { flex: none; width: 24px; height: 24px; fill: currentColor; }
.btn .os { width: 18px; height: 18px; }

/* Требования свёрнуты — разворачиваются по нажатию */
.reqfold { margin-top: 18px; border-top: 1px solid var(--line); }
.reqfold summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 2px 0; font-weight: 600; font-size: 14.5px; color: var(--ink-2); cursor: pointer; list-style: none; }
.reqfold summary::-webkit-details-marker { display: none; }
.reqfold summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translateY(-3px); transition: transform 0.25s; }
.reqfold[open] summary::after { transform: rotate(225deg) translateY(-3px); border-color: var(--amber); }
.reqfold summary:hover { color: #fff; }

.req { display: grid; margin-top: 16px; font-size: 14px; }
.req__h, .req__r { display: grid; grid-template-columns: 1.05fr 1fr 1fr; column-gap: 12px; row-gap: 2px; padding: 9px 0; border-top: 1px solid var(--line); }
.req__h { padding-top: 0; border-top: 0; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.req__r > :first-child { color: var(--ink-3); }
.req__r b { font-weight: 600; color: var(--ink); }
.req__r span:nth-child(3) { color: var(--ink-2); }
/* пометка под строкой — на обе колонки значений, одной строкой */
.req__wide { grid-column: 2 / -1; font-style: normal; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
/* одно значение на обе колонки (16.11 владелец: «Windows 10 / 11» одинаковое в «минимум» и «рекомендуем») */
.req__both { grid-column: 2 / -1; }

@media (max-width: 900px) {
	.plats { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
	.plat { padding: 20px 16px 16px; }
	/* на телефоне колонка названий узкая — «Windows 10 / 11» и «1 ГБ видеопамяти» в одну строку */
	.req { font-size: 13px; }
	.req__h, .req__r { grid-template-columns: 74px 1fr 1fr; column-gap: 8px; }
	.req__h { font-size: 10.5px; letter-spacing: 0.1em; }
	.req__r span { white-space: nowrap; }
	.req__wide { white-space: normal; }
}

@media (max-width: 600px) {
	.ss { flex-direction: column; gap: 16px; }
	.ss__arrow { transform: rotate(90deg); line-height: 1; }
	.dl { top: 16px; transform: translateX(-50%); padding: 22px 18px 18px; }
	.dl__title { font-size: 19px; }
	.dl__again { margin-left: 0; }
}

@media (max-width: 1100px) {
	.top__nav a:not(.top__cab) { font-size: 13.5px; }

	/* Сетка во всю ширину — радару и названию района места нет */
	.radar, .zone { display: none; }
	.city { width: 100%; }
	.reel__body { width: 460px; padding: 0 26px 28px; }

	.hud { transition: opacity 0.3s; }
	body.is-under .hud { opacity: 0; }
}

@media (max-width: 900px) {
	.top { padding-top: 14px; padding-bottom: 14px; }
	.top__logo img { height: 32px; }
	.top > .top__cab { display: none; }
	.top__burger { display: block; }

	.top__nav {
		position: fixed;
		top: 70px;
		left: var(--gutter);
		right: var(--gutter);
		display: grid;
		gap: 0;
		padding: 8px 18px;
		border-radius: 12px;
		background: rgba(12, 12, 12, 0.94);
		border: 1px solid var(--line);
		backdrop-filter: blur(16px);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
	}

	.top__nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.top__nav a { padding: 13px 0; font-size: 16px !important; border-bottom: 1px solid var(--line); }
	.top__nav a:last-child { border-bottom: 0; }
	.top__nav .top__cab--menu { display: block; margin: 0; padding: 13px 0; border: 0; background: none; color: var(--amber); backdrop-filter: none; }

	.hud { top: 74px; }
	.hud__clock { font-size: 28px; }
	.hud__money { font-size: 16px; }
	.hud__stars i { width: 13px; height: 13px; }

	.steps { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
	/* На телефоне сцена занимает верх экрана, текст лежит под ней */
	.scenes { background: var(--bg); }
	.scene { inset: 0 0 auto 0; height: 66vh; }
	.scene::after {
		content: "";
		position: absolute;
		inset: auto 0 0 0;
		height: 45%;
		background: linear-gradient(180deg, rgba(11, 11, 11, 0), var(--bg));
	}

	.shade { background: linear-gradient(180deg, rgba(8, 8, 8, 0.6) 0%, rgba(8, 8, 8, 0) 18%); }

	/* На телефоне панели идут столбиком и все раскрыты */
	.stop--city { display: block; min-height: 0; padding-top: 110px; padding-bottom: 8vh; }
	.city__title { font-size: 24px; }
	.reel { flex-direction: column; height: auto; gap: 12px; }
	.reel__item { flex: none; display: flex; flex-direction: column; cursor: default; background: var(--panel); }
	.reel__item img { position: relative; inset: auto; height: 190px; object-position: var(--fx, 50%) 62%; filter: none; transform: none; }
	.reel__item::after { inset: 0 0 auto 0; height: 190px; background: linear-gradient(180deg, rgba(13, 13, 13, 0) 55%, rgba(13, 13, 13, 0.9) 100%); }
	.reel__time, .reel__label, .reel__bar { display: none; }
	.reel__body,
	.reel__item.is-on .reel__body { position: relative; width: 100%; padding: 6px 20px 22px; gap: 8px; opacity: 1; transform: none; transition: none; }
	.reel__body h3 { font-size: 22px; }
	.reel__body > p:not([class]) { font-size: 14.5px; line-height: 1.5; }
	.reel__list { font-size: 12.5px; padding-top: 10px; }

	.stop--hero { min-height: 100vh; padding-top: 0; padding-bottom: 0; }
	.hero { justify-content: flex-start; padding: 53vh 0 40px; }
	.hero__eyebrow { display: none; }
	.hero__title { font-size: 31px; margin: 0 0 18px; }
	.hero__actions { margin-top: 20px; }
	.scroll-hint { display: none; }
	.count { gap: 8px; }
	.count div { min-width: 0; flex: 1; padding: 10px 8px 8px; text-align: center; }
	.count b { font-size: 24px; }
	.count span { font-size: 10px; letter-spacing: 0.08em; }
	.hero__actions .btn { flex: 1; }

	.stop--final { min-height: 100vh; padding-top: 56vh; }
	.final__title { font-size: 28px; }
	.foot { margin-top: 8vh; }

	.server { flex-wrap: wrap; padding: 16px; }
	.server__info { width: 100%; }
	.server .btn, .server__copy { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.scene img { transform: none !important; }
	.hero > *, .scroll-hint__road i { animation: none; }
	.reel__item, .reel__body, .final { transition: none !important; }
}
