/* Общие стили лендинга, оферты и политики ПД. */

/* Manrope лежит рядом с сайтом, а не грузится с Google Fonts: иначе IP
   посетителя уходит за рубеж, а политика ПД обещает, что трансграничной
   передачи нет. Шрифт вариативный — один файл на набор символов покрывает
   все начертания; лицензия — fonts/OFL.txt */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 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;
}

/* в latin-ext лежит и знак рубля */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 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+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 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;
}

:root {
  /* цвета бренда: из лого — пурпурный и оранжевый, плюс белый и тёмно-серый */
  --white: #ffffff;
  --ink: #2b2a30;
  --ink-soft: #5f5d68;
  --ink-faint: #8d8b96;
  --line: #e9e7ee;
  --bg-soft: #f7f5f9;
  --purple: #800080;
  --purple-dark: #5c005c;
  --purple-soft: #f6eaf6;
  --orange: #ff6600;
  --orange-ink: #c24d00;
  --orange-soft: #fff1e7;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(43, 42, 48, 0.06), 0 12px 32px rgba(43, 42, 48, 0.08);
  --shadow-lg: 0 2px 4px rgba(43, 42, 48, 0.06), 0 24px 60px rgba(43, 42, 48, 0.16);

  --container: 1160px;
  --gutter: 20px;
  --header-h: 68px;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* ужатая max-width картинка не держит высоту из атрибута height */
img {
  height: auto;
}

a {
  color: var(--purple);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible,
.nav a:focus-visible,
.faq summary:focus-visible,
.shot:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--purple);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--purple-dark);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}

.btn-ghost:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.btn-light {
  background: var(--white);
  color: var(--purple);
}

.btn-light:hover {
  background: var(--orange-soft);
}

.btn-sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 15px;
}

/* ---------- Шапка ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.nav {
  display: flex;
  gap: 28px;
  margin-right: auto;
}

.nav a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.nav a:hover {
  color: var(--purple);
}

/* ---------- Секции ---------- */

.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--orange-ink);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
}

.section-head p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 19px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 48px;
}

.hero h1 {
  font-size: clamp(38px, 5.6vw, 64px);
  font-weight: 800;
}

.hero h1 .accent {
  color: var(--purple);
}

.hero-lead {
  max-width: 560px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-facts li::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: none;
  background: var(--orange);
  /* треугольник — как в лого */
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 600px;
}

/* декоративные треугольники лого за телефоном */
.tri {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

/* оба смотрят вправо и наложены, как в лого: пурпурный выше и левее */
.tri-orange {
  top: 120px;
  left: calc(50% - 150px);
  width: 400px;
  height: 460px;
  background: var(--orange-soft);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.tri-purple {
  top: 10px;
  left: calc(50% - 230px);
  width: 290px;
  height: 330px;
  background: var(--purple-soft);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* ---------- Телефон с чатом ---------- */

.phone {
  position: relative;
  z-index: 1;
  width: 310px;
  height: 610px;
  padding: 10px;
  border-radius: 46px;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}

.phone-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 37px;
  background: #eef0f4;
}

.chat-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 34px 16px 12px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.chat-top img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.chat-top b {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}

.chat-top span {
  color: var(--ink-faint);
  font-size: 12px;
}

.chat {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 14px 12px;
  font-size: 13.5px;
  line-height: 1.4;
}

.chat-input {
  margin: 0 10px 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-faint);
  font-size: 13px;
}

.bubble {
  max-width: 88%;
  padding: 9px 12px;
  border-radius: 16px;
  white-space: pre-line;
}

.bubble-bot {
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  background: var(--white);
}

.bubble-me {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: var(--purple);
  color: var(--white);
}

.bubble .muted {
  color: var(--ink-faint);
}

.bubble b {
  font-weight: 700;
}

.kb {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  width: 88%;
}

.kb-2 {
  grid-template-columns: repeat(2, 1fr);
}

.kb span {
  padding: 7px 4px;
  border-radius: 9px;
  background: var(--white);
  color: var(--purple);
  font-weight: 700;
  font-size: 12.5px;
  text-align: center;
  white-space: nowrap;
}

.kb .wide {
  grid-column: span 3;
}

.kb .pressed {
  background: var(--purple);
  color: var(--white);
}

/* карточки поверх телефона */
.float {
  position: absolute;
  z-index: 2;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  font-size: 13.5px;
  line-height: 1.4;
}

.float-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  color: var(--ink-faint);
  font-weight: 600;
  font-size: 12px;
}

