:root {
  --wine: #8f1631;
  --wine-dark: #651022;
  --ink: #10253a;
  --teal: #2d6f6d;
  --gold: #d6a33b;
  --paper: #f6f3ee;
  --white: #ffffff;
  --muted: #5d6670;
  --line: #d9d6d0;
  --shadow: 0 18px 50px rgba(16, 37, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, Helvetica, sans-serif;
  line-height: 1.75;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

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

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

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

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--wine-dark);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

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

.site-nav a {
  padding: 10px 13px;
  border-bottom: 2px solid transparent;
  font-size: 0.94rem;
  font-weight: 650;
}

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

.site-nav .nav-download,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 2px solid var(--wine);
  border-radius: 6px;
  color: var(--white);
  background: var(--wine);
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(143, 22, 49, 0.18);
  transition: transform 160ms ease, background 160ms ease;
}

.site-nav .nav-download {
  margin-left: 8px;
  padding: 0 17px;
  border-bottom: 2px solid var(--wine);
}

.site-nav .nav-download:hover,
.button:hover {
  color: var(--white);
  background: var(--wine-dark);
  transform: translateY(-2px);
}

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

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  content: "";
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  top: 0;
  right: 8%;
  width: 1px;
  height: 100%;
  content: "";
  background: rgba(143, 22, 49, 0.2);
}

.hero-grid {
  display: grid;
  min-height: min(680px, calc(100svh - 76px));
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  align-items: center;
  gap: 70px;
  padding-top: 52px;
  padding-bottom: 52px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--wine);
  font-size: 0.82rem;
  font-weight: 800;
}

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

.hero h1,
.inner-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.55rem, 6vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy > p {
  max-width: 640px;
  margin: 24px 0 0;
  color: #3f4a55;
  font-size: 1.08rem;
}

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

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 30px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero-facts strong {
  display: block;
  color: var(--wine);
  font-size: 1.35rem;
  line-height: 1.1;
}

.hero-facts span {
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-media {
  display: flex;
  min-height: 510px;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.hero-media img {
  width: min(44%, 250px);
  max-width: 400px;
  height: auto;
  border: 8px solid var(--ink);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.signal-bar {
  color: var(--white);
  background: var(--ink);
}

.signal-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  padding: 22px 0;
  list-style: none;
}

.signal-list li {
  padding: 6px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  text-align: center;
}

.signal-list li:last-child {
  border-right: 0;
}

.signal-list strong {
  display: block;
  color: #f3c86e;
  font-size: 1.08rem;
}

.signal-list span {
  color: #cbd4dc;
  font-size: 0.82rem;
}

.section {
  padding: 88px 0;
}

.section.compact {
  padding: 62px 0;
}

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

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

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

.section h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.22;
  letter-spacing: 0;
}

.section-index {
  color: var(--wine);
  font-family: Consolas, Monaco, monospace;
  font-size: 0.88rem;
  font-weight: 800;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.feature-item {
  min-height: 260px;
  padding: 30px;
  background: var(--white);
}

.feature-number {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 54px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  font-family: Consolas, Monaco, monospace;
  font-size: 0.85rem;
  font-weight: 800;
}

.feature-item h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.screen-item {
  margin: 0;
}

.screen-item img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border: 1px solid #cad0d5;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(16, 37, 58, 0.11);
}

.screen-item figcaption {
  padding: 15px 4px 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.screen-item strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

.depth-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.depth-panel {
  min-height: 330px;
  padding: 44px;
  background: var(--ink);
}

.depth-panel.accent {
  color: var(--ink);
  background: var(--gold);
}

.depth-panel h3 {
  margin: 0 0 18px;
  font-size: 1.7rem;
  line-height: 1.25;
}

.depth-panel p {
  max-width: 620px;
  margin: 0 0 28px;
  color: #cbd4dc;
}

.depth-panel.accent p {
  color: #283746;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid currentColor;
  font-weight: 800;
}

.text-link::after {
  content: "→";
}

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

.review {
  margin: 0;
  padding: 28px;
  border-left: 4px solid var(--wine);
  background: var(--white);
}

.review p {
  margin: 0 0 20px;
}

.review footer {
  color: var(--muted);
  font-size: 0.84rem;
}

.faq-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

summary {
  position: relative;
  padding: 20px 54px 20px 22px;
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 18px;
  right: 20px;
  color: var(--wine);
  content: "+";
  font-size: 1.35rem;
}

details[open] summary::after {
  content: "−";
}

.detail-body {
  padding: 0 22px 22px;
  color: var(--muted);
}

.bottom-cta {
  padding: 64px 0;
  color: var(--white);
  background: var(--wine);
}

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

.bottom-cta h2 {
  margin: 0 0 8px;
  font-size: 2rem;
  letter-spacing: 0;
}

.bottom-cta p,
.bottom-cta .cta-note {
  margin: 0;
  color: #f3dfe4;
}

.bottom-cta .button {
  flex: 0 0 auto;
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
  box-shadow: none;
}

.inner-hero {
  padding: 74px 0 66px;
  color: var(--white);
  background: var(--ink);
}

.inner-hero h1 {
  color: var(--white);
  font-size: clamp(2.35rem, 5vw, 4.4rem);
}

.inner-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: #cbd4dc;
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  color: #9fb0c0;
  font-size: 0.84rem;
}

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

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

.steps {
  position: relative;
}

.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 24px;
  padding: 0 0 52px;
}

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

