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

:root {
  --bg: #e9f1f8;
  --ink: #171f26;
  --ink-mid: #3d5160;
  --ink-soft: #6b7f8d;
  --blue: #c8e0f4;
  --pink: #f5e0e8;
  --hi: #f7fbfe;
  --lo: #d7e6f2;
  --sh-out: -5px -5px 14px rgba(255, 255, 255, 0.95), 6px 6px 18px rgba(23, 31, 38, 0.13);
  --sh-in: inset -4px -4px 10px rgba(255, 255, 255, 0.95), inset 4px 4px 10px rgba(23, 31, 38, 0.12);
  --lift: -7px -7px 18px rgba(255, 255, 255, 0.98), 8px 8px 22px rgba(23, 31, 38, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'DM Sans', 'Nunito', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.78;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(rgba(23, 31, 38, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 10% 6%, rgba(200, 224, 244, 0.95), transparent 46%),
    radial-gradient(circle at 90% 14%, rgba(245, 224, 232, 0.95), transparent 44%);
  background-size: 18px 18px, 100% 100%, 100% 100%;
  background-attachment: fixed, fixed, fixed;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #7ea8c9;
  outline-offset: 3px;
}

[id] {
  scroll-margin-top: 136px;
}

/* 顶栏 */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px clamp(14px, 4vw, 34px);
  background: linear-gradient(180deg, rgba(233, 241, 248, 0.97), rgba(233, 241, 248, 0.7));
  backdrop-filter: blur(9px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
}

.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-family: 'Nunito', sans-serif;
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
  background: linear-gradient(145deg, var(--hi), var(--lo));
  box-shadow: var(--sh-out);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mark img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.mark:hover {
  transform: translateY(-2px);
  box-shadow: var(--lift);
}

.mark:active {
  transform: scale(0.95);
  box-shadow: var(--sh-in);
}

.burger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 17px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
  background: linear-gradient(145deg, var(--hi), var(--lo));
  box-shadow: var(--sh-out);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.burger:active {
  transform: scale(0.96);
  box-shadow: var(--sh-in);
}

.burger-bars {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 6px / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 12px / 100% 2px no-repeat;
}

/* 锚点条 */
.anchors {
  position: sticky;
  top: 67px;
  z-index: 55;
  padding: 7px 0;
  background: rgba(233, 241, 248, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
}

.anchors ul {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 3px clamp(14px, 4vw, 34px);
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.anchors ul::-webkit-scrollbar {
  display: none;
}

.anchors li {
  animation: pop 0.4s both;
  animation-delay: calc(var(--i, 0) * 45ms);
}

.anchors a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
  background: linear-gradient(145deg, #f5fafe, #dbe8f3);
  box-shadow: var(--sh-out);
  transition: transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.anchors a:hover {
  color: #24455d;
  transform: translateY(-2px);
  box-shadow: var(--lift);
}

.anchors a:active {
  transform: scale(0.97);
  box-shadow: var(--sh-in);
}

/* 全屏菜单 */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
  padding: clamp(16px, 4vw, 34px);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-3%);
  transition: opacity 0.25s ease, transform 0.3s ease, visibility 0.3s ease;
  background-color: #eaf2f9;
  background-image:
    radial-gradient(rgba(23, 31, 38, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 82% 8%, rgba(245, 224, 232, 0.95), transparent 48%),
    radial-gradient(circle at 8% 92%, rgba(200, 224, 244, 0.95), transparent 46%);
  background-size: 18px 18px, 100% 100%, 100% 100%;
}

.sheet.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.sheet-bar {
  display: flex;
  justify-content: flex-end;
}

.sheet-close {
  min-width: 56px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 15px;
  font: inherit;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
  background: linear-gradient(145deg, var(--hi), var(--lo));
  box-shadow: var(--sh-out);
}

.sheet-close:active {
  box-shadow: var(--sh-in);
  transform: scale(0.96);
}

.sheet-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding-bottom: 8px;
}

.sheet-nav a {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 10px 22px;
  border-radius: 16px;
  font-family: 'Nunito', sans-serif;
  font-size: clamp(20px, 4vw, 27px);
  font-weight: 900;
  text-decoration: none;
  background: linear-gradient(145deg, #f6fbff, #dce9f4);
  box-shadow: var(--sh-out);
  animation: pop 0.45s both;
  animation-delay: calc(var(--i, 0) * 45ms);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.sheet-nav a:hover {
  transform: translateX(4px);
  box-shadow: var(--lift);
}

.sheet-nav a:active {
  transform: scale(0.985);
  box-shadow: var(--sh-in);
}

/* 首屏 */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100vh;
  padding: clamp(26px, 6vw, 70px) clamp(16px, 5vw, 48px);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  right: -14%;
  bottom: -26%;
  width: min(70vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, rgba(245, 224, 232, 0.9), rgba(245, 224, 232, 0) 68%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3.4vw, 40px);
  width: min(1080px, 100%);
  margin: 0 auto;
}

.hero-side {
  display: grid;
  place-items: center;
  width: clamp(96px, 20vw, 186px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(145deg, #f7fcff, #d3e4f2);
  box-shadow: -8px -8px 20px rgba(255, 255, 255, 0.98), 10px 10px 26px rgba(23, 31, 38, 0.16);
}

.hero-side svg {
  width: 72%;
  height: auto;
}

.hero-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  text-align: right;
}

.hero-kicker {
  margin: 0 0 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
}

.hero-kicker span {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(245, 224, 232, 0.75));
  box-shadow: var(--sh-out);
}

.hero-copy h1 {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  font-size: clamp(30px, 6.2vw, 58px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.01em;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.85);
}

.cta {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  margin-top: 24px;
  padding: 0 28px;
  border-radius: 16px;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  text-decoration: none;
  background: linear-gradient(145deg, #f9fcff, #d8e7f4);
  box-shadow: var(--sh-out);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--lift);
}

.cta:active {
  transform: scale(0.97);
  box-shadow: var(--sh-in);
}

/* 正文 */
.wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: start;
  gap: clamp(18px, 3vw, 34px);
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 46px) clamp(14px, 4vw, 34px) 72px;
}

section > article {
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(246, 251, 255, 0.48));
  backdrop-filter: blur(10px);
  box-shadow: -4px -4px 12px rgba(255, 255, 255, 0.92), 6px 6px 18px rgba(23, 31, 38, 0.1);
  animation: rise 0.6s both;
}

section > article:nth-child(1) { animation-delay: 0.04s; }
section > article:nth-child(2) { animation-delay: 0.1s; }
section > article:nth-child(3) { animation-delay: 0.16s; }
section > article:nth-child(4) { animation-delay: 0.22s; }
section > article:nth-child(5) { animation-delay: 0.28s; }
section > article:nth-child(6) { animation-delay: 0.34s; }
section > article:nth-child(7) { animation-delay: 0.4s; }
section > article:nth-child(8) { animation-delay: 0.46s; }

section > article + article {
  margin-top: 20px;
}

section h2,
section h3 {
  margin: 0 0 0.6em;
  font-family: 'Nunito', sans-serif;
  line-height: 1.38;
}

section h2 {
  font-size: clamp(21px, 2.6vw, 27px);
  font-weight: 900;
}

section h3 {
  font-size: clamp(18px, 2.1vw, 21px);
  font-weight: 800;
  color: var(--ink-mid);
}

section h2 > span,
section h3 > span {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 5px solid rgba(200, 224, 244, 0.95);
}

section p {
  margin: 0 0 1.05em;
}

section p:last-child {
  margin-bottom: 0;
}

section ul,
section ol {
  margin: 0 0 1.1em;
  padding-left: 1.35em;
}

section li {
  margin: 0.36em 0;
}

section li::marker {
  color: #8fb0c8;
  font-weight: 800;
}

section a {
  color: #23485f;
  text-underline-offset: 3px;
  text-decoration-color: rgba(126, 168, 201, 0.8);
}

section strong {
  font-weight: 800;
  background: linear-gradient(transparent 62%, rgba(245, 224, 232, 0.95) 0);
}

section blockquote {
  margin: 1.2em 0;
  padding: 15px 20px;
  border-radius: 14px;
  background: linear-gradient(145deg, #eef6fd, #f8eef2);
  box-shadow: var(--sh-in);
}

section blockquote p:last-child {
  margin-bottom: 0;
}

section code {
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--sh-in);
  font-size: 15px;
}

/* 侧栏 */
.side {
  position: sticky;
  top: 136px;
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(246, 251, 255, 0.5));
  backdrop-filter: blur(10px);
  box-shadow: -4px -4px 12px rgba(255, 255, 255, 0.92), 6px 6px 18px rgba(23, 31, 38, 0.1);
}

