/*
Theme Name: VPNTYPE Ru
Theme URI: https://vpn-type.help/
Description: Тема сайта VPNTYPE Ru. Язык дизайна «Регистры атласа».
Author: VPNTYPE Ru
Version: 1.0.6
Text Domain: vtp-theme
*/

/* ============================================================
   КОНТРАКТ НАПРАВЛЕНИЯ (выбран владельцем 16.09.2026, карта 3)

   THESIS       Сайт читается как справочник, который листают: страница
                открывается на нужном регистре, а не уговаривает. Отказ от
                карточек с иконками и от панели подключения с тумблером.
   OWN-WORLD    Бумага #F8F8F8, чернила #2C2C35, индиго #5C75C9 на корешке
                и активном регистре. Несущая форма — лист с вырубными
                вкладками справа. Дисплей и проза набраны Old Standard TT,
                интерфейс — El Messiri.
   STORY        Человек открывает свой регистр (страна, платформа, шаг),
                находит ответ и уходит по кнопке в кабинет VPNTYPE.
   FIRST VIEWPORT  Слева заголовок, лид, две кнопки и две колонцифры;
                справа лист с регистрами континентов. Главная кнопка —
                реферальная, видна без скролла на 1280, 390 и 360.
   FORM         Один радиус 4px на весь сайт, ховер — вкладка выдвигается
                на 3px, цифры набраны серифом как колонцифры на полях.
   MOTION       Один поставленный момент: индиго проступает сквозь лист на
                первом экране и сквозь форзац. Больше на сайте не движется
                ничего, кроме состояний. Механика — nebula.js.
   ============================================================ */

/* ── Токены ──────────────────────────────────────────────── */
:root{
  --ink:#2C2C35;
  --deep:#11132D;
  --acc:#5C75C9;
  --acc-deep:#4A61B0;   /* под белой подписью: 5,79:1 (офсайтный #5C75C9 даёт 4,34 — ниже порога) */
  --acc-ink:#3D52A0;    /* ховер кнопки */
  --acc-pale:#EEF1FA;
  --mute:#62666F;       /* офсайтный #737781 давал 4,08 на подложке #F4F4F4; этот — 5,23 */
  --paper:#F8F8F8;
  --sheet:#FFFFFF;
  --tint:#F4F4F4;
  --line:#E2E5EB;
  --line-strong:#C2C4CA;
  --ok:#60AC71;
  --warn:#E55D5D;

  --hull:1440px;      /* контейнер по правилу 19: не меньше 1400 */
  --gut:44px;
  --col:940px;        /* длина строки ограничена внутри контейнера */
  --r:4px;            /* один масштаб скруглений на весь сайт */
  --spine-h:72px;

  --f-disp:"Old Standard TT",Georgia,"Times New Roman",serif;
  --f-ui:"El Messiri","Old Standard TT",Georgia,sans-serif;

  --vtpneb-gain:1.45;    /* сила проступания: 0,62 сдержанно — 1 — 1,45 выраженно */
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font:400 17px/1.65 var(--f-disp);
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--acc-deep);text-underline-offset:3px}
a:hover{color:var(--ink)}
h1,h2,h3,h4{font-family:var(--f-disp);font-weight:700;letter-spacing:-.015em;margin:0;overflow-wrap:break-word;hyphens:auto}
h1{font-size:clamp(2.1rem,1.25rem+2.7vw,3.4rem);line-height:1.08}
h2{font-size:clamp(1.5rem,1.1rem+1.5vw,2.3rem);line-height:1.15;margin-bottom:14px}
h3{font-size:clamp(1.15rem,1rem+.5vw,1.4rem);line-height:1.25;margin-bottom:8px}
p{margin:0 0 14px}
ul,ol{margin:0 0 16px;padding-left:22px}
li{margin-bottom:7px}
::selection{background:var(--acc);color:#fff}
:focus-visible{outline:2px solid var(--acc);outline-offset:3px}
html{scrollbar-color:var(--line-strong) var(--paper)}

.hull{width:100%;max-width:var(--hull);margin:0 auto;padding-left:var(--gut);padding-right:var(--gut)}
.col{max-width:var(--col)}
.ui{font-family:var(--f-ui)}
.num{font-family:var(--f-disp);font-variant-numeric:tabular-nums}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-9999px}
.skip:focus{left:8px;top:8px;z-index:60;background:var(--sheet);padding:10px 14px;border:1px solid var(--ink);border-radius:var(--r)}

