/*
Theme Name: Speedtop VPN Ru
Theme URI: https://speedtopvpn.info/
Author: Speedtop VPN Ru
Description: Тема сайта Speedtop VPN Ru. Язык дизайна — «трассы и разрядная лента»: белое полотно, фиолетовый градиент офсайта, тёмная пилюля-шапка, панели радиусом 32px, ховер-импульс по контуру карточки.
Version: 1.0.0
Text Domain: stv-theme
*/

/* ==========================================================================
   1. ТОКЕНЫ
   Палитра, контейнер, кнопка, шапка, подвал и радиусы сняты кодом с
   speedtop.io (Nuxt, инлайновые scoped-стили). Сохранены по прямому
   требованию владельца.
   ========================================================================== */
:root {
  /* полотно и чернила */
  --bg:        #ffffff;
  --surface:   #f8f9ff;   /* бледная поверхность офсайта */
  --surface-2: #f2f2f8;
  --ink:       #121212;   /* чернила офсайта */
  --ink-soft:  rgba(18, 18, 18, .62);
  --ink-faint: rgba(18, 18, 18, .40);   /* opacity .4 подвала офсайта */
  --dark:      #09090f;   /* тёмная панель и шапка офсайта */
  --dark-2:    #14141d;
  --on-dark:   #ffffff;
  --on-dark-soft: rgba(255, 255, 255, .70);
  --on-dark-faint: rgba(255, 255, 255, .45);

  /* акцент — градиент офсайта */
  --v1:   #6f5bf2;
  --v2:   #966cec;
  --v-deep: #5847d6;
  --v-pale: #ece9ff;
  --grad: linear-gradient(90deg, #6f5bf2, #966cec);
  --v-shadow:      0 2px 8px rgba(118, 103, 255, .20);
  --v-shadow-hover: 0 6px 20px rgba(118, 103, 255, .30);

  /* линии */
  --line:        hsla(0, 0%, 7%, .08);
  --line-strong: hsla(0, 0%, 7%, .16);
  --line-dark:   rgba(255, 255, 255, .12);

  /* геометрия офсайта */
  --wrap:  1200px;
  --pad:   32px;
  --r-btn:   80px;
  --r-card:  16px;
  --r-tile:  12px;
  --r-panel: 32px;
  --r-mid:   24px;
  --h-btn:   48px;
  --head-h:  80px;

  /* типографика */
  --f: "Google Sans", "Segoe UI", Arial, sans-serif;
  --f-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --w-light: 300;   /* офсайтный 330 */
  --w-mid:   500;   /* офсайтный 520 */

  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

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

a { color: inherit; text-decoration: none; }
p a:not(.btn), li a:not(.btn) {
  color: var(--v-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
p a:not(.btn):hover, li a:not(.btn):hover { color: var(--v1); }

h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 600; line-height: 1.16; letter-spacing: -.022em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); letter-spacing: -.032em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.026em; }
h3 { font-size: clamp(1.12rem, 1.6vw, 1.35rem); }
h4 { font-size: 1.02rem; font-weight: var(--w-mid); }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.05em; padding-left: 1.15em; }
li { margin-bottom: .42em; }
li:last-child { margin-bottom: 0; }

strong, b { font-weight: 600; }

::selection { background: var(--v-pale); color: var(--ink); }

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

.sr {
  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: 1200;
  background: var(--dark); color: #fff; padding: 12px 20px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   3. КОНТЕЙНЕР — 1200px с полями 32px, величины офсайта
   ========================================================================== */
.c {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.c--text { max-width: 820px; }

/* Секции въезжают со сжатием по X — подрезаем на уровне секции.
   `clip`, а не `hidden`: hidden создал бы контейнер прокрутки. */
.sec, .foot, .hero { overflow-x: clip; }

.sec { padding-block: clamp(56px, 7vw, 96px); }
.sec--tint { background: var(--surface); }
.sec--tight { padding-block: clamp(40px, 5vw, 64px); }

/* ==========================================================================
   4. КНОПКИ — геометрия и ховер офсайта
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h-btn);
  padding-inline: 26px;
  border: 0;
  border-radius: var(--r-btn);
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.01em;
  cursor: pointer;
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .2s ease, color .2s ease;
}
.btn svg, .btn i { width: 18px; height: 18px; flex: none; }

.btn--v {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--v-shadow);
}
.btn--v:hover { transform: translateY(-3px); box-shadow: var(--v-shadow-hover); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn--ghost:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--v1); color: var(--v-deep); }

.btn--on-dark {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--line-dark);
}
.btn--on-dark:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .14); }

.btn--sm { height: 40px; padding-inline: 18px; font-size: 14px; }
.btn--wide { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
}

/* ==========================================================================
   5. ШАПКА — fixed, тёмная пилюля #09090f радиусом 80px (форма офсайта)
   ========================================================================== */
.head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  padding-block: 16px;
  pointer-events: none;
}
.head .c { pointer-events: auto; }

.head__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  max-height: var(--head-h);
  padding: 16px 24px;
  background: var(--dark);
  border-radius: var(--r-btn);
  transition: box-shadow .3s var(--ease);
}
body.is-scrolled .head__bar { box-shadow: 0 10px 34px rgba(9, 9, 15, .22); }

.head__logo { display: flex; align-items: center; gap: 9px; flex: none; color: #fff; }
.head__mark { width: 30px; height: 30px; flex: none; }
.head__name { font-size: 17px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.head__name b { font-weight: 600; }
.head__name span {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.head__nav { display: flex; align-items: center; justify-content: center; flex: 1; gap: 22px; padding-inline: 16px; min-width: 0; }
.head__nav a {
  color: var(--on-dark-soft);
  font-size: 15px;
  font-weight: var(--w-mid);
  white-space: nowrap;
  transition: color .2s ease;
}
.head__nav a:hover, .head__nav a[aria-current="page"] { color: #fff; }

.head__act { display: flex; align-items: center; gap: 10px; flex: none; }

.burger {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .08);
  border: 0; border-radius: 50%;
  cursor: pointer; color: #fff;
  flex: none;
}
.burger span {
  display: block; position: relative;
  width: 17px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s ease;
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 1.5px;
  background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after  { top:  6px; }
/* класс состояния НЕ называем .open — он совпадает с классом первого экрана */
.burger.is-on span { background: transparent; }
.burger.is-on span::before { transform: translateY(6px) rotate(45deg); }
.burger.is-on span::after  { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: calc(var(--head-h) + 26px) 16px auto 16px;
  z-index: 899;
  display: none;
  padding: 18px;
  background: var(--dark);
  border-radius: var(--r-mid);
  box-shadow: 0 24px 60px rgba(9, 9, 15, .38);
  max-height: calc(100vh - var(--head-h) - 48px);
  overflow-y: auto;
}
.drawer.is-on { display: block; }
.drawer a {
  display: block;
  padding: 11px 12px;
  color: var(--on-dark-soft);
  font-size: 15.5px;
  font-weight: var(--w-mid);
  border-radius: 10px;
}
.drawer a:hover, .drawer a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .06); }
.drawer .btn { margin-top: 12px; }

/* ==========================================================================
   6. ПЕРВЫЙ ЭКРАН — «трассы и одометр»
   Несущая форма: вертикальные направляющие-трассы с бегущими импульсами
   плюс одометр из разрядных ячеек. Первый кадр — чистый CSS, цифры лежат
   в HTML, скрипт только запускает перекат (грабля пустого первого экрана).
   ========================================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--head-h) + 64px);
  padding-bottom: clamp(48px, 6vw, 80px);
  background: var(--bg);
  isolation: isolate;
}

/* трассы: вертикальные направляющие + бегущие импульсы */
.tracks {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 68%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 68%, transparent 100%);
}
.tracks__rails {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg,
    var(--line) 0 1px, transparent 1px 68px);
  opacity: .9;
}
.tracks__glow {
  position: absolute;
  left: 50%; top: -10%;
  width: min(980px, 116%);
  height: 78%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 60% 52% at 50% 42%, rgba(111, 91, 242, .16), transparent 70%);
  filter: blur(6px);
}
.pulse {
  position: absolute;
  top: -22%;
  width: 1px;
  height: 22%;
  background: linear-gradient(180deg, transparent, var(--v1), transparent);
  opacity: 0;
  animation: run 5.4s linear infinite;
}
@keyframes run {
  0%   { opacity: 0; transform: translateY(0); }
  8%   { opacity: .95; }
  85%  { opacity: .95; }
  100% { opacity: 0; transform: translateY(560px); }
}
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; opacity: .35; } }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 .g {
  display: block;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__lead { font-size: clamp(1.02rem, 1.35vw, 1.16rem); color: var(--ink-soft); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__note { margin-top: 16px; font-size: 13.5px; color: var(--ink-faint); }

/* одометр: разрядные ячейки */
.odo { display: grid; gap: 22px; }
.odo__row {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}
.digits { display: flex; gap: 6px; }
.dg {
  position: relative;
  width: 46px; height: 62px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-variant-numeric: tabular-nums;
}
.dg__reel {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center;
  transition: transform 1.1s var(--ease);
}
.dg__reel b {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 62px; flex: none;
  font-size: 30px; font-weight: 600; letter-spacing: -.03em;
  color: var(--ink);
}
.dg--sep { width: 16px; border: 0; background: none; }
.dg--sep::after {
  content: "";
  position: absolute; left: 50%; bottom: 14px;
  width: 4px; height: 4px; margin-left: -2px;
  background: var(--v1); border-radius: 50%;
}
.odo__plus { font-size: 30px; font-weight: 600; color: var(--v1); line-height: 62px; }
.odo__cap { font-size: 14px; color: var(--ink-soft); max-width: 22ch; padding-bottom: 6px; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__lead { max-width: none; }
}

/* ==========================================================================
   7. РАЗДЕЛИТЕЛЬ СЕКЦИЙ — ряд коротких вертикальных штрихов
   ========================================================================== */
.rule {
  height: 18px;
  background-image: repeating-linear-gradient(90deg,
    var(--line-strong) 0 1px, transparent 1px 12px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  margin-block: clamp(24px, 3vw, 40px);
}
.rule--tall { height: 26px; background-size: auto 26px; }

/* ==========================================================================
   8. КАРТОЧКИ + ХОВЕР-ИМПУЛЬС ПО КОНТУРУ
   Карточка не двигается: по её периметру проходит градиентная искра.
   ========================================================================== */
.card {
  position: relative;
  padding: 26px;
  background: var(--bg);
  border-radius: var(--r-card);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--a, 0deg),
    transparent 0deg, transparent 250deg,
    var(--v2) 300deg, var(--v1) 340deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.card:hover::after { opacity: 1; animation: spark 1.15s linear infinite; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spark { to { --a: 360deg; } }
@media (prefers-reduced-motion: reduce) { .card:hover::after { animation: none; opacity: .6; } }

.card--tint { background: var(--surface); box-shadow: none; }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card__ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-bottom: 16px;
  background: var(--v-pale); color: var(--v-deep); border-radius: 11px;
}
.card__ico svg, .card__ico i { width: 20px; height: 20px; }

.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ==========================================================================
   9. ТЁМНАЯ ПАНЕЛЬ — радиус 32px, форма офсайта
   ========================================================================== */
.panel {
  position: relative;
  padding: clamp(30px, 4.4vw, 56px);
  background: var(--dark);
  color: var(--on-dark);
  border-radius: var(--r-panel);
  overflow: hidden;
}
.panel h2, .panel h3 { color: #fff; }
.panel p { color: var(--on-dark-soft); }
.panel::before {
  content: "";
  position: absolute; right: -12%; top: -55%;
  width: 62%; height: 190%;
  background: radial-gradient(ellipse 50% 40% at 50% 50%, rgba(150, 108, 236, .32), transparent 68%);
  pointer-events: none;
}
.panel__in { position: relative; }
.panel .rule {
  background-image: repeating-linear-gradient(90deg, var(--line-dark) 0 1px, transparent 1px 12px);
}

/* ==========================================================================
   10. ПОДАЧА ЧИСЕЛ — разрядная лента
   ========================================================================== */
.stat { display: flex; align-items: flex-end; gap: 10px; }
.stat__cells { display: flex; gap: 4px; }
.stat__cells b {
  display: flex; align-items: center; justify-content: center;
  min-width: 30px; height: 42px; padding-inline: 5px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-size: 21px; font-weight: 600; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.panel .stat__cells b { background: rgba(255, 255, 255, .05); border-color: var(--line-dark); color: #fff; }
.stat__unit {
  display: flex; flex-direction: column; justify-content: flex-end;
  font-size: 12.5px; line-height: 1.25; color: var(--ink-soft);
  padding-bottom: 4px; max-width: 15ch;
}
.panel .stat__unit { color: var(--on-dark-faint); }

.stats { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

/* ==========================================================================
   11. ТАБЛИЦЫ
   ========================================================================== */
.tw { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-card); }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; }
thead th {
  text-align: left;
  padding: 13px 16px;
  background: var(--surface);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .01em;
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}
tbody td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--surface); }
td .btn { white-space: nowrap; }

/* ==========================================================================
   12. ТАРИФЫ
   ========================================================================== */
.plans { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.plan { position: relative; padding: 28px; background: var(--bg); border-radius: var(--r-mid); box-shadow: inset 0 0 0 1px var(--line); }
.plan--pick { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--v1); }
.plan__tag {
  display: inline-flex; align-items: center; height: 26px; padding-inline: 11px;
  margin-bottom: 12px;
  background: var(--grad); color: #fff;
  border-radius: 99px; font-size: 12px; font-weight: 600;
}
.plan__tag--mute { background: var(--v-pale); color: var(--v-deep); }
.plan h3 { margin-bottom: 6px; }
.plan__price { display: flex; align-items: baseline; gap: 9px; margin: 14px 0 4px; }
.plan__now { font-size: 34px; font-weight: 600; letter-spacing: -.035em; }
.plan__was { font-size: 16px; color: var(--ink-faint); text-decoration: line-through; }
.plan__day { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; font-size: 15px; }
.plan li { position: relative; padding-left: 24px; margin-bottom: 9px; color: var(--ink-soft); }
.plan li::before {
  content: ""; position: absolute; left: 4px; top: .62em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--v1);
}

/* ==========================================================================
   13. ОТЗЫВЫ И ЗВЁЗДЫ
   ========================================================================== */
.star-rating { position: relative; display: inline-flex; line-height: 0; vertical-align: middle; }
.star-rating__bg, .star-rating__fg { display: flex; gap: 2px; }
.star-rating__bg { color: var(--ink-faint); opacity: .35; }
.star-rating__fg { position: absolute; top: 0; left: 0; bottom: 0; overflow: hidden; white-space: nowrap; color: #f0a92b; }
.star-rating svg { width: var(--star-size, 20px); height: var(--star-size, 20px); flex-shrink: 0; fill: currentColor; stroke: currentColor; }

.score { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.score__n { font-size: 52px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }

.voice { padding: 24px; background: var(--bg); border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--line); }
.voice__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.voice__who { font-weight: 600; font-size: 15.5px; }
.voice__when { font-size: 12.5px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.voice p { font-size: 15.5px; color: var(--ink-soft); margin: 0; }

.crit { display: grid; gap: 12px; }
.crit__row { display: grid; grid-template-columns: minmax(0, 1fr) 120px 42px; align-items: center; gap: 14px; }
.crit__bar { height: 6px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.crit__bar i { display: block; height: 100%; background: var(--grad); border-radius: 99px; }
.crit__val { font-size: 14px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   14. АККОРДЕОН FAQ
   ========================================================================== */
.acc { border-top: 1px solid var(--line); }
.acc__i { border-bottom: 1px solid var(--line); }
.acc__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 4px;
  background: none; border: 0;
  font-family: inherit; font-size: 16.5px; font-weight: var(--w-mid); text-align: left;
  color: var(--ink); cursor: pointer;
  transition: color .2s ease;
}
.acc__q:hover { color: var(--v-deep); }
.acc__s { flex: none; width: 22px; height: 22px; position: relative; }
.acc__s::before, .acc__s::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--v1); border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), opacity .2s ease;
}
.acc__s::before { width: 12px; height: 1.6px; }
.acc__s::after  { width: 1.6px; height: 12px; }
.acc__i.is-on .acc__s::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .34s var(--ease); }
.acc__i.is-on .acc__a { grid-template-rows: 1fr; }
.acc__a > div { overflow: hidden; }
.acc__a p { padding: 0 4px 20px; color: var(--ink-soft); font-size: 15.5px; margin: 0; }
.acc__a p + p { padding-top: 0; }

/* ==========================================================================
   15. ПОЯВЛЕНИЕ БЛОКОВ — «разгон»: подъём + распрямление по X
   ========================================================================== */
.rv {
  opacity: 0;
  transform: translateY(18px) scaleX(.94);
  transition: opacity .6s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}
/* Страховка: если наблюдатель не отработал, содержимое всё равно видно */
.no-js .rv { opacity: 1; transform: none; }

/* ==========================================================================
   16. СЛУЖЕБНОЕ: хлебные крошки, лид, перелинковка, платформы
   ========================================================================== */
.stv-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--ink-faint);
  padding-top: calc(var(--head-h) + 42px);
  margin-bottom: 22px;
}
.stv-breadcrumb__link { color: var(--ink-faint); }
.stv-breadcrumb__link:hover { color: var(--v-deep); }
.stv-breadcrumb__current { color: var(--ink-soft); }
.stv-breadcrumb__sep { opacity: .5; }

.lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--ink-soft); max-width: 62ch; }

.rel { display: flex; flex-wrap: wrap; gap: 10px; }
.rel a {
  display: inline-flex; align-items: center; height: 38px; padding-inline: 16px;
  background: var(--surface); border-radius: 99px;
  font-size: 14.5px; font-weight: var(--w-mid); color: var(--ink);
  transition: background-color .2s ease, color .2s ease;
}
.rel a:hover { background: var(--v-pale); color: var(--v-deep); }

.plat { display: flex; align-items: center; gap: 10px; font-weight: var(--w-mid); }
.plat svg, .plat i { width: 19px; height: 19px; color: var(--v-deep); flex: none; }

.note {
  padding: 18px 20px;
  background: var(--surface);
  border-radius: var(--r-tile);
  font-size: 15px;
  color: var(--ink-soft);
}
.note strong { color: var(--ink); }

/* ==========================================================================
   17. ПОДВАЛ — структура офсайта
   ========================================================================== */
.foot { padding: 80px 0 40px; background: var(--bg); }
.foot__top {
  display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap;
  padding-bottom: 40px; border-bottom: 1px solid var(--line);
}
.foot__brand { max-width: 400px; }
.foot__logo { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.foot__logo .head__mark { width: 28px; height: 28px; }
.foot__logo span { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.foot__desc { font-size: 14px; font-weight: var(--w-light); line-height: 1.6; color: var(--ink); opacity: .4; margin: 0; }
.foot__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot__col h3 { font-size: 16px; font-weight: var(--w-mid); margin-bottom: 8px; }
.foot__col ul { list-style: none; margin: 0; padding: 0; }
.foot__col li { margin-bottom: 8px; }
.foot__col li:last-child { margin-bottom: 0; }
.foot__col a { font-size: 14px; font-weight: var(--w-light); color: var(--ink); opacity: .4; transition: opacity .3s ease; }
.foot__col a:hover { opacity: .8; }
.foot__cta { margin-top: 28px; }
.foot__disc {
  margin-top: 40px;
  font-size: 13px; font-weight: var(--w-light); line-height: 1.6;
  color: var(--ink); opacity: .4; text-align: center;
}
.foot__copy {
  margin-top: 14px;
  font-size: 14px; font-weight: var(--w-light); line-height: 1.6;
  color: var(--ink); opacity: .4; text-align: center;
}

/* ==========================================================================
   18. МОБИЛЬНАЯ РЕФ-КНОПКА — видна на первом экране на всех ширинах
   ========================================================================== */
.mcta {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 880;
  display: none;
}
.mcta .btn { width: 100%; box-shadow: var(--v-shadow-hover); }

/* ==========================================================================
   19. 404 / архивы
   ========================================================================== */
.e404 { padding-top: calc(var(--head-h) + 90px); padding-bottom: 90px; text-align: center; }
.e404 .btn { margin-top: 8px; }

.post-card { padding: 24px; border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--line); }
.post-card h2 { font-size: 1.25rem; }

/* ==========================================================================
   20. ЛЕСТНИЦА БРЕЙКПОИНТОВ — 1140 / 980 / 860 / 720 / 580 / 460 / 380
   ========================================================================== */
@media (max-width: 1140px) {
  :root { --pad: 26px; }
  .head__nav { gap: 16px; }
  .head__nav a { font-size: 14.5px; }
  .foot__cols { gap: 40px; }
}

@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: 1fr; }
  .head__nav { display: none; }
  .burger { display: inline-flex; }
  .head__act .btn--v { height: 42px; padding-inline: 18px; font-size: 14px; }
}

