:root {
  --ink: #172126;
  --paper: #f8fbfa;
  --white: #ffffff;
  --teal: #0f9f95;
  --teal-dark: #08736d;
  --coral: #ff5d5d;
  --yellow: #ffd45a;
  --line: #cbd9d6;
  --muted: #5f6f72;
  --shadow: 0 16px 36px rgba(23, 33, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 8px 12px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--ink);
  background: rgba(248, 251, 250, 0.96);
  backdrop-filter: blur(12px);
}

.nav-wrap,
.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

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

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

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  position: relative;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a:not(.download-button)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 3px;
  background: var(--coral);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 2px solid var(--ink);
  background: var(--white);
  cursor: pointer;
}

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

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

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

.download-button.secondary,
.guide-button {
  color: var(--ink);
  background: var(--yellow);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background-color: #dff7f3;
  background-image: radial-gradient(var(--teal) 1px, transparent 1px);
  background-size: 22px 22px;
}

.hero::before {
  position: absolute;
  top: 40px;
  right: -55px;
  width: 190px;
  height: 190px;
  border: 3px solid var(--ink);
  background: var(--yellow);
  content: "";
  transform: rotate(12deg);
}

.hero-grid {
  position: relative;
  display: grid;
  min-height: 650px;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 72px;
  padding: 70px 0 64px;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 10px;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: var(--yellow);
  font-size: 13px;
  font-weight: 900;
}

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

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

h1 {
  max-width: 700px;
  margin-bottom: 20px;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
}

.hero-copy > p {
  max-width: 620px;
  color: #34484b;
  font-size: 18px;
}

.hero-copy,
.phone-stage,
.page-hero .container {
  min-width: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.hero-facts {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-facts li {
  padding: 6px 10px;
  border-left: 4px solid var(--teal);
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.phone-stage {
  position: relative;
  min-height: 520px;
}

.phone-stage::before,
.phone-stage::after {
  position: absolute;
  border: 2px solid var(--ink);
  content: "";
}

.phone-stage::before {
  inset: 45px 10px 20px 75px;
  background: var(--teal);
  transform: rotate(5deg);
}

.phone-stage::after {
  top: 12px;
  right: 26px;
  width: 90px;
  height: 45px;
  background: var(--coral);
  transform: rotate(-7deg);
}

.phone-stage img {
  position: relative;
  z-index: 2;
  width: min(100%, 340px);
  max-width: 400px;
  max-height: 520px;
  margin: 0 auto;
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 12px 12px 0 var(--ink);
  object-fit: cover;
  object-position: top;
}

.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 46px);
}

.text-link {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

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

.feature-card,
.quote-card,
.step-card {
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--ink);
}

.feature-card {
  min-height: 260px;
  padding: 26px;
}

.feature-card:nth-child(2) {
  background: #fff6d8;
}

.feature-card:nth-child(3) {
  background: #e7f8f6;
}

.feature-card:nth-child(4) {
  background: #fff0ef;
}

.feature-number {
  display: block;
  color: var(--coral);
  font-size: 34px;
  font-weight: 900;
}

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

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

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

.gallery-strip .section-title-row {
  border-bottom: 1px solid #435155;
  padding-bottom: 24px;
}

.gallery-strip .text-link {
  color: var(--yellow);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.shot {
  margin: 0;
}

.shot img {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 9 / 16;
  border: 2px solid #758083;
  border-radius: 12px;
  background: #253034;
  object-fit: cover;
  object-position: top;
}

.shot figcaption {
  padding-top: 12px;
  color: #dce5e3;
  font-size: 14px;
}

.deep-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.deep-panel {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  padding: 38px;
  border: 2px solid var(--ink);
  background: var(--white);
}

.deep-panel:first-child {
  background: var(--teal);
  color: var(--white);
}

.deep-panel::after {
  position: absolute;
  right: -34px;
  bottom: -50px;
  color: rgba(23, 33, 38, 0.13);
  content: attr(data-mark);
  font-size: 150px;
  font-weight: 900;
  line-height: 1;
}

.deep-panel h3 {
  max-width: 380px;
  font-size: 31px;
}

.deep-panel p,
.deep-panel ul {
  position: relative;
  z-index: 1;
  max-width: 460px;
}

.deep-panel ul {
  padding-left: 20px;
}

.deep-panel .text-link {
  position: relative;
  z-index: 1;
}

.deep-panel:first-child .text-link {
  color: var(--yellow);
}

.trust-band {
  background: var(--yellow);
}

.trust-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 60px;
}

.trust-copy h2 {
  margin-bottom: 22px;
}

.quote-grid {
  display: grid;
  gap: 18px;
}

.quote-card {
  padding: 22px 24px;
}

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

.quote-card cite {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.faq-list {
  border-top: 2px solid var(--ink);
}

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

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 4px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-question span:last-child {
  color: var(--coral);
  font-size: 24px;
}

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

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

.final-cta {
  padding: 72px 0;
  color: var(--white);
  background: var(--teal-dark);
  text-align: center;
}

.final-cta h2 {
  margin-bottom: 14px;
}

.final-cta p {
  max-width: 620px;
  margin: 0 auto 25px;
}

.site-footer {
  padding: 44px 0 24px;
  color: #dbe5e3;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  padding-bottom: 30px;
}

.footer-brand {
  margin-bottom: 14px;
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: flex-end;
  gap: 14px 24px;
}

.footer-links a:hover {
  color: var(--yellow);
}

.disclaimer {
  padding-top: 22px;
  border-top: 1px solid #435155;
  color: #aab8b8;
  font-size: 13px;
}

.copyright {
  margin-bottom: 0;
  color: #829293;
  font-size: 13px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 70px;
  border-bottom: 2px solid var(--ink);
  background: #dff7f3;
}

.page-hero::after {
  position: absolute;
  right: 7%;
  bottom: -74px;
  width: 220px;
  height: 220px;
  border: 3px solid var(--ink);
  background: var(--yellow);
  content: "";
  transform: rotate(18deg);
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 880px;
  font-size: clamp(38px, 5vw, 62px);
}

.page-hero p {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-bottom: 0;
  color: #34484b;
  font-size: 18px;
}

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

.toc {
  position: sticky;
  top: 98px;
  padding: 20px;
  border-left: 4px solid var(--coral);
  background: #eef5f3;
}

.toc strong {
  display: block;
  margin-bottom: 10px;
}

.toc a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 14px;
}

.toc a:hover {
  color: var(--teal-dark);
}

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

.article-section {
  padding: 0 0 58px;
  scroll-margin-top: 100px;
}

.article-section + .article-section {
  padding-top: 58px;
  border-top: 1px solid var(--line);
}

.article-section h2 {
  margin-bottom: 24px;
  font-size: 34px;
}

.article-section h3 {
  margin: 28px 0 12px;
  font-size: 22px;
}

.article-section p,
.article-section li {
  color: #3f5053;
}

.article-section a:not(.download-button) {
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.step-list {
  display: grid;
  gap: 22px;
  counter-reset: steps;
}

.step-card {
  position: relative;
  padding: 28px 30px 28px 88px;
  counter-increment: steps;
}

.step-card::before {
  position: absolute;
  top: 28px;
  left: 25px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--ink);
  color: var(--white);
  background: var(--teal);
  content: counter(steps);
  font-size: 20px;
  font-weight: 900;
}

.step-card h3 {
  margin: 0 0 8px;
}

.step-card p {
  margin-bottom: 0;
}

.notice {
  margin: 24px 0;
  padding: 20px 24px;
  border: 2px solid var(--ink);
  border-left: 10px solid var(--coral);
  background: #fff6d8;
}

.check-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 9px 0 9px 32px;
}

