.home-page {
  min-height: 100vh;
  color: #475569;
  background: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.home-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.home-shell > main {
  flex: 1 1 auto;
}

.home-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px max(24px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid #e2e8f0;
  background: rgba(248, 250, 252, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand-mark,
.nav-actions a,
.primary-link,
.secondary-link,
.beian-link {
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
}

.brand-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #ffffff;
  background: #2563eb;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.08);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-actions a,
.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-actions a {
  padding: 0 12px;
  color: #475569;
}

.nav-actions a:hover {
  color: #0f172a;
}

.nav-actions .nav-login {
  padding: 0 16px;
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.22);
  background: #ffffff;
}

.home-hero,
.section-block,
.bottom-cta,
.site-footer {
  width: min(100% - 48px, 1160px);
  margin-inline: auto;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 480px);
  gap: 56px;
  align-items: center;
  padding: 80px 0 64px;
}

.hero-copy {
  min-width: 0;
}

.section-kicker {
  margin: 0;
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.hero-copy h1 {
  margin: 14px 0 0;
  max-width: 640px;
  color: #0f172a;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-lede {
  margin: 22px 0 0;
  max-width: 650px;
  color: #475569;
  font-size: 16px;
  line-height: 1.75;
}

.hero-actions,
.bottom-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 30px;
}

.primary-link,
.secondary-link {
  padding: 0 18px;
}

.primary-link {
  color: #ffffff;
  background: #2563eb;
  box-shadow: 0 4px 10px rgb(37 99 235 / 0.18);
}

.primary-link:hover {
  background: #1d4ed8;
}

.secondary-link {
  color: #0f172a;
  border: 1px solid #cbd5e1;
  background: #ffffff;
}

.secondary-link:hover {
  border-color: #94a3b8;
}

.proof-row,
.chip-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.proof-row {
  margin-top: 24px;
}

.proof-row span,
.chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.proof-row span {
  padding: 5px 10px;
  color: #047857;
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
}

.delivery-visual {
  min-width: 0;
  display: grid;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgb(15 23 42 / 0.08);
  overflow: hidden;
}

.handoff-stage {
  display: grid;
  gap: 14px;
  padding: 22px 24px;
  border-bottom: 1px solid #e2e8f0;
}

.handoff-stage:last-child {
  border-bottom: 0;
}

.handoff-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  font-size: 16px;
}

.stage-icon {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid currentColor;
  color: #2563eb;
  background: #eff6ff;
}

.stage-input::after,
.stage-process::after,
.stage-output::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 3px;
  border: 2px solid currentColor;
}

.stage-process::after {
  border-radius: 999px;
}

.stage-output::after {
  border-top-width: 6px;
}

.handoff-stage ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.handoff-stage li {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #334155;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.section-block {
  padding: 80px 0 0;
  scroll-margin-top: 92px;
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 660px;
  margin-bottom: 24px;
}

.wide-heading {
  max-width: 760px;
}

.section-heading h2,
.bottom-cta h2 {
  margin: 0;
  color: #0f172a;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: 0;
}

.three-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-card,
.service-card,
.safeguard-card {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
}

.service-card {
  min-height: 232px;
}

.safeguard-card {
  background: #f8fafc;
}

.info-card h3,
.service-card h3,
.safeguard-card h3,
.workflow-steps h3 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0;
}

.info-card p,
.service-card p,
.safeguard-card p,
.workflow-steps p,
.bottom-cta p {
  margin: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
}

.chip-row {
  margin-top: 4px;
}

.chip-row span {
  padding: 5px 10px;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
}

.workflow-section {
  padding-top: 88px;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.workflow-steps li {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 22px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #ffffff;
  background: #2563eb;
  font-size: 14px;
  font-weight: 800;
}

.workflow-steps div {
  display: grid;
  gap: 8px;
}

.safeguards-section {
  padding-bottom: 80px;
}

.bottom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
}

.bottom-cta > div:first-child {
  display: grid;
  gap: 8px;
  max-width: 680px;
}

.site-footer {
  padding: 28px 0 18px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  flex-wrap: wrap;
  color: #64748b;
  line-height: 1.4;
}

.footer-inner,
.footer-inner span,
.footer-inner a {
  font-size: 13px;
}

.footer-separator::before {
  content: "|";
  color: #cbd5e1;
}

.beian-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
}

.beian-link:hover {
  color: #2563eb;
}

.police-link img {
  width: 16px;
  height: 17px;
  object-fit: contain;
}

@media (max-width: 1040px) {
  .home-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 64px;
  }

  .delivery-visual {
    max-width: 720px;
  }

  .workflow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .home-nav {
    min-height: 64px;
    padding-inline: 16px;
  }

  .brand-mark {
    font-size: 16px;
  }

  .nav-actions a:not(.nav-login) {
    display: none;
  }

  .home-hero,
  .section-block,
  .bottom-cta,
  .site-footer {
    width: min(100% - 32px, 1160px);
  }

  .home-hero {
    padding: 48px 0 36px;
  }

  .hero-copy h1 {
    font-size: 32px;
    line-height: 1.18;
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-actions,
  .bottom-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .handoff-stage {
    padding: 18px;
  }

  .handoff-stage ul {
    grid-template-columns: 1fr;
  }

  .section-block {
    padding-top: 48px;
  }

  .section-heading h2,
  .bottom-cta h2 {
    font-size: 24px;
  }

  .three-card-grid,
  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .info-card,
  .service-card,
  .safeguard-card,
  .workflow-steps li {
    padding: 18px;
  }

  .service-card {
    min-height: auto;
  }

  .safeguards-section {
    padding-bottom: 48px;
  }

  .bottom-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 20px;
  }
}
