.msb-root {
  --msb-green: #006f2c;
  --msb-yellow: #ffc400;
  --msb-text: #171717;
  --msb-muted: #626262;
  width: 100%;
  padding: 72px 24px;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--msb-text);
  background: #fff;
}

.msb-root *,
.msb-root *::before,
.msb-root *::after {
  box-sizing: border-box;
}

.msb-shell {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.msb-heading-wrap {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.msb-heading {
  margin: 0;
  color: var(--msb-text);
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.msb-heading::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: var(--msb-yellow);
}

.msb-heading-description {
  margin-top: 16px;
  color: var(--msb-muted);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
}

.msb-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

.msb-card {
  position: relative;
  min-width: 0;
  min-height: 286px;
  padding: 30px 24px 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--msb-text);
  text-decoration: none;
  background: #fff;
  border: 1px solid #e8eeea;
  border-radius: 22px;
  box-shadow: 6px 13px 24px -10px rgba(0,111,44,.25);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  isolation: isolate;
}

.msb-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -58px;
  bottom: -70px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  opacity: .10;
  filter: blur(1px);
  transition: transform .3s ease, opacity .3s ease;
}

.msb-tone-green::before {
  background: var(--msb-green);
}

.msb-tone-yellow::before {
  background: var(--msb-yellow);
}

.msb-tone-mixed::before {
  background: linear-gradient(135deg, var(--msb-green), var(--msb-yellow));
}

.msb-card:hover {
  transform: translateY(-7px);
  border-color: #b8dcc5;
  box-shadow: 8px 20px 34px -13px rgba(0,111,44,.34);
  color: var(--msb-text);
}

.msb-card:hover::before {
  transform: scale(1.12);
  opacity: .15;
}

.msb-icon {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 82px;
  height: 82px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--msb-green);
  background: #edf8ef;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.015);
}

.msb-icon::after {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: -1;
  border: 1px solid currentColor;
  border-radius: 12px;
  opacity: .10;
}

.msb-icon i {
  font-size: 39px;
  line-height: 1;
}

.msb-icon svg {
  display: block;
  width: 39px;
  height: 39px;
  fill: currentColor;
}

.msb-tone-green .msb-icon {
  color: var(--msb-green);
  background: #edf8ef;
}

.msb-tone-yellow .msb-icon {
  color: #d99f00;
  background: #fff8db;
}

.msb-tone-mixed .msb-icon {
  color: var(--msb-green);
  background: linear-gradient(135deg, #edf8ef 0 50%, #fff8db 50% 100%);
}

.msb-card-title {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  margin-bottom: 10px;
  color: var(--msb-text);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.32;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.msb-card-text {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  color: var(--msb-muted);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
}

.msb-accent-line {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 58%;
  height: 4px;
  border-radius: 999px 999px 0 0;
  transform: translateX(-50%);
  background: var(--msb-green);
  opacity: .85;
}

.msb-tone-yellow .msb-accent-line {
  background: var(--msb-yellow);
}

.msb-tone-mixed .msb-accent-line {
  background: linear-gradient(90deg, var(--msb-green), var(--msb-yellow));
}

@media (max-width: 1024px) {
  .msb-root {
    padding: 56px 22px;
  }

  .msb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .msb-card {
    min-height: 250px;
  }
}

@media (max-width: 767px) {
  .msb-root {
    padding: 38px 14px;
  }

  .msb-heading-wrap {
    margin-bottom: 26px;
  }

  .msb-heading {
    font-size: clamp(27px, 8.5vw, 38px);
  }

  .msb-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .msb-card {
    min-height: 0;
    padding: 25px 20px 24px;
    border-radius: 18px;
  }

  .msb-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    border-radius: 16px;
  }

  .msb-icon i {
    font-size: 34px;
  }

  .msb-icon svg {
    width: 34px;
    height: 34px;
  }

  .msb-card-title {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .msb-card,
  .msb-card::before {
    transition-duration: .01ms !important;
  }
}
