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

:root {
  --ink: #000000;
  --paper: #ffffff;
  --soft: #f1f1f1;
  --rule: #dcdcdc;
  --rail: 264px;
  --r: 18px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Figtree', 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: clip;
}

body.lock { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.14; letter-spacing: -0.025em; font-weight: 600; }

/* ---------- 页头 ---------- */
.mast { border-bottom: 1px solid var(--ink); background: var(--paper); }
.mast-in { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.mast-side {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 74px;
}
.mast-nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 0.1rem; }
.mast-nav-l { justify-self: end; }
.mast-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.55rem;
  font-size: 15px;
}
.mast-nav a::after {
  content: '';
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 10px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.mast-nav a:hover::after { transform: scaleX(1); }

.brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.4rem 0.3rem;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.brand > .mark { font-size: 1rem; font-weight: 500; }

.burger {
  position: relative;
  z-index: 70;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease;
}
.burger:hover { background: var(--ink); color: var(--paper); }
.burger-ico { display: block; width: 16px; height: 10px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }

/* ---------- 全屏遮罩菜单 ---------- */
.drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--paper);
  overflow: auto;
  padding: 5.5rem 0 2rem;
}
.drawer.open { display: block; }
.drawer-nav ul { list-style: none; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.drawer-nav a {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 0.25rem;
  border-bottom: 1px solid var(--rule);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  transition: padding-left 0.22s ease, border-color 0.22s ease;
}
.drawer-nav a:hover { padding-left: 0.9rem; border-color: var(--ink); }

/* ---------- 粘性锚点条 ---------- */
.bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  overflow-x: auto;
  scrollbar-width: none;
}
.bar::-webkit-scrollbar { display: none; }
.bar-nav ul { display: flex; gap: 0.1rem; list-style: none; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.bar-nav a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 0.7rem;
  font-size: 15px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: border-color 0.22s ease;
}
.bar-nav a:hover { border-color: var(--ink); }

/* ---------- 主体骨架 ---------- */
.stage {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--rail);
  gap: 2.5rem;
  align-items: start;
}
.paper { min-width: 0; }

