/* NLauncher — /hosting (2026-10-01, редизайн). Поверх /assets/land/land.v1.css.
 * Главный момент — живой ИИ-помощник (#ai) на «ночной» сцене; остальное спокойнее.
 * Версионированный файл: правки — новым hostx.v2.css. */

/* ---------- hero ---------- */
.x-hero { padding: 56px 0 0; }
.x-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 48px; align-items: center; }
.x-kick { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; font-weight: 650; font-size: 15px; color: var(--ink-2); }
.x-kick img { width: 22px; height: 22px; image-rendering: pixelated; }
.x-hero h1 { margin: 0; font-size: clamp(36px, 4.3vw, 58px); line-height: 1.03; letter-spacing: -.038em; font-weight: 820; text-wrap: balance; }
.x-lead { margin: 22px 0 0; font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 560px; text-wrap: pretty; }
.x-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.x-facts { list-style: none; margin: 34px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.x-facts b { display: block; font-size: 21px; letter-spacing: -.02em; font-weight: 780; }
.x-facts span { display: block; margin-top: 3px; font-size: 13.5px; color: var(--mute); line-height: 1.4; }

.x-stage { margin: 0; position: relative; padding: 34px 30px 0; }
.x-stage-bg { position: absolute; inset: 0 0 34px 0; border-radius: var(--r-l); background: var(--stage) center 70% / cover no-repeat; }
.x-stage-bg::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); }
.x-shot { position: relative; border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: 0 30px 60px -30px rgba(8,12,22,.55), 0 0 0 1px rgba(14,17,22,.12);
  aspect-ratio: 1240 / 775; }
html[data-theme="dark"] .x-shot { box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.1); }
.x-shot img { width: 100%; height: 100%; object-fit: cover; }
.x-stage figcaption { margin-top: 48px; font-size: 13px; color: var(--mute); text-align: right; padding-right: 2px; }
.x-toast { position: absolute; display: flex; align-items: center; gap: 11px; padding: 10px 14px 10px 10px; border-radius: 14px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: 0 16px 34px -18px rgba(8,12,22,.5); font-size: 14px; line-height: 1.25; max-width: 290px;
  animation: x-pop .55s cubic-bezier(.2,.9,.3,1.25) both; }
