.cm-rating-shell {
  margin: 18px auto 28px;
  color: #18181b;
}

.cm-rating-title {
  margin: 0 0 8px;
  text-align: center;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  color: #4c1023;
}

.cm-rating-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 7px 12px;
  border: 1px solid rgba(76, 16, 35, 0.18);
  border-radius: 999px;
  background: #fff9fb;
  color: #6c5460;
  font-size: 14px;
  line-height: 1.25;
}

.cm-rating-updated strong {
  color: #4c1023;
}

.cm-rating-list {
  display: grid;
  gap: 18px;
}

.cm-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(76, 16, 35, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(76, 16, 35, 0.07), rgba(196, 242, 65, 0.12)),
    #fff;
  box-shadow: 0 18px 42px rgba(76, 16, 35, 0.11);
}

.cm-card::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #4c1023, #9a3153, #c4f241);
}

.cm-card__ribbon {
  position: absolute;
  top: 4px;
  left: 18px;
  z-index: 1;
  padding: 6px 16px;
  border-radius: 0 0 8px 8px;
  background: #c4f241;
  color: #2b1a20;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.cm-card__grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 190px;
  gap: 22px;
  align-items: start;
  padding: 30px 24px 22px;
}

.cm-card__brand {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.cm-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 88px;
  padding: 12px;
  border-radius: 8px;
  background: #160b10;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.cm-card__logo img {
  display: block;
  max-width: 165px;
  max-height: 66px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.cm-card__logo span {
  color: #fff;
  font-weight: 800;
  text-align: center;
}

.cm-card__rating {
  text-align: center;
}

.cm-card__rating strong {
  color: #4c1023;
  font-size: 34px;
  line-height: 1;
}

.cm-card__rating > span {
  color: #7a6870;
  font-size: 16px;
  font-weight: 700;
}

.cm-card__stars {
  display: inline-block;
  margin-top: 2px;
  color: transparent;
  background: linear-gradient(90deg, #ffc847 var(--cm-rating), #d9d2d5 var(--cm-rating));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 22px;
  letter-spacing: 0;
}

.cm-card__rating small {
  display: block;
  color: #6e6066;
  font-size: 13px;
}

.cm-card__content h3 {
  margin: 0 0 12px;
  color: #18181b;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.18;
}

.cm-card__features {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.cm-card__features li {
  position: relative;
  padding-left: 24px;
  color: #44343b;
  font-size: 16px;
  line-height: 1.35;
}

.cm-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 7px;
  border-left: 2px solid #4c1023;
  border-bottom: 2px solid #4c1023;
  transform: rotate(-45deg);
}

.cm-card__details--desktop {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cm-card__details--mobile {
  display: none;
}

.cm-card__metric {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(76, 16, 35, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.cm-card__metric span {
  display: block;
  margin-bottom: 2px;
  color: #7a6870;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cm-card__metric strong {
  display: block;
  overflow-wrap: anywhere;
  color: #25191f;
  font-size: 15px;
  line-height: 1.25;
}

.cm-card__actions {
  display: grid;
  gap: 10px;
  justify-items: stretch;
  padding-top: 24px;
}

.cm-card__cta,
.cm-card__review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.cm-card__cta,
.cm-card__cta:hover {
  color: #fff;
  background: linear-gradient(180deg, #7d2342, #4c1023);
  box-shadow: 0 12px 24px rgba(76, 16, 35, 0.24);
}

.cm-card__review {
  border: 1px solid rgba(76, 16, 35, 0.18);
  color: #4c1023;
  background: #fff;
  text-transform: none;
}

.cm-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px 18px;
  border-top: 1px solid rgba(76, 16, 35, 0.12);
  background: rgba(255, 255, 255, 0.64);
}

.cm-card__payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cm-card__payments span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border: 1px solid rgba(76, 16, 35, 0.14);
  border-radius: 999px;
  background: #fff;
  color: #4a3b42;
  font-size: 13px;
  font-weight: 700;
}

.cm-card__responsible,
.cm-card__responsible * {
  color: #77686f;
  font-size: 13px;
  line-height: 1.35;
}

.cm-card__responsible p {
  margin: 0;
}

:where(.dark) .cm-rating-title,
:where(.dark) .cm-rating-updated,
:where(.dark) .cm-rating-updated strong,
:where(.dark) .cm-card,
:where(.dark) .cm-card__content h3,
:where(.dark) .cm-card__features li,
:where(.dark) .cm-card__metric strong,
:where(.dark) .cm-card__review,
:where(.dark) .cm-card__payments span {
  color: inherit;
}

:where(.dark) .cm-rating-title,
:where(.dark) .cm-rating-updated strong,
:where(.dark) .cm-card__rating strong,
:where(.dark) .cm-card__review {
  color: #4c1023;
}

:where(.dark) .cm-rating-updated {
  color: #6c5460;
  background: #fff9fb;
}

:where(.dark) .cm-card {
  color: #18181b;
  background:
    linear-gradient(135deg, rgba(76, 16, 35, 0.07), rgba(196, 242, 65, 0.12)),
    #fff;
}

:where(.dark) .cm-card__content h3 {
  color: #18181b;
}

:where(.dark) .cm-card__features li {
  color: #44343b;
}

:where(.dark) .cm-card__metric span {
  color: #7a6870;
}

:where(.dark) .cm-card__metric strong {
  color: #25191f;
}

:where(.dark) .cm-card__rating > span,
:where(.dark) .cm-card__rating small,
:where(.dark) .cm-card__responsible,
:where(.dark) .cm-card__responsible * {
  color: #77686f;
}

:where(.dark) .cm-card__payments span {
  color: #4a3b42;
}

:where(.dark) .cm-card__cta,
:where(.dark) .cm-card__cta:hover {
  color: #fff;
}

html.dark .cm-rating-updated,
html.dark .cm-rating-updated strong {
  color: #4c1023 !important;
}

html.dark .cm-card {
  color: #18181b !important;
}

html.dark .cm-card__content h3,
html.dark .cm-card__metric strong {
  color: #18181b !important;
}

html.dark .cm-card__features li {
  color: #44343b !important;
}

html.dark .cm-card__metric span,
html.dark .cm-card__rating small,
html.dark .cm-card__responsible,
html.dark .cm-card__responsible * {
  color: #77686f !important;
}

html.dark .cm-card__cta,
html.dark .cm-card__cta:hover {
  color: #fff !important;
}

@media (max-width: 767px) {
  .hero {
    padding-top: 82px !important;
    padding-bottom: 8px !important;
  }

  .hero h1 {
    margin-bottom: 6px !important;
    font-size: 30px !important;
    line-height: 1.08 !important;
  }

  .hero p {
    font-size: 14px !important;
    line-height: 1.38 !important;
  }

  .cm-rating-shell {
    margin: 6px -2px 22px;
  }

  .cm-rating-title {
    margin-bottom: 6px;
    font-size: 24px;
  }

  .cm-rating-updated {
    margin-bottom: 10px;
    padding: 6px 10px;
    font-size: 13px;
  }

  .cm-rating-list {
    gap: 10px;
  }

  .cm-card {
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(76, 16, 35, 0.12);
  }

  .cm-card__ribbon {
    left: 14px;
    padding: 5px 12px;
    font-size: 11px;
  }

  .cm-card__grid {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 11px;
    padding: 24px 12px 12px;
  }

  .cm-card__brand {
    gap: 7px;
  }

  .cm-card__logo {
    width: 104px;
    height: 58px;
    padding: 8px;
  }

  .cm-card__logo img {
    max-width: 92px;
    max-height: 42px;
  }

  .cm-card__rating strong {
    font-size: 26px;
  }

  .cm-card__stars {
    font-size: 17px;
  }

  .cm-card__rating small {
    font-size: 11px;
  }

  .cm-card__content h3 {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.17;
  }

  .cm-card__features {
    gap: 5px;
    margin-bottom: 9px;
  }

  .cm-card__features li {
    padding-left: 18px;
    font-size: 13px;
    line-height: 1.25;
  }

  .cm-card__features li:nth-child(n+3) {
    display: none;
  }

  .cm-card__features li::before {
    width: 10px;
    height: 6px;
  }

  .cm-card__details--desktop {
    display: none;
  }

  .cm-card__details--mobile {
    display: block;
    margin-top: 4px;
  }

  .cm-card__details--mobile summary {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid rgba(76, 16, 35, 0.18);
    border-radius: 8px;
    color: #4c1023;
    background: #fff;
    font-size: 13px;
    font-weight: 800;
    list-style: none;
  }

  .cm-card__details--mobile summary::-webkit-details-marker {
    display: none;
  }

  .cm-card__metrics-mobile {
    display: grid;
    gap: 7px;
    margin-top: 8px;
  }

  .cm-card__metric {
    padding: 8px 9px;
  }

  .cm-card__metric span {
    font-size: 10px;
  }

  .cm-card__metric strong {
    font-size: 13px;
  }

  .cm-card__actions {
    grid-column: 1 / -1;
    padding-top: 0;
  }

  .cm-card__cta,
  .cm-card__review {
    min-height: 42px;
    padding: 9px 14px;
    font-size: 14px;
  }

  .cm-card__foot {
    display: block;
    padding: 10px 12px 12px;
  }

  .cm-card__payments {
    gap: 6px;
    margin-bottom: 8px;
  }

  .cm-card__payments span {
    min-height: 23px;
    padding: 3px 8px;
    font-size: 11px;
  }

  .cm-card__responsible,
  .cm-card__responsible * {
    font-size: 11px;
  }
}

@media (max-width: 420px) {
  .cm-card__grid {
    grid-template-columns: 104px minmax(0, 1fr);
    padding-left: 10px;
    padding-right: 10px;
  }

  .cm-card__content h3 {
    font-size: 17px;
  }
}
