:root {
  --archive: #9e1b32;
  --archive-dark: #741225;
  --teal: #157d74;
  --teal-dark: #0f5c56;
  --paper: #f7f3ea;
  --paper-deep: #eee6d8;
  --ink: #202725;
  --muted: #626b67;
  --line: #d8d0c4;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(44, 33, 28, 0.12);
  --radius: 8px;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

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(--archive-dark);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(158, 27, 50, 0.18);
  background: rgba(247, 243, 234, 0.96);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

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

.brand-word {
  letter-spacing: 0;
}

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

.site-nav a:not(.download-button) {
  position: relative;
  padding: 22px 0 20px;
}

.site-nav a:not(.download-button)::after {
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--archive);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

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

.download-button,
.action-link {
  display: inline-flex;
  min-height: 46px;
  padding: 10px 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--archive);
  border-radius: 6px;
  color: var(--white);
  background: var(--archive);
  font-size: 15px;
  font-weight: 750;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.download-button:hover,
.action-link:hover {
  border-color: var(--archive-dark);
  background: var(--archive-dark);
  transform: translateY(-2px);
}

.action-link.secondary {
  color: var(--archive-dark);
  background: transparent;
}

.action-link.secondary:hover {
  color: var(--white);
  background: var(--archive-dark);
}

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

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

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

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

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

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

.hero {
  min-height: min(720px, calc(100svh - 72px));
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
  padding: 56px 0;
}

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

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

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5.4vw, 68px);
  color: var(--archive-dark);
}

.hero-copy > p {
  max-width: 650px;
  margin: 0 0 30px;
  color: #4c5551;
  font-size: 18px;
}

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

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 26px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-facts li::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--teal);
}

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

.hero-visual::before {
  position: absolute;
  width: 84%;
  aspect-ratio: 1;
  border: 1px solid rgba(158, 27, 50, 0.2);
  border-radius: 50%;
  content: "";
}

