/* ---- Лендинг для отделов продаж: собственная палитра, не зависит от tokens.css ---- */
@font-face {
  font-family: 'Google Sans';
  src: url('/assets/fonts/GoogleSans.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #262629;
  --muted: #636367;
  --orange: #ff5e41;
  --orange-hover: #f24b2d;
  --pink: #ffd4cc;
  --pink-soft: #ffeae6;
  --pink-ghost: #ff9e8b;
  --lime: #cddf00;
  --lime-soft: #f1f7ac;
  --lime-ghost: #e5ed90;
  --grey: #f4f4f4;
  --dark: #0a090b;
  --dark-card: #242328;
  --line: #e7e7e7;
  --field-line: #f0eff1;
  --chip-line: #dfddd9;
  --chip-text: #5c5761;

  --f-head: 'Roboto Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-app: 'Google Sans', var(--f-body);

  --wrap: 1000px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --shadow-soft:
    0 7px 15px rgba(0, 0, 0, .04),
    0 28px 28px rgba(0, 0, 0, .03),
    0 63px 38px rgba(0, 0, 0, .02),
    0 113px 45px rgba(0, 0, 0, .01);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.sc {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  letter-spacing: -0.03em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:where(.sc) :where(p, h1, h2, h3, ul) { margin: 0; padding: 0; }
:where(.sc) ul { list-style: none; }
:where(.sc) img { display: block; max-width: 100%; }
:where(.sc) a { color: inherit; text-decoration: none; }
:where(.sc) button { font: inherit; color: inherit; letter-spacing: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
.sc :focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

[id] { scroll-margin-top: 112px; }

/* ---- Типографика ---- */
.sc-nowrap { white-space: nowrap; }
.sc-h2 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 58px;
  line-height: .866;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.sc-h2--light { color: #fff; }
.sc-h3 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 40px;
  line-height: 36px;
  letter-spacing: -0.03em;
}

/* ---- Кнопки ---- */
.sc-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  font-weight: 600;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: -0.03em;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .2s ease;
}
.sc-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .6s var(--ease-out);
}
.sc-btn:hover::after { transform: translateX(120%); }
.sc-btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }

.sc-btn--accent {
  padding: 16px 24px;
  border-radius: 31px;
  background: var(--orange);
  color: #fff;
}
.sc-btn--accent:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px rgba(255, 94, 65, .55);
}

.sc-btn--dark {
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
}
.sc-btn--dark:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .45);
}
.sc-btn__arrow { display: inline-block; transition: transform .25s var(--ease-out); }
.sc-btn:hover .sc-btn__arrow { transform: translateX(4px); }

/* ---- Стикеры-плашки: выпадают сверху при появлении ---- */
.sc-sticker {
  position: absolute;
  z-index: 2;
  display: inline-block;
  padding: 12px;
  border-radius: 12px;
  background: var(--lime);
  box-shadow: inset 0 -1px 0 #000;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 24px;
  line-height: .866;
  letter-spacing: -0.03em;
  color: var(--ink);
  white-space: nowrap;
  transform: rotate(var(--rot, 0deg));
}
.sc-js .sc-sticker[data-reveal] {
  opacity: 0;
  transform: translateY(-56px) rotate(calc(var(--rot, 0deg) * -2.5));
}
.sc-js .sc-sticker[data-reveal].is-in {
  opacity: 1;
  transform: rotate(var(--rot, 0deg));
  transition: opacity .45s ease, transform .9s var(--ease-spring);
}

/* ---- Хедер ---- */
.sc-header {
  position: fixed;
  top: 36px;
  left: 50%;
  z-index: 50;
  transform: translateX(-50%);
  transition: top .35s var(--ease-out);
}
.sc-header.is-scrolled { top: 16px; }
.sc-header__bar {
  display: flex;
  align-items: center;
  gap: 48px;
  height: 56px;
  padding: 4px 4px 4px 24px;
  border: 1px solid var(--line);
  border-radius: 86px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .35s var(--ease-out), border-color .35s ease;
}
.sc-header.is-scrolled .sc-header__bar {
  border-color: rgba(0, 0, 0, .06);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .18);
}
.sc-logo { display: flex; color: var(--ink); transition: transform .25s var(--ease-out); }
.sc-logo:hover { transform: scale(1.04); }
.sc-nav { display: flex; gap: 20px; }
.sc-nav__link {
  position: relative;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color .2s ease;
}
.sc-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease-out);
}
.sc-nav__link:hover { color: var(--orange); }
.sc-nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.sc-header__cta { height: 48px; }

