/* Страница TagRef — тёмная, как сама программа. Акцентный градиент — цвета иконки. */

:root {
  --bg: #0b0b10;
  --bg-2: #101017;
  --panel: #15151d;
  --panel-2: #1b1b25;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #ededf3;
  --muted: #a3a3b7;
  --dim: #707084;
  --orange: #ff8a4c;
  --pink: #f0508f;
  --violet: #8a6bff;
  --grad: linear-gradient(100deg, #ffb070 0%, #ff6a8c 45%, #8f6bff 100%);
  --radius: 16px;
  --shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.75), 0 0 0 1px var(--line);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 Manrope, 'Segoe UI', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  margin: 0;
}

.wrap {
  width: min(1200px, 100% - 32px);
  margin-inline: auto;
}

.ic {
  flex: none;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background-color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

/* Градиент от внешнего края рамки и без повтора: иначе при дробном масштабе браузера
   он повторялся под прозрачной рамкой и давал фиолетовый шов у правого края кнопки */
.btn-primary {
  background: var(--grad) border-box no-repeat;
  background-size: 100% 100%;
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(240, 80, 143, 0.7);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 14px 40px -10px rgba(240, 80, 143, 0.9);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-2);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
}

.btn-big {
  padding: 15px 26px;
  font-size: 16px;
  border-radius: 14px;
}

.btn-small {
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 10px;
}

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

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 11, 16, 0.6);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.top.scrolled {
  border-bottom-color: var(--line);
  background: rgba(11, 11, 16, 0.82);
}

.top-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.links {
  display: flex;
  gap: 22px;
  margin-left: 16px;
}

.links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.15s;
}

.links a:hover {
  color: var(--text);
}

.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 9px;
  border: 1px solid var(--line);
}

.lang:hover {
  color: var(--text);
  border-color: var(--line-2);
}

/* Меню языков в шапке */
.lang-menu {
  position: relative;
}

.lang-menu summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.lang-menu[open] summary {
  color: var(--text);
  border-color: var(--line-2);
}

.lang-list {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 150px;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--panel);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  z-index: 50;
}

.lang-list a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 8px;
}

.lang-list a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.lang-list a[aria-current] {
  color: var(--text);
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: none;
  cursor: pointer;
  position: relative;
}

.burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s, top 0.2s;
}

.burger span:nth-child(1) {
  top: 13px;
}

.burger span:nth-child(2) {
  top: 19px;
}

.burger span:nth-child(3) {
  top: 25px;
}

/* Открытое меню: полоски превращаются в крестик */
.top.open .burger span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

.top.open .burger span:nth-child(2) {
  opacity: 0;
}

.top.open .burger span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

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

.hero {
  position: relative;
  padding: 72px 0 40px;
  isolation: isolate;
  /* Свечение за заголовком не должно расширять страницу на телефоне (иначе её можно сдвинуть вбок) */
  overflow-x: clip;
}

.glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
}

.g1 {
  width: 560px;
  height: 420px;
  left: 50%;
  top: -120px;
  transform: translateX(-90%);
  background: radial-gradient(circle, #ff7a4a, transparent 70%);
}

.g2 {
  width: 620px;
  height: 460px;
  left: 50%;
  top: -60px;
  transform: translateX(-5%);
  background: radial-gradient(circle, #7b5cff, transparent 70%);
}

.hero-inner {
  text-align: center;
  max-width: 900px;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 26px;
}

h1 {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.lead {
  margin: 26px auto 0;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
}

.hero-buttons {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 16px;
  color: var(--dim);
  font-size: 14px;
  min-height: 1.6em;
}

.hero-shot {
  margin: 56px 0 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line-2), 0 60px 140px -30px rgba(0, 0, 0, 0.9), 0 0 120px -40px rgba(240, 80, 143, 0.45);
  cursor: zoom-in;
  background: var(--panel);
}

/* ---------- Факты ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 56px;
}

.fact {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.fact .ic {
  color: var(--orange);
  margin-top: 2px;
}

.fact b {
  display: block;
  font-size: 16px;
}

.fact span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

/* ---------- Возможности ---------- */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: center;
  padding: 110px 0 0;
}

.feature.flip .feature-text {
  order: 2;
}

/* Широкий блок: текст по центру, анимация на всю ширину — интерфейс почти в натуральную величину */
.feature.wide {
  grid-template-columns: 1fr;
  gap: 40px;
}

.feature.wide .feature-text {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.feature.wide .points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
}

.feature.wide .points li {
  font-size: 15px;
}

.feature.wide .shot {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.kicker {
  color: var(--orange);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.feature h2,
.section-title {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
}

.feature-lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}

.points {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 600;
}

.points .ic {
  color: #fff;
  background: var(--grad);
  border-radius: 50%;
  padding: 3px;
  margin-top: 2px;
}

.formats-title {
  margin-top: 26px;
  color: var(--dim);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.formats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.formats span {
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 7px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--muted);
}

.shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--panel);
  cursor: zoom-in;
}

