/* Daligo — лендинг. Без сборки: один файл стилей, один файл скриптов. */

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(assets/fonts/onest-cyrillic-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(assets/fonts/onest-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #05070a;
  --bg-2: #090c11;
  --card: rgb(255 255 255 / 0.028);
  --card-2: rgb(255 255 255 / 0.05);
  --line: rgb(255 255 255 / 0.08);
  --line-2: rgb(255 255 255 / 0.14);
  --fg: #f2f5f7;
  --fg-2: #a9b3be;
  --fg-3: #6c7784;
  --acc: #19e3cf;
  --acc-2: #02eeda;
  --acc-3: #0f9f92;
  --acc-ink: #03201d;
  --warn: #f5b340;
  --fail: #ff6b6b;
  --r: 22px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.55 "Onest", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
code { font-family: var(--mono); font-size: 0.86em; padding: 0.1em 0.38em; border-radius: 6px; background: var(--card-2); border: 1px solid var(--line); color: #d7fbf6; white-space: nowrap; }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.03em; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--acc); color: var(--acc-ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.dim { color: var(--fg-3); }
.muted { color: var(--fg-2); }

/* Зерно поверх всего: без него большие градиенты на тёмном дают полосы. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.cursor-glow {
  position: fixed;
  left: 0; top: 0;
  width: 560px; height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(closest-side, rgb(25 227 207 / 0.075), transparent);
  transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0);
  transition: opacity 0.4s;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ------------------------------------------------------------ кнопки */
.btn {
  --h: 44px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  isolation: isolate;
  transition: transform 0.35s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.35s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn small { font-weight: 500; font-size: 12.5px; opacity: 0.66; letter-spacing: 0; }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn-sm svg { width: 16px; height: 16px; }
.btn-lg { --h: 56px; padding: 0 26px; font-size: 16.5px; }
.btn-block { width: 100%; justify-content: flex-start; }
.btn-block small { margin-left: auto; }

.btn-primary {
  color: var(--acc-ink);
  background: linear-gradient(180deg, #5ff5e6, var(--acc) 55%, #10c3b1);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.55),
    inset 0 -1px 0 rgb(0 0 0 / 0.12),
    0 10px 30px -10px rgb(25 227 207 / 0.65),
    0 0 0 1px rgb(25 227 207 / 0.4);
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / 0.65) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: sheen 5.5s var(--ease) infinite;
}
.btn-primary:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.55), inset 0 -1px 0 rgb(0 0 0 / 0.12), 0 16px 44px -10px rgb(25 227 207 / 0.85), 0 0 0 1px rgb(25 227 207 / 0.6); }
@keyframes sheen { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

.btn-ghost {
  color: var(--fg);
  background: rgb(255 255 255 / 0.04);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgb(255 255 255 / 0.08); border-color: rgb(255 255 255 / 0.24); }
.btn-ghost svg { transition: transform 0.35s var(--ease); }
.btn-ghost:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------ навигация */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 14px 0;
  transition: padding 0.4s var(--ease);
}
.nav-inner {
  width: min(1200px, 100% - 32px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.nav.is-stuck .nav-inner {
  background: rgb(9 12 17 / 0.62);
  border-color: var(--line);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 20px 50px -20px rgb(0 0 0 / 0.7);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand img { filter: drop-shadow(0 0 12px rgb(2 238 218 / 0.45)); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; color: var(--fg-2); transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--fg); background: rgb(255 255 255 / 0.05); }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-inner > .btn { margin-left: auto; }
}

/* ------------------------------------------------------------ появление */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s), filter 0.9s var(--ease) var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; filter: none; }

/* ------------------------------------------------------------ hero */
.hero {
  position: relative;
  padding: 150px 0 40px;
  overflow: hidden;
  isolation: isolate;
}
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.9; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 85%); }
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 22%, #000 10%, transparent 75%);
}
.aurora { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -3; filter: blur(70px) saturate(1.2); opacity: 0.85; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.aurora i:nth-child(1) { width: 52vw; height: 40vw; left: 22%; top: 0%; background: radial-gradient(closest-side, rgb(2 238 218 / 0.34), transparent); animation: drift1 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 40vw; height: 34vw; left: 52%; top: 6%; background: radial-gradient(closest-side, rgb(56 120 255 / 0.22), transparent); animation: drift2 22s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 36vw; height: 30vw; left: 8%; top: 14%; background: radial-gradient(closest-side, rgb(18 160 140 / 0.3), transparent); animation: drift3 26s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-8vw, 6vw) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-14vw, 10vw) scale(0.9); } }
@keyframes drift3 { to { transform: translate(12vw, -4vw) scale(1.2); } }

