/* Сайт Digital Launcher — те же токены, что в src/renderer/styles.css лаунчера:
   тот же фон, тот же барвинок, те же две кривые движения. */
:root {
  --peri: #7c8ce8;
  --peri-bright: #9aa8f5;
  --text: #eef0fb;
  --muted: #8a8fa3;
  --panel: rgba(255, 255, 255, .045);
  --panel-hi: rgba(255, 255, 255, .07);
  --border: rgba(255, 255, 255, .07);
  --bg: #0a0c10;
  --ease: cubic-bezier(.22, .9, .3, 1);
  --spring: cubic-bezier(.34, 1.42, .64, 1);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Segoe UI Variable Display', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* hidden здесь создал бы слой прокрутки и сломал sticky у боковой панели документации */
}

/* фон: размытые обои как в лаунчере + две плавающие подсветки */
.wall {
  position: fixed; inset: -60px; z-index: -2;
  background: url('bg.jpg') center / cover no-repeat;
  filter: blur(9px) brightness(1.55) saturate(1.25);
  opacity: .85;
}
.wall::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,16,.34), rgba(10,12,16,.8) 46%, var(--bg) 88%); }

.aura { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aura i { position: absolute; display: block; border-radius: 50%; filter: blur(90px); opacity: .62; }
.g1 { width: 520px; height: 520px; right: -140px; top: -160px; background: radial-gradient(circle, #5866c8, transparent 65%); animation: float1 26s ease-in-out infinite alternate; }
.g2 { width: 460px; height: 460px; left: -160px; bottom: -180px; background: radial-gradient(circle, #6a4fb8, transparent 65%); animation: float2 32s ease-in-out infinite alternate; }
@keyframes float1 { to { transform: translate3d(-70px, 60px, 0) scale(1.12); } }
@keyframes float2 { to { transform: translate3d(80px, -50px, 0) scale(1.08); } }

a { color: inherit; text-decoration: none; }
code { font-family: 'Cascadia Mono', Consolas, monospace; font-size: .92em; background: var(--panel-hi); border: 1px solid var(--border); border-radius: 7px; padding: 1px 6px; overflow-wrap: anywhere; }

/* путь в <code> — одно длинное слово: без min-width:0 оно растягивает колонку grid за пределы экрана */
.hero-full > *, .grid > *, .vrow > *, .dl-panel > *, .ticks li, .doc-body > * { min-width: 0; }

/* ---------- плашка: пилюля в воздухе, как тулбар лаунчера ---------- */
.bar {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 20;
  display: flex; justify-content: center;
  pointer-events: none;
  animation: barDrop .8s var(--ease) both;
}
@keyframes barDrop { from { opacity: 0; transform: translateY(-22px); } }
.pill-bar {
  position: relative; pointer-events: auto;
  display: flex; align-items: center; gap: 14px;
  width: min(1080px, calc(100% - 32px)); padding: 8px 8px 8px 16px;
  background: rgba(10, 12, 16, .34);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .9);
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
/* вверху плашка почти невидимая — только вуаль под текстом;
   при скролле стекло сгущается, пилюля сжимается и подсвечивается нить прогресса */
.bar.solid .pill-bar {
  background: rgba(10, 12, 16, .68);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 22px 52px -26px rgba(0, 0, 0, .95), 0 0 0 1px rgba(124,140,232,.07);
  transform: scale(.972);
}
.bar-prog {
  position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px; border-radius: 999px;
  background:
    linear-gradient(90deg, var(--peri), var(--peri-bright)) 0 / calc(var(--p, 0) * 1%) 100% no-repeat,
    rgba(255, 255, 255, .06);
  opacity: 0; transition: opacity .35s var(--ease);
}
.bar.solid .bar-prog { opacity: 1; }
section[id] { scroll-margin-top: 104px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .2px; }
.brand img { border-radius: 9px; transition: transform .5s var(--spring), box-shadow .4s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.06); box-shadow: 0 0 22px rgba(124,140,232,.5); }
.brand em {
  position: relative; font: 600 10.5px/1 inherit; letter-spacing: .6px; text-transform: uppercase;
  color: var(--peri-bright); background: rgba(124,140,232,.14);
  border: 1px solid rgba(124,140,232,.3); border-radius: 999px; padding: 4px 8px; font-style: normal;
}
/* бета-метка дышит — отссылка к живому клиенту, а не к мёртвой картинке */
.brand em::after {
  content: ''; position: absolute; inset: -1px; border-radius: 999px;
  border: 1px solid rgba(124,140,232,.5); animation: ping 3.2s var(--ease) infinite;
}
@keyframes ping { 0% { opacity: .8; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.5); } }
.bar nav { position: relative; display: flex; gap: 4px; margin-left: auto; }
.bar nav a {
  position: relative; z-index: 1; font-size: 14px; font-weight: 600; color: var(--muted);
  padding: 9px 14px; border-radius: 13px;
  transition: color .2s var(--ease), background .2s var(--ease), transform .18s var(--spring);
}
.bar nav a:hover { color: var(--text); background: var(--panel); transform: translateY(-1px); }
.bar nav a.on { color: var(--text); }
/* пилюля под активным разделом: не перекраска, а переезд — видно, куда ты уже долистал */
.nav-ind {
  position: absolute; left: 0; top: 50%; width: 0; height: 34px; margin-top: -17px; pointer-events: none;
  background: linear-gradient(160deg, rgba(124,140,232,.26), rgba(124,140,232,.09));
  border: 1px solid rgba(139,156,240,.34); border-radius: 13px; opacity: 0;
  transition: transform .45s var(--spring), width .45s var(--spring), opacity .3s var(--ease);
}
.nav-ind.on { opacity: 1; }

/* ---------- кнопки ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(180deg, #8795ec, #6d7dd6); color: #fff;
  border-radius: 16px; font-weight: 600; border: 0; cursor: pointer;
  box-shadow: 0 10px 30px -12px rgba(124,140,232,.75), inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .2s var(--spring), box-shadow .25s var(--ease), filter .2s;
}
/* блик проходит по кнопке при наведении — тот же жест, что у окна лаунчера */
.btn::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.34) 50%, transparent 58%);
  transform: translateX(-130%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(130%); }
.btn:hover { transform: translateY(-2px) scale(1.018); box-shadow: 0 18px 44px -14px rgba(139,156,240,.9), inset 0 1px 0 rgba(255,255,255,.28); filter: brightness(1.05); }
.btn:active { transform: translateY(0) scale(.985); }
.btn:hover svg { animation: nudge .55s var(--spring); }
@keyframes nudge { 30% { transform: translateY(3px); } 65% { transform: translateY(-2px); } }
.btn-big { padding: 15px 26px; font-size: 15.5px; border-radius: 20px; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 13px; }

/* ---------- герой: обои лаунчера на весь экран ---------- */
.hero-full {
  position: relative; isolation: isolate;
  min-height: 100svh; display: grid; place-items: center;
  padding: 132px 20px 96px; overflow: hidden;
}
.hf-bg {
  position: absolute; inset: 0; z-index: -2;
  background: url('hero.jpg') center 40% / cover no-repeat;
  transform: scale(1.06);
  animation: heroDrift 34s ease-in-out infinite alternate;
}
@keyframes heroDrift { to { transform: scale(1.14) translate3d(-1.4%, -1%, 0); } }
.hf-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80% 60% at 50% 42%, rgba(10,12,16,.12), rgba(10,12,16,.62) 72%),
    linear-gradient(180deg, rgba(10,12,16,.72), rgba(10,12,16,.28) 34%, rgba(10,12,16,.86) 84%, var(--bg) 99%);
}
.hf-in { width: min(920px, 100%); text-align: center; }
.hf-logo {
  display: block; margin: 0 auto 22px; border-radius: 20px;
  box-shadow: 0 16px 44px -14px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.1), 0 0 42px rgba(124,140,232,.42);
  animation: logoFloat 6.5s ease-in-out infinite alternate;
}
@keyframes logoFloat { to { transform: translateY(-9px); } }
.hero-full .pill { margin-bottom: 18px; background: rgba(10,12,16,.5); backdrop-filter: blur(6px); }
.hero-full h1 { margin-inline: auto; }
.hero-full .lead { margin: 0 auto 30px; color: #cfd4e6; text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.hero-full .cta { justify-content: center; }
.btn-ghost {
  background: rgba(255,255,255,.06); color: var(--text);
  border: 1px solid rgba(255,255,255,.16); box-shadow: none;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.11); border-color: rgba(139,156,240,.5); box-shadow: 0 14px 34px -18px rgba(0,0,0,.9); filter: none; }
