/*
Theme Name: Planet VPN Ru
Description: Тема сайта Planet VPN Ru — русскоязычный сайт о VPN-сервисе Planet VPN.
Version: 1.0.0
Author: Planet VPN Ru
Text Domain: pvpn-theme
*/

/* ==========================================================
   1. Токены
   ========================================================== */
:root {
  --maxw: 1300px;
  --pad: 24px;

  --bg: #ffffff;
  --surface: #f1f4fb;
  --surface-2: #e3e8f6;
  --line: #c2ccdf;

  --ink: #1d1d35;
  --muted: #5a78a6;

  --accent: #fb1b43;
  --accent-deep: #e90b32;

  --leaf: #87ab49;
  --leaf-light: #9bc256;
  /* Тёмный вариант зелёного для текста на светлом фоне: --leaf даёт 2,64:1
     на белой шапке, это ниже порога 4,5. #55732a даёт 5,45:1 при том же тоне. */
  --leaf-deep: #55732a;
  --night: #1d253a;

  --star: #f2c94c;

  --r: 24px;
  --r-sm: 14px;
  --r-pill: 999px;

  --f-display: "Geologica", system-ui, sans-serif;
  --f-text: "Nunito", system-ui, sans-serif;

  --topbar-h: 72px;
}

/* ==========================================================
   2. База
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 1.25rem + 2.9vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.35rem); }
h3 { font-size: clamp(1.12rem, 1rem + 0.5vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

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

ul, ol { margin: 0 0 18px; padding-left: 22px; }
li { margin-bottom: 8px; }
li:last-child { margin-bottom: 0; }

strong { font-weight: 700; }

:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; border-radius: 4px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* Контейнер */
.orbit {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.orbit--tight { max-width: 900px; }

/* Вертикальный ритм: широкие поля, как на офсайте */
.zone { padding: 78px 0; }
.zone--top { padding-top: 46px; }
.zone--flat { padding-bottom: 0; }

.lede {
  font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.22rem);
  color: #46506b;
  max-width: 62ch;
}

.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

.zone__head { max-width: 44ch; margin: 0 auto 42px; text-align: center; }
.zone__head .lede { margin-inline: auto; }

/* ==========================================================
   3. Кнопки
   ========================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 17px 30px;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { text-decoration: none; }

.btn--go { background: var(--accent); color: #fff; }
.btn--go:hover { background: var(--accent-deep); transform: translateY(-2px); }

.btn--leaf { background: var(--leaf); color: #fff; }
.btn--leaf:hover { background: #779a3c; transform: translateY(-2px); }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn--onnight { background: #fff; color: var(--ink); }
.btn--onnight:hover { background: var(--surface-2); transform: translateY(-2px); }

.btn--sm { padding: 13px 22px; font-size: .93rem; }
.btn--xs { padding: 9px 16px; font-size: .85rem; white-space: nowrap; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-row--center { justify-content: center; }

/* ==========================================================
   4. Шапка
   ========================================================== */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.topbar.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 26px rgba(29,37,58,.06); }

.topbar__row {
  display: flex; align-items: center; gap: 22px;
  min-height: var(--topbar-h);
}

.mark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.mark:hover { text-decoration: none; }
.mark__glyph { width: 34px; height: 34px; flex-shrink: 0; }
.mark__word { font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; }
.mark__word span { color: var(--leaf-deep); }

.route { display: flex; gap: 4px; margin-left: auto; }
.route a {
  color: var(--ink); font-size: .95rem; font-weight: 600;
  padding: 9px 12px; border-radius: var(--r-pill);
  white-space: nowrap;
  transition: background-color .16s ease, color .16s ease;
}
.route a:hover { background: var(--surface); text-decoration: none; }
.route a.is-here { color: var(--accent-deep); }

.topbar__cta { flex-shrink: 0; }
.topbar__cta .short { display: none; }

