:root {
  --chestnut: #6d2e2e;
  --chestnut-dark: #3c1919;
  --apricot: #f0a44b;
  --cream: #fff8ec;
  --paper: #fffdf8;
  --ink: #211b19;
  --muted: #6f625d;
  --green: #2f6556;
  --line: #d9cfc2;
  --shadow: 8px 8px 0 rgba(60, 25, 25, 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;
  font-size: 16px;
  line-height: 1.75;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 1000;
  padding: 10px 16px;
  color: #fff;
  background: var(--green);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--ink);
  background: rgba(255, 253, 248, 0.97);
}

.nav-wrap {
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  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;
  color: var(--chestnut-dark);
}

.brand img {
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 6px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--chestnut);
  box-shadow: inset 0 -3px 0 var(--apricot);
}

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

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

.button.secondary {
  color: var(--ink);
  background: var(--cream);
}

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

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

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 72px));
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: var(--cream);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  background: var(--apricot);
  border-left: 2px solid var(--ink);
  transform: skewX(-5deg) translateX(35px);
  transform-origin: top;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  min-height: inherit;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: 60px;
  padding: 54px 0 58px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--chestnut);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px 0 0;
  color: #4e413d;
  font-size: 18px;
}

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

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

.microfacts li::before {
  content: "●";
  margin-right: 8px;
  color: var(--green);
}

.hero-visual {
  position: relative;
  height: 540px;
}

.phone-shot {
  position: absolute;
  width: min(236px, 52%);
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border: 3px solid var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.phone-shot.primary {
  top: 8px;
  right: 8%;
  z-index: 2;
  transform: rotate(2deg);
}

.phone-shot.secondary {
  right: 46%;
  bottom: 10px;
  transform: rotate(-5deg);
}

.comic-burst {
  position: absolute;
  right: 0;
  bottom: 46px;
  z-index: 3;
  width: 132px;
  padding: 18px 12px;
  border: 3px solid var(--ink);
  color: #fff;
  background: var(--green);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  transform: rotate(4deg);
}

.ticker {
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  color: #fff;
  background: var(--chestnut-dark);
}

.ticker-inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 6px 20px;
  font-size: 14px;
  font-weight: 800;
}

.ticker span::before {
  content: "◆";
  margin-right: 10px;
  color: var(--apricot);
}

.section {
  padding: 88px 0;
}

.section.alt {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--cream);
}

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

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section h2,
.inner-hero h1 {
  margin: 0;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.18;
  letter-spacing: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
}

.feature-item {
  min-height: 250px;
  padding: 30px 24px;
  border-right: 2px solid var(--ink);
}

.feature-item:last-child {
  border-right: 0;
}

