:root {
  --coral: #f05d72;
  --coral-dark: #cb3f58;
  --orange: #ffad54;
  --cream: #fff8f1;
  --paper: #fffdfb;
  --ink: #30282a;
  --muted: #6d6264;
  --mint: #2d9d86;
  --line: #e9d9d4;
  --shadow: 0 18px 45px rgba(74, 44, 49, 0.13);
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK 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,
input {
  font: inherit;
}

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

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

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(48, 40, 42, 0.12);
  background: rgba(255, 248, 241, 0.96);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 11px;
  font-size: 20px;
  font-weight: 800;
}

.brand img {
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--orange);
}

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

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

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

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

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

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

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

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

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

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 22px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--coral);
  box-shadow: 4px 4px 0 var(--ink);
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.btn-light {
  background: var(--cream);
  color: var(--ink);
}

.btn-light:hover {
  background: #fff;
}

.btn-small {
  min-height: 40px;
  padding: 8px 18px;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 14px;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: var(--coral);
}

.hero::before,
.hero::after {
  position: absolute;
  border: 3px solid var(--ink);
  background: var(--orange);
  content: "";
}

.hero::before {
  top: 62px;
  left: -36px;
  width: 90px;
  height: 26px;
  transform: rotate(-16deg);
}

.hero::after {
  right: -42px;
  bottom: 72px;
  width: 120px;
  height: 34px;
  transform: rotate(17deg);
}

.hero-grid {
  position: relative;
  display: grid;
  min-height: 660px;
  grid-template-columns: minmax(0, 1.04fr) minmax(400px, 0.96fr);
  align-items: center;
  gap: 60px;
  padding-block: 76px 60px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.kicker,
.eyebrow {
  display: inline-block;
  margin-bottom: 15px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.kicker {
  padding: 5px 11px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--orange);
  box-shadow: 3px 3px 0 var(--ink);
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: 64px;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero h1 + p {
  max-width: 625px;
  margin: 24px 0 0;
  color: #3b3032;
  font-size: 18px;
  line-height: 1.8;
}

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

.hero-note {
  font-size: 13px;
  font-weight: 700;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 800;
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-meta li::before {
  width: 9px;
  height: 9px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--cream);
  content: "";
}

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

.phone {
  position: absolute;
  overflow: hidden;
  width: min(282px, 70vw);
  border: 8px solid var(--ink);
  border-radius: 30px;
  background: #fff;
  box-shadow: 14px 16px 0 rgba(48, 40, 42, 0.25);
}

.phone::before {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 50%;
  width: 66px;
  height: 8px;
  border-radius: 8px;
  background: var(--ink);
  content: "";
  transform: translateX(-50%);
}

.phone img {
  width: 100%;
  height: auto;
}

.phone-main {
  z-index: 2;
  right: 20px;
  bottom: 0;
  transform: rotate(2deg);
}

.phone-back {
  z-index: 1;
  top: 18px;
  left: 0;
  width: min(246px, 62vw);
  transform: rotate(-7deg);
}

.sound-effect {
  position: absolute;
  z-index: 3;
  top: 40px;
  right: -10px;
  padding: 8px 14px;
  border: 3px solid var(--ink);
  background: var(--orange);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 21px;
  font-weight: 900;
  transform: rotate(7deg);
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

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

.trust-item {
  padding: 24px 22px;
  border-right: 1px solid var(--line);
  text-align: center;
}

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

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  font-size: 22px;
  line-height: 1.35;
}

.trust-item span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding-block: 88px;
}

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

.section-ink {
  color: #fff;
  background: var(--ink);
}

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

.section h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.25;
  letter-spacing: 0;
}

.text-link {
  border-bottom: 2px solid var(--coral);
  color: var(--ink);
  font-weight: 800;
}

.section-ink .text-link {
  color: #fff;
}

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

.feature-card {
  min-height: 240px;
  padding: 28px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: #fff;
  box-shadow: 7px 7px 0 var(--orange);
}

.feature-no {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-weight: 900;
}

