:root {
  --paper: #fffdfb;
  --cream: #fff8f2;
  --ink: #252329;
  --muted: #69646c;
  --line: #252329;
  --pink: #e9546b;
  --coral: #ff8b72;
  --teal: #1f8a85;
  --yellow: #ffd66b;
  --white: #ffffff;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-small: 3px 3px 0 var(--ink);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 72px;
  background: rgba(255, 253, 251, 0.96);
  border-bottom: 2px solid var(--ink);
  backdrop-filter: blur(10px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 900;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a:not(.download-button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 3px;
  background: var(--pink);
  transition: right 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  right: 0;
}

.download-button,
.primary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  color: var(--white);
  background: var(--pink);
  border: 2px solid var(--ink);
  border-radius: 5px;
  box-shadow: var(--shadow-small);
  font-weight: 900;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.download-button:hover,
.primary-button:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.secondary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 5px;
  font-weight: 900;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 5px;
  place-items: center;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  border-bottom: 2px solid var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 34%;
  height: 100%;
  background-color: var(--coral);
  opacity: 0.16;
  border-left: 2px solid var(--ink);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: 72px;
  min-height: 620px;
  padding-block: 60px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 18px;
  padding: 3px 11px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 950;
}

.hero-copy > p {
  max-width: 630px;
  margin-bottom: 26px;
  color: #4b474e;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.hero-notes li::before {
  content: "✓";
  margin-right: 6px;
  color: var(--teal);
  font-weight: 900;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 480px;
}

.phone-frame {
  position: relative;
  z-index: 2;
  width: min(295px, 76vw);
  padding: 10px;
  background: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 26px;
  box-shadow: 18px 18px 0 var(--pink);
}

.phone-frame img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 16px;
}

.speech-tag {
  position: absolute;
  z-index: 3;
  top: 36px;
  right: 2px;
  max-width: 180px;
  padding: 10px 14px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 4px;
  box-shadow: var(--shadow-small);
  font-size: 14px;
  font-weight: 900;
  transform: rotate(3deg);
}

.trust-strip {
  background: var(--ink);
  color: var(--white);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 18px 0;
  list-style: none;
  text-align: center;
}

.trust-list li {
  padding: 3px 16px;
  border-right: 1px solid #68636c;
  font-weight: 800;
}

.trust-list li:last-child {
  border-right: 0;
}

.section {
  padding-block: 88px;
}

.section-alt {
  background: #f3fbfa;
  border-block: 2px solid var(--ink);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 38px;
}

.section-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 46px);
}

.section-link {
  flex: 0 0 auto;
  color: var(--pink);
  border-bottom: 2px solid currentColor;
  font-weight: 900;
}

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

.feature-card {
  min-height: 230px;
  padding: 24px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: var(--shadow-small);
}

.feature-card:nth-child(2) {
  border-top-color: var(--teal);
  border-top-width: 8px;
}

.feature-card:nth-child(3) {
  border-top-color: var(--coral);
  border-top-width: 8px;
}

.feature-card:nth-child(4) {
  border-top-color: var(--yellow);
  border-top-width: 8px;
}

.feature-index {
  display: block;
  margin-bottom: 30px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 900;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.preview-rail {
  display: grid;
  grid-auto-columns: minmax(250px, 320px);
  grid-auto-flow: column;
  gap: 24px;
  overflow-x: auto;
  padding: 8px 8px 24px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--pink) #f0e7e4;
}

.preview-item {
  scroll-snap-align: start;
}

.preview-item img {
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 0.56;
  object-fit: cover;
  object-position: top;
  border: 3px solid var(--ink);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.preview-item figcaption {
  margin-top: 18px;
  padding-left: 2px;
  font-size: 15px;
  font-weight: 800;
}

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

.path-card {
  position: relative;
  padding: 30px 28px;
  border-left: 5px solid var(--pink);
  background: var(--cream);
}

.path-card:nth-child(2) {
  border-left-color: var(--teal);
}

.path-card:nth-child(3) {
  border-left-color: var(--coral);
}

.path-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

.path-card p {
  margin-bottom: 18px;
  color: var(--muted);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.quote-card {
  margin: 0;
  padding: 26px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 6px;
}

.quote-card blockquote {
  margin: 0 0 20px;
  font-size: 17px;
  font-weight: 700;
}

.quote-card figcaption {
  color: var(--muted);
  font-size: 14px;
}

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

.faq-list details {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 5px;
}

.faq-list summary {
  position: relative;
  padding: 18px 54px 18px 20px;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--pink);
  border-radius: 50%;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.cta-band {
  padding-block: 56px;
  background: var(--pink);
  color: var(--white);
  border-block: 2px solid var(--ink);
}

.cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-grid h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 4vw, 42px);
}

