:root {
  --paper: #F4F8FB;
  --paper-2: #EDF4F8;
  --surface: #FFFFFF;
  --ink: #0C2233;
  --ink-2: #29404F;
  --body: #3D5666;
  --muted: #4E6675;
  --muted-2: #5A7280;
  --line: #D9E4EC;
  --line-2: #E6EEF3;
  --water: #0B4F7A;
  --brand: #0B5A8C;
  --brand-hover: #09476F;
  --brand-press: #072F4B;
  --cyan: #0097A7;
  --orange: #E8720C;
  --purple: #6A3FB5;
  --focus: rgba(11, 90, 140, .38);
  --radius: 12px;
  --wrap: 1240px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(26, 115, 232, .22); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

a { color: var(--brand); text-underline-offset: 3px; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
ul, dl, dd, dt, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }

.wrap {
  width: min(var(--wrap), calc(100% - 96px));
  margin: 0 auto;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- top bar ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.top-in {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
}
.brand-mark { width: 36px; height: 36px; }
.brand-text {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.brand-text small {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.nav a:hover { color: var(--brand); border-color: var(--brand); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 1px 2px rgba(12, 34, 51, .14);
}
.btn-primary:hover { background: var(--brand-hover); box-shadow: 0 4px 14px rgba(12, 34, 51, .16); transform: translateY(-1px); }
.btn-primary:active { background: var(--brand-press); transform: none; box-shadow: none; }
.btn-quiet {
  background: transparent;
  color: var(--ink);
  border-color: #BFD3DF;
}
.btn-quiet:hover { border-color: var(--ink-2); background: rgba(255, 255, 255, .7); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14.5px; border-radius: 8px; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 17px; }

/* ---------- hero ---------- */

.hero { padding: 92px 0 104px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: 1.1;
  letter-spacing: -.035em;
  color: var(--ink);
}

.hero-sub {
  margin-top: 26px;
  max-width: 33em;
  font-size: 18.5px;
  line-height: 1.78;
  color: var(--body);
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-facts {
  margin-top: 42px;
  display: flex;
  align-items: stretch;
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.hero-facts > div {
  position: relative;
  padding: 0 26px;
}
.hero-facts > div:first-child { padding-left: 0; }
.hero-facts > div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: var(--line);
}
.hero-facts > div:first-child::before { display: none; }
.hero-facts dt {
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: .04em;
  margin-bottom: 3px;
}
.hero-facts dd {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hero-plate { margin: 0; }
.flow { width: 100%; height: auto; }
.flow-mobile { display: none; width: 100%; height: auto; }
@media (max-width: 720px) {
  .flow-mobile text {
    paint-order: stroke;
    stroke: #FBFDFE;
    stroke-width: 2.5px;
    stroke-linejoin: round;
  }
}
.flow text { font-family: inherit; }

@media (prefers-reduced-motion: no-preference) {
  .draw-line {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 1.5s cubic-bezier(.22, 1, .36, 1) .25s forwards;
  }
  .draw-line.delay { animation-delay: .65s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

/* ---------- reveal ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .75s cubic-bezier(.16, 1, .3, 1), transform .75s cubic-bezier(.16, 1, .3, 1);
  }
  .js .reveal.in { opacity: 1; transform: none; }
}

@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- sections ---------- */

.section {
  padding: 104px 0;
  border-top: 1px solid var(--line);
}

.sec-head { max-width: 760px; }
.sec-head h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.2;
  letter-spacing: -.03em;
}
.sec-head p {
  margin-top: 18px;
  max-width: 40em;
  font-size: 17.5px;
  color: var(--body);
}

/* ---------- chain ---------- */

.chain { margin-top: 56px; }

.chain-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 380px;
  gap: 40px;
  align-items: start;
  padding: 46px 0;
  border-top: 1px solid var(--line);
}
.chain-row:last-child { border-bottom: 1px solid var(--line); }

.chain-no {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--muted);
  line-height: 1.5;
  padding-top: 4px;
}
.chain-no::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--m);
  margin-bottom: 12px;
}
.chain-no span {
  display: block;
  color: var(--m);
  font-size: 11px;
  letter-spacing: .12em;
  margin-bottom: 4px;
}
.chain-no b {
  display: block;
  font-weight: 600;
  color: var(--muted);
}

.chain-copy h3 {
  font-size: 26px;
  line-height: 1.35;
  letter-spacing: -.02em;
}
.chain-copy p {
  margin-top: 14px;
  max-width: 34em;
  color: var(--body);
}

.facts {
  margin-top: 22px;
  display: grid;
  gap: 8px;
}
.facts li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}
.facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--m, var(--line));
  opacity: .85;
}

