/* ============================================================
   BLUR — stylesheet
   Palette + type from the brandbook. Stolzl → Sora on web.
   ============================================================ */

:root{
  /* brandbook */
  --ink:        #0F1010;
  --blue:       #023591;
  --light:      #F7F7F7;
  --gray:       #C8C8C8;

  /* derived (needed for contrast on ink) */
  --ink-raise:  #151616;
  --ink-line:   #232424;
  --blue-lift:  #2C5FE0;
  --blue-bright:#5B8CFF;
  /* цвет крупных цифр в тарифах. Зелёный как на старом сайте: #69E08D */
  --accent-num: var(--blue-bright);
  --blue-deep:  #041A44;
  --gray-dim:   #77797A;

  --font-display: 'Sora', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Manrope', 'Helvetica Neue', Arial, sans-serif;

  --fs-hero:  clamp(2.55rem, 6vw, 4.6rem);
  --fs-num:   clamp(1.9rem, 6vw, 4.2rem);
  --fs-h2:    clamp(1.85rem, 3.6vw, 2.9rem);
  --fs-h3:    1.22rem;
  --fs-body:  1.0625rem;
  --fs-small: 0.9375rem;
  --fs-label: 0.72rem;

  --shell:    1180px;
  --gutter:   clamp(1.25rem, 5vw, 3.5rem);
  --pad-sec:  clamp(4.5rem, 9vw, 8.5rem);
  --radius:   14px;
  --ease:     cubic-bezier(.22,.61,.36,1);
  --pxl-bg:   var(--ink);
}

*,*::before,*::after{ box-sizing:border-box; }

html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }

[id]{ scroll-margin-top:88px; }

body{
  margin:0;
  background:var(--ink);
  color:var(--light);
  font-family:var(--font-body);
  font-size:var(--fs-body);
  line-height:1.62;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  overflow-wrap:break-word;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

/* серый прямоугольник поверх ссылки при тапе на iOS/Android */
a, button, summary{ -webkit-tap-highlight-color:transparent; }

::selection{ background:var(--blue); color:var(--light); }

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

/* ---------- type ---------- */

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.06;
  letter-spacing:-.025em;
  margin:0;
}

h1{ font-size:var(--fs-hero); }
h2{ font-size:var(--fs-h2); }
h3{ font-size:var(--fs-h3); letter-spacing:-.015em; line-height:1.25; }
/* на wallet и faq главный заголовок страницы — h1 (это нужно поиску),
   но по размеру он остаётся прежним, как заголовок раздела */
#wallet h1, #faq h1{ font-size:var(--fs-h2); }

p{ margin:0; }

.label{
  font-family:var(--font-body);
  font-size:var(--fs-label);
  font-weight:600;
  letter-spacing:.19em;
  text-transform:uppercase;
  color:var(--gray-dim);
  display:block;
}

.lede{
  font-size:clamp(1.0625rem,1.6vw,1.28rem);
  color:var(--gray);
  line-height:1.55;
  max-width:34ch;
}

.muted{ color:var(--gray); }
.dim{ color:var(--gray-dim); }

/* ---------- layout ---------- */

.shell{
  width:100%;
  max-width:var(--shell);
  margin-inline:auto;
  /* базовое значение — если браузер не знает max()/env(), строки ниже просто отбрасываются */
  padding-inline:var(--gutter);
  /* env(...) — вырез камеры в ландшафте, на десктопе и в портрете это 0 */
  padding-left:max(var(--gutter), env(safe-area-inset-left));
  padding-right:max(var(--gutter), env(safe-area-inset-right));
}
/* на 27″ и больше контент не должен теряться узкой полосой посередине */
@media (min-width:1600px){ :root{ --shell:1320px; } }

.sec{ padding-block:calc(var(--pad-sec) / 2); position:relative; }
.sec-head{ margin-bottom:clamp(2.5rem,4.5vw,4rem); max-width:44ch; }
.sec-head .label{ margin-bottom:1.1rem; }
.rule{ height:1px; background:var(--ink-line); border:0; margin:0; }

/* ---------- buttons ---------- */

.btn{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  font-family:var(--font-body);
  font-size:var(--fs-small);
  font-weight:700;
  letter-spacing:-.005em;
  padding:.85rem 1.4rem;
  border-radius:999px;
  border:1px solid transparent;
  cursor:pointer;
  transition:background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), color .25s var(--ease);
}
.btn svg{ flex:none; }

.btn--primary{
  background:var(--blue);
  color:var(--light);
  box-shadow:0 0 0 0 rgba(44,95,224,0);
}
.btn--primary:hover{
  background:var(--blue-lift);
  transform:translateY(-1px);
  box-shadow:0 10px 34px -14px rgba(44,95,224,.9);
}

.btn--ghost{
  background:transparent;
  color:var(--light);
  border-color:var(--ink-line);
}
.btn--ghost:hover{ border-color:var(--gray-dim); transform:translateY(-1px); }

.btn--sm{ padding:.6rem 1.05rem; font-size:.85rem; }

.arrow-link{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  font-weight:700;
  font-size:var(--fs-small);
  color:var(--light);
}
.arrow-link i{
  display:block; width:18px; height:1px; background:currentColor;
  transition:width .25s var(--ease);
}
.arrow-link:hover{ color:var(--blue-lift); }
.arrow-link:hover i{ width:30px; }

/* ---------- header ---------- */

.hdr{
  position:fixed; inset:0 0 auto 0; z-index:60;
  background:rgba(15,16,16,.72);
  backdrop-filter:blur(18px) saturate(120%);
  -webkit-backdrop-filter:blur(18px) saturate(120%);
  border-bottom:1px solid transparent;
  transition:border-color .3s var(--ease), background .3s var(--ease);
}
.hdr.is-stuck{ border-bottom-color:var(--ink-line); }

.hdr-in{
  display:flex; align-items:center; gap:1.5rem;
  height:68px;
}

.brand{ display:flex; align-items:center; gap:.6rem; margin-right:auto; }
.brand-logo{ height:30px; width:auto; }
.ftr-brand .brand-logo{ height:28px; }

.hdr-nav{ display:flex; align-items:center; gap:1.8rem; }
.hdr-nav a{
  font-size:.925rem; font-weight:500; color:var(--gray);
  transition:color .2s var(--ease);
}
.hdr-nav a:hover{ color:var(--light); }
/* планшет: меню видно, но палец крупнее курсора — даём высоту 44px */
@media (hover:none){ .hdr-nav a{ display:flex; align-items:center; min-height:44px; } }
.hdr-nav a[aria-current="page"]{ color:var(--blue-bright); }

@media (max-width:840px){
  .hdr-nav{ display:none; }
  /* кнопка Get Card видна всегда */
  .hdr-in{ gap:.7rem; }
  .hdr-in .btn--primary{ padding:.58rem .95rem; font-size:.82rem; white-space:nowrap; }
  .hdr .brand{ min-height:44px; }
}
/* совсем узкие экраны: кнопка ужимается, но остаётся на месте */
@media (max-width:360px){
  .hdr-in{ gap:.5rem; }
  .hdr-in .btn--primary{ padding:.5rem .7rem; font-size:.76rem; }
}

