:root {
  color-scheme: light;
  --bg: #fbfdf8;
  --surface: #ffffff;
  --surface-soft: #f1f7ed;
  --surface-rose: #fff4f3;
  --ink: #172118;
  --muted: #60705f;
  --line: #dce8d8;
  --green: #4f8f58;
  --green-deep: #2f6d36;
  --rose: #b73d3b;
  --rose-soft: #f4d8d5;
  --gold: #d6a955;
  --shadow: 0 24px 70px rgba(45, 86, 55, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #fbfdf8 0%, #f6fbf1 46%, #fffafa 100%);
  color: var(--ink);
  font-family:
    "Inter", "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 36px));
  min-height: 72px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(220, 232, 216, 0.82);
  background: rgba(251, 253, 248, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  font-weight: 800;
  color: #213522;
}

.brand img {
  border-radius: 9px;
  box-shadow: 0 8px 18px rgba(45, 86, 55, 0.15);
}

.nav-links {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--green-deep);
}

.header-download {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 40px;
  border: 1px solid rgba(79, 143, 88, 0.24);
  border-radius: 999px;
  background: var(--surface);
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 800;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(460px, 1.16fr);
  align-items: center;
  gap: 52px;
  width: min(1180px, calc(100% - 36px));
  min-height: min(820px, calc(100svh - 72px));
  margin: 0 auto;
  padding: 72px 0 64px;
}

.hero::before {
  content: "";
  position: absolute;
  right: -11%;
  bottom: 11%;
  width: 56%;
  height: 54%;
  border-radius: 44% 56% 47% 53%;
  background: #e7f1e3;
  opacity: 0.82;
  z-index: -1;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--rose);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 100%;
  margin: 0;
  color: #132214;
  font-size: clamp(54px, 6.1vw, 86px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

.hero-lede {
  max-width: 560px;
  margin: 28px 0 0;
  color: #3f4e40;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.download-actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.download-button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
  min-width: min(100%, 315px);
  min-height: 68px;
  padding: 12px 22px 12px 14px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 18px 38px rgba(79, 143, 88, 0.28);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.download-button:hover {
  transform: translateY(-2px);
  background: var(--green-deep);
  box-shadow: 0 24px 46px rgba(79, 143, 88, 0.35);
}

.download-button[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.7;
}

.button-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 24px;
  line-height: 1;
}

.download-button strong,
.download-button small {
  display: block;
}

.download-button strong {
  font-size: 17px;
  line-height: 1.2;
}

.download-button small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.3;
}

.quiet-button {
  min-height: 68px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--green-deep);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.quiet-button:hover {
  border-color: rgba(79, 143, 88, 0.38);
  background: var(--surface);
}

.release-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(100%, 620px);
  margin: 31px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.release-strip div {
  min-width: 0;
  padding: 16px 18px 16px 0;
}

.release-strip dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.release-strip dd {
  margin: 4px 0 0;
  overflow: hidden;
  color: #1d2c1e;
  font-size: 15px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checksum-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: min(100%, 650px);
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(220, 232, 216, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.checksum-row span {
  color: var(--rose);
  font-size: 12px;
  font-weight: 900;
}

.checksum-row code {
  min-width: 0;
  overflow: hidden;
  color: #38513a;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manifest-note {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.hero-visual {
  position: relative;
  align-self: end;
  min-height: 620px;
}

.desktop-window {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(100%, 610px);
  height: min(74svh, 690px);
  min-height: 560px;
  border: 1px solid rgba(79, 143, 88, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 251, 241, 0.86)),
    var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}

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

.window-bar span:nth-child(1) {
  background: #d85552;
}

.window-bar span:nth-child(2) {
  background: #d6a955;
}

.window-bar span:nth-child(3) {
  background: #75b174;
}

.window-body {
  position: relative;
  height: calc(100% - 42px);
}

.status-pill {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 2;
  margin: 0;
  padding: 8px 13px;
  border: 1px solid rgba(79, 143, 88, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 900;
}

.window-body img {
  position: absolute;
  right: -15%;
  bottom: -16%;
  width: min(116%, 700px);
  max-width: none;
  filter: drop-shadow(0 28px 38px rgba(41, 59, 44, 0.22));
}

.feature-strip,
.split-section,
.release-section,
.faq {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 18px 0 78px;
  border-top: 1px solid var(--line);
}

.feature-strip article {
  padding: 24px 22px 20px 0;
  border-right: 1px solid rgba(220, 232, 216, 0.76);
}

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

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 900;
}

.feature-strip h2 {
  margin: 16px 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

.feature-strip p,
.split-section p,
.faq p,
.release-card p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: 62px;
  align-items: start;
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

.split-section h2,
.release-section h2,
.faq h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
}

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

.steps li {
  display: grid;
  grid-template-columns: 62px minmax(0, 150px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.steps span {
  color: var(--rose);
  font-size: 13px;
  font-weight: 900;
}

.steps strong {
  font-size: 18px;
  line-height: 1.35;
}

.release-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.release-card {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(220, 232, 216, 0.92);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f4faf1 100%);
}

.release-card a {
  width: max-content;
  color: var(--green-deep);
  font-weight: 900;
}

.faq {
  padding: 76px 0 96px;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  padding: 22px 0;
  color: #243625;
  font-size: 18px;
  font-weight: 900;
}

.faq details p {
  max-width: 780px;
  padding: 0 0 24px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .header-download {
    grid-column: 2;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

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

  .hero-visual {
    min-height: 620px;
  }

  .desktop-window {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

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

  .feature-strip article:nth-child(2) {
    border-right: 0;
  }

  .split-section,
  .release-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .feature-strip,
  .split-section,
  .release-section,
  .faq,
  .site-footer {
    width: min(1180px, calc(100% - 28px));
  }

  .site-header {
    grid-template-columns: 1fr;
    min-height: 64px;
  }

  .brand span {
    max-width: 142px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-download {
    display: none;
  }

  .hero {
    gap: 22px;
    min-height: 0;
    padding: 34px 0 42px;
  }

  .hero-copy {
    width: min(100%, calc(100vw - 42px));
    overflow: hidden;
  }

  .hero h1 {
    font-size: clamp(43px, 13.8vw, 56px);
    line-height: 1.04;
  }

  .hero-lede {
    margin-top: 22px;
    font-size: 18px;
    word-break: break-all;
  }

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

  .download-button,
  .quiet-button {
    min-width: 0;
    max-width: calc(100vw - 42px);
    width: 100%;
  }

  .download-button > span:last-child {
    min-width: 0;
  }

  .download-button strong,
  .download-button small {
    overflow-wrap: anywhere;
  }

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

  .release-strip div {
    padding: 13px 0;
    border-bottom: 1px solid rgba(220, 232, 216, 0.76);
  }

  .release-strip div:last-child {
    border-bottom: 0;
  }

  .checksum-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .checksum-row code {
    white-space: normal;
    word-break: break-all;
  }

  .hero-visual {
    min-height: 530px;
  }

  .desktop-window {
    width: 100%;
    min-height: 500px;
    height: 500px;
  }

  .window-body img {
    right: -42%;
    bottom: -13%;
    width: 142%;
  }

  .feature-strip {
    grid-template-columns: 1fr;
    padding-bottom: 48px;
  }

  .feature-strip article {
    border-right: 0;
    border-bottom: 1px solid rgba(220, 232, 216, 0.76);
  }

  .steps li {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .steps li p {
    grid-column: 2;
  }

  .site-footer {
    flex-direction: column;
  }
}
