:root {
  --ink: #10231f;
  --ink-soft: #31433d;
  --paper: #f6f8f4;
  --surface: #ffffff;
  --line: #dbe4dc;
  --muted: #65736d;
  --green: #177558;
  --green-soft: #d9f0e4;
  --teal: #1c837d;
  --amber: #c88922;
  --amber-soft: #faeed6;
  --danger: #8b3f35;
  --shadow: 0 20px 55px rgba(16, 35, 31, 0.12);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(219, 228, 220, 0.82);
  background: rgba(246, 248, 244, 0.92);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand img {
  width: 36px;
  height: 36px;
}

.brand span {
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  min-height: 38px;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}

.nav-links a:hover,
.nav-links a.is-active {
  background: var(--green-soft);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
}

.hero {
  min-height: min(760px, 82svh);
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(12, 29, 25, 0.92) 0%, rgba(12, 29, 25, 0.78) 38%, rgba(12, 29, 25, 0.24) 72%, rgba(12, 29, 25, 0.06) 100%),
    url("/assets/hero-workflow.png");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(246, 248, 244, 0), var(--paper));
  z-index: -1;
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 110px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #d7efe5;
  font-size: 14px;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: #f0c15b;
}

.hero h1 {
  margin: 0;
  max-width: 680px;
  color: #ffffff;
  font-size: clamp(46px, 8vw, 88px);
  line-height: 1;
  letter-spacing: 0;
}

.hero .lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: #f0f7f2;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.35;
}

.hero .sublead {
  max-width: 640px;
  margin: 18px 0 0;
  color: #d4e2da;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button.primary {
  background: #f0c15b;
  color: #1b241f;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: 78px 0;
}

.section.alt {
  background: #ffffff;
}

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

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

.section-kicker {
  margin: 0 0 10px;
  color: var(--green);
  font-weight: 800;
  font-size: 14px;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.28;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.muted {
  color: var(--muted);
}

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

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

.service-card,
.package-card,
.policy-card,
.legal-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(16, 35, 31, 0.03);
}

.service-card,
.package-card,
.policy-card,
.legal-card {
  padding: 24px;
}

.service-card .mark,
.policy-card .mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 900;
}

.service-card p,
.package-card p,
.policy-card p,
.legal-card p {
  margin-top: 12px;
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  border-radius: 8px;
  background: #edf4ef;
  color: var(--ink-soft);
  font-size: 13px;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.process-step {
  padding: 26px;
  border-right: 1px solid var(--line);
}

.process-step:last-child {
  border-right: 0;
}

.process-step strong {
  display: block;
  margin-bottom: 14px;
  color: var(--amber);
  font-size: 15px;
}

.scope-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #eef6f0;
}

.scope-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: 30px;
  align-items: start;
}

.scope-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.scope-list li {
  padding: 14px 16px;
  border-left: 4px solid var(--amber);
  background: #ffffff;
  border-radius: 0 8px 8px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.contact-panel {
  padding: 28px;
}

.contact-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.contact-list li {
  display: grid;
  gap: 3px;
}

.contact-list strong {
  font-size: 13px;
  color: var(--green);
}

.form {
  display: grid;
  gap: 14px;
}

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

label {
  display: grid;
  gap: 6px;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fbfdfb;
  font: inherit;
}

textarea {
  min-height: 136px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(23, 117, 88, 0.2);
  border-color: var(--green);
}

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

.mail-preview {
  display: none;
  margin-top: 12px;
  padding: 14px;
  border-radius: 8px;
  background: var(--amber-soft);
  color: #513814;
  white-space: pre-wrap;
  word-break: break-word;
}

.legal-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.legal-card {
  min-height: 132px;
}

.site-footer {
  padding: 34px 0;
  background: var(--ink);
  color: #dce8df;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
}

.legal-page {
  padding: 58px 0 84px;
  background: #ffffff;
}

.legal-page .article {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
}

.article h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

.article h2 {
  margin-top: 38px;
  font-size: 24px;
}

.article p,
.article li {
  color: var(--ink-soft);
}

.article ul,
.article ol {
  padding-left: 22px;
}

.article .updated {
  margin-bottom: 34px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .section-head,
  .scope-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-2,
  .process,
  .legal-links {
    grid-template-columns: 1fr;
  }

  .process-step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-step:last-child {
    border-bottom: 0;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .nav,
  .wrap,
  .hero-inner,
  .legal-page .article {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: 78svh;
    background-position: 58% center;
  }

  .hero-inner {
    padding: 58px 0 86px;
  }

  .section {
    padding: 58px 0;
  }

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

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}
