.tool-intro--legacy {
  box-sizing: border-box;
  margin: 0 0 18px;
  padding: clamp(16px, 3vw, 28px) clamp(14px, 3vw, 30px);
  border: 1px solid #d5e1ef;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(24, 49, 80, .06);
  text-align: left;
}

.tool-intro--legacy > h2 {
  height: auto;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  color: #17253a;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.4;
  text-indent: 0;
}

.tool-intro--legacy > h2 .title-icon {
  display: none;
}

.tool-intro--legacy .tool-intro__description {
  margin: 0;
  color: #435a75;
  font-size: 15px;
  line-height: 1.65;
}

.tool-intro--legacy + form > ul.zhuanhuan,
.tool-intro--legacy + ul.zhuanhuan,
.tool-intro--legacy ~ div ul.zhuanhuan {
  border-top: 1px solid #ccc;
}

.tool-intro .tool-trial {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  margin: 14px 0 0;
  padding: 8px 12px;
  border: 1px solid #d6e4f4;
  border-radius: 8px;
  background: #f3f8fe;
  color: #234463;
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
}

.tool-trial__message {
  min-width: 0;
  overflow-wrap: anywhere;
}

.tool-trial__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 13px;
}

.tool-trial__actions[hidden], .tool-trial__register[hidden] {
  display: none;
}

.tool-trial .tool-trial__register {
  padding-block: 6px;
  color: #1556a1;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.tool-trial .tool-trial__action {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  color: #1556a1;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tool-trial .tool-trial__action[hidden] {
  display: none;
}

.tool-trial .tool-trial__action:focus-visible,
.hero .tool-membership-link:focus-visible {
  outline: 2px solid #1556a1;
  outline-offset: 4px;
  border-radius: 2px;
}

.tool-intro .tool-trial[data-state="exhausted"] {
  gap: 10px 16px;
  padding: 10px 14px;
  border-color: #e5cb91;
  border-inline-start: 4px solid #a96013;
  background: #fff5e1;
  color: #6e3b15;
}

.tool-trial[data-state="exhausted"] .tool-trial__message {
  font-size: 15px;
  font-weight: 750;
}

.tool-trial[data-state="exhausted"] .tool-trial__action,
.hero .tool-membership-link {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 15px;
  border-radius: 8px;
  background: #185ca6;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.tool-trial[data-state="exhausted"] .tool-trial__action:hover,
.hero .tool-membership-link:hover {
  background: #12447b;
}

.hero .tool-membership-link {
  margin-block-start: 8px;
}

.tool-trial[data-state="error"] {
  border-color: #edd4ca;
  background: #fff8f5;
  color: #813b2c;
}

@media (max-width: 480px) {
  .tool-intro .tool-trial {
    justify-content: flex-start;
  }
}

@media (max-width: 780px) {
  .tool-intro--legacy {
    margin-right: 12px;
    margin-left: 12px;
  }
  .tool-intro--legacy + form > ul.zhuanhuan,
  .tool-intro--legacy + ul.zhuanhuan,
  .tool-intro--legacy ~ div ul.zhuanhuan {
    box-sizing: border-box;
  }
}
