:root {
  --ink: #17171b;
  --paper: #fffdf6;
  --paper-2: #f5f1e8;
  --yellow: #ffd23f;
  --teal: #2ec4b6;
  --coral: #ff5c5c;
  --blue: #247ba0;
  --muted: #64636b;
  --line: #d8d3c8;
  --white: #ffffff;
  --shadow: 6px 6px 0 var(--ink);
  --content: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  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;
}

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

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

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

button,
input {
  font: inherit;
}

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

.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: 50;
  border-bottom: 3px solid var(--ink);
  background: rgba(255, 253, 246, 0.96);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  width: min(var(--content), calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

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

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

.nav-menu > a:not(.download-btn) {
  position: relative;
  padding: 21px 0 18px;
}

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

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

.menu-toggle {
  display: none;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--yellow);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 3px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

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

.download-btn::after,
.primary-btn::after {
  content: "↓";
  margin-left: 8px;
  font-size: 19px;
  line-height: 1;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid var(--ink);
  font-weight: 900;
}

.text-link::after {
  content: "→";
  margin-left: 8px;
}

.hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
  background: var(--teal);
}

.hero::before {
  content: "JM";
  position: absolute;
  right: 3vw;
  bottom: -105px;
  color: rgba(255, 255, 255, 0.22);
  font-size: clamp(260px, 40vw, 560px);
  font-weight: 900;
  line-height: 0.8;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--content), calc(100% - 32px));
  min-height: 610px;
  margin: 0 auto;
  padding: 74px 0 56px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(610px, 58%);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 5px 11px;
  border: 2px solid var(--ink);
  background: var(--white);
  font-size: 13px;
  font-weight: 900;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 900;
}

h2 {
  margin-bottom: 30px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  font-weight: 900;
}

