:root {
  color-scheme: light;
  --site-shell-bg: var(--color-shell-bg, #f4f3fb);
  --site-shell-surface: var(--color-shell-surface, rgba(255, 255, 255, 0.94));
  --site-shell-card: var(--color-shell-card, #ffffff);
  --site-shell-border: var(--color-shell-border, rgba(92, 85, 204, 0.14));
  --site-shell-border-soft: var(--color-shell-border-soft, rgba(92, 85, 204, 0.1));
  --site-shell-border-faint: var(--color-shell-border-faint, rgba(92, 85, 204, 0.08));
  --site-shell-border-strong: var(--color-shell-border-strong, rgba(92, 85, 204, 0.22));
  --site-shell-text: var(--color-shell-text, #211c4f);
  --site-shell-text-strong: var(--color-shell-text-strong, #2b2758);
  --site-shell-text-soft: var(--color-shell-text-soft, #4f4a6d);
  --site-shell-muted: var(--color-shell-text-muted, #625d82);
  --site-shell-brand: var(--color-shell-brand, #5d55cb);
  --site-shell-brand-strong: var(--color-shell-brand-strong, #4b45b0);
  --site-shell-accent-wash: var(--color-shell-accent-wash, rgba(111, 95, 224, 0.12));
  --site-shell-header-bg: var(--color-shell-header-bg, rgba(244, 243, 251, 0.88));
  --site-shell-pill-bg: var(--color-shell-pill-bg, rgba(92, 85, 204, 0.1));
  --site-shell-pill-bg-strong: var(--color-shell-pill-bg-strong, rgba(92, 85, 204, 0.16));
  --site-shell-nav-bg: var(--color-shell-nav-bg, rgba(255, 255, 255, 0.92));
  --site-shell-page-gradient: var(--gradient-shell-page, linear-gradient(180deg, #f7f6fc 0%, #f2f4fb 52%, #eef1f8 100%));
  --site-shell-surface-gradient: var(--gradient-shell-surface, linear-gradient(180deg, #ffffff 0%, #fcfbff 100%));
  --site-shell-brand-gradient: var(--gradient-shell-brand, linear-gradient(135deg, #5d55cb 0%, #8f72ff 100%));
  --site-shell-brand-active-gradient: var(--gradient-shell-brand-active, linear-gradient(135deg, #5d55cb 0%, #8067f5 100%));
  --site-shell-shadow: var(--shadow-shell-strong, 0 20px 44px rgba(87, 76, 180, 0.12));
  --site-shell-shadow-soft: var(--shadow-shell-soft, 0 12px 28px rgba(87, 76, 180, 0.08));
  --site-shell-pill-shadow: var(--shadow-shell-pill, 0 8px 16px rgba(92, 85, 204, 0.06));
  --site-shell-pill-shadow-hover: var(--shadow-shell-pill-hover, 0 10px 18px rgba(92, 85, 204, 0.1));
  --site-shell-brand-shadow: var(--shadow-shell-brand, 0 16px 30px rgba(92, 85, 204, 0.2));
  --site-shell-brand-shadow-hover: var(--shadow-shell-brand-hover, 0 20px 34px rgba(92, 85, 204, 0.24));
  --site-shell-brand-active-shadow: var(--shadow-shell-brand-active, 0 14px 26px rgba(92, 85, 204, 0.16));
  --site-shell-panel-shadow: var(--shadow-shell-panel, 0 10px 22px rgba(92, 85, 204, 0.06));
}

* {
  box-sizing: border-box;
}

body.site-shell-body {
  margin: 0;
  background:
    radial-gradient(circle at top right, var(--site-shell-accent-wash), transparent 28%),
    var(--site-shell-page-gradient);
  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: var(--site-shell-header-bg);
  border-bottom: 1px solid var(--site-shell-border-faint);
  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 var(--site-shell-border-soft);
  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: var(--site-shell-brand-gradient);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--site-shell-brand-shadow);
  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: var(--site-shell-brand-shadow-hover);
  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: var(--site-shell-nav-bg);
  border: 1px solid var(--site-shell-border-soft);
  color: var(--site-shell-brand-strong);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: var(--site-shell-pill-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-shell-nav a:hover {
  transform: translateY(-1px);
  box-shadow: var(--site-shell-pill-shadow-hover);
}

.site-shell-nav a.is-active {
  background: var(--site-shell-brand-active-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--site-shell-brand-active-shadow);
}

.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 var(--site-shell-border-faint);
  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: var(--site-shell-pill-bg);
  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: var(--site-shell-brand-strong);
  line-height: 1.8;
}

.page-section,
.page-panel,
.page-note,
.page-grid-card,
.page-toc,
.page-link-card {
  border: 1px solid var(--site-shell-border-faint);
  border-radius: 20px;
  background: var(--site-shell-surface-gradient);
  box-shadow: var(--site-shell-panel-shadow);
}

.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: var(--site-shell-text-strong);
}

.page-section p {
  margin: 0;
  color: var(--site-shell-text-soft);
  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: var(--site-shell-brand-strong);
  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: var(--site-shell-pill-bg);
  border: 1px solid var(--site-shell-pill-bg-strong);
  color: var(--site-shell-brand-strong);
  font-weight: 700;
  font-size: 0.9rem;
}

.page-chip:hover {
  background: var(--site-shell-pill-bg-strong);
}

.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: var(--site-shell-text-strong);
}

.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: var(--site-shell-text-soft);
  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: var(--site-shell-border-faint);
  border: 1px solid var(--site-shell-border);
  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: var(--site-shell-pill-bg);
  border-color: var(--site-shell-border-strong);
}

.page-note {
  padding: 18px 20px;
  margin-top: 18px;
  background: linear-gradient(135deg, var(--site-shell-border-faint), var(--site-shell-surface));
}

.page-note p {
  margin: 0;
  color: var(--site-shell-text-soft);
  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 var(--site-shell-border-soft);
  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: var(--site-shell-text-soft);
  font-weight: 600;
}

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

.qa-card {
  padding: 18px 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--site-shell-border);
  background: linear-gradient(180deg, #ffffff 0%, #fbfbff 100%);
}

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

.qa-card p,
.qa-card ul {
  color: var(--site-shell-text-soft);
}

.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: var(--site-shell-brand-active-shadow);
}

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

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

.site-footer {
  width: 100%;
  margin: 34px 0 0;
  border-top: 1px solid var(--color-paper-border);
  background: linear-gradient(180deg, rgba(255, 254, 250, 0.94) 0%, rgba(249, 246, 240, 0.96) 100%);
}

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

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(300px, 0.95fr) minmax(220px, 0.65fr);
  gap: 24px;
  align-items: start;
}

.site-footer__brand h2,
.site-footer__section h2 {
  margin: 0 0 9px;
  font-size: 0.94rem;
  line-height: 1.35;
  color: var(--site-shell-text-strong);
}

.site-footer__lead {
  margin: 0;
  color: var(--site-shell-text-soft);
  font-size: 0.88rem;
  line-height: 1.65;
  font-weight: 600;
}

.site-footer__desc {
  margin: 6px 0 0;
  color: var(--site-shell-muted);
  font-size: 0.84rem;
  line-height: 1.7;
  max-width: 420px;
}

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

.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: var(--site-shell-text-soft);
  font-size: 0.86rem;
  line-height: 1.45;
  font-weight: 600;
}

.site-footer__links a:hover {
  color: var(--site-shell-brand-strong);
}

.site-footer__bottom {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 24px 14px;
  border-top: 1px solid var(--color-paper-border);
  color: var(--site-shell-muted);
  font-size: 0.8rem;
  flex-wrap: wrap;
}

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

.site-footer__legal a {
  color: var(--site-shell-text-soft);
  font-weight: 600;
}

.site-footer__legal a:hover {
  color: var(--site-shell-brand-strong);
}

@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;
  }
}
