/* Общая база страницы загрузки: шрифт и цвета как в приложении (src/ui/theme/tokens.css). */
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(/download/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-display: swap; font-weight: 200 800;
  src: url(/download/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+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: dark;
  --bg: rgb(11 10 26);
  --bg-2: rgb(26 20 51);
  --line: rgb(255 255 255 / 0.09);
  --surface: rgb(255 255 255 / 0.06);
  --surface-2: rgb(255 255 255 / 0.11);
  --text: #fff;
  --text-2: rgb(255 255 255 / 0.7);
  --text-3: rgb(255 255 255 / 0.46);
  --violet: rgb(143 71 245);
  --violet-deep: rgb(102 41 219);
  --amber: rgb(235 158 82);
  --glow: 128 64 242;
  --font: "Manrope", -apple-system, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--text);
  background:
    radial-gradient(560px 560px at 6% -8%, rgb(128 64 242 / 0.3), transparent 70%),
    radial-gradient(640px 640px at 100% 100%, rgb(217 64 158 / 0.18), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  background-attachment: fixed;
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
svg { flex-shrink: 0; }

.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.top__link { font-size: 14px; font-weight: 600; color: var(--text-2); text-decoration: none; padding: 8px 4px; }
.top__link:hover { color: var(--text); }

/* Главная кнопка: крупная, с версией прямо на ней */
.dl {
  display: inline-flex; align-items: center; gap: 14px; min-height: 68px;
  padding: 12px 24px 12px 14px; border-radius: 18px; text-decoration: none; color: #fff;
  background: linear-gradient(120deg, var(--violet), var(--violet-deep));
  box-shadow: 0 14px 36px rgb(var(--glow) / 0.42), inset 0 1px 0 rgb(255 255 255 / 0.22);
  transition: filter .15s, transform .15s;
}
.dl:hover { filter: brightness(1.08); }
.dl:active { transform: scale(0.985); }
.dl__ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgb(255 255 255 / 0.18); }
.dl__ico svg { width: 22px; height: 22px; }
.dl__txt { display: flex; flex-direction: column; text-align: left; }
.dl__txt b { font-size: 19px; font-weight: 800; line-height: 1.2; }
.dl__txt small { font-size: 13px; color: rgb(255 255 255 / 0.78); min-height: 1.4em; }

.req { font-size: 13px; color: var(--text-3); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 14px; color: var(--text-2); }
.steps li::before { counter-increment: s; content: counter(s); width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--text); background: var(--surface-2); }
.steps b { color: var(--text); font-weight: 700; }

footer { padding: 26px 0 36px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); text-decoration: underline; }
