/* PR-MAKER · лендинг «Яндекс Директ» · v2
   Страница из скруглённых панелей на сером полотне, цветное бенто,
   крупный Unbounded, стикеры и стрелки «от руки».
   Радиусы: панели 44, плитки 32, вложенные 20, кнопки и теги pill. */

:root {
  --canvas: #E8E9EF;
  --white: #FFFFFF;
  --ink: #121216;
  --ink-2: #1D1D24;
  --muted: #5B5C68;
  --line: #E2E3EA;
  --cobalt: #2342F0;
  --orange: #FF5F1F;
  --on-orange: #121216;       /* мелкие иконки и значки на оранжевом */
  --lime: #CBF36C;
  --lilac: #DCE0FF;
  --peach: #FFD9C8;
  --on-dark: #F5F5F8;
  --on-dark-muted: #A7A9B8;

  --r-panel: 44px;
  --r-tile: 32px;
  --r-inner: 20px;
  --r-pill: 999px;

  --display: 'Unbounded', 'Onest', system-ui, sans-serif;
  --text: 'Onest', system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gap: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font-family: var(--text); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }

/* ---------- Каркас ---------- */
.page { max-width: 1400px; margin: 0 auto; padding: var(--gap); display: grid; gap: var(--gap); }
.panel { position: relative; border-radius: var(--r-panel); padding: 80px 64px; overflow: hidden; }
.panel--white { background: var(--white); }
.panel--cobalt { background: var(--cobalt); color: var(--on-dark); }
.panel--ink { background: var(--ink); color: var(--on-dark); }
.panel--lilac { background: var(--lilac); }
.panel--orange { background: var(--orange); color: var(--white); }
.panel--canvas { background: transparent; padding: 72px 8px; overflow: visible; }

.title { font-size: clamp(30px, 3.6vw, 52px); max-width: 22ch; margin-bottom: 48px; }
.title--sm { font-size: clamp(26px, 2.6vw, 38px); margin-bottom: 28px; }
.title--light { color: var(--on-dark); }
.grad { color: var(--cobalt); }
.grad--light { background: none; -webkit-text-fill-color: currentColor; color: var(--orange); }

/* ---------- Кнопки ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 26px; border: 0; border-radius: var(--r-pill);
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 16px;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .3s var(--ease), background-color .2s, box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(18, 18, 22, .45); }
.btn:active { transform: translateY(1px) scale(.98); box-shadow: none; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn i { font-size: 18px; }
.btn--ink { --bg: var(--ink); --fg: var(--white); }
.btn--white { --bg: var(--white); --fg: var(--ink); }
.btn--orange { --bg: var(--orange); --fg: var(--white); font-weight: 700; }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn--glass { --bg: rgba(255, 255, 255, .12); --fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); backdrop-filter: blur(8px); }
.btn--glass:hover { --bg: rgba(255, 255, 255, .2); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--lg { min-height: 62px; padding: 0 28px; font-size: 17px; }
.btn--block { width: 100%; }
.btn:has(.btn__dot) { padding-right: 9px; }
.btn__dot {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--orange); color: var(--on-orange); transition: transform .3s var(--ease);
}
.btn--lg .btn__dot { width: 46px; height: 46px; }
.btn__dot--ink { background: var(--ink); color: var(--white); }
.btn:hover .btn__dot { transform: rotate(45deg); }

/* ---------- Теги ---------- */
.tag { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: var(--r-pill); white-space: nowrap; line-height: 1.2; }
.tag--lime { background: var(--lime); color: var(--ink); }
.tag--peach { background: var(--peach); color: var(--ink); }
.tag--ink { background: var(--ink); color: var(--white); }
.tag--white { background: var(--white); color: var(--ink); }
.tag--grey { background: var(--canvas); color: var(--muted); }
.tag--dashed { box-shadow: inset 0 0 0 1.5px currentColor; color: var(--muted); }
.tag--glass { background: rgba(255, 255, 255, .16); color: var(--white); }
.tag--nda { gap: 7px; background: var(--ink); color: var(--white); padding-right: 6px; }
.tag--nda i { font-size: 13px; color: var(--lime); }
.tag--nda .redact { display: inline-block; width: var(--w, 5em); height: .9em; border-radius: 3px; background: repeating-linear-gradient(90deg, #3A3A44 0 70%, transparent 70% 76%, #3A3A44 76% 100%); }
.tag--nda b { font-size: 10px; letter-spacing: .06em; background: var(--lime); color: var(--ink); padding: 3px 6px; border-radius: var(--r-pill); }

/* ---------- 1. Hero ---------- */
.hero {
  padding: 22px 28px 130px;
  display: flex; flex-direction: column;
  background-color: var(--cobalt);
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 72px 72px; background-position: -1px -1px;
}
.nav { display: flex; align-items: center; gap: 20px; position: relative; z-index: 5; padding: 0 36px; } /* отступ как у .hero__body: логотип по левому краю текста */
.nav__logo img { width: 112px; }
.nav__links { display: flex; gap: 6px; margin: 0 auto; }
.nav__links a {
  text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); transition: background-color .2s;
}
.nav__links a:hover { background: rgba(255, 255, 255, .14); }
.nav__right { display: flex; align-items: center; gap: 16px; }
.nav__phone { font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.nav__call { display: none; width: 48px; height: 48px; border-radius: 50%; place-items: center; background: var(--orange); color: var(--on-orange); font-size: 22px; text-decoration: none; margin-left: auto; }
.nav__call + .nav__burger { margin-left: 0; }
.nav__burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--white); color: var(--ink); font-size: 22px; cursor: pointer; margin-left: auto; }
.mobile-menu {
  position: absolute; z-index: 6; top: 80px; left: 12px; right: 12px; display: grid; gap: 4px;
  background: var(--white); color: var(--ink); border-radius: var(--r-tile); padding: 12px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .4);
}
.mobile-menu a { padding: 14px 16px; border-radius: var(--r-inner); text-decoration: none; font-weight: 600; font-size: 18px; }
.mobile-menu a:hover { background: var(--canvas); }