.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--fg-2);
  background: rgb(255 255 255 / 0.04);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transition: border-color 0.3s, background 0.3s;
}
.pill:hover { border-color: rgb(25 227 207 / 0.4); background: rgb(25 227 207 / 0.06); }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 0 rgb(25 227 207 / 0.7); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(25 227 207 / 0.6); } 80%, 100% { box-shadow: 0 0 0 9px rgb(25 227 207 / 0); } }
.pill-sep { width: 1px; height: 14px; background: var(--line-2); }
.pill-link { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgb(25 227 207 / 0.12); color: #aef7ee; font-weight: 500; }
.pill-link svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.pill:hover .pill-link svg { transform: translateX(3px); }

.hero-title {
  margin-top: 28px;
  font-size: clamp(44px, 8.6vw, 112px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.052em;
}
.hero-title .line { display: block; }
.hero-title .word { display: inline-block; }
.js .hero-title .word {
  opacity: 0;
  transform: translateY(0.45em) rotate(4deg);
  filter: blur(14px);
  animation: word-in 1.1s var(--ease) forwards;
  animation-delay: calc(0.08s + var(--i, 0) * 0.075s);
}
@keyframes word-in { to { opacity: 1; transform: none; filter: none; } }

.shine {
  background: linear-gradient(100deg, #7ffcee 0%, var(--acc-2) 22%, #ffffff 42%, var(--acc-2) 60%, #1aa89b 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 7s linear infinite;
}
.js .hero-title .word.shine { animation: word-in 1.1s var(--ease) forwards, shine 7s linear infinite; animation-delay: calc(0.08s + var(--i, 0) * 0.075s), 0s; }
@keyframes shine { from { background-position: 100% 0; } to { background-position: -150% 0; } }

.hero-sub { margin-top: 26px; max-width: 640px; font-size: clamp(17px, 1.6vw, 20px); color: var(--fg-2); }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 14px; color: var(--fg-3); }
.hero-facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts svg { width: 15px; height: 15px; color: var(--acc); }

/* витрина */
.showcase-wrap { perspective: 1800px; margin-top: 72px; }
.showcase {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(calc(var(--tilt, 1) * 24deg)) scale(calc(1 - var(--tilt, 1) * 0.08)) translateY(calc(var(--tilt, 1) * -20px));
  transform-origin: 50% 0%;
  will-change: transform;
}
.js .showcase { opacity: 0; animation: show-in 1.4s var(--ease) 0.7s forwards; }
@keyframes show-in { from { opacity: 0; translate: 0 60px; } to { opacity: 1; translate: 0 0; } }
.showcase-glow {
  position: absolute;
  inset: 8% 10% -6%;
  z-index: -1;
  background: radial-gradient(closest-side, rgb(25 227 207 / 0.42), rgb(25 227 207 / 0.08) 60%, transparent);
  filter: blur(40px);
  transform: translateZ(-80px);
}

.window {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #0b0f14;
  border: 1px solid rgb(255 255 255 / 0.12);
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 0.6),
    0 1px 0 0 rgb(255 255 255 / 0.1) inset,
    0 50px 120px -30px rgb(0 0 0 / 0.9),
    0 30px 80px -40px rgb(25 227 207 / 0.35);
}
.window::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(160deg, rgb(255 255 255 / 0.07), transparent 30%);
}
.window-bar { height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 0 0 14px; background: #06080b; border-bottom: 1px solid rgb(255 255 255 / 0.06); font-size: 12px; color: var(--fg-3); }
.window-title { display: inline-flex; align-items: center; gap: 7px; }
.showcase .window-title, .gallery .window-title { visibility: hidden; }
.window-ctrl { display: flex; height: 100%; }
.window-ctrl i { width: 44px; height: 100%; position: relative; }
.window-ctrl i::before, .window-ctrl i::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--fg-3); }
.window-ctrl i:nth-child(1)::before { width: 10px; height: 1px; translate: -50% 0; }
.window-ctrl i:nth-child(2)::before { width: 9px; height: 9px; background: none; border: 1px solid var(--fg-3); translate: -50% -50%; border-radius: 1.5px; }
.window-ctrl i:nth-child(3)::before, .window-ctrl i:nth-child(3)::after { width: 12px; height: 1px; translate: -50% 0; rotate: 45deg; }
.window-ctrl i:nth-child(3)::after { rotate: -45deg; }
.window img { width: 100%; height: auto; }

