:root {
  --tp-bg: #f5f8ff;
  --tp-card: #ffffff;
  --tp-ink: #0a1732;
  --tp-muted: #5e6d86;
  --tp-line: #dce5f2;
  --tp-blue: #1769ff;
  --tp-purple: #7355ff;
  --tp-soft: #edf3ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.tp-cn-page {
  margin: 0;
  color: var(--tp-ink);
  background:
    radial-gradient(
      circle at 88% 8%,
      rgba(115, 85, 255, 0.11),
      transparent 28rem
    ),
    var(--tp-bg);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei",
    system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

.tp-cn-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(220, 229, 242, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.tp-cn-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 36px));
  min-height: 72px;
  margin: auto;
}

.tp-cn-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--tp-ink);
  font-size: 24px;
  font-weight: 850;
  text-decoration: none;
}

.tp-cn-logo {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 27px;
}

.tp-cn-logo i {
  display: block;
  width: 6px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #8d65ff, #246cff);
}

.tp-cn-logo i:nth-child(1) {
  height: 14px;
}

.tp-cn-logo i:nth-child(2) {
  height: 21px;
}

.tp-cn-logo i:nth-child(3) {
  height: 27px;
}

.tp-cn-nav {
  display: flex;
  align-items: center;
  gap: 21px;
}

.tp-cn-nav a {
  color: #24344f;
  font-size: 14px;
  font-weight: 680;
  text-decoration: none;
}

.tp-cn-nav .tp-cn-primary {
  padding: 10px 16px;
  color: #ffffff;
  border-radius: 11px;
  background:
    linear-gradient(110deg, var(--tp-blue), var(--tp-purple));
}

.tp-cn-main {
  width: min(1120px, calc(100% - 32px));
  margin: auto;
  padding: 45px 0 76px;
}

.tp-cn-breadcrumb {
  margin-bottom: 20px;
  color: var(--tp-muted);
  font-size: 14px;
}

.tp-cn-breadcrumb a {
  color: var(--tp-blue);
  text-decoration: none;
}

.tp-cn-hero {
  padding: 45px;
  overflow: hidden;
  border: 1px solid rgba(214, 225, 242, 0.92);
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 86% 12%,
      rgba(116, 84, 255, 0.23),
      transparent 20rem
    ),
    linear-gradient(135deg, #ffffff, #f3f6ff);
  box-shadow: 0 24px 60px rgba(36, 59, 108, 0.1);
}

.tp-cn-eyebrow {
  margin: 0 0 12px;
  color: var(--tp-blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.tp-cn-hero h1 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(35px, 5vw, 59px);
  line-height: 1.11;
  letter-spacing: -0.025em;
}

.tp-cn-lead {
  max-width: 880px;
  margin: 20px 0 0;
  color: var(--tp-muted);
  font-size: 18px;
  line-height: 1.85;
}

.tp-cn-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 27px;
}

