:root {
  --bg: #f7f8f2;
  --surface: #ffffff;
  --surface-strong: #eef5ed;
  --ink: #15231b;
  --muted: #607066;
  --line: #dce6da;
  --brand: #23853c;
  --brand-strong: #17642b;
  --amber: #c68a2d;
  --blue: #245c9f;
  --danger: #a13d32;
  --shadow: 0 24px 70px rgba(21, 35, 27, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(247, 248, 242, 0.9);
  border-bottom: 1px solid rgba(220, 230, 218, 0.8);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.site-footer nav,
.hero-actions,
.hero-metrics,
.signal-band,
.workflow,
.pricing-grid,
.download-grid {
  display: flex;
}

.brand {
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--brand);
  color: white;
  font-size: 18px;
  font-weight: 800;
}

.site-nav {
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
}

.site-nav a,
.site-footer a,
.text-link {
  text-decoration: none;
}

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

.header-action {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  background: var(--surface);
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 96px max(24px, calc((100vw - var(--max)) / 2)) 72px;
  background: #122018;
}

.hero-video,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
  opacity: 0.48;
  background:
    linear-gradient(120deg, rgba(35, 133, 60, 0.22), rgba(198, 138, 45, 0.14)),
    #122018;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(18, 32, 24, 0.96) 0%, rgba(18, 32, 24, 0.72) 45%, rgba(18, 32, 24, 0.2) 100%),
    linear-gradient(0deg, rgba(18, 32, 24, 0.78) 0%, transparent 46%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: white;
}

.eyebrow,
.section-label,
.plan-kicker {
  margin: 0 0 16px;
  color: #90d39b;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(54px, 9vw, 116px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 720px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.42;
}

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

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

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

.button-primary:hover {
  background: var(--brand-strong);
}

.button-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.button-secondary:hover,
.header-action:hover {
  border-color: rgba(35, 133, 60, 0.35);
  color: var(--brand);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.36);
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics {
  gap: 22px;
  flex-wrap: wrap;
  margin: 42px 0 0;
  padding: 0;
}

.hero-metrics div {
  min-width: 118px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-metrics dt {
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.hero-metrics dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.signal-band {
  max-width: var(--max);
  margin: -34px auto 0;
  position: relative;
  z-index: 3;
  gap: 1px;
  padding: 0 24px;
}

.signal-item {
  flex: 1;
  min-height: 108px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.signal-item:first-child {
  border-radius: var(--radius) 0 0 var(--radius);
}

.signal-item:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
}

.signal-item span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.signal-item strong {
  display: block;
  margin-top: 6px;
  font-size: 21px;
  line-height: 1.25;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 24px 0;
}

.split-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 48px;
  align-items: center;
}

.section-copy p:not(.section-label),
.section-heading p:not(.section-label) {
  color: var(--muted);
  font-size: 18px;
}

.section h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.section-note {
  max-width: 680px;
  margin: 14px 0 0;
}

.demo-panel,
.feature-card,
.plan-card,
.download-card,
.ota-note,
.faq-list details,
.compat-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(21, 35, 27, 0.08);
}

.demo-panel {
  overflow: hidden;
}

.window-bar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: #17231b;
}

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

.window-bar span:first-child {
  background: #d78f37;
}

.workspace-preview {
  min-height: 510px;
  display: grid;
  grid-template-columns: 178px 1fr;
  background: #eff4ee;
}

.workspace-preview aside {
  padding: 24px 16px;
  border-right: 1px solid var(--line);
  background: #f8fbf6;
}

.workspace-preview aside strong {
  display: block;
  margin-bottom: 18px;
}

.workspace-preview aside a {
  display: block;
  margin-bottom: 8px;
  padding: 9px 10px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
}

.workspace-preview aside .active {
  background: var(--surface-strong);
  color: var(--brand);
  font-weight: 800;
}

.preview-main {
  padding: 24px;
}

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

