:root {
  color-scheme: dark;
  --ink: #070806;
  --ink-soft: #0d0f0c;
  --surface: #11130f;
  --surface-raised: #171912;
  --ivory: #f3efe5;
  --muted: #aaa79d;
  --gold: #d7ae4a;
  --gold-light: #f0d482;
  --gold-dark: #7c5c1d;
  --crimson: #9d3b31;
  --jade: #3e7968;
  --line: rgba(215, 174, 74, 0.24);
  --line-soft: rgba(243, 239, 229, 0.1);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.44);
  --header-height: 76px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

[data-temporarily-hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

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

body.menu-open {
  overflow: hidden;
}

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

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

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

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--gold-light);
  color: #100f0a;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(7, 8, 6, 0.72);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(7, 8, 6, 0.94);
}

.nav-shell {
  width: min(calc(100% - 48px), var(--max-width));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

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

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 18px;
  font-weight: 700;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--gold-light);
  font-size: 9px;
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 32px;
}

.desktop-nav a {
  position: relative;
  color: #d7d3ca;
  font-size: 14px;
  transition: color 160ms ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--ivory);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-download {
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--gold-dark);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: rgba(215, 174, 74, 0.1);
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 700;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.nav-downloads {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-downloads .nav-download {
  min-height: 40px;
  padding-inline: 12px;
  gap: 7px;
  font-size: 12px;
}

.nav-download-win7 {
  border-color: rgba(62, 121, 104, 0.85);
  background: rgba(62, 121, 104, 0.14);
  color: #b8dfd2;
}

.nav-download-win7:hover,
.nav-download-win7:focus-visible {
  border-color: #75b29f;
  background: #4b8f7c;
  color: #07110e;
}

.nav-download:hover,
.nav-download:focus-visible {
  border-color: var(--gold-light);
  background: var(--gold);
  color: #121008;
}

.is-disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.is-disabled:hover,
.is-disabled:focus-visible {
  transform: none;
}

.nav-download.is-disabled:hover,
.nav-download.is-disabled:focus-visible,
.button.is-disabled:hover,
.button.is-disabled:focus-visible {
  border-color: var(--gold-dark);
  background: var(--gold);
  color: #121008;
}

.nav-download svg,
.button svg,
.text-link svg,
.site-footer svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button-icon-image {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  object-fit: contain;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: none;
  place-items: center;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-nav {
  position: fixed;
  top: var(--header-height);
  inset-inline: 0;
  padding: 20px 24px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 6, 0.98);
  box-shadow: var(--shadow);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  min-height: 50px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  color: #ded9ce;
}

.mobile-nav a:last-child {
  margin-top: 14px;
  padding: 0 16px;
  border: 1px solid var(--gold-dark);
  justify-content: center;
  background: var(--gold);
  color: #111008;
  font-weight: 700;
}

.mobile-nav .mobile-download {
  min-height: 50px;
  margin-top: 14px;
  padding: 0 16px;
  border: 1px solid var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #111008;
  font-weight: 700;
}

.mobile-nav .mobile-download-win7 {
  margin-top: 8px;
  border-color: #75b29f;
  background: #4b8f7c;
  color: #07110e;
}

.hero {
  position: relative;
  height: calc(100vh - 34px);
  min-height: 650px;
  max-height: 860px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: #080906;
  background-image:
    linear-gradient(90deg, rgba(4, 5, 3, 0.99) 0%, rgba(4, 5, 3, 0.94) 24%, rgba(4, 5, 3, 0.5) 52%, rgba(4, 5, 3, 0.08) 78%),
    linear-gradient(0deg, rgba(4, 5, 3, 0.94) 0%, rgba(4, 5, 3, 0.08) 34%),
    url("assets/hero-dragon.png");
  background-position: center, center, center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 100% 6px;
  opacity: 0.22;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding-top: var(--header-height);
}

.hero-content > * {
  max-width: 660px;
}

.hero-kicker,
.section-label {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-kicker span {
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  margin: 18px 0 0;
  color: var(--ivory);
  font-family: "STKaiti", "KaiTi", "Microsoft YaHei", serif;
  font-size: 76px;
  line-height: 1.06;
  font-weight: 700;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.64);
}

.hero-slogan {
  margin: 16px 0 0;
  color: var(--gold-light);
  font-size: 30px;
  line-height: 1.35;
  font-weight: 700;
}

.hero-copy {
  margin: 20px 0 0;
  max-width: 600px;
  color: #c9c4b9;
  font-size: 17px;
  line-height: 1.85;
}

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

.button {
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--gold-light);
  background: var(--gold);
  color: #121008;
  box-shadow: 0 14px 36px rgba(215, 174, 74, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--gold-light);
}

