/* NLauncher — страница скачивания: блок «Отправь ссылку себе» (телефон), страница «Спасибо за скачивание»
 * (/download/thanks, /download/install) и тёмная тема /download (html[data-theme="dark"], ключ nl-site-theme).
 * Фронт-прокси кэширует /assets/* по имени — не править на месте, выпускать dl.v3.css. */

:root {
  --dl-bg: #F6F7F9; --dl-card: #fff; --dl-card2: #F6F8FC; --dl-ink: #0B0B0F; --dl-ink2: #4A4F5A; --dl-mute: #6B7280;
  --dl-line: rgba(11,11,15,.08); --dl-line2: rgba(11,11,15,.14); --dl-acc: #2E6CF6; --dl-acc-hi: #1E56D6; --dl-acc-soft: #EAF1FE;
  --dl-ok: #146C43; --dl-ok-soft: #E8F7EF; --dl-err: #B42318; --dl-err-soft: #FEF0EE; --dl-code: #0B1220;
}
html[data-theme="dark"] {
  --dl-bg: #0B0B0F; --dl-card: #15171D; --dl-card2: #1B1E26; --dl-ink: #F2F3F6; --dl-ink2: #B4B8C2; --dl-mute: #8A909C;
  --dl-line: rgba(255,255,255,.09); --dl-line2: rgba(255,255,255,.16); --dl-acc: #4C82FF; --dl-acc-hi: #6C9BFF; --dl-acc-soft: rgba(76,130,255,.16);
  --dl-ok: #5CD69A; --dl-ok-soft: rgba(46,160,100,.16); --dl-err: #FF8A80; --dl-err-soft: rgba(255,90,80,.12); --dl-code: #07090F;
  color-scheme: dark;
}

