:root {
  --ink: #18171c;
  --paper: #fffdf9;
  --mist: #f4f1ec;
  --coral: #ff5a49;
  --coral-dark: #d83c31;
  --mint: #58d6bc;
  --yellow: #ffd166;
  --line: #ded9d2;
  --muted: #6e6a70;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(24, 23, 28, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  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.menu-open {
  overflow: hidden;
}

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

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  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: 1px solid rgba(222, 217, 210, 0.85);
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  width: min(var(--max), 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: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

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

.nav-links a:not(.button) {
  position: relative;
  font-size: 15px;
  font-weight: 650;
}

.nav-links a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--coral);
  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: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  color: var(--white);
  background: var(--ink);
  font-weight: 750;
  line-height: 1.2;
  box-shadow: 4px 4px 0 var(--coral);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.button-light {
  color: var(--ink);
  border-color: var(--white);
  background: var(--white);
  box-shadow: 4px 4px 0 var(--mint);
}

.button-small {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: currentColor;
}

.hero {
  min-height: min(760px, calc(100vh - 72px));
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(24, 23, 28, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 23, 28, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
}

.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: inherit;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.82fr);
  align-items: center;
  gap: 64px;
  padding: 58px 0 76px;
}

.hero h1 {
  max-width: 680px;
  margin: 0 0 22px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy > p:first-of-type {
  max-width: 680px;
  margin: 0;
  color: #4d4a50;
  font-size: 18px;
  line-height: 1.9;
}

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

.text-link {
  font-weight: 750;
  border-bottom: 2px solid var(--mint);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.trust-row li {
  display: grid;
  gap: 2px;
  padding-left: 14px;
  border-left: 3px solid var(--yellow);
  color: var(--muted);
  font-size: 13px;
}

.trust-row strong {
  color: var(--ink);
  font-size: 16px;
}

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

.phone-shot {
  position: absolute;
  width: min(260px, 62%);
  max-width: 400px;
  height: auto;
  border: 7px solid var(--ink);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.phone-shot.primary {
  z-index: 3;
  transform: translateX(-52px) rotate(-3deg);
}

.phone-shot.secondary {
  z-index: 2;
  transform: translate(108px, 20px) rotate(5deg);
}

.visual-note {
  position: absolute;
  z-index: 4;
  right: 2%;
  bottom: 13%;
  max-width: 180px;
  padding: 12px 16px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--yellow);
  font-size: 13px;
  font-weight: 750;
  transform: rotate(-2deg);
}

.ticker {
  min-height: 50px;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.ticker-track {
  position: relative;
  width: 100%;
  height: 50px;
}

.ticker span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 24px;
  white-space: nowrap;
  text-align: center;
  font-size: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 320ms ease, transform 320ms ease;
}

.ticker b {
  color: var(--mint);
}

.ticker span:first-child,
.ticker-track.is-ready span.active {
  opacity: 1;
  transform: translateY(0);
}

.ticker-track.is-ready span:not(.active) {
  opacity: 0;
  transform: translateY(-10px);
}

.section {
  padding: 92px 0;
}

.section-alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}

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

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

.section-head h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-index {
  color: var(--coral-dark);
  font-size: 14px;
  font-weight: 800;
}

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

.feature-item {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-item:nth-child(1),
.feature-item:nth-child(4) {
  grid-column: span 7;
}

.feature-item:nth-child(2),
.feature-item:nth-child(3) {
  grid-column: span 5;
}

.feature-item strong {
  display: block;
  margin-bottom: 22px;
  color: var(--coral-dark);
  font: 800 13px/1 Consolas, Monaco, monospace;
}

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

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

.feature-item.highlight {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.feature-item.highlight p {
  color: #d8d4dc;
}

.feature-item.highlight strong {
  color: var(--mint);
}

.screen-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 18px;
  overflow-x: auto;
  padding: 6px 2px 24px;
  scroll-snap-type: x mandatory;
}

.screen-card {
  min-width: 210px;
  scroll-snap-align: start;
}

.screen-card img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border: 5px solid var(--ink);
  border-radius: 24px;
  box-shadow: 8px 8px 0 var(--mint);
}

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

.screen-card b {
  display: block;
  color: var(--coral-dark);
}

.path-list {
  border-top: 1px solid var(--ink);
}

.path-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 160ms ease, color 160ms ease;
}

.path-item:hover {
  padding-right: 12px;
  padding-left: 12px;
  color: var(--coral-dark);
}