.hero__body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 56px 36px 0; }
.hero__title { font-weight: 800; font-size: clamp(40px, 6.6vw, 96px); line-height: .98; letter-spacing: -0.035em; color: var(--white); position: relative; z-index: 2; }
.hero__line { display: flex; align-items: center; gap: .18em; white-space: nowrap; }
.hero__line--sm { font-size: .56em; margin-top: .3em; font-weight: 700; letter-spacing: -0.02em; }
.inline-faces { display: inline-flex; height: .78em; padding: .07em; border-radius: var(--r-pill); background: var(--lime); align-items: center; }
.inline-faces img { height: 100%; aspect-ratio: 1; width: auto; border-radius: 50%; object-fit: cover; border: .04em solid var(--lime); margin-left: -.16em; background: var(--white); }
.inline-faces img:first-child { margin-left: 0; }
.inline-faces__lead { height: 100%; aspect-ratio: 1; border-radius: 50%; margin-left: -.16em; border: .04em solid var(--lime); background: var(--white); color: var(--cobalt); display: grid; place-items: center; }
.inline-faces__lead i { font-size: .36em; }
.inline-chip {
  display: inline-grid; place-items: center; height: .78em; aspect-ratio: 1.45; border-radius: var(--r-pill);
  background: var(--orange); color: var(--on-orange); transform: rotate(-6deg);
}
.inline-chip--search { aspect-ratio: auto; display: inline-flex; align-items: center; padding: 0 .13em 0 .1em; }
.inline-chip__field { background: var(--white); border-radius: var(--r-pill); height: .5em; width: 2.3em; overflow: hidden; display: flex; align-items: center; gap: .06em; padding-left: .12em; }
.inline-chip__field i { font-size: .3em; color: var(--orange); }
.inline-chip__text::before { content: attr(data-text); }
.inline-chip__text { font-family: var(--text); font-weight: 600; font-size: .19em; letter-spacing: 0; color: var(--ink); white-space: nowrap; margin-left: .25em; }
.inline-chip__field em { flex-shrink: 0; width: .03em; height: .26em; border-radius: 2px; background: var(--ink); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.scribbled { position: relative; display: inline-block; }
.scribbled svg { position: absolute; left: -4%; bottom: -.3em; width: 108%; height: .42em; color: var(--orange); overflow: visible; }

.glass {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 24px;
  background: rgba(255, 255, 255, .16); color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .5), 0 24px 50px -20px rgba(8, 16, 90, .6);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.glass b { display: block; font-family: var(--display); font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.glass small { display: block; font-size: 13px; opacity: .85; }
.glass__icon { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; color: var(--ink); flex-shrink: 0; }
.glass__icon--lime { background: var(--lime); }
.glass__icon--orange { background: var(--orange); color: var(--on-orange); }
.glass--a { right: 5%; top: 30px; rotate: 4deg; }
.glass--b { right: 16%; top: 250px; rotate: -5deg; }
.glass--b b { font-size: 22px; }
.glass--c { right: 15%; top: 500px; rotate: 4deg; }
.glass__icon--white { background: var(--white); color: var(--cobalt); }

.doodle { position: absolute; pointer-events: none; color: var(--lime); }
.doodle--hero-a { width: 120px; height: 90px; right: 41%; top: 250px; transform: rotate(-14deg); z-index: 2; }
.doodle--hero-b { width: 110px; height: 110px; right: 4%; top: 140px; color: var(--orange); transform: rotate(40deg); }

.hero__bottom { margin-top: 0; padding-top: 72px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; position: relative; z-index: 2; max-width: calc(100% - 220px); }
.hero__lead { font-size: 18px; line-height: 1.5; max-width: 58ch; color: rgba(255, 255, 255, .88); }
.hero__lead b { display: block; color: var(--white); font-weight: 600; font-size: 20px; margin-bottom: 6px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.sticker {
  position: absolute; right: 8px; bottom: 0; z-index: 4; width: 184px; height: 184px; border: 0; padding: 0;
  border-radius: 50%; background: var(--orange); color: var(--on-orange); cursor: pointer; display: grid; place-items: center;
  transition: transform .4s var(--ease);
}
.sticker:hover { transform: scale(1.06) rotate(-6deg); }
.sticker__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.sticker__ring text { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; fill: var(--white); }
.sticker__core { width: 70px; height: 70px; border-radius: 50%; background: var(--white); color: var(--ink); display: grid; place-items: center; font-size: 30px; }

/* ---------- 2. Цепочка ---------- */
.flow { padding: 32px; margin-top: -96px; margin-inline: 40px; z-index: 2; }
.flow__grid { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr); align-items: stretch; gap: 8px; }
.flow__item { background: var(--canvas); border-radius: var(--r-tile); padding: 26px 20px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.flow__item h3 { font-size: 17px; line-height: 1.15; text-transform: uppercase; letter-spacing: -0.01em; min-height: 2.3em; display: grid; place-items: center; }
.flow__item p { font-size: 14px; color: var(--muted); max-width: 24ch; min-height: 3em; margin-bottom: 18px; }
.flow__arrow { width: 40px; height: 28px; color: var(--ink); align-self: center; }
.flow__item > div { margin-top: auto; width: 100%; height: 60px; }
.mock-search { display: flex; align-items: center; gap: 8px; background: var(--white); border-radius: var(--r-pill); padding: 0 8px 0 16px; font-size: 13px; }
.mock-search span { flex: 1; min-width: 0; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-search b { color: var(--on-orange); background: var(--orange); }
/* «Найти» и «Получить» — одна кнопка: одинаковые высота, шрифт и отступы */
.mock-search b, .mock-pill b { display: inline-flex; align-items: center; flex: none; height: 32px; padding: 0 14px; border-radius: var(--r-pill); font-family: var(--display); font-size: 11px; font-weight: 700; line-height: 1; white-space: nowrap; }
.mock-pill { display: flex; align-items: center; justify-content: space-between; gap: 6px; background: var(--cobalt); color: var(--white); border-radius: var(--r-pill); padding: 0 7px 0 14px; font-size: 13px; font-weight: 500; }
.mock-pill b { background: var(--lime); color: var(--ink); }
.mock-pill span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
/* Ноутбуки 1201–1399: четыре колонки со стрелками не вмещали подписи макетов («дом под кл…») — делаем компактнее */
@media (min-width: 1201px) and (max-width: 1399px) {
  .flow__grid { grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr); gap: 6px; }
  .flow__arrow { width: 24px; }
  .flow__item { padding-inline: 14px; }
  .mock-search { font-size: 12px; gap: 6px; padding: 0 6px 0 12px; }
  .mock-pill { font-size: 12px; padding: 0 6px 0 12px; }
  .mock-search b, .mock-pill b { padding: 0 10px; }
}
.mock-tags { display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 6px; }
.mock-tags .tag { padding: 7px 11px; }
.mock-tags .tag:nth-child(1) { rotate: -4deg; }
.mock-tags .tag:nth-child(2) { rotate: 3deg; }
.mock-bubble { position: relative; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; background: var(--lime); border-radius: 20px; padding: 0 18px; text-align: left; }
.mock-bubble::after { content: ""; position: absolute; left: auto; right: 26px; bottom: -6px; width: 14px; height: 14px; background: var(--lime); transform: rotate(45deg); border-radius: 3px; }
.mock-bubble small { display: block; font-size: 12px; color: #3F4A1E; line-height: 1.3; white-space: nowrap; }
.mock-bubble em { font-style: normal; font-family: var(--display); font-weight: 700; font-size: 15px; background: var(--ink); color: var(--lime); padding: 7px 11px; border-radius: var(--r-pill); flex-shrink: 0; }
.mock-bubble b { font-family: var(--display); font-size: 18px; letter-spacing: -0.01em; line-height: 1.2; }

/* ---------- Бегущая строка ---------- */
.marquee { background: var(--ink); color: var(--white); border-radius: var(--r-pill); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee__track span { display: flex; align-items: center; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; white-space: nowrap; }
.marquee__track span::after { content: "✦"; color: var(--orange); margin: 0 28px; font-size: 18px; }

/* ---------- 3. Две ситуации ---------- */
.paths__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.path { border-radius: var(--r-tile); padding: 34px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.path h3 { font-size: clamp(22px, 2.2vw, 30px); max-width: 16ch; }
.path ul { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 12px; }
.path li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 16.5px; line-height: 1.45; }
.path li i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; margin-top: -2px; }
.path .btn { margin-top: auto; }
.path__chip { font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: var(--r-pill); background: var(--lime); color: var(--ink); rotate: -2deg; }
.path__chip--dark { background: var(--ink); color: var(--white); rotate: 2deg; }
.path--new { background: var(--cobalt); color: var(--white); }
.path--new li i { background: var(--lime); color: var(--ink); }
.path--run { background: var(--canvas); }
.path--run li i { background: var(--white); color: var(--cobalt); }
.path__get { width: 100%; display: grid; gap: 8px; padding: 18px 20px; border-radius: var(--r-inner); background: rgba(255, 255, 255, .12); }
.path__get b { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 15px; margin-bottom: 2px; }
.path__get b i { font-size: 18px; color: var(--lime); }
.path__get span { position: relative; padding-left: 16px; font-size: 15px; line-height: 1.4; }
.path__get span::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.path--run .path__get { background: var(--white); }
.path--run .path__get b i { color: var(--orange); }
.path--run .path__get span::before { background: var(--orange); }
.path__meta { font-size: 13px; opacity: .75; margin-top: -6px; }

/* ---------- 3. Боли ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(230px, auto); gap: var(--gap); }
.tile { position: relative; border-radius: var(--r-tile); padding: 28px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; transition: transform .4s var(--ease); }
.tile:hover { transform: translateY(-4px); }
.tile h3 { font-size: 20px; margin-top: auto; }
.tile p { font-size: 15.5px; color: var(--muted); }
.tile__icon { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; background: var(--white); margin-bottom: 30px; }
.tile--white { background: var(--white); }
.tile--white .tile__icon { background: var(--canvas); }
.tile--lilac { background: var(--lilac); }
.tile--peach { background: var(--peach); }
.tile--cobalt { background: var(--cobalt); color: var(--white); }
.tile--cobalt p { color: rgba(255, 255, 255, .8); }
.tile--cobalt .tile__icon { background: var(--lime); color: var(--ink); }
.tile--ink { background: var(--ink); color: var(--on-dark); }
.tile--ink p { color: var(--on-dark-muted); }
.tile--orange { background: var(--orange); color: var(--white); }
.tile--orange p { color: rgba(255, 255, 255, .92); }
.tile--big { grid-column: span 2; grid-row: span 2; padding: 34px; }
.tile--big h3 { font-size: clamp(26px, 2.5vw, 36px); max-width: 14ch; }
.tile--big p { font-size: 17px; max-width: 44ch; }
.tile--wide { grid-column: span 2; }
.tile__pills { position: relative; display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; max-width: 460px; }
.tile__pills span {
  background: var(--white); color: var(--ink); font-weight: 600; font-size: 16px; padding: 12px 20px; border-radius: var(--r-pill);
  rotate: var(--r); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5);
}
.tile__pills .is-orange { background: var(--orange); color: var(--on-orange); }
.tile__pills .is-lilac { background: var(--lilac); }
.tile__pills .is-bot { display: inline-flex; align-items: center; gap: 8px; padding-right: 8px; background: transparent; color: var(--on-dark-muted); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); }
.tile__pills .is-bot i { font-size: 18px; }
.tile__pills .is-bot s { text-decoration: line-through 2.5px var(--orange); }
.tile__pills .is-bot em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--white); background: var(--orange); padding: 5px 10px; border-radius: var(--r-pill); }
.tile--cta { justify-content: center; align-items: flex-start; gap: 10px; }
.tile--cta h3 { margin-top: 0; font-size: 26px; }
.tile--cta p { max-width: 40ch; margin-bottom: 10px; }
.tile--cta::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .22); pointer-events: none; }

/* ---------- 4. Сравнение ---------- */
.compare__cards { display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px; align-items: center; position: relative; }
.vs-card { border-radius: var(--r-tile); padding: 36px; }
.vs-card__who { font-family: var(--display); font-weight: 700; font-size: 18px; margin-bottom: 22px; min-height: 44px; display: flex; align-items: center; }
.vs-card__who img { width: 74px; }
.vs-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.vs-card li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; font-size: 17px; line-height: 1.4; }
.vs-card li i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; margin-top: -4px; }
.vs-card--them { background: var(--canvas); color: var(--muted); rotate: -1.5deg; }
.vs-card--them li i { background: #FFDCD8; color: #D3322A; }
.vs-card__sum { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding: 14px 16px; border-radius: var(--r-inner); background: var(--white); color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.4; }
.vs-card__sum i { color: #D3322A; font-size: 20px; flex-shrink: 0; }
.vs-card--us { background: var(--cobalt); color: var(--white); rotate: 1deg; padding: 44px 40px; box-shadow: 0 40px 80px -40px rgba(35, 66, 240, .7); }
.vs-card--us li i { background: var(--lime); color: var(--ink); }
.vs-card--us .btn { margin-top: 30px; }
.vs-badge {
  position: absolute; left: calc(47.6% - 36px); top: 50%; translate: 0 -50%; rotate: -10deg; z-index: 2;
  width: 72px; height: 72px; border-radius: 50%; background: var(--orange); color: var(--on-orange); display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 22px; box-shadow: 0 0 0 8px var(--white);
}

/* ---------- 5. Разбор заявок ---------- */
.leads__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.leads__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.leads__steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: start; }
.leads__steps b { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; display: block; margin-bottom: 4px; }
.leads__steps p { color: var(--on-dark-muted); font-size: 16px; }
.num { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--ink); }
.num--lime { background: var(--lime); rotate: -6deg; }
.num--lilac { background: var(--lilac); rotate: 4deg; }
.num--peach { background: var(--peach); rotate: -3deg; }
.num--orange { background: var(--orange); color: var(--on-orange); rotate: 6deg; }
.leads__steps .leads__cta-item { display: block; }
.leads__cta { width: 100%; display: grid; grid-template-columns: 52px 1fr auto; gap: 18px; align-items: center; text-align: left; padding: 14px 14px 14px 14px; margin-left: -14px; width: calc(100% + 28px); border: 0; border-radius: 24px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14); color: var(--on-dark); cursor: pointer; font: inherit; transition: background-color .25s, box-shadow .25s; }
.leads__cta:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px var(--lime); }
.leads__cta:hover .leads__cta-go { box-shadow: 0 10px 24px -10px rgba(255, 95, 31, .8); }
.num--cta { background: var(--orange); color: var(--on-orange); rotate: -4deg; font-size: 24px; transition: rotate .3s var(--ease); }
.leads__cta:hover .num--cta { rotate: 0deg; }
.leads__cta-text b { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; display: block; margin-bottom: 4px; }
.leads__cta-text span { color: var(--on-dark-muted); font-size: 15px; line-height: 1.45; display: block; }
.leads__cta-go { background: var(--orange); color: var(--white); font-weight: 600; font-size: 15px; padding: 10px 18px; border-radius: var(--r-pill); white-space: nowrap; }