/* ------------------------------------------------------------------ /download в тёмной теме */
html[data-theme="dark"], html[data-theme="dark"] body { background: var(--dl-bg); }
html[data-theme="dark"] body { color: var(--dl-ink); }
html[data-theme="dark"] a { color: var(--dl-acc-hi); }
html[data-theme="dark"] header { background: rgba(11,11,15,.88); border-bottom-color: var(--dl-line); }
html[data-theme="dark"] .brand, html[data-theme="dark"] .brand:hover { color: var(--dl-ink); }
html[data-theme="dark"] .nav-sep { background: var(--dl-line2); }
html[data-theme="dark"] .nav-title, html[data-theme="dark"] .hero p, html[data-theme="dark"] .ver, html[data-theme="dark"] .req { color: var(--dl-ink2); }
html[data-theme="dark"] .login { background: var(--dl-card); color: var(--dl-ink); border-color: var(--dl-line2); }
html[data-theme="dark"] .hero h1 span { color: var(--dl-acc-hi); }
html[data-theme="dark"] .row, html[data-theme="dark"] .card { background: var(--dl-card); border-color: var(--dl-line); }
html[data-theme="dark"] .row.mine { border-color: var(--dl-acc); box-shadow: 0 30px 60px -44px rgba(46,108,246,.6); }
html[data-theme="dark"] .icon { background: #262A35; }
html[data-theme="dark"] .row.mine .icon { background: var(--dl-acc); }
html[data-theme="dark"] .build { background: var(--dl-card2); color: var(--dl-ink); border-color: var(--dl-line2); }
html[data-theme="dark"] .build i, html[data-theme="dark"] .build .soon { color: var(--dl-ink2); }
html[data-theme="dark"] .build .soon { background: rgba(255,255,255,.08); }
html[data-theme="dark"] .build.on { background: var(--dl-acc-soft); border-color: var(--dl-acc); }
html[data-theme="dark"] .build.on i { color: var(--dl-acc-hi); }
html[data-theme="dark"] .dl { background: #2A2F3B; }
html[data-theme="dark"] .dl.done, html[data-theme="dark"] .row.mine .dl.done { background: var(--dl-ok-soft); color: var(--dl-ok); }
html[data-theme="dark"] .dl[disabled], html[data-theme="dark"] .row.mine .dl[disabled] { background: rgba(255,255,255,.06); color: var(--dl-mute); }
html[data-theme="dark"] .card-head .line { background: var(--dl-line2); }
html[data-theme="dark"] .tabs { background: rgba(255,255,255,.06); }
html[data-theme="dark"] .tab { color: var(--dl-ink2); }
html[data-theme="dark"] .tab.on { background: #2A2F3B; color: var(--dl-ink); box-shadow: none; }
html[data-theme="dark"] .step .n { background: var(--dl-acc-soft); color: var(--dl-acc-hi); }
html[data-theme="dark"] .step .t { color: var(--dl-ink); }
html[data-theme="dark"] .dark { background: #111827; border: 1px solid var(--dl-line); }

/* кнопка темы и ссылка на подробную инструкцию на /download */
.dl-theme { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--dl-line2); background: var(--dl-card); color: var(--dl-ink); cursor: pointer; padding: 0; }
.dl-theme:hover { border-color: var(--dl-acc); color: var(--dl-acc); }
.login + .dl-theme, .dl-theme + .login { margin-left: 0; }
.dl-guide-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 700; font-size: 14.5px; color: var(--dl-acc); }
.dl-guide-link:hover { color: var(--dl-acc-hi); }

/* ------------------------------------------------------------------ «Отправь ссылку себе» */
html.dl-mobile .rows, html.dl-mobile .cards { display: none; }
html.dl-mobile.dl-anyway .rows, html.dl-mobile.dl-anyway .cards { display: flex; }
.dls { background: var(--dl-card); border: 1px solid var(--dl-line); border-radius: 26px; padding: 26px; color: var(--dl-ink); font-family: Onest, system-ui, sans-serif; }
.dls[hidden], .dls [hidden], .tx-file[hidden] { display: none !important; }
.dls-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.dls-ico { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--dl-acc); color: #fff; display: grid; place-items: center; }
.dls h2 { margin: 2px 0 6px; font-size: 22px; line-height: 1.15; font-weight: 900; letter-spacing: -.03em; }
.dls-lead { margin: 0; font-size: 15px; line-height: 1.5; color: var(--dl-ink2); }
.dls-grid { display: grid; gap: 12px; }
.dls-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--dl-line2); background: var(--dl-card2); color: var(--dl-ink); font: 800 15.5px/1.2 Onest, system-ui, sans-serif; cursor: pointer; text-align: center; text-decoration: none; }
a.dls-btn:hover, .dls-btn:hover { border-color: var(--dl-acc); color: var(--dl-ink); }
.dls-btn.primary { background: var(--dl-acc); border-color: var(--dl-acc); color: #fff; box-shadow: 0 16px 34px -20px rgba(46,108,246,.9); }
.dls-btn.primary:hover { background: var(--dl-acc-hi); color: #fff; }
.dls-btn svg { flex: none; }
.dls-sep { display: flex; align-items: center; gap: 12px; margin: 6px 0 2px; font-size: 13px; font-weight: 700; color: var(--dl-mute); }
.dls-sep::before, .dls-sep::after { content: ""; flex: 1; height: 1px; background: var(--dl-line2); }
.dls-mail { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.dls-mail label { width: 100%; font-size: 13.5px; font-weight: 700; color: var(--dl-ink2); }
.dls-mail input[type="email"] { flex: 1 1 200px; min-width: 0; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--dl-line2); background: var(--dl-bg); color: var(--dl-ink); font: 600 16px Onest, system-ui, sans-serif; }
.dls-mail input[type="email"]:focus { outline: 2px solid var(--dl-acc); outline-offset: 1px; border-color: transparent; }
.dls-mail button { flex: 1 1 160px; }
.dls-mail button[disabled] { opacity: .6; cursor: progress; }
.dls-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.dls-msg { margin: 0; font-size: 14px; line-height: 1.5; border-radius: 12px; padding: 10px 14px; }
.dls-msg:empty { display: none; }
.dls-msg.ok { background: var(--dl-ok-soft); color: var(--dl-ok); }
.dls-msg.err { background: var(--dl-err-soft); color: var(--dl-err); }
.dls-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dls-row .dls-btn { font-size: 14.5px; min-height: 48px; padding: 12px; }
.dls-qr { display: none; margin-top: 4px; padding: 16px; border-radius: 16px; background: var(--dl-card2); border: 1px solid var(--dl-line); text-align: center; }
.dls-qr.on { display: block; }
.dls-qr .code { display: inline-block; padding: 10px; background: #fff; border-radius: 12px; line-height: 0; }
.dls-qr .code svg { width: 200px; height: 200px; display: block; }
.dls-qr p { margin: 12px auto 0; max-width: 34em; font-size: 13.5px; line-height: 1.5; color: var(--dl-ink2); }
.dls-link { display: block; margin-top: 10px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; color: var(--dl-ink2); word-break: break-all; }
.dls-note { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--dl-line); font-size: 14px; line-height: 1.55; color: var(--dl-ink2); }
.dls-note b { color: var(--dl-ink); }
.dls-anyway { margin: 10px 0 0; font-size: 13px; }
.dls-anyway button { padding: 0; border: 0; background: none; color: var(--dl-mute); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.dls-anyway button:hover { color: var(--dl-ink2); }
@media (min-width: 720px) {
  .dls { padding: 32px; }
  .dls-grid { max-width: 560px; }
}

/* ------------------------------------------------------------------ «Спасибо за скачивание» */
.tx body, body.tx { margin: 0; background: var(--dl-bg); color: var(--dl-ink); font-family: Onest, system-ui, sans-serif; }
.tx * { box-sizing: border-box; }
.tx a { color: var(--dl-acc); text-decoration: none; }
.tx a:hover { color: var(--dl-acc-hi); }
.tx-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--dl-bg) 90%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--dl-line); }
.tx-nav { max-width: 1100px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 12px; }
.tx-brand { display: flex; align-items: center; gap: 10px; color: var(--dl-ink) !important; }
.tx-brand img { width: 34px; height: 34px; border-radius: 9px; display: block; }
.tx-brand span { font-weight: 900; font-size: 18px; letter-spacing: -.03em; }
.tx-nav .sp { flex: 1; }
.tx-login { font-weight: 800; font-size: 14.5px; color: var(--dl-ink) !important; padding: 9px 16px; border-radius: 12px; border: 1px solid var(--dl-line2); background: var(--dl-card); }
.tx-login:hover { border-color: var(--dl-acc); }
.tx-main { max-width: 1100px; margin: 0 auto; padding: 44px 24px 80px; display: flex; flex-direction: column; gap: 36px; }