.check-list li::before {
  position: absolute;
  top: 9px;
  left: 0;
  color: var(--teal);
  content: "✓";
  font-size: 20px;
  font-weight: 900;
}

.article-shot {
  width: min(100%, 360px);
  max-width: 400px;
  margin: 28px auto;
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 8px 8px 0 var(--ink);
}

.settings-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.settings-table th,
.settings-table td {
  padding: 15px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.settings-table th {
  color: var(--white);
  background: var(--teal-dark);
}

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

.related-links a {
  padding: 20px;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  text-decoration: none !important;
}

@media (max-width: 920px) {
  .feature-grid,
  .screenshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-grid {
    gap: 35px;
  }

  .phone-stage {
    min-height: auto;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 720px) {
  .nav-wrap,
  .container {
    width: min(calc(100% - 28px), 1160px);
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 74px;
    right: 0;
    left: 0;
    display: none;
    padding: 24px 20px 30px;
    border-bottom: 2px solid var(--ink);
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

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

  .nav-links a {
    text-align: center;
  }

  .hero-grid {
    min-height: auto;
    padding: 54px 0;
  }

  .hero::before,
  .page-hero::after {
    opacity: 0.28;
  }

  h1 {
    font-size: 38px;
  }

  .page-hero h1 {
    font-size: 34px;
    word-break: break-word;
  }

  .hero-copy > p,
  .page-hero p {
    overflow-wrap: anywhere;
  }

  .section {
    padding: 64px 0;
  }

  .section-title-row {
    align-items: start;
    flex-direction: column;
  }

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

  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .deep-panel {
    min-height: 320px;
    padding: 28px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .step-card {
    padding: 80px 22px 24px;
  }

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

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

@media (max-width: 420px) {
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .shot img {
    width: min(100%, 330px);
    margin: 0 auto;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .download-button,
  .hero-actions .guide-button {
    width: 100%;
  }
}

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

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