/* MAGIC VPN — главная страница [web2-1126] */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/manrope-cyrillic-ext.woff2) format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/manrope-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/manrope-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/manrope-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root { --container: 1200px; --gutter: clamp(16px, 4vw, 40px); --sec-y: clamp(56px, 7vw, 96px); --head-h: 64px;
  --display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif; }
body.site { font-family: var(--display); font-size: 16px; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
.wrap { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; border-radius: 10px; background: #fff; color: #000; }
.skip:focus { top: 10px; }

/* ── шапка ────────────────────────────────────────────────── */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--head-h); animation: hdr-in .7s var(--spring) both;
  transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease; border-bottom: 1px solid transparent; }
.hdr.is-solid { background: rgba(10, 10, 11, .72); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); }
@keyframes hdr-in { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.hdr__in { display: flex; align-items: center; gap: 24px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 19px; letter-spacing: -.01em; text-decoration: none !important; flex: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav a { padding: 8px 12px; border-radius: 9px; color: var(--text-2); font-size: 15px; font-weight: 600; text-decoration: none; transition: color .15s, background-color .15s; }
.nav a:hover { color: var(--text); background: var(--hover); }
.nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .07); }
.hdr__act { display: flex; align-items: center; gap: 8px; flex: none; }
.hdr__menu { display: none; }
/* [apps-1127b] меню-«бургер» — до 1080 px: полная шапка (логотип, шесть ссылок, «Войти» и «Личный кабинет») занимает 984 px и при 961–1063 px обрезала кнопку «Личный кабинет» */
@media (max-width: 1080px) {
  .nav, .hdr__act .hide-m { display: none; }
  .hdr__act { margin-left: auto; }
  .hdr__menu { display: inline-flex; }
}
/* [apps-1127] телефоны 360 px: шапка не вылезает за край (кнопка меню не обрезается) */
@media (max-width: 400px) { .hdr__in { gap: 12px; } .brand { gap: 8px; font-size: 17px; } .brand img { width: 28px; height: 28px; } }

/* мобильное меню */
.mmenu { position: fixed; left: 0; right: 0; top: var(--head-h); bottom: 0; z-index: 59; padding: 12px var(--gutter) calc(24px + var(--safe-b)); overflow-y: auto;
  background: rgba(10, 10, 11, .94); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s ease, transform .45s var(--spring), visibility 0s linear .25s; }
.mmenu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .22s ease, transform .45s var(--spring), visibility 0s; }
.mmenu .group { box-shadow: none; }
.mmenu .cell { min-height: 50px; font-weight: 600; }
.mmenu.is-open .cell { animation: rise-in .5s var(--spring) both; }
.mmenu.is-open .cell:nth-child(2) { animation-delay: 30ms; } .mmenu.is-open .cell:nth-child(3) { animation-delay: 60ms; }
.mmenu.is-open .cell:nth-child(4) { animation-delay: 90ms; } .mmenu.is-open .cell:nth-child(5) { animation-delay: 120ms; }
.mmenu.is-open .cell:nth-child(6) { animation-delay: 150ms; } .mmenu.is-open .cell:nth-child(7) { animation-delay: 180ms; }
.mmenu__cta { margin-top: 12px; }
.mmenu__row { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.mmenu__row .btn { flex: 1 1 auto; }
body.menu-open { overflow: hidden; }

/* ── общие секции ─────────────────────────────────────────── */
.sec { padding: var(--sec-y) 0; position: relative; }
.sec--tight { padding: calc(var(--sec-y) * .6) 0; }
.shead { max-width: 760px; margin: 0 0 clamp(28px, 4vw, 44px); }
.shead--c { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px; padding: 5px 11px; border-radius: 999px; background: var(--surface-2);
  border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--text-2); }
