:root {
  color-scheme: light;
  --color-white: #ffffff;
  --color-ink: #10233a;
  --color-navy: #1a3656;
  --color-teal: #0d9e94;
  --color-teal-dark: #087f77;
  --color-mint: #7de1d4;
  --color-coral: #ff866e;
  --color-soft: #f4f8f8;
  --color-line: #dce8e7;
  --color-muted: #526071;
  --shadow-window: 0 28px 70px rgba(16, 35, 58, 0.16);
  --content-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--color-ink);
  background: var(--color-white);
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.site-header {
  border-bottom: 1px solid rgba(220, 232, 231, 0.8);
  background: var(--color-white);
}

.site-header__inner {
  display: flex;
  align-items: center;
  width: min(var(--content-width), calc(100% - 40px));
  height: 76px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.brand__icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.brand:focus-visible,
.download-button:focus-visible {
  outline: 3px solid rgba(13, 158, 148, 0.3);
  outline-offset: 4px;
}

.hero {
  background: var(--color-white);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(450px, 1.1fr);
  align-items: center;
  gap: 76px;
  width: min(var(--content-width), calc(100% - 40px));
  min-height: 650px;
  margin: 0 auto;
  padding: 58px 0 72px;
}

.hero__content {
  min-width: 0;
}

.hero h1 {
  margin: 0;
  padding-bottom: 3px;
  color: var(--color-ink);
  font-size: 64px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero__summary {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--color-muted);
  font-size: 20px;
  line-height: 1.75;
}

.download-notice {
  margin: 20px 0 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.download-notice__line {
  display: block;
  overflow-wrap: anywhere;
}

.download-notice__line--info {
  color: #2563a9;
}

.download-notice__line--warning {
  color: #d93025;
}

.download-notice__line--safe {
  color: #23834a;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.download-button--baidu {
  color: var(--color-white);
  background: var(--color-teal);
}

.download-button--baidu:hover {
  background: var(--color-teal-dark);
  transform: translateY(-2px);
}

.download-button--quark {
  color: var(--color-white);
  background: var(--color-ink);
}

.download-button--quark:hover {
  background: var(--color-navy);
  transform: translateY(-2px);
}

.download-button.is-disabled {
  cursor: not-allowed;
  transform: none;
}

.download-button--baidu.is-disabled,
.download-button--baidu.is-disabled:hover {
  color: #355d5a;
  background: #cfe8e5;
}

.download-button--quark.is-disabled,
.download-button--quark.is-disabled:hover {
  color: #465565;
  background: #e1e6eb;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 15px;
  color: var(--color-muted);
  font-size: 14px;
}

.download-meta p {
  margin: 0;
}

.download-meta__system {
  padding-left: 14px;
  border-left: 1px solid #c8d7d5;
  color: var(--color-ink);
  font-weight: 700;
}

.download-meta__compatibility {
  flex-basis: 100%;
  color: var(--color-muted);
}

.product-preview {
  width: 100%;
  max-width: 540px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: var(--shadow-window);
}

.product-preview__titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 18px;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-white);
}

.product-preview__identity {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
}

.product-preview__identity img {
  width: 27px;
  height: 27px;
  border-radius: 6px;
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 13px;
}

.window-controls span {
  display: block;
  width: 12px;
  height: 2px;
  background: #84909c;
}

.window-controls span:nth-child(2) {
  width: 10px;
  height: 10px;
  border: 1px solid #84909c;
  background: transparent;
}

.window-controls span:nth-child(3) {
  position: relative;
  width: 11px;
  height: 11px;
  background: transparent;
}

.window-controls span:nth-child(3)::before,
.window-controls span:nth-child(3)::after {
  position: absolute;
  top: 5px;
  left: 0;
  width: 12px;
  height: 1px;
  background: #84909c;
  content: "";
}

.window-controls span:nth-child(3)::before {
  transform: rotate(45deg);
}

.window-controls span:nth-child(3)::after {
  transform: rotate(-45deg);
}

.product-preview__body {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  min-height: 360px;
}

.product-preview__navigation {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 12px;
  background: var(--color-soft);
}

.product-preview__navigation span {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 5px;
  color: #5a6675;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
}

.product-preview__navigation .is-active {
  color: var(--color-teal-dark);
  background: #e2f5f2;
  font-weight: 700;
}

.product-preview__workspace {
  position: relative;
  min-width: 0;
  padding: 25px 26px 54px;
  background: var(--color-white);
}

.workspace-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid #edf1f2;
}

.workspace-header strong {
  font-size: 20px;
  line-height: 1.35;
}

