/* TG Делегат — лендинг и юридические страницы. Mobile-first, светлая и тёмная темы. */

/* Manrope (SIL OFL 1.1) — свои файлы, без запросов к Google */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-latin.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB,
    U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Токены ---------- */
:root {
  --bg: #f5f7fb;
  --bg-alt: #edf1f8;
  --surface: #ffffff;
  --surface-2: #f4f6fa;
  --ink: #0b1424;
  --ink-2: #2a3547;
  --muted: #5a6577;
  --line: #e2e7ef;
  --line-2: #d3dae6;
  --brand: #2a6fdb;
  --brand-ink: #1f5cc0;
  --brand-2: #1a9fe4;
  --brand-solid: #2a6fdb;
  --brand-soft: #e8f0ff;
  --ok: #13894a;
  --ok-soft: #e4f5eb;
  --bad: #d23c3c;
  --bad-soft: #fdecec;
  --warn: #b45d09;
  --warn-soft: #fdf1e2;
  --focus: #2a6fdb;
  --bub-in: #eef1f6;
  --bub-out: #dce9ff;
  --chat-bg: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 28px -14px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 2px 6px rgba(15, 23, 42, 0.05), 0 36px 70px -28px rgba(22, 52, 110, 0.36);
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --r: 22px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #090d14;
    --bg-alt: #0d121b;
    --surface: #111826;
    --surface-2: #172031;
    --ink: #ecf1f9;
    --ink-2: #c5cfdf;
    --muted: #93a0b5;
    --line: #1f2a3b;
    --line-2: #2b374b;
    --brand: #5b9dff;
    --brand-ink: #8bbcff;
    --brand-2: #38bdf8;
  --brand-solid: #2f6fe0;
    --brand-soft: #142443;
    --ok: #46d38a;
    --ok-soft: #10291d;
    --bad: #ff7a7a;
    --bad-soft: #2c1517;
    --warn: #f5a524;
    --warn-soft: #2b1f0c;
    --focus: #8bbcff;
    --bub-in: #1b2433;
    --bub-out: #1d3767;
    --chat-bg: #0e141f;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 32px -16px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.3), 0 40px 80px -30px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}

/* ---------- База ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
}
a {
  color: var(--brand-ink);
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 8px;
}
.nw {
  white-space: nowrap;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.i {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 640px) {
  .wrap {
    padding-inline: 24px;
  }
}
@media (min-width: 1024px) {
  .wrap {
    padding-inline: 32px;
  }
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background-color 0.16s ease,
    border-color 0.16s ease;
}
.btn .i {
  width: 18px;
  height: 18px;
  transition: transform 0.16s ease;
}
.btn:hover .i {
  transform: translateX(2px);
}
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #2f76e6 0%, #2565d2 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 24px -10px rgba(37, 101, 210, 0.75);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 14px 30px -10px rgba(37, 101, 210, 0.85);
}
.btn--primary:active {
  transform: translateY(0);
}
.btn--ghost {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover {
  border-color: var(--brand);
}
.btn--light {
  color: #1749a6;
  background: #fff;
  box-shadow: 0 12px 30px -12px rgba(5, 20, 60, 0.55);
}
.btn--light:hover {
  transform: translateY(-1px);
}
.btn--sm {
  padding: 0 16px;
  font-size: 15px;
  border-radius: 12px;
}
.btn--lg {
  min-height: 56px;
  padding: 0 24px;
  font-size: 17px;
  border-radius: 16px;
}
.btn--block {
  display: flex;
  width: 100%;
}
@media (max-width: 399px) {
  .btn--lg {
    padding: 0 16px;
    font-size: 16px;
  }
}

/* ---------- Шапка ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  background: rgba(245, 247, 251, 0.82);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
@media (prefers-color-scheme: dark) {
  .hdr {
    background: rgba(9, 13, 20, 0.8);
  }
}
.hdr.is-stuck {
  border-bottom-color: var(--line);
}
.hdr__in {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 64px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  color: var(--ink);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.logo img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}
.nav {
  display: none;
}
.hdr__act {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.hdr__login {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.hdr__login:hover {
  background: var(--surface-2);
}
@media (max-width: 374px) {
  .logo {
    font-size: 16px;
    gap: 7px;
  }
  .logo img {
    width: 28px;
    height: 28px;
  }
  .hdr__login {
    padding: 0 8px;
  }
  .btn--sm {
    padding: 0 12px;
  }
}
@media (min-width: 980px) {
  .nav {
    display: flex;
    gap: 2px;
    margin-left: 28px;
  }
  .nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 10px;
    color: var(--muted);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
  }
  .nav a:hover {
    color: var(--ink);
    background: var(--surface-2);
  }
  .hdr__act {
    gap: 8px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 28px 0 56px;
  overflow: clip;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(520px 360px at 12% 8%, rgba(42, 111, 219, 0.16), transparent 70%),
    radial-gradient(480px 380px at 92% 18%, rgba(26, 159, 228, 0.16), transparent 70%),
    radial-gradient(600px 420px at 70% 92%, rgba(110, 86, 255, 0.1), transparent 70%);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(42, 111, 219, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 111, 219, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero__grid {
  display: grid;
  gap: 40px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: var(--shadow-sm);
}
.pill__dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px var(--ok-soft);
}
.h1 {
  font-size: clamp(2.15rem, 1.25rem + 4.2vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.grad {
  background: linear-gradient(92deg, var(--brand) 0%, var(--brand-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  margin-top: 18px;
  max-width: 560px;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem);
  line-height: 1.55;
}
.cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px;
}
.micro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.micro .i {
  width: 16px;
  height: 16px;
  color: var(--ok);
}
@media (min-width: 520px) {
  .cta-row {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
.hero__copy {
  max-width: 720px;
}
@media (min-width: 1200px) {
  .hero {
    padding: 56px 0 88px;
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) 600px;
    align-items: center;
    gap: 48px;
  }
}

/* ---------- Сцена hero ---------- */
.scene {
  position: relative;
  display: grid;
  grid-template-areas: 'chipb' 'tg' 'flow' 'phone' 'chipa';
  justify-items: center;
}
.tg {
  grid-area: tg;
  width: 100%;
  max-width: 380px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  line-height: 1.3;
}
.tg__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 12.5px;
}
.tg__dots {
  position: absolute;
  left: 14px;
  display: flex;
  gap: 6px;
}
.tg__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}
.tg__dots i:nth-child(2) {
  background: #febc2e;
}
.tg__dots i:nth-child(3) {
  background: #28c840;
}
.tg__tabs {
  display: flex;
  gap: 4px;
  padding: 10px 10px 6px;
  color: var(--muted);
  font-weight: 700;
  font-size: 12.5px;
}
.tg__tabs span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 999px;
}
.tg__tabs .is-on {
  background: var(--brand-soft);
  color: var(--brand-ink);
}
.tg__tabs .i {
  width: 14px;
  height: 14px;
}
.row {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  transition: background-color 0.3s ease;
}
.row.is-shared::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--brand);
}
.row.is-ping {
  background: var(--brand-soft);
}
.row__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.row__body b,
.row__body span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.row__body b {
  font-size: 13.5px;
}
.row__body span {
  color: var(--muted);
  font-size: 12.5px;
}
.row.is-hidden .ava,
.row.is-hidden .row__body {
  filter: blur(3.5px);
  opacity: 0.5;
}
.row__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  color: var(--muted);
  font-size: 11px;
}
.badge {
  min-width: 18px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--brand-solid);
  color: #fff;
  font-style: normal;
  font-weight: 700;
  font-size: 11px;
  text-align: center;
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.badge.is-gone {
  opacity: 0;
  transform: scale(0.5);
}
.row__lock {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted);
}
.row__lock .i {
  width: 14px;
  height: 14px;
}
.tg__legend {
  display: flex;
  gap: 16px;
  padding: 10px 14px 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.lg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lg::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--brand);
}
.lg--off::before {
  background: var(--line-2);
}

