/* ==========================================================================
   Detailed ranks teaser (public stock page)
   A static picture of the app's rank table with invented values, faded, with
   a call to action on top. No real ranks are in the page any more.
   ========================================================================== */

.metrics-table-section .rm-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
}

.rm-wrap picture,
.rm-wrap .rm-img {
  display: block;
  width: 100%;
  height: auto;
}

/* grayed out + faded */
.rm-wrap .rm-img {
  opacity: 0.85;
  filter: grayscale(0.2);
  pointer-events: none;
  user-select: none;
}

.rm-wrap .rm-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(249, 247, 245, 0) 0%, rgba(249, 247, 245, 0.2) 55%, rgba(249, 247, 245, 0.7) 100%);
}

.rm-wrap .rm-cta {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.rm-cta .rm-cta__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 520px;
  padding: 24px 32px;
  border: 1px solid var(--color-border, #E0DAD1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.metrics-table-section .rm-cta .rm-cta__text {
  margin: 0;
  max-width: 460px;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  color: #3F3B37;
}

.rm-cta .rm-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 999px;
  background: var(--color-button-orange, #D13D14);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  transition: background-color 0.2s ease;
}

.rm-cta .rm-cta__btn:hover {
  background: rgba(209, 61, 20, 0.85);
}

.rm-cta .rm-cta__btn i,
.rm-cta .rm-cta__btn svg {
  width: 16px;
  height: 16px;
}

.metrics-table-section .rm-note {
  max-width: 1100px;
  margin: 10px auto 0;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(63, 59, 55, 0.6);
}

@media (max-width: 767px) {
  .metrics-table-section .rm-wrap {
    border-radius: 8px;
  }

  .metrics-table-section .rm-note {
    margin-top: 8px;
  }

  .metrics-table-section .rm-cta .rm-cta__text {
    font-size: 16px;
  }

  .rm-wrap .rm-cta {
    padding: 12px;
  }

  .rm-cta .rm-cta__box {
    gap: 12px;
    padding: 16px 18px;
  }
}