html[data-theme="dark"] .x-toast { background: #1E232D; box-shadow: 0 16px 34px -18px rgba(0,0,0,.9); }
.x-toast small { display: block; color: var(--mute); font-size: 12.5px; margin-top: 2px; }
.x-toast.t1 { left: -14px; top: 18%; animation-delay: .5s; }
.x-toast.t2 { right: -8px; top: 47%; animation-delay: 1.5s; }
.x-toast.t3 { left: 8%; bottom: 4px; animation-delay: 2.5s; }
@keyframes x-pop { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }
.x-face { width: 30px; height: 30px; border-radius: 7px; flex: none; background:
  linear-gradient(#000 0 0) 22% 46% / 16% 14% no-repeat, linear-gradient(#000 0 0) 78% 46% / 16% 14% no-repeat,
  linear-gradient(#5A3A26 0 0) top / 100% 26% no-repeat, var(--c); image-rendering: pixelated; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.x-face.sm { width: 22px; height: 22px; border-radius: 5px; }
.x-tic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.x-tic.ai { background: var(--acc-soft); color: var(--acc); }
.x-tic.ok { background: var(--ok-soft); color: var(--ok); }
.x-tic svg, .x-ai-ic svg { display: block; }

@media (max-width: 980px) {
  .x-hero-in { grid-template-columns: 1fr; gap: 40px; }
  .x-stage { padding: 22px 14px 0; }
  .x-toast.t1 { left: 0; } .x-toast.t2 { right: 0; }
}
@media (max-width: 560px) {
  .x-hero { padding-top: 32px; }
  .x-lead { font-size: 17px; }
  .x-cta .l-btn { flex: 1 1 100%; }
  .x-facts { grid-template-columns: 1fr 1fr; }
  .x-facts li:last-child { grid-column: 1 / -1; }
  .x-toast { font-size: 12.5px; padding: 7px 10px 7px 7px; gap: 8px; max-width: 220px; }
  .x-toast small { font-size: 11.5px; }
  .x-toast .x-face, .x-toast .x-tic { width: 24px; height: 24px; }
  .x-toast.t1 { top: 6px; } .x-toast.t2 { top: auto; bottom: 70px; } .x-toast.t3 { display: none; }
  .x-stage figcaption { margin-top: 44px; text-align: left; }
}

/* ---------- AI: ночная сцена ---------- */
.x-ai-sec { padding-top: 88px; }
.x-night { position: relative; padding: 88px 0 64px; color: #EEF1F7; background: #0B0F18; overflow: hidden; isolation: isolate;
  --ink: #EEF1F7; --ink-2: #B7BECC; --mute: #8C94A5; --line: rgba(255,255,255,.1); --line-2: rgba(255,255,255,.18); --surface: #151A24; --surface-2: #1B212D;
  --acc: #6B97FF; --acc-h: #8AAEFF; --acc-ink: #0A1022; --acc-soft: rgba(107,151,255,.16); --ok: #74E3A4; --ok-soft: rgba(116,227,164,.13);
  --warn: #F5B84B; --warn-soft: rgba(245,184,75,.13); --bad: #FF9A6B; --bad-soft: rgba(255,154,107,.13); }
.x-night::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url(/assets/home/bg-dusk-1600.v1.webp) center 85% / cover no-repeat; opacity: .32; }
.x-night::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #0B0F18 0%, rgba(11,15,24,.55) 40%, #0B0F18 100%); }
.x-night .l-head p { color: var(--ink-2); }
.x-ai { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); grid-template-rows: auto auto; border-radius: var(--r-l); background: rgba(21,26,36,.88);
  border: 1px solid var(--line-2); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); overflow: hidden; }
.x-ai-chat { grid-row: 1 / 3; padding: 22px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; min-height: 540px; }
.x-ai-top { display: flex; align-items: center; gap: 10px; }
.x-ai-top b { font-size: 17px; }
.x-ai-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); }
.x-ai-srv { margin-left: auto; font-size: 12.5px; color: var(--mute); padding: 4px 9px; border-radius: 8px; border: 1px solid var(--line); white-space: nowrap; }
.x-ai-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.x-ai-pick button { border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); padding: 7px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.x-ai-pick button:hover { color: var(--ink); border-color: var(--ink-2); }
.x-ai-pick button[aria-pressed="true"] { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.x-ai-log { flex: 1; display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; min-height: 200px; }
.x-msg { max-width: 92%; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; }
.x-msg.me { align-self: flex-end; background: var(--acc); color: var(--acc-ink); border-bottom-right-radius: 6px; font-weight: 500; }
.x-msg.bot { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; color: var(--ink); }
.x-msg.bot small { display: block; margin-top: 7px; color: var(--mute); font-size: 12.5px; }
.x-msg.think { color: var(--ink-2); display: flex; gap: 10px; align-items: center; }
.x-dots { display: inline-flex; gap: 4px; }
.x-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); animation: x-blink 1s infinite ease-in-out; }
.x-dots i:nth-child(2) { animation-delay: .15s; } .x-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes x-blink { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.x-ai-input { min-height: 50px; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--acc-line, rgba(107,151,255,.5)); background: rgba(255,255,255,.03); font-size: 14px; color: var(--mute); line-height: 1.4; }
.x-ai-input.typing { color: var(--ink); }
.x-caret { display: inline-block; width: 2px; height: 1.05em; background: var(--acc); vertical-align: -2px; margin-left: 1px; animation: x-caret 1s steps(1) infinite; }
@keyframes x-caret { 50% { opacity: 0; } }

