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

:root{
  --ink:#172623;
  --ink-2:#2c443e;
  --teal:#5cc6b0;
  --teal-2:#2b8574;
  --sand:#d4c4a8;
  --bg:#f2e9dc;
  --bg-2:#e6d8c5;
  --paper:#fbf6ed;
  --line:rgba(23,38,35,.14);
  --shadow:0 24px 48px -30px rgba(23,38,35,.6);
  --r1:18px;
  --r2:26px;
  --r3:34px;
}

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

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

body{
  margin:0;
  font-family:'Inter',system-ui,-apple-system,'Segoe UI','PingFang SC','Noto Sans SC',sans-serif;
  font-size:17px;
  line-height:1.75;
  color:var(--ink);
  background-color:var(--bg);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.33'/%3E%3C/svg%3E");
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%;height:auto;display:block;}
a{color:var(--teal-2);}
p{margin:0 0 14px;}

.skip{
  position:absolute;
  left:14px;
  top:-70px;
  z-index:30;
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:10px 18px;
  border-radius:0 0 14px 14px;
  background:var(--ink);
  color:var(--sand);
  text-decoration:none;
  transition:top .2s ease-out;
}
.skip:focus{top:0;}

/* ---------- 页头 ---------- */
.mast{position:relative;z-index:8;background:rgba(242,233,220,.94);}

.brandrow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px clamp(16px,4vw,48px) 6px;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:6px 0;
  font-size:21px;
  font-weight:600;
  letter-spacing:.16em;
  color:var(--ink);
  text-decoration:none;
}
.brand img{
  width:30px;
  height:30px;
  border-radius:10px;
  object-fit:cover;
}

.cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:11px 20px;
  border-radius:999px;
  background:var(--ink);
  color:var(--sand);
  font-size:16px;
  font-weight:500;
  letter-spacing:.03em;
  text-decoration:none;
  transition:background .25s ease-out,color .25s ease-out;
}
.cta:hover{background:var(--teal-2);color:#fff;}

.anchors{
  position:sticky;
  top:0;
  z-index:9;
  display:flex;
  gap:6px;
  overflow-x:auto;
  padding:8px clamp(12px,4vw,40px) 12px;
  background:rgba(230,216,197,.96);
  border-bottom:1px solid var(--line);
  scrollbar-width:thin;
}
.anchors a{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:10px 15px;
  border-radius:999px;
  border:1px solid transparent;
  color:var(--ink-2);
  font-size:16px;
  white-space:nowrap;
  text-decoration:none;
  transition:background .22s ease-out,color .22s ease-out,border-color .22s ease-out;
}
.anchors a:hover{background:rgba(92,198,176,.28);border-color:rgba(92,198,176,.55);}
.anchors a.active{background:var(--ink);color:var(--sand);border-color:var(--ink);}

/* ---------- 头图 ---------- */
.hero{
  position:relative;
  display:flex;
  align-items:flex-end;
  min-height:70vh;
  min-height:70svh;
  overflow:hidden;
  color:#faf5ec;
  background:linear-gradient(155deg,#172623,#2b4640 58%,#41645a);
  clip-path:polygon(0 0,100% 0,100% calc(100% - 4.5vw),0 100%);
}

.hero-media{position:absolute;inset:0;z-index:0;}
.hero-media img{width:100%;height:100%;object-fit:cover;opacity:.62;}
.hero-media::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(160deg,rgba(23,38,35,.5),rgba(23,38,35,.92));
}

.hero-inner{
  position:relative;
  z-index:1;
  width:100%;
  max-width:840px;
  padding:clamp(88px,14vh,150px) clamp(18px,5vw,54px) clamp(46px,7vw,80px);
  text-align:left;
}

.hero-band{
  display:block;
  width:66px;
  height:6px;
  margin-bottom:20px;
  border-radius:999px;
  background:var(--teal);
}

.hero h1{
  margin:0;
  font-size:clamp(2rem,7.2vw,4.2rem);
  line-height:1.06;
  font-weight:600;
  letter-spacing:-.025em;
  color:#faf5ec;
  text-shadow:0 2px 24px rgba(0,0,0,.28);
}

/* ---------- 主体骨架 ---------- */
.shell{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:0;
  max-width:1180px;
  margin:0 auto;
  padding:0 clamp(16px,4vw,48px) 64px;
}

@media (min-width:900px){
  .shell{grid-template-columns:238px minmax(0,1fr);gap:44px;}
}

.side{
  align-self:start;
  padding:26px 0 18px;
  border-bottom:1px solid var(--line);
}
@media (min-width:900px){
  .side{
    position:sticky;
    top:78px;
    padding:36px 0 0;
    border-bottom:0;
  }
}

.side-title{
  margin:0 0 10px;
  font-size:16px;
  font-weight:500;
  letter-spacing:.3em;
  color:var(--ink-2);
}

.side-list{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:0;
  padding:0;
  list-style:none;
}
@media (min-width:900px){
  .side-list{flex-direction:column;flex-wrap:nowrap;}
}

.side-list a{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:8px 12px;
  border:1px solid transparent;
  border-radius:999px;
  color:var(--ink-2);
  font-size:16px;
  text-decoration:none;
  transition:background .22s ease-out,border-color .22s ease-out;
}
.side-list a:hover{background:rgba(92,198,176,.22);border-color:rgba(92,198,176,.5);}
.num{font-variant-numeric:tabular-nums;color:var(--teal-2);opacity:.85;}

#main-body{min-width:0;padding-top:28px;}

/* ---------- 正文 ---------- */
.intro{
  margin-bottom:26px;
  padding:clamp(20px,3.4vw,36px);
  border:1px solid rgba(23,38,35,.07);
  border-radius:var(--r2) var(--r3) var(--r2) var(--r2);
  background:var(--paper);
  box-shadow:var(--shadow);
}
.intro h2{margin:0;font-size:clamp(1.35rem,3.4vw,1.9rem);line-height:1.3;letter-spacing:-.012em;}
.subtitle{margin:10px 0 0;color:var(--teal-2);font-size:17px;font-weight:500;}

.body > section{
  margin:0 0 26px;
  padding:clamp(20px,3.4vw,38px);
  border:1px solid rgba(23,38,35,.07);
  border-radius:var(--r2);
  background:var(--paper);
  box-shadow:var(--shadow);
  scroll-margin-top:96px;
}
.body > section:nth-of-type(3n+1){border-radius:var(--r3) var(--r1) var(--r2) var(--r1);}
.body > section:nth-of-type(3n+2){border-radius:var(--r1) var(--r3) var(--r1) var(--r2);}
.body > section:nth-of-type(3n+3){border-radius:var(--r2) var(--r2) var(--r3) var(--r1);}

.body h2{
  margin:0 0 16px;
  font-size:clamp(1.3rem,3.2vw,1.85rem);
  line-height:1.32;
  letter-spacing:-.015em;
}
.body h2::before{
  content:'';
  display:block;
  width:44px;
  height:4px;
  margin-bottom:14px;
  border-radius:999px;
  background:var(--teal);
}
.body h3{margin:24px 0 10px;font-size:1.14rem;line-height:1.4;}

.body p{margin:0 0 14px;}
.body > div > *:last-child{margin-bottom:0;}
.body ul,.body ol{margin:0 0 16px;padding-left:1.35em;}
.body li{margin:0 0 7px;}
.body strong{
  font-weight:600;
  background:linear-gradient(transparent 62%,rgba(92,198,176,.42) 62%);
}
.body a{text-decoration:underline;text-underline-offset:3px;}
.body figure{margin:20px 0;}
.body figure img{border-radius:var(--r1);box-shadow:var(--shadow);}
.body blockquote{
  margin:20px 0;
  padding:14px 20px;
  border-left:4px solid var(--teal);
  border-radius:0 var(--r1) var(--r1) 0;
  background:rgba(92,198,176,.12);
}
.body table{width:100%;border-collapse:collapse;margin:18px 0;font-size:16px;}
.body th,.body td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left;}