.mini {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
}
.mini svg { width: 100%; height: auto; }

/* ---------- methods table ---------- */

.table-wrap {
  margin-top: 48px;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
}

.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.spec th, .spec td {
  text-align: left;
  vertical-align: top;
  padding: 18px 20px 18px 0;
  border-bottom: 1px solid var(--line);
}
.spec thead th {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--muted);
  padding-top: 14px;
  padding-bottom: 12px;
}
.spec tbody th {
  width: 190px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.spec tbody th i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--m);
  margin-right: 10px;
  vertical-align: 1px;
}
.spec td { color: var(--body); }
.spec td:nth-child(2) { width: 42%; }
.spec tbody tr:last-child th, .spec tbody tr:last-child td { border-bottom: 0; }

/* ---------- trust (dark field) ---------- */

.dark {
  background: #0B2434;
  color: #EAF3F8;
  border-top: 0;
}
.dark h2 { color: #fff; }

.trust-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 72px;
  align-items: center;
}

.trust-lead h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.22;
  letter-spacing: -.03em;
}
.trust-lead blockquote {
  margin-top: 28px;
  font-size: 24px;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: -.01em;
  color: #C9E4F2;
  max-width: 18em;
}

.trust-list { display: grid; gap: 0; }
.trust-list > div {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.trust-list > div:first-child { border-top: 0; padding-top: 4px; }
.trust-list dt {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}
.trust-list dd {
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.75;
  color: #A9C1CF;
  max-width: 36em;
}

/* ---------- download ---------- */

.dl-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 56px;
  align-items: start;
}

.dl-main h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.2;
  letter-spacing: -.03em;
}
.dl-lede {
  margin-top: 18px;
  max-width: 38em;
  color: var(--body);
}

.ver-card {
  margin-top: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 1px 2px rgba(12, 34, 51, .05);
}

.ver-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.ver-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
}
.ver-head strong {
  font-size: 26px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
#ver-date {
  font-size: 13.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.ver-cta {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.ver-size {
  font-size: 14px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.ver-meta {
  margin-top: 24px;
  border-top: 1px solid var(--line-2);
}
.ver-meta > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-2);
}
.ver-meta dt { font-size: 13px; color: var(--muted); padding-top: 2px; }
.ver-meta dd { font-size: 14px; color: var(--ink-2); word-break: break-all; }
.ver-meta code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-2);
  word-break: break-all;
}
.sha-row { display: flex; align-items: flex-start; gap: 12px; }
.copy {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink-2);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12.5px;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
}
.copy:hover { border-color: var(--ink-2); background: #E4EEF4; }

.notes { margin-top: 8px; border-bottom: 1px solid var(--line-2); }
.notes summary {
  cursor: pointer;
  padding: 14px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.notes summary::-webkit-details-marker { display: none; }
.notes summary::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .2s ease;
  margin-left: 2px;
}
.notes[open] summary::before { transform: rotate(-135deg); }
.notes pre {
  margin: 0 0 16px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  font-family: inherit;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--body);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 320px;
  overflow: auto;
}

.dl-hint {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.netdisk { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

.support {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}
.support h3 {
  font-size: 22px;
  letter-spacing: -.02em;
}
.support > p {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--body);
  line-height: 1.7;
}
.qr {
  margin: 22px auto 0;
  width: 176px;
  text-align: center;
}
.qr img {
  width: 176px;
  height: 176px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px;
  background: #fff;
}
.qr figcaption {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
}
.support-list {
  margin-top: 20px;
  border-top: 1px solid var(--line-2);
  padding-top: 14px;
  display: grid;
  gap: 7px;
}
.support-list li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 14px;
  position: relative;
}
.support-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--cyan);
}

