/* comparison-table — Сравнительная таблица */
.cf-table {
  width: 100%;
  margin: 24px 0;
  padding: 8px 0 4px;
  box-sizing: border-box;
  font: inherit;
  color: inherit;
}
.cf-table__title {
  margin: 0 0 16px;
  padding: 0 4px;
  font-size: 28px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: inherit;
}
.cf-table__title:empty {
  display: none;
  margin: 0;
}
.cf-table__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  border-radius: 14px;
}
.cf-table table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto;
}
.cf-table__title,
.cf-table th,
.cf-table td {
  color: inherit;
}
.cf-table th,
.cf-table td {
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.45;
  text-align: left;
  vertical-align: top;
  box-sizing: border-box;
  min-width: 132px;
}
.cf-table thead {
  position: relative;
  z-index: 0;
}
.cf-table thead th {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-bottom: 0;
}
.cf-table thead th:first-child {
  border-top-left-radius: 13px;
}
.cf-table thead th:last-child {
  border-top-right-radius: 13px;
}
.cf-table tbody td {
  font-weight: 400;
  border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-right: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}
.cf-table tbody td:last-child {
  border-right: 0;
}
.cf-table tbody tr:nth-child(even) td {
  background: color-mix(in srgb, currentColor 6%, transparent);
}
.cf-table tbody tr:last-child td {
  border-bottom: 0;
}
.cf-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 13px;
}
.cf-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 13px;
}
.cf-table tbody td:first-child {
  font-weight: 600;
}
.cf-table tbody tr:hover td {
  background: color-mix(in srgb, currentColor 10%, transparent);
}
.cf-table__accent::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: color-mix(in srgb, currentColor 16%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 35%, transparent);
}
@media (max-width: 640px) {
  .cf-table th,
  .cf-table td { min-width: 108px; padding: 12px 14px; }
  .cf-table__title { font-size: 24px; }
}

/* concept-focus — Понятие в фокусе */
.cf-card-concept-focus {
  --cf-text-main: #1d1f27;
  --cf-text-body: #242833;
  width: 100%;
  margin: 24px 0;
  padding: 32px 36px;
  border: 1px solid #f5d0a8;
  border-radius: 14px;
  background: linear-gradient(90deg, #fff8ef 0%, #ffffff 100%);
  box-sizing: border-box;
  font-family: Inter, Montserrat, Arial, sans-serif;
}
.cf-card-concept-focus__title {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cf-text-main);
}
.cf-card-concept-focus__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--cf-text-body);
}
.cf-card-concept-focus__text strong { font-weight: 700; }
@media (max-width: 640px) {
  .cf-card-concept-focus { padding: 24px 20px; }
  .cf-card-concept-focus__title { font-size: 24px; }
  .cf-card-concept-focus__text { font-size: 15px; }
}

/* definitions — Основные понятия и определения */
.cf-card-definitions {
  --cf-text-main: #1d1f27;
  --cf-text-body: #242833;
  width: 100%;
  margin: 24px 0;
  padding: 32px 36px;
  border: 1px solid #bfe3c7;
  border-radius: 14px;
  background: linear-gradient(90deg, #f3fbf5 0%, #ffffff 100%);
  box-sizing: border-box;
  font-family: Inter, Montserrat, Arial, sans-serif;
}
.cf-card-definitions__title {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cf-text-main);
}
.cf-card-definitions__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--cf-text-body);
}
.cf-card-definitions__text strong { font-weight: 700; }
.cf-card-definitions__text ul { margin: 0; padding-left: 1.2em; }
@media (max-width: 640px) {
  .cf-card-definitions { padding: 24px 20px; }
  .cf-card-definitions__title { font-size: 24px; }
  .cf-card-definitions__text { font-size: 15px; }
}

/* essence — Суть за минуту */
.cf-card-essence {
  --cf-text-main: #1d1f27;
  --cf-text-body: #242833;
  width: 100%;
  margin: 24px 0;
  padding: 32px 36px;
  border: 1px solid #b9d3ff;
  border-radius: 14px;
  background: linear-gradient(90deg, #f6f9ff 0%, #ffffff 100%);
  box-sizing: border-box;
  font-family: Inter, Montserrat, Arial, sans-serif;
}
.cf-card-essence__title {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cf-text-main);
}
.cf-card-essence__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--cf-text-body);
}
.cf-card-essence__text strong { font-weight: 700; }
@media (max-width: 640px) {
  .cf-card-essence { padding: 24px 20px; }
  .cf-card-essence__title { font-size: 24px; }
  .cf-card-essence__text { font-size: 15px; }
}

/* faq — FAQ */
.info-callout {
  position: relative;
  box-sizing: border-box;
  color: inherit;
  font: inherit;
  border-radius: 10px;
  padding: 24px 28px 24px 32px;
  margin: 16px 0;
}
.info-callout__title,
.info-callout__text {
  position: relative;
  z-index: 1;
  color: inherit;
}
.info-callout__title {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
}
.info-callout__text {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}
.info-callout__text + .info-callout__text {
  margin-top: 0.75em;
}
.info-callout__accent::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: color-mix(in srgb, currentColor 10%, transparent);
  box-shadow: inset 5px 0 0 currentColor;
}

