/* 小二软件库 · 合集版
   墨黑首屏 + 暖金主色 + 米骨白分区，粗黑标题与纤细等宽标注 */

:root {
  --ink: #111215;
  --ink-2: #1b1d22;
  --bone: #f3efe6;
  --paper: #fbf9f4;
  --gold: #e3a13c;
  --gold-d: #c6852a;
  --line-d: #2b2d34;
  --line-b: #dfd7c7;
  --muted-b: #6f695f;
  --muted-l: #a29b8f;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dt, dd, blockquote, figure { margin: 0; }

.mono {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn .ico { width: 15px; height: 15px; flex: none; }

.btn-gold { background: var(--gold); color: var(--ink); font-weight: 700; }
.btn-gold:hover { background: var(--gold-d); transform: translateY(-1px); }

.btn-ghost { border-color: rgba(243, 239, 230, 0.4); color: var(--bone); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-ink { background: var(--ink); color: var(--bone); font-weight: 700; }
.btn-ink:hover { background: #000; transform: translateY(-1px); }

.btn-sm { padding: 9px 15px; font-size: 13px; }
.btn-lg { padding: 15px 26px; font-size: 15px; }

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(17, 18, 21, 0.92);
  border-bottom: 1px solid var(--line-d);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 0.2s ease;
  color: var(--bone);
}

.site-header.is-scrolled { background: rgba(17, 18, 21, 0.99); }

.header-inner { display: flex; align-items: center; gap: 26px; height: 74px; }

.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 3px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-text strong { font-size: 17px; font-weight: 900; letter-spacing: 0.01em; }
.brand-text em { font-style: normal; font-size: 9px; color: var(--muted-l); }

.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 14px; color: rgba(243, 239, 230, 0.76); }
.nav a { position: relative; padding: 4px 0; transition: color 0.18s ease; }
.nav a:hover { color: var(--gold); }
.nav a.is-active { color: var(--gold); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
}

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(243, 239, 230, 0.28);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--bone); }

/* ---------- 小标题 ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-l);
}

.eyebrow .bar { display: block; width: 24px; height: 2px; background: var(--gold); flex: none; }
.eyebrow-ink { color: var(--muted-b); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  padding: 66px 0 0;
  background: var(--ink);
  color: var(--bone);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 540px;
  gap: 32px;
  align-items: center;
  padding-bottom: 54px;
}

.hero-title {
  margin: 20px 0 0;
  font-size: 68px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #fff;
}

.hero-sub {
  margin-top: 22px;
  max-width: 470px;
  font-size: 15px;
  line-height: 1.95;
  color: #b9b2a6;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  margin-top: 26px;
  font-size: 11.5px;
  color: var(--muted-l);
}

.hero-meta span { padding: 0 14px; border-left: 1px solid rgba(243, 239, 230, 0.2); }
.hero-meta span:first-child { padding-left: 0; border-left: 0; }

/* 三封面 */
.stills {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 12px;
}

.still { overflow: hidden; border: 1px solid rgba(243, 239, 230, 0.24); flex: none; }

.still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94);
}

.still-a { width: 200px; height: 250px; }
.still-b { width: 160px; height: 240px; }
.still-c { width: 140px; height: 224px; }

/* 数据 */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 0;
  padding-top: 22px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line-d);
}

.stat { flex: 1 1 200px; padding-right: 26px; border-right: 1px solid var(--line-d); }
.stat:last-child { border-right: 0; }

.stat-num { font-size: 26px; font-weight: 700; line-height: 1.2; color: #fff; }
.stat-num sup { font-size: 0.58em; color: var(--gold); }
.stat-label { margin-top: 2px; font-size: 12px; color: var(--muted-l); }

/* ---------- 区块 ---------- */
.section { padding: 92px 0; }
.section-bone { background: var(--bone); }
.section-paper { background: var(--paper); }
.section-dark { background: var(--ink); color: var(--bone); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}

.head-left { max-width: 620px; }

.section-title {
  margin-top: 16px;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.section-dark .section-title { color: #fff; }

.section-desc { margin-top: 14px; max-width: 600px; font-size: 14.5px; line-height: 1.9; color: var(--muted-b); }
.section-dark .section-desc { color: #b9b2a6; }

.head-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--muted-b);
  white-space: nowrap;
  padding-bottom: 6px;
}

.dot { width: 6px; height: 6px; background: var(--gold); flex: none; }

/* ---------- 合集 ---------- */
.wall-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.wall-card { display: flex; flex-direction: column; }

.wall-cover {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ddd5c6;
}

.wall-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
  transition: transform 0.35s ease;
}

.wall-card:hover .wall-cover img { transform: scale(1.04); }

.wall-label {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 4px 10px;
  background: var(--ink);
  color: var(--gold);
  font-size: 10.5px;
}

.wall-title { margin-top: 18px; font-size: 22px; font-weight: 700; line-height: 1.42; }
.wall-desc { margin-top: 8px; font-size: 13.5px; line-height: 1.85; color: var(--muted-b); }

.wall-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}