/* ---------- footer ---------- */

.foot {
  border-top: 1px solid var(--line);
  padding: 40px 0 46px;
}
.foot-in {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 32px;
  align-items: start;
}
.foot-brand {
  display: grid;
  gap: 3px;
}
.foot-brand strong { font-size: 15px; }
.foot-brand span { font-size: 13px; color: var(--muted); }
.foot-links {
  display: flex;
  gap: 22px;
  align-items: center;
}
.foot-links a {
  font-size: 13.5px;
  color: var(--ink-2);
  text-decoration: none;
}
.foot-links a:hover { color: var(--brand); }
.foot-copy {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
  font-size: 12.5px;
  color: var(--muted-2);
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-plate { max-width: 720px; }
  .chain-row { grid-template-columns: 96px minmax(0, 1fr); }
  .chain-row .mini { grid-column: 2; max-width: 460px; }
  .trust-grid { grid-template-columns: 1fr; gap: 40px; }
  .dl-grid { grid-template-columns: 1fr; gap: 40px; }
  .support { max-width: 520px; }
}

@media (max-width: 860px) {
  .wrap { width: calc(100% - 48px); }
  .nav { display: none; }
  .top-in { height: 64px; gap: 16px; }
  .top-in > .btn { margin-left: auto; }
  .brand-text small { display: none; }
  .hero { padding: 64px 0 72px; }
  .hero-facts { flex-wrap: wrap; gap: 14px 0; }
  .hero-facts > div { padding: 0 20px; }
  .section { padding: 72px 0; }
  .chain { margin-top: 36px; }
  .chain-row { grid-template-columns: 1fr; gap: 20px; padding: 34px 0; }
  .chain-row .mini { grid-column: auto; }
  .chain-no {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr);
    column-gap: 10px;
    align-items: start;
    padding-top: 0;
  }
  .chain-no::before { grid-row: 1 / span 2; margin: 6px 0 0; }
  .chain-no span { grid-column: 2; margin-bottom: 2px; }
  .chain-no b { grid-column: 2; }
  .chain-copy h3 { font-size: 23px; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-links { flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero h1 { font-size: clamp(34px, 10vw, 40px); }
  .hero-sub { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
  .hero-facts > div { padding: 0 24px 0 0; border-left: 0; }
  .hero-facts > div::before { display: none; }
  .hero-facts { gap: 10px 24px; }
  .hero-facts dd { white-space: normal; }

  .hero-plate .flow { display: none; }
  .hero-plate .flow-mobile { display: block; }

  .spec thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
  .spec, .spec tbody, .spec tr, .spec th, .spec td { display: block; width: auto; }
  .spec td:nth-child(2) { width: auto; }
  .spec tbody tr {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
  }
  .spec tbody tr:last-child { border-bottom: 0; }
  .spec tbody th {
    width: auto;
    font-size: 16px;
    padding: 0 0 8px;
    border: 0;
  }
  .spec td {
    padding: 3px 0;
    border: 0;
    font-size: 14.5px;
  }
  .spec td::before {
    content: attr(data-label);
    display: block;
    font-size: 11.5px;
    letter-spacing: .04em;
    color: var(--muted-2);
    margin-top: 6px;
  }

  .ver-card, .support { padding: 22px; }
  .ver-head strong { font-size: 22px; }
  .ver-meta > div { grid-template-columns: 1fr; gap: 4px; }
  .ver-cta .btn { width: 100%; }
  .sha-row { flex-wrap: wrap; }
  .trust-lead blockquote { font-size: 20px; }
  .trust-lead h2 { font-size: 28px; }
}

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

/* scrollbar, only where supported */
@supports (scrollbar-color: auto) {
  html { scrollbar-color: #B9CBD6 transparent; }
}