body.agreement-page {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1d2736;
  background:
    radial-gradient(circle at top, rgba(214, 31, 38, 0.08), transparent 30%),
    linear-gradient(180deg, #f6f7fb 0%, #eef1f6 100%);
}

body.agreement-page a {
  color: inherit;
  text-decoration: none;
}

.agreement-wrap,
.site-footer .wrap {
  width: 1200px;
  margin: 0 auto;
}

.agreement-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e4e8f0;
  box-shadow: 0 12px 28px rgba(23, 34, 58, 0.08);
}

.agreement-header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.agreement-brand {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.agreement-brand strong {
  font-size: 22px;
  color: #182238;
}

.agreement-brand span {
  color: #d61f26;
  font-size: 14px;
  font-weight: 700;
}

.agreement-top-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #526078;
  font-size: 14px;
}

.agreement-top-nav a:hover,
.agreement-side a:hover,
.site-footer a:hover {
  color: #d61f26;
}

.agreement-main {
  padding: 34px 0 10px;
}

.agreement-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.agreement-side,
.agreement-article {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #e3e8f1;
  box-shadow: 0 16px 34px rgba(27, 39, 71, 0.08);
}

.agreement-side {
  position: sticky;
  top: 24px;
  padding: 20px;
}

.agreement-side h2 {
  margin: 0 0 16px;
  color: #182238;
  font-size: 20px;
}

.agreement-side a {
  display: block;
  padding: 13px 14px;
  border-top: 1px solid #eef2f6;
  color: #5a6578;
  font-size: 15px;
}

.agreement-side a.active {
  color: #d61f26;
  background: #fff3f3;
  font-weight: 800;
}

.agreement-article {
  padding: 34px 42px 44px;
}

.agreement-kicker {
  display: inline-flex;
  padding: 5px 12px;
  background: #fff1f1;
  color: #d61f26;
  font-size: 13px;
  font-weight: 800;
}

.agreement-article h1 {
  margin: 16px 0 0;
  color: #17233a;
  font-size: 34px;
  line-height: 1.3;
}

.agreement-summary {
  margin: 14px 0 0;
  color: #5d6a80;
  font-size: 16px;
  line-height: 1.9;
}

.agreement-meta {
  margin-top: 18px;
  padding: 14px 16px;
  background: #f7f9fc;
  border: 1px solid #e4eaf3;
  color: #68758a;
  font-size: 14px;
}

.agreement-article section {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid #e7ecf3;
}

.agreement-article section h2 {
  margin: 0;
  color: #1b2f4d;
  font-size: 22px;
}

.agreement-article ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: #35445b;
  font-size: 15px;
  line-height: 2;
}

.agreement-article li + li {
  margin-top: 8px;
}

.site-footer {
  margin-top: 40px;
  background: #1d2335;
  color: #d9deea;
  padding: 34px 0 0;
}

.footer-grid {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-grid > div {
  flex: 1 1 180px;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
  margin-top: 0;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 0 0 10px;
  color: #c7cfdd;
  line-height: 1.8;
}

.footer-icp {
  margin-top: 26px;
  padding: 28px 0 32px;
  border-top: 1px solid #e5e5e5;
  background: #fff;
  color: #999;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.8;
}

.footer-icp p {
  margin: 0 0 16px;
  color: #999;
}

.footer-icp a {
  display: inline-block;
  margin: 0;
  color: #999;
}

.footer-icp a:hover {
  color: #777;
}

@media (max-width: 1280px) {
  .agreement-wrap,
  .site-footer .wrap {
    width: calc(100% - 32px);
  }
}

@media (max-width: 920px) {
  .agreement-header-inner,
  .agreement-top-nav,
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .agreement-header-inner {
    padding: 18px 0;
  }

  .agreement-top-nav {
    gap: 12px;
  }

  .agreement-layout {
    grid-template-columns: 1fr;
  }

  .agreement-side {
    position: static;
  }

  .agreement-article {
    padding: 28px 22px 34px;
  }

  .agreement-article h1 {
    font-size: 28px;
  }
}