.feature-cards {
  display: block;
}

.centered {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.card {
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}

.card .ic,
.more-item .ic,
.support-card .ic {
  color: var(--pink);
}

.card h3,
.more-item h3 {
  font-size: 18px;
  margin: 16px 0 8px;
}

.card p,
.more-item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- Ещё ---------- */

.more {
  padding-top: 120px;
}

.section-title {
  text-align: center;
}

.section-lead {
  text-align: center;
  color: var(--muted);
  font-size: 17px;
  max-width: 680px;
  margin: 16px auto 0;
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 44px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.more-item {
  background: var(--bg-2);
  padding: 26px 24px;
}

/* ---------- Галерея и вкладки ---------- */

.gallery {
  padding-top: 120px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 32px auto 26px;
  padding: 5px;
  width: fit-content;
  max-width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--muted);
  background: none;
  border: 0;
  padding: 9px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.tab:hover {
  color: var(--text);
}

.tab.on {
  color: var(--text);
  background: var(--panel-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.tabs.small {
  margin: 20px 0;
}

/* ---------- Скачать и установка ---------- */

.download-zone {
  margin-top: 130px;
  padding: 100px 0;
  background: radial-gradient(900px 400px at 50% 0%, rgba(138, 107, 255, 0.16), transparent 70%), var(--bg-2);
  border-block: 1px solid var(--line);
}

.dl-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 340px));
  justify-content: center;
  gap: 18px;
  margin-top: 40px;
}

.dl-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 32px 26px 22px;
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: border-color 0.2s, transform 0.2s;
}

.dl-card:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
}

.dl-os {
  color: var(--text);
  margin-bottom: 8px;
}

.dl-title {
  font-size: 22px;
  font-weight: 800;
}

.dl-note {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}

.dl-size {
  color: var(--dim);
  font-size: 13px;
  min-height: 1.6em;
  margin-top: 4px;
}

.dl-version {
  text-align: center;
  color: var(--dim);
  font-size: 14px;
  margin-top: 18px;
}

.dl-version a {
  color: var(--muted);
}

.install {
  max-width: 820px;
  margin: 80px auto 0;
}

.install h3 {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
}

.install .tabs {
  margin-inline: auto;
}

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.steps[hidden] {
  display: none;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 20px 16px 62px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
}

.steps li b {
  color: var(--text);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  background: var(--grad);
}

.install-extra {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 28px;
}

.extra-card {
  display: flex;
  gap: 14px;
  padding: 20px;
  border-radius: 14px;
  border: 1px dashed var(--line-2);
}

.extra-card .ic {
  color: var(--violet);
  margin-top: 2px;
}

.extra-card p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 6px;
}

.docs {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 6px;
}

.docs a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
}

.docs a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* ---------- Инструкции ---------- */

.guides {
  max-width: 1000px;
  margin: 90px auto 0;
  scroll-margin-top: 90px;
}