.workspace-header span {
  color: var(--color-muted);
  font-size: 12px;
  white-space: nowrap;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.tool-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 58px;
  padding: 10px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  color: var(--color-navy);
  background: var(--color-white);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.tool-grid span:first-child {
  border-color: var(--color-mint);
  background: #f0fbf9;
}

.workspace-status {
  position: absolute;
  right: 26px;
  bottom: 18px;
  left: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
  font-size: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-teal);
}

.capabilities {
  background: var(--color-soft);
}

.capabilities__inner {
  display: grid;
  grid-template-columns: 0.8fr 1.7fr;
  gap: 76px;
  width: min(var(--content-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0 86px;
}

.section-heading h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.35;
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: 15px;
}

.desktop-break {
  display: none;
}

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

.capability-list article {
  min-width: 0;
  padding: 4px 18px 4px 20px;
  border-left: 1px solid #cadbd9;
}

.capability-list article:first-child {
  padding-left: 0;
  border-left: 0;
}

.capability-list h3 {
  margin: 0;
  color: var(--color-navy);
  font-size: 18px;
  line-height: 1.45;
}

.capability-list p {
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.8;
}

.requirements {
  border-top: 1px solid var(--color-line);
  background: var(--color-white);
}

.requirements__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  width: min(var(--content-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 58px;
}

.requirement {
  position: relative;
  padding-left: 18px;
}

.requirement::before {
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 0;
  width: 3px;
  border-radius: 2px;
  background: var(--color-coral);
  content: "";
}

.requirement__label {
  display: block;
  margin-bottom: 4px;
  color: var(--color-muted);
  font-size: 13px;
}

.requirement strong {
  display: block;
  font-size: 16px;
  line-height: 1.6;
}

@media (min-width: 761px) {
  .desktop-break {
    display: block;
  }
}

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: minmax(0, 0.82fr) minmax(390px, 1.18fr);
    gap: 44px;
    min-height: 610px;
  }

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

  .hero__summary {
    font-size: 18px;
  }

  .download-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .download-button {
    width: 100%;
  }

  .capabilities__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 760px) {
  .site-header__inner {
    height: 66px;
  }

  .brand {
    font-size: 18px;
  }

  .brand__icon {
    width: 34px;
    height: 34px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: 0;
    padding: 46px 0 60px;
  }

  .hero__content {
    text-align: center;
  }

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

  .hero__summary {
    max-width: 580px;
    margin-right: auto;
    margin-left: auto;
    font-size: 17px;
  }

  .download-actions {
    max-width: 420px;
    margin-right: auto;
    margin-left: auto;
  }

  .product-preview {
    max-width: 540px;
    margin: 0 auto;
  }

  .capabilities__inner {
    padding: 64px 0 68px;
  }

  .capability-list {
    grid-template-columns: 1fr;
  }

  .capability-list article,
  .capability-list article:first-child {
    padding: 24px 0;
    border-top: 1px solid #cadbd9;
    border-left: 0;
  }

  .capability-list article:first-child {
    border-top: 0;
  }

  .requirements__inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 480px) {
  .site-header__inner,
  .hero__inner,
  .capabilities__inner,
  .requirements__inner {
    width: min(100% - 32px, var(--content-width));
  }

  .hero__inner {
    gap: 36px;
    padding-top: 38px;
    padding-bottom: 20px;
  }

  .download-meta {
    justify-content: center;
  }

  .download-meta__system {
    padding-left: 0;
    border-left: 0;
  }

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

  .hero__summary {
    margin-top: 18px;
    font-size: 16px;
  }

  .download-actions {
    margin-top: 28px;
  }

  .product-preview__titlebar {
    height: 49px;
    padding: 0 13px;
  }

  .product-preview__body {
    grid-template-columns: 84px minmax(0, 1fr);
    min-height: 284px;
  }

  .product-preview__navigation {
    gap: 3px;
    padding: 15px 7px;
  }

  .product-preview__navigation span {
    min-height: 34px;
    padding: 0 8px;
    font-size: 11px;
  }

  .product-preview__workspace {
    padding: 20px 14px 46px;
  }

  .workspace-header {
    padding-bottom: 14px;
  }

  .workspace-header strong {
    font-size: 16px;
  }

  .workspace-header span {
    display: none;
  }

  .tool-grid {
    gap: 8px;
    margin-top: 18px;
  }

  .tool-grid span {
    min-height: 51px;
    padding: 7px 4px;
    font-size: 11px;
  }

  .workspace-status {
    right: 14px;
    bottom: 14px;
    left: 14px;
    font-size: 10px;
  }

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

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

  .download-button {
    transition: none;
  }
}
