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

:root {
  --mint: #5cc6b0;
  --mint-deep: #2c8f7c;
  --sand: #d4c4a8;
  --clay: #c67b5c;
  --ink: #172623;
  --ink-soft: #33544b;
  --paper: #f4ede1;
  --glass: rgba(255, 253, 248, 0.62);
  --glass-2: rgba(255, 253, 248, 0.44);
  --line: rgba(255, 255, 255, 0.72);
  --shadow: 0 26px 60px -42px rgba(23, 38, 35, 0.62);
  --r: 28px;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Open Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(900px 620px at 92% -10%, rgba(92, 198, 176, 0.3), transparent 62%),
    radial-gradient(760px 520px at 2% 22%, rgba(198, 123, 92, 0.2), transparent 62%),
    radial-gradient(920px 720px at 55% 108%, rgba(212, 196, 168, 0.62), transparent 66%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E");
}

a {
  color: var(--mint-deep);
}

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

/* ---------- 左侧固定竖排导航 ---------- */

.masthead {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: 236px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 14px 22px;
  overflow-y: auto;
  color: #f5efe2;
  background:
    linear-gradient(180deg, rgba(23, 38, 35, 0.96), rgba(31, 53, 46, 0.94) 60%, rgba(23, 38, 35, 0.96));
  border-radius: 0 var(--r) var(--r) 0;
  box-shadow: 22px 0 60px -46px rgba(23, 38, 35, 0.9);
  backdrop-filter: blur(10px);
}

.masthead::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 190px;
  pointer-events: none;
  background: radial-gradient(180px 140px at 30% 100%, rgba(92, 198, 176, 0.35), transparent 70%);
}

.ticker {
  background: var(--mint);
  color: #0e2a25;
  border-radius: 999px;
  padding: 4px 12px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.26em;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticker p {
  margin: 0;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 6px 8px;
  border-radius: 16px;
  color: #fbf7ee;
  text-decoration: none;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.02em;
}

.mark-img {
  height: 34px;
  width: auto;
  border-radius: 10px;
  display: block;
}

.mark-word {
  display: inline-block;
  line-height: 1.25;
}

.rail-nav {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.rail-nav p {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 4px 0;
}

.pill {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 16px;
  font-size: 16px;
  line-height: 1.4;
  color: #ece4d4;
  text-decoration: none;
  border: 1px solid rgba(212, 196, 168, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  transition: background-color 0.24s ease-out, color 0.24s ease-out, border-color 0.24s ease-out;
}

.pill:hover,
.pill:focus-visible {
  background: var(--mint);
  border-color: var(--mint);
  color: #0d2724;
}

/* ---------- 页面骨架 ---------- */

.page {
  position: relative;
  z-index: 1;
  margin-left: 236px;
  min-height: 100vh;
}

/* ---------- 主视觉 ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  overflow: hidden;
  border-radius: 0 0 42px 42px;
  background:
    linear-gradient(158deg, #ded0b8, #c0ab8e 58%, #a8907a);
}

.hero.has-img {
  background: #8f7f6b;
}

.hero-img {
  position: absolute;
  inset: -10% 0 auto 0;
  width: 100%;
  height: 122%;
  object-fit: cover;
  will-change: transform;
  z-index: 0;
}

.veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(23, 38, 35, 0.28), rgba(23, 38, 35, 0.6) 68%, rgba(23, 38, 35, 0.78)),
    radial-gradient(620px 380px at 50% 42%, rgba(92, 198, 176, 0.26), transparent 72%);
  backdrop-filter: saturate(1.06);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 30px 22px;
  text-align: center;
}

.hero-h {
  margin: 0 auto;
  max-width: 20ch;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(30px, 5.4vw, 58px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: #fdf8ee;
  text-shadow: 0 3px 30px rgba(9, 20, 17, 0.55);
}

/* ---------- 双栏：侧栏在内容左侧 ---------- */

.stage {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
  padding: 38px 24px 8px;
}

.side {
  position: sticky;
  top: 26px;
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.side-t {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  padding-left: 4px;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.side-t .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 4px rgba(198, 123, 92, 0.2);
}

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

.side-list a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 11px;
  font-size: 16px;
  line-height: 1.35;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: 14px;
  transition: background-color 0.2s ease-out, color 0.2s ease-out;
}

.side-list a:hover,
.side-list a:focus-visible {
  background: rgba(92, 198, 176, 0.36);
  color: #10312b;
}

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

.main {
  min-width: 0;
}

.prose {
  max-width: 780px;
}

.lede {
  margin: 0 0 24px;
  padding: 0 6px;
  font-size: 1.06rem;
  line-height: 1.72;
  color: #3a5850;
}

.prose > section {
  position: relative;
  margin: 0 0 22px;
  padding: 26px clamp(17px, 3.2vw, 36px) 30px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--glass), var(--glass-2));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  scroll-margin-top: 88px;
}

.prose > section:nth-of-type(even) {
  border-radius: 36px 24px 30px 22px;
}

.prose > section:nth-of-type(3n) {
  border-radius: 22px 32px 26px 34px;
}

.prose h2 {
  position: relative;
  margin: 0 0 16px;
  padding-left: 18px;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(22px, 3.1vw, 29px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.005em;
  color: #14322c;
}

.prose h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 6px;
  height: 1.05em;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--mint), var(--clay));
}