.cta-grid p {
  margin-bottom: 0;
}

.cta-grid .download-button {
  flex: 0 0 auto;
  color: var(--ink);
  background: var(--yellow);
}

.page-hero {
  padding-block: 74px 64px;
  background: var(--cream);
  border-bottom: 2px solid var(--ink);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 56px;
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(36px, 5vw, 58px);
}

.page-hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.page-hero-image {
  width: 100%;
  max-width: 260px;
  height: auto;
  justify-self: center;
  border: 3px solid var(--ink);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: start;
  gap: 64px;
}

.article-content h2 {
  margin: 58px 0 22px;
  font-size: 32px;
}

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

.article-content h3 {
  margin: 30px 0 12px;
  font-size: 22px;
}

.article-content p,
.article-content li {
  color: #4f4a52;
}

.article-content ul,
.article-content ol {
  padding-left: 22px;
}

.steps {
  display: grid;
  gap: 28px;
  counter-reset: guide-step;
}

.step-item {
  position: relative;
  padding: 28px 28px 28px 92px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 6px;
  counter-increment: guide-step;
}

.step-item::before {
  content: counter(guide-step, decimal-leading-zero);
  position: absolute;
  top: 28px;
  left: 26px;
  color: var(--pink);
  font-size: 26px;
  font-weight: 950;
}

.step-item h3 {
  margin-top: 0;
}

.step-item p:last-child {
  margin-bottom: 0;
}

.notice {
  margin-block: 28px;
  padding: 22px 24px;
  background: #f3fbfa;
  border-left: 5px solid var(--teal);
}

.notice strong {
  display: block;
  margin-bottom: 6px;
}

.sidebar {
  position: sticky;
  top: 96px;
  padding: 22px;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: var(--shadow-small);
}

.sidebar strong {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
}

.sidebar a:not(.download-button) {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #ded4d0;
  font-size: 14px;
  font-weight: 700;
}

.sidebar .download-button {
  width: 100%;
  margin-top: 18px;
}

.setting-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.setting-table th,
.setting-table td {
  padding: 14px 16px;
  border: 1px solid var(--ink);
  text-align: left;
  vertical-align: top;
}

.setting-table th {
  background: var(--yellow);
}

.related-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.related-links a {
  padding: 22px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-weight: 900;
}

.related-links a:hover {
  background: var(--cream);
}

.site-footer {
  padding-block: 46px 24px;
  color: #ddd8de;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  padding-bottom: 34px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--white);
  font-size: 20px;
  font-weight: 900;
}

.footer-brand img {
  width: 42px;
  height: 42px;
}

.site-footer p {
  max-width: 720px;
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  align-content: start;
}

.footer-links a {
  color: var(--white);
  font-weight: 700;
}

.copyright {
  padding-top: 20px;
  border-top: 1px solid #555159;
  color: #aaa4ad;
  font-size: 13px;
}

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

  .site-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    padding: 20px;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
  }

  .site-nav.is-open {
    display: grid;
    gap: 10px;
  }

  .site-nav a:not(.download-button) {
    padding: 12px 4px;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.8fr;
    gap: 34px;
    min-height: 570px;
  }

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

  .path-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    order: -1;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand {
    font-size: 18px;
  }

  .hero::before {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: auto;
    padding-block: 44px 56px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy > p,
  .page-hero p {
    font-size: 16px;
  }

  .hero-visual {
    min-height: 410px;
  }

  .phone-frame {
    width: min(245px, 75vw);
    box-shadow: 12px 12px 0 var(--pink);
  }

  .speech-tag {
    top: 8px;
    right: 0;
  }

  .trust-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .trust-list li {
    border-right: 0;
    border-bottom: 1px solid #68636c;
  }

  .trust-list li:last-child {
    border-bottom: 0;
  }

  .section {
    padding-block: 62px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    margin-bottom: 28px;
  }

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

  .preview-rail {
    grid-auto-columns: minmax(230px, 78vw);
  }

  .cta-grid,
  .footer-grid {
    align-items: start;
    flex-direction: column;
  }

  .cta-grid .download-button {
    width: 100%;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-image {
    display: none;
  }

  .step-item {
    padding: 72px 22px 24px;
  }

  .step-item::before {
    top: 20px;
    left: 22px;
  }

  .setting-table {
    font-size: 14px;
  }

  .setting-table th,
  .setting-table td {
    padding: 10px;
  }

  .related-links,
  .footer-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
