:root {
  --brand: #941f35;
  --brand-dark: #6e1426;
  --coral: #e85d68;
  --teal: #237d78;
  --gold: #e6ad35;
  --ink: #20252b;
  --muted: #687078;
  --line: #e7dfe1;
  --paper: #fffdfd;
  --soft: #f8f1f3;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(66, 22, 34, 0.12);
}

* {
  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.72;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(148, 31, 53, 0.1);
  background: rgba(255, 253, 253, 0.96);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  color: var(--brand-dark);
  font-size: 22px;
  font-weight: 800;
}

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

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

.site-nav a:not(.button) {
  color: #4e4548;
  font-size: 15px;
  font-weight: 650;
}

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

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  border: 1px solid var(--brand);
  border-radius: 6px;
  background: var(--brand);
  color: var(--white);
  font-weight: 750;
  box-shadow: 0 8px 20px rgba(148, 31, 53, 0.18);
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--brand-dark);
}

.button.secondary {
  border-color: #c6b8bc;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.button.secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--white);
}

.hero {
  min-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.hero-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: 68px;
  padding: 64px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--brand-dark);
  font-size: clamp(38px, 5.3vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 640px;
  margin: 24px 0 0;
  color: #4d4548;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

.hero-notes span::before {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--teal);
}

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

.hero-visual::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 34px solid rgba(230, 173, 53, 0.23);
  border-radius: 50%;
}

.phone-shot {
  position: relative;
  z-index: 1;
  width: min(260px, 52vw);
  max-width: 400px;
  height: auto;
  border: 8px solid #151719;
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.phone-shot.back {
  position: absolute;
  z-index: 0;
  right: 4%;
  width: min(220px, 45vw);
  transform: translateY(22px) rotate(5deg);
  opacity: 0.92;
}

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

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

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

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

.trust-item strong {
  display: block;
  color: var(--brand);
  font-size: 23px;
  line-height: 1.25;
}

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

.section {
  padding: 88px 0;
}

.section.alt {
  background: #f3f7f6;
}

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

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.section h2,
.content-block h2 {
  margin: 0;
  color: var(--brand-dark);
  font-size: clamp(28px, 3.7vw, 44px);
  line-height: 1.2;
  letter-spacing: 0;
}

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

.text-link {
  flex: 0 0 auto;
  color: var(--brand);
  font-weight: 750;
}

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

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

.feature-index {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  font-weight: 800;
}

.feature-card:nth-child(2) .feature-index,
.feature-card:nth-child(5) .feature-index {
  color: #2d220a;
  background: var(--gold);
}

.feature-card:nth-child(3) .feature-index,
.feature-card:nth-child(6) .feature-index {
  background: var(--coral);
}

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

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

.showcase-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: 76px;
}

.showcase-copy ul {
  display: grid;
  gap: 16px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.showcase-copy li {
  padding: 16px 0 16px 24px;
  border-bottom: 1px solid #d8e4e2;
  position: relative;
}

.showcase-copy li::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--teal);
}

.screens-row {
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.screens-row img {
  width: min(245px, 42vw);
  max-width: 400px;
  height: auto;
  border: 7px solid #18191a;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.screens-row img:last-child {
  transform: translateY(24px);
}

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

.path-card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 6px;
}

.path-card span {
  color: var(--gold);
  font-weight: 800;
}

.path-card h3 {
  margin: 38px 0 10px;
  font-size: 23px;
}

.path-card p {
  margin: 0 0 22px;
  color: #c8c9ca;
}

.path-card a {
  color: #ffffff;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-underline-offset: 5px;
}

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

.quote-card {
  margin: 0;
  padding: 28px;
  border-left: 4px solid var(--coral);
  border-radius: 0 6px 6px 0;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(62, 40, 45, 0.08);
}

.quote-card p {
  margin: 0;
  font-size: 16px;
}

.quote-card footer {
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
}

.faq-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px;
}

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

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

.faq-question span:last-child {
  color: var(--brand);
  font-size: 22px;
}

.faq-answer {
  display: none;
  padding: 0 24px 22px 0;
  color: var(--muted);
}

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

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

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

.download-inner h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 31px;
}

