.case-lead {
  max-width: 760px;
  margin-bottom: 48px;
}

.case-lead__title {
  margin-top: 22px;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.case-lead__desc {
  margin-top: 18px;
  max-width: 640px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

.case-lead__desc strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.case-lead__marks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.case-lead__marks li {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: rgba(56, 189, 248, 0.08);
  color: #dbeafe;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.case-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px 26px 24px;
  border-radius: 22px;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(56, 189, 248, 0.14), transparent 52%),
    linear-gradient(180deg, rgba(16, 28, 50, 0.92), rgba(8, 14, 26, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.case-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.7), transparent);
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 22px 60px rgba(56, 189, 248, 0.12);
}

.case-card__no {
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.28;
  pointer-events: none;
}

.case-card__for {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent-cyan);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.case-card h3 {
  position: relative;
  max-width: 16em;
  font-size: 1.35rem;
  line-height: 1.35;
  margin-bottom: 12px;
}

.case-card__body p:last-child {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.case-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.case-points li {
  position: relative;
  padding-left: 14px;
  color: #dbe7f5;
  font-size: 0.84rem;
  line-height: 1.55;
}

.case-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
}

@media (min-width: 721px) {
  .case-card:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 12px 48px;
    align-items: center;
    padding: 36px 40px;
  }

  .case-card:last-child .case-points {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .case-grid,
  .case-points {
    grid-template-columns: 1fr;
  }

  .case-card {
    padding: 24px 18px 20px;
  }

  .case-card h3 {
    padding-right: 52px;
  }

  .case-card__no {
    font-size: 3rem;
  }
}