.journal-wrap { position: relative; padding: 20px 0 44px; }
.journal { margin: 0; background: var(--white); color: var(--ink); border-radius: var(--r-tile); padding: 24px; rotate: 1.5deg; }
.journal figcaption { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.journal figcaption span { font-family: var(--display); font-weight: 700; font-size: 18px; }
.journal figcaption small { font-size: 12px; color: var(--muted); background: var(--canvas); padding: 4px 12px; border-radius: var(--r-pill); }
.journal__sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.journal__sum div { background: var(--canvas); border-radius: var(--r-inner); padding: 14px 16px; }
.journal__sum b { display: block; font-family: var(--display); font-size: 30px; line-height: 1.1; }
.journal__sum span { font-size: 13px; color: var(--muted); }
.journal__sum .is-hot { background: var(--orange); color: var(--on-orange); }
.journal__sum .is-hot span { color: rgba(18, 18, 22, .75); }
.journal ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.journal li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 12px 11px 16px; border-radius: 16px; background: #F4F4F8; font-size: 14.5px; font-weight: 500; }
.journal li em { display: block; font-style: normal; font-size: 12px; color: #C2461B; font-weight: 500; }
.glass--dark { background: rgba(30, 30, 38, .75); }
.glass--journal { left: -36px; bottom: 0; rotate: -4deg; }

/* ---------- 6. Форматы ---------- */
.formats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: stretch; padding-top: 16px; }
.plan { position: relative; border-radius: 40px; padding: 30px; display: flex; flex-direction: column; min-height: 580px; overflow: hidden; }
.plan h3 { font-size: 32px; margin: 22px 0 24px; }
@media (min-width: 901px) and (max-width: 1200px) { .plan h3 { font-size: clamp(24px, 2.55vw, 32px); } }
.plan ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.plan li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.45; }
.plan li::before { content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 6px; background: var(--orange); rotate: 12deg; }
.plan__chip { align-self: flex-start; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: var(--r-pill); background: var(--canvas); }
.plan__chip--lime { background: var(--lime); color: var(--ink); rotate: -3deg; }
.plan__chip--dark { background: var(--ink-2); color: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.plan__price { margin-top: auto; margin-bottom: 20px; border-radius: var(--r-inner); background: var(--canvas); padding: 4px 18px; }
.plan__price div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; }
.plan__price div + div { border-top: 1.5px dashed rgba(18, 18, 22, .15); }
.plan__price span { font-size: 14px; opacity: .7; }
.plan__price b { font-family: var(--display); font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; text-align: right; }
.plan__price small { font-family: var(--text); font-size: 14px; font-weight: 600; letter-spacing: 0; opacity: .7; }
.plan--cobalt .plan__price { background: rgba(255, 255, 255, .12); }
.plan--cobalt .plan__price div + div, .plan--ink .plan__price div + div { border-top-color: rgba(255, 255, 255, .2); }
.plan--ink .plan__price { background: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.plan--white { background: var(--white); }
.plan--cobalt { background: var(--cobalt); color: var(--white); translate: 0 -16px; box-shadow: 0 40px 80px -40px rgba(35, 66, 240, .8); }
.plan--cobalt li::before { background: var(--lime); }
.plan--cobalt::after { content: ""; position: absolute; right: -90px; top: -90px; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .1); pointer-events: none; }
.plan--ink { background: var(--ink); color: var(--on-dark); }
.formats__note { display: flex; gap: 10px; align-items: center; margin-top: 18px; color: var(--muted); font-size: 15px; padding-left: 8px; }
.formats__note i { font-size: 20px; }

