:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-muted: #eef3f7;
  --ink: #1f2933;
  --muted: #5b6776;
  --line: #d8e0e8;
  --brand: #006b5c;
  --brand-strong: #004b41;
  --brand-soft: #dff3ef;
  --accent: #c8522b;
  --accent-soft: #fae7df;
  --blue: #1d5f99;
  --blue-soft: #e1eef8;
  --success: #247a42;
  --shadow: 0 16px 40px rgba(31, 41, 51, 0.1);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-strong);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
  font-size: 20px;
  white-space: nowrap;
}
.brand img{max-width:60px;}
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 6px;
  border-radius: 8px;
  background: var(--brand);
}

.brand-mark span {
  display: block;
  border-radius: 3px;
  background: #fff;
}

.brand-mark span:nth-child(2),
.brand-mark span:nth-child(5),
.brand-mark span:nth-child(8) {
  background: #ffcf5a;
}

.brand-mark span:nth-child(3),
.brand-mark span:nth-child(6) {
  background: #9ed9cd;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}

.nav-menu a[aria-current="page"] {
  color: var(--brand);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 107, 92, 0.18);
}

.btn-primary:hover {
  color: #fff;
  background: var(--brand-strong);
}

.btn-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.btn-secondary:hover {
  color: var(--ink);
  background: var(--surface-muted);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(200, 82, 43, 0.16);
}

.btn-accent:hover {
  color: #fff;
  background: #a94021;
}

.hero {
  padding: 74px 0 56px;
  background:
    linear-gradient(90deg, rgba(245, 247, 251, 0.97), rgba(245, 247, 251, 0.78)),
    repeating-linear-gradient(90deg, #f0d26a 0 8%, #4b9b83 8% 18%, #db7d5d 18% 32%, #7c9fc4 32% 46%, #e5b854 46% 64%, #81b3a6 64% 78%, #bf6c4f 78% 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-strong);
  font-weight: 700;
  font-size: 13px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(38px, 7vw, 68px);
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
}

h3 {
  font-size: 21px;
}

p {
  margin: 0;
}

.lead {
  max-width: 720px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.trust-item {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.trust-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.trust-item span {
  color: var(--muted);
  font-size: 14px;
}

.treemap-panel {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.panel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
}

.window-dots {
  display: inline-flex;
  gap: 6px;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}

.window-dots span:nth-child(1) {
  background: #d85e4f;
}

.window-dots span:nth-child(2) {
  background: #e2ba4e;
}

.window-dots span:nth-child(3) {
  background: #52a46f;
}

.treemap {
  display: grid;
  grid-template-columns: 1.6fr 1fr 0.8fr;
  grid-template-rows: 116px 82px 98px 68px;
  gap: 8px;
  min-height: 390px;
}

.tile {
  display: flex;
  align-items: end;
  padding: 12px;
  border-radius: 6px;
  color: #122018;
  font-weight: 800;
  font-size: 13px;
  overflow: hidden;
}

.tile-large {
  grid-row: span 2;
  background: #d39a36;
}

.tile-media {
  background: #5aa18a;
}

.tile-backup {
  grid-row: span 2;
  background: #cf7351;
}

.tile-cache {
  background: #6d9fca;
}

.tile-log {
  background: #96b65c;
}

.tile-temp {
  background: #debf5a;
}

.tile-system {
  grid-column: span 2;
  background: #8fb9ad;
}

.tile-docs {
  background: #c99e74;
}

.tile-small {
  background: #b4c7dc;
}

.section {
  padding: 72px 0;
}

.section-compact {
  padding: 48px 0;
}

.section-white {
  background: var(--surface);
}

.section-muted {
  background: var(--surface-muted);
}

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

.section-head p {
  max-width: 580px;
  color: var(--muted);
  font-size: 17px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.card h3 {
  margin-bottom: 10px;
}

.card p,
.card li {
  color: var(--muted);
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
}

.icon-box svg {
  width: 24px;
  height: 24px;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
}

.feature-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  content: "✓";
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  line-height: 18px;
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.stat {
  padding: 24px;
  background: var(--surface);
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand);
  font-size: 30px;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 14px;
}

.workflow {
  counter-reset: step;
  display: grid;
  gap: 16px;
}

.workflow-item {
  position: relative;
  padding: 24px 24px 24px 76px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.workflow-item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-muted);
  color: var(--ink);
}

td {
  color: var(--muted);
}

tr:last-child td {
  border-bottom: 0;
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.download-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.download-card .version {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
}

.source-list {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.source-list li {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.side-note {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--brand-soft);
}

.side-note h3 {
  margin-bottom: 12px;
}

.side-note p,
.side-note li {
  color: #36524d;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 62px;
  padding: 18px 22px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--brand);
  font-size: 24px;
  line-height: 1;
}

.faq-question[aria-expanded="true"]::after {
  content: "−";
}

.faq-answer {
  display: none;
  padding: 0 22px 20px;
  color: var(--muted);
}

.faq-question[aria-expanded="true"] + .faq-answer {
  display: block;
}

.cta-band {
  padding: 44px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.cta-band p {
  max-width: 680px;
  margin-top: 12px;
  color: #cbd5df;
}

.cta-band .btn-secondary {
  background: #fff;
}

.breadcrumb {
  padding: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--muted);
}

.page-hero {
  padding: 58px 0 52px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(34px, 6vw, 58px);
}

.page-hero .lead {
  max-width: 760px;
}

.site-footer {
  padding: 44px 0 28px;
  background: #152027;
  color: #d9e1e8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}

.site-footer h2,
.site-footer h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 17px;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: #b8c3cc;
  font-size: 14px;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9ca8b2;
  font-size: 13px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.is-open {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 24, 0.62);
}

.modal-dialog {
  position: relative;
  width: min(100%, 860px);
  max-height: min(92vh, 840px);
  overflow: auto;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  border-bottom: 1px solid var(--line);
}

.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal-body {
  padding: 26px;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.qr-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.qr-card img {
  width: 188px;
  height: 188px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.qr-card h3 {
  margin: 14px 0 8px;
}

.qr-card p {
  color: var(--muted);
  font-size: 14px;
}

.modal-footnote {
  margin-top: 18px;
  padding: 14px;
  border-radius: 8px;
  background: var(--surface-muted);
  color: var(--muted);
  font-size: 14px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  left: 10px;
}

@media (max-width: 940px) {
  .nav {
    min-height: 64px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 18px;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu li {
    border-bottom: 1px solid var(--line);
  }

  .nav-menu li:last-child {
    border-bottom: 0;
  }

  .nav-menu a {
    display: block;
    padding: 14px 0;
  }

  .nav-actions .btn-secondary {
    display: none;
  }

  .hero-grid,
  .download-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-4,
  .trust-row,
  .stat-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero {
    padding: 48px 0 40px;
  }

  .section {
    padding: 52px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .trust-row,
  .stat-band,
  .qr-grid {
    grid-template-columns: 1fr;
  }

  .treemap {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(5, 72px);
    min-height: 0;
  }

  .tile-large,
  .tile-backup,
  .tile-system {
    grid-column: auto;
    grid-row: auto;
  }

  .cta-band {
    padding: 28px;
  }

  .modal {
    padding: 14px;
  }

  .modal-head,
  .modal-body {
    padding: 20px;
  }

  .hero-actions,
  .section-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
