.mg-sdev {
  --sdev-blue: #0062ad;
  --sdev-blue-hover: #2b8ed9;
  --sdev-text: #000;
  --sdev-white: #fff;
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 88px);
  background: var(--sdev-white);
  color: var(--sdev-text);
  font-family: Dewi, system-ui, sans-serif;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
}

.mg-sdev *,
.mg-sdev *::before,
.mg-sdev *::after {
  box-sizing: border-box;
}

.mg-sdev__wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}

.mg-sdev__h2 {
  margin: 0;
  font-size: clamp(32px, 6vw, 80px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.mg-sdev__h2 span {
  display: block;
}

@media (min-width: 960px) {
  .mg-sdev__h2 span {
    white-space: nowrap;
  }
}

.mg-sdev__lead {
  margin: clamp(28px, 4vw, 52px) 0 0;
  max-width: 960px;
  font-size: clamp(18px, 2.5vw, 30px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.mg-sdev a.mg-sdev__link {
  color: var(--sdev-blue);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.mg-sdev a.mg-sdev__link:hover {
  color: var(--sdev-blue-hover);
}

.mg-sdev__plate {
  margin-top: clamp(32px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 720px;
  background: var(--sdev-white);
  color: var(--sdev-text);
  border: 2px solid var(--sdev-blue);
}

.mg-sdev__stat {
  padding: 28px 32px 24px;
  min-width: 0;
}

.mg-sdev__stat + .mg-sdev__stat {
  border-left: 2px solid var(--sdev-blue);
}

.mg-sdev__num {
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.28em;
  color: var(--sdev-blue);
  font-size: clamp(56px, 8vw, 80px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.mg-sdev__unit {
  color: var(--sdev-text);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.mg-sdev__caption {
  margin: 12px 0 0;
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

@media (max-width: 959px) {
  .mg-sdev__wrap {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 639px) {
  .mg-sdev__wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  .mg-sdev__lead {
    font-size: 16px;
    line-height: 1.25;
  }

  .mg-sdev a.mg-sdev__link {
    white-space: normal;
  }

  .mg-sdev__plate {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .mg-sdev__stat + .mg-sdev__stat {
    border-left: 0;
    border-top: 2px solid var(--sdev-blue);
  }
}

#mg-steam {
  background: #fff;
  padding-bottom: 20px;
}

.mg-steam {
  --steam-text: #000;
  --steam-white: #fff;
  --steam-cream: #f2eeeb;
  --steam-blue: #0062ad;
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: calc(clamp(48px, 6vw, 80px) - 30px);
  background: var(--steam-cream);
  color: var(--steam-text);
  font-family: Dewi, system-ui, sans-serif;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
}

.mg-steam *,
.mg-steam *::before,
.mg-steam *::after {
  box-sizing: border-box;
}

.mg-steam__wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}

.mg-steam__h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.mg-steam__lead,
.mg-steam__quote p {
  margin: 24px 0 0;
  max-width: none;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.mg-steam__quote {
  margin: 32px 0 0;
  max-width: none;
  padding: 24px 28px;
  background: var(--steam-white);
  border: 0;
  border-left: 4px solid var(--steam-blue);
}

.mg-steam__quote p {
  margin: 0;
}

@media (max-width: 959px) {
  .mg-steam__wrap {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 639px) {
  .mg-steam__wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  .mg-steam__quote {
    padding: 20px 16px 20px 20px;
  }
}
