/* ============================================================
   Vuzly — лендинг. Светлая тема, Golos Text + Unbounded.
   ============================================================ */

:root {
  --bg: #fbfbfd;
  --bg-alt: #f3f4fa;
  --surface: #ffffff;
  --text: #14161f;
  --muted: #5d6375;
  --muted-2: #70768c;
  --border: #e8e9f2;
  --border-strong: #d9dbe8;

  --accent: #6366f1;
  --accent-2: #8b5cf6;
  --accent-soft: #eef0fe;
  --accent-text: #4f46e5;
  --grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);

  --word: #185abd;
  --word-soft: #e8f0fb;
  --excel: #107c41;
  --excel-soft: #e6f4ec;
  --ppt: #c43e1c;
  --ppt-soft: #fbece7;
  --tg: #2aabee;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(20, 22, 31, .05), 0 4px 16px rgba(20, 22, 31, .06);
  --shadow-md: 0 6px 24px rgba(76, 81, 143, .12), 0 2px 6px rgba(20, 22, 31, .05);
  --shadow-lg: 0 24px 64px rgba(76, 81, 143, .18), 0 6px 20px rgba(20, 22, 31, .07);

  --font-body: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Unbounded', 'Golos Text', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

::selection { background: #c9c9fb; color: #14161f; }

/* ------------------------------------------------------------
   Кнопки
   ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 1rem;
  padding: 14px 28px;
  border-radius: 14px;
  border: 0; cursor: pointer;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(99, 102, 241, .35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(99, 102, 241, .45);
}
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-text); transform: translateY(-2px); }
.btn--lg { padding: 17px 34px; font-size: 1.06rem; border-radius: 16px; }
.btn--sm { padding: 10px 20px; font-size: .92rem; border-radius: 12px; }
.btn svg { flex-shrink: 0; }

/* ------------------------------------------------------------
   Шапка
   ------------------------------------------------------------ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 251, 253, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(20, 22, 31, .05);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none !important;
}
.logo__mark { border-radius: 9px; box-shadow: 0 4px 12px rgba(99, 102, 241, .35); }
.logo__text {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.06rem;
  color: var(--text); letter-spacing: -.01em;
}
.logo__text em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.header__nav { display: flex; gap: 28px; }
.header__nav a {
  color: var(--muted); font-size: .95rem; font-weight: 500;
  text-decoration: none !important;
  transition: color .15s ease;
}
.header__nav a:hover { color: var(--text); }

/* ------------------------------------------------------------
   Хиро
   ------------------------------------------------------------ */
.hero {
  position: relative;
  padding: 28px 0 76px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.hero__blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55;
}
.hero__blob--1 { width: 560px; height: 560px; top: -220px; right: -120px; background: radial-gradient(circle, #dcd7fd 0%, transparent 70%); }
.hero__blob--2 { width: 480px; height: 480px; bottom: -260px; left: -160px; background: radial-gradient(circle, #d1e7fb 0%, transparent 70%); }
.hero__blob--3 { width: 320px; height: 320px; top: 30%; left: 38%; background: radial-gradient(circle, #fde8dd 0%, transparent 70%); opacity: .4; }

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: 100px;
  padding: 7px 16px 7px 10px;
  font-size: .86rem; font-weight: 500; color: var(--muted);
  margin-bottom: 14px;
}
.hero__eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .5);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .45); }
  70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.55rem, 2.95vw, 2.1rem);
  line-height: 1.14;
  letter-spacing: -.015em;
  margin-bottom: 14px;
}
.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__sub {
  color: var(--muted); font-size: 1.06rem; line-height: 1.5;
  max-width: 508px;
  margin-bottom: 20px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 18px; }
.hero__hint { color: var(--muted-2); font-size: .88rem; }
.hero__points { list-style: none; display: grid; gap: 8px; }
.hero__points li {
  display: flex; gap: 10px; align-items: flex-start;
  color: var(--muted); font-size: .97rem;
}
.hero__points svg { flex-shrink: 0; margin-top: 3px; }

/* Мокап чата */
.hero__visual { position: relative; }
.chat {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  padding: 20px 20px 22px;
  max-width: 420px;
  margin: 0 0 0 auto;
}
.chat__head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 14px; margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.chat__ava {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: .95rem;
  font-family: var(--font-display);
}
.chat__title { font-weight: 600; font-size: .98rem; line-height: 1.25; }
.chat__status { color: var(--tg); font-size: .82rem; }
.chat__feed {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  height: 372px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 56px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 56px);
}
.msg {
  max-width: 84%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: .92rem; line-height: 1.5;
  opacity: 0; transform: translateY(12px) scale(.97);
  transition: opacity .45s ease, transform .45s cubic-bezier(.2, .9, .3, 1.2);
}
.msg.is-shown { opacity: 1; transform: none; }
.msg--in { background: var(--bg-alt); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg--out {
  background: linear-gradient(135deg, #e0e7ff, #ede9fe);
  border-bottom-right-radius: 6px; align-self: flex-end;
}
.msg--file {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.msg--file .file-ico {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: var(--word-soft);
  display: flex; align-items: center; justify-content: center;
}
.msg--file b { display: block; font-size: .9rem; }
.msg--file small { color: var(--muted-2); font-size: .78rem; }
.msg .typing { display: inline-flex; gap: 4px; padding: 3px 2px; }
.msg .typing i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--muted-2);
  animation: typing 1.1s infinite;
}
.msg .typing i:nth-child(2) { animation-delay: .18s; }
.msg .typing i:nth-child(3) { animation-delay: .36s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Плавающие бейджи форматов — в полях по краям чата, не над перепиской */
.float-badge {
  position: absolute;
  display: flex; align-items: center; gap: 9px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 9px 14px;
  font-size: .84rem; font-weight: 600;
  box-shadow: var(--shadow-md);
  animation: floaty 5.5s ease-in-out infinite;
  z-index: 3;
}
.float-badge--word { top: 3%; left: -40px; animation-delay: 0s; }
.float-badge--excel { top: 40%; right: -128px; animation-delay: 1.4s; }
.float-badge--ppt { bottom: -96px; left: 16%; animation-delay: 2.8s; }
.float-badge small { display: block; font-weight: 400; color: var(--muted-2); font-size: .74rem; line-height: 1.2; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ------------------------------------------------------------
   Секции
   ------------------------------------------------------------ */
section { padding: 88px 0; }
.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent-text);
  background: var(--accent-soft);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.25;
  letter-spacing: -.01em;
  margin-bottom: 14px;
}
.section-sub { color: var(--muted); font-size: 1.05rem; }

/* ------------------------------------------------------------
   Форматы
   ------------------------------------------------------------ */
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.format {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  overflow: hidden;
}
.format::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--fmt-color, var(--accent));
  opacity: 0; transition: opacity .22s ease;
}
.format:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.format:hover::before { opacity: 1; }
.format--word { --fmt-color: var(--word); }
.format--excel { --fmt-color: var(--excel); }
.format--ppt { --fmt-color: var(--ppt); }
.format__icon { margin-bottom: 20px; }
.format__icon svg { filter: drop-shadow(0 6px 14px rgba(20, 22, 31, .14)); }
.format h3 {
  font-size: 1.14rem; font-weight: 600; letter-spacing: -.01em;
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.format p { color: var(--muted); font-size: .95rem; }
.format__list { list-style: none; margin-top: 16px; display: grid; gap: 8px; }
.format__list li {
  display: flex; align-items: center; gap: 9px;
  font-size: .92rem; color: var(--text);
}
.format__list li::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--fmt-color, var(--accent));
  flex-shrink: 0;
}
/* ------------------------------------------------------------
   Как работает
   ------------------------------------------------------------ */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__num {
  width: 42px; height: 42px; border-radius: 13px;
  background: var(--grad);
  color: #fff; font-weight: 700; font-size: 1.05rem;
  font-family: var(--font-display);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(99, 102, 241, .3);
}
.step h3 { font-size: 1.03rem; font-weight: 600; margin-bottom: 8px; letter-spacing: -.01em; }
.step p { color: var(--muted); font-size: .93rem; }
.step__arrow {
  position: absolute; top: 50%; right: -19px; transform: translateY(-50%);
  color: var(--muted-2); z-index: 2;
}