.wall-count { font-size: 12px; color: var(--ink); }
.wall-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.tag {
  padding: 2px 8px;
  border: 1px solid var(--line-b);
  font-size: 10.5px;
  color: var(--muted-b);
}

/* ---------- 清单 ---------- */
.list { border-top: 1px solid var(--ink); }

.list-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 84px 74px 58px 22px;
  align-items: center;
  gap: 18px;
  padding: 17px 8px 17px 0;
  border-bottom: 1px solid var(--line-b);
  transition: background-color 0.18s ease, padding-left 0.18s ease;
}

.list-row:hover { background: #fff; padding-left: 10px; }

.list-no { font-size: 11.5px; color: var(--gold-d); }
.list-main { min-width: 0; }
.list-name { font-size: 17px; font-weight: 700; line-height: 1.4; }
.list-note { margin-top: 2px; font-size: 12.5px; color: var(--muted-b); }
.list-size, .list-ver { font-size: 11.5px; color: rgba(17, 18, 21, 0.82); }
.list-date { font-size: 11.5px; color: var(--muted-b); }
.list-go { font-size: 15px; color: var(--gold-d); text-align: right; }

.list-cta { display: flex; align-items: center; gap: 18px; margin-top: 34px; }
.cta-note { font-size: 11.5px; color: var(--muted-b); }

/* ---------- 流程 ---------- */
.flow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }

.step {
  padding-top: 22px;
  border-top: 1px solid var(--line-d);
  transition: border-color 0.2s ease;
}

.step:hover { border-color: var(--gold); }

.step-no { font-size: 10.5px; color: var(--gold); }
.step-title { margin-top: 8px; font-size: 21px; font-weight: 700; line-height: 1.4; color: #fff; }
.step-desc { margin-top: 8px; font-size: 13px; line-height: 1.85; color: #b0a99d; }

/* ---------- 版本记录 ---------- */
.spec-rows { border-top: 1px solid var(--ink); }

.spec-row {
  display: grid;
  grid-template-columns: 96px 108px 92px minmax(0, 1fr);
  align-items: baseline;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-b);
}

.spec-ver { font-size: 13px; color: var(--gold-d); font-weight: 700; }
.spec-date, .spec-size { font-size: 11.5px; color: var(--muted-b); }
.spec-note { font-size: 13.5px; line-height: 1.8; color: var(--ink); }

.spec-tip { margin-top: 18px; font-size: 11.5px; color: var(--muted-b); }

/* ---------- 下载 ---------- */
.dl-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  background: var(--gold);
  color: var(--ink);
  overflow: hidden;
}

.dl-copy { padding: 48px 46px 42px; }

.dl-title { margin-top: 16px; font-size: 36px; font-weight: 900; line-height: 1.34; max-width: 500px; }
.dl-desc { margin-top: 14px; font-size: 14px; line-height: 1.85; color: rgba(17, 18, 21, 0.78); }

.dl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.dl-note { font-size: 11.5px; color: rgba(17, 18, 21, 0.7); }

.dl-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px dashed rgba(17, 18, 21, 0.26);
}

.dl-specs dt { font-size: 11px; color: rgba(17, 18, 21, 0.62); }
.dl-specs dd { margin-top: 3px; font-size: 14px; font-weight: 700; }

.dl-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px 24px;
  border-left: 1px dashed rgba(17, 18, 21, 0.26);
  background: rgba(17, 18, 21, 0.07);
}

.dl-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 3px 9px;
  border: 1px solid rgba(17, 18, 21, 0.32);
  font-size: 10px;
  color: rgba(17, 18, 21, 0.72);
}

.dl-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 118px;
  background: var(--bone);
  border-radius: 4px;
  box-shadow: 0 16px 30px rgba(17, 18, 21, 0.18);
}

.dl-logo img { width: 92px; height: 92px; border-radius: 3px; }
.dl-cap { font-size: 10.5px; color: rgba(17, 18, 21, 0.68); }

/* ---------- 问答 ---------- */
.faq-wrap { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 56px; align-items: start; }
.faq-head { position: sticky; top: 100px; }
.faq-list { border-top: 1px solid var(--ink); }

.faq-item { border-bottom: 1px solid var(--line-b); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  font-size: 15.5px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-d); }

.faq-mark { position: relative; width: 13px; height: 13px; flex: none; }
.faq-mark::before, .faq-mark::after {
  content: "";
  position: absolute;
  background: var(--gold-d);
}
.faq-mark::before { left: 0; top: 6px; width: 13px; height: 1.5px; }
.faq-mark::after { left: 6px; top: 0; width: 1.5px; height: 13px; transition: transform 0.2s ease, opacity 0.2s ease; }
.faq-item[open] .faq-mark::after { transform: scaleY(0); opacity: 0; }

.faq-body {
  margin: 0 0 22px;
  padding: 16px 20px;
  border-left: 3px solid var(--gold);
  background: var(--paper);
  font-size: 13.5px;
  line-height: 1.9;
  color: #44403a;
}

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: var(--bone); padding: 54px 0 26px; }

