:root{
  --bg:#f5f5f5;
  --ink:#1f1f1f;
  --muted:#555;
  --line:rgba(31,31,31,.14);
  --glass:rgba(255,255,255,.72);
  --r:18px;
  --shadow:0 4px 6px rgba(0,0,0,.05),0 14px 30px rgba(0,0,0,.06);
  --shadow-hi:0 8px 14px rgba(0,0,0,.07),0 22px 44px rgba(0,0,0,.10);
  --font:"Atkinson Hyperlegible",system-ui,-apple-system,"Segoe UI","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:var(--font);
  font-size:17px;
  line-height:1.7;
  color:var(--ink);
  background-color:var(--bg);
  background-image:
    radial-gradient(680px 420px at 6% -8%,#ffffff 0%,rgba(255,255,255,0) 70%),
    radial-gradient(760px 520px at 100% 0%,#ececec 0%,rgba(236,236,236,0) 62%);
  background-repeat:no-repeat;
}
a{color:var(--ink)}
img{max-width:100%;height:auto;border-radius:12px}

/* 顶部两行导航 */
.top{
  position:sticky;
  top:0;
  z-index:30;
  padding:10px 18px 12px;
  background:rgba(255,255,255,.78);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  max-width:1180px;
  margin:0 auto;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:40px;
  font-size:18px;
  font-weight:700;
  letter-spacing:.01em;
  text-decoration:none;
  color:var(--ink);
}
.brand-t{white-space:nowrap}
.mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  border-radius:10px;
  background:var(--ink);
  color:#fff;
  font-size:16px;
  line-height:1;
}
.cta{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:0 18px;
  border-radius:999px;
  background:var(--ink);
  color:#fff;
  font-size:16px;
  font-weight:700;
  text-decoration:none;
  box-shadow:0 6px 14px rgba(0,0,0,.14);
  transition:transform .2s ease,background .2s ease;
}
.cta:hover{transform:translateY(-1px);background:#000}
.pillnav{
  display:flex;
  gap:8px;
  max-width:1180px;
  margin:8px auto 0;
  padding-bottom:2px;
  overflow-x:auto;
  scrollbar-width:none;
}
.pillnav::-webkit-scrollbar{display:none}
.pillnav a{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:0 16px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.7);
  font-size:16px;
  text-decoration:none;
  white-space:nowrap;
  transition:background .2s ease,color .2s ease,border-color .2s ease;
}
.pillnav a:hover{background:var(--ink);border-color:var(--ink);color:#fff}

/* 主体：正文在左，侧栏在右 */
main{
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:20px;
  align-items:start;
  max-width:1180px;
  margin:0 auto;
  padding:22px 18px 52px;
}
section{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  align-content:start;
  min-width:0;
}
.hero{
  grid-column:1/-1;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  min-height:45vh;
  padding:6px 2px 2px;
  text-align:right;
}
.hero h1{
  margin:0;
  font-size:clamp(2.1rem,6.4vw,4.6rem);
  line-height:1.12;
  font-weight:700;
  letter-spacing:-.02em;
  overflow-wrap:break-word;
}

/* 便当卡片：玻璃拟态 */
section > div,
.side-card{
  background:var(--glass);
  border:1px solid rgba(255,255,255,.85);
  border-radius:var(--r);
  box-shadow:var(--shadow);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
section > div{
  grid-column:1/-1;
  min-width:0;
  padding:22px 24px;
  scroll-margin-top:132px;
  overflow-wrap:break-word;
  transition:transform .25s ease,box-shadow .25s ease;
}
section > div:hover{transform:translateY(-2px) scale(1.008);box-shadow:var(--shadow-hi)}
section > div h2{
  margin:0 0 6px;
  font-size:clamp(1.35rem,2.6vw,1.9rem);
  line-height:1.3;
  letter-spacing:-.01em;
}
section > div h2 + p,
section > div .subtitle{
  margin:0 0 14px;
  color:var(--muted);
  font-size:16px;
}
section > div h3{margin:20px 0 6px;font-size:1.15rem;line-height:1.4}
section > div p{margin:0 0 12px}
section > div p:last-child{margin-bottom:0}
section > div ul,
section > div ol{margin:0 0 12px;padding-left:1.25em}
section > div li{margin:0 0 6px}
section > div a{text-underline-offset:3px}
section > div blockquote{
  margin:16px 0;
  padding:10px 16px;
  border-left:3px solid var(--ink);
  background:rgba(255,255,255,.6);
  border-radius:0 12px 12px 0;
}
section > div table{width:100%;border-collapse:collapse;font-size:16px}
section > div th,
section > div td{padding:8px 10px;border-bottom:1px solid var(--line);text-align:left}

/* 侧栏 */
.side{position:sticky;top:132px;min-width:0}
.side-card{padding:20px 18px}
.side-card h2{margin:0 0 4px;font-size:17px;letter-spacing:.04em}
.side-card .subtitle{margin:0 0 12px;color:var(--muted);font-size:16px;line-height:1.6}
.side-card ol{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.side-card li a{
  display:flex;
  align-items:center;
  min-height:40px;
  padding:4px 10px;
  border-radius:10px;
  font-size:16px;
  text-decoration:none;
  transition:background .2s ease;
}
.side-card li a:hover{background:rgba(31,31,31,.07)}

/* 页脚：单行三栏 */
footer{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px 36px;
  padding:24px max(18px,calc((100% - 1180px)/2)) 28px;
  border-top:1px solid var(--line);
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.f-nav{min-width:0}
.f-nav dl{
  display:grid;
  grid-template-columns:auto auto;
  gap:2px 10px;
  margin:0;
}
.f-nav dt,
.f-nav dd{margin:0;display:flex;align-items:center}
.f-nav dt a,
.f-nav dd a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:0 8px;
  border-radius:10px;
  font-size:16px;
  text-decoration:none;
  transition:background .2s ease;
}
.f-nav dt a:hover,
.f-nav dd a:hover{background:rgba(31,31,31,.07)}
.f-nav dt a{font-weight:700}
.f-nav dd a{color:var(--muted)}
.f-legal{display:grid;gap:10px;min-width:0}
.sub{display:flex;gap:8px}
.sub input{
  min-height:40px;
  width:170px;
  max-width:100%;
  padding:0 12px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  font-family:inherit;
  font-size:16px;
  color:var(--ink);
}
.sub button{
  min-height:40px;
  padding:0 16px;
  border:0;
  border-radius:999px;
  background:var(--ink);
  color:#fff;
  font-family:inherit;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
}
.copy{margin:0;color:var(--muted);font-size:16px}

/* 动效 */
section > div:hover{will-change:transform}
@media (prefers-reduced-motion:no-preference){
  @keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
  section > div{animation:rise .5s ease backwards}
  section > div:nth-of-type(1){animation-delay:.02s}
  section > div:nth-of-type(2){animation-delay:.06s}
  section > div:nth-of-type(3){animation-delay:.1s}
  section > div:nth-of-type(4){animation-delay:.14s}
  section > div:nth-of-type(5){animation-delay:.18s}
  section > div:nth-of-type(6){animation-delay:.22s}
  section > div:nth-of-type(7){animation-delay:.26s}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  section > div,
  .cta,
  .pillnav a{transition:none}
  section > div:hover{transform:none}
}

/* 不对称栅格 */
@media (min-width:900px){
  section > div:nth-of-type(3n+2){grid-column:span 1}
}

/* 移动端 */
@media (max-width:899px){
  body{font-size:17px}
  .top{padding:8px 14px 10px}
  .thumb-hide{display:none}
  main{
    grid-template-columns:minmax(0,1fr);
    gap:16px;
    padding:16px 14px 40px;
  }
  section{grid-template-columns:minmax(0,1fr);gap:14px}
  .hero{min-height:42vh;padding-top:0}
  .hero h1{font-size:clamp(1.9rem,8.4vw,2.6rem)}
  section > div{padding:18px 16px;scroll-margin-top:124px}
  .side{position:static}
  footer{
    flex-direction:column;
    gap:18px;
    padding:22px 16px 26px;
  }
  .f-nav dl{grid-template-columns:auto auto;gap:0 6px}
  .sub input{width:100%}
}

@media (max-width:420px){
  .brand{font-size:17px}
  .cta{padding:0 14px}
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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