/* ------------------------------------------------------------
   Что внутри файла
   ------------------------------------------------------------ */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature__icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  margin-bottom: 18px;
}
.feature h3 { font-size: 1.03rem; font-weight: 600; margin-bottom: 8px; letter-spacing: -.01em; }
.feature p { color: var(--muted); font-size: .93rem; }

/* ------------------------------------------------------------
   Примеры страниц
   ------------------------------------------------------------ */
.showcase {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  align-items: start;
}
.shot { text-align: center; }
.shot__frame {
  position: relative;
  display: block; width: 100%;
  padding: 0; border: 1px solid var(--border);
  font: inherit; color: inherit;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #fff;
  cursor: zoom-in;
  transition: transform .25s ease, box-shadow .25s ease;
}
.shot__frame:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-lg); }
.shot__frame:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.shot__frame img { width: 100%; height: auto; }
.shot figcaption { margin-top: 12px; font-size: .88rem; color: var(--muted); font-weight: 500; }
.showcase-note {
  text-align: center; color: var(--muted-2); font-size: .88rem; margin-top: 28px;
}

/* Лайтбокс */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(16, 18, 28, .78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  opacity: 0; pointer-events: none;
  visibility: hidden;
  transition: opacity .25s ease, visibility 0s linear .25s;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; visibility: visible; transition: opacity .25s ease; }
