.levels-page {
  background: #f6fbfa;
}

.levels-section {
  padding: clamp(72px, 8vw, 118px) 0;
  background: #fff;
}

.levels-section + .levels-section {
  border-top: 1px solid rgba(16, 48, 45, 0.12);
}

.levels-section--intro {
  background: linear-gradient(135deg, #ffffff 0%, #f4fbfa 58%, #e7f8f5 100%);
}

.levels-section--soft {
  background: #eef8f6;
}

.levels-section--examples {
  background: linear-gradient(135deg, #f6fbfa 0%, #ffffff 48%, #e9f8f5 100%);
}

.levels-intro {
  max-width: 980px;
}

.levels-intro__body {
  max-width: 940px;
  color: #55736d;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  line-height: 1.72;
}

.levels-principle-grid,
.levels-card-grid,
.levels-examples-grid {
  display: grid;
  gap: 0;
  margin-top: clamp(34px, 4vw, 56px);
  border-top: 4px solid #4eccb8;
  background: #fff;
}

.levels-principle-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.levels-card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.levels-examples-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.levels-principle-card,
.levels-info-card,
.levels-example-card {
  min-height: 280px;
  padding: clamp(30px, 3.4vw, 48px);
  border-right: 1px solid rgba(16, 48, 45, 0.14);
  border-bottom: 1px solid rgba(16, 48, 45, 0.14);
  background: #fff;
}

.levels-principle-card:nth-child(3n),
.levels-info-card:nth-child(4n),
.levels-example-card:nth-child(5n) {
  border-right: 0;
}

.levels-principle-card__icon,
.levels-info-card__icon {
  display: inline-flex;
  width: 62px;
  height: 62px;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  border-radius: 18px;
  background: rgba(78, 204, 184, 0.12);
  color: #4eccb8;
}

.levels-principle-card h3,
.levels-info-card h3,
.levels-example-card h3,
.levels-choice-card h3 {
  margin: 0 0 16px;
  color: #172824;
  font-size: clamp(1.35rem, 1.8vw, 1.95rem);
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: 0;
}

.levels-principle-card p,
.levels-info-card p,
.levels-example-card p,
.levels-choice-card p {
  margin: 0;
  color: #55736d;
  font-size: clamp(1rem, 1.05vw, 1.12rem);
  line-height: 1.62;
}

.levels-table-wrap {
  margin-top: clamp(34px, 4vw, 56px);
  overflow-x: auto;
  border: 1px solid rgba(78, 204, 184, 0.42);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(16, 48, 45, 0.08);
}

.levels-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  color: #172824;
}

.levels-table th,
.levels-table td {
  padding: 24px 28px;
  border-right: 1px solid rgba(16, 48, 45, 0.1);
  border-bottom: 1px solid rgba(16, 48, 45, 0.12);
  text-align: left;
  vertical-align: top;
}

.levels-table th:last-child,
.levels-table td:last-child {
  border-right: 0;
}

.levels-table tbody tr:last-child th,
.levels-table tbody tr:last-child td {
  border-bottom: 0;
}

.levels-table thead th {
  background: #4eccb8;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.levels-table tbody th {
  width: 22%;
  color: #4eccb8;
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);
  font-weight: 950;
}

.levels-table td strong {
  display: inline-block;
  color: #172824;
  font-size: clamp(1.05rem, 1.4vw, 1.32rem);
  font-weight: 950;
}

.levels-table td {
  color: #55736d;
  font-size: clamp(1rem, 1.05vw, 1.12rem);
  line-height: 1.58;
}

.levels-note {
  margin: 22px 0 0;
  max-width: 940px;
  color: #55736d;
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  line-height: 1.65;
}

.levels-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: clamp(34px, 4vw, 56px);
}

.levels-choice-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: clamp(28px, 3vw, 38px);
  border: 1px solid rgba(78, 204, 184, 0.38);
  border-radius: 24px;
  background: #fff;
}

.levels-choice-card__step {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #4eccb8;
  color: #172824;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.levels-example-card {
  min-height: 320px;
}

.levels-example-card__level {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(78, 204, 184, 0.14);
  color: #4eccb8;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.levels-example-card__link {
  display: inline-flex;
  margin-top: 24px;
  color: #4eccb8;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.levels-example-card__link:hover {
  color: #ff9f00;
}

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

  .levels-example-card:nth-child(5n) {
    border-right: 1px solid rgba(16, 48, 45, 0.14);
  }

  .levels-example-card:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 900px) {
  .levels-section {
    padding: 58px 0;
  }

  .levels-principle-grid,
  .levels-card-grid--four,
  .levels-examples-grid,
  .levels-choice-grid {
    grid-template-columns: 1fr;
  }

  .levels-principle-card,
  .levels-principle-card:nth-child(3n),
  .levels-info-card,
  .levels-info-card:nth-child(4n),
  .levels-example-card,
  .levels-example-card:nth-child(5n),
  .levels-example-card:nth-child(2n) {
    border-right: 0;
  }
}
