@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap');

:root {
  --ink: #1f1f1f;
  --ink-2: #4d4d4d;
  --ink-3: #6e6e6e;
  --line: #e5e5e5;
  --line-2: #d3d3d3;
  --bg: #ffffff;
  --bg-2: #f5f5f5;
  --bg-3: #ececec;
  --e1: 0 1px 2px rgba(31, 31, 31, .07);
  --e2: 0 2px 6px rgba(31, 31, 31, .07), 0 10px 20px rgba(31, 31, 31, .05);
  --e3: 0 10px 26px rgba(31, 31, 31, .11), 0 2px 8px rgba(31, 31, 31, .07);
  --e4: 0 22px 54px rgba(31, 31, 31, .17), 0 6px 16px rgba(31, 31, 31, .09);
  --r: 10px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1100px 480px at 90% -14%, #ececec 0%, rgba(245, 245, 245, 0) 64%),
    var(--bg-2);
  font: 400 17px/1.75 "Plus Jakarta Sans", system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 顶部：品牌独占一行 + 粘性锚点条 ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .84);
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--e1);
}

.top-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 4px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--ink);
  text-decoration: none;
}

.brand-pin {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--ink);
  box-shadow: 0 0 0 4px rgba(31, 31, 31, .1);
  transform: rotate(45deg);
}

.rail {
  border-top: 1px solid var(--line);
  background: rgba(252, 252, 252, .72);
}

.rail-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
}

.rail-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease;
}

.rail-link:hover {
  background: var(--bg-3);
  color: var(--ink);
}

.rail-more {
  position: relative;
  flex: 0 0 auto;
}

.rail-more > summary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--bg);
  box-shadow: var(--e1);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.rail-more > summary::-webkit-details-marker { display: none; }

.rail-more > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}

.rail-more[open] > summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.rail-more > menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 70;
  list-style: none;
  margin: 0;
  padding: 8px;
  min-width: min(246px, 78vw);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--e4);
}

.rail-more > menu li > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.rail-more > menu li > a:hover { background: var(--bg-2); }

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 45vh;
  padding: 26px 18px 32px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f6f6f6 100%);
  isolation: isolate;
}

.hero-ghost {
  position: absolute;
  z-index: 0;
  right: -2%;
  top: 50%;
  transform: translate3d(0, -50%, 0);
  font-size: clamp(150px, 36vw, 340px);
  font-weight: 800;
  line-height: .78;
  letter-spacing: -.05em;
  color: #ebebeb;
  user-select: none;
  pointer-events: none;
  will-change: transform;
}

.hero-in {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.hero-badge {
  flex: 0 0 auto;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--ink);
  border-radius: 16px;
  background: var(--bg);
  box-shadow: var(--e3);
  transform: translateY(4px) rotate(-3deg);
}

.mark-img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 13px;
}

.mark-txt {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.hero-txt {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero h1 {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(30px, 5.6vw, 54px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.hero-lead {
  margin: 14px 0 0;
  max-width: 46ch;
  color: var(--ink-2);
  font-size: 16px;
}

/* ---------- 布局：左栏 + 正文 ---------- */

.wrap {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px 18px 60px;
}

.side {
  position: sticky;
  top: 116px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-box {
  padding: 14px 12px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--e2);
}

.side-h {
  margin: 0 0 10px;
  padding: 0 4px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .12em;
}

.side-h > span {
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--ink);
}

.side-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-link {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}

.side-link:hover {
  background: var(--bg-2);
  color: var(--ink);
}

.side-top {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--bg);
  box-shadow: var(--e1);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.flow { min-width: 0; }

/* ---------- 正文 ---------- */

.content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.content article {
  scroll-margin-top: 118px;
  padding: 22px 24px 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--e2);
  transition: box-shadow .25s ease, transform .25s ease;
}

.content article:hover {
  box-shadow: var(--e3);
  transform: translateY(-2px);
}

.content > article > *:last-child { margin-bottom: 0; }

.content h2 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.34;
  font-weight: 800;
  letter-spacing: -.012em;
}

.content h2 > span {
  position: relative;
  display: inline-block;
  padding-bottom: 7px;
}

.content h2 > span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
}

.content h3 {
  margin: 22px 0 10px;
  font-size: 19px;
  line-height: 1.4;
  font-weight: 700;
}

.content h3 > span {
  display: inline-block;
  border-left: 3px solid var(--ink);
  padding-left: 9px;
}

.content p {
  margin: 0 0 14px;
  color: #2c2c2c;
}

.content ul,
.content ol {
  margin: 0 0 14px;
  padding-left: 1.35em;
}

.content li { margin: .35em 0; }

.content a {
  color: var(--ink);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.content strong { font-weight: 700; }

.content blockquote {
  margin: 18px 0;
  padding: 12px 16px;
  border-left: 3px solid var(--ink);
  border-radius: 0 var(--r) var(--r) 0;
  background: var(--bg-2);
  box-shadow: var(--e1);
  color: var(--ink-2);
}

.content blockquote > *:last-child { margin-bottom: 0; }

.content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--e1);
}

.content table {
  width: 100%;
  margin: 0 0 16px;
  border-collapse: collapse;
  font-size: 16px;
}

.content th,
.content td {
  padding: 9px 11px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.content th {
  background: var(--bg-2);
  font-weight: 700;
}

.content dl { margin: 0 0 14px; }
.content dt { font-weight: 700; margin-top: 12px; }
.content dd { margin: 4px 0 0; color: var(--ink-2); }

.content hr {
  height: 1px;
  border: 0;
  background: var(--line);
  margin: 20px 0;
}

/* ---------- 页脚 ---------- */

.foot {
  border-top: 1px solid var(--line);
  background: var(--bg);
  box-shadow: 0 -12px 34px rgba(31, 31, 31, .05);
}

.foot-cta {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 18px 6px;
  text-align: center;
}

.cta {
  margin: 0;
  font-size: clamp(28px, 6.2vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.cta > span {
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 4px solid var(--ink);
}

.cta a {
  color: var(--ink);
  text-decoration: none;
}

.cta a:hover { color: #000; }

.foot-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 18px 34px;
  text-align: center;
}

.foot-bar address {
  font-style: normal;
  font-size: 16px;
  font-weight: 700;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 16px;
  color: var(--ink-2);
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}

.foot-link:hover {
  background: var(--bg-2);
  color: var(--ink);
}

.copy {
  flex-basis: 100%;
  margin: 0;
  font-size: 16px;
  color: var(--ink-3);
}

/* ---------- 窄屏 ---------- */

@media (max-width: 880px) {
  .wrap {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px 14px 44px;
  }

  .side {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
  }

  .side-box { flex: 1 1 100%; }

  .side-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }

  .hero {
    min-height: 42vh;
    padding: 20px 14px 26px;
  }

  .hero-in { gap: 12px; }

  .hero-badge {
    width: 56px;
    height: 56px;
    border-radius: 13px;
  }

  .mark-img {
    width: 56px;
    height: 56px;
    border-radius: 11px;
  }

  .mark-txt { font-size: 24px; }

  .content article {
    padding: 18px 16px 20px;
    scroll-margin-top: 126px;
  }

  .content h2 { font-size: 21px; }

  .top-row { padding: 6px 14px 4px; }
  .rail-in { padding: 4px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .content article:hover { transform: none; }
  .hero-ghost { will-change: auto; }
  * {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
}

button[aria-expanded]{min-width:44px;min-height:44px}
