.reform-line {
  width: min(92%, 880px);
  margin: clamp(24px, 4vw, 44px) auto;
  padding: clamp(20px, 3vw, 32px) clamp(12px, 3vw, 26px);
  box-sizing: border-box;
  border: 1px solid #f0d9ae;
  border-radius: 20px;
  background: #fff7e8;
  text-align: center;
  color: #23392e;
}

.reform-line h2 {
  margin: 0 0 8px;
  padding: 0;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.5;
  color: inherit;
  text-shadow: none;
}

.reform-line h2::after {
  content: none;
}

.reform-line__label {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 14px;
  border-radius: 999px;
  background: #ffe5b7;
  color: #7b4214;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.reform-line__intro,
.reform-line__steps p {
  margin: 0;
  color: #46544b;
  font-size: 14px;
  line-height: 1.65;
}

.reform-line__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 18px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.reform-line__steps li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-content: start;
  align-items: center;
  gap: 5px 8px;
  padding: 12px;
  border: 1px solid #f2dfba;
  border-radius: 12px;
  background: #fff;
}

.reform-line__number {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffe3ad;
  color: #753d12;
  font-size: 14px;
  font-weight: 700;
}

.reform-line__steps strong {
  font-size: 15px;
  line-height: 1.4;
}

.reform-line__steps p {
  grid-column: 2;
}

.reform-line a.reform-line__button {
  display: inline-grid;
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  width: min(100%, 350px);
  min-height: 56px;
  margin-top: 18px;
  padding: 10px 16px;
  border-radius: 10px;
  background: linear-gradient(180deg, #4aa442, #278331 25%, #0e6d23);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 24%), 0 2px 5px rgb(14 109 35 / 16%);
  color: #fff;
  font-size: clamp(16px, 2.5vw, 19px);
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.reform-line__button svg {
  width: 24px;
  height: 24px;
}

.reform-line__arrow {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
}

.reform-line__arrow::before {
  content: '';
  margin-left: 2px;
  border-block: 5px solid transparent;
  border-left: 7px solid #16752b;
}

.reform-line a.reform-line__button:hover {
  background: linear-gradient(180deg, #16752b, #0c5f1d);
}

.reform-line a:focus-visible {
  outline: 2px solid #065c35;
  outline-offset: 3px;
}

.reform-line a.reform-line__form {
  display: block;
  width: fit-content;
  margin: 6px auto 0;
  padding: 5px 4px;
  color: #234c3a;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 650px) {
  .reform-line__steps {
    grid-template-columns: 1fr;
  }

  .reform-line__intro br {
    display: none;
  }
}

#line-contact-title {
  scroll-margin-top: 160px;
}

#mail-form {
  scroll-margin-top: 120px;
}