.side-t {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.24em;
  color: #5a7183;
}

.side ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.side a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--sh-in);
  transition: transform 0.18s ease, color 0.18s ease;
}

.side a:hover {
  color: #1d4157;
  transform: translateX(3px);
}

.stamp {
  margin: 2px 0 0;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-align: right;
  color: #8698a5;
}

/* 页脚 */
.foot {
  margin-top: auto;
  padding: clamp(28px, 5.5vw, 58px) clamp(16px, 4vw, 40px) 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(180deg, rgba(245, 224, 232, 0.6), rgba(210, 230, 245, 0.92));
}

.foot-top {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 22px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.foot-brand {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  font-size: clamp(28px, 4.4vw, 50px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.85);
}

.foot-h {
  grid-column: 1 / -1;
  margin: 10px 0 -8px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.26em;
  color: #66798a;
}

.foot-nav {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.foot-nav dl {
  margin: 0;
}

.foot-nav dt {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  font-size: 17px;
  font-weight: 900;
}

.foot-nav dd {
  margin: 0;
}

.foot-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 2px 0;
  font-size: 16px;
  text-decoration: none;
}

.foot-nav a:hover,
.foot-nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.foot-bottom {
  width: min(1160px, 100%);
  margin: 26px auto 0;
  text-align: center;
}

.foot-bottom p {
  margin: 0;
  font-size: 15px;
  color: #4e6473;
}

/* 动效 */
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

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

/* 断点 */
@media (max-width: 900px) {
  .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .side {
    position: static;
  }
  .foot-top {
    grid-template-columns: minmax(0, 1fr);
  }
  .foot-nav {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 54px;
  }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    justify-items: end;
  }
  .hero-side {
    width: 104px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .foot-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .anchors {
    top: 67px;
  }
  [id] {
    scroll-margin-top: 128px;
  }
}

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