.feature-num {
  display: block;
  color: var(--apricot);
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.feature-item h3 {
  margin: 48px 0 10px;
  font-size: 20px;
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: start;
}

.screen-card {
  margin: 0;
}

.screen-card:nth-child(even) {
  margin-top: 42px;
}

.screen-frame {
  padding: 10px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: #fff;
  box-shadow: 6px 6px 0 rgba(33, 27, 25, 0.18);
}

.screen-frame img {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  border-radius: 3px;
}

.screen-card figcaption {
  padding: 16px 4px 0;
  font-weight: 800;
}

.screen-card small {
  display: block;
  color: var(--muted);
  font-weight: 400;
}

.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.path-panel {
  min-height: 320px;
  padding: 34px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.path-panel.dark {
  color: #fff;
  background: var(--green);
}

.path-panel .tag {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid currentColor;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
}

.path-panel h3 {
  margin: 52px 0 12px;
  font-size: 30px;
}

.path-panel p {
  max-width: 500px;
  margin: 0 0 22px;
  color: var(--muted);
}

.path-panel.dark p {
  color: #e5f2ec;
}

.text-link {
  display: inline-block;
  border-bottom: 2px solid currentColor;
  font-weight: 900;
}

.proof-band {
  padding: 48px 0;
  color: #fff;
  background: var(--chestnut);
}

.proof-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr 1.5fr;
  gap: 40px;
  align-items: center;
}

.rating strong {
  display: block;
  color: var(--apricot);
  font-size: 58px;
  line-height: 1;
}

.rating span {
  font-size: 14px;
}

.quote {
  margin: 0;
  padding-left: 24px;
  border-left: 2px solid var(--apricot);
  font-size: 17px;
}

.quote cite {
  display: block;
  margin-top: 10px;
  color: #f7dcb7;
  font-size: 13px;
  font-style: normal;
}

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

.faq-item {
  border-bottom: 2px solid var(--ink);
}

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

.faq-question::after {
  content: "+";
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 21px;
  line-height: 25px;
  text-align: center;
}

.faq-question[aria-expanded="true"]::after {
  content: "−";
}

.faq-answer {
  padding: 0 54px 20px 8px;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.download-band {
  padding: 54px 0;
  border-top: 2px solid var(--ink);
  background: var(--apricot);
}

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

.download-band h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.2;
}

.inner-hero {
  padding: 86px 0 70px;
  border-bottom: 2px solid var(--ink);
  background: var(--cream);
}

.inner-hero .container {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  gap: 50px;
  align-items: end;
}

.inner-hero p {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-index {
  justify-self: end;
  color: var(--apricot);
  font-size: 96px;
  font-weight: 900;
  line-height: 0.8;
}

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

.article-nav {
  position: sticky;
  top: 98px;
  padding: 22px;
  border: 2px solid var(--ink);
  background: var(--cream);
  box-shadow: 5px 5px 0 rgba(33, 27, 25, 0.14);
}

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

.article-nav a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.article-nav a:hover {
  color: var(--chestnut);
}

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

.content-block {
  margin-bottom: 68px;
  scroll-margin-top: 100px;
}

.content-block h2 {
  margin-bottom: 22px;
  font-size: 32px;
}

.content-block h3 {
  margin: 30px 0 10px;
  font-size: 22px;
}

.content-block p {
  margin: 0 0 18px;
  color: #4f4541;
}

.step-list {
  display: grid;
  gap: 18px;
}

.step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: #fff;
}

.step-number {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: #fff;
  background: var(--chestnut);
  font-size: 22px;
  font-weight: 900;
}

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

.step p {
  margin: 0;
}

.note {
  padding: 20px 22px;
  border-left: 5px solid var(--apricot);
  background: var(--cream);
}

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

.detail-item {
  padding: 26px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: #fff;
}

.detail-item h3 {
  margin: 0 0 10px;
}

.detail-item p {
  margin: 0;
}

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

.check-list li {
  margin-bottom: 10px;
  padding-left: 28px;
  position: relative;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.related {
  padding: 30px;
  border: 2px solid var(--ink);
  color: #fff;
  background: var(--green);
}

.related h2 {
  margin-bottom: 12px;
}

.related a {
  color: #fff;
  border-bottom: 2px solid var(--apricot);
  font-weight: 900;
}

.site-footer {
  padding: 52px 0 28px;
  color: #eee3da;
  background: var(--chestnut-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.8fr;
  gap: 48px;
  padding-bottom: 34px;
}

.footer-brand {
  color: #fff;
}

.site-footer h2,
.site-footer h3 {
  margin-top: 0;
  color: #fff;
}

.site-footer p {
  margin: 8px 0 0;
  color: #cdbeb5;
  font-size: 14px;
}

.footer-links a {
  display: block;
  padding: 4px 0;
  font-size: 14px;
}

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

.copyright {
  margin-top: 8px;
  color: #9f8e88;
  font-size: 12px;
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  color: #fff;
  background: var(--green);
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

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

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

  .site-nav.open {
    display: grid;
  }

  .nav-wrap > .download-button {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr 0.82fr;
    gap: 24px;
  }

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

  .feature-item:nth-child(2) {
    border-right: 0;
  }

  .feature-item:nth-child(-n + 2) {
    border-bottom: 2px solid var(--ink);
  }

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

  .proof-grid {
    grid-template-columns: 0.7fr 1fr;
  }

  .quote:last-child {
    grid-column: 1 / -1;
  }

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

  .article-nav {
    position: static;
  }
}

@media (max-width: 680px) {
  .nav-wrap,
  .container,
  .hero-inner {
    width: min(100% - 28px, 1120px);
  }

  .brand {
    font-size: 18px;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 41%;
    border-top: 2px solid var(--ink);
    border-left: 0;
    transform: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 44px 0 24px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-visual {
    height: 430px;
  }

  .phone-shot {
    width: 46%;
  }

  .phone-shot.primary {
    right: 6%;
  }

  .phone-shot.secondary {
    right: 50%;
  }

  .comic-burst {
    width: 104px;
    font-size: 14px;
  }

  .ticker-inner {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
  }

  .section {
    padding: 64px 0;
  }

  .feature-grid,
  .path-grid,
  .detail-grid,
  .proof-grid,
  .inner-hero .container,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .feature-item:last-child {
    border-bottom: 0;
  }

  .feature-item h3 {
    margin-top: 24px;
  }

  .gallery-grid {
    gap: 14px;
  }

  .screen-card:nth-child(even) {
    margin-top: 24px;
  }

  .screen-card figcaption {
    font-size: 14px;
  }

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

  .inner-hero {
    padding: 60px 0 50px;
  }

  .hero-index {
    display: none;
  }

  .step {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 16px;
  }

  .step-number {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
