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

:root{
  --pink:#F45B8C;
  --ink:#2B2D42;
  --sun:#FFC845;
  --paper:#FFF7F9;
  --line:#F2D9E1;
  --deep:#C22C63;
  --r:4px;
}

*,*::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:'Nunito Sans','Rubik',system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;
  font-size:17px;
  line-height:1.75;
}

a{color:var(--deep)}
img{display:block;max-width:100%}
hr{border:0}
p{margin:0}

/* ---------- 顶栏 ---------- */
.top{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 16px;
  background:var(--ink);
  color:#fff;
}
.brand{
  margin-right:auto;
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  color:#fff;
  text-decoration:none;
  font-family:'Rubik',sans-serif;
  font-weight:700;
  font-size:17px;
  letter-spacing:.01em;
}
.brand-logo{width:34px;height:34px;border-radius:var(--r);object-fit:cover;flex:none}
.brand-dot{width:14px;height:14px;border-radius:2px;background:var(--sun);flex:none}

.call{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:0 15px;
  border-radius:999px;
  background:var(--sun);
  color:var(--ink);
  font-weight:700;
  font-size:16px;
  text-decoration:none;
}
.call:hover{background:#FFD873}

.menu-wrap{position:relative}
.menu-wrap summary{
  list-style:none;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:0 16px;
  border-radius:999px;
  background:var(--pink);
  color:#fff;
  font-weight:700;
  font-size:16px;
}
.menu-wrap summary::-webkit-details-marker{display:none}
.menu-wrap summary:hover{background:#FF7BA3}
.menu-wrap menu{
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  z-index:40;
  margin:0;
  padding:10px;
  list-style:none;
  display:grid;
  gap:6px;
  width:min(78vw,262px);
  background:#fff;
  border:2px solid var(--ink);
  border-radius:var(--r);
}
.menu-wrap menu a{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:6px 12px;
  border-radius:999px;
  background:var(--paper);
  color:var(--ink);
  font-weight:600;
  font-size:16px;
  text-decoration:none;
}
.menu-wrap menu a:hover{background:var(--sun)}

/* ---------- 粘性锚点条 ---------- */
.anchorbar{
  position:sticky;
  top:0;
  z-index:30;
  background:#fff;
  border-bottom:3px solid var(--ink);
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.anchorbar ul{
  display:flex;
  gap:8px;
  margin:0;
  padding:9px 16px;
  list-style:none;
  width:max-content;
}
.anchorbar a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:4px 14px;
  border-radius:999px;
  border:2px solid var(--ink);
  color:var(--ink);
  font-weight:700;
  font-size:16px;
  text-decoration:none;
  white-space:nowrap;
  transition:background .16s ease,color .16s ease;
}
.anchorbar a:hover{background:var(--ink);color:#fff}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  overflow:hidden;
  display:grid;
  gap:26px;
  align-content:center;
  justify-items:center;
  min-height:100vh;
  min-height:100svh;
  padding:52px 20px;
  background:var(--pink);
  color:#fff;
}
.hero::before{
  content:"";
  position:absolute;
  top:-80px;
  right:-80px;
  width:250px;
  height:250px;
  border-radius:50%;
  background:var(--sun);
  opacity:.95;
}
.hero::after{
  content:"";
  position:absolute;
  bottom:-60px;
  left:-50px;
  width:180px;
  height:180px;
  border-radius:var(--r);
  background:var(--ink);
  opacity:.18;
  transform:rotate(14deg);
}
.hero-txt{
  position:relative;
  z-index:1;
  max-width:560px;
  text-align:center;
}
.badge{
  display:inline-block;
  padding:5px 15px;
  border-radius:999px;
  background:var(--sun);
  color:var(--ink);
  font-weight:800;
  font-size:16px;
  letter-spacing:.03em;
}
.hero h1{
  margin:14px 0 0;
  font-family:'Rubik',sans-serif;
  font-size:clamp(30px,7.2vw,54px);
  line-height:1.16;
  font-weight:800;
  letter-spacing:-.01em;
}
.lede{
  margin:14px 0 24px;
  font-size:17px;
  color:#FFF0F5;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 28px;
  border-radius:999px;
  background:#fff;
  color:var(--ink);
  font-weight:800;
  font-size:16px;
  text-decoration:none;
  transition:background .16s ease;
}
.btn:hover{background:var(--sun)}
.btn-dark{background:var(--ink);color:#fff}
.btn-dark:hover{background:#43466B}

.hero-art{
  position:relative;
  z-index:1;
  width:100%;
  max-width:440px;
  border:4px solid #fff;
  border-radius:var(--r);
  overflow:hidden;
  background:#fff;
}
.hero-img{width:100%;height:220px;object-fit:cover}
.hero-chip{
  position:absolute;
  left:12px;
  bottom:12px;
  padding:5px 13px;
  border-radius:999px;
  background:var(--sun);
  color:var(--ink);
  font-weight:800;
  font-size:16px;
}

/* ---------- 主体骨架 ---------- */
.shell{
  max-width:1120px;
  margin:0 auto;
  padding:34px 16px 60px;
  display:grid;
  gap:24px;
  align-items:start;
}

.side{
  background:#fff;
  border:2px solid var(--ink);
  border-radius:var(--r);
  padding:16px 14px;
}
.side h2{
  margin:0 0 8px;
  font-family:'Rubik',sans-serif;
  font-size:17px;
  letter-spacing:.14em;
}
.side hr{
  height:5px;
  width:52px;
  background:var(--sun);
  margin:0 0 14px;
  border-radius:3px;
}
.side ul{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:2px;
}
.side a{
  display:flex;
  align-items:center;
  min-height:40px;
  padding:4px 10px;
  border-radius:var(--r);
  color:var(--ink);
  font-weight:600;
  font-size:16px;
  text-decoration:none;
  transition:background .16s ease,color .16s ease;
}
.side a:hover{background:var(--paper);color:var(--pink)}

/* ---------- 正文 ---------- */
.body > div{
  background:#fff;
  border:2px solid var(--ink);
  border-left:7px solid var(--pink);
  border-radius:var(--r);
  padding:26px 20px;
  margin-bottom:24px;
  scroll-margin-top:84px;
}
.body > div:nth-child(even){border-left-color:var(--sun)}
.body > div:nth-child(3n){border-left-color:#43466B}

.body h2{
  margin:0 0 10px;
  font-family:'Rubik',sans-serif;
  font-size:clamp(22px,3.4vw,30px);
  line-height:1.3;
  font-weight:800;
}
.body h2 + hr{
  height:5px;
  width:64px;
  background:var(--pink);
  margin:0 0 18px;
  border-radius:3px;
}
.body h3{
  margin:22px 0 8px;
  font-size:20px;
  line-height:1.4;
  font-weight:800;
}
.body p{margin:0 0 14px}
.body ul,.body ol{margin:0 0 16px;padding-left:22px}
.body li{margin-bottom:6px}
.body a{color:var(--deep);text-decoration:underline;text-underline-offset:3px}
.body a:hover{color:var(--pink)}
.body blockquote{
  margin:18px 0;
  padding:12px 16px;
  background:var(--paper);
  border-left:5px solid var(--sun);
  border-radius:var(--r);
}
.body blockquote p:last-child{margin:0}
.body strong{font-weight:700}
.body table{
  width:100%;
  border-collapse:collapse;
  margin:0 0 16px;
  font-size:16px;
}
.body th,.body td{
  border:2px solid var(--ink);
  padding:8px 10px;
  text-align:left;
  vertical-align:top;
}
.body th{background:var(--sun)}
.body figure{margin:0 0 16px}
.body img{border-radius:var(--r)}

/* ---------- 页脚 ---------- */
.foot{
  background:var(--ink);
  color:#fff;
  margin-top:20px;
}
.foot-cta{
  background:var(--pink);
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
  justify-content:space-between;
  padding:30px 18px;
}
.cta-word{
  margin:0;
  font-family:'Rubik',sans-serif;
  font-size:clamp(22px,4.4vw,32px);
  font-weight:800;
  line-height:1.25;
}
.foot-row{
  max-width:1120px;
  margin:0 auto;
  padding:16px 18px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  justify-content:space-between;
}
.foot-brand{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  color:#fff;
  font-weight:800;
  font-size:16px;
  text-decoration:none;
}
.foot-nav{display:flex;flex-wrap:wrap;gap:6px}
.foot-nav a{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:4px 14px;
  border:2px solid rgba(255,255,255,.35);
  border-radius:999px;
  color:#fff;
  font-weight:600;
  font-size:16px;
  text-decoration:none;
  transition:background .16s ease,border-color .16s ease;
}
.foot-nav a:hover{background:var(--pink);border-color:var(--pink)}
.copy{margin:0;color:#FFD7E4;font-size:16px}

/* ---------- 焦点 ---------- */
a:focus-visible,summary:focus-visible{
  outline:3px solid var(--sun);
  outline-offset:2px;
}

/* ---------- 动效 ---------- */
.js .rv{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .42s ease,transform .42s cubic-bezier(.2,.7,.3,1);
}
.js .rv.in{opacity:1;transform:none}
.js .hero-txt > .rv:nth-child(2){transition-delay:.06s}
.js .hero-txt > .rv:nth-child(3){transition-delay:.12s}
.js .hero-txt > .rv:nth-child(4){transition-delay:.18s}
.js .side ul > li:nth-child(2){transition-delay:.04s}
.js .side ul > li:nth-child(3){transition-delay:.08s}
.js .side ul > li:nth-child(4){transition-delay:.12s}
.js .side ul > li:nth-child(5){transition-delay:.16s}
.js .side ul > li:nth-child(6){transition-delay:.2s}
.js .side ul > li:nth-child(7){transition-delay:.24s}

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

/* ---------- 断点 ---------- */
@media (min-width:620px){
  .hero{padding:64px 28px}
  .hero-img{height:320px}
  .shell{padding:40px 22px 70px}
  .body > div{padding:32px 30px}
}

@media (min-width:860px){
  .top{padding:12px 28px}
  .brand{font-size:20px}
  .menu-wrap{display:none}
  .hero{padding:70px 36px;gap:38px}
  .hero.has-art{
    grid-template-columns:1.05fr .95fr;
    align-items:center;
    justify-items:stretch;
    justify-content:center;
    max-width:1120px;
    margin:0 auto;
  }
  .hero.has-art .hero-txt{justify-self:start}
  .hero-art{justify-self:end;max-width:100%}
  .hero-img{height:380px}
  .shell{grid-template-columns:224px minmax(0,1fr);gap:34px;padding:44px 28px 76px}
  .side{position:sticky;top:76px}
  .foot-row{padding:18px 28px}
  .foot-cta{padding:36px 28px}
}

@media (min-width:1080px){
  .body > div{padding:36px 38px}
}

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