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

:root{
  --purple:#56228b;
  --clay:#8b4513;
  --ink:#1f1726;
  --ink-2:#271d31;
  --text:#f3ecf8;
  --body:#ded2e9;
  --muted:#bdaecd;
  --line:rgba(255,255,255,.11);
  --r-lg:26px;
  --r-md:18px;
  --r-sm:10px;
  --sans:'Nunito Sans','Varela Round',system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;
  --round:'Varela Round','Nunito Sans',system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;
}

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

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

html,body{overflow-x:hidden}

body{
  margin:0;
  padding:0 0 116px;
  font-family:var(--sans);
  font-size:1rem;
  line-height:1.7;
  color:var(--body);
  background:
    radial-gradient(1100px 620px at 6% -8%, rgba(86,34,139,.55), rgba(86,34,139,0) 62%),
    radial-gradient(900px 560px at 106% 14%, rgba(139,69,21,.42), rgba(139,69,21,0) 58%),
    radial-gradient(760px 520px at 50% 108%, rgba(86,34,139,.3), rgba(86,34,139,0) 62%),
    var(--ink);
  background-attachment:fixed;
}

body::before{
  content:'';
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  background-image:repeating-linear-gradient(115deg, rgba(255,255,255,.022) 0 2px, rgba(255,255,255,0) 2px 9px);
  mix-blend-mode:screen;
}

[id]{scroll-margin-top:96px;scroll-margin-bottom:140px}

img{max-width:100%;height:auto}

a{color:#d6bdee}

::selection{background:rgba(139,69,21,.65);color:#fff}

/* 角落品牌 */
.brand-corner{
  position:fixed;
  top:14px;
  left:14px;
  z-index:70;
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  border-radius:52% 48% 46% 54% / 48% 52% 48% 52%;
  background:rgba(31,23,38,.78);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(10px);
  text-decoration:none;
  overflow:hidden;
  box-shadow:0 10px 26px rgba(0,0,0,.35);
}
.mark-txt{
  font-family:var(--round);
  font-size:1.25rem;
  color:#f0e5fa;
  line-height:1;
}
.mark-img{width:34px;height:34px;object-fit:contain;display:block}

/* 主区域 */
.stage{position:relative;z-index:1}

.hero{
  position:relative;
  min-height:72vh;
  display:grid;
  place-items:center;
  padding:104px 20px 72px;
  overflow:hidden;
  isolation:isolate;
  border-radius:0 0 52px 52px;
}
.hero--bare{
  background:
    radial-gradient(560px 380px at 22% 18%, rgba(86,34,139,.75), rgba(86,34,139,0) 70%),
    radial-gradient(520px 360px at 82% 76%, rgba(139,69,21,.6), rgba(139,69,21,0) 70%),
    var(--ink-2);
}
.hero-art{
  position:absolute;
  inset:0;
  margin:0;
  z-index:-2;
}
.hero-art img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:saturate(1.05);
}
.hero::after{
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(180deg, rgba(31,23,38,.5) 0%, rgba(31,23,38,.78) 58%, var(--ink) 100%);
}
.hero-ghost{
  position:absolute;
  left:50%;
  bottom:-.08em;
  z-index:-1;
  transform:translateX(-50%);
  font-family:var(--round);
  font-size:clamp(3.4rem,20vw,13rem);
  line-height:.82;
  letter-spacing:.03em;
  color:rgba(255,255,255,.075);
  white-space:nowrap;
  pointer-events:none;
  user-select:none;
}
.hero-copy{
  position:relative;
  z-index:2;
  width:100%;
  max-width:720px;
  text-align:center;
}
.hero h1{
  font-family:var(--round);
  font-size:clamp(1.95rem,7.2vw,3.5rem);
  line-height:1.22;
  font-weight:400;
  letter-spacing:.01em;
  color:#fdf9ff;
  margin:0 0 18px;
  text-wrap:balance;
  text-shadow:0 8px 28px rgba(0,0,0,.45);
}
.hero-lede{
  max-width:44ch;
  margin:0 auto 28px;
  color:#d8c9e6;
  font-size:1rem;
}
.hero-jump{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 28px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--purple),var(--clay));
  color:#fff;
  font-weight:600;
  font-size:1rem;
  text-decoration:none;
  box-shadow:0 14px 32px rgba(86,34,139,.42);
  transition:transform .22s ease, box-shadow .22s ease;
}
.hero-jump:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(139,69,21,.45)}