/* ---------- 7. Квиз ---------- */
.quiz { padding: 56px 56px 56px; }
.quiz__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 36px; }
.quiz__head .title { margin-bottom: 0; }
.quiz__head p { color: var(--muted); max-width: 36ch; font-size: 17px; }
.quiz__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: stretch; }
.quiz__side { position: relative; padding: 8px 20px 40px 0; }
.forecast { background: var(--cobalt); color: var(--white); border-radius: var(--r-tile); padding: 28px; rotate: -2deg; box-shadow: 0 40px 70px -40px rgba(35, 66, 240, .8); }
.forecast__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 22px; }
.forecast__niche { font-size: 14px; opacity: .85; }
.forecast__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px; }
.forecast__nums div { background: rgba(255, 255, 255, .12); border-radius: var(--r-inner); padding: 14px 16px; display: grid; gap: 2px; }
.forecast__nums .is-wide { grid-column: span 2; background: var(--white); color: var(--ink); }
.forecast__nums .is-wide span { color: var(--muted); }
.forecast__nums b { font-family: var(--display); font-size: 26px; letter-spacing: -0.02em; line-height: 1.1; }
.forecast__nums span { font-size: 13px; opacity: .85; }
.forecast__list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.forecast__list li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.forecast__list i { width: 24px; height: 24px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: 12px; flex-shrink: 0; }
.forecast__src { font-size: 12px; opacity: .65; }
.glass--forecast { position: absolute; right: 0; bottom: 0; rotate: 3deg; background: rgba(255, 255, 255, .7); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 24px 50px -24px rgba(18, 18, 22, .45); }
.bubble { position: relative; border-radius: 24px; padding: 14px 18px; font-size: 15px; line-height: 1.4; }
.bubble--lilac { background: var(--lilac); max-width: 32ch; }
.bubble--lilac::after { content: ""; position: absolute; left: 26px; bottom: -8px; width: 18px; height: 18px; background: var(--lilac); transform: rotate(45deg); border-radius: 3px; }

