:root {
  --ink: #172126;
  --muted: #657178;
  --paper: #fffdf9;
  --soft: #fff4e8;
  --line: #eadfd4;
  --coral: #ff5a52;
  --coral-dark: #df3936;
  --yellow: #ffc247;
  --teal: #137f7a;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(44, 32, 24, 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;
}

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

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

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

.skip-link {
  position: fixed;
  top: 8px;
  left: -999px;
  z-index: 1000;
  padding: 8px 14px;
  color: var(--white);
  background: var(--ink);
}

.skip-link:focus {
  left: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(23, 33, 38, 0.08);
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(14px);
}

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

.nav-wrap {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 30px;
}

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

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

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

.nav-links a {
  position: relative;
  color: #394449;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--coral);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: 0.2s ease;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 2px solid var(--ink);
  border-radius: 7px;
  box-shadow: 5px 5px 0 var(--ink);
  background: var(--coral);
  color: var(--white) !important;
  font-weight: 900 !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.button.secondary {
  background: var(--yellow);
  color: var(--ink) !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 194, 71, 0.25) 1px, transparent 1px),
    linear-gradient(rgba(255, 194, 71, 0.25) 1px, transparent 1px),
    var(--soft);
  background-size: 28px 28px;
}

.hero::after {
  position: absolute;
  right: -70px;
  bottom: -140px;
  width: 320px;
  height: 320px;
  border: 48px solid var(--coral);
  border-radius: 50%;
  content: "";
  opacity: 0.12;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 620px;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
  padding: 76px 0 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.eyebrow::before {
  width: 34px;
  height: 4px;
  border-radius: 4px;
  background: var(--teal);
  content: "";
}

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

h1 {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 84px);
  font-weight: 950;
}

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

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

.hero-copy > p {
  max-width: 610px;
  margin: 0 0 28px;
  color: #4d585d;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #3d474c;
  font-size: 14px;
  font-weight: 700;
}

.facts li::before {
  margin-right: 7px;
  color: var(--teal);
  content: "●";
}

.phone-stage {
  position: relative;
  min-height: 490px;
}

.phone {
  position: absolute;
  overflow: hidden;
  width: 230px;
  border: 8px solid var(--ink);
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: var(--white);
}

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

.phone:first-child {
  top: 0;
  left: 8%;
  z-index: 2;
  transform: rotate(-4deg);
}

.phone:last-child {
  right: 3%;
  bottom: 0;
  transform: rotate(6deg);
}

.section {
  padding: 92px 0;
}

.section.tint {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f5fbfa;
}

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

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

.section-head .text-link {
  margin-bottom: 42px;
}

.text-link {
  color: var(--coral-dark);
  font-weight: 900;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.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: 235px;
  padding: 28px 24px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--white);
}

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

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

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

.feature-number {
  display: block;
  margin-bottom: 40px;
  color: var(--coral);
  font-size: 14px;
  font-weight: 950;
}

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

.shots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.shot {
  margin: 0;
}

.shot img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 8px 8px 0 var(--yellow);
}

.shot figcaption {
  padding: 14px 4px 0;
  font-weight: 800;
}

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

.info-card {
  position: relative;
  min-height: 260px;
  padding: 34px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
}

.info-card.accent {
  background: var(--yellow);
}

.info-card .tag {
  display: inline-block;
  margin-bottom: 54px;
  padding: 3px 9px;
  border: 1px solid currentColor;
  border-radius: 4px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.info-card .arrow {
  position: absolute;
  right: 28px;
  bottom: 20px;
  font-size: 34px;
  font-weight: 900;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid var(--white);
}

.stat {
  padding: 38px;
  border-right: 2px solid var(--white);
  text-align: center;
}

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

.stat strong {
  display: block;
  color: var(--yellow);
  font-size: 40px;
  line-height: 1.2;
}

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

.review {
  padding: 24px;
  border-left: 5px solid var(--coral);
  background: var(--white);
}

.review footer {
  margin-top: 18px;
  color: var(--ink);
  font-weight: 900;
}

.download-strip {
  padding: 54px 0;
  background: var(--yellow);
}

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

.download-inner h2 {
  margin-bottom: 8px;
  font-size: 34px;
}

.download-inner p {
  margin: 0;
}

.page-hero {
  padding: 72px 0 62px;
  border-bottom: 2px solid var(--ink);
  background: var(--soft);
}

.page-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 68px);
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #4d585d;
  font-size: 18px;
}