/* ---------- нижняя навигация (телефоны и планшеты) ---------- */

.tabbar{ display:none; }

@media (max-width:840px){
  .tabbar{
    position:fixed; left:0; right:0; bottom:0; z-index:60;
    display:grid; grid-template-columns:repeat(3,1fr);
    background:rgba(15,16,16,.88);
    backdrop-filter:blur(18px) saturate(120%);
    -webkit-backdrop-filter:blur(18px) saturate(120%);
    border-top:1px solid var(--ink-line);
    padding-bottom:env(safe-area-inset-bottom);
  }
  .tabbar a{
    position:relative;
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.3rem;
    min-height:58px; padding:.55rem .25rem;
    color:var(--gray-dim); font-size:.72rem; font-weight:600;
    -webkit-tap-highlight-color:transparent;
    transition:color .2s var(--ease);
  }
  .tabbar a svg{
    width:22px; height:22px; display:block;
    fill:none; stroke:currentColor; stroke-width:1.6;
    stroke-linecap:round; stroke-linejoin:round;
  }
  .tabbar a[aria-current="page"]{ color:var(--blue-bright); }
  /* короткая метка над активным разделом */
  .tabbar a[aria-current="page"]::before{
    content:''; position:absolute; top:0; left:50%; transform:translateX(-50%);
    width:34px; height:2px; background:var(--blue-bright); border-radius:0 0 2px 2px;
  }
  .tabbar a:active{ color:var(--light); }
  /* контент не должен уезжать под панель */
  body{ padding-bottom:calc(58px + env(safe-area-inset-bottom)); }
}

/* ---------- hero ---------- */

.hero{
  position:relative;
  padding-top:calc(68px + clamp(3.5rem,8vw,7rem));
  padding-bottom:clamp(3.5rem,7vw,6rem);
  overflow:hidden;
}
.hero::before{
  content:''; position:absolute; z-index:0;
  top:-30%; left:50%; width:min(1100px,120vw); aspect-ratio:1;
  transform:translateX(-50%);
  background:radial-gradient(circle, rgba(2,53,145,.55) 0%, rgba(2,53,145,.14) 38%, transparent 68%);
  filter:blur(20px);
  pointer-events:none;
}
.hero .shell{ position:relative; z-index:1; }

.hero-grid{
  display:grid; gap:clamp(2.5rem,5vw,4.5rem);
  grid-template-columns:1.05fr .95fr;
  align-items:center;
}
@media (max-width:900px){ .hero-grid{ grid-template-columns:1fr; align-items:start; } }

.hero h1{ margin:1.3rem 0 1.6rem; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:.7rem; margin-top:2rem; }

.hero-facts{
  display:flex; flex-wrap:wrap; gap:.5rem 1.75rem;
  margin-top:2.5rem; padding-top:1.5rem;
  border-top:1px solid var(--ink-line);
  font-size:.875rem; color:var(--gray-dim);
}
.hero-facts span{ display:flex; align-items:center; gap:.5rem; }
.hero-facts span::before{
  content:''; width:5px; height:5px; background:var(--blue-lift);
  border-radius:1px; flex:none;
}

/* ---------- signature: pixel conversion ---------- */

.conv{
  border:1px solid var(--ink-line);
  border-radius:var(--radius);
  background:var(--ink-raise);
  --pxl-bg:var(--ink-raise);
  padding:clamp(1.5rem,3vw,2.2rem);
  display:flex; flex-direction:column; gap:1.6rem;
}
.conv-row{ display:flex; flex-direction:column; gap:.55rem; }
.conv-row .label{ font-size:.66rem; letter-spacing:.22em; }

.pxl{ position:relative; display:inline-block; }
.pxl-text{
  font-family:var(--font-display);
  font-size:var(--fs-num);
  font-weight:200;
  letter-spacing:-.045em;
  line-height:1;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
  display:block;
}
.rv-armed .pxl-text.is-blurred{ filter:blur(14px); opacity:.55; }
.rv-armed .pxl-img.is-blurred{ filter:blur(22px); opacity:.6; }
.pxl-img.is-resolving{ transition:filter .9s var(--ease), opacity .9s var(--ease); }
.pxl-text.is-resolving{ transition:filter .9s var(--ease), opacity .9s var(--ease); }

.pxl--soft .pxl-mask{ display:none; }
.pxl-mask{ position:absolute; inset:-4px; display:grid; pointer-events:none; }
.pxl-mask i{
  background:var(--pxl-bg);
  opacity:1;
  transition:opacity .42s linear;
}
.pxl-mask i.is-gone{ opacity:0; }

.conv-mid{
  display:flex; align-items:center; gap:.9rem;
  color:var(--gray-dim); font-size:.8rem; letter-spacing:.14em; text-transform:uppercase; font-weight:600;
}
.conv-mid::before, .conv-mid::after{ content:''; height:1px; background:var(--ink-line); flex:1; }

.conv-to .pxl-text{ font-weight:600; color:var(--light); }
.conv-from .pxl-text{ color:var(--gray); }

/* ---------- steps ---------- */

.steps{ display:grid; gap:0; }
.step{
  display:grid;
  grid-template-columns:5.5rem 1fr;
  gap:clamp(1rem,3vw,2.5rem);
  padding:clamp(1.6rem,3vw,2.4rem) 0;
  border-top:1px solid var(--ink-line);
  align-items:start;
}
.step:last-child{ border-bottom:1px solid var(--ink-line); }
.step-n{
  font-family:var(--font-display); font-weight:200;
  font-size:clamp(1.6rem,3vw,2.4rem); line-height:1;
  color:var(--blue-lift); letter-spacing:-.04em;
}
.step h3{ margin-bottom:.45rem; }
.step p{ color:var(--gray); font-size:var(--fs-small); max-width:52ch; }
@media (max-width:640px){ .step{ grid-template-columns:1fr; gap:.6rem; } }

/* ---------- spec / fee rows ---------- */

.rows{ border-top:1px solid var(--ink-line); }
.row{
  display:grid; grid-template-columns:minmax(9rem,15rem) 1fr;
  gap:.35rem clamp(1rem,3vw,2.5rem);
  padding:1.15rem 0;
  border-bottom:1px solid var(--ink-line);
  align-items:baseline;
}
.row dt{ font-size:.78rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--gray-dim); }
.row dd{ margin:0; font-size:var(--fs-small); color:var(--light); }
@media (max-width:600px){ .row{ grid-template-columns:1fr; } }

/* ---------- feature grid ---------- */

.feats{ display:grid; gap:1px; background:var(--ink-line); border:1px solid var(--ink-line); border-radius:var(--radius); overflow:hidden; grid-template-columns:1fr 1fr; }
.feat{ background:var(--ink); padding:clamp(1.5rem,3vw,2.2rem); }
.feat h3{ margin-bottom:.5rem; }
.feat p{ color:var(--gray); font-size:var(--fs-small); max-width:40ch; }
@media (max-width:720px){ .feats{ grid-template-columns:1fr; } }

