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

:root{
  --blue:#3bb1ff;
  --red:#ff5252;
  --ink:#000;
  --paper:#fdf6e6;
  --card:#fffdf7;
  --line:3px solid #000;
  --sh:7px 7px 0 #000;
  --shs:4px 4px 0 #000;
  --r:28px;
}

*,*::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:400 16px/1.65 'Outfit',system-ui,-apple-system,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;
  overflow-x:hidden;
  padding-bottom:138px;
}

img{max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3{font-weight:900;letter-spacing:-0.01em}
:focus-visible{outline:3px solid var(--red);outline-offset:3px}

/* ---------- 底部固定条 ---------- */
.dock{
  position:fixed;
  left:0;right:0;bottom:0;
  z-index:80;
  display:flex;
  flex-direction:column;
  gap:0;
  padding:8px 10px 10px;
  background:var(--card);
  border-top:var(--line);
}

.brand{
  order:-1;
  align-self:center;
  display:inline-block;
  padding:6px 12px;
  font-size:17px;
  font-weight:900;
  letter-spacing:0.06em;
  text-decoration:none;
  color:#000;
  background:var(--blue);
  border:var(--line);
  border-radius:10px;
  box-shadow:var(--shs);
  transform:rotate(-1.5deg);
}

.dock nav{
  display:flex;
  align-items:center;
  gap:6px;
  margin-top:9px;
  padding:1px 0 2px;
  overflow-x:auto;
  scrollbar-width:none;
}
.dock nav::-webkit-scrollbar{display:none}

.dock nav p{
  margin:0;
  display:flex;
  gap:2px;
  flex:0 0 auto;
}
.dock nav p:first-of-type{margin-right:auto}

.dock nav a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 9px;
  font-size:16px;
  font-weight:700;
  color:#000;
  text-decoration:none;
  white-space:nowrap;
  border:3px solid transparent;
  border-radius:8px;
}
.dock nav a:hover,
.dock nav a:focus-visible{background:var(--blue);border-color:#000}

.dock nav a.cta{
  background:var(--red);
  border:var(--line);
  box-shadow:var(--shs);
  font-weight:900;
  padding:0 13px;
}
.dock nav a.cta:hover{background:#ff7a7a}

/* ---------- 首屏 ---------- */
.hero{
  position:relative;
  display:flex;
  align-items:center;
  min-height:100svh;
  padding:36px 16px 96px;
  overflow:hidden;
}

.heroIn{
  width:100%;
  max-width:1120px;
  margin:0 auto;
  display:grid;
  gap:22px;
}

.heroText h1{
  margin:0;
  font-size:clamp(30px,8vw,58px);
  line-height:1.06;
}

.lead{
  margin:14px 0 20px;
  font-size:17px;
  line-height:1.6;
  max-width:46ch;
}

.pill{
  display:inline-flex;
  align-items:center;
  min-height:46px;
  padding:0 20px;
  font-size:16px;
  font-weight:900;
  color:#000;
  text-decoration:none;
  background:#fff;
  border:var(--line);
  border-radius:999px;
  box-shadow:var(--shs);
}
.pill:hover{transform:translate(-2px,-2px);box-shadow:7px 7px 0 #000}

.heroArt{
  position:relative;
  overflow:hidden;
  aspect-ratio:4 / 3;
  background:var(--blue);
  border:var(--line);
  border-radius:22px;
  box-shadow:10px 10px 0 #000;
  transform:rotate(-1.6deg);
}
.heroArt .heroImg{width:100%;height:100%;object-fit:cover;display:block}
.heroFallback{
  display:grid;
  place-items:center;
  height:100%;
  min-height:210px;
  padding:18px;
  text-align:center;
  font-size:clamp(20px,6vw,32px);
  font-weight:900;
  line-height:1.2;
  background:var(--blue);
}

.slash{
  position:absolute;
  left:-6%;right:-6%;bottom:-2px;
  height:66px;
  background:var(--red);
  border-top:var(--line);
  transform:skewY(-2.2deg);
  transform-origin:left bottom;
  pointer-events:none;
}

/* ---------- 主体 ---------- */
.stage{
  max-width:1180px;
  margin:0 auto;
  padding:34px 16px 20px;
  display:grid;
  gap:24px;
}

.side{display:grid;gap:16px}

.sideBox{
  padding:16px 18px 18px;
  background:rgba(255,255,255,0.66);
  -webkit-backdrop-filter:blur(9px);
  backdrop-filter:blur(9px);
  border:var(--line);
  border-radius:var(--r);
  box-shadow:var(--shs);
}

.sideBox h2{
  margin:0 0 12px;
  font-size:16px;
  letter-spacing:0.14em;
}
.sideBox h2 span{
  display:inline-block;
  padding:2px 10px;
  background:var(--red);
  border:var(--line);
  border-radius:8px;
  box-shadow:3px 3px 0 #000;
}

.sideList{
  margin:0;
  padding:0;
  list-style:none;
  font-size:16px;
}
.sideList li + li{border-top:2px dashed rgba(0,0,0,0.3)}
.sideList a{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:6px 0;
  font-weight:700;
  text-decoration:none;
}
.sideList a:hover{background:var(--blue)}

.sideLink{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:0 14px;
  font-weight:900;
  text-decoration:none;
  background:#fff;
  border:var(--line);
  border-radius:999px;
  box-shadow:3px 3px 0 #000;
}
.sideLink:hover{background:var(--blue)}

.sheet{
  min-width:0;
  padding:22px 16px 30px;
  background:var(--card);
  border:var(--line);
  border-radius:var(--r);
  box-shadow:8px 8px 0 #000;
}

.sheetTitle{
  margin:0 0 20px;
  font-size:16px;
  letter-spacing:0.16em;
}
.sheetTitle span{
  display:inline-block;
  padding:2px 12px;
  background:var(--blue);
  border:var(--line);
  border-radius:8px;
  box-shadow:3px 3px 0 #000;
}

/* ---------- 正文 ---------- */
.body > article{scroll-margin-top:96px}
.body > article + article{
  margin-top:34px;
  padding-top:32px;
  border-top:3px dashed rgba(0,0,0,0.35);
}

.body h2{
  margin:0 0 14px;
  font-size:clamp(21px,5vw,29px);
  line-height:1.22;
}
.body h2 span{
  display:inline-block;
  padding:3px 12px;
  background:var(--blue);
  border:var(--line);
  border-radius:12px;
  box-shadow:var(--shs);
}

.body h3{
  margin:24px 0 10px;
  font-size:20px;
  line-height:1.3;
}
.body h3 span{
  display:inline-block;
  padding:1px 9px;
  background:#ffe08a;
  border:var(--line);
  border-radius:9px;
}

.body p{margin:0 0 15px;font-size:17px;line-height:1.78}
.body a{
  font-weight:700;
  text-decoration:none;
  border-bottom:3px solid var(--red);
}
.body a:hover{background:var(--red)}
.body strong{background:#ffe08a;padding:0 3px}
.body em{font-style:normal;background:#fff;border-bottom:3px solid var(--blue)}

.body ul,.body ol{
  margin:0 0 16px;
  padding-left:24px;
  font-size:17px;
  line-height:1.72;
}
.body li{margin:6px 0}
.body li::marker{font-weight:900}

.body blockquote{
  margin:0 0 18px;
  padding:14px 16px;
  font-size:17px;
  background:#fff;
  border:var(--line);
  border-left:11px solid var(--red);
  border-radius:14px;
  box-shadow:var(--shs);
}
.body blockquote p:last-child{margin-bottom:0}

.body img{
  display:block;
  margin:16px 0;
  border:var(--line);
  border-radius:16px;
  box-shadow:var(--shs);
}

.body table{
  width:100%;
  margin:0 0 18px;
  border-collapse:collapse;
  font-size:16px;
  background:#fff;
  border:var(--line);
}
.body th,.body td{padding:9px 10px;border:2px solid #000;text-align:left}
.body th{background:var(--blue);font-weight:900}

.body hr{
  height:0;
  margin:26px 0;
  border:0;
  border-top:3px dashed rgba(0,0,0,0.35);
}

.body code{
  padding:1px 5px;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:15px;
  background:#fff;
  border:2px solid #000;
  border-radius:6px;
}

/* ---------- 页脚 ---------- */
.foot{
  margin-top:36px;
  padding:34px 16px 26px;
  background:var(--blue);
  border-top:var(--line);
}

.footGrid{
  max-width:1180px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.foot dl{margin:0}
.foot dt{
  margin-bottom:8px;
  padding-bottom:5px;
  font-size:16px;
  font-weight:900;
  letter-spacing:0.1em;
  border-bottom:3px solid #000;
}
.foot dd{margin:0 0 6px;font-size:16px;line-height:1.5}
.foot dd a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:2px 4px;
  font-weight:700;
  text-decoration:none;
}
.foot dd a:hover{background:#fff}

.copy{
  max-width:1180px;
  margin:22px auto 0;
  padding-top:14px;
  font-size:16px;
  font-weight:700;
  text-align:center;
  border-top:3px solid #000;
}

/* ---------- 动效 ---------- */
.rv{
  opacity:0;
  transform:translateY(14px);
  transition:opacity .5s ease,transform .5s cubic-bezier(.2,.8,.3,1);
}
.rv.in{opacity:1;transform:none}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .rv{transition:none;opacity:1;transform:none}
}

/* ---------- 桌面 ---------- */
@media (min-width:900px){
  body{padding-bottom:118px}

  .dock{
    flex-direction:row;
    align-items:center;
    padding:11px 26px;
  }
  .brand{
    order:0;
    position:absolute;
    left:50%;top:50%;
    transform:translate(-50%,-50%) rotate(-1.5deg);
    font-size:19px;
    padding:7px 16px;
  }
  .dock nav{
    width:100%;
    margin-top:0;
    overflow:visible;
    gap:12px;
  }
  .dock nav a{padding:0 11px}

  .hero{padding:52px 32px 150px;align-items:center}
  .heroIn{grid-template-columns:1.05fr 0.95fr;align-items:center;gap:56px}
  .heroText{grid-column:2;grid-row:1;text-align:right}
  .heroText .lead{margin-left:auto}
  .heroArt{grid-column:1;grid-row:1}
  .slash{height:86px}

  .stage{
    grid-template-columns:252px minmax(0,1fr);
    gap:36px;
    padding:56px 32px 24px;
    align-items:start;
  }
  .side{position:sticky;top:26px}

  .sheet{padding:32px 36px 42px}
  .footGrid{gap:28px}
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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