/* ---- Глаза логотипа ---- */
.sc-eye { transition: transform .08s linear; }

/* ---- Хиро ---- */
.sc-hero {
  position: relative;
  display: flow-root;
  padding-top: 184px;
  background: var(--grey);
}
.sc-hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 72px;
  line-height: .866;
  letter-spacing: -0.03em;
}
.sc-hero__row { display: flex; gap: 6px; }
.sc-tile {
  display: inline-flex;
  align-items: center;
  padding: 24px;
  border-radius: 16px;
  white-space: nowrap;
  transition: transform .35s var(--ease-out);
}
.sc-tile:hover { transform: translateY(-3px) rotate(-1deg); }
.sc-tile--pink { background: var(--pink); color: var(--ink); }
.sc-tile--orange { background: var(--orange); color: #fff; }
.sc-tile--lime { background: var(--lime); color: var(--ink); }
.sc-tile--dark { background: var(--ink); color: #fff; }
.sc-tile--icon { width: 110px; height: 110px; justify-content: center; }
.sc-tile--icon .sc-mark { width: 62px; height: 62px; }

.sc-hero__lead {
  width: 584px;
  margin: 24px auto 0;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  color: var(--muted);
}

/* ---- «Какой сценарий хотите потренировать?» ---- */
.sc-try {
  position: relative;
  z-index: 1;
  width: 800px;
  margin: 120px auto -190px;
}
.sc-try__head { display: flex; flex-direction: column; gap: 16px; text-align: center; }
.sc-try__title {
  position: relative;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 48px;
  line-height: .866;
  letter-spacing: -0.03em;
}
.sc-sticker--try { --rot: 10deg; left: calc(50% + 156px); top: -18px; }
.sc-try__lead {
  font-size: 20px;
  line-height: 28px;
  color: var(--muted);
}
.sc-try__box { position: relative; margin-top: 48px; }
.sc-try__field {
  position: relative;
  height: 259px;
  border: 2px solid var(--field-line);
  border-radius: 32px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .3s ease;
}
.sc-try__field:hover { border-color: #e4e2e6; }
.sc-try__field:focus-within { border-color: #d9d6db; box-shadow: 0 12px 32px -18px rgba(0, 0, 0, .25); }
.sc-try__input {
  display: block;
  width: 100%;
  height: 100%;
  padding: 26px 26px 24px;
  border: 0;
  border-radius: 30px;
  background: transparent;
  resize: none;
  font: inherit;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.03em;
  color: var(--ink);
  outline: none;
}
.sc-try__ghost {
  position: absolute;
  top: 26px;
  left: 26px;
  right: 26px;
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
  pointer-events: none;
}
.sc-try__field.has-value .sc-try__ghost { visibility: hidden; }
.sc-try__ghost.is-typing .sc-try__ghost-text::after {
  content: '';
  display: inline-block;
  width: 1.5px;
  height: 18px;
  margin-left: 2px;
  vertical-align: -3px;
  background: var(--muted);
  animation: sc-caret 1s steps(1) infinite;
}
.sc-try__field:focus-within .sc-try__ghost-text::after { display: none; }
@keyframes sc-caret { 50% { opacity: 0; } }

.sc-try__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 700px;
  height: 64px;
  margin: 0 auto;
  padding: 0 12px;
  border-radius: 0 0 24px 24px;
  background: var(--field-line);
}
.sc-try__chips { display: flex; gap: 8px; }
.sc-chip {
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 -1px 0 var(--chip-line);
  font-weight: 600;
  font-size: 14px;
  line-height: 16px;
  color: var(--chip-text);
  transition: transform .2s var(--ease-out), box-shadow .2s ease, color .2s ease, background-color .2s ease;
}
.sc-chip:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: inset 0 -1px 0 var(--chip-line), 0 6px 14px -6px rgba(0, 0, 0, .2);
}
.sc-chip:active { transform: translateY(0) scale(.97); }
.sc-chip.is-active { background: var(--ink); color: #fff; box-shadow: inset 0 -1px 0 #000; }

.sc-try__field.is-empty { border-color: var(--pink-ghost); animation: sc-nudge .4s var(--ease-out); }
@keyframes sc-nudge {
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* ---- Модалка перед звонком ---- */
.sc-modal {
  width: min(440px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 32px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  overflow: auto;
}
.sc-modal::backdrop { background: rgba(10, 9, 11, .55); backdrop-filter: blur(4px); }
.sc-modal[open] { animation: sc-modal-in .35s var(--ease-out); }
.sc-modal[open]::backdrop { animation: sc-fade-in .25s ease; }
@keyframes sc-modal-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes sc-fade-in { from { opacity: 0; } }
html:has(.sc-modal[open]) { overflow: hidden; }

.sc-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grey);
  color: var(--muted);
  transition: color .2s ease, background-color .2s ease;
}
.sc-modal__close:hover { background: var(--field-line); color: var(--ink); }

.sc-modal__body { display: flex; flex-direction: column; gap: 24px; padding: 40px 32px 32px; }
.sc-modal__body[hidden] { display: none; }
.sc-modal__head { display: flex; flex-direction: column; gap: 12px; padding-right: 32px; }
.sc-modal__lead { font-size: 16px; line-height: 22px; color: var(--muted); }
.sc-modal__fields { display: flex; flex-direction: column; gap: 8px; }
.sc-modal__error { margin-top: -12px; font-size: 14px; line-height: 20px; color: var(--orange-hover); }
.sc-modal__cta { width: 100%; }
.sc-modal__cta:disabled { opacity: .6; pointer-events: none; }
.sc-modal__note { margin-top: -12px; font-size: 12px; line-height: 16px; color: var(--muted); }
.sc-modal__note a { text-decoration: underline; text-underline-offset: 2px; }
.sc-modal__note a:hover { color: var(--orange); }

.sc-input {
  display: block;
  width: 100%;
  height: 56px;
  padding: 0 20px;
  border: 2px solid var(--field-line);
  border-radius: 16px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  letter-spacing: -0.03em;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .3s ease;
}
.sc-input::placeholder { color: var(--muted); }
.sc-input:hover { border-color: #e4e2e6; }
.sc-input:focus { border-color: #d9d6db; box-shadow: 0 12px 32px -18px rgba(0, 0, 0, .25); }
.sc-input[aria-invalid="true"] { border-color: var(--pink-ghost); }

/* ---- Проблема ---- */
.sc-problem { padding-top: 339px; }
.sc-problem__title { width: 806px; margin: 0 auto; text-align: center; }
.sc-problem__body {
  display: flex;
  align-items: center;
  gap: 76px;
  width: 912px;
  margin: 37px auto 0;
}
.sc-pains { display: flex; flex-direction: column; gap: 8px; width: 351px; flex: none; }
.sc-pain__btn {
  display: block;
  width: 100%;
  padding: 24px;
  border-radius: 16px;
  text-align: left;
  transition: background-color .4s ease;
}
.sc-pain__btn:hover { background: #faf7f6; }
.sc-pain.is-active .sc-pain__btn { background: var(--pink-soft); }
.sc-pain__title {
  display: block;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 24px;
  line-height: 24px;
  color: var(--muted);
  transition: color .3s ease;
}
.sc-pain__btn:hover .sc-pain__title,
.sc-pain.is-active .sc-pain__title { color: var(--ink); }
.sc-pain__more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease-out);
}
.sc-pain.is-active .sc-pain__more { grid-template-rows: 1fr; }
.sc-pain__inner { overflow: hidden; min-height: 0; }
.sc-pain__text {
  display: block;
  padding-top: 12px;
  font-size: 14px;
  line-height: 20px;
  color: var(--ink);
  opacity: 0;
  transition: opacity .3s ease;
}
.sc-pain.is-active .sc-pain__text { opacity: 1; transition-delay: .15s; }
.sc-pain__bar {
  display: block;
  height: 4px;
  margin-top: 17px;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
}
.sc-problem__art { width: 456px; height: 456px; flex: none; }
.sc-problem__art img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: opacity .3s ease; }

/* ---- Решение ---- */
.sc-solution { width: var(--wrap); margin: 0 auto; padding-top: 150px; }
.sc-solution__head { position: relative; width: 912px; margin: 0 auto 70px; }
.sc-sticker--solution { --rot: -6deg; left: -34px; top: -62px; }
.sc-highlight {
  display: inline-block;
  padding: 5px 12px 4px;
  margin: -5px 2px -4px;
  border-radius: 12px;
  background: var(--orange);
  box-shadow: inset 0 -1px 0 #000;
  color: #fff;
}

.sc-feature {
  display: flex;
  gap: 32px;
  height: 560px;
  padding: 20px 20px 20px 40px;
  border-radius: 36px;
}
.sc-feature + .sc-feature { margin-top: 32px; }
.sc-feature--pink { background: var(--pink); }
.sc-feature--lime { background: var(--lime-soft); }
.sc-feature__text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 485px;
  flex: none;
  padding: 20px 0;
}
.sc-feature__top { display: flex; flex-direction: column; gap: 16px; }
.sc-feature__lead { width: 480px; font-size: 14px; line-height: 20px; }

.sc-tags { position: relative; display: flex; height: 28px; }
.sc-tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 8px 12px;
  border-radius: 28px;
  font-weight: 600;
  font-size: 12px;
  line-height: 12px;
  white-space: nowrap;
}
.sc-tags--before .sc-tag--on { position: relative; z-index: 1; background: var(--orange); color: #f5f5f5; box-shadow: 0 0 0 1px var(--pink); }
.sc-tags--before .sc-tag--ghost { margin-left: -64px; padding-left: 8px; padding-right: 8px; background: var(--pink-ghost); color: var(--pink-ghost); }
.sc-tags--after .sc-tag--ghost { padding-left: 8px; padding-right: 8px; background: var(--lime-ghost); color: var(--lime-ghost); }
.sc-tags--after .sc-tag--on { position: relative; margin-left: -64px; background: var(--lime); color: var(--ink); box-shadow: 0 0 0 1px var(--lime-soft); }

.sc-stat { display: flex; flex-direction: column; gap: 8px; width: 330px; }
.sc-stat__num {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 58px;
  line-height: .866;
  letter-spacing: -0.03em;
}
.sc-stat__src { font-size: 14px; line-height: 20px; }
.sc-stat__src i { display: block; }

.sc-feature__panel {
  position: relative;
  flex: 1;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  font-family: var(--f-app);
  letter-spacing: -0.02em;
}

/* Сцена мокапа: на мобилке масштабируется целиком под ширину панели */
.sc-mock-stage { position: absolute; left: 0; top: 0; width: 423px; height: 520px; }

/* Мокап 1: звонок + карточки сценариев */
.sc-mock-call {
  position: absolute;
  left: 38px;
  top: 49px;
  width: 203px;
  height: 283px;
  border-radius: 31px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.sc-mock-call__ava {
  position: absolute;
  left: 30px;
  top: 38px;
  width: 143px;
  height: 143px;
  padding: 6.5px;
  border-radius: 50%;
}
.sc-mock-call__ava::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px dotted #000;
  border-radius: 50%;
  animation: sc-spin 24s linear infinite;
}
.sc-mock-call__ava img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  background: #d9d9d9;
}
@keyframes sc-spin { to { transform: rotate(360deg); } }
.sc-mock-call__controls { position: absolute; left: 38px; top: 204px; display: flex; gap: 2px; }
.sc-mock-call__pill {
  display: flex;
  align-items: center;
  width: 84px;
  height: 42px;
  padding-left: 20px;
  border-radius: 45px;
  background: #373744;
}
.sc-mock-call__dots { display: flex; gap: 1.3px; flex: 1; }
.sc-mock-call__dots i {
  width: 1.3px;
  height: 1.3px;
  border-radius: 2px;
  background: #fff;
  animation: sc-voice 1.2s ease-in-out infinite;
}
.sc-mock-call__dots i:nth-child(2) { animation-delay: .15s; }
.sc-mock-call__dots i:nth-child(3) { animation-delay: .3s; }
.sc-mock-call__dots i:nth-child(4) { animation-delay: .45s; }
@keyframes sc-voice { 50% { height: 7px; } }
.sc-mock-call__mic,
.sc-mock-call__end {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 21px;
  flex: none;
}
.sc-mock-call__mic { background: #5e5e72; }
.sc-mock-call__end { background: #ff3d3d; }
.sc-mock-call__mic img,
.sc-mock-call__end img { width: 18px; height: 18px; }

.sc-mock-scenarios {
  position: absolute;
  left: 212px;
  top: 192px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 354px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .05)) drop-shadow(0 43px 43px rgba(0, 0, 0, .03));
}
.sc-mock-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18.5px;
  border-radius: 18.5px;
  background: #fff;
}
.sc-mock-card__title { font-weight: 500; font-size: 15.4px; line-height: 18.5px; color: #191919; }
.sc-mock-card__text { margin-top: -6px; width: 280px; font-size: 10.8px; line-height: 15.4px; color: #666; }
.sc-mock-card__foot { display: flex; align-items: center; gap: 3px; }
.sc-mock-pill {
  display: inline-flex;
  align-items: center;
  height: 16px;
  padding: 0 6px;
  border-radius: 15px;
  background: #e3e3e3;
  font-size: 9.2px;
  line-height: 16px;
  color: #050505;
  white-space: nowrap;
}
.sc-mock-pill--dark { background: #000; color: #fff; }
.sc-mock-btn {
  margin-left: auto;
  padding: 6px 15px;
  border-radius: 9px;
  background: #f3f3f3;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 10.8px;
  line-height: 18.5px;
  letter-spacing: -0.03em;
  color: #000;
}
.sc-mock-btn--yellow { background: #ffe266; color: #050505; }

/* Мокап 2: ошибки разбора + записи звонков */
.sc-mock-issues {
  position: absolute;
  left: 49px;
  top: 40px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 271px;
  height: 283px;
  padding: 33px 29px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.sc-mock-issue { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.sc-mock-issue__title { width: 198px; font-weight: 500; font-size: 14.8px; line-height: 16.5px; color: #010101; }
.sc-mock-crit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 20px;
  padding: 0 10px;
  border-radius: 24px;
  background: #ffeedb;
  font-weight: 500;
  font-size: 9.9px;
  letter-spacing: -0.01em;
  color: #ff5016;
}
.sc-mock-crit::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.sc-mock-crit--high { background: #ffe5e5; color: #f50b0b; }
.sc-mock-calls {
  position: absolute;
  left: 234px;
  top: 215px;
  display: grid;
  grid-template-columns: 194px 194px;
  gap: 7px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .05)) drop-shadow(0 43px 43px rgba(0, 0, 0, .03));
}
.sc-mock-rec {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 127px;
  padding: 13.7px;
  border-radius: 13.7px;
  background: #fff;
}
.sc-mock-rec__title { font-weight: 500; font-size: 13.7px; line-height: 17px; color: #050505; }
.sc-mock-rec__date { margin-top: 3.4px; font-size: 12px; line-height: 17px; color: #848484; }
.sc-mock-rec .sc-mock-pill { margin-top: auto; height: 18px; line-height: 18px; font-size: 10.3px; }

/* ---- Тёмный блок ---- */
.sc-dark { margin-top: 140px; padding-bottom: 195px; background: var(--dark); color: #fff; }

.sc-skills { position: relative; }
.sc-skills__sticky {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 64px;
  padding: 140px 0 0;
  overflow: hidden;
}
.sc-js .sc-skills.is-pinned .sc-skills__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 96px 0 24px;
}
.sc-skills__head { position: relative; width: var(--wrap); margin: 0 auto; }
.sc-sticker--skills { --rot: 3deg; left: 395px; top: -46px; }
.sc-skills__viewport { width: 100%; }
.sc-skills.is-native .sc-skills__viewport { overflow-x: auto; scrollbar-width: none; }
.sc-skills__track {
  --card-h: 500px;
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 0 calc((100vw - var(--wrap)) / 2);
  will-change: transform;
}
.sc-skill {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: calc(var(--card-h) * .8);
  height: var(--card-h);
  padding: 32px;
  border-radius: 32px;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.sc-skill::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--img) center / cover no-repeat;
  transition: transform .8s var(--ease-out);
}
.sc-skill::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #000 14%, rgba(0, 0, 0, 0) 50%, #000 87%);
  opacity: .7;
}
.sc-skill:hover::before { transform: scale(1.05); }
.sc-skill__title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 28px;
  line-height: 30px;
  letter-spacing: -0.03em;
  color: #fff;
}
.sc-skill__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 300px;
  margin: 0 auto;
}
.sc-glass {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-weight: 600;
  font-size: 14px;
  line-height: 16px;
  color: #fff;
  white-space: nowrap;
}
.sc-glass--orange { background: var(--orange); }
.sc-glass--pink { background: var(--pink); color: #1a1a1e; }

.sc-teams { width: var(--wrap); margin: 140px auto 0; }
.sc-teams__stage { position: relative; margin-top: 52px; }
.sc-teams__frame {
  padding: 20px;
  border: 1px solid #424242;
  border-radius: 36px;
}
.sc-teams__shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 958 / 641;
  border-radius: 16px;
  object-fit: contain;
  background: #f1f1f1;
}
.sc-note {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 241px;
  padding: 24px;
  border-radius: 16px;
  background: var(--ink);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .6);
  transform: rotate(var(--rot)) translateY(var(--float, 0px));
  transition: transform .5s var(--ease-out);
}
.sc-note:hover { transform: rotate(0deg) translateY(-4px) scale(1.03); }
.sc-note__title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 24px;
  line-height: 24px;
  letter-spacing: -0.03em;
}
.sc-note__text { font-size: 14px; line-height: 20px; }
.sc-note--law { --rot: 4deg; left: 704px; top: -30px; }
.sc-note--crm { --rot: -4deg; left: -68px; top: 372px; }
.sc-note--sla { --rot: 6deg; left: 660px; top: 522px; }

/* ---- FAQ ---- */
/* Слева заголовок и вопросы, справа чат — прибит к низу, вровень с последним вопросом */
.sc-faq {
  display: grid;
  grid-template-columns: 500px 455px;
  grid-template-areas: "title ." "list chat";
  justify-content: space-between;
  row-gap: 40px;
  width: 1030px;
  margin: 0 auto;
  padding-top: 140px;
}
.sc-faq__left { display: contents; }
.sc-faq__left > .sc-h2 { grid-area: title; }
.sc-faq__left > .sc-chat { grid-area: chat; align-self: end; }
.sc-faq__list { grid-area: list; }
.sc-chat { display: flex; align-items: flex-end; gap: 8px; }
.sc-chat__ava { width: 48px; height: 48px; flex: none; }
.sc-chat__ava .sc-mark { width: 48px; height: 48px; }
.sc-chat__msgs { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.sc-bubble {
  max-width: 399px;
  padding: 16px;
  border-radius: 16px 16px 16px 0;
  background: var(--ink);
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  transform-origin: bottom left;
}
.sc-bubble.is-leaving {
  opacity: 0;
  transform: translateY(6px) scale(.96);
  filter: blur(2px);
  transition: opacity .25s ease, transform .25s ease, filter .25s ease;
}
.sc-bubble.is-entering { opacity: 0; transform: translateY(10px) scale(.94); }
.sc-bubble.is-entered { opacity: 1; transform: none; transition: opacity .35s ease, transform .45s var(--ease-spring); }
.sc-bubble--typing { display: flex; gap: 5px; padding: 20px 18px; }
.sc-bubble--typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .7);
  animation: sc-typing 1s ease-in-out infinite;
}
.sc-bubble--typing i:nth-child(2) { animation-delay: .15s; }
.sc-bubble--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes sc-typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