.hero-visual img {
  position: relative;
  width: min(255px, 62%);
  max-width: 400px;
  height: auto;
  margin: auto 0;
  border: 7px solid var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-visual img:first-child {
  z-index: 2;
  transform: translateX(12%);
}

.hero-visual img:last-child {
  z-index: 1;
  transform: translate(-10%, 34px);
}

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

.signal-grid {
  min-height: 84px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.signal-item {
  padding: 16px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.signal-item:first-child {
  padding-left: 0;
}

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

.signal-item strong {
  display: block;
  font-size: 16px;
}

.signal-item span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: var(--white);
}

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

.section-head h2 {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--archive-dark);
  font-size: clamp(30px, 4vw, 46px);
}

.section-head a {
  flex: 0 0 auto;
  color: var(--teal-dark);
  font-weight: 750;
  border-bottom: 1px solid currentColor;
}

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

.feature-card,
.review-card,
.topic-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.feature-card {
  min-height: 270px;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.feature-number {
  width: 46px;
  height: 46px;
  display: grid;
  margin-bottom: 42px;
  place-items: center;
  border: 1px solid var(--archive);
  border-radius: 50%;
  color: var(--archive);
  font-weight: 800;
}

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

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

.tag-workflow {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 70px;
  align-items: center;
}

.workflow-copy h2 {
  margin-bottom: 30px;
  color: var(--archive-dark);
  font-size: clamp(30px, 4vw, 46px);
}

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

.workflow-list li {
  position: relative;
  padding: 20px 0 20px 62px;
  border-top: 1px solid var(--line);
  counter-increment: workflow;
}

.workflow-list li::before {
  position: absolute;
  top: 19px;
  left: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: var(--white);
  background: var(--teal);
  content: counter(workflow, decimal-leading-zero);
  font-size: 12px;
  font-weight: 800;
}

.workflow-list strong {
  display: block;
  margin-bottom: 4px;
}

.workflow-list span {
  color: var(--muted);
  font-size: 14px;
}

.workflow-image {
  position: relative;
  min-height: 530px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-deep);
}

.workflow-image img {
  width: min(300px, 76%);
  max-width: 400px;
  height: auto;
  border: 7px solid var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.shot {
  margin: 0;
}

.shot img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.shot figcaption {
  padding: 14px 2px 0;
  color: var(--muted);
  font-size: 13px;
}

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

.topic-card {
  min-height: 250px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.topic-card h3 {
  margin-bottom: 12px;
  font-size: 25px;
}

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

.text-link {
  align-self: flex-start;
  margin-top: 28px;
  color: var(--teal-dark);
  font-weight: 750;
  border-bottom: 1px solid currentColor;
}

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

.review-card {
  margin: 0;
  padding: 28px;
}

.review-card blockquote {
  margin: 0 0 24px;
  font-size: 17px;
}

.review-card figcaption {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 750;
}

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

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

.faq-list summary {
  position: relative;
  padding: 22px 52px 22px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 750;
}

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

.faq-list summary::after {
  position: absolute;
  top: 19px;
  right: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "+";
  color: var(--archive);
  font-size: 20px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 900px;
  margin: 0;
  padding: 0 52px 22px 0;
  color: var(--muted);
}

.download-band {
  padding: 64px 0;
  color: var(--white);
  background: var(--archive-dark);
}

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

.download-band h2 {
  max-width: 700px;
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 43px);
}

.download-band p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.download-band .download-button {
  flex: 0 0 auto;
  border-color: var(--white);
  color: var(--archive-dark);
  background: var(--white);
}

.download-band .download-button:hover {
  color: var(--white);
  background: transparent;
}

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

.page-hero h1 {
  max-width: 920px;
  margin-bottom: 20px;
  font-size: clamp(38px, 5vw, 62px);
}

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

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

.article-content h2 {
  margin: 64px 0 22px;
  color: var(--archive-dark);
  font-size: 32px;
}

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

.article-content h3 {
  margin: 30px 0 10px;
  font-size: 21px;
}

.article-content p {
  margin: 0 0 18px;
  color: #424a47;
}

.article-content ul,
.article-content ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 10px;
}

.article-image {
  margin: 28px 0 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.article-image figure {
  margin: 0;
}

.article-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.article-image figcaption {
  padding-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.step-list {
  display: grid;
  gap: 16px;
}

.step-item {
  position: relative;
  padding: 26px 28px 26px 82px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.step-item b {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: var(--white);
  background: var(--teal);
  font-size: 13px;
}

.step-item h3 {
  margin: 0 0 6px;
  font-size: 19px;
}

.step-item p {
  margin: 0;
}

.notice {
  margin: 28px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--teal);
  background: #e9f2ef;
}

.notice strong {
  color: var(--teal-dark);
}

.side-nav {
  position: sticky;
  top: 100px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.side-nav strong {
  display: block;
  margin-bottom: 12px;
  color: var(--archive-dark);
}

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

.side-nav a:hover {
  color: var(--teal-dark);
}

.side-nav .download-button {
  margin-top: 16px;
  color: var(--white);
}

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

.faq-group h2 {
  margin-bottom: 18px;
  color: var(--archive-dark);
}

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

.related-links a {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.related-links strong {
  display: block;
  margin-bottom: 6px;
  color: var(--archive-dark);
}

.related-links span {
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding: 48px 0 30px;
  color: #d7dedb;
  background: #202725;
}

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

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

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

.site-footer p {
  max-width: 520px;
  margin: 0;
  color: #aeb8b4;
  font-size: 13px;
}

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

.footer-links a {
  display: block;
  margin: 8px 0;
  color: #bfc8c4;
  font-size: 14px;
}

.footer-bottom {
  margin-top: 38px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid #3b4541;
  color: #9da8a3;
  font-size: 12px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

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

  .site-nav {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    max-height: calc(100svh - 72px);
    padding: 22px 20px 28px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

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

  .site-nav a:not(.download-button) {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:not(.download-button)::after {
    display: none;
  }

  .site-nav .download-button {
    margin-top: 18px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.85fr;
    gap: 32px;
  }

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

  .hero-visual img {
    width: min(220px, 72%);
  }

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

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

  .tag-workflow {
    gap: 38px;
  }

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

  .side-nav {
    position: static;
    display: none;
  }
}

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

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 34px 0 26px;
  }

  h1 {
    font-size: 42px;
  }

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

  .hero-copy > p {
    margin-bottom: 20px;
    line-height: 1.65;
  }

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

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

  .hero-visual img {
    width: min(150px, 46%);
  }

  .hero-visual::before {
    width: 68%;
  }

  .hero-visual img:first-child {
    transform: translateX(10%);
  }

  .hero-visual img:last-child {
    transform: translate(-12%, 26px);
  }

  .signal-grid {
    grid-template-columns: 1fr;
    padding: 8px 0;
  }

  .signal-item,
  .signal-item:first-child {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

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

  .section {
    padding: 68px 0;
  }

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

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

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

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

  .tag-workflow {
    grid-template-columns: 1fr;
  }

  .workflow-image {
    min-height: 470px;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

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

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

  .article-content h2 {
    margin-top: 48px;
    font-size: 28px;
  }

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

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

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

  .download-band {
    padding: 52px 0;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 36px;
  }

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

  .hero-actions {
    display: grid;
  }

  .hero-actions .download-button,
  .hero-actions .action-link {
    width: 100%;
  }

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

  .hero-visual img {
    width: min(128px, 41%);
    border-width: 5px;
  }

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

  .shot img {
    margin: 0 auto;
  }
}
