@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@300;400;500;600;700&family=Russo+One&display=swap');

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

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

body {
  margin: 0;
  font-family: 'Chakra Petch', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.78;
  color: #172620;
  background:
    radial-gradient(circle at 14% 6%, #ffffff 0 15%, transparent 16%) 0 0 / 250px 250px,
    radial-gradient(circle at 78% 32%, rgba(255, 255, 255, .75) 0 12%, transparent 13%) 0 0 / 320px 320px,
    linear-gradient(168deg, #b4fde1 0%, #dcf7ff 43%, #add8e6 100%);
  background-attachment: fixed;
}

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

h1, h2, h3 { margin: 0; }
p { margin: 0 0 14px; }

/* 顶部：品牌角落 + 横向胶囊组 */
.top {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  padding: 14px clamp(14px, 4vw, 40px) 8px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  padding: 5px;
  border: 3px solid #172620;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: inset -3px -3px 0 rgba(23, 38, 32, .12), 0 6px 0 rgba(23, 38, 32, .18);
}

.mark {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  object-fit: cover;
}

.markTxt {
  display: grid;
  place-items: center;
  font-family: 'Russo One', 'PingFang SC', sans-serif;
  font-size: 22px;
  background: linear-gradient(145deg, #b4fde1, #add8e6);
  color: #172620;
}

.topNav {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 2px;
  scrollbar-width: none;
}
.topNav::-webkit-scrollbar { display: none; }

.pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 3px solid #172620;
  border-radius: 999px;
  background: #fbfffd;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: inset -3px -3px 0 rgba(23, 38, 32, .1), inset 3px 3px 0 #ffffff, 0 5px 0 rgba(23, 38, 32, .2);
  transition: transform .2s ease-out, box-shadow .2s ease-out, background .2s ease-out;
}
.pill:hover { transform: translateY(-3px); background: #b4fde1; box-shadow: inset -3px -3px 0 rgba(23, 38, 32, .1), 0 9px 0 rgba(23, 38, 32, .16); }
.pill:active { transform: translateY(2px); box-shadow: inset 2px 3px 0 rgba(23, 38, 32, .2); }

/* 大图 hero：右对齐 + 圆弧底边 + 浮动徽章 */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 70vh;
  margin: 6px clamp(14px, 4vw, 40px) 26px;
  overflow: hidden;
  border: 4px solid #172620;
  border-radius: 30px 30px 46% 46% / 30px 30px 78px 78px;
  background: linear-gradient(150deg, #eafff7, #cfeeff);
  box-shadow: inset -6px -6px 0 rgba(23, 38, 32, .08), 0 16px 0 -6px rgba(23, 38, 32, .18), 0 22px 34px rgba(23, 38, 32, .16);
  scroll-margin-top: 96px;
}

.heroArt { position: absolute; inset: 0; }
.heroArt img { width: 100%; height: 100%; object-fit: cover; }
.veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(198deg, rgba(180, 253, 225, .55) 0%, rgba(173, 216, 230, .18) 34%, rgba(23, 38, 32, .62) 100%);
}

.heroText {
  position: relative;
  width: 100%;
  max-width: 760px;
  padding: clamp(20px, 5vw, 54px);
  text-align: right;
}

.badge {
  display: inline-block;
  padding: 8px 18px;
  border: 3px solid #172620;
  border-radius: 999px;
  background: #b4fde1;
  font-size: 16px;
  font-weight: 700;
  animation: bob 3.6s ease-in-out infinite;
}

.heroText h1 {
  margin: 14px 0 10px;
  font-family: 'Russo One', 'PingFang SC', sans-serif;
  font-size: clamp(30px, 6vw, 56px);
  line-height: 1.22;
  color: #ffffff;
  text-shadow: 0 3px 0 rgba(23, 38, 32, .55), 0 10px 22px rgba(23, 38, 32, .45);
}

.lede {
  margin: 0 0 0 auto;
  max-width: 40ch;
  color: #f3fffb;
  font-size: 17px;
  text-shadow: 0 2px 8px rgba(23, 38, 32, .55);
}

/* 二级粘性锚点条 */
.dock {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 10px clamp(14px, 4vw, 40px);
  background: rgba(247, 255, 251, .84);
  border-top: 3px solid #172620;
  border-bottom: 3px solid #172620;
  backdrop-filter: blur(8px);
}

.dockRow {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: thin;
}

.chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 15px;
  border: 3px solid #172620;
  border-radius: 999px;
  background: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: inset -3px -3px 0 rgba(23, 38, 32, .1), 0 4px 0 rgba(23, 38, 32, .2);
  transition: transform .2s ease-out, background .2s ease-out, color .2s ease-out;
}
.chip:hover { transform: translateY(-2px); background: #add8e6; }
.chip[aria-current] { background: #172620; color: #b4fde1; }
.chip.jump { background: #d9fff1; }

/* 主区：左 aside + 右正文 */
main {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px clamp(14px, 4vw, 40px) 44px;
}

.rail {
  position: sticky;
  top: 92px;
  padding: 16px;
  border: 3px solid #172620;
  border-radius: 24px;
  background: #fbfffd;
  box-shadow: inset -4px -4px 0 rgba(23, 38, 32, .09), inset 4px 4px 0 #ffffff, 0 10px 0 -4px rgba(23, 38, 32, .16);
}

.eyebrow {
  display: block;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2em;
  color: #4d6b5f;
  margin-bottom: 4px;
}

.railTitle {
  font-family: 'Russo One', 'PingFang SC', sans-serif;
  font-size: 20px;
  margin-bottom: 12px;
}

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

.railList a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 13px;
  border: 2px solid rgba(23, 38, 32, .22);
  border-radius: 999px;
  font-size: 16px;
  text-decoration: none;
  background: #ffffff;
  transition: transform .2s ease-out, background .2s ease-out, border-color .2s ease-out;
}
.railList a:hover { transform: translateX(3px); background: #b4fde1; border-color: #172620; }

.backTop {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 3px solid #172620;
  border-radius: 999px;
  background: linear-gradient(150deg, #b4fde1, #add8e6);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: inset -3px -3px 0 rgba(23, 38, 32, .12);
}
.backTop:hover { transform: translateY(-2px); }

/* 正文卡片 */
.body { min-width: 0; }

.body > section {
  border: 3px solid #172620;
  border-radius: 10px;
  background: #f9fffc;
  padding: clamp(18px, 3vw, 34px);
  margin-bottom: 22px;
  box-shadow: inset -4px -4px 0 rgba(23, 38, 32, .07), inset 4px 4px 0 #ffffff, 0 10px 0 -5px rgba(23, 38, 32, .16), 0 16px 26px rgba(23, 38, 32, .12);
  scroll-margin-top: 96px;
  animation: rise .6s cubic-bezier(.34, 1.56, .64, 1) both;
}
.body > section:nth-child(1) { animation-delay: .04s; }
.body > section:nth-child(2) { animation-delay: .1s; }
.body > section:nth-child(3) { animation-delay: .16s; }
.body > section:nth-child(4) { animation-delay: .22s; }
.body > section:nth-child(5) { animation-delay: .28s; }
.body > section:nth-child(6) { animation-delay: .34s; }
.body > section:nth-child(7) { animation-delay: .4s; }
.body > section:nth-child(8) { animation-delay: .46s; }

.body small {
  display: block;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .18em;
  color: #4d6b5f;
  margin-bottom: 3px;
}

.body h2 {
  font-family: 'Russo One', 'PingFang SC', sans-serif;
  font-size: clamp(21px, 3.4vw, 28px);
  line-height: 1.34;
  margin: 0 0 12px;
}

.body h3 {
  font-family: 'Russo One', 'PingFang SC', sans-serif;
  font-size: 19px;
  line-height: 1.4;
  margin: 0 0 10px;
}

.body p { margin: 0 0 14px; }
.body p:last-child { margin-bottom: 0; }

.body a {
  color: #0f6b52;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.body a:hover { color: #172620; background: #b4fde1; }

.body ul, .body ol { padding-left: 22px; margin: 0 0 14px; }
.body li { margin-bottom: 8px; }

.body blockquote {
  margin: 0 0 14px;
  padding: 12px 16px;
  border-left: 6px solid #add8e6;
  border-radius: 8px;
  background: #eefaff;
}

.body img {
  border: 3px solid #172620;
  border-radius: 10px;
  margin: 6px 0 16px;
}

.body table { width: 100%; border-collapse: collapse; font-size: 16px; }
.body td, .body th { border: 2px solid rgba(23, 38, 32, .3); padding: 8px 10px; text-align: left; }

/* 页脚：三栏 */
.foot {
  display: grid;
  grid-template-columns: 1.1fr .9fr 1.2fr;
  gap: 24px;
  align-items: start;
  margin-top: 12px;
  padding: clamp(26px, 5vw, 48px) clamp(16px, 4vw, 44px) 14px;
  border-radius: 36px 36px 0 0;
  background: #172620;
  color: #b4fde1;
}

.foot .mark { width: 40px; height: 40px; border-radius: 13px; }
.foot .markTxt { font-size: 20px; }

.fName { font-size: 18px; font-weight: 700; margin: 10px 0 0; }

.foot small {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2em;
  color: rgba(180, 253, 225, .72);
  margin-bottom: 4px;
}

.foot h3 { font-size: 18px; margin-bottom: 8px; }

.foot p { font-size: 16px; line-height: 1.72; color: rgba(239, 255, 249, .86); }

.foot dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  align-items: center;
}

.foot dt {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 16px;
  color: rgba(180, 253, 225, .62);
}

.foot dd { margin: 0; }

.foot dd a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 4px 13px;
  border: 2px solid rgba(180, 253, 225, .42);
  border-radius: 999px;
  font-size: 16px;
  text-decoration: none;
  transition: background .2s ease-out, color .2s ease-out, transform .2s ease-out;
}
.foot dd a:hover { background: #b4fde1; color: #172620; transform: translateY(-2px); }

.base {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 2px dashed rgba(180, 253, 225, .32);
  text-align: center;
}
.base p { margin: 0; font-size: 16px; color: rgba(180, 253, 225, .8); }

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@media (max-width: 900px) {
  main { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; }
  .railList { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hero { min-height: 58vh; border-radius: 24px 24px 40% 40% / 24px 24px 60px 60px; }
}

@media (max-width: 520px) {
  body { font-size: 17px; }
  .heroText { padding: 20px 18px 26px; }
  .lede { font-size: 16px; }
  .railList { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .body > section { animation: none; }
  .badge { animation: none; }
  * { transition-duration: .01ms !important; }
}

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