.x-ai-plan { padding: 22px 24px 16px; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; max-height: 560px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; overscroll-behavior: contain; }
.x-plan-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.x-plan-h b { font-size: 19px; letter-spacing: -.01em; }
.x-plan-h p { margin: 0; flex: 1 1 100%; color: var(--ink-2); font-size: 14px; }
.x-mem { margin-left: auto; font-size: 12.5px; font-weight: 650; padding: 4px 9px; border-radius: 8px; }
.x-mem.ok { color: var(--ok); background: var(--ok-soft); }
.x-grp { display: flex; flex-direction: column; gap: 6px; }
.x-grp-t { font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 2px; }
.x-grp-t i { font-style: normal; color: var(--mute); font-weight: 600; margin-left: 4px; }
.x-row { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.x-row-m { flex: 1; min-width: 0; font-size: 14px; }
.x-row-m b { font-weight: 700; }
.x-row-m small { display: block; color: var(--ink-2); font-size: 13px; margin-top: 2px; }
.x-row-m code, .x-cmd { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12.8px; }
.x-cb { width: 20px; height: 20px; border-radius: 6px; flex: none; margin-top: 1px; display: grid; place-items: center; border: 1.5px solid var(--line-2); color: transparent; cursor: pointer; }
.x-row.on .x-cb { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.x-row.off { opacity: .55; }
.x-row.off .x-row-m b { text-decoration: line-through; }
.x-src { font-size: 11.5px; font-weight: 650; color: var(--mute); margin-left: 4px; white-space: nowrap; }
.x-src::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; vertical-align: 1px; background: var(--mute); }
.x-src.mr::before { background: #1BD96A; } .x-src.cf::before { background: #F16436; } .x-src.hg::before { background: #3B82F6; } .x-src.sp::before { background: #E5A50A; }
.x-tag { flex: none; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 7px; white-space: nowrap; align-self: center; }
.x-tag.ok { color: var(--ok); background: var(--ok-soft); }
.x-tag.warn { color: var(--warn); background: var(--warn-soft); }
.x-tag.info { color: var(--acc); background: var(--acc-soft); }
.x-diff { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12.8px; }
.x-diff s { color: var(--bad); text-decoration: line-through; opacity: .85; }
.x-diff ins { color: var(--ok); text-decoration: none; }
.x-rej { font-size: 13px; color: var(--ink-2); padding: 2px 2px; }
.x-rej b { color: var(--ink); }
.x-ai-plan .x-in { animation: x-in .38s cubic-bezier(.2,.8,.3,1) both; }
@keyframes x-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.x-ai-foot { grid-column: 2; display: flex; align-items: center; gap: 14px; padding: 14px 24px 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.x-ai-note { flex: 1 1 240px; display: flex; align-items: center; gap: 9px; color: var(--ink-2); font-size: 13.5px; }
.x-ai-note svg { flex: none; color: var(--ok); }
.x-ai-note.warn svg { color: var(--warn); }
.x-job { display: flex; flex-direction: column; gap: 8px; }
.x-step { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--mute); }
.x-step i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 1.5px solid var(--line-2); }
.x-step.run { color: var(--ink); }
.x-step.run i { border-color: var(--acc); border-top-color: transparent; animation: x-spin .8s linear infinite; }
.x-step.done { color: var(--ink-2); }
.x-step.done i { background: var(--ok); border-color: var(--ok); color: #0B1A12; }
@keyframes x-spin { to { transform: rotate(360deg); } }
.x-done { padding: 14px 16px; border-radius: 14px; background: var(--ok-soft); color: var(--ink); font-size: 14.5px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.x-done b { color: var(--ok); }
.x-done.rev { background: var(--acc-soft); }
.x-done.rev b { color: var(--acc); }
.x-ai-facts { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.x-ai-facts li { color: var(--ink-2); font-size: 15px; line-height: 1.5; padding-top: 16px; border-top: 2px solid var(--line-2); }
.x-ai-facts b { display: block; color: var(--ink); font-size: 16.5px; margin-bottom: 6px; }
.x-small { margin: 18px 0 0; font-size: 13px; color: var(--mute); }
.x-on-night { color: var(--mute); }
@media (max-width: 980px) {
  .x-ai { grid-template-columns: 1fr; }
  .x-ai-chat { grid-row: auto; border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; }
  .x-ai-log { min-height: 0; }
  .x-ai-foot { grid-column: 1; }
  .x-ai-plan { max-height: none; }
  .x-ai-facts { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 560px) {
  .x-night { padding: 64px 0 48px; }
  .x-ai-chat, .x-ai-plan { padding: 16px; }
  .x-ai-foot { padding: 12px 16px 16px; }
  .x-ai-foot .l-btn { width: 100%; }
  .x-row { padding: 9px 10px; gap: 10px; }
  .x-row .x-tag { display: none; }
}

/* ---------- проверка файлов ---------- */
.x-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.x-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.x-checks li { color: var(--ink-2); line-height: 1.5; padding-left: 18px; border-left: 2px solid var(--line-2); }
.x-checks b { display: block; color: var(--ink); font-size: 16.5px; margin-bottom: 3px; }
.x-scan { border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 20px; position: sticky; top: 92px; }
.x-scan-h { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--ink-2); margin-bottom: 14px; flex-wrap: wrap; }
.x-scan-st { font-weight: 650; color: var(--mute); }
.x-jars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.x-jars li { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; position: relative; overflow: hidden; }
.x-jars li:hover { border-color: var(--line-2); }
.x-jars li[aria-current="true"] { border-color: var(--acc); box-shadow: 0 0 0 1px var(--acc); }
.x-jars li::before { content: ''; width: 22px; height: 22px; border-radius: 7px; flex: none; background: var(--bg-2); }
.x-jars li.ok::before { background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%2315803D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.x-jars li.no::before { background: var(--bad-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 6 6 18M6 6l12 12' fill='none' stroke='%23C2410C' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.x-jars li.fix::before { background: var(--acc-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12a8 8 0 0 1 14-5.3M20 4v4h-4M20 12a8 8 0 0 1-14 5.3M4 20v-4h4' fill='none' stroke='%232E6CF6' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.x-jars li.wait::before { background: var(--bg-2); }
.x-jars li.scan::before { background: transparent; border: 2px solid var(--acc); border-top-color: transparent; border-radius: 50%; width: 18px; height: 18px; margin: 2px; animation: x-spin .8s linear infinite; }
.x-jars li.scan::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--acc-soft), transparent); animation: x-sweep 1.1s ease-in-out infinite; }
@keyframes x-sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.x-jar { flex: 1; min-width: 0; font-size: 12.8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.x-verd { flex: none; font-size: 12.5px; font-weight: 650; color: var(--mute); }
.x-jars li.ok .x-verd { color: var(--ok); } .x-jars li.no .x-verd { color: var(--bad); } .x-jars li.fix .x-verd { color: var(--acc); }
.x-jars li.wait .x-verd, .x-jars li.scan .x-verd { color: var(--mute); }
.x-scan-d { margin-top: 14px; border-radius: 14px; background: var(--term); color: var(--term-ink); padding: 14px 16px; min-height: 176px; font-size: 13.5px; }
.x-scan-d:empty { display: none; }
.x-scan-d .t { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; color: var(--term-mute); margin-bottom: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-scan-d ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.x-scan-d li { display: grid; grid-template-columns: 18px minmax(0, 150px) minmax(0, 1fr); gap: 10px; align-items: baseline; }
.x-scan-d li span:nth-child(2) { color: var(--term-mute); }
.x-scan-d .k { font-weight: 800; }
.x-scan-d .k.y { color: #74E3A4; } .x-scan-d .k.n { color: #FF9A6B; } .x-scan-d .k.f { color: #8AAEFF; }
.x-scan-d .v { font-size: 12.8px; text-align: left; }
.x-scan-d .res { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.1); font-weight: 650; }
@media (max-width: 980px) { .x-split { grid-template-columns: 1fr; gap: 32px; } .x-scan { position: static; } }
@media (max-width: 560px) { .x-scan { padding: 14px; } .x-verd { display: none; } .x-scan-d li { grid-template-columns: 18px minmax(0, 1fr); } .x-scan-d li span:nth-child(2) { grid-column: 2; } .x-scan-d li .v { grid-column: 2; } }

/* ---------- источники ---------- */
.x-src-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px; align-items: start; }
.x-find { border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 18px; }
.x-find-bar { display: flex; gap: 10px; align-items: center; }
.x-find-in { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 48px; border-radius: 13px; background: var(--bg); border: 1.5px solid var(--line-2); color: var(--mute); }
.x-find-in:focus-within { border-color: var(--acc); }
.x-find-in input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15.5px; color: var(--ink); }
.x-find-core { font-size: 13px; font-weight: 650; color: var(--ink-2); padding: 7px 10px; border-radius: 10px; background: var(--bg-2); white-space: nowrap; }
.x-find-src { margin: 12px 0 10px; }
.x-res { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; min-height: 340px; align-content: start; }
.x-res li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 13px; border: 1px solid var(--line); background: var(--surface-2); }
.x-res .ic { width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 15px; }
.x-res .m { flex: 1; min-width: 0; }
.x-res .m b { font-size: 14.5px; }
.x-res .m small { display: block; font-size: 12.8px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-res .l-btn { min-width: 112px; }
.x-res .l-btn.done { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.x-res .empty { justify-content: center; color: var(--mute); background: transparent; border-style: dashed; padding: 22px; }
.x-src-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.x-src-notes li { color: var(--ink-2); line-height: 1.5; }
.x-src-notes b { display: block; color: var(--ink); font-size: 16.5px; margin-bottom: 3px; }
.x-src-notes .x-muted { font-size: 13.5px; color: var(--mute); }
@media (max-width: 980px) { .x-src-wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .x-find { padding: 12px; } .x-find-core { display: none; } .x-res .l-btn { min-width: 0; padding: 8px 10px; } .x-res .m small { white-space: normal; } }

/* ---------- играть: последовательность ---------- */
.x-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: f; position: relative; }
.x-flow li { counter-increment: f; position: relative; }
.x-flow-art { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); padding: 18px; height: 196px; display: flex; align-items: center; justify-content: center; position: relative; }
.x-flow li:not(:last-child) .x-flow-art::after { content: ''; position: absolute; right: -22px; top: 50%; width: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--acc) 0 6px, transparent 6px 10px); }
.x-flow h3 { margin: 18px 0 6px; font-size: 18.5px; letter-spacing: -.01em; display: flex; gap: 10px; align-items: baseline; }
.x-flow h3::before { content: counter(f); font-size: 14px; font-weight: 800; color: var(--acc); }
.x-flow p { margin: 0; color: var(--ink-2); line-height: 1.5; }
.x-mini { width: 100%; max-width: 260px; display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; }
.x-mini > span { padding: 7px 10px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.x-mini .x-mini-h { background: transparent; border: 0; padding: 0 0 2px; font-weight: 750; }
.x-mini .x-mini-h img { width: 16px; height: 16px; image-rendering: pixelated; }
.x-mini .x-more { color: var(--mute); background: transparent; border-style: dashed; }
.x-mini .l-btn { align-self: flex-start; padding: 8px 14px; }
.x-mini-play { align-items: stretch; }
.x-mini .x-bar { height: 8px; padding: 0; border-radius: 99px; background: var(--bg-2); overflow: hidden; border: 0; display: block; }
.x-mini .x-bar i { display: block; height: 100%; width: 72%; border-radius: inherit; background: var(--acc); }
.x-flow.go .x-mini .x-bar i { animation: x-fill 2.6s cubic-bezier(.4,0,.2,1) .3s both; }
@keyframes x-fill { from { width: 4%; } to { width: 72%; } }
.x-mini .x-mini-s { background: transparent; border: 0; padding: 0; color: var(--ink-2); font-size: 13px; }
.x-mini .x-ok { color: var(--ok); }
.x-mini .x-add { color: var(--acc); }
@media (max-width: 860px) { .x-flow { grid-template-columns: 1fr; gap: 30px; } .x-flow li:not(:last-child) .x-flow-art::after { right: auto; left: 50%; top: auto; bottom: -24px; width: 2px; height: 22px; background: repeating-linear-gradient(180deg, var(--acc) 0 6px, transparent 6px 10px); } .x-flow-art { height: auto; min-height: 170px; } }

/* ---------- панель: тур + бенто ---------- */
.x-tour .l-seg { margin-bottom: 16px; }
.x-tour-frame { border-radius: var(--r-l); padding: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.x-tour-frame img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.x-bento { margin-top: 22px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.x-b { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); padding: 22px; grid-column: span 2; display: flex; flex-direction: column; min-width: 0; }
.x-b h3 { margin: 0; font-size: 17.5px; letter-spacing: -.01em; }
.x-b p { margin: 7px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.x-b-con { grid-column: span 4; grid-row: span 2; }
.x-term { margin-top: 18px; flex: 1; min-height: 240px; border-radius: 14px; background: var(--term); color: var(--term-ink); padding: 14px 16px; font-size: 12.8px; display: flex; flex-direction: column; overflow: hidden; }
.x-term-log { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; overflow: hidden; }
.x-term-log p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-term-log i { font-style: normal; color: var(--term-mute); }
.x-term-log .g { color: #74E3A4; } .x-term-log .y { color: #F5D06B; } .x-term-log .b { color: #8AAEFF; }
.x-term-in { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); }
.x-term-in .p { color: #8AAEFF; }
.x-spark { margin-top: auto; padding-top: 16px; position: relative; }
.x-spark svg { width: 100%; height: 70px; display: block; }
.x-spark #spark-a { fill: var(--acc-soft); }
.x-spark #spark-l { fill: none; stroke: var(--acc); stroke-width: 2; vector-effect: non-scaling-stroke; }
.x-spark-v { position: absolute; right: 0; top: 4px; text-align: right; }
.x-spark-v b { font-size: 20px; font-variant-numeric: tabular-nums; }
.x-spark-v span { display: block; font-size: 12px; color: var(--mute); }
.x-co { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 7px; }
.x-co li { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 8px 10px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--line); }
.x-chip { margin-left: auto; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 7px; color: var(--ink-2); background: var(--bg-2); }
.x-chip.on { color: var(--acc); background: var(--acc-soft); }
.x-cores { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.x-cores span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px 5px 6px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.x-cores img { width: 18px; height: 18px; image-rendering: pixelated; }
.x-tree { list-style: none; margin: 16px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12.8px; display: grid; gap: 6px; }
.x-tree li { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.x-tree svg { color: var(--mute); flex: none; }
.x-toggle { margin-top: 16px; width: 46px; height: 26px; border-radius: 99px; background: var(--acc); position: relative; display: block; }
.x-toggle i { position: absolute; right: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; }
@media (max-width: 980px) { .x-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .x-b, .x-b-con { grid-column: span 1; grid-row: auto; } .x-b-con { grid-column: 1 / -1; } }
@media (max-width: 560px) { .x-bento { grid-template-columns: 1fr; } .x-b, .x-b-con { grid-column: 1; } .x-tour-frame { padding: 6px; border-radius: 16px; } .x-tour-frame img { border-radius: 10px; } }

/* ---------- тарифы ---------- */
.x-fit { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 32px; padding: 20px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); margin-bottom: 18px; }
.x-fit-q { display: flex; flex-direction: column; gap: 9px; }
.x-fit-q label, .x-fit-l { font-weight: 650; font-size: 14px; color: var(--ink-2); }
.x-fit-q label b { color: var(--ink); font-variant-numeric: tabular-nums; margin-left: 4px; }
.x-fit input[type=range] { width: 240px; max-width: 100%; accent-color: var(--acc); }
.x-fit-out { margin: 0; flex: 1 1 260px; font-size: 15.5px; color: var(--ink-2); line-height: 1.45; }
.x-fit-out b { color: var(--ink); }
.x-tbar { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-bottom: 18px; }
.x-tgrp { display: flex; align-items: center; gap: 10px; }
.x-tgrp > span { font-size: 13.5px; font-weight: 650; color: var(--mute); }
.x-tgrp[hidden] { display: none; }
.x-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 12px; }
.x-skel { height: 300px; border-radius: var(--r); background: var(--bg-2); }
.x-plan { position: relative; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; gap: 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.x-plan.fit { border-color: var(--acc); box-shadow: 0 0 0 1px var(--acc), 0 20px 40px -26px rgba(46,108,246,.55); }
.x-plan .badge { position: absolute; top: -11px; left: 16px; font-size: 12px; font-weight: 750; padding: 3px 10px; border-radius: 99px; background: var(--acc); color: var(--acc-ink); }
.x-plan-top { display: flex; gap: 12px; align-items: center; }
.x-mob { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--tint, var(--bg-2)); box-shadow: inset 0 0 0 1px var(--tint-b, var(--line)); }
.x-mob img { width: 40px; height: 40px; image-rendering: pixelated; }
.x-plan .nm { font-size: 13px; font-weight: 750; color: var(--mute); letter-spacing: .01em; }
.x-plan .ram { font-family: 'Pixelify Sans', Onest, sans-serif; font-size: 34px; line-height: 1; font-weight: 600; letter-spacing: 0; margin-top: 3px; }
.x-plan .ram small { font-family: Onest, sans-serif; font-size: 14px; font-weight: 650; color: var(--ink-2); margin-left: 4px; }
.x-plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
.x-plan ul li { display: flex; gap: 8px; align-items: baseline; min-width: 0; }
.x-plan ul li > span:first-child { color: var(--mute); width: 64px; flex: none; }
.x-plan ul li > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.x-plan .pr { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.x-plan .pr b { font-size: 24px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.x-plan .pr b small { font-size: 13.5px; font-weight: 650; color: var(--ink-2); letter-spacing: 0; }
.x-plan .pr div { font-size: 12.8px; color: var(--mute); margin-top: 2px; min-height: 1.2em; }
.x-plan .l-btn { width: 100%; }
.x-plan .off { opacity: .6; cursor: default; }
.hl-flag { display: inline-flex; flex: none; overflow: hidden; border-radius: 2px; box-shadow: 0 0 0 1px rgba(11,11,15,.18); vertical-align: -1px; }
.hl-flag svg { display: block; }
.hl-flag.glob { box-shadow: none; align-items: center; justify-content: center; opacity: .7; }
.x-regs { display: inline-flex; flex-wrap: wrap; gap: 4px 9px; }
.x-regs span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.x-ru { margin-top: 14px; display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; border-radius: 14px; background: var(--warn-soft); color: var(--ink); font-size: 14px; line-height: 1.5; }
.x-ru[hidden] { display: none; }
.x-ru .hl-flag { margin-top: 4px; }
.x-tstate { grid-column: 1 / -1; padding: 28px; border-radius: var(--r); border: 1px dashed var(--line-2); color: var(--ink-2); text-align: center; }
@media (max-width: 560px) { .x-fit { padding: 16px; } .x-fit input[type=range] { width: 100%; } .x-fit-q { width: 100%; } .x-tgrp { flex-direction: column; align-items: flex-start; gap: 6px; } .x-plans { grid-template-columns: 1fr; } }

/* ---------- сравнение ---------- */
.x-cmp { border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.x-cmp-r { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr)); }
.x-cmp-r > span { padding: 15px 18px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.4; display: flex; gap: 9px; align-items: flex-start; }
.x-cmp-r > span[role="rowheader"] { font-weight: 650; color: var(--ink); }
.x-cmp-h > span { border-top: 0; font-weight: 750; font-size: 15px; color: var(--ink-2); }
.x-cmp-r .us { background: var(--acc-soft); }
.x-cmp-h .us { color: var(--acc); }
.x-cmp-r > span.y, .x-cmp-r > span.n, .x-cmp-r > span.m { color: var(--ink-2); }
.x-cmp-r > span.y::before, .x-cmp-r > span.n::before, .x-cmp-r > span.m::before { content: ''; width: 16px; height: 16px; flex: none; margin-top: 2px; border-radius: 50%; }
.x-cmp-r > span.y::before { background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 7 10 16l-4-4' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.x-cmp-r > span.n::before { background: var(--bad-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 7 7 17M7 7l10 10' fill='none' stroke='%23C2410C' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.x-cmp-r > span.m::before { background: var(--warn-soft); box-shadow: inset 0 0 0 5px var(--warn-soft), inset 0 0 0 8px var(--warn); }
html[data-theme="dark"] .x-cmp-r > span.y::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 7 10 16l-4-4' fill='none' stroke='%230B1A12' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
html[data-theme="dark"] .x-cmp-r > span.n::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 7 7 17M7 7l10 10' fill='none' stroke='%23FF9A6B' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.x-cmp-r > span.us { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) {
  .x-cmp-h { display: none; }
  .x-cmp-r { grid-template-columns: 1fr; padding: 14px 16px; border-top: 1px solid var(--line); }
  .x-cmp-r:nth-child(2) { border-top: 0; }
  .x-cmp-r > span { border: 0; padding: 4px 0; font-size: 14px; }
  .x-cmp-r > span[role="rowheader"] { padding-bottom: 8px; font-size: 15px; }
  .x-cmp-r > span.us { background: none; }
  .x-cmp-r > span[role="cell"] { display: grid; grid-template-columns: 16px 118px minmax(0, 1fr); gap: 9px; }
  .x-cmp-r > span[role="cell"]::before { grid-column: 1; grid-row: 1; }
  .x-cmp-r > span[data-h]::after { content: attr(data-h); grid-column: 2; grid-row: 1; color: var(--mute); font-weight: 600; font-size: 13px; }
  .x-cmp-r > span[role="cell"] > .v { grid-column: 3; grid-row: 1; }
}

/* ---------- старт ---------- */
.x-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: s; }
.x-steps li { counter-increment: s; padding-top: 18px; border-top: 2px solid var(--ink); }
.x-steps h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.01em; display: flex; gap: 10px; align-items: baseline; }
.x-steps h3::before { content: counter(s); color: var(--acc); font-weight: 800; font-size: 15px; }
.x-steps p { margin: 0; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 860px) { .x-steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
#faq { padding-top: 104px; }
@media (max-width: 760px) { #faq { padding-top: 72px; } }
@media (max-width: 560px) {
  .x-plans { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -16px; padding: 14px 16px 6px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .x-plans::-webkit-scrollbar { display: none; }
  .x-plan, .x-skel { flex: 0 0 80%; scroll-snap-align: center; }
  .x-tstate { flex: 1 0 100%; }
}