/* Аватары */
.ava {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  background: linear-gradient(135deg, #ff9a62, #f0577a);
}
.ava .i {
  width: 18px;
  height: 18px;
}
.ava--m {
  background: linear-gradient(135deg, #b38cff, #7b5cf0);
}
.ava--i {
  background: linear-gradient(135deg, #46d39a, #1b9e6e);
}
.ava--b {
  background: linear-gradient(135deg, #ffcf5c, #f39c12);
}
.ava--g {
  background: linear-gradient(135deg, #5cc8ff, #2a6fdb);
}
.ava--s {
  background: linear-gradient(135deg, #7fb2ff, #4c7ce6);
}
.ava--sm {
  width: 32px;
  height: 32px;
  font-size: 13px;
}
.ava--xs {
  width: 24px;
  height: 24px;
  font-size: 11px;
}

/* Поток между Telegram и телефоном */
.flow {
  grid-area: flow;
  position: relative;
  display: grid;
  place-items: center;
  width: 120px;
  height: 64px;
}
.flow > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.flow path {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 3 7;
  opacity: 0.7;
  vector-effect: non-scaling-stroke;
  animation: dash 1.1s linear infinite;
}
@keyframes dash {
  to {
    stroke-dashoffset: -20;
  }
}
.flow__h {
  display: none !important;
}
.flow__tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--brand-solid);
  color: #fff;
  font-weight: 700;
  font-size: 11.5px;
  white-space: nowrap;
  box-shadow: 0 6px 16px -6px rgba(42, 111, 219, 0.7);
}
.flow__tag .i {
  width: 13px;
  height: 13px;
}

/* Телефон ассистента */
.phone {
  grid-area: phone;
  position: relative;
  width: 292px;
  padding: 9px;
  border-radius: 48px;
  background: linear-gradient(150deg, #2a3242, #0d1119 55%);
  box-shadow:
    var(--shadow-lg),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.1);
}
.phone__screen {
  display: flex;
  flex-direction: column;
  height: 548px;
  overflow: hidden;
  border-radius: 39px;
  background: var(--chat-bg);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}
.phone__status {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 26px 0 30px;
  font-size: 13px;
}
.phone__island {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 86px;
  height: 25px;
  border-radius: 20px;
  background: #05070b;
  transform: translateX(-50%);
}
.phone__sig {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 11px;
}
.phone__sig i {
  width: 3px;
  border-radius: 1px;
  background: var(--ink);
}
.phone__sig i:nth-child(1) {
  height: 4px;
}
.phone__sig i:nth-child(2) {
  height: 6px;
}
.phone__sig i:nth-child(3) {
  height: 8px;
}
.phone__sig i:nth-child(4) {
  height: 11px;
}
.chat__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 10px 8px;
  border-bottom: 1px solid var(--line);
}
.chat__back {
  width: 22px;
  height: 22px;
  color: var(--brand);
}
.chat__who {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.chat__who b {
  font-size: 14px;
}
.chat__who span {
  color: var(--muted);
  font-size: 11px;
}
.chat__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 12px 10px 8px;
  overflow: hidden;
}
.msg {
  position: relative;
  max-width: 84%;
  padding: 7px 10px 6px;
  border-radius: 16px;
  font-size: 13px;
}
.msg time {
  float: right;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 5px 0 -3px 8px;
  color: var(--muted);
  font-size: 10.5px;
}
.msg.in {
  align-self: flex-start;
  background: var(--bub-in);
  border-bottom-left-radius: 6px;
}
.msg.out {
  align-self: flex-end;
  background: var(--bub-out);
  border-bottom-right-radius: 6px;
}
.tick {
  width: 14px;
  height: 14px;
  color: var(--brand);
  transition: color 0.4s ease;
}
.msg.is-sent .tick {
  color: var(--muted);
}
.voice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 12px;
}
.voice time {
  float: none;
  margin: 0;
}
.voice__play {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-solid);
  color: #fff;
}
.voice__play .i {
  width: 14px;
  height: 14px;
}
.voice__wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 24px;
}
.voice__wave i {
  width: 3px;
  height: calc(var(--h) * 100%);
  border-radius: 2px;
  background: var(--brand);
  transition: opacity 0.2s;
}
.voice.is-ready .voice__wave i {
  opacity: 0.35;
}
.voice.is-ready .voice__wave i.on {
  opacity: 1;
}
.sys {
  align-self: center;
  margin: 2px 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bub-in);
  color: var(--muted);
  font-weight: 600;
  font-size: 10.5px;
}
.msg.prev {
  opacity: 0.7;
}
.typing {
  align-self: flex-start;
  display: none;
  gap: 4px;
  padding: 11px 13px;
  border-radius: 16px;
  border-bottom-left-radius: 6px;
  background: var(--bub-in);
}
.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: blink 1s infinite ease-in-out;
}
.typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes blink {
  0%,
  80%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}