/* important — Что важно учесть */
.cf-card-important {
  --cf-text-main: #1d1f27;
  --cf-text-body: #242833;
  width: 100%;
  margin: 24px 0;
  padding: 32px 36px;
  border: 1px solid #ffc6c6;
  border-radius: 14px;
  background: linear-gradient(90deg, #fff5f5 0%, #ffffff 100%);
  box-sizing: border-box;
  font-family: Inter, Montserrat, Arial, sans-serif;
}
.cf-card-important__title {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cf-text-main);
}
.cf-card-important__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--cf-text-body);
}
.cf-card-important__text strong { font-weight: 700; }
@media (max-width: 640px) {
  .cf-card-important { padding: 24px 20px; }
  .cf-card-important__title { font-size: 24px; }
  .cf-card-important__text { font-size: 15px; }
}

/* main-idea — Главная идея */
.cf-card-main-idea {
  --cf-text-main: #1d1f27;
  --cf-text-body: #242833;
  width: 100%;
  margin: 24px 0;
  padding: 32px 36px;
  border: 1px solid #dbc9ff;
  border-radius: 14px;
  background: linear-gradient(90deg, #fbf7ff 0%, #ffffff 100%);
  box-sizing: border-box;
  font-family: Inter, Montserrat, Arial, sans-serif;
}
.cf-card-main-idea__title {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cf-text-main);
}
.cf-card-main-idea__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--cf-text-body);
}
.cf-card-main-idea__text strong { font-weight: 700; }
@media (max-width: 640px) {
  .cf-card-main-idea { padding: 24px 20px; }
  .cf-card-main-idea__title { font-size: 24px; }
  .cf-card-main-idea__text { font-size: 15px; }
}

/* practical — Практический ориентир */
.cf-card-practical {
  --cf-text-main: #1d1f27;
  --cf-text-body: #242833;
  width: 100%;
  margin: 24px 0;
  padding: 32px 36px;
  border: 1px solid #f5dca8;
  border-radius: 14px;
  background: linear-gradient(90deg, #fffaf0 0%, #ffffff 100%);
  box-sizing: border-box;
  font-family: Inter, Montserrat, Arial, sans-serif;
}
.cf-card-practical__title {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cf-text-main);
}
.cf-card-practical__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--cf-text-body);
}
.cf-card-practical__text strong { font-weight: 700; }
@media (max-width: 640px) {
  .cf-card-practical { padding: 24px 20px; }
  .cf-card-practical__title { font-size: 24px; }
  .cf-card-practical__text { font-size: 15px; }
}

/* practice-case — Ситуация из практики */
.cf-card-practice-case {
  --cf-text-main: #1d1f27;
  --cf-text-body: #242833;
  width: 100%;
  margin: 24px 0;
  padding: 32px 36px;
  border: 1px solid #b9d3ff;
  border-radius: 14px;
  background: linear-gradient(90deg, #f6f9ff 0%, #ffffff 100%);
  box-sizing: border-box;
  font-family: Inter, Montserrat, Arial, sans-serif;
}
.cf-card-practice-case__title {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cf-text-main);
}
.cf-card-practice-case__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--cf-text-body);
}
.cf-card-practice-case__text strong { font-weight: 700; }
@media (max-width: 640px) {
  .cf-card-practice-case { padding: 24px 20px; }
  .cf-card-practice-case__title { font-size: 24px; }
  .cf-card-practice-case__text { font-size: 15px; }
}

/* product-insert — Рекламная вставка */
.product-insert {
  position: relative;
  isolation: isolate;
  color: inherit;
  font: inherit;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 20px;
  align-items: start;
  margin: 24px 0;
  padding: 20px 24px;
  border-radius: 12px;
  max-width: 100%;
}
.product-insert__body,
.product-insert__media {
  min-width: 0;
}
.product-insert__title,
.product-insert__text,
.product-insert__subtitle,
.product-insert__media {
  margin: 0;
}
.product-insert__title {
  font-size: 1.35em;
  line-height: 1.25;
  font-weight: 700;
}
.product-insert__text {
  margin-top: 10px;
}
.product-insert__subtitle {
  margin-top: 16px;
  font-size: 1.08em;
  line-height: 1.35;
  font-weight: 700;
}
.product-insert__features {
  margin: 8px 0 0;
  padding: 0 0 0 1.25em;
  list-style: disc;
}
.product-insert__features li {
  margin: 0;
  padding: 4px 0;
}
.product-insert__features li::marker {
  color: currentColor;
}
.product-insert__media img + img {
  margin-top: 12px;
}
.product-insert__bar {
  grid-column: 1 / -1;
}
.product-insert__bar:empty {
  display: none;
}
.product-insert__image,
.product-insert__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.product-insert__link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 12px;
  pointer-events: none;
  background: color-mix(in srgb, currentColor 10%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 35%, transparent);
}
@media (max-width: 720px) {
  .product-insert {
    grid-template-columns: minmax(0, 1fr);
  }
}