/* ---------- 首屏 ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  border-bottom: 1px solid var(--ink);
  scroll-margin-top: 0;
}
.hero-media { background: var(--soft); overflow: hidden; display: flex; }
.hero-img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.hero-plate {
  width: 100%;
  height: 100%;
  min-height: 40vh;
  background: repeating-linear-gradient(45deg, #000 0 2px, var(--soft) 2px 14px);
}
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 1.6rem;
  padding: 4rem 2rem 4rem 3rem;
  background: var(--ink);
  color: var(--paper);
  text-align: right;
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.06; letter-spacing: -0.04em; }
.cta {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 1.4rem;
  border: 1px solid var(--paper);
  border-radius: 999px;
  font-size: 15px;
  transition: background 0.22s ease, color 0.22s ease;
}
.cta:hover { background: var(--paper); color: var(--ink); }

/* ---------- 正文 ---------- */
.paper > article {
  padding: 3.6rem 0;
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 96px;
}
.paper > article:last-child { border-bottom: 0; }
.paper > .hero { border-bottom: 1px solid var(--ink); }
.paper h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0 0 1rem; }
.paper h2 > span { display: inline-block; padding-bottom: 0.15rem; border-bottom: 4px solid var(--ink); }
.paper h3 { font-size: 1.15rem; margin: 1.8rem 0 0.6rem; }
.paper h3 > span { display: inline-block; padding-bottom: 0.1rem; border-bottom: 2px solid var(--ink); }
.paper p { margin: 0 0 1.05rem; }
.paper ul, .paper ol { margin: 0 0 1.1rem; padding-left: 1.25rem; }
.paper li { margin: 0.35rem 0; }
.paper a { border-bottom: 1px solid currentColor; }
.paper blockquote {
  margin: 1.4rem 0;
  padding: 0.2rem 0 0.2rem 1.1rem;
  border-left: 3px solid var(--ink);
  font-size: 1.05rem;
}
.paper figure { margin: 1.6rem 0; }
.paper figcaption { font-size: 0.9rem; color: #555; padding-top: 0.4rem; }
.paper table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.paper th, .paper td { border-bottom: 1px solid var(--rule); padding: 0.6rem 0.5rem; text-align: left; }
.paper code { font-size: 0.92em; }

/* ---------- 侧栏 ---------- */
.rail {
  position: sticky;
  top: calc(46px + 1.25rem);
  display: grid;
  gap: 1rem;
  min-width: 0;
  padding-bottom: 3rem;
}
.rail-box {
  padding: 1rem;
  border: 1px solid var(--ink);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.rail-h { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.16em; margin: 0 0 0.55rem; }
.rail-nav ul { list-style: none; margin: 0; padding: 0; }
.rail-nav a {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 0.94rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
  transition: padding-left 0.22s ease;
}
.rail-nav li:last-child a { border-bottom: 0; }
.rail-nav a:hover { padding-left: 0.4rem; }
.totop {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 0.94rem;
  border-bottom: 1px solid var(--ink);
}

/* ---------- 页脚 ---------- */
.foot { background: var(--ink); color: var(--paper); padding: 2.6rem 1.25rem 1rem; }
.foot-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #3a3a3a;
}
.foot-col { min-width: 0; }
.foot .brand { justify-self: start; display: inline-flex; color: var(--paper); }
.foot-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.1rem; }
.foot-nav a {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 0.94rem;
  color: #e6e6e6;
  transition: color 0.22s ease;
}
.foot-nav a:hover { color: var(--paper); text-decoration: underline; }
.sub-l { display: block; font-size: 0.8rem; letter-spacing: 0.16em; color: #c9c9c9; margin-bottom: 0.5rem; }
.sub-row { display: flex; gap: 0.5rem; }
.sub input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 0 0.7rem;
  background: transparent;
  border: 1px solid #6a6a6a;
  border-radius: 0;
  color: var(--paper);
  font: inherit;
  font-size: 0.94rem;
}
.sub input::placeholder { color: #8a8a8a; }
.sub button {
  min-height: 44px;
  padding: 0 1.1rem;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.94rem;
  cursor: pointer;
  transition: background 0.22s ease;
}
.sub button:hover { background: #d9d9d9; }
.foot-bar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.9rem;
  font-size: 0.86rem;
  color: #a8a8a8;
}
.foot-bar a { display: inline-flex; align-items: center; min-height: 40px; color: #a8a8a8; }
.copy { margin: 0; }

/* ---------- 动效 ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.bar-nav li, .drawer-nav li {
  animation: rise 0.42s cubic-bezier(0.2, 0.7, 0.3, 1) both;
  animation-delay: calc(var(--i, 0) * 45ms);
}
.hero-text > * { animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.hero-text > .cta { animation-delay: 0.12s; }
.hero-media { animation: fadein 0.6s ease both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- 断点 ---------- */
@media (max-width: 900px) {
  .mast-side { grid-template-columns: auto 1fr auto; min-height: 64px; }
  .mast-nav { display: none; }
  .brand { justify-self: start; font-size: 1.18rem; }
  .stage { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .rail { position: static; grid-template-columns: 1fr 1fr; padding-bottom: 2rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-text {
    order: 1;
    align-items: flex-start;
    text-align: left;
    gap: 1.1rem;
    padding: 2rem 1.25rem 2.4rem;
    clip-path: none;
  }
  .hero-media { order: 2; min-height: 34vh; max-height: 46vh; }
  .paper > article { padding: 2.4rem 0; scroll-margin-top: 70px; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.6rem; }
}

@media (max-width: 420px) {
  .rail { grid-template-columns: 1fr; }
  .foot-nav ul { grid-template-columns: 1fr; }
  .sub-row { flex-wrap: wrap; }
  .sub button { width: 100%; }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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