.float-label i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.float-reminder {
  bottom: 80px;
  left: -10px;
  width: 270px;
}

.float-reminder .kb {
  width: 100%;
  margin-top: 10px;
}

.float-reminder .kb span {
  background: var(--purple-soft);
}

.float-toast {
  top: 24px;
  right: -10px;
  width: 220px;
}

/* ---------- Для кого ---------- */

.audience {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.audience-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

.audience-title {
  font-weight: 700;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 14px;
}

/* ---------- Шаги ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  display: flex;
  flex-direction: column;
  counter-increment: step;
}

.step h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 19px;
  font-weight: 800;
}

.step h3::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 15px;
  letter-spacing: 0;
}

.step p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 15.5px;
}

/* скриншот из чата: телефонный, 1080×2280; по нажатию открывается целиком */
.shot {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.shot:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.shot img {
  width: 100%;
}

.start-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 48px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.start-note p {
  font-weight: 600;
}

.start-note p span {
  color: var(--ink-soft);
  font-weight: 500;
}

/* ---------- Возможности ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--purple-soft);
  color: var(--purple);
}

.feature:nth-child(even) .feature-icon {
  background: var(--orange-soft);
  color: var(--orange-ink);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  font-size: 20px;
  font-weight: 800;
}

.feature p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 16px;
}

/* ---------- Цена ---------- */

.price {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 32px 40px;
  margin-top: 56px;
  padding: 40px 44px;
  border-radius: 28px;
  background: var(--ink);
  color: var(--white);
}

.price-step small {
  display: block;
  color: #b9b6c2;
  font-weight: 600;
  font-size: 15px;
}

.price-step b {
  display: block;
  margin-top: 4px;
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.price-step b em {
  color: var(--orange);
  font-style: normal;
}

.price-arrow {
  width: 28px;
  height: 28px;
  color: var(--orange);
}

.price-arrow-wrap {
  display: flex;
  align-items: center;
  gap: 40px;
}

.price-notes {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 0 0 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  list-style: none;
  color: #d9d6e0;
  font-size: 15.5px;
}

.price-notes li {
  display: flex;
  gap: 10px;
}

.price-notes li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  flex: none;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* ---------- Вопросы ---------- */

.faq {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 18px;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  width: 12px;
  height: 12px;
  flex: none;
  border-right: 2.5px solid var(--purple);
  border-bottom: 2.5px solid var(--purple);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: translateY(3px) rotate(-135deg);
}

.faq details p {
  padding: 0 24px 22px;
  color: var(--ink-soft);
}

/* ---------- Финальный призыв ---------- */

.cta {
  position: relative;
  overflow: hidden;
  padding: 64px 56px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: var(--white);
}

/* треугольники лого: оранжевый и полупрозрачный белый над ним */
.cta::before,
.cta::after {
  content: "";
  position: absolute;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.cta::before {
  top: 50%;
  right: 64px;
  width: 210px;
  height: 240px;
  background: var(--orange);
  transform: translateY(-50%);
}

.cta::after {
  top: calc(50% - 150px);
  right: 150px;
  width: 140px;
  height: 160px;
  background: rgba(255, 255, 255, 0.16);
}

.cta-body {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.cta h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
}

.cta p {
  margin-top: 16px;
  color: #f0dcf0;
  font-size: 19px;
}

.cta .btn {
  margin-top: 30px;
}

/* ---------- Подвал ---------- */

.footer {
  padding: 56px 0 40px;
  background: var(--ink);
  color: #b9b6c2;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.footer .brand {
  color: var(--white);
}

.footer-about {
  max-width: 340px;
  margin-top: 16px;
}

.footer h4 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 15px;
}

.footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer a {
  color: #d9d6e0;
  text-decoration: none;
}

.footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* кнопка в подвале выглядит как его ссылки */
.footer-button {
  padding: 0;
  border: 0;
  background: none;
  color: #d9d6e0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.footer-button:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ink-faint);
  font-size: 14px;
}

/* то, что нужно заполнить перед публикацией */
.ph {
  padding: 0 4px;
  border-radius: 4px;
  background: var(--orange-soft);
  color: var(--orange-ink);
}

.footer .ph {
  background: rgba(255, 102, 0, 0.18);
  color: #ffb27f;
}

/* ---------- Согласие на cookies ---------- */

.cookies {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  padding: 0 var(--gutter) var(--gutter);
  pointer-events: none;
}

.cookies-inner {
  display: flex;
  align-items: center;
  gap: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  line-height: 1.5;
  pointer-events: auto;
}

.cookies-actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

/* ---------- Страница документа ---------- */

.doc {
  padding: 56px 0 96px;
}

.doc-inner {
  max-width: 820px;
}

.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.doc h1 {
  font-size: clamp(32px, 4.4vw, 46px);
  font-weight: 800;
}

.doc-meta {
  margin-top: 14px;
  color: var(--ink-faint);
  font-size: 15px;
}

.doc-toc {
  margin: 36px 0 8px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.doc-toc b {
  display: block;
  margin-bottom: 10px;
}

.doc-toc ol {
  columns: 2;
  column-gap: 32px;
  margin: 0;
  padding-left: 22px;
  font-size: 15.5px;
}

.doc-toc li {
  margin-bottom: 4px;
  break-inside: avoid;
}

.doc-toc a {
  text-decoration: none;
}

.doc-toc a:hover {
  text-decoration: underline;
}

.doc-lead {
  margin-top: 32px;
}

.doc h2 {
  margin: 48px 0 16px;
  font-size: 24px;
  font-weight: 800;
}

.doc p,
.doc li {
  color: #3d3c44;
}

.doc p + p {
  margin-top: 12px;
}

.doc .clauses {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.doc .clauses > li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
}

.doc .num {
  color: var(--ink-faint);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.doc ul.sub {
  margin: 8px 0 0;
  padding-left: 20px;
}

.doc ul.sub li + li {
  margin-top: 4px;
}

.doc dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 10px 24px;
  margin: 0;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.doc dt {
  color: var(--ink-faint);
  font-weight: 600;
}

.doc dd {
  margin: 0;
}

.doc-draft {
  margin-top: 28px;
  padding: 16px 20px;
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--orange-soft);
  color: #6b3a14;
  font-size: 15px;
}

/* ---------- Адаптив ---------- */

@media (max-width: 1080px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .price {
    grid-template-columns: 1fr;
  }

  .price-notes {
    padding: 28px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .header-inner {
    justify-content: space-between;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 48px 0 72px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }

  /* название с кнопкой «Открыть в Max» иначе не влезают в шапку узкого телефона */
  .header-inner {
    gap: 12px;
  }

  .header .brand {
    gap: 8px;
    font-size: 17px;
  }

  .header .btn-sm {
    padding: 0 14px;
    font-size: 14px;
  }

  body {
    font-size: 16px;
  }

  .hero-lead,
  .section-head p,
  .cta p {
    font-size: 17px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  /* сверху место под карточку записи: иначе она закрыла бы шапку чата */
  .hero-visual {
    min-height: 620px;
    padding-top: 60px;
  }

  .phone {
    width: 282px;
    height: 560px;
  }

  .float-toast {
    top: 0;
    right: -4px;
    width: 196px;
    font-size: 12.5px;
  }

  .float-reminder {
    bottom: 10px;
    left: -4px;
    width: 236px;
    font-size: 12.5px;
  }

  .tri-orange {
    top: 140px;
    left: calc(50% - 110px);
    width: 300px;
    height: 345px;
  }

  .tri-purple {
    top: 40px;
    left: calc(50% - 170px);
    width: 210px;
    height: 240px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* в одну колонку скриншот во всю ширину вышел бы в несколько экранов высотой */
  .step {
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 18px;
  }

  .step .shot {
    grid-row: 1 / span 2;
    border-radius: var(--radius-sm);
  }

  .step h3 {
    margin-top: 0;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .feature {
    padding: 24px;
  }

  .price {
    padding: 32px 24px;
  }

  .price-arrow-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .price-arrow {
    transform: rotate(90deg);
  }

  .faq summary {
    padding: 18px 20px;
    font-size: 16.5px;
  }

  .faq details p {
    padding: 0 20px 20px;
  }

  .cta {
    padding: 44px 24px 200px;
    border-radius: 24px;
  }

  .cta::before {
    top: auto;
    bottom: 28px;
    right: 28px;
    width: 130px;
    height: 150px;
    transform: none;
  }

  .cta::after {
    top: auto;
    bottom: 120px;
    right: 100px;
    width: 80px;
    height: 92px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .doc-toc ol {
    columns: 1;
  }

  .doc .clauses > li {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .doc dl {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 20px;
  }

  .doc dd + dt {
    margin-top: 10px;
  }

  .cookies-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .cookies-actions .btn {
    flex: 1;
  }
}

@media (max-width: 359px) {
  .header .brand {
    font-size: 15px;
  }

  .header .brand img {
    width: 30px;
    height: 30px;
  }

  .header .btn-sm {
    padding: 0 12px;
    font-size: 13px;
  }
}

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