.tx-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: end; }
.tx-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--dl-ok-soft); color: var(--dl-ok); font-size: 12.5px; font-weight: 800; letter-spacing: .02em; margin-bottom: 16px; }
.tx-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tx-pill.guide { background: var(--dl-acc-soft); color: var(--dl-acc); }
.tx-hero h1 { margin: 0; font-weight: 900; font-size: clamp(34px, 4.6vw, 56px); line-height: .98; letter-spacing: -.05em; text-wrap: balance; }
.tx-hero h1 span { color: var(--dl-acc); }
.tx-hero .lead { margin: 14px 0 0; font-size: 16.5px; line-height: 1.55; color: var(--dl-ink2); max-width: 520px; }
.tx-file { background: var(--dl-card); border: 1px solid var(--dl-line); border-radius: 22px; padding: 20px; }
.tx-file-row { display: flex; align-items: center; gap: 14px; }
.tx-file-ico { width: 46px; height: 46px; flex: none; border-radius: 13px; background: var(--dl-acc-soft); color: var(--dl-acc); display: grid; place-items: center; }
.tx-file-name { font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 700; font-size: 14px; word-break: break-all; }
.tx-file-meta { font-size: 13px; color: var(--dl-ink2); margin-top: 3px; }
.tx-again { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 16px; padding: 14px 18px; border-radius: 14px; background: var(--dl-acc); color: #fff !important; font-weight: 900; font-size: 15px; box-shadow: 0 16px 34px -20px rgba(46,108,246,.9); }
.tx-again:hover { background: var(--dl-acc-hi); }
.tx-file-alt { margin: 12px 0 0; font-size: 13px; color: var(--dl-ink2); text-align: center; }

.tx-sec h2 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 32px); font-weight: 900; letter-spacing: -.035em; line-height: 1.1; }
.tx-sec > .sub { margin: 0 0 20px; font-size: 15.5px; line-height: 1.55; color: var(--dl-ink2); max-width: 720px; }
.tx-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: color-mix(in srgb, var(--dl-ink) 6%, transparent); margin-bottom: 18px; }
.tx-tab { padding: 8px 14px; border-radius: 9px; border: 0; cursor: pointer; font: 800 13.5px Onest, system-ui, sans-serif; background: transparent; color: var(--dl-ink2); }
.tx-tab.on { background: var(--dl-card); color: var(--dl-ink); box-shadow: 0 4px 12px -8px rgba(11,11,15,.7); }
.tx-os[hidden] { display: none; }
.tx-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.tx-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: start; padding: 24px; background: var(--dl-card); border: 1px solid var(--dl-line); border-radius: 24px; }
.tx-step.text-only { grid-template-columns: 1fr; }
.tx-step-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--dl-acc-soft); color: var(--dl-acc); font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.tx-step h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.2; font-weight: 900; letter-spacing: -.025em; }
.tx-step p { margin: 0 0 10px; font-size: 15px; line-height: 1.6; color: var(--dl-ink2); }
.tx-step p:last-child { margin-bottom: 0; }
.tx-step b { color: var(--dl-ink); }
.tx-kbd { display: inline-block; padding: 1px 7px; border-radius: 6px; border: 1px solid var(--dl-line2); border-bottom-width: 2px; background: var(--dl-card2); font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12.5px; font-weight: 700; color: var(--dl-ink); }
.tx-why { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--dl-card2); border: 1px solid var(--dl-line); font-size: 14px; line-height: 1.55; color: var(--dl-ink2); }
.tx-why b { display: block; margin-bottom: 4px; color: var(--dl-ink); font-size: 14.5px; }
.tx-code { position: relative; margin: 6px 0 10px; }
.tx-code pre { margin: 0; padding: 14px 16px; padding-right: 96px; border-radius: 12px; background: var(--dl-code); color: #E6E9F0; font: 600 13px/1.6 'JetBrains Mono', ui-monospace, monospace; overflow-x: auto; white-space: pre; }
.tx-copy { position: absolute; top: 8px; right: 8px; padding: 6px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff; font: 700 12px Onest, system-ui, sans-serif; cursor: pointer; }
.tx-copy:hover { background: rgba(255,255,255,.16); }

/* «так выглядит окно» */
.mock { position: relative; margin: 0; }
.mock figcaption { margin-top: 10px; font-size: 12.5px; color: var(--dl-mute); text-align: center; }
.mock-pair { display: grid; gap: 12px; }
.mock-hl { position: relative; outline: 3px solid #FFB020; outline-offset: 3px; border-radius: 4px; }
.mock-hl[data-n]::after { content: attr(data-n); position: absolute; top: -10px; right: -10px; z-index: 2; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: #FFB020; color: #1A1200; font: 800 12px/1 Onest, system-ui, sans-serif; box-shadow: 0 2px 6px rgba(0,0,0,.25); text-decoration: none; }
.mock-hl.nl[data-n]::after { right: auto; left: -10px; }

/* Windows 11: SmartScreen */
.win { font-family: 'Segoe UI Variable', 'Segoe UI', system-ui, sans-serif; border-radius: 8px; overflow: hidden; box-shadow: 0 24px 50px -28px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.12); max-width: 440px; margin: 0 auto; }
.win-bar { display: flex; justify-content: flex-end; height: 30px; background: #1F5FAD; }
.win-bar i { width: 44px; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 14px; opacity: .9; }
.ss { background: #1F5FAD; color: #fff; padding: 6px 26px 0; min-height: 250px; display: flex; flex-direction: column; }
.ss h4 { margin: 0 0 12px; font-size: 22px; line-height: 1.2; font-weight: 600; }
.ss p { margin: 0 0 12px; font-size: 13px; line-height: 1.45; color: #fff; opacity: .95; }
.ss .more { color: #fff; text-decoration: underline; font-size: 13px; width: max-content; }
.ss dl { margin: 4px 0 12px; font-size: 13px; line-height: 1.6; }
.ss dl div { display: flex; gap: 6px; }
.ss dt { opacity: .9; } .ss dd { margin: 0; font-weight: 600; }
.ss-foot { margin: auto -26px 0; padding: 14px 18px; display: flex; justify-content: flex-end; gap: 8px; background: rgba(0,0,0,.14); }
.ss-btn { padding: 6px 18px; min-width: 110px; text-align: center; border: 1px solid rgba(255,255,255,.75); color: #fff; font-size: 13px; background: transparent; border-radius: 4px; }
.uac { background: #fff; color: #1B1B1B; }
.uac-top { background: #F2A33A; color: #1B1B1B; padding: 14px 20px; font-size: 13.5px; line-height: 1.4; font-weight: 600; }
html[data-theme="dark"] .uac { background: #2B2B2B; color: #F3F3F3; }
.uac-body { padding: 16px 20px 6px; font-size: 13px; line-height: 1.55; }
.uac-app { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 600; font-size: 14px; }
.uac-app img { width: 28px; height: 28px; border-radius: 6px; }
.uac-body .k { opacity: .75; }
.uac-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 20px 18px; }
.uac-foot span { padding: 7px; text-align: center; border-radius: 4px; font-size: 13px; background: #E5E5E5; color: #1B1B1B; }
.uac-foot span.yes { background: #0067C0; color: #fff; }
html[data-theme="dark"] .uac-foot span { background: #3A3A3A; color: #F3F3F3; }
html[data-theme="dark"] .uac-foot span.yes { background: #4CC2FF; color: #000; }

/* окно браузера: список загрузок */
.brw { font-family: 'Segoe UI Variable', 'Segoe UI', system-ui, sans-serif; max-width: 400px; margin: 0 auto; border-radius: 10px; background: #fff; color: #1B1B1B; box-shadow: 0 24px 50px -28px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.1); }
html[data-theme="dark"] .brw { background: #2B2B2B; color: #F3F3F3; }
.brw-bar { border-radius: 10px 10px 0 0; display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #EEF1F5; border-bottom: 1px solid rgba(0,0,0,.08); }
html[data-theme="dark"] .brw-bar { background: #202020; border-color: rgba(255,255,255,.08); }
.brw-url { flex: 1; height: 26px; border-radius: 13px; background: #fff; border: 1px solid rgba(0,0,0,.08); font-size: 12px; line-height: 24px; padding: 0 12px; color: #555; white-space: nowrap; overflow: hidden; }
html[data-theme="dark"] .brw-url { background: #333; border-color: transparent; color: #bbb; }
.brw-dl { width: 30px; height: 26px; border-radius: 6px; display: grid; place-items: center; }
.brw-pop { margin: 10px 10px 12px auto; width: min(300px, calc(100% - 20px)); border-radius: 8px; border: 1px solid rgba(0,0,0,.1); box-shadow: 0 10px 24px -14px rgba(0,0,0,.5); padding: 10px 12px; font-size: 12.5px; }
html[data-theme="dark"] .brw-pop { border-color: rgba(255,255,255,.12); background: #333; }
.brw-pop h5 { margin: 0 0 8px; font-size: 13px; font-weight: 600; }
.brw-file { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 6px; background: rgba(0,103,192,.08); }
.brw-file .fi { width: 26px; height: 26px; border-radius: 5px; flex: none; background: #2E6CF6; color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 800; }
.brw-file b { display: block; font-weight: 600; font-size: 12.5px; }
.brw-file small { font-size: 11.5px; opacity: .75; }

/* macOS: окно .dmg и предупреждения */
.mac { font-family: -apple-system, 'SF Pro Text', 'Helvetica Neue', system-ui, sans-serif; max-width: 440px; margin: 0 auto; border-radius: 12px; overflow: hidden; background: #F5F5F7; color: #1D1D1F; box-shadow: 0 24px 50px -28px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.12); }
html[data-theme="dark"] .mac { background: #2A2A2D; color: #F5F5F7; }
.mac-bar { display: flex; align-items: center; gap: 7px; padding: 10px 12px; background: rgba(0,0,0,.04); border-bottom: 1px solid rgba(0,0,0,.08); font-size: 12.5px; font-weight: 600; }
html[data-theme="dark"] .mac-bar { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); }
.mac-bar i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; flex: none; }
.mac-bar i:nth-child(2) { background: #FEBC2E; } .mac-bar i:nth-child(3) { background: #28C840; }
.mac-bar span { flex: 1; text-align: center; margin-right: 50px; opacity: .8; }
.dmg { display: flex; align-items: center; justify-content: space-around; gap: 10px; padding: 34px 18px 30px; }
.dmg-item { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12.5px; width: 110px; text-align: center; }
.dmg-item img, .dmg-item .folder { width: 74px; height: 74px; }
.dmg-item img { border-radius: 17px; box-shadow: 0 8px 18px -10px rgba(0,0,0,.6); }
.folder { position: relative; border-radius: 10px; background: linear-gradient(#6CB8F5, #3B94E0); box-shadow: 0 8px 18px -10px rgba(0,0,0,.5); display: grid; place-items: center; color: #fff; }
.folder::before { content: ""; position: absolute; left: 0; top: -7px; width: 34px; height: 14px; border-radius: 6px 6px 0 0; background: #5AA9EE; z-index: -1; }
.dmg-arrow { flex: 1; max-width: 110px; height: 2px; background: repeating-linear-gradient(90deg, #8A8A8E 0 8px, transparent 8px 14px); position: relative; }
.dmg-arrow::after { content: ""; position: absolute; right: -2px; top: -6px; border: 7px solid transparent; border-left: 10px solid #8A8A8E; border-right: 0; }
.mac-alert { max-width: 300px; padding: 22px 20px 16px; text-align: center; border-radius: 14px; }
.mac-alert img { width: 56px; height: 56px; border-radius: 13px; }
.mac-alert h4 { margin: 12px 0 8px; font-size: 14px; font-weight: 700; line-height: 1.3; }
.mac-alert p { margin: 0 0 14px; font-size: 12px; line-height: 1.4; opacity: .85; }
.mac-alert .b { display: block; padding: 6px; border-radius: 7px; font-size: 13px; font-weight: 500; background: rgba(0,0,0,.07); margin-top: 7px; }
html[data-theme="dark"] .mac-alert .b { background: rgba(255,255,255,.1); }
.mac-alert .b.blue { background: #0A84FF; color: #fff; }
.mac-set { padding: 16px 18px 18px; font-size: 12.5px; }
.mac-set h5 { margin: 0 0 10px; font-size: 13px; font-weight: 700; }
.mac-set .box { padding: 12px 14px; border-radius: 10px; background: #fff; border: 1px solid rgba(0,0,0,.08); line-height: 1.45; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; }
html[data-theme="dark"] .mac-set .box { background: #1F1F21; border-color: rgba(255,255,255,.08); }
.mac-set .box span { flex: 1 1 180px; }
.mac-set .box em { font-style: normal; padding: 4px 10px; border-radius: 6px; background: rgba(0,0,0,.08); font-weight: 500; white-space: nowrap; }
html[data-theme="dark"] .mac-set .box em { background: rgba(255,255,255,.12); }

/* что дальше */
.tx-next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tx-next-card { padding: 22px; border-radius: 22px; background: var(--dl-card); border: 1px solid var(--dl-line); display: flex; flex-direction: column; }
.tx-next-card .n { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; font-weight: 700; color: var(--dl-acc); }
.tx-next-card h3 { margin: 8px 0; font-size: 18px; font-weight: 900; letter-spacing: -.02em; }
.tx-next-card p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; color: var(--dl-ink2); flex: 1; }
.tx-next-card a.go { font-weight: 800; font-size: 14.5px; }
.tx-help { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; padding: 18px 22px; border-radius: 18px; background: var(--dl-card2); border: 1px solid var(--dl-line); font-size: 14.5px; color: var(--dl-ink2); }
.tx-help b { color: var(--dl-ink); }
.tx-send-wrap .dls { margin-top: 0; }

@media (max-width: 900px) {
  .tx-hero { grid-template-columns: 1fr; align-items: start; }
  .tx-step { grid-template-columns: 1fr; }
  .tx-next { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .tx-main { padding: 28px 16px 60px; gap: 28px; }
  .tx-nav { padding: 12px 16px; }
  .tx-step { padding: 18px; gap: 18px; border-radius: 20px; }
  .dls { padding: 20px; border-radius: 22px; }
  .dls h2 { font-size: 20px; }
  .ss { padding: 4px 18px 0; min-height: 0; }
  .ss h4 { font-size: 19px; }
  .ss-foot { margin: 8px -18px 0; }
  .ss-btn { min-width: 0; padding: 6px 12px; }
  .dmg { padding: 26px 10px 22px; }
  .dmg-item { width: 90px; }
  .dmg-item img, .dmg-item .folder { width: 60px; height: 60px; }
  .mock-hl::after { right: 0; }
}
@media (max-width: 480px) {
  nav .nav-sep, nav .nav-title { display: none; }
}
.mock-hl.far[data-n]::after { top: 50%; right: -30px; margin-top: -10.5px; }
