:root {
  font-family: "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #10151e;
  background: #fff;
  font-synthesis: none;
  --green: #087e50;
  --muted: #778292;
  --page: min(4.5vw, 65px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
.button {
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #cfdcd6;
  border-radius: 7px;
  background: #fff;
  color: #154c38;
  padding: 16px 24px;
  text-decoration: none;
  transition:
    background 0.16s,
    box-shadow 0.16s;
}
button:enabled:hover,
.button:hover {
  background: #eef7f1;
  box-shadow: 0 5px 16px #193f2512;
}
button:enabled:active,
.button:active {
  box-shadow: inset 0 0 0 2px #126f3320;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #65b48b;
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
  font-weight: 650;
}
.primary:enabled:hover {
  background: #066b43;
}
button img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.primary img {
  filter: brightness(0) invert(1);
}
header {
  height: clamp(72px, 8vw, 116px);
  max-width: 1440px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: clamp(22px, 5vw, 72px);
  padding: 0 var(--page);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 800;
  color: #10151e;
  white-space: nowrap;
}
.brand img {
  width: clamp(36px, 4vw, 58px);
  height: clamp(40px, 4.5vw, 65px);
  object-fit: contain;
}
nav {
  display: flex;
  gap: clamp(25px, 3.3vw, 48px);
  flex: 1;
}
nav a {
  font-size: clamp(14px, 1.65vw, 22px);
}
.login-link {
  border: 0;
  padding: 8px 0;
  color: #182230;
  background: transparent;
  margin-right: -38px;
}
.hero {
  max-width: 1440px;
  min-height: clamp(540px, 62.8vw, 904px);
  margin: auto;
  padding: clamp(60px, 8vw, 115px) var(--page) clamp(96px, 13vw, 188px);
  display: grid;
  grid-template-columns: 40% 60%;
  gap: clamp(20px, 3vw, 43px);
  align-items: start;
  background: #f8fcfa url("assets/hero-botanical.png") center bottom/cover
    no-repeat;
  overflow: hidden;
}
.hero-copy {
  padding-top: 8px;
}
h1 {
  font-size: clamp(48px, 6.05vw, 87px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.045em;
  margin-bottom: 20px;
  white-space: nowrap;
}
h1 span {
  color: var(--green);
}
h2 {
  font-size: clamp(32px, 3.65vw, 52px);
  letter-spacing: -0.035em;
  font-weight: 800;
}
.hero h2 {
  font-size: clamp(19px, 2.25vw, 32px);
  font-weight: 650;
  letter-spacing: -0.03em;
  white-space: nowrap;
  margin-bottom: 26px;
}
.muted {
  color: var(--muted);
  line-height: 1.9;
  font-size: clamp(14px, 1.6vw, 22px);
}
.hero .muted {
  white-space: nowrap;
  font-size: clamp(13px, 1.5vw, 21px);
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin: clamp(26px, 3.5vw, 50px) 0 14px;
  white-space: nowrap;
}
.hero-actions button,
.hero-actions a {
  font-size: clamp(14px, 1.6vw, 22px);
  padding: clamp(14px, 1.8vw, 26px) clamp(18px, 2vw, 29px);
}
.small {
  font-size: clamp(12px, 1.35vw, 18px);
  color: var(--muted);
  line-height: 1.8;
}
.product-preview {
  margin: 0;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #dce8df;
  box-shadow: 0 18px 45px #0a603420;
  overflow: hidden;
}
.product-preview img {
  display: block;
  width: 100%;
  height: auto;
}
.steps {
  max-width: 1440px;
  margin: auto;
  padding: clamp(38px, 4.2vw, 60px) var(--page);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 5vw, 72px);
}
.steps article {
  position: relative;
  display: flex;
  gap: clamp(20px, 2.7vw, 39px);
}
.steps article:not(:last-child):after {
  content: "";
  position: absolute;
  right: -22px;
  top: 44px;
  width: 18px;
  height: 18px;
  background: url("assets/chevron-down.svg") center/contain no-repeat;
  transform: rotate(-90deg);
  opacity: 0.65;
}
.steps article > img {
  width: clamp(68px, 8vw, 115px);
  height: clamp(68px, 8vw, 115px);
  padding: clamp(20px, 2.3vw, 33px);
  border-radius: 50%;
  background: #edf8f2;
}
.steps span {
  color: var(--green);
  font-size: clamp(14px, 1.6vw, 22px);
}
.steps h3 {
  margin: 8px 0 14px;
  font-size: clamp(18px, 2.1vw, 30px);
}
.steps p {
  font-size: clamp(13px, 1.45vw, 20px);
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0;
}
.prices {
  padding: clamp(44px, 5.4vw, 78px) var(--page) clamp(30px, 4vw, 58px);
  background: #f6faf9;
  text-align: center;
}
.prices h2 {
  margin-bottom: 18px;
}
.price-grid {
  max-width: 1310px;
  margin: clamp(25px, 3.5vw, 50px) auto 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 29px);
  text-align: left;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 58px) clamp(22px, 3vw, 43px) clamp(25px, 3vw, 43px);
  border: 1px solid transparent;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.price-card.featured {
  border-color: #379c6f;
  background: #f5fbf7;
}
.price-card h3 {
  font-size: clamp(18px, 2vw, 28px);
  margin-bottom: 24px;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
  margin-bottom: clamp(20px, 3vw, 43px);
}
.price strong {
  font-size: clamp(40px, 5.1vw, 74px);
  font-weight: 800;
  letter-spacing: -0.045em;
}
.price > span {
  font-size: clamp(12px, 1.4vw, 19px);
  color: var(--muted);
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 clamp(28px, 5vw, 72px);
  font-size: clamp(13px, 1.5vw, 21px);
  line-height: 2.4;
  color: var(--muted);
}
.price-card li:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 12px;
  vertical-align: middle;
  background: url("assets/check.svg") center/contain no-repeat;
}
.price-card > button {
  margin-top: auto;
  width: 100%;
  font-size: clamp(14px, 1.6vw, 22px);
  border-color: #6b9f88;
}
.badge {
  position: absolute;
  right: 0;
  top: 0;
  color: #fff;
  background: var(--green);
  border-radius: 0 0 0 14px;
  padding: 10px 25px;
  font-size: clamp(13px, 1.4vw, 19px);
}
.campaign {
  max-width: 1000px;
  margin: 24px auto 0;
  padding: 14px;
  background: #e8f5ed;
  border-radius: 8px;
  color: #216343;
}
.faq {
  max-width: 1440px;
  margin: auto;
  padding: clamp(40px, 5vw, 72px) var(--page) clamp(35px, 4.6vw, 66px);
}
.faq h2 {
  text-align: center;
  margin-bottom: 30px;
}
details {
  position: relative;
  border-bottom: 1px solid #e8ecee;
  min-height: 98px;
  padding: 28px 0;
}
details:first-of-type {
  border-top: 1px solid #e8ecee;
}
summary {
  /* 展开内容采用同一行排版；标题保留独立命中层，避免 details 内容遮挡点击。 */
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: clamp(17px, 2vw, 28px);
  font-weight: 650;
  cursor: pointer;
  list-style: none;
  min-height: 44px;
}
summary::-webkit-details-marker {
  display: none;
}
summary > img {
  position: absolute;
  width: 20px;
  height: 20px;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s;
}
details:not([open]) summary > img {
  transform: translateY(-50%) rotate(-90deg);
}
.faq-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 23px;
  font-weight: 600;
}
details p {
  position: relative;
  margin: -44px 44px 0 34%;
  padding: 4px 0 0;
  font-size: clamp(13px, 1.5vw, 21px);
  color: var(--muted);
  line-height: 1.85;
  pointer-events: none;
}
footer {
  max-width: 1310px;
  margin: auto;
  border-top: 1px solid #e8ecee;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 43px);
  padding: 34px 0;
}
footer .brand {
  font-size: 30px;
}
footer .brand img {
  width: 38px;
  height: 42px;
}
footer button {
  border: 0;
  padding: 8px 0;
  font-size: 14px;
  color: var(--muted);
}
footer > span {
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
  border-left: 1px solid #e8ecee;
  padding-left: 30px;
}
dialog {
  max-width: 620px;
  width: calc(100% - 36px);
  border: 1px solid #d9e5dc;
  border-radius: 18px;
  padding: 30px;
  color: #20372a;
}
dialog::backdrop {
  background: #102d2266;
}
dialog h2 {
  font-size: 24px;
}
dialog p {
  line-height: 1.9;
  color: var(--muted);
}
.dialog-close {
  float: right;
  border: 0;
  padding: 0;
  font-size: 25px;
}
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  background: #20372a;
  color: white;
  padding: 14px 24px;
  border-radius: 10px;
  box-shadow: 0 6px 30px #0002;
  z-index: 10;
}
@media (max-width: 1100px) {
  footer {
    margin: 0 var(--page);
    gap: 22px;
  }
  footer > span {
    font-size: 12px;
    padding-left: 14px;
  }
  .login-link {
    margin-right: -12px;
  }
  .hero-actions {
    gap: 12px;
  }
  .hero-actions button,
  .hero-actions a {
    padding-left: 14px;
    padding-right: 14px;
  }
  summary {
    gap: 18px;
  }
  details p {
    margin-left: 34%;
  }
  .faq-number {
    width: 34px;
    height: 34px;
    font-size: 19px;
  }
}
@media (max-width: 800px) {
  header {
    height: 76px;
    padding: 0 22px;
    gap: 22px;
  }
  nav {
    gap: 18px;
    justify-content: flex-end;
  }
  nav a {
    font-size: 14px;
  }
  header > .primary,
  .login-link {
    display: none;
  }
  .brand {
    font-size: 28px;
  }
  .brand img {
    width: 36px;
    height: 40px;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 36px 24px 64px;
    gap: 36px;
  }
  .hero h1 {
    font-size: clamp(36px, 8.8vw, 64px);
    white-space: normal;
  }
  .hero h2 {
    font-size: 18px;
    white-space: normal;
  }
  .hero .muted {
    font-size: 14px;
    white-space: normal;
  }
  .hero-actions {
    flex-wrap: wrap;
    margin-top: 25px;
  }
  .hero-actions button,
  .hero-actions a {
    font-size: 14px;
    padding: 14px 16px;
  }
  .small {
    font-size: 12px;
  }
  .product-preview {
    width: 100%;
  }
  .steps {
    grid-template-columns: 1fr;
    padding: 36px 26px;
    gap: 28px;
  }
  .steps article {
    gap: 24px;
  }
  .steps article:not(:last-child):after {
    display: none;
  }
  .steps article > img {
    width: 68px;
    height: 68px;
    padding: 20px;
  }
  .steps h3 {
    font-size: 20px;
    margin: 6px 0;
  }
  .steps p {
    font-size: 14px;
  }
  .prices {
    padding: 44px 24px 30px;
  }
  .prices h2,
  .faq h2 {
    font-size: 30px;
  }
  .price-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    gap: 20px;
    margin-top: 26px;
  }
  .price-card {
    padding: 32px;
  }
  .price-card h3 {
    font-size: 22px;
  }
  .price strong {
    font-size: 48px;
  }
  .price > span {
    font-size: 14px;
  }
  .price-card ul {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .price-card > button {
    font-size: 16px;
  }
  .faq {
    padding: 42px 24px;
  }
  details {
    padding: 22px 0;
  }
  summary {
    font-size: 17px;
    gap: 14px;
    padding-right: 25px;
  }
  summary > img {
    top: 33px;
    width: 16px;
  }
  details p {
    margin: 16px 0 0 48px;
    padding: 0;
    font-size: 14px;
  }
  .faq-number {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
  footer {
    margin: 0 24px;
    padding: 26px 0;
    flex-wrap: wrap;
    gap: 18px;
  }
  footer .brand {
    width: 100%;
  }
  footer > span {
    width: 100%;
    margin: 0;
    border: 0;
    padding: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* 对齐已确认原图的桌面比例；移动端保留纵向排列与可读字号。 */
@media (min-width: 801px) {
  .hero {
    padding-top: clamp(60px, 8vw, 115px);
    padding-bottom: clamp(75px, 8vw, 115px);
    min-height: clamp(540px, 62.8vw, 904px);
  }
  .hero .small:last-child {
    margin-bottom: 0;
  }
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    padding-top: 38px;
    padding-bottom: 38px;
  }
  .steps article {
    gap: 24px;
  }
  .steps p {
    white-space: nowrap;
    font-size: clamp(12px, 1.4vw, 20px);
  }
  .steps article:not(:last-child):after {
    right: -10px;
  }
  .prices {
    padding-bottom: 48px;
  }
  .prices h2 {
    margin-bottom: 12px;
  }
  .price-grid {
    margin-top: 22px;
  }
  .price-card {
    padding-top: 30px;
    padding-bottom: 20px;
  }
  .price-card ul {
    margin-bottom: 20px;
    line-height: 2.2;
  }
  .price {
    margin-bottom: 24px;
  }
  .price-card h3 {
    margin-bottom: 18px;
  }
  .price-card > button {
    padding-top: 13px;
    padding-bottom: 13px;
  }
  details {
    min-height: 76px;
    padding: 16px 0;
  }
  details p {
    line-height: 1.7;
  }
  summary > img {
    top: 29px;
  }
  .faq {
    padding-top: 40px;
    padding-bottom: 35px;
  }
  footer {
    padding-top: 22px;
    padding-bottom: 22px;
  }
}
/* Windows 主按钮沿用设计稿；未发布平台保留入口并明确禁用。 */
.download-windows {
  gap: 12px;
  border-radius: 7px;
}
.hero-actions .download-windows {
  min-height: 50px;
  padding: 14px 20px;
  font-size: clamp(14px, 1.5vw, 21px);
}
.download-windows img {
  width: 24px;
  height: 24px;
}
button.download-windows:disabled {
  opacity: 1;
  color: #79867f;
  background: #e7ece9;
  border-color: #e0e6e2;
  box-shadow: none;
  cursor: not-allowed;
}
button.download-windows:disabled img {
  filter: grayscale(1);
  opacity: 0.45;
}
.platform-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
.platform-download {
  flex: 1;
  min-width: 0;
  max-width: 160px;
  justify-content: flex-start;
  padding: 12px 16px;
  gap: 12px;
  min-height: 58px;
}
.platform-download span {
  display: grid;
  gap: 3px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
}
.platform-download small {
  font-size: 11px;
  font-weight: 400;
}
button.platform-download:disabled {
  opacity: 1;
  background: #f4f6f5;
  color: #88948d;
  border-color: #e1e7e3;
  box-shadow: none;
  cursor: not-allowed;
}
.platform-download:disabled img {
  filter: grayscale(1);
  opacity: 0.4;
}
@media (max-width: 800px) {
  .platform-download {
    flex: 1;
    max-width: 180px;
  }
  .hero-actions .download-windows {
    padding: 14px 16px;
    font-size: 14px;
  }
}

/* Mitchell：动效只呈现状态，不等待动画再执行提交、支付或导航。 */
@media (prefers-reduced-motion: no-preference) {
  button:not(:disabled),
  a {
    transition:
      transform 120ms cubic-bezier(0.23, 1, 0.32, 1),
      background-color 160ms ease,
      border-color 160ms ease;
  }
  button:not(:disabled):active:not(:focus-visible),
  a:active:not(:focus-visible) {
    transform: scale(0.975);
  }
  dialog[open],
  .modal {
    animation: litefold-panel-in 200ms cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: center;
  }
  .toast:not([hidden]) {
    animation: litefold-notice-in 160ms ease-out;
  }
  details summary img {
    transition: transform 160ms ease-out;
  }
}
@keyframes litefold-panel-in {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes litefold-notice-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
button:focus-visible,
a:focus-visible {
  transition: none;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

html[data-input="keyboard"] dialog,
html[data-input="keyboard"] .modal,
html[data-input="keyboard"] .toast {
  animation: none;
}
