/* FitInLive stable cleanup: no overlays, no duplicate free blocks */
html, body {
  overflow-x: hidden;
}

body > .fit-legal-footer,
#fitinlive-legal-footer {
  display: none !important;
}

.page > .fit-free-page,
.page > .fit-free-materials-section,
#fit-free-materials-section {
  display: none !important;
}

.fit-free-stable-section {
  position: relative;
  overflow: hidden;
}

.fit-free-stable-section::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -170px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(151, 234, 17, .16);
  pointer-events: none;
}

.fit-free-stable-section > * {
  position: relative;
  z-index: 1;
}

.fit-free-stable-side .fit-free-link-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  color: #15151f;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.fit-free-stable-side .fit-free-link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(20,20,30,.08);
}

.fit-free-link-card--green {
  background: #f1ffdf !important;
  border-color: #d9f5b0 !important;
}

.fit-free-link-card--violet {
  background: #f3efff !important;
  border-color: #ded2ff !important;
}

.fit-free-link-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fff;
  color: #7a62df;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 16px;
}

.fit-free-link-card h3 {
  font-size: 28px;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.fit-free-link-card p {
  margin-bottom: 20px;
}

.fit-free-link-card b {
  margin-top: auto;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #11111c;
  color: #fff;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 900;
}

.legal-footer a {
  color: #747783;
}

.web-auth-screen + .fit-legal-footer {
  display: none !important;
}

@media (max-width: 920px) {
  .legal-footer {
    padding-bottom: calc(112px + env(safe-area-inset-bottom)) !important;
  }

  .fit-free-final-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  .fit-free-final {
    padding: 22px !important;
  }

  .fit-free-final-head h1 {
    font-size: clamp(32px, 11vw, 48px) !important;
  }

  .fit-free-link-card h3 {
    font-size: 24px;
  }
}
