:root {
  color-scheme: light;
  --site-shell-bg: #f4f3fb;
  --site-shell-surface: rgba(255, 255, 255, 0.94);
  --site-shell-card: #ffffff;
  --site-shell-border: rgba(92, 85, 204, 0.14);
  --site-shell-border-strong: rgba(92, 85, 204, 0.22);
  --site-shell-text: #211c4f;
  --site-shell-muted: #625d82;
  --site-shell-brand: #5d55cb;
  --site-shell-brand-strong: #4b45b0;
  --site-shell-shadow: 0 20px 44px rgba(87, 76, 180, 0.12);
  --site-shell-shadow-soft: 0 12px 28px rgba(87, 76, 180, 0.08);
}

* {
  box-sizing: border-box;
}

body.site-shell-body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(111, 95, 224, 0.12), transparent 28%),
    linear-gradient(180deg, #f7f6fc 0%, #f2f4fb 52%, #eef1f8 100%);
  color: var(--site-shell-text);
  font-family: "HarmonyOS Sans SC", "MiSans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.site-shell-body a,
.site-shell-nav a,
.site-footer a {
  text-decoration: none;
}

.site-shell-header {
  position: sticky;
  top: 0;
  z-index: 120;
  width: 100%;
  padding: 18px 18px 14px;
  background: rgba(244, 243, 251, 0.88);
  border-bottom: 1px solid rgba(92, 85, 204, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-shell-header__card,
.site-shell-nav--contained {
  max-width: 1120px;
  margin: 0 auto;
}

.site-shell-header__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  background: var(--site-shell-surface);
  border: 1px solid rgba(92, 85, 204, 0.1);
  border-radius: 22px;
  box-shadow: var(--site-shell-shadow);
}

.site-shell-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--site-shell-brand);
}

.site-shell-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.site-shell-body .site-shell-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--site-shell-brand) 0%, #8f72ff 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 16px 30px rgba(92, 85, 204, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-shell-body .site-shell-home-link:hover,
.site-shell-body .site-shell-home-link:focus {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(92, 85, 204, 0.24);
  color: #ffffff;
}

.site-shell-nav {
  width: min(1120px, calc(100% - 36px));
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px auto 0;
  justify-content: center;
}

.site-shell-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(92, 85, 204, 0.1);
  color: var(--site-shell-brand-strong);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(92, 85, 204, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-shell-nav a:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(92, 85, 204, 0.1);
}

.site-shell-nav a.is-active {
  background: linear-gradient(135deg, var(--site-shell-brand) 0%, #8067f5 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 14px 26px rgba(92, 85, 204, 0.16);
}

.page-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 30px 20px 80px;
}

.page-shell__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
  align-items: start;
}

.page-shell__content {
  background: var(--site-shell-card);
  border: 1px solid rgba(92, 85, 204, 0.08);
  border-radius: 26px;
  padding: clamp(24px, 3.8vw, 38px);
  box-shadow: var(--site-shell-shadow-soft);
}

.page-shell__aside {
  position: sticky;
  top: 124px;
  display: grid;
  gap: 14px;
}

.page-shell__hero {
  margin-bottom: 28px;
}

.page-shell__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(92, 85, 204, 0.1);
  color: var(--site-shell-brand);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-shell__hero h1 {
  margin: 16px 0 14px;
  font-family: "Noto Serif SC", "Source Han Serif SC", serif;
  font-size: clamp(2rem, 4.8vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--site-shell-text);
}

.page-shell__summary {
  margin: 0;
  color: var(--site-shell-muted);
  line-height: 1.8;
  font-size: 1rem;
}

.page-shell__facts {
  margin: 16px 0 0;
  padding-left: 18px;
  color: #433d67;
  line-height: 1.8;
}

.page-section,
.page-panel,
.page-note,
.page-grid-card,
.page-toc,
.page-link-card {
  border: 1px solid rgba(92, 85, 204, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
  box-shadow: 0 10px 22px rgba(92, 85, 204, 0.06);
}

.page-section {
  padding: 22px 22px 24px;
  margin-top: 18px;
}

.page-section:first-of-type {
  margin-top: 0;
}

.page-section h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  color: var(--site-shell-text);
}

.page-section h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: #2b2758;
}

.page-section p {
  margin: 0;
  color: #4f4a6d;
  line-height: 1.8;
}

.page-section p + p,
.page-section p + ul,
.page-section p + ol,
.page-section ul + p,
.page-section ul + ul,
.page-section ol + p {
  margin-top: 12px;
}

.page-section ul,
.page-section ol {
  margin: 0;
  padding-left: 20px;
  color: #433d67;
  line-height: 1.8;
}

.page-section li + li {
  margin-top: 6px;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.page-grid-card {
  padding: 18px;
}

.page-grid-card p {
  margin: 0;
}

.page-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.page-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(92, 85, 204, 0.1);
  border: 1px solid rgba(92, 85, 204, 0.16);
  color: var(--site-shell-brand-strong);
  font-weight: 700;
  font-size: 0.9rem;
}