.hatch {
  display: none; width: 44px; height: 44px; flex-shrink: 0;
  background: var(--surface); border: 0; border-radius: 12px;
  cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.hatch i { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.hatch i::before, .hatch i::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .2s ease, top .2s ease;
}
.hatch i::before { top: -6px; }
.hatch i::after { top: 6px; }
.hatch.is-open i { background: transparent; }
.hatch.is-open i::before { top: 0; transform: rotate(45deg); }
.hatch.is-open i::after { top: 0; transform: rotate(-45deg); }

.drop { display: none; border-top: 1px solid var(--line); background: #fff; }
.drop.is-open { display: block; }
.drop ul { list-style: none; margin: 0; padding: 12px 0 20px; }
.drop li { margin: 0; }
.drop a { display: block; padding: 13px 0; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--surface); }
.drop a:hover { color: var(--accent-deep); text-decoration: none; }

/* ==========================================================
   5. Первый экран
   ========================================================== */
.launch { padding: 56px 0 40px; }
.launch__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: 54px;
  align-items: center;
}
.launch h1 { margin-bottom: 22px; }
.launch__lede { font-size: clamp(1.06rem, 1rem + 0.4vw, 1.2rem); color: #46506b; margin-bottom: 30px; }

.claims { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 26px; margin: 0 0 32px; padding: 0; list-style: none; }
@media (min-width: 620px) { .claims { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.claims li { display: flex; align-items: flex-start; gap: 12px; margin: 0; font-weight: 600; font-size: .97rem; }
.claims .claims__mark {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px;
  background: #eaf2da; color: #6f9038;
  display: inline-flex; align-items: center; justify-content: center;
}
.claims .claims__mark svg { width: 18px; height: 18px; }

.launch__stage { position: relative; }
.stage-tile {
  background: var(--leaf-light);
  border-radius: var(--r);
  padding: 16px;
  min-height: 420px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.stage-tiled {
  background: var(--leaf-light);
  border-radius: var(--r);
  padding: 16px;
  min-height: 420px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
/* Исходник квадратный (1024x1024). Кадрируем его в ландшафтную рамку 4:3
   через object-fit: cover — пропорции не искажаются, а первый экран не растёт
   на всю высоту плитки. */
.stage-tile img {
  border-radius: 16px;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
.stage-fallback {
  width: 100%; min-height: 340px; border-radius: 16px;
  background: rgba(255,255,255,.28);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.stage-fallback svg { width: 92px; height: 92px; opacity: .85; }

.stage-badge {
  position: absolute; left: -18px; top: 40px;
  background: #fff; border-radius: 18px;
  box-shadow: 0 18px 44px rgba(29,37,58,.16);
  padding: 16px 22px; text-align: center;
  max-width: 240px;
}
/* Специфичность важна: правило `.stage-badge span` ниже перебивает одиночный
   класс и красит звёзды в приглушённый цвет вместо золотого. */
.stage-badge .stage-badge__stars { display: flex; gap: 3px; justify-content: center; color: var(--star); margin-bottom: 6px; }
.stage-badge__stars svg { width: 15px; height: 15px; fill: currentColor; stroke: currentColor; }
.stage-badge b { display: block; font-family: var(--f-display); font-size: 1.02rem; }
.stage-badge span { font-size: .82rem; color: var(--muted); }

/* ==========================================================
   6. Платформы (иконки: серые → фирменный цвет + подрастают)
   ========================================================== */
.platforms { text-align: center; }
.platforms__row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 26px; margin: 0 0 34px; padding: 0; list-style: none;
}
.platforms__row li { margin: 0; }

.platforms__chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; border-radius: 16px;
  color: #8fa4c6;
  opacity: 0; transform: translateY(14px);
  transition: color .16s ease, transform .16s ease, background-color .16s ease, opacity .45s ease;
}
.platforms__chip svg { width: 30px; height: 30px; fill: currentColor; }
.platforms__chip:hover,
.platforms__chip:focus-visible {
  color: var(--brand, var(--ink));
  background: var(--surface);
  transform: translateY(0) scale(1.12);
  text-decoration: none;
}
.platforms__chip.is-shown { opacity: 1; transform: translateY(0); }
.platforms__chip.is-shown:hover,
.platforms__chip.is-shown:focus-visible { transform: translateY(0) scale(1.12); }

.platforms__chip[data-brand="windows"] { --brand: #0078d4; }
.platforms__chip[data-brand="apple"]   { --brand: #444a56; }
.platforms__chip[data-brand="android"] { --brand: #3ddc84; }
.platforms__chip[data-brand="linux"]   { --brand: #111318; }
.platforms__chip[data-brand="chrome"]  { --brand: #4285f4; }
.platforms__chip[data-brand="firefox"] { --brand: #ff7139; }
.platforms__chip[data-brand="edge"]    { --brand: #0f7ebf; }
.platforms__chip[data-brand="opera"]   { --brand: #ff1b2d; }
.platforms__chip[data-brand="huawei"]  { --brand: #cf0a2c; }
.platforms__chip[data-brand="router"]  { --brand: #87ab49; }
.platforms__chip[data-brand="tv"]      { --brand: #1d253a; }
.platforms__chip[data-brand="ovpn"]    { --brand: #ea7e20; }

.pill-note { font-size: .9rem; color: var(--muted); }

/* ==========================================================
   7. Бенто-сетка ассиметричных плиток
   ========================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}
.tile {
  border-radius: var(--r);
  padding: 38px;
  min-width: 0;
  display: flex; flex-direction: column;
  border: 1px solid transparent;
  transition: border-color .18s ease;
}
.tile > *:last-child { margin-bottom: 0; }

.tile--mist  { background: var(--surface); }
.tile--paper { background: var(--surface-2); }
.tile--leaf  { background: var(--leaf-light); color: #1c2a12; }
.tile--leaf h2, .tile--leaf h3 { color: #16210e; }
.tile--night { background: var(--night); color: #dbe3f4; }
.tile--night h2, .tile--night h3 { color: #fff; }
.tile--night a { color: #b9d688; }

.tile:hover { border-color: var(--line); }
.tile--leaf:hover { border-color: #6f9038; }
.tile--night:hover { border-color: #3c4a6e; }

/* спаны */
.sp-3  { grid-column: span 3; }
.sp-4  { grid-column: span 4; }
.sp-5  { grid-column: span 5; }
.sp-6  { grid-column: span 6; }
.sp-7  { grid-column: span 7; }
.sp-8  { grid-column: span 8; }
.sp-12 { grid-column: span 12; }

.tile__art { margin-top: auto; padding-top: 26px; }
/* Картинки плиток тоже квадратные: композиция занимает весь кадр, поэтому
   кадрировать их нельзя — вместо этого просто уменьшаем, чтобы иллюстрация
   не была выше текстовой части плитки. */
.tile__art img {
  border-radius: 16px;
  width: 100%;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}
.tile__art-fallback {
  border-radius: 16px; background: rgba(255,255,255,.3);
  min-height: 150px; display: flex; align-items: center; justify-content: center;
}
.tile__art-fallback svg { width: 56px; height: 56px; opacity: .6; }

/* стат-плитка */
.stat { justify-content: center; padding: 30px 32px; }
.stat b {
  display: block; font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.1rem); line-height: 1; letter-spacing: -.03em;
}
.stat span { display: block; margin-top: 8px; font-size: .95rem; opacity: .8; }
.stat--column { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; grid-column: span 3; }
.stat--column .tile { padding: 26px 28px; }

/* ==========================================================
   8. Карточки-факты
   ========================================================== */
.facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fact {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 26px 28px; display: flex; gap: 18px; align-items: flex-start;
  transition: border-color .18s ease, transform .18s ease;
  min-width: 0;
}
.fact:hover { border-color: var(--leaf); transform: translateY(-2px); }
.fact__ico {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px;
  background: #eaf2da; color: #6f9038;
  display: inline-flex; align-items: center; justify-content: center;
}
.fact__ico svg { width: 22px; height: 22px; }
/* без min-width:0 текстовая колонка флекса не сжимается ниже самого длинного
   слова и распирает карточку на узких экранах */
.fact > div { min-width: 0; }
.fact h3 { margin-bottom: 7px; overflow-wrap: anywhere; }
.fact p { font-size: .95rem; color: #46506b; }

/* Нумерованные шаги */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; counter-reset: s; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li {
  counter-increment: s; margin: 0; min-width: 0;
  background: var(--surface); border-radius: var(--r-sm); padding: 28px;
}
.steps li::before {
  content: counter(s);
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; margin-bottom: 14px;
  border-radius: var(--r-pill); background: var(--accent); color: #fff;
  font-family: var(--f-display); font-weight: 700;
}
.steps h3 { margin-bottom: 6px; }
.steps p { font-size: .95rem; color: #46506b; }

/* ==========================================================
   9. Тарифы
   ========================================================== */
.plans { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.plan {
  border: 1px solid var(--line); border-radius: var(--r); padding: 34px;
  background: #fff; display: flex; flex-direction: column; min-width: 0;
  transition: border-color .18s ease, transform .18s ease;
}
.plan:hover { border-color: var(--leaf); transform: translateY(-3px); }
.plan--pick { border-color: var(--leaf); border-width: 2px; position: relative; }
.plan__flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--leaf); color: #fff; font-family: var(--f-display); font-weight: 600;
  font-size: .82rem; padding: 6px 18px; border-radius: var(--r-pill); white-space: nowrap;
}
.plan__term { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; margin-bottom: 14px; }
.plan__cost { font-family: var(--f-display); font-weight: 700; font-size: 2.7rem; line-height: 1; letter-spacing: -.03em; }
.plan__per { font-size: .95rem; color: var(--muted); font-weight: 600; }
.plan__total { margin: 12px 0 0; font-size: .93rem; color: var(--muted); }
.plan__total s { opacity: .7; }
.plan__save { display: inline-block; margin-top: 12px; background: #ffe7ec; color: var(--accent-deep); font-weight: 700; font-size: .85rem; padding: 5px 13px; border-radius: var(--r-pill); }
.plan__list { list-style: none; margin: 22px 0 26px; padding: 0; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.plan__list svg { flex-shrink: 0; width: 17px; height: 17px; margin-top: 4px; color: var(--leaf); }
.plan__list .no { color: var(--line); }
.plan .btn { margin-top: auto; width: 100%; }

/* Воздух вокруг блока тарифов: сверху — место под флажок «выгоднее всего»,
   который вынесен за границу карточки на -14px; снизу — чтобы следующий
   заголовок или таблица не прилипали к кнопкам карточек. */
.plans { margin-top: 18px; margin-bottom: 26px; }
.plans + .lede,
.plans + p { margin-top: 40px; }
.prose .table-wrap { margin-top: 26px; }
.prose h2 + .table-wrap { margin-top: 24px; }

/* ==========================================================
   10. Таблицы
   ========================================================== */
.table-wrap { overflow-x: auto; margin: 0 0 26px; border: 1px solid var(--line); border-radius: var(--r-sm); }
table.data { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem; background: #fff; }
table.data th, table.data td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data thead th { background: var(--surface); font-family: var(--f-display); font-weight: 600; font-size: .9rem; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td strong { font-family: var(--f-display); }
.yes { color: var(--leaf); font-weight: 700; }
.no { color: var(--muted); }

@media (max-width: 640px) {
  .table-wrap { overflow-x: visible; border: 0; }
  table.data { min-width: 0; }
  table.data thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  table.data, table.data tbody, table.data tr, table.data td { display: block; width: 100%; }
  table.data tr { border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 14px; overflow: hidden; background: #fff; }
  table.data tr:last-child { margin-bottom: 0; }
  table.data td { padding: 11px 15px 11px 44%; position: relative; min-height: 22px; }
  table.data tr td:last-child { border-bottom: 0; }
  table.data td::before {
    content: attr(data-label); position: absolute; left: 15px; top: 11px; width: 38%;
    font-weight: 700; font-size: .82rem; color: var(--muted);
  }
}

/* ==========================================================
   11. FAQ — открытая карточка раздвигается шире соседних
   ========================================================== */
.ask-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }

.ask {
  background: #fff; border-radius: var(--r-sm); border: 1px solid var(--line);
  transition: box-shadow .2s ease, margin .2s ease, border-color .2s ease;
}
.ask.is-open {
  margin-inline: -14px;
  border-color: transparent;
  box-shadow: 0 18px 42px rgba(29,37,58,.13);
}

.ask__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; color: var(--ink);
  padding: 24px 60px 24px 28px; position: relative; line-height: 1.35;
}
.ask__q::after {
  content: ""; position: absolute; right: 26px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease, border-color .2s ease;
}
.ask.is-open .ask__q::after { transform: translateY(-20%) rotate(225deg); border-color: var(--accent); }

.ask__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.ask.is-open .ask__a { grid-template-rows: 1fr; }
.ask__a > div { overflow: hidden; }
.ask__a p { padding: 0 34px 4px 28px; color: #46506b; font-size: .98rem; }
.ask__a p:last-child { padding-bottom: 26px; }

@media (max-width: 640px) {
  .ask.is-open { margin-inline: 0; }
  .ask__q { padding: 20px 50px 20px 20px; font-size: .99rem; }
  .ask__a p { padding-left: 20px; padding-right: 22px; }
}

/* ==========================================================
   12. Отзывы и рейтинг
   ========================================================== */
.score {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 34px;
  background: var(--surface); border-radius: var(--r); padding: 32px 36px; margin-bottom: 34px;
}
.score__num { font-family: var(--f-display); font-weight: 700; font-size: 3.4rem; line-height: 1; letter-spacing: -.03em; }
.score__of { font-size: 1rem; color: var(--muted); font-weight: 600; }

.star-rating { position: relative; display: inline-flex; line-height: 0; vertical-align: middle; }
.star-rating__bg, .star-rating__fg { display: flex; gap: 3px; }
.star-rating__bg { color: var(--muted); opacity: .3; }
.star-rating__fg { position: absolute; top: 0; left: 0; bottom: 0; overflow: hidden; white-space: nowrap; color: var(--star); }
.star-rating svg { width: var(--star-size, 20px); height: var(--star-size, 20px); flex-shrink: 0; fill: currentColor; stroke: currentColor; }

.criteria { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; flex: 1 1 300px; min-width: 0; }
.criteria div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: .93rem; }
.criteria b { font-family: var(--f-display); }

.voices { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .voices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.voice { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 26px 28px; background: #fff; min-width: 0; }
.voice__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.voice__top > div { min-width: 0; }
.voice__who { font-family: var(--f-display); font-weight: 600; }
.voice__when { font-size: .85rem; color: var(--muted); }
.voice p { font-size: .96rem; color: #46506b; }

/* ==========================================================
   13. Финальная полоса CTA
   ========================================================== */
.band {
  background: var(--night); color: #dbe3f4;
  border-radius: var(--r); padding: 62px 42px; text-align: center;
}
.band h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.band p { max-width: 56ch; margin-inline: auto; margin-bottom: 28px; }

/* ==========================================================
   14. Внутренние страницы
   ========================================================== */
.trail { font-size: .87rem; color: var(--muted); padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trail a { color: var(--muted); }
.trail a:hover { color: var(--accent-deep); }
.trail span[aria-current] { color: var(--ink); }

.page-top { padding: 26px 0 14px; }
.page-top h1 { max-width: 20ch; }
.page-top .lede { margin-top: 18px; }

.prose h2 { margin-top: 52px; }
.prose h3 { margin-top: 34px; }
.prose > *:first-child { margin-top: 0; }
.prose ul li::marker { color: var(--leaf); }

.callout {
  background: var(--surface); border-left: 4px solid var(--leaf);
  border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 22px 26px; margin: 26px 0;
}
.callout p { font-size: .97rem; }

.next-up { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin-top: 12px; }
@media (min-width: 760px) { .next-up { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.next-up a {
  display: block; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--ink); font-family: var(--f-display); font-weight: 600; font-size: .97rem;
  transition: border-color .18s ease, transform .18s ease; min-width: 0;
}
.next-up a:hover { border-color: var(--leaf); transform: translateY(-2px); text-decoration: none; }
.next-up span { display: block; font-family: var(--f-text); font-weight: 400; font-size: .87rem; color: var(--muted); margin-top: 5px; }

/* ==========================================================
   15. Подвал — одна широкая полоса, без трёх колонок «about + два списка»
   ========================================================== */
.base { background: var(--night); color: #a9b6d2; padding: 56px 0 34px; margin-top: 78px; }
.base a { color: #cfd9ee; }
.base a:hover { color: #fff; }

.base__top { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between; padding-bottom: 30px; border-bottom: 1px solid #2f3a58; }
.base__mark { display: inline-flex; align-items: center; gap: 11px; color: #fff; }
.base__mark:hover { text-decoration: none; }
.base__mark svg,
.base__mark img { width: 34px; height: 34px; flex-shrink: 0; }
.base__mark b { font-family: var(--f-display); font-size: 1.1rem; }

.base__links { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 26px 0; list-style: none; margin: 0; }
.base__links li { margin: 0; }
.base__links a { font-size: .93rem; }

.base__note { font-size: .85rem; color: #7d8cae; max-width: 92ch; }
.base__copy { font-size: .85rem; color: #7d8cae; margin-top: 12px; }

/* ==========================================================
   16. Адаптив
   ========================================================== */
@media (max-width: 1080px) {
  .launch__grid { gap: 36px; }
  .tile { padding: 30px; }
  .sp-7, .sp-8 { grid-column: span 12; }
	  .launch__grid { grid-template-columns: minmax(0, 1fr); }
  .sp-5, .sp-4, .sp-3 { grid-column: span 6; }
  .stat--column { grid-column: span 12; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stage-tiled { min-height: 320px; padding: 16px; max-width: 600px;
        margin: 0 auto;}
}

@media (max-width: 1160px) {
  /* Строка шапки в одну линию требует 1065px: знак, восемь пунктов меню и
     реф-кнопка. Порог бургера поднят с 940 до 1160 — в полосе 941..1065
     меню уезжало за правый край и страница скроллилась вбок. */
  .route { display: none; }
  .hatch { display: inline-flex; }
  .topbar__cta { margin-left: auto; }
}

@media (max-width: 940px) {
  .stage-tile { min-height: 320px; padding: 26px; }
	.stage-tiled { min-height: 320px; padding: 16px; max-width: 600px;
        margin: 0 auto;}
  /* На узких экранах бейдж выходит из абсолютного позиционирования и встаёт
     под плиткой: наложенным на картинку он закрывал её нижний левый угол. */
  .zone { padding: 58px 0; }
  .band { padding: 46px 26px; }
}
@media (max-width: 570px) {   .stage-badge {
    position: static;
    max-width: 280px;
    margin: 14px auto 0;
    box-shadow: 0 10px 26px rgba(29, 37, 58, .12);
  }
}
@media (max-width: 720px) {
  :root { --pad: 16px; --r: 20px; }
  body { font-size: 16px; }
  .tile { padding: 26px 22px; }
  .sp-3, .sp-4, .sp-5, .sp-6 { grid-column: span 12; }
  .stat--column { grid-template-columns: minmax(0, 1fr); }
  .score { padding: 26px 22px; }
  .score__num { font-size: 2.8rem; }
  .base__top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .topbar__cta .full { display: none; }
  .topbar__cta .short { display: inline; }
  .topbar__cta .btn { padding: 12px 18px; font-size: .9rem; }
  .platforms__chip { width: 54px; height: 54px; }
  .platforms__row { gap: 6px 14px; }
  .btn { width: 100%; }
  .btn-row .btn { width: auto; flex: 1 1 100%; }
  .stage-badge { max-width: 210px; padding: 13px 18px; }
}
@media (max-width: 440px) {
	.stage-tiled { min-height: 0; padding: 0; }
}
@media (max-width: 380px) {
  .mark__word { display: none; }
}

/* ==========================================================
   17. Уважение к настройке «меньше движения»
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .platforms__chip { opacity: 1; transform: none; }
}