/* ---------- 页脚 ---------- */
.tail{
  margin-top:56px;
  padding:44px clamp(18px,5vw,54px) 30px;
  border-radius:52px 0 0 0;
  background:var(--ink);
  color:var(--sand);
}

.tail-brand{
  margin:0 0 26px;
  font-size:clamp(2.6rem,13vw,7rem);
  line-height:.98;
  font-weight:600;
  letter-spacing:-.03em;
  color:#f3ecdf;
  overflow-wrap:anywhere;
}

.tail-row{
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
  padding-top:24px;
  border-top:1px solid rgba(212,196,168,.28);
}
@media (min-width:860px){
  .tail-row{grid-template-columns:1fr 1.25fr .9fr .9fr;align-items:start;}
}

.tail address{font-style:normal;font-size:17px;color:#efe4d1;}

.tail-nav dl{
  display:grid;
  grid-template-columns:2.4em 1fr;
  gap:2px 10px;
  margin:0;
}
.tail-nav dt{
  display:flex;
  align-items:center;
  min-height:40px;
  font-size:16px;
  font-variant-numeric:tabular-nums;
  color:rgba(212,196,168,.62);
}
.tail-nav dd{margin:0;}
.tail-nav a,
.tail-list a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:4px 0;
  color:#efe4d1;
  font-size:16px;
  text-decoration:none;
  transition:color .2s ease-out;
}
.tail-nav a:hover,
.tail-list a:hover{color:var(--teal);}

.tail-list{margin:0;padding:0;list-style:none;}
.copy{margin:0;font-size:16px;color:rgba(212,196,168,.72);}
@media (min-width:860px){.copy{text-align:right;}}

/* ---------- 动效 ---------- */
.js [data-reveal]{
  opacity:0;
  transform:translateY(16px);
  transition:opacity .65s cubic-bezier(.2,.72,.3,1),transform .65s cubic-bezier(.2,.72,.3,1);
}
.js [data-reveal].in{opacity:1;transform:none;}
.js .body > div:nth-of-type(2n){transition-delay:.06s;}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  .js [data-reveal]{opacity:1;transform:none;transition:none;}
}

@media (max-width:420px){
  .brand{font-size:19px;letter-spacing:.12em;}
  .cta{padding:11px 16px;}
}

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