@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__top { flex-direction: column; gap: 34px; }
  .crit__row { grid-template-columns: minmax(0, 1fr) 88px 40px; gap: 10px; }
}

@media (max-width: 720px) {
  :root { --pad: 20px; --r-panel: 24px; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .sec { padding-block: clamp(44px, 8vw, 64px); }
  .foot { padding-top: 56px; }
  .foot__cols { gap: 32px; }
  .dg { width: 40px; height: 54px; }
  .dg__reel b { height: 54px; font-size: 26px; }
  .odo__plus { font-size: 26px; line-height: 54px; }
}

@media (max-width: 580px) {
  :root { --head-h: 68px; }
  .head { padding-block: 12px; }
  .head__bar { padding: 12px 16px; min-height: 56px; border-radius: 40px; }
  .head__name { font-size: 16px; }
  .head__mark { width: 26px; height: 26px; }
  .head__act .btn--v { display: none; }
  .mcta { display: block; }
  body { padding-bottom: 76px; }
  .hero { padding-top: calc(var(--head-h) + 44px); }
  .stv-breadcrumb { padding-top: calc(var(--head-h) + 32px); }
  .drawer { inset: calc(var(--head-h) + 22px) 12px auto 12px; }
  h1 { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  .score__n { font-size: 42px; }
  .plan__now { font-size: 30px; }
}

@media (max-width: 460px) {
  :root { --pad: 16px; }
  .card, .plan, .voice { padding: 20px; }
  .panel { padding: 24px 20px; }
  .dg { width: 34px; height: 48px; border-radius: 8px; }
  .dg__reel b { height: 48px; font-size: 22px; }
  .odo__plus { font-size: 22px; line-height: 48px; }
  .odo__cap { font-size: 13px; }
  .stat__cells b { min-width: 26px; height: 38px; font-size: 18px; }
  .crit__row { grid-template-columns: minmax(0, 1fr) 64px 36px; }
}

@media (max-width: 380px) {
  .digits { gap: 4px; }
  .dg { width: 30px; }
  .dg__reel b { font-size: 20px; }
  .btn { padding-inline: 18px; font-size: 14.5px; }
  .foot__cols { gap: 24px; }
}
