:root {
  --ink: #211d2f;
  --purple: #2d2448;
  --purple-soft: #665889;
  --cyan: #16b8c4;
  --cyan-dark: #087f8c;
  --coral: #ff6b6b;
  --paper: #fffdf8;
  --paper-deep: #f4f1e9;
  --white: #ffffff;
  --line: #d9d3e2;
  --muted: #625d6c;
  --shadow: 0 18px 46px rgba(45, 36, 72, 0.12);
  --radius: 8px;
  --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", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(45, 36, 72, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 36, 72, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  pointer-events: none;
}

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

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

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

button {
  font: inherit;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(45, 36, 72, 0.1);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--purple);
  font-size: 1.15rem;
  font-weight: 800;
}

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

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--purple);
}

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

.site-nav a:not(.button) {
  padding: 9px 12px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a:not(.button):hover,
.site-nav a[aria-current="page"] {
  color: var(--cyan-dark);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 2px solid var(--purple);
  border-radius: 6px;
  color: var(--white);
  background: var(--purple);
  box-shadow: 5px 5px 0 var(--cyan);
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
  box-shadow: 2px 2px 0 var(--cyan);
  transform: translate(3px, 3px);
}

.button.secondary {
  color: var(--purple);
  background: var(--white);
  box-shadow: 5px 5px 0 var(--coral);
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 58px;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  position: absolute;
  right: -70px;
  bottom: 22px;
  z-index: -1;
  width: 280px;
  height: 86px;
  border: 14px solid var(--cyan);
  content: "";
  transform: rotate(-8deg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--cyan-dark);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 3px;
  background: var(--coral);
  content: "";
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--purple);
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: 4.8rem;
}