/* ---------- security block ---------- */

.split{
  display:grid; gap:clamp(2rem,5vw,4.5rem);
  grid-template-columns:1fr 1fr; align-items:start;
}
@media (max-width:820px){ .split{ grid-template-columns:1fr; } }

.ticks{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:1rem; }
.ticks li{
  display:flex; gap:.85rem; align-items:flex-start;
  font-size:var(--fs-small); color:var(--gray);
  padding-bottom:1rem; border-bottom:1px solid var(--ink-line);
}
.ticks li:last-child{ border-bottom:0; padding-bottom:0; }
.ticks li::before{
  content:''; flex:none; margin-top:.55em;
  width:7px; height:7px; background:var(--blue-lift); border-radius:1px;
}

/* ---------- accordion ---------- */

.acc-group{ min-width:0; }
.acc-group > .label{ margin-bottom:1rem; }
.acc{ border-top:1px solid var(--ink-line); }
.acc-item{ border-bottom:1px solid var(--ink-line); }
.acc-q{
  width:100%; background:none; border:0; cursor:pointer;
  display:flex; align-items:flex-start; justify-content:space-between; gap:1.5rem;
  padding:1.3rem 0; text-align:left;
  font-family:var(--font-display); font-weight:600; font-size:1.03rem;
  letter-spacing:-.015em; color:var(--light);
}
.acc-q:hover{ color:var(--gray); }
.acc-ico{ position:relative; flex:none; width:14px; height:14px; margin-top:.35rem; }
.acc-ico::before, .acc-ico::after{
  content:''; position:absolute; background:var(--blue-lift);
  transition:transform .3s var(--ease), opacity .3s var(--ease);
}
.acc-ico::before{ inset:6px 0 auto 0; height:1.5px; }
.acc-ico::after{ inset:0 6px auto 6px; height:14px; width:1.5px; }
.acc-item.is-open .acc-ico::after{ transform:scaleY(0); opacity:0; }
.acc-a{ overflow:hidden; max-height:0; transition:max-height .35s var(--ease); }
.acc-in{ padding:0 3rem 1.4rem 0; color:var(--gray); font-size:var(--fs-small); max-width:64ch; }
.acc-in ul, .acc-in ol{ margin:.6rem 0 .9rem; padding-left:1.15rem; }
.acc-in li{ margin-bottom:.4rem; }
.acc-in > :last-child{ margin-bottom:0; }
.tiers{ width:100%; border-collapse:collapse; margin:.9rem 0; font-size:.85rem; }
.tiers th{
  text-align:left; font-weight:600; font-size:.68rem; letter-spacing:.12em;
  text-transform:uppercase; color:var(--gray-dim);
  padding:0 .8rem .55rem 0; border-bottom:1px solid var(--ink-line);
}
.tiers td{ padding:.6rem .8rem .6rem 0; border-bottom:1px solid var(--ink-line); color:var(--light); }
.tiers tr td:first-child{ font-weight:600; }
.tiers tr:last-child td{ border-bottom:0; }
.acc-in li::marker{ color:var(--blue-bright); }
@media (max-width:640px){ .acc-in{ padding-right:1.25rem; } .acc-q{ font-size:.98rem; } }

/* two columns, open item lifts onto its own surface */
.acc2{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(2.75rem,5vw,4rem) clamp(2rem,5vw,4.5rem); align-items:start; }
@media (max-width:820px){ .acc2{ grid-template-columns:1fr; gap:0; } }
.acc-item{ transition:background .28s var(--ease); }
.acc-item.is-open{
  background:var(--ink-raise);
  border-radius:14px;
  border-bottom-color:transparent;
  margin-inline:calc(clamp(1rem,2vw,1.5rem) * -1);
  padding-inline:clamp(1rem,2vw,1.5rem);
}

/* ---------- final cta ---------- */

.final{
  position:relative; overflow:hidden;
  border:1px solid var(--ink-line); border-radius:var(--radius);
  background:transparent;                     /* сквозь блок видно падающие символы */
  padding:clamp(2.4rem,6vw,4.5rem);
  text-align:center;
}
.final::before{
  content:''; position:absolute; left:50%; bottom:-70%;
  width:min(760px,110%); aspect-ratio:1; transform:translateX(-50%);
  background:radial-gradient(circle, rgba(2,53,145,.65), transparent 62%);
  pointer-events:none;
}
.final > *{ position:relative; z-index:1; }
.final p{ color:var(--gray); margin:1rem auto 0; max-width:38ch; }
.final .btn{ margin-top:2rem; }
.final .note{ font-size:.8rem; color:var(--gray-dim); margin-top:1.6rem; max-width:44ch; }

/* ---------- footer ---------- */

/* нижний отступ учитывает домашнюю полоску iPhone */
.ftr{
  border-top:1px solid var(--ink-line);
  padding-top:clamp(3rem,6vw,4.5rem);
  padding-bottom:2.5rem;
  padding-bottom:calc(2.5rem + env(safe-area-inset-bottom));
}
.ftr-grid{
  display:grid; gap:clamp(2rem,5vw,3rem);
  grid-template-columns:1.6fr auto; align-items:start;
}
@media (max-width:760px){ .ftr-grid{ grid-template-columns:1fr 1fr; } .ftr-brand{ grid-column:1/-1; } }
.ftr-brand p{ color:var(--blue-bright); font-size:var(--fs-small); margin-top:1rem; max-width:26ch; }
.ftr-col{ display:flex; flex-direction:column; gap:.7rem; }
.ftr-col a{ font-size:var(--fs-small); color:var(--gray); }
.ftr-col a:hover{ color:var(--light); }
.ftr-bot{ margin-top:clamp(2.5rem,5vw,3.5rem); padding-top:1.75rem; border-top:1px solid var(--ink-line); }
.ftr-bot p{ font-size:.775rem; color:var(--gray-dim); line-height:1.6; max-width:96ch; }
.ftr-bot p + p{ margin-top:.9rem; }

/* ---------- reveal ---------- */

.rv-armed .rv{
  opacity:0;
  transform:translate3d(var(--rv-x, 0), var(--rv-y, 22px), 0) scale(var(--rv-s, 1));
  filter:blur(var(--rv-b, 5px));
}
.rv.is-in{
  opacity:1; transform:none; filter:blur(0);
  transition:opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease);
  transition-delay:var(--rv-d, 0s);
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
  html{ scroll-behavior:auto; }
  .rv, .rv[data-stagger] > *{ opacity:1 !important; transform:none !important; filter:none !important; }
  .prog{ display:none; }
  .pxl-mask{ display:none; }
  .pxl-text.is-blurred{ filter:none; opacity:1; }
}


/* ---------- hero: card + wallet badges ---------- */

