:root {
  --ink: #17201f;
  --muted: #566260;
  --paper: #f7f9f8;
  --white: #ffffff;
  --line: #d9e2df;
  --teal: #087f73;
  --teal-dark: #075e57;
  --coral: #e8553d;
  --yellow: #f0c84b;
  --green-soft: #dff4ef;
  --yellow-soft: #fff4c7;
  --shadow: 0 18px 42px rgba(23, 32, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, Helvetica, sans-serif;
  line-height: 1.75;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  border-bottom: 1px solid rgba(23, 32, 31, 0.12);
  background: rgba(247, 249, 248, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner,
.hero-inner,
.section-inner,
.footer-inner,
.subhero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  line-height: 1;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 6px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 700;
}

.nav a:not(.download-link) {
  padding: 22px 0;
  border-bottom: 2px solid transparent;
}

.nav a[aria-current="page"] {
  color: var(--teal);
  border-color: var(--teal);
}

.download-link,
.button-primary,
.button-secondary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-weight: 800;
  line-height: 1.2;
}

.download-link,
.button-primary {
  color: var(--white);
  background: var(--coral);
  border-color: var(--coral);
}

.button-secondary {
  background: var(--white);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 46px 0 38px;
  background: #f7f9f8;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 42%;
  background: #e8f5f2;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(440px, 0.96fr);
  align-items: center;
  gap: 64px;
}

.eyebrow,
.step-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  color: var(--teal-dark);
  background: var(--yellow-soft);
  border-left: 4px solid var(--yellow);
  font-size: 13px;
  font-weight: 800;
}

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

h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: 0;
}

h1 {
  max-width: 600px;
  margin: 18px 0 18px;
  font-size: 52px;
  font-weight: 900;
}

h2 {
  margin-bottom: 0;
  font-size: 34px;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero-copy > p {
  max-width: 620px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 17px;
}

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

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

.hero-meta div {
  padding-top: 10px;
  border-top: 2px solid var(--ink);
}

.hero-meta strong,
.hero-meta span {
  display: block;
}

.hero-meta strong {
  font-size: 14px;
}

.hero-meta span {
  color: var(--muted);
  font-size: 12px;
}

.hero-media {
  min-width: 0;
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: center;
  gap: 18px;
}

.phone-stage {
  position: relative;
  width: min(270px, 100%);
  margin: 0 auto;
  padding: 13px;
  background: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.phone-stage::before {
  content: "设置视图";
  position: absolute;
  top: 18px;
  left: -34px;
  padding: 5px 10px;
  color: var(--white);
  background: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

.phone-stage img {
  width: 100%;
  max-width: 400px;
  border-radius: 2px;
}

.waypoint-strip {
  display: grid;
  gap: 10px;
}

.waypoint {
  min-height: 74px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
  border: 1px solid var(--ink);
  background: var(--white);
}

.waypoint:nth-child(2) {
  background: var(--yellow-soft);
}

.waypoint:nth-child(3) {
  color: var(--white);
  background: var(--teal);
}

.waypoint b {
  font-size: 13px;
}

.waypoint small {
  color: inherit;
  opacity: 0.75;
}

.section {
  padding: 82px 0;
}

.section-white {
  background: var(--white);
}

.section-dark {
  color: var(--white);
  background: var(--ink);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  padding-bottom: 15px;
  border-bottom: 2px solid currentColor;
}

.section-note {
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
  text-align: right;
}

.section-dark .section-note {
  color: #bdc8c6;
}

.settings-grid,
.feature-grid,
.link-grid {
  display: grid;
  gap: 18px;
}

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

.setting-cell {
  min-height: 154px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--white);
}

.setting-cell strong {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 18px;
}

.setting-cell p,
.feature-item p,
.link-item p {
  margin: 0;
  color: var(--muted);
}

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

.feature-item {
  min-height: 210px;
  padding: 26px;
  border-top: 5px solid var(--teal);
  background: #eef4f2;
}

.feature-item:nth-child(2n) {
  border-color: var(--coral);
  background: #fff0ec;
}

.feature-index {
  display: block;
  margin-bottom: 26px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

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

.gallery-item {
  min-width: 0;
  margin: 0;
}

.screen-frame {
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border: 1px solid #3d4947;
  background: #222c2a;
}

.screen-frame img {
  width: auto;
  max-width: 400px;
  max-height: 480px;
  object-fit: contain;
}

.gallery-item figcaption {
  padding-top: 14px;
  color: #d8e1df;
  font-size: 14px;
}

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

.link-item {
  min-height: 210px;
  padding: 30px;
  border: 2px solid var(--ink);
  background: var(--white);
}

.link-item a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--teal-dark);
  font-weight: 900;
  border-bottom: 2px solid var(--teal);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  color: var(--ink);
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  font-size: 20px;
  line-height: 1;
}

.faq-question[aria-expanded="true"]::after {
  content: "−";
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.faq-answer {
  display: none;
  max-width: 900px;
  padding: 0 44px 22px 0;
  color: var(--muted);
}

.faq-answer.is-open {
  display: block;
}

.download-band {
  padding: 56px 0;
  color: var(--white);
  background: var(--teal-dark);
}

.download-band .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.download-band h2 {
  margin-bottom: 8px;
}

.download-band p,
.download-copy {
  max-width: 720px;
  margin-bottom: 0;
  color: #cce3df;
}

.site-footer {
  padding: 32px 0;
  background: #111817;
}

.footer-inner {
  color: #bdc8c6;
  font-size: 13px;
  text-align: center;
}

.footer-inner p {
  margin: 5px auto;
}

.subhero {
  padding: 58px 0 50px;
  color: var(--white);
  background: var(--ink);
}

.subhero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: end;
  gap: 48px;
}

.subhero h1 {
  margin-bottom: 14px;
  font-size: 44px;
}

.subhero p {
  max-width: 760px;
  margin-bottom: 0;
  color: #c8d2d0;
}

.subhero-marker {
  padding: 18px;
  color: var(--ink);
  background: var(--yellow);
  border-left: 12px solid var(--coral);
  font-weight: 900;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: start;
  gap: 54px;
}

.article-main {
  min-width: 0;
}

.article-main h2 {
  margin: 50px 0 18px;
  padding-top: 8px;
  border-top: 3px solid var(--teal);
  font-size: 28px;
}

.article-main h2:first-child {
  margin-top: 0;
}

.article-main h3 {
  margin-top: 28px;
}

.article-main p,
.article-main li {
  color: #3d4947;
}

.article-main li + li {
  margin-top: 10px;
}

.aside-nav {
  position: sticky;
  top: 96px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--white);
}