.guides h3 {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.guide-card:hover {
  border-color: rgba(138, 107, 255, 0.55);
  transform: translateY(-2px);
}

.guide-card > .ic {
  color: var(--violet);
}

.guide-card b {
  font-size: 18px;
  line-height: 1.3;
}

.guide-card > span {
  color: var(--muted);
  font-size: 15px;
  flex: 1;
}

.guide-card .guide-open {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
}

/* ---------- Обратная связь ---------- */

.feedback {
  padding: 110px 0 110px;
  max-width: 820px;
}

.fb-form {
  margin-top: 34px;
  padding: 30px;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  display: grid;
  gap: 18px;
}

.fb-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fb-topics input,
.fb-agree input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fb-topics span {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.fb-topics span:hover {
  color: var(--text);
}

.fb-topics input:checked + span {
  color: #fff;
  border-color: transparent;
  background: var(--grad) border-box no-repeat;
}

.fb-topics input:focus-visible + span,
.fb-agree input:focus-visible + span::before {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
}

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

.fb-field {
  display: grid;
  gap: 7px;
}

.fb-field > span {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.fb-field input,
.fb-field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  resize: vertical;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.fb-field input::placeholder,
.fb-field textarea::placeholder {
  color: var(--dim);
}

.fb-field input:focus,
.fb-field textarea:focus {
  border-color: rgba(138, 107, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(138, 107, 255, 0.18);
}

/* Вложения: фото и видео */
.fb-files {
  display: grid;
  gap: 10px;
}

.fb-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px dashed var(--line-2);
  border-radius: 12px;
  cursor: pointer;
  color: var(--muted);
  transition: border-color 0.15s, background 0.15s;
}

.fb-drop:hover,
.fb-form.drag .fb-drop {
  border-color: rgba(138, 107, 255, 0.7);
  background: rgba(138, 107, 255, 0.07);
}

.fb-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.fb-drop:focus-within {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
}

.fb-drop > .ic {
  color: var(--violet);
}

.fb-drop span {
  display: grid;
}

.fb-drop b {
  color: var(--text);
  font-size: 15px;
}

.fb-drop small {
  font-size: 13px;
  line-height: 1.45;
}

.fb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.fb-list:empty {
  display: none;
}

.fb-list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 6px 8px 6px 6px;
  border-radius: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.fb-thumb {
  width: 40px;
  height: 40px;
  border-radius: 7px;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: var(--panel-2);
  color: var(--muted);
  font-size: 15px;
}

.fb-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.fb-list small {
  color: var(--dim);
  font-size: 13px;
}

.fb-del {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.fb-del:hover {
  color: var(--text);
  background: var(--panel-2);
}

.fb-form.drag {
  border-color: rgba(138, 107, 255, 0.6);
}

.fb-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fb-agree {
  position: relative;
  display: flex;
  cursor: pointer;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.fb-agree span {
  display: flex;
  gap: 12px;
}

.fb-agree span::before {
  content: '';
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 6px;
  border: 1.5px solid var(--line-2);
  background: var(--bg-2) center / 14px no-repeat;
  transition: background-color 0.15s, border-color 0.15s;
}

.fb-agree input:checked + span::before {
  border-color: transparent;
  background-color: var(--pink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.fb-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.fb-actions .btn[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.fb-status {
  font-size: 15px;
  color: var(--muted);
}

.fb-status.good {
  color: #5fd38d;
}

.fb-status.bad {
  color: #ff7a7a;
}

.fb-mail {
  color: var(--dim);
  font-size: 14px;
}

.fb-mail a {
  color: var(--muted);
}

/* ---------- Поддержка ---------- */

.support {
  padding-top: 40px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.support-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.support-card[href]:hover {
  border-color: rgba(240, 80, 143, 0.5);
  transform: translateY(-2px);
}

.support-card b {
  font-size: 20px;
}

.support-card span {
  color: var(--muted);
  font-size: 15px;
  flex: 1;
}

.support-card .support-go {
  flex: none;
  margin-top: 8px;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: var(--grad);
}

.support-card.soon {
  cursor: default;
}

.support-card.soon .support-go {
  background: var(--panel-2);
  color: var(--dim);
}

.support-note {
  text-align: center;
  color: var(--dim);
  font-size: 14px;
  margin-top: 20px;
}

/* ---------- Вопросы ---------- */

.faq {
  padding: 120px 0 80px;
  max-width: 820px;
}

.faq .section-title {
  margin-bottom: 32px;
}

details {
  border-bottom: 1px solid var(--line);
}

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

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

summary .ic {
  color: var(--dim);
  transition: transform 0.2s;
}

details[open] summary .ic {
  transform: rotate(180deg);
}

details p {
  color: var(--muted);
  padding: 0 4px 22px;
}

/* ---------- Подвал ---------- */

.foot {
  border-top: 1px solid var(--line);
  padding: 40px 0 50px;
  background: var(--bg-2);
}

.foot-inner {
  display: grid;
  gap: 14px;
}

.foot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.foot-brand span {
  color: var(--dim);
  font-weight: 600;
}

.foot-brand span a {
  color: inherit;
}

.foot-brand span a:hover {
  color: var(--muted);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.foot-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  transition: color 0.15s, border-color 0.15s;
}

.foot-links a:hover {
  color: var(--text);
  border-color: var(--line-2);
}

.foot-links .foot-lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.foot-lang .ic {
  color: var(--violet);
}

/* Меню языков внизу страницы — раскрывается вверх */
.foot-lang-menu summary.foot-lang {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  transition: color 0.15s, border-color 0.15s;
}

.foot-lang-menu summary.foot-lang:hover,
.foot-lang-menu[open] summary.foot-lang {
  color: var(--text);
  border-color: var(--line-2);
}

.foot-lang-menu summary .ic:last-child {
  color: var(--dim);
  transition: transform 0.15s;
}

.foot-lang-menu[open] summary .ic:last-child {
  transform: rotate(180deg);
}

.foot-lang-menu .lang-list {
  top: auto;
  bottom: calc(100% + 8px);
}

.foot-links .lang-list a {
  border: 0;
  padding: 8px 12px;
}

.disclaimer {
  color: var(--dim);
  font-size: 13px;
  max-width: 860px;
  line-height: 1.55;
}

/* ---------- Увеличенный скриншот ---------- */

.zoom {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(5, 5, 8, 0.92);
  display: grid;
  place-items: center;
  padding: 24px;
  cursor: zoom-out;
}

.zoom[hidden] {
  display: none;
}

.zoom img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--line-2);
}

.zoom-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-2);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}

/* ---------- Появление при прокрутке ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.shown {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

@media (max-width: 1180px) {
  .links {
    gap: 18px;
    margin-left: 8px;
  }
  .links a {
    font-size: 14px;
  }
}

@media (max-width: 1060px) {
  .burger {
    display: block;
  }
  .links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px 16px 18px;
    flex-direction: column;
    gap: 0;
    background: #0b0b10;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  }
  .top.open .links {
    display: flex;
  }
  .links a,
  .links a:hover {
    font-size: 17px;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }
  .links a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 1000px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .facts {
    grid-template-columns: repeat(2, 1fr);
  }
  .more-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 90px;
  }
  .feature.flip .feature-text {
    order: 0;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .top-actions .btn-small span {
    display: none;
  }
  .hero {
    padding-top: 48px;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .hero-shot {
    margin-top: 40px;
    border-radius: 12px;
  }
  .fb-row {
    grid-template-columns: 1fr;
  }
  .fb-form {
    padding: 20px;
  }
  .cards,
  .support-grid,
  .install-extra,
  .dl-cards {
    grid-template-columns: 1fr;
  }
  .facts {
    grid-template-columns: 1fr;
  }
  .more-grid {
    grid-template-columns: 1fr;
  }
  .tabs {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
  }
  .tab {
    flex: none;
  }
  .download-zone {
    padding: 70px 0;
    margin-top: 100px;
  }
  .steps li {
    padding-left: 56px;
  }
}