.prose h2 span,
.prose h3 span {
  display: inline;
}

.prose h3 {
  margin: 24px 0 10px;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  color: #1c3d36;
}

.prose p {
  margin: 0 0 15px;
  color: #22403a;
}

.prose ul,
.prose ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.prose li {
  margin: 0 0 7px;
}

.prose a {
  color: var(--mint-deep);
  text-underline-offset: 3px;
}

.prose strong {
  color: #123029;
}

.prose blockquote {
  margin: 18px 0;
  padding: 14px 20px;
  border-left: 4px solid var(--clay);
  border-radius: 0 18px 18px 0;
  background: rgba(212, 196, 168, 0.34);
  color: #2a463f;
}

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

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

.prose th,
.prose td {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(23, 38, 35, 0.14);
  text-align: left;
}

.prose img {
  border-radius: 20px;
  margin: 6px 0 14px;
}

/* 轻微浮现 */

body.fx .prose > section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.62s ease-out, transform 0.62s ease-out;
}

body.fx .prose > section.in {
  opacity: 1;
  transform: none;
}

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

.foot {
  max-width: 1240px;
  margin: 46px auto 0;
  padding: 0 24px 26px;
}

.foot-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: clamp(26px, 5vw, 50px);
  border-radius: var(--r);
  color: #f7f2e6;
  background: linear-gradient(135deg, #172623, #2b4a41 56%, #3e6c5d);
  box-shadow: 0 34px 80px -52px rgba(23, 38, 35, 0.9);
}

.foot-cta::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 198, 176, 0.4), transparent 66%);
  pointer-events: none;
}

.cta-h {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(26px, 4.2vw, 44px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: #fbf6ea;
}

.cta-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 26px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  color: #0d2724;
  background: var(--mint);
  border-radius: 999px;
  box-shadow: 0 14px 30px -18px rgba(92, 198, 176, 0.9);
  transition: transform 0.22s ease-out, background-color 0.22s ease-out;
}

.cta-btn:hover,
.cta-btn:focus-visible {
  background: #7bd8c3;
  transform: translateY(-2px);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 26px;
  margin-top: 28px;
  padding: 0 6px;
}

.foot-h {
  margin: 0 0 10px;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #26443d;
}

.foot-col address {
  font-style: normal;
  font-size: 17px;
  line-height: 1.6;
  color: #1b3831;
  font-weight: 600;
  word-break: break-word;
}

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

.foot-links a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 5px 2px;
  font-size: 16px;
  color: #2b4a42;
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 38, 35, 0.12);
}

.foot-links a:hover,
.foot-links a:focus-visible {
  color: var(--mint-deep);
  border-bottom-color: var(--mint);
}

.foot-bar {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(23, 38, 35, 0.14);
  text-align: center;
}

.foot-bar p {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #40594f;
}

/* ---------- 响应式 ---------- */

@media (max-width: 1000px) {
  .stage {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 22px;
    padding: 30px 18px 6px;
  }
}

@media (max-width: 820px) {
  .masthead {
    position: static;
    width: auto;
    inset: auto;
    flex-direction: column;
    gap: 9px;
    padding: 11px 14px 14px;
    border-radius: 0 0 26px 26px;
    overflow: visible;
  }

  .masthead::after {
    height: 120px;
  }

  .mark {
    min-height: 44px;
  }

  .rail-nav {
    width: 100%;
    max-width: 100%;
  }

  .rail-nav p {
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .rail-nav p::-webkit-scrollbar {
    display: none;
  }

  .pill {
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: 42px;
    padding: 9px 15px;
    font-size: 16px;
  }

  .page {
    margin-left: 0;
  }

  .hero {
    min-height: 58vh;
    border-radius: 0 0 30px 30px;
  }

  .stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 22px 16px 6px;
  }

  .side {
    position: static;
  }

  .side-list {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 6px;
  }

  .side-list a {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 12px;
  }

  .prose {
    max-width: none;
  }

  .foot {
    padding: 0 16px 22px;
    margin-top: 34px;
  }

  .foot-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 0 2px;
  }

  .prose > div {
    scroll-margin-top: 18px;
  }
}

@media (max-width: 420px) {
  body {
    font-size: 16.5px;
  }

  .hero-h {
    font-size: clamp(28px, 8.4vw, 40px);
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.fx .prose > div {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-img {
    transform: none !important;
  }

  .cta-btn:hover {
    transform: none;
  }
}

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