/* ===== Витрина устройств: ноутбук и телефон с Happ ===== */
.sx {
  --sx-on: #3ddc97;
  --sx-on-hi: #8dffd0;
  --sx-busy: #8b7bff;
  --sx-gold: #ffc14a;
  --sx-w: 1080;
  --sx-h: 640;
}
.is-mobile .sx { --sx-w: 400; --sx-h: 610; }

.sx-stage { position: relative; height: calc(var(--sx-h) * var(--sx-s, 1) * 1px); margin-top: 8px; }
.sx-inner {
  position: absolute; left: 50%; top: 0;
  width: calc(var(--sx-w) * 1px); height: calc(var(--sx-h) * 1px);
  transform: translateX(-50%) scale(var(--sx-s, 1)); transform-origin: 50% 0;
}
.sx-globe { position: absolute; left: 600px; top: 300px; width: 700px; height: 700px; max-width: none; transform: translate(-50%, -50%); pointer-events: none; }
.sx-ring { position: absolute; left: 600px; top: 300px; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; border: 1px dashed rgba(255, 214, 140, .32); animation: sxSpin 70s linear infinite; pointer-events: none; }
.sx-ring::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--sx-gold); box-shadow: 0 0 16px var(--sx-gold); }
.sx-ring--b { width: 760px; height: 760px; margin: -380px 0 0 -380px; border-style: solid; border-color: rgba(139, 123, 255, .24); animation-duration: 110s; animation-direction: reverse; }
.sx-ring--b::before { background: #8eb6ff; box-shadow: 0 0 16px #8eb6ff; top: auto; bottom: -4px; }
@keyframes sxSpin { to { transform: rotate(360deg); } }

.sx-3d { position: absolute; inset: 0; perspective: 1600px; }

/* ---------- ноутбук ---------- */
.sx-laptop {
  --lx: 0deg; --ly: 0deg;
  position: absolute; left: 36px; top: 64px; width: 700px;
  transform: rotateX(calc(4deg + var(--lx))) rotateY(calc(-8deg + var(--ly)));
  transform-origin: 50% 100%;
  transition: transform .8s var(--wx-ease), opacity 1s ease, translate 1.1s var(--wx-ease);
  filter: drop-shadow(0 50px 70px rgba(0, 0, 0, .55));
}
.sx-lid {
  position: relative; padding: 12px 12px 16px; border-radius: 22px 22px 8px 8px;
  background: linear-gradient(160deg, #3b3f66, #15172f 38%, #262a50);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 0 90px rgba(139, 123, 255, .22);
}
.sx-lid::before { content: ""; position: absolute; top: 5px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #0b0c1c; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.sx-screen {
  position: relative; display: grid; grid-template-rows: 34px 1fr; height: 410px; overflow: hidden; border-radius: 10px;
  background: radial-gradient(120% 90% at 70% 0%, #221c55 0%, #0c0b22 58%), #0c0b22;
  color: #f1f2ff; font-size: 13px; line-height: 1.3;
}
.sx-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255, 255, 255, .08), transparent 30%); }
.sx-base {
  position: relative; width: 800px; height: 20px; margin: -2px 0 0 -50px; border-radius: 4px 4px 22px 22px;
  background: linear-gradient(180deg, #4a4e7c, #1d2042 55%, #0f1128);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset;
}
.sx-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 120px; height: 7px; margin-left: -60px; border-radius: 0 0 10px 10px; background: rgba(0, 0, 0, .35); }