.chat__compose {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 8px 10px 16px;
}
.compose__field {
  flex: 1;
  min-width: 0;
  min-height: 36px;
  padding: 9px 14px;
  border-radius: 18px;
  background: var(--bub-in);
  line-height: 18px;
}
.compose__ph {
  color: var(--muted);
}
[data-compose-text]:not(:empty) + .compose__ph {
  display: none;
}
[data-compose-text]:not(:empty)::after {
  content: '';
  display: inline-block;
  width: 1.5px;
  height: 15px;
  margin-left: 1px;
  vertical-align: -3px;
  background: var(--brand);
  animation: caret 0.9s steps(1) infinite;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}
.compose__btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-solid);
  color: #fff;
}
.compose__btn .i {
  width: 17px;
  height: 17px;
  grid-area: 1 / 1;
}
.compose__btn .ic-send,
.chat__compose.has-text .ic-mic {
  display: none;
}
.chat__compose.has-text .ic-send {
  display: block;
}

/* Анимация чата — только когда её запустил JS (иначе всё видно сразу) */
.chat__body.is-live [data-step] {
  display: none;
}
.chat__body.is-live [data-step].is-shown {
  display: block;
  animation: pop 0.38s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
.chat__body.is-live .voice.is-shown,
.chat__body.is-live .typing.is-shown {
  display: flex;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Плашки-подписи */
.chip {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.chip .i {
  width: 16px;
  height: 16px;
  color: var(--ok);
}
.chip--b .i {
  color: var(--brand);
}
.chip--a {
  grid-area: chipa;
  margin-top: -22px;
}
.chip--b {
  grid-area: chipb;
  margin-bottom: 14px;
}
.js .chip {
  animation: float 6s ease-in-out infinite;
}
.js .chip--b {
  animation-delay: -3s;
}
@keyframes float {
  50% {
    transform: translateY(-5px);
  }
}

@media (min-width: 760px) {
  .scene {
    grid-template-areas: 'chipb flow phone' 'tg flow phone' 'chipa flow phone';
    grid-template-columns: minmax(0, 1fr) 60px 292px;
    grid-template-rows: 1fr auto 1fr;
    max-width: 700px;
    margin-inline: auto;
  }
  .tg {
    max-width: none;
  }
  .flow {
    width: 60px;
    height: 150px;
    align-self: center;
  }
  .flow__h {
    display: block !important;
  }
  .flow__v {
    display: none !important;
  }
  .flow__tag {
    display: none;
  }
  .chip--b {
    align-self: end;
    margin: 0 0 18px;
  }
  .chip--a {
    align-self: start;
    margin: 18px 0 0;
  }
}
@media (min-width: 1200px) {
  .scene {
    grid-template-columns: minmax(0, 1fr) 46px 292px;
  }
}

/* ---------- Полоса фактов ---------- */
.facts {
  padding-bottom: 24px;
}
.facts__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--line);
  box-shadow: var(--shadow-sm);
}
.facts__grid li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px;
  background: var(--surface);
}
.facts__grid b {
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(92deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.facts__grid span {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.4;
}
@media (min-width: 900px) {
  .facts__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .facts__grid li {
    padding: 24px;
  }
}

/* ---------- Секции ---------- */
.sec {
  padding: 72px 0;
}
.sec--alt {
  background: var(--bg-alt);
}
@media (min-width: 1024px) {
  .sec {
    padding: 112px 0;
  }
}
.sec__head {
  max-width: 760px;
  margin-bottom: 36px;
}
.sec__head--c {
  margin-inline: auto;
  text-align: center;
}
@media (min-width: 1024px) {
  .sec__head {
    margin-bottom: 52px;
  }
}
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--brand-ink);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.h2 {
  font-size: clamp(1.8rem, 1.2rem + 2.6vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.032em;
}
.sec__lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.15rem);
}
.ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-ink);
}
.ic .i {
  width: 22px;
  height: 22px;
}