.hero-lead {
  max-width: 560px;
  margin: 0 0 28px;
  font-size: 19px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-note {
  margin: 20px 0 0;
  color: #123e3b;
  font-size: 14px;
  font-weight: 700;
}

.hero-stamp {
  display: inline-flex;
  width: 92px;
  height: 92px;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  transform: rotate(-8deg);
}

.hero-phone {
  position: absolute;
  right: 4%;
  bottom: 60px;
  width: min(310px, 31vw);
  padding: 12px;
  border: 5px solid var(--ink);
  border-radius: 28px;
  background: var(--ink);
  box-shadow: 12px 12px 0 rgba(23, 23, 27, 0.38);
  transform: rotate(5deg);
}

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

.ticker {
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
  background: var(--yellow);
}

.ticker-row {
  width: max-content;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
  animation: ticker 26s linear infinite;
}

.ticker-row span {
  margin: 0 26px;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

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

.section.alt {
  background: var(--paper-2);
}

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

.container {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
}

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

.section-heading h2 {
  margin-bottom: 0;
}

.index-number {
  flex: 0 0 auto;
  color: var(--coral);
  font-size: 20px;
  font-weight: 900;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

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

.feature-item:nth-child(2) {
  background: #dff8f4;
}

.feature-item:nth-child(3) {
  background: #fff4c4;
}

.feature-item:nth-child(4) {
  background: #ffe1df;
}

.feature-mark {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 42px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-weight: 900;
}

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

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

.shot-button {
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
}

.shot-frame {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  padding: 12px;
}

.shot-frame img,
.app-shot {
  /*width: 100%;*/
  /*max-width: 400px;*/
  /*height: auto;*/
  margin: 0 auto;
  border-radius: 12px;
}

.shot-label {
  display: block;
  margin-top: 20px;
  text-align: center;
}

.shot-label strong,
.shot-label small {
  display: block;
}

.shot-label small {
  margin-top: 3px;
  color: var(--muted);
}

.path-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
}

.path-card {
  position: relative;
  min-height: 310px;
  padding: 34px;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
  box-shadow: var(--shadow);
}

.path-card:nth-child(2) {
  background: var(--teal);
}

.path-card h3 {
  max-width: 430px;
  font-size: clamp(27px, 4vw, 42px);
}

.path-card ul {
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.path-card li {
  margin: 8px 0;
  font-weight: 700;
}

.path-card li::before {
  content: "#";
  margin-right: 9px;
  color: var(--coral);
  font-weight: 900;
}

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

.review-card {
  margin: 0;
  padding: 26px;
  border: 2px solid var(--white);
  border-radius: 8px;
}

.review-card:nth-child(2) {
  border-color: var(--yellow);
}

.review-card:nth-child(3) {
  border-color: var(--teal);
}

.review-card p {
  margin: 0 0 20px;
  font-size: 18px;
}

.review-card cite {
  color: var(--yellow);
  font-style: normal;
  font-weight: 900;
}

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

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

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

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

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

.faq-answer {
  max-width: 900px;
  padding: 0 52px 20px 2px;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.cta-band {
  padding: 60px 0;
  border-bottom: 3px solid var(--ink);
  background: var(--coral);
  color: var(--white);
}

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

.cta-inner h2 {
  max-width: 720px;
  margin: 0;
}

.site-footer {
  padding: 48px 0 28px;
  color: var(--white);
  background: var(--ink);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  padding-bottom: 34px;
}

.footer-brand {
  font-size: 28px;
  font-weight: 900;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-content: start;
}

.footer-nav a {
  color: #d8d8dc;
}

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

.disclaimer {
  padding-top: 22px;
  border-top: 1px solid #3d3d44;
  color: #b7b7be;
  font-size: 13px;
}

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

.page-hero {
  border-bottom: 3px solid var(--ink);
  background: var(--yellow);
}

.page-hero.teal {
  background: var(--teal);
}

.page-hero-inner {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 66px;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(42px, 7vw, 78px);
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  font-size: 19px;
  font-weight: 700;
}

.breadcrumb {
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb a {
  border-bottom: 1px solid currentColor;
}

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

.article-nav {
  position: sticky;
  top: 96px;
  border-top: 4px solid var(--ink);
}

.article-nav strong {
  display: block;
  padding: 14px 0 8px;
}

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

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

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

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

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

.article-section h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.article-section p {
  margin: 0 0 18px;
}

.step-list {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}

.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  padding: 26px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
}

.step-number {
  display: flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-weight: 900;
}

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

.notice {
  margin: 24px 0;
  padding: 20px 22px;
  border-left: 6px solid var(--coral);
  background: #ffe9e7;
}

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

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

.check-list li {
  position: relative;
  margin: 12px 0;
  padding-left: 30px;
}

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

.inline-shot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 36px;
  align-items: center;
  margin: 28px 0;
}

.inline-shot .shot-frame {
  box-shadow: 7px 7px 0 var(--teal);
}

.fact-table {
  width: 100%;
  margin: 26px 0;
  border-collapse: collapse;
}

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

.fact-table th {
  width: 28%;
  background: var(--yellow);
}

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

.topic-card {
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
}

.topic-card:nth-child(2n) {
  background: #e2f8f5;
}

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

.related-strip {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.related-strip a {
  padding: 9px 14px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--white);
  font-weight: 800;
}

.related-strip a:hover {
  background: var(--yellow);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(23, 23, 27, 0.92);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  width: auto;
  max-width: min(400px, 88vw);
  max-height: 82vh;
  border: 3px solid var(--white);
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-size: 28px;
  font-weight: 900;
  line-height: 36px;
  cursor: pointer;
}

.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

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

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

  .nav-menu {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 18px 22px 26px;
    border-bottom: 3px solid var(--ink);
    background: var(--paper);
  }

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

  .nav-menu > a:not(.download-btn) {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-menu > a:not(.download-btn)::after {
    display: none;
  }

  .hero-copy {
    width: min(620px, 72%);
  }

  .hero-phone {
    right: -4%;
    width: 300px;
    opacity: 0.55;
  }

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

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

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

  .article-nav {
    position: static;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 12px 0;
    border-bottom: 2px solid var(--ink);
  }

  .article-nav strong {
    display: none;
  }

  .article-nav a {
    flex: 0 0 auto;
    border: 0;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .hero,
  .hero-inner {
    min-height: 620px;
  }

  .hero-inner {
    padding-top: 50px;
  }

  .hero-copy {
    width: 100%;
  }

  h1 {
    max-width: 94%;
    font-size: 48px;
  }

  .hero-lead {
    max-width: 92%;
    font-size: 17px;
  }

  .hero-note {
    max-width: 76%;
    overflow-wrap: anywhere;
  }

  .hero-phone {
    right: -130px;
    bottom: -160px;
    width: 245px;
    opacity: 0.48;
  }

  .hero-stamp {
    width: 78px;
    height: 78px;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading .index-number,
  .section-heading .text-link {
    display: inline-flex;
    margin-top: 12px;
  }

  .feature-grid,
  .gallery,
  .path-grid,
  .topic-grid,
  .footer-main,
  .footer-nav,
  .inline-shot {
    grid-template-columns: 1fr;
  }

  .feature-item {
    min-height: 0;
  }

  .feature-mark {
    margin-bottom: 24px;
  }

  .gallery {
    gap: 48px;
  }

  .shot-frame {
    width: min(100%, 320px);
  }

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

  .page-hero-inner {
    padding: 54px 0 48px;
  }

  .page-hero h1 {
    font-size: 42px;
  }

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

  .fact-table,
  .fact-table tbody,
  .fact-table tr,
  .fact-table th,
  .fact-table td {
    display: block;
    width: 100%;
  }

  .fact-table tr + tr {
    margin-top: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
