/* Предложение собрать чекап: в статьях и рубриках, где человек скорее всего ещё без анализов. */
.checkup-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 280px); gap: 32px; align-items: center; margin-top: 48px; padding: 30px 32px; border: 1px solid rgba(95, 187, 214, .32); border-radius: var(--r-md); background: radial-gradient(120% 140% at 100% 0%, #DCEFF6 0%, #EAF6FA 42%, #F7FBFD 100%); overflow: hidden; }
.library-intro + .checkup-cta { margin: -30px 0 48px; }
.checkup-cta-copy { min-width: 0; }
.checkup-cta-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 11px; border-radius: var(--r-btn); background: #fff; color: var(--teal-deep); font-size: 13.5px; font-weight: 500; line-height: 1.3; box-shadow: 0 6px 14px -10px rgba(29, 118, 145, .55); }
.checkup-cta-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(95, 187, 214, .22); }
.checkup-cta h2 { margin: 14px 0 8px; color: var(--ink); font-size: clamp(22px, 2.4vw, 26px); font-weight: 500; line-height: 1.25; text-wrap: balance; }
.checkup-cta p { margin: 0; max-width: 46ch; color: var(--reading-muted); font-size: 15.5px; line-height: 1.6; }
/* Что даёт чекап — три пункта, чтобы с первого взгляда было ясно, о чём блок. */
.checkup-cta-points { list-style: none; display: grid; gap: 8px; margin: 18px 0 0; padding: 0; }
.checkup-cta-points li { position: relative; margin: 0; padding-left: 28px; color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.45; }
.checkup-cta-points li::before { content: ""; position: absolute; left: 0; top: .1em; width: 19px; height: 19px; border-radius: 50%; background: var(--teal-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3 5 8.6l4.4-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.checkup-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
.checkup-cta .checkup-cta-note { max-width: none; margin-top: 12px; color: var(--reading-muted); font-size: 13px; line-height: 1.5; }
.checkup-cta .checkup-cta-button { min-height: 46px; padding: 12px 24px; font-size: 15px; }
.checkup-cta-alt { color: var(--teal-deep); font-size: 14.5px; font-weight: 500; text-decoration: underline; text-decoration-color: rgba(29, 118, 145, .35); text-underline-offset: 4px; }
.checkup-cta-alt:hover { text-decoration-color: currentColor; }

/* Превью справа повторяет панель «Ваш чекап» из самого генератора. */
.checkup-cta .checkup-cta-preview { display: block; padding: 16px 16px 12px; border-radius: 16px; background: #1B2635; color: #fff; text-decoration: none; box-shadow: 0 22px 40px -20px rgba(19, 30, 44, .6); transform: rotate(1.5deg); transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease; }
.checkup-cta:hover .checkup-cta-preview { transform: rotate(0) translateY(-3px); box-shadow: 0 28px 46px -20px rgba(19, 30, 44, .65); }
.checkup-cta-preview-head { display: block; margin-bottom: 10px; font: 500 11px/1 'IBM Plex Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: #9FD6E6; }
.checkup-cta-preview ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.checkup-cta-preview li { display: flex; align-items: center; gap: 9px; margin: 0; padding: 7px 10px; border-radius: 9px; background: rgba(255, 255, 255, .07); font-size: 13px; line-height: 1.3; transition: opacity .45s ease, transform .45s ease; }
.checkup-cta-preview li::before { content: ""; flex: none; width: 12px; height: 12px; border: 1.5px solid var(--teal); border-radius: 4px; }
.checkup-cta-preview .checkup-cta-more { background: none; color: #8FA1B3; font-size: 12.5px; }
.checkup-cta-preview .checkup-cta-more::before { border-style: dashed; border-color: #5D7186; }

/* Пункты появляются по очереди, когда блок попадает в экран: класс is-armed ставит articles.js. */
.checkup-cta.is-armed:not(.is-in) .checkup-cta-preview li { opacity: 0; transform: translateX(-8px); }
.checkup-cta-preview li:nth-child(2) { transition-delay: .08s; }
.checkup-cta-preview li:nth-child(3) { transition-delay: .16s; }
.checkup-cta-preview li:nth-child(4) { transition-delay: .24s; }
.checkup-cta-preview li:nth-child(5) { transition-delay: .32s; }

@media (max-width: 760px) {
  .checkup-cta { grid-template-columns: 1fr; gap: 22px; margin-top: 36px; padding: 22px 18px; }
  .library-intro + .checkup-cta { margin: -18px 0 36px; }
  .checkup-cta .checkup-cta-preview { transform: none; }
  .checkup-cta:hover .checkup-cta-preview { transform: none; }
  .checkup-cta .checkup-cta-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .checkup-cta .checkup-cta-preview, .checkup-cta-preview li { transition: none; }
  .checkup-cta:hover .checkup-cta-preview { transform: rotate(1.5deg); }
}