/* Появление при прокрутке */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Как делают сейчас ---------- */
.vs {
  display: grid;
  gap: 16px;
}
.vs__old {
  display: grid;
  gap: 12px;
}
.old {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.old__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.old__ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--muted);
}
.old__ic .i {
  width: 20px;
  height: 20px;
}
.tag {
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}
.tag--bad {
  background: var(--bad-soft);
  color: var(--bad);
}
.tag--warn {
  background: var(--warn-soft);
  color: var(--warn);
}
.old h3 {
  font-size: 18px;
  letter-spacing: -0.015em;
}
.cons {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.cons li,
.pros li,
.plan__list li,
.seeing li {
  position: relative;
  padding-left: 28px;
  line-height: 1.5;
}
.cons li {
  color: var(--ink-2);
  font-size: 15px;
}
.cons li::before,
.pros li::before,
.plan__list li::before,
.seeing li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}
.cons li::before {
  background-color: var(--bad-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d23c3c' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}
.vs__new {
  position: relative;
  overflow: hidden;
  padding: 26px 22px;
  border-radius: 28px;
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(56, 189, 248, 0.45), transparent 70%),
    radial-gradient(380px 300px at 0% 100%, rgba(122, 92, 255, 0.35), transparent 70%),
    linear-gradient(160deg, #1d56c4, #173f99);
  color: #fff;
  box-shadow: 0 30px 60px -30px rgba(23, 63, 153, 0.7);
}
.vs__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 5px 12px 5px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 700;
  font-size: 14px;
}
.vs__badge img {
  border-radius: 6px;
}
.vs__new h3 {
  font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem);
  letter-spacing: -0.025em;
}
.pros {
  display: grid;
  gap: 12px;
  margin: 20px 0 24px;
}
.pros li {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15.5px;
}
.pros b {
  color: #fff;
}
.pros li::before {
  background-color: rgba(255, 255, 255, 0.95);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d56c4' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.vs__new .btn {
  width: 100%;
}
.vs__note {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}
@media (min-width: 560px) {
  .vs__new .btn {
    width: auto;
  }
}
@media (min-width: 1000px) {
  .vs {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 20px;
    align-items: stretch;
  }
  .vs__new {
    padding: 40px;
  }
  .old {
    padding: 22px 24px;
  }
}