.hero-card{ position:relative; display:flex; flex-direction:column; align-items:flex-start; gap:1.4rem; }
.hero-card .pxl{ display:block; width:100%; }
.card-render{
  width:100%; max-width:520px; height:auto; display:block;
  filter:drop-shadow(0 44px 70px rgba(2,53,145,.55));
}
@media (max-width:900px){ .card-render{ max-width:420px; margin-inline:auto; } }

.badges{ display:flex; align-items:center; gap:.55rem; flex-wrap:wrap; margin-top:1.8rem; }
.badges .lbl{
  font-size:.7rem; font-weight:600; letter-spacing:.18em;
  text-transform:uppercase; color:var(--gray-dim); margin-right:.3rem;
}
.badge{
  display:inline-flex; align-items:center; gap:.45rem;
  border:1px solid var(--ink-line); border-radius:11px;
  background:rgba(247,247,247,.035);
  padding:.52rem .85rem; font-size:.82rem; font-weight:600; color:var(--light);
}
.badge svg{ width:15px; height:15px; flex:none; stroke:var(--blue-bright); fill:none; stroke-width:1.6; }

/* ---------- pricing stats ---------- */

.glow-sec{ position:relative; overflow:hidden; }
.glow-sec::before{
  content:''; position:absolute; left:50%; top:42%;
  width:min(1250px,135%); aspect-ratio:1.55; transform:translate(-50%,-50%);
  background:radial-gradient(ellipse at center, rgba(2,53,145,.6) 0%, rgba(2,53,145,.16) 42%, transparent 70%);
  pointer-events:none;
}
.glow-sec > *{ position:relative; z-index:1; }

.stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(1.75rem,3vw,2.5rem); text-align:center; }
@media (max-width:820px){ .stats{ grid-template-columns:1fr 1fr; gap:2.5rem 1rem; } }

.stat-ico{
  width:54px; height:54px; border-radius:50%;
  background:rgba(247,247,247,.05); border:1px solid var(--ink-line);
  display:grid; place-items:center; margin:0 auto 1.1rem;
}
.stat-ico svg{ width:21px; height:21px; stroke:var(--light); fill:none; stroke-width:1.5; }
.stat-l{ font-size:.92rem; font-weight:600; }
.stat-v{
  font-family:var(--font-display); font-weight:600;
  font-size:clamp(1.85rem,4vw,2.9rem); letter-spacing:-.045em; line-height:1.1;
  color:var(--accent-num); margin-top:.45rem;
  text-shadow:0 0 38px rgba(91,140,255,.32);
}
.stat-v small{ font-size:.46em; font-weight:400; letter-spacing:-.01em; color:var(--gray); }
.fees-note{ text-align:center; font-size:.85rem; color:var(--gray-dim); margin-top:clamp(2.5rem,5vw,3.5rem); }

/* ---------- three steps with phones ---------- */

.steps3{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(.9rem,1.8vw,1.4rem); }
@media (max-width:900px){ .steps3{ grid-template-columns:1fr; max-width:420px; margin-inline:auto; } }

.stepc{
  position:relative; overflow:hidden; text-align:center;
  border:1px solid var(--ink-line); border-radius:20px; background:var(--ink-raise);
  padding:clamp(1.5rem,2.6vw,2rem) clamp(1rem,2vw,1.6rem) 0;
  display:flex; flex-direction:column; min-height:530px;
}
.stepc .pill-n{
  align-self:center; font-size:.7rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:var(--blue-bright); background:rgba(44,95,224,.16);
  border:1px solid rgba(91,140,255,.3); border-radius:999px;
  padding:.34rem .8rem; margin-bottom:1.1rem;
}
.stepc h3{ font-size:1.3rem; margin-bottom:.55rem; }
.stepc p{ color:var(--gray); font-size:.9rem; line-height:1.5; margin:0 auto; max-width:32ch; }
.stepc .phone{ margin:auto auto 0; }

/* ---------- phone mock ---------- */

.phone{
  width:230px; max-width:100%;
  border:7px solid #2B2D2F; border-bottom:0;
  border-radius:34px 34px 0 0; background:#000; overflow:hidden;
  box-shadow:0 -14px 60px -22px rgba(2,53,145,.85);
  margin-top:2.2rem;
}
.phone-scr{ height:262px; overflow:hidden; position:relative; color:var(--light); text-align:left; }
.ph-bar{
  display:flex; align-items:center; justify-content:space-between;
  padding:.5rem .75rem .25rem; font-size:9.5px; font-weight:700;
}
.ph-bar svg{ width:34px; height:10px; fill:var(--light); }

