:root {
  --red: #e9342c;
  --red-dark: #c92520;
  --green: #3f8174;
  --green-dark: #2f675d;
  --hero-mint: #e7f3ee;
  --download-icon-mint: #d6ebe0;
  --download-icon-mint-hover: #c5e2d3;
  --green-pale: #eaf3ef;
  --ink: #1f2d2a;
  --muted: #5b6e69;
  --subtle: #83918d;
  --line: rgba(46, 69, 63, 0.14);
  --surface: #ffffff;
  --page: #f7f9f8;
  --dark: #20312e;
  --shadow: 0 24px 72px rgba(31, 58, 52, 0.14);
  --container: 1200px;
  --header-height: 72px;
  color-scheme: light;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--page);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; }
button { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 10px 16px;
  color: white;
  background: var(--green-dark);
  border-radius: 4px;
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid rgba(63, 129, 116, 0.48);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(46, 69, 63, 0.1);
  background: rgba(247, 249, 248, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner,
.section-inner,
.hero-inner,
.footer-inner {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.header-inner { display: flex; height: 100%; align-items: center; gap: 32px; }

.brand { display: inline-flex; min-width: max-content; align-items: center; gap: 10px; }
.brand img { border-radius: 4px; }
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font-size: 16px; font-weight: 700; }
.brand-copy span { margin-top: 3px; color: var(--subtle); font-size: 11px; }

.site-nav { display: flex; margin-left: auto; align-items: center; gap: 8px; }
.site-nav a { display: grid; min-height: 44px; padding: 0 16px; place-items: center; color: var(--muted); font-size: 14px; font-weight: 600; border-radius: 4px; }
.site-nav a:hover { color: var(--ink); background: rgba(63, 129, 116, 0.08); }

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button svg, .icon-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button-small { min-height: 40px; padding-inline: 15px; font-size: 14px; }
.button-large { min-height: 52px; padding-inline: 22px; }
.button-primary { color: #fff; background: var(--green); box-shadow: 0 10px 24px rgba(63, 129, 116, 0.2); }
.button-primary:hover { background: var(--green-dark); }
.button-quiet { color: var(--ink); border-color: var(--line); background: rgba(255, 255, 255, 0.72); }
.button-quiet:hover { border-color: rgba(63, 129, 116, 0.4); background: #fff; }

.hero { position: relative; overflow: hidden; padding: 40px 0 36px; background: linear-gradient(180deg, #f7f9f8 0%, #f1f6f3 100%); }
.hero-inner { position: relative; }
.hero-copy { max-width: 820px; margin-inline: auto; text-align: center; }
.eyebrow { display: flex; margin: 0 0 14px; align-items: center; gap: 9px; color: var(--green-dark); font-size: 13px; font-weight: 700; }
.hero-copy .eyebrow { justify-content: center; }
.eyebrow span { width: 22px; height: 2px; background: var(--red); }
.hero h1 { margin: 0; font-size: clamp(44px, 6vw, 64px); line-height: 1.05; letter-spacing: 0; }
.hero-lead { max-width: 780px; margin: 16px auto 0; color: var(--muted); font-size: 18px; line-height: 1.8; }
.hero-actions { display: flex; margin-top: 22px; justify-content: center; gap: 12px; }
.release-line { display: flex; margin: 10px 0 0; justify-content: center; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 13px; }
.release-line strong { color: var(--green-dark); }
.release-line span { position: relative; }
.release-line span::before { content: ""; position: absolute; top: 50%; left: -11px; width: 2px; height: 2px; border-radius: 50%; background: var(--subtle); }
.release-note { max-width: 680px; margin: 7px auto 0; color: var(--muted); font-size: 13px; line-height: 1.6; }


.section { padding: 104px 0; }
.section-heading { max-width: 620px; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.25; letter-spacing: 0; }
.section-heading > p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 17px; }

.site-footer { padding: 36px 0; border-top: 1px solid var(--line); color: var(--subtle); background: var(--page); font-size: 12px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { border-radius: 3px; }
.footer-brand p { display: grid; margin: 0; line-height: 1.3; }
.footer-brand strong { color: var(--ink); font-size: 13px; }
.privacy-note { margin-left: auto; }
.footer-link { color: var(--green-dark); font-weight: 650; }
.footer-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.legal-main { padding: 72px 0 104px; }
.legal-document { width: min(calc(100% - 48px), 880px); margin-inline: auto; }
.legal-heading { padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.legal-heading h1 { margin: 16px 0 10px; color: var(--ink); font-size: clamp(34px, 5vw, 54px); line-height: 1.12; letter-spacing: -0.035em; }
.legal-heading > p:last-child { margin: 0; color: var(--subtle); font-size: 13px; }
.legal-document section { padding-top: 42px; }
.legal-document h2 { margin: 0 0 16px; color: var(--ink); font-size: 24px; line-height: 1.35; }
.legal-document h3 { margin: 26px 0 8px; color: var(--ink); font-size: 17px; }
.legal-document p { margin: 12px 0 0; color: var(--muted); }
.legal-document ul { display: grid; gap: 10px; margin: 16px 0 0; padding-left: 1.4em; color: var(--muted); }
.legal-document a:not(.footer-link) { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal-summary { margin-top: 36px; padding: 24px 28px 26px; border: 1px solid rgba(63, 129, 116, 0.2); border-radius: 10px; background: var(--green-pale); }
.legal-summary strong { color: var(--green-dark); font-size: 14px; }
.legal-summary p { margin-top: 8px; color: var(--ink); }

.toast { position: fixed; z-index: 200; right: 24px; bottom: 24px; max-width: calc(100vw - 48px); padding: 12px 18px; color: #fff; background: var(--dark); border-radius: 6px; box-shadow: 0 12px 36px rgba(22, 42, 38, 0.24); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 180ms ease, transform 180ms ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }


@media (max-width: 900px) {
  .site-nav { display: none; }
  .header-download { margin-left: auto; }
  .hero { padding-top: 40px; }
  .footer-inner { align-items: flex-start; flex-wrap: wrap; }
  .privacy-note { width: 100%; margin: 0; order: 3; }
}

@media (max-width: 600px) {
  :root { --header-height: 64px; }
  .header-inner, .section-inner, .hero-inner, .footer-inner { width: min(calc(100% - 32px), var(--container)); }
  .brand img { width: 32px; height: 32px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy span { display: none; }
  .header-download { min-width: 44px; width: 44px; padding: 0; font-size: 0; }
  .header-download svg { width: 20px; height: 20px; }
  .hero { padding: 24px 0; }
  .hero h1 { font-size: 40px; }
  .hero-lead { margin-top: 12px; font-size: 16px; line-height: 1.65; }
  .hero-actions { margin-top: 16px; align-items: stretch; flex-direction: column; gap: 8px; }
  .hero-actions .button-large { min-height: 46px; }
  .release-line { margin-top: 8px; gap: 6px 16px; }
  .section { padding: 72px 0; }
  .section-heading h2 { font-size: 32px; }
  .section-heading > p:last-child { font-size: 16px; }
  .footer-inner { gap: 20px; }
  .footer-inner > p:last-child { margin: 0; }
  .legal-main { padding: 48px 0 72px; }
  .legal-document { width: min(calc(100% - 32px), 880px); }
  .legal-document section { padding-top: 34px; }
  .legal-document h2 { font-size: 21px; }
  .legal-summary { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
