/*
  Витрина. Только то, что есть на главной и нигде больше.

  Кнопки, карточки, поля, шторка — в components.css. Здесь их нет
  намеренно: два определения на один класс уже приводили к тому, что
  побеждало случайное.

  Принцип раскладки: воздух вместо рамок. Границами очерчено только то,
  что действительно группа — тарифы и вопросы. Остальное держится
  расстоянием, и страница читается сверху вниз без усилий.
*/

/* ================= Шапка ================= */
/*
  Шапка стоит поверх тёмного первого экрана и прозрачна — под ней виден
  hero, текст белый. Как только страница прокручена, становится светлым
  стеклом с тёмным текстом. Приём Linear и Stripe: у входа один цельный
  тёмный блок, без белой полосы сверху.
*/
.nav{
  position:sticky;top:0;z-index:50;
  border-bottom:1px solid transparent;
  transition:background var(--norm) var(--ease),border-color var(--norm) var(--ease);
}
.nav-in{display:flex;align-items:center;gap:var(--s24);height:68px}

/* --- Поверх тёмного hero: светлый текст --- */
.nav .brand{color:#fff}
/* «VPN» использует silver-1, а в светлой теме это тёмный цвет — на тёмной
   шапке он пропадал. Здесь делаем его светлым, на светлом стекле — обычным. */
.nav .brand-name .vpn{color:rgba(239,244,251,.62)}
.nav.stuck .brand-name .vpn{color:var(--silver-1)}
.nav-links{display:flex;gap:var(--s32);margin-left:auto}
.nav-links a{font-size:15px;color:rgba(239,244,251,.82);
  transition:color var(--fast) var(--ease)}
.nav-links a:hover{color:#fff}
.nav-cta{display:flex;align-items:center;gap:var(--s8);margin-left:var(--s24)}
.signin{
  display:inline-flex;align-items:center;gap:8px;
  height:40px;padding:0 14px;border-radius:var(--r-field);
  font-size:15px;font-weight:500;color:#fff;
  box-shadow:inset 0 0 0 1px rgba(239,244,251,.32);
  transition:color var(--fast) var(--ease),background var(--fast) var(--ease),
             box-shadow var(--fast) var(--ease);
}
.signin:hover{color:#fff;background:rgba(239,244,251,.08)}
.signin svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;
  stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
/*
  «Купить» поверх тёмного hero делаем светлой. По умолчанию она заливается
  цветом --rim, а в светлой теме он почти чёрный — получалась тёмная кнопка
  на тёмном фоне, и её не было видно.
*/
.nav .btn-primary{background:#fff;color:#05070A;box-shadow:0 4px 14px rgba(0,0,0,.35)}
.nav .btn-primary:hover:not(:disabled){background:rgba(255,255,255,.9);opacity:1}

/* --- Прокручено: светлое стекло, тёмный текст --- */
.nav.stuck{
  background:var(--glass);border-bottom-color:var(--line);
  -webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);
}
.nav.stuck .brand{color:var(--text)}
.nav.stuck .nav-links a{color:var(--silver-1)}
.nav.stuck .nav-links a:hover{color:var(--text)}
.nav.stuck .signin{color:var(--silver-1);box-shadow:var(--ring)}
.nav.stuck .signin:hover{color:var(--text);background:var(--ink-3)}
/* На светлом стекле возвращаем обычную кнопку: тёмная с белым текстом. */
.nav.stuck .btn-primary{background:var(--rim);color:var(--ink-1);box-shadow:var(--e2)}
.nav.stuck .btn-primary:hover:not(:disabled){background:var(--rim);opacity:.9}

@media (max-width:860px){
  .nav-links{display:none}
  .nav-cta{margin-left:auto}
  .signin span{display:none}
  .signin{padding:0 11px}
}

/* ================= Первый экран ================= */
/*
  Первый экран всегда тёмный, независимо от темы страницы. Так делают
  Stripe, Linear, Vercel: глубокий фон со свечением создаёт ощущение
  дорогого продукта сразу, ещё до текста. На светлой теме страница ниже
  остаётся светлой — контраст только усиливает вход.

  Композиция split: слева слово, справа сам продукт. Раньше на экране был
  только текст по центру — это визитка, а не витрина SaaS.
*/
.hero{
  position:relative;overflow:hidden;
  /* Первый экран — всегда тёмный, даже когда страница светлая. Поэтому
     переопределяем палитру прямо здесь: всё внутри (мокап, кнопки, линии)
     подхватывает тёмные токены само. Раньше я брал var(--ink-1), но в
     светлой теме она становится белой — отсюда белый текст на белом. */
  --ink-1:#05070A; --ink-2:#0F1115; --ink-3:#16191D; --ink-4:#212327;
  --steel-2:#656A72; --steel-3:#8C939B;
  --silver-1:#ABB6C4; --silver-2:#C6D4E7; --rim:#EFF4FB; --text:#FFFFFF;
  --line:rgba(239,244,251,.08);
  --edge:inset 0 1px 0 rgba(239,244,251,.10);
  --ring:inset 0 0 0 1px rgba(239,244,251,.08);
  background:#05070A;color:#fff;
  /* Заезжает под прозрачную шапку (68px), поэтому padding-top включает её. */
  margin-top:-68px;
  padding-top:calc(68px + clamp(24px,4vw,48px));
  padding-bottom:clamp(40px,5vw,72px);
}
.hero .wrap{position:relative;z-index:1}
/* Два свечения по оси 214°: верхнее над заголовком, нижнее под мокапом. */
.hero-glow{
  position:absolute;pointer-events:none;z-index:0;
  background:radial-gradient(50% 50% at 50% 50%,
    rgba(171,182,196,.20) 0%, rgba(171,182,196,.06) 42%, transparent 72%);
  filter:blur(10px);
}
.hero-glow.a{left:-10%;top:-260px;width:min(900px,120vw);height:760px}
.hero-glow.b{right:-20%;bottom:-320px;width:min(720px,100vw);height:640px;
  background:radial-gradient(50% 50% at 50% 50%,
    rgba(198,212,231,.14) 0%, transparent 68%)}
/* Тонкая сетка на фоне — приём Linear/Vercel: глубина без картинок. */
.hero::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.5;
  background-image:
    linear-gradient(rgba(239,244,251,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239,244,251,.04) 1px, transparent 1px);
  background-size:56px 56px;
  -webkit-mask-image:radial-gradient(circle at 50% 30%, #000 0%, transparent 70%);
  mask-image:radial-gradient(circle at 50% 30%, #000 0%, transparent 70%);
}

.hero-grid{display:grid;gap:clamp(40px,6vw,72px);align-items:center}
@media (min-width:940px){.hero-grid{grid-template-columns:1.05fr .95fr}}

.hero-copy{text-align:center}
@media (min-width:940px){.hero-copy{text-align:left}}
.hero-badge{
  display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 14px;
  border-radius:var(--r-round);margin-bottom:var(--s24);
  background:rgba(239,244,251,.06);box-shadow:inset 0 0 0 1px rgba(239,244,251,.1);
  font-size:13px;color:var(--silver-2);
}
.hero-badge b{color:#fff;font-weight:600}
.hero h1{
  font-weight:600;font-size:clamp(38px,6vw,68px);line-height:1.03;
  letter-spacing:-.045em;margin-bottom:clamp(18px,2vw,24px);color:#fff;
}
.hero .lead{max-width:520px;margin:0 auto clamp(28px,3vw,36px);color:var(--silver-2)}
@media (min-width:940px){.hero .lead{margin-left:0}}
.hero-cta{display:flex;gap:var(--s12);justify-content:center;flex-wrap:wrap}
@media (min-width:940px){.hero-cta{justify-content:flex-start}}
/*
  Вторая кнопка получает стеклянную заливку, а не только рамку. Рядом со
  сплошной белой один контур проигрывает и теряется, а лёгкий фон даёт ей
  вес — при этом она не спорит с главным действием.
*/
.hero-cta .btn-ghost{
  color:#fff;
  background:rgba(239,244,251,.10);
  box-shadow:inset 0 0 0 1px rgba(239,244,251,.22), 0 4px 14px rgba(0,0,0,.25);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
}
.hero-cta .btn-ghost:hover:not(:disabled){
  background:rgba(239,244,251,.18);
  box-shadow:inset 0 0 0 1px rgba(239,244,251,.34), 0 6px 18px rgba(0,0,0,.3);
}
/*
  Уголок вниз — кнопка не уводит со страницы, а прокручивает к ценам.
  Направление подсказывает это без лишних слов. При наведении съезжает
  вниз: то же самое произойдёт со страницей.
*/
.hero-cta .btn-ghost::after{
  content:"";flex:none;width:6px;height:6px;margin:-3px 0 0 2px;
  border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;
  transform:rotate(45deg);opacity:.8;
  transition:transform var(--fast) var(--ease);
}
.hero-cta .btn-ghost:hover:not(:disabled)::after{transform:rotate(45deg) translate(1.5px,1.5px)}
.hero-note{margin-top:var(--s20);color:var(--steel-3)}
@media (min-width:940px){.hero-note{text-align:left}}

/* Ключевые цифры прямо в первом экране, строкой под кнопками. Раньше это
   была отдельная секция между hero и тарифами — она создавала пустоту
   и отодвигала цены на третий экран. */
.hero-stats{
  list-style:none;margin:clamp(28px,4vw,40px) 0 0;padding:0;
  display:flex;flex-wrap:wrap;gap:var(--s24) clamp(24px,4vw,44px);
  justify-content:center;
}
@media (min-width:940px){.hero-stats{justify-content:flex-start}}
.hero-stats li{display:flex;flex-direction:column;gap:2px}
.hero-stats b{font-size:19px;font-weight:600;letter-spacing:-.02em;color:#fff}
.hero-stats span{font-size:13px;color:var(--steel-3)}
@media (max-width:520px){
  .hero-cta{flex-direction:column}
  .hero-cta .btn{width:100%}
}

/* ---- Продуктовый мокап: окно приложения на CSS ---- */
.hero-shot{position:relative;justify-self:center;width:min(320px,86vw)}
.hero-shot-glow{
  position:absolute;inset:-14% -8% -8%;border-radius:36px;z-index:0;
  background:radial-gradient(60% 55% at 50% 40%, rgba(171,182,196,.28), transparent 70%);
  filter:blur(24px);
}
.phone{
  position:relative;z-index:1;border-radius:34px;padding:12px;
  background:linear-gradient(180deg, #23262b, #0c0e12);
  box-shadow:inset 0 0 0 1px rgba(239,244,251,.14),
             0 40px 80px rgba(0,0,0,.6), 0 8px 24px rgba(0,0,0,.5);
  animation:floaty 6s var(--ease) infinite;
}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@media (prefers-reduced-motion: reduce){.phone{animation:none}}
.phone-screen{
  border-radius:24px;background:var(--ink-1);overflow:hidden;
  box-shadow:inset 0 0 0 1px rgba(239,244,251,.08);
  padding:20px 18px 22px;color:#fff;
}
.ps-top{display:flex;align-items:center;gap:8px;margin-bottom:22px}
.ps-top svg{width:16px;height:20px;color:var(--silver-1)}
.ps-top b{font-size:14px;font-weight:600;letter-spacing:-.02em}
.ps-top .ps-user{margin-left:auto;width:26px;height:26px;border-radius:999px;
  background:var(--ink-4);box-shadow:inset 0 0 0 1px rgba(239,244,251,.1)}
.ps-plan{display:flex;align-items:baseline;gap:8px;margin-bottom:4px}
.ps-plan b{font-size:16px;font-weight:600}
.ps-plan span{font-size:12px;color:var(--steel-3)}
.ps-days{display:flex;align-items:baseline;gap:8px;margin-bottom:12px}
.ps-days b{font-size:46px;font-weight:600;letter-spacing:-.05em;line-height:.9}
.ps-days i{font-style:normal;font-size:13px;color:var(--silver-1)}
.ps-track{height:3px;border-radius:999px;background:var(--ink-4);overflow:hidden;
  margin-bottom:22px}
.ps-track span{display:block;height:100%;width:62%;border-radius:999px;background:var(--silver-1)}
.ps-label{font-size:10px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--steel-2);margin-bottom:10px}
.ps-dev{display:flex;align-items:center;gap:10px;padding:12px 14px;
  border-radius:14px;background:var(--ink-2);box-shadow:inset 0 0 0 1px var(--line);
  margin-bottom:18px}
.ps-dev .ic{width:24px;height:24px;border-radius:7px;background:var(--ink-4);
  display:flex;align-items:center;justify-content:center;flex:none}
.ps-dev .ic svg{width:12px;height:12px;color:var(--silver-2)}
.ps-dev .tx{flex:1;min-width:0}
.ps-dev .tx b{display:block;font-size:13px;font-weight:500}
.ps-dev .tx small{display:block;font-size:11px;color:var(--ok);margin-top:1px}
.ps-btn{height:44px;border-radius:14px;background:var(--rim);color:var(--ink-1);
  display:flex;align-items:center;justify-content:center;
  font-size:14px;font-weight:600}

/* ================= Полоса цифр ================= */
/* Без рамок и разделителей: четыре факта держатся сеткой и воздухом. */
.facts{
  display:grid;grid-template-columns:repeat(2,1fr);
  gap:clamp(28px,4vw,48px) var(--s24);
  padding:clamp(40px,5vw,64px) 0;
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);
}
@media (min-width:760px){.facts{grid-template-columns:repeat(4,1fr)}}
.fact{text-align:center}
.fact b{display:block;font-weight:600;font-size:clamp(28px,3.4vw,40px);
  line-height:1.1;letter-spacing:-.03em;margin-bottom:var(--s8)}
.fact span{display:block;font-size:14px;line-height:20px;color:var(--silver-1)}

/* Переход по якорю не должен прятать заголовок под липкую шапку. */
[id]{scroll-margin-top:76px}

/* ================= Заголовок раздела ================= */
.head{text-align:center;max-width:660px;margin:0 auto clamp(32px,4vw,48px)}
.head .overline{margin-bottom:var(--s16)}
.head h2{margin-bottom:var(--s16)}

/* ================= Преимущества ================= */
.whys{display:grid;gap:clamp(28px,4vw,44px)}
@media (min-width:760px){.whys{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1080px){.whys{grid-template-columns:repeat(4,1fr);gap:var(--s32)}}
.why-icon{
  width:44px;height:44px;border-radius:var(--r-field);
  background:var(--ink-3);box-shadow:var(--ring);
  display:flex;align-items:center;justify-content:center;margin-bottom:var(--s20);
}
.why-icon svg{width:21px;height:21px;color:var(--silver-2);fill:none;stroke:currentColor;
  stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.why h3{font-weight:600;font-size:17px;line-height:24px;letter-spacing:-.01em;
  margin-bottom:var(--s8)}
.why p{font-size:15px;line-height:23px;color:var(--silver-1)}

/* ================= Обещание ================= */
/* Широкая плашка на всю ширину: пауза между разделами и место, где можно
   сказать главное без списка. */
.claim{
  border-radius:var(--r-card);padding:clamp(32px,5vw,56px);
  background:var(--ink-2);box-shadow:var(--ring);
  display:grid;gap:var(--s24);align-items:center;
}
@media (min-width:860px){.claim{grid-template-columns:1fr auto}}
.claim h2{font-size:clamp(22px,2.6vw,30px);line-height:1.2;letter-spacing:-.02em;
  margin-bottom:var(--s12)}
.claim p{color:var(--silver-1);font-size:16px;line-height:24px;max-width:52ch}

/* ================= Шаги ================= */
.steps{display:grid;gap:var(--s24)}
@media (min-width:860px){.steps{grid-template-columns:repeat(3,1fr);gap:var(--s32)}}
.stepcard{
  background:var(--ink-2);border-radius:var(--r-card);
  padding:clamp(24px,3vw,32px);box-shadow:var(--ring);
}
.stepcard .n{
  display:flex;align-items:center;justify-content:center;
  width:34px;height:34px;border-radius:var(--r-round);
  background:var(--ink-4);color:var(--silver-2);
  font:500 15px/1 var(--font);margin-bottom:var(--s20);box-shadow:var(--edge);
}
.stepcard h3{font-weight:600;font-size:17px;line-height:24px;margin-bottom:var(--s8)}
.stepcard p{font-size:15px;line-height:23px;color:var(--silver-1)}

/* ================= Тарифы ================= */
/* Первая секция после hero — держим компактной, чтобы карточки влезали
   в экран без прокрутки, а не уезжали за низ. */
#plans{padding-top:clamp(40px,5vw,64px);padding-bottom:clamp(48px,6vw,80px)}
.seg-wrap{text-align:center;margin-bottom:clamp(28px,3vw,40px)}
.seg{display:inline-flex;padding:4px;background:var(--ink-3);border-radius:var(--r-btn);
  box-shadow:var(--ring);position:relative}
.seg button{
  position:relative;z-index:1;border:0;background:transparent;color:var(--silver-1);
  cursor:pointer;height:40px;padding:0 22px;border-radius:11px;
  font:500 15px/1 var(--font);letter-spacing:-.01em;
  transition:color var(--norm) var(--ease);
}
/* Плашка залита цветом --rim, а он в каждой теме противоположен --ink-1,
   поэтому одного правила хватает на обе темы. */
.seg button[aria-selected="true"]{color:var(--ink-1)}
.seg-pill{position:absolute;top:4px;bottom:4px;border-radius:11px;background:var(--rim);
  box-shadow:var(--e1);z-index:0;
  transition:transform var(--slow) var(--ease),width var(--slow) var(--ease)}
/* Выгода прямо на кнопке срока: человек видит экономию до того, как
   переключит, а не после. Раньше на «1 месяц» под ценой было пусто и
   казалось, что выгоды нет вообще. */
.seg .eco{
  display:inline-block;margin-left:7px;padding:1px 7px;border-radius:var(--r-chip);
  background:rgba(62,207,142,.16);color:var(--ok);
  font-size:11px;font-weight:600;letter-spacing:0;vertical-align:1px;
}
.seg button[aria-selected="true"] .eco{background:rgba(5,7,10,.12);color:var(--ink-1)}
:root.light .seg button[aria-selected="true"] .eco{background:rgba(255,255,255,.2);color:var(--text)}
@media (max-width:520px){.seg button{padding:0 14px}.seg .eco{display:none}}

.plans{display:grid;gap:var(--s20);align-items:start;max-width:840px;margin:0 auto}
@media (min-width:760px){.plans{grid-template-columns:repeat(2,1fr)}}
.plan{position:relative;padding:clamp(28px,3.5vw,36px);cursor:pointer}
/*
  Выбранный тариф всегда в тёмной рамке — и при наведении тоже. Раньше
  .card-lift:hover был сильнее по специфичности (класс + :hover) и сбивал
  рамку выбора. Здесь два класса + :hover, поэтому выбор побеждает всегда.
  --rim в светлой теме почти чёрный — рамка чёткая, как просили.
*/
.plan.card-sel,
.plan.card-sel:hover{box-shadow:inset 0 0 0 2px var(--rim),var(--e2)}
.plan.card-sel:hover{transform:translateY(-2px);box-shadow:inset 0 0 0 2px var(--rim),var(--e3)}
.plan-tag{
  position:absolute;top:-11px;left:clamp(28px,3.5vw,36px);
  height:24px;padding:0 12px;border-radius:var(--r-chip);
  background:var(--rim);color:var(--ink-1);
  font:500 11px/24px var(--font);letter-spacing:.07em;text-transform:uppercase;
}
.plan-name{display:flex;align-items:baseline;gap:var(--s12);margin-bottom:var(--s24)}
.plan-name h3{font-weight:600;font-size:19px;letter-spacing:-.02em}
.plan-slots{font-size:13px;color:var(--silver-1)}
.plan .price{display:flex;align-items:baseline;gap:8px;margin-bottom:var(--s8)}
.plan .price b{font-weight:600;font-size:clamp(40px,5vw,54px);line-height:1;
  letter-spacing:-.045em}
.plan .price i{font-style:normal;font-size:15px;color:var(--silver-1)}
.price-sub{min-height:21px;font-size:14px;line-height:21px;color:var(--silver-1);
  margin-bottom:var(--s24)}
.plan .btn{width:100%;margin-bottom:var(--s24)}
.feats{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.feats li{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:22px;
  color:var(--silver-1)}
.feats svg{flex:none;width:16px;height:16px;margin-top:3px;color:var(--silver-2);
  fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.plans-note{text-align:center;margin-top:clamp(28px,3vw,36px)}

/* ================= Платформы ================= */
.plats{display:flex;flex-wrap:wrap;gap:var(--s12);justify-content:center}
.plat{
  display:flex;align-items:center;gap:10px;height:50px;padding:0 22px;
  border-radius:var(--r-field);background:var(--ink-3);box-shadow:var(--ring);
  font-size:15px;font-weight:500;
}
.plat svg{width:18px;height:18px;color:var(--silver-1);fill:none;stroke:currentColor;
  stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* ================= Вопросы ================= */
.faq{max-width:760px;margin:0 auto;border-top:1px solid var(--line)}
.q{border-bottom:1px solid var(--line)}
.q summary{
  list-style:none;cursor:pointer;position:relative;
  padding:clamp(20px,2.4vw,26px) var(--s40) clamp(20px,2.4vw,26px) 0;
  font-weight:500;font-size:17px;line-height:25px;letter-spacing:-.01em;
}
.q summary::-webkit-details-marker{display:none}
.q summary::after{
  content:"";position:absolute;right:6px;top:50%;width:11px;height:11px;
  border-right:1.8px solid var(--steel-3);border-bottom:1.8px solid var(--steel-3);
  transform:translateY(-70%) rotate(45deg);
  transition:transform var(--norm) var(--ease);
}
.q[open] summary::after{transform:translateY(-30%) rotate(225deg)}
.q .a{padding:0 var(--s40) clamp(20px,2.4vw,26px) 0;color:var(--silver-1);
  font-size:16px;line-height:26px}
.q .a a{color:var(--silver-2);text-decoration:underline;text-underline-offset:3px}

/* ================= Последний призыв ================= */
.final{text-align:center;padding:clamp(64px,8vw,110px) 0}
.final h2{font-size:clamp(28px,4.6vw,48px);line-height:1.08;letter-spacing:-.035em;
  max-width:680px;margin:0 auto var(--s20)}
.final p{max-width:520px;margin:0 auto var(--s32)}

/* ================= Подвал ================= */
.foot{border-top:1px solid var(--line);padding:clamp(40px,5vw,64px) 0 var(--s40)}
.foot-in{display:flex;flex-wrap:wrap;gap:var(--s32);justify-content:space-between;
  align-items:flex-start}
.foot-links{display:flex;flex-wrap:wrap;gap:var(--s24)}
.foot-links a{font-size:15px;color:var(--silver-1);transition:color var(--fast) var(--ease)}
.foot-links a:hover{color:var(--text)}
.foot-bottom{margin-top:var(--s40);display:flex;flex-wrap:wrap;gap:var(--s16);
  justify-content:space-between}

/* ================= Мобильная панель покупки ================= */
/* Отдельный UX телефона: цель страницы — покупка, и она должна быть под
   большим пальцем, а не в конце длинной прокрутки. */
.buybar{
  position:fixed;left:0;right:0;bottom:0;z-index:45;
  display:none;align-items:center;gap:var(--s12);
  padding:var(--s12) var(--pad) calc(var(--s12) + env(safe-area-inset-bottom));
  background:var(--glass);border-top:1px solid var(--line);
  -webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);
  transform:translateY(110%);transition:transform var(--norm) var(--ease);
}
.buybar.is-on{transform:none}
.buybar .btn{flex:none}
.buybar-txt{flex:1;min-width:0}
.buybar-txt b{display:block;font-weight:600;font-size:16px;letter-spacing:-.02em}
.buybar-txt small{display:block;font-size:12px;color:var(--silver-1);margin-top:1px}
@media (max-width:759px){
  .buybar{display:flex}
  body{padding-bottom:76px}
}

/* ================= Появление ================= */
.rise{opacity:0;transform:translateY(18px);
  transition:opacity .7s var(--ease),transform .7s var(--ease)}
.rise.in{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){.rise{opacity:1;transform:none}}

/* Отрисовка щита. Длины разные: у контура около 150 единиц, у ребра 51.
   Общий селектор дал бы ребру чужую длину, и оно проявлялось бы рывком. */
.draw .shield{stroke-dasharray:150;stroke-dashoffset:150;
  animation:draw 1.5s var(--ease) .15s forwards}
.draw .rib{stroke-dasharray:51;stroke-dashoffset:51;
  animation:draw 1s var(--ease) .8s forwards}
@keyframes draw{to{stroke-dashoffset:0}}
@media (prefers-reduced-motion: reduce){
  .draw .shield,.draw .rib{stroke-dashoffset:0!important;animation:none!important}
}