.float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  background: rgb(14 19 25 / 0.72);
  border: 1px solid rgb(255 255 255 / 0.12);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 20px 50px -18px rgb(0 0 0 / 0.8), inset 0 1px 0 rgb(255 255 255 / 0.08);
  font-size: 14px;
  white-space: nowrap;
  translate: var(--px, 0) var(--py, 0);
  transition: translate 0.6s var(--ease);
  pointer-events: none;
}
.float b { display: block; font-weight: 600; }
.float small { display: block; color: var(--fg-3); font-size: 12.5px; }
.float-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: rgb(255 255 255 / 0.06); color: var(--fg-2); }
.float-ico svg { width: 19px; height: 19px; }
.float-ico.ok { background: rgb(25 227 207 / 0.14); color: var(--acc); box-shadow: 0 0 24px -4px rgb(25 227 207 / 0.5); }
.float-arrow { width: 16px; height: 16px; color: var(--fg-3); }
.route-chip { font-family: var(--mono); font-size: 13px; padding: 4px 10px; border-radius: 999px; background: rgb(255 255 255 / 0.06); border: 1px solid var(--line); }
.f1 { left: -3%; top: 47%; animation: bob 7s ease-in-out infinite; }
.f2 { right: -4%; top: 30%; padding: 10px 16px; animation: bob 8s ease-in-out -2s infinite; }
.f3 { right: -2%; bottom: 9%; animation: bob 9s ease-in-out -4s infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (max-width: 900px) { .float { display: none; } }

/* ------------------------------------------------------------ бегущая строка
   Устроена как Marquee из Magic UI: одна группа карточек повторена
   несколько раз, и каждая копия едет на свою ширину плюс зазор. Шов
   попадает ровно на начало следующей копии — дыр и рывков нет. */
.mq-sec { padding: 96px 0 24px; }
.mq-head { text-align: center; margin-bottom: 36px; }
.mq-head .eyebrow { margin-bottom: 14px; }
.mq-head h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; }
.mq-legend { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: 13.5px; color: var(--fg-3); }
.mq-legend li { display: inline-flex; align-items: center; gap: 8px; }
.mq-legend li::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--k); box-shadow: 0 0 10px var(--k); }
[data-kind="proto"] { --k: #19e3cf; --k-bg: rgb(25 227 207 / 0.12); }
[data-kind="tr"] { --k: #7fb4ff; --k-bg: rgb(127 180 255 / 0.12); }
[data-kind="fmt"] { --k: #c7a4ff; --k-bg: rgb(199 164 255 / 0.12); }
[data-kind="prov"] { --k: #f5b340; --k-bg: rgb(245 179 64 / 0.12); }

.mq {
  --gap: 34px;
  display: flex;
  gap: var(--gap);
  overflow: hidden;
  padding: 7px 0;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.mq-group { flex: none; display: flex; gap: var(--gap); animation: mq var(--duration, 60s) linear infinite; }
.mq.reverse .mq-group { animation-direction: reverse; }
.mq:hover .mq-group, .mq:focus-within .mq-group { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(calc(-100% - var(--gap))); } }

.mq-card {
  flex: none;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 6px 4px;
  white-space: nowrap;
  transition: opacity 0.3s;
}
.mq-txt { display: flex; align-items: baseline; gap: 10px; }
.mq-txt b { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: var(--fg); transition: color 0.3s; }
.mq-txt small { font-size: 14.5px; color: var(--fg-3); }
/* Точка перед пунктом — цвет его вида, как в легенде над строками. */
.mq-card::before { content: ""; align-self: center; width: 6px; height: 6px; margin-right: 22px; border-radius: 50%; background: var(--k); opacity: 0.75; }
.mq:hover .mq-card { opacity: 0.45; }
.mq:hover .mq-card:hover { opacity: 1; }
.mq-card:hover .mq-txt b { color: var(--k); }
a.mq-card .mq-txt b::after { content: " →"; color: var(--fg-3); transition: color 0.3s; }
a.mq-card:hover .mq-txt b::after { color: var(--k); }
@media (max-width: 640px) { .mq-txt b { font-size: 17px; } .mq-txt small { font-size: 13.5px; } }

/* ------------------------------------------------------------ живое окно */
.screen { position: relative; aspect-ratio: 16 / 10; background: #0b0f14; }
.screen .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.45s var(--ease); }
.screen .shot.is-on { opacity: 1; }
.hot {
  position: absolute;
  z-index: 2;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  border-radius: 10px;
  transition: box-shadow 0.25s, background 0.25s;
}
.hot:hover, .hot:focus-visible { background: rgb(25 227 207 / 0.07); box-shadow: 0 0 0 1.5px rgb(25 227 207 / 0.75), 0 0 24px -4px rgb(25 227 207 / 0.6); outline: none; }
.hot-power, .hot-theme { border-radius: 50%; }
.screen.hint .hot-nav, .screen.hint .hot-power { animation: hint 1.6s var(--ease) 2; }
.screen.hint .hot-nav:nth-of-type(2) { animation-delay: 0.08s; }
.screen.hint .hot-nav:nth-of-type(3) { animation-delay: 0.16s; }
.screen.hint .hot-nav:nth-of-type(4) { animation-delay: 0.24s; }
.screen.hint .hot-nav:nth-of-type(5) { animation-delay: 0.32s; }
@keyframes hint { 0%, 100% { box-shadow: 0 0 0 0 rgb(25 227 207 / 0); } 40% { box-shadow: 0 0 0 1.5px rgb(25 227 207 / 0.8), 0 0 26px -4px rgb(25 227 207 / 0.7); } }
.hot-power::after {
  content: "";
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--acc);
  opacity: 0;
}
.hot-power.is-busy::after { opacity: 1; animation: spin-r 0.8s linear infinite; }
@keyframes spin-r { to { transform: rotate(360deg); } }
.showcase[data-theme="light"] .window, .gallery[data-theme="light"] .window { background: #eef1f4; }
.showcase[data-theme="light"] .window-bar { background: #e6eaee; border-color: rgb(0 0 0 / 0.06); }
.showcase[data-theme="light"] .window-ctrl i::before, .showcase[data-theme="light"] .window-ctrl i::after { background: #55606c; }
.showcase[data-theme="light"] .window-ctrl i:nth-child(2)::before { background: none; border-color: #55606c; }

.try { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 26px; font-size: 14px; color: var(--fg-3); }
.try-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); animation: ping 2.2s var(--ease) infinite; }
@media (hover: none) { .try { display: none; } }

/* ------------------------------------------------------------ секции */
.sec { position: relative; padding: 130px 0 40px; }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--acc)); }
.sec h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1.04; font-weight: 700; letter-spacing: -0.045em; }
.sec-sub { margin-top: 18px; font-size: 18px; color: var(--fg-2); max-width: 640px; }
.sec-head.center .sec-sub { margin-inline: auto; }

.float-logo { border-radius: 8px; }

/* ------------------------------------------------------------ как работает */
.how { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
@media (max-width: 960px) { .how { grid-template-columns: 1fr; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.step {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 20px;
  border: 1px solid transparent;
  overflow: hidden;
  transition: background 0.5s, border-color 0.5s;
  cursor: default;
}
.step h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; color: var(--fg-2); transition: color 0.4s; }
.step p { color: var(--fg-3); font-size: 15.5px; transition: color 0.4s; }
.step-n {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-weight: 600;
  font-size: 15px;
  color: var(--fg-3);
  border: 1px solid var(--line-2);
  transition: all 0.4s var(--ease);
}
.step-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--acc-3), var(--acc)); transform-origin: left; transform: scaleX(0); }
.step.is-on { background: var(--card); border-color: var(--line); }
.step.is-on h3 { color: var(--fg); }
.step.is-on p { color: var(--fg-2); }
.step.is-on .step-n { color: var(--acc-ink); background: var(--acc); border-color: var(--acc); box-shadow: 0 0 24px -2px rgb(25 227 207 / 0.6); }
.step.is-on .step-bar { animation: bar var(--dur, 4s) linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }

.demo { position: relative; }
.demo::before {
  content: "";
  position: absolute;
  inset: -40px;
  z-index: -1;
  background: radial-gradient(closest-side, rgb(25 227 207 / 0.16), transparent);
  filter: blur(20px);
}
.demo-win { border-radius: 20px; overflow: hidden; background: #0a0d12; border: 1px solid rgb(255 255 255 / 0.12); box-shadow: 0 50px 100px -40px rgb(0 0 0 / 0.9), inset 0 1px 0 rgb(255 255 255 / 0.06); }
.demo-body { position: relative; height: 470px; overflow: hidden; }
.demo-glow { position: absolute; left: 50%; top: -30%; width: 120%; height: 90%; translate: -50% 0; background: radial-gradient(closest-side, rgb(25 227 207 / 0.12), transparent); transition: opacity 0.8s, background 0.8s; }
.demo[data-phase="on"] .demo-glow { background: radial-gradient(closest-side, rgb(25 227 207 / 0.3), transparent); }

.demo-stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 40px;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96);
  filter: blur(8px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), filter 0.6s var(--ease), visibility 0.6s;
}
.demo[data-stage="import"] [data-stage="import"],
.demo[data-stage="connect"] [data-stage="connect"] { opacity: 1; visibility: visible; transform: none; filter: none; }

