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

:root{
  --ink:#000;
  --paper:#fff;
  --muted:#5a5a5a;
  --wash:#f2f2f2;
  --hair:#dcdcdc;
  --radius:18px;
  --maxw:1280px;
  --hdr:96px;
  --gap:clamp(1rem,4vw,2.5rem);
}

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

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

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:"IBM Plex Sans",-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  font-size:17px;
  line-height:1.72;
  font-weight:400;
  letter-spacing:.005em;
}

img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul{margin:0;padding:0;list-style:none}
p{margin:0}
h1,h2,h3{margin:0;font-weight:600;line-height:1.14;letter-spacing:-.02em}

a:focus-visible,
button:focus-visible{
  outline:2px solid var(--ink);
  outline-offset:3px;
}

[id]{scroll-margin-top:calc(var(--hdr) + 26px)}

html.js [data-reveal]{
  opacity:0;
  transform:translateY(16px);
  transition:opacity .7s ease,transform .7s ease;
  transition-delay:var(--d,0ms);
}
html.js [data-reveal].in{opacity:1;transform:none}

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

/* ---------- 顶部细条 ---------- */
.strip{
  background:var(--ink);
  color:var(--paper);
  text-align:center;
  padding:.5rem 1rem;
  font-size:.7rem;
  letter-spacing:.34em;
  text-indent:.34em;
  text-transform:uppercase;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}

/* ---------- 报头 ---------- */
.masthead{
  position:sticky;
  top:0;
  z-index:60;
  background:var(--paper);
  border-bottom:2px solid var(--ink);
}

.brandrow{
  display:flex;
  align-items:center;
  padding:.55rem clamp(.9rem,3vw,1.6rem);
  border-bottom:1px solid var(--ink);
}

.brand{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  font-size:1.3rem;
  font-weight:700;
  letter-spacing:.02em;
  padding-right:.4rem;
}

.brand-logo{max-height:32px;width:auto}

.navrow{padding:0}

.navrow ul{
  display:flex;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.navrow ul::-webkit-scrollbar{display:none}

.navrow li{flex:0 0 auto}

.navrow a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:.85rem .9rem;
  font-size:.9rem;
  font-weight:500;
  letter-spacing:.04em;
  border-left:1px solid var(--hair);
  white-space:nowrap;
}
.navrow li:first-child a{border-left:0}
.navrow a:hover{background:var(--ink);color:var(--paper)}

/* ---------- 首屏 ---------- */
.hero{
  position:relative;
  min-height:100svh;
  background:var(--ink);
  color:var(--paper);
  overflow:hidden;
  isolation:isolate;
  display:flex;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background-image:radial-gradient(rgba(255,255,255,.4) 1px,transparent 1px);
  background-size:15px 15px;
  opacity:.5;
  mix-blend-mode:screen;
}

.hero-fig{
  position:absolute;
  inset:0;
  margin:0;
  z-index:0;
}

.hero-fig img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:grayscale(1) contrast(1.06);
}

.hero-fig::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(195deg,rgba(0,0,0,.15) 0%,rgba(0,0,0,.55) 45%,rgba(0,0,0,.9) 100%);
}

.hero-inner{
  position:relative;
  z-index:2;
  width:100%;
  max-width:var(--maxw);
  margin:0 auto;
  padding:clamp(2rem,7vw,5.5rem) clamp(1.1rem,5vw,3.5rem) 3rem;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  text-align:right;
}

.hero h1{
  font-size:clamp(2rem,7.2vw,4.6rem);
  font-weight:600;
  letter-spacing:-.03em;
  max-width:19ch;
  padding-bottom:1.1rem;
  border-bottom:2px solid rgba(255,255,255,.75);
  text-shadow:0 2px 34px rgba(0,0,0,.45);
}

/* ---------- 版心 ---------- */
.wrap{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 var(--gap);
}

.content{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:1.6rem;
  padding:clamp(2rem,6vw,4.5rem) 0;
}

/* ---------- 侧栏 ---------- */
.side{
  border:1px solid var(--ink);
  border-bottom:5px solid var(--ink);
  border-radius:var(--radius);
  padding:1rem 1.1rem 1.2rem;
  background:var(--paper);
  align-self:start;
}

.side-label{
  font-size:.72rem;
  letter-spacing:.3em;
  text-indent:.3em;
  font-weight:600;
  padding-bottom:.6rem;
  border-bottom:1px solid var(--ink);
}

.side-list{margin-top:.35rem}

.side-list a{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:.35rem 0;
  font-size:.92rem;
  border-bottom:1px solid var(--hair);
}
.side-list li:last-child a{border-bottom:0}
.side-list a:hover{text-decoration:underline;text-underline-offset:4px}

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

.lede-head{
  border-bottom:1px solid var(--ink);
  padding-bottom:1.1rem;
  margin-bottom:1.5rem;
}

.lede-head h2{
  font-size:clamp(1.55rem,3.6vw,2.3rem);
  margin-bottom:.45rem;
}

