:root {
  color-scheme: dark;
  --bg: #0f1114;
  --panel: #171a1f;
  --panel-2: #20252b;
  --text: #f7f4ed;
  --muted: #b8b2a8;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #f2c94c;
  --accent-2: #5dd6c6;
  --ink: #17140e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(15, 17, 20, 0.92);
  backdrop-filter: blur(16px);
}

.brand,
.site-header nav,
.actions,
.meta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
}

.brand img {
  border-radius: 8px;
}

.site-header nav {
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.site-header nav a:hover {
  color: var(--text);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: min(820px, calc(100vh - 68px));
  padding: 70px 5vw 54px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(46px, 6.6vw, 88px);
  line-height: 1;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.primary {
  background: var(--accent);
  color: var(--ink);
}

.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.wide {
  width: 100%;
}

.meta {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.04);
}

.product-shot {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,0.13), rgba(255,255,255,0.035));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.48);
  overflow: hidden;
}

.product-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.section {
  padding: 88px 5vw;
  border-top: 1px solid var(--line);
}

.section-title {
  max-width: 760px;
  margin-bottom: 34px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article,
.download-panel,
.stability-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.feature-grid article {
  min-height: 210px;
  padding: 24px;
}

.feature-grid p,
.download p,
.steps span,
.workflow-copy p,
.stability-grid p {
  color: var(--muted);
}

.workflow {
  display: grid;
  grid-template-columns: minmax(340px, 0.86fr) minmax(560px, 1.14fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
  background: #15181c;
}

.workflow-copy {
  position: sticky;
  top: 96px;
  max-width: 680px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-height: 176px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.035);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  grid-row: 1 / span 2;
  color: var(--accent);
  font-weight: 800;
  line-height: 1.2;
}

.steps strong,
.steps span {
  display: block;
  grid-column: 2;
  min-width: 0;
}

.steps strong {
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.35;
}

.steps span {
  font-size: 15px;
  line-height: 1.75;
  word-break: normal;
  overflow-wrap: break-word;
}

.stability {
  background: rgba(255, 255, 255, 0.02);
}

.stability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stability-grid article {
  padding: 24px;
  min-height: 190px;
}

.stability-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font-weight: 800;
}

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

.download-panel {
  padding: 24px;
}

.version {
  display: block;
  margin-bottom: 16px;
  font-weight: 800;
}

.checksum {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.download-note {
  margin: 16px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-size: 12px;
  line-height: 1.6;
  word-break: break-all;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 5vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero,
  .workflow,
  .download {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .workflow-copy {
    position: static;
  }

  .steps,
  .stability-grid {
    grid-template-columns: 1fr;
  }

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

  .product-shot {
    order: -1;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 20px;
  }

  .site-header nav {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding: 42px 20px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  h2 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .lead {
    font-size: 16px;
  }

  .section {
    padding: 58px 20px;
  }

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

  .download {
    gap: 20px;
  }

  .steps li {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: auto;
    padding: 20px;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 20px;
  }
}
