:root{
  --ink:#1f1726;
  --ink-2:#241a2e;
  --ink-3:#2c2038;
  --plum:#56228b;
  --plum-l:#8a4fc4;
  --clay:#8b4513;
  --sand:#c2a37a;
  --text:#ece3f1;
  --muted:#b7a6c4;
  --line:rgba(255,255,255,.11);
  --font:"Plus Jakarta Sans","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,-apple-system,sans-serif;
  --shadow:0 26px 54px -34px rgba(0,0,0,.86);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  overflow-x:hidden;
  font-family:var(--font);
  font-size:17px;
  line-height:1.78;
  color:var(--text);
  background:
    radial-gradient(1200px 640px at 86% -10%,#3d2255 0%,rgba(61,34,85,0) 62%),
    radial-gradient(940px 540px at -10% 46%,#3b2718 0%,rgba(59,39,24,0) 58%),
    var(--ink);
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:9;
  pointer-events:none;
  opacity:.13;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
img{max-width:100%}
a{color:#d6b8f0}
p{margin:0}
.shell{position:relative;z-index:2;min-height:100vh;display:flex;flex-direction:column}

/* ---------- 顶部两行 ---------- */
.masthead{
  position:sticky;
  top:0;
  z-index:40;
  background:linear-gradient(rgba(31,23,38,.96),rgba(31,23,38,.86));
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.masthead__row{
  max-width:1120px;
  margin:0 auto;
  padding:12px 20px 8px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:11px;
  min-height:46px;
  text-decoration:none;
  color:#f7f0fb;
  font-weight:800;
  font-size:18px;
  letter-spacing:.01em;
}
.brand__mark{
  flex:0 0 auto;
  width:36px;
  height:36px;
  border-radius:60% 40% 46% 54%/44% 54% 46% 56%;
  background:conic-gradient(from 210deg,var(--clay),var(--plum) 58%,#31203f);
  box-shadow:inset 0 -6px 14px rgba(0,0,0,.42),0 8px 20px -10px #000;
  object-fit:cover;
}
.find{display:flex;align-items:center;gap:8px}
.find input{
  width:172px;
  min-height:44px;
  padding:10px 16px;
  font:inherit;
  font-size:16px;
  color:#f6eefb;
  background:rgba(255,255,255,.07);
  border:1px solid var(--line);
  border-radius:999px;
  outline-offset:2px;
}
.find input::placeholder{color:#9d8dad}
.find button{
  min-height:44px;
  padding:0 16px;
  font:inherit;
  font-size:16px;
  font-weight:600;
  color:#f8f1fc;
  background:linear-gradient(140deg,var(--plum),#3d1a61);
  border:1px solid rgba(255,255,255,.2);
  border-radius:999px;
  cursor:pointer;
}
.find button:hover{background:linear-gradient(140deg,var(--plum-l),var(--plum))}
.drawer-wrap{max-width:1120px;margin:0 auto;padding:0 20px 12px}
.drawer{position:relative}
.drawer summary{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:8px 18px;
  font-size:16px;
  color:#eadff2;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px 22px 22px 999px;
  cursor:pointer;
  list-style:none;
}
.drawer summary::-webkit-details-marker{display:none}
.drawer summary:hover{border-color:rgba(255,255,255,.34)}
.ico{
  width:16px;
  height:12px;
  background:
    linear-gradient(#cbb6dd,#cbb6dd) 0 0/100% 2px no-repeat,
    linear-gradient(#cbb6dd,#cbb6dd) 0 5px/100% 2px no-repeat,
    linear-gradient(#cbb6dd,#cbb6dd) 0 10px/72% 2px no-repeat;
}
.drawer__menu{
  position:absolute;
  left:0;
  right:0;
  top:calc(100% + 8px);
  z-index:30;
  max-height:70vh;
  overflow:auto;
  margin:0;
  padding:10px;
  display:grid;
  gap:4px;
  list-style:none;
  background:#2a1f36;
  border:1px solid var(--line);
  border-radius:4px 22px 22px 22px;
  box-shadow:0 34px 60px -34px #000;
}
.drawer__menu a{
  display:flex;
  align-items:center;
  gap:11px;
  min-height:46px;
  padding:10px 14px;
  font-size:16px;
  color:#e2d5ec;
  text-decoration:none;
  border-radius:14px 20px 16px 22px;
}
.drawer__menu a:hover{background:rgba(255,255,255,.08);color:#fff}
.d{
  flex:0 0 auto;
  width:8px;
  height:8px;
  border-radius:56% 44% 40% 60%;
  background:linear-gradient(140deg,var(--sand),var(--clay));
}

/* ---------- hero ---------- */
.hero{
  position:relative;
  min-height:70vh;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  overflow:hidden;
  padding:48px 20px 58px;
  border-bottom:1px solid var(--line);
  background:radial-gradient(90% 120% at 78% 10%,#42265c 0%,rgba(66,38,92,0) 60%),#241a2e;
}
.hero__fig{position:absolute;inset:0;margin:0;overflow:hidden}
.hero__pic{
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.06);
  transform-origin:center;
  filter:saturate(.86) contrast(1.06);
}
.hero__veil{
  position:absolute;
  inset:0;
  background:linear-gradient(100deg,#1f1726 6%,rgba(31,23,38,.8) 42%,rgba(86,34,139,.28) 72%,rgba(31,23,38,.9) 100%);
}
.hero__blob{
  position:absolute;
  width:min(420px,60vw);
  height:min(420px,60vw);
  right:-70px;
  top:-90px;
  border-radius:58% 42% 45% 55%/45% 52% 48% 55%;
  background:radial-gradient(circle at 32% 30%,rgba(139,69,19,.62),rgba(86,34,139,.28) 62%,transparent 74%);
  filter:blur(6px);
}
.hero__txt{
  position:relative;
  z-index:2;
  max-width:660px;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:16px;
  text-align:right;
  margin-left:auto;
}
.hero__tag{
  padding:9px 18px;
  font-size:16px;
  letter-spacing:.05em;
  color:#f6edfc;
  background:rgba(244,237,247,.12);
  border:1px solid rgba(255,255,255,.28);
  border-radius:999px;
  backdrop-filter:blur(7px);
  box-shadow:0 16px 34px -22px #000;
}
h1{
  margin:0;
  font-size:clamp(30px,5.6vw,56px);
  line-height:1.12;
  letter-spacing:-.012em;
  color:#fdf8ff;
  text-shadow:0 3px 34px rgba(0,0,0,.6);
}

/* ---------- 主体：左栏 + 正文 ---------- */
main{flex:1 0 auto}
.board{
  max-width:1120px;
  margin:0 auto;
  padding:52px 20px 44px;
  display:grid;
  grid-template-columns:286px minmax(0,1fr);
  gap:44px;
  align-items:start;
}
.rail{
  position:sticky;
  top:136px;
  padding:22px 20px;
  background:linear-gradient(165deg,#2c2038,#241a2e);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.rail__h{
  margin:0 0 10px;
  font-size:19px;
  line-height:1.35;
  color:#f5ecfa;
  letter-spacing:.01em;
}
.subtitle{
  font-size:16px;
  line-height:1.66;
  color:var(--muted);
  margin:0 0 18px;
}
.rail__menu{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.rail__menu a{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:42px;
  padding:9px 6px;
  font-size:16px;
  color:#d9cbe4;
  text-decoration:none;
  border-bottom:1px dashed rgba(255,255,255,.1);
  transition:color .18s ease,transform .18s ease;
}
.rail__menu a:hover,.rail__menu a:focus-visible{color:#fff;transform:translateX(4px)}
.board__flow{min-width:0}
.board__flow > section + section{margin-top:46px;padding-top:10px;border-top:1px solid rgba(255,255,255,.07)}
.board__flow h2{
  position:relative;
  margin:44px 0 16px;
  padding-left:20px;
  font-size:clamp(22px,2.9vw,30px);
  line-height:1.28;
  letter-spacing:-.01em;
  color:#f7eefb;
}
.board__flow h2::before{
  content:"";
  position:absolute;
  left:0;
  top:.16em;
  bottom:.16em;
  width:8px;
  border-radius:60% 40% 55% 45%;
  background:linear-gradient(var(--clay),var(--plum));
}
.board__flow > div:first-child h2:first-child{margin-top:0}
.board__flow h3{
  margin:30px 0 12px;
  font-size:20px;
  line-height:1.4;
  color:#f0e5f7;
}
.board__flow p{font-size:17px;line-height:1.86;color:#d8cde0;margin:0 0 18px}
.board__flow ul,.board__flow ol{margin:0 0 20px;padding-left:1.25em;color:#d8cde0}
.board__flow li{margin:0 0 9px;line-height:1.8}
.board__flow a{color:#d3aaf2;text-underline-offset:3px}
.board__flow a:hover{color:#fff}
.board__flow strong{color:#f4ecfa}
.board__flow blockquote{
  margin:26px 0;
  padding:20px 22px;
  color:#e5d9ed;
  background:linear-gradient(140deg,rgba(86,34,139,.34),rgba(139,69,19,.2));
  border-left:5px solid var(--sand);
  border-radius:0 18px 20px 0;
}
.board__flow blockquote p:last-child{margin:0}
.board__flow img{border-radius:20px}
.board__flow figure{margin:26px 0}
.board__flow figcaption{font-size:16px;color:#a090b0;margin-top:8px}
.board__flow table{width:100%;border-collapse:collapse;margin:0 0 22px;font-size:16px}
.board__flow th,.board__flow td{padding:11px 12px;border-bottom:1px solid var(--line);text-align:left}
.board__flow code{font-size:.94em;background:rgba(255,255,255,.08);padding:2px 6px;border-radius:6px}
.board__flow div[id]{scroll-margin-top:158px}

/* ---------- CTA ---------- */
.cta{
  position:relative;
  width:min(1120px,calc(100% - 32px));
  margin:12px auto 0;
  padding:58px 26px 54px;
  overflow:hidden;
  text-align:center;
  background:linear-gradient(122deg,#3b1f50 0%,#56228b 52%,#5d3218 100%);
  box-shadow:0 44px 80px -56px #000;
}
.cta__blob{
  position:absolute;
  border-radius:58% 42% 46% 54%/46% 56% 44% 54%;
  background:rgba(255,255,255,.09);
  pointer-events:none;
}
.cta__blob--a{width:230px;height:230px;left:-70px;top:-80px}
.cta__blob--b{width:190px;height:190px;right:-60px;bottom:-70px;background:rgba(194,163,122,.18)}
.cta__lead{
  position:relative;
  max-width:720px;
  margin:0 auto 26px;
  font-size:clamp(18px,2.3vw,23px);
  line-height:1.62;
  color:#f8f1fd;
}
.cta__btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 30px;
  font-size:17px;
  font-weight:700;
  color:#2f1340;
  background:#f7f0fb;
  border-radius:999px;
  text-decoration:none;
  box-shadow:0 18px 34px -20px #000;
}
.cta__btn:hover{background:#fff}

/* ---------- 页脚 ---------- */
footer{
  flex:0 0 auto;
  max-width:1120px;
  width:100%;
  margin:0 auto;
  padding:26px 20px 42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  color:#a495b3;
  font-size:16px;
}
footer p{margin:0}
footer small{font-size:16px}
footer small a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:0 8px;
  color:#ded1e9;
  text-decoration:none;
  border-bottom:1px dashed rgba(255,255,255,.26);
}

/* ---------- 动效 ---------- */
html.js .rv{opacity:0;transform:translateY(20px);transition:opacity .72s ease,transform .72s cubic-bezier(.2,.7,.3,1)}
html.js .rv.in{opacity:1;transform:none}

/* ---------- 断点 ---------- */
@media (min-width:900px){
  .drawer__menu{
    position:static;
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    max-height:none;
    overflow:visible;
    margin:8px 0 0;
    padding:0;
    background:none;
    border:0;
    box-shadow:none;
  }
  .drawer__menu a{min-height:44px;border:1px solid transparent}
  .drawer__menu a:hover{border-color:rgba(255,255,255,.18)}
}
@media (max-width:899px){
  .board{grid-template-columns:minmax(0,1fr);gap:30px;padding-top:36px}
  .board__flow{order:1}
  .rail{order:2;position:static}
  .hero{min-height:74vh;padding:32px 18px 46px}
  .hero__txt{max-width:100%}
  .find input{width:126px}
  .board__flow div[id]{scroll-margin-top:132px}
}
@media (max-width:520px){
  .masthead__row{padding:10px 16px 8px}
  .drawer-wrap{padding:0 16px 10px}
  .brand{font-size:17px;gap:9px}
  .brand__mark{width:32px;height:32px}
  .find input{width:104px;padding:10px 13px}
  .find button{padding:0 13px}
  .board{padding:32px 16px 34px}
  .cta{padding:44px 20px 42px}
  footer{padding:22px 16px 38px;font-size:16px}
  h1{font-size:clamp(27px,8vw,36px)}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  html.js .rv{opacity:1;transform:none;transition:none}
  .hero__pic{transform:none}
  .rail__menu a{transition:none}
}
:focus-visible{outline:2px solid var(--sand);outline-offset:3px}

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