:root {
  --ink: #1c2422;
  --muted: #5e6b67;
  --line: #d6e1dd;
  --mint: #eaf5f1;
  --green: #07856f;
  --green-dark: #056453;
  --accent: #a44879;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, Helvetica, sans-serif;
  line-height: 1.7;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.header-shell,
.hero-shell,
.content-shell,
.page-shell,
.manual-shell,
.faq-shell,
.footer-shell {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}
.header-shell { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 800; }
.brand img { width: 40px; height: 40px; border-radius: 5px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 9px 14px; border-radius: 4px; color: #45524e; }
.nav-links a.active, .nav-links a:hover { color: var(--green-dark); background: var(--mint); }
.nav-links .download-link { margin-left: 8px; color: #ffffff; background: var(--green); }
.nav-links .download-link:hover { color: #ffffff; background: var(--green-dark); }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 4px; background: #fff; font-size: 22px; }

.hero { border-bottom: 1px solid var(--line); background: #f7faf9; }
.hero-shell { min-height: 600px; display: grid; grid-template-columns: 0.92fr 1.08fr; align-items: center; gap: 72px; padding: 44px 0; }
.kicker, .section-title > span, .preview-copy > span, .safety-layout > div > span, .faq-grid > div > span, .page-shell > span, .manual article section > span, .faq-side > span, .cta span {
  color: var(--green-dark); font-size: 12px; font-weight: 850; letter-spacing: 0;
}
.hero h1 { margin: 14px 0 18px; max-width: 520px; font-size: clamp(40px, 4.2vw, 57px); line-height: 1.16; letter-spacing: 0; }
.keep { white-space: nowrap; }
.hero-copy > p { max-width: 520px; margin: 0; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; border: 1px solid transparent; border-radius: 4px; font-weight: 750; }
.button.primary { color: #fff; background: var(--green); }
.button.primary:hover { background: var(--green-dark); }
.button.outline { border-color: var(--line); background: #fff; }
.button.light { color: var(--green-dark); background: #fff; }
.status-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; color: var(--muted); font-size: 13px; }
.status-row span { display: flex; align-items: center; gap: 7px; }
.status-row i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

.console { min-height: 470px; border: 1px solid #bad4cc; background: #fff; box-shadow: 0 22px 50px rgba(17, 72, 60, 0.11); }
.console-head, .console-foot { min-height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; background: var(--green); color: #fff; font-size: 12px; font-weight: 800; }
.console-head span:last-child { color: #d2fff4; }
.console-body { min-height: 372px; display: grid; grid-template-columns: 84px 1fr 0.78fr; align-items: center; gap: 26px; padding: 24px; background-image: linear-gradient(#e3efeb 1px, transparent 1px), linear-gradient(90deg, #e3efeb 1px, transparent 1px); background-size: 36px 36px; }
.console-nav { align-self: stretch; display: grid; align-content: center; gap: 17px; border-right: 1px solid #bed5ce; color: var(--muted); font-size: 12px; }
.console-nav strong { color: var(--accent); font-size: 15px; }
.console figure { margin: 0; display: flex; justify-content: center; }
.console figure img { width: auto; max-width: 400px; height: 300px; object-fit: contain; border: 5px solid #fff; box-shadow: 0 10px 28px rgba(23, 63, 54, 0.14); }
.console .screen-side img { height: 250px; }
.console-foot { min-height: 44px; color: #325e55; background: var(--mint); }

.prep-band { border-bottom: 1px solid var(--line); background: #fff; }
.prep-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.prep-grid > div { min-height: 118px; display: grid; align-content: center; padding: 18px 24px; border-right: 1px solid var(--line); }
.prep-grid > div:first-child { border-left: 1px solid var(--line); }
.prep-grid span { color: var(--accent); font-size: 12px; font-weight: 800; }
.prep-grid strong, .prep-grid small { display: block; }
.prep-grid small { color: var(--muted); }

.section { padding: 82px 0; }
.section-title { display: grid; grid-template-columns: 130px 1fr; align-items: end; margin-bottom: 32px; }
.section h2, .faq-side h2 { margin: 0; font-size: 34px; line-height: 1.25; letter-spacing: 0; }
.settings-section { background: var(--mint); }
.settings-matrix { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid #bed5ce; border-left: 1px solid #bed5ce; }
.settings-matrix article { position: relative; min-height: 210px; padding: 27px 70px 27px 27px; border-right: 1px solid #bed5ce; border-bottom: 1px solid #bed5ce; background: #fff; }
.settings-matrix b { color: var(--green-dark); font-size: 12px; }
.settings-matrix h3 { margin: 28px 0 8px; font-size: 21px; }
.settings-matrix p { margin: 0; color: var(--muted); }
.settings-matrix em { position: absolute; top: 28px; right: 24px; padding: 3px 8px; border: 1px solid var(--line); color: var(--accent); font-size: 12px; font-style: normal; }

.preview-layout { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 70px; align-items: center; }
.preview-copy h2 { margin: 10px 0 16px; font-size: 34px; }
.product-note { margin-bottom: 22px; color: var(--muted); }
.preview-copy a { color: var(--green-dark); font-weight: 750; }
.preview-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: end; }
.preview-stack figure { margin: 0; padding: 16px; border: 1px solid var(--line); background: #fff; }
.preview-stack img { width: auto; max-width: 400px; height: 290px; margin: 0 auto; object-fit: contain; }
.preview-stack figure:nth-child(2) { transform: translateY(-24px); border-top: 4px solid var(--green); }
.preview-stack figcaption { padding-top: 12px; color: var(--muted); font-size: 13px; text-align: center; }

.safety-section { background: #f7faf9; }
.safety-layout { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 70px; }
.safety-layout h2 { margin-top: 10px; }
.safety-list { border-top: 1px solid var(--line); }
.safety-list article { display: grid; grid-template-columns: 200px 1fr; gap: 30px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.safety-list p { margin: 0; color: var(--muted); }

.faq-preview { background: #fff; }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 70px; align-items: center; }
.faq-grid h2 { margin-top: 10px; }
.faq-grid p { margin: 0 0 22px; color: var(--muted); }

.cta { color: #fff; background: var(--green-dark); }
.cta-inner { min-height: 190px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta span { color: #aeeadd; }
.cta h2 { margin: 6px 0 0; font-size: 30px; }
footer { padding: 28px 0; border-top: 1px solid var(--line); background: #fff; }
.footer-shell { color: var(--muted); font-size: 13px; text-align: center; }
.footer-shell p { margin: 4px 0; }

.page-hero { border-bottom: 1px solid var(--line); background: var(--mint); }
.page-shell { max-width: 900px; padding: 72px 0 66px; }
.page-shell h1 { margin: 13px 0 18px; font-size: 45px; line-height: 1.24; }
.page-shell p { max-width: 760px; margin: 0; color: var(--muted); font-size: 17px; }
.manual, .faq-page { padding: 72px 0 90px; }
.manual-shell, .faq-shell { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 68px; align-items: start; }
.manual aside { position: sticky; top: 22px; display: grid; gap: 4px; padding: 22px; border: 1px solid var(--line); }
.manual aside strong { margin-bottom: 8px; }
.manual aside a { padding: 6px 0; color: var(--muted); }
.manual article { max-width: 800px; }
.manual article section { padding-bottom: 46px; margin-bottom: 46px; border-bottom: 1px solid var(--line); }
.manual h2 { margin: 8px 0 0; font-size: 31px; }
.manual p { color: var(--muted); }
.manual .button { margin-top: 14px; }
.guide-note { margin-top: 22px; padding: 18px 22px; border-left: 3px solid var(--accent); background: var(--mint); }
.guide-note p { margin: 4px 0 0; }

.faq-side { position: sticky; top: 22px; }
.faq-side h2 { margin-top: 10px; }
.faq-side p { color: var(--muted); }
.faq-side a { color: var(--green-dark); font-weight: 750; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 3px; font-weight: 750; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { color: var(--green); font-size: 24px; }
.accordion details p { margin: 0; padding: 0 46px 22px 3px; color: var(--muted); }

@media (max-width: 900px) {
  .hero-shell { grid-template-columns: 1fr 1fr; gap: 34px; }
  .console-body { grid-template-columns: 65px 1fr; gap: 14px; }
  .screen-side { display: none !important; }
  .settings-matrix { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .header-shell, .hero-shell, .content-shell, .page-shell, .manual-shell, .faq-shell, .footer-shell { width: min(100% - 32px, 1160px); }
  .header-shell { min-height: 62px; }
  .menu-button { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links { position: absolute; top: 62px; right: 16px; left: 16px; display: none; padding: 10px; border: 1px solid var(--line); background: #fff; box-shadow: 0 18px 38px rgba(23, 63, 54, 0.14); }
  .nav-links.open { display: grid; }
  .nav-links .download-link { margin-left: 0; text-align: center; }
  .hero-shell { min-height: auto; grid-template-columns: 1fr; gap: 24px; padding: 32px 0 27px; }
  .hero h1 { margin-top: 10px; font-size: 34px; }
  .hero-copy > p { font-size: 15px; }
  .hero-actions { margin-top: 20px; }
  .status-row { margin-top: 20px; gap: 12px; }
  .console { min-height: 265px; }
  .console-head, .console-foot { min-height: 36px; }
  .console-body { min-height: 205px; grid-template-columns: 54px 1fr 0.75fr; padding: 13px; background-size: 26px 26px; }
  .screen-side { display: flex !important; }
  .console figure img { height: 190px; }
  .console .screen-side img { height: 155px; }
  .console-nav { gap: 8px; }
  .prep-grid { grid-template-columns: repeat(2, 1fr); }
  .prep-grid > div { min-height: 94px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .section { padding: 58px 0; }
  .section-title { grid-template-columns: 1fr; gap: 8px; }
  .section h2, .faq-side h2 { font-size: 29px; }
  .settings-matrix article { min-height: auto; }
  .preview-layout, .safety-layout, .faq-grid, .manual-shell, .faq-shell { grid-template-columns: 1fr; gap: 30px; }
  .preview-stack { gap: 8px; }
  .preview-stack figure { padding: 7px; }
  .preview-stack img { height: 205px; }
  .safety-list article { grid-template-columns: 1fr; gap: 6px; }
  .cta-inner { min-height: 205px; align-items: flex-start; flex-direction: column; justify-content: center; }
  .page-shell { padding: 54px 0 48px; }
  .page-shell h1 { font-size: 35px; }
  .manual, .faq-page { padding: 50px 0 65px; }
  .manual aside { display: none; }
  .faq-side { position: static; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 31px; }
  .hero-actions .button { flex: 1 1 140px; }
  .status-row { font-size: 12px; }
  .console-body { grid-template-columns: 44px 1fr 0.66fr; gap: 8px; padding: 9px; }
  .console figure img { height: 178px; }
  .console .screen-side img { height: 145px; }
  .preview-stack img { height: 180px; }
}
