:root{
  --ink:#1f1726;
  --purple:#56228b;
  --brown:#8b4513;
  --paper:#f7f2ea;
  --paper-2:#eee5d8;
  --line:rgba(31,23,38,.14);
  --muted:#61536b;
  --display:"Barlow Condensed","Barlow","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  --body:"Barlow","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  --r1:24px;
  --r2:16px;
  --r3:10px;
  --shadow:0 14px 34px -22px rgba(31,23,38,.62);
}
*,*::before,*::after{box-sizing:border-box}
html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}
body{
  margin:0;
  font-family:var(--body);
  font-size:17px;
  line-height:1.72;
  color:var(--ink);
  background:
    radial-gradient(circle at 8% 4%,rgba(139,69,19,.14),transparent 46%),
    radial-gradient(circle at 94% 22%,rgba(86,34,139,.13),transparent 44%),
    var(--paper);
  overflow-x:hidden;
}
img{max-width:100%}
a{color:var(--purple);text-decoration:none}
a:hover{color:var(--brown)}
:focus-visible{outline:3px solid var(--brown);outline-offset:3px;border-radius:6px}
.off{
  position:absolute;width:1px;height:1px;overflow:hidden;
  clip-path:inset(50%);white-space:nowrap;
}
.mark{width:26px;height:26px;color:var(--purple);flex:none}

/* 顶部两行：公告条 + 品牌行 + 菜单行 */
.top{
  position:relative;
  background:rgba(247,242,234,.92);
  border-bottom:1px solid var(--line);
}
.ann{
  margin:0;
  padding:8px 16px;
  text-align:center;
  font-family:var(--display);
  font-size:16px;
  letter-spacing:.28em;
  color:#f4ece2;
  background:linear-gradient(90deg,var(--ink),var(--purple) 55%,var(--brown));
}
.ann span{padding-left:.28em}
.brandrow{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px 6px;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:9px;
  font-family:var(--display);
  font-size:26px;
  font-weight:700;
  letter-spacing:.06em;
  color:var(--ink);
  line-height:1.2;
}
.brand:hover{color:var(--purple)}
.menu{padding:0 10px 12px}
.menu ol{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:4px;
}
.menu a{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:8px 11px;
  font-family:var(--display);
  font-size:17px;
  font-weight:500;
  letter-spacing:.02em;
  color:var(--ink);
  border-radius:999px;
}
.menu a:hover,.menu a:focus-visible{background:rgba(86,34,139,.11);color:var(--purple)}

