/* страница «Что нового»: чёрный фон, узкая колонка текста, оглавление сбоку */
.cl { background: #000; color: #f5f5f7; -webkit-user-select: text; user-select: text; }
.cl-hero { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; padding: clamp(104px, calc(11vw / var(--z, 1)), 150px) 0 0; text-align: center; }
.cl-meta { color: #a1a1a6; font-size: 14px; font-weight: 500; letter-spacing: 0; }
.cl-title { max-width: 980px; margin: 18px auto 0; font-family: Unbounded, InterLocal, var(--font); font-size: clamp(34px, calc(5vw / var(--z, 1)), 70px); font-weight: 600; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
.cl-lead { max-width: 680px; margin: 24px auto 0; color: #d2d2d7; font-size: clamp(17px, calc(1.4vw / var(--z, 1)), 20px); line-height: 1.5; font-weight: 500; text-wrap: pretty; }
.cl-demo { display: block; width: 100%; margin-top: 28px; border: 0; background: none; }
/* главный экран без рамки и своего фона: свечение само растворяется в чёрной странице */
.cl-demo--home { height: clamp(520px, calc(42vw / var(--z, 1)), 620px); margin-top: 8px; }
.cl-demo-note { margin-top: 4px; padding-inline: var(--gutter); color: #86868b; font-size: 14px; line-height: 1.45; text-align: center; text-wrap: balance; }
.cl-demo--chat { height: 720px; }
.cl-demo--mascots { height: 560px; }
.cl-back { display: inline-block; margin-bottom: 18px; color: #a1a1a6; font-size: 14px; font-weight: 500; transition: color .2s; }
.cl-back::before { content: '\2190\00a0'; }
/* список обновлений: свежая новость крупно, остальные плитками */
.cl-index__head { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; padding-top: clamp(104px, calc(9vw / var(--z, 1)), 130px); }
.cl-index__head .cl-title { margin: 0; }
.cl-index__head .cl-lead { margin: 14px 0 0; }
.cl-index { text-align: left; }
.cl-feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 28px 20px; width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; padding: clamp(36px, calc(4vw / var(--z, 1)), 56px) 0 clamp(64px, calc(8vw / var(--z, 1)), 110px); }
.cl-card__link { display: grid; gap: 16px; color: inherit; text-decoration: none; transition: scale .18s ease; }
.cl-card__link:active { scale: .99; }
.cl-card__link:focus-visible { outline: 2px solid #fff; outline-offset: 6px; border-radius: 20px; }
.cl-card__media { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 20px; background: #000; }
.cl-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale .5s cubic-bezier(.22, 1, .36, 1); }
.cl-card__body { display: grid; align-content: start; justify-items: start; gap: 10px; }
.cl-card h2 { font-family: Unbounded, InterLocal, var(--font); font-size: clamp(21px, calc(1.9vw / var(--z, 1)), 26px); font-weight: 600; line-height: 1.22; letter-spacing: -.02em; text-wrap: balance; }
.cl-card__text { color: #d2d2d7; font-size: 16px; line-height: 1.55; letter-spacing: -.01em; text-wrap: pretty; }
.cl-card__more { margin-top: 4px; color: #fff; font-size: 15px; font-weight: 600; }
.cl-card__more::after { content: '\00a0\2192'; display: inline-block; transition: translate .2s ease; }
.cl-card:first-child { grid-column: 1 / -1; }
.cl-card:first-child .cl-card__link { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(24px, calc(4vw / var(--z, 1)), 56px); align-items: center; }
.cl-card:first-child h2 { font-size: clamp(25px, calc(2.8vw / var(--z, 1)), 38px); }
.cl-card:first-child .cl-card__text { font-size: 18px; }
@media (hover: hover) and (pointer: fine) {
  .cl-back:hover { color: #fff; }
  .cl-card__link:hover img { scale: 1.025; }
  .cl-card__link:hover .cl-card__more::after { translate: 4px 0; }
}
.cl-layout { display: grid; grid-template-columns: 200px minmax(0, 680px) 200px; justify-content: center; gap: 40px; width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; padding: clamp(56px, calc(7vw / var(--z, 1)), 96px) 0 clamp(64px, calc(8vw / var(--z, 1)), 110px); }
.cl-toc { position: sticky; top: 84px; align-self: start; display: grid; gap: 2px; font-size: 14px; font-weight: 500; letter-spacing: -.005em; }
.cl-toc a { padding: 6px 0; color: #86868b; transition: color .2s; }
.cl-toc a.is-current { color: #fff; }
.cl-article { min-width: 0; }
.cl-article section { scroll-margin-top: 84px; }
.cl-article section + section { margin-top: clamp(56px, calc(6vw / var(--z, 1)), 84px); }
.cl-article h2 { font-family: Unbounded, InterLocal, var(--font); font-size: clamp(23px, calc(2.2vw / var(--z, 1)), 30px); font-weight: 600; line-height: 1.22; letter-spacing: -.02em; text-wrap: balance; }
.cl-article p { margin-top: 16px; color: #d2d2d7; font-size: 17px; line-height: 1.6; letter-spacing: -.01em; text-wrap: pretty; }
.cl-article b { color: #f5f5f7; font-weight: 600; }
.cl-caption { margin-top: 12px; color: #86868b; font-size: 13px; line-height: 1.45; letter-spacing: 0; }

/* было и стало: у каждой строки своя шкала, длинная полоса - всегда «было» */
.cl-legend { display: flex; gap: 18px; margin-top: 28px; color: #a1a1a6; font-size: 13px; font-weight: 500; letter-spacing: 0; }
.cl-legend span { display: inline-flex; align-items: center; gap: 7px; }
.cl-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.cl-speed { display: grid; gap: 26px; margin: 18px 0 0; padding: 0; list-style: none; --old: #8e8e93; --new: #438dff; }
.cl-speed__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.cl-speed__gain { flex: none; color: #fff; font-family: Unbounded, InterLocal, var(--font); font-size: 15px; letter-spacing: -.01em; }
.cl-bar { display: flex; align-items: center; gap: 10px; margin-top: 8px; color: #a1a1a6; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: 0; white-space: nowrap; }
.cl-bar i { flex: 0 1 auto; width: calc(var(--w) * .78); min-width: 4px; height: 10px; border-radius: 3px 5px 5px 3px; background: var(--old); transform-origin: left; }
.cl-bar--new { color: #fff; }
.cl-bar--new i { background: var(--new); }
.js .cl-speed .reveal .cl-bar i { transform: scaleX(0); transition: transform 1.1s var(--ease-out) .15s; }
.js .cl-speed .reveal.is-in .cl-bar i { transform: none; }

.cl-points { display: grid; gap: 14px; margin: 20px 0 0; padding: 0; list-style: none; color: #d2d2d7; font-size: 17px; line-height: 1.55; letter-spacing: -.01em; }

.cl-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.cl-tile { padding: 22px 20px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; background: #101012; }
.cl-tile b { display: block; font-family: Unbounded, InterLocal, var(--font); font-size: clamp(24px, calc(2.4vw / var(--z, 1)), 30px); font-weight: 600; letter-spacing: -.025em; white-space: nowrap; }
.cl-tile span { display: block; margin-top: 10px; color: #a1a1a6; font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: -.005em; }

.cl-table { width: 100%; margin-top: 28px; border-collapse: collapse; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.005em; }
.cl-table th { padding: 0 0 10px; color: #86868b; font-size: 13px; font-weight: 500; letter-spacing: 0; text-align: right; }
.cl-table th:first-child, .cl-table td:first-child { text-align: left; }
.cl-table td { padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .1); color: #d2d2d7; text-align: right; white-space: nowrap; }
.cl-table td:first-child { color: #f5f5f7; font-weight: 600; }
.cl-table td.is-new { color: #fff; font-weight: 600; }
.cl-table .cl-old { color: #86868b; }
.cl-tag { margin-left: 8px; padding: 2px 7px; border-radius: 999px; background: #438dff; color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0; }

.cl-note { margin-top: clamp(48px, calc(5vw / var(--z, 1)), 72px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }
.cl-article .cl-note p { margin-top: 8px; color: #86868b; font-size: 13.5px; line-height: 1.55; letter-spacing: 0; }
.cl-article .cl-note b { color: #a1a1a6; }
.cl-cta { display: inline-flex; align-items: center; min-height: 46px; margin-top: 36px; padding: 0 24px; border-radius: 999px; background: #fff; color: #000; font-size: 15px; font-weight: 600; letter-spacing: -.01em; transition: transform .18s var(--ease), background-color .2s; }
.cl-cta:active { transform: scale(.97); }
.cl .foot { border-top: 1px solid rgba(255, 255, 255, .08); }

@media (hover: hover) and (pointer: fine) {
  .cl-toc a:hover { color: #fff; }
  .cl-cta:hover { background: #e8e8ed; }
}
/* на компьютере шапка всегда на виду, как на лендинге */
@media (min-width: 861px) and (hover: hover) and (pointer: fine) {
  .cl .eco { position: fixed; z-index: 30; }
  .cl::before { content: ''; position: fixed; z-index: 29; inset: 0 0 auto; height: 64px; background: linear-gradient(#000 62%, transparent); pointer-events: none; }
}
@media (max-width: 1160px) {
  .cl-layout { grid-template-columns: minmax(0, 680px); }
  .cl-toc { display: none; }
}
@media (max-width: 760px) {
  .cl-card:first-child .cl-card__link { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cl-card:first-child h2 { font-size: 24px; }
  .cl-card:first-child .cl-card__text { font-size: 16px; }
}
@media (max-width: 640px) {
  .cl-tiles { grid-template-columns: minmax(0, 1fr); }
  .cl-demo--home { height: 520px; }
  .cl-demo--mascots { height: 700px; }
  .cl-article p, .cl-points { font-size: 16px; }
  .cl-table { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .cl-speed .reveal .cl-bar i { transform: none; transition: none; }
}