/* 内容排布：正文左，侧栏右 */
.row{
  max-width:1140px;
  margin:36px auto 0;
  padding:0 20px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 296px;
  gap:36px;
  align-items:start;
}

.flow{min-width:0}
.flow > div{
  position:relative;
  margin:0 0 28px;
  padding:28px 26px 32px;
  border:1px solid var(--line);
  border-radius:24px 24px 18px 18px;
  background:linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.014));
  box-shadow:0 18px 40px rgba(0,0,0,.22);
}
.flow > div::after{
  content:'';
  position:absolute;
  left:26px;
  right:26px;
  bottom:0;
  height:3px;
  border-radius:4px;
  background:linear-gradient(90deg,var(--purple),var(--clay));
  opacity:.85;
}
.flow h2{
  font-family:var(--round);
  font-weight:400;
  font-size:clamp(1.3rem,3.6vw,1.85rem);
  line-height:1.32;
  color:#f7f0fc;
  margin:0 0 12px;
}
.flow h3{
  font-family:var(--round);
  font-weight:400;
  font-size:1.16rem;
  line-height:1.4;
  color:#ecdff7;
  margin:24px 0 8px;
}
.flow p{margin:0 0 14px;color:var(--body)}
.flow ul,.flow ol{margin:0 0 16px;padding-left:1.25em}
.flow li{margin:0 0 9px}
.flow li::marker{color:#a97bd6}
.flow strong{color:#f6eefc}
.flow blockquote{
  margin:18px 0;
  padding:14px 18px;
  border-left:3px solid var(--clay);
  border-radius:8px var(--r-sm) var(--r-sm) 8px;
  background:rgba(139,69,21,.16);
  color:#eedff2;
}
.flow a{color:#dcbdf5;text-underline-offset:3px}
.flow img{border-radius:var(--r-md);display:block;margin:18px 0}
.flow figure{margin:20px 0}
.flow figure img{margin:0 0 8px;border-radius:var(--r-md)}
.flow figcaption{font-size:.94rem;color:var(--muted)}

.subtitle{color:var(--muted);font-size:.98rem;margin:0 0 14px;line-height:1.6}

/* 侧栏 */
.side{
  position:sticky;
  top:22px;
  display:grid;
  gap:16px;
}
.side-card{
  padding:20px 18px;
  border:1px solid rgba(168,124,220,.32);
  border-radius:20px 20px 20px 9px;
  background:rgba(86,34,139,.2);
  box-shadow:0 16px 34px rgba(0,0,0,.24);
}
.side-card h2{
  font-family:var(--round);
  font-weight:400;
  font-size:1.1rem;
  margin:0 0 4px;
  color:#f4ecfb;
}
.side-card .subtitle{font-size:.9rem;margin:0 0 12px}
.side-list{
  counter-reset:s;
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:4px;
}
.side-list li{animation:rise .5s ease backwards}
.side-list li:nth-child(1){animation-delay:.03s}
.side-list li:nth-child(2){animation-delay:.07s}
.side-list li:nth-child(3){animation-delay:.11s}
.side-list li:nth-child(4){animation-delay:.15s}
.side-list li:nth-child(5){animation-delay:.19s}
.side-list li:nth-child(6){animation-delay:.23s}
.side-list li:nth-child(7){animation-delay:.27s}
.side-list a{
  display:flex;
  align-items:center;
  gap:9px;
  min-height:44px;
  padding:4px 10px;
  border-radius:var(--r-sm);
  border-bottom:1px solid rgba(255,255,255,.08);
  color:#e8dcf5;
  font-size:1rem;
  text-decoration:none;
  transition:background .2s ease,color .2s ease;
}
.side-list a::before{
  counter-increment:s;
  content:counter(s);
  flex:0 0 auto;
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(139,69,21,.5);
  color:#f3e2d4;
  font-size:.74rem;
  line-height:1;
}
.side-list a:hover{background:rgba(139,69,21,.32);color:#fff}
.side-list a:last-child{border-bottom:0}
.side-card--clay{
  background:rgba(139,69,21,.22);
  border-color:rgba(198,141,96,.34);
  border-radius:20px 9px 20px 20px;
}
.side-brand{
  font-family:var(--round);
  font-size:1.05rem;
  margin:0;
  color:#f7e9dc;
  letter-spacing:.02em;
}

/* 页脚 */
.foot{
  position:relative;
  z-index:1;
  max-width:1140px;
  margin:52px auto 0;
  padding:34px 20px 26px;
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  justify-content:space-between;
  gap:22px 30px;
  border-top:1px solid var(--line);
  border-radius:44px 44px 0 0;
  background:linear-gradient(180deg, rgba(86,34,139,.14), rgba(31,23,38,0));
}
.foot-brand{flex:1 1 240px;min-width:0}
.foot-logo{
  margin:0;
  font-family:var(--round);
  font-size:clamp(2.2rem,9vw,4.4rem);
  line-height:.92;
  letter-spacing:.01em;
  background:linear-gradient(115deg,#c9a0f2 12%,#d99e6d 88%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.foot-nav ol{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:2px 16px;
}
.foot-nav a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 2px;
  font-size:.98rem;
  color:var(--muted);
  text-decoration:none;
}
.foot-nav a:hover{color:#fff}
.foot-copy p{margin:0;font-size:.94rem;color:var(--muted)}

/* 底部固定导航 */
.dock{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:80;
  padding:9px 10px calc(9px + env(safe-area-inset-bottom));
  background:linear-gradient(180deg, rgba(31,23,38,.78), rgba(31,23,38,.97));
  backdrop-filter:blur(16px);
  border-top:1px solid var(--line);
}
.dock-list{
  counter-reset:d;
  list-style:none;
  margin:0 auto;
  padding:0;
  max-width:1100px;
  display:flex;
  gap:6px;
  overflow-x:auto;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.dock-list::-webkit-scrollbar{display:none}
.dock-list li{flex:0 0 auto}
.dock-list a{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  padding:0 15px;
  border-radius:999px;
  border:1px solid transparent;
  color:#d7c8e5;
  font-size:1rem;
  text-decoration:none;
  white-space:nowrap;
  transition:background .2s ease,color .2s ease,border-color .2s ease;
}
.dock-list a:hover{color:#fff;background:rgba(255,255,255,.08)}
.dock-list a.is-active{
  color:#fff;
  background:linear-gradient(135deg, rgba(86,34,139,.72), rgba(139,69,21,.68));
  border-color:rgba(255,255,255,.2);
}
.dot{
  flex:0 0 auto;
  width:20px;
  height:20px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(139,69,21,.45);
  color:#f4e3d5;
  font-size:.7rem;
  line-height:1;
}
.dot::before{content:counter(d);counter-increment:d}

/* 回到顶部 */
.to-top{
  position:fixed;
  right:16px;
  bottom:calc(76px + env(safe-area-inset-bottom));
  z-index:81;
  min-height:44px;
  padding:0 16px;
  font-family:inherit;
  font-size:1rem;
  color:var(--text);
  background:rgba(31,23,38,.92);
  border:1px solid var(--line);
  border-radius:999px;
  cursor:pointer;
  opacity:0;
  transform:translateY(10px);
  pointer-events:none;
  transition:opacity .25s ease, transform .25s ease;
}
.to-top.is-on{opacity:1;transform:none;pointer-events:auto}

/* 动效 */
.reveal{opacity:0;transform:translateY(20px);transition:opacity .6s ease, transform .6s ease}
.reveal.in{opacity:1;transform:none}

@keyframes rise{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:none}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-delay:0s !important;
    transition-duration:.001ms !important;
  }
  .reveal{opacity:1;transform:none}
}

/* 断点 */
@media (max-width:960px){
  .row{grid-template-columns:1fr;gap:26px;margin-top:26px}
  .side{position:static;order:2;grid-template-columns:1fr 1fr}
  .side-card--clay{display:flex;align-items:center}
}

@media (max-width:640px){
  html{font-size:16.5px}
  body{padding-bottom:108px}
  .hero{min-height:66vh;padding:92px 16px 62px;border-radius:0 0 36px 36px}
  .row{padding:0 15px}
  .flow > div{padding:24px 18px 28px;border-radius:20px 20px 15px 15px}
  .flow > div::after{left:18px;right:18px}
  .side{grid-template-columns:1fr}
  .foot{padding:28px 15px 24px;border-radius:34px 34px 0 0}
  .foot-nav ol{gap:0 14px}
  .brand-corner{width:50px;height:50px;top:12px;left:12px}
  .to-top{right:12px}
}

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