.hf-meta {
  list-style: none; margin: 42px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.hf-meta li {
  display: grid; gap: 1px; min-width: 132px; padding: 11px 18px;
  background: rgba(10,12,16,.42); border: 1px solid rgba(255,255,255,.09); border-radius: 16px;
  backdrop-filter: blur(8px);
  transition: transform .28s var(--spring), border-color .25s, background .25s;
}
.hf-meta li:hover { transform: translateY(-3px); border-color: rgba(139,156,240,.42); background: rgba(16,19,28,.6); }
.hf-meta b { font-size: 16px; letter-spacing: -.3px; color: #fff; }
.hf-meta span { font-size: 12px; color: #a8adca; }
/* подсказка «листай дальше»: колёсико мыши с бегущей точкой */
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.6px solid rgba(255,255,255,.28); border-radius: 14px;
}
.scroll-cue i {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 999px; background: var(--peri-bright);
  animation: cue 1.9s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(14px); } }
.scroll-cue:hover { border-color: rgba(139,156,240,.6); }

.pill {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  background: var(--panel); border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px;
}
.pill .dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--peri); box-shadow: 0 0 0 4px rgba(124,140,232,.18); }
.pill .dot::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(154,168,245,.7); animation: ping 2.8s var(--ease) infinite; }
h1 { margin: 0 0 18px; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -1.4px; font-weight: 800; }
/* по акцентной строке медленно едет свет — заголовок не плоский */
.hl {
  background: linear-gradient(100deg, #8f9df2 12%, #dfe4ff 34%, #8f9df2 58%);
  background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen-text 9s linear infinite;
}
@keyframes sheen-text { to { background-position: -260% 0; } }
.lead { margin: 0 0 30px; max-width: 46ch; color: #c3c8dd; font-size: 17px; }
.cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.ticks { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 9px; }
.doc-body .ticks { margin: 4px 0 0; }
.ticks li { position: relative; padding-left: 26px; font-size: 14.5px; color: #b9bed4; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%;
  background: rgba(124,140,232,.16) center / 10px no-repeat;
  border: 1px solid rgba(124,140,232,.4);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.6 5.2 4 7.5 8.4 2.6' fill='none' stroke='%239aa8f5' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- документация: липкая боковая навигация + текст ---------- */
.docs { width: min(1240px, calc(100% - 40px)); margin: 96px auto 0; }
.docs-grid { display: grid; grid-template-columns: 226px minmax(0, 1fr); gap: 40px; align-items: start; }
.doc-side {
  position: sticky; top: 116px; align-self: start;
  display: grid; gap: 20px; max-height: calc(100vh - 120px); overflow-y: auto;
  padding: 16px 14px 18px; background: var(--panel); border: 1px solid var(--border); border-radius: 22px;
}
.doc-search {
  display: flex; align-items: center; gap: 9px; padding: 0 12px; height: 38px;
  background: rgba(0,0,0,.3); border: 1px solid var(--border); border-radius: 13px; color: #6f7488;
  transition: border-color .2s, color .2s;
}
.doc-search:focus-within { border-color: rgba(139,156,240,.55); color: var(--peri-bright); box-shadow: 0 0 0 3px rgba(124,140,232,.12); }
.doc-search input {
  width: 100%; min-width: 0; border: 0; background: none; outline: none; color: var(--text);
  font: 500 13px/1.4 inherit; font-family: inherit; caret-color: var(--peri-bright);
}
.doc-search input::placeholder { color: #6e7488; }
.doc-group { display: grid; gap: 2px; }
.doc-group[hidden] { display: none; }
.doc-group b {
  font-size: 10.5px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase;
  color: #6f7488; padding: 0 10px 6px;
}
.doc-group a {
  position: relative; font-size: 13.5px; font-weight: 500; color: #a7adca;
  padding: 8px 10px 8px 14px; border-radius: 11px;
  transition: color .2s var(--ease), background .2s var(--ease), transform .2s var(--spring);
}
.doc-group a::before {
  content: ''; position: absolute; left: 3px; top: 50%; width: 2px; height: 0; margin-top: 0;
  border-radius: 2px; background: linear-gradient(180deg, var(--peri-bright), var(--peri));
  transition: height .3s var(--spring), margin-top .3s var(--spring);
}
.doc-group a:hover { color: var(--text); background: var(--panel-hi); transform: translateX(2px); }
.doc-group a.on { color: #fff; background: rgba(124,140,232,.13); }
.doc-group a.on::before { height: 17px; margin-top: -8.5px; }
.doc-group a.hide { display: none; }

.doc-body { display: grid; gap: 62px; }
.doc-body h3 { margin: 0 0 12px; font-size: 23px; letter-spacing: -.6px; }
.doc-body p { margin: 0 0 14px; color: #b6bcd6; font-size: 15.5px; max-width: 74ch; }
.doc-body .inlink { color: var(--peri-bright); font-weight: 600; }
.doc-body .inlink:hover { text-decoration: underline; }
.doc-steps { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 9px; color: #b6bcd6; font-size: 15.5px; }
.doc-steps b { color: var(--text); font-weight: 600; }
.doc-steps li::marker { color: var(--peri-bright); font-weight: 700; }

.note {
  display: flex; gap: 12px; align-items: flex-start; margin: 0 0 20px; padding: 15px 18px;
  background: rgba(124,140,232,.09); border: 1px solid rgba(124,140,232,.26);
  border-left: 3px solid var(--peri); border-radius: 16px;
}
.note svg { flex: none; margin-top: 3px; color: var(--peri-bright); }
.note p { margin: 0; font-size: 14.5px; color: #c3c8dd; }

.log {
  margin: 0 0 10px; padding: 16px 18px; overflow-x: auto;
  background: rgba(4, 6, 10, .72); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.log pre { margin: 0; font: 12.5px/1.85 'Cascadia Mono', Consolas, monospace; color: #9fe0b4; white-space: pre; }
.log-cap { font-size: 13px; color: var(--muted); }

.shot { margin: 0 0 18px; }
.shot-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.shot-row .shot { margin-bottom: 0; }
.shot img {
  display: block; width: 100%; height: auto; border-radius: 18px;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 26px 60px -30px rgba(0,0,0,.9);
  transition: transform .4s var(--spring), box-shadow .4s var(--ease), border-color .3s;
}
.shot:hover img { transform: translateY(-4px) scale(1.008); border-color: rgba(139,156,240,.38); box-shadow: 0 34px 72px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(124,140,232,.18); }
.shot figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

table.req { width: 100%; margin: 0 0 16px; border-collapse: collapse; font-size: 14.5px; }
table.req th, table.req td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); }
table.req thead th {
  font-size: 11.5px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; color: #6f7488;
  background: rgba(255,255,255,.03); border-bottom-color: rgba(124,140,232,.28);
}
table.req tbody tr { transition: background .2s; }
table.req tbody tr:hover { background: var(--panel); }
table.req td:first-child { color: var(--text); font-weight: 600; }
table.req td { color: #a7adca; }

/* ---------- секции ---------- */
section { position: relative; }
h2 { margin: 0 0 10px; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.9px; line-height: 1.15; font-weight: 800; }
.sub { margin: 0 0 34px; color: var(--muted); max-width: 62ch; font-size: 15.5px; }
.sub.center { margin: 26px auto 0; text-align: center; }

.features, .catalog, .how, .versions, .safe, .faq { width: min(var(--max), calc(100% - 40px)); margin: 96px auto 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; overflow: hidden;
  background: var(--panel); border: 1px solid var(--border); border-radius: 24px; padding: 26px 24px 28px;
  transition: transform .28s var(--spring), border-color .25s var(--ease), background .25s var(--ease);
}
.card:hover { transform: translateY(-4px); background: var(--panel-hi); border-color: rgba(124,140,232,.34); }
.card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease);
  background: radial-gradient(58% 46% at var(--mx, 50%) var(--my, -10%), rgba(173,186,255,.18), transparent 62%);
}
.card:hover::before { opacity: 1; }
.ic { width: 34px; height: 34px; color: var(--peri-bright); margin-bottom: 16px; }
.card h3 { margin: 0 0 9px; font-size: 17.5px; letter-spacing: -.3px; }
.card p { margin: 0; font-size: 14.5px; color: #a7adca; }

.dl-panel {
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  margin-top: 22px; padding: 30px 32px;
  background: linear-gradient(135deg, rgba(124,140,232,.16), rgba(255,255,255,.03) 55%);
  border: 1px solid rgba(124,140,232,.28); border-radius: 28px;
}
.dl-panel h3 { margin: 0 0 6px; font-size: 21px; letter-spacing: -.4px; }
.dl-panel p { margin: 0; color: #b6bcd6; font-size: 14.5px; }

.vrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.vchip {
  position: relative; overflow: hidden; text-align: center;
  background: var(--panel); border: 1px solid var(--border); border-radius: 22px; padding: 24px 16px 22px;
  transition: transform .28s var(--spring), border-color .25s;
}
.vchip:hover { transform: translateY(-4px); border-color: rgba(124,140,232,.34); }
.vchip b { display: block; font-size: 26px; letter-spacing: -1px; }
.vchip span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }

.faq details {
  background: var(--panel); border: 1px solid var(--border); border-radius: 20px;
  padding: 0 24px; margin-bottom: 10px; transition: background .25s, border-color .25s;
}
.faq details:hover { background: var(--panel-hi); }
.faq summary {
  cursor: pointer; list-style: none; padding: 19px 0; font-weight: 600; font-size: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; width: 9px; height: 9px; flex: none; border-right: 2px solid var(--peri-bright); border-bottom: 2px solid var(--peri-bright);
  transform: rotate(45deg) translateY(-2px); transition: transform .28s var(--spring);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p { margin: 0 0 22px; color: #a7adca; font-size: 15px; max-width: 78ch; }

footer { width: min(var(--max), calc(100% - 40px)); margin: 104px auto 0; padding: 26px 0 40px; border-top: 1px solid var(--border); }
.foot-in { display: flex; align-items: flex-start; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.foot-in p { margin: 0; color: #6f7488; font-size: 13.5px; max-width: 46ch; }
.foot-brand { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
/* адрес как в строке браузера: замок, приглушённая схема, жирный хост */
.foot-brand .foot-domain {
  display: inline-flex; align-items: center; gap: 7px;
  max-width: none; padding: 8px 14px 8px 11px; font-size: 14.5px; letter-spacing: -.1px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--spring);
}
.foot-brand .foot-domain:hover { border-color: rgba(124,140,232,.4); background: var(--panel-hi); transform: translateY(-1px); }
.foot-domain svg { width: 14px; height: 14px; flex: none; color: #7f8a72; }
.fd-scheme { color: #6f7488; font-weight: 500; }
.fd-host { color: var(--peri-bright); font-weight: 700; }
.foot-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 22px; color: #62677a; font-size: 13px; }
.foot-meta a:hover { color: var(--peri-bright); }

/* ---------- каталог косметики ---------- */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.cat-tabs button {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; cursor: pointer;
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px; color: #b9bdd0;
  font-size: 13px; font-weight: 600; font-family: inherit;
  transition: color .2s, border-color .2s, background .2s, transform .2s var(--spring), box-shadow .25s;
}
.cat-tabs button em { font-style: normal; font-size: 11.5px; color: var(--muted); background: rgba(255,255,255,.06); border-radius: 999px; padding: 2px 7px; }
.cat-tabs button:hover { color: var(--text); border-color: rgba(139,156,240,.4); transform: translateY(-1px); box-shadow: 0 0 16px rgba(124,140,232,.18); }
.cat-tabs button.on { background: linear-gradient(160deg, rgba(124,140,232,.26), rgba(124,140,232,.12)); border-color: rgba(139,156,240,.6); color: #dfe4ff; }
.cat-tabs button.on em { background: rgba(124,140,232,.28); color: #dfe4ff; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 14px; }
.cat-item {
  position: relative; overflow: hidden; margin: 0; padding: 12px 10px 14px; text-align: center;
  background: var(--panel); border: 1px solid var(--border); border-radius: 20px;
  transition: transform .28s var(--spring), border-color .25s, background .25s;
}
.cat-item:hover { transform: translateY(-4px); background: var(--panel-hi); border-color: rgba(124,140,232,.34); }
.cat-item::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease);
  background: radial-gradient(58% 46% at var(--mx, 50%) var(--my, -10%), rgba(173,186,255,.18), transparent 62%);
}
.cat-item:hover::before { opacity: 1; }
.cat-item img, .cat-item figcaption { position: relative; }
.cat-item img { display: block; width: 100%; max-width: 128px; height: auto; margin: 0 auto; border-radius: 14px; }
.cat-item figcaption { margin-top: 10px; font-size: 13px; font-weight: 600; color: #c3c8dd; overflow-wrap: anywhere; }
.cat-item.off { display: none; }

/* ---------- безопасность ---------- */
.vt {
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  margin-top: 22px; padding: 30px 32px;
  background: linear-gradient(135deg, rgba(124,140,232,.14), rgba(255,255,255,.03) 55%);
  border: 1px solid rgba(124,140,232,.28); border-radius: 28px;
}
.vt h3 { margin: 0 0 6px; font-size: 21px; letter-spacing: -.4px; }
.vt p { margin: 0 0 12px; color: #b6bcd6; font-size: 14.5px; max-width: 66ch; }
.vt .sha { display: inline-block; margin: 2px 0 14px; font-size: 12.5px; line-height: 1.8; }
.vt-note { font-size: 13px; color: var(--muted); }
.vt-warn { font-size: 13px; color: #c8b39a; }
.vt-links { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.ghost-link { font-size: 13.5px; font-weight: 600; color: var(--peri-bright); }
.ghost-link:hover { text-decoration: underline; }
.more { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--peri-bright); }
.more:hover { text-decoration: underline; }

/* ---------- аккаунт в шапке ---------- */
.user {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 8px; cursor: pointer;
  background: var(--panel); border: 1px solid var(--border); border-radius: 13px; color: #c9cde0;
  font-size: 13px; font-weight: 600; font-family: inherit;
  transition: color .2s, border-color .2s, background .2s, transform .2s var(--spring), box-shadow .25s;
}
.user:hover { color: #fff; background: var(--panel-hi); border-color: rgba(139,156,240,.4); transform: translateY(-1px); box-shadow: 0 0 16px rgba(124,140,232,.2); }
.user .uava { width: 18px; height: 18px; flex: none; border-radius: 6px; background: linear-gradient(160deg, #9aa8f5, #6d7dd6); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.user.hidden { display: none; }

/* ---------- экран входа: копия онбординга лаунчера ---------- */
.gate {
  position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 20px;
  background: rgba(5, 6, 10, .66); backdrop-filter: blur(10px);
}
.gate.show { display: flex; animation: gFade .25s both; }
.gate.out { animation: gFade .2s ease reverse both; }
@keyframes gFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes gIn { from { opacity: 0; transform: translateY(18px) scale(.95); } to { opacity: 1; transform: none; } }
.g-card {
  width: min(430px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 30px 28px;
  background: linear-gradient(160deg, rgba(28, 32, 54, .96), rgba(16, 18, 32, .97));
  border: 1px solid rgba(139, 156, 240, .25); border-radius: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  animation: gIn .45s var(--ease) both;
}
.g-logo img { border-radius: 14px; box-shadow: 0 0 24px rgba(124, 140, 232, .5); }
.g-card h2 { margin: 14px 0 0; font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -.3px; }
.g-sub { margin: 8px 0 18px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.typetabs { display: flex; gap: 8px; margin-bottom: 14px; }
.typetabs button {
  flex: 1; height: 42px; border-radius: 15px; border: 1px solid var(--border); cursor: pointer;
  background: rgba(255, 255, 255, .05); color: #b9bdd0; font-size: 12.5px; font-weight: 600; font-family: inherit;
  transition: color .2s, border-color .2s, background .2s, transform .2s var(--spring), box-shadow .25s;
}
.typetabs button.on { background: linear-gradient(160deg, rgba(124,140,232,.26), rgba(124,140,232,.12)); border-color: rgba(139,156,240,.6); color: #dfe4ff; box-shadow: 0 4px 16px rgba(124,140,232,.18); }
.typetabs button:hover { border-color: rgba(139,156,240,.4); transform: translateY(-1px) scale(1.03); }
.g-steps { display: flex; align-items: center; gap: 7px; margin: 0 0 14px; }
.g-steps[hidden] { display: none; }
.g-steps i { width: 24px; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, .11); transition: background .3s var(--ease); }
.g-steps i.on { background: linear-gradient(90deg, var(--peri), var(--peri-bright)); }
.g-steps span { margin-left: auto; color: var(--muted); font-size: 11.5px; }
.g-row { display: flex; align-items: center; gap: 10px; }
.g-back {
  flex: none; height: 44px; padding: 0 15px; cursor: pointer; border: 1px solid var(--border); border-radius: 15px;
  background: none; color: var(--muted); font-size: 12.5px; font-family: inherit;
  transition: color .2s, border-color .2s, transform .2s var(--spring);
}
.g-back:hover { color: var(--text); border-color: rgba(139, 156, 240, .4); transform: translateY(-1px); }
.g-row .g-submit { flex: 1; min-width: 0; width: auto; }
.formrow { margin-bottom: 10px; }
.inp {
  width: 100%; height: 40px; padding: 0 12px; outline: none;
  border: 1px solid var(--border); border-radius: 12px; background: rgba(0, 0, 0, .28); color: var(--text);
  font-size: 13px; font-family: inherit; caret-color: var(--peri-bright);
  transition: border-color .2s, box-shadow .2s;
}
.inp::placeholder { color: #6e7488; }
.inp:focus { border-color: rgba(139,156,240,.55); box-shadow: 0 0 0 3px rgba(124,140,232,.12); }
.formhint { margin: 4px 0 10px; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.g-submit { width: 100%; justify-content: center; height: 44px; margin-top: 6px; border-radius: 15px; font-size: 13px; }
.g-err { margin: 10px 0 0; color: #f0a2a1; font-size: 12.5px; }
.g-skip { display: block; width: 100%; margin-top: 14px; padding: 6px; border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 12.5px; font-family: inherit; transition: color .2s; }
.g-skip:hover { color: var(--text); }
.g-note { margin: 12px 0 0; color: #6f7488; font-size: 11px; line-height: 1.5; text-align: center; }
body.gate-on { overflow: hidden; }

/* ---------- появление ---------- */
.rise { opacity: 0; transform: translateY(18px); }
.rise.in { opacity: 1; transform: none; transition: opacity .55s var(--ease), transform .7s var(--spring); }

@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .docs-grid { grid-template-columns: 1fr; gap: 24px; }
  .doc-side { position: static; max-height: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .doc-search { grid-column: 1 / -1; }
  .shot-row { grid-template-columns: 1fr; }
  .shot-row .shot { margin-bottom: 18px; }
}
@media (max-width: 900px) { .bar nav { display: none; } }
@media (max-width: 760px) {
  .bar { top: 10px; }
  .pill-bar { gap: 9px; padding: 6px 6px 6px 10px; }
  .brand em { display: none; }
  .grid, .vrow { grid-template-columns: 1fr; }
  .doc-side { grid-template-columns: 1fr; }
  .features, .docs, .catalog, .how, .versions, .safe, .faq { margin-top: 68px; }
  .docs-grid { gap: 20px; }
  .dl-panel { padding: 24px 22px; }
  table.req { display: block; overflow-x: auto; white-space: nowrap; }
  .hf-meta li { min-width: 0; flex: 1 1 44%; padding: 10px 12px; }
  .scroll-cue { display: none; }
  /* в шапке нет места ни для подписи аккаунта, ни для лишних слов — оставляем только аватар */
  .user span { display: none; }
  .user { padding: 0 9px; }
  .cat-grid { grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 10px; }
  .cat-item figcaption { font-size: 12px; }
  .vt { padding: 24px 22px; }
  .vt-links { width: 100%; }
  .vt-links .btn { width: 100%; justify-content: center; }
  .g-card { padding: 24px 20px; border-radius: 22px; }
  .typetabs { gap: 6px; }
  .typetabs button { font-size: 11.5px; height: 40px; border-radius: 13px; }
}
@media (max-width: 460px) {
  .brand span { display: none; }
  .hero-full { min-height: 92svh; padding-top: 108px; }
  .btn-big { padding: 13px 18px; font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aura i { animation: none; }
  .hf-bg, .hf-logo, .scroll-cue i, .bar { animation: none; }
  .hf-bg { transform: none; }
  .rise { opacity: 1; transform: none; }
  .g-card, .gate.show { animation: none; }
  * { transition-duration: .01ms !important; }
}