.subtitle{
  color:var(--muted);
  font-size:.98rem;
  line-height:1.62;
  max-width:56ch;
}

div > article{
  padding:1.9rem 0;
  border-top:1px solid var(--hair);
}
div > article:first-of-type{border-top:0;padding-top:0}

div h2{font-size:clamp(1.35rem,3vw,1.9rem);margin:0 0 .55rem}
div h3{font-size:1.15rem;margin:1.6rem 0 .5rem}

div p{margin:0 0 1.05rem}
div p:last-child{margin-bottom:0}

div > article > p:first-of-type::first-letter{
  float:left;
  font-size:3.3em;
  line-height:.82;
  font-weight:600;
  padding:.08em .12em 0 0;
}

div a{text-decoration:underline;text-underline-offset:3px}

div ul,div ol{margin:0 0 1.1rem;padding-left:1.2rem}
div ul li{list-style:none;position:relative;padding-left:.9rem;margin-bottom:.4rem}
div ul li::before{content:"";position:absolute;left:0;top:.72em;width:7px;height:1px;background:var(--ink)}
div ol{padding-left:1.4rem}
div ol li{margin-bottom:.4rem}

div img{border-radius:var(--radius)}

div figure{margin:1.6rem 0}

div figcaption{
  font-size:.8rem;
  color:var(--muted);
  padding-top:.5rem;
  margin-top:.5rem;
  border-top:1px solid var(--hair);
}

div blockquote{
  margin:1.8rem 0;
  padding:1.1rem 1.3rem;
  border-left:6px solid var(--ink);
  border-radius:0 var(--radius) var(--radius) 0;
  background:var(--wash);
  font-size:1.08rem;
  line-height:1.6;
  font-style:italic;
}
div blockquote p:last-child{margin-bottom:0}

div table{
  width:100%;
  border-collapse:collapse;
  margin:1.4rem 0;
  font-size:.94rem;
}
div th,div td{
  border-bottom:1px solid var(--hair);
  padding:.55rem .5rem;
  text-align:left;
}
div th{border-bottom:1px solid var(--ink);font-weight:600}

/* ---------- 页脚 ---------- */
.foot{
  background:var(--ink);
  color:var(--paper);
  margin-top:clamp(2rem,6vw,4rem);
  display:grid;
  grid-template-columns:minmax(0,1fr);
}

.foot article{padding:clamp(1.5rem,5vw,2.6rem) var(--gap)}

.foot-cta{border-bottom:1px solid rgba(255,255,255,.28)}

.foot-cta h2{
  font-size:clamp(1.7rem,5.4vw,3rem);
  margin-bottom:.5rem;
}

.foot-cta .subtitle{color:rgba(255,255,255,.68)}

.cta-btn{
  display:inline-flex;
  align-items:center;
  min-height:46px;
  margin-top:1.4rem;
  padding:.6rem 1.5rem;
  border:1px solid var(--paper);
  border-radius:999px;
  font-weight:600;
  font-size:.95rem;
  letter-spacing:.06em;
}
.cta-btn:hover{background:var(--paper);color:var(--ink)}

.foot-col{border-top:1px solid rgba(255,255,255,.28)}

.col-label{
  font-size:.72rem;
  letter-spacing:.3em;
  text-indent:.3em;
  font-weight:600;
  padding-bottom:.55rem;
  margin-bottom:.4rem;
  border-bottom:1px solid rgba(255,255,255,.45);
}

.foot-col a,
.foot-col .mini{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  font-size:.92rem;
}
.foot-col a:hover{text-decoration:underline;text-underline-offset:4px}

.foot-brand{font-size:1.1rem;font-weight:600;margin-bottom:.3rem}

.foot-bar{
  grid-column:1 / -1;
  border-top:1px solid rgba(255,255,255,.28);
  font-size:.82rem;
  color:rgba(255,255,255,.66);
  padding-top:1rem;
  padding-bottom:1.6rem;
}

/* ---------- 断点 ---------- */
@media (min-width:760px){
  .foot{grid-template-columns:repeat(3,minmax(0,1fr))}
  .foot-cta,.foot-bar{grid-column:1 / -1}
  .foot-col{border-left:1px solid rgba(255,255,255,.28)}
  .foot-col:nth-child(2){border-left:0}
}

@media (min-width:960px){
  :root{--hdr:120px}
  .content{
    grid-template-columns:210px minmax(0,1fr);
    gap:clamp(2rem,3.5vw,3.4rem);
    padding:clamp(3rem,6vw,4.5rem) 0;
  }
  .side{position:sticky;top:calc(var(--hdr) + 20px)}
  .navrow a{padding:.9rem 1.05rem;font-size:.94rem}
}

@media (min-width:1120px){
  div > article{
    column-count:2;
    column-gap:3rem;
    column-rule:1px solid var(--hair);
  }
  div figure,
  div blockquote,
  div table,
  div ul,
  div ol{break-inside:avoid}
  div > article > p:first-of-type::first-letter{font-size:3.6em}
}

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