/* Sotix — сайт продукта по макету Figma «Sotix» (2026-10): строгая сетка, моноширинные метки, лайм на тёмном.
   Тёмная тема — по умолчанию, светлая — :root[data-theme='light']. */
:root {
  --bg: #050908;
  --surface: #0c1310;
  --surface-2: #121d17;
  --line: #26372d;
  --line-strong: #3a5143;
  --ink: #eff6f0;
  --muted: #95a79b;
  --dim: #61786a;
  --acc: #75f94c;
  --btn: #75f94c;
  --on-btn: #071006;
  --hi: #0d2414;
  --hi-line: #3f6541;
  --pop: #132019;
  --pop-line: #5b875a;
  --teal: #8ce8da;
  --grid: rgb(38 55 45 / 0.2);
  --field: rgb(117 249 76 / 0.13);
  --wash: radial-gradient(60% 70% at 85% 40%, rgb(26 61 32 / 0.27), transparent 70%);
  --shadow: 0 24px 64px rgb(0 0 0 / 0.6);
  --nav-bg: rgb(5 9 8 / 0.82);
  --pad: clamp(20px, 4.45vw, 64px);
  --max: 1440px;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  color-scheme: dark;
}
:root[data-theme='light'] {
  --bg: #fafcfa;
  --surface: #ffffff;
  --surface-2: #f0f5f1;
  --line: #d5e2d8;
  --line-strong: #a6cba5;
  --ink: #10241a;
  --muted: #526b5c;
  --dim: #718478;
  --acc: #008f4e;
  --on-btn: #10241a;
  --hi: #eaf9e7;
  --hi-line: #a6cba5;
  --pop: #ffffff;
  --pop-line: #a6cba5;
  --teal: #16877b;
  --grid: rgb(213 226 216 / 0.3);
  --field: rgb(0 143 78 / 0.07);
  --wash: radial-gradient(60% 70% at 80% 40%, rgb(188 245 185 / 0.46), rgb(224 245 235 / 0.33) 60%, transparent 100%);
  --shadow: 0 24px 64px rgb(37 75 41 / 0.13);
  --nav-bg: rgb(255 255 255 / 0.9);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
.theme-anim, .theme-anim * { transition: background-color 0.35s, border-color 0.35s, color 0.35s !important; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--mono); font-size: 11px; line-height: 1.4; letter-spacing: 0.02em; text-transform: uppercase; }
.acc, .grad-text { color: var(--acc); }
.dim { color: var(--dim); }
.muted { color: var(--muted); }

/* иконки из макета: SVG как маска, цвет — от темы */
.ico {
  --s: 24px;
  display: inline-block; flex: none;
  width: var(--s); height: var(--s);
  background: var(--acc);
  -webkit-mask: var(--i) center / contain no-repeat;
  mask: var(--i) center / contain no-repeat;
}
.ico.arrow { --s: 18px; --i: url(/assets/ui/arrow-up-right.svg); background: currentColor; }
.i12 { --s: 12px; } .i14 { --s: 14px; } .i16 { --s: 16px; } .i18 { --s: 18px; } .i20 { --s: 20px; }
.i22 { --s: 22px; } .i30 { --s: 30px; } .i48 { --s: 48px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); flex: none; box-shadow: 0 0 12px var(--acc); }
.dot.teal { background: var(--teal); box-shadow: 0 0 10px var(--teal); }

/* кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  height: 42px; padding: 0 18px; border-radius: 8px; border: 1px solid transparent;
  font-size: 13px; white-space: nowrap; cursor: pointer;
  transition: transform 0.18s, box-shadow 0.25s, border-color 0.2s, background-color 0.2s;
}
.btn-lg { height: 56px; padding: 0 24px; font-size: 15px; }
.btn-primary { background: var(--btn); border-color: var(--btn); color: var(--on-btn); }
.btn-primary:hover { box-shadow: 0 0 32px rgb(117 249 76 / 0.35); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost .ico.arrow { background: var(--acc); }
.btn-ghost:hover { border-color: var(--line-strong); transform: translateY(-1px); }

/* ---------- шапка ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--nav-bg);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}
.nav .wrap { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 26px; letter-spacing: -0.01em; color: var(--ink); }
.brand img { width: 38px; height: 38px; }
.links { display: flex; gap: 26px; font-size: 13px; color: var(--muted); }
.links a { transition: color 0.2s; }
.links a:hover { color: var(--ink); }
.links .m-only { display: none; }
.acts { display: flex; align-items: center; gap: 24px; }
.spacer { flex: 1; }
.lang-pick { position: relative; }
.lang-cur {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border-radius: 8px;
  background: none; border: 1px solid var(--line); cursor: pointer;
  font-family: var(--mono); font-size: 11px; color: var(--ink);
}
.lang-cur:hover { border-color: var(--line-strong); }
.lang-cur i { width: 6px; height: 6px; border-right: 1.5px solid var(--dim); border-bottom: 1.5px solid var(--dim); transform: translateY(-2px) rotate(45deg); transition: transform 0.2s; }
.lang-pick.open .lang-cur i { transform: translateY(1px) rotate(-135deg); }
.lang {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 60; min-width: 64px;
  display: none; flex-direction: column; padding: 4px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.lang-pick.open .lang { display: flex; }
.lang button {
  background: none; border: 0; padding: 8px 10px; border-radius: 5px; cursor: pointer; text-align: left;
  font-family: var(--mono); font-size: 11px; color: var(--muted);
}
.lang button:hover { background: var(--surface-2); color: var(--ink); }
.lang button.on { color: var(--acc); }
.login { font-size: 13px; color: var(--ink); }
.login:hover { color: var(--acc); }

/* переключатель темы: капсула с луной (тёмная) или солнцем (светлая) на ползунке */
.theme { display: inline-flex; align-items: center; padding: 0; border: 0; background: none; cursor: pointer; }
.th-switch {
  position: relative; display: block; width: 44px; height: 24px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--line); transition: background-color 0.25s, border-color 0.25s;
}
.th-switch i {
  position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--btn); transition: transform 0.3s cubic-bezier(0.3, 0.8, 0.3, 1);
}
.th-switch i::after {
  content: ''; position: absolute; inset: 4px; background: #071006;
  -webkit-mask: radial-gradient(circle at 75% 30%, transparent 3.2px, #000 3.6px); mask: radial-gradient(circle at 75% 30%, transparent 3.2px, #000 3.6px);
  border-radius: 50%;
}
:root[data-theme='light'] .th-switch { background: var(--btn); border-color: var(--btn); }
:root[data-theme='light'] .th-switch i { background: #fff; transform: translateX(20px); }
:root[data-theme='light'] .th-switch i::after { inset: 5px; background: #f2b705; -webkit-mask: none; mask: none; box-shadow: 0 0 0 2px rgb(242 183 5 / 0.35); }
.theme:hover .th-switch { border-color: var(--line-strong); }

.burger { display: none; width: 42px; height: 42px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.burger span { width: 16px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform 0.25s, opacity 0.2s; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- первый экран ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0 0 auto; height: 900px; background: var(--wash); pointer-events: none; }
.grid-lines {
  position: absolute; inset: 0 0 auto; height: 850px; pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--grid) 0 1px, transparent 1px 128px);
  -webkit-mask: linear-gradient(#000 70%, transparent);
  mask: linear-gradient(#000 70%, transparent);
}
.hero .wrap { position: relative; padding-top: 70px; padding-bottom: 54px; display: flex; flex-direction: column; gap: 42px; }
.status { display: flex; justify-content: space-between; gap: 16px; color: var(--dim); }
.hero-main { display: flex; align-items: center; gap: 40px; }
.hero-copy { flex: 1 1 724px; min-width: 0; max-width: 724px; display: flex; flex-direction: column; gap: 24px; }
.pill { font-size: 13px; line-height: 1.5; color: var(--acc); }
.pill b { font-weight: 700; }
h1 { font-size: clamp(44px, 5.85vw, 84px); line-height: 1.02; font-weight: 600; letter-spacing: -0.025em; }
.caret { animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.lead { max-width: 580px; font-size: 16px; line-height: 1.65; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.stage { position: relative; flex: 0 0 548px; height: 620px; }
.orbit { position: absolute; left: 0; top: 35px; width: 548px; height: 548px; overflow: visible; }
.orbit .axis { fill: var(--line); opacity: 0.4; }
.orbit .ring { stroke: var(--line); }
.orbit .signal { fill: var(--acc); filter: drop-shadow(0 0 12px var(--acc)); animation: pulse 2.4s ease-in-out infinite; }
.orbit .f0 { stop-color: var(--acc); stop-opacity: 0.13; }
.orbit .f1 { stop-color: var(--acc); stop-opacity: 0; }
:root[data-theme='light'] .orbit .f0 { stop-opacity: 0.08; }
@keyframes pulse { 50% { opacity: 0.35; } }
.device-wrap { position: absolute; left: 190px; top: 18px; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.device {
  width: 326px; padding: 20px; border-radius: 28px; transform: rotate(5deg);
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow);
}
:root[data-theme='light'] .device { border-color: var(--line-strong); }
.cam { display: flex; justify-content: center; }
.cam i { width: 42px; height: 5px; border-radius: 10px; background: var(--line); }
.d-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.d-row b { font-size: 14px; font-weight: 600; }
.d-row.small { font-size: 11px; color: var(--muted); }
.d-row.small .acc { font-size: 10px; }
.d-search { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 6px; background: var(--surface-2); font-size: 11px; color: var(--dim); }
.d-search .ico { --s: 14px; background: var(--dim); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile {
  display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 8px;
  background: var(--surface-2); border: 1px solid var(--line);
  animation: tileIn 0.5s both;
}
@keyframes tileIn { from { opacity: 0; transform: translateY(8px); } }
.tile .pic { height: 40px; display: grid; place-items: center; position: relative; }
.tile .pic i { width: 24px; height: 35px; border-radius: 6px; background: var(--c); }
.tile .pic i.wide { width: 40px; height: 20px; border-radius: 14px; }
.tile .pic::after { content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 10px; border-radius: 2px; transform: translate(-50%, -30%); background: rgb(255 255 255 / 0.45); }
.tile span { font-size: 11px; color: var(--muted); }
.tile b { font-size: 13px; font-weight: 600; }
.d-cart { display: flex; justify-content: space-between; align-items: center; height: 48px; padding: 12px; border-radius: 8px; background: var(--btn); color: var(--on-btn); font-size: 13px; }

.approval {
  position: absolute; left: 0; top: 270px; width: 310px; padding: 20px; border-radius: 12px;
  display: flex; flex-direction: column; gap: 14px;
  background: var(--pop); border: 1px solid var(--pop-line); box-shadow: var(--shadow);
  animation: pop 0.6s 0.9s both cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.96); } }
.approval > b { font-size: 18px; font-weight: 600; }
.approval small { font-size: 12px; line-height: 1.5; color: var(--muted); }
.pair { display: flex; gap: 8px; }
.pair > span { flex: 1; height: 38px; display: flex; align-items: center; justify-content: center; gap: 4px; border-radius: 6px; font-size: 12px; white-space: nowrap; }
.pair .ok { background: var(--btn); color: var(--on-btn); }
.pair .no { border: 1px solid var(--line); color: var(--muted); background: var(--pop); }
.offline { position: absolute; left: 165px; top: 610px; display: flex; align-items: center; gap: 8px; font-size: 10px; color: var(--teal); white-space: nowrap; }

.facts { display: flex; gap: 64px; border-top: 1px solid var(--line); padding-top: 24px; }
.facts > div { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.facts strong { font-size: 36px; font-weight: 400; line-height: 1.2; }
.facts span { font-size: 12px; line-height: 1.5; color: var(--muted); }

.eco { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
:root[data-theme='light'] .eco { background: var(--surface-2); }
.eco .wrap { padding-top: 24px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 18px; }
.eco ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 32px; }
.eco li { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.eco li::before { content: '✳'; font-size: 12px; color: var(--acc); }

/* ---------- разделы ---------- */
.sec .wrap { padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 48px; }
.sec + .sec .wrap, .eco + .sec .wrap { border-top: 0; }
.sec { border-bottom: 1px solid var(--line); }
.intro { display: flex; flex-direction: column; gap: 26px; }
.marker { display: flex; justify-content: space-between; gap: 16px; color: var(--dim); }
h2 { font-size: clamp(34px, 3.9vw, 56px); line-height: 1.08; font-weight: 400; letter-spacing: -0.02em; }
.sub { max-width: 760px; font-size: 16px; line-height: 1.65; color: var(--muted); }

.card { position: relative; border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 20px; transition: border-color 0.25s, transform 0.25s; }
.card:hover { border-color: var(--line-strong); }
.card h3 { font-size: 22px; font-weight: 400; line-height: 1.25; }
.card p { font-size: 14px; line-height: 1.65; color: var(--muted); }
.card p + * { margin-top: 0; }
.c-top { display: flex; justify-content: space-between; align-items: center; }
.c-top .mark { font-family: var(--mono); font-size: 10px; color: var(--dim); transition: color 0.2s, transform 0.2s; }
.card:hover .c-top .mark { color: var(--acc); transform: translate(2px, -2px); }
.card .c-top + h3 { margin-top: 0; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento .card > h3 + p { margin-top: -8px; }
.bento .big { grid-column: span 4; padding: 32px; gap: 24px; }
.bento .s2 { grid-column: span 2; }
.bento .s3 { grid-column: span 3; }
.card.hi { background: var(--hi); border-color: var(--hi-line); }
.bento .big h3 { font-size: 32px; font-weight: 500; max-width: 12em; }
.bento .big > p { margin-top: 0; }
.sync { display: flex; align-items: center; gap: 16px; padding-top: 8px; }
.sync .end { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.wire { flex: 1; position: relative; display: flex; justify-content: space-between; align-items: center; height: 6px; }
.wire::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--hi-line); }
.wire i { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc); animation: hop 2.4s ease-in-out infinite; }
.wire i:nth-child(2) { animation-delay: 0.3s; }
.wire i:nth-child(3) { animation-delay: 0.6s; }
@keyframes hop { 0%, 100% { opacity: 0.35; } 40% { opacity: 1; } }

/* контроль */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 24px; }
.step h3 { font-size: 22px; font-weight: 400; margin-bottom: -12px; }
.step p { font-size: 14px; line-height: 1.65; color: var(--muted); }
.chan { display: flex; align-items: center; gap: 16px; }
.chan i { flex: 1; height: 1px; background: var(--line); }
.chan b { width: 5px; height: 5px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 8px var(--acc); }
.screen { height: 190px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.screen.hi { background: var(--hi); border-color: #598545; }
:root[data-theme='light'] .screen.hi { border-color: var(--hi-line); }
.big-num { font-size: 38px; line-height: 1.2; }
.ask { height: 38px; border: 1px solid var(--line); border-radius: 6px; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 12px; color: var(--acc); white-space: nowrap; }
.req { font-size: 20px; }
.screen small { font-size: 12px; color: var(--muted); }
.screen .pair > span { font-weight: 600; }
.screen .pair .no { border: 0; background: var(--surface-2); }
.done { display: flex; align-items: center; gap: 14px; }
.done > div { display: flex; flex-direction: column; gap: 6px; }
.done b { font-size: 17px; font-weight: 400; }
.badge-ok { width: 48px; height: 48px; border-radius: 50%; background: var(--hi); display: grid; place-items: center; }
.screen hr { border: 0; height: 1px; background: var(--line); margin: 0; }
.signals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sig { border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.sig h3 { font-size: 19px; font-weight: 400; }
.sig p { font-size: 14px; line-height: 1.65; color: var(--muted); }

/* приложения */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card.app { padding: 24px; gap: 24px; }
a.card.app:hover { transform: translateY(-2px); }
.preview { height: 220px; border-radius: 10px; background: var(--surface-2); padding: 24px 24px 0; display: flex; justify-content: center; overflow: hidden; }
.win { width: 206px; min-height: 240px; border-radius: 20px; padding: 16px; background: var(--bg); border: 1px solid #38503f; display: flex; flex-direction: column; gap: 16px; }
:root[data-theme='light'] .win { border-color: var(--line-strong); background: var(--surface); }
.win.desk { width: 100%; border-radius: 8px; }
.win .d-row b { font-size: 12px; font-weight: 700; }
.w-title { font-size: 12px; }
.w-title.big { font-size: 16px; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 6px; }
.mini-grid i { height: 50px; border-radius: 5px; background: var(--surface-2); position: relative; }
.mini-grid i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 26px; border-radius: 4px; transform: translate(-50%, -50%); background: #b4d899; }
.mini-grid i.t::after { background: var(--teal); }
.w-btn { height: 28px; border-radius: 4px; background: var(--btn); }
.tabs { display: flex; gap: 12px; font-size: 10px; }
.trend { width: 170px; height: 70px; overflow: visible; }
.trend path { stroke: var(--acc); stroke-dasharray: 260; stroke-dashoffset: 260; }
.in .trend path, .reveal.in .trend path { animation: draw 1.6s 0.3s forwards ease-out; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.bio { display: flex; align-items: center; gap: 8px; font-size: 10px; }
.imp { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 4px; background: var(--hi); font-size: 10px; color: var(--acc); }
.rec { display: flex; justify-content: space-between; align-items: center; font-size: 10px; color: var(--muted); }
.rec i { width: 40px; height: 5px; border-radius: 3px; background: var(--line); }
.a-head { display: flex; align-items: center; justify-content: space-between; }
.a-head h3 { font-size: 26px; }
.a-head .app-icon { width: 48px; height: 48px; border-radius: 12px; flex: none; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.55); }
.card.app > p { margin-top: 0; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; }
.ticks li::before { content: ''; width: 18px; height: 18px; flex: none; background: var(--acc); -webkit-mask: url(/assets/ui/check-18.svg) center / contain no-repeat; mask: url(/assets/ui/check-18.svg) center / contain no-repeat; margin-top: 1px; }
.platform { margin-top: auto; border-top: 1px solid var(--line); padding-top: 18px; display: flex; justify-content: space-between; align-items: center; }
.platform .mono { text-transform: none; }
.platform .ico.arrow { background: var(--acc); }

/* надёжность */
.secure { display: flex; align-items: center; gap: 80px; }
.shield { position: relative; flex: 0 0 480px; height: 490px; }
.shield .orbit { top: 0; width: 480px; height: 480px; }
.shield .shape { position: absolute; left: 158px; top: 140px; width: 164px; height: 192px; overflow: visible; filter: drop-shadow(0 0 16px rgb(117 249 76 / 0.2)); }
.shield .shape path { fill: var(--hi); stroke: var(--acc); }
.shield > .ico { position: absolute; left: 216px; top: 213px; }
.proto { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); padding: 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); white-space: nowrap; }
.checks { flex: 1; min-width: 0; }
.check { display: flex; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.check > div { display: flex; flex-direction: column; gap: 10px; }
.check b { font-size: 20px; font-weight: 400; }
.check span { font-size: 14px; line-height: 1.65; color: var(--muted); }

/* тарифы */
.period { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; padding: 5px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.period button { border: 0; background: none; cursor: pointer; padding: 12px 16px; border-radius: 6px; font-size: 14px; color: var(--muted); display: inline-flex; gap: 10px; align-items: center; transition: background-color 0.2s, color 0.2s; }
.period button.on { background: var(--btn); color: var(--on-btn); font-weight: 600; padding: 12px 24px; }
.period em { font-style: normal; font-size: 12px; color: var(--acc); text-transform: none; }
.period button.on em { color: var(--on-btn); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { gap: 28px; }
.plan.hot { background: var(--hi); border-color: var(--btn); box-shadow: 0 0 32px rgb(117 249 76 / 0.2); }
.p-cat { height: 24px; display: flex; align-items: center; justify-content: space-between; }
.badge { padding: 5px 8px; border-radius: 4px; background: var(--btn); color: var(--on-btn); font-family: Inter, sans-serif; font-size: 10px; text-transform: none; letter-spacing: 0; }
.p-sum { display: flex; flex-direction: column; gap: 10px; }
.plan .p-sum h3 { font-size: 32px; }
.plan .p-sum p { font-size: 14px; line-height: normal; }
.price { display: flex; flex-direction: column; gap: 6px; }
.price b { font-size: 44px; font-weight: 600; line-height: 1.2; transition: opacity 0.18s, transform 0.18s; }
.price b.swap { opacity: 0; transform: translateY(-6px); }
.price .mono { font-size: 12px; color: var(--muted); text-transform: none; }
.price small { font-size: 12px; color: var(--acc); min-height: 0; }
.price small:empty { display: none; }
.lim { list-style: none; margin: 0; padding: 0; }
.lim li { display: flex; justify-content: space-between; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.lim b { font-family: var(--mono); font-size: 16px; font-weight: 400; color: var(--ink); }
.plan .btn { width: 100%; margin-top: auto; }
.trial-note { text-align: center; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* вопросы */
.qa { flex-direction: row !important; gap: 88px !important; align-items: flex-start; }
.qa-intro { flex: 0 0 440px; display: flex; flex-direction: column; gap: 26px; }
.qa-intro h2 { max-width: 7em; }
.more { display: flex; flex-direction: column; gap: 12px; margin-top: -2px; }
.more a { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; }
.more .ico.arrow { background: var(--acc); }
.faq { flex: 1; min-width: 0; }
.faq details { border-top: 1px solid var(--line); padding: 24px 0; }
.faq details[open] { border-top-color: #5a8748; }
:root[data-theme='light'] .faq details[open] { border-top-color: var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; gap: 20px; justify-content: space-between; font-size: 19px; font-weight: 500; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 20px; height: 20px; flex: none; background: var(--acc); -webkit-mask: url(/assets/ui/plus.svg) center / contain no-repeat; mask: url(/assets/ui/plus.svg) center / contain no-repeat; margin-top: 3px; }
.faq details[open] summary::after { -webkit-mask-image: url(/assets/ui/minus.svg); mask-image: url(/assets/ui/minus.svg); }
.faq summary:hover { color: var(--acc); }
.faq p { margin-top: 16px; font-size: 14px; line-height: 1.65; color: var(--muted); }

/* финальный призыв */
.launch-sec .wrap { padding-top: 104px; padding-bottom: 104px; }
.launch { position: relative; overflow: hidden; border-radius: 16px; background: var(--hi); border: 1px solid #395c35; padding: 64px; display: flex; flex-direction: column; gap: 40px; }
:root[data-theme='light'] .launch { border-color: var(--hi-line); }
.launch h2 { position: relative; max-width: 1000px; font-size: clamp(38px, 4.75vw, 68px); line-height: 1.05; font-weight: 500; }
.launch .sub { position: relative; max-width: 640px; }
.launch .cta, .launch > p { position: relative; margin: 0; }
.l-orbit { position: absolute; right: -68px; top: -131px; width: 740px; height: 740px; pointer-events: none; animation: spin 80s linear infinite; }
.l-orbit circle { stroke: var(--acc); opacity: 0.12; }
@keyframes spin { to { transform: rotate(360deg); } }

/* подвал */
.foot { border-top: 1px solid var(--line); }
.foot .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 32px; }
.f-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.f-row nav { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 14px; color: var(--muted); }
.f-row nav a:hover { color: var(--ink); }
.copy { font-size: 12px; text-transform: none; }
.f-sign { display: flex; justify-content: space-between; gap: 16px; }
.f-sign span:last-child { font-size: 10px; }

/* плавающие кнопки и окно «Связаться» */
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 70; display: flex; align-items: center; gap: 10px; }
.fab-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; border-radius: 26px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); box-shadow: var(--shadow);
  transition: transform 0.2s, opacity 0.25s, border-color 0.2s, box-shadow 0.25s;
}
.fab-top { width: 52px; opacity: 0; transform: translateY(12px); pointer-events: none; }
.fab-top.show { opacity: 1; transform: none; pointer-events: auto; }
.fab-top:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.fab-contact { padding: 0 22px 0 18px; background: var(--btn); border-color: var(--btn); color: var(--on-btn); font-size: 15px; }
.fab-contact .ico { background: var(--on-btn); }
.fab-contact:hover { box-shadow: 0 0 32px rgb(117 249 76 / 0.45); transform: translateY(-2px); }
.contact-open .fab { opacity: 0; pointer-events: none; }

.contact { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: flex-end; padding: 24px; background: rgb(0 0 0 / 0.35); }
.contact[hidden] { display: none; }
.ct-panel {
  position: relative; width: min(420px, 100%); max-height: calc(100dvh - 48px); overflow: auto;
  padding: 28px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  animation: pop 0.35s both cubic-bezier(0.2, 0.9, 0.3, 1.15);
}
.ct-close { position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: none; cursor: pointer; }
.ct-close span { position: absolute; left: 9px; top: 15px; width: 13px; height: 1.5px; background: var(--muted); transform: rotate(45deg); }
.ct-close span + span { transform: rotate(-45deg); }
.ct-close:hover { border-color: var(--line-strong); }
.ct-form[hidden], .ct-ok[hidden], .ct-err[hidden] { display: none; }
.ct-form, .ct-ok { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.ct-panel h3 { font-size: 24px; font-weight: 400; line-height: 1.2; padding-right: 32px; }
.ct-sub { font-size: 14px; line-height: 1.6; color: var(--muted); margin-top: -6px; }
.ct-form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }
.ct-form input, .ct-form textarea {
  width: 100%; padding: 13px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink);
  font: inherit; font-size: 15px; resize: vertical; transition: border-color 0.2s;
}
.ct-form input::placeholder, .ct-form textarea::placeholder { color: var(--dim); }
.ct-form input:focus, .ct-form textarea:focus { outline: none; border-color: var(--acc); }
.ct-form .bad { border-color: #e5484d; }
.ct-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ct-form .btn { width: 100%; margin-top: 4px; }
.ct-form .btn[disabled] { opacity: 0.6; cursor: progress; }
.ct-err { font-size: 13px; color: #e5484d; }
.ct-tg { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; }
.ct-tg .ico.arrow { background: var(--acc); }
.ct-ok { align-items: flex-start; padding: 8px 0 4px; }

/* появление при прокрутке */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--d, 0s), transform 0.7s var(--d, 0s) cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1280px) {
  .links { gap: 20px; }
  .acts { gap: 16px; }
  .hero-main { gap: 24px; }
  .stage { flex-basis: 500px; transform: scale(0.92); transform-origin: right center; }
  .secure { gap: 48px; }
  .qa { gap: 56px !important; }
  .qa-intro { flex-basis: 360px; }
}
@media (max-width: 1120px) {
  .nav .links {
    position: absolute; top: 88px; left: 0; right: 0; flex-direction: column; gap: 0;
    padding: 8px var(--pad) 16px; background: var(--bg); border-bottom: 1px solid var(--line);
    font-size: 16px; display: none;
  }
  .nav .links.open { display: flex; }
  .nav .links a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav .links a:last-child { border-bottom: 0; }
  .links .m-only { display: block; }
  .burger { display: flex; }
  .login { display: none; }
  .hero-main { flex-direction: column; align-items: stretch; }
  .hero-copy { max-width: none; flex-basis: auto; }
  .stage { flex: none; align-self: center; transform: none; }
  .bento .big, .bento .s2, .bento .s3 { grid-column: span 3; }
  .bento .big { grid-column: span 6; }
  .flow, .signals, .apps, .plans { grid-template-columns: 1fr 1fr; }
  .secure { flex-direction: column; align-items: stretch; }
  .shield { align-self: center; }
  .qa { flex-direction: column !important; gap: 40px !important; }
  .qa-intro { flex-basis: auto; }
  .qa-intro h2 { max-width: none; }
}
@media (max-width: 760px) {
  .nav .wrap { height: 64px; gap: 12px; }
  .nav .links { top: 64px; }
  .brand { font-size: 22px; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .acts { gap: 10px; }
  .try { display: none; }
  .burger { width: 36px; height: 36px; border: 0; background: none; }
  html { scroll-padding-top: 64px; }

  .hero .wrap { padding-top: 40px; padding-bottom: 40px; gap: 32px; }
  .status span:last-child { display: none; }
  .hero-copy { gap: 20px; }
  .lead { font-size: 15px; }
  .cta { flex-direction: column; }
  .cta .btn { width: 100%; height: 48px; font-size: 14px; }
  .stage { width: 352px; height: 612px; margin: 0 auto; }
  .stage .orbit { left: -40px; top: 0; width: 440px; height: 440px; }
  .device-wrap { left: 28px; top: 0; }
  .device { width: 296px; transform: rotate(0deg); padding: 16px; gap: 12px; }
  .approval { left: 0; top: 230px; width: 280px; padding: 16px; }
  .offline { left: 28px; top: 592px; }
  .facts { flex-direction: column; gap: 14px; padding-top: 20px; }
  .facts > div { flex-direction: row; align-items: center; gap: 24px; }
  .facts strong { font-size: 30px; min-width: 38px; }
  .eco li { font-size: 13px; }
  .eco ul { gap: 10px 18px; }

  .sec .wrap, .launch-sec .wrap { padding-top: 72px; padding-bottom: 72px; gap: 32px; }
  .launch-sec .wrap { padding-top: 0; }
  .intro { gap: 20px; }
  .sub { font-size: 15px; }
  .bento, .flow, .signals, .apps, .plans { grid-template-columns: 1fr; }
  .bento .big, .bento .s2, .bento .s3 { grid-column: auto; }
  .card { padding: 22px; }
  .bento .big { padding: 22px; }
  .bento .big h3 { font-size: 26px; }
  .card h3 { font-size: 20px; }
  .flow { gap: 32px; }
  .shield { width: 352px; height: 380px; flex-basis: auto; }
  .shield .orbit { width: 352px; height: 352px; }
  .shield .shape { left: 116px; top: 98px; width: 120px; height: 140px; }
  .shield > .ico { left: 160px; top: 150px; --s: 32px; }
  .check b { font-size: 18px; }
  .qa-intro h2 { max-width: 7em; }
  .faq summary { font-size: 16px; }
  .launch { padding: 28px 22px; gap: 28px; }
  .l-orbit { right: -420px; top: -200px; }
  .f-row { display: grid; grid-template-columns: 1fr auto; }
  .f-row nav { grid-column: 1 / -1; order: 3; gap: 12px 22px; font-size: 13px; }
  .copy { justify-self: end; }
  .fab { right: 16px; bottom: 16px; }
  .fab-btn { height: 48px; }
  .fab-top { width: 48px; }
  .contact { padding: 0; align-items: flex-end; }
  .ct-panel { width: 100%; max-height: 92dvh; border-radius: 16px 16px 0 0; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); }
}
@media (max-width: 380px) {
  .stage { transform: scale(0.9); transform-origin: top center; height: 560px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .trend path { stroke-dashoffset: 0; }
}

/* ---------- страницы-документы (политика, поддержка) ---------- */
.doc .wrap { max-width: 908px; padding-top: 72px; padding-bottom: 104px; }
.doc .kicker { font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--acc); }
.doc h1 { font-size: clamp(34px, 4.5vw, 56px); font-weight: 400; letter-spacing: -0.02em; margin: 18px 0 10px; }
.doc .updated { color: var(--dim); font-family: var(--mono); font-size: 12px; margin: 0 0 40px; }
.doc h2 { font-size: 24px; margin: 44px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.doc p, .doc li { color: var(--muted); font-size: 16px; line-height: 1.7; }
.doc p { margin: 10px 0; }
.doc b { color: var(--ink); font-weight: 500; }
.doc ul { padding-left: 22px; }
.doc li { margin: 8px 0; }
.doc li::marker { color: var(--acc); }
.doc a.inline { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }
.doc .contact { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 28px 0; }
.doc .contact .card { padding: 24px; gap: 6px; }
.doc .contact b { display: block; font-size: 18px; }
.doc .contact span { color: var(--muted); font-size: 14px; }
footer.doc-foot .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer.doc-foot { border-top: 1px solid var(--line); }
footer.doc-foot nav { display: flex; gap: 24px; font-size: 14px; color: var(--muted); }
footer.doc-foot nav a:hover { color: var(--ink); }

/* Скроллбар Sotix: вместо серой системной полосы — тонкая светящаяся капсула бренда.
   Видна только пока крутят (класс sb-on ставит scrollbars.js) или навели на прокручиваемый блок;
   у окна — ещё когда мышь у правого края. Сверху — линия прогресса прокрутки страницы. */
:root {
  --sb-glow: #41cf43;
  --sb-thumb: linear-gradient(180deg, #b5ffd0, #41cf43 45%, #059b58);
}
:root[data-theme='light'] {
  --sb-glow: #12ae52;
  --sb-thumb: linear-gradient(180deg, #8af0b0, #12ae52 45%, #067a47);
}
@supports selector(::-webkit-scrollbar) {
  ::-webkit-scrollbar { width: 10px; height: 10px; background: transparent; }
  ::-webkit-scrollbar-track,
  ::-webkit-scrollbar-corner { background: transparent; }
  ::-webkit-scrollbar-button { display: none; }
  ::-webkit-scrollbar-thumb {
    min-height: 48px;
    border: 3px solid transparent;
    border-radius: 999px;
    background: transparent padding-box;
  }
  .sb-on::-webkit-scrollbar-thumb,
  :not(html):hover::-webkit-scrollbar-thumb {
    background: var(--sb-thumb) padding-box;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.25);
  }
  /* за капсулу взялись — она толще */
  ::-webkit-scrollbar-thumb:hover,
  ::-webkit-scrollbar-thumb:active { border-width: 1.5px; }
}
@supports not selector(::-webkit-scrollbar) {
  * { scrollbar-width: thin; scrollbar-color: transparent transparent; }
  .sb-on,
  :not(html):hover { scrollbar-color: var(--sb-glow) transparent; }
}
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 9999;
  height: 2px;
  pointer-events: none;
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, transparent, var(--sb-glow) 30%, #8af0b0);
  box-shadow: 0 0 10px var(--sb-glow), 0 0 2px var(--sb-glow);
  opacity: 0;
  transition: opacity 0.4s;
}
.scroll-progress.on { opacity: 1; }
@media print {
  .scroll-progress { display: none; }
}