.quiz__form { background: var(--white); border-radius: 36px; padding: 32px; display: flex; flex-direction: column; min-height: 540px; }
.quiz__top { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.quiz__counter { font-size: 14px; color: var(--muted); white-space: nowrap; }
.quiz__progress { flex: 1; height: 10px; border-radius: var(--r-pill); background: var(--canvas); overflow: hidden; }
.quiz__progress span { display: block; height: 100%; width: 100%; background: var(--cobalt); border-radius: inherit; transform-origin: left; transform: scaleX(.2); transition: transform .5s var(--ease); }
.quiz__step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.quiz__step.is-active { display: block; animation: stepIn .45s var(--ease); }
.quiz__step legend { font-family: var(--display); font-weight: 700; font-size: 25px; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 22px; padding: 0; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.options--col { grid-template-columns: 1fr; }
.options--inline { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.options label { position: relative; cursor: pointer; }
.options input { position: absolute; opacity: 0; pointer-events: none; }
.options span {
  display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 18px; border-radius: var(--r-inner);
  background: var(--canvas); font-weight: 500; font-size: 16px; transition: background-color .2s, rotate .25s var(--ease), box-shadow .2s;
}
.options span i { font-size: 22px; color: var(--cobalt); }
.options--inline span { min-height: 44px; padding: 8px 18px; border-radius: var(--r-pill); }
.options label:hover span { box-shadow: inset 0 0 0 2px var(--ink); }
.options input:checked + span { background: var(--ink); color: var(--white); rotate: -1deg; }
.options input:checked + span i { color: var(--lime); }
.options input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.quiz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 26px; }
.quiz__back:disabled { visibility: hidden; }
.quiz__done { margin: auto 0; display: grid; justify-items: center; text-align: center; gap: 10px; animation: stepIn .5s var(--ease); }
.quiz__done-title { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; line-height: 1.1; }
.quiz__done p { color: var(--muted); max-width: 34ch; }
.done-icon { width: 72px; height: 72px; border-radius: 24px; background: var(--lime); display: grid; place-items: center; font-size: 34px; rotate: -8deg; }

/* ---------- Поля ---------- */
.field { display: grid; gap: 7px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 600; }
.field input {
  width: 100%; height: 58px; padding: 0 20px; font: inherit; font-size: 17px; color: var(--ink);
  border: 0; border-radius: var(--r-inner); background: var(--canvas); box-shadow: inset 0 0 0 2px transparent;
  transition: box-shadow .2s, background-color .2s;
}
.field input::placeholder { color: #757683; }
.field input:hover { box-shadow: inset 0 0 0 2px #C9CAD4; }
.field input:focus { outline: none; background: var(--white); box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 5px rgba(35, 66, 240, .15); }
.field__error { display: none; font-size: 13px; color: #B3261E; font-weight: 500; }
.field.is-error input { box-shadow: inset 0 0 0 2px #B3261E; }
.field.is-error .field__error { display: block; }
.form-fail { margin-top: 12px; font-size: 14px; font-weight: 600; color: #B3261E; }
.form-fail a { color: inherit; white-space: nowrap; }
/* Поле-ловушка для ботов: человек его не видит */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-bottom: 18px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--cobalt); flex-shrink: 0; }

/* ---------- 8. Кейсы ---------- */
.cases__bento { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: var(--gap); }
.case { position: relative; border-radius: var(--r-tile); padding: 30px; display: flex; flex-direction: column; overflow: hidden; }
.case__head { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.case__big { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 4.2vw, 62px); letter-spacing: -0.035em; line-height: 1; }
.case__big small { display: block; font-family: var(--text); font-weight: 500; font-size: 16px; letter-spacing: 0; line-height: 1.4; margin-top: 12px; max-width: 30ch; opacity: .8; }
.case__link { margin-top: auto; padding: 22px 0 0; align-self: flex-start; display: inline-flex; gap: 10px; align-items: center; font-weight: 600; text-decoration: none; position: relative; z-index: 1; border: 0; background: none; cursor: pointer; font-size: 16px; }
.case__link i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); transition: transform .3s var(--ease); }
.case__link:hover i { transform: rotate(45deg); }
.case--main .chart { height: 170px; margin: 76px 0 30px; }
.case--cobalt { background: var(--cobalt); color: var(--white); }
.case--cobalt .case__link i { background: var(--lime); color: var(--ink); }
.case--peach { background: var(--peach); }
.case--lilac { background: var(--lilac); }
.case--ink { background: var(--ink); color: var(--on-dark); }
.case--white { background: var(--white); }
.case--white .case__drop { background: var(--canvas); }
.case--lime { background: var(--lime); }
.case--lime .case__drop em, .case--lime .case__big small { color: #2E3A10; }

.chart { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: end; height: 220px; margin: 40px 0 30px; }
.chart__bar { position: relative; height: var(--h); min-height: 28px; background: rgba(255, 255, 255, .18); border-radius: 16px 16px 8px 8px; }
.chart__bar.is-hot { background: var(--lime); }
.chart__bar b { position: absolute; top: -26px; left: 0; right: 0; text-align: center; font-family: var(--display); font-size: 16px; }
.chart__bar span { position: absolute; bottom: -24px; left: 0; right: 0; text-align: center; font-size: 12px; opacity: .8; }
.chart--2 { grid-template-columns: repeat(2, 1fr); max-width: 320px; height: 180px; }
.case__note { font-size: 14px; opacity: .8; margin-top: 14px; }
.case__drop b small { font-family: var(--text); font-size: 14px; font-weight: 600; opacity: .7; }
.final__status { margin: 0 0 14px; }
.chart__cap { position: absolute; top: -66px; left: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .14); padding: 6px 12px; border-radius: var(--r-pill); }
.chart__cap i { color: var(--lime); font-size: 15px; }
.case__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.case__facts span { background: rgba(255, 255, 255, .12); border-radius: var(--r-inner); padding: 10px 14px; font-size: 13px; }
.case__facts b { display: block; font-family: var(--display); font-size: 18px; }
.case__drop { margin-top: 24px; background: var(--white); border-radius: var(--r-inner); padding: 14px 16px; display: grid; gap: 2px; }
.case__drop span { font-size: 13px; color: var(--muted); }
.case__drop b { font-family: var(--display); font-size: 22px; }
.case__pct { display: inline-block; vertical-align: middle; margin-left: 6px; font-family: var(--text); font-size: 13px !important; font-weight: 700; opacity: 1 !important; background: var(--lime); color: var(--ink); padding: 4px 10px; border-radius: var(--r-pill); }
.case__drop em { font-style: normal; font-size: 12px; color: var(--muted); }
.case__drop s { color: var(--muted); font-weight: 500; font-size: 16px; margin-right: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--orange); }
.case__sofa { position: absolute; right: -36px; bottom: -6px; width: 60%; pointer-events: none; z-index: 0; }
.case--lime > :not(.case__sofa) { position: relative; z-index: 1; }
.case--lilac .case__big small { max-width: 17ch; }
.case--lilac .case__drop { position: relative; z-index: 1; }
.case--stats { flex-direction: column; justify-content: center; gap: 22px; padding: 30px; }
.case--stats div { display: grid; }
.case--stats b { font-family: var(--display); font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -0.03em; }
.case--stats span { font-size: 14px; color: var(--on-dark-muted); }
.case-pills { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.case-pills > div { background: var(--white); border-radius: 24px; padding: 18px 22px; text-decoration: none; display: grid; gap: 2px; transition: transform .3s var(--ease), background-color .2s; }

.case-pills b { font-family: var(--display); font-size: 15px; letter-spacing: -0.01em; }
.case-pills span { font-size: 13px; color: var(--muted); }
.cases__cta { margin-top: var(--gap); display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--white); border-radius: var(--r-pill); padding: 10px 10px 10px 32px; }
.cases__cta p { color: var(--muted); }
.cases__cta b { color: var(--ink); }

/* ---------- 9. Этапы ---------- */
.steps__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap); }
.step { position: relative; background: var(--canvas); border-radius: var(--r-tile); padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 8px; min-height: 250px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; right: -24px; top: 50%; margin-top: -18px; width: 36px; height: 36px; z-index: 2;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M12 18h12m-5-5 5 5-5 5' fill='none' stroke='%23121216' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
  border-radius: 50%;
}
.step__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding-bottom: 36px; }
.step__when { display: inline-flex; align-items: center; font-family: var(--display); font-weight: 700; font-size: 13px; background: var(--white); padding: 8px 14px; border-radius: var(--r-pill); white-space: nowrap; }
.step__icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; flex-shrink: 0; }
.step__icon--lime { background: var(--lime); rotate: 6deg; }
.step__icon--lilac { background: var(--lilac); rotate: -5deg; }
.step__icon--peach { background: var(--peach); rotate: 4deg; }
.step__icon--cobalt { background: var(--cobalt); color: var(--white); rotate: -6deg; }
.step__icon--ink { background: var(--ink); color: var(--lime); rotate: 5deg; }
.step__icon--white { background: var(--white); color: var(--orange); rotate: 5deg; }
.step h3 { font-size: 18px; }
.step p { font-size: 15px; color: var(--muted); }
.step--hot { background: var(--orange); color: var(--white); }
.step--hot p { color: rgba(255, 255, 255, .92); }
.step--hot .step__when { background: var(--white); color: var(--orange); }
.steps__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 60px; }
.steps__foot p { color: var(--muted); }