.demo-mark { filter: drop-shadow(0 0 18px rgb(2 238 218 / 0.55)); }
.demo-h { margin: 16px 0 22px; font-size: 21px; font-weight: 700; letter-spacing: -0.03em; }
.demo-field {
  width: min(100%, 400px);
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 6px 0 14px;
  border-radius: 12px;
  background: #06080b;
  border: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.demo-field > svg { width: 17px; height: 17px; color: var(--fg-3); flex: none; }
.demo[data-typing] .demo-field { border-color: rgb(25 227 207 / 0.6); box-shadow: 0 0 0 4px rgb(25 227 207 / 0.12); }
.demo-typed { overflow: hidden; white-space: nowrap; text-overflow: clip; min-width: 0; }
.demo-typed:empty::before { content: "https://… или vless://…"; color: var(--fg-3); }
.demo-caret { width: 1.5px; height: 18px; background: var(--acc); margin-left: -8px; animation: caret 1s steps(1) infinite; }
.demo:not([data-typing]) .demo-caret { opacity: 0; animation: none; }
@keyframes caret { 50% { opacity: 0; } }
.demo-paste { margin-left: auto; flex: none; font-family: "Onest", sans-serif; font-size: 12.5px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--fg-2); }
.demo-add {
  width: min(100%, 400px);
  height: 44px;
  margin-top: 12px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--acc-ink);
  background: linear-gradient(180deg, #4cebd9, #1dc6b4);
  transition: transform 0.18s var(--ease), filter 0.2s, opacity 0.3s;
}
.demo-add.is-press { transform: scale(0.96); filter: brightness(0.9); }
.demo[data-loading] .demo-add span { opacity: 0.4; }
.demo-servers { list-style: none; margin: 16px 0 0; padding: 0; width: min(100%, 400px); display: grid; gap: 6px; }
.demo-servers li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.035);
  border: 1px solid var(--line);
  font-size: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.demo-servers li img { width: 22px; height: 22px; border-radius: 50%; }
.demo-servers li em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--acc); font-variant-numeric: tabular-nums; }
.demo[data-servers] .demo-servers li { opacity: 1; transform: none; }
.demo[data-servers] .demo-servers li:nth-child(2) { transition-delay: 0.1s; }
.demo[data-servers] .demo-servers li:nth-child(3) { transition-delay: 0.2s; }

