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

:root{
  --ink:#1F1A17;
  --ink2:#2B2420;
  --red:#E2452F;
  --apricot:#F6E7D8;
  --line:rgba(246,231,216,.2);
  --dim:rgba(246,231,216,.72);
  --ff:"Noto Sans SC","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
}

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

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

body{
  margin:0;
  background:var(--ink);
  color:var(--apricot);
  font-family:var(--ff);
  font-size:17px;
  line-height:1.75;
  font-weight:400;
  letter-spacing:.01em;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-image:radial-gradient(rgba(246,231,216,.18) 1px,transparent 1px);
  background-size:22px 22px;
  opacity:.55;
}

img{max-width:100%;height:auto;border-radius:10px}
svg{display:block}
table{width:100%;border-collapse:collapse;font-size:16px}
th,td{padding:8px 10px;border-bottom:1px solid rgba(31,26,23,.2);text-align:left}

a{color:inherit}
:focus-visible{outline:2px solid var(--red);outline-offset:3px;border-radius:6px}

.sr{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
  border:0;
}

/* 顶栏 */
.topbar{
  position:relative;
  z-index:6;
  background:rgba(31,26,23,.9);
  border-bottom:1px solid var(--line);
}

.menubar{
  max-width:1180px;
  margin:0 auto;
  padding:8px clamp(12px,3vw,26px);
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.menu{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:2px;
  margin:0;
  padding:0;
  list-style:none;
}

.menu > li > a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:0 12px;
  border-radius:10px;
  color:var(--apricot);
  font-size:16px;
  font-weight:500;
  text-decoration:none;
  transition:background .22s ease,color .22s ease;
}

.menu > li > a:hover{background:var(--red);color:#fff}

.brand{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  padding:0 10px;
  color:var(--apricot);
  font-size:17px;
  font-weight:700;
  letter-spacing:.05em;
  text-decoration:none;
  white-space:nowrap;
}

.brand .mark{color:var(--red);font-size:11px;line-height:1}

.find{
  display:flex;
  align-items:center;
  gap:6px;
  padding:2px 2px 2px 10px;
  border:1px solid var(--line);
  border-radius:10px;
  background:rgba(246,231,216,.06);
}

.find input{
  width:92px;
  height:40px;
  border:0;
  background:none;
  color:var(--apricot);
  font:inherit;
  font-size:16px;
  outline:none;
}

.find input::placeholder{color:rgba(246,231,216,.55)}

.find button{
  height:38px;
  padding:0 12px;
  border:0;
  border-radius:8px;
  background:var(--red);
  color:#fff;
  font:inherit;
  font-size:16px;
  font-weight:500;
  cursor:pointer;
}

/* 首屏 */
.hero{
  position:relative;
  z-index:1;
  max-width:1180px;
  margin:0 auto;
  padding:clamp(26px,6vw,62px) clamp(14px,3vw,26px) clamp(28px,5vw,54px);
  min-height:70vh;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:clamp(10px,3vw,30px);
}

.hero-txt{min-width:0}

.kicker{
  display:flex;
  align-items:center;
  gap:9px;
  margin:0 0 14px;
  font-size:16px;
  letter-spacing:.2em;
  color:var(--dim);
}

.kdot{
  width:8px;
  height:8px;
  flex:none;
  border-radius:50%;
  background:var(--red);
}

.big{
  margin:0;
  font-size:clamp(2.15rem,8.2vw,5.3rem);
  line-height:1.06;
  font-weight:700;
  letter-spacing:-.02em;
  background:linear-gradient(96deg,var(--apricot) 16%,var(--red) 78%);
  background-size:230% 100%;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  -webkit-text-fill-color:transparent;
  animation:fillShift 10s ease-in-out infinite alternate;
}

@keyframes fillShift{
  from{background-position:0 0}
  to{background-position:100% 0}
}

.big .ch{
  display:inline-block;
  white-space:pre;
  animation:letterRise .72s cubic-bezier(.2,.82,.24,1) both;
  animation-delay:calc(var(--i) * 36ms);
}

@keyframes letterRise{
  from{opacity:0;transform:translateY(.42em) rotate(7deg)}
  to{opacity:1;transform:translateY(0) rotate(0)}
}

.hero-act{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:26px 0 0;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 20px;
  border-radius:10px;
  font-size:16px;
  font-weight:700;
  text-decoration:none;
  transition:transform .2s ease,background .2s ease,color .2s ease;
}

.b-fill{background:var(--red);color:#fff}
.b-fill:hover{transform:translateY(-2px)}
.b-line{border:1px solid var(--line);color:var(--apricot)}
.b-line:hover{background:var(--apricot);color:var(--ink)}

.hero-art{color:var(--apricot);opacity:.9}
.hero-art svg{width:clamp(80px,13vw,128px);height:auto}

/* 主体 */
.wrap{
  position:relative;
  z-index:1;
  max-width:1180px;
  margin:0 auto;
  padding:0 clamp(12px,3vw,26px) clamp(26px,5vw,56px);
}

section{
  display:grid;
  gap:clamp(14px,2.4vw,24px);
  overflow-wrap:break-word;
}

.side{
  background:var(--apricot);
  color:var(--ink);
  border-radius:10px;
  padding:14px 12px;
}

.side-h{
  margin:0 0 8px;
  padding-left:4px;
  font-size:16px;
  font-weight:700;
  letter-spacing:.16em;
  color:var(--red);
}

.side-list{
  margin:0;
  padding:0;
  list-style:none;
  counter-reset:sn;
}

.side-list > li{counter-increment:sn}

.side-list a{
  display:flex;
  gap:8px;
  align-items:baseline;
  min-height:42px;
  padding:8px 6px;
  border-radius:8px;
  color:var(--ink);
  font-size:16px;
  line-height:1.35;
  text-decoration:none;
}

.side-list a::before{
  content:counter(sn,decimal-leading-zero);
  flex:none;
  font-size:12px;
  font-weight:700;
  letter-spacing:.06em;
  color:var(--red);
}

.side-list a:hover{background:rgba(31,26,23,.09)}

.lead{padding:4px 4px 0}

.lead h2{
  margin:0 0 8px;
  font-size:clamp(1.45rem,3.4vw,2.1rem);
  line-height:1.25;
  font-weight:700;
  letter-spacing:-.012em;
}

.subtitle{
  margin:0;
  max-width:60ch;
  color:var(--dim);
  font-size:17px;
}

section > article{
  border-radius:10px;
  padding:clamp(18px,3vw,32px);
  background:var(--apricot);
  color:var(--ink);
  scroll-margin-top:16px;
}

section > article:nth-of-type(even){
  background:var(--ink2);
  color:var(--apricot);
  box-shadow:inset 0 0 0 1px rgba(246,231,216,.1);
}

section > article > h2{
  margin:0 0 12px;
  font-size:clamp(1.35rem,3vw,1.95rem);
  line-height:1.3;
  font-weight:700;
  letter-spacing:-.01em;
}

section > article > h2::before{
  content:"";
  display:block;
  width:42px;
  height:4px;
  margin-bottom:12px;
  border-radius:2px;
  background:var(--red);
}

section > article h3{
  margin:20px 0 8px;
  font-size:18px;
  font-weight:700;
}

section > article p{margin:0 0 14px}
section > article p:last-child{margin-bottom:0}
section > article ul,section > article ol{padding-left:1.2em;margin:0 0 14px}
section > article li{margin:4px 0}

section > article a{
  text-decoration:underline;
  text-decoration-color:var(--red);
  text-decoration-thickness:2px;
  text-underline-offset:3px;
}

section > article blockquote{
  margin:0 0 14px;
  padding:2px 0 2px 14px;
  border-left:3px solid var(--red);
  font-weight:500;
}

section > article.hit{box-shadow:0 0 0 3px var(--red)}

/* 页脚 */
.foot{
  position:relative;
  z-index:1;
  margin-top:12px;
  border-top:1px solid var(--line);
  background:rgba(0,0,0,.24);
}

.foot-head,
.foot-cols,
.copy{
  max-width:1180px;
  margin:0 auto;
  padding-left:clamp(12px,3vw,26px);
  padding-right:clamp(12px,3vw,26px);
}

.foot-head{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding-top:28px;
}

.brand-foot{font-size:18px;padding-left:0}

.sub{
  display:flex;
  gap:8px;
  flex:1 1 260px;
  max-width:380px;
}

.sub input{
  flex:1;
  min-width:0;
  height:44px;
  padding:0 12px;
  border:1px solid var(--line);
  border-radius:10px;
  background:rgba(246,231,216,.06);
  color:var(--apricot);
  font:inherit;
  font-size:16px;
}

.sub input::placeholder{color:rgba(246,231,216,.55)}

.sub button{
  height:44px;
  padding:0 16px;
  border:0;
  border-radius:10px;
  background:var(--red);
  color:#fff;
  font:inherit;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
}

.foot-cols{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  padding-top:24px;
  padding-bottom:20px;
}

.foot-cols dl{margin:0}

.foot-cols dt{
  margin-bottom:6px;
  font-size:16px;
  font-weight:700;
  letter-spacing:.14em;
  color:var(--red);
}

.foot-cols dd{margin:0}

.foot-cols a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  color:var(--dim);
  font-size:16px;
  text-decoration:none;
}

.foot-cols a:hover{color:var(--red)}

.copy{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-top:12px;
  padding-bottom:22px;
  border-top:1px solid var(--line);
  font-size:16px;
  color:rgba(246,231,216,.66);
}

.copy a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  color:var(--apricot);
  text-decoration:none;
}

