:root {
  --paper: #f6f7f9;
  --surface: #fff;
  --ink: #181b20;
  --muted: #626a75;
  --quiet: #8b929c;
  --line: #dde1e6;
  --line-strong: #cbd1d8;
  --accent: #2866cf;
  --accent-hover: #1f56b5;
  --night: #171c23;
  --night-line: #303844;
  --night-muted: #acb4bf;
  --page: 1160px;
  --shadow: 0 18px 45px rgba(25, 33, 45, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; }
button { border: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.page-width { width: min(calc(100% - 48px), var(--page)); margin-inline: auto; }
.icon, .feature-icon {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.icon { width: 18px; height: 18px; flex: 0 0 18px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 68px;
  background: rgba(246, 247, 249, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner {
  width: min(calc(100% - 48px), var(--page));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand { font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.brand img { border-radius: 6px; }
.site-nav { display: flex; align-items: center; gap: 28px; color: #4f5761; font-size: 14px; }
.site-nav > a:not(.nav-download):hover { color: var(--ink); }
.nav-download {
  min-width: 70px;
  height: 36px;
  padding-inline: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.nav-download:hover { background: #30353c; }

.hero { padding: 88px 0 90px; border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(340px, .83fr) minmax(520px, 1.17fr);
  align-items: center;
  gap: 70px;
}
.product-kicker, .section-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  max-width: 550px;
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 710;
  line-height: 1.15;
  letter-spacing: -.045em;
}
.title-line { display: inline-flex; align-items: center; gap: 14px; }
.title-version {
  padding: 4px 7px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: #747d88;
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}
.hero-summary {
  max-width: 530px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}
.hero-highlights {
  margin-top: 27px;
  display: grid;
  grid-template-columns: .9fr 1.2fr .8fr;
  border-block: 1px solid var(--line-strong);
}
.hero-highlights > div {
  min-width: 0;
  padding: 15px 13px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line);
}
.hero-highlights > div:first-child { padding-left: 0; border-left: 0; }
.hero-highlights strong {
  font-size: 14px;
  font-weight: 680;
  line-height: 1.35;
  white-space: nowrap;
}
.hero-highlights span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  white-space: nowrap;
}
.hero-highlights .size-highlight strong {
  color: var(--accent);
  font-size: 21px;
  letter-spacing: -.025em;
}
.hero-actions { margin-top: 28px; display: flex; align-items: center; gap: 24px; }
.button {
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 650;
  transition: background-color .15s, border-color .15s;
}
.download-guide-open { cursor: pointer; }
.button-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.button-large { min-height: 50px; padding-inline: 24px; }
.text-link { padding: 0; background: transparent; color: #3f4751; font-size: 14px; font-weight: 600; border-bottom: 1px solid #aeb5be; cursor: pointer; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.hero-note { margin: 21px 0 0; color: #747d88; font-size: 13px; }

.app-preview {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.preview-head {
  min-height: 52px;
  padding: 0 16px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.preview-head figcaption { color: var(--muted); font-size: 13px; font-weight: 600; }
.theme-switch { display: flex; align-items: center; gap: 4px; }
.theme-option {
  padding: 5px 9px;
  background: transparent;
  border-radius: 5px;
  color: var(--quiet);
  cursor: pointer;
  font-size: 12px;
}
.theme-option:hover { color: var(--ink); }
.theme-option.active { background: #e9ecf0; color: var(--ink); font-weight: 650; }
.preview-image-button { width: 100%; padding: 0; display: block; background: #10151b; cursor: zoom-in; }
.preview-image-button img { width: 100%; height: auto; object-fit: contain; }

.proof-bar { background: var(--surface); border-bottom: 1px solid var(--line); }
.proof-grid { min-height: 104px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.proof-grid > div {
  min-height: 48px;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line);
}
.proof-grid > div:first-child { padding-left: 0; border-left: 0; }
.proof-grid strong { font-size: 14px; font-weight: 650; }
.proof-grid span { margin-top: 2px; color: var(--muted); font-size: 13px; }

.section { padding: 104px 0; }
.features-section { padding-top: 88px; }
.section-heading { max-width: 610px; }
.section-heading h2, .security-copy h2, .download-intro h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 680;
  line-height: 1.25;
  letter-spacing: -.035em;
}
.section-heading > p:last-child, .download-intro > p, .security-copy > p:last-child {
  margin: 17px 0 0;
  color: var(--muted);
}
.feature-list {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.feature { min-height: 270px; padding: 40px 38px; border-left: 1px solid var(--line); }
.feature:first-child { padding-left: 0; border-left: 0; }
.feature:last-child { padding-right: 0; }
.feature-icon { width: 29px; height: 29px; color: var(--accent); }
.feature h3 { margin: 28px 0 0; font-size: 18px; font-weight: 650; }
.feature p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }

.steps-section { background: var(--surface); border-block: 1px solid var(--line); }
.steps-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.compact-heading { max-width: 420px; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.steps li {
  min-height: 112px;
  padding: 25px 0;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}
.steps li > span { color: var(--accent); font-size: 13px; font-weight: 700; }
.steps h3 { margin: 0; font-size: 17px; font-weight: 650; }
.steps p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }

.security-section { padding: 105px 0; background: var(--night); color: #f4f6f8; }
.security-layout { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 100px; }
.security-copy { max-width: 600px; }
.security-copy .section-kicker { color: #73a1eb; }
.security-copy > p:last-child { color: var(--night-muted); line-height: 1.85; }
.security-points { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--night-line); }
.security-points li {
  min-height: 57px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid var(--night-line);
  color: #d5dae0;
  font-size: 14px;
}
.security-points .icon { color: #73a1eb; }

.download-section { background: var(--paper); }
.download-layout { display: grid; grid-template-columns: .88fr 1.12fr; align-items: start; gap: 100px; }
.download-intro > p { max-width: 460px; line-height: 1.85; }
.download-intro .button { margin-top: 28px; }
.release-card { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; }
.release-meta { margin: 0; padding: 10px 24px; }
.release-meta > div {
  min-height: 52px;
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.release-meta > div:last-child { border-bottom: 0; }
.release-meta dt { color: var(--muted); font-size: 13px; }
.release-meta dd { margin: 0; text-align: right; font-size: 14px; font-weight: 600; }
.hash-block { padding: 19px 24px 23px; background: #f0f2f5; border-top: 1px solid var(--line); border-radius: 0 0 7px 7px; }
.hash-title { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 650; }
.copy-button { padding: 2px 0; background: transparent; color: var(--accent); cursor: pointer; font-size: 12px; }
.hash-block code {
  margin-top: 10px;
  display: block;
  overflow-wrap: anywhere;
  color: #3f4650;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 11px;
  line-height: 1.65;
}

.changelog-section { background: var(--surface); border-block: 1px solid var(--line); }
.changelog-layout, .faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; }
.change-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.change-list li {
  position: relative;
  min-height: 58px;
  padding: 17px 0 17px 22px;
  border-bottom: 1px solid var(--line);
  color: #4d5560;
  font-size: 14px;
}
.change-list li::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { color: var(--quiet); transition: transform .16s; }
.faq-list details[open] summary .icon { transform: rotate(180deg); }
.faq-list details p { max-width: 650px; margin: -4px 0 22px; color: var(--muted); font-size: 14px; line-height: 1.8; }

.site-footer { background: var(--night); color: #d8dde3; }
.footer-disclaimer { padding: 32px 0 34px; text-align: center; }
.footer-disclaimer strong { color: #eef1f4; font-size: 13px; font-weight: 650; }
.footer-disclaimer p {
  max-width: 980px;
  margin: 9px auto 0;
  color: var(--night-muted);
  font-size: 12px;
  line-height: 1.85;
}
.footer-disclaimer p + p { margin-top: 2px; }

.image-dialog {
  width: min(calc(100% - 40px), 1120px);
  max-width: none;
  padding: 0;
  overflow: visible;
  background: #0f1318;
  border: 1px solid #3b424d;
  border-radius: 9px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, .4);
}
.image-dialog::backdrop { background: rgba(8, 10, 13, .78); }
.image-dialog img { width: 100%; border-radius: 8px; }
.dialog-close {
  position: absolute;
  top: -42px;
  right: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 6px;
  color: #1f242b;
  cursor: pointer;
}

.quick-help-dialog {
  width: min(calc(100% - 32px), 760px);
  max-width: none;
  max-height: min(760px, calc(100vh - 24px));
  padding: 0;
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(20, 27, 38, .26);
}
.quick-help-dialog[open] { display: flex; flex-direction: column; overflow: hidden; }
.quick-help-dialog::backdrop { background: rgba(14, 18, 24, .58); }
.quick-help-header {
  min-height: 58px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.quick-help-header h2 { margin: 0; font-size: 20px; font-weight: 680; letter-spacing: -.02em; }
.quick-help-close {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  background: #eef0f3;
  border-radius: 6px;
  color: #4f5761;
  cursor: pointer;
}
.quick-help-close:hover { background: #e3e6ea; color: var(--ink); }
.quick-help-list { padding: 0 24px; overflow-y: auto; }
.quick-help-list article { padding: 17px 0 18px; border-bottom: 1px solid var(--line); }
.quick-help-list article:last-child { border-bottom: 0; }
.quick-help-list h3 { margin: 0; font-size: 15px; font-weight: 650; }
.quick-help-list p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.quick-help-list .download-warning {
  display: block;
}
.download-warning-gallery {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
}
.download-warning-gallery figure {
  margin: 0;
  display: grid;
  grid-template-rows: 142px auto;
  align-items: end;
  text-align: center;
}
.download-warning-gallery img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 142px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.download-warning-gallery figcaption { padding-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.smartscreen-images { margin-top: 13px; display: grid; grid-template-columns: repeat(2, 260px); justify-content: center; gap: 14px; }
.smartscreen-images figure {
  margin: 0;
  padding: 0;
  background: transparent;
}
.smartscreen-images img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 5px; }
.smartscreen-images figcaption { padding: 7px 2px 0; color: var(--muted); font-size: 12px; text-align: center; }
.smartscreen-images figcaption strong {
  width: 18px;
  height: 18px;
  margin-right: 4px;
  display: inline-grid;
  place-items: center;
  background: var(--accent);
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
}
.quick-help-actions {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  background: #f1f3f5;
  border-top: 1px solid var(--line);
}
.help-dismiss { background: var(--surface); border-color: var(--line-strong); color: #4a525c; cursor: pointer; }
.help-dismiss:hover { background: #e9ecf0; }

.community-dialog {
  width: min(calc(100% - 32px), 440px);
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(20, 27, 38, .26);
}
.community-dialog::backdrop { background: rgba(14, 18, 24, .58); }
.community-content { padding: 20px 24px 23px; text-align: center; }
.community-copy { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.community-qr {
  width: min(100%, 278px);
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.group-number-row {
  min-height: 46px;
  margin-top: 16px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  background: #f3f5f7;
  border: 1px solid var(--line);
  border-radius: 7px;
  text-align: left;
}
.group-number-row > span { color: var(--muted); font-size: 12px; }
.group-number-row strong { font-size: 15px; letter-spacing: .02em; }
.copy-group-button { padding: 4px 0; background: transparent; color: var(--accent); cursor: pointer; font-size: 12px; }
.community-join { width: 100%; margin-top: 12px; }
.community-note { margin: 11px 0 0; color: var(--quiet); font-size: 11px; }

@media (max-width: 1020px) {
  .hero { padding: 72px 0 78px; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { max-width: 680px; }
  .app-preview { max-width: 820px; }
  .steps-layout, .security-layout, .download-layout, .changelog-layout, .faq-layout { gap: 60px; }
}

@media (max-width: 820px) {
  .site-nav > a:not(.nav-download) { display: none; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); padding-block: 12px; }
  .proof-grid > div { min-height: 70px; padding-inline: 20px; }
  .proof-grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .feature-list { grid-template-columns: 1fr; }
  .feature, .feature:first-child, .feature:last-child {
    min-height: 0;
    padding: 34px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .feature:last-child { border-bottom: 0; }
  .feature h3 { margin-top: 20px; }
  .steps-layout, .security-layout, .download-layout, .changelog-layout, .faq-layout { grid-template-columns: 1fr; gap: 48px; }
  .security-layout { gap: 45px; }
  .download-layout { gap: 46px; }
}

@media (max-width: 560px) {
  .page-width, .header-inner { width: min(calc(100% - 32px), var(--page)); }
  .site-header { height: 62px; }
  .brand { font-size: 14px; }
  .brand img { width: 27px; height: 27px; }
  .nav-download { min-width: 62px; height: 34px; padding-inline: 13px; }
  .hero { padding: 58px 0 62px; }
  .hero-grid { gap: 42px; }
  .hero h1 { font-size: 40px; letter-spacing: -.04em; }
  .title-line { gap: 10px; }
  .title-version { padding: 3px 6px; font-size: 11px; }
  .hero-summary { margin-top: 20px; font-size: 15px; }
  .hero-highlights { margin-top: 24px; grid-template-columns: .9fr 1.25fr .85fr; }
  .hero-highlights > div { padding-inline: 9px; }
  .hero-highlights > div:first-child { padding-left: 0; }
  .hero-highlights strong { font-size: 12px; }
  .hero-highlights span { font-size: 10px; }
  .hero-highlights .size-highlight strong { font-size: 18px; }
  .hero-actions { margin-top: 27px; align-items: flex-start; flex-direction: column; gap: 17px; }
  .hero-note { line-height: 1.7; }
  .preview-head { padding-inline: 13px; }
  .proof-grid > div { padding-inline: 14px; }
  .proof-grid strong { font-size: 13px; }
  .proof-grid span { font-size: 12px; }
  .section, .security-section { padding: 76px 0; }
  .features-section { padding-top: 68px; }
  .section-heading h2, .security-copy h2, .download-intro h2 { font-size: 32px; }
  .feature-list { margin-top: 42px; }
  .steps li { grid-template-columns: 42px 1fr; gap: 12px; }
  .release-meta { padding-inline: 18px; }
  .release-meta > div { grid-template-columns: 96px 1fr; }
  .hash-block { padding-inline: 18px; }
  .quick-help-header { min-height: 54px; padding: 10px 16px; }
  .quick-help-list { padding-inline: 16px; }
  .download-warning-gallery { grid-template-columns: 1fr; }
  .download-warning-gallery figure { display: block; }
  .download-warning-gallery img { width: auto; max-width: 100%; height: auto; max-height: 260px; margin-inline: auto; }
  .smartscreen-images { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .quick-help-actions { padding: 12px 16px; }
  .community-content { padding: 17px 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