.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; padding-bottom: 32px; }
.footer-brand { display: flex; align-items: center; gap: 14px; flex: 1 1 300px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 4px; flex: none; }
.footer-brand strong { font-size: 16.5px; font-weight: 900; }
.footer-brand p { margin-top: 4px; font-size: 12px; color: var(--muted-l); }

.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13px; color: rgba(243, 239, 230, 0.76); }
.footer-nav a:hover { color: var(--gold); }

.footer-side { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-domain { font-size: 11px; color: rgba(243, 239, 230, 0.5); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-d);
  font-size: 11.5px;
  color: rgba(243, 239, 230, 0.48);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1160px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) 470px; gap: 24px; }
  .hero-title { font-size: 60px; }
  .still-a { width: 176px; height: 220px; }
  .still-b { width: 142px; height: 212px; }
  .still-c { width: 124px; height: 198px; }
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-bottom: 44px; }
  .hero-copy { max-width: 620px; }
  .stills { justify-content: flex-start; }
  .still-a { width: 180px; height: 225px; }
  .still-b { width: 150px; height: 225px; }
  .still-c { width: 130px; height: 206px; }

  .wall-grid { gap: 18px; }
  .wall-title { font-size: 20px; }
  .flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 24px; }
  .section-title { font-size: 33px; }
  .dl-title { font-size: 30px; }
  .dl-copy { padding: 40px 34px 36px; }
  .faq-wrap { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 8px 32px 16px;
    background: #17181c;
    border-bottom: 1px solid var(--line-d);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.4);
  }
  .nav.is-open { display: flex; }
  .nav a { width: 100%; padding: 13px 0; border-bottom: 1px solid var(--line-d); font-size: 15px; }
  .nav a.is-active::after { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { height: 66px; gap: 16px; }
  .header-actions { margin-left: auto; }

  .hero { padding-top: 44px; }
  .hero-title { font-size: 50px; }
  .still-a { width: 150px; height: 188px; }
  .still-b { width: 124px; height: 186px; }
  .still-c { width: 108px; height: 172px; }

  .stats-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .stat { border-right: 0; padding-right: 0; }
  .stat-num { font-size: 22px; }

  .section { padding: 66px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }

  .wall-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .wall-cover { aspect-ratio: 16 / 9; }
  .wall-foot { padding-top: 12px; }

  .list-row { grid-template-columns: 32px minmax(0, 1fr) 80px 68px 20px; gap: 12px; }
  .list-date { display: none; }
  .list-note { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .flow-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }

  .spec-row { grid-template-columns: 90px 100px 80px; }
  .spec-note { grid-column: 1 / -1; margin-top: 2px; }

  .dl-panel { grid-template-columns: minmax(0, 1fr); }
  .dl-art { border-left: 0; border-top: 1px dashed rgba(17, 18, 21, 0.26); padding: 28px; }

  .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .faq-head { position: static; }
}

@media (max-width: 720px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .header-inner { padding-left: 20px; padding-right: 20px; }
  .nav { padding: 8px 20px 16px; }
  .brand-text strong { font-size: 15.5px; }
  .brand-mark { width: 32px; height: 32px; }
  .eyebrow { font-size: 10px; letter-spacing: 0.12em; }

  .hero-title { font-size: 40px; }
  .hero-sub { font-size: 14px; }
  .still-a { width: 124px; height: 156px; }
  .still-b { width: 104px; height: 156px; }
  .still-c { width: 90px; height: 144px; }

  .section { padding: 54px 0; }
  .section-title { font-size: 26px; }

  .wall-cover { aspect-ratio: 4 / 3; }
  .wall-title { font-size: 19px; }

  .list-row { grid-template-columns: 26px minmax(0, 1fr) 64px 18px; gap: 10px; }
  .list-ver { display: none; }
  .list-size { font-size: 11px; }
  .list-name { font-size: 15.5px; }

  .spec-row { grid-template-columns: 84px 96px; }
  .spec-size { display: none; }
  .spec-note { font-size: 13px; }

  .dl-copy { padding: 30px 24px 26px; }
  .dl-title { font-size: 24px; }
  .dl-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-badge { position: static; align-self: flex-start; }
  .dl-logo { width: 96px; height: 96px; }
  .dl-logo img { width: 74px; height: 74px; }

  .footer-top { gap: 22px; }
  .footer-nav { order: 3; }
  .footer-bottom { flex-direction: column; }
  .hero-cta .btn { flex: 1 1 auto; }
}

@media (max-width: 520px) {
  .hero-title { font-size: 34px; }
  .hero-meta span { padding: 0 10px; font-size: 11px; }
  .still-a { width: 108px; height: 136px; }
  .still-b { width: 92px; height: 136px; }
  .still-c { width: 80px; height: 126px; }
  .dl-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .dl-actions .btn { width: 100%; }
  .faq-item summary { font-size: 14.5px; }
}
