:root{
  --pink:#ff0080;
  --mag:#ff00ff;
  --ink:#26171f;
  --paper:#f7ecf4;
  --sans:'Epilogue','PingFang SC','Hiragino Sans GB','Microsoft YaHei',system-ui,-apple-system,sans-serif;
  --display:'Anton','Epilogue','PingFang SC','Hiragino Sans GB','Microsoft YaHei',system-ui,sans-serif;
  --line:rgba(255,255,255,.14);
  --panel:rgba(30,16,30,.72);
}

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

html{
  background:#150b15;
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  font-family:var(--sans);
  font-size:17px;
  line-height:1.75;
  color:#f8eef5;
  overflow-x:hidden;
  isolation:isolate;
}

body::before{
  content:"";
  position:fixed;
  inset:-25%;
  z-index:-2;
  pointer-events:none;
  background:
    radial-gradient(42% 38% at 16% 20%,rgba(255,0,128,.62),transparent 70%),
    radial-gradient(38% 42% at 84% 14%,rgba(255,0,255,.5),transparent 70%),
    radial-gradient(46% 42% at 72% 78%,rgba(108,0,255,.5),transparent 72%),
    radial-gradient(40% 38% at 22% 86%,rgba(0,196,255,.3),transparent 70%);
  filter:blur(52px) saturate(1.2);
  animation:mesh 22s ease-in-out infinite alternate;
}

body::after{
  content:"";
  position:fixed;
  inset:-10%;
  z-index:-1;
  pointer-events:none;
  opacity:.3;
  mix-blend-mode:screen;
  background:conic-gradient(from 0deg at 58% 34%,
    rgba(255,0,128,.55),rgba(255,0,255,.4),rgba(70,0,170,.5),
    rgba(0,190,255,.3),rgba(255,0,128,.55));
  filter:blur(64px);
  animation:spin 46s linear infinite;
}

@keyframes mesh{
  to{transform:translate3d(3%,-4%,0) scale(1.1)}
}
@keyframes spin{
  to{transform:rotate(360deg)}
}

img{max-width:100%;height:auto;display:block;border-radius:10px}

a{color:#ffd6ea;text-decoration:none}
a:hover,a:focus-visible{color:#fff}

:focus-visible{outline:2px solid var(--mag);outline-offset:3px;border-radius:6px}

.sr{
  position:absolute;width:1px;height:1px;
  overflow:hidden;clip-path:inset(50%);white-space:nowrap;
}

.skip{
  position:absolute;left:12px;top:-60px;
  background:var(--pink);color:#fff;
  padding:10px 16px;border-radius:0 0 10px 10px;
  z-index:60;font-size:16px;
}
.skip:focus{top:0}

/* 页头：品牌行在上，菜单行在下 */
.sitehead{
  position:sticky;
  top:0;
  z-index:50;
  padding:10px clamp(12px,4vw,32px) 8px;
  background:linear-gradient(180deg,rgba(21,11,21,.94),rgba(21,11,21,.78));
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,0,128,.28);
  transition:box-shadow .3s ease,border-color .3s ease;
}
.sitehead.stuck{box-shadow:0 12px 32px rgba(0,0,0,.45);border-bottom-color:var(--mag)}

.brandrow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  max-width:1240px;
  margin:0 auto;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  font-family:var(--display);
  font-size:1.12rem;
  letter-spacing:.04em;
  color:#fff;
}
.brand:hover .brandname{
  background-image:linear-gradient(90deg,var(--pink),var(--mag));
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
.logo{width:38px;height:38px;border-radius:10px;object-fit:cover}
.dotmark{
  width:16px;height:16px;border-radius:50%;
  background:linear-gradient(135deg,var(--pink),var(--mag));
  box-shadow:0 0 14px rgba(255,0,128,.85);
  flex:0 0 auto;
}

.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:9px 18px;
  font-size:16px;
  border:1px solid rgba(255,0,255,.5);
  border-radius:999px;
  background:rgba(255,0,128,.14);
  color:#ffe4f1;
  white-space:nowrap;
  transition:background .2s ease,border-color .2s ease,transform .2s ease;
}
.pill:hover,.pill:focus-visible{
  background:rgba(255,0,255,.3);
  border-color:#ff8z;
  border-color:#ff8ad4;
  transform:translateY(-1px);
}