/* ---------- 10. Команда ---------- */
.team__bento { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--gap); }
.team__intro { justify-content: space-between; align-items: flex-start; grid-row: span 2; }
.team__roles { grid-column: 2 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.role { flex-direction: row; align-items: center; gap: 16px; padding: 20px 22px; }
.role:hover { transform: none; }
.role b { display: block; font-family: var(--display); font-size: 16px; letter-spacing: -0.01em; margin-bottom: 2px; }
.role span:not(.role__icon) { font-size: 14px; color: var(--muted); }
.role__icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 18px; background: var(--white); display: grid; place-items: center; font-size: 24px; color: var(--cobalt); rotate: -5deg; }
.role__icon--peach { background: var(--peach); color: var(--ink); rotate: 5deg; }
.team__intro .title { margin-bottom: 28px; }
.person { position: relative; margin: 0; border-radius: var(--r-tile); overflow: hidden; min-height: 360px; }
.person img { position: absolute; bottom: 0; left: 50%; translate: -50% 0; height: 92%; width: auto; max-width: none; transition: scale .6s var(--ease); transform-origin: 50% 100%; }
.person:hover img { scale: 1.04; }
.person::before { content: ""; position: absolute; left: 50%; top: 14%; width: 84%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.person--orange { background: var(--orange); }
.person--cobalt { background: var(--cobalt); }
.person--lilac { background: var(--lime); }
.person--lilac img { height: 90%; }
.person figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; background: var(--white); border-radius: var(--r-inner); padding: 10px 14px; display: grid; }
.person b { font-family: var(--display); font-size: 15px; }
.person span { font-size: 13px; color: var(--muted); }
.trust { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 30px; }
.trust div { display: grid; gap: 4px; align-content: start; }
.trust i { width: 44px; height: 44px; border-radius: 14px; background: var(--ink-2); display: grid; place-items: center; font-size: 22px; color: var(--lime); margin-bottom: 10px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.trust b { font-size: 16px; }
.trust span { font-size: 14px; color: var(--on-dark-muted); }
.trust.tile:hover, .team__intro.tile:hover { transform: none; }

/* ---------- 11. Отзывы ---------- */
.reviews { background-image: radial-gradient(circle at 92% 8%, rgba(255, 255, 255, .12) 0 170px, transparent 171px); }
.chat { height: 640px; overflow: hidden; }
.chat .msg { transition: opacity .15s linear; will-change: opacity, transform; }
.chat__track { display: grid; gap: 18px; padding: 30px 0; animation: chatUp 42s linear infinite; }
.chat:hover .chat__track { animation-play-state: paused; }
@keyframes chatUp { to { transform: translateY(calc(-50% - 9px)); } }
.msg__bubble--peach { background: var(--peach); }
.msg__bubble--lilac { background: var(--lilac); }
.msg__ava--lime { background: var(--lime); color: var(--ink); }
.msg { display: flex; align-items: flex-end; gap: 12px; max-width: 700px; }
.msg--right { margin-left: auto; justify-content: flex-end; }
.msg__ava { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 15px; background: var(--white); color: var(--cobalt); }
.msg__ava--orange { background: var(--orange); color: var(--on-orange); }
.msg__ava--lilac { background: var(--lilac); color: var(--ink); }
.msg__bubble { background: var(--white); color: var(--ink); border-radius: 28px 28px 28px 8px; padding: 20px 24px; }
.msg--right .msg__bubble { border-radius: 28px 28px 8px 28px; }
.msg__bubble p { font-size: 17px; line-height: 1.5; margin-bottom: 8px; }
.msg__bubble small { font-size: 13px; color: var(--muted); font-weight: 500; }
.msg__bubble--lime { background: var(--lime); }
.msg__bubble--lime small { color: #3F4A1E; }
.reviews__grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.reviews__more { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); backdrop-filter: blur(10px); border-radius: var(--r-tile); padding: 26px; display: grid; gap: 10px; justify-items: start; rotate: 2deg; }
.reviews__more b { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; }
.reviews__more p { font-size: 15px; color: rgba(255, 255, 255, .82); margin-bottom: 8px; }
.reviews__avas { display: flex; margin-bottom: 6px; }
.reviews__avas span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 13px; background: var(--white); color: var(--cobalt); margin-left: -10px; box-shadow: 0 0 0 3px var(--cobalt); }
.reviews__avas span:first-child { margin-left: 0; }
.reviews__avas .is-orange { background: var(--orange); color: var(--on-orange); }
.reviews__avas .is-lilac { background: var(--lilac); color: var(--ink); }
.reviews__avas .is-plus { background: var(--lime); color: var(--ink); font-size: 20px; }
.doodle--reviews { width: 150px; height: 150px; right: 230px; bottom: 40px; color: var(--lime); transform: rotate(80deg); }

/* ---------- 12. FAQ ---------- */
.faq.panel { overflow: visible; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq__side { position: sticky; top: 24px; display: grid; gap: 22px; justify-items: start; }
.faq__side .title { margin-bottom: 0; }
.faq__list { display: grid; gap: 8px; }
.qa { background: var(--canvas); border-radius: 26px; transition: background-color .25s; }
.qa[open] { background: var(--lilac); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 76px 22px 26px; font-weight: 600; font-size: 18px; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:focus-visible { outline: 2px solid var(--cobalt); outline-offset: -2px; border-radius: 26px; }
.qa summary.is-mouse:focus-visible, .qa summary:focus:not(:focus-visible) { outline: none; }
.qa summary::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 42px; height: 42px; margin-top: -21px; border-radius: 50%;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 42'%3E%3Cpath d='M14 21h14M21 14v14' stroke='%23121216' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center/100% no-repeat;
  transition: transform .35s var(--ease), background-color .2s;
}
.qa[open] summary::after { transform: rotate(45deg); background-color: var(--orange); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 42'%3E%3Cpath d='M14 21h14M21 14v14' stroke='%23121216' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.qa p { padding: 0 26px 24px; color: #3E3F4A; max-width: 64ch; }

/* ---------- 13. Финал ---------- */
.final { padding: 72px 64px; }
.final::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; border: 70px solid rgba(255, 255, 255, .14); right: -200px; top: -240px; pointer-events: none; }
.final__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.final__title { font-weight: 800; font-size: clamp(34px, 4.4vw, 64px); letter-spacing: -0.035em; line-height: 1.02; margin-bottom: 24px; }
.final__text p { font-size: 18px; max-width: 46ch; margin-bottom: 28px; }
.final__contacts { display: flex; flex-wrap: wrap; gap: 8px; }
.final__contacts a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 20px; background: var(--white); color: var(--ink); padding: 14px 24px 14px 16px; border-radius: var(--r-pill); transition: transform .3s var(--ease); }
.final__contacts a i { width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: var(--on-orange); display: grid; place-items: center; font-size: 18px; }
.final__contacts a:hover { transform: translateY(-2px); }
.final__contacts a { white-space: nowrap; }
@media (max-width: 400px) { .final__contacts a { font-size: clamp(16px, 5vw, 20px); } }
.doodle--final { position: relative; display: block; width: 140px; height: 104px; margin: 20px 40px 0 auto; color: var(--white); transform: rotate(-12deg); }
.final .lead-form { color: var(--ink); background: var(--white); border-radius: 36px; padding: 32px; box-shadow: 0 40px 80px -40px rgba(150, 40, 0, .5); }
.lead-form__done { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 30px 0; }
.lead-form__done b { font-family: var(--display); font-size: 24px; }
.lead-form__done > span:last-child { color: var(--muted); }
.lead-form.is-sent > :not(.lead-form__done) { display: none; }

/* ---------- Подвал ---------- */
.footer { padding: 36px 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer img { width: 112px; }
.footer p { color: var(--on-dark-muted); font-size: 14px; margin-right: auto; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--lime); }
.footer small { width: 100%; color: var(--on-dark-muted); font-size: 13px; }