.power { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.power-face {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  color: var(--fg-2);
  background: linear-gradient(180deg, #1f2630, #171c24 50%, #12161c);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.1), inset 0 0 0 1px rgb(255 255 255 / 0.06), 0 20px 40px -18px #000;
  transition: color 0.6s, background 0.6s, box-shadow 0.8s, transform 0.2s var(--ease);
}
.power-face svg { width: 42px; height: 42px; }
.power.is-press .power-face { transform: scale(0.94); }
.power-sweep { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; opacity: 0; transition: opacity 0.4s; }
.power-sweep circle { fill: none; stroke: var(--acc); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 60 240; }
.demo[data-phase="ing"] .power-sweep { opacity: 1; animation: spin 1s linear infinite; }
@keyframes spin { to { rotate: 270deg; } }
.power-ring { position: absolute; inset: 12px; border-radius: 50%; border: 1.5px solid rgb(25 227 207 / 0.5); opacity: 0; }
.demo[data-phase="on"] .power-ring { animation: ring 2.6s var(--ease) infinite; }
.demo[data-phase="on"] .power-ring.r2 { animation-delay: 1.3s; }
@keyframes ring { 0% { transform: scale(0.85); opacity: 0.9; } 100% { transform: scale(1.5); opacity: 0; } }
.demo[data-phase="on"] .power-face {
  color: var(--acc-ink);
  background: linear-gradient(180deg, #7ff6ea, #2fd9c7 55%, #13a898);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.45), 0 0 0 10px rgb(25 227 207 / 0.08), 0 24px 60px -10px rgb(25 227 207 / 0.7);
}
.demo-status { position: relative; height: 38px; margin-top: 18px; width: 100%; }
.demo-status .st { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.4s var(--ease); }
.demo-status .st svg { width: 26px; height: 26px; }
.st-off { color: var(--fg-2); }
.st-ing { color: var(--fg-2); }
.st-on { color: var(--acc); text-shadow: 0 0 30px rgb(25 227 207 / 0.5); }
.demo[data-phase="off"] .st-off, .demo[data-phase="ing"] .st-ing, .demo[data-phase="on"] .st-on { opacity: 1; transform: none; }
.demo-stats { display: grid; grid-template-columns: repeat(3, 1fr); width: min(100%, 420px); margin-top: 26px; border: 1px solid var(--line); border-radius: 14px; background: rgb(255 255 255 / 0.025); }
.demo-stats div { padding: 12px 16px; }
.demo-stats div + div { border-left: 1px solid var(--line); }
.demo-stats small { display: block; font-size: 12px; color: var(--fg-3); }
.demo-stats b { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.demo-stats i { font-style: normal; font-size: 12px; color: var(--fg-3); margin-left: 4px; }
.demo-loc { display: flex; align-items: center; gap: 12px; margin-top: 14px; width: min(100%, 420px); padding: 10px 14px; border-radius: 14px; background: rgb(255 255 255 / 0.025); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.demo-loc img { width: 30px; height: 30px; border-radius: 50%; }
.demo-loc small { display: block; font-weight: 400; font-size: 12px; color: var(--fg-3); }

.demo-cursor {
  position: absolute;
  left: 0; top: 0;
  z-index: 5;
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 4px 8px rgb(0 0 0 / 0.6));
  transform: translate(var(--mx, 110%), var(--my, 110%));
  transition: transform 0.9s cubic-bezier(0.5, 0, 0.2, 1), opacity 0.4s;
  opacity: 0;
}
.demo[data-cursor] .demo-cursor { opacity: 1; }
.demo-cursor.is-press { scale: 0.85; }

@media (max-width: 560px) {
  .demo-body { height: 440px; }
  .demo-stage { padding: 24px 18px; }
  .demo-stats b { font-size: 18px; }
}

/* ------------------------------------------------------------ bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 26px;
  border-radius: var(--r);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.04), rgb(255 255 255 / 0.015));
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  grid-column: span 2;
  min-height: 330px;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -30%), rgb(25 227 207 / 0.11), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, -30%), rgb(25 227 207 / 0.7), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover::before, .card:hover::after { opacity: 1; }
.card-copy { margin-top: auto; }
.card h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 8px; }
.card p { color: var(--fg-2); font-size: 15.5px; }

.c-route { grid-column: span 4; grid-row: span 2; }
.c-route .card-copy { margin-top: 0; max-width: 560px; }
.c-route h3 { font-size: 30px; letter-spacing: -0.035em; }
.c-route p { font-size: 16.5px; }
.c-lan, .c-leak { grid-column: span 3; }

@media (max-width: 1060px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card, .c-lan, .c-leak { grid-column: span 1; }
  .c-route { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 680px) {
  .bento { grid-template-columns: 1fr; }
  .card, .c-route, .c-lan, .c-leak { grid-column: auto; }
  .card { min-height: 0; }
}

/* маршрутизация */
.route-viz { flex: 1; display: grid; place-items: center; min-height: 260px; }
.route-viz svg { width: 100%; height: auto; max-height: 380px; overflow: visible; }
.rv-line { fill: none; stroke-width: 2; }
.rv-line.tun { stroke-width: 3; filter: drop-shadow(0 0 6px rgb(25 227 207 / 0.7)); }
.rv-branches use { fill: none; stroke: rgb(255 255 255 / 0.14); stroke-width: 1.5; }
.rv-node circle { fill: #0e1319; stroke: rgb(255 255 255 / 0.16); stroke-width: 1.5; }
.rv-node.brand circle { fill: #0b1a1a; stroke: rgb(25 227 207 / 0.6); filter: drop-shadow(0 0 14px rgb(25 227 207 / 0.5)); }
.rv-node.tun circle { stroke: rgb(25 227 207 / 0.5); }
.rv-label { font: 500 12px "Onest", sans-serif; fill: var(--fg-3); text-anchor: middle; letter-spacing: 0.08em; text-transform: uppercase; }
.rv-label.acc { fill: var(--acc); }
.rv-dest rect { fill: rgb(255 255 255 / 0.04); stroke: rgb(25 227 207 / 0.35); }
.rv-dest.ru rect { stroke: rgb(255 255 255 / 0.18); }
.rv-dest text { font: 500 11.5px var(--mono); fill: var(--fg-2); text-anchor: middle; }
.rv-dest text.rv-dest-t { text-anchor: start; }
.rv-dest image { clip-path: inset(0 round 4px); }
.pk.tun { fill: #bffdf6; filter: drop-shadow(0 0 6px var(--acc)); }
.pk.dir { fill: #fff; opacity: 0.85; }
.pk.in { fill: #e8fffc; }

/* kill switch */
.kill-viz { position: relative; height: 150px; display: grid; place-items: center; }
.kill-line { position: relative; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, rgb(25 227 207 / 0.7) 20%, rgb(25 227 207 / 0.7) 80%, transparent); animation: kill-line 6s infinite; }
.kill-line i { position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: #bffdf6; box-shadow: 0 0 10px var(--acc); animation: kill-pk 6s linear infinite; }
.kill-line i:nth-child(2) { animation-delay: -0.6s; }
.kill-line i:nth-child(3) { animation-delay: -1.2s; }
.kill-gap { position: absolute; left: 50%; top: -10px; width: 0; height: 22px; translate: -50% 0; background: var(--bg); border-left: 2px solid var(--fail); border-right: 2px solid var(--fail); opacity: 0; animation: kill-gap 6s infinite; }
.kill-shield { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: #1a0f12; border: 1px solid rgb(255 107 107 / 0.5); color: var(--fail); box-shadow: 0 0 40px -6px rgb(255 107 107 / 0.6); opacity: 0; scale: 0.6; animation: kill-shield 6s var(--spring) infinite; }
.kill-shield svg { width: 30px; height: 30px; }
.kill-tag { position: absolute; bottom: 4px; left: 0; right: 0; text-align: center; font-size: 13px; height: 20px; }
.kill-tag span { position: absolute; inset: 0; }
.t-ok { color: var(--acc); animation: t-ok 6s infinite; }
.t-cut { color: var(--fail); opacity: 0; animation: t-cut 6s infinite; }
@keyframes kill-pk { 0% { left: 0; opacity: 0; } 5% { opacity: 1; } 40% { left: 46%; opacity: 1; } 41%, 100% { left: 46%; opacity: 0; } }
@keyframes kill-line { 0%, 40% { filter: none; } 45%, 80% { filter: grayscale(1) brightness(0.5); } 90%, 100% { filter: none; } }
@keyframes kill-gap { 0%, 40% { opacity: 0; width: 0; } 45%, 82% { opacity: 1; width: 30px; } 90%, 100% { opacity: 0; width: 0; } }
@keyframes kill-shield { 0%, 42% { opacity: 0; scale: 0.6; } 50%, 80% { opacity: 1; scale: 1; } 88%, 100% { opacity: 0; scale: 0.6; } }
@keyframes t-ok { 0%, 40% { opacity: 1; } 45%, 85% { opacity: 0; } 92%, 100% { opacity: 1; } }
@keyframes t-cut { 0%, 42% { opacity: 0; } 48%, 82% { opacity: 1; } 88%, 100% { opacity: 0; } }

/* сегменты */
.engine-viz, .mode-viz { flex: 1; display: grid; place-items: center; min-height: 120px; }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 16px; background: #06080b; border: 1px solid var(--line-2); width: min(100%, 300px); font-weight: 600; font-size: 15px; }
.seg > button { position: relative; z-index: 1; padding: 12px 10px; border-radius: 12px; text-align: center; color: var(--fg-3); transition: color 0.4s; animation: seg-a 5s infinite; }
.seg > button:last-of-type { animation-name: seg-b; }
.seg > button:hover { color: var(--fg); }
.seg.is-manual > button, .seg.is-manual .seg-thumb { animation: none; }
.seg.is-manual .seg-thumb { transition: translate 0.5s var(--spring); }
.seg.is-manual[data-pos="1"] .seg-thumb { translate: 100% 0; }
.seg.is-manual > button[aria-checked="true"] { color: var(--fg); }
.seg-thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 12px; background: linear-gradient(180deg, rgb(25 227 207 / 0.24), rgb(25 227 207 / 0.12)); border: 1px solid rgb(25 227 207 / 0.5); box-shadow: 0 0 24px -6px rgb(25 227 207 / 0.6); animation: seg-thumb 5s var(--ease) infinite; }
.seg-mode { font-size: 13.5px; }
.seg-mode > button, .seg-mode .seg-thumb { animation-delay: -2.5s; }
@keyframes seg-thumb { 0%, 42% { translate: 0 0; } 50%, 92% { translate: 100% 0; } 100% { translate: 0 0; } }
@keyframes seg-a { 0%, 42% { color: var(--fg); } 50%, 92% { color: var(--fg-3); } 100% { color: var(--fg); } }
@keyframes seg-b { 0%, 42% { color: var(--fg-3); } 50%, 92% { color: var(--fg); } 100% { color: var(--fg-3); } }

/* приложения */
.apps-viz { display: grid; gap: 7px; }
.app-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; background: rgb(255 255 255 / 0.03); border: 1px solid var(--line); font-size: 14px; }
.app-ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; font-weight: 700; font-size: 13px; color: #fff; background: linear-gradient(135deg, hsl(var(--h) 70% 55%), hsl(calc(var(--h) + 30) 70% 38%)); }
.app-logo { width: 28px; height: 28px; border-radius: 8px; flex: none; }
.app-n { font-family: var(--mono); font-size: 13px; color: var(--fg-2); }
.tag { margin-left: auto; min-width: 82px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; background: rgb(255 255 255 / 0.06); color: var(--fg-2); transition: background 0.3s, color 0.3s, transform 0.3s var(--spring); }
.tag:hover { background: rgb(255 255 255 / 0.12); }
.tag.is-flip { transform: scale(0.88); }
.tag-acc, .tag-acc:hover { background: rgb(25 227 207 / 0.16); color: var(--acc); }
.c-apps.in .app-row { animation: row-in 0.6s var(--ease) both; }
.c-apps.in .app-row:nth-child(2) { animation-delay: 0.1s; }
.c-apps.in .app-row:nth-child(3) { animation-delay: 0.2s; }
.c-apps.in .app-row:nth-child(4) { animation-delay: 0.3s; }
@keyframes row-in { from { opacity: 0; transform: translateX(-14px); } }

/* журнал восстановления */
.log-viz { font-family: var(--mono); font-size: 13px; display: grid; gap: 8px; padding: 16px; border-radius: 14px; background: #06080b; border: 1px solid var(--line); }
.log-viz p { display: flex; align-items: center; gap: 12px; color: var(--fg-2); }
.log-viz time { color: var(--fg-3); }
.log-viz .ok { color: var(--acc); }
.log-viz svg { width: 15px; height: 15px; margin-left: auto; }
.js .c-recover .log-viz p { opacity: 0; }
.c-recover.in .log-viz p { animation: log-in 0.4s var(--ease) forwards; }
.c-recover.in .log-viz p:nth-child(2) { animation-delay: 0.7s; }
.c-recover.in .log-viz p:nth-child(3) { animation-delay: 1.3s; }
.c-recover.in .log-viz p:nth-child(4) { animation-delay: 1.9s; }
@keyframes log-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* трей */
.tray-viz { position: relative; height: 150px; }
.toast { position: absolute; right: 0; top: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 14px; background: #161b22; border: 1px solid var(--line-2); box-shadow: 0 20px 40px -16px #000; font-size: 13.5px; animation: toast 6s var(--ease) infinite; }
.toast img { border-radius: 7px; }
.toast b { display: block; font-weight: 600; }
.toast small { color: var(--fg-2); font-size: 12.5px; }
.taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 0 14px; border-radius: 12px; background: #0d1117; border: 1px solid var(--line); }
.tb-ico { width: 14px; height: 14px; border-radius: 4px; background: rgb(255 255 255 / 0.12); }
.tb-daligo { position: relative; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: rgb(255 255 255 / 0.05); }
.tb-daligo i { position: absolute; right: -1px; bottom: -1px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #0d1117; animation: tray-dot 6s infinite; }
.tb-time { font-size: 12.5px; color: var(--fg-2); font-variant-numeric: tabular-nums; }
@keyframes toast { 0%, 30% { opacity: 0; transform: translateY(12px) scale(0.96); } 38%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes tray-dot { 0%, 14% { background: var(--fg-3); } 15%, 30% { background: var(--warn); box-shadow: 0 0 8px var(--warn); } 31%, 100% { background: var(--acc); box-shadow: 0 0 8px var(--acc); } }

/* сеть */
.lan-viz { position: relative; display: grid; place-items: center; }
.lan-viz svg { width: min(100%, 360px); height: auto; overflow: visible; }
.lan-line { fill: none; stroke: rgb(25 227 207 / 0.55); stroke-width: 1.6; stroke-dasharray: 5 6; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.lan-hub circle { fill: #0b1a1a; stroke: rgb(25 227 207 / 0.6); stroke-width: 1.5; filter: drop-shadow(0 0 12px rgb(25 227 207 / 0.45)); }
.lan-dev rect, .lan-dev path { fill: #0e1319; stroke: rgb(255 255 255 / 0.4); stroke-width: 1.5; }
.lan-dev circle { fill: rgb(255 255 255 / 0.4); }
.lan-addr { position: absolute; right: 0; bottom: -6px; font-size: 12px; }

/* проверка утечек */
.check-viz { display: grid; gap: 8px; }
.check-viz p { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: rgb(255 255 255 / 0.03); border: 1px solid var(--line); font-size: 14px; }
.check-viz svg { width: 16px; height: 16px; color: var(--acc); padding: 3px; box-sizing: content-box; border-radius: 50%; background: rgb(25 227 207 / 0.12); flex: none; }
.check-viz em { margin-left: auto; font-style: normal; color: var(--fg-3); font-size: 13px; text-align: right; }
.js .c-leak .check-viz svg { scale: 0; }
.c-leak.in .check-viz svg { animation: pop 0.5s var(--spring) forwards; }
.c-leak.in .check-viz p:nth-child(2) svg { animation-delay: 0.35s; }
.c-leak.in .check-viz p:nth-child(3) svg { animation-delay: 0.7s; }
.c-leak.in .check-viz p:nth-child(4) svg { animation-delay: 1.05s; }
@keyframes pop { to { scale: 1; } }

/* автовыбор */
.auto-viz { display: grid; gap: 10px; padding-top: 6px; }
.bar-row { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.bar-row img { width: 22px; height: 22px; border-radius: 50%; }
.bar-row i { flex: 1; height: 8px; border-radius: 99px; background: rgb(255 255 255 / 0.05); position: relative; overflow: hidden; }
.bar-row i::after { content: ""; position: absolute; inset: 0; width: calc(var(--w) * 100%); border-radius: inherit; background: rgb(255 255 255 / 0.22); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) calc(var(--o) * 0.12s); }
.bar-row:first-child i::after { background: linear-gradient(90deg, var(--acc-3), var(--acc)); box-shadow: 0 0 12px rgb(25 227 207 / 0.6); }
.bar-row em { width: 30px; text-align: right; font-style: normal; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.bar-row:first-child em { color: var(--acc); font-weight: 600; }
.c-auto.in .bar-row i::after { transform: scaleX(1); }

/* приватность */
.priv-viz { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.zero { padding: 18px; border-radius: 16px; background: rgb(255 255 255 / 0.03); border: 1px solid var(--line); }
.zero b { display: block; font-size: 54px; line-height: 1; font-weight: 700; letter-spacing: -0.05em; background: linear-gradient(180deg, #fff, rgb(255 255 255 / 0.35)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.zero span { font-size: 13px; color: var(--fg-3); }

/* ------------------------------------------------------------ галерея */
.gallery-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.tabs { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgb(255 255 255 / 0.03); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { position: relative; flex: none; padding: 9px 16px; border-radius: 999px; font-size: 14.5px; color: var(--fg-3); overflow: hidden; transition: color 0.3s, background 0.3s; }
.tabs button:hover { color: var(--fg); }
.tabs button[aria-selected="true"] { color: var(--fg); background: rgb(255 255 255 / 0.07); }
.tabs button i { position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--acc); transform: scaleX(0); transform-origin: left; }
.theme-toggle { position: relative; flex: none; display: flex; align-items: center; gap: 0; width: 76px; height: 40px; padding: 4px; border-radius: 999px; background: rgb(255 255 255 / 0.03); border: 1px solid var(--line); }
.theme-toggle svg { position: relative; z-index: 1; width: 34px; height: 16px; color: var(--fg-3); transition: color 0.3s; }
.tt-thumb { position: absolute; left: 4px; top: 4px; width: 32px; height: 30px; border-radius: 999px; background: rgb(255 255 255 / 0.1); transition: translate 0.45s var(--spring); }
.theme-toggle[data-theme="dark"] .tt-moon, .theme-toggle[data-theme="light"] .tt-sun { color: var(--fg); }
.theme-toggle[data-theme="light"] .tt-thumb { translate: 34px 0; }
.gallery-stage { position: relative; }
.gallery-stage::before { content: ""; position: absolute; inset: 10% 5% -8%; z-index: -1; background: radial-gradient(closest-side, rgb(25 227 207 / 0.22), transparent); filter: blur(40px); }
.shots { position: relative; aspect-ratio: 16 / 10; background: #0b0f14; }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.015); filter: blur(4px); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), filter 0.7s var(--ease); }
.shot.is-on { opacity: 1; transform: none; filter: none; }
.gallery-cap { margin-top: 20px; text-align: center; color: var(--fg-2); font-size: 16px; min-height: 1.6em; }
@media (max-width: 700px) { .gallery-bar { flex-direction: column-reverse; align-items: stretch; } .theme-toggle { align-self: flex-end; } }

/* ------------------------------------------------------------ провайдерам */
.providers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 960px) { .providers { grid-template-columns: 1fr; } }
.providers h2 { font-size: clamp(32px, 4.2vw, 52px); }
.prov-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.prov-list li { position: relative; padding-left: 22px; color: var(--fg-2); font-size: 15.5px; }
.prov-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 2px; rotate: 45deg; background: var(--acc); box-shadow: 0 0 10px rgb(25 227 207 / 0.7); }
.prov-list b { font-family: var(--mono); font-weight: 500; color: var(--fg); font-size: 14px; }
.code { border-radius: 20px; overflow: hidden; background: #070a0e; border: 1px solid var(--line-2); box-shadow: 0 40px 90px -40px #000, 0 0 0 1px rgb(0 0 0 / 0.5); }
.code-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--fg-3); font-family: var(--mono); }
.copy { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; padding: 6px 10px; border-radius: 8px; color: var(--fg-2); border: 1px solid var(--line); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.copy svg { width: 14px; height: 14px; }
.copy:hover { background: rgb(255 255 255 / 0.06); color: var(--fg); }
.copy.is-done { color: var(--acc); border-color: rgb(25 227 207 / 0.5); }
.code pre { margin: 0; padding: 22px; overflow-x: auto; font: 13.5px/1.75 var(--mono); color: var(--fg-2); }
.code pre code { background: none; border: 0; padding: 0; white-space: pre; color: inherit; font-size: inherit; }
.tk-c { color: #56606c; }
.tk-t { color: #7fb4ff; }
.tk-a { color: #c7a4ff; }
.tk-s { color: #7ff0e1; }
.code-foot { padding: 16px 18px 20px; border-top: 1px dashed var(--line); display: flex; justify-content: center; }
.dlg { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 14px; background: #121820; border: 1px solid var(--line-2); font-size: 13.5px; box-shadow: 0 16px 40px -16px #000; animation: bob 6s ease-in-out infinite; }
.dlg img { border-radius: 6px; }
.dlg b { display: block; font-weight: 600; }
.dlg small { color: var(--fg-3); font-family: var(--mono); font-size: 12px; }
.dlg em { margin-left: 14px; font-style: normal; font-weight: 600; font-size: 13px; padding: 7px 14px; border-radius: 9px; background: var(--acc); color: var(--acc-ink); }

/* ------------------------------------------------------------ загрузка */
.dl-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 960px) { .dl-grid { grid-template-columns: 1fr; } }
.dl-card { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.dl-main { background: linear-gradient(180deg, rgb(25 227 207 / 0.07), rgb(25 227 207 / 0.015)); border-color: rgb(25 227 207 / 0.3); box-shadow: 0 30px 80px -40px rgb(25 227 207 / 0.5); }
.dl-main::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, var(--acc) 85%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: orbit 5s linear infinite;
  pointer-events: none;
}
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes orbit { to { --ang: 360deg; } }
.dl-head { display: flex; align-items: center; gap: 14px; }
.dl-head h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.dl-head p { font-size: 13.5px; color: var(--fg-3); }
.dl-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgb(255 255 255 / 0.05); border: 1px solid var(--line); flex: none; }
.dl-ico svg { width: 22px; height: 22px; }
.dl-main .dl-ico { color: var(--acc); background: rgb(25 227 207 / 0.1); border-color: rgb(25 227 207 / 0.3); }
.badge { margin-left: auto; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgb(255 255 255 / 0.06); color: var(--fg-2); border: 1px solid var(--line); }
.badge-acc { background: rgb(25 227 207 / 0.12); color: var(--acc); border-color: rgb(25 227 207 / 0.35); }
.dl-actions { display: grid; gap: 10px; }
.dl-actions .btn { --h: 52px; }
.dl-note { color: var(--fg-2); font-size: 15px; }
.hash { display: grid; gap: 6px; }
.hash-row { width: 100%; justify-content: flex-start; gap: 10px; padding: 8px 12px; border-color: transparent; background: rgb(0 0 0 / 0.2); }
.hash-row span { color: var(--fg-3); }
.hash-row code { margin-left: auto; background: none; border: 0; padding: 0; color: var(--fg-2); }
.dl-links { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; font-size: 14px; color: var(--fg-3); }
.dl-links a { color: var(--fg-2); border-bottom: 1px solid var(--line-2); transition: color 0.2s, border-color 0.2s; }
.dl-links a:hover { color: var(--acc); border-color: var(--acc); }
.dl-card.is-you { outline: 1px solid rgb(25 227 207 / 0.35); outline-offset: 4px; }

/* ------------------------------------------------------------ FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
@media (max-width: 960px) { .faq-wrap { grid-template-columns: 1fr; gap: 0; } }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 18px; border: 1px solid var(--line); background: var(--card); transition: background 0.3s, border-color 0.3s; interpolate-size: allow-keywords; }
.faq details[open] { background: rgb(255 255 255 / 0.045); border-color: var(--line-2); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 600; font-size: 17.5px; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(currentColor 0 0) center / 12px 2px no-repeat, linear-gradient(currentColor 0 0) center / 2px 12px no-repeat; color: var(--fg-3); transition: rotate 0.4s var(--ease), color 0.3s; }
.faq details[open] summary::after { rotate: 135deg; color: var(--acc); }
.faq details::details-content { height: 0; overflow: clip; transition: height 0.45s var(--ease), content-visibility 0.45s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq details > div { padding: 0 22px 22px; color: var(--fg-2); font-size: 16px; }

/* ------------------------------------------------------------ финал */
.final { position: relative; padding: 170px 0 150px; margin-top: 80px; overflow: hidden; text-align: center; isolation: isolate; }
.final::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; translate: -50% -50%; z-index: -2; background: radial-gradient(closest-side, rgb(25 227 207 / 0.18), transparent); }
.final-rings { position: absolute; left: 50%; top: 50%; z-index: -1; }
.final-rings i { position: absolute; left: 0; top: 0; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%; border: 1px solid rgb(25 227 207 / 0.35); animation: big-ring 6s var(--ease) infinite; opacity: 0; }
.final-rings i:nth-child(2) { animation-delay: 2s; }
.final-rings i:nth-child(3) { animation-delay: 4s; }
@keyframes big-ring { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(3.2); opacity: 0; } }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.final-mark { display: grid; place-items: center; width: 132px; height: 132px; border-radius: 36px; background: linear-gradient(180deg, #121a20, #0a0f13); border: 1px solid rgb(25 227 207 / 0.35); box-shadow: 0 0 80px -10px rgb(25 227 207 / 0.55), inset 0 1px 0 rgb(255 255 255 / 0.1); }
.final-mark img { width: 58px; height: auto; filter: drop-shadow(0 0 18px rgb(2 238 218 / 0.6)); }
.final h2 { margin-top: 40px; font-size: clamp(40px, 6.6vw, 84px); line-height: 1; font-weight: 700; letter-spacing: -0.05em; }

/* ------------------------------------------------------------ подвал */
.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; color: var(--fg-3); }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.foot .brand { font-size: 16px; color: var(--fg); }
.foot code { font-size: 12px; }
.foot-links { margin-left: auto; display: flex; gap: 20px; }
.foot-links a:hover { color: var(--fg); }

/* ------------------------------------------------------------ движение */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; scroll-behavior: auto !important; }
  .js .reveal, .js .hero-title .word, .js .showcase { opacity: 1; transform: none; filter: none; }
  .showcase { --tilt: 0 !important; }
  .hero-net { display: none; }
}

/* ------------------------------------------------------------ мелкие экраны */
h3 { line-height: 1.2; }
.hash-row { text-align: left; }
.hash-row span, .hash-row code { white-space: nowrap; }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: min(1200px, 100% - 32px); }
  .hero { padding-top: 120px; }
  .pill > span:nth-child(2), .pill-sep { display: none; }
  .pill { padding-left: 10px; }
  .showcase-wrap { margin-top: 48px; }
  .sec { padding-top: 96px; }
  .sec-head { margin-bottom: 36px; }
  .card { padding: 22px; }
  .c-route h3 { font-size: 25px; }
  .route-viz { min-height: 0; }
  .step { padding: 18px 16px; }
  .final { padding: 120px 0 110px; }
  .foot-links { margin-left: 0; }
  .hash-row span { font-size: 12px; }
}

.gallery[data-theme="light"] .window-bar { background: #e6eaee; border-color: rgb(0 0 0 / 0.06); }
.gallery[data-theme="light"] .window-ctrl i::before, .gallery[data-theme="light"] .window-ctrl i::after { background: #55606c; }
.gallery[data-theme="light"] .window-ctrl i:nth-child(2)::before { background: none; border-color: #55606c; }
.window-bar, .window { transition: background 0.5s, border-color 0.5s; }
.foot-tm { flex-basis: 100%; order: 3; font-size: 12.5px; }