.path-item span:first-child {
  font: 800 14px/1 Consolas, Monaco, monospace;
}

.path-item strong {
  font-size: clamp(20px, 3vw, 30px);
}

.path-item em {
  font-style: normal;
  font-weight: 750;
}

.voices {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 18px;
}

.voice,
.stat-panel {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.voice blockquote {
  margin: 0 0 22px;
  font-size: 17px;
  font-weight: 650;
}

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

.voice cite strong,
.voice cite span {
  display: block;
}

.voice cite strong {
  color: var(--ink);
}

.stat-panel {
  display: grid;
  align-content: center;
  color: var(--white);
  border-color: var(--coral);
  background: var(--coral);
}

.stat-panel strong {
  font-size: 54px;
  line-height: 1;
}

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

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

.faq-question {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 32px;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  font-size: 17px;
  font-weight: 750;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 400;
}

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

.faq-answer {
  max-width: 920px;
  padding: 0 44px 24px 0;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.page-hero {
  padding: 88px 0 72px;
  color: var(--white);
  background: var(--ink);
}

.page-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 50px;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.06;
  letter-spacing: 0;
}

.page-hero .eyebrow {
  color: var(--mint);
}

.page-hero-meta {
  display: grid;
  gap: 10px;
  min-width: 220px;
  padding-left: 20px;
  border-left: 3px solid var(--coral);
  color: #d8d4dc;
  font-size: 14px;
}

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

.article-nav {
  position: sticky;
  top: 104px;
  padding: 18px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

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

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

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

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

.article-content section {
  margin-bottom: 70px;
  scroll-margin-top: 100px;
}

.article-content h2 {
  margin: 0 0 24px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
}

.article-content h3 {
  margin: 28px 0 8px;
  font-size: 21px;
}

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

.article-content p {
  margin: 0 0 16px;
}

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

.step {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.step-number {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--coral);
  font: 800 16px/1 Consolas, Monaco, monospace;
}

.step h3 {
  margin-top: 0;
}

.notice {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--yellow);
  background: #fff8dc;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.check-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

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

.guide-image {
  width: min(100%, 400px);
  height: auto;
  margin: 24px auto;
  border: 5px solid var(--ink);
  border-radius: 22px;
  box-shadow: 8px 8px 0 var(--mint);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

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

.comparison-table th {
  background: var(--mist);
}

.download-band {
  padding: 62px 0;
  color: var(--white);
  background: var(--coral);
}

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

.download-band h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.1;
}

.download-note {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.site-footer {
  padding: 48px 0 30px;
  color: #d8d4dc;
  background: var(--ink);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
}

.footer-brand img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 12px 28px;
}

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

.disclaimer {
  max-width: 820px;
  margin: 20px 0 0;
  color: #aaa6ae;
  font-size: 13px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid #38363d;
  color: #8f8b94;
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .nav-links {
    position: fixed;
    inset: 72px 0 auto;
    display: none;
    padding: 26px 20px 32px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

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

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 50px;
  }

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

  .feature-item:nth-child(n) {
    grid-column: span 6;
  }

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

  .stat-panel {
    grid-column: 1 / -1;
  }

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

  .article-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 22px;
  }

  .article-nav strong {
    width: 100%;
  }
}

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

  .nav-wrap {
    min-height: 64px;
  }

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

  .nav-links {
    inset: 64px 0 auto;
  }

  .hero {
    min-height: auto;
  }

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

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

  .hero-copy > p:first-of-type {
    font-size: 16px;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
    text-align: center;
  }

  .trust-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

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

  .phone-shot {
    width: 205px;
    border-width: 5px;
  }

  .phone-shot.primary {
    transform: translateX(-58px) rotate(-3deg);
  }

  .phone-shot.secondary {
    transform: translate(76px, 18px) rotate(5deg);
  }

  .visual-note {
    right: 0;
    bottom: 4%;
  }

  .section {
    padding: 68px 0;
  }

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

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

  .feature-item:nth-child(n),
  .stat-panel {
    grid-column: auto;
  }

  .path-item {
    grid-template-columns: 46px 1fr;
  }

  .path-item em {
    grid-column: 2;
  }

  .page-hero {
    padding: 64px 0 56px;
  }

  .page-hero .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-hero-meta {
    min-width: 0;
  }

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

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

  .comparison-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .download-band .container,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-band .button {
    width: 100%;
  }

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

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