:root {
  --ink: #102338;
  --ink-soft: #526172;
  --navy: #08233f;
  --navy-2: #0d3457;
  --paper: #f7f3ea;
  --paper-2: #fffdf8;
  --line: #ded8cd;
  --gold: #c9902f;
  --gold-soft: #f0d7a4;
  --orange: #d85d31;
  --green: #216c59;
  --white: #ffffff;
  --shadow: 0 24px 64px rgba(8, 35, 63, .12);
  --radius: 22px;
  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 4%, rgba(201, 144, 47, .12), transparent 24rem),
    var(--paper-2);
  font-family: var(--sans);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .7rem 1rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 10px;
}
.skip-link:focus { top: 1rem; }

.risk-strip {
  padding: .58rem 1rem;
  color: #f8e7c5;
  background: #071b2e;
  font-size: .82rem;
  text-align: center;
  letter-spacing: .02em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, .92);
  border-bottom: 1px solid rgba(16, 35, 56, .08);
  backdrop-filter: blur(18px);
}
.nav-wrap,
.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, var(--orange), #ac2f21);
  border-radius: 12px 12px 16px 12px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.3);
}
.brand-mark::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 7px;
  width: 11px;
  height: 4px;
  background: var(--gold);
  transform: rotate(-28deg);
  border-radius: 10px;
}
.brand small {
  display: block;
  margin-top: -4px;
  color: var(--ink-soft);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .18em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  color: #35475a;
  font-size: .94rem;
  font-weight: 650;
}
.nav-links a { padding: .35rem 0; }
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--orange); }
.nav-cta {
  padding: .62rem 1rem !important;
  color: var(--white) !important;
  background: var(--navy);
  border-radius: 999px;
}
.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7.5rem) 0 5.3rem;
}
.hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  left: -240px;
  top: 2rem;
  border: 1px solid rgba(201, 144, 47, .32);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(201, 144, 47, .05), 0 0 0 180px rgba(201, 144, 47, .03);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(2.4rem, 6vw, 6rem);
}
.eyebrow {
  margin: 0 0 1rem;
  color: var(--orange);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1,
h2,
h3,
p { margin-top: 0; }
h1,
h2 {
  font-family: var(--serif);
  text-wrap: balance;
}
h1 {
  margin-bottom: 1.35rem;
  font-size: clamp(2.65rem, 5.8vw, 5.7rem);
  line-height: 1.06;
  letter-spacing: -.055em;
}
.hero-lead {
  max-width: 670px;
  margin-bottom: 1.8rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .7rem 1.3rem;
  border: 1px solid var(--navy);
  border-radius: 999px;
  font-weight: 760;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 12px 30px rgba(8, 35, 63, .2);
}
.button-secondary { background: rgba(255, 255, 255, .62); }
.hero-media {
  position: relative;
  transform: none;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: -13px 13px 13px -13px;
  border: 1px solid var(--gold);
  border-radius: 28px;
}
.hero-media img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.media-note {
  position: static;
  max-width: none;
  margin: .8rem .25rem 0;
  padding: 0;
  color: var(--ink-soft);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  font-size: .78rem;
  line-height: 1.55;
  transform: none;
}

.metric-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: -1.7rem;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.metric {
  padding: 1.55rem 2rem;
  border-right: 1px solid rgba(255,255,255,.13);
}
.metric:last-child { border-right: 0; }
.metric strong {
  display: block;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 1.6rem;
}
.metric span {
  color: #c5d1dd;
  font-size: .83rem;
}

.section { padding: clamp(4.5rem, 8vw, 7.5rem) 0; }
.section-muted {
  background:
    linear-gradient(90deg, rgba(8,35,63,.04) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(rgba(8,35,63,.04) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--paper);
  border-block: 1px solid var(--line);
}
.section-dark {
  color: var(--white);
  background: var(--navy);
}
.section-head {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: end;
  gap: 3rem;
  margin-bottom: 2.6rem;
}
.section-head h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.16;
  letter-spacing: -.03em;
}
.section-head > p {
  margin-bottom: .25rem;
  color: var(--ink-soft);
}
.section-dark .section-head > p { color: #bfccd8; }

.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.check-card,
.article-card,
.faq details,
.score-item {
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.check-card {
  min-height: 260px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
}
.card-number {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.4rem;
}
.check-card h3 { margin: 1.5rem 0 .55rem; font-size: 1.08rem; }
.check-card p { color: var(--ink-soft); font-size: .9rem; }
.check-card a {
  margin-top: auto;
  color: var(--orange);
  font-size: .86rem;
  font-weight: 750;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}
.feature-image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.feature-image img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}
.caption {
  margin: .75rem 0 0;
  color: var(--ink-soft);
  font-size: .76rem;
}
.feature-copy h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.18;
}
.feature-copy > p { color: var(--ink-soft); }
.ticks {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.ticks li {
  position: relative;
  padding: .65rem 0 .65rem 2rem;
  border-bottom: 1px solid var(--line);
}
.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .85rem;
}
.score-item {
  padding: 1.25rem;
  color: var(--ink);
}
.score-item b {
  display: block;
  margin-bottom: .25rem;
  color: var(--orange);
  font-family: var(--serif);
  font-size: 1.35rem;
}
.score-item span { font-size: .84rem; }
.editor-note {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  color: #d9e3ec;
  background: rgba(255,255,255,.07);
  border-left: 3px solid var(--gold);
  font-size: .86rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 4.4rem;
  counter-increment: step;
}
.step::before {
  content: "0" counter(step);
  position: absolute;
  top: 0;
  left: 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2.4rem;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.65rem;
  left: 4.2rem;
  right: -1rem;
  height: 1px;
  background: var(--line);
}
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--ink-soft); font-size: .88rem; }

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.promo-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.promo-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}
.promo-copy { padding: 1.25rem 1.4rem 1.4rem; }
.promo-copy h3 { margin-bottom: .3rem; }
.promo-copy p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: .82rem;
}
.warning {
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  color: #66351e;
  background: #fff1e8;
  border: 1px solid #f0c6af;
  border-radius: 14px;
  font-size: .86rem;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.article-card { padding: 1.45rem; }
.article-card .tag {
  color: var(--orange);
  font-size: .75rem;
  font-weight: 800;
}
.article-card h3 {
  margin: .55rem 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.4;
}
.article-card p { color: var(--ink-soft); font-size: .85rem; }
.article-card a { color: var(--navy); font-weight: 800; }

.faq { display: grid; gap: .75rem; }
.faq details { padding: 1.1rem 1.25rem; }
.faq summary {
  cursor: pointer;
  font-weight: 760;
}
.faq details p {
  margin: .75rem 0 0;
  color: var(--ink-soft);
  font-size: .9rem;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--white);
  background:
    radial-gradient(circle at 85% 10%, rgba(240,215,164,.28), transparent 17rem),
    var(--navy);
  border-radius: 28px;
}
.cta-panel h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.15; }
.cta-panel p { margin-bottom: 0; color: #c7d3de; }
.cta-panel .button-row { justify-content: flex-end; }
.cta-panel .button-primary { color: var(--navy); background: var(--gold-soft); border-color: var(--gold-soft); }
.cta-panel .button-secondary { color: var(--white); border-color: rgba(255,255,255,.6); }

.site-footer {
  margin-top: 5.5rem;
  padding: 3.2rem 0 1.5rem;
  color: #c3cfda;
  background: #06192a;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, .7fr);
  gap: 2rem;
}
.footer-brand { color: var(--white); }
.footer-brand p { max-width: 420px; margin-top: 1rem; color: #91a4b6; font-size: .83rem; }
.footer-col h3 { color: var(--white); font-size: .9rem; }
.footer-col a {
  display: block;
  margin: .45rem 0;
  color: #9eb0bf;
  font-size: .82rem;
}
.footer-bottom {
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #7f94a6;
  font-size: .75rem;
}

.page-hero {
  padding: 5rem 0 3.6rem;
  background:
    linear-gradient(120deg, rgba(8,35,63,.98), rgba(13,52,87,.93)),
    url("assets/quanli-brand.jpg") center / cover;
  color: var(--white);
}
.breadcrumbs { margin-bottom: 1.3rem; color: #c8d5df; font-size: .8rem; }
.breadcrumbs a { color: var(--gold-soft); }
.page-hero h1 { max-width: 950px; margin-bottom: 1rem; font-size: clamp(2.5rem, 5vw, 4.8rem); }
.page-hero p { max-width: 750px; color: #cad5df; }
.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 4rem;
  padding-top: 4rem;
}
.article-body {
  max-width: 780px;
  font-size: 1rem;
}
.article-body h2 {
  margin: 2.6rem 0 1rem;
  padding-top: .4rem;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}
.article-body h3 { margin: 1.8rem 0 .6rem; }
.article-body p,
.article-body li { color: #46586a; }
.article-body img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  margin: 2rem 0 .6rem;
  border-radius: 18px;
}
.article-body table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
  font-size: .88rem;
}
.article-body th,
.article-body td {
  padding: .85rem .8rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.article-body th { background: var(--paper); }
.callout {
  margin: 1.5rem 0;
  padding: 1.1rem 1.25rem;
  background: #eff6f4;
  border-left: 4px solid var(--green);
  border-radius: 0 12px 12px 0;
}
.callout.warn {
  color: #66351e;
  background: #fff1e8;
  border-left-color: var(--orange);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.2rem;
  color: #9fb0c0;
  font-size: .78rem;
}
.article-aside {
  position: sticky;
  top: 105px;
  align-self: start;
  padding: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.article-aside h2 { font-family: var(--sans); font-size: .95rem; }
.article-aside a {
  display: block;
  padding: .48rem 0;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  font-size: .82rem;
}

@media (max-width: 980px) {
  .nav-links {
    position: absolute;
    inset: 76px 1rem auto;
    display: none;
    padding: 1rem;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: grid; gap: .6rem; }
  .menu-button { display: grid; place-items: center; }
  .hero-grid,
  .split,
  .section-head,
  .cta-panel { grid-template-columns: 1fr; }
  .hero-media { width: min(720px, 94%); margin: 1rem auto 0; }
  .cards-4,
  .steps { grid-template-columns: repeat(2, 1fr); }
  .score-grid { grid-template-columns: repeat(2, 1fr); }
  .score-item:last-child { grid-column: 1 / -1; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .cta-panel .button-row { justify-content: flex-start; }
  .article-shell { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}

@media (max-width: 640px) {
  .nav-wrap,
  .container { width: min(100% - 1.4rem, 1180px); }
  .brand small { display: none; }
  .hero { padding-top: 3.4rem; }
  .hero-media { width: 100%; }
  .media-note { margin-top: .7rem; }
  .metric-bar,
  .cards-4,
  .steps,
  .promo-grid,
  .article-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .metric:last-child { border-bottom: 0; }
  .section { padding: 4rem 0; }
  .section-head { gap: 1rem; }
  .score-grid { grid-template-columns: 1fr; }
  .score-item:last-child { grid-column: auto; }
  .step:not(:last-child)::after { display: none; }
  .page-hero { padding: 3.5rem 0 2.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
