:root {
  color-scheme: light;
  --ink: #132538;
  --muted: #5d6b79;
  --blue: #0b5fa5;
  --blue-dark: #083d69;
  --blue-soft: #eaf5ff;
  --line: #d8e3ec;
  --paper: #ffffff;
  --warm: #f7f5f0;
  --shadow: 0 22px 60px rgba(16, 54, 86, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  line-height: 1.7;
}

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

a:focus-visible {
  outline: 3px solid #f5a623;
  outline-offset: 4px;
}

.section-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 max(20px, calc((100% - 1120px) / 2));
  border-bottom: 1px solid rgba(216, 227, 236, 0.86);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  color: var(--blue-dark);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  gap: 26px;
  color: #405266;
  font-size: 0.92rem;
}

nav a:hover,
footer a:hover,
.email-link:hover {
  color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 84px;
  align-items: center;
  min-height: 650px;
  padding-top: 76px;
  padding-bottom: 76px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.9rem);
  line-height: 1.05;
  letter-spacing: -0.065em;
}

.hero-lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.order-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--blue);
  border-radius: 9px;
  font-weight: 750;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(11, 95, 165, 0.25);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  color: var(--blue-dark);
  background: #fff;
}

.button-secondary:hover {
  background: var(--blue-soft);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 25px 0 0;
  padding: 0;
  color: #53687c;
  font-size: 0.86rem;
  list-style: none;
}

.trust-list li::before {
  margin-right: 7px;
  color: #18815a;
  content: "✓";
  font-weight: 900;
}

.conversion-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 15px;
  align-items: center;
  min-height: 370px;
  padding: 38px;
  overflow: hidden;
  border: 1px solid #c9dcea;
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 12%, rgba(73, 156, 218, 0.22), transparent 38%),
    linear-gradient(145deg, #f3f9fd, #dceefa);
  box-shadow: var(--shadow);
}

.conversion-card::before {
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(11, 95, 165, 0.25);
  border-radius: 19px;
  content: "";
}

.file-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 205px;
  padding: 22px;
  border: 1px solid rgba(11, 79, 138, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 35px rgba(19, 54, 83, 0.12);
}

.file-card strong {
  margin: 18px 0 10px;
  color: var(--blue-dark);
  font-size: 1.02rem;
}

.file-card span:not(.file-label, .word-line) {
  color: #647587;
  font-family: Consolas, monospace;
  font-size: 0.76rem;
}

.file-label {
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.conversion-arrow {
  position: relative;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 1.35rem;
}

.word-line {
  display: block;
  width: 100%;
  height: 8px;
  margin-top: 11px;
  border-radius: 99px;
  background: #dbe6ef;
}

.word-line.short {
  width: 68%;
  margin-top: 0;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--warm);
}

.proof-strip div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 20px;
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong {
  color: var(--blue-dark);
  font-size: 1.35rem;
}

.proof-strip span {
  color: var(--muted);
  font-size: 0.78rem;
}

.preview-section,
.feature-section,
.order-section {
  padding-top: 110px;
  padding-bottom: 110px;
}

.section-heading {
  max-width: 730px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading.compact {
  margin-left: 0;
  text-align: left;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child {
  color: var(--muted);
}

.case-comparison {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 22px;
  align-items: stretch;
}

.case-panel {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #f8fbfd;
  box-shadow: 0 12px 32px rgba(22, 54, 79, 0.08);
}

.case-label {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.case-input {
  display: flex;
  flex-direction: column;
}

.case-input h3 {
  margin: 20px 0 14px;
}

.case-input pre {
  flex: 1;
  margin: 0;
  padding: 22px;
  overflow-x: auto;
  border-radius: 14px;
  color: #dcecff;
  background: #102b43;
  font: 0.82rem/1.75 Consolas, "Courier New", monospace;
  white-space: pre-wrap;
}

.case-link {
  margin-top: 18px;
  color: var(--blue-dark);
  font-size: 0.88rem;
  font-weight: 750;
}

.case-output {
  background: #eef3f6;
}

.document-preview {
  margin: 18px 0 0;
}

.document-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #fff;
}

.document-preview figcaption {
  padding-top: 12px;
  color: #697a8a;
  font-size: 0.78rem;
  text-align: center;
}

.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
}

.case-actions span,
.direct-email {
  color: var(--muted);
  font-size: 0.88rem;
}

.direct-email {
  margin: 18px 0 0;
}

.direct-email a {
  color: var(--blue-dark);
  font-weight: 750;
}

.feature-section {
  padding-top: 40px;
}

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

.feature-grid article {
  padding: 32px;
  border-top: 3px solid var(--blue);
  background: var(--blue-soft);
}

.feature-number {
  color: rgba(11, 95, 165, 0.55);
  font-family: Georgia, serif;
  font-size: 1.1rem;
}

h3 {
  margin: 16px 0 8px;
  font-size: 1.15rem;
}

.feature-grid p,
.price-card p,
.order-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.services-section {
  padding: 105px 0;
  color: #fff;
  background: var(--blue-dark);
}

.eyebrow.light {
  color: #88c8ff;
}

.price-card {
  min-height: 230px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.06);
}

