:root {
  color-scheme: light;
  --ink: #17211d;
  --muted: #5d675f;
  --paper: #f7f4ee;
  --surface: #ffffff;
  --line: #d9dfd4;
  --green: #0c6b55;
  --blue: #244c8f;
  --gold: #d79a2b;
  --coral: #bf4e3c;
  --shadow: 0 18px 50px rgba(23, 33, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(36, 76, 143, 0.06), transparent 34rem),
    linear-gradient(225deg, rgba(12, 107, 85, 0.08), transparent 30rem),
    var(--paper);
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(23, 33, 29, 0.08);
  background: rgba(247, 244, 238, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover {
  color: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(44px, 7vw, 92px) clamp(18px, 5vw, 72px) 36px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6.2vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.18;
}

.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

.hero-copy {
  min-width: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 34px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.btn.primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(23, 33, 29, 0.18);
}

.btn.primary:hover {
  background: var(--green);
  border-color: var(--green);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.55);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 560px;
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-metrics div {
  padding: 18px 18px 16px 0;
}

.hero-metrics dt {
  font-size: 28px;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.hero-visual {
  min-width: 0;
  width: 100%;
  margin: 0;
  border: 1px solid rgba(23, 33, 29, 0.14);
  border-radius: 8px;
  background: #e8eee5;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(1deg);
}

.hero-visual img {
  width: 100%;
  height: auto;
}

.section {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 72px);
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--ink);
}

.strip-item {
  min-height: 148px;
  padding: 30px;
  color: #fff;
  background: var(--ink);
}

.strip-item:nth-child(2) {
  background: #183f67;
}

.strip-item:nth-child(3) {
  background: #0c5f4b;
}

.strip-item strong,
.strip-item span {
  display: block;
}

.strip-item strong {
  margin-bottom: 14px;
  font-size: 20px;
}

.strip-item span {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 32px;
}

.section-head.compact {
  display: block;
  max-width: 760px;
}

.section-head p:last-child {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

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

.solution-card,
.package-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.solution-card p,
.package-card li,
.faq-list p {
  color: var(--muted);
  line-height: 1.7;
}

.tag,
.package-kicker {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--blue);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.process {
  color: #fff;
  background: #17211d;
}

.process .eyebrow,
.process h2 {
  color: #fff;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 42px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.timeline li {
  min-height: 250px;
  padding: 30px 24px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.timeline span {
  display: block;
  margin-bottom: 46px;
  color: var(--gold);
  font-weight: 800;
}

.timeline strong {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
}

.timeline p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.packages {
  background: #edf3ef;
}

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

.package-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  background: #fff;
}

.package-card.featured {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-12px);
}

.package-card.featured .package-kicker,
.package-card.featured li {
  color: rgba(255, 255, 255, 0.78);
}

.package-card ul {
  padding-left: 20px;
  margin: 24px 0;
}

.package-card a {
  margin-top: auto;
  color: var(--coral);
  font-weight: 800;
}

.package-card.featured a {
  color: #fff;
}

.price {
  margin: 10px 0 0;
  font-size: 34px;
  font-weight: 900;
}

.tool-panel,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.tool-panel {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.tool-panel p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.calculator,
.lead-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cfd7cc;
  border-radius: 8px;
  padding: 14px 14px;
  color: var(--ink);
  background: #fbfcfa;
  font: inherit;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(12, 107, 85, 0.12);
}

output {
  display: block;
  padding: 18px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-size: 20px;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
}

summary {
  padding: 20px 22px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
}

details p {
  padding: 0 22px 20px;
  margin-bottom: 0;
}

.contact {
  background: #fff;
}

.contact-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.doc-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 800;
}

.lead-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9faf7;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 700;
}

.form-status.error {
  color: var(--coral);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.site-footer strong {
  color: #fff;
}

.site-footer p {
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .section-head,
  .tool-panel,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero > * {
    min-width: 0;
  }

  .hero {
    min-height: auto;
  }

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

  .strip,
  .package-grid {
    grid-template-columns: 1fr;
  }

  .package-card.featured {
    transform: none;
  }
}

@media (max-width: 640px) {
  .hero {
    width: 100vw;
    max-width: 100vw;
    padding: 34px 24px 28px;
    overflow: hidden;
  }

  h1 {
    max-width: 8.4em;
    font-size: 36px;
    line-height: 1.08;
    word-break: break-all;
    line-break: anywhere;
  }

  .hero-copy {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }

  .lead {
    width: 18em;
    max-width: calc(100vw - 48px);
    font-size: 16px;
  }

  .lead,
  .section-head p,
  .tool-panel p,
  .contact-copy p {
    overflow-wrap: anywhere;
    word-break: break-all;
    line-break: anywhere;
  }

  .hero-metrics,
  .solution-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-visual,
  .hero-visual img,
  .lead {
    max-width: calc(100vw - 48px);
  }

  .hero-visual {
    width: calc(100vw - 48px);
  }

  .hero-metrics div {
    border-bottom: 1px solid var(--line);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .hero-visual {
    transform: none;
  }

  .solution-card,
  .package-card {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
