.formal-site {
  --formal-ink: #20372b;
  --formal-muted: #5f6b64;
  --formal-line: #e2e9e3;
  --formal-green: #2f6b48;
  background: #fbfcfa;
}

.formal-site .site-header {
  background: rgba(251,252,250,.95);
}

.features-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  padding-top: 42px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--formal-line);
}

.features-intro .eyebrow {
  margin-bottom: 8px;
}

.features-intro h1 {
  margin: 0;
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -.045em;
}

.features-intro > div > p:last-child {
  margin: 12px 0 0;
  color: var(--formal-muted);
  font-size: 13px;
  line-height: 1.7;
}

.features-jumps {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.features-jumps a {
  padding: 8px 12px;
  border: 1px solid #dce7dd;
  border-radius: 999px;
  background: #fff;
  color: #476552;
  font-size: 11.5px;
  font-weight: 680;
}

.features-jumps a:hover {
  border-color: #c8ddcc;
  background: #f3f8f3;
}

.features-catalog {
  padding-top: 30px;
  padding-bottom: 18px;
}

.feature-group {
  padding: 28px 0 34px;
  border-bottom: 1px solid var(--formal-line);
  scroll-margin-top: 84px;
}

.feature-group:first-child {
  padding-top: 0;
}

.feature-group-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 15px;
}

.feature-group-head h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -.025em;
}

.feature-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.feature-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-height: 94px;
  padding: 13px 92px 31px 14px;
  border: 1px solid #e0e8e1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(28,47,35,.035);
}

.feature-card.is-active {
  border-color: #d0e1d3;
  background: #fcfefc;
  box-shadow: 0 6px 18px rgba(47,107,72,.045);
}

.feature-card img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;
}

.feature-card > div {
  min-width: 0;
}

.feature-card h3 {
  margin: 1px 0 0;
  font-size: 16px;
  line-height: 1.3;
}

.feature-card p {
  margin: 6px 0 8px;
  color: var(--formal-muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.feature-card span {
  color: #578066;
  font-size: 10px;
  line-height: 1.4;
}

.feature-card .feature-price {
  position: absolute;
  top: 12px;
  right: 14px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #edf7ef;
  color: #3f7652;
  font-size: 10.5px;
  font-weight: 760;
  line-height: 1.25;
  text-align: right;
  white-space: nowrap;
}

.feature-card .feature-price-paid {
  background: #f3f5f1;
  color: #284536;
  font-size: 12px;
}

.feature-card .feature-price small {
  color: #6b786f;
  font-size: 9px;
  font-weight: 650;
}

.feature-card .feature-price em {
  display: block;
  margin-top: 2px;
  color: #78847d;
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
}

.feature-card .feature-hint {
  display: block;
  margin-top: 3px;
  color: #557661;
  font-size: 10.5px;
  font-weight: 600;
}

.feature-more {
  position: absolute;
  right: 14px;
  bottom: 9px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #39704e;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.feature-more:hover {
  color: #245c3c;
}

.feature-more span {
  color: inherit;
  font-size: inherit;
}

.feature-detail-drawer {
  position: relative;
  grid-column: 1 / -1;
  margin: 0 0 3px;
  padding: 10px 16px 11px;
  border: 1px solid #dfe9e0;
  border-radius: 13px;
  background: #fbfdfb;
  box-shadow: none;
}

.feature-detail-drawer::before {
  content: "";
  position: absolute;
  top: -9px;
  left: var(--detail-anchor, 50%);
  width: 18px;
  height: 9px;
  border-left: 1px solid #c7dccb;
  transform: translateX(-50%);
}

.feature-detail-drawer[hidden] {
  display: none;
}

.feature-detail-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
}

.feature-detail-head strong {
  font-size: 14px;
  letter-spacing: -.02em;
}

.feature-detail-head strong::after {
  content: " · 详细功能";
  color: #929c96;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
}

.feature-detail-close {
  margin-left: auto;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #78847d;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.feature-detail-close:hover {
  background: #eef5ee;
  color: #355f44;
}

.feature-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 22px;
  margin: 5px 0 0;
  padding: 0;
  list-style: none;
}

