:root {
  --ink: #1c1917;
  --ink-soft: #44403c;
  --muted: #78716c;
  --paper: #faf8f6;
  --paper-alt: #f3efe9;
  --card: #ffffff;
  --line: rgba(28, 25, 23, 0.08);
  --coral: #e8875b;
  --coral-deep: #d46a3c;
  --coral-soft: rgba(232, 135, 91, 0.12);
  --max: 1080px;
  --nav-height: 68px;
  --radius: 16px;
  --font: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: var(--coral-deep);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: var(--paper-alt);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.site-nav-links a.nav-cta {
  text-decoration: none;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(232, 135, 91, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(120, 90, 70, 0.08), transparent 50%),
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 32px 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
}

.hero-brand {
  font-family: var(--font);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--coral-deep);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-copy h1 {
  font-family: var(--font);
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 16px;
  max-width: 18em;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 28px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--coral);
  color: #fff;
}

.btn-primary:hover {
  background: var(--coral-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: rgba(232, 135, 91, 0.45);
  color: var(--coral-deep);
}

.hero-note {
  font-size: 13px;
  color: var(--muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
  perspective: 900px;
}

.book-stack {
  position: relative;
  width: min(280px, 70vw);
  height: 360px;
}

.book-page {
  position: absolute;
  inset: 0;
  border-radius: 4px 12px 12px 4px;
  background: var(--card);
  box-shadow: 0 18px 50px rgba(28, 25, 23, 0.12);
}

.book-page.back {
  transform: translate(18px, 14px) rotate(4deg);
  background: #ebe4db;
}

.book-page.mid {
  transform: translate(8px, 6px) rotate(1.5deg);
  background: #f5f0ea;
}

.book-page.front {
  background: linear-gradient(145deg, #f7f2ec 0%, #efe6dc 55%, #e8d9cb 100%);
  border: 1px solid rgba(28, 25, 23, 0.06);
  padding: 48px 36px 36px 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.book-spine {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 14px;
  background: linear-gradient(90deg, var(--coral-deep), var(--coral));
  border-radius: 4px 0 0 4px;
}

.book-cover-title {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.book-cover-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}

.book-cover-line {
  height: 6px;
  width: 72%;
  border-radius: 3px;
  background: rgba(28, 25, 23, 0.08);
  margin-bottom: 10px;
}

.book-cover-line.short {
  width: 48%;
}

.section {
  padding: 88px 0;
}

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

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--ink-soft);
  max-width: 36em;
  margin-bottom: 40px;
  font-size: 1.02rem;
}

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

.advantage-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.advantage-card h3 {
  font-family: var(--font);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.advantage-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.feature-row:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-index {
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--coral);
  line-height: 1.2;
}

.feature-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.feature-body p {
  color: var(--ink-soft);
}

.doc-steps {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.doc-steps li {
  counter-increment: step;
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 24px 72px;
}

.doc-steps li::before {
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--coral-soft);
  color: var(--coral-deep);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-steps h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.doc-steps p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.doc-link {
  display: inline-block;
  margin-top: 6px;
  word-break: break-all;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.doc-tips {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 32px;
}

.doc-tips h3 {
  font-family: var(--font);
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.doc-tips ul {
  padding-left: 1.2em;
  color: var(--ink-soft);
}

.doc-tips li {
  margin-bottom: 10px;
}

.doc-tips li:last-child {
  margin-bottom: 0;
}

.doc-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 18px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  padding: 16px 0;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  color: var(--ink-soft);
  padding-bottom: 16px;
}

.contact-section {
  padding: 48px 32px 64px;
}

.contact-box {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--ink);
  color: #f5f5f4;
  border-radius: 20px;
  padding: 36px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.contact-box h3 {
  font-family: var(--font);
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.contact-box p {
  color: rgba(245, 245, 244, 0.72);
  font-size: 0.95rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.contact-links a {
  color: #fff;
  font-weight: 600;
}

.contact-links span {
  color: rgba(245, 245, 244, 0.65);
  font-size: 14px;
}

.site-footer {
  text-align: center;
  padding: 24px 16px 40px;
  font-size: 13px;
  color: var(--muted);
}

.site-footer a {
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 48px 20px 64px;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .book-stack {
    height: 300px;
  }

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

  .feature-row {
    grid-template-columns: 48px 1fr;
    gap: 12px;
  }

  .section {
    padding: 64px 0;
  }

  .section-inner {
    padding: 0 20px;
  }

  .doc-steps li {
    padding-left: 64px;
  }

  .contact-box {
    padding: 28px 24px;
  }
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

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

.compare-table th {
  font-family: var(--font);
  font-weight: 600;
  background: var(--paper-alt);
}

.compare-table td:first-child {
  color: var(--ink-soft);
  min-width: 160px;
}

.compare-note {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--muted);
}

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

.gallery-grid-single {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}

.gallery-card {
  margin: 0;
}

.gallery-shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 513;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #fff 0%, var(--paper-alt) 100%);
  object-fit: cover;
  object-position: center top;
}

.gallery-card figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-align: center;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
