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

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

html {
  scroll-behavior: smooth;
  scroll-padding-bottom: 120px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #12122B;
  color: #F5F6FA;
  font: 400 17px/1.7 'Noto Sans SC', system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  padding-bottom: 110px;
  overflow-x: hidden;
}

@media (min-width: 900px) {
  body { padding-bottom: 96px; }
}

img { max-width: 100%; height: auto; display: block; border-radius: 4px; }
a { color: #FFD84D; text-decoration: none; }
a:hover { opacity: .82; }
:focus-visible { outline: 3px solid #FFD84D; outline-offset: 2px; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin: 0; letter-spacing: -.01em; }

/* ---------- 底部固定导航 ---------- */
.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: #0B0B1C;
  border-top: 2px solid #FFD84D;
  padding: 8px 12px 10px;
}

.dock-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 1120px;
  margin: 0 auto;
}

.dock-group {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.dock-group::-webkit-scrollbar { display: none; }
.dock-right { justify-content: flex-end; }

.dock-group a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  border-radius: 4px;
  color: #F5F6FA;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}
.dock-group a:hover { background: #FFD84D; color: #12122B; opacity: 1; }

.dock-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 4px;
  color: #FFD84D;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}
.mark { display: block; flex: none; }
.mark:not(svg) {
  width: 26px; height: 26px;
  line-height: 26px;
  text-align: center;
  background: #FFD84D;
  color: #12122B;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 899px) {
  .dock-nav { flex-wrap: wrap; gap: 0; }
  .dock-brand {
    order: -1;
    flex: 0 0 100%;
    justify-content: center;
    min-height: 40px;
    font-size: 16px;
  }
  .dock-group a { padding: 0 10px; }
}

/* 分组下拉 */
.drop-wrap { list-style: none; }
.drop { position: relative; }
.drop summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 11px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}
.drop summary::-webkit-details-marker { display: none; }
.drop summary::after {
  content: "";
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.drop[open] summary { background: #FFD84D; color: #12122B; }
.drop-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  min-width: 170px;
  padding: 8px;
  background: #F5F6FA;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}
.drop-panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 4px;
  color: #12122B;
  font-size: 16px;
  font-weight: 500;
}
.drop-panel a:hover { background: #FFD84D; opacity: 1; }

/* 搜索 */
.dock-search { position: absolute; right: 12px; top: -60px; }
.s-btn {
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  background: #FFD84D;
  color: #12122B;
  cursor: pointer;
}
.s-btn:hover { background: #F5F6FA; }
.sbox {
  display: none;
  position: absolute;
  right: 0;
  bottom: 56px;
  width: min(78vw, 290px);
  padding: 10px;
  background: #F5F6FA;
  border-radius: 4px;
  color: #12122B;
}
.dock-search.open .sbox { display: block; }
.s-input {
  width: 100%;
  min-height: 42px;
  padding: 0 10px;
  border: 2px solid #12122B;
  border-radius: 4px;
  background: #FFFFFF;
  color: #12122B;
  font: inherit;
  font-size: 16px;
}
.s-out {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  max-height: 208px;
  overflow: auto;
}
.s-out a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 4px;
  color: #12122B;
  font-weight: 500;
}
.s-out a:hover { background: #FFD84D; opacity: 1; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  max-width: 1120px;
  margin: 0 auto;
  padding: 104px 20px 54px;
  border-bottom: 2px solid #23234A;
}
.ghost {
  position: absolute;
  left: 4px;
  bottom: 6px;
  white-space: nowrap;
  font-size: clamp(78px, 21vw, 208px);
  font-weight: 700;
  line-height: .78;
  letter-spacing: -.055em;
  color: rgba(255, 216, 77, .1);
  pointer-events: none;
  user-select: none;
}
.hero-art {
  position: absolute;
  right: 20px;
  top: 88px;
  margin: 0;
}
.hero-ico { width: clamp(58px, 12vw, 104px); height: auto; color: #FFD84D; }
.hero-in { position: relative; width: 100%; }
.hero-h1 {
  font-size: clamp(38px, 7.4vw, 78px);
  line-height: 1.03;
  letter-spacing: -.025em;
  max-width: 15em;
}
.hero-desc {
  margin: 18px 0 0;
  max-width: 32em;
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 300;
  color: #C9CBE0;
}

/* ---------- 正文 + 侧栏 ---------- */
.stage {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 20px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}
@media (min-width: 960px) {
  .stage { grid-template-columns: minmax(0, 1fr) 268px; gap: 46px; }
}

.content { min-width: 0; }
.content > div {
  padding: 44px 0;
  border-top: 1px solid #23234A;
  scroll-margin-top: 16px;
}
.content > div:first-child { border-top: 0; padding-top: 20px; }

.content h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  margin: 0 0 16px;
}
.content h2 > span { color: #FFD84D; }
.content h3 { font-size: clamp(19px, 2.2vw, 23px); margin: 28px 0 10px; }
.content h3 > span { color: #FFD84D; }
.content p { margin: 0 0 16px; font-size: 17px; line-height: 1.85; color: #DCDEEC; }
.content ul, .content ol { margin: 0 0 18px; padding-left: 22px; color: #DCDEEC; }
.content li { margin: 7px 0; line-height: 1.7; }
.content strong { color: #FFD84D; }
.content figure {
  margin: 24px 0;
  padding: 18px;
  background: #1C1C3C;
  border-radius: 4px;
}
.content figure img { width: 100%; }
.content figcaption { margin-top: 10px; font-size: 16px; color: #9A9CB8; }
.content aside, .content blockquote {
  margin: 24px 0;
  padding: 16px 18px;
  background: #FFD84D;
  color: #12122B;
  border-radius: 4px;
  font-weight: 500;
}
.content aside p, .content blockquote p { color: #12122B; margin-bottom: 8px; }
.content aside p:last-child, .content blockquote p:last-child { margin-bottom: 0; }
.content aside a, .content blockquote a { color: #12122B; text-decoration: underline; font-weight: 700; }
.content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 16px; }
.content th, .content td { padding: 10px 12px; border-bottom: 1px solid #23234A; text-align: left; }
.content th { color: #FFD84D; }

/* 右侧栏 */
.rail {
  align-self: start;
  background: #1C1C3C;
  border-radius: 4px;
  padding: 18px 14px;
}
@media (min-width: 960px) {
  .rail { position: sticky; top: 24px; }
}
.rail-h {
  font-size: 17px;
  letter-spacing: .12em;
  color: #FFD84D;
  margin: 0 0 12px;
  padding-left: 6px;
}
.rail-list { list-style: none; margin: 0; padding: 0; counter-reset: rail; }
.rail-list li { counter-increment: rail; }
.rail-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 8px;
  border-radius: 4px;
  color: #F5F6FA;
  font-size: 16px;
  font-weight: 500;
}
.rail-list a::before {
  content: counter(rail, decimal-leading-zero);
  font-size: 12px;
  letter-spacing: .1em;
  color: #FFD84D;
  flex: none;
}
.rail-list a:hover { background: #FFD84D; color: #12122B; opacity: 1; }
.rail-list a:hover::before { color: #12122B; }

/* ---------- 页脚 ---------- */
.foot { background: #0B0B1C; border-top: 2px solid #FFD84D; margin-top: 16px; }
.foot-cta {
  max-width: 1120px;
  margin: 0 auto;
  padding: 46px 20px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
}
.cta-h { font-size: clamp(26px, 4.6vw, 46px); }
.cta-h > span { color: #FFD84D; }
.cta-btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  background: #FFD84D;
  color: #12122B;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
}
.cta-btn:hover { background: #F5F6FA; opacity: 1; }

.foot-bar {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px 22px;
  border-top: 1px solid #23234A;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #FFD84D;
  font-weight: 700;
}
.foot-nav { flex: 1; min-width: 0; }
.foot-nav dl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 16px;
  margin: 0;
}
.foot-nav dt { font-size: 12px; letter-spacing: .1em; color: #7D80A0; }
.foot-nav dd { margin: 0; }
.foot-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 3px;
  color: #C9CBE0;
  font-size: 16px;
}
.foot-nav a:hover { color: #FFD84D; }
.copy {
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: 16px;
  color: #9A9CB8;
}
@media (min-width: 900px) {
  .copy { width: auto; margin-left: auto; }
}

/* ---------- 动效 ---------- */
.rv {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .45s ease, transform .45s ease;
}
.rv.in { opacity: 1; transform: none; }

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

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