/* ── Кнопки ─────────────────────────────────────────────── */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:46px;padding:0 24px;border-radius:var(--r);
  font-family:var(--f-ui);font-size:16px;font-weight:600;line-height:1;
  text-decoration:none;border:1px solid transparent;cursor:pointer;
  transition:transform .18s cubic-bezier(.16,1,.3,1),background-color .18s,color .18s,border-color .18s;
}
.btn--main{background:var(--acc-deep);color:#fff}
.btn--main:hover{background:var(--acc-ink);color:#fff;transform:translateY(-2px)}
.btn--ghost{background:transparent;color:var(--ink);border-color:var(--ink)}
.btn--ghost:hover{background:var(--ink);color:var(--paper);transform:translateY(-2px)}
.btn--quiet{background:var(--sheet);color:var(--ink);border-color:var(--line-strong)}
.btn--quiet:hover{border-color:var(--ink);transform:translateY(-2px)}
.btn--sm{min-height:40px;padding:0 18px;font-size:15px}
.btn--xs{min-height:34px;padding:0 14px;font-size:14px;white-space:nowrap}
.btn--wide{width:100%}
.btn i,.btn svg{width:18px;height:18px;flex:0 0 auto}

/* ── Корешок: шапка ─────────────────────────────────────── */
.spine{position:sticky;top:0;z-index:40;background:var(--sheet);border-bottom:2px solid var(--ink)}
.spine__in{display:flex;align-items:center;gap:28px;height:var(--spine-h)}
.mark{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);flex:0 0 auto}
.mark__sq{width:26px;height:26px;border-radius:2px;background:var(--acc);flex:0 0 auto;position:relative}
/* корешок и обрез страницы внутри знака — рисуются градиентом, это не рамка карточки */
.mark__sq::after{content:"";position:absolute;left:5px;right:5px;top:6px;bottom:6px;
  background:linear-gradient(90deg,var(--sheet) 0 2px,transparent 2px calc(100% - 1px),rgba(255,255,255,.55) calc(100% - 1px))}
.mark__txt{font-family:var(--f-disp);font-weight:700;font-size:21px;letter-spacing:-.01em}
.mark__ru{font-family:var(--f-ui);font-weight:400;font-size:15px;color:var(--mute);margin-left:2px}
.index{display:flex;gap:20px;font-family:var(--f-ui);font-size:15.5px;min-width:0;flex-wrap:nowrap}
.index a{color:var(--mute);text-decoration:none;white-space:nowrap;padding:4px 0;border-bottom:2px solid transparent}
.index a:hover{color:var(--ink)}
.index a.on{color:var(--ink);border-bottom-color:var(--acc)}
.spine__cta{margin-left:auto;display:flex;align-items:center;gap:10px;flex:0 0 auto}
.thumb{display:none;width:42px;height:42px;align-items:center;justify-content:center;background:transparent;border:1px solid var(--line-strong);border-radius:var(--r);cursor:pointer}
.thumb i{width:20px;height:20px}
/* Панель меню фиксируется под шапкой: в потоке документа она открывалась бы
   в самом верху страницы и оставалась за экраном, если меню открыть на середине. */
.sheaf{display:none;position:fixed;left:0;right:0;top:calc(var(--spine-h) + 2px);z-index:39;
  background:var(--sheet);border-bottom:2px solid var(--ink);
  max-height:calc(100dvh - var(--spine-h) - 2px);overflow-y:auto;overscroll-behavior:contain}
.sheaf.is-open{display:block}
.btn__short{display:none}
.sheaf__list{display:grid;gap:0;padding:8px 0 18px}
.sheaf__list a{font-family:var(--f-ui);font-size:17px;color:var(--ink);text-decoration:none;padding:12px 2px;border-bottom:1px solid var(--line)}
.sheaf__list a:last-child{border-bottom:0}
.sheaf__list a.on{color:var(--acc-deep);font-weight:600}

/* ── Крошки ─────────────────────────────────────────────── */
.crumbs{font-family:var(--f-ui);font-size:14px;color:var(--mute);padding:18px 0 0}
.crumbs a{color:var(--mute)}
.crumbs__sep{margin:0 8px;color:var(--line-strong)}

/* ── Первый экран: разворот ─────────────────────────────── */
.opening{ 
    padding: 56px 0 64px;
}
.openingg {display: flex;
    padding: 56px 0 64px;
    min-height: 800px;
    align-items: center;}
.opening__grid{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:60px;align-items:start}
.opening__lead{margin-top:22px;font-size:19px;line-height:1.55;color:var(--mute);max-width:34em}
.opening__row{margin-top:30px;display:flex;gap:12px;flex-wrap:wrap}
.folio{margin-top:40px;display:flex;gap:44px;flex-wrap:wrap}
.folio__n{font-family:var(--f-disp);font-weight:700;font-size:42px;line-height:1;font-variant-numeric:tabular-nums}
.folio__t{font-family:var(--f-ui);font-size:14.5px;color:var(--mute);max-width:15em;margin-top:4px}

/* ── Несущая форма: лист с регистрами ───────────────────── */
.atlas{display:grid;grid-template-columns:minmax(0,1fr) 148px}
.leaf{background:var(--sheet);border:1px solid var(--line);border-right:0;padding:26px 30px 24px;min-width:0}
.leaf__head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;
  border-bottom:1px solid var(--ink);padding-bottom:10px;margin-bottom:16px}