.feature-card:nth-child(2) .feature-no,
.feature-card:nth-child(5) .feature-no {
  background: var(--mint);
}

.feature-card:nth-child(3) .feature-no,
.feature-card:nth-child(6) .feature-no {
  background: var(--orange);
  color: var(--ink);
}

.feature-card h3 {
  margin: 20px 0 8px;
  font-size: 21px;
}

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

.screens-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.screen-card {
  margin: 0;
}

.screen-frame {
  overflow: hidden;
  border: 6px solid var(--ink);
  border-radius: 24px;
  background: #fff;
  box-shadow: 8px 9px 0 rgba(240, 93, 114, 0.25);
}

.screen-frame img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

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

.screen-card figcaption strong {
  display: block;
  font-size: 16px;
}

.screen-card figcaption span {
  color: var(--muted);
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-block: 2px solid var(--ink);
}

.path-item {
  position: relative;
  min-height: 330px;
  padding: 36px;
  border-right: 2px solid var(--ink);
}

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

.path-item .path-label {
  display: inline-block;
  padding: 3px 9px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.path-item h3 {
  margin: 28px 0 12px;
  font-size: 25px;
  line-height: 1.35;
}

.path-item p {
  margin: 0 0 24px;
  color: var(--muted);
}

.review-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
}

.review-featured,
.review-stack blockquote {
  margin: 0;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

.review-featured {
  padding: 42px;
  box-shadow: 8px 8px 0 var(--coral);
}

.quote-mark {
  color: var(--coral);
  font-size: 72px;
  font-weight: 900;
  line-height: 0.6;
}

.review-featured p {
  margin: 20px 0;
  font-size: 21px;
  font-weight: 700;
}

.review-featured cite,
.review-stack cite {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.review-stack {
  display: grid;
  gap: 16px;
}

.review-stack blockquote {
  padding: 24px;
}

.review-stack p {
  margin: 0 0 10px;
}

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

.faq-list details {
  border-bottom: 2px solid var(--ink);
  background: #fff;
}

.faq-list summary {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 4px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

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

.faq-list summary::after {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  content: "+";
  font-size: 20px;
  line-height: 23px;
  text-align: center;
}

.faq-list details[open] summary::after {
  background: var(--coral);
  color: #fff;
  content: "−";
}

.faq-answer {
  max-width: 900px;
  padding: 0 54px 24px 4px;
  color: var(--muted);
}

.faq-answer p {
  margin: 0 0 12px;
}

.cta-band {
  padding-block: 68px;
  border-block: 2px solid var(--ink);
  background: var(--orange);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}

.cta-grid h2 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.25;
}

.cta-grid p {
  margin: 0;
  color: #4e4244;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 88px 76px;
  border-bottom: 2px solid var(--ink);
  background: var(--cream);
}

.page-hero::after {
  position: absolute;
  right: 5%;
  bottom: -52px;
  width: 180px;
  height: 110px;
  border: 3px solid var(--ink);
  background: var(--coral);
  content: "";
  transform: rotate(-8deg);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  font-weight: 800;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: 48px;
  line-height: 1.18;
  letter-spacing: 0;
}

.page-hero h1 + p {
  max-width: 790px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.guide-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: 64px;
}

.article-content h2 {
  margin: 0 0 26px;
  font-size: 31px;
}

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

.article-content section:last-child {
  margin-bottom: 0;
}

.prose-block {
  color: #55494c;
}

.prose-block p {
  margin: 0 0 16px;
}

.step-list {
  display: grid;
  margin: 0;
  padding: 0;
  counter-reset: guide-step;
  gap: 20px;
  list-style: none;
}

.step-item {
  position: relative;
  padding: 28px 28px 28px 92px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: #fff;
  box-shadow: 6px 6px 0 var(--orange);
  counter-increment: guide-step;
}

.step-item::before {
  position: absolute;
  top: 27px;
  left: 26px;
  display: flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  content: counter(guide-step, decimal-leading-zero);
  font-weight: 900;
}

.step-item h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

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

.notice {
  padding: 22px 24px;
  border-left: 6px solid var(--coral);
  background: var(--cream);
}

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

.check-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 15px 16px 15px 46px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.check-list li::before {
  position: absolute;
  top: 15px;
  left: 16px;
  color: var(--mint);
  content: "✓";
  font-weight: 900;
}

.article-aside {
  position: sticky;
  top: 100px;
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--cream);
  box-shadow: 6px 6px 0 var(--coral);
}

.article-aside strong {
  display: block;
  margin-bottom: 12px;
  font-size: 17px;
}

.article-aside nav {
  display: grid;
  gap: 4px;
}

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

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

.article-aside .btn {
  width: 100%;
  margin-top: 18px;
}

.settings-table {
  width: 100%;
  border: 2px solid var(--ink);
  border-collapse: collapse;
  background: #fff;
}

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

.settings-table th {
  background: var(--cream);
}

.faq-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.faq-search {
  width: 100%;
  min-height: 52px;
  padding: 10px 16px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  outline: 0;
  background: #fff;
}

.faq-search:focus {
  box-shadow: 0 0 0 4px rgba(240, 93, 114, 0.2);
}

.faq-group {
  margin-bottom: 56px;
}

.faq-group h2 {
  margin-bottom: 20px;
}

.faq-item[hidden] {
  display: none;
}

.no-results {
  display: none;
  padding: 22px;
  border: 2px dashed var(--line);
  color: var(--muted);
}

.no-results.is-visible {
  display: block;
}

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

.related-link {
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: #fff;
  box-shadow: 5px 5px 0 var(--orange);
}

.related-link strong,
.related-link span {
  display: block;
}

.related-link span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding-block: 48px 28px;
  color: #f7ecea;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  gap: 48px;
}

