.ambassador-landing-rest {
  --bg: var(--color-bg);
  --surface: #faf9f6;
  --ink: var(--color-text);
  --grey: var(--color-muted);
  --line: var(--color-line);
  --accent: var(--color-accent);
  --density: 1.3;
  --type-space-s: 0.5em;
  --type-space-m: 0.75em;
  --flow-related: clamp(16px, 1.7vw, 24px);
  --flow-component: clamp(32px, 3.35vw, 48px);
  --flow-group: clamp(48px, 4.45vw, 64px);
  --pad-x: var(--container-pad);
  --sec-y: clamp(80px, 9vw, 128px);
  --max: var(--container-max);
  color: var(--ink);
  font-size: 18px;
  line-height: var(--density);
}

.ambassador-landing-rest *,
.ambassador-landing-rest *::before,
.ambassador-landing-rest *::after {
  box-sizing: border-box;
}

.ambassador-landing-rest .wrap {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.ambassador-landing-rest .section {
  padding-block: var(--sec-y);
}

.ambassador-landing-rest h2,
.ambassador-landing-rest .h2 {
  max-width: 30ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 3.8vw, 50px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.ambassador-landing-rest h3,
.ambassador-landing-rest p,
.ambassador-landing-rest figure {
  margin: 0;
}

.ambassador-landing-rest .lead {
  max-width: 34em;
  line-height: var(--density);
}

.ambassador-landing-rest h2 + .lead,
.ambassador-landing-rest .h2 + .lead,
.ambassador-landing-rest h2 + .caption,
.ambassador-landing-rest .h2 + .caption,
.ambassador-landing-rest .logos + .caption {
  margin-top: var(--flow-related);
}

.ambassador-landing-rest .caption {
  max-width: 46em;
  color: var(--grey);
  font-size: 13px;
  line-height: var(--density);
}

.ambassador-landing-rest .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.ambassador-landing-rest .btn--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.ambassador-landing-rest .btn--wide {
  width: 100%;
}

.ambassador-landing-rest .link-inline {
  color: var(--ink);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--ink) 22%, transparent);
  text-underline-offset: 0.22em;
}

@media (hover: hover) {
  .ambassador-landing-rest .btn--primary:hover {
    border-color: #d82b00;
    background: #d82b00;
  }

  .ambassador-landing-rest .btn--ghost:hover {
    background: var(--ink);
    color: #fff;
  }
}

@media (max-width: 767px) {
  .ambassador-landing-rest {
    --sec-y: 80px;
    font-size: 17px;
  }

  .ambassador-landing-rest h2,
  .ambassador-landing-rest .h2 {
    font-size: clamp(30px, 8.4vw, 38px);
  }
}

.steps{
  margin-top: var(--flow-component);
  display: grid;
  gap: 0;
}
/* мобайл: номер слева через обе строки, название и описание — справа от него */
.step{
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 20px;
  row-gap: 6px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
}
.step:last-child{ border-bottom: 1px solid var(--line); }
.step__n{
  grid-column: 1;
  grid-row: 1 / span 2;
  font-size: 28px;
  font-weight: 700;
  color: var(--grey);
  font-variant-numeric: tabular-nums;
  line-height: calc(var(--density) / 1.1);
  min-width: 2.2ch;
}
.step__t{ grid-column: 2; font-weight: 600; line-height: var(--density); }
.step__d{ grid-column: 2; color: var(--grey); line-height: var(--density); }
@media (min-width: 700px){
  .step{ grid-template-columns: auto 260px 1fr; column-gap: 32px; padding-block: 32px; align-items: baseline; }
  .step__n{ grid-row: 1; font-size: 40px; }
  .step__t{ grid-column: 2; grid-row: 1; }
  .step__d{ grid-column: 3; grid-row: 1; }
}