.menu{max-width:1240px;margin:6px auto 0}
.menu p{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0;
  padding-bottom:2px;
}
.menu a{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:8px 15px;
  font-size:16px;
  line-height:1.2;
  border:1px solid var(--line);
  border-radius:999px;
  color:#f4dcea;
  background:rgba(255,255,255,.05);
  transition:color .2s ease,border-color .2s ease,background .2s ease;
}
.menu a:hover,.menu a:focus-visible{
  color:#fff;
  border-color:var(--pink);
  background:rgba(255,0,128,.22);
}

/* 主体骨架 */
main{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:32px;
  max-width:1240px;
  margin:0 auto;
  padding:0 clamp(14px,4vw,32px) 48px;
}

div{min-width:0}

/* 首屏 */
.hero{
  min-height:100vh;
  display:grid;
  align-content:center;
  gap:30px;
  padding:8vh 0 48px;
}

.herotext{max-width:62ch}

h1{
  margin:0 0 18px;
  font-family:var(--display);
  font-size:clamp(2.3rem,6.4vw,4.6rem);
  line-height:1.04;
  letter-spacing:-.015em;
  background-image:linear-gradient(100deg,#fff 8%,#ff9fd4 42%,var(--mag) 78%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  text-wrap:balance;
}

.lede{
  margin:0;
  font-size:1.06rem;
  color:#f2dceb;
  max-width:56ch;
}

.acts{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0 0}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 26px;
  font-size:16px;
  font-weight:600;
  border-radius:999px;
  border:1px solid transparent;
  color:#2b0a1c;
  background-image:linear-gradient(96deg,var(--pink),var(--mag));
  box-shadow:0 12px 34px rgba(255,0,128,.35);
  transition:transform .2s ease,box-shadow .2s ease;
}
.btn:hover,.btn:focus-visible{transform:translateY(-2px);box-shadow:0 16px 40px rgba(255,0,255,.45);color:#2b0a1c}

.btn.ghost{
  background:rgba(255,255,255,.06);
  background-image:none;
  color:#ffe1ef;
  border-color:rgba(255,0,255,.55);
  box-shadow:none;
}
.btn.ghost:hover{color:#fff;background:rgba(255,0,255,.24)}

.hero-img{
  width:100%;
  max-height:46vh;
  object-fit:cover;
  border-radius:12px;
  border:1px solid rgba(255,0,255,.42);
  box-shadow:0 26px 70px rgba(255,0,128,.3);
}

/* 正文区块（page.content 的 section 直接落在这里） */
div > section:not(.hero){
  scroll-margin-top:170px;
  margin:0 0 20px;
  padding:26px clamp(18px,3vw,32px) 30px;
  border:1px solid rgba(255,255,255,.13);
  border-bottom:3px solid var(--pink);
  border-radius:10px;
  background:linear-gradient(180deg,var(--panel),rgba(24,13,24,.55));
  backdrop-filter:blur(8px);
}
div > section:not(.hero):nth-of-type(even){border-bottom-color:var(--mag)}

div h2{
  position:relative;
  margin:0 0 16px;
  padding-left:16px;
  font-size:clamp(1.4rem,2.8vw,2rem);
  line-height:1.3;
  letter-spacing:-.01em;
  color:#fff;
}
div h2::before{
  content:"";
  position:absolute;
  left:0;top:.28em;bottom:.28em;
  width:5px;
  border-radius:4px;
  background:linear-gradient(180deg,var(--pink),var(--mag));
}

div h3{
  margin:26px 0 10px;
  font-size:1.18rem;
  line-height:1.4;
  color:#ffe0f0;
}

div p{margin:0 0 16px}
div p:last-child{margin-bottom:0}
div ul,div ol{pargin:0 0 16px;padding-left:1.3em}
div li{margin:.35em 0}
div a{color:#ffa9d6;text-decoration:underline;text-decoration-color:rgba(255,0,128,.65);text-underline-offset:3px}
div a:hover{color:#fff}
div strong{color:#fff}
div blockquote{
  margin:0 0 16px;
  padding:12px 18px;
  border-left:4px solid var(--mag);
  border-radius:0 10px 10px 0;
  background:rgba(255,0,255,.1);
}
div img{margin:14px 0;border:1px solid rgba(255,255,255,.16)}
div figure{margin:16px 0}
div figcaption{font-size:.9rem;color:#e3c8da;margin-top:6px}
div table{width:100%;border-collapse:collapse;margin:0 0 16px;font-size:.96rem}
div th,div td{border:1px solid rgba(255,255,255,.18);padding:9px 11px;text-align:left}
div th{background:rgba(255,0,128,.18);color:#fff}
div code{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:.92em;background:rgba(255,255,255,.12);padding:2px 5px;border-radius:4px}

/* 右侧栏 */
.rail{
  align-self:start;
  padding:22px 20px 24px;
  border:1px solid rgba(255,255,255,.14);
  border-bottom:3px solid var(--mag);
  border-radius:10px;
  background:linear-gradient(180deg,rgba(38,23,31,.85),rgba(24,13,24,.6));
}

.rail small{
  display:block;
  font-size:.82rem;
  letter-spacing:.18em;
  color:#ff9ed2;
  margin-bottom:4px;
}

.rail h2{
  margin:0 0 14px;
  font-size:1.14rem;
  letter-spacing:.02em;
  color:#fff;
}

.raillist{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.raillist a{
  display:flex;
  align-items:center;
  min-height:40px;
  padding:6px 12px;
  font-size:16px;
  border-radius:8px;
  color:#f3dbe9;
  border-left:2px solid rgba(255,0,128,.42);
  background:rgba(255,255,255,.04);
  transition:background .2s ease,border-color .2s ease,color .2s ease;
}
.raillist a:hover,.raillist a:focus-visible{
  color:#fff;
  background:rgba(255,0,128,.2);
  border-left-color:var(--mag);
}

/* 页脚 */
.sitefoot{
  margin-top:24px;
  border-top:1px solid rgba(255,0,255,.33);
  background:linear-gradient(180deg,rgba(28,14,28,.9),rgba(15,8,15,.96));
  backdrop-filter:blur(10px);
  padding:44px clamp(14px,4vw,32px) 20px;
}

.fcols{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:28px;
  max-width:1240px;
  margin:0 auto;
}

.fcol h2{
  margin:0 0 12px;
  font-size:.9rem;
  letter-spacing:.16em;
  color:#ffa3d6;
  font-weight:600;
}

.fbrand{
  margin:0;
  font-family:var(--display);
  font-size:1.2rem;
  letter-spacing:.03em;
  color:#fff;
  line-height:1.3;
}

.sitefoot address{
  font-style:normal;
  font-size:.98rem;
  color:#eed6e6;
  line-height:1.7;
}
.sitefoot address .host{display:block;color:#d3b5c6;font-size:.9rem;word-break:break-all}

.flinks{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.flinks a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:4px 0;
  font-size:16px;
  color:#eed6e6;
}
.flinks a:hover,.flinks a:focus-visible{color:#ff9ed2}

.sub{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.sub input{
  flex:1 1 128px;
  min-height:44px;
  padding:0 12px;
  font:inherit;
  font-size:16px;
  color:#fff;
  border:1px solid rgba(255,255,255,.26);
  border-radius:10px;
  background:rgba(255,255,255,.07);
}
.sub input::placeholder{color:#dcc2d2}
.sub button{
  min-height:44px;
  padding:0 20px;
  font:inherit;
  font-size:16px;
  font-weight:600;
  color:#2b0a1c;
  border:0;
  border-radius:999px;
  background-image:linear-gradient(96deg,var(--pink),var(--mag));
  cursor:pointer;
}
.sub button:hover{filter:brightness(1.1)}

.copy{
  max-width:1240px;
  margin:34px auto 0;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.11);
  font-size:.9rem;
  color:#cdb1c2;
}

/* 滚动渐显 */
.js .reveal{opacity:0;transform:translateY(16px);transition:opacity .6s ease,transform .6s ease}
.js .reveal.in{opacity:1;transform:none}

@media (min-width:900px){
  main{
    grid-template-columns:minmax(0,1fr) 286px;
    gap:42px;
    padding-top:36px;
  }
  .rail{position:sticky;top:136px;margin-top:8vh}
  div > section:not(.hero){scroll-margin-top:140px}
}

@media (max-width:899px){
  .rail{margin-top:8px}
  .fcols{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
  h1{font-size:clamp(2.1rem,8vw,3rem)}
  .hero{min-height:auto;padding:clamp(28px,7vh,64px) 0 40px;align-content:start}
  .hero-img{max-height:none}
  div > section:not(.hero){scroll-margin-top:220px}
}

@media (max-width:560px){
  body{font-size:16px}
  .menu a{padding:8px 12px;font-size:16px;min-height:42px}
  .brand{font-size:1rem}
  .brandrow{gap:8px}
  .pill.contact{padding:8px 14px}
  .acts{gap:10px}
  .btn{padding:11px 20px}
  .fcols{grid-template-columns:minmax(0,1fr)}
  .herotext{max-width:none}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  body::before,body::after{animation:none}
  .js .reveal{opacity:1;transform:none;transition:none}
  .btn,.pill,.menu a{transition:none}
}

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