.preview-top div,
.activity-list p {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.preview-top span,
.activity-list span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.preview-top strong {
  display: block;
  margin-top: 4px;
  color: var(--brand);
  font-size: 30px;
}

.chart {
  height: 190px;
  display: flex;
  align-items: end;
  gap: 14px;
  margin: 24px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.chart span {
  flex: 1;
  min-width: 20px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--brand), #95c85f);
}

.chart span:nth-child(even) {
  background: linear-gradient(180deg, var(--amber), #e1bf77);
}

.activity-list {
  display: grid;
  gap: 12px;
}

.activity-list strong {
  display: block;
  margin-bottom: 3px;
}

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

.feature-card {
  min-height: 250px;
  padding: 24px;
}

.feature-index {
  display: inline-flex;
  margin-bottom: 40px;
  color: var(--brand);
  font-weight: 900;
}

.feature-card h3,
.workflow h3,
.plan-card h3,
.download-card h3,
.ota-note h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.feature-card p,
.workflow p,
.plan-card li,
.download-card p,
.ota-note p,
.faq-list p {
  color: var(--muted);
}

.workflow-section {
  max-width: none;
  margin-top: 96px;
  padding: 84px max(24px, calc((100vw - var(--max)) / 2));
  background: #13211a;
  color: white;
}

.workflow-section .section-label {
  color: #93d89f;
}

.workflow {
  gap: 14px;
}

.workflow article {
  flex: 1;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.workflow span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-weight: 900;
}

.workflow p {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-grid,
.download-grid {
  gap: 16px;
}

.plan-card,
.download-card {
  flex: 1;
  padding: 26px;
}

.plan-card.featured {
  border-color: rgba(35, 133, 60, 0.36);
  background: linear-gradient(180deg, #f8fff7, #ffffff);
}

.plan-kicker {
  color: var(--brand);
}

.plan-price {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 900;
}

.plan-card ul {
  min-height: 118px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.plan-card li {
  margin: 9px 0;
  padding-left: 18px;
  position: relative;
}

.plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.download-card {
  min-width: 0;
}

.platform-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: var(--brand);
  font-weight: 900;
}

.download-card .button {
  width: 100%;
  margin-top: 8px;
}

.ota-note {
  margin-top: 16px;
  padding: 24px;
}

.ota-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ota-url {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  word-break: break-all;
}

.release-notes {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

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

.release-notes li {
  margin: 10px 0;
}

.release-notes strong {
  color: var(--ink);
}

.feature-grid.compact .feature-card {
  min-height: 220px;
}

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

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.site-footer {
  max-width: var(--max);
  margin: 96px auto 0;
  padding: 34px 24px 48px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
}

.site-footer p {
  margin: 4px 0 0;
}

.site-footer nav {
  gap: 18px;
  flex-wrap: wrap;
}

.notice-dialog {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 25, 18, 0.58);
}

.notice-dialog[hidden] {
  display: none;
}

.notice-card {
  max-width: 480px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.notice-card h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.notice-card p {
  color: var(--muted);
}

.compat-hero {
  min-height: 360px;
  padding: 88px max(24px, calc((100vw - var(--max)) / 2)) 60px;
  background: #13211a;
  color: white;
}

.compat-hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1;
}

.compat-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 20px;
}

.compat-panel {
  padding: 28px;
}

.language-toolbar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}

.lang-button {
  min-width: 98px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.lang-button.active,
.lang-button:hover {
  border-color: rgba(35, 133, 60, 0.35);
  background: var(--surface-strong);
  color: var(--brand);
}

.legal-content {
  max-width: 920px;
  margin: 0 auto;
}

.legal-content h2 {
  margin: 34px 0 12px;
  font-size: 26px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  margin: 24px 0 8px;
  font-size: 19px;
}

.legal-content p {
  color: var(--muted);
}

@media (max-width: 920px) {
  .site-header {
    height: auto;
    min-height: 66px;
    flex-wrap: wrap;
    padding: 12px 18px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-action {
    margin-left: auto;
  }

  .hero {
    min-height: 82svh;
    padding: 80px 20px 64px;
  }

  .hero-scrim {
    background: rgba(18, 32, 24, 0.82);
  }

  .signal-band,
  .split-section,
  .workflow,
  .pricing-grid,
  .download-grid,
  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .signal-band {
    margin-top: 0;
    padding: 0;
  }

  .signal-item,
  .signal-item:first-child,
  .signal-item:last-child {
    border-radius: 0;
    box-shadow: none;
  }

  .section {
    padding-top: 72px;
  }

  .split-section {
    gap: 28px;
  }

  .workspace-preview {
    grid-template-columns: 1fr;
  }

  .workspace-preview aside {
    display: none;
  }

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

  .workflow-section {
    margin-top: 72px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .site-footer {
    margin-top: 72px;
  }

  .ota-actions {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 15px;
  }

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

  .hero h1 {
    font-size: 50px;
  }

  .hero-lead {
    font-size: 19px;
  }

  .button {
    width: 100%;
  }

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

  .hero-metrics div {
    min-width: 0;
  }

  .hero-metrics dt {
    font-size: 26px;
  }

  .section h2 {
    font-size: 34px;
  }

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

  .feature-card {
    min-height: 0;
  }

  .chart {
    gap: 8px;
  }
}