.page-chip:hover {
  background: rgba(92, 85, 204, 0.16);
}

.page-toc,
.page-link-card {
  padding: 18px;
}

.page-toc__title,
.page-link-card__title {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #312d58;
}

.page-toc ol,
.page-link-card ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.page-toc li,
.page-link-card li {
  margin: 8px 0;
  color: #504a72;
  line-height: 1.6;
}

.page-toc a,
.page-link-card a {
  color: var(--site-shell-brand-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-link-card ul {
  display: grid;
  gap: 10px;
}

.page-link-card li {
  margin: 0;
}

.page-link-card a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 11px 14px;
  border-radius: 14px;
  background: rgba(92, 85, 204, 0.08);
  border: 1px solid rgba(92, 85, 204, 0.12);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.page-link-card a:hover,
.page-link-card a:focus {
  transform: translateY(-1px);
  background: rgba(92, 85, 204, 0.14);
  border-color: rgba(92, 85, 204, 0.2);
}

.page-note {
  padding: 18px 20px;
  margin-top: 18px;
  background: linear-gradient(135deg, rgba(92, 85, 204, 0.08), rgba(255, 255, 255, 0.94));
}

.page-note p {
  margin: 0;
  color: #4a446a;
  line-height: 1.8;
}

.page-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.page-metric {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(92, 85, 204, 0.1);
  background: linear-gradient(135deg, rgba(92, 85, 204, 0.06), rgba(255, 255, 255, 0.98));
}

.page-metric__value {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--site-shell-brand-strong);
}

.page-metric__label {
  display: block;
  margin-top: 6px;
  color: #4f4a6d;
  font-weight: 600;
}

.qa-group {
  display: grid;
  gap: 12px;
}

.qa-card {
  padding: 18px 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(92, 85, 204, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #fbfbff 100%);
}

.qa-card h3 {
  margin-bottom: 10px;
}

.qa-card p,
.qa-card ul {
  color: #4f4a6d;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.contact-panel__media img {
  width: 100%;
  max-width: 220px;
  border-radius: 20px;
  box-shadow: 0 18px 34px rgba(92, 85, 204, 0.18);
}

.contact-panel__body {
  padding: 20px;
  border-radius: 20px;
  background: rgba(92, 85, 204, 0.06);
  border: 1px solid rgba(92, 85, 204, 0.12);
}

.contact-panel__body p + p {
  margin-top: 8px;
}

.site-footer {
  width: 100%;
  margin: 44px 0 0;
  border-top: 1px solid rgba(92, 85, 204, 0.1);
  background: rgba(255, 255, 255, 0.94);
}

.site-footer__main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px 16px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
}

.site-footer__brand h2,
.site-footer__section h2 {
  margin: 0 0 10px;
  font-size: 1.06rem;
  color: var(--site-shell-text);
}

.site-footer__lead {
  margin: 0;
  color: var(--site-shell-muted);
  line-height: 1.75;
  font-weight: 600;
}

.site-footer__desc {
  margin: 6px 0 0;
  color: #7a7695;
  line-height: 1.7;
}

.site-footer__links {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  column-gap: 18px;
  row-gap: 8px;
}

.site-footer__links--brand {
  grid-template-columns: repeat(3, minmax(0, max-content));
}

.site-footer__links--support {
  grid-template-columns: repeat(3, minmax(0, max-content));
}

.site-footer__links a {
  color: #4b45b0;
  font-weight: 600;
}

.site-footer__bottom {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 24px 16px;
  border-top: 1px solid rgba(92, 85, 204, 0.08);
  color: #736f90;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.site-footer__legal {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer__legal a {
  color: #615b8c;
  font-weight: 600;
}

@media (max-width: 980px) {
  .page-shell__layout {
    grid-template-columns: 1fr;
  }

  .page-shell__aside {
    position: static;
    order: 2;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__links--brand,
  .site-footer__links--support {
    grid-template-columns: repeat(3, minmax(0, max-content));
  }
}

@media (max-width: 720px) {
  .site-shell-header {
    padding: 14px 12px 10px;
  }

  .site-shell-header__card {
    padding: 12px;
    border-radius: 18px;
    flex-direction: column;
    align-items: stretch;
  }

  .site-shell-home-link {
    width: 100%;
  }

  .site-shell-nav {
    width: calc(100% - 24px);
    gap: 8px;
  }

  .site-shell-nav a {
    flex: 1 1 calc(50% - 8px);
  }

  .page-shell {
    padding: 24px 14px 72px;
  }

  .page-shell__content {
    border-radius: 22px;
    padding: 22px 18px;
  }

  .page-section,
  .page-toc,
  .page-link-card,
  .page-note {
    border-radius: 18px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel__media img {
    max-width: 180px;
  }

  .site-footer__main,
  .site-footer__bottom {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-footer__links--brand {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__links--support {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