.footer__contacts { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 28px; font-size: 16px; font-weight: 600; line-height: 1.2; }
.footer__contacts > a { display: block; }
.footer__contacts a { text-decoration: none; }
.footer__contacts a:hover { color: var(--lime); }
.footer__mail { display: inline-grid; line-height: 1.2; }
.footer__mail .topbar__copy { padding: 4px 0 0; color: var(--lime); }
.footer__docs { width: 100%; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 13px; }
.footer__docs a { color: var(--on-dark-muted); }
.footer__docs a:hover { color: var(--white); }
.cookie { position: fixed; z-index: 70; left: 16px; bottom: 16px; max-width: 460px; display: flex; align-items: center; gap: 16px; padding: 16px 16px 16px 20px; border-radius: 24px; background: var(--white); box-shadow: 0 20px 50px -20px rgba(18, 18, 22, .45); font-size: 14px; line-height: 1.45; }
.cookie a { color: var(--cobalt); }
@media (max-width: 640px) { .cookie { left: 8px; right: 8px; bottom: 8px; max-width: none; flex-direction: column; align-items: stretch; } }

/* ---------- Модалка ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(18, 18, 22, .6); backdrop-filter: blur(6px); animation: fade .3s; }
.modal__box { position: relative; isolation: isolate; width: 100%; max-width: 480px; background: var(--white); border-radius: 36px; padding: 40px 32px 30px; animation: pop .45s var(--ease); }
.modal__box::before { content: ""; position: absolute; top: -24px; right: 70px; width: 80px; height: 80px; border-radius: 26px; background: var(--lime); rotate: -12deg; z-index: -1; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--canvas); font-size: 18px; cursor: pointer; display: grid; place-items: center; }
.modal__kicker { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.modal__title { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; font-size: 25px; margin-bottom: 24px; padding-right: 44px; }


/* ---------- Плавающая шапка ---------- */
.topbar { position: fixed; z-index: 60; left: 0; right: 0; top: 0; padding: calc(env(safe-area-inset-top, 0px) + 10px) 12px 0; pointer-events: none; translate: 0 -120%; transition: translate .45s var(--ease); }
.topbar.is-shown { translate: 0 0; }
.topbar__in, .topbar__menu { pointer-events: auto; max-width: 1376px; margin: 0 auto; }
.topbar__in { display: flex; align-items: center; gap: 18px; min-height: 76px; padding: 10px 10px 10px 22px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .86); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); box-shadow: 0 14px 40px -18px rgba(18, 18, 22, .35), inset 0 0 0 1px rgba(18, 18, 22, .06); }
.topbar__logo img { width: 96px; }
.topbar__links { display: flex; gap: 4px; margin: 0 auto; }
.topbar__links a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 16px; border-radius: var(--r-pill); transition: background-color .2s; }
.topbar__links a:hover { background: var(--canvas); }
.topbar__contacts { display: flex; align-items: center; gap: 22px; }
.topbar__contacts .btn--sm { min-height: 52px; padding: 0 24px; font-size: 16px; }
.topbar__mail { display: grid; line-height: 1.2; }
.topbar__mail a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; text-decoration: none; }
.topbar__mail a i { color: var(--orange); font-size: 16px; }
.topbar__copy { justify-self: start; border: 0; background: none; padding: 2px 0 0 22px; font-size: 12px; color: var(--cobalt); cursor: pointer; }
.topbar__copy:hover { text-decoration: underline; }
.topbar__copy.is-done { color: #1E8A3C; }
.topbar__phone { font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.topbar__icon, .topbar__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; place-items: center; font-size: 20px; cursor: pointer; text-decoration: none; }
.topbar__icon { background: var(--orange); color: var(--on-orange); }
.topbar__burger { background: var(--ink); color: var(--white); }
.topbar__menu { margin-top: 8px; display: grid; gap: 4px; padding: 12px; border-radius: var(--r-tile); background: var(--white); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .35); }
.topbar__menu a { padding: 13px 16px; border-radius: var(--r-inner); text-decoration: none; font-weight: 600; font-size: 17px; }
.topbar__menu a:hover { background: var(--canvas); }
.topbar__menu .btn { margin-top: 6px; }
@media (max-width: 1200px) { .topbar__mail { display: none; } }
@media (max-width: 900px) {
  .topbar__links, .topbar__contacts { display: none; }
  .topbar__in { justify-content: space-between; gap: 8px; padding-left: 16px; }
  .topbar__logo { margin-right: auto; }
  .topbar__icon, .topbar__burger { display: grid; }
}
@media (prefers-reduced-motion: reduce) { .topbar { transition: none; } }

