@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');

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

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

body{
  margin:0;
  padding-bottom:100px;
  background:#eaf7ff;
  color:#000;
  font-family:'Poppins','Open Sans',system-ui,'Noto Sans SC','Microsoft YaHei',sans-serif;
  font-size:17px;
  line-height:1.75;
}

h1,h2,h3,h4{font-weight:700;line-height:1.2;letter-spacing:-.01em;margin:0}
p{margin:0}
a{color:#000}
img{display:block;max-width:100%;height:auto}
:focus-visible{outline:4px solid #ff5252;outline-offset:2px}

/* 主视觉 */
.hero{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:18px;
  min-height:45vh;
  padding:26px 20px 0;
  background:#3bb1ff;
  border-bottom:4px solid #000;
  overflow:hidden;
}
.hero::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:-1px;
  height:14px;
  background:#ff5252;
  border-top:3px solid #000;
  transform:skewY(-1.8deg);
  transform-origin:bottom left;
}
.hero-copy{margin-left:auto;max-width:660px;text-align:right}
.hero-kicker{
  display:inline-block;
  margin:0 0 12px;
  padding:4px 12px;
  background:#000;
  color:#fff;
  font-size:14px;
  font-weight:600;
  letter-spacing:.1em;
  transform:rotate(-1.5deg);
}
h1{font-size:clamp(28px,6.2vw,56px);margin:0 0 14px}
.hero-desc{
  display:inline-block;
  margin:0 0 16px;
  padding:8px 14px;
  background:#fff;
  border:3px solid #000;
  box-shadow:5px 5px 0 #000;
  font-size:16px;
  text-align:left;
}
.hero-cta{
  display:inline-flex;
  align-items:center;
  min-height:46px;
  padding:10px 22px;
  background:#ff5252;
  color:#fff;
  font-weight:700;
  text-decoration:none;
  border:3px solid #000;
  box-shadow:5px 5px 0 #000;
  transition:transform .15s ease,box-shadow .15s ease;
}
.hero-cta:hover{transform:translate(-2px,-2px);box-shadow:8px 8px 0 #000}
.hero-figure{
  display:flex;
  align-items:flex-end;
  gap:5px;
  height:82px;
  margin:0 6px 26px;
  padding:0;
}
.hero-figure span{
  flex:1 1 0;
  height:44%;
  background:#000;
  border:3px solid #000;
  border-bottom:0;
}
.hero-figure span:nth-child(3n){height:72%}
.hero-figure span:nth-child(3n+1){height:34%}
.hero-figure span:nth-child(3n+2){height:56%}
.hero-figure span:nth-child(4n){height:94%}
.hero-figure span:nth-child(5n){background:#ff5252}

/* 版心 */
.stage{
  max-width:1140px;
  margin:0 auto;
  padding:30px 18px 46px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 252px;
  gap:28px;
  align-items:start;
}

.shell{min-width:0}
.shell > article{
  background:#fff;
  border:3px solid #000;
  border-bottom-width:8px;
  border-radius:18px;
  box-shadow:6px 6px 0 #000;
  padding:20px 20px 24px;
  margin:0 0 26px;
  scroll-margin-top:24px;
}
.shell > article:nth-child(odd){border-bottom-color:#3bb1ff}
.shell > article:nth-child(even){border-bottom-color:#ff5252}

.shell h2{font-size:clamp(21px,2.8vw,28px);margin:2px 0 0}
.shell h3{font-size:clamp(18px,2.2vw,22px);margin:22px 0 8px}
.shell h2 + hr,.shell h3 + hr,.rail h2 + hr{margin:10px 0 18px}
hr{border:0;border-top:3px solid #000;margin:12px 0 18px}

.shell p{margin:0 0 15px}
.shell ul,.shell ol{margin:0 0 16px;padding-left:1.3em}
.shell li{margin-bottom:7px}
.shell a{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
.shell a:hover{background:#ff5252;color:#fff;box-shadow:2px 2px 0 #000}
.shell strong{background:#3bb1ff;padding:0 4px}
.shell blockquote{
  margin:0 0 16px;
  padding:12px 16px;
  background:#eaf7ff;
  border:3px solid #000;
  border-left-width:10px;
}
.shell figure{margin:0 0 16px;border:3px solid #000;overflow:hidden;border-radius:12px}
.shell figcaption{font-size:15px;padding:8px 12px;border-top:3px solid #000;background:#eaf7ff}
.shell table{width:100%;border-collapse:collapse;margin:0 0 16px;font-size:16px}
.shell th,.shell td{border:3px solid #000;padding:8px 10px;text-align:left}
.shell th{background:#3bb1ff}
.shell code{font-size:15px;background:#eaf7ff;padding:1px 5px;border:2px solid #000}

/* 右侧速览 */
.rail{
  position:sticky;
  top:22px;
  padding:14px 14px 18px;
  background:#3bb1ff;
  border:3px solid #000;
  border-radius:18px;
  box-shadow:6px 6px 0 #000;
}
.rail h2{font-size:20px;margin:0}
.rail-list{list-style:none;margin:0;padding:0}
.rail-list a{
  display:flex;
  align-items:center;
  min-height:42px;
  margin-bottom:8px;
  padding:4px 10px;
  background:#fff;
  border:3px solid #000;
  font-size:16px;
  font-weight:600;
  text-decoration:none;
  transition:transform .15s ease,box-shadow .15s ease;
}
.rail-list a:hover{background:#ff5252;color:#fff;transform:translate(-2px,-2px);box-shadow:4px 4px 0 #000}

/* 页脚 */
.foot{margin-top:20px;border-top:4px solid #000;background:#fff}
.foot-cta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:28px 20px;
  background:#ff5252;
  border-bottom:4px solid #000;
}
.foot-shout{
  margin:0;
  font-size:clamp(22px,5vw,40px);
  font-weight:700;
  color:#fff;
  text-shadow:3px 3px 0 #000;
}
.foot-top{
  display:inline-flex;
  align-items:center;
  min-height:46px;
  padding:10px 20px;
  background:#000;
  color:#fff;
  font-weight:700;
  text-decoration:none;
  border:3px solid #000;
  box-shadow:5px 5px 0 #3bb1ff;
}
.foot-top:hover{background:#3bb1ff;color:#000}
.foot-body{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:22px;
  max-width:1140px;
  margin:0 auto;
  padding:26px 20px;
}
.foot-addr{
  display:flex;
  flex-direction:column;
  gap:4px;
  font-style:normal;
  padding-left:12px;
  border-left:7px solid #3bb1ff;
}
.foot-addr-name{font-weight:700;font-size:17px}
.foot-addr-host{font-size:15px}
.foot-list{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:2px 18px;
  margin:0;
  padding:0;
  max-width:540px;
}
.foot-list a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  font-weight:600;
  text-decoration:none;
}
.foot-list a:hover{background:#3bb1ff}
.foot-copy{
  margin:0;
  padding:12px 20px 18px;
  text-align:center;
  font-size:15px;
  border-top:3px solid #000;
}

/* 底部固定导航 */
.dock{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:60;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  background:#fff;
  border-top:4px solid #000;
  box-shadow:0 -5px 0 #3bb1ff;
}
.dock-nav ul{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:2px;
  margin:0;
  padding:0;
  list-style:none;
}
.dock-nav--l ul{justify-content:flex-end}
.dock-nav a{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:0 10px;
  font-size:16px;
  font-weight:600;
  text-decoration:none;
  border:3px solid transparent;
  transition:background .15s ease,box-shadow .15s ease;
}
.dock-nav a:hover{background:#eaf7ff;border-color:#000;box-shadow:3px 3px 0 #000}
.has-sub{position:relative}
.sub{
  position:absolute;
  left:0;
  bottom:calc(100% + 10px);
  display:none;
  flex-direction:column;
  min-width:158px;
  padding:6px;
  background:#fff;
  border:3px solid #000;
  box-shadow:5px 5px 0 #000;
  list-style:none;
  margin:0;
}
.sub li{margin:0}
.has-sub:hover .sub,.has-sub:focus-within .sub{display:flex}
.dock-mid{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
}
.dock-brand{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:6px 14px;
  background:#ff5252;
  color:#fff;
  font-weight:700;
  font-size:17px;
  text-decoration:none;
  border:3px solid #000;
  box-shadow:4px 4px 0 #000;
}
.dock-contact{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:6px 10px;
  background:#000;
  color:#fff;
  font-size:15px;
  font-weight:600;
  text-decoration:none;
  border:3px solid #000;
}
.dock-contact:hover{background:#3bb1ff;color:#000}

/* 入场动画 */
html.js .reveal{opacity:0;transform:translateY(20px)}
html.js .reveal.in{
  opacity:1;
  transform:none;
  transition:opacity .5s ease,transform .5s cubic-bezier(.2,.7,.3,1);
  transition-delay:var(--d,0ms);
}

@media (max-width:1000px){
  .dock-nav a{font-size:15px;padding:0 7px}
}

@media (max-width:820px){
  body{padding-bottom:182px}
  .hero{min-height:0;padding:22px 14px 0}
  .hero-figure{height:60px;margin:0 2px 26px}
  .stage{grid-template-columns:minmax(0,1fr);padding:22px 14px 30px;gap:22px}
  .rail{position:static;order:2}
  .shell > article{padding:16px 15px 20px}
  .foot-body{padding:22px 16px}
  .dock{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:6px;
    padding:8px 10px 10px;
    box-shadow:0 -4px 0 #3bb1ff;
  }
  .dock-mid{order:-1;width:100%;justify-content:center}
  .dock-nav{display:contents}
  .dock-nav ul{display:contents}
  .dock-nav li{display:contents}
  .sub{display:contents}
  .dock-nav a{font-size:16px;min-height:40px;padding:0 12px;border-color:#000;background:#eaf7ff}
}

@media (max-width:420px){
  .hero-cta{width:100%;justify-content:center}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  html.js .reveal{opacity:1;transform:none;transition:none}
  .hero-cta:hover,.rail-list a:hover{transform:none}
}

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