:root {
  color-scheme: light;
  --bg: #f6f7f4;
  --surface: #ffffff;
  --surface-2: #eef2ee;
  --ink: #17211d;
  --muted: #66746b;
  --line: #d9dfd9;
  --brand: #0f6b57;
  --brand-dark: #0a493d;
  --accent: #c44d2d;
  --accent-soft: #f6e4dc;
  --blue: #275f88;
  --shadow: 0 20px 60px rgba(15, 35, 28, 0.13);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 40px;
  border-bottom: 1px solid rgba(23, 33, 29, 0.08);
  background: rgba(246, 247, 244, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--brand);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: #34443d;
  font-size: 14px;
}

.nav a,
.footer a,
.text-link {
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.footer a:hover,
.text-link:hover {
  color: var(--brand);
  border-bottom-color: currentColor;
}

.top-action {
  min-width: 92px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--brand-dark);
  font-size: 14px;
  text-align: center;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding: 86px 40px 96px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(246, 247, 244, 0.98) 0%, rgba(246, 247, 244, 0.88) 44%, rgba(246, 247, 244, 0.5) 100%),
    linear-gradient(135deg, #e9efe9 0%, #ffffff 54%, #e6eee8 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(590px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

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

h1 {
  max-width: 590px;
  margin-bottom: 22px;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 0;
}

.lead {
  max-width: 590px;
  margin-bottom: 30px;
  color: #42524a;
  font-size: 19px;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--brand);
}

.button.secondary {
  color: var(--brand-dark);
  border-color: rgba(15, 107, 87, 0.25);
  background: #fff;
}

.button.ghost {
  color: var(--muted);
  border-color: var(--line);
  background: #f5f6f3;
  cursor: not-allowed;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.sheet-window {
  position: absolute;
  right: 4vw;
  top: 12vh;
  width: min(720px, 58vw);
  height: 520px;
  border: 1px solid rgba(23, 33, 29, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.sheet-title {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  color: #405149;
  border-bottom: 1px solid var(--line);
  background: #f9faf7;
  font-size: 13px;
}

.sheet-title span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ced8cf;
}

.sheet-title strong {
  margin-left: 8px;
}

.ribbon-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: #f0f5f2;
}

.ribbon-strip span {
  padding: 10px;
  border: 1px solid #d9e1dc;
  border-radius: 6px;
  background: #fff;
  color: #385047;
  font-size: 13px;
  text-align: center;
}

.hero-shot {
  height: calc(100% - 105px);
  padding: 18px;
  background: #dce3de;
}

.hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  border: 1px solid #cfd8d2;
  border-radius: 6px;
}

.release-panel {
  position: absolute;
  right: 9vw;
  bottom: 12vh;
  width: 330px;
  padding: 22px;
  border: 1px solid rgba(23, 33, 29, 0.12);
  border-radius: 8px;
  background: #17211d;
  color: #fff;
  box-shadow: var(--shadow);
}

.release-panel span,
.release-panel em {
  display: block;
  color: #cbd7d1;
  font-style: normal;
  font-size: 13px;
}

.release-panel strong {
  display: block;
  margin: 5px 0 10px;
  font-size: 20px;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.quick-strip a {
  min-height: 104px;
  padding: 22px 34px;
  border-right: 1px solid var(--line);
}

.quick-strip a:last-child {
  border-right: 0;
}

.quick-strip span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.quick-strip strong {
  display: block;
  margin-top: 5px;
  font-size: 18px;
}

.section {
  padding: 86px 40px;
}

.section > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.muted {
  background: var(--surface-2);
}

.section-head {
  margin-bottom: 34px;
}

.section-head p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card,
.service-grid article,
.forum-panel,
.download-row,
.feedback-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.product-card {
  padding: 24px;
}

.product-card.featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
}

.product-card p,
.service-grid p,
.forum-panel p,
.download-row p,
.feedback-copy p,
.detail-copy p {
  color: var(--muted);
}

.product-card ul {
  margin: 18px 0 20px;
  padding-left: 20px;
  color: #405149;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: #e5f0ec;
  font-size: 12px;
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  color: var(--brand);
  font-weight: 800;
}

.screenshot-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef2ee;
  overflow: hidden;
}

.screenshot-frame img {
  width: 100%;
}

.product-detail {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 34px;
  align-items: start;
  background: #fff;
}

.product-detail > * {
  max-width: none;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: #405149;
  font-size: 14px;
}

.download-list {
  display: grid;
  gap: 16px;
}

.download-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px;
}

.service-grid,
.community-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-grid article,
.forum-panel {
  padding: 24px;
}

.panel-head h3 {
  margin-bottom: 0;
}

.latest-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.latest-list li {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: #405149;
}

.latest-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.latest-list strong {
  display: block;
  color: var(--ink);
}

.feedback-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 34px;
  align-items: start;
}

.feedback-section > * {
  max-width: none;
}

.feedback-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 24px;
}

label {
  display: grid;
  gap: 7px;
  color: #405149;
  font-weight: 700;
}

label.full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #ccd5cf;
  border-radius: 8px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(15, 107, 87, 0.16);
  border-color: var(--brand);
}

.form-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 40px;
  border-top: 1px solid var(--line);
  background: #fff;
  color: #405149;
  font-size: 14px;
}

.footer strong,
.footer span {
  display: block;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 14px 22px;
  }

  .brand {
    min-width: 0;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
    padding: 78px 22px 70px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-visual {
    opacity: 0.32;
  }

  .sheet-window {
    right: -180px;
    width: 680px;
  }

  .release-panel {
    display: none;
  }

  .quick-strip,
  .product-grid,
  .service-grid,
  .community-layout,
  .product-detail,
  .feedback-section {
    grid-template-columns: 1fr;
  }

  .product-card.featured {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 22px;
  }

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

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .top-action {
    display: none;
  }

  .hero-actions,
  .download-actions,
  .form-footer,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  h1 {
    font-size: 34px;
  }

  .lead {
    font-size: 17px;
  }

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

  .quick-strip a {
    min-height: 92px;
    padding: 18px;
  }

  .screenshot-grid,
  .feedback-form {
    grid-template-columns: 1fr;
  }

  label.full {
    grid-column: auto;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