.aside-nav strong,
.aside-nav a {
  display: block;
}

.aside-nav a {
  padding: 9px 0;
  color: var(--teal-dark);
  border-bottom: 1px solid var(--line);
}

.checklist {
  margin: 22px 0;
  padding: 20px 22px;
  background: var(--green-soft);
  border-left: 5px solid var(--teal);
}

.warning {
  margin: 22px 0;
  padding: 20px 22px;
  background: var(--yellow-soft);
  border-left: 5px solid var(--coral);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 65px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 24px 20px;
    background: var(--paper);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a:not(.download-link) {
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
  }

  .nav .download-link {
    margin-top: 18px;
  }

  .header-inner {
    min-height: 64px;
  }

  .hero {
    padding: 30px 0 24px;
  }

  .hero::after {
    inset: auto 0 0;
    width: 100%;
    height: 45%;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  h1 {
    max-width: 100%;
    margin: 12px 0;
    font-size: 36px;
  }

  .hero-copy > p {
    margin-bottom: 16px;
    font-size: 15px;
  }

  .hero-meta {
    display: none;
  }

  .hero-media {
    min-height: 350px;
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 10px;
  }

  .phone-stage {
    width: 168px;
    padding: 7px;
  }

  .phone-stage::before {
    left: -18px;
    top: 10px;
  }

  .waypoint {
    min-height: 64px;
    padding: 8px;
  }

  .section {
    padding: 58px 0;
  }

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

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

  .screen-frame {
    min-height: 450px;
  }

  .subhero-inner,
  .article-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .subhero-marker,
  .aside-nav {
    display: none;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .hero-inner,
  .section-inner,
  .footer-inner,
  .subhero-inner {
    width: min(100% - 28px, 1180px);
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  .button-primary,
  .button-secondary {
    min-width: 132px;
    padding: 10px 14px;
  }

  .hero-media {
    grid-template-columns: minmax(0, 1fr) 104px;
  }

  .waypoint b {
    font-size: 12px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .section-note {
    text-align: left;
  }

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

  .setting-cell,
  .feature-item,
  .link-item {
    min-height: 0;
  }

  .download-band .section-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .subhero {
    padding: 42px 0;
  }

  .subhero h1 {
    font-size: 34px;
  }
}