.feature-detail-list[data-count="1"] {
  grid-template-columns: minmax(0, 1fr);
}

.feature-detail-list[data-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-detail-list[data-count="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-detail-list[data-count="4"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-detail-list li {
  position: relative;
  padding-left: 14px;
  color: #536159;
  font-size: 11px;
  line-height: 1.45;
}

.feature-detail-list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: .72em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #78a184;
  transform: translateY(-50%);
}

.feature-note {
  margin: 12px 2px 0;
  color: #7b8780;
  font-size: 10.5px;
  line-height: 1.65;
}

.feature-group-work {
  border-bottom: 0;
  padding-bottom: 10px;
}

.feature-card-grid-work {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card-work {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-rows: 72px auto;
  column-gap: 14px;
  row-gap: 6px;
  min-height: 146px;
  padding: 15px 16px 38px;
}

.feature-card-work img {
  grid-column: 1;
  grid-row: 1;
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.feature-card-work > div {
  display: contents;
}

.feature-card-work h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0;
  padding-right: 104px;
  font-size: 16px;
  line-height: 1.3;
}

.feature-card-work p {
  grid-column: 1 / -1;
  grid-row: 2;
  min-height: 0;
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.55;
}

.feature-card-work .feature-hint {
  position: absolute;
  left: 16px;
  bottom: 11px;
  margin: 0;
  max-width: calc(100% - 132px);
  white-space: nowrap;
}

.feature-card-work .feature-more {
  right: 16px;
  bottom: 11px;
}

.feature-card-work .feature-price {
  top: 13px;
  right: 13px;
  padding: 6px 11px;
  font-size: 12px;
}

.feature-card-work .feature-price-paid {
  font-size: 14px;
}

.feature-card-work .feature-price small,
.feature-card-work .feature-price em {
  font-size: 10px;
}

#rules.formal-section {
  padding-top: 42px;
  padding-bottom: 54px;
}

.purchase-head {
  margin-bottom: 10px;
}

.purchase-head h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -.03em;
}

.purchase-list {
  border-top: 1px solid #e2e9e3;
}

.purchase-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid #e7ede8;
}

.purchase-list > article > span {
  padding-top: 2px;
  color: #6f9a77;
  font-size: 10.5px;
  font-weight: 760;
}

.purchase-list h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
}

.purchase-list p {
  margin: 4px 0 0;
  color: var(--formal-muted);
  font-size: 11.5px;
  line-height: 1.65;
}

.purchase-download-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
  margin-top: 20px;
  min-height: 144px;
  padding: 24px 28px;
  border: 1px solid #d5e5d6;
  border-radius: 22px;
  background: linear-gradient(100deg, #eff8ef 0%, #fbfdfb 100%);
  box-shadow: 0 12px 28px rgba(28,47,35,.05);
}

.purchase-download-copy h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.purchase-download-copy p {
  margin: 9px 0 0;
  color: var(--formal-muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.purchase-download-button {
  min-width: 174px;
  min-height: 52px;
  justify-content: center;
  gap: 8px;
  padding-inline: 22px;
}

.purchase-download-button .windows-icon {
  width: 19px;
  height: 19px;
  flex-basis: 19px;
}

.purchase-help-inline {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
  font-size: 11.5px;
}

.purchase-help-inline .text-link {
  margin: 0;
}

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

@media (max-width: 820px) {
  .features-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .features-jumps {
    justify-content: flex-start;
  }

  .feature-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .features-intro {
    padding-top: 32px;
    padding-bottom: 22px;
  }

  .features-intro h1 {
    font-size: 38px;
  }

  .feature-group-head {
    align-items: flex-start;
  }

  .feature-card-grid,
  .feature-card-grid-work {
    grid-template-columns: 1fr;
  }

  .purchase-download-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
  }

  .purchase-download-button {
    width: 100%;
  }

  .purchase-help-inline {
    justify-content: flex-start;
  }

  .feature-card-work {
    min-height: 0;
  }

  .feature-card-work p {
    min-height: 0;
  }

  .feature-detail-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .feature-detail-list[data-count] {
    grid-template-columns: 1fr;
  }
}