.button-secondary {
  border-color: rgba(243, 239, 229, 0.3);
  background: rgba(7, 8, 6, 0.58);
  color: var(--ivory);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--gold);
  color: var(--gold-light);
}

.button-win7 {
  border-color: #75b29f;
  background: #4b8f7c;
  color: #07110e;
  box-shadow: 0 14px 36px rgba(62, 121, 104, 0.2);
}

.button-win7:hover,
.button-win7:focus-visible {
  border-color: #9bd0bf;
  background: #75b29f;
  color: #07110e;
}

.hero-meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 11px 22px;
  color: #9d9a90;
  font-size: 12px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 24px;
  left: 50%;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--gold-light);
  transform: translateX(-50%);
  animation: cue 2s ease-in-out infinite;
}

.scroll-cue svg {
  width: 20px;
  height: 20px;
}

@keyframes cue {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

.proof-strip {
  background: #0a0b08;
}

.proof-inner {
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 112px;
  margin: 0 auto;
  border-block: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.proof-item {
  padding: 25px 36px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.proof-item:first-child {
  border-left: 1px solid var(--line);
}

.proof-item strong {
  color: var(--gold-light);
  font-size: 20px;
}

.proof-item span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 116px 0;
}

.section-shell,
.client-shell,
.download-shell,
.footer-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 58px;
}

.section-label {
  margin: 0 0 12px;
}

.section-heading h2,
.client-copy h2,
.download-copy h2 {
  margin: 0;
  color: var(--ivory);
  font-size: 42px;
  line-height: 1.32;
  font-weight: 700;
}

.section-heading > p:last-child {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
}

.feature-grid {
  border-block: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.feature {
  position: relative;
  min-height: 390px;
  padding: 44px 36px 42px;
  border-right: 1px solid var(--line);
  background: transparent;
  transition: background 200ms ease;
}

.feature:last-child {
  border-right: 0;
}

.feature:hover {
  background: rgba(215, 174, 74, 0.035);
}

.feature-index {
  position: absolute;
  top: 28px;
  right: 28px;
  color: rgba(215, 174, 74, 0.34);
  font-size: 16px;
  font-weight: 700;
}

.feature-icon {
  width: 62px;
  height: 62px;
  border: 1px solid var(--gold-dark);
  display: grid;
  place-items: center;
  color: var(--gold-light);
  background: rgba(215, 174, 74, 0.07);
}

.feature-icon-crimson {
  border-color: rgba(157, 59, 49, 0.7);
  color: #d67b6d;
  background: rgba(157, 59, 49, 0.08);
}

.feature-icon-jade {
  border-color: rgba(62, 121, 104, 0.7);
  color: #73aa99;
  background: rgba(62, 121, 104, 0.08);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature h3 {
  margin: 38px 0 14px;
  font-size: 23px;
  line-height: 1.4;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.client-section {
  padding: 116px 0;
  border-block: 1px solid var(--line);
  background: var(--ink-soft);
}

.client-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(580px, 1.45fr);
  align-items: center;
  gap: 70px;
}

.client-copy h2 {
  font-size: 40px;
}

.client-copy > p:not(.section-label) {
  margin: 20px 0 0;
  color: var(--muted);
}

.client-points {
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.client-points li {
  min-height: 48px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 13px;
  color: #d8d4ca;
  font-size: 14px;
}

.client-points svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: var(--gold);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-light);
  font-weight: 700;
}

.text-link:hover svg,
.text-link:focus-visible svg {
  transform: translateX(4px);
}

.text-link svg {
  transition: transform 160ms ease;
}

.client-preview {
  margin: 0;
  min-width: 0;
  border: 1px solid rgba(215, 174, 74, 0.45);
  border-radius: 6px;
  overflow: hidden;
  background: #060705;
  box-shadow: var(--shadow);
}

.preview-bar {
  height: 40px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  background: #10120e;
}

.preview-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5f5c52;
}

.preview-bar span:first-child {
  background: var(--crimson);
}

.preview-bar span:nth-child(2) {
  background: var(--gold-dark);
}

.preview-bar span:nth-child(3) {
  background: var(--jade);
}

.preview-bar small {
  margin-left: auto;
  color: #77756d;
  font-size: 10px;
}

.client-preview img {
  width: 100%;
  height: auto;
  aspect-ratio: 1279 / 850;
  object-fit: cover;
  object-position: top center;
}

.client-preview figcaption {
  padding: 11px 14px;
  border-top: 1px solid var(--line-soft);
  color: #87847a;
  font-size: 11px;
  text-align: right;
}

.section-heading.compact {
  margin-bottom: 48px;
}

.steps-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.steps-list li {
  min-height: 150px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
}

.steps-list > li > span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 42px;
}

