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

:root{
  --ink:#000000;
  --paper:#ffffff;
  --max:1240px;
  --u:8px;
  --sans:'Nunito Sans','Helvetica Neue',Helvetica,Arial,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;
  --disp:'Varela Round','Nunito Sans','Helvetica Neue',Arial,'PingFang SC','Microsoft YaHei',sans-serif;
}

*,*::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:var(--sans);
  font-size:17px;
  line-height:1.7;
  font-weight:400;
  overflow-x:hidden;
}
img{display:block;max-width:100%;height:auto}
a{color:var(--ink);text-decoration:none}
h1,h2,h3{font-family:var(--disp);font-weight:400;line-height:1.16;letter-spacing:-.01em}
a:focus-visible,button:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
footer a:focus-visible{outline-color:var(--paper)}

/* 顶部细条 */
.ticker{
  margin:0;
  background:var(--ink);
  color:var(--paper);
  font-size:16px;
  letter-spacing:.28em;
  padding:7px max(24px,calc((100% - var(--max)) / 2));
  border-bottom:2px solid var(--ink);
}

/* 页头 */
.masthead{
  position:sticky;
  top:0;
  z-index:60;
  background:var(--paper);
  border-bottom:2px solid var(--ink);
}
.mast-row{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:var(--u);
  align-items:center;
  max-width:var(--max);
  margin:0 auto;
  padding:8px 24px;
}
.mark{
  grid-column:1 / span 2;
  display:inline-flex;
  align-items:center;
  height:48px;
}
.mark img{
  width:40px;height:40px;
  border:2px solid var(--ink);
  border-radius:50%;
  object-fit:cover;
}
.mark-t{
  display:grid;place-items:center;
  width:40px;height:40px;
  border:2px solid var(--ink);
  border-radius:50%;
  font-family:var(--disp);
  font-size:16px;
}
.anchors{grid-column:3 / -1;min-width:0}
.anchors ol{
  display:flex;
  gap:2px;
  list-style:none;
  margin:0;
  padding:0;
  overflow-x:auto;
  scrollbar-width:none;
}
.anchors ol::-webkit-scrollbar{display:none}
.anchors a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:0 12px;
  font-size:16px;
  white-space:nowrap;
  border-bottom:2px solid transparent;
  transition:border-color .18s ease,background-color .18s ease;
}
.anchors a:hover{border-bottom-color:var(--ink);background:#f2f2f2}

/* 首屏 */
.hero{
  position:relative;
  overflow:hidden;
  background:var(--ink);
  color:var(--paper);
  min-height:100vh;
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:var(--u);
  align-content:end;
  padding:0 24px 128px;
  clip-path:polygon(0 0,100% 0,100% 100%,0 calc(100% - 72px));
}
.hero-media{
  position:absolute;
  inset:-12% 0 0;
  z-index:0;
  will-change:transform;
}
.hero-media::before{
  content:'';
  position:absolute;
  inset:0;
  background-image:linear-gradient(90deg,rgba(255,255,255,.14) 1px,transparent 1px);
  background-size:calc(100% / 6) 100%;
}
.hero-media img{
  width:100%;
  height:124%;
  object-fit:cover;
  filter:grayscale(1) contrast(1.06);
  opacity:.55;
}
.hero-copy{
  position:relative;
  z-index:2;
  grid-column:6 / -1;
  text-align:right;
  background:var(--paper);
  color:var(--ink);
  border:2px solid var(--ink);
  padding:32px;
}
.hero-copy h1{
  font-size:clamp(2rem,4.6vw,3.5rem);
  margin:0 0 12px;
}
.hero-lede{
  margin:0 0 0 auto;
  max-width:46ch;
  font-size:17px;
}
.hero-stamp{
  position:absolute;
  z-index:3;
  left:24px;
  bottom:120px;
  width:104px;height:104px;
  display:grid;place-items:center;
  border:2px solid var(--paper);
  border-radius:50%;
  background:var(--ink);
  color:var(--paper);
  writing-mode:vertical-rl;
  letter-spacing:.18em;
  font-family:var(--disp);
  font-size:16px;
  transform:rotate(-6deg);
}

/* 正文 */
main{
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:56px;
  align-items:start;
  max-width:var(--max);
  margin:0 auto;
  padding:72px 24px 80px;
}
article{min-width:0}
article section{
  padding:44px 0;
  border-top:2px solid var(--ink);
  scroll-margin-top:96px;
}
article section:first-of-type{border-top:0;padding-top:0}
article h2{
  font-size:clamp(1.45rem,2.6vw,2rem);
  margin:0 0 20px;
}
article h3{font-size:1.15rem;margin:28px 0 12px}
article h2 span,
article h3 span{
  display:inline-block;
  padding-bottom:8px;
  background:linear-gradient(var(--ink),var(--ink)) left bottom / 100% 5px no-repeat;
}
article p{margin:0 0 16px;max-width:64ch}
article ul,article ol{margin:0 0 16px;padding-left:1.25em;max-width:64ch}
article li{margin:.4em 0}
article a{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
article a:hover{background:var(--ink);color:var(--paper);text-decoration:none}
article img{margin:24px 0;border:2px solid var(--ink)}
article blockquote{
  margin:24px 0;
  padding:8px 0 8px 24px;
  border-left:6px solid var(--ink);
  font-size:1.05em;
}
article hr{border:0;border-top:2px solid var(--ink);margin:32px 0}
article table{width:100%;border-collapse:collapse;margin:24px 0;font-size:16px}
article th,article td{border:1px solid var(--ink);padding:10px 12px;text-align:left}

/* 侧栏 */
aside{
  position:sticky;
  top:88px;
  border-top:2px solid var(--ink);
  padding-top:16px;
}
aside h2{font-size:16px;letter-spacing:.2em;margin:0 0 12px}
aside ol{list-style:none;margin:0;padding:0;counter-reset:n}
aside li{counter-increment:n;border-bottom:1px solid var(--ink)}
aside a{
  display:flex;
  align-items:baseline;
  gap:10px;
  min-height:44px;
  padding:11px 0;
  font-size:16px;
  transition:transform .18s ease;
}
aside a::before{
  content:counter(n,decimal-leading-zero);
  font-family:var(--disp);
  font-size:15px;
  opacity:.55;
}
aside a:hover{transform:translateX(4px)}

/* 页脚 */
footer{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr;
  gap:40px;
  align-items:start;
  background:var(--ink);
  color:var(--paper);
  margin-top:40px;
  padding:64px max(24px,calc((100% - var(--max)) / 2)) 40px;
}
footer a{color:var(--paper)}
.f-cta h2{
  font-size:clamp(1.8rem,4vw,3rem);
  margin:0;
  word-break:break-word;
}
.f-cta h2 span{
  display:inline-block;
  padding-bottom:10px;
  background:linear-gradient(var(--paper),var(--paper)) left bottom / 100% 6px no-repeat;
}
.f-go{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:96px;height:96px;
  margin-top:28px;
  border:2px solid var(--paper);
  border-radius:50%;
  font-size:30px;
  line-height:1;
  transition:background-color .18s ease,color .18s ease,transform .18s ease;
}
.f-go:hover{background:var(--paper);color:var(--ink);transform:rotate(-6deg)}
.f-nav ol{list-style:none;margin:0;padding:0}
.f-nav a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:8px 0;
  border-bottom:1px solid rgba(255,255,255,.3);
  font-size:16px;
}
.f-nav a:hover{border-bottom-color:var(--paper);padding-left:6px}
.f-side img{
  width:44px;height:44px;
  border:2px solid var(--paper);
  border-radius:50%;
  object-fit:cover;
}
.f-side .mark-t{
  width:44px;height:44px;
  border-color:var(--paper);
  color:var(--paper);
}
.f-copy{margin:16px 0 0;font-size:16px;opacity:.85}

/* 中屏 */
@media (max-width:1000px){
  main{grid-template-columns:minmax(0,1fr) 260px;gap:36px;padding:56px 24px 64px}
}

/* 移动端 */
@media (max-width:860px){
  body{font-size:17px}
  .mast-row{grid-template-columns:48px minmax(0,1fr);gap:8px;padding:8px 16px}
  .mark{grid-column:1}
  .anchors{grid-column:2}
  .anchors a{padding:0 10px}
  .hero{
    min-height:0;
    padding:0 16px 88px;
    grid-template-columns:1fr;
    align-content:start;
    clip-path:polygon(0 0,100% 0,100% 100%,0 calc(100% - 40px));
  }
  .hero-copy{
    grid-column:1;
    text-align:left;
    padding:24px;
    margin-top:46vh;
  }
  .hero-lede{margin-left:0}
  .hero-media{inset:-8% 0 0}
  .hero-stamp{
    left:auto;right:16px;bottom:auto;top:24px;
    width:88px;height:88px;
    font-size:16px;
  }
  main{grid-template-columns:1fr;gap:48px;padding:48px 16px 64px}
  aside{position:static;top:auto}
  footer{grid-template-columns:1fr;gap:32px;padding:48px 16px 32px}
  .f-go{width:80px;height:80px;font-size:26px}
  article h2 span,article h3 span{background-size:100% 4px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none !important;animation:none !important}
  .hero-media{transform:none !important}
}

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