.download-inner p {
  margin: 0;
  color: #f3dce2;
}

.download-band .button {
  border-color: var(--white);
  background: var(--white);
  color: var(--brand-dark);
  box-shadow: none;
}

.page-hero {
  padding: 90px 0 72px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.page-hero .container {
  max-width: 920px;
}

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

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

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

.article-nav {
  position: sticky;
  top: 104px;
  padding-left: 18px;
  border-left: 3px solid var(--brand);
}

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

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

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

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

.content-block {
  margin-bottom: 68px;
  scroll-margin-top: 110px;
}

.content-block h2 {
  margin-bottom: 28px;
  font-size: 32px;
}

.content-block h3 {
  margin: 28px 0 12px;
  color: var(--ink);
  font-size: 21px;
}

.content-block p {
  margin: 0 0 18px;
  color: #4f555a;
}

.step-list {
  display: grid;
  gap: 26px;
  counter-reset: guide-step;
}

.guide-step {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  counter-increment: guide-step;
}

.guide-step::before {
  content: counter(guide-step, decimal-leading-zero);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--brand);
  font-weight: 800;
}

.guide-step h3 {
  margin-top: 4px;
}

.guide-step p:last-child {
  margin-bottom: 0;
}

.guide-figure {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 300px));
  justify-content: center;
  gap: 24px;
  margin: 34px 0;
}

.guide-figure figure {
  margin: 0;
}

.guide-figure img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 15px 35px rgba(40, 30, 33, 0.1);
}

.guide-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.notice {
  padding: 22px 24px;
  border-left: 4px solid var(--gold);
  background: #fff7e5;
  color: #5d4b24;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

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

.spec-table th {
  width: 32%;
  color: var(--brand-dark);
  background: var(--soft);
}

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

.feature-detail {
  padding: 26px;
  border-top: 4px solid var(--teal);
  background: #f3f7f6;
}

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

.feature-detail h3 {
  margin-top: 0;
}

.check-list {
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 10px 0;
  padding-left: 28px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 900;
}

.site-footer {
  padding: 52px 0 30px;
  color: #c9c9c9;
  background: #191a1b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 50px;
  padding-bottom: 34px;
}

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

.footer-brand img {
  width: 38px;
  height: 38px;
  border-radius: 7px;
}

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

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

.footer-links a {
  display: block;
  width: fit-content;
  padding: 5px 0;
  font-size: 14px;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  border-top: 1px solid #343536;
  color: #929495;
  font-size: 12px;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    inset: 72px 0 auto;
    display: none;
    align-items: stretch;
    padding: 22px 20px 26px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 16px 30px rgba(44, 26, 31, 0.12);
  }

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

  .site-nav a:not(.button) {
    padding: 8px 0;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

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

  .hero-grid {
    gap: 28px;
    padding: 60px 0 42px;
  }

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

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

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

  .article-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
  }

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

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

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

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

  .site-nav {
    inset-block-start: 64px;
  }

  .hero-grid {
    gap: 18px;
    padding: 30px 0 24px;
  }

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

  .hero-copy > p:not(.eyebrow),
  .page-hero p {
    font-size: 16px;
  }

  .hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
  }

  .hero-actions .button {
    width: 100%;
    padding: 0 12px;
  }

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

  .hero-visual::before {
    width: 185px;
    height: 185px;
    border-width: 18px;
  }

  .phone-shot {
    width: 140px;
    border-width: 5px;
    border-radius: 18px;
  }

  .phone-shot.back {
    right: 9%;
    width: 122px;
  }

  .trust-grid,
  .feature-grid,
  .path-grid,
  .quote-grid,
  .faq-preview,
  .feature-detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .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: 64px 0;
  }

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

  .showcase-grid {
    gap: 32px;
  }

  .screens-row {
    min-height: 390px;
    gap: 10px;
  }

  .screens-row img {
    width: 47%;
    border-width: 5px;
    border-radius: 16px;
  }

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

  .article-layout {
    padding: 48px 0 68px;
  }

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

  .guide-figure {
    grid-template-columns: 1fr;
  }

  .guide-figure figure {
    max-width: 300px;
    margin: 0 auto;
  }
}

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

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