.price-card.featured {
  color: var(--ink);
  background: #fff;
}

.price-kicker {
  color: #9ed1fc !important;
  font-weight: 750;
}

.featured .price-kicker {
  color: var(--blue) !important;
}

.price {
  margin: 22px 0 14px !important;
  color: inherit !important;
}

.price strong {
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 1;
}

.services-section .price-card:not(.featured) p,
.pricing-note {
  color: #c1d5e7;
}

.pricing-note {
  margin: 22px 0 0;
  font-size: 0.8rem;
  text-align: center;
}

.order-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.order-steps li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.order-steps li > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: var(--blue-soft);
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.order-steps h3 {
  margin-top: 0;
}

.email-link {
  color: var(--blue-dark);
  font-weight: 750;
}

.privacy-note {
  margin: 24px 0 0;
  padding: 15px 18px;
  border-left: 3px solid #e2a13a;
  color: #6a5638;
  background: #fff8e8;
  font-size: 0.82rem;
}

footer {
  color: #c8d7e5;
  background: #0d2438;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 180px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner div {
  display: flex;
  gap: 22px;
  font-size: 0.86rem;
}

@media (max-width: 860px) {
  nav a:not(:last-child) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-top: 58px;
  }

  .conversion-card {
    min-height: 320px;
  }

  .feature-grid,
  .price-grid,
  .case-comparison {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .section-shell {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    min-height: 60px;
    padding: 0 14px;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.4rem);
  }

  .hero {
    padding-top: 46px;
    padding-bottom: 58px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .conversion-card {
    grid-template-columns: 1fr;
    padding: 34px;
  }

  .conversion-arrow {
    margin: -5px auto;
    transform: rotate(90deg);
  }

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

  .proof-strip div:nth-child(2) {
    border-right: 0;
  }

  .proof-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .preview-section,
  .feature-section,
  .order-section,
  .services-section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .document-preview {
    padding: 10px 10px 8px;
    border-radius: 13px;
  }

  .order-steps li {
    grid-template-columns: 45px 1fr;
    gap: 13px;
  }

  .order-steps li > span {
    width: 38px;
    height: 38px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
  }

  .footer-inner div {
    flex-wrap: wrap;
    gap: 11px 18px;
  }
}

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

  .button {
    transition: none;
  }
}

.guide-header {
  padding: 82px 0 60px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(145deg, #f8fcff, #edf6fc);
}

.guide-header .section-shell,
.article-body {
  max-width: 860px;
}

.guide-header h1 {
  max-width: 820px;
  font-size: clamp(2.6rem, 6vw, 4.7rem);
}

.guide-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.article-body {
  padding-top: 72px;
  padding-bottom: 100px;
}

.article-body h2 {
  margin: 70px 0 20px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.article-body h3 {
  margin-top: 28px;
}

.article-body p,
.article-body li {
  color: #405266;
}

.article-body > p,
.article-body > ul,
.article-body > ol {
  font-size: 1rem;
}

.method-card {
  margin: 24px 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.method-card.recommended {
  border-color: #7ebce9;
  background: var(--blue-soft);
}

.method-card h3 {
  margin-top: 0;
}

.method-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.code-block {
  margin: 18px 0;
  padding: 18px 20px;
  overflow-x: auto;
  border-radius: 9px;
  color: #dcecff;
  background: #102a43;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.88rem;
  line-height: 1.7;
}

.comparison-wrap {
  margin: 28px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.comparison {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
}

.comparison th,
.comparison td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.comparison th {
  color: var(--blue-dark);
  background: #edf6fc;
  font-size: 0.85rem;
}

.comparison tr:last-child td {
  border-bottom: 0;
}

.guide-preview {
  margin: 34px 0;
}

.guide-cta {
  margin-top: 72px;
  padding: 40px;
  border-radius: 18px;
  color: #fff;
  background: var(--blue-dark);
}

.guide-cta h2 {
  margin-top: 0;
}

.guide-cta p {
  color: #c8dced;
}

.guide-cta .button-secondary {
  border-color: #fff;
}

@media (max-width: 600px) {
  .guide-header {
    padding-top: 54px;
  }

  .article-body {
    padding-top: 48px;
  }

  .method-card,
  .guide-cta {
    padding: 24px;
  }
}