.lightbox img {
  max-width: min(92vw, 760px); max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .5);
}
.lightbox__close {
  position: absolute; top: 20px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff; font-size: 22px; line-height: 1;
  cursor: pointer;
  transition: background-color .15s ease;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .22); }

/* ------------------------------------------------------------
   Цены
   ------------------------------------------------------------ */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.price {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.price:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.price--featured {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad) border-box;
  box-shadow: 0 16px 48px rgba(99, 102, 241, .22);
}
.price__flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 100px;
  box-shadow: 0 6px 16px rgba(99, 102, 241, .35);
  white-space: nowrap;
}
.price__name { font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.price__detail { color: var(--muted); font-size: .88rem; margin-top: 4px; min-height: 2.6em; }
.price__value {
  font-family: var(--font-display);
  font-size: 1.9rem; font-weight: 600; letter-spacing: -.02em;
  margin: 14px 0 18px;
}
.price__value small { font-size: 1.1rem; font-weight: 500; color: var(--muted); }
.price__list { list-style: none; display: grid; gap: 8px; margin-bottom: 6px; }
.price__list li {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: .89rem; color: var(--muted);
}
.price__list svg { flex-shrink: 0; margin-top: 3px; }

/* Прайс-лист (типы работ + форматы) */
.pricelist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.pl-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 24px 22px;
  box-shadow: var(--shadow-sm);
}
.pl-card--featured {
  border: 2px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
  box-shadow: 0 16px 48px rgba(99, 102, 241, .18);
}
.pl-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 100px;
  box-shadow: 0 6px 16px rgba(99, 102, 241, .35); white-space: nowrap;
}
.pl-card__cap { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; margin-bottom: 15px; }
.pl-card__list { list-style: none; display: grid; gap: 13px; }
.pl-card__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.pl-name { color: var(--text); font-size: .98rem; }
.pl-name small { display: block; color: var(--muted-2); font-size: .78rem; margin-top: 2px; }
.pl-val { font-family: var(--font-display); font-weight: 600; font-size: 1.04rem; white-space: nowrap; font-variant-numeric: tabular-nums; }

.prices-note {
  text-align: center; color: var(--muted); font-size: .93rem; margin-top: 26px;
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
}
.prices-cta { text-align: center; margin-top: 34px; }

/* ------------------------------------------------------------
   FAQ
   ------------------------------------------------------------ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary {
  cursor: pointer;
  padding: 19px 56px 19px 24px;
  font-weight: 600; font-size: 1rem;
  list-style: none; position: relative;
  -webkit-user-select: none;
  user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute; right: 22px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .faq__body { padding: 0 24px 20px; color: var(--muted); font-size: .95rem; }
.faq .faq__body a { font-weight: 500; }

/* ------------------------------------------------------------
   Финальный CTA
   ------------------------------------------------------------ */