.kicker .ic { width: 16px; height: 16px; color: var(--accent-2); }
.h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.lead { margin-top: 14px; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.h3 { font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -.015em; }
.more { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; font-weight: 600; font-size: 15px; }
.more .ic { width: 16px; height: 16px; transition: transform .35s var(--ease-back); }
.more:hover { text-decoration: none; }
.more:hover .ic { transform: translateX(3px); }

/* ── первый экран ─────────────────────────────────────────── */
.hero { position: relative; padding: calc(var(--head-h) + clamp(36px, 7vw, 96px)) 0 clamp(96px, 10vw, 150px); overflow: hidden; isolation: isolate; }
.hero > .wrap { position: relative; z-index: 1; }
/* фон: ночное небо со звёздами и волны внизу — всё своё, рисуется CSS и SVG */
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero__sky { position: absolute; inset: 0;
  background: radial-gradient(60% 55% at 74% 16%, rgba(38, 110, 235, .24), transparent 72%), radial-gradient(45% 45% at 12% 28%, rgba(86, 74, 214, .12), transparent 70%),
    linear-gradient(180deg, rgba(8, 16, 34, .55), rgba(10, 10, 10, 0) 70%); }
.hero__stars { position: absolute; inset: 0 0 30% 0; opacity: .8; animation: twinkle 6s ease-in-out infinite alternate;
  background-image: radial-gradient(1.3px 1.3px at 28px 36px, rgba(255, 255, 255, .85), transparent 70%), radial-gradient(1px 1px at 150px 118px, rgba(255, 255, 255, .55), transparent 70%),
    radial-gradient(1.7px 1.7px at 252px 58px, rgba(176, 208, 255, .9), transparent 70%), radial-gradient(1px 1px at 338px 186px, rgba(255, 255, 255, .5), transparent 70%),
    radial-gradient(1.2px 1.2px at 92px 222px, rgba(255, 255, 255, .65), transparent 70%), radial-gradient(1px 1px at 214px 160px, rgba(200, 220, 255, .55), transparent 70%);
  background-size: 400px 260px;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); mask-image: linear-gradient(180deg, #000 30%, transparent); }
.hero__stars--2 { opacity: .6; animation-duration: 9s; animation-delay: -4s; background-size: 560px 340px;
  background-image: radial-gradient(1.1px 1.1px at 70px 90px, rgba(255, 255, 255, .7), transparent 70%), radial-gradient(1.5px 1.5px at 310px 40px, rgba(160, 200, 255, .85), transparent 70%),
    radial-gradient(1px 1px at 460px 210px, rgba(255, 255, 255, .5), transparent 70%), radial-gradient(1.3px 1.3px at 190px 290px, rgba(255, 255, 255, .6), transparent 70%); }
@keyframes twinkle { from { opacity: .25; } to { opacity: .95; } }
.hero__sea { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(90px, 11vw, 160px); }
.wave { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; display: block; animation: wave-x 40s linear infinite; will-change: transform; }
.wave--1 { height: 100%; fill: rgba(38, 110, 235, .16); animation-duration: 46s; }
.wave--2 { height: 88%; fill: rgba(38, 128, 235, .28); animation-duration: 31s; animation-direction: reverse; }
.wave--3 { height: 74%; animation-duration: 21s; }
.wave__crest { fill: none; stroke: rgba(170, 210, 255, .45); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
@keyframes wave-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hero.is-off .wave, .hero.is-off .hero__stars { animation-play-state: paused; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__copy > * { animation: rise-in .75s var(--spring) both; }
.hero__copy > :nth-child(1) { animation-delay: .08s; } .hero__copy > :nth-child(2) { animation-delay: .16s; }
.hero__copy > :nth-child(3) { animation-delay: .24s; } .hero__copy > :nth-child(4) { animation-delay: .32s; }
.hero__copy > :nth-child(5) { animation-delay: .4s; }
.news { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 4px 12px 4px 4px; border-radius: 999px; background: rgba(30, 31, 35, .88);
  border: 1px solid var(--line-2); color: var(--text); font-size: 14px; font-weight: 600; text-decoration: none !important; transition: border-color .2s, background-color .2s; }
.news:hover { border-color: rgba(90, 158, 255, .5); background: rgba(28, 33, 42, .9); }
.news .pill { padding: 3px 10px; }
.news span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news .ic { width: 16px; height: 16px; color: var(--muted); transition: transform .35s var(--ease-back); flex: none; }
.news:hover .ic { transform: translateX(3px); }
.h1 { margin-top: 22px; font-size: clamp(42px, 6.4vw, 82px); line-height: 1.02; font-weight: 800; letter-spacing: -.04em; text-wrap: balance; }
.h1 em { font-style: normal; background: linear-gradient(92deg, #fff 0%, #9cc8ff 55%, #5a9eff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin-top: 22px; max-width: 600px; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.55; color: var(--text-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 34px 0 0; padding: 0; list-style: none; }
.fact { display: flex; align-items: center; gap: 11px; }
.fact__ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--line); color: var(--accent-2); flex: none; }
.fact b { display: block; font-size: 16px; line-height: 1.2; }
.fact > div > span { display: block; font-size: 13.5px; color: var(--muted); }

/* окно приложения на первом экране */
.mock { position: relative; width: 100%; max-width: 400px; margin-left: auto; border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, #0c0c0d, #0a0a0a); border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .4);
  animation: pop-in .9s var(--spring) .25s both; }
.mock::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 50% at 50% 0%, rgba(38, 110, 235, .10), transparent 70%); }
.mock__bar { position: relative; display: flex; justify-content: flex-end; gap: 14px; padding: 9px 14px 0; color: var(--faint); }
.mock__bar i { width: 10px; height: 10px; border-bottom: 1.6px solid currentColor; }
.mock__bar i + i { border: 0; position: relative; }
.mock__bar i + i::before, .mock__bar i + i::after { content: ""; position: absolute; left: 4px; top: 0; width: 1.6px; height: 11px; background: currentColor; transform: rotate(45deg); }
.mock__bar i + i::after { transform: rotate(-45deg); }
.mock__head { position: relative; display: flex; align-items: center; gap: 10px; padding: 14px 20px 0; font-weight: 700; font-size: 17px; }
.mock__head img { width: 28px; height: 28px; border-radius: 7px; }
.mock__head .ic { margin-left: auto; color: var(--text-2); }
.mock__stage { position: relative; display: flex; flex-direction: column; align-items: center; padding: 26px 20px 8px; }
.pwr { position: relative; width: 148px; height: 148px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 40%, #1d1e21, #141517 70%); border: 2px solid rgba(255, 255, 255, .14); color: #8b8e93;
  box-shadow: 0 0 0 10px rgba(120, 140, 170, .05), 0 20px 50px rgba(0, 0, 0, .5); transition: border-color .5s ease, color .5s ease, box-shadow .8s ease; }
.pwr .ic { width: 54px; height: 54px; stroke-width: 2; }
.pwr__arc { position: absolute; inset: -2px; border-radius: 50%; border: 2px solid transparent; opacity: 0; transition: opacity .3s; }
.mock[data-st="connecting"] .pwr { border-color: rgba(38, 136, 235, .4); color: var(--accent-2); }
.mock[data-st="connecting"] .pwr__arc { opacity: 1; border-top-color: var(--accent-2); animation: spin 1s linear infinite; }
.mock[data-st="on"] .pwr { border-color: var(--accent); color: var(--accent-2); box-shadow: 0 0 0 10px rgba(38, 136, 235, .1), 0 0 60px rgba(38, 136, 235, .35), 0 20px 50px rgba(0, 0, 0, .5); }
.mock__glow { position: absolute; top: 10px; left: 50%; width: 280px; height: 280px; margin-left: -140px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(38, 136, 235, .28), transparent 65%); opacity: 0; transition: opacity 1s ease; }
.mock[data-st="on"] .mock__glow { opacity: 1; }
.mock__st { margin-top: 18px; font-size: 22px; font-weight: 700; transition: color .4s ease; }
.mock[data-st="on"] .mock__st { color: var(--accent-2); }
.mock__hint { margin-top: 6px; font-size: 13px; color: var(--muted); min-height: 26px; display: flex; align-items: center; }
.mock__loc { display: none; align-items: center; gap: 7px; padding: 3px 10px; border-radius: 8px; background: rgba(255, 255, 255, .06); font-size: 13px; font-weight: 700; color: var(--text); }
.mock__loc .ic { width: 18px; height: 13px; border-radius: 2px; }
.mock[data-st="on"] .mock__loc { display: inline-flex; animation: pop-in .45s var(--spring) both; }
.mock[data-st="on"] #mockHint { display: none; }
.mock__speed { width: 230px; margin-top: 14px; opacity: 0; transition: opacity .5s ease .2s; }
.mock[data-st="on"] .mock__speed { opacity: 1; }
.mock__speed div { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mock__speed svg { width: 100%; height: 46px; margin-top: 4px; }
.mock__speed path { fill: none; stroke: var(--accent-2); stroke-width: 1.8; stroke-linejoin: round; transition: d .9s var(--ease); }
.mock__speed path + path { fill: rgba(38, 136, 235, .14); stroke: none; }
.mock__foot { position: relative; padding: 18px 16px 16px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.mock__foot .seg button { padding: 6px 16px; font-size: 13px; }
.mock__card { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-align: left; }
.mock__card .ic { color: #ff9a3d; }
.mock__card b { display: block; font-size: 15px; }
.mock__card div > span { display: block; font-size: 12.5px; color: var(--muted); }
.mock__card .t-ok { font-weight: 600; }
.mock__card .cell__chev { margin-left: auto; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__ctas { justify-content: center; }
  .facts { justify-content: center; }
  .mock { margin: 6px auto 0; }
}
@media (max-width: 560px) {
  .fact b span { display: inline; }
  .hero__ctas { width: 100%; flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; }
  .fact { flex-direction: column; text-align: center; gap: 7px; }
  .fact b { font-size: 14.5px; } .fact span { font-size: 12px; }
  .news { font-size: 13px; }
}

/* ── лента возможностей ───────────────────────────────────── */
.caps { position: relative; border-bottom: 1px solid var(--line); }
.caps__in { padding-top: 18px; padding-bottom: 26px; }
.caps__tabs { position: relative; display: flex; justify-content: safe center; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 10px 12px; margin: 0 -10px; }
.caps__tabs::-webkit-scrollbar { display: none; }
.caps__tabs button { position: relative; z-index: 1; flex: none; padding: 11px 20px; border-radius: 999px; font-size: 17px; font-weight: 700; color: var(--muted); transition: color .25s ease; }
.caps__tabs button:hover { color: var(--text); }
.caps__tabs button.is-on { color: #fff; }
.caps__tabs button:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.caps__line { position: absolute; left: 0; top: 10px; height: 46px; width: 60px; border-radius: 999px; z-index: 0;
  background: linear-gradient(180deg, rgba(58, 142, 240, .32), rgba(38, 110, 235, .2)); border: 1px solid rgba(110, 170, 255, .45);
  box-shadow: 0 6px 22px rgba(38, 110, 235, .28), inset 0 1px 0 rgba(255, 255, 255, .12); transition: transform .55s var(--spring), width .55s var(--spring), height .3s ease; }
.caps__text { display: flex; align-items: flex-start; justify-content: center; gap: 10px; margin: 10px auto 0; max-width: 760px; min-height: 26px; color: var(--text-2); font-size: 17px; line-height: 1.5; text-align: center; }
.caps__text .ic { width: 22px; height: 22px; margin-top: 2px; color: var(--accent-2); flex: none; }
.caps__text span { animation: fade-in .4s ease both; }
@media (max-width: 640px) { .caps__tabs button { padding: 9px 15px; font-size: 15.5px; } .caps__text { font-size: 15.5px; text-align: left; justify-content: flex-start; } }

/* ── три шага ─────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { position: relative; display: flex; flex-direction: column; padding: 12px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line);
  transition: transform .5s var(--ease-back), border-color .25s ease; }
.step:hover { transform: translateY(-4px); border-color: var(--line-2); }
.step__art { position: relative; height: 170px; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 120% at 20% 0%, #3b8cf5 0%, #1f5fd0 45%, #143a8a 100%); color: #fff; }
.step__art::before, .step__art::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); }
.step__art::before { width: 180px; height: 180px; animation: ring 4.5s ease-in-out infinite; }
.step__art::after { width: 260px; height: 260px; opacity: .5; animation: ring 4.5s ease-in-out .6s infinite; }
.step__art .ic { position: relative; z-index: 1; width: 64px; height: 64px; stroke-width: 1.6; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .3)); }
@keyframes ring { 0%, 100% { transform: scale(.92); opacity: .35; } 50% { transform: scale(1.04); opacity: .8; } }
.step__n { position: absolute; left: 22px; top: 22px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .2); font-weight: 800; font-size: 14px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.step__body { padding: 16px 8px 8px; display: flex; flex-direction: column; flex: 1; }
.step__body p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.5; flex: 1; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .step__art { height: 150px; } }

/* ── почему проходит ──────────────────────────────────────── */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feat { padding: 20px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--ease-back), border-color .25s ease, background-color .25s ease; }
.feat:hover { transform: translateY(-3px); border-color: rgba(90, 158, 255, .35); background: #1c1d21; }
.feat__ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-2); margin-bottom: 16px; }
.feat h3 { font-size: 17px; line-height: 1.3; }
.feat p { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 1080px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .feats { grid-template-columns: 1fr; gap: 10px; }
  .feat { display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; padding: 16px; }
  .feat__ic { grid-row: span 2; margin: 0; }
  .feat p { margin-top: 2px; }
}

/* ── автовыбор ────────────────────────────────────────────── */
.smart { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.smart__list { margin-top: 22px; }
.smart__list .cell { padding: 12px; }
.srvs { padding: 10px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.srvs__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px 12px; font-weight: 700; }
.srv { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; transition: background-color .35s ease; }
.srv + .srv { margin-top: 2px; }
.srv .ic--flag { width: 26px; height: 19px; border-radius: 3px; flex: none; }
.srv__ic { width: 26px; display: inline-flex; justify-content: center; color: #ff9a3d; }
.srv b { font-size: 15.5px; }
.srv small { display: block; font-size: 12.5px; color: var(--muted); }
.srv .pill { margin-left: auto; font-variant-numeric: tabular-nums; }
.srv.is-best { background: rgba(38, 136, 235, .12); }
.srv.is-best::after { content: ""; position: absolute; inset: 0; border-radius: 12px; border: 1px solid rgba(90, 158, 255, .45); animation: fade-in .4s ease both; }
@media (max-width: 860px) { .smart { grid-template-columns: 1fr; } }

/* ── устройства ───────────────────────────────────────────── */
.plats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.plat { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); color: var(--text);
  text-decoration: none !important; transition: transform .5s var(--ease-back), border-color .25s ease, background-color .25s ease; min-height: 128px; }
.plat:hover { transform: translateY(-3px); border-color: var(--line-2); background: #1c1d21; }
.plat .ic { width: 28px; height: 28px; color: var(--accent-2); }
.plat b { display: block; font-size: 16.5px; }
.plat span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.plat div > span { margin-top: 3px; }
.plat--accent { background: linear-gradient(135deg, #2f8cf0, #1a5fd1); border-color: transparent; justify-content: space-between; }
.plat--accent:hover { background: linear-gradient(135deg, #3a95f3, #1f66da); border-color: transparent; }
.plat--accent .ic, .plat--accent span { color: rgba(255, 255, 255, .85); }
.plat__row { display: flex; align-items: center; justify-content: space-between; }
@media (max-width: 960px) { .plats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .plats { grid-template-columns: repeat(2, 1fr); gap: 10px; } .plat { padding: 14px; min-height: 0; } .plat b { font-size: 15px; } }

/* ── загрузки ─────────────────────────────────────────────── */
.dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dl__card { display: flex; flex-direction: column; padding: 20px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); }
.dl__card .ic--l { color: var(--accent-2); }
.dl__card h3 { margin-top: 14px; font-size: 19px; }
.dl__card p { margin-top: 6px; color: var(--muted); font-size: 14.5px; flex: 1; }
.dl__ver { margin-top: 10px; font-size: 12.5px; color: var(--faint); }
.dl__card .btn-stack { margin-top: 16px; }
@media (max-width: 960px) { .dl { grid-template-columns: 1fr; } }

/* ── локации ──────────────────────────────────────────────── */
.locs { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.map { position: relative; min-height: 360px; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.map::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(120, 160, 220, .22) 1.1px, transparent 1.3px); background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(80% 90% at 45% 50%, #000 40%, transparent 85%); mask-image: radial-gradient(80% 90% at 45% 50%, #000 40%, transparent 85%); }
.map svg.map__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__lines path { fill: none; stroke: rgba(90, 158, 255, .55); stroke-width: 1.4; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.pin { position: absolute; width: 14px; height: 14px; transform: translate(-50%, -50%); }
.pin i { position: relative; display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px rgba(90, 158, 255, .22); }
.pin i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(90, 158, 255, .6); animation: ping 2.2s ease-out infinite; }
.pin--me i { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .15); }
.pin--me i::after { border-color: rgba(255, 255, 255, .45); }
.pin--bad i { background: var(--bad); } .pin--bad i::after { border-color: rgba(255, 92, 92, .6); }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
/* подпись — под точкой; у соседей, стоящих выше, — над точкой, чтобы не налезали */
.pin__lbl { position: absolute; left: 50%; top: 21px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; white-space: nowrap; pointer-events: none; }
.pin--up .pin__lbl { top: auto; bottom: 21px; flex-direction: column-reverse; }
.pin b { font-size: 13px; padding: 2px 8px; border-radius: 7px; background: rgba(10, 10, 11, .78); border: 1px solid var(--line); }
.pin s { text-decoration: none; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.map__foot { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.loclist { display: flex; flex-direction: column; gap: 10px; }
.loc { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); }
.loc .ic--flag { width: 34px; height: 25px; border-radius: 4px; flex: none; }
.loc b { display: block; font-size: 16.5px; }
.loc small { display: block; font-size: 13px; color: var(--muted); }
.loc .pill { margin-left: auto; font-variant-numeric: tabular-nums; }
.loc--wl .ic { color: var(--accent-2); }
@media (max-width: 860px) { .locs { grid-template-columns: 1fr; } .map { min-height: 280px; } }

/* ── тарифы ───────────────────────────────────────────────── */
.price { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.price__main { padding: clamp(20px, 3vw, 32px); }
.price__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.price__name { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; }
.price__sum { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-top: 26px; }
.price__sum b { font-size: clamp(44px, 6vw, 64px); line-height: 1; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price__sum s { color: var(--faint); font-size: 22px; font-weight: 700; }
.price__sum span { color: var(--muted); font-size: 16px; }
.price__note { margin-top: 8px; color: var(--text-2); font-size: 15px; min-height: 22px; }
.price__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.price__offer { margin-top: 20px; }
.price__offer span { display: block; }
.price__offer:not([hidden]) + .price__ctas { margin-top: 20px; }
.price__list { margin: 0; padding: clamp(20px, 3vw, 32px); list-style: none; background: rgba(255, 255, 255, .02); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.price__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-2); }
.price__list .ic { color: var(--ok); width: 20px; height: 20px; margin-top: 1px; }
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.opt { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none !important; transition: border-color .2s, background-color .2s; }
.opt:hover { border-color: var(--line-2); background: #1c1d21; }
.opt .ic { color: var(--accent-2); }
.opt b { display: block; font-size: 15.5px; }
.opt small { display: block; font-size: 13px; color: var(--muted); }
.opt .cell__chev { margin-left: auto; }
@media (max-width: 900px) { .price { grid-template-columns: 1fr; } .price__list { border-left: 0; border-top: 1px solid var(--line); } .opts { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .price__ctas .btn { flex: 1 1 100%; } }

/* ── вопросы ──────────────────────────────────────────────── */
.faqwrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.faqwrap .btn-row { margin-top: 24px; max-width: 420px; }
.faq { border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); padding: 4px 8px; }
.qa + .qa { border-top: 1px solid rgba(255, 255, 255, .06); }
.qa__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 16px 8px; font-size: 16px; font-weight: 600; text-align: left; border-radius: 8px; }
.qa__q:focus { outline: none; }
.qa__q:focus-visible { outline: 2px solid var(--accent-2); outline-offset: -2px; }
.qa__q:hover { color: #fff; }
.qa__q .ic { color: var(--muted); transition: transform .45s var(--spring); }
.qa.is-open .qa__q .ic { transform: rotate(180deg); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 8px 16px; color: var(--muted); font-size: 15px; line-height: 1.6; }
@media (max-width: 860px) { .faqwrap { grid-template-columns: 1fr; } }

/* ── финальный призыв ─────────────────────────────────────── */
.final { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(28px, 5vw, 56px); color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #3d94f6 0%, #1e63d6 45%, #102f75 100%); box-shadow: 0 30px 80px rgba(16, 60, 150, .35); }
.final__waves { position: absolute; left: -10%; width: 120%; bottom: -6px; height: 110px; pointer-events: none; }
.final__waves path { fill: rgba(255, 255, 255, .08); animation: wave 9s ease-in-out infinite alternate; }
.final__waves path + path { fill: rgba(255, 255, 255, .06); animation-duration: 12s; animation-direction: alternate-reverse; }
@keyframes wave { from { transform: translateX(-3%); } to { transform: translateX(3%); } }
.final h2 { position: relative; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; max-width: 720px; }
.final p { position: relative; margin-top: 14px; max-width: 560px; font-size: 18px; color: rgba(255, 255, 255, .85); }
.final .hero__ctas { position: relative; margin-top: 28px; }
.btn--glass { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, .18); }
.final__small { position: relative; margin-top: 18px; font-size: 13.5px; color: rgba(255, 255, 255, .7); }
.final__logo { position: absolute; right: clamp(20px, 6vw, 80px); top: 50%; width: 180px; height: 180px; margin-top: -90px; border-radius: 40px; opacity: .95;
  animation: float 6s ease-in-out infinite; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35)); }
@keyframes float { 0%, 100% { transform: translateY(-6px) rotate(-2deg); } 50% { transform: translateY(8px) rotate(2deg); } }
@media (max-width: 860px) { .final__logo { display: none; } }
/* [android2-1128] крупный логотип нижнего блока не накрывает заголовок и кнопки: от 861 px тексту оставлено место справа (на широких экранах ничего не меняется) */
@media (min-width: 861px) {
  .final__logo ~ h2 { max-width: min(720px, calc(100% - 232px)); text-wrap: balance; }
  .final__logo ~ p { max-width: min(560px, calc(100% - 232px)); }
  .final__logo ~ .hero__ctas, .final__logo ~ .final__small { max-width: calc(100% - 232px); }
}

/* ── подвал ───────────────────────────────────────────────── */
.foot { margin-top: clamp(40px, 6vw, 72px); padding: 44px 0 calc(28px + var(--safe-b)); border-top: 1px solid var(--line); background: rgba(8, 8, 9, .6); }
.foot__grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 28px; }
.foot__brand p { margin-top: 10px; color: var(--muted); font-size: 14px; max-width: 280px; }
.foot__status { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.foot h4, .foot__h { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.foot a { color: var(--text-2); font-size: 14.5px; }
.foot a:hover { color: var(--text); }
.foot__seo { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot__seo ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 20px; }
.foot__seo a { font-size: 13.5px; color: var(--muted); }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; font-size: 13px; color: var(--faint); }
.foot__bottom a { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } .foot__seo ul { grid-template-columns: repeat(2, 1fr); } }

/* ── cookie ───────────────────────────────────────────────── */
.cookie { position: fixed; left: 16px; bottom: calc(16px + var(--safe-b)); z-index: 70; max-width: 420px; display: flex; gap: 14px; align-items: center;
  padding: 14px 14px 14px 16px; border-radius: 14px; background: rgba(30, 31, 35, .97); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg);
  font-size: 13.5px; color: var(--text-2); animation: rise-in .6s var(--spring) 1.2s both; }
.cookie a { white-space: nowrap; }
@media (max-width: 560px) { .cookie { left: 10px; right: 10px; max-width: none; bottom: calc(84px + var(--safe-b)); } }

/* ══ страницы «Приложения», «Статус», «Вопросы» [web2-fix-1126] ══ */
.phero-sec { padding: calc(var(--head-h) + 28px) 0 8px; }
.phero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 24px; align-items: center;
  min-height: 340px; padding: clamp(24px, 4vw, 48px); border-radius: 24px; border: 1px solid rgba(255, 255, 255, .1); animation: pop-in .7s var(--spring) both; }
.phero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 70% at 82% 30%, rgba(255, 255, 255, .12), transparent 70%), radial-gradient(40% 60% at 10% 100%, rgba(0, 0, 0, .18), transparent 70%); }
.phero--blue { background: radial-gradient(120% 140% at 0% 0%, #3d94f6 0%, #1e63d6 45%, #102f75 100%); box-shadow: 0 30px 80px rgba(16, 60, 150, .35); }
.phero__copy { position: relative; z-index: 1; }
.phero__copy > * + * { margin-top: 14px; }
.kicker--glass { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .22); color: #fff; }
.kicker--glass .ic { color: #fff; }
.kicker .dot { width: 8px; height: 8px; }
.h1--page { margin-top: 14px; font-size: clamp(34px, 4.8vw, 58px); line-height: 1.05; }
.phero__lead { font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.55; color: rgba(255, 255, 255, .86); max-width: 620px; }
.phero__detect { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.phero__detect b { color: #fff; }
.phero .hero__ctas { margin-top: 18px; }
.phero__art { position: relative; z-index: 1; height: 260px; display: flex; align-items: center; justify-content: center; }
.phero__logo { position: relative; width: 150px; height: 150px; border-radius: 36px; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35)); animation: float 6s ease-in-out infinite; }
.orbit { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.orbit i { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); animation: ring 5s ease-in-out infinite; }
.orbit i:nth-child(1) { width: 200px; height: 200px; }
.orbit i:nth-child(2) { width: 270px; height: 270px; animation-delay: .7s; opacity: .7; }
.orbit i:nth-child(3) { width: 340px; height: 340px; animation-delay: 1.4s; opacity: .45; }
.chip-float { position: absolute; width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #fff;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: float 7s ease-in-out infinite; }
.chip-float .ic { width: 26px; height: 26px; }
.chip-float--1 { left: 6%; top: 14%; }
.chip-float--2 { right: 8%; top: 8%; animation-delay: -2s; }
.chip-float--3 { left: 12%; bottom: 8%; animation-delay: -4s; }
.chip-float--4 { right: 4%; bottom: 16%; animation-delay: -1s; }
@media (max-width: 860px) {
  .phero { grid-template-columns: 1fr; min-height: 0; text-align: center; }
  .phero__copy { display: flex; flex-direction: column; align-items: center; }
  .phero .hero__ctas { justify-content: center; }
  .phero__art { order: -1; height: 170px; margin-bottom: -6px; }
  .phero__logo { width: 104px; height: 104px; border-radius: 26px; }
  .orbit i:nth-child(1) { width: 140px; height: 140px; }
  .orbit i:nth-child(2) { width: 190px; height: 190px; }
  .orbit i:nth-child(3) { display: none; }
  .chip-float { width: 42px; height: 42px; border-radius: 13px; }
  .chip-float .ic { width: 22px; height: 22px; }
  .chip-float--1 { left: 14%; } .chip-float--2 { right: 14%; } .chip-float--3 { left: 22%; } .chip-float--4 { right: 22%; }
}
@media (max-width: 560px) { .phero .hero__ctas { width: 100%; flex-direction: column; } .phero .hero__ctas .btn { width: 100%; } }

.gtitle { display: flex; align-items: center; gap: 10px; margin: 34px 2px 14px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.gtitle:first-child { margin-top: 6px; }
.gtitle .ic { color: var(--accent-2); }

/* карточки приложений */
.appgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.app { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s ease; }
.app:hover { border-color: var(--line-2); }
.app__head { display: flex; align-items: center; gap: 14px; }
.app__head h3 { font-size: 19px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.app__ic { width: 48px; height: 48px; border-radius: 14px; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-2); }
.app__ic .ic { width: 26px; height: 26px; }
.app__ic--new { background: linear-gradient(135deg, #2f8cf0, #1a5fd1); color: #fff; }
.app__meta { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); }
.app__text { color: var(--text-2); font-size: 15px; line-height: 1.55; flex: 1; }
.app__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.app__news { border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); padding: 0 14px; }
.app__news summary { cursor: pointer; display: flex; align-items: center; gap: 6px; margin: 0 -14px; padding: 11px 14px; border-radius: 11px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.app__news summary:hover { color: var(--text); }
.app__news summary::-webkit-details-marker { display: none; }
.app__news summary::after { content: "+"; margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; font-size: 20px; line-height: 1; color: var(--muted); transition: transform .35s var(--spring), color .2s; }
.app__news[open] summary::after { transform: rotate(45deg); color: var(--text); }
.app__news[open] > :not(summary) { animation: rise-in .35s var(--spring) both; }
.app__news ul { margin: 0 0 12px; padding-left: 18px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.app__news li + li { margin-top: 5px; }
.app--qr { flex-direction: row; align-items: stretch; gap: 18px; }
.app__body { display: flex; flex-direction: column; gap: 12px; flex: 1; min-width: 0; }
.app__qr { margin: 0; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 156px; padding: 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.app__qr img { width: 132px; height: 132px; border-radius: 10px; background: #fff; }
.app__qr figcaption { font-size: 12px; color: var(--muted); text-align: center; }
@media (max-width: 960px) { .appgrid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .app__qr { display: none; } .app__btns .btn { flex: 1 1 auto; } }
@media (hover: none) and (pointer: coarse) { .app__qr { display: none; } }

.others { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: center; padding: clamp(22px, 4vw, 40px); border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.others .hero__ctas { margin-top: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; justify-content: center; }
.chips li { padding: 10px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 700; font-size: 15px; color: var(--text); }
@media (max-width: 860px) { .others { grid-template-columns: 1fr; } .chips { justify-content: flex-start; } }

/* статус */
.phero--status { background: radial-gradient(120% 140% at 0% 0%, #1d3a2a 0%, #13241b 45%, #0d1410 100%); }
.phero--status[data-st="loading"] { background: radial-gradient(120% 140% at 0% 0%, #1b2a44 0%, #121a2a 50%, #0c1018 100%); }
.phero--status[data-st="warn"] { background: radial-gradient(120% 140% at 0% 0%, #4a3412 0%, #2a1e0c 50%, #140f08 100%); }
.phero--status[data-st="bad"] { background: radial-gradient(120% 140% at 0% 0%, #4a1616 0%, #2a0f0f 50%, #140909 100%); }
.phero--status .dot { background: var(--ok); }
.phero--status[data-st="loading"] .dot { background: var(--accent-2); }
.phero--status[data-st="warn"] .dot { background: var(--warn); animation: none; }
.phero--status[data-st="bad"] .dot { background: var(--bad); animation: none; }
.st-upd { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px !important; padding: 6px 6px 6px 14px; border-radius: 14px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .12); }
.st-upd__t { font-size: 14px; color: rgba(255, 255, 255, .8); font-variant-numeric: tabular-nums; }
.phero__art--pulse { height: 240px; }
.pulse { position: absolute; width: 120px; height: 120px; border-radius: 50%; border: 2px solid rgba(75, 179, 75, .55); animation: st-pulse 3s ease-out infinite; }
.pulse--2 { animation-delay: 1s; }
.pulse--3 { animation-delay: 2s; }
@keyframes st-pulse { from { transform: scale(.7); opacity: 1; } to { transform: scale(2); opacity: 0; } }
.st-badge { position: relative; width: 104px; height: 104px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(135deg, #47b347, #2a7f2a); box-shadow: 0 20px 50px rgba(40, 140, 60, .4); transition: background .5s ease, box-shadow .5s ease; }
.st-badge .ic { width: 52px; height: 52px; stroke-width: 1.8; }
.phero--status[data-st="loading"] .pulse { border-color: rgba(90, 158, 255, .5); }
.phero--status[data-st="loading"] .st-badge { background: linear-gradient(135deg, #3a8ef0, #1f5fd1); box-shadow: 0 20px 50px rgba(38, 110, 235, .4); }
.phero--status[data-st="warn"] .pulse { border-color: rgba(255, 160, 0, .55); }
.phero--status[data-st="warn"] .st-badge { background: linear-gradient(135deg, #f0a020, #c06a10); box-shadow: 0 20px 50px rgba(220, 140, 20, .4); }
.phero--status[data-st="bad"] .pulse { border-color: rgba(255, 92, 92, .6); }
.phero--status[data-st="bad"] .st-badge { background: linear-gradient(135deg, #f05050, #b02626); box-shadow: 0 20px 50px rgba(220, 60, 60, .4); }
.ststats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.ststat { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); }
.ststat span { font-size: 13.5px; color: var(--muted); }
.ststat b { font-size: 28px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ststat small { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .ststats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.loc--st .loc__right { margin-left: auto; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.loc--st .loc__right .pill { margin: 0; }
.twocol { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 16px; align-items: stretch; }
.tips, .notify { padding: clamp(20px, 3vw, 30px); border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.steps-ol { margin: 16px 0 20px; padding: 0; list-style: none; counter-reset: st; display: flex; flex-direction: column; gap: 14px; }
.steps-ol li { position: relative; padding-left: 44px; counter-increment: st; }
.steps-ol li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent-2); font-weight: 800; font-size: 14px; }
.steps-ol b { display: block; font-size: 15.5px; }
.steps-ol span { display: block; margin-top: 2px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.notify { display: flex; flex-direction: column; gap: 12px; background: radial-gradient(120% 120% at 100% 0%, rgba(38, 136, 235, .18), transparent 60%), var(--surface); }
.notify p { color: var(--text-2); font-size: 15px; line-height: 1.55; }
.notify__ic { width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-2); }
.notify .notify__small { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .twocol { grid-template-columns: minmax(0, 1fr); } }
.tips .btn-row, .faqwrap .btn-row { flex-wrap: wrap; }
.tips .btn-row > *, .faqwrap .btn-row > * { flex: 1 1 200px; }

/* вопросы и ответы */
.phero-sec--center { text-align: center; }
.hhero { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 0 8px; animation: rise-in .7s var(--spring) both; }
.hhero .h1--page { margin-top: 0; }
.hhero .phero__lead { color: var(--text-2); margin: 0 auto; }
.hhero__ic { position: relative; width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 6px;
  background: linear-gradient(135deg, #3a8ef0, #1a5fd1); color: #fff; box-shadow: 0 20px 50px rgba(38, 110, 235, .35); animation: float 6s ease-in-out infinite; }
.hhero__ic .ic { width: 44px; height: 44px; stroke-width: 1.6; }
.hhero__ic b { position: absolute; right: -8px; top: -8px; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #1a5fd1; font-size: 18px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
.hsearch { display: flex; align-items: center; gap: 10px; width: min(620px, 100%); margin-top: 10px; padding: 0 14px; height: 54px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2);
  transition: border-color .2s ease, box-shadow .2s ease; cursor: text; }
.hsearch:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(38, 136, 235, .16); }
.hsearch .ic { color: var(--muted); }
.hsearch input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; font-size: 16px; color: var(--text); }
.hsearch input::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }
.hsearch kbd { padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line-2); font: 600 12px/1.6 var(--font); color: var(--muted); }
.helpwrap { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.hnav { position: sticky; top: calc(var(--head-h) + 16px); display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.hnav__a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--text-2); font-weight: 600; font-size: 15px; text-decoration: none !important; transition: background-color .15s, color .15s; }
.hnav__a .ic { width: 20px; height: 20px; color: var(--accent-2); }
.hnav__a span { flex: 1; }
.hnav__a em { font-style: normal; font-size: 12.5px; color: var(--muted); padding: 1px 8px; border-radius: 8px; background: var(--surface-2); }
.hnav__a:hover { background: var(--hover); color: var(--text); }
.hnav__a.is-on { background: rgba(255, 255, 255, .07); color: #fff; }
.hnav__a.is-empty { opacity: .4; }
.hcat { scroll-margin-top: calc(var(--head-h) + 70px); }
.hcat + .hcat { margin-top: 8px; }
.hcat .gtitle { margin-top: 26px; }
.hcat:first-child .gtitle { margin-top: 0; }
.qa mark { background: rgba(90, 158, 255, .28); color: inherit; border-radius: 3px; padding: 0 1px; }
.hempty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 40px 16px; border-radius: 16px; background: var(--surface); border: 1px dashed var(--line-2); color: var(--muted); text-align: center; }
.hempty b { color: var(--text); font-size: 17px; }
.final--help { text-align: center; display: flex; flex-direction: column; align-items: center; }
.final--help p { margin-left: auto; margin-right: auto; }
.final--help .hero__ctas { justify-content: center; }
@media (max-width: 900px) {
  .helpwrap { grid-template-columns: 1fr; gap: 14px; }
  .hnav { top: var(--head-h); z-index: 20; flex-direction: row; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 8px var(--gutter); border-radius: 0; border-left: 0; border-right: 0;
    background: rgba(10, 10, 11, .86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .hnav::-webkit-scrollbar { display: none; }
  .hnav__a { flex: none; padding: 8px 12px; background: var(--surface-2); border: 1px solid var(--line); }
  .hnav__a em { display: none; }
}

/* MAGIC VPN 2.0 в карточках загрузки, «Что нового» и шаги установки */
.dl__card h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.app__ver { margin: 6px 0 6px; font-size: 13px; font-weight: 700; color: var(--text); }
.app__steps { margin: 0 0 12px; padding-left: 20px; color: var(--text-2); font-size: 14px; line-height: 1.55; }
.app__steps li + li { margin-top: 4px; }
.app.is-mine { border-color: rgba(90, 158, 255, .45); box-shadow: 0 0 0 1px rgba(90, 158, 255, .18), 0 18px 40px rgba(20, 70, 160, .18); }

/* карточки сайта над фоном с сеткой: светлее фона, тонкая граница, мягкий блик сверху [web2-fix-1126] */
.step, .feat, .plat, .dl__card, .map, .loc, .price, .opt, .faq, .srvs, .others, .tips, .ststat, .app, .hnav, .hsearch, .cookie {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 10px 30px rgba(0, 0, 0, .22); }
.notify { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 10px 30px rgba(0, 0, 0, .22); }

/* карточки сторонних платформ: шаги, требования, другие приложения; кнопки прижаты к низу */
.appgrid { align-items: stretch; }
.app { justify-content: flex-start; }
.app__btns { margin-top: auto; padding-top: 4px; }
.app__text { flex: 0 0 auto; }
.app__req { display: flex; flex-wrap: wrap; gap: 6px; }
.app__req .pill { font-weight: 600; }
.app__alt { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.app__alt li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; }
.app__alt li b { font-weight: 700; }
.app__alt li span { color: var(--muted); font-size: 13px; }
.app__alt li a { margin-left: auto; font-size: 13px; font-weight: 600; }
.app__alt-ic { width: 26px; height: 26px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-3); color: var(--accent-2); flex: none; }
.app__alt-ic .ic { width: 16px; height: 16px; }
.app__sub { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

/* ══ статьи, документы, установка, промо, вход в приложение [web2-fix-1126 seo] ══ */
/* хлебные крошки */
.crumbs { margin: 0 0 14px; font-size: 13.5px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 10px 0 8px; border-right: 1.5px solid var(--faint); border-top: 1.5px solid var(--faint); transform: rotate(45deg); flex: none; }
.crumbs a { color: var(--text-2); border-radius: 6px; }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-current] { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: min(60vw, 520px); }
.phero-sec--center .crumbs ol { justify-content: center; }
/* шапка статьи и документа */
.ahero { max-width: 860px; padding: 8px 0 4px; animation: rise-in .7s var(--spring) both; }
.ahero .h1--page { margin-top: 6px; }
.ahero .lead { margin-top: 12px; }
.ameta { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
/* статья + боковая колонка */
.awrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.awrap--solo { grid-template-columns: minmax(0, 880px); }
@media (max-width: 1020px) { .awrap { grid-template-columns: minmax(0, 1fr); } }
.prose { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.acard { padding: clamp(18px, 2.6vw, 28px); border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 10px 30px rgba(0, 0, 0, .22); scroll-margin-top: calc(var(--head-h) + 16px); }
.acard h2, .dsec h2 { font-size: clamp(21px, 2.2vw, 25px); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: #f1f2f4; }
.acard h3, .dsec h3 { margin-top: 18px; font-size: 17px; line-height: 1.3; color: #eceef1; }
.acard p, .dsec p { margin-top: 10px; font-size: 16px; line-height: 1.65; color: var(--text-2); }
.acard ul, .acard ol, .dsec ul, .dsec ol { margin: 10px 0 0; padding-left: 22px; color: var(--text-2); font-size: 16px; line-height: 1.6; }
.acard li + li, .dsec li + li { margin-top: 6px; }
.acard li::marker, .dsec li::marker { color: var(--accent-2); }
.acard b, .acard strong, .dsec b, .dsec strong { color: var(--text); font-weight: 700; }
.acard a, .dsec a, .docref a { color: var(--accent-2); text-decoration: underline; text-decoration-color: rgba(90, 158, 255, .35); text-underline-offset: 3px; }
.acard a:hover, .dsec a:hover, .docref a:hover { text-decoration-color: currentColor; }
.acard code, .dsec code { padding: 1px 6px; border-radius: 6px; background: var(--surface-3); color: var(--text); font-size: .92em; }
.acard table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 15px; }
.acard td, .acard th { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; color: var(--text-2); vertical-align: top; }
.acard th { color: var(--text); }
.acard img { max-width: 100%; height: auto; border-radius: 12px; }
.acard > :first-child, .dsec > :first-child { margin-top: 0; }
/* шаги в статье */
.steplist { display: grid; gap: 10px; margin-top: 14px; counter-reset: st; }
.stepi { position: relative; padding: 14px 16px 14px 58px; border-radius: var(--r-m); background: var(--surface-2); border: 1px solid var(--line); counter-increment: st; color: var(--text-2); font-size: 15.5px; line-height: 1.55; }
.stepi::before { content: counter(st); position: absolute; left: 14px; top: 13px; width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent-2); font-weight: 800; font-size: 14px; }
.stepi > b:first-child { display: block; color: var(--text); font-size: 16px; margin-bottom: 2px; }
.stepi p { margin-top: 4px; font-size: 15.5px; }
/* вопросы внутри карточки статьи */
.faq--in { margin-top: 12px; padding: 0; background: none; border: 0; box-shadow: none; }
.faq--in .qa__a p, .faq--in .qa__a li { font-size: 15.5px; }
.faq--in .qa__a ul, .faq--in .qa__a ol { padding: 0 8px 14px 30px; margin: 0; color: var(--muted); }
/* боковая колонка */
.aside { position: sticky; top: calc(var(--head-h) + 16px); display: flex; flex-direction: column; gap: 14px; }
.aside__card { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 10px 30px rgba(0, 0, 0, .22); }
.aside__t { font-size: 16px; font-weight: 800; color: var(--text); }
.aside__card > p { margin: -4px 0 2px; font-size: 14px; color: var(--muted); }
.aside .group { padding: 4px; background: var(--surface-2); box-shadow: none; }
.aside .cell { min-height: 46px; }
.aside .cell__title { font-size: 14.5px; }
@media (max-width: 1020px) { .aside { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }
/* карточки статей */
.artgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1020px) { .artgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .artgrid { grid-template-columns: minmax(0, 1fr); gap: 10px; } }
.artcard { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); color: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 10px 30px rgba(0, 0, 0, .22); transition: border-color .25s ease, transform .45s var(--ease-back), background-color .25s ease; }
.artcard b { font-size: 17px; line-height: 1.3; color: var(--text); }
.artcard span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.artcard:hover { border-color: rgba(90, 158, 255, .4); background: #1b1c20; }
@media (hover: hover) { .artcard:hover { transform: translateY(-2px); } }
.more-row { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 6px; }
/* снимки экрана */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-top: 14px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.gallery img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); }
.gallery figcaption { font-size: 13px; line-height: 1.4; color: var(--muted); }
/* [android2-1128] четыре снимка — одним рядом, на телефоне 2×2 (без переноса одного на новую строку) */
.gallery--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 640px) { .gallery--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.inline-img { display: block; margin-top: 12px; width: 200px; height: 200px; border-radius: 12px; background: #fff; }
/* документы: содержание слева */
.dwrap { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 22px; align-items: start; }
.toc { position: sticky; top: calc(var(--head-h) + 16px); display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - var(--head-h) - 32px); overflow: auto; padding: 12px;
  border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); scrollbar-width: thin; }
.toc b { padding: 4px 8px 8px; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.toc a { padding: 7px 8px; border-radius: 8px; font-size: 13.5px; line-height: 1.35; color: var(--text-2); }
.toc a:hover { background: var(--hover); color: var(--text); }
.doc { padding: clamp(18px, 3vw, 34px); border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); gap: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 10px 30px rgba(0, 0, 0, .22); }
.dsec { padding: 18px 0; scroll-margin-top: calc(var(--head-h) + 16px); }
.dsec + .dsec { border-top: 1px solid rgba(255, 255, 255, .06); }
.doc > .dsec:first-child, .docref + .dsec { padding-top: 0; }
.dsec p, .dsec li { font-size: 15.5px; }
/* [connect-1127] таблицы в документах: на телефоне слова переносятся, чтобы страница не прокручивалась вбок (/privacy на 390) */
@media (max-width: 600px) { .doc table { width: 100%; border-collapse: collapse; font-size: 14px; } .doc th, .doc td { padding: 6px 4px; vertical-align: top; overflow-wrap: anywhere; hyphens: auto; } .doc th:nth-child(2) { width: 29%; } }
.docref { margin-bottom: 22px; }
.docref ul { margin: 8px 0 0; padding-left: 18px; font-size: 14.5px; line-height: 1.6; color: var(--text-2); }
.docref ul ul { margin-top: 4px; }
@media (max-width: 900px) { .dwrap { grid-template-columns: minmax(0, 1fr); } .toc { position: static; max-height: 260px; } }
/* промо: теги, факты, тарифы, QR, документы */
.ptags { display: flex; flex-wrap: wrap; gap: 8px; }
.phero .ptags .pill { background: rgba(255, 255, 255, .14); color: #fff; }
.phero-sec .facts--4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.facts--4 .fact { padding: 14px 16px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); }
@media (max-width: 860px) { .phero-sec .facts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts--4 .fact { flex-direction: row; text-align: left; } }
.pricegrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .pricegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .pricegrid { grid-template-columns: minmax(0, 1fr); } }
.pricecard { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 10px 30px rgba(0, 0, 0, .22); }
.pricecard--hot { border-color: rgba(90, 158, 255, .5); background: linear-gradient(180deg, rgba(38, 136, 235, .14), rgba(38, 136, 235, .02) 70%), var(--surface); }
.pricecard__t { font-size: 15px; font-weight: 700; color: var(--text-2); }
.pricecard__v { font-size: 32px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.pricecard__m { font-size: 13.5px; color: var(--muted); }
.pricecard__tag { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--accent-2); }
.qrbox { display: flex; align-items: center; gap: clamp(18px, 4vw, 40px); padding: clamp(18px, 3vw, 30px); border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 10px 30px rgba(0, 0, 0, .22); }
.qrbox img { width: 168px; height: 168px; border-radius: 14px; background: #fff; flex: none; }
.qrbox .gtitle { margin: 0; }
.qrbox .lead { margin: 8px 0 16px; font-size: 16px; }
@media (max-width: 640px) { .qrbox { flex-direction: column; text-align: center; } .qrbox .gtitle { justify-content: center; } }
.doclinks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 8px; }
@media (max-width: 760px) { .doclinks { grid-template-columns: minmax(0, 1fr); } }
.doclinks .cell + .cell::before { display: none; }
.disclaimer { margin-top: 16px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.foot--neutral { padding-top: 8px; }
.foot--neutral .foot__bottom { border-top: 0; }
/* «Приложения»: другие приложения платформы и Linux */
.app__altbox { display: flex; flex-direction: column; gap: 8px; }
.app__altbox[hidden] { display: none; }
.app__pnote { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.app__alt-b { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.app__alt-b b { color: var(--text); }
.app__alt-l { margin-left: auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 10px; text-align: right; }
.app__alt li .app__alt-l a { margin-left: 0; }
.appgrid--one { grid-template-columns: minmax(0, 1fr); margin-top: 14px; }
.appgrid--one[hidden] { display: none; }

/* [apps-1127b] «Приложения»: размеры — как у карточек сайта (прежние .app и .dl__card): название 21 px, подпись 15 px, главная кнопка .btn--lg (52 px, 16 px),
   отступы 24 px, строка «Ещё» 48 px, QR 136 px. Лишнее содержимое свёрнуто (шаги, «Что нового», другие приложения), размер — не уменьшен. */
.pfsec + .pfsec { margin-top: 40px; }
.pfsec > .gtitle { margin: 0 2px 16px; }
.pfgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }   /* start: раскрытая карточка не растягивает и не двигает соседнюю */
@media (min-width: 700px) { .pfgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pf { display: flex; flex-direction: column; padding: 24px 24px 0; overflow: hidden; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 10px 30px rgba(0, 0, 0, .22); transition: border-color .25s ease; }
.pf:hover { border-color: var(--line-2); }
.pf[hidden] { display: none; }
.pf.is-mine { border-color: rgba(90, 158, 255, .45); box-shadow: 0 0 0 1px rgba(90, 158, 255, .18), 0 18px 40px rgba(20, 70, 160, .18); }
.pf__main { flex: 1; display: flex; align-items: flex-start; gap: 16px; }
.pf__left { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.pf__top { display: flex; align-items: center; gap: 14px; }
.pf__ic { width: 48px; height: 48px; border-radius: 14px; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-2); }
.pf__ic .ic { width: 26px; height: 26px; }
.pf__ic--new { background: linear-gradient(135deg, #2f8cf0, #1a5fd1); color: #fff; }
.pf__id { min-width: 0; }
.pf__id h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 21px; line-height: 1.25; }
.pf__meta { display: block; margin-top: 3px; font-size: 15px; line-height: 1.35; color: var(--muted); }
.pf__act { display: flex; align-items: center; flex-wrap: wrap; gap: 0 20px; }
.pf__act .btn { max-width: 100%; white-space: normal; line-height: 1.25; }
.pf__links { display: inline-flex; flex-wrap: wrap; gap: 0 18px; font-size: 15px; }
.pf__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 4px; }
.pf__links a:hover { color: var(--text); text-decoration-color: currentColor; }
.pf__links a[hidden] { display: none; }
.pf__qr { margin: 0; flex: none; align-self: center; width: 136px; height: 136px; padding: 4px; border-radius: 14px; background: #fff; }
.pf__qr img { display: block; width: 100%; height: 100%; border-radius: 10px; }
@media (min-width: 1200px) { .pf__qr { width: 148px; height: 148px; padding: 6px; } .pf__main { gap: 20px; } .pf__main:has(> .pf__qr) { min-height: 180px; } }
@media (max-width: 959px) { .pf__qr { display: none; } }
@media (hover: none) and (pointer: coarse) { .pf__qr { display: none; } }
.pf__warn { margin: 0; display: flex; align-items: flex-start; gap: 8px; font-size: 15px; line-height: 1.45; color: var(--warn); }
.pf__warn .ic { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.pf__warn[hidden] { display: none; }
.pf__more { margin: 18px -24px 0; border-top: 1px solid var(--line); }
.pf__more > summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 24px; cursor: pointer; list-style: none; user-select: none; font-size: 15px; font-weight: 600; color: var(--text-2); }
.pf__more > summary::-webkit-details-marker { display: none; }
/* [apps-1127b] плавное раскрытие: стрелка поворачивается на 180° (закрытие — 260 мс ease-in-out, открытие — 280 мс ease-out); класс is-closing ставит скрипт на время закрытия */
.pf__more > summary::after, .pf__sub > summary::after { content: ""; flex: none; margin: 0 3px 0 auto; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-3px) rotate(45deg); transition: transform .26s ease-in-out; }
.pf__more[open]:not(.is-closing) > summary::after, .pf__sub[open]:not(.is-closing) > summary::after { transform: translateY(3px) rotate(-135deg); transition: transform .28s ease-out; }
@media (prefers-reduced-motion: reduce) { .pf__more > summary::after, .pf__sub > summary::after { transition: none !important; } }
.pf__more > summary:hover { color: var(--text); background: var(--hover); }
.pf__more > summary:focus-visible, .pf__sub > summary:focus-visible { outline: 2px solid var(--accent-2); outline-offset: -2px; }
.pf__panel { display: flex; flex-direction: column; gap: 14px; padding: 6px 24px 24px; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.pf__panel p { margin: 0; }
.pf__note { color: var(--muted); }
.pf__note[hidden] { display: none; }
.pf__h { margin: 4px 0 -6px; font-size: 15px; font-weight: 700; color: var(--text); }
.pf__steps { margin: 0; padding-left: 22px; }
.pf__steps li + li { margin-top: 5px; }
.pf__req { font-size: 14px; color: var(--muted); }
.pf__sub { padding: 0 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.pf__sub[hidden] { display: none; }
.pf__sub > summary { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 600; color: var(--text-2); }
.pf__sub > summary::-webkit-details-marker { display: none; }
.pf__sub .app__ver { margin: 4px 0 6px; font-size: 14.5px; }
.pf__sub ul { margin: 0 0 12px; padding-left: 20px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.pf__alt { display: flex; flex-direction: column; gap: 8px; }
.pf__alt[hidden] { display: none; }
.pf__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.pf__list li { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.pf__list li:first-child { border-top: 0; }
.pf__list b { color: var(--text); font-size: 16px; font-weight: 700; }
.pf__price { font-style: normal; font-size: 14px; color: var(--muted); white-space: nowrap; }
.pf__chips { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-left: auto; }
.pf__chip { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line);
  color: var(--accent-2); font-size: 14.5px; font-weight: 600; white-space: nowrap; text-decoration: none; transition: background-color .18s ease, border-color .18s ease; }
.pf__chip:hover { background: var(--surface-3); border-color: var(--line-2); }
.pf__chip--x { color: var(--warn); border-color: rgba(255, 160, 0, .35); }
.pf__act .pf__alt--inline { width: 100%; }
.pf__alt--inline .pf__chips { justify-content: flex-start; margin-left: 0; }
.pf__act .pf__chip { min-height: 44px; padding: 8px 18px; font-size: 15px; }
.pf__legend { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
@media (max-width: 699px) { .pf { padding: 20px 20px 0; } .pf__more { margin: 16px -20px 0; } .pf__more > summary { padding: 8px 20px; } .pf__panel { padding: 6px 20px 20px; } .pf__id h3 { font-size: 20px; } }
@media (max-width: 480px) { .pf__act .btn { flex: 1 1 100%; } .pf__links { width: 100%; } }
/* [apps-1127b] последняя карточка в нечётной сетке занимает весь ряд — дыр в сетке нет; внутри широкой карточки — слева значок, название и подпись, справа кнопка или чипы.
   Колонок две (от 700 px) или одна; три колонки не используются. Размеры текста, кнопок и отступов — те же. */
@media (min-width: 700px) { .pfgrid > .pf:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 760px) {
  .pfgrid > .pf:last-child:nth-child(odd) .pf__left { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
  .pfgrid > .pf:last-child:nth-child(odd) .pf__act { margin-left: auto; justify-content: flex-end; }
  .pfgrid > .pf:last-child:nth-child(odd) .pf__act .pf__alt--inline { width: auto; }
  .pfgrid > .pf:last-child:nth-child(odd) .pf__alt--inline .pf__chips { justify-content: flex-end; }
  .pfgrid > .pf:last-child:nth-child(odd) .pf__warn { flex: 1 0 100%; }
}
/* вход в приложение по коду */
.page-device { min-height: 100vh; min-height: 100dvh; }
.devpage { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 28px 16px calc(28px + var(--safe-b)); }
.devcard { width: 100%; max-width: 440px; padding: 28px 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 24px 60px rgba(0, 0, 0, .45); animation: pop-in .6s var(--spring) both; }
.devcard__brand { justify-content: center; margin: 0 auto 18px; display: flex; }
.devview { display: flex; flex-direction: column; gap: 10px; }
.devview[hidden] { display: none; }
.devview .spin { margin: 10px auto 0; }
.devcard__h { font-size: 22px; line-height: 1.25; font-weight: 800; text-align: center; letter-spacing: -.01em; }
.devcard__sub { margin-bottom: 6px; font-size: 14.5px; line-height: 1.5; color: var(--text-2); text-align: center; }
.devcard__code-in { text-align: center; letter-spacing: .16em; font-size: 18px; text-transform: uppercase; }
.devcard .field { background: var(--surface-2); }
.devcard__links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.devcard__sep { display: flex; align-items: center; gap: 10px; margin: 8px 0 2px; font-size: 12.5px; color: var(--muted); }
.devcard__sep::before, .devcard__sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.devcard__dev { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-m); background: var(--surface-2); border: 1px solid var(--line); }
.devcard__dev b { display: block; font-size: 15px; color: var(--text); }
.devcard__dev span > span { display: block; font-size: 13px; color: var(--muted); }
.devcard__code { padding: 12px; border-radius: var(--r-m); border: 1px dashed rgba(90, 158, 255, .45); background: var(--surface-2); text-align: center;
  font: 700 24px/1.2 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .16em; color: var(--text); }
.devcard__hint { margin-top: -2px; font-size: 13px; color: var(--muted); text-align: center; }
.devcard__deny { color: #ff9b93; border-color: rgba(229, 72, 77, .45); }
.devcard__deny:hover { background: rgba(229, 72, 77, .1); }
.devcard__msg { min-height: 18px; font-size: 13.5px; text-align: center; color: var(--muted); }
.devcard__msg.is-err { color: #ff9b93; }
.devcard__msg.is-ok { color: #7fd77f; }
.devcard__who { font-size: 13px; color: var(--muted); text-align: center; }
.devview--done { align-items: center; text-align: center; padding: 6px 0; }
.devcard__big { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ok-soft); color: #7fd77f; margin-bottom: 4px; }
.devcard__big .ic { width: 32px; height: 32px; }
.devcard__big.is-bad { background: var(--bad-soft); color: #ff8a8a; }
.devpage__foot { font-size: 13.5px; color: var(--muted); text-align: center; }
.devpage__foot a { color: var(--text-2); }

/* старые якоря главной (#why, #price) — ссылки на них есть снаружи и на действующих страницах */
.anchor { display: block; height: 0; overflow: hidden; }
/* [bf-1129] плашка распродажи и зачёркнутая цена */
.bf-wrap { position: relative; z-index: 2; padding-top: calc(var(--head-h) + 10px); }
.bf-wrap + .hero { padding-top: clamp(20px, 4vw, 40px); }
.bf-wrap + section { padding-top: 14px; }
.bf-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px; padding: 12px 16px; border-radius: 14px; background: #14141a; border: 1px solid rgba(255, 192, 66, .6); color: #fff; font-size: 15px; line-height: 1.35; text-align: center; text-decoration: none; }
.bf-strip b { color: #ffc042; font-size: 16px; }
.bf-strip:hover { border-color: #ffc042; }
.pricecard__v s { font-size: .6em; font-weight: 600; opacity: .6; margin-right: 8px; }