.sx-bar { display: flex; align-items: center; gap: 12px; padding: 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); background: rgba(255, 255, 255, .025); }
.sx-dots { display: flex; gap: 6px; }
.sx-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.sx-dots i:nth-child(2) { background: #febc2e; }
.sx-dots i:nth-child(3) { background: #28c840; }
.sx-bar-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 12.5px; }
.sx-bar-title img { width: 18px; height: 18px; border-radius: 50%; }
.sx-bar-pill { margin-left: auto; padding: 3px 10px; border-radius: 99px; background: rgba(255, 193, 74, .12); color: #ffd27a; font-size: 11px; font-weight: 800; }

.sx-win { display: grid; grid-template-columns: 236px 1fr; min-height: 0; }
.sx-side { display: flex; flex-direction: column; gap: 6px; padding: 14px 12px; border-right: 1px solid rgba(255, 255, 255, .06); background: rgba(4, 5, 16, .35); }
.sx-side-h { display: flex; justify-content: space-between; padding: 0 6px 4px; color: var(--wx-dim); font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.sx-row {
  display: flex; align-items: center; gap: 9px; width: 100%; padding: 7px 8px; border-radius: 11px; text-align: left;
  color: #dfe2ff; font-size: 12.5px; font-weight: 700; border: 1px solid transparent;
  transition: background .25s, border-color .25s, color .25s;
}
.sx-row:hover { background: rgba(255, 255, 255, .05); }
.sx-row.is-on { background: linear-gradient(90deg, rgba(61, 220, 151, .16), rgba(61, 220, 151, .03)); border-color: rgba(61, 220, 151, .38); color: #fff; }
.sx-row b { margin-left: auto; color: var(--wx-dim); font-size: 11px; font-variant-numeric: tabular-nums; }
.sx-row.is-on b { color: var(--sx-on-hi); }
.sx-row--rec { margin-bottom: 4px; background: rgba(255, 193, 74, .07); border-color: rgba(255, 193, 74, .2); }
.sx-row--rec .sx-cc { background: linear-gradient(135deg, #fff1c4, #ffc14a); }
.sx-sig { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.sx-sig i { width: 3px; border-radius: 1px; background: rgba(255, 255, 255, .22); }
.sx-sig i:nth-child(1) { height: 4px; } .sx-sig i:nth-child(2) { height: 7px; } .sx-sig i:nth-child(3) { height: 11px; }
.sx-row.is-on .sx-sig i { background: var(--sx-on); }

.sx-cc {
  display: inline-grid; place-items: center; flex: none; width: 30px; height: 20px; border-radius: 6px;
  font: 800 10px/1 var(--wx-head); font-style: normal; letter-spacing: .03em; color: #120d26;
  background: linear-gradient(135deg, #ede9ff, #b9d8ff);
}

.sx-cc[data-f] {
  position: relative; overflow: hidden; border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 2px 8px rgba(0, 0, 0, .4);
}
.sx-cc[data-f]::after { content: none; }
.sx-cc[data-f="FI"] { background: url("/site/assets/flags/fi.png") center / cover no-repeat; }
.sx-cc[data-f="SE"] { background: url("/site/assets/flags/se.png") center / cover no-repeat; }
.sx-cc[data-f="DE"] { background: url("/site/assets/flags/de.png") center / cover no-repeat; }
.sx-cc[data-f="NL"] { background: url("/site/assets/flags/nl.png") center / cover no-repeat; }
.sx-cc[data-f="EE"] { background: url("/site/assets/flags/ee.png") center / cover no-repeat; }
.sx-cc[data-f="LV"] { background: url("/site/assets/flags/lv.png") center / cover no-repeat; }
.sx-cc[data-f="AT"] { background: url("/site/assets/flags/at.png") center / cover no-repeat; }
.sx-cc[data-f="PL"] { background: url("/site/assets/flags/pl.png") center / cover no-repeat; }
.sx-cc[data-f="ES"] { background: url("/site/assets/flags/es.png") center / cover no-repeat; }
.sx-cc[data-f="RU"] { background: url("/site/assets/flags/ru.png") center / cover no-repeat; }
.sx-cc[data-f="HR"] { background: url("/site/assets/flags/hr.png") center / cover no-repeat; }
.sx-cc[data-f="AL"] { background: url("/site/assets/flags/al.png") center / cover no-repeat; }
.sx-cc[data-f="TR"] { background: url("/site/assets/flags/tr.png") center / cover no-repeat; }
.sx-cc[data-f="KZ"] { background: url("/site/assets/flags/kz.png") center / cover no-repeat; }
.sx-cc[data-f="US"] { background: url("/site/assets/flags/us.png") center / cover no-repeat; }
.sx-cc[data-f="BR"] { background: url("/site/assets/flags/br.png") center / cover no-repeat; }
.sx-cc--rec svg { width: 13px; height: 13px; fill: #6b3d00; }
.sx-loc .sx-cc--rec svg, .sx-ph-loc .sx-cc--rec svg { width: 15px; height: 15px; }

.sx-main { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; min-width: 0; }
.sx-head { display: flex; align-items: center; gap: 16px; }
.sx-state { display: flex; flex-direction: column; gap: 2px; }
.sx-state b { font-family: var(--wx-head); font-size: 22px; letter-spacing: -.02em; transition: color .3s; }
.sx-state small { color: var(--wx-muted); font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: .05em; }
.sx-toggle {
  position: relative; flex: none; width: 74px; height: 40px; margin-left: auto; border-radius: 99px;
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  transition: background .35s, box-shadow .35s;
}
.sx-toggle i { position: absolute; top: 4px; left: 4px; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .4); transition: transform .45s cubic-bezier(.3, 1.4, .5, 1); }
.sx-loc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .07); }
.sx-loc .sx-cc { width: 36px; height: 25px; font-size: 11px; border-radius: 7px; }
.sx-loc > span:not(.sx-cc) { display: flex; flex-direction: column; min-width: 0; }
.sx-loc > span b { font-size: 14px; }
.sx-loc > span small { color: var(--wx-muted); font-size: 11.5px; }
.sx-loc em { margin-left: auto; color: var(--sx-on-hi); font-style: normal; font-weight: 800; font-size: 12px; white-space: nowrap; }
.sx-loc em b { font-size: 16px; font-variant-numeric: tabular-nums; }
.sx-chart { position: relative; flex: 1; min-height: 96px; border-radius: 16px; overflow: hidden; background: rgba(4, 5, 16, .4); border: 1px solid rgba(255, 255, 255, .06); }
.sx-chart::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 100% 24px; }
.sx-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sx-chart-cap { position: absolute; left: 12px; top: 9px; color: var(--wx-dim); font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sx-line { fill: none; stroke: url(#sx-stroke); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(61, 220, 151, .55)); }
.sx-area { fill: url(#sx-fill); }
.sx-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sx-nums div { padding: 9px 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); }
.sx-nums small { display: block; color: var(--wx-dim); font-size: 10.5px; font-weight: 700; }
.sx-nums b { font-family: var(--wx-head); font-size: 17px; font-variant-numeric: tabular-nums; }
.sx-nums em { margin-left: 4px; color: var(--wx-dim); font-style: normal; font-size: 10.5px; }

/* ---------- телефон ---------- */
.sx-phone {
  --px: 0deg; --py: 0deg;
  position: absolute; left: 760px; top: 96px; width: 262px; height: 532px; padding: 9px; border-radius: 44px;
  background: linear-gradient(150deg, #474b78, #13142c 40%, #2a2d55);
  box-shadow: 0 50px 90px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 0 80px rgba(255, 170, 70, .16);
  transform: rotateX(var(--px)) rotateY(calc(-4deg + var(--py))) translateZ(60px);
  transition: transform .7s var(--wx-ease), opacity 1s ease, translate 1.2s var(--wx-ease);
}
.sx-phone::before, .sx-phone::after { content: ""; position: absolute; right: -3px; width: 3px; border-radius: 0 3px 3px 0; background: #2d3058; }
.sx-phone::before { top: 120px; height: 60px; }
.sx-phone::after { top: 196px; height: 38px; }
.sx-glass {
  position: relative; height: 100%; padding: 42px 13px 14px; border-radius: 36px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  background: radial-gradient(120% 70% at 50% 0%, #241c55 0%, #0c0b22 60%), #0c0b22;
  color: #f1f2ff;
}
.sx-glass::after { content: ""; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(255, 255, 255, .09), transparent 32%); pointer-events: none; }
.sx-island { position: absolute; top: 11px; left: 50%; width: 84px; height: 24px; border-radius: 20px; background: #000; transform: translateX(-50%); }
.sx-ph-head { width: 100%; display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; }
.sx-ph-app { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; }
.sx-ph-app img { width: 28px; height: 28px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }
.sx-ph-sub { padding: 3px 9px; border-radius: 99px; background: rgba(255, 193, 74, .12); color: #ffd27a; font-size: 10.5px; font-weight: 800; }
.sx-power { position: relative; display: grid; place-items: center; width: 170px; height: 150px; margin: 16px 0 6px; -webkit-tap-highlight-color: transparent; }
.sx-power > svg { position: absolute; left: 50%; top: 50%; width: 138px; height: 138px; margin: -69px 0 0 -69px; transform: rotate(-90deg); pointer-events: none; overflow: visible; }
.sx-ring-bg { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 6; }
.sx-ring-val { fill: none; stroke: var(--sx-on); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 0; filter: drop-shadow(0 0 8px rgba(61, 220, 151, .8)); transition: stroke-dashoffset 1.1s var(--wx-ease), stroke .4s; transform-origin: 60px 60px; }
.sx-power-btn {
  position: relative; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%;
  color: #06261a; background: radial-gradient(circle at 35% 30%, #c8ffe6, var(--sx-on) 55%, #12a86b);
  box-shadow: 0 0 40px rgba(61, 220, 151, .5), 0 0 0 10px rgba(61, 220, 151, .08);
  transition: background .4s, box-shadow .4s, color .4s, scale .2s;
}
.sx-power-btn:active { scale: .94; }
.sx-power-btn svg { width: 34px; height: 34px; }
.sx-power-btn::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid rgba(61, 220, 151, .5); opacity: 0; animation: sxWave 2.6s ease-out infinite; }
@keyframes sxWave { 0% { opacity: .8; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.35); } }
.sx-ph-state { font-family: var(--wx-head); font-weight: 700; font-size: 19px; transition: color .3s; }
.sx-ph-time { color: var(--wx-muted); font-size: 12.5px; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.sx-ph-loc { width: 100%; margin-top: 16px; display: flex; align-items: center; gap: 10px; padding: 11px; border-radius: 17px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); }
.sx-ph-loc .sx-cc { width: 32px; height: 22px; }
.sx-ph-loc > span:not(.sx-cc) { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
.sx-ph-loc > span b { font-size: 13.5px; }
.sx-ph-loc > span small { color: var(--wx-muted); font-size: 11px; }
.sx-ph-loc em { color: var(--sx-on-hi); font-style: normal; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.sx-ph-loc em b { font-size: 14.5px; font-variant-numeric: tabular-nums; }
.sx-ph-stats { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 9px; }
.sx-ph-stats div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 5px; padding: 9px 11px; border-radius: 15px; background: rgba(255, 255, 255, .04); }
.sx-ph-stats small { width: 100%; color: var(--wx-dim); font-size: 10.5px; font-weight: 700; }
.sx-ph-stats b { font-family: var(--wx-head); font-size: 17px; font-variant-numeric: tabular-nums; }
.sx-ph-stats em { color: var(--wx-dim); font-style: normal; font-size: 10.5px; }
.sx-bars { width: 100%; height: 40px; margin-top: auto; display: flex; align-items: flex-end; gap: 4px; }
.sx-bars i { flex: 1; height: 100%; border-radius: 3px; background: linear-gradient(to top, rgba(139, 123, 255, .5), rgba(255, 193, 74, .9)); transform: scaleY(.2); transform-origin: 50% 100%; animation: sxBarY 1.6s ease-in-out infinite alternate; transition: opacity .4s; }
.sx-bars i:nth-child(3n) { animation-duration: 1.1s; }
.sx-bars i:nth-child(4n+1) { animation-duration: 1.9s; animation-delay: -.6s; }
.sx-bars i:nth-child(5n+2) { animation-duration: 1.3s; animation-delay: -.3s; }
@keyframes sxBar { to { height: 100%; } }
@keyframes sxBarY { to { transform: scaleY(1); } }
/* ---------- состояния: подключение и выключено ---------- */
.sx.is-busy .sx-ring-val { stroke: var(--sx-busy); stroke-dashoffset: 235; animation: sxSpin 1s linear infinite; filter: drop-shadow(0 0 8px rgba(139, 123, 255, .8)); }
.sx.is-busy .sx-power-btn { color: #eef0ff; background: radial-gradient(circle at 35% 30%, #8e86ff, #3b3592); box-shadow: 0 0 34px rgba(139, 123, 255, .5), 0 0 0 10px rgba(139, 123, 255, .08); }
.sx.is-busy .sx-power-btn::after, .sx.is-off .sx-power-btn::after { animation: none; }
.sx.is-off .sx-ring-val { stroke-dashoffset: 327; }
.sx.is-off .sx-power-btn { color: #c9cbe6; background: radial-gradient(circle at 35% 30%, #4b4e74, #24264a); box-shadow: 0 0 0 10px rgba(255, 255, 255, .04); }
.sx.is-off .sx-ph-state, .sx.is-off .sx-state b { color: #9a9ec0; }
.sx.is-off .sx-bars i { animation-play-state: paused; opacity: .25; }
.sx.is-off .sx-row.is-on { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.sx.is-off .sx-row.is-on .sx-sig i { background: rgba(255, 255, 255, .3); }
.sx.is-off .sx-line { stroke: rgba(162, 167, 199, .5); filter: none; }
.sx.is-off .sx-loc em, .sx.is-off .sx-ph-loc em, .sx.is-off .sx-row.is-on b { color: var(--wx-dim); }
.sx:not(.is-off):not(.is-busy) .sx-toggle { background: linear-gradient(90deg, #12a86b, var(--sx-on)); box-shadow: 0 0 22px rgba(61, 220, 151, .45); }
.sx:not(.is-off):not(.is-busy) .sx-toggle i { transform: translateX(34px); }
.sx.is-busy .sx-toggle { background: rgba(139, 123, 255, .45); }
.sx.is-busy .sx-toggle i { transform: translateX(17px); }

/* ---------- плашки ---------- */
.sx-chip {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 11px; padding: 11px 15px; border-radius: 18px; white-space: nowrap;
  background: rgba(14, 14, 34, .82); border: 1px solid var(--wx-border-hi);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
  animation: sxFloat 6s ease-in-out infinite;
}
.sx-chip > span { display: flex; flex-direction: column; line-height: 1.25; }
.sx-chip b { font-size: 13.5px; }
.sx-chip small { color: var(--wx-muted); font-size: 11.5px; font-weight: 600; }
.sx-chip > svg { width: 30px; height: 30px; padding: 6px; border-radius: 10px; color: var(--sx-gold); background: rgba(255, 193, 74, .13); }
.sx-chip-dot { position: relative; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--sx-on); }
.sx-chip-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(61, 220, 151, .6); animation: sxPing 1.8s ease-out infinite; }
@keyframes sxPing { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(3); opacity: 0; } }
.sx.is-off .sx-chip-dot { background: #7d82a6; }
.sx.is-off .sx-chip-dot::after { animation: none; opacity: 0; }
.sx-chip--route { left: 10px; top: 4px; }
.sx-chip--dev { left: 0; top: 486px; animation-delay: -2s; }
.sx-chip--speed { left: 790px; top: 14px; animation-delay: -4s; }
.sx-chip--speed > svg { color: var(--sx-on); background: rgba(61, 220, 151, .13); }
@keyframes sxFloat { 50% { translate: 0 -12px; } }

/* ---------- слоты устройств ---------- */
.sx-slots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 34px auto 0; padding: 0; max-width: 980px; list-style: none; }
.sx-slots li {
  position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px 16px; border-radius: 18px;
  background: var(--wx-surface); border: 1px solid var(--wx-border);
  transition: border-color .5s, background .5s, opacity .5s;
}
.sx-slots svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 11px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--wx-muted); background: rgba(255, 255, 255, .05); transition: color .5s, background .5s; }
.sx-slots span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.sx-slots b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-slots small { color: var(--wx-dim); font-size: 12px; font-weight: 700; transition: color .5s; }
.sx-slots li.is-live { border-color: rgba(61, 220, 151, .32); background: radial-gradient(160px 80px at 0% 0%, rgba(61, 220, 151, .12), transparent 70%), var(--wx-surface); }
.sx-slots li.is-live svg { color: var(--sx-on-hi); background: rgba(61, 220, 151, .14); }
.sx-slots li.is-live small { color: var(--sx-on-hi); }
.sx-slots li.is-free { border-style: dashed; }
.sx-slots li.is-free svg { color: var(--sx-gold); background: rgba(255, 193, 74, .1); }

/* ---------- страны ---------- */
.sx-countries { margin-top: 26px; }
.sx-countries .wx-marquee-track { animation-direction: reverse; animation-duration: 60s; }
.sx-countries span { gap: 9px; padding: 7px 16px 7px 7px; }
.sx-countries .sx-cc { width: 32px; height: 22px; }

/* ---------- появление ---------- */
.sx-stage:not(.is-in) .sx-laptop { opacity: 0; translate: 0 70px; }
.sx-stage:not(.is-in) .sx-phone { opacity: 0; translate: 90px 40px; }
.sx-stage:not(.is-in) .sx-chip { opacity: 0; }
.sx-chip { transition: opacity .8s ease .5s; }
.sx-stage.is-paused *, .sx-stage.is-paused *::before, .sx-stage.is-paused *::after { animation-play-state: paused !important; }

/* ---------- телефон: компоновка ---------- */
.is-mobile .sx-globe { display: none; }
/* На телефоне без 3D-перспективы и светящихся фильтров: каждый такой слой — десятки МБ на iPhone. */
.is-mobile .sx-3d { perspective: none; }
.is-mobile .sx-line, .is-mobile .sx-ring-val, .is-mobile .sx.is-busy .sx-ring-val { filter: none; }
.is-mobile .sx-lid { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset; }
.is-mobile .sx-ring, .is-mobile .sx-ring--b { display: none; }
.is-mobile .sx-laptop { left: 6px; top: 14px; scale: .52; transform-origin: 0 0; translate: 0 0; transform: none; filter: none; }
.is-mobile .sx-stage:not(.is-in) .sx-laptop { translate: 0 40px; }
.is-mobile .sx-phone { left: 168px; top: 150px; scale: .86; transform-origin: 0 0; transform: none; }
.is-mobile .sx-stage:not(.is-in) .sx-phone { translate: 60px 30px; }
.is-mobile .sx-chip { padding: 9px 12px; gap: 9px; border-radius: 15px; }
.is-mobile .sx-chip b { font-size: 12.5px; }
.is-mobile .sx-chip small { font-size: 11px; }
.is-mobile .sx-chip > svg { width: 26px; height: 26px; padding: 5px; }
.is-mobile .sx-chip--route { left: 0; top: 300px; }
.is-mobile .sx-chip--speed { left: 0; top: 380px; }
.is-mobile .sx-chip--dev { left: 0; top: 460px; }
.is-mobile .sx-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.is-mobile .sx-slots li { padding: 12px; gap: 10px; }
.is-mobile .sx-slots li:last-child { grid-column: 1 / -1; }
.is-mobile .sx-slots b { font-size: 13px; }
@media (min-width: 600px) { .is-mobile .sx-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); } .is-mobile .sx-slots li:last-child { grid-column: auto; } }
@media (max-width: 1100px) { .is-desktop .sx-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- горизонт планеты под первым экраном ---------- */
.wx-horizon > span { position: absolute; pointer-events: none; }
.wx-horizon::before {
  background:
    radial-gradient(ellipse 26% 55% at 53% 0%, rgba(255, 196, 120, .26), transparent 62%),
    radial-gradient(ellipse 48% 80% at 50% 0%, rgba(118, 104, 255, .42), transparent 72%),
    radial-gradient(ellipse 20% 50% at 22% 6%, rgba(111, 227, 255, .14), transparent 70%),
    linear-gradient(180deg, #221a5c 0, #130e38 34%, #090622 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 30%, transparent 78%);
  mask-image: linear-gradient(180deg, #000 0, #000 30%, transparent 78%);
}
.is-mobile .hz-surf {
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 64%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 64%, transparent 100%);
}
.is-mobile .wx-horizon::before {
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 58%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 58%, transparent 100%);
}
.is-mobile .hz-atmo { clip-path: inset(22% 0 58% 0); }
.is-mobile .hz-sun { top: 18px; }
.hz-surf {
  inset: 0; border-radius: 50%; overflow: hidden;
  background: radial-gradient(ellipse 50% 50% at 50% 50%,
    transparent 76%, rgba(139, 123, 255, .09) 80%, transparent 82.5%,
    rgba(111, 227, 255, .07) 87%, transparent 89%,
    rgba(186, 160, 255, .1) 93%, transparent 95%,
    rgba(111, 227, 255, .12) 98%, transparent 99.4%);
  -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 55%);
  mask-image: linear-gradient(180deg, #000 0, transparent 55%);
}
.hz-surf > b { position: absolute; top: 0; left: 0; height: 100%; display: block; background-repeat: repeat-x; will-change: transform; }
.hz-land {
  width: calc(100% + 1400px);
  background-image:
    radial-gradient(ellipse 260px 42px at 200px 54px, rgba(111, 227, 255, .13), transparent 70%),
    radial-gradient(ellipse 170px 28px at 330px 30px, rgba(80, 210, 200, .1), transparent 70%),
    radial-gradient(ellipse 200px 34px at 640px 34px, rgba(150, 130, 255, .2), transparent 70%),
    radial-gradient(ellipse 330px 52px at 1010px 84px, rgba(90, 200, 230, .1), transparent 70%),
    radial-gradient(ellipse 150px 24px at 1260px 22px, rgba(186, 160, 255, .18), transparent 70%);
  background-size: 1400px 100%;
  animation: hzSpinLand 140s linear infinite;
}
.hz-cloud {
  width: calc(100% + 900px);
  background-image:
    radial-gradient(ellipse 150px 8px at 120px 20px, rgba(235, 238, 255, .2), transparent 70%),
    radial-gradient(ellipse 90px 6px at 420px 11px, rgba(235, 238, 255, .18), transparent 70%),
    radial-gradient(ellipse 210px 11px at 650px 40px, rgba(235, 238, 255, .12), transparent 70%),
    radial-gradient(ellipse 70px 5px at 830px 28px, rgba(235, 238, 255, .16), transparent 70%);
  background-size: 900px 100%;
  animation: hzSpinCloud 70s linear infinite;
}
@keyframes hzSpinLand { to { transform: translateX(-1400px); } }
@keyframes hzSpinCloud { to { transform: translateX(-900px); } }
.hz-atmo {
  inset: 0; border-radius: 50%;
  border-top: 2px solid rgba(175, 228, 255, .9);
  box-shadow:
    inset 0 18px 30px -16px rgba(111, 227, 255, .55),
    inset 0 46px 70px -40px rgba(139, 123, 255, .6),
    0 -3px 8px -1px rgba(150, 225, 255, .8),
    0 -14px 30px -6px rgba(111, 227, 255, .42),
    0 -42px 90px -12px rgba(139, 123, 255, .5);
  clip-path: inset(-160px 0 72% 0);
  animation: hzBreath 8s ease-in-out infinite;
}
@keyframes hzBreath { 0%, 100% { opacity: .8; } 50% { opacity: 1; } }
.hz-glint {
  inset: 0; border-radius: 50%;
  border-top: 2px solid #ffe3a3;
  filter: drop-shadow(0 0 6px #ffc14a) drop-shadow(0 0 14px rgba(255, 170, 70, .7));
  -webkit-mask: linear-gradient(90deg, transparent, #000 50%, transparent) 0 0 / 14% 30% no-repeat;
  mask: linear-gradient(90deg, transparent, #000 50%, transparent) 0 0 / 14% 30% no-repeat;
  animation: hzGlint 9s cubic-bezier(.45, 0, .55, 1) infinite;
}
@keyframes hzGlint {
  0% { -webkit-mask-position: 22% 0; mask-position: 22% 0; opacity: 0; }
  10% { opacity: 1; }
  50% { -webkit-mask-position: 78% 0; mask-position: 78% 0; opacity: 1; }
  60%, 100% { -webkit-mask-position: 78% 0; mask-position: 78% 0; opacity: 0; }
}
.hz-sun {
  left: 50%; top: -26px; width: 520px; height: 52px; margin-left: -260px; border-radius: 50%;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 246, 220, .95) 0, rgba(255, 193, 74, .55) 22%, rgba(139, 123, 255, .22) 55%, transparent 72%);
  filter: blur(6px); mix-blend-mode: screen;
  animation: hzSun 7s ease-in-out infinite;
}
.hz-sun::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 2px; margin: -1px 0 0 -450px;
  background: linear-gradient(90deg, transparent, rgba(255, 226, 160, .7), transparent);
}
.hz-sun::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 240, 200, .5), transparent 60%);
}
@keyframes hzSun { 0%, 100% { opacity: .55; scale: .92 1; } 50% { opacity: 1; scale: 1.08 1.1; } }
.hz-lights, .hz-lights--b {
  top: 10px; left: 0; width: calc(100% + 1600px); height: 120px; border-radius: 0;
  background-repeat: repeat-x; background-size: 1600px 120px; will-change: transform;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 62%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 62%, transparent);
}
.hz-lights {
  background-image:
    radial-gradient(ellipse 180px 46px at 190px 46px, rgba(255, 176, 80, .55), transparent 70%),
    radial-gradient(ellipse 120px 32px at 520px 34px, rgba(160, 198, 255, .4), transparent 70%),
    radial-gradient(ellipse 240px 58px at 860px 52px, rgba(255, 186, 90, .5), transparent 70%),
    radial-gradient(ellipse 140px 36px at 1210px 30px, rgba(255, 214, 150, .42), transparent 70%),
    radial-gradient(ellipse 200px 48px at 1460px 50px, rgba(186, 160, 255, .38), transparent 70%),
    radial-gradient(circle at 168px 40px, #ffe7b8 0 1.4px, rgba(255, 193, 74, .35) 3px, transparent 7px),
    radial-gradient(circle at 204px 52px, #ffc14a 0 1.8px, rgba(255, 150, 60, .3) 4px, transparent 9px),
    radial-gradient(circle at 508px 32px, #e7f0ff 0 1.2px, rgba(160, 198, 255, .35) 3px, transparent 7px),
    radial-gradient(circle at 834px 44px, #fff1cc 0 1.6px, rgba(255, 193, 74, .4) 4px, transparent 10px),
    radial-gradient(circle at 878px 60px, #ffb15a 0 2px, rgba(255, 140, 50, .28) 5px, transparent 11px),
    radial-gradient(circle at 1204px 36px, #ffe0a0 0 1.3px, rgba(255, 193, 74, .32) 3px, transparent 8px),
    radial-gradient(circle at 1452px 46px, #efe6ff 0 1.5px, rgba(186, 160, 255, .35) 4px, transparent 9px);
  animation: hzSpinLights 160s linear infinite;
}
.hz-lights--b {
  background-image:
    radial-gradient(circle at 214px 48px, #fff 0 .5px, transparent 1.4px),
    radial-gradient(circle at 560px 34px, #fff6e0 0 .5px, transparent 1.3px),
    radial-gradient(circle at 876px 54px, #fff 0 .6px, transparent 1.6px),
    radial-gradient(circle at 1244px 30px, #ffe7b8 0 .5px, transparent 1.3px),
    radial-gradient(circle at 1510px 50px, #fff 0 .5px, transparent 1.4px);
  animation: hzSpinLights 160s linear infinite, hzTwinkle 5s ease-in-out infinite alternate;
}
@keyframes hzSpinLights { to { transform: translateX(-1600px); } }
@keyframes hzTwinkle { from { opacity: .45; } to { opacity: 1; } }
.hz-fly {
  left: 0; top: 0; width: 0; height: 0;
  animation: hzFlyX 16s linear infinite;
}
.hz-ship {
  position: absolute; left: -22px; top: -22px; display: block; width: 44px; height: 44px;
  animation: hzFlyY 16s linear infinite;
}
.hz-ship svg { width: 44px; height: 44px; filter: drop-shadow(0 0 8px rgba(255, 170, 70, .7)); }
.hz-ship::before {
  content: ""; position: absolute; right: 36px; top: 50%; width: 180px; height: 2px; margin-top: -1px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 193, 74, .25) 50%, rgba(255, 226, 160, .9));
  filter: blur(.4px);
}
@keyframes hzFlyX {
  0% { transform: translateX(30vw); opacity: 0; }
  4% { opacity: 1; }
  52% { opacity: 1; }
  56%, 100% { transform: translateX(140vw); opacity: 0; }
}
@keyframes hzFlyY {
  0% { transform: translateY(34px) rotate(-10deg); }
  7% { transform: translateY(25px) rotate(-7.5deg); }
  14% { transform: translateY(2px) rotate(-5deg); }
  21% { transform: translateY(-21px) rotate(-2.5deg); }
  28% { transform: translateY(-30px) rotate(0deg); }
  35% { transform: translateY(-21px) rotate(2.5deg); }
  42% { transform: translateY(2px) rotate(5deg); }
  49% { transform: translateY(25px) rotate(7.5deg); }
  56%, 100% { transform: translateY(34px) rotate(10deg); }
}
.hz-moon {
  left: 70%; top: -190px; width: 54px; height: 54px; border-radius: 50%;
  background:
    radial-gradient(circle at 62% 38%, rgba(70, 58, 130, .55) 0 5px, transparent 6px),
    radial-gradient(circle at 38% 64%, rgba(70, 58, 130, .45) 0 7px, transparent 8px),
    radial-gradient(circle at 70% 70%, rgba(70, 58, 130, .4) 0 3px, transparent 4px),
    radial-gradient(circle at 32% 30%, #fbf7ff 0, #d9d2ff 28%, #8f84d8 62%, #2c2366 100%);
  box-shadow: 0 0 24px rgba(200, 190, 255, .45), 0 0 70px rgba(139, 123, 255, .3), inset -10px -8px 16px rgba(10, 6, 40, .6);
  animation: hzMoon 12s ease-in-out infinite;
}
.hz-moon::after {
  content: ""; position: absolute; inset: -34px; border-radius: 50%;
  border: 1px dashed rgba(220, 210, 255, .18);
  animation: sxSpin 40s linear infinite;
}
@keyframes hzMoon { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.is-mobile .hz-moon { top: -46px; width: 36px; height: 36px; }
.is-mobile .hz-moon::after { display: none; }
@media (max-width: 1100px) {
  .is-desktop .hz-moon { top: -128px; width: 52px; height: 52px; }
  .is-desktop .hz-moon::after { display: none; }
}
@media (min-width: 1101px) {
  .is-desktop .hz-moon { left: auto; right: calc(35vw + 52px); top: -190px; }
}
@media (max-width: 1400px) and (min-width: 1101px) {
  .is-desktop .hz-moon { right: calc(35vw + 28px); }
  .is-desktop .hz-moon::after { inset: -16px; }
}
.is-mobile .hz-meteor { top: -70px; }
.is-mobile .hz-meteor--b { top: -96px; }
.is-mobile .hz-satx { top: -28px; }
.is-mobile .hz-ship svg { width: 34px; height: 34px; }
.is-mobile .hz-ship::before { right: 26px; width: 96px; }
.is-mobile .hz-fly { animation-name: hzFlyXm; }
.is-mobile .hz-ship { animation-name: hzFlyYm; width: 34px; height: 34px; left: -17px; top: -17px; }
@keyframes hzFlyXm {
  0% { transform: translateX(18vw); opacity: 0; }
  7% { opacity: 1; }
  86% { opacity: 1; }
  94%, 100% { transform: translateX(233vw); opacity: 0; }
}
@keyframes hzFlyYm {
  0% { transform: translateY(30px) rotate(-12deg); }
  14% { transform: translateY(18px) rotate(-7deg); }
  28% { transform: translateY(6px) rotate(-3deg); }
  46% { transform: translateY(0px) rotate(0deg); }
  64% { transform: translateY(8px) rotate(4deg); }
  78% { transform: translateY(18px) rotate(8deg); }
  94%, 100% { transform: translateY(30px) rotate(12deg); }
}
.hz-satx {
  left: 0; top: -92px; width: 0; height: 0;
  animation: hzSat 46s linear infinite;
}
.hz-sat {
  position: absolute; left: -5px; top: -4px; display: block; width: 10px; height: 8px; border-radius: 2px;
  background: linear-gradient(180deg, #ffe3a3, #c48a2a);
  rotate: -8deg;
}
.hz-sat::before {
  content: ""; position: absolute; left: -15px; top: 1px; width: 40px; height: 6px;
  background:
    linear-gradient(90deg, transparent 13px, rgba(255, 255, 255, .5) 13px 15px, transparent 15px 25px, rgba(255, 255, 255, .5) 25px 27px, transparent 27px),
    linear-gradient(90deg, #5b7dff 0 13px, transparent 13px 27px, #5b7dff 27px),
    repeating-linear-gradient(90deg, transparent 0 3px, rgba(10, 10, 40, .5) 3px 4px);
  box-shadow: 0 0 10px rgba(91, 125, 255, .5);
}
.hz-sat::after {
  content: ""; position: absolute; left: 4px; top: -5px; width: 3px; height: 3px; border-radius: 50%;
  background: #ff5a6a; box-shadow: 0 0 6px 2px rgba(255, 90, 106, .8);
  animation: hzBlink 1.4s steps(1) infinite;
}
@keyframes hzBlink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0; } }
@keyframes hzSat {
  0% { transform: translateX(140vw); opacity: 0; }
  3%, 97% { opacity: 1; }
  100% { transform: translateX(30vw); opacity: 0; }
}
.hz-meteor {
  left: 62%; top: -260px; width: 130px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(175, 228, 255, .5) 60%, #fff);
  filter: drop-shadow(0 0 4px rgba(175, 228, 255, .9));
  rotate: 150deg; opacity: 0;
  animation: hzMeteor 9s ease-in infinite 2s;
}
.hz-meteor--b { left: 44%; top: -300px; width: 90px; animation-duration: 13s; animation-delay: 6.5s; }
@keyframes hzMeteor {
  0% { translate: 0 0; opacity: 0; }
  1% { opacity: 1; }
  7% { translate: -260px 150px; opacity: 0; }
  100% { translate: -260px 150px; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hz-glint, .hz-fly, .hz-ship, .hz-sun, .hz-lights, .hz-land, .hz-cloud, .hz-atmo, .hz-moon, .hz-moon::after, .hz-satx, .hz-sat::after, .hz-meteor { animation: none !important; }
  .hz-glint, .hz-fly, .hz-satx, .hz-meteor { display: none; }
}

/* ---------- белые списки через LTE ---------- */
.lte {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; gap: 20px; margin: 6px 0 22px; padding: 22px 24px;
  border-radius: 26px; border: 0;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .32);
}
.lte::before {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: 0; width: 160%; aspect-ratio: 1;
  translate: -50% -50%; pointer-events: none;
  background: conic-gradient(transparent 0 74%, rgba(125, 255, 200, .2) 84%, #d9fff0 91%, #fff 95%, transparent 99%);
  animation: lteSpin 8s linear infinite;
}
.lte::after {
  content: ""; position: absolute; inset: 1px; z-index: 0; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(520px 180px at 0% 0%, rgba(61, 220, 151, .22), transparent 62%),
    radial-gradient(280px 140px at 100% 120%, rgba(120, 170, 255, .12), transparent 70%),
    linear-gradient(112deg, #102820 0%, #12102c 58%, #16122e 100%);
}
@keyframes lteSpin { to { rotate: 360deg; } }
.lte > * { position: relative; z-index: 1; }
.lte-mark {
  display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 20px; color: #d9fff0;
  background: radial-gradient(80% 70% at 30% 0%, rgba(255, 255, 255, .2), transparent 60%), linear-gradient(165deg, #1a6b56, #0c2430);
  box-shadow: inset 0 0 0 1px rgba(185, 255, 228, .45), 0 0 0 6px rgba(61, 220, 151, .08), 0 14px 30px rgba(61, 220, 151, .28);
}
.lte-mark svg { width: 32px; height: 32px; overflow: visible; }
.lte-mark path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transform-box: fill-box; transform-origin: center bottom; animation: lteBar 1.3s ease-in-out infinite alternate; }
.lte-mark path:nth-child(2) { animation-delay: .12s; }
.lte-mark path:nth-child(3) { animation-delay: .24s; }
.lte-mark path:nth-child(4) { animation-delay: .36s; }
@keyframes lteBar { from { transform: scaleY(.4); opacity: .45; } to { transform: scaleY(1); opacity: 1; } }
.lte-copy { min-width: 0; }
.lte-copy small { display: inline-flex; margin-bottom: 6px; color: #9dffd8; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lte-copy b { display: block; font-family: var(--wx-head); font-weight: 700; font-size: clamp(18px, 1.7vw, 24px); letter-spacing: -.02em; line-height: 1.2; }
.lte-copy p { margin: 8px 0 0; max-width: 62ch; color: var(--wx-muted); line-height: 1.5; }
.lte-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin-left: auto; max-width: 150px; }
.lte-tags i { padding: 7px 11px; border-radius: 999px; font-style: normal; font-size: 12px; font-weight: 800; color: #e9fff6; background: rgba(61, 220, 151, .14); border: 1px solid rgba(185, 255, 228, .35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.is-mobile .lte { flex-wrap: wrap; padding: 18px; }
.is-mobile .lte-tags { margin-left: 0; max-width: none; }

/* ---------- значки в карточках «Возможности» ---------- */
@property --fi-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.features .feat-ico {
  position: relative; isolation: isolate; overflow: visible; border: 0;
  color: color-mix(in srgb, var(--accent) 50%, #fff);
  background:
    radial-gradient(95% 75% at 50% 112%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 72%),
    radial-gradient(70% 55% at 28% 0%, rgba(255, 255, 255, .14), transparent 62%),
    linear-gradient(165deg, #211a52, #0c0922 78%);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, rgba(255, 255, 255, .06)),
    inset 0 1px 0 rgba(255, 255, 255, .2),
    0 14px 32px -10px color-mix(in srgb, var(--accent) 55%, transparent);
  transition: transform .45s var(--wx-ease), box-shadow .4s;
}
.features .feat-ico::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--fi-a), transparent 0 64%, color-mix(in srgb, var(--accent) 85%, transparent) 82%, #fff 89%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: fiSweep 6s linear infinite;
}
.features .feature:nth-child(2n) .feat-ico::before { animation-delay: -2s; }
.features .feature:nth-child(3n) .feat-ico::before { animation-delay: -4s; }
.features .feat-ico::after {
  content: ""; position: absolute; inset: -16px; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 66%);
  opacity: .55; transition: opacity .4s, scale .5s var(--wx-ease);
}
@keyframes fiSweep { to { --fi-a: 360deg; } }
.features .feat-ico svg {
  width: 38px; height: 38px; overflow: visible;
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--accent) 80%, transparent)) drop-shadow(0 0 1px rgba(255, 255, 255, .5));
  transition: transform .45s var(--wx-ease);
}
.features .feat-ico .fi-line { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.features .feat-ico .fi-fill { fill: color-mix(in srgb, var(--accent) 32%, transparent); stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.features .feat-ico .fi-solid { fill: var(--accent); stroke: #fff; stroke-width: 1.1; stroke-linejoin: round; }
.features .feat-ico .fi-dot { fill: #fff; }
@media (hover: hover) {
  .features .feature:hover .feat-ico {
    transform: translateY(-3px);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent), inset 0 1px 0 rgba(255, 255, 255, .26), 0 18px 40px -8px color-mix(in srgb, var(--accent) 70%, transparent);
  }
  .features .feature:hover .feat-ico svg { transform: scale(1.12); }
  .features .feature:hover .feat-ico::after { opacity: 1; scale: 1.15; }
  .features .feature:hover .feat-ico::before { animation-duration: 2.4s; }
}
.is-desktop .features .feature:first-child .feat-ico svg { width: 54px; height: 54px; }
.is-mobile .features .feat-ico svg { width: 30px; height: 30px; }
.is-mobile .features .feat-ico::after { inset: -8px; }

/* ---------- фишки в карточках «Возможности» ---------- */
.is-desktop .features .feature:not(:first-child) { display: flex; flex-direction: column; }
.wx-fx { display: flex; margin-top: auto; padding-top: 18px; pointer-events: none; }
.is-mobile .wx-fx { grid-column: 1 / -1; padding-top: 14px; }
.wx-fx--eq { align-items: flex-end; gap: 5px; height: 46px; }
.wx-fx--eq i { flex: 1; height: 100%; border-radius: 4px; background: linear-gradient(to top, rgba(139, 123, 255, .55), #ffc14a); transform: scaleY(.3); transform-origin: 50% 100%; animation: sxBarY 1.4s ease-in-out infinite alternate; }
.wx-fx--eq i:nth-child(2n) { animation-duration: 1s; animation-delay: -.4s; }
.wx-fx--eq i:nth-child(3n) { animation-duration: 1.8s; animation-delay: -.8s; }
.wx-fx--tags { flex-wrap: wrap; gap: 6px; }
.wx-fx--tags span { padding: 5px 11px; border-radius: 10px; font-size: 12.5px; font-weight: 800; color: var(--wx-muted); background: rgba(255, 255, 255, .04); border: 1px solid var(--wx-border); animation: wxLit 5s ease-in-out infinite; }
.wx-fx--tags span:nth-child(2) { animation-delay: 1s; } .wx-fx--tags span:nth-child(3) { animation-delay: 2s; } .wx-fx--tags span:nth-child(4) { animation-delay: 3s; } .wx-fx--tags span:nth-child(5) { animation-delay: 4s; }
@keyframes wxLit {
  0%, 30%, 100% { color: var(--wx-muted); border-color: var(--wx-border); background: rgba(255, 255, 255, .04); }
  10%, 20% { color: #1d1305; border-color: transparent; background: linear-gradient(120deg, #ffe08a, #ff9a2e); }
}
.wx-fx--days { gap: 5px; }
.wx-fx--days i { flex: 1; height: 26px; border-radius: 7px; background: rgba(255, 255, 255, .05); border: 1px solid var(--wx-border); animation: wxDay 4.2s ease-in-out infinite; animation-delay: calc(var(--n) * .18s); }
@keyframes wxDay { 0%, 8% { background: rgba(255, 255, 255, .05); border-color: var(--wx-border); } 22%, 70% { background: rgba(196, 181, 253, .32); border-color: rgba(196, 181, 253, .6); } 90%, 100% { background: rgba(255, 255, 255, .05); border-color: var(--wx-border); } }

/* За экраном декорации стоят. Появление блоков и бегущие цифры не трогаем. */
.is-mobile .hero.is-asleep .wx-horizon,
.is-mobile .hero.is-asleep .wx-horizon::before,
.is-mobile .hero.is-asleep .wx-horizon *,
.is-mobile .hero.is-asleep .wx-horizon *::before,
.is-mobile .hero.is-asleep .wx-horizon *::after,
.is-mobile .hero.is-asleep .hero-orbit,
.is-mobile .hero.is-asleep .wx-chip,
.is-mobile .wx-marquee.is-asleep .wx-marquee-track,
.is-mobile .features.is-asleep .wx-fx i,
.is-mobile .features.is-asleep .wx-fx span,
.is-mobile .features.is-asleep .feat-ico::before,
.is-mobile .lte.is-asleep .lte-mark path,
.is-mobile .lte.is-asleep::before,
.is-mobile .wx-cta-fx.is-asleep i {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .sx-ring, .sx-chip, .sx-bars i, .sx-power-btn::after, .sx-chip-dot, .sx-chip-dot::after, .sx-countries .wx-marquee-track, .wx-fx i, .wx-fx span, .features .feat-ico::before, .lte-mark path, .lte::before { animation: none !important; }
  .sx-stage:not(.is-in) .sx-laptop, .sx-stage:not(.is-in) .sx-phone, .sx-stage:not(.is-in) .sx-chip { opacity: 1; translate: none; }
}

/* ---------- планета на телефоне: пологий горизонт, а не сплюснутая полоса ----------
   Сплюснутый овал 210vw × 168px на узком экране выглядел ровной полосой, а край атмосферы был обрезан.
   Пологий эллипс 220×134vw: у вершины та же кривизна, что у круга 360vw, но площадь в 4 раза меньше.
   Круг 360vw (1400×1400 точек на iPhone) с масками и фильтрами съедал сотни МБ видеопамяти —
   iOS-браузеры (Яндекс, Safari) роняли вкладку.
   Огни городов внутри поверхности: обрезаются по планете, а не висят в космосе по бокам. */
.hz-surf > .hz-lights { position: absolute; }
.is-mobile .hero { padding-bottom: 220px; }
.is-mobile .wx-horizon { top: calc(100% - 140px); bottom: auto; width: 220vw; height: 134vw; margin-top: 0; }
.is-mobile .wx-horizon::before {
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 15%, transparent 36%);
  mask-image: linear-gradient(180deg, #000 0, #000 15%, transparent 36%);
}
.is-mobile .hz-surf {
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 16%, transparent 34%);
  mask-image: linear-gradient(180deg, #000 0, #000 16%, transparent 34%);
}
.is-mobile .hz-atmo { clip-path: inset(-160px 0 72% 0); }
/* Тяжёлые слои планеты на телефоне: блик с фильтром и бегущие облака убраны, поверхность неподвижна. */
.is-mobile .hz-glint, .is-mobile .hz-cloud { display: none; }
.is-mobile .hz-land { animation: none; will-change: auto; width: 100%; }
.is-mobile .hz-sun { top: -26px; width: 320px; margin-left: -160px; }
.is-mobile .hz-fly { animation-name: hzFlyXc; }
.is-mobile .hz-ship { animation-name: hzFlyYc; }
@keyframes hzFlyXc {
  0% { transform: translateX(57vw); opacity: 0; }
  6% { opacity: 1; }
  94% { opacity: 1; }
  100% { transform: translateX(163vw); opacity: 0; }
}
/* Дуга эллипса a = 110vw, b = 67vw: y = b − b·√(1 − (dx/a)²), ракета на 16px выше края. */
@keyframes hzFlyYc {
  0% { transform: translateY(calc(8.29vw - 16px)) rotate(-18.5deg); }
  12.3% { transform: translateY(calc(4.59vw - 16px)) rotate(-13.4deg); }
  24.5% { transform: translateY(calc(2.05vw - 16px)) rotate(-8.8deg); }
  36.8% { transform: translateY(calc(.54vw - 16px)) rotate(-4.5deg); }
  50% { transform: translateY(-16px) rotate(0deg); }
  63.2% { transform: translateY(calc(.54vw - 16px)) rotate(4.5deg); }
  75.5% { transform: translateY(calc(2.05vw - 16px)) rotate(8.8deg); }
  87.7% { transform: translateY(calc(4.59vw - 16px)) rotate(13.4deg); }
  100% { transform: translateY(calc(8.29vw - 16px)) rotate(18.5deg); }
}



/* ---------- широкий монитор (класс wx-wide ставит скрипт в <head>) ----------
   Только лендинг: кабинет (body.wx-app, html.af-signed) не трогаем.
   Лендинг увеличивается целиком (--wx-z) и шире раскладывается (--wx-ww).
   Внутри zoom единицы vw/vh тоже растут, поэтому высоту героя и отступы шапки делим на --wx-z.
   Проценты у fixed-шапки zoom уже учитывает: width остаётся 100%. */
html.wx-wide:not(.af-signed) body:not(.wx-app) { --wx-w: var(--wx-ww); }
html.wx-wide:not(.af-signed) body:not(.wx-app) main { zoom: var(--wx-z); }
html.wx-wide.is-desktop:not(.af-signed) body:not(.wx-app) .top {
  zoom: var(--wx-z);
  width: 100%;
  padding-left: max(32px, calc((100vw / var(--wx-z) - var(--wx-w)) / 2));
  padding-right: max(32px, calc((100vw / var(--wx-z) - var(--wx-w)) / 2));
}
html.wx-wide.is-desktop:not(.af-signed) body:not(.wx-app) .hero { min-height: min(calc(100vh / var(--wx-z) - 140px), 820px); }
/* Горизонт той же выпуклости, что на 1440: высота — четверть ширины экрана. */
html.wx-wide.is-desktop:not(.af-signed) body:not(.wx-app) .wx-horizon { width: calc(170vw / var(--wx-z)); height: max(360px, calc(24vw / var(--wx-z))); }

/* ---------- 21:9 и шире: герой в три колонки ----------
   Вместо пустых полей по краям: слева текст, по центру крупный астронавт, справа вход.
   .hero-side раскрывается (display: contents), его дети становятся колонками сетки героя. */
html.wx-ultra.is-desktop:not(.af-signed) body:not(.wx-app) .hero {
  grid-template-columns: minmax(0, 1.2fr) auto minmax(0, .8fr);
  align-items: center; gap: 48px;
}
html.wx-ultra.is-desktop:not(.af-signed) body:not(.wx-app) .hero-side { display: contents; }
html.wx-ultra.is-desktop:not(.af-signed) body:not(.wx-app) .hero-copy { justify-self: start; max-width: 760px; min-width: 0; }
html.wx-ultra.is-desktop:not(.af-signed) body:not(.wx-app) .hero h1 { font-size: 54px; }
html.wx-ultra.is-desktop:not(.af-signed) body:not(.wx-app) .hero-side .hero-art { width: 400px; justify-self: center; }
html.wx-ultra.is-desktop:not(.af-signed) body:not(.wx-app) .hero-side .hero-art img { max-width: 400px; }
html.wx-ultra.is-desktop:not(.af-signed) body:not(.wx-app) #auth-slot-desktop { justify-self: end; margin-top: 0; width: 430px; }

/* ---------- кабинет на широком мониторе: крупнее, но не шире ----------
   Контейнер прежний (--wx-w, без --wx-ww), растут блоки, шрифты и отступы через zoom.
   Внутри zoom vh тоже растёт, поэтому высоту чата делим на --wx-z. */
html.wx-wide.is-desktop body.wx-app main { zoom: var(--wx-z); }
html.wx-wide.is-desktop body.wx-app .top {
  zoom: var(--wx-z);
  width: 100%;
  padding-left: max(32px, calc((100vw / var(--wx-z) - var(--wx-w)) / 2));
  padding-right: max(32px, calc((100vw / var(--wx-z) - var(--wx-w)) / 2));
}
html.wx-wide.is-desktop body.wx-app #pane-chat.is-on {
  min-height: calc(100dvh / var(--wx-z) - 168px);
  height: max(520px, calc(100dvh / var(--wx-z) - 168px - var(--chat-head, 0px)));
}