/* telegram screen */
.tg-top{ display:flex; align-items:center; gap:.45rem; padding:.4rem .55rem .5rem; border-bottom:1px solid rgba(247,247,247,.07); }
.tg-back{ color:var(--gray-dim); font-size:14px; line-height:1; }
.tg-name{ flex:1; text-align:center; font-size:10.5px; font-weight:700; line-height:1.15; }
.tg-name small{ display:block; font-size:8.5px; font-weight:400; color:var(--gray-dim); }
.tg-top img{ width:21px; height:21px; border-radius:50%; }
.tg-body{ padding:.7rem .55rem; display:flex; flex-direction:column; gap:.45rem; }
.bub{ max-width:82%; padding:.42rem .58rem; border-radius:12px; font-size:10px; line-height:1.4; }
.bub--out{ align-self:flex-end; background:#2B5278; border-bottom-right-radius:4px; }
.bub--in{ align-self:flex-start; background:#1C1D1E; border-bottom-left-radius:4px; }
.tg-btn{
  background:var(--blue); border-radius:9px; padding:.48rem;
  text-align:center; font-size:10px; font-weight:700; margin-top:.15rem;
}

/* wallet screen */
.wl-head{ display:flex; align-items:center; justify-content:space-between; padding:.65rem .6rem .45rem; }
.wl-head b{ font-family:var(--font-display); font-size:13px; letter-spacing:-.03em; }
.chip{ font-size:8.5px; font-weight:600; padding:.28rem .55rem; border-radius:999px; background:rgba(247,247,247,.08); }
.wl-row{
  display:flex; align-items:center; gap:.45rem;
  margin:.3rem .5rem; padding:.42rem .5rem;
  background:#161717; border:1px solid rgba(247,247,247,.05); border-radius:10px;
}
.wl-row .nm{ flex:1; font-size:10px; }
.tok{ width:19px; height:19px; border-radius:50%; flex:none; display:grid; place-items:center; font-size:9.5px; font-weight:700; color:#0B0B0B; }

/* pay screen */
.pay-scr{ display:flex; flex-direction:column; align-items:center; gap:.85rem; padding:.9rem .75rem; }
.mini-card{
  width:100%; aspect-ratio:1.586; border-radius:11px; padding:.55rem;
  background:
    radial-gradient(75% 85% at 52% 55%, #1668D8 0%, #0B3EA8 38%, #061A3E 72%, #04102A 100%);
  border:1px solid rgba(247,247,247,.12);
  display:flex; flex-direction:column; justify-content:space-between;
  position:relative; overflow:hidden;
}
.mini-nfc{ position:absolute; top:.5rem; right:.5rem; width:11px; height:11px; }
.mini-nfc svg{ width:100%; height:100%; stroke:rgba(247,247,247,.85); fill:none; stroke-width:2; }
.mini-top{ display:flex; align-items:center; gap:.3rem; }
.mini-logo{ height:15px; width:auto; }
.mini-bot{ display:flex; align-items:flex-end; justify-content:space-between; }
.mini-num{ font-size:9px; letter-spacing:.06em; color:rgba(247,247,247,.85); }
.mini-scheme{ font-family:var(--font-display); font-weight:600; font-size:10px; letter-spacing:.14em; }
.nfc{ width:42px; height:42px; border-radius:50%; border:1.5px solid var(--blue-bright); display:grid; place-items:center; margin-top:.35rem; }
.nfc svg{ width:17px; height:17px; stroke:var(--blue-bright); fill:none; stroke-width:1.6; }
.pay-hint{ font-size:9.5px; color:var(--gray-dim); }

/* ---------- wallet block ---------- */

.wallet-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(2rem,5vw,4rem); align-items:center; }
@media (max-width:900px){ .wallet-grid{ grid-template-columns:1fr; } }
/* заголовок кошелька держим в одну строку, пока колонка это позволяет */
@media (min-width:901px){
  #wallet h2{ white-space:nowrap; font-size:clamp(1.85rem,3.2vw,2.6rem); }
}
/* заголовок «Cards and crypto in one place» — тоже одной строкой;
   ограничение ширины снимаем только с него, абзац под ним остаётся узким */
#app .sec-head{ max-width:none; text-align:center; }
#app .sec-head p{ max-width:44ch; margin-inline:auto; }
@media (min-width:901px){ #app .sec-head h2{ white-space:nowrap; } }
.wbits{ display:grid; gap:1px; background:var(--ink-line); border:1px solid var(--ink-line); border-radius:var(--radius); overflow:hidden; }
.wbit{ background:var(--ink); padding:1.15rem 1.35rem; }
.wbit h3{ font-size:1.05rem; margin-bottom:.3rem; }
.wbit p{ font-size:.88rem; color:var(--gray); }


/* ---------- app gallery ---------- */

.gallery{
  display:grid; grid-template-columns:repeat(3,minmax(0,290px));
  gap:clamp(1.5rem,4vw,4rem); justify-content:space-between;
}
.shot{ margin:0; min-width:0; }
.shot img{
  width:100%; height:auto; display:block;
  border:1px solid var(--ink-line); border-radius:18px;
  background:var(--ink-raise);
}
.shot figcaption{
  font-size:1.02rem; font-weight:600; line-height:1.45; text-align:center;
  color:var(--blue-bright);
}
/* подпись стоит над снимком; две строки резервируем всегда,
   иначе более длинная подпись опускала бы свой снимок ниже соседних */
.gallery .shot{ display:flex; flex-direction:column; }
.gallery .shot figcaption{ order:-1; margin:0 0 1rem; min-height:calc(2 * 1.45em); }
@media (max-width:820px){
  .gallery{
    grid-template-columns:none; grid-auto-flow:column;
    grid-auto-columns:100%;                 /* ровно один снимок на экран */
    gap:0;
    overflow-x:auto; scroll-snap-type:x mandatory;
    padding-bottom:.4rem;
    scrollbar-width:none;
    /* свайп по галерее не должен уводить страницу «назад» и дёргать общий скролл */
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
  }
  .gallery::-webkit-scrollbar{ display:none; }
  .shot{ scroll-snap-align:center; }
  .gallery .shot img{ max-width:min(100%, 320px); margin-inline:auto; }
  .gallery .shot figcaption{ font-size:.95rem; }
}

/* точки-указатели: видно, что снимки листаются */
.gal-dots{ display:none; }

@media (max-width:820px){
  .gal-dots{
    display:flex; justify-content:center; align-items:center; gap:.35rem;
    margin-top:.9rem;
  }
  .gal-dots button{
    width:30px; height:30px; padding:0; border:0; background:none; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    -webkit-tap-highlight-color:transparent;
  }
  .gal-dots button::after{
    content:''; display:block; width:7px; height:7px; border-radius:50%;
    background:var(--gray-dim); opacity:.55;
    transition:width .3s var(--ease), background .3s var(--ease), opacity .3s var(--ease);
  }
  .gal-dots button[aria-current="true"]::after{
    width:20px; border-radius:4px; background:var(--blue-bright); opacity:1;
  }
}


/* ---------- legal pages ---------- */

.legal{ padding-top:calc(68px + clamp(2.5rem,5vw,4rem)); padding-bottom:clamp(4rem,8vw,7rem); }
.legal-back{ font-size:.85rem; color:var(--gray-dim); }
.legal-back i{ width:14px; }
.legal-back:hover{ color:var(--light); }
.legal h1{ font-size:clamp(2rem,4.6vw,3.1rem); margin:1.6rem 0 0; }
@media (max-width:640px){ .legal-back{ min-height:44px; } .legal h1{ margin-top:.6rem; } }
.legal-meta{ margin-top:1rem; font-size:.82rem; color:var(--gray-dim); letter-spacing:.02em; }
.legal-grid{
  display:grid; grid-template-columns:210px minmax(0,1fr);
  gap:clamp(2rem,5vw,4.5rem); margin-top:clamp(2.5rem,5vw,4rem);
  align-items:start;
}
@media (max-width:900px){ .legal-grid{ grid-template-columns:1fr; } }

/* оглавление в той же рамке с синей полоской, что была у врезки */
.toc{
  position:sticky; top:92px; max-height:calc(100vh - 130px); overflow:auto; scrollbar-width:none;
  padding:.95rem 1.1rem 1.1rem;
  border:1px solid var(--ink-line); border-left:2px solid var(--blue-lift);
  border-radius:0 10px 10px 0;
}
@supports (height:100dvh){ .toc{ max-height:calc(100dvh - 130px); } }
.toc::-webkit-scrollbar{ display:none; }
.toc ol{ list-style:none; margin:1rem 0 0; padding:0; display:flex; flex-direction:column; gap:.6rem; }
.toc a{ font-size:.8rem; line-height:1.35; color:var(--gray-dim); display:block; }
.toc a:hover{ color:var(--light); }
@media (max-width:900px){
  .toc{ position:static; max-height:none; padding:.95rem 1.1rem 1.2rem; }
  .toc ol{ display:grid; grid-template-columns:1fr 1fr; gap:.6rem 1.2rem; }
}
/* оглавление на телефоне: строки-ссылки высотой в палец */
@media (max-width:640px){
  .toc ol{ gap:0 1.2rem; }
  .toc a{ display:flex; align-items:center; min-height:44px; padding:.3rem 0; font-size:.82rem; }
}

.doc{ max-width:78ch; min-width:0; }
.doc h2{
  font-size:clamp(1.2rem,2.2vw,1.5rem); margin:3rem 0 1.1rem;
  padding-top:1.6rem; border-top:1px solid var(--ink-line);
}
.doc > h2:first-child{ margin-top:0; padding-top:0; border-top:0; }
.doc h3{ font-size:1rem; font-weight:600; margin:2rem 0 .7rem; }
.doc p{ color:var(--gray); font-size:.95rem; line-height:1.75; margin-bottom:1.05rem; }
.doc ul{ margin:0 0 1.3rem; padding-left:1.2rem; color:var(--gray); font-size:.95rem; line-height:1.7; }
.doc li{ margin-bottom:.55rem; }
.doc li::marker{ color:var(--blue-bright); }
.doc a{ color:var(--blue-bright); text-decoration:underline; text-underline-offset:3px; }
.doc a:hover{ color:var(--light); }


/* ---------- фон: неоновые синие пятна (на всех страницах) ---------- */

.bgfx{
  position:fixed; inset:0; z-index:0; pointer-events:none;
  overflow:hidden; contain:strict;
}
.bgfx-glow{
  position:absolute; display:block; border-radius:50%;
  will-change:transform;
}
/* верх-лево — самое яркое пятно, задаёт тон первому экрану */
.bgfx-glow--a{
  left:-18vw; top:-22vh; width:78vw; height:78vw;
  max-width:1000px; max-height:1000px;
  background:radial-gradient(circle at center,
    rgba(2,53,145,.34) 0%, rgba(2,53,145,.10) 42%, transparent 68%);
  animation:bgfx-a 38s ease-in-out infinite alternate;
}
/* право-центр — холоднее и слабее, «дышит» в противофазе */
.bgfx-glow--b{
  right:-22vw; top:26vh; width:70vw; height:70vw;
  max-width:900px; max-height:900px;
  background:radial-gradient(circle at center,
    rgba(91,140,255,.13) 0%, rgba(2,53,145,.08) 45%, transparent 70%);
  animation:bgfx-b 46s ease-in-out infinite alternate;
}
/* низ-центр — подпирает подвал, чтобы страница не гасла к концу */
.bgfx-glow--c{
  left:34vw; bottom:-30vh; width:66vw; height:66vw;
  max-width:860px; max-height:860px;
  background:radial-gradient(circle at center,
    rgba(2,53,145,.26) 0%, rgba(2,53,145,.07) 46%, transparent 70%);
  animation:bgfx-c 42s ease-in-out infinite alternate;
}

@keyframes bgfx-a{
  from{ transform:translate3d(0,0,0)         scale(1);    opacity:.9; }
  to  { transform:translate3d(7vw,6vh,0)     scale(1.14); opacity:1;  }
}
@keyframes bgfx-b{
  from{ transform:translate3d(0,0,0)         scale(1.08); opacity:.75; }
  to  { transform:translate3d(-6vw,-8vh,0)   scale(.94);  opacity:1;   }
}
@keyframes bgfx-c{
  from{ transform:translate3d(0,0,0)         scale(.96);  opacity:.8; }
  to  { transform:translate3d(-8vw,-5vh,0)   scale(1.12); opacity:1;  }
}

/* на юридических страницах длинный текст важнее атмосферы */
.legal-page .bgfx{ opacity:.5; }

/* пятна остаются видимыми, замирает только движение */
.no-anim .bgfx-glow{ animation:none; }
@media (prefers-reduced-motion:reduce){ .bgfx-glow{ animation:none; } }
@media print{ .bgfx, .flakes, .flake-defs{ display:none !important; } }


/* ---------- фон: символы валют падают как снег ---------- */

.flake-defs{ position:absolute; width:0; height:0; overflow:hidden; }

.flakes{
  position:fixed; inset:0; z-index:0; pointer-events:none;
  overflow:hidden; contain:strict;
}

.flake{
  position:absolute; top:0; left:var(--l);
  width:var(--s); height:var(--s);
  fill:none; stroke:var(--blue-bright); stroke-width:1.4;
  stroke-linecap:round; stroke-linejoin:round;
  opacity:0;
  animation:
    flake-fall var(--d) linear var(--dl) infinite,
    flake-glow var(--gd) ease-in-out var(--gdl) infinite;
  will-change:transform, opacity;
}
.flake--far{ stroke-width:1.05; stroke:var(--gray-dim); }
.flake--near{ stroke-width:1.6; }
.flake use{ vector-effect:non-scaling-stroke; }

@keyframes flake-fall{
  from{ transform:translate3d(0, -12vh, 0) rotate(0deg); }
  to  { transform:translate3d(var(--dx), 112vh, 0) rotate(var(--sp)); }
}

@keyframes flake-glow{
  0%, 100%{ opacity:.07; filter:none; }
  45%     { opacity:.55; filter:drop-shadow(0 0 7px rgba(91,140,255,.75)); }
  70%     { opacity:.16; filter:none; }
}

/* контент — над снегом */
main, .ftr{ position:relative; z-index:1; }

.no-anim .flakes{ display:none; }
@media (prefers-reduced-motion:reduce){ .flakes{ display:none; } }


/* ---------- restrictions ---------- */

.restrict{
  display:grid; grid-template-columns:1fr 1fr;
  gap:clamp(2.75rem,5vw,4rem) clamp(2rem,5vw,4.5rem);
  align-items:start;
}
@media (max-width:900px){ .restrict{ grid-template-columns:1fr; } }
.panel-r{ min-width:0; }
.panel-r h3,.panel-r h2.r-title{ font-size:1.12rem; }
.r-note{ font-size:.85rem; margin-top:.7rem; max-width:46ch; }
.r-sub{
  font-size:.7rem; font-weight:600; letter-spacing:.16em; text-transform:uppercase;
  margin-top:1.6rem; color:var(--blue-bright);
}

.rlist{ list-style:none; padding:0; margin:1.3rem 0 0; display:flex; flex-direction:column; gap:.95rem; }
.rlist li{ position:relative; padding-left:1.05rem; font-size:.9rem; line-height:1.55; color:var(--gray); }
.rlist li::before{
  content:''; position:absolute; left:0; top:.62em;
  width:5px; height:5px; background:var(--blue-bright); border-radius:1px;
}
.rlist b{ color:var(--light); font-weight:600; }

.chips{ list-style:none; display:flex; flex-wrap:wrap; gap:.4rem; padding:0; margin:1.1rem 0 0; }
.chips li{
  font-size:.84rem; line-height:1.3; color:var(--light);
  background:rgba(247,247,247,.06); border:1px solid var(--ink-line);
  border-radius:999px; padding:.32rem .72rem;
}
.chips li.terr{ color:var(--gray); background:transparent; border-style:dashed; }

/* ─── click-to-load videos (section "The card") ─────────────── */
.vid{
  position:relative; display:block; margin:0; padding:0;
  border:1px solid var(--ink-line); border-radius:18px;
  background:var(--ink-raise); overflow:hidden; cursor:pointer;
  aspect-ratio:9/16; width:100%;
  transition:transform .34s cubic-bezier(.22,.61,.36,1);
}
.vid img, .vid video{
  width:100%; height:100%; display:block; object-fit:cover;
}
.vid-play{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  background:rgba(15,16,16,.28); transition:background .25s ease, opacity .25s ease;
}
.vid-play svg{
  width:44px; height:44px; padding:12px; box-sizing:border-box;
  border-radius:50%; background:var(--blue-lift); fill:#fff;
  transition:transform .25s ease, background .25s ease;
}
.vid:hover .vid-play{ background:rgba(15,16,16,.12); }
.vid:hover .vid-play svg{ transform:scale(1.07); background:var(--blue-bright); }
/* раскрытое состояние: плитка чуть подрастает, поверх постера проявляется видео */
.vid video{ position:absolute; inset:0; opacity:0; transition:opacity .22s ease; }
/* .vids — stagger-контейнер: правило reveal `.rv[data-stagger].is-in > *` задаёт
   transform:none со специфичностью (0,3,0) и стоит ниже по файлу, поэтому масштаб
   раскрытия приходится объявлять селектором сильнее, иначе он не применится */
.vid.is-open,
.rv[data-stagger].is-in > .vid.is-open{
  transform:scale(1.18); z-index:2;
  transition:transform .34s cubic-bezier(.22,.61,.36,1);
}
.vid.is-open video{ opacity:1; }
.vid.is-open .vid-play{ opacity:0; }
.vid.is-open:hover .vid-play{ background:rgba(15,16,16,.28); }
@media (max-width:640px){
  .vid-play svg{ width:38px; height:38px; padding:10px; }
}

/* brand payment badges */
/* яблоко узкое: 384x512 — ширину задаём по пропорции, иначе глиф сплющит */
.badge--apple svg{ width:12px; height:16px; stroke:none; fill:#fff; }
.badge--gpay svg{ width:16px; height:16px; stroke:none; }

/* lift hero card render to optically center against the text column */
@media (min-width:901px){
  .hero .hero-card{ transform:translateY(-6%); }
}

/* first content section must clear the fixed header (pages without hero) */
main > .sec:first-child{ padding-top:calc(68px + var(--pad-sec) / 2); }

/* FAQ group headings — larger, blue accent */
.acc-group > .label{
  font-family:var(--font-display);
  font-size:clamp(.82rem, 1.2vw, .98rem);
  font-weight:600; letter-spacing:.1em;
  color:var(--blue-bright);
  text-align:center;
}
.acc-hl{ color:var(--blue-bright); font-weight:700; }

/* accordion links — clearly clickable */
.acc-in a{
  color:var(--blue-bright); font-weight:600;
  text-decoration:underline; text-underline-offset:2px;
}
.acc-in a:hover{ color:var(--light); }
/* blue panel title (restrictions) */
.panel-r h2.r-title,.panel-r h3.r-title{ color:var(--blue-bright); }

/* footer links in a row */
.ftr-links{ display:flex; align-items:center; gap:clamp(1.4rem,3vw,2.4rem); flex-wrap:wrap; }
.ftr-links a{ font-size:var(--fs-small); color:var(--gray); white-space:nowrap; }
.ftr-links a:hover{ color:var(--light); }

/* primary buttons glow brighter on hover */
.btn--primary:hover{
  background:var(--blue-bright);
  box-shadow:0 0 24px rgba(91,140,255,.55), 0 10px 34px -10px rgba(44,95,224,.9);
}

/* ============================================================
   scroll dynamics — sections assemble as they enter the viewport
   ============================================================ */

/* directional reveal variants (set via data-rv) */
.rv-armed .rv[data-rv="left"]  { --rv-x:-34px; --rv-y:0; }
.rv-armed .rv[data-rv="right"] { --rv-x:34px;  --rv-y:0; }
.rv-armed .rv[data-rv="scale"] { --rv-s:.94;   --rv-y:14px; }
.rv-armed .rv[data-rv="soft"]  { --rv-b:0px;   --rv-y:14px; }

/* staggered groups — the container holds still, its children cascade in */
.rv-armed .rv[data-stagger]{ opacity:1; transform:none; filter:none; }
.rv-armed .rv[data-stagger] > *{
  opacity:0; transform:translate3d(0, 30px, 0) scale(.97); filter:blur(5px);
}
.rv[data-stagger].is-in > *{
  opacity:1; transform:none; filter:blur(0);
  transition:opacity .72s var(--ease), transform .72s var(--ease), filter .72s var(--ease);
}
.rv[data-stagger].is-in > *:nth-child(1){ transition-delay:.04s; }
.rv[data-stagger].is-in > *:nth-child(2){ transition-delay:.15s; }
.rv[data-stagger].is-in > *:nth-child(3){ transition-delay:.26s; }
.rv[data-stagger].is-in > *:nth-child(4){ transition-delay:.37s; }
.rv[data-stagger].is-in > *:nth-child(5){ transition-delay:.48s; }
.rv[data-stagger].is-in > *:nth-child(6){ transition-delay:.59s; }
.rv[data-stagger].is-in > *:nth-child(n+7){ transition-delay:.68s; }

/* section headings assemble: eyebrow tightens as the block settles */
.rv-armed .sec-head.rv{ --rv-b:0px; }
.rv-armed .sec-head.rv > .label{ opacity:0; transform:translate3d(0, 8px, 0); letter-spacing:.44em; }
.sec-head.rv.is-in > .label{
  opacity:1; transform:none; letter-spacing:.19em;
  transition:opacity .6s var(--ease) .08s, transform .6s var(--ease) .08s,
             letter-spacing .95s var(--ease) .08s;
}

/* scroll progress bar (injected by blur.js) */
.prog{
  position:fixed; inset:0 0 auto 0; height:2px; z-index:70;
  transform:scaleX(0); transform-origin:0 50%;
  background:linear-gradient(90deg, var(--blue) 0%, var(--blue-bright) 100%);
  pointer-events:none;
}

/* hero card drifts against the scroll */
@media (min-width:901px){
  .hero .hero-card{ transform:translate3d(0, calc(-6% + var(--par, 0px)), 0); }
}

/* ?static=1 — freeze everything so screenshots are deterministic */
.no-anim .rv,
.no-anim .rv[data-stagger] > *,
.no-anim .sec-head.rv > .label{
  opacity:1 !important; transform:none !important; filter:none !important;
  transition:none !important;
}
.no-anim .sec-head.rv > .label{ letter-spacing:.19em; }
.no-anim .prog{ display:none; }

/* Print: reveal state is driven by IntersectionObserver, which never fires for
   off-screen blocks. Force everything visible so printed pages aren't blank. */
@media print{
  .rv, .rv[data-stagger] > *, .sec-head.rv > .label{
    opacity:1 !important; transform:none !important; filter:none !important;
    transition:none !important;
  }
  .sec-head.rv > .label{ letter-spacing:.19em; }
  .prog{ display:none !important; }
  .pxl-mask{ display:none !important; }
  .pxl-img.is-blurred, .pxl-text.is-blurred{ filter:none !important; opacity:1 !important; }
}

/* ---------- футер: контакты ---------- */

.ftr-contacts{
  display:flex; flex-direction:row; flex-wrap:wrap; align-items:center;
  justify-content:flex-end; gap:.25rem; margin-inline:-.85rem;
}

.contact{
  display:flex; align-items:center; gap:.75rem;
  padding:.55rem .85rem; border-radius:12px;
  border:1px solid transparent; background:transparent;
  transition:background .25s var(--ease), border-color .25s var(--ease);
}
.contact-ico{
  flex:none; width:36px; height:36px; border-radius:10px;
  border:1px solid var(--ink-line); background:rgba(247,247,247,.03);
  display:grid; place-items:center;
  transition:border-color .25s var(--ease), background .25s var(--ease);
}
.contact-ico svg{ width:17px; height:17px; fill:var(--gray); transition:fill .25s var(--ease); }
.contact-txt{ min-width:0; }
.contact-txt b{
  display:block; font-size:.9rem; font-weight:600; color:var(--light); line-height:1.25;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
/* при наведении плитка целиком наливается фирменным синим */
.contact:hover, .contact:focus-visible{ background:var(--blue-lift); border-color:var(--blue-lift); }
.contact:hover .contact-ico, .contact:focus-visible .contact-ico{
  border-color:rgba(247,247,247,.38); background:rgba(247,247,247,.16);
}
.contact:hover .contact-ico svg, .contact:focus-visible .contact-ico svg{ fill:var(--light); }

.ftr-legal{ display:flex; flex-wrap:wrap; gap:1.5rem; margin-bottom:1.5rem; }
.ftr-legal a{ font-size:.8rem; color:var(--gray-dim); text-decoration:underline; text-underline-offset:3px; }
.ftr-legal a:hover{ color:var(--light); }

@media (max-width:760px){
  .ftr-contacts{ grid-column:1 / -1; }
  /* ссылки футера — тоже 44px по высоте нажатия */
  .ftr-col{ gap:.1rem; }
  .ftr-col a{ display:flex; align-items:center; min-height:44px; }
  .ftr-legal{ gap:.25rem 1.75rem; }
  .ftr-legal a{ display:flex; align-items:center; min-height:44px; }
  .ftr-contacts{ gap:.2rem; justify-content:flex-start; }
  .contact{ padding-block:.5rem; }
  .ftr-brand .brand{ min-height:44px; }
}
@media (max-width:640px){
  /* мелкий шрифт дисклеймеров на телефоне читается плохо */
  .ftr-bot p{ font-size:.82rem; }
  .ftr-legal a{ font-size:.85rem; }
}

/* ─── how: стена отзывов/мерчантов + вертикальное видео ─────── */
.how-grid{
  display:grid; grid-template-columns:minmax(0,300px) 1fr;
  gap:clamp(1.5rem,4vw,3rem); align-items:center;
}
@media (max-width:900px){
  .how-grid{ grid-template-columns:1fr; }
  /* в одну колонку порядок меняем: сначала бренды, потом видео */
  .how-grid .wall{ order:-1; }
}

.vid-fig{ margin:0; }
.vid-fig figcaption{
  margin-top:.85rem; text-align:center;
  font-size:.82rem; line-height:1.45; color:var(--gray-dim);
}
@media (max-width:900px){ .vid-fig{ max-width:300px; margin-inline:auto; } }

/* стена плашек */
.wall{
  position:relative; overflow:hidden;
  display:flex; flex-direction:column; gap:1rem;
  mask-image:linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image:linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.wall[hidden]{ display:none; }
.wall-row{
  display:flex; gap:1rem; width:max-content;
  animation:wall-slide 48s linear infinite;
}
/* каждый ряд со своей скоростью, соседние — навстречу друг другу,
   иначе пять одинаковых лент читаются как одна большая простыня */
.wall-row:nth-child(2){ animation-duration:64s; animation-direction:reverse; }
.wall-row:nth-child(3){ animation-duration:54s; }
.wall-row:nth-child(4){ animation-duration:76s; animation-direction:reverse; }
.wall-row:nth-child(5){ animation-duration:58s; }

/* сдвиг ровно на один проход: -50% не учитывает зазор между двумя
   копиями набора, из-за чего петля дёргалась бы на половину gap */
@keyframes wall-slide{
  from{ transform:translate3d(0,0,0); }
  to  { transform:translate3d(calc(-50% - .5rem),0,0); }
}

.rev{
  flex:none; width:268px;
  background:var(--ink-raise); border:1px solid var(--ink-line);
  border-radius:14px; padding:1.05rem 1.15rem;
}
.rev-top{ display:flex; align-items:center; gap:.6rem; margin-bottom:.65rem; }
.rev-av{
  flex:none; width:32px; height:32px; border-radius:50%;
  background:var(--blue-deep); color:var(--light);
  display:grid; place-items:center; font-size:.78rem; font-weight:700;
}
.rev-name{ display:block; font-size:.85rem; font-weight:600; color:var(--light); line-height:1.2; }
.rev-meta{ display:block; font-size:.7rem; color:var(--gray-dim); }
.rev-txt{ font-size:.85rem; color:var(--gray); line-height:1.5; margin:0; }

/* плашки мерчантов */
.mrc{
  flex:none; display:flex; align-items:center; gap:.5rem;
  background:var(--ink-raise); border:1px solid var(--ink-line);
  border-radius:999px; padding:.6rem 1.1rem;
  font-size:.88rem; font-weight:600; color:var(--gray); white-space:nowrap;
  transition:color .9s var(--ease), background .9s var(--ease),
             border-color .9s var(--ease), box-shadow .9s var(--ease);
}
.mrc::before{
  content:''; width:6px; height:6px; border-radius:50%;
  background:var(--blue-bright); flex:none;
  transition:box-shadow .9s var(--ease);
}
/* случайные плашки ненадолго наливаются синим и гаснут — включает скрипт */
.mrc.is-lit{
  color:var(--light); background:rgba(44,95,224,.16);
  border-color:var(--blue-lift);
  box-shadow:0 0 20px rgba(44,95,224,.45);
}
.mrc.is-lit::before{ box-shadow:0 0 9px var(--blue-bright); }

/* акцент внутри текста */
.hl{ color:var(--blue-bright); }

.steps-block .sec-head{ margin-inline:auto; }
.steps-row{
  display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(.9rem,1.8vw,1.4rem);
}
@media (max-width:900px){
  .steps-row{ grid-template-columns:1fr; gap:1.75rem; max-width:420px; margin-inline:auto; }
}

@media (prefers-reduced-motion:reduce){
  .wall-row{ animation:none; }
  .wall{ overflow-x:auto; }
}
.no-anim .wall-row{ animation:none; }
