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

:root {
  --ink: #000000;
  --panel: #121212;
  --panel-2: #171a21;
  --line: #23262e;
  --text: #e8eaee;
  --dim: #9aa2ad;
  --blue: #3f6fd8;
  --blue-dim: #16233c;
  --gold: #e6c487;
  --link: #8fb4ff;
  --r: 10px;
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  background:
    radial-gradient(88rem 38rem at 78% -12%, #0d1729 0%, rgba(0, 0, 0, 0) 62%),
    #000;
  color: var(--text);
  font-family: "Nunito Sans", "Varela Round", -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: "Varela Round", "Nunito Sans", sans-serif;
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: 0.015em;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: fixed;
  left: -400px;
  top: 0;
  z-index: 60;
  padding: 0.7rem 1rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  border-radius: 0 0 var(--r) 0;
}
.skip:focus { left: 0; }

/* 顶部两行：品牌独占一行，菜单独占一行 */
.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brandbar {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.15rem 0;
  text-decoration: none;
  color: #fff;
}

.brand__mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--blue-dim);
  flex: none;
}

.brand__name {
  font-family: "Varela Round", "Nunito Sans", sans-serif;
  font-size: 1.06rem;
  letter-spacing: 0.14em;
  text-shadow: 0 0 10px rgba(63, 111, 216, 0.5);
}

.menu__list {
  display: flex;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0 0.9rem 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.menu__list::-webkit-scrollbar { display: none; }

.menu__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  color: var(--dim);
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.menu__link:hover,
.menu__link:focus-visible {
  color: #fff;
  background: #101318;
}

/* 首屏 */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 45vh;
  padding: 3rem 1.1rem 1.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.62;
  filter: saturate(0.85) brightness(0.82);
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.78) 62%, #000 100%),
    radial-gradient(58% 78% at 88% 18%, rgba(63, 111, 216, 0.3), rgba(0, 0, 0, 0) 72%);
}

.hero__badge {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  margin: 0;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: #c2d4ff;
  background: rgba(18, 30, 52, 0.8);
  border: 1px solid rgba(63, 111, 216, 0.45);
  box-shadow: 0 0 14px rgba(63, 111, 216, 0.32);
}

.hero__text {
  position: relative;
  max-width: 36rem;
  text-align: right;
}

.hero__title {
  font-size: clamp(1.68rem, 4.6vw, 2.75rem);
  color: #fff;
  margin-bottom: 0.4em;
  text-shadow: 0 0 16px rgba(63, 111, 216, 0.45);
}

.hero__desc {
  margin: 0;
  color: #c3c8d2;
  font-size: 1rem;
}

/* 主区域：左栏 + 正文 */
.shell {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: 2.4rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.2rem 1.1rem 3.4rem;
  align-items: start;
}

.rail {
  position: sticky;
  top: 6.6rem;
  background: var(--panel);
  border-radius: var(--r);
  padding: 1.1rem 1rem 1.2rem;
}

.rail__title {
  margin: 0 0 0.1rem;
  font-size: 1.02rem;
  color: #fff;
  letter-spacing: 0.18em;
}

.subtitle {
  margin: 0 0 0.9rem;
  font-size: 0.83rem;
  color: var(--dim);
  letter-spacing: 0.1em;
}

.rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: rail;
}
.rail__list > li { counter-increment: rail; }

.rail__link {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.4rem 0;
  color: #cfd5e0;
  text-decoration: none;
  font-size: 0.94rem;
  line-height: 1.45;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.2s ease;
}
.rail__link::before {
  content: counter(rail, decimal-leading-zero);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--blue);
  flex: none;
}
.rail__link:hover,
.rail__link:focus-visible { color: #fff; }

.doc { min-width: 0; }

.doc__body {
  max-width: 68ch;
  font-size: 1.02rem;
  color: #dde1e8;
  overflow-wrap: break-word;
}

.doc__body > div,
.doc__body [id] { scroll-margin-top: 8rem; }

.doc__body > div {
  padding: 1.9rem 0;
  border-top: 1px dashed #1e2127;
}

.doc__body > div:first-child {
  border-top: 0;
  padding-top: 0;
}

.doc__body h2 {
  position: relative;
  padding-left: 0.9rem;
  font-size: 1.36rem;
  color: #fff;
  text-shadow: 0 0 12px rgba(63, 111, 216, 0.28);
}
.doc__body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  bottom: 0.32em;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--blue), var(--gold));
}

.doc__body h3 {
  font-size: 1.1rem;
  color: #eef3ff;
  margin-top: 1.4em;
}

.doc__body .subtitle { color: var(--dim); }

.doc__body ul,
.doc__body ol {
  padding-left: 1.3rem;
  margin: 0 0 1em;
}

.doc__body li { margin-bottom: 0.4em; }

.doc__body strong { color: #fff; font-weight: 600; }

.doc__body blockquote {
  margin: 1.4em 0;
  padding: 0.9rem 1.1rem;
  background: var(--panel);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--r) var(--r) 0;
  color: #cfd6e2;
}

.doc__body code {
  font-size: 0.92em;
  padding: 0.1em 0.4em;
  border-radius: 5px;
  background: #14171d;
  color: var(--gold);
}

.doc__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: 0.96rem;
}
.doc__body th,
.doc__body td {
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.doc__body th { color: #fff; font-weight: 600; }

/* 页脚：单行三段，版权与链接分列两边 */
.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.4rem;
  padding: 1.7rem 1.1rem 2.4rem;
  border-top: 1px solid var(--line);
  background: #050506;
}

.foot__brand {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  max-width: 22rem;
}

.foot__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  color: #fff;
  text-decoration: none;
  font-family: "Varela Round", "Nunito Sans", sans-serif;
  letter-spacing: 0.12em;
}

.foot__desc {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--dim);
}

.foot__nav ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  color: var(--dim);
  text-decoration: none;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.foot__link:hover,
.foot__link:focus-visible { color: #fff; background: #111; }

.foot__copy {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: #6d747f;
}

/* 滚动显形 */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 900px) {
  .shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    padding-top: 1.5rem;
  }
  .rail { position: static; }
  .rail__list { display: flex; flex-wrap: wrap; gap: 0 0.9rem; }
  .rail__list > li { flex: 1 1 13rem; }
  .doc__body > div,
  .doc__body [id] { scroll-margin-top: 7.2rem; }
  .doc__body { max-width: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero {
    justify-content: flex-start;
    min-height: 52vh;
    padding-top: 3.4rem;
  }
  .hero__text { text-align: left; }
  .hero__badge { top: 0.8rem; right: auto; left: 1.1rem; }
  .doc__body h2 { font-size: 1.24rem; }
  .foot {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 2rem;
  }
  .foot__nav ol { max-width: 100%; }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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