/* ---------- Шаги ---------- */
.steps {
  display: grid;
  gap: 16px;
  counter-reset: s;
}
.step {
  position: relative;
  padding: 14px 14px 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.step__art {
  display: grid;
  place-items: center;
  height: 220px;
  padding: 0 12px;
  margin-bottom: 20px;
  border-radius: 18px;
  background:
    radial-gradient(260px 160px at 50% 0%, rgba(42, 111, 219, 0.16), transparent 70%),
    var(--surface-2);
}
.step__n {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0 10px 12px;
  border-radius: 11px;
  background: var(--brand-solid);
  color: #fff;
  font-weight: 800;
}
.step > h3,
.step > p {
  margin-inline: 10px;
}
.step > h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
}
.step > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15.5px;
}
@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}
.mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 260px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 12.5px;
  line-height: 1.3;
}
.mini .i {
  width: 15px;
  height: 15px;
}
.mini__title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
  font-weight: 800;
  font-size: 13px;
}
.mini__title .i {
  color: var(--brand);
}
.mini__field {
  display: flex;
  align-items: center;
  height: 34px;
  padding: 0 10px;
  border: 1.5px solid var(--brand);
  border-radius: 10px;
  font-weight: 600;
}
.mini__btn {
  display: grid;
  place-items: center;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-solid);
  color: #fff;
  font-weight: 700;
}
.mini__or {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  font-weight: 600;
}
.sw {
  position: relative;
  width: 32px;
  height: 19px;
  margin-left: auto;
  border-radius: 10px;
  background: var(--brand-solid);
}
.sw::after {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
}
.mini__chat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 2px;
  font-weight: 600;
}
.mini__chat .ok {
  margin-left: auto;
  color: var(--ok);
}
.mini__chat em {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ok-soft);
  color: var(--ok);
  font-style: normal;
  font-weight: 700;
  font-size: 10.5px;
}
.mini__chat.is-new {
  margin: 0 -6px;
  padding: 4px 8px;
  border-radius: 10px;
  background: var(--ok-soft);
}
.js .mini__chat.is-new {
  animation: newchat 4s ease-in-out infinite;
}
@keyframes newchat {
  0%,
  6% {
    opacity: 0;
    transform: translateY(-6px);
  }
  14%,
  100% {
    opacity: 1;
    transform: none;
  }
}
.mini__kv {
  display: flex;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 9px;
  background: var(--surface-2);
}
.mini__kv span {
  color: var(--muted);
}
.mini__row {
  display: flex;
  gap: 6px;
  margin-top: 2px;
}
.mini__row .mini__btn {
  flex: 1;
}
.mini__share {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  color: var(--brand);
}
.how__cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-top: 32px;
}
.how__help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  color: var(--brand-ink);
  font-weight: 700;
  text-decoration: none;
}
.how__help .i {
  width: 16px;
  height: 16px;
}
@media (min-width: 560px) {
  .how__cta {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }
}