.footer-brand {
  color: #fff;
}

.footer-brand p {
  max-width: 430px;
  margin: 16px 0 0;
  color: #cfc0c3;
  font-size: 14px;
}

.footer-nav strong {
  display: block;
  margin-bottom: 12px;
  color: var(--orange);
}

.footer-nav a {
  display: block;
  margin: 7px 0;
  color: #eadfe1;
  font-size: 14px;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid #55484b;
  color: #bbaeb1;
  font-size: 12px;
}

.footer-bottom p {
  margin: 5px 0;
}

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

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

  .site-nav.is-open {
    display: flex;
  }

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

  .hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 64px;
  }

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

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

  .screens-track {
    overflow-x: auto;
    grid-template-columns: repeat(5, 210px);
    padding: 4px 4px 20px;
    scroll-snap-type: x mandatory;
  }

  .screen-card {
    scroll-snap-align: start;
  }

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

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

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

  .guide-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .article-aside {
    position: static;
    order: -1;
  }
}

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

  .brand {
    font-size: 18px;
  }

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

  .hero-grid {
    padding-block: 50px 42px;
  }

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

  .hero h1 + p {
    font-size: 16px;
  }

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

  .phone-main {
    right: 0;
    width: min(228px, 63vw);
  }

  .phone-back {
    left: -8px;
    width: min(194px, 55vw);
  }

  .sound-effect {
    right: 0;
    font-size: 16px;
  }

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

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

  .trust-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding-block: 64px;
  }

  .section-head {
    display: block;
    margin-bottom: 28px;
  }

  .section-head .text-link {
    display: inline-block;
    margin-top: 15px;
  }

  .section h2,
  .cta-grid h2 {
    font-size: 29px;
  }

  .feature-grid,
  .review-grid,
  .related-links,
  .check-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .review-featured {
    padding: 30px;
  }

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

  .cta-grid .btn {
    width: 100%;
  }

  .page-hero {
    padding-block: 62px 56px;
  }

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

  .page-hero h1 + p {
    font-size: 16px;
  }

  .step-item {
    padding: 82px 22px 24px;
  }

  .step-item::before {
    top: 20px;
    left: 20px;
  }

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

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

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