:root {
  --ink: #171a1f;
  --muted: #5e646c;
  --line: #d9ddd9;
  --paper: #ffffff;
  --soft: #f3f5f4;
  --coral: #f06449;
  --coral-dark: #c9442d;
  --mint: #cce9df;
  --mint-strong: #78b7a2;
  --yellow: #f6cf67;
  --max-width: 1180px;
  --header-height: 72px;
}

* {
  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.7;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(calc(100% - 48px), var(--max-width));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 152px;
  font-size: 18px;
  font-weight: 800;
}

.brand img {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 650;
}

.main-nav a {
  position: relative;
  padding: 22px 0 20px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  transform: translateY(-1px);
}

.button-accent {
  background: var(--coral);
  border-color: var(--coral);
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.hero {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #fff 0 68%, var(--soft) 68% 100%);
}

.hero-inner {
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 604px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: 68px;
  padding: 38px 0 42px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(42px, 4.2vw, 58px);
}

.hero-copy > p {
  max-width: 610px;
  margin: 24px 0 0;
  color: #3f464e;
  font-size: 18px;
}

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

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}

.hero-facts strong {
  color: var(--ink);
}

.hero-media {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-main,
.phone-secondary {
  position: absolute;
  overflow: hidden;
  border: 7px solid #202329;
  border-radius: 28px;
  background: #202329;
  box-shadow: 0 20px 48px rgba(20, 24, 29, 0.18);
}

.phone-main {
  right: 36px;
  width: 242px;
  height: 500px;
  z-index: 2;
}

.phone-secondary {
  left: 6px;
  bottom: 36px;
  width: 158px;
  height: 350px;
  border-width: 5px;
  border-radius: 21px;
  transform: rotate(-3deg);
}

.phone-main img,
.phone-secondary img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #111;
}

.media-index {
  position: absolute;
  right: -6px;
  bottom: 5px;
  z-index: 3;
  width: 102px;
  padding: 12px;
  background: var(--yellow);
  border: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.section {
  padding: 82px 0;
}

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

.section-mint {
  background: var(--mint);
}

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

.section-heading {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: end;
  gap: 28px;
  margin-bottom: 38px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
}

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

.section h2 {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.2;
  letter-spacing: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr 0.82fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.gallery-item {
  position: relative;
  min-height: 520px;
  padding: 28px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.gallery-item:first-child {
  background: var(--ink);
  color: #fff;
}

.gallery-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 750;
}

.gallery-item img {
  width: auto;
  max-width: 100%;
  max-height: 420px;
  margin: auto;
  object-fit: contain;
}

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

.feature-card {
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--mint-strong);
  border-radius: 4px;
  background: #fff;
}

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

.feature-card:nth-child(3) {
  border-top-color: var(--yellow);
}

.feature-card:nth-child(4) {
  border-top-color: var(--ink);
}

.feature-card .feature-no {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.feature-card h3 {
  margin: 42px 0 12px;
  font-size: 21px;
}

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

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

.step {
  min-height: 230px;
  padding: 28px;
  border-right: 1px solid var(--ink);
}

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

.step span {
  display: block;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  background: #fff;
  text-align: center;
  line-height: 40px;
  font-weight: 850;
}

.step h3 {
  margin: 26px 0 8px;
}

.step p {
  margin: 0;
  color: #39424a;
}

.deep-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.deep-link {
  min-height: 240px;
  padding: 32px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 180ms ease, color 180ms ease;
}

.deep-link:hover {
  background: var(--ink);
  color: #fff;
}

.deep-link small {
  font-weight: 800;
}

.deep-link h3 {
  margin: 36px 0 8px;
  font-size: 26px;
}

.deep-link p {
  margin: 0;
  color: var(--muted);
}

.deep-link:hover p {
  color: #dfe3e6;
}

.faq-preview {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
}

.faq-preview-copy p,
.faq-intro {
  color: var(--muted);
}

.faq-intro {
  margin: 16px 0;
}

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

.faq-preview-list a {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 750;
}

.download-band {
  padding: 58px 0;
  background: var(--coral);
  color: #fff;
}

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

.download-band h2 {
  max-width: 700px;
  font-size: clamp(30px, 4vw, 48px);
}

.site-footer {
  padding: 32px 0;
  background: var(--ink);
  color: #d7dadd;
  text-align: center;
  font-size: 13px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 18px;
  color: #fff;
}

.site-footer p {
  max-width: 820px;
  margin: 8px auto 0;
}

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

.page-hero-inner {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 70px;
  align-items: end;
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 62px);
}

.page-hero p {
  margin: 22px 0 0;
  max-width: 760px;
  color: #35413d;
  font-size: 17px;
}

.page-hero-note {
  padding: 20px;
  border: 1px solid var(--ink);
  background: #fff;
  font-size: 14px;
}

.article-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 64px;
}