.leaf__ttl{font-family:var(--f-disp);font-weight:700;font-size:20px}
.leaf__no{font-family:var(--f-ui);font-size:13px;color:var(--mute);white-space:nowrap}
.leaf__body{min-width:0}
.cols{columns:2;column-gap:34px}
.cols .row{break-inside:avoid;display:flex;justify-content:space-between;gap:12px;padding:5px 0;border-bottom:1px dotted var(--line)}
.cols .row span{font-family:var(--f-ui);font-size:14px;color:var(--mute)}
/* Вырубной регистр. Неактивная вкладка утоплена и подкрашена, активная выходит
   на цвет листа и сливается с его краем (margin-left:-1px перекрывает рамку листа). */
.tabs{display:grid;align-content:start;gap:6px;padding-top:22px;min-width:0}
.tab{position:relative;display:block;width:calc(100% - 8px);text-align:left;background:var(--tint);
  border:1px solid #cdd0d7;border-left-color:transparent;
  border-radius:0 var(--r) var(--r) 0;padding:10px 13px;font-family:var(--f-ui);font-size:14.5px;color:var(--mute);cursor:pointer;
  transition:transform .18s cubic-bezier(.16,1,.3,1),background-color .18s,color .18s}
.tab:hover{transform:translateX(3px);color:var(--ink)}
.tab b{display:block;font-size:12.5px;font-weight:400;color:var(--mute)}
.tab.on{width:100%;margin-left:-1px;background:var(--sheet);color:var(--acc-deep);font-weight:600;border-color:var(--line)}
.tab.on:hover{transform:none}
.tab.on b{color:var(--mute)}