/* ---------- Возможности (bento) ---------- */
.bento {
  display: grid;
  gap: 12px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.card h3 {
  margin-top: 6px;
  font-size: 19px;
  letter-spacing: -0.018em;
}
.card p {
  color: var(--muted);
  font-size: 15.5px;
}
.card--feat {
  background:
    radial-gradient(360px 220px at 100% 100%, rgba(42, 111, 219, 0.12), transparent 70%),
    var(--surface);
}
.card__txt {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vis {
  margin-top: 8px;
}
.vis--access {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.acc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13.5px;
}
.acc .i {
  width: 16px;
  height: 16px;
}
.acc--on {
  background: var(--brand-soft);
  color: var(--brand-ink);
}
.acc--off {
  background: var(--surface-2);
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}
.vis--bubble {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 6px;
}
.vis--bubble span {
  max-width: 260px;
  padding: 9px 12px 7px;
  border-radius: 16px;
  border-bottom-right-radius: 6px;
  background: var(--bub-out);
  font-weight: 600;
  font-size: 14px;
}
.vis--bubble time {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  margin-top: 2px;
  color: var(--muted);
  font-weight: 500;
  font-size: 11px;
}
.vis--bubble .i {
  width: 14px;
  height: 14px;
  color: var(--brand);
}
.vis--wave {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin-top: auto;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: var(--bub-in);
  color: var(--muted);
  font-size: 12px;
}
.js .vis--wave .voice__wave i {
  animation: wave 1.4s ease-in-out infinite;
  animation-delay: calc(var(--h) * -1.4s);
  transform-origin: center;
}
@keyframes wave {
  50% {
    transform: scaleY(0.45);
  }
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.tags li {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-weight: 600;
  font-size: 13px;
}
/* На телефоне маленькие карточки компактнее: иконка слева от заголовка */
@media (max-width: 719px) {
  .card:not(.card--wide) {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px 14px;
    align-items: center;
    padding: 20px;
  }
  .card:not(.card--wide) h3 {
    margin-top: 0;
  }
  .card:not(.card--wide) p,
  .card:not(.card--wide) .vis {
    grid-column: 1 / -1;
  }
}
@media (min-width: 720px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card--wide {
    grid-column: span 2;
  }
  .card--feat {
    flex-direction: row;
    align-items: center;
    gap: 28px;
  }
  .card--feat .card__txt {
    flex: 1.2;
  }
  .card--feat .vis {
    flex: 1;
    margin-top: 0;
  }
}
@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .card {
    padding: 26px;
  }
}

/* ---------- Безопасность (тёмный блок в обеих темах) ---------- */
.sec--dark {
  position: relative;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
  overflow: clip;
  background:
    radial-gradient(700px 400px at 85% 0%, rgba(42, 111, 219, 0.35), transparent 70%),
    radial-gradient(600px 400px at 0% 100%, rgba(110, 86, 255, 0.18), transparent 70%),
    #0a1222;
  color: #e9eef8;
}
.sec--dark .h2 {
  color: #fff;
}
.sec--dark .sec__lead {
  color: #a9b5cb;
}
.eyebrow--dark {
  color: #8bbcff;
}
.sec-grid {
  display: grid;
  gap: 16px;
}
.seeing {
  display: grid;
  gap: 12px;
}
.seeing__col {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.04);
}
.seeing h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 18px;
}
.seeing h3 .i {
  width: 20px;
  height: 20px;
}
.seeing__col--yes h3 {
  color: #6ee7a8;
}
.seeing__col--no h3 {
  color: #ff9b9b;
}
.seeing ul {
  display: grid;
  gap: 10px;
}
.seeing li {
  color: #d6deec;
  font-size: 15px;
}
.seeing__col--yes li::before {
  background-color: rgba(110, 231, 168, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236ee7a8' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.seeing__col--no li::before {
  background-color: rgba(255, 155, 155, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9b9b' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}
.devices {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.04);
}
.devices__path {
  margin-bottom: 12px;
  color: #a9b5cb;
  font-size: 13.5px;
}
.devices__path b {
  color: #fff;
}
.devices__card {
  padding: 6px 12px 12px;
  border-radius: 16px;
  background: #131c2e;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
}
.devices__cap {
  margin: 10px 4px 6px;
  color: #7f8ca3;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.dev {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
}
.dev--hl {
  background: rgba(91, 157, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(91, 157, 255, 0.45);
}
.dev__ic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 11px;
  background: #1f2a40;
  color: #a9c4f5;
}
.dev__ic .i {
  width: 19px;
  height: 19px;
}
.dev__ic--brand {
  background: transparent;
}
.dev__ic img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}
.dev__t {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}
.dev__t b {
  color: #fff;
  font-size: 14.5px;
}
.dev__t span {
  color: #8d9ab1;
  font-size: 12.5px;
}
.dev__end {
  padding: 6px 10px;
  border-radius: 9px;
  background: rgba(255, 107, 107, 0.14);
  color: #ff8f8f;
  font-weight: 700;
  font-size: 12.5px;
}
.sec-points {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.pt {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.03);
}
.ic--dark {
  background: rgba(91, 157, 255, 0.16);
  color: #9cc4ff;
}
.pt h3 {
  margin-top: 14px;
  color: #fff;
  font-size: 17.5px;
  letter-spacing: -0.015em;
}
.pt p {
  margin-top: 8px;
  color: #a9b5cb;
  font-size: 15px;
}
.honest {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.04);
  color: #c9d3e4;
  font-size: 15px;
}
.honest > .i {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: #8bbcff;
}
.honest b {
  color: #fff;
}
.honest a {
  color: #9cc4ff;
}
.sec--dark :focus-visible {
  outline-color: #8bbcff;
}
@media (max-width: 599px) {
  .pt {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 8px 14px;
    align-items: center;
  }
  .pt h3 {
    margin-top: 0;
  }
  .pt p {
    grid-column: 1 / -1;
  }
}
@media (min-width: 600px) {
  .seeing {
    grid-template-columns: 1fr 1fr;
  }
  .sec-points {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .sec-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
  }
  .seeing__col {
    padding: 26px;
  }
  .devices {
    padding: 22px;
  }
  .sec-points {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
  }
  .honest {
    margin-top: 20px;
  }
}