.breadcrumb {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--coral-dark);
  font-weight: 800;
}

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

.article h2 {
  margin-top: 72px;
  margin-bottom: 24px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--ink);
  font-size: 34px;
}

.article h2:first-child {
  margin-top: 0;
}

.article h3 {
  margin-top: 34px;
}

.article p {
  margin: 0 0 18px;
  color: #445056;
}

.article a:not(.button) {
  color: var(--coral-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  margin-bottom: 20px;
  padding: 26px 26px 26px 82px;
  border: 1px solid var(--line);
  background: var(--white);
  counter-increment: step;
}

.steps li::before {
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  content: counter(step, decimal-leading-zero);
  font-weight: 900;
}

.steps strong {
  display: block;
  margin-bottom: 4px;
  font-size: 19px;
}

.steps p {
  margin: 0;
}

.note {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 5px solid var(--teal);
  background: #e9f7f5;
}

.sidebar {
  position: sticky;
  top: 100px;
  padding: 24px;
  border: 2px solid var(--ink);
  background: var(--white);
}

.sidebar h2 {
  margin-bottom: 16px;
  font-size: 20px;
}

.sidebar a:not(.button) {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: #445056;
  font-size: 14px;
  font-weight: 700;
}

.sidebar .button {
  width: 100%;
  margin-top: 20px;
}

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

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

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

.faq-question::after {
  flex: 0 0 auto;
  color: var(--coral);
  content: "+";
  font-size: 28px;
}

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

.faq-answer {
  padding: 0 0 22px;
}

.faq-answer p {
  margin: 0;
}

.site-footer {
  padding: 50px 0 28px;
  background: #11191d;
  color: #c8d0d3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 50px;
}

.site-footer .brand {
  margin-bottom: 14px;
  color: var(--white);
}

.site-footer h2 {
  margin-bottom: 15px;
  color: var(--white);
  font-size: 17px;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.footer-links a {
  display: block;
  margin-bottom: 9px;
  font-size: 14px;
}

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

.copyright {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid #334047;
  color: #929fa5;
  font-size: 13px;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    padding: 18px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

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

  .nav-links .button {
    width: 100%;
  }

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

  .hero-grid {
    gap: 30px;
  }

  .phone-stage {
    width: min(540px, 100%);
    margin: 0 auto;
  }

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

  .sidebar {
    position: static;
  }
}

@media (max-width: 620px) {
  .nav-wrap,
  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand {
    font-size: 18px;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 58px;
  }

  h1 {
    font-size: 46px;
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .phone-stage {
    min-height: 390px;
  }

  .phone {
    width: 180px;
    border-width: 6px;
  }

  .section {
    padding: 68px 0;
  }

  .feature-grid,
  .shots,
  .path-grid,
  .stats,
  .reviews,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-item {
    min-height: 190px;
  }

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

  .shot {
    max-width: 300px;
    margin: 0 auto 10px;
  }

  .stat {
    border-right: 0;
    border-bottom: 2px solid var(--white);
  }

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

  .download-inner,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-head .text-link {
    margin-top: -26px;
    margin-bottom: 30px;
  }

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

  .page-hero {
    padding-top: 54px;
  }

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

  .article h2 {
    font-size: 29px;
  }

  .steps li {
    padding: 76px 22px 24px;
  }
}

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

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