.article-nav {
  align-self: start;
  position: sticky;
  top: 102px;
  border-top: 3px solid var(--coral);
}

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

.article-block {
  padding-bottom: 46px;
  margin-bottom: 46px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}

.article-block:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.article-block h2 {
  margin-bottom: 22px;
  font-size: 32px;
}

.article-block h3 {
  margin: 28px 0 8px;
  font-size: 20px;
}

.article-block p,
.article-block li {
  color: #454c54;
}

.article-block ol,
.article-block ul {
  padding-left: 22px;
}

.notice {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--coral);
  background: var(--soft);
}

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

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

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

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

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

.faq-question {
  width: 100%;
  min-height: 72px;
  padding: 18px 54px 18px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  position: relative;
  text-align: left;
  font: inherit;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  font-size: 27px;
  font-weight: 400;
}

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

.faq-answer {
  display: none;
  max-width: 880px;
  padding: 0 54px 22px 0;
  color: var(--muted);
}

.faq-answer.is-open {
  display: block;
}

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

@media (max-width: 960px) {
  .header-inner,
  .hero-inner,
  .container,
  .page-hero-inner {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .header-download {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: none;
    padding: 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(20, 24, 29, 0.12);
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav a {
    display: block;
    padding: 13px 6px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    background: #fff;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 0 34px;
  }

  .hero-media {
    order: 2;
    height: 280px;
    background: var(--soft);
    border: 1px solid var(--line);
  }

  .phone-main {
    right: calc(50% - 95px);
    width: 135px;
    height: 272px;
    border-width: 5px;
    border-radius: 20px;
  }

  .phone-secondary {
    left: calc(50% - 105px);
    bottom: 12px;
    width: 92px;
    height: 205px;
    border-width: 4px;
    border-radius: 16px;
  }

  .media-index {
    right: 8px;
    bottom: 8px;
    width: 86px;
    padding: 9px;
  }

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

  .gallery-item:first-child {
    grid-column: 1 / -1;
  }

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

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

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

  .article-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top-width: 1px;
  }

  .article-nav a {
    padding: 10px;
    border-right: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 64px;
  }

  .brand {
    min-width: 0;
    font-size: 17px;
  }

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

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

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

  .hero-actions {
    margin-top: 22px;
  }

  .hero-facts {
    margin-top: 18px;
    padding-top: 12px;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading {
    grid-template-columns: 70px 1fr;
    gap: 12px;
    margin-bottom: 26px;
  }

  .gallery-grid,
  .feature-grid,
  .steps,
  .deep-grid,
  .faq-preview,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item:first-child {
    grid-column: auto;
  }

  .gallery-item {
    min-height: 460px;
    padding: 22px;
  }

  .feature-card {
    min-height: 210px;
  }

  .feature-card h3 {
    margin-top: 28px;
  }

  .step {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

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

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

  .footer-nav {
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .page-hero {
    padding: 52px 0 46px;
  }

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

  .article-block h2 {
    font-size: 28px;
  }
}

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

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