:root {
  color-scheme: dark;
  --bg: #111613;
  --surface: #181f19;
  --text: #f2f4ec;
  --dim: #a9b3a8;
  --line: #313a31;
  --accent: #c9f579;
  --ink: #152013;
  --shell: min(1240px, calc(100% - 112px));
  font-family:
    "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", system-ui,
    sans-serif;
  scroll-behavior: smooth;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
p,
h1,
h2,
h3,
figure,
ol {
  margin: 0;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.skip {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 6;
  padding: 8px 14px;
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}
.shell {
  width: var(--shell);
  margin-inline: auto;
}
.site-header {
  position: relative;
  border-bottom: 1px solid var(--line);
  z-index: 1;
}
.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 750;
  white-space: nowrap;
  letter-spacing: -0.03em;
}
.brand strong {
  color: var(--accent);
  font-family: system-ui, sans-serif;
}
.mark {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--ink);
  font:
    800 22px/1 system-ui,
    sans-serif;
}
nav {
  display: flex;
  gap: clamp(20px, 3vw, 42px);
  color: var(--dim);
  font-size: 14px;
}
nav a,
.footer-links a {
  transition: color 0.18s ease;
}
nav a:hover,
.footer-links a:hover {
  color: var(--accent);
}
.nav-download {
  font-size: 14px;
  font-weight: 700;
  padding: 9px 15px;
  border: 1px solid #54644e;
  border-radius: 5px;
  white-space: nowrap;
}
.nav-download:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 78% 37%, #273620 0, transparent 58%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 39%;
  background-image:
    linear-gradient(#a7bc9610 1px, transparent 1px),
    linear-gradient(90deg, #a7bc9610 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(105deg, transparent, #000 55%, transparent);
}
.hero-layout {
  min-height: 622px;
  display: grid;
  grid-template-columns: minmax(390px, 0.86fr) minmax(0, 1.35fr);
  gap: clamp(25px, 4vw, 60px);
  align-items: center;
  padding-block: 84px 92px;
}
.eyebrow {
  font:
    650 12px/1.4 system-ui,
    "Microsoft YaHei UI",
    sans-serif;
  letter-spacing: 0.12em;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 9px;
}
.eyebrow > span {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: currentColor;
}
.hero h1 {
  font-size: clamp(44px, 4.8vw, 67px);
  line-height: 1.11;
  letter-spacing: -0.072em;
  margin: 20px 0 24px;
  font-weight: 850;
  white-space: nowrap;
}
.hero h1 span {
  color: var(--accent);
}
.hero-description {
  max-width: 28rem;
  color: #bfc8bb;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.85;
}
.hero-actions,
.download-actions {
  display: flex;
  align-items: center;
  gap: 19px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  gap: 25px;
  padding: 0 17px;
  font-size: 15px;
  font-weight: 750;
  border-radius: 5px;
  transition:
    background-color 0.18s ease,
    transform 0.18s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.primary {
  background: var(--accent);
  color: var(--ink);
}
.primary:hover {
  background: #e0ffac;
}
.button span {
  font-family: system-ui, sans-serif;
  font-size: 20px;
}
.text-link {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-underline-offset: 5px;
}
.text-link:hover {
  text-decoration: underline;
}
.text-link span,
.nav-download span {
  margin-inline-start: 5px;
}
.platform {
  margin-top: 17px;
  color: #a3afa2;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.platform span {
  width: 3px;
  height: 3px;
  background: currentColor;
  border-radius: 50%;
}
.hero-figure {
  min-width: 0;
  padding: 8px;
  border-radius: 12px;
  background: #171d17;
  border: 1px solid #53624d;
  box-shadow: 0 28px 95px #070b079c;
  animation: enter 0.6s ease-out both;
}
.hero-figure img {
  width: 100%;
  border-radius: 4px;
  background: #111720;
}
.window-bar {
  height: 29px;
  display: flex;
  gap: 5px;
  align-items: flex-start;
  padding: 7px 6px 0;
  color: #aab8a4;
  font-size: 11px;
  letter-spacing: 0.05em;
}
.window-bar i {
  width: 6px;
  height: 6px;
  background: #64735d;
  border-radius: 50%;
}
.window-bar i:first-child {
  background: var(--accent);
}
.window-bar span {
  margin-left: auto;
  margin-top: -5px;
}
.hero-figure figcaption {
  padding: 7px 4px 0;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--dim);
  font-size: 10px;
}
.hero-copy {
  animation: enter 0.55s ease-out both;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.section {
  padding-block: 86px;
  scroll-margin-top: 18px;
}
.section-heading h2,
.download h2 {
  font-size: clamp(29px, 3.6vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.06em;
  margin-top: 12px;
}
.section-heading > p:not(.eyebrow) {
  color: var(--dim);
  margin-top: 12px;
}
.features {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 52px;
  align-items: start;
}
.feature-list {
  border-top: 1px solid var(--line);
}
.feature-list article {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 17px;
  border-bottom: 1px solid var(--line);
  padding-block: 17px;
}
.feature-symbol {
  font-size: 24px;
  color: var(--accent);
  font-family: system-ui, sans-serif;
  line-height: 1.1;
}
.feature-list h3,
.steps h3 {
  font-size: 17px;
  line-height: 1.3;
  margin-bottom: 6px;
}
.feature-list p,
.steps p {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.8;
}
.preview {
  background: #161d17;
  border-block: 1px solid var(--line);
}
.preview-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 25px;
}
.theme-links {
  display: flex;
  gap: 4px;
  background: #101611;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.theme-links button {
  min-width: 64px;
  min-height: 36px;
  color: var(--dim);
  background: transparent;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  transition:
    color 0.18s,
    background 0.18s;
}
.theme-links button:hover {
  color: var(--text);
}
.theme-links button[aria-pressed="true"] {
  background: #2c3b27;
  color: var(--accent);
}
.gallery {
  max-width: 1050px;
  margin-inline: auto;
}
.gallery + .gallery {
  margin-top: 24px;
}
.gallery > a {
  display: block;
  border: 1px solid #485647;
  background: #0d130f;
  border-radius: 8px;
  overflow: hidden;
}
.gallery img {
  width: 100%;
}
.gallery figcaption {
  font-size: 13px;
  color: var(--dim);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 11px;
}
.gallery figcaption a {
  color: var(--accent);
}
.gallery.current {
  animation: enter 0.25s ease-out both;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  list-style: none;
  padding: 0;
  margin-top: 25px;
}
.steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 11px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.steps li > span {
  color: var(--accent);
  font:
    650 14px/1.6 system-ui,
    sans-serif;
}
.download {
  background: var(--accent);
  color: var(--ink);
}
.download .eyebrow {
  color: #39542a;
}
.download-layout {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
}
.download h2 {
  margin-bottom: 14px;
}
.download-layout p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.8;
}
.download-actions {
  margin: 0;
  flex-shrink: 0;
}
.download .primary {
  background: #192318;
  color: #f8ffef;
}
.download .primary:hover {
  background: #32452c;
}
.download :focus-visible {
  outline-color: var(--ink);
}
.site-footer {
  padding-block: 34px 27px;
}
.footer-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-links > div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--dim);
}
.risk {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 12px;
  color: #a1ab9f;
  line-height: 1.85;
}
@media (max-width: 1120px) {
  :root {
    --shell: calc(100% - 64px);
  }
  .hero-layout {
    grid-template-columns: minmax(330px, 0.85fr) minmax(0, 1fr);
    min-height: 540px;
    padding-block: 70px;
  }
  .hero h1 {
    font-size: clamp(40px, 5vw, 60px);
  }
  .features {
    gap: 36px;
  }
  .download-layout {
    flex-wrap: wrap;
    gap: 20px;
  }
}
@media (max-width: 770px) {
  :root {
    --shell: calc(100% - 38px);
  }
  .header-inner {
    height: 62px;
    gap: 10px;
  }
  nav {
    display: none;
  }
  .brand {
    font-size: 17px;
  }
  .mark {
    width: 27px;
    height: 27px;
    font-size: 19px;
  }
  .nav-download {
    padding: 7px 10px;
    font-size: 13px;
  }
  .hero-layout {
    display: block;
    min-height: 0;
    padding-block: 42px 34px;
  }
  .hero h1 {
    margin: 13px 0 14px;
    font-size: clamp(39px, 7.8vw, 56px);
  }
  .hero-description {
    font-size: 15px;
    line-height: 1.7;
  }
  .hero-actions {
    margin-top: 17px;
    gap: 13px;
  }
  .button {
    min-height: 46px;
    font-size: 14px;
    gap: 12px;
  }
  .hero-actions .text-link {
    font-size: 13px;
  }
  .platform {
    margin-top: 10px;
  }
  .hero-figure {
    margin-top: 26px;
    padding: 5px;
  }
  .window-bar {
    height: 23px;
  }
  .hero-figure figcaption {
    font-size: 9px;
    padding-top: 5px;
  }
  .section {
    padding-block: 48px;
  }
  .features {
    display: block;
  }
  .feature-list {
    margin-top: 23px;
  }
  .feature-list article {
    grid-template-columns: 27px 1fr;
    gap: 9px;
    padding-block: 13px;
  }
  .preview-heading {
    align-items: start;
    flex-wrap: wrap;
    margin-bottom: 16px;
  }
  .theme-links button {
    min-height: 32px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 18px;
  }
  .steps li {
    padding-top: 12px;
  }
  .site-footer {
    padding-block: 25px;
  }
  .footer-links {
    align-items: start;
    flex-wrap: wrap;
  }
}
@media (max-width: 340px) {
  :root {
    --shell: calc(100% - 28px);
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero-figure figcaption span:last-child {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