.step-count {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 2px solid var(--wine);
  border-radius: 50%;
  color: var(--wine);
  background: var(--white);
  font-family: Consolas, Monaco, monospace;
  font-weight: 800;
}

.step h2 {
  margin: 4px 0 12px;
  font-size: 1.4rem;
}

.step p {
  margin: 0 0 12px;
  color: #4b5560;
}

.step ul,
.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

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

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

.side-note {
  position: sticky;
  top: 104px;
  padding: 26px;
  border-top: 4px solid var(--gold);
  background: var(--paper);
}

.side-note h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.side-note p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.tip-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.tip {
  padding: 26px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
}

.tip h3 {
  margin: 0 0 10px;
}

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

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

.feature-detail {
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--white);
}

.feature-detail h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.feature-detail p {
  margin: 0 0 12px;
  color: var(--muted);
}

.feature-detail .label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 4px 9px;
  color: var(--white);
  background: var(--teal);
  font-size: 0.74rem;
  font-weight: 800;
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 14px;
}

.faq-list details {
  break-inside: avoid;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-links a {
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 700;
}

.related-links a:hover {
  color: var(--wine);
  border-color: var(--wine);
}

.site-footer {
  padding: 52px 0 28px;
  color: #c7d1da;
  background: #081521;
}

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

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

.footer-brand img {
  width: 48px;
  height: 48px;
}

.footer-copy {
  max-width: 520px;
  margin: 18px 0 0;
  color: #9fb0c0;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 1rem;
}

.footer-links {
  display: grid;
  gap: 8px;
}

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

.disclaimer,
.copyright {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.8rem;
}

.disclaimer {
  padding: 22px 0 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #91a2b1;
}

.copyright {
  color: #708292;
}

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

  .site-nav {
    position: fixed;
    inset: 76px 0 auto;
    z-index: 60;
    display: none;
    max-height: calc(100svh - 76px);
    padding: 18px 20px 26px;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: var(--white);
  }

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

  .site-nav a {
    padding: 13px 4px;
  }

  .site-nav .nav-download {
    margin: 8px 0 0;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 54px;
  }

  .hero-media {
    min-height: 0;
  }

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

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

  .side-note {
    position: static;
  }
}

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

  .site-header {
    height: 68px;
  }

  .site-nav {
    inset: 68px 0 auto;
    max-height: calc(100svh - 68px);
  }

  .hero-grid {
    padding-top: 42px;
    padding-bottom: 44px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.5rem);
  }

  .hero-media {
    gap: 10px;
    align-items: center;
  }

  .hero-media img {
    width: 31%;
    border-width: 5px;
    border-radius: 19px;
  }

  .signal-list {
    grid-template-columns: 1fr 1fr;
  }

  .signal-list li:nth-child(2) {
    border-right: 0;
  }

  .signal-list li:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .section {
    padding: 64px 0;
  }

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

  .feature-grid,
  .screens-grid,
  .depth-grid,
  .reviews-grid,
  .faq-preview,
  .tip-band,
  .feature-detail-grid,
  .faq-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-item {
    min-height: auto;
  }

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

  .depth-panel {
    min-height: 0;
    padding: 32px 24px;
  }

  .bottom-cta h2 {
    font-size: 1.6rem;
  }

  .inner-hero {
    padding: 58px 0 52px;
  }

  .inner-hero h1 {
    font-size: 2.35rem;
  }

  .step {
    grid-template-columns: 46px 1fr;
    gap: 16px;
  }

  .step-count {
    width: 44px;
    height: 44px;
  }
}

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

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