.steps-list div {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) 1fr;
  align-items: center;
  gap: 42px;
}

.steps-list h3 {
  margin: 0;
  font-size: 22px;
}

.steps-list p {
  margin: 0;
  color: var(--muted);
}

.download-section {
  padding: 70px 0;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(157, 59, 49, 0.08), transparent 30%),
    #0b0c09;
}

.download-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.download-shell > img {
  width: 112px;
  height: 112px;
}

.download-copy h2 {
  font-size: 32px;
}

.download-copy > p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.download-actions {
  display: grid;
  gap: 10px;
}

.download-actions .button {
  min-width: 224px;
}

.button-large {
  min-height: 58px;
  padding-inline: 30px;
  font-size: 16px;
}

.site-footer {
  padding: 26px 0;
  background: #060705;
}

.footer-shell {
  min-height: 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  color: #77756c;
  font-size: 12px;
}

.footer-brand {
  color: #bdb8ad;
  font-size: 13px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
}

.footer-shell p {
  margin: 0;
}

.footer-shell > a:last-child {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #9b988f;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

@media (max-width: 1080px) {
  .nav-shell {
    gap: 22px;
  }

  .desktop-nav {
    gap: 16px;
  }

  .nav-downloads .nav-download {
    padding-inline: 10px;
    font-size: 11px;
  }

  .client-shell {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .client-copy {
    max-width: 720px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  .nav-shell {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav,
  .nav-downloads {
    display: none;
  }

  .nav-toggle {
    display: grid;
    justify-self: end;
  }

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

  .hero-slogan {
    font-size: 26px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature:last-child {
    border-bottom: 0;
  }

  .steps-list li {
    grid-template-columns: 82px 1fr;
  }

  .steps-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .download-shell {
    grid-template-columns: auto 1fr;
  }

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

  .download-shell .button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 66px;
  }

  .nav-shell,
  .hero-content,
  .proof-inner,
  .section-shell,
  .client-shell,
  .download-shell,
  .footer-shell {
    width: min(calc(100% - 32px), var(--max-width));
  }

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

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy small {
    font-size: 8px;
  }

  .hero {
    height: calc(100svh - 24px);
    min-height: 690px;
    max-height: 820px;
    align-items: flex-end;
    padding-bottom: 76px;
    background-image:
      linear-gradient(0deg, rgba(4, 5, 3, 0.99) 0%, rgba(4, 5, 3, 0.9) 38%, rgba(4, 5, 3, 0.3) 70%, rgba(4, 5, 3, 0.25) 100%),
      url("assets/hero-dragon.png");
    background-position: center, 68% center;
  }

  .hero-content {
    padding-top: var(--header-height);
  }

  .hero-kicker {
    font-size: 12px;
  }

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

  .hero-slogan {
    margin-top: 10px;
    font-size: 23px;
  }

  .hero-copy {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.75;
  }

  .hero-actions {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-meta {
    margin-top: 20px;
    gap: 8px 16px;
  }

  .scroll-cue {
    display: none;
  }

  .proof-inner {
    width: min(calc(100% - 32px), var(--max-width));
    grid-template-columns: 1fr;
    padding-block: 8px;
  }

  .proof-item,
  .proof-item:first-child {
    min-height: 82px;
    padding: 15px 8px;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .section,
  .client-section {
    padding: 82px 0;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2,
  .client-copy h2,
  .download-copy h2 {
    font-size: 31px;
  }

  .feature {
    padding: 34px 24px;
  }

  .feature h3 {
    margin-top: 28px;
  }

  .client-shell {
    gap: 38px;
  }

  .client-preview {
    width: calc(100% + 16px);
    margin-left: -8px;
  }

  .preview-bar {
    height: 34px;
  }

  .preview-bar small {
    display: none;
  }

  .steps-list li {
    min-height: 0;
    padding: 28px 0;
    grid-template-columns: 58px 1fr;
    align-items: start;
  }

  .steps-list > li > span {
    font-size: 30px;
  }

  .steps-list h3 {
    font-size: 19px;
  }

  .download-section {
    padding: 58px 0;
  }

  .download-shell {
    grid-template-columns: 72px 1fr;
    gap: 20px;
  }

  .download-shell > img {
    width: 72px;
    height: 72px;
  }

  .download-copy h2 {
    font-size: 24px;
  }

  .download-actions {
    grid-template-columns: 1fr;
  }

  .download-actions .button {
    min-width: 0;
  }

  .footer-shell {
    grid-template-columns: 1fr auto;
  }

  .footer-shell p {
    display: none;
  }
}

@media (max-width: 360px) {
  .hero-slogan {
    font-size: 21px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