/* Hero：左图右文 */
.hero{
  position:relative;
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  align-items:center;
  min-height:auto;
  padding:26px 18px 34px;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:radial-gradient(circle at 1px 1px,rgba(31,23,38,.18) 1px,transparent 0);
  background-size:19px 19px;
  opacity:.5;
  pointer-events:none;
}
.hero-art{
  position:relative;
  order:2;
  display:grid;
  place-items:center;
  min-height:250px;
}
.blob{
  width:min(74vw,320px);
  height:auto;
  filter:drop-shadow(0 18px 34px rgba(31,23,38,.24));
}
.hero-photo{
  position:absolute;
  width:56%;
  max-width:230px;
  aspect-ratio:4/5;
  object-fit:cover;
  border-radius:var(--r1);
  border:5px solid var(--paper);
  transform:rotate(-4deg);
  box-shadow:var(--shadow);
}
.hero-copy{position:relative;order:1;text-align:center}
.hero-copy h1{
  margin:0 0 14px;
  font-family:var(--display);
  font-size:clamp(2rem,8.4vw,3.5rem);
  font-weight:700;
  line-height:1.14;
  letter-spacing:.01em;
  color:var(--ink);
}
.hero-copy h1::after{
  content:"";
  display:block;
  width:74px;
  height:8px;
  margin:16px auto 0;
  border-radius:999px 12px 999px 12px;
  background:linear-gradient(90deg,var(--purple),var(--brown));
}
.lede{
  margin:0 auto 22px;
  max-width:44ch;
  color:var(--muted);
  line-height:1.72;
}
.cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 30px;
  border-radius:999px 26px 999px 26px;
  font-family:var(--display);
  font-size:19px;
  font-weight:600;
  letter-spacing:.08em;
  color:#f9f4ee;
  background:linear-gradient(120deg,var(--purple),var(--brown));
  box-shadow:var(--shadow);
}
.cta:hover{color:#fff;filter:brightness(1.08)}

/* 主体：左侧 sidebar + 右侧正文 */
.shell{
  display:grid;
  grid-template-columns:1fr;
  gap:26px;
  max-width:1140px;
  margin:0 auto;
  padding:0 18px 56px;
}
.index{
  align-self:start;
  padding:20px;
  background:linear-gradient(160deg,#fffdfa,var(--paper-2));
  border:1px solid var(--line);
  border-radius:var(--r1) var(--r3) var(--r1) var(--r3);
  box-shadow:var(--shadow);
}
.index h2{
  margin:0;
  font-family:var(--display);
  font-size:24px;
  letter-spacing:.05em;
}
.index .subtitle{
  margin:2px 0 14px;
  font-size:16px;
  color:var(--brown);
  letter-spacing:.06em;
}
.index ol{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.index a{
  display:flex;
  align-items:center;
  gap:9px;
  min-height:42px;
  padding:8px 12px;
  border-radius:var(--r3);
  color:var(--ink);
  background:rgba(255,255,255,.66);
  border:1px solid transparent;
  transition:transform .2s ease,background .2s ease,border-color .2s ease;
}
.index a:hover{
  transform:translateX(3px);
  background:#fff;
  border-color:rgba(86,34,139,.28);
  color:var(--purple);
}
.pip{
  width:9px;height:9px;flex:none;
  border-radius:50% 50% 50% 12%;
  background:linear-gradient(140deg,var(--purple),var(--brown));
}

/* 正文 */
.prose{
  min-width:0;
  max-width:760px;
  padding:24px 20px 34px;
  background:rgba(255,253,250,.78);
  border:1px solid var(--line);
  border-radius:var(--r1);
  box-shadow:var(--shadow);
}
.prose div{scroll-margin-top:20px;padding:6px 0 26px}
.prose div + div{border-top:1px solid var(--line);padding-top:26px}
.prose h2{
  margin:0 0 6px;
  font-family:var(--display);
  font-size:clamp(1.5rem,5vw,2.1rem);
  line-height:1.2;
  letter-spacing:.02em;
  color:var(--ink);
}
.prose h2::after{
  content:"";
  display:block;
  width:52px;height:6px;
  margin-top:10px;
  border-radius:999px 10px 999px 10px;
  background:linear-gradient(90deg,var(--purple),var(--brown));
}
.prose h3{
  margin:26px 0 6px;
  font-family:var(--display);
  font-size:22px;
  letter-spacing:.03em;
  color:var(--purple);
}
.prose p{margin:12px 0;line-height:1.85}
.prose .subtitle,.prose p.subtitle{
  margin:8px 0 14px;
  color:var(--brown);
  font-size:17px;
  letter-spacing:.04em;
}
.prose ul,.prose ol{padding-left:0;list-style:none;margin:14px 0;display:grid;gap:8px}
.prose ul li,.prose ol li{
  position:relative;
  padding:10px 14px 10px 34px;
  background:rgba(238,229,216,.5);
  border-radius:var(--r3);
  line-height:1.75;
}
.prose ul li::before,.prose ol li::before{
  content:"";
  position:absolute;
  left:14px;top:19px;
  width:8px;height:8px;
  border-radius:50% 50% 50% 14%;
  background:var(--brown);
}
.prose blockquote{
  margin:18px 0;
  padding:14px 20px;
  border-left:6px solid var(--purple);
  border-radius:0 var(--r2) var(--r2) 0;
  background:rgba(86,34,139,.08);
  color:#3b2d47;
}
.prose blockquote p{margin:6px 0}
.prose img,.prose figure img{
  height:auto;
  border-radius:var(--r2);
  box-shadow:var(--shadow);
}
.prose figure{margin:18px 0}
.prose strong{color:var(--purple)}
.prose hr{border:0;height:1px;background:var(--line);margin:24px 0}
.prose table{width:100%;border-collapse:collapse;font-size:16px}
.prose th,.prose td{padding:10px;border-bottom:1px solid var(--line);text-align:left}

/* 页脚：表单块 + 四栏 + 底栏 */
.foot{
  color:#efe7dd;
  background:
    radial-gradient(circle at 12% 0%,rgba(139,69,19,.4),transparent 48%),
    radial-gradient(circle at 88% 12%,rgba(86,34,139,.46),transparent 52%),
    var(--ink);
  padding:34px 18px 22px;
}
.foot a{color:#efe7dd}
.foot a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
.foot-form{
  max-width:560px;
  margin:0 auto 30px;
  padding:22px;
  text-align:center;
  border:1px solid rgba(255,255,255,.16);
  border-radius:var(--r1) var(--r3) var(--r1) var(--r3);
  background:rgba(255,255,255,.05);
}
.foot-form h2{
  margin:0;
  font-family:var(--display);
  font-size:26px;
  letter-spacing:.1em;
}
.foot-form .subtitle{margin:2px 0 14px;color:#d9c9b6;font-size:16px;letter-spacing:.08em}
.sub{display:flex;flex-wrap:wrap;gap:8px;position:relative;justify-content:center}
.sub input{
  flex:1 1 190px;
  min-height:46px;
  padding:10px 14px;
  font-family:var(--body);
  font-size:16px;
  color:var(--ink);
  border:1px solid rgba(255,255,255,.35);
  border-radius:var(--r3);
  background:#f9f5ef;
}
.sub button{
  flex:0 0 auto;
  min-height:46px;
  padding:10px 24px;
  font-family:var(--display);
  font-size:18px;
  letter-spacing:.1em;
  color:#fdf8f2;
  border:0;
  border-radius:var(--r3);
  background:linear-gradient(120deg,var(--brown),var(--purple));
  cursor:pointer;
}
.sub button:hover{filter:brightness(1.12)}
.foot-cols{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px 18px;
  max-width:900px;
  margin:0 auto 26px;
}
.foot-brand .brand{color:#fff;font-size:24px}
.foot-brand .mark{color:#c9a8e6}
.kw{margin:8px 0 0;font-size:16px;color:#cbbcae;letter-spacing:.06em}
.foot dl{margin:0}
.foot dt{
  font-family:var(--display);
  font-size:17px;
  letter-spacing:.14em;
  color:#c9a8e6;
  margin-bottom:6px;
}
.foot dd{margin:0}
.foot dd a{
  display:inline-block;
  padding:9px 0;
  min-height:40px;
  font-size:16px;
}
.foot-bottom{
  display:flex;
  flex-wrap:wrap;
  gap:10px 20px;
  align-items:center;
  justify-content:space-between;
  max-width:900px;
  margin:0 auto;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.16);
}
.foot-bottom .cr{margin:0;font-size:16px;color:#c3b4a6}
.flinks{display:flex;gap:18px}
.flinks a{display:inline-flex;align-items:center;min-height:40px;font-size:16px}

/* 动效 */
html.js .reveal{opacity:0;transform:translateY(16px)}
html.js .reveal.in{
  opacity:1;
  transform:none;
  transition:opacity .6s ease,transform .6s cubic-bezier(.22,.7,.3,1);
  transition-delay:calc(var(--i,0) * 55ms);
}
.cta,.index a,.sub button{will-change:transform}

@media (min-width:720px){
  .hero{
    grid-template-columns:1.05fr 1fr;
    min-height:70vh;
    padding:40px 34px;
    gap:30px;
    max-width:1140px;
    margin:0 auto;
  }
  .hero-art{order:1;min-height:340px}
  .hero-copy{order:2;text-align:center}
  .brandrow{padding:14px 24px 6px}
  .foot-cols{grid-template-columns:1.4fr 1fr 1fr 1fr}
  .foot-form{padding:26px 30px}
}
@media (min-width:960px){
  .shell{
    grid-template-columns:236px minmax(0,1fr);
    gap:34px;
    padding-top:22px;
  }
  .index{position:sticky;top:18px}
  .prose{padding:32px 36px 44px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  html.js .reveal{opacity:1;transform:none;transition:none}
  .index a:hover{transform:none}
}

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