:root {
  color-scheme: light;
  --ink: #1f261f;
  --muted: #5d695f;
  --paper: #f7f5ee;
  --panel: #ffffff;
  --line: #dcd7c9;
  --green: #6fa44f;
  --green-dark: #334f2f;
  --gold: #f0bd4c;
  --blue: #4f8fb7;
  --rose: #c96b73;
  --shadow: 0 22px 70px rgba(31, 38, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  color: #fffaf0;
  background: linear-gradient(180deg, rgba(21, 29, 22, 0.72), rgba(21, 29, 22, 0));
}

.site-nav.solid {
  position: sticky;
  color: var(--ink);
  background: rgba(247, 245, 238, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  font-size: 20px;
  font-weight: 700;
}

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

.site-nav nav a {
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 600;
  opacity: 0.9;
}

.site-nav nav a:hover,
.site-nav nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.18);
  opacity: 1;
}

.site-nav.solid nav a:hover,
.site-nav.solid nav a[aria-current="page"] {
  background: #e8f0e0;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 120px 42px 78px;
  background: url("/assets/hero.jpg") center / cover no-repeat;
  overflow: hidden;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 22, 16, 0.82) 0%, rgba(15, 22, 16, 0.56) 44%, rgba(15, 22, 16, 0.18) 100%),
    linear-gradient(180deg, rgba(15, 22, 16, 0.1), rgba(247, 245, 238, 0.18));
}

.hero-copy {
  position: relative;
  width: min(690px, 100%);
  color: #fffaf0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.download-hero h1 {
  margin: 0;
  font-size: 68px;
  line-height: 1;
}

.hero-title-sub {
  margin: 10px 0 0;
  font-size: 24px;
  font-weight: 700;
}

.hero-lead,
.download-hero p {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--gold);
  color: #252019;
  box-shadow: 0 10px 28px rgba(240, 189, 76, 0.24);
}

.button.secondary {
  color: #fffaf0;
  border-color: rgba(255, 250, 240, 0.62);
  background: rgba(255, 255, 255, 0.08);
}

.download-hero .button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.button.wide {
  width: 100%;
}

code {
  padding: 2px 5px;
  border-radius: 6px;
  background: #eef2e8;
  color: #263126;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.94em;
}

.section,
.download-layout {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 78px 0;
}

.product-intro {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 42px;
  align-items: center;
}

.section h2,
.download-card h2,
.verify-card h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.18;
}

.section p {
  margin: 18px 0 0;
  color: var(--muted);
}

.app-window {
  overflow: hidden;
  border: 1px solid rgba(44, 56, 45, 0.18);
  border-radius: 8px;
  background: #263126;
  box-shadow: var(--shadow);
}

.window-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: #1f2a20;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-bar span:nth-child(1) { background: var(--rose); }
.window-bar span:nth-child(2) { background: var(--gold); }
.window-bar span:nth-child(3) { background: var(--green); }

.window-body {
  display: grid;
  grid-template-columns: 132px 1fr;
  min-height: 330px;
  color: #edf4e8;
}

.window-body aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 18px;
  background: #182019;
}

.window-body aside span {
  color: #bac9b7;
}

.mock-content {
  padding: 20px;
  background: #edf1e8;
  color: var(--ink);
}

.mock-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mock-toolbar span {
  color: var(--green-dark);
  font-weight: 800;
}

.mock-toolbar button {
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--gold);
  color: #252019;
  font-weight: 800;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.mock-grid div {
  min-height: 110px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dce3d8;
}

.mock-grid span,
.release-meta dt {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.mock-log {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.mock-log span {
  height: 12px;
  border-radius: 8px;
  background: linear-gradient(90deg, #c9d8c5, #edf1e8);
}

.mock-log span:nth-child(2) {
  width: 74%;
}

.mock-log span:nth-child(3) {
  width: 52%;
}

.feature-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.feature-grid article,
.steps article,
.download-card,
.verify-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 36px rgba(31, 38, 31, 0.08);
}

.feature-grid article,
.steps article {
  min-height: 210px;
  padding: 22px;
}

.feature-grid article:nth-child(1) { border-top: 5px solid var(--green); }
.feature-grid article:nth-child(2) { border-top: 5px solid var(--blue); }
.feature-grid article:nth-child(3) { border-top: 5px solid var(--gold); }
.feature-grid article:nth-child(4) { border-top: 5px solid var(--rose); }

.feature-grid h3,
.steps h3 {
  margin: 0;
  font-size: 20px;
}

.feature-grid p,
.steps p {
  font-size: 15px;
}

.workflow {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 36px;
}

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

.steps span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #e8f0e0;
  color: var(--green-dark);
  font-weight: 900;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.download-hero {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 82px 0 38px;
}

.download-hero h1 {
  color: var(--ink);
}

.download-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 22px;
  align-items: start;
}

.download-card,
.verify-card {
  padding: 26px;
}

.download-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.download-card-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.release-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0 0;
}

.release-meta div {
  padding: 14px;
  border-radius: 8px;
  background: #f1f4ed;
}

.release-meta dd {
  margin: 3px 0 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.hash-box {
  margin: 18px 0;
  padding: 16px;
  border-radius: 8px;
  background: #1f2a20;
  color: #f5f1e5;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 14px;
  overflow-wrap: anywhere;
}

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

.verify-card ol {
  margin: 18px 0 0;
  padding-left: 22px;
}

.release-notes {
  padding-top: 58px;
}

.release-notes ul {
  margin: 18px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

footer {
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 36px 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 920px) {
  .site-nav {
    padding: 0 24px;
  }

  .hero h1,
  .download-hero h1 {
    font-size: 54px;
  }

  .product-intro,
  .workflow,
  .download-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .site-nav {
    height: auto;
    min-height: 66px;
    padding: 12px 18px;
    gap: 12px;
  }

  .site-nav nav {
    gap: 4px;
  }

  .site-nav nav a {
    padding: 6px;
    font-size: 14px;
  }

  .hero {
    min-height: 84vh;
    padding: 106px 24px 60px;
  }

  .hero h1,
  .download-hero h1 {
    font-size: 44px;
  }

  .hero-title-sub {
    font-size: 20px;
  }

  .hero-lead,
  .download-hero p {
    font-size: 17px;
  }

  .hero-actions,
  .cta-band {
    align-items: stretch;
    flex-direction: column;
  }

  .section,
  .download-layout,
  .download-hero {
    width: min(100% - 32px, 1120px);
  }

  .section h2,
  .download-card h2,
  .verify-card h2 {
    font-size: 28px;
  }

  .window-body {
    grid-template-columns: 1fr;
  }

  .window-body aside {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .release-meta {
    grid-template-columns: 1fr;
  }
}