/* ---------- Кому подходит ---------- */
.who {
  display: grid;
  gap: 12px;
}
.who__card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.who__card h3 {
  margin-top: 16px;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.who__card > p:not(.who__ex) {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15.5px;
}
.ic--a {
  background: #f1ebff;
  color: #6a46e8;
}
.ic--b {
  background: #fff1df;
  color: #b8620a;
}
.ic--c {
  background: #e3f6ec;
  color: #12804a;
}
.ic--d {
  background: #e2f4fd;
  color: #0b7fb8;
}
@media (prefers-color-scheme: dark) {
  .ic--a {
    background: #221a3d;
    color: #b8a3ff;
  }
  .ic--b {
    background: #2d200f;
    color: #f7b562;
  }
  .ic--c {
    background: #0f2a1d;
    color: #63dc9c;
  }
  .ic--d {
    background: #0e2635;
    color: #6fd0ff;
  }
}
.who__ex {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
  font-size: 13.5px;
  font-weight: 600;
}
.who__ex span {
  align-self: flex-start;
  max-width: 88%;
  padding: 7px 12px;
  border-radius: 14px;
  border-bottom-left-radius: 5px;
  background: var(--bub-in);
}
.who__ex .me {
  align-self: flex-end;
  border-radius: 14px;
  border-bottom-right-radius: 5px;
  background: var(--bub-out);
}
@media (max-width: 719px) {
  .who__card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0 14px;
    align-items: center;
  }
  .who__card h3 {
    margin-top: 0;
  }
  .who__card > p {
    grid-column: 1 / -1;
  }
}
@media (min-width: 720px) {
  .who {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .who__card {
    padding: 28px;
  }
}

/* ---------- Цены ---------- */
.plans {
  display: grid;
  gap: 16px;
  max-width: 900px;
  margin-inline: auto;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.plan--pro {
  border: 2px solid var(--brand);
  background:
    radial-gradient(400px 220px at 100% 0%, rgba(42, 111, 219, 0.12), transparent 70%),
    var(--surface);
  box-shadow: 0 30px 60px -30px rgba(42, 111, 219, 0.55);
}
.plan__badge {
  position: absolute;
  top: -14px;
  left: 22px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand-solid);
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
}
@media (prefers-color-scheme: dark) {
  .plan__badge {
    background: #2565d2;
  }
}
.plan__name {
  font-size: 20px;
  letter-spacing: -0.015em;
}
.plan__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.plan__price b {
  font-size: clamp(2.4rem, 2rem + 1.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan__price span {
  color: var(--muted);
  font-weight: 600;
}
/* Цена словами («По договорённости») — меньше и с переносом */
.plan__price--text b {
  font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.plan__desc {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}
.plan__list {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
}
.plan__list li::before {
  background-color: var(--ok-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313894a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  .plan__list li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2346d38a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  }
}
.plan .btn {
  margin-top: auto;
}
.plans__note {
  max-width: 640px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}
@media (min-width: 760px) {
  .plans {
    grid-template-columns: 1fr 1.1fr;
    align-items: stretch;
    gap: 20px;
  }
  .plan {
    padding: 34px 30px 30px;
  }
}

/* ---------- FAQ ---------- */
.faq__list {
  border-top: 1px solid var(--line);
}
.qa {
  border-bottom: 1px solid var(--line);
}
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 16px 0;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary:hover {
  color: var(--brand-ink);
}
.qa__ic {
  position: relative;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--surface-2);
  transition:
    transform 0.25s ease,
    background-color 0.25s ease;
}
.qa__ic::before,
.qa__ic::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--ink);
}
.qa__ic::after {
  transform: rotate(90deg);
}
.qa[open] .qa__ic {
  transform: rotate(45deg);
  background: var(--brand-soft);
}
.qa__a {
  display: grid;
  gap: 10px;
  padding: 0 0 20px;
  color: var(--ink-2);
  font-size: 15.5px;
}
.faq__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-top: 28px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  font-weight: 600;
}
.faq__more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
}
.faq__more .i {
  width: 16px;
  height: 16px;
}
@media (min-width: 1024px) {
  .faq {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
    gap: 0 64px;
    align-items: start;
  }
  .faq .sec__head {
    position: sticky;
    top: 110px;
  }
  .faq__more {
    grid-column: 2;
  }
}