.sc-faq__list { display: flex; flex-direction: column; gap: 8px; }
.sc-q {
  display: block;
  width: 100%;
  padding: 24px 56px 24px 24px;
  position: relative;
  border-radius: 16px;
  background: #fff;
  text-align: left;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 24px;
  line-height: 24px;
  letter-spacing: -0.03em;
  color: var(--ink);
  transition: transform .3s var(--ease-out), background-color .25s ease, box-shadow .3s ease;
}
.sc-q::after {
  content: '→';
  position: absolute;
  right: 24px;
  top: 50%;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 20px;
  opacity: 0;
  transform: translate(-8px, -50%);
  transition: opacity .25s ease, transform .3s var(--ease-out);
}
.sc-q:hover { transform: translateX(-4px); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .25); }
.sc-q:hover::after { opacity: 1; transform: translate(0, -50%); }
.sc-q[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sc-q[aria-pressed="true"]::after { content: '→'; opacity: 1; transform: translate(0, -50%); }

/* ---- CTA ---- */
.sc-cta { width: var(--wrap); margin: 0 auto; padding: 140px 0; }
.sc-cta__card {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  height: 356px;
  padding: 0 40px;
  border-radius: 36px;
  background: var(--dark-card);
  overflow: hidden;
}
.sc-cta__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
  width: 480px;
  padding: 40px 0;
}
.sc-cta__top { display: flex; flex-direction: column; gap: 16px; }
.sc-cta__title { color: #fff; }
.sc-cta__lead { font-size: 20px; line-height: 28px; color: #fff; }
.sc-cta .sc-btn--accent { padding: 16px 24px; }
.sc-cta__art { width: 392px; height: 356px; object-fit: contain; object-position: bottom; }

/* ---- Футер ---- */
.sc-footer { background: var(--grey); }
.sc-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 142px;
  padding: 0 calc((100% - 1030px) / 2);
  border-radius: 48px 48px 0 0;
  background: #fff;
  font-size: 16px;
  line-height: 28px;
}
.sc-footer__copy { color: #000; }
.sc-footer__meta { display: flex; gap: 16px; color: var(--muted); }
.sc-footer__link { transition: color .2s ease; }
.sc-footer__link:hover { color: var(--orange); }

/* ---- Серый фон под FAQ и CTA ---- */
.sc-grey { background: var(--grey); }

@media (prefers-reduced-motion: reduce) {
  .sc-mock-call__ava::before,
  .sc-mock-call__dots i,
  .sc-bubble--typing i { animation: none; }
  .sc-js .sc-sticker[data-reveal] { opacity: 1; transform: rotate(var(--rot, 0deg)); }
  .sc-modal[open], .sc-modal[open]::backdrop, .sc-try__field.is-empty { animation: none; }
}

/* ---- Клоны ленты навыков нужны только для бегущей строки на мобилке ---- */
.sc-skill--clone { display: none; }
.sc-q__reply { display: none; }

@media (min-width: 1024px) {
  body.sc { min-width: 1024px; }
}

/* ==================== Мобильная и планшетная вёрстка ==================== */
@media (max-width: 1023px) {
  :root { --gutter: 16px; --wrap-m: min(640px, calc(100% - var(--gutter) * 2)); }
  [id] { scroll-margin-top: 80px; }

  .sc-h2 { font-size: clamp(30px, 8vw, 44px); }
  .sc-h3 { font-size: 28px; line-height: 28px; }

  .sc-sticker { padding: 8px 10px; border-radius: 9px; font-size: 18px; }

  /* Хедер: лого + кнопка, без якорей */
  .sc-header { top: 12px; width: min(640px, calc(100% - 24px)); }
  .sc-header.is-scrolled { top: 8px; }
  .sc-header__bar { justify-content: space-between; gap: 12px; height: 52px; padding: 4px 4px 4px 16px; }
  .sc-nav { display: none; }
  .sc-header__cta { height: 44px; padding: 12px 18px; }

  /* Хиро */
  .sc-hero { padding-top: 104px; }
  .sc-hero__title {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    width: var(--wrap-m);
    margin: 0 auto;
    font-size: clamp(28px, 8vw, 44px);
  }
  .sc-hero__row { display: contents; }
  .sc-tile { padding: 12px; border-radius: 10px; }
  .sc-tile--icon { width: auto; height: auto; aspect-ratio: 1; }
  .sc-tile--icon .sc-mark { width: .9em; height: .9em; }
  .sc-hero__lead { width: var(--wrap-m); margin-top: 16px; font-size: 16px; line-height: 22px; }

  /* Сценарий */
  .sc-try { width: var(--wrap-m); margin: 64px auto -150px; }
  .sc-try__head { gap: 12px; }
  .sc-try__title { font-size: clamp(30px, 8vw, 40px); }
  .sc-sticker--try { left: calc(50% + 40px); top: -34px; }
  .sc-try__lead { font-size: 16px; line-height: 22px; }
  .sc-try__lead br { display: none; }
  .sc-try__box { margin-top: 28px; }
  .sc-try__field { height: 180px; border-radius: 24px; }
  .sc-try__input { padding: 18px 18px 16px; border-radius: 22px; font-size: 15px; line-height: 22px; }
  .sc-try__ghost { top: 18px; left: 18px; right: 18px; font-size: 15px; line-height: 22px; }
  .sc-try__bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: calc(100% - 24px);
    height: auto;
    padding: 12px;
    border-radius: 0 0 20px 20px;
  }
  .sc-try__chips { flex-wrap: wrap; justify-content: center; gap: 6px; }
  .sc-chip { padding: 10px 12px; font-size: 13px; }
  .sc-try__start { padding: 14px 16px; }

  .sc-modal { border-radius: 24px; }
  .sc-modal__body { gap: 20px; padding: 32px 20px 20px; }
  .sc-modal__close { top: 12px; right: 12px; }

  /* Проблема: картинка сверху, текст снизу */
  .sc-problem { padding-top: 230px; }
  .sc-problem__title { width: var(--wrap-m); }
  .sc-problem__body { flex-direction: column-reverse; gap: 16px; width: var(--wrap-m); margin-top: 24px; }
  .sc-problem__art { width: min(100%, 340px); height: auto; aspect-ratio: 1; }
  .sc-pains { width: 100%; }
  .sc-pain__btn { padding: 18px 20px; }
  .sc-pain__title { font-size: 20px; line-height: 22px; }

  /* Решение */
  .sc-solution { width: var(--wrap-m); padding-top: 110px; }
  .sc-solution__head { width: 100%; margin-bottom: 28px; }
  .sc-sticker--solution { left: -4px; top: -46px; }
  .sc-highlight { padding: 3px 8px 2px; margin: -3px 1px -2px; border-radius: 8px; }

  .sc-feature { flex-direction: column-reverse; gap: 20px; height: auto; padding: 12px 12px 24px; border-radius: 24px; }
  .sc-feature + .sc-feature { margin-top: 16px; }
  .sc-feature__text { width: auto; padding: 0 8px; gap: 32px; }
  .sc-feature__lead { width: auto; }
  .sc-feature__lead br, .sc-h3 br { display: none; }
  .sc-feature__panel { flex: none; height: 400px; border-radius: 14px; }
  .sc-mock-stage { transform: translateX(var(--mock-x, 0px)) scale(var(--mock-scale, .75)); transform-origin: 0 0; }
  .sc-stat { width: auto; }
  .sc-stat__num { font-size: 44px; }

  /* Тёмный блок: лента навыков крутится сама */
  .sc-dark { margin-top: 80px; padding-bottom: 80px; }
  .sc-skills__sticky { gap: 32px; padding-top: 88px; }
  .sc-skills__head { width: var(--wrap-m); }
  .sc-sticker--skills { left: auto; right: 0; top: -44px; }
  .sc-skills__viewport { overflow: hidden; }
  .sc-skills__track { --card-h: 340px; gap: 0; padding: 0; }
  .sc-skill { margin-right: 12px; padding: 22px; border-radius: 24px; }
  .sc-skill__title { font-size: 22px; line-height: 24px; }
  .sc-skill__chips { width: auto; gap: 6px; }
  .sc-glass { padding: 9px 10px; font-size: 12px; line-height: 14px; }
  .sc-skills.is-marquee .sc-skill--clone { display: flex; }
  .sc-skills.is-marquee .sc-skills__track { animation: sc-marquee var(--marquee-dur, 40s) linear infinite; }
  .sc-skills.is-held .sc-skills__track { animation-play-state: paused; }

  .sc-teams { width: var(--wrap-m); margin-top: 72px; }
  .sc-teams__stage { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
  .sc-teams__frame { height: auto; padding: 8px; border-radius: 20px; }
  .sc-teams__shot { height: auto; aspect-ratio: 958 / 641; border-radius: 12px; }
  .sc-note { position: static; width: 100%; padding: 20px; --rot: 0deg; }
  .sc-note--law { --rot: 1.5deg; margin-top: 10px; }
  .sc-note--crm { --rot: -1.5deg; }
  .sc-note--sla { --rot: 1deg; }
  .sc-note__title { font-size: 22px; line-height: 22px; }
  .sc-note__text br { display: none; }

  /* FAQ: ответ баблом прямо под вопросом */
  .sc-faq { display: flex; flex-direction: column; width: var(--wrap-m); padding-top: 80px; }
  .sc-faq__left > .sc-chat { display: none; }
  .sc-faq__list { width: 100%; margin-top: 24px; }
  .sc-q { padding: 18px 48px 18px 20px; font-size: 20px; line-height: 22px; }
  .sc-q::after { right: 20px; }
  .sc-q[aria-pressed="true"]::after { content: '↓'; }
  .sc-bubble { max-width: 100%; font-size: 15px; line-height: 22px; padding: 14px; }
  .sc-q__reply { display: flex; align-items: flex-end; gap: 8px; padding: 10px 0 6px; }
  .sc-q__reply[hidden] { display: none; }
  .sc-q__reply .sc-chat__ava, .sc-q__reply .sc-chat__ava .sc-mark { width: 36px; height: 36px; }

  /* CTA: картинка сверху, текст снизу */
  .sc-cta { width: var(--wrap-m); padding: 80px 0; }
  .sc-cta__card { flex-direction: column-reverse; align-items: stretch; gap: 0; height: auto; padding: 0 20px 28px; border-radius: 24px; }
  .sc-cta__text { width: auto; padding: 0; gap: 28px; }
  .sc-cta__lead { font-size: 16px; line-height: 22px; }
  .sc-cta__art { width: min(100%, 300px); height: auto; margin: 8px auto 20px; }

  /* Футер */
  .sc-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    height: auto;
    padding: 28px 20px 36px;
    border-radius: 28px 28px 0 0;
    font-size: 14px;
    line-height: 20px;
  }
  .sc-footer__meta { flex-wrap: wrap; gap: 4px 14px; }
}

@keyframes sc-marquee { to { transform: translate3d(-50%, 0, 0); } }

@media (hover: none) {
  .sc-tile:hover, .sc-q:hover, .sc-note:hover, .sc-chip:hover,
  .sc-btn--accent:hover, .sc-btn--dark:hover, .sc-logo:hover { transform: none; }
  .sc-note:hover { transform: rotate(var(--rot)); }
  .sc-btn:hover::after { transform: translateX(-120%); }
}