/* ---------- доказательства ---------- */
.proof-grid{
  margin-top: var(--flow-component);
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px){
  .proof-grid{ grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
.proof__num{ font-size: clamp(40px, 7vw, 68px); font-weight: 700; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.proof__cap{ margin-top: var(--type-space-s); font-size: 15px; line-height: var(--density); color: var(--grey); }
.proof-grid--metrics{
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.proof-grid--metrics .proof{
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  min-width: 0;
  padding: clamp(20px, 2.5vw, 32px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 699px){
  .proof-grid--metrics{ grid-auto-rows: 1fr; }
}
.proof-grid--metrics .proof__num{
  min-height: 1em;
  font-size: clamp(36px, 5vw, 64px);
  white-space: nowrap;
}
.proof-grid--metrics .proof__cap{
  max-width: 24em;
  margin-top: clamp(12px, 1.4vw, 18px);
}

/* динамика: тонкие столбики, чистый SVG-минимум без библиотек */
/* ограничиваем ширину: на широком экране название и число разъезжаются
   по краям 1240 px и перестают читаться как пара */
.chart{
  margin-top: var(--flow-group);
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 860px;
}
.chart__head{ display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; justify-content: space-between; }
.chart__title{ font-weight: 700; }
.chart__bars{
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: end;
  height: 200px;
}
.bar{ display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.bar__v{ font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; margin-bottom: 8px; }
/* столбик тонкий: это акцент на цифре, а не заливка ради заливки */
.bar__fill{ width: 100%; max-width: 56px; background: var(--ink); border-radius: 2px 2px 0 0; }
.bar:last-child .bar__fill{ background: var(--accent); }
.bar__l{ margin-top: 10px; font-size: 13px; color: var(--grey); }
@media (min-width: 700px){
  .chart__bars{ max-width: 560px; gap: 24px; }
  .bar__v{ font-size: 26px; }
  .bar__fill{ max-width: 64px; }
}

.platforms{
  margin-top: var(--flow-component);
  border-top: 1px solid var(--line);
  max-width: 720px;
}
.platform{
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  justify-content: space-between;
  align-items: baseline;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.platform__n{ font-weight: 700; }
.platform__v{ font-variant-numeric: tabular-nums; color: var(--grey); }
.platform__v b{ color: var(--ink); }

/* ---------- актив vs аренда ---------- */
.compare{
  margin-top: var(--flow-component);
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.compare__col{ padding-block: 32px; border-bottom: 1px solid var(--line); }
.compare__t{ font-weight: 700; font-size: 21px; }
.compare__d{ margin-top: 8px; color: var(--grey); }
@media (min-width: 700px){
  .compare{ grid-template-columns: 1fr 1fr; }
  .compare__col{ padding-block: 40px; }
  .compare__col:first-child{ padding-right: 40px; border-right: 1px solid var(--line); }
  .compare__col:last-child{ padding-left: 40px; }
}
.keeps{ margin-top: var(--flow-component); display: grid; gap: 0; }
.keep{ padding-block: 24px; border-bottom: 1px solid var(--line); }
.keep__t{ font-weight: 700; }
.keep__d{ margin-top: 6px; color: var(--grey); max-width: 42em; }
@media (min-width: 700px){
  .keeps{ grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 1px solid var(--line); }
  .keep{ border-bottom: 0; padding-top: 24px; }
}

/* ---------- логотипы ---------- */
.logos{
  margin-top: var(--flow-component);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px 40px;
}
/* Оптическая высота, а не физическая: жирные плотные знаки (ПИК, Брусника)
   при равной высоте кажутся крупнее лёгких (MR Private), а знак в рамке
   (Level) — мельче, потому что буквы занимают лишь часть квадрата.
   Поэтому у каждого свой коэффициент — выровнено на глаз по скриншоту. */
.logos img{
  height: 21px;
  width: auto;
  opacity: .82;
}
.logos img[data-optical="heavy"]{ height: 18px; }
.logos img[data-optical="light"]{ height: 22px; }
.logos img[data-optical="boxed"]{ height: 33px; }
@media (min-width: 700px){
  .logos{ gap: 40px 56px; }
  .logos img{ height: 25px; }
  .logos img[data-optical="heavy"]{ height: 21px; }
  .logos img[data-optical="light"]{ height: 26px; }
  .logos img[data-optical="boxed"]{ height: 39px; }
}

/* ---------- подвал ---------- */
.footer{
  padding-block: 48px calc(48px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--grey);
  font-size: 13px;
}
.footer a{ display: inline-block; padding-block: 14px; }
/* юридическая сноска — намеренно самым мелким кеглем */
.legal{
  margin-top: 20px;
  font-size: 10px;
  line-height: 1.4;
  color: #A9A9A5;
  max-width: 64em;
}

/* ---------- появление ---------- */
.reveal{ opacity: 0; transform: translateY(12px); }
.js .reveal{ transition: opacity .4s ease-out, transform .4s ease-out; }
.reveal.is-in{ opacity: 1; transform: none; }
.no-js .reveal{ opacity: 1; transform: none; }

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

html{ scroll-behavior: smooth; }

/* ═══════════════════════════════════════════════════════════════
   ИТЕРАЦИЯ 2: новые блоки и три инфографики
   ═══════════════════════════════════════════════════════════════ */

.br-desk{ display: none; }
@media (min-width: 700px){ .br-desk{ display: inline; } }

.hero__cta{ margin-top: 32px; }
@media (min-width: 700px){ .hero__cta{ margin-top: 40px; } }

/* ---------- подсказка про звук ---------- */
.sound-hint{
  display: flex;
  align-items: flex-start;   /* текст в две строки — иконка держится первой */
  gap: 10px;
  margin-top: 32px;
  font-size: 15px;
  color: var(--grey);
}
.sound-hint svg{ flex: none; color: var(--ink); margin-top: 3px; }

/* ---------- блок «по месяцам» ---------- */
.months{
  margin-top: var(--flow-component);
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-inline: calc(var(--pad-x) * -1);
  padding-inline: var(--pad-x);
  padding-block: 4px;
}
.months::-webkit-scrollbar{ display: none; }
.month{
  position: relative;
  flex: 0 0 auto;
  width: 80%;
  max-width: 300px;
  scroll-snap-align: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(26,26,26,.02);
}
.month::before{
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: #A8A8A4;
}
.month:nth-child(2)::before{ background: #7E7E79; }
.month:nth-child(3)::before{ background: color-mix(in srgb, var(--accent) 55%, #7E7E79); }
.month:nth-child(4)::before,
.month:nth-child(5)::before{ background: var(--accent); }
.month:nth-child(4),
.month:nth-child(5){
  border-color: color-mix(in srgb, var(--accent) 22%, var(--line));
}
.month__n{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  font-variant-numeric: tabular-nums;
}
.month__t{ margin-top: 8px; font-size: 21px; font-weight: 650; line-height: 1.12; }
.month__d{ margin-top: 12px; font-size: 15px; line-height: var(--density); color: var(--grey); flex: 1; }
.month__v{
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: clamp(25px, 2.3vw, 30px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.month:nth-child(4) .month__v,
.month:nth-child(5) .month__v{ color: var(--accent); }
.month__v span{ display: block; margin-top: 6px; font-size: 13px; font-weight: 400; color: var(--grey); letter-spacing: 0; }
.month__v--none{ color: var(--line); }
@media (min-width: 1000px){
  .months{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
  .month{ width: auto; max-width: none; }
}

/* баланс контента */
.balance{
  margin-top: var(--flow-group);
  max-width: 920px;
  padding: clamp(20px, 3.4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(26,26,26,.025);
}
.balance__head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.balance__eyebrow{
  margin-bottom: 8px;
  color: var(--grey);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.balance__title{ max-width: 24em; font-size: 21px; font-weight: 650; line-height: 1.2; }
.balance__direction{
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 190px;
  padding-top: 4px;
  color: var(--grey);
  font-size: 12px;
}
.balance__direction i{
  position: relative;
  flex: 1;
  height: 1px;
  background: var(--line);
}
.balance__direction i::after{
  content: "";
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--grey);
  border-right: 1px solid var(--grey);
  transform: rotate(45deg);
}
.balance__legend{
  display: flex;
  align-items: center;
  gap: 10px 22px;
  flex-wrap: wrap;
  margin-top: 24px;
  color: var(--grey);
  font-size: 13px;
}
.balance__legend span{ display: inline-flex; align-items: center; gap: 7px; }
.balance__legend i{ width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.balance__legend .k-a{ background: var(--ink); }
.balance__legend .k-b{ background: #858581; }
.balance__legend .k-c{ background: var(--accent); }
.balance__chart{
  display: grid;
  gap: 18px;
  margin-top: 30px;
}
.balance__line{
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}
.balance__row{
  display: grid;
  margin: 0;
  color: var(--grey);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
.balance__row strong{ color: var(--ink); font-size: 20px; font-weight: 650; }
.balance__bar{
  display: flex;
  gap: 2px;
  height: 40px;
  overflow: hidden;
  border-radius: 6px;
  background: #E7E6E1;
  font-variant-numeric: tabular-nums;
}
.balance__seg{
  display: grid;
  place-items: center;
  min-width: 34px;
  color: #fff;
  font-size: 12px;
  font-weight: 650;
}
.balance__seg--a{ background: var(--ink); }
.balance__seg--b{ background: #858581; }
.balance__seg--c{ background: var(--accent); }
.balance__note{
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--grey);
  font-size: 13px;
  line-height: var(--density);
}
@media (max-width: 559px){
  .balance__head{ display: grid; gap: 20px; }
  .balance__direction{ width: 100%; flex-basis: auto; }
  .balance__line{ grid-template-columns: 54px minmax(0, 1fr); gap: 12px; }
  .balance__bar{ height: 36px; }
  .balance__seg{ min-width: 28px; font-size: 11px; }
}

/* ---------- инфографика 1: столбики роста ---------- */
.chart--bars{ margin-top: var(--flow-group); max-width: none; }
.chart__hint{ font-size: 13px; color: var(--grey); }
@media (min-width: 700px){ .chart--bars .chart__hint{ display: none; } }

.bars{ margin-top: 28px; }
.bars__scroll{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-inline: calc(var(--pad-x) * -1);
  padding-inline: var(--pad-x);
}
.bars__scroll::-webkit-scrollbar{ display: none; }
.bars__inner{
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 220px;
  min-width: 568px;
}
.bars__inner i{
  flex: 1 1 auto;
  height: var(--bar);
  min-width: 6px;
  background: #DCDCD8;
  border-radius: 1px 1px 0 0;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: center bottom;
  transition:
    transform 650ms cubic-bezier(.2, .8, .2, 1),
    opacity 160ms ease-out;
  transition-delay: calc(var(--i) * 22ms);
}
.bars__inner i.is-over{ background: var(--ink); }
.bars__inner i.is-record{ background: var(--accent); }
.growth-chart.is-animated .bars__inner i,
.no-js .bars__inner i{
  opacity: 1;
  transform: scaleY(1);
}
.bars__threshold{
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 9.3%;
  border-top: 1px dashed #B8B8B4;
  pointer-events: none;
}
.bars__threshold span{
  position: absolute;
  left: 0;
  top: -18px;
  padding-right: 6px;
  background: var(--bg);
  color: var(--grey);
  font-size: 12px;
  white-space: nowrap;
}
@media (max-width: 699px){
  .chart--bars .chart__hint{ display: none; }
  .bars__scroll{
    width: 100%;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
  .bars__inner{
    width: 100%;
    min-width: 0;
    padding-right: 6px;
    gap: 1px;
  }
  .bars__inner i{
    flex: 1 1 0;
    min-width: 0;
  }
}
@media (min-width: 700px){
  .bars__scroll{ overflow: visible; margin-inline: 0; padding-inline: 0; }
  .bars__inner{ height: 300px; min-width: 0; gap: 3px; }
  .bars__inner i{ min-width: 0; }
}
@media (prefers-reduced-motion: reduce){
  .bars__inner i{
    opacity: 1;
    transform: scaleY(1);
    transition: none;
  }
}
/* ---------- инфографика 2: динамика и прогноз ---------- */
.chart--line{
  margin-top: var(--flow-group);
  max-width: 920px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(26,26,26,.025);
}
.chart--line + p{ margin-top: var(--flow-component); }
.line-note{
  margin-top: 20px;
  font-size: 16px;
  line-height: var(--density);
  color: var(--grey);
  max-width: 40em;
}
.line-note strong{ color: var(--ink); }

.linecard__head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.linecard__head > div:first-child{ display: grid; gap: 6px; }
.linecard__eyebrow{
  color: var(--grey);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.linecard__head strong{ font-size: 20px; font-weight: 600; line-height: 1.2; }
.linecard__metric{ text-align: right; }
.linecard__metric b{
  display: block;
  color: var(--accent);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
  letter-spacing: -.02em;
}
.linecard__metric span{ display: block; margin-top: 6px; color: var(--grey); font-size: 12px; }
.linecard__keys{
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 24px;
  color: var(--grey);
  font-size: 13px;
}
.linecard__keys span{ display: inline-flex; align-items: center; gap: 8px; }
.linecard__keys i{ display: inline-block; width: 24px; height: 3px; border-radius: 99px; }
.linecard__keys .key-fact{ background: var(--ink); }
.linecard__keys .key-forecast{
  height: 0;
  border-top: 2px dashed #A8A8A4;
  border-radius: 0;
}

.linechart{
  position: relative;
  margin-top: 20px;
  padding-bottom: 24px;
  overflow: hidden;
}
.linechart__axis{
  position: absolute;
  z-index: 2;
  color: var(--grey);
  font-size: 12px;
  line-height: 1;
  pointer-events: none;
}
.linechart__axis--y{ top: 4px; left: 0; }
.linechart__axis--x{ right: 0; bottom: 2px; }
.linechart__svg{
  display: block;
  width: 100%;
  height: 220px;
  overflow: visible;
}
@media (min-width: 700px){ .linechart__svg{ height: 280px; } }

.lc-band{ fill: color-mix(in srgb, var(--accent) 7%, var(--bg)); }
.lc-fact-area{ fill: color-mix(in srgb, var(--ink) 8%, transparent); }
.lc-forecast{
  fill: none;
  stroke: #B8B8B4;
  stroke-width: 2;
  stroke-dasharray: 7 6;
  vector-effect: non-scaling-stroke;
}
.lc-fact{
  fill: none;
  stroke: var(--ink);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}
.lc-now-line{
  stroke: color-mix(in srgb, var(--accent) 35%, transparent);
  stroke-width: 1;
  stroke-dasharray: 4 5;
  vector-effect: non-scaling-stroke;
}
.lc-mark{ stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; display: none; }
.lc-dot{ fill: var(--ink); }
.lc-dot--last{ fill: var(--accent); }
.lc-now-label{
  position: absolute;
  left: 33.333%;
  top: 8px;
  transform: translateX(-50%);
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.linechart__labels{ position: relative; height: 54px; margin-top: 12px; }
.lc-l{
  position: absolute;
  top: 0;
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.lc-l i{ display: block; margin-top: 4px; font-size: 12px; font-weight: 400; font-style: normal; color: var(--grey); }
.lc-l--now{ color: var(--accent); }
.lc-l--end{ text-align: right; }
.lc-l--mark{ display: none; }
@media (min-width: 700px){
  .lc-l{ font-size: 20px; }
  .lc-l--mark{ display: block; font-size: 12px; font-weight: 400; transform: translateX(-50%); }
  .lc-mark{ display: inline; }
}
.lc-badge{
  position: absolute;
  top: 8px; right: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  border: 1px dashed #B8B8B4;
  border-radius: 999px;
  padding: 4px 10px;
  background: color-mix(in srgb, var(--grey) 7%, var(--bg));
}

@media (max-width: 559px){
  .linecard__head{ display: grid; gap: 20px; }
  .linecard__metric{ text-align: left; }
  .linecard__keys{ display: grid; gap: 10px; }
}

/* Статичный SVG-график: все слои сразу находятся в финальном состоянии.
   Это исключает артефакты dash-анимации на серверной версии и разных GPU. */
.chart--line .lc-fact{
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  animation: none;
}
.chart--line .lc-forecast{
  opacity: 1;
  animation: none;
  transition: none;
}
.chart--line .lc-band,
.chart--line .lc-fact-area,
.chart--line .lc-dot{
  opacity: 1;
  animation: none;
  transition: none;
}

/* ---------- возрастные полосы ---------- */
.audience-chart{
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(26,26,26,.025);
}
.audience-chart__head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.audience-chart__head > div:first-child{ display: grid; gap: 6px; }
.audience-chart__eyebrow{
  color: var(--grey);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.audience-chart__head strong{ font-size: 19px; font-weight: 600; line-height: 1.2; }
.audience-chart__total{ flex: none; text-align: right; }
.audience-chart__total b{
  display: block;
  color: var(--accent);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1;
  letter-spacing: -.02em;
}
.audience-chart__total span{ display: block; margin-top: 6px; color: var(--grey); font-size: 12px; }
.age-pie{
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 56px);
  margin-top: 28px;
}
.age-pie__chart{
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    #D84A2B 0 44%,
    #6F88A6 44% 77%,
    #C79552 77% 94%,
    #D8D8D3 94% 100%
  );
  box-shadow: inset 0 0 0 1px rgba(26,26,26,.05);
  opacity: 0;
  transform: rotate(-35deg) scale(.72);
  transition:
    transform .85s cubic-bezier(.2,.8,.2,1),
    opacity .25s ease-out;
}
.audience-chart.is-in .age-pie__chart,
.no-js .audience-chart .age-pie__chart{
  opacity: 1;
  transform: rotate(0) scale(1);
}
.age-pie__legend{
  display: grid;
  border-top: 1px solid var(--line);
}
.age-pie__item{
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.age-pie__item span{ min-width: 0; font-size: 15px; }
.age-pie__item b{
  font-size: 20px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.age-pie__item--muted{ color: var(--grey); }
.age-pie__key{
  width: 10px;
  height: 10px;
  border-radius: 2px;
}
.age-pie__key--a{ background: #D84A2B; }
.age-pie__key--b{ background: #6F88A6; }
.age-pie__key--c{ background: #C79552; }
.age-pie__key--d{ background: #D8D8D3; border: 1px solid #CCCCC7; }
.ambassador-landing-rest .audience-chart__note{ margin-top: clamp(28px, 2.4vw, 36px); }

@media (max-width: 699px){
  .age-pie{
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 28px;
  }
  .age-pie__chart{ width: min(100%, 250px); }
  .age-pie__legend{ width: 100%; }
}
@media (prefers-reduced-motion: reduce){
  .age-pie__chart{
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- инфографика 3-мини: аренда против актива ---------- */
.rentvs{
  margin-top: var(--flow-component);
  display: grid;
  gap: 32px;
}
@media (min-width: 620px){ .rentvs{ grid-template-columns: 1fr 1fr; gap: 40px; } }
.rentvs__col{ margin: 0; }
.rentvs__plot{
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 130px;
  border-bottom: 1px solid var(--line);
}
.rentvs__plot i{ flex: 1; border-radius: 2px 2px 0 0; }
.rentvs__plot--rent i{ background: #D6D6D3; }
.rentvs__plot--asset i{ background: #C4C4C0; }
.rentvs__plot--asset i.is-last{ background: var(--accent); }
/* бюджет кончился: последние столбики остаются пустыми контурами */
.rentvs__plot--rent i.is-gone{
  background: transparent;
  border: 1px dashed #C4C4C0;
  border-bottom: 0;
}
.rentvs__col figcaption{ margin-top: var(--type-space-m); font-size: 16px; color: var(--grey); line-height: var(--density); }
.rentvs__col figcaption strong{ display: block; color: var(--ink); font-size: 18px; margin-bottom: 4px; }

/* ---------- экономика ---------- */
.econ{
  margin-top: var(--flow-component);
  max-width: 820px;
  padding: clamp(20px, 3.4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(26,26,26,.025);
}
.econ__head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--grey);
  font-size: 13px;
  line-height: 1.3;
}
.econ__head > span{ text-transform: uppercase; letter-spacing: .08em; }
.econ__head strong{
  padding: 7px 10px;
  border-radius: 999px;
  background: #F3F3F1;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.econ__row{ padding-top: clamp(24px, 3vw, 32px); }
.econ__row + .econ__row{ margin-top: 0; }
.econ__top{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
}
.econ__nm{ font-size: 16px; font-weight: 600; }
.econ__v{
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.econ__v--accent{ color: var(--accent); }
.econ__track{
  height: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: #F3F3F1;
}
.econ__fill{
  display: block;
  height: 100%;
  border-radius: inherit;
  transform-origin: left;
}
.econ__fill--full{ width: 100%; background: var(--ink); }
.econ__fill--ours{ width: 18.33%; min-width: 28px; background: var(--accent); }
.econ__meta{
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  color: var(--grey);
  font-size: 14px;
  line-height: 1.35;
}
.econ__meta strong{ color: var(--ink); font-weight: 600; white-space: nowrap; }
.econ__row--ours .econ__meta strong{ color: var(--accent); }
.econ__saving{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: clamp(28px, 3.5vw, 40px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--grey);
  font-size: 14px;
}
.econ__saving strong{
  color: var(--accent);
  font-size: clamp(22px, 3vw, 32px);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
@media (max-width: 560px){
  .econ__head{ align-items: flex-start; flex-direction: column; }
  .econ__head strong{ white-space: normal; }
  .econ__top{ align-items: flex-start; flex-direction: column; gap: 4px; }
  .econ__meta{ align-items: flex-start; flex-direction: column; gap: 3px; }
  .econ__saving{ align-items: flex-start; flex-direction: column; gap: 4px; }
}

/* ---------- сетки плашек ---------- */
.proof-grid{ grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
.proof-grid--metrics{ gap: 0; }
.proof-grid--3{ grid-template-columns: 1fr; }
@media (min-width: 700px){
  .proof-grid{ grid-template-columns: repeat(4, 1fr); }
  .proof-grid--3{ grid-template-columns: repeat(3, 1fr); }
}
.keeps--tight{ margin-top: var(--flow-component); }

/* слова с дефисом браузер рвёт по нему: «AI-\nинфлюенсеры» на узком экране */
.nowrap{ white-space: nowrap; }

/* ═══════════════════════════════════════════════════════════════
   ИТЕРАЦИЯ 3: фото в hero на мобиле, новые блоки, правки композиции
   ═══════════════════════════════════════════════════════════════ */

/* переносы: br-m работает только на мобиле, br-d — только на десктопе */
.br-m{ display: inline; }
.br-d{ display: none; }
@media (min-width: 700px){
  .br-m{ display: none; }
  .br-d{ display: inline; }
}

/* ---------- hero ---------- */
.hero__brand{ margin-bottom: 28px; }          /* было впритык к заголовку */
@media (min-width: 1000px){ .hero__brand{ margin-bottom: 40px; } }

.hero__sub{
  margin-top: 22px;
  /* мера строки, а не ручные <br>: переносы получаются ровными сами */
  max-width: 21em;
  font-size: 17px;
  line-height: var(--density);
  text-wrap: pretty;
}
@media (min-width: 1000px){ .hero__sub{ margin-top: 32px; font-size: 18px; max-width: 26em; } }

/* на мобиле кадр показывается сразу — он и есть доказательство продукта */
.hero__media{
  display: block;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #F4F4F2;
  aspect-ratio: 4 / 3;
}
.hero__media img{ width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; display: block; }

.hero__foot{ margin-top: 4px; }
.stats{ gap: 24px; }
.stat__cap{ max-width: none; }

@media (min-width: 1000px){
  .hero__inner{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    grid-template-rows: auto auto;
    column-gap: 72px;                 /* было 48 — заголовок упирался в картинку */
    align-items: start;
  }
  .hero__text{ grid-column: 1; grid-row: 1; }
  .hero__media{
    grid-column: 2; grid-row: 1 / span 2;
    align-self: start;            /* верх картинки = верх заголовка */
    aspect-ratio: 4 / 5;
    background: none;
    /* компенсируем внутренний выносной элемент строки заголовка:
       оптический верх прописных букв ниже границы блока на ~0.14em */
    margin-top: calc(0.14em * 76 / 16 * 1px * 0);
  }
  .hero__text{ align-self: start; }
  .hero__foot{ grid-column: 1; grid-row: 2; margin-top: 56px; }
}
@media (min-width: 1000px){
  /* на десктопе заголовок в две строки, а не в три: колонка сузилась под картинку */
  h1, .h1{ font-size: clamp(48px, 5.4vw, 76px); }
}

/* ---------- широкий заголовок (проблема) ---------- */
.h2--wide{ max-width: 28ch; }
@media (min-width: 1000px){ .h2--wide{ max-width: 30ch; } }
.h2--problem{ max-width: none; }

/* ---------- две колонки текст + график ---------- */
.cols{ margin-top: var(--flow-component); display: grid; gap: 40px; }
.cols__c p + p{ margin-top: 20px; }
.cols__c{ max-width: 34em; font-size: 17px; line-height: var(--density); }
@media (min-width: 900px){
  .cols{
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "copy compare"
      "trend compare";
    column-gap: 64px;
    row-gap: 32px;
    align-items: start;
  }
  .cols__c{ grid-area: copy; }
  .gap-chart{ grid-area: compare; }
  .trend{ grid-area: trend; margin: 0; }
}

.gap-chart{
  margin: 0;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(26,26,26,.025);
}
.gap-chart__head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.gap-chart__head > span{
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--grey);
}
.gap-chart__head strong{
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: 13px;
  font-weight: 400;
  color: var(--grey);
  white-space: nowrap;
}
.gap-chart__head strong b{ color: var(--accent); font-size: 28px; line-height: 1; }
.gap-chart__row{ padding-top: 24px; }
.gap-chart__row + .gap-chart__row{
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.gap-chart__meta{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}
.gap-chart__nm{ font-size: 17px; font-weight: 600; }
.gap-chart__value{ display: flex; align-items: baseline; gap: 7px; text-align: right; }
.gap-chart__value b{ font-size: 28px; font-weight: 650; line-height: 1; font-variant-numeric: tabular-nums; }
.gap-chart__value span{ color: var(--grey); font-size: 12px; white-space: nowrap; }
.gap-chart__bar{
  height: 20px;
  overflow: hidden;
  border-radius: 999px;
  background: #E7E6E1;
}
.gap-chart__bar i{
  display: block;
  width: var(--gap-value);
  height: 100%;
  border-radius: inherit;
  background: #A8A8A4;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.gap-chart__bar i.is-ours{ background: var(--accent); transition-delay: .15s; }
.gap-chart.is-in .gap-chart__bar i,
.no-js .gap-chart__bar i{ transform: scaleX(1); }
.gap-chart__note{
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--grey);
  font-size: 13px;
  line-height: var(--density);
}
@media (max-width: 559px){
  .gap-chart__head{ display: grid; gap: 14px; }
  .gap-chart__head strong{ justify-content: flex-start; }
  .gap-chart__meta{ align-items: flex-start; }
  .gap-chart__value{ display: grid; gap: 4px; }
}
@media (prefers-reduced-motion: reduce){
  .gap-chart__bar i{ transform: scaleX(1); transition: none; }
}

/* ---------- универсальная раскладка «текст + медиа» ---------- */
.split{ display: grid; gap: 40px; }
.split__text{ min-width: 0; }
.split__media{ margin: 0; }
.split__media--framed{ border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.split__media img{ width: 100%; height: auto; display: block; }
.split__media figcaption{ padding: 14px 16px; font-size: 13px; color: var(--grey); }
.split__media--phone{
  position: relative;
  justify-self: center;
  width: min(100%, 360px);
  padding: 9px;
  border: 1px solid #A8A8A5;
  border-radius: 58px;
  background: linear-gradient(145deg, #F6F6F4 0%, #A8A8A5 48%, #F4F4F2 100%);
  box-shadow: 0 24px 54px rgba(26, 26, 26, .14), inset 0 0 0 1px rgba(255, 255, 255, .8);
}
.split__media--phone::before,
.split__media--phone::after{
  content: "";
  position: absolute;
  right: -3px;
  z-index: -1;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: #858582;
}
.split__media--phone::before{ top: 150px; height: 74px; }
.split__media--phone::after{ top: 242px; height: 48px; }
.phone-screen{
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  border-radius: 49px;
  background: var(--ink);
}
.phone-screen img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.phone-screen__island{
  position: absolute;
  top: 14px;
  left: 50%;
  width: 31%;
  height: 30px;
  border-radius: 999px;
  background: #050505;
  transform: translateX(-50%);
  box-shadow: inset -8px 0 12px rgba(255, 255, 255, .025);
}
@media (min-width: 900px){
  .split{ grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: center; }
  .split--flip{ grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
}
@media (max-width: 420px){
  .split__media--phone{ width: min(92%, 320px); padding: 7px; border-radius: 50px; }
  .phone-screen{ border-radius: 43px; }
  .phone-screen__island{ top: 12px; height: 26px; }
}
.split__side{ display: grid; gap: 32px; }
.side-num{ max-width: 26em; }
.split--flip .side-num{
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #FAFAF9;
}

/* Геоблок: сначала вводный текст, затем данные. */
.split--flip{ margin-top: var(--flow-component); }

/* ---------- три кадра: просмотр → заявка ---------- */
.flow{
  margin-top: var(--flow-component);
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-inline: calc(var(--pad-x) * -1);
  padding-inline: var(--pad-x);
  padding-block: 4px;
}
.flow::-webkit-scrollbar{ display: none; }
.flow + .lead{ margin-top: var(--flow-component); }
.flow__card{
  flex: 0 0 auto;
  width: 74%;
  max-width: 320px;
  margin: 0;
  scroll-snap-align: center;
}
.flow__card img{
  width: 100%; height: auto;
  display: block;               /* мокап телефона несёт свою рамку */
}
.flow__phone{
  position: relative;
  width: min(100%, 330px);
  margin-inline: auto;
  padding: 8px;
  border: 1px solid #050505;
  border-radius: 54px;
  background: linear-gradient(145deg, #050505 0%, #2B2B2B 48%, #080808 100%);
  box-shadow: 0 20px 42px rgba(26, 26, 26, .18), inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.flow__phone::before,
.flow__phone::after{
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #050505;
}
.flow__phone::before{ left: -3px; top: 130px; height: 72px; }
.flow__phone::after{ right: -3px; top: 172px; height: 48px; }
.flow__phone .phone-screen{
  border: 1px solid #000;
  border-radius: 46px;
}
.flow__phone .phone-screen img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.flow__phone .phone-screen__island{
  top: 12px;
  height: 27px;
  box-shadow: inset -7px 0 10px rgba(255,255,255,.04);
}
.flow__card figcaption{ margin-top: 16px; font-size: 15px; line-height: var(--density); color: var(--grey); }
.flow__n{
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 6px;
}
.flow__card figcaption strong{ display: block; font-size: 18px; color: var(--ink); margin-bottom: 4px; }
@media (min-width: 780px){
  .flow{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
  .flow__card{ width: auto; max-width: none; }
}
@media (max-width: 420px){
  .flow__phone{ padding: 6px; border-radius: 44px; }
  .flow__phone .phone-screen{ border-radius: 38px; }
  .flow__phone .phone-screen__island{ top: 10px; height: 23px; }
}

/* ---------- аккаунты под роликами ---------- */
.accounts{ margin-top: 28px; font-size: 15px; line-height: var(--density); color: var(--grey); }

/* ---------- преимущества со стрелками ---------- */
.perks{ margin-top: var(--flow-component); display: grid; gap: 0; }
.perk{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
}
.perk:last-child{ border-bottom: 1px solid var(--line); }
.perk svg{ flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--accent); }
.perk div{ font-size: 15px; line-height: var(--density); color: var(--grey); }
.perk strong{ display: block; font-size: 18px; color: var(--ink); margin-bottom: 3px; }
@media (min-width: 780px){
  .perks{ grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
  .perk:nth-child(-n+2){ border-top: 1px solid var(--line); }
  .perk:last-child, .perk:nth-child(3){ border-bottom: 0; }
}

/* ---------- график динамики: подписи отдельной строкой ---------- */
.lc-grid{ stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.linechart__svg{ height: 240px; }
@media (min-width: 700px){ .linechart__svg{ height: 300px; } }

.lc-legend{
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.lc-pt{
  min-width: 0;
  padding: 16px 14px 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.lc-pt:nth-child(even){ border-left: 1px solid var(--line); }
.lc-pt b{ display: block; font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1; }
.lc-pt span{ display: block; margin-top: 6px; font-size: 13px; color: var(--grey); }
.lc-pt--now{ background: transparent; }
.lc-pt--now b{ color: var(--accent); }
.lc-pt--end{ background: transparent; }
.lc-pt--end b{ color: var(--grey); }
@media (min-width: 700px){
  .lc-legend{ grid-template-columns: repeat(4, 1fr); }
  .lc-pt{ padding: 18px 16px 20px; }
  .lc-pt:nth-child(even){ border-left: 0; }
  .lc-pt + .lc-pt{ border-left: 1px solid var(--line); }
  .lc-pt b{ font-size: 24px; }
}

/* ---------- шаги плотнее, когда рядом картинка ---------- */
@media (min-width: 900px){
  .steps--tight .step{ grid-template-columns: auto 200px 1fr; column-gap: 24px; padding-block: 24px; }
  .steps--tight .step__n{ font-size: 32px; }
}

/* ---------- мигание кнопки звука ---------- */
@keyframes soundPulse{
  0%, 100%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(254,51,1,0); }
  12%        { transform: scale(1.14); box-shadow: 0 0 0 10px rgba(254,51,1,.22); }
  24%        { transform: scale(1);    box-shadow: 0 0 0 0 rgba(254,51,1,0); }
}
.vcard__sound.is-hinting{ animation: soundPulse 1.6s ease-in-out 3; background: var(--accent); }
@media (prefers-reduced-motion: reduce){
  .vcard__sound.is-hinting{ animation: none; }
}

/* hero: на мобиле цифры компактнее, чтобы фото и CTA поместились в экран */
@media (max-width: 699px){
  .stat__num{ font-size: clamp(21px, 6vw, 28px); }
  .stat__cap{ font-size: 11.5px; line-height: 1.3; margin-top: 5px; }
  .hero__foot{ margin-top: 28px; }
  .hero__inner{ gap: 28px; }
}

/* Оптический вынос служебного знака: «≈» шире цифры, и без выноса число
   в колонке встаёт правее соседних — ряд выглядит съехавшим.
   0.58em — измеренная ширина глифа в Helvetica Neue Bold. */
.hang{ display: inline-block; margin-left: -0.58em; }

/* ---------- график по площадкам ---------- */
.chart--plat{ margin-top: var(--flow-group); max-width: 720px; }
.plat{ margin-top: 28px; }
.plat__row{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.plat__row:first-child{ border-top: 1px solid var(--line); }
.plat__nm{ display: flex; align-items: center; gap: 9px; font-size: 16px; }
.plat__v{ font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.plat__bar{ grid-column: 1 / -1; height: 10px; background: #F1F1EF; border-radius: 2px; overflow: hidden; }
.plat__bar i{ display: block; height: 100%; border-radius: inherit; }
.ambassador-landing-rest .platform-disclaimer{
  max-width: 72em;
  margin-top: 12px;
  color: var(--grey);
  font-size: 10px;
  line-height: 1.4;
}
.dot{ width: 10px; height: 10px; border-radius: 50%; flex: none; }
/* Фирменные цвета площадок. */
.dot--yt, .is-yt{ background: #FF0000; }
.dot--tt, .is-tt{ background: #000000; }
.dot--ig, .is-ig{
  background: linear-gradient(90deg, #833AB4 0%, #FD1D1D 52%, #FCAF45 100%);
}
.dot--vk, .is-vk{ background: #0077FF; }
@media (min-width: 700px){
  .plat__row{ grid-template-columns: 190px 1fr auto; gap: 20px; padding-block: 16px; }
  .plat__bar{ grid-column: auto; }
  .plat__v{ min-width: 5ch; text-align: right; }
}

/* ---------- тренд рынка ---------- */
.trend{ margin: 0 0 40px; }
.trend__row{
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 6px 16px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}
.trend__row:first-child{ border-top: 1px solid var(--line); }
.trend__v{ font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; min-width: 3.2ch; }
.trend__bar{ height: 8px; background: #F1F1EF; border-radius: 2px; overflow: hidden; }
.trend__bar i{ display: block; height: 100%; background: var(--ink); }
.trend__bar i.is-future{ background: var(--accent); }
.trend__l{ grid-column: 1 / -1; font-size: 14px; line-height: var(--density); color: var(--grey); }
.trend figcaption{ margin-top: 16px; font-size: 12px; color: var(--grey); }
@media (min-width: 700px){
  .trend__row{ grid-template-columns: auto 120px 1fr; gap: 20px; }
  .trend__l{ grid-column: auto; font-size: 15px; }
}

/* ========================================================================== 
   Sempre visual system
   The transferred landing content uses the same grid, typography and surface
   language as the rest of the site. Data stays prominent without card chrome.
   ========================================================================== */
.ambassador-landing-rest {
  --surface: transparent;
  --density: var(--lh-body);
  --flow-related: 20px;
  --flow-component: clamp(32px, 3.35vw, 48px);
  --flow-group: clamp(48px, 4.45vw, 64px);
  --sec-y: clamp(72px, 7.2vw, 104px);
  --section-gap: clamp(72px, 6.7vw, 96px);
  font-size: var(--text-body);
  line-height: var(--lh-body);
}

.ambassador-landing-rest .section {
  padding-block: 0;
}

.ambassador-landing-rest .section + .section {
  margin-top: var(--section-gap);
}

.ambassador-landing-rest .section:last-child {
  padding-bottom: var(--section-gap);
}

.ambassador-landing-rest h2,
.ambassador-landing-rest .h2 {
  max-width: 34ch;
  font-size: var(--text-section-title);
  font-weight: 500;
  line-height: var(--lh-tight);
}

.ambassador-landing-rest h3,
.ambassador-landing-rest .step__t,
.ambassador-landing-rest .keep__t,
.ambassador-landing-rest .proof__cap,
.ambassador-landing-rest .perk strong {
  font-weight: 500;
}

.ambassador-landing-rest .caption,
.ambassador-landing-rest figcaption,
.ambassador-landing-rest .trend figcaption,
.ambassador-landing-rest .balance__note {
  font-size: 14px;
  line-height: 1.45;
}

.ambassador-landing-rest :is(
  .gap-chart,
  .month,
  .balance,
  .chart--line,
  .audience-chart,
  .econ,
  .split__media--framed,
  .split--flip .side-num
) {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ambassador-landing-rest :is(
  .gap-chart,
  .balance,
  .chart--line,
  .audience-chart,
  .econ,
  .split--flip .side-num
) {
  padding-inline: 0;
  border-right: 0;
  border-left: 0;
}

.ambassador-landing-rest .month {
  padding: 24px 16px 20px;
  border-right: 0;
  border-bottom: 1px solid var(--line);
  border-left: 0;
}

.ambassador-landing-rest .month::before {
  height: 2px;
}

.ambassador-landing-rest .month__t,
.ambassador-landing-rest .balance__title,
.ambassador-landing-rest .linecard__head strong,
.ambassador-landing-rest .audience-chart__head strong {
  font-weight: 500;
}

.ambassador-landing-rest .month__t {
  margin-top: 8px;
}

.ambassador-landing-rest .month__v,
.ambassador-landing-rest .balance__row strong,
.ambassador-landing-rest .gap-chart__value b,
.ambassador-landing-rest .econ__v,
.ambassador-landing-rest .econ__saving strong,
.ambassador-landing-rest .proof__num,
.ambassador-landing-rest .trend__v,
.ambassador-landing-rest .plat__v {
  font-weight: 600;
}

.ambassador-landing-rest .econ__head strong {
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.ambassador-landing-rest .balance__bar,
.ambassador-landing-rest .econ__track {
  border-radius: 0;
}

/* Открытые инфографики без дублирующих внешних рамок. */
.ambassador-landing-rest .audience-chart,
.ambassador-landing-rest .econ {
  border-top: 0;
  border-bottom: 0;
}

.ambassador-landing-rest .audience-chart__head {
  padding-bottom: 0;
  border-bottom: 0;
}

.ambassador-landing-rest .split--flip .split__side {
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ambassador-landing-rest .split--flip .side-num {
  padding-inline: 0;
  border: 0;
}

.ambassador-landing-rest .split--flip .side-num + .side-num {
  border-top: 1px solid var(--line);
}

.ambassador-landing-rest .split__media--framed figcaption {
  padding-inline: 0;
}

.ambassador-landing-rest .btn {
  min-height: 58px;
  padding: 14px 24px;
  border-radius: var(--button-radius);
  font-size: var(--text-nav);
  font-weight: 500;
}

.ambassador-landing-rest .btn--primary {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

@media (hover: hover) {
  .ambassador-landing-rest .btn--primary:hover,
  .ambassador-landing-rest .btn--ghost:hover {
    border-color: var(--accent);
    background: transparent;
    color: var(--accent);
  }
}

.ambassador-landing-rest .reveal {
  opacity: 1;
  transform: none;
}

.js .ambassador-landing-rest .reveal {
  transition: none;
}

@media (min-width: 900px) {
  .ambassador-landing-rest .split {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: clamp(56px, 6vw, 88px);
  }

  .ambassador-landing-rest .split--flip {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  }
}

@media (max-width: 767px) {
  .ambassador-landing-rest {
    --sec-y: 64px;
    --section-gap: 64px;
    font-size: 17px;
  }

  .ambassador-landing-rest h2,
  .ambassador-landing-rest .h2 {
    font-size: clamp(28px, 7.5vw, 32px);
  }

  .ambassador-landing-rest .month {
    width: 78%;
  }
}

/* Незаполненная часть шкал должна читаться, но не конкурировать с данными. */
.ambassador-landing-rest :is(
  .trend__bar,
  .gap-chart__bar,
  .plat__bar,
  .econ__track
) {
  background: #e3e2dc;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08);
}

/* Строгая геометрия шкал продолжает визуальный язык основного сайта. */
.ambassador-landing-rest :is(
  .trend__bar,
  .gap-chart__bar,
  .balance__bar,
  .plat__bar
) {
  border-radius: 0;
}

.ambassador-landing-rest :is(
  .trend__bar,
  .gap-chart__bar,
  .plat__bar
) > i {
  border-radius: inherit;
}

/* Воздух внутри графика контент-микса. */
.ambassador-landing-rest .balance {
  padding-block: clamp(28px, 3vw, 40px);
}

.ambassador-landing-rest .balance__head {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.ambassador-landing-rest .balance__eyebrow {
  margin-bottom: 10px;
}

.ambassador-landing-rest .balance__legend {
  margin-top: 28px;
  gap: 14px 28px;
}

.ambassador-landing-rest .balance__chart {
  gap: 28px;
  margin-top: 38px;
}

.ambassador-landing-rest .balance__line {
  gap: 24px;
}

.ambassador-landing-rest .balance__note {
  margin-top: 38px;
  padding-top: 28px;
}

@media (max-width: 559px) {
  .ambassador-landing-rest .balance__head {
    gap: 24px;
    padding-bottom: 24px;
  }

  .ambassador-landing-rest .balance__legend {
    margin-top: 24px;
    gap: 12px 20px;
  }

  .ambassador-landing-rest .balance__chart {
    gap: 24px;
    margin-top: 32px;
  }

  .ambassador-landing-rest .balance__line {
    gap: 16px;
  }

  .ambassador-landing-rest .balance__note {
    margin-top: 32px;
    padding-top: 24px;
  }
}

/* Компактная подводка к общей форме в подвале. */
.ambassador-landing-rest .cta-summary__lead {
  max-width: 43em;
  margin-top: 24px;
}

.ambassador-landing-rest .cta-summary__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
  max-width: 860px;
  margin-top: clamp(40px, 4vw, 56px);
}

.ambassador-landing-rest .cta-summary__fact strong,
.ambassador-landing-rest .cta-summary__fact span {
  display: block;
}

.ambassador-landing-rest .cta-summary__fact strong {
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.ambassador-landing-rest .cta-summary__fact span {
  margin-top: 8px;
  color: var(--grey);
  font-size: 15px;
  line-height: 1.35;
}

.ambassador-landing-rest .cta-summary__form-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 40px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(17, 17, 17, 0.24);
  text-underline-offset: 0.22em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.ambassador-landing-rest .cta-summary__form-link svg {
  flex: 0 0 auto;
}

.ambassador-landing-rest .cta-summary__form-link:hover,
.ambassador-landing-rest .cta-summary__form-link:focus-visible {
  color: var(--accent);
  text-decoration-color: rgba(254, 51, 0, 0.3);
}

@media (max-width: 699px) {
  .ambassador-landing-rest .cta-summary__lead {
    margin-top: 20px;
  }

  .ambassador-landing-rest .cta-summary__facts {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 36px;
  }

  .ambassador-landing-rest .cta-summary__fact {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: baseline;
    gap: 16px;
  }

  .ambassador-landing-rest .cta-summary__fact strong {
    font-size: 34px;
  }

  .ambassador-landing-rest .cta-summary__fact span {
    margin-top: 0;
  }

  .ambassador-landing-rest .cta-summary__form-link {
    margin-top: 32px;
    font-size: 15px;
  }
}

/* На телефонах путь к заявке читается как последовательность, без скрытой карусели. */
@media (max-width: 699px) {
  .ambassador-landing-rest .months {
    counter-reset: journey-step;
    display: grid;
    gap: 0;
    overflow: visible;
    margin-inline: 0;
    padding: 0;
    border-top: 1px solid var(--line);
    scroll-snap-type: none;
  }

  .ambassador-landing-rest .month {
    counter-increment: journey-step;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "month value"
      "title title"
      "description description";
    gap: 0 16px;
    width: 100%;
    max-width: none;
    min-height: 0;
    padding: 20px 0 24px 50px;
    overflow: visible;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    scroll-snap-align: none;
  }

  .ambassador-landing-rest .month::before {
    inset: 0 auto 0 16px;
    width: 1px;
    height: auto;
    background: var(--line);
  }

  .ambassador-landing-rest .month::after {
    content: counter(journey-step, decimal-leading-zero);
    position: absolute;
    top: 20px;
    left: 16px;
    z-index: 1;
    min-width: 26px;
    padding-block: 2px;
    color: var(--grey);
    background: var(--bg);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    transform: translateX(-50%);
  }

  .ambassador-landing-rest .month:nth-child(n + 3)::after {
    color: var(--accent);
  }

  .ambassador-landing-rest .month__n {
    grid-area: month;
    align-self: start;
    margin: 0;
  }

  .ambassador-landing-rest .month__t {
    grid-area: title;
    margin-top: 6px;
  }

  .ambassador-landing-rest .month__d {
    grid-area: description;
    max-width: 30em;
    margin-top: 8px;
    flex: none;
  }

  .ambassador-landing-rest .month__v {
    grid-area: value;
    align-self: start;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: clamp(22px, 6.2vw, 26px);
    line-height: 1;
    text-align: right;
    white-space: nowrap;
  }

  .ambassador-landing-rest .month__v span {
    display: inline;
    margin: 0 0 0 5px;
    font-size: 11px;
  }

  .ambassador-landing-rest .months + .balance {
    margin-top: 72px;
  }
}

/* Презентационный ритм: один смысловой блок на экран без жесткого scroll-snap. */
@media (min-width: 900px) and (min-height: 700px) {
  .ambassador-landing-rest {
    --section-gap: clamp(112px, 9vw, 144px);
  }

  .ambassador-landing-rest .section {
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    justify-content: center;
  }

  .ambassador-landing-rest .section:first-child {
    min-height: auto;
    justify-content: flex-start;
    padding-top: clamp(48px, 4vw, 64px);
  }

  .ambassador-landing-rest .section:nth-child(2) {
    margin-top: 96px;
  }

  .ambassador-landing-rest .section:nth-child(7),
  .ambassador-landing-rest .section:nth-child(8) {
    min-height: auto;
    margin-top: 200px;
  }

  .ambassador-landing-rest .section:nth-child(8) {
    margin-top: 216px;
  }

  .ambassador-landing-rest .section:nth-child(10),
  .ambassador-landing-rest .section:nth-child(11) {
    min-height: auto;
  }

  .ambassador-landing-rest .section:nth-child(11) {
    margin-top: 64px;
    padding-bottom: var(--section-gap);
  }

  .ambassador-landing-rest .section:last-child {
    padding-bottom: var(--section-gap);
  }
}