/* ---------- Анимации ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }
@keyframes bobA { 50% { translate: 0 -10px; } }
@keyframes bobB { 50% { translate: 0 10px; } }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero__line { animation: rise 1s var(--ease) both; }
.js .hero__line:nth-child(2) { animation-delay: .08s; }
.js .hero__line:nth-child(3) { animation-delay: .16s; }
.js .hero__bottom { animation: rise 1s var(--ease) .26s both; }
.glass--a { animation: bobA 6s ease-in-out infinite; }
.glass--b { animation: bobB 7s ease-in-out infinite; }
.glass--c { animation: bobA 8s ease-in-out .6s infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .chat { overflow-y: auto; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1360px) and (min-width: 901px) {
  .hero__lead { max-width: 44ch; }
  .glass--c { right: 13%; }
}
@media (max-width: 1200px) {
  .panel { padding: 64px 40px; }
  .panel--canvas { padding: 56px 4px; }
  .nav__phone { display: none; }
  .glass--b { right: 8%; top: 300px; }
  .doodle--hero-a { display: none; }
  .flow__grid { grid-template-columns: 1fr 1fr; }
  .flow__arrow { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cases__bento { grid-template-columns: 1fr 1fr; }
  .case--main { grid-column: span 2; }
  .case--stats { grid-column: span 2; flex-direction: row; justify-content: space-between; }
  .case-pills { grid-template-columns: repeat(2, 1fr); }
  .steps__row { grid-template-columns: repeat(3, 1fr); }
  .step::after { display: none; }
  .team__bento { grid-template-columns: repeat(3, 1fr); }
  .team__intro { grid-column: 1 / -1; grid-row: auto; flex-direction: row; align-items: center; gap: 24px; }
  .team__roles { grid-column: 1 / -1; }
    .team__intro .title { margin-bottom: 0; }
  .trust { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav__links, .nav__right { display: none; }
  .nav { gap: 10px; }
  .nav__burger, .nav__call { display: grid; place-items: center; }
  .hero { min-height: 0; padding: 16px 16px 28px; }
  .flow { margin-top: 0; }
  .hero__body { padding: 44px 8px 0; }
  .nav { padding: 0 8px; }
  .hero__bottom { max-width: none; padding-top: 36px; }
  .glass { position: relative; inset: auto; align-self: flex-start; margin-top: 28px; animation: none !important; }
  .glass--b { align-self: flex-end; margin-top: 22px; }
  .glass--c { align-self: flex-start; margin-top: 22px; }
  .glass--a, .glass--c { rotate: 2deg; }
  .glass--b { rotate: -2deg; }
  .doodle--hero-b { display: none; }
  .sticker { position: relative; right: auto; bottom: auto; width: 140px; height: 140px; margin: 28px auto 0 0; }
  .sticker__core { width: 54px; height: 54px; font-size: 24px; }
  .flow { margin: 0; padding: 20px; }
  .leads__grid, .quiz__grid, .faq__grid, .final__grid, .compare__cards, .reviews__grid, .paths__grid { grid-template-columns: minmax(0, 1fr); }
  .vs-badge { position: relative; left: auto; top: auto; translate: none; margin: -34px auto; }
  .vs-card--them, .vs-card--us { rotate: none; }
  .formats__grid { grid-template-columns: 1fr; }
  .plan { min-height: 0; }
  .plan--cobalt { translate: none; }
  .quiz { padding: 32px 20px; }
  .quiz__side { padding: 0 0 70px; }
  .forecast { rotate: none; }
  .quiz__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .faq__side { position: static; }
  .glass--journal { left: 8px; }
  .leads__cta { grid-template-columns: 52px minmax(0, 1fr); }
  .leads__cta-go { grid-column: 1 / -1; text-align: center; }
}

@media (max-width: 640px) {
  .nav__logo img { width: 96px; }
  .topbar__logo img { width: 84px; }
  .footer img { width: 96px; }
  :root { --gap: 8px; }
  body { font-size: 16px; }
  .page { padding: 8px; }
  .panel { padding: 48px 20px; border-radius: 32px; }
  .panel--canvas { padding: 48px 2px; }
  .title { margin-bottom: 28px; }
  .hero { padding: 12px 12px 24px; background-size: 48px 48px; }
  .hero__title { font-size: clamp(32px, 10.4vw, 56px); }
  .hero__line { flex-wrap: wrap; white-space: normal; row-gap: .05em; }
  .inline-chip--search { height: .9em; }
  .inline-chip__field { height: .64em; width: 3.4em; }
  .inline-chip__field i { font-size: .36em; }
  .inline-chip__text { font-size: .3em; }
  .inline-chip__field em { height: .34em; }
  .page, .panel, .hero__body { min-width: 0; }
  .hero__line--sm { font-size: .62em; }
  .hero__lead { font-size: 17px; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { width: 100%; justify-content: space-between; }
  .hero__cta .btn--glass { justify-content: center; }
  .final__title { font-size: clamp(26px, 8.2vw, 34px); }
  .glass { padding: 10px 12px 10px 10px; gap: 10px; border-radius: 20px; }
  .glass__icon { width: 38px; height: 38px; border-radius: 13px; font-size: 18px; }
  .glass b { font-size: 14px; }
  .glass small { font-size: 12px; }
  .glass--a .tag { display: none; }
  .glass--b b { font-size: 18px; }
  .flow__grid { grid-template-columns: 1fr; }
  .flow__item { min-height: 0; }
  .flow__item { padding: 28px 18px 22px; }
  .flow__item > div { height: 72px; }
  .mock-search { font-size: 17px; padding: 0 8px 0 20px; gap: 10px; }
  .mock-search i { font-size: 20px; }
  .mock-search b, .mock-pill b { height: 50px; padding: 0 20px; font-size: 15px; }
  .mock-pill { font-size: 17px; padding: 0 8px 0 22px; }
  .mock-tags { gap: 10px; }
  .mock-tags .tag { font-size: 17px; padding: 11px 18px; }
  .mock-bubble { padding: 0 12px 0 22px; border-radius: 24px; }
  .mock-bubble small { font-size: 14px; }
  .mock-bubble b { font-size: 24px; }
  .mock-bubble em { font-size: 20px; padding: 10px 16px; }
  .marquee__track span { font-size: 16px; }
  .bento, .cases__bento, .case-pills, .trust, .steps__row { grid-template-columns: 1fr; }
  .tile--big, .tile--wide, .case--main, .case--stats { grid-column: auto; grid-row: auto; }
  .tile { padding: 24px; min-height: 0; }
  .tile__icon { margin-bottom: 18px; }
  .tile--big { min-height: 440px; }
  .tile__pills span { font-size: 14px; padding: 10px 16px; }
  .vs-card, .vs-card--us { padding: 26px 20px; }
  .path { padding: 26px 20px; }
  .path .btn { width: 100%; justify-content: space-between; }
  .vs-card li { font-size: 16px; }
  .vs-card--us .btn { width: 100%; justify-content: space-between; }
  .journal { padding: 16px; rotate: none; }
  .journal__sum b { font-size: 24px; }
  .journal li { font-size: 13.5px; }
  .plan { padding: 26px 22px; border-radius: 32px; }
  .plan h3 { font-size: 26px; }
  .quiz__form { padding: 22px 16px; min-height: 0; border-radius: 28px; }
  .quiz__step legend { font-size: 20px; }
  .options { grid-template-columns: 1fr; }
  .options span { min-height: 54px; }
  .case { padding: 24px 20px; }
  .case--stats { flex-direction: column; align-items: flex-start; }
  .case__sofa { position: relative; right: auto; bottom: auto; width: 80%; margin: 12px 0 0 auto; }
  .chart { height: 180px; }
  .cases__cta { flex-direction: column; align-items: stretch; border-radius: var(--r-tile); padding: 22px 20px; }
  .steps__foot { flex-direction: column; align-items: stretch; margin-top: 32px; }
  .cases__cta .btn, .steps__foot .btn { width: 100%; justify-content: space-between; }
  .step { min-height: 0; }
  .step__top { padding-bottom: 20px; }
  .team__bento { grid-template-columns: 1fr 1fr; }
  .team__intro { flex-direction: column; align-items: flex-start; }
  .team__roles { grid-template-columns: 1fr; }
    .team__intro .btn { width: 100%; }
  .person { min-height: 230px; }
  .person:nth-of-type(3) { grid-column: span 2; min-height: 300px; }
  .msg__ava { width: 40px; height: 40px; font-size: 13px; }
  .msg__bubble { padding: 16px 18px; }
  .msg__bubble p { font-size: 15.5px; }
  .doodle--reviews { display: none; }
  .chat { height: 560px; }
  .reviews__more { rotate: none; }
  .qa summary { font-size: 16px; padding: 18px 64px 18px 20px; }
  .qa p { padding: 0 20px 20px; }
  .final { padding: 44px 16px 16px; }
  .final .lead-form { padding: 22px 18px; border-radius: 28px; }
  .doodle--final { display: none; }
  .footer { padding: 28px 22px; }
  .modal__box { padding: 34px 20px 22px; border-radius: 30px; }
}

/* Узкие телефоны (до 400px): кнопка первого экрана компактнее, на 320 текст переносится */
@media (max-width: 400px) {
  .hero__cta .btn--lg { font-size: 15px; gap: 10px; padding-left: 20px; white-space: normal; text-align: left; line-height: 1.25; }
}
/* Телефоны: кнопки квиза делят строку, «Дальше» / «Получить прогноз» занимают остаток и не вылезают из формы */
@media (max-width: 640px) {
  .quiz__nav .btn { min-width: 0; padding-inline: 16px; white-space: normal; line-height: 1.2; }
  .quiz__next, .quiz__submit { flex: 1; }
}

/* Самые узкие телефоны (до 340px, например 320): меньше внутренние отступы, длинные подписи переносятся */
@media (max-width: 340px) {
  .btn, .tag { white-space: normal; text-align: center; }
  .path, .forecast { padding: 22px 16px; }
  .journal__sum, .forecast__nums { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; }
  .journal__sum div, .forecast__nums div { padding: 12px 10px; min-width: 0; overflow-wrap: anywhere; }
  .journal__sum b { font-size: 24px; }
  .forecast__nums b { font-size: 22px; }
  .quiz__form { padding-inline: 16px; }
}