/* ── Секции ─────────────────────────────────────────────── */
.sheet{padding:72px 0}
.sheet--tint{background:var(--tint);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.sheet--tight{padding:52px 0}
.sheet__head{margin-bottom:26px}
.sheet__head p{color:var(--mute);max-width:var(--col);margin-top:8px}

/* ── Плиты и списки ─────────────────────────────────────── */
.plates{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.plates--2{grid-template-columns:minmax(0,1fr)}
.plate{background:var(--sheet);border:1px solid var(--line);border-radius:var(--r);padding:22px 24px;min-width:0}
.plate h3{margin-bottom:6px}
.plate p:last-child{margin-bottom:0}
.plate__n{font-family:var(--f-disp);font-weight:700;font-size:30px;line-height:1;font-variant-numeric:tabular-nums;margin-bottom:6px}

/* Нумерованные шаги: колонцифра на поле, без карточки */
.steps{display:grid;gap:0;border-top:1px solid var(--line)}
.step{display:grid;grid-template-columns:64px minmax(0,1fr);gap:20px;padding:22px 0;border-bottom:1px solid var(--line);align-items:start}
.step__n{font-family:var(--f-disp);font-weight:700;font-size:32px;line-height:1;color:var(--acc);font-variant-numeric:tabular-nums}
.step p:last-child{margin-bottom:0}

/* ── Таблицы ────────────────────────────────────────────── */
.tablewrap{overflow-x:auto;border:1px solid var(--line);border-radius:var(--r);background:var(--sheet)}
table.data{width:100%;border-collapse:collapse;font-family:var(--f-ui);font-size:15px}
table.data th,table.data td{padding:12px 16px;text-align:left;vertical-align:middle;border-bottom:1px solid var(--line)}
table.data th{font-size:13px;font-weight:600;color:var(--mute);background:var(--tint);white-space:nowrap}
table.data tr:last-child td{border-bottom:0}
table.data td:first-child{font-family:var(--f-disp);font-weight:700}

/* ── Тарифы ─────────────────────────────────────────────── */
.plans{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.plan{background:var(--sheet);border:1px solid var(--line);border-radius:var(--r);padding:24px;display:flex;flex-direction:column;min-width:0}
.plan.on{border-color:var(--acc-deep);box-shadow:0 0 0 3px var(--acc-pale)}
.plan__term{font-family:var(--f-ui);font-size:15px;color:var(--mute)}
.plan__price{font-family:var(--f-disp);font-weight:700;font-size:40px;line-height:1.1;margin:6px 0 2px;font-variant-numeric:tabular-nums}
.plan__sub{font-family:var(--f-ui);font-size:14px;color:var(--mute)}
.plan__note{margin:14px 0 18px;color:var(--mute);font-size:16px}
.plan .btn{margin-top:auto}

/* ── Отзывы и оценка ────────────────────────────────────── */
.voices{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.voice{background:var(--sheet);border:1px solid var(--line);border-radius:var(--r);padding:20px 22px;min-width:0}
.voice__top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.voice__who{font-family:var(--f-disp);font-weight:700;font-size:17px}
.voice p{margin:0;font-size:16.5px}
.stars{position:relative;display:inline-flex;line-height:0;vertical-align:middle}
.stars__bg,.stars__fg{display:flex;gap:2px}
.stars__bg{color:var(--line-strong)}
.stars__fg{position:absolute;top:0;left:0;bottom:0;overflow:hidden;white-space:nowrap;color:var(--acc)}
.stars svg{width:var(--star-size,18px);height:var(--star-size,18px);flex-shrink:0;fill:currentColor;stroke:currentColor}
.score{display:flex;align-items:baseline;gap:14px;margin-bottom:6px}
.score__n{font-family:var(--f-disp);font-weight:700;font-size:56px;line-height:1;font-variant-numeric:tabular-nums}
.bars{display:grid;gap:0;border-top:1px solid var(--line)}
.bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:14px 0;border-bottom:1px solid var(--line);align-items:baseline}
.bar__t{font-family:var(--f-disp);font-weight:700;font-size:17px}
.bar__d{font-family:var(--f-ui);font-size:15px;color:var(--mute);margin-top:3px}
.bar__n{font-family:var(--f-disp);font-weight:700;font-size:20px;font-variant-numeric:tabular-nums}

/* ── Аккордеон ──────────────────────────────────────────── */
.qa{border-top:1px solid var(--line)}
.qa__item{border-bottom:1px solid var(--line)}
.qa__q{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;
  background:none;border:0;padding:18px 0;text-align:left;cursor:pointer;
  font-family:var(--f-disp);font-weight:700;font-size:18px;color:var(--ink)}
.qa__q i{width:18px;height:18px;flex:0 0 auto;color:var(--acc);transition:transform .2s}
.qa__item.is-open .qa__q i{transform:rotate(45deg)}
.qa__a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .24s cubic-bezier(.16,1,.3,1)}
.qa__item.is-open .qa__a{grid-template-rows:1fr}
.qa__a>div{overflow:hidden}
.qa__a p{padding-bottom:18px;margin:0;max-width:var(--col)}

/* ── Читайте также ──────────────────────────────────────── */
.also{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;border-top:1px solid var(--line)}
.also__item{display:grid;gap:2px;padding:16px 14px 16px 0;border-bottom:1px solid var(--line);text-decoration:none;color:var(--ink);
  transition:transform .18s cubic-bezier(.16,1,.3,1)}
.also__item:hover{transform:translateX(3px)}
.also__item:hover .also__ttl{color:var(--acc-deep)}
.also__ttl{font-family:var(--f-disp);font-weight:700;font-size:17px}
.also__sub{font-family:var(--f-ui);font-size:14.5px;color:var(--mute)}

/* ── Форзац: финальный призыв ───────────────────────────── */
.endpaper{background:var(--deep);color:var(--paper);padding:60px 0}
.endpaper h2{color:#fff}
.endpaper p{color:#B9BCCB;max-width:60ch}
.endpaper .btn--ghost{color:var(--paper);border-color:rgba(255,255,255,.45)}
.endpaper .btn--ghost:hover{background:var(--paper);color:var(--deep)}
.endpaper__row{margin-top:22px;display:flex;gap:12px;flex-wrap:wrap}

/* ── Выходные данные: подвал ────────────────────────────── */
.colophon{background:var(--sheet);border-top:2px solid var(--ink);padding:44px 0 30px}
.colophon__grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr);gap:36px}
.colophon h4{font-family:var(--f-ui);font-size:13px;font-weight:600;color:var(--mute);margin-bottom:12px}
.colophon ul{list-style:none;margin:0;padding:0}
.colophon li{margin-bottom:9px}
/* Только ссылки списков. Голое `.colophon a` (0,1,1) перебивало `.btn--main` (0,1,0)
   и красило подпись реф-кнопки в подвале цветом текста: 3,19:1 по замеру CDP. */
.colophon li a{font-family:var(--f-ui);font-size:15.5px;color:var(--ink);text-decoration:none}
.colophon li a:hover{color:var(--acc-deep);text-decoration:underline}
.colophon__cta{margin-top:30px}
.colophon__note{margin-top:28px;padding-top:18px;border-top:1px solid var(--line);
  font-family:var(--f-ui);font-size:14px;color:var(--mute);display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}

/* ── Мелочи ─────────────────────────────────────────────── */
.note{font-family:var(--f-ui);font-size:15px;color:var(--mute)}
.pills{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.pills li{font-family:var(--f-ui);font-size:14.5px;border:1px solid var(--line-strong);border-radius:var(--r);padding:5px 12px;margin:0;background:var(--sheet)}
.lead{font-size:19px;color:var(--mute);max-width:var(--col)}

/* ── Фон: индиго сквозь лист ─────────────────────────────
   Холст лежит ПОД содержимым секции и ПОВЕРХ её собственного фона.
   Нулевая плотность поля равна цвету секции (--paper на первом экране,
   --deep на форзаце), поэтому до отработки скрипта секция уже своего
   цвета: пустого или чёрного состояния у фона не бывает.
   Имена свои (vtpneb…), состояний вида `.open` здесь нет намеренно. */
.opening,.endpaper{position:relative}
.opening>.hull,.endpaper>.hull{position:relative;z-index:1}
.vtpneb{
  position:absolute;inset:0;z-index:0;
  display:block;width:100%;height:100%;
  pointer-events:none;              /* фон не перехватывает клики */
  opacity:0;transition:opacity .45s linear;
}
.vtpneb-ready .vtpneb{opacity:1}

/* ── 404 ────────────────────────────────────────────────── */
.lost{padding:90px 0 80px}
.lost__n{font-family:var(--f-disp);font-weight:700;font-size:clamp(4rem,2rem+8vw,8rem);line-height:1;color:var(--acc)}

/* ============================================================
   АДАПТИВ. Лестница порогов у темы своя: 1320 / 1180 / 1000 /
   820 / 620 / 440. Проверяется CDP-замером по каждому порогу,
   порогу-1, порогу+1 и узкой точке следующего диапазона.
   ============================================================ */
@media (max-width:1320px){
  :root{--gut:36px}
  .index{gap:16px;font-size:15px}
  .opening__grid{gap:44px}
}
@media (max-width:1180px){
  /* Порог бургера. Строка шапки здесь уже не помещается: знак, семь пунктов
     и кнопка требуют больше ширины, чем даёт контейнер за вычетом полей. */
  .index{display:none}
  .thumb{display:inline-flex}
  .opening__grid{grid-template-columns:minmax(0,1fr);gap:36px}
  .atlas{grid-template-columns:minmax(0,1fr) 132px}
}
@media (min-width:1001px){
  .plates--2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .plates--3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .plans{grid-template-columns:repeat(3,minmax(0,1fr))}
  .voices{grid-template-columns:repeat(2,minmax(0,1fr))}
  .also{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1000px){
  :root{--gut:28px;--spine-h:66px}
  .sheet{padding:56px 0}
  .opening{padding:40px 0 48px}
  .folio{gap:32px}
}
@media (max-width:820px){
  .atlas{grid-template-columns:minmax(0,1fr)}
  .leaf{border-right:1px solid var(--line)}
  /* регистры ложатся лентой под лист и выходят из его нижнего края */
  .tabs{grid-auto-flow:column;grid-auto-columns:minmax(112px,1fr);overflow-x:auto;padding-top:0;gap:4px}
  .tab{width:100%;border:1px solid var(--line);border-top-color:transparent;border-radius:0 0 var(--r) var(--r)}
  .tab.on{margin-left:0;margin-top:-1px;border-top-color:transparent}
  .tab:hover{transform:translateY(3px)}
  .colophon__grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media (max-width:620px){
  :root{--gut:20px}
  body{font-size:16.5px}
  .cols{columns:1}
  .colophon__grid{grid-template-columns:minmax(0,1fr);gap:26px}
  .step{grid-template-columns:44px minmax(0,1fr);gap:14px}
  .score__n{font-size:46px}
  .folio__n{font-size:34px}

  /* Таблица платформ разворачивается карточками: подписи берутся из data-label */
  table.data thead{display:none}
  table.data,table.data tbody,table.data tr,table.data td{display:block;width:100%}
  table.data tr{border-bottom:1px solid var(--line);padding:14px 16px}
  table.data tr:last-child{border-bottom:0}
  table.data td{border:0;padding:3px 0}
  table.data td::before{content:attr(data-label);display:block;font-size:12.5px;color:var(--mute);margin-bottom:2px}
  table.data td:first-child{font-size:18px}
  .tablewrap{overflow-x:visible}
}
/* ── Шапка на узких экранах: порядок жертв по чек-листу ──
   Замер CDP 16.09.2026: знак 159.8 + зазор 28 + кнопка 165.2 + 10 + бургер 42
   = 405px, место кончается ниже 437px окна.
   1) ≤480 — короткая подпись кнопки;
   2) ≤400 — ужимаются зазоры и кегль знака;
   3) ≤345 — гаснет подпись знака, и только потому, что иначе не сходится. */
@media (max-width:480px){
  .spine .btn__full{display:none}
  .spine .btn__short{display:inline}
}
@media (max-width:440px){
  :root{--gut:16px}
  /* «конфиденциальности» при 33,6px шире 288px: на 320 страница вылезала на 7px */
  h1{font-size:1.75rem}
  .opening__row .btn{width:100%}
  .folio{gap:22px}
}
@media (max-width:400px){
  .spine__in{gap:14px}
  .spine__cta{gap:6px}
  .thumb{width:38px;height:38px}
  .mark{gap:8px}
  .mark__txt{font-size:19px}
  .mark__ru{font-size:13px}
  .spine .btn--sm{padding:0 14px}
}
@media (max-width:345px){
  .mark__txt{display:none}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}
}