.copy a:hover{color:var(--red)}

/* 滚动出现 */
html.js .reveal{
  opacity:0;
  transform:translateY(20px);
  transition:opacity .7s ease,transform .7s cubic-bezier(.2,.82,.24,1);
}

html.js .reveal.in{opacity:1;transform:none}

/* 断点 */
@media (min-width:900px){
  .topbar{position:sticky;top:0;backdrop-filter:blur(8px)}
  .menu-l{flex:1;justify-content:flex-end}
  .menu-r{flex:1;justify-content:flex-start}
  .menubar{flex-wrap:nowrap;gap:10px}
  .menu{flex-wrap:nowrap}
}

@media (min-width:940px){
  section{
    grid-template-columns:200px minmax(0,1fr);
    align-items:start;
  }
  .side{
    grid-column:1;
    grid-row:1 / span 40;
    position:sticky;
    top:88px;
    align-self:start;
  }
  section > *:not(.side){grid-column:2}
  section > article{scroll-margin-top:92px}
}

@media (max-width:899px){
  .brand{order:-1;flex:1 1 100%;justify-content:center}
  .find{order:9;flex:1 1 100%;margin-top:4px}
  .find input{flex:1;width:auto}
}

@media (max-width:640px){
  .hero{grid-template-columns:1fr;align-items:start}
  .hero-art{order:-1}
  .hero-art svg{width:66px}
  .foot-cols{grid-template-columns:1fr;gap:4px}
  .foot-cols dt{margin-top:10px}
  .sub{max-width:none}
}

@media (max-width:400px){
  .menu > li > a{padding:0 9px}
  .big{letter-spacing:-.015em}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .big,.big .ch{animation:none}
  html.js .reveal{opacity:1;transform:none;transition:none}
}

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