@charset "UTF-8";

.termsBanner.globalBanner {
  min-height: 360px;
  background:
    radial-gradient(circle at 18% 24%, rgba(24, 182, 255, 0.2), transparent 30%),
    linear-gradient(135deg, #f5fbff 0%, #eef6ff 48%, #ffffff 100%);
}

.termsBanner.globalBanner .pagebanner .pagebanner-text .pagebanner-title,
.termsBanner.globalBanner .pagebanner .pagebanner-text .pagebanner-description {
  color: #14233b;
}

.terms-main {
  padding: 72px 0 88px;
  background:
    linear-gradient(90deg, rgba(38, 113, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(38, 113, 255, 0.05) 1px, transparent 1px),
    #f6faff;
  background-size: 36px 36px;
}

.terms-panel {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.terms-aside {
  position: sticky;
  top: calc(var(--navheight) + 24px);
  padding: 16px;
  border: 1px solid rgba(36, 99, 235, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(20, 52, 99, 0.08);
}

.terms-aside a {
  display: block;
  padding: 12px 14px;
  border-radius: 6px;
  color: #41516e;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.24s ease, background 0.24s ease, transform 0.24s ease;
}

.terms-aside a:hover {
  color: #0b67f7;
  background: rgba(11, 103, 247, 0.08);
  transform: translateX(3px);
}

.terms-content {
  padding: 38px 44px;
  border: 1px solid rgba(36, 99, 235, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 52px rgba(20, 52, 99, 0.1);
}

.terms-content section {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid #e8eef8;
}

.terms-content section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.terms-content h1,
.terms-content h2,
.terms-content h3 {
  color: #14233b;
  font-weight: 800;
  line-height: 1.45;
}

.terms-content h2 {
  margin-bottom: 14px;
  font-size: 22px;
}

.terms-content p,
.terms-content li {
  color: #52627a;
  font-size: 15px;
  line-height: 2;
}

.terms-content p + p {
  margin-top: 8px;
}

.terms-content a {
  color: #0b67f7;
}

@media (max-width: 768px) {
  .termsBanner.globalBanner {
    min-height: 280px;
  }

  .terms-main {
    padding: 36px 0 54px;
  }

  .terms-panel {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .terms-aside {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .terms-aside a {
    padding: 10px;
    text-align: center;
  }

  .terms-content {
    padding: 24px 18px;
  }

  .terms-content h2 {
    font-size: 18px;
  }
}
