/* ==========================================================
   Unlimited page
   ========================================================== */

/* ---------- Plan cards ---------- */
.ucards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.ucard {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 6px solid var(--navy);
  border-radius: 8px;
  scroll-margin-top: 140px;
}

.ucard:last-child {
  border-top-color: var(--sky);
}

.ucard__name {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 112%;
  font-size: 1.45rem;
  color: var(--navy);
}

.ucard__price {
  margin: 8px 0 4px;
}

.ucard__price b {
  font-size: 2rem;
  color: var(--red);
}

.ucard__price span {
  margin-left: 4px;
  font-weight: 600;
}

.ucard__be {
  margin: 0 0 14px;
  padding: 4px 8px;
  border-radius: 4px;
  background: #E8F7EE;
  color: #14532D;
  font-size: .88rem;
  font-weight: 700;
}

.ucard__lead {
  margin: 0 0 8px;
  font-weight: 700;
}

.ucard__list {
  display: grid;
  gap: 6px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.ucard__list li {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ucard__list .check-ico {
  margin: 0;
}

.ucard .btn {
  margin-top: auto;
}

.ucard__single {
  margin: 10px 0 0;
  font-size: .9rem;
  text-align: center;
  color: var(--muted);
}

/* ---------- Steps ---------- */
.usteps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.usteps li {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.usteps h3 {
  margin: 10px 0 6px;
  font-size: 1.1rem;
  color: var(--navy);
}

.usteps p {
  margin: 0;
}

.usteps__n {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 0 0 4px var(--lane);
}

.u1__split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ucards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .usteps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .u1__split {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 560px) {
  .ucards,
  .usteps {
    grid-template-columns: 1fr;
  }
}

/* Let grid columns shrink below their content (tables scroll inside their own wrapper) */
.u1__split > * {
  min-width: 0;
}
