.home-solutions {
  padding: 4px 24px 32px;
  background: #f4f7fb;
}

.home-solutions__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  width: min(100%, 1320px);
  margin: 0 auto;
}

.product-card {
  min-width: 0;
  padding: 30px;
  border: 1px solid #e1e7ef;
  border-radius: 27px;
  background: #fff;
  box-shadow: 0 2px 4px #0b17360a;
}

.product-card__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(190px, .8fr);
  align-items: stretch;
  gap: 22px;
  height: 100%;
}

.product-card__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.product-card__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid #dce9fc;
  border-radius: 16px;
  background: #eff6ff;
  color: #2563eb;
}

.product-card__icon svg {
  width: 24px;
  height: 24px;
}

.product-card h2 {
  margin: 16px 0 5px;
  color: #182338;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -.025em;
  line-height: 1.3;
}

.product-card__description {
  color: #68758a;
  font-size: 13px;
  line-height: 1.55;
}

.product-card__features {
  display: grid;
  gap: 12px;
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
}

.product-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #536075;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.45;
}

.product-card__features li span {
  display: grid;
  width: 19px;
  height: 19px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #e7f0ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
}

.product-card__learn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: #2563eb;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.product-card__learn:hover {
  color: #1d4ed8;
}

.ewa-preview {
  align-self: center;
  padding: 15px;
  border: 1px solid #dce8f8;
  border-radius: 18px;
  background: linear-gradient(180deg, #f0f6ff 0%, #f8fafc 100%);
  box-shadow: inset 0 1px 4px #1e3a8a0c;
}

.ewa-preview__account {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 10px;
  border: 1px solid #edf0f4;
  border-radius: 12px;
  background: #fff;
}

.ewa-preview__icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: none;
  place-items: center;
  border-radius: 9px;
  background: #eff6ff;
  color: #2563eb;
}

.ewa-preview__account small,
.ewa-preview__account strong {
  display: block;
}

.ewa-preview__account small {
  margin-bottom: 3px;
  color: #8995a8;
  font-size: 9px;
}

.ewa-preview__account strong {
  color: #1d293d;
  font-size: 13px;
  white-space: nowrap;
}

.ewa-preview__progress {
  height: 7px;
  margin: 13px 2px 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9edf4;
}

.ewa-preview__progress span {
  display: block;
  width: 60%;
  height: 100%;
  border-radius: inherit;
  background: #2563eb;
}

.ewa-preview__balance {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #8b96a8;
  font-size: 8px;
  font-weight: 650;
}

.ewa-preview__actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 16px;
  text-align: center;
}

.ewa-preview__actions > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.ewa-preview__actions > div > span {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid #e3e8f0;
  border-radius: 50%;
  background: #fff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
}

.ewa-preview__actions small {
  color: #758197;
  font-size: 9px;
  font-weight: 600;
}

.lms-preview {
  display: flex;
  align-self: center;
  min-width: 0;
  min-height: 205px;
  overflow: hidden;
  border: 2px solid #27344a;
  border-radius: 13px;
  background: #0b1329;
  box-shadow: 0 7px 17px #0b173624;
}

.lms-preview__sidebar {
  display: flex;
  width: 72px;
  flex: none;
  flex-direction: column;
  gap: 9px;
  padding: 12px 8px;
  background: #101a30;
}

.lms-preview__sidebar strong {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
  color: #fff;
  font-size: 10px;
}

.lms-preview__sidebar strong i {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: #3978fa;
}

.lms-preview__sidebar > span {
  overflow: hidden;
  color: #8e9bb2;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lms-preview__sidebar > span.is-active {
  color: #fff;
  font-weight: 700;
}

.lms-preview__main {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 12px 10px;
  background: #fff;
}

.lms-preview__title {
  overflow: hidden;
  color: #1b2638;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lms-preview__tabs {
  display: flex;
  gap: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid #edf0f4;
  font-size: 7px;
  white-space: nowrap;
}

.lms-preview__tabs b {
  color: #2563eb;
}

.lms-preview__tabs span,
.lms-preview__main > small {
  color: #98a2b2;
}

.lms-preview__main > small {
  font-size: 8px;
}

.lms-preview__status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 6px;
  border: 1px solid #edf0f4;
  border-radius: 5px;
  background: #f8fafc;
  color: #546177;
  font-size: 8px;
  white-space: nowrap;
}

.lms-preview__status i {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: #19b981;
}

.lms-preview__status:nth-last-child(2) i { background: #f2aa2d; }
.lms-preview__status:last-child i { background: #3978fa; }

@media (max-width: 1080px) {
  .home-solutions__grid { gap: 18px; }
  .product-card { padding: 22px; }
  .product-card__layout { grid-template-columns: minmax(0, 1fr) minmax(160px, .78fr); gap: 14px; }
  .product-card h2 { font-size: 18px; }
}

@media (max-width: 760px) {
  .home-solutions { padding: 10px 16px 28px; }
  .home-solutions__grid { grid-template-columns: 1fr; gap: 16px; }
  .product-card { padding: 24px; border-radius: 22px; }
  .product-card__layout { grid-template-columns: minmax(0, 1.2fr) minmax(170px, .8fr); }
}

@media (max-width: 520px) {
  .product-card { padding: 21px; }
  .product-card__layout { grid-template-columns: 1fr; }
  .ewa-preview,.lms-preview { width: min(100%, 310px); justify-self: center; }
  .lms-preview { min-height: 190px; }
}