.cta-final { padding: 40px 0 96px; }
.cta-final__box {
  position: relative;
  background: linear-gradient(135deg, #575cf0 0%, #7c4ff2 55%, #9333ea 100%);
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(99, 102, 241, .35);
}
.cta-final__box::before,
.cta-final__box::after {
  content: "";
  position: absolute; border-radius: 50%;
  background: rgba(255, 255, 255, .1);
}
.cta-final__box::before { width: 300px; height: 300px; top: -140px; right: -80px; }
.cta-final__box::after { width: 220px; height: 220px; bottom: -110px; left: -60px; }
.cta-final h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -.01em;
  margin-bottom: 14px;
  position: relative; z-index: 1;
}
.cta-final p {
  color: rgba(255, 255, 255, .85);
  max-width: 520px; margin: 0 auto 30px;
  position: relative; z-index: 1;
}
.cta-final .btn {
  background: #fff; color: var(--accent-text);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  position: relative; z-index: 1;
}
.cta-final .btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0, 0, 0, .25); }
.cta-final__hint { font-size: .85rem; color: rgba(255, 255, 255, .9) !important; margin-top: 16px !important; margin-bottom: 0 !important; }

/* ------------------------------------------------------------
   Футер
   ------------------------------------------------------------ */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 44px 0 52px;
  color: var(--muted);
  font-size: .89rem;
}
.footer__disclaimer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 26px;
  line-height: 1.6;
  color: var(--muted);
}
.footer__row {
  display: flex; flex-wrap: wrap; gap: 14px 32px;
  align-items: center; justify-content: space-between;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a, .footer__meta a { color: var(--muted); text-decoration: none; }
.footer__links a:hover, .footer__meta a:hover { color: var(--accent-text); text-decoration: underline; }
.footer__meta { color: var(--muted-2); }
.footer__req { margin-top: 14px; font-size: .82rem; color: var(--muted-2); }

/* ------------------------------------------------------------
   Юридические страницы
   ------------------------------------------------------------ */
.legal { max-width: 800px; padding-top: 48px; padding-bottom: 88px; }
.legal h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -.01em;
  line-height: 1.25;
  margin-bottom: 10px;
}
.legal__updated { color: var(--muted-2); font-size: .9rem; margin-bottom: 36px; }
.legal h2 {
  font-size: 1.22rem; font-weight: 600; letter-spacing: -.01em;
  margin: 38px 0 14px;
}
.legal h3 { font-size: 1.04rem; font-weight: 600; margin: 26px 0 10px; }
.legal p { margin-bottom: 12px; color: #363b4d; }
.legal ul, .legal ol { margin: 0 0 14px 22px; color: #363b4d; }
.legal li { margin-bottom: 7px; }
.table-scroll { overflow-x: auto; margin: 18px 0; }
.legal__table {
  width: 100%; min-width: 480px; border-collapse: collapse;
  font-size: .95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.table-scroll .legal__table { margin: 0; }
.legal > .legal__table { margin: 18px 0; }
.legal__table th, .legal__table td {
  text-align: left; padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.legal__table tr:last-child th, .legal__table tr:last-child td { border-bottom: 0; }
.legal__table th { background: var(--bg-alt); font-weight: 600; white-space: nowrap; }

/* ------------------------------------------------------------
   Scroll reveal (только при работающем JS: html.js ставит main.js)
   ------------------------------------------------------------ */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .3, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .msg { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------
   Адаптив
   ------------------------------------------------------------ */
@media (max-width: 900px) {
  .header__nav { display: none; }
}

/* Хиро — в одну колонку, пока справа от прижатого чата не хватает места
   для бейджа Excel (нужен запас ≥~1361px). Ниже — чат по центру без бейджей. */
@media (max-width: 1360px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .chat { margin: 0 auto; }
  /* бейджи — десктопный акцент вокруг чата; в одну колонку чат по центру без них */
  .float-badge { display: none; }
}

@media (max-width: 1024px) {
  .formats, .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step__arrow { display: none; }
  .prices { grid-template-columns: repeat(2, 1fr); }
  .pricelist { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: repeat(3, 1fr); }
  .shot:nth-child(n+4) { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }
  .hero { padding: 40px 0 64px; }
  .hero__sub { font-size: 1.04rem; }
  .hero__cta .btn--lg { width: 100%; }
  .btn--lg { padding: 16px 20px; font-size: 1rem; }
  .cta-final .btn--lg { white-space: normal; }
  .formats, .features, .steps, .prices { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .shot:nth-child(n+4) { display: block; }
  .shot:nth-child(n+5) { display: none; }
  .price__detail { min-height: 0; }
  .cta-final__box { padding: 44px 24px; }
  .footer__row { flex-direction: column; align-items: flex-start; }
  .chat { max-width: 100%; }
  .chat__feed { height: 340px; }
}