h2 {
  margin-bottom: 32px;
  font-size: 2.45rem;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.hero-copy {
  max-width: 610px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.quick-facts li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  background: var(--white);
  font-size: 0.84rem;
}

.hero-gallery {
  position: relative;
  min-height: 500px;
}

.hero-gallery::before {
  position: absolute;
  inset: 28px 5% 20px 8%;
  border: 3px solid var(--purple);
  background: var(--cyan);
  content: "";
  transform: rotate(3deg);
}

.phone-shot {
  position: absolute;
  max-width: 400px;
  border: 7px solid var(--purple);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.phone-shot.primary {
  top: 0;
  left: 15%;
  z-index: 3;
  width: min(218px, 48%);
}

.phone-shot.secondary-shot {
  right: 2%;
  bottom: 0;
  z-index: 2;
  width: min(182px, 40%);
  transform: rotate(5deg);
}

.comic-tag {
  position: absolute;
  bottom: 45px;
  left: 0;
  z-index: 4;
  padding: 8px 14px;
  border: 2px solid var(--purple);
  color: var(--purple);
  background: var(--coral);
  font-weight: 900;
  transform: rotate(-6deg);
}

.stats-band {
  color: var(--white);
  background: var(--purple);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: #83f1ee;
  font-size: 1.25rem;
}

.stat span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
}

.section {
  padding: 82px 0;
}

.section.alt {
  border-block: 1px solid var(--line);
  background: var(--paper-deep);
}

.section-label {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.feature-card {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--cyan);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-card:nth-child(2n) {
  border-top-color: var(--coral);
}

.feature-number {
  display: block;
  margin-bottom: 30px;
  color: var(--cyan-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

.feature-card p,
.step-content p,
.answer p,
.text-block p {
  margin-bottom: 0;
  color: var(--muted);
}

.showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  align-items: center;
  gap: 58px;
}

.showcase-copy ul,
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.showcase-copy li,
.check-list li {
  position: relative;
  padding: 11px 0 11px 28px;
  border-bottom: 1px solid var(--line);
}

.showcase-copy li::before,
.check-list li::before {
  position: absolute;
  top: 13px;
  left: 0;
  color: var(--coral);
  content: "◆";
  font-size: 0.75rem;
}

.screens {
  display: flex;
  width: 100%;
  max-width: 620px;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
}

.screens figure {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  text-align: center;
}

.screens img {
  width: 100%;
  max-width: 190px;
  margin-inline: auto;
  border: 5px solid var(--purple);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.screens figure:nth-child(2) {
  transform: none;
}

.screens figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.84rem;
}

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

.route-card {
  position: relative;
  min-height: 230px;
  padding: 32px;
  overflow: hidden;
  border: 2px solid var(--purple);
  border-radius: var(--radius);
  background: var(--white);
}

.route-card::after {
  position: absolute;
  right: -24px;
  bottom: -40px;
  width: 110px;
  height: 110px;
  border: 16px solid var(--cyan);
  border-radius: 50%;
  content: "";
}

.route-card:nth-child(2)::after {
  border-color: var(--coral);
}

.route-card p {
  max-width: 440px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--cyan-dark);
  font-weight: 900;
}

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

blockquote {
  margin: 0;
  padding: 26px;
  border-left: 5px solid var(--coral);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(45, 36, 72, 0.08);
}

blockquote p {
  margin-top: 0;
}

blockquote cite {
  color: var(--cyan-dark);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 800;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.faq-list summary {
  position: relative;
  padding: 18px 54px 18px 20px;
  color: var(--purple);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 14px;
  right: 18px;
  color: var(--cyan-dark);
  content: "+";
  font-size: 1.5rem;
}

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

.answer {
  padding: 0 20px 20px;
}

.answer p {
  margin-top: 0;
}

.cta {
  padding: 58px 0;
  color: var(--white);
  background: var(--cyan-dark);
}

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

.cta h2 {
  margin-bottom: 8px;
  color: var(--white);
}

.cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  padding: 42px 0 26px;
  color: rgba(255, 255, 255, 0.74);
  background: #1b1824;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 36px;
}

.footer-brand {
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a:hover {
  color: #83f1ee;
}

.disclaimer {
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
}

.copyright {
  margin: 10px 0 0;
  font-size: 0.82rem;
}

.page-hero {
  padding: 66px 0 54px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.page-hero h1 {
  margin-bottom: 16px;
  font-size: 3.7rem;
}

.page-hero .lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.breadcrumb {
  margin-bottom: 16px;
  color: var(--cyan-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

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

.side-nav {
  position: sticky;
  top: 98px;
  padding: 20px;
  border-left: 4px solid var(--cyan);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(45, 36, 72, 0.08);
}

.side-nav strong {
  display: block;
  margin-bottom: 10px;
  color: var(--purple);
}

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

.side-nav a:hover {
  color: var(--cyan-dark);
}

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

.article-content h2 {
  padding-bottom: 12px;
  border-bottom: 3px solid var(--purple);
}

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

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

.step-count {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 2px solid var(--purple);
  border-radius: 50%;
  color: var(--purple);
  background: #83f1ee;
  font-weight: 900;
}

.notice {
  padding: 20px 22px;
  border: 1px solid #e2c367;
  border-left: 6px solid #e2a93b;
  border-radius: var(--radius);
  background: #fff8dc;
}

.notice strong {
  color: #76500d;
}

.text-block {
  display: grid;
  gap: 16px;
}

.text-block p {
  margin-top: 0;
}

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

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

.settings-table th {
  color: var(--purple);
  background: var(--paper-deep);
}

.settings-table tr:last-child td {
  border-bottom: 0;
}

.related-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
  border: 2px solid var(--purple);
  background: var(--white);
}

.related-strip p {
  margin: 6px 0 0;
  color: var(--muted);
}

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

  .site-nav {
    position: absolute;
    top: 74px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    width: 100%;
  }

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

  .hero-gallery {
    width: min(100%, 520px);
    margin-inline: auto;
  }

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

  .side-nav {
    position: static;
  }
}

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

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-gallery {
    min-height: 430px;
  }

  .phone-shot.primary {
    left: 10%;
    width: 48%;
  }

  .phone-shot.secondary-shot {
    right: 4%;
    width: 42%;
  }

  .stats-grid,
  .feature-grid,
  .route-grid,
  .quote-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .section {
    padding: 62px 0;
  }

  .screens {
    justify-content: flex-start;
    padding: 22px 4px 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .screens figure {
    flex: 0 0 72%;
    scroll-snap-align: center;
  }

  .screens figure:nth-child(2) {
    transform: none;
  }

  .screens img {
    width: 100%;
    max-width: 260px;
    margin-inline: auto;
  }

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

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

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

  .settings-table {
    display: block;
    overflow-x: auto;
  }
}

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

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