@charset "UTF-8";

/* =========================================================
   黑白软件库 · 单色清单风格
   主色 #1A1A1A：纯黑白、方角、等宽字、表格化排版
   ========================================================= */

:root {
  --black: #1A1A1A;
  --black-2: #333333;
  --gray-1: #F4F4F4;
  --gray-2: #E4E4E4;
  --gray-3: #9A9A9A;
  --paper: #FFFFFF;
  --shell: 1240px;
  --header-height: 72px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--black);
  background: var(--paper);
  font-family: "Helvetica Neue", Helvetica, "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

.page-shell {
  width: min(calc(100% - 56px), var(--shell));
  margin: 0 auto;
}

/* ---------- 图标 ---------- */
.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  vertical-align: middle;
}

.icon::before {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: center / contain no-repeat;
}

.icon-download::before { background-image: url("../icons/download.svg"); }
.icon-menu::before { background-image: url("../icons/menu.svg"); }
.icon-close::before { background-image: url("../icons/close.svg"); }
.icon-arrow::before { background-image: url("../icons/arrow.svg"); }
.icon-globe::before { background-image: url("../icons/globe.svg"); }
.icon-plus::before { background-image: url("../icons/plus.svg"); }
.icon-bolt::before { background-image: url("../icons/bolt.svg"); }
.icon-shield::before { background-image: url("../icons/shield.svg"); }
.icon-route::before { background-image: url("../icons/route.svg"); }
.icon-book::before { background-image: url("../icons/book.svg"); }

/* ---------- 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-top: 4px solid var(--black);
  border-bottom: 1px solid var(--black);
  background: #fff;
}

.nav-shell {
  display: flex;
  align-items: center;
  width: min(calc(100% - 56px), var(--shell));
  min-height: var(--header-height);
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: 9px;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.4px;
}

.brand img {
  width: 34px;
  height: 34px;
  border: 1px solid var(--black);
  object-fit: contain;
  filter: grayscale(1);
}

.primary-nav {
  margin-left: auto;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  gap: clamp(14px, 2.2vw, 28px);
  list-style: none;
}

.primary-nav a {
  display: block;
  padding: 5px 0;
  border-bottom: 1px solid transparent;
  color: var(--black-2);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  transition: border-color .16s ease, color .16s ease;
}

.primary-nav a:before {
  content: "/";
  margin-right: 6px;
  color: var(--gray-3);
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  border-bottom-color: var(--black);
  color: #000;
}

.nav-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 40px;
  padding: 0 16px;
  gap: 8px;
  border: 1px solid var(--black);
  color: #fff;
  background: var(--black);
  font-size: 13px;
  font-weight: 700;
  transition: background .16s ease, color .16s ease;
}

.nav-download .icon,
.button-primary .icon {
  filter: brightness(0) invert(1);
}

.nav-download:hover {
  background: #fff;
  color: var(--black);
}

.nav-download:hover .icon {
  filter: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--black);
  background: #fff;
  cursor: pointer;
}

.menu-toggle .icon {
  width: 18px;
  height: 18px;
}

/* ---------- 英雄区 ---------- */
.hero {
  position: relative;
  padding: 58px 0 64px;
  background-color: #fff;
  background-image:
    repeating-linear-gradient(0deg, #EFEFEF 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, #EFEFEF 0 1px, transparent 1px 56px);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 520px);
  align-items: center;
  gap: clamp(30px, 5vw, 66px);
}

.hero-copy {
  max-width: 540px;
  padding: 12px 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gray-3);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.hero-title {
  margin: 16px 0 18px;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.4;
}

.hero-title::before {
  display: block;
  width: 46px;
  height: 4px;
  margin-bottom: 14px;
  content: "";
  background: var(--black);
}

.hero-summary {
  max-width: 480px;
  margin: 0 0 28px;
  color: #4A4A4A;
  font-size: 15px;
  line-height: 1.85;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 164px;
  padding: 0 24px;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}

.button-primary {
  border: 1px solid var(--black);
  color: #fff;
  background: var(--black);
  box-shadow: 5px 5px 0 var(--gray-2);
}

.button-primary:hover {
  color: var(--black);
  background: #fff;
  box-shadow: 5px 5px 0 var(--black);
}

.button-primary:hover .icon {
  filter: none;
}

/* ---------- 英雄区：单色清单表 ---------- */
.hero-monolist {
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  border: 1px solid var(--black);
  background: #fff;
  box-shadow: 12px 12px 0 #1A1A1A;
}

.ml-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-bottom: 1px solid var(--black);
  color: #fff;
  background: var(--black);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
}

.ml-table {
  padding: 0;
}

.ml-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 52px 54px;
  align-items: center;
  padding: 9px 13px;
  border-bottom: 1px solid var(--gray-2);
  font-family: var(--mono);
  font-size: 11.5px;
  color: #3A3A3A;
}

.ml-row span:first-child {
  color: var(--gray-3);
}

.ml-row span:last-child {
  text-align: right;
}

.ml-title {
  color: var(--black);
  background: var(--gray-1);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ml-pick {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  padding: 12px 13px;
  gap: 10px;
  border-bottom: 1px solid var(--gray-2);
}

.ml-pick img {
  width: 46px;
  height: 46px;
  border: 1px solid var(--black);
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
}

.ml-pick b {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
}

.ml-pick small {
  display: block;
  margin-top: 1px;
  color: var(--gray-3);
  font-family: var(--mono);
  font-size: 10px;
}

.ml-pick em {
  padding: 5px 9px;
  border: 1px solid var(--black);
  font-size: 10.5px;
  font-style: normal;
  white-space: nowrap;
}

.ml-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--gray-1);
  font-family: var(--mono);
  font-size: 10.5px;
  color: #4A4A4A;
}

.ml-foot span:last-child {
  font-weight: 700;
  color: #000;
}

/* ---------- 区块 ---------- */
section {
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 380px);
  align-items: end;
  column-gap: 40px;
  margin-bottom: 34px;
}

.section-heading .eyebrow {
  grid-column: 1;
  margin-bottom: 10px;
}

.section-heading h2 {
  grid-column: 1;
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.2;
}

.section-heading > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin: 0 0 4px;
  color: #5C5C5C;
  font-size: 13.5px;
  line-height: 1.8;
}

/* ---------- 核心特色：清单行 ---------- */
.routes {
  padding: 58px 0 64px;
  border-top: 1px solid var(--black);
}

.fours {
  border-top: 1px solid var(--black);
}

.four {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  padding: 22px 4px;
  border-bottom: 1px solid var(--black);
  transition: background .18s ease, padding .18s ease;
}

.four:hover {
  padding-left: 14px;
  background: var(--gray-1);
}

.four .n {
  color: var(--gray-3);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .06em;
}

.four-b {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  align-items: start;
  column-gap: 28px;
}

.four h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.2px;
}

.four p {
  margin: 0;
  color: #555;
  font-size: 13.8px;
  line-height: 1.85;
}

/* ---------- 界面展示 ---------- */
.screens {
  padding: 60px 0 70px;
  border-top: 1px solid var(--black);
  background: var(--gray-1);
}

.covers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--black);
  background: var(--black);
}

.covers figure {
  display: grid;
  grid-template-columns: 44% minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 14px;
  gap: 14px;
  background: #fff;
}

.covers img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--black);
  filter: grayscale(1) contrast(1.05);
  background: var(--gray-2);
}

.covers figcaption {
  min-width: 0;
}

.covers b {
  display: block;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
}

.covers small {
  display: block;
  margin-top: 5px;
  color: var(--gray-3);
  font-size: 11.5px;
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 60px 0 24px;
  border-top: 1px solid var(--black);
}

.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--black);
}

.faq-item {
  border-bottom: 1px solid var(--black);
  background: #fff;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 6px;
  gap: 14px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
}

.faq-item summary .icon {
  flex: none;
  transition: transform .18s ease;
}

.faq-item[open] summary .icon {
  transform: rotate(45deg);
}

.faq-item[open] summary h3 {
  font-weight: 900;
}

.faq-answer {
  padding: 0 6px 20px;
}

.faq-answer p {
  max-width: 880px;
  margin: 0;
  color: #4E4E4E;
  font-size: 13.8px;
  line-height: 1.9;
}

/* ---------- 官方入口 ---------- */
.official {
  padding: 20px 0 66px;
}

.official-fold {
  border-left: 6px solid var(--black);
  background: var(--gray-1);
}

.official-fold summary {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
}

.official-fold summary::-webkit-details-marker {
  display: none;
}

.official-fold summary::after {
  margin-left: auto;
  content: "[+]";
  font-family: var(--mono);
  color: var(--gray-3);
}

.official-fold[open] summary::after {
  content: "[−]";
  color: var(--black);
}

.official-fold .official-link {
  padding: 2px 18px 18px;
}

.official-fold .official-link p {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
}

.official-fold .official-link a {
  border-bottom: 1px solid var(--black);
  font-weight: 700;
  word-break: break-all;
}

/* ---------- 用户评价 ---------- */
.reviews {
  padding: 60px 0 66px;
  border-top: 1px solid var(--black);
  background: #fff;
}

.rgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--black);
  background: var(--black);
}

.review-card {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 18px;
  background: #fff;
}

.review-card header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--gray-2);
}

.review-card header b {
  font-size: 13.5px;
  font-weight: 800;
}

.review-card time {
  color: var(--gray-3);
  font-family: var(--mono);
  font-size: 10.5px;
  white-space: nowrap;
}

.review-card > p {
  margin: 12px 0 0;
  color: #3F3F3F;
  font-size: 13.5px;
  line-height: 1.9;
}

.rv-site {
  margin-top: auto;
  padding-top: 12px;
  color: #000;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .02em;
}

.rv-site::before {
  content: " // ";
  color: var(--gray-3);
}

/* ---------- 下载收尾 ---------- */
.download-cta {
  padding: 66px 0 70px;
  color: #fff;
  background: var(--black);
  text-align: center;
}

.download-cta .section-heading {
  display: block;
  max-width: 680px;
  margin: 0 auto 26px;
}

.download-cta .eyebrow {
  color: #8E8E8E;
}

.download-cta .section-heading h2 {
  color: #fff;
  font-size: clamp(26px, 3.2vw, 38px);
}

.download-cta .section-heading > p:last-child {
  margin-top: 12px;
  color: #C4C4C4;
}

.download-cta .button-primary {
  color: var(--black);
  background: #fff;
  border-color: #fff;
  box-shadow: 5px 5px 0 #555;
}

.download-cta .button-primary .icon {
  filter: brightness(0);
}

.download-cta .button-primary:hover {
  background: var(--gray-2);
  border-color: var(--gray-2);
}

.disclaimer {
  max-width: 660px;
  margin: 24px auto 0;
  color: #9A9A9A;
  font-size: 11.8px;
  line-height: 1.85;
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 28px 0 16px;
  border-top: 1px solid #3A3A3A;
  color: #B4B4B4;
  background: var(--black);
  font-size: 12px;
  text-align: center;
}

.site-footer p {
  margin: 6px 0;
}

.site-footer a {
  color: #fff;
  border-bottom: 1px solid #6A6A6A;
}

.site-footer .icp {
  color: #8E8E8E;
  font-family: var(--mono);
  font-size: 11px;
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 154px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #fff;
  cursor: pointer;
  background: var(--black);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.to-top::before {
  width: 8px;
  height: 8px;
  content: "";
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(45deg) translate(1px, 1px);
}

.to-top.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.to-top:hover {
  background: #444;
}

/* ---------- 响应式 ---------- */
@media (max-width: 940px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .hero-monolist {
    margin: 0 auto;
    max-width: 520px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p:last-child {
    margin-top: 12px;
  }

  .four-b {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 6px;
  }

  .covers {
    grid-template-columns: minmax(0, 1fr);
  }

  .rgrid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 62px;
  }

  body {
    padding-top: var(--header-height);
  }

  .site-header {
    position: fixed;
    right: 0;
    left: 0;
    width: 100%;
  }

  .page-shell,
  .nav-shell {
    width: min(calc(100% - 30px), var(--shell));
  }

  .nav-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    min-height: var(--header-height);
    column-gap: 8px;
  }

  .brand {
    grid-column: 1;
    font-size: 15.5px;
    gap: 7px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .primary-nav {
    display: none;
    grid-row: 2;
    grid-column: 1 / -1;
    margin: 0 -15px;
    padding: 0 15px 12px;
    border-top: 1px solid var(--gray-2);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding-top: 6px;
  }

  .primary-nav a {
    padding: 9px 4px;
    border-bottom: 1px solid var(--gray-2);
    font-size: 12px;
  }

  .nav-download {
    grid-column: 3;
    min-width: auto;
    min-height: 34px;
    padding: 0 9px;
    font-size: 11.5px;
  }

  .nav-download .icon {
    width: 13px;
    height: 13px;
  }

  .menu-toggle {
    display: inline-flex;
    grid-column: 4;
    width: 34px;
    height: 34px;
  }

  .hero {
    padding: 38px 0 44px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 36px;
    letter-spacing: -1.2px;
  }

  .hero-title {
    font-size: 21px;
  }

  .ml-row {
    grid-template-columns: 34px minmax(0, 1fr) 46px 48px;
    font-size: 10.5px;
    padding: 8px 10px;
  }

  .ml-pick {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 10px;
  }

  .ml-pick em {
    display: none;
  }

  .ml-pick img {
    width: 40px;
    height: 40px;
  }

  .routes,
  .screens,
  .reviews {
    padding: 44px 0 48px;
  }

  .faq {
    padding: 44px 0 18px;
  }

  .official {
    padding: 16px 0 46px;
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .four {
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 18px 2px;
  }

  .four:hover {
    padding-left: 6px;
  }

  .covers figure {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
    gap: 10px;
  }

  .covers img {
    aspect-ratio: 16 / 10;
  }

  .faq-item summary {
    min-height: 56px;
    padding: 0 4px;
  }

  .faq-item summary h3 {
    font-size: 14px;
  }

  .download-cta {
    padding: 48px 0 52px;
  }

  .download-cta .button-primary {
    width: 100%;
  }

  .to-top {
    right: 14px;
    bottom: 130px;
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 380px) {
  .brand span {
    font-size: 14px;
  }

  .nav-download span {
    display: none;
  }

  .nav-download {
    width: 34px;
    padding: 0;
  }

  .hero h1 {
    font-size: 31px;
  }

  .ml-row:nth-child(4) {
    display: none;
  }

  .primary-nav ul {
    grid-template-columns: minmax(0, 1fr);
  }
}