/* ---------- Финальный призыв ---------- */
.final {
  padding: 0 0 88px;
}
.final__card {
  position: relative;
  overflow: hidden;
  padding: 44px 22px;
  border-radius: 32px;
  background: linear-gradient(150deg, #2a6fdb 0%, #1b4fb5 55%, #163f94 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 30px 60px -36px rgba(23, 63, 153, 0.6);
}
.final__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 240px at 15% 0%, rgba(56, 189, 248, 0.55), transparent 70%),
    radial-gradient(420px 280px at 90% 100%, rgba(122, 92, 255, 0.45), transparent 70%);
}
.final__card > *:not(.final__glow) {
  position: relative;
}
.final__card .h2 {
  max-width: 760px;
  margin-inline: auto;
  color: #fff;
}
.final__card p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
}
.final__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}
.final__cta .btn {
  width: 100%;
  max-width: 360px;
}
.final__ask {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: #fff;
  font-weight: 700;
  text-underline-offset: 4px;
}
.final :focus-visible {
  outline-color: #fff;
}
@media (min-width: 640px) {
  .final__card {
    padding: 72px 48px;
  }
  .final__cta {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }
  .final__cta .btn {
    width: auto;
  }
}

/* ---------- Подвал ---------- */
.ftr {
  padding: 48px 0 calc(32px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  font-size: 15px;
}
.ftr__top {
  display: grid;
  gap: 28px;
}
.ftr__brand p {
  max-width: 320px;
  margin-top: 8px;
  color: var(--muted);
}
.ftr__nav {
  display: grid;
  gap: 20px;
}
.ftr__h {
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ftr__nav a {
  display: flex;
  align-items: center;
  min-height: 40px;
  color: var(--muted);
  text-decoration: none;
}
.ftr__nav a:hover {
  color: var(--brand-ink);
  text-decoration: underline;
}
.ftr__legal {
  display: grid;
  gap: 6px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
}
@media (min-width: 720px) {
  .ftr__nav {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 48px;
  }
}
@media (min-width: 1024px) {
  .ftr__top {
    grid-template-columns: 1fr auto;
  }
}

/* ---------- Липкая кнопка на телефоне ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(245, 247, 251, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transform: translateY(110%);
  transition: transform 0.3s ease;
}
@media (prefers-color-scheme: dark) {
  .sticky-cta {
    background: rgba(9, 13, 20, 0.88);
  }
}
.sticky-cta.is-on {
  transform: none;
}
@media (min-width: 760px) {
  .sticky-cta {
    display: none;
  }
}

/* ---------- Юридические страницы ---------- */
.doc {
  padding: 32px 0 80px;
}
.doc__in {
  max-width: 780px;
}
.doc__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-bottom: 8px;
  color: var(--brand-ink);
  font-weight: 700;
  text-decoration: none;
}
.doc__back .i {
  width: 18px;
  height: 18px;
}
.doc h1 {
  font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem);
  letter-spacing: -0.03em;
}
.doc__meta {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}
.doc__toc {
  margin: 28px 0 8px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.doc__toc p {
  margin-bottom: 8px;
  font-weight: 800;
}
.doc__toc ol {
  display: grid;
  gap: 2px;
  padding-left: 22px;
  list-style: decimal;
  color: var(--muted);
}
.doc__toc li {
  padding: 4px 0;
  line-height: 1.4;
}
.doc__toc a {
  text-decoration: none;
}
.doc__toc a:hover {
  text-decoration: underline;
}
.doc h2 {
  margin: 40px 0 12px;
  font-size: 21px;
  letter-spacing: -0.02em;
  scroll-margin-top: 84px;
}
.doc p,
.doc li {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
}
.doc p + p {
  margin-top: 10px;
}
.doc .doc__list {
  display: grid;
  gap: 6px;
  margin: 10px 0;
  padding-left: 22px;
  list-style: disc;
}
.doc__req {
  margin-top: 12px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.doc__req p + p {
  margin-top: 4px;
}

/* ---------- Без анимаций по просьбе системы ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