.tp-cn-fact {
  padding: 18px;
  border: 1px solid var(--tp-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.tp-cn-fact strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.tp-cn-fact span {
  color: var(--tp-muted);
  font-size: 13px;
  line-height: 1.55;
}

.tp-cn-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
  margin-top: 30px;
}

.tp-cn-article {
  padding: 36px;
  border: 1px solid var(--tp-line);
  border-radius: 24px;
  background: var(--tp-card);
  box-shadow: 0 14px 38px rgba(36, 59, 108, 0.07);
}

.tp-cn-section + .tp-cn-section {
  margin-top: 43px;
  padding-top: 37px;
  border-top: 1px solid var(--tp-line);
}

.tp-cn-section h2 {
  margin: 0 0 17px;
  font-size: clamp(24px, 3vw, 33px);
  line-height: 1.3;
}

.tp-cn-section p,
.tp-cn-section li {
  color: #4d5e79;
  font-size: 16px;
  line-height: 1.92;
}

.tp-cn-section p {
  margin: 0 0 15px;
}

.tp-cn-section ul,
.tp-cn-section ol {
  padding-left: 23px;
}

.tp-cn-section li + li {
  margin-top: 8px;
}

.tp-cn-sidebar {
  position: sticky;
  top: 94px;
}

.tp-cn-side-card {
  padding: 23px;
  border: 1px solid var(--tp-line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(36, 59, 108, 0.07);
}

.tp-cn-side-card + .tp-cn-side-card {
  margin-top: 18px;
}

.tp-cn-side-card h3 {
  margin: 0 0 13px;
}

.tp-cn-side-card a {
  display: block;
  padding: 9px 0;
  color: #354966;
  border-bottom: 1px solid #edf1f7;
  font-size: 14px;
  text-decoration: none;
}

.tp-cn-side-card a:last-child {
  border-bottom: 0;
}

.tp-cn-side-button {
  display: inline-flex !important;
  justify-content: center;
  width: 100%;
  margin-top: 8px;
  padding: 12px 16px !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 11px;
  background:
    linear-gradient(110deg, var(--tp-blue), var(--tp-purple));
  font-weight: 750;
}

.table-wrap {
  margin: 20px 0;
  overflow-x: auto;
  border: 1px solid var(--tp-line);
  border-radius: 15px;
}

table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  background: #ffffff;
}

th,
td {
  padding: 15px;
  border-bottom: 1px solid var(--tp-line);
  text-align: left;
  vertical-align: top;
  line-height: 1.65;
}

th {
  color: #1d3355;
  background: #f0f5ff;
  font-size: 14px;
}

td {
  color: #4e5f79;
  font-size: 14px;
}

tr:last-child td {
  border-bottom: 0;
}

pre {
  margin: 20px 0;
  padding: 20px;
  overflow-x: auto;
  color: #dce8ff;
  border-radius: 15px;
  background: #09172f;
  line-height: 1.65;
}

code {
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.check-list {
  padding-left: 0 !important;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--tp-blue);
  content: "✓";
  font-weight: 850;
}

.tp-cn-faq {
  margin-top: 40px;
  padding: 34px;
  border: 1px solid var(--tp-line);
  border-radius: 24px;
  background: #ffffff;
}

.tp-cn-faq h2 {
  margin: 0 0 20px;
}

.tp-cn-faq details {
  border-top: 1px solid var(--tp-line);
}

.tp-cn-faq details:last-child {
  border-bottom: 1px solid var(--tp-line);
}

.tp-cn-faq summary {
  padding: 18px 0;
  cursor: pointer;
  font-weight: 750;
}

.tp-cn-faq p {
  margin: 0;
  padding: 0 0 19px;
  color: var(--tp-muted);
  line-height: 1.8;
}

.tp-cn-center-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.tp-cn-center-card {
  display: block;
  padding: 27px;
  color: inherit;
  border: 1px solid var(--tp-line);
  border-radius: 20px;
  background: #ffffff;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(36, 59, 108, 0.07);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.tp-cn-center-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(36, 59, 108, 0.13);
}

.tp-cn-center-card small {
  color: var(--tp-blue);
  font-weight: 800;
}

.tp-cn-center-card h2 {
  margin: 10px 0;
  font-size: 25px;
}

.tp-cn-center-card p {
  margin: 0;
  color: var(--tp-muted);
  line-height: 1.75;
}

.tp-cn-footer {
  padding: 29px 20px;
  color: #718099;
  border-top: 1px solid var(--tp-line);
  background: #ffffff;
  text-align: center;
  font-size: 13px;
}

@media (max-width: 900px) {
  .tp-cn-nav a:not(.tp-cn-primary) {
    display: none;
  }

  .tp-cn-hero {
    padding: 30px 24px;
  }

  .tp-cn-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .tp-cn-sidebar {
    position: static;
  }

  .tp-cn-center-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .tp-cn-main {
    width: min(100% - 20px, 1120px);
    padding-top: 25px;
  }

  .tp-cn-hero {
    border-radius: 20px;
  }

  .tp-cn-hero h1 {
    font-size: 34px;
  }

  .tp-cn-lead {
    font-size: 16px;
  }

  .tp-cn-facts {
    grid-template-columns: 1fr;
  }

  .tp-cn-article,
  .tp-cn-faq {
    padding: 23px 20px;
    border-radius: 19px;
  }
}
