:root {
  --choco: #8a5f41;
  --latte: #a77f60;
  --matcha: #ccd67f;
  --cream: #f3e4c9;
  --paper: #fffaf0;
  --ink: #1f251f;
  --deep: #2d241d;
  --green: #4f6748;
  --muted: #6e6a61;
  --line: rgba(31, 37, 31, 0.12);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(45, 36, 29, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DengXian", "Microsoft YaHei UI", "HarmonyOS Sans SC", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4.8vw, 70px);
  color: var(--white);
  background: rgba(45, 36, 29, 0.34);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  transition: color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.site-header.is-scrolled,
.site-header.compact {
  color: var(--ink);
  background: rgba(255, 250, 240, 0.96);
  box-shadow: 0 14px 38px rgba(45, 36, 29, 0.09);
}

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

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--deep);
  background: var(--matcha);
  border-radius: 6px;
  font-weight: 900;
}

.brand strong,
.brand em {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand em {
  margin-top: 1px;
  font-size: 12px;
  font-style: normal;
  opacity: 0.78;
}

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

.site-nav a {
  padding: 10px 13px;
  border-radius: 6px;
  font-size: 14px;
}

.site-nav a:hover {
  color: var(--deep);
  background: rgba(204, 214, 127, 0.72);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--deep);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    radial-gradient(circle at 84% 30%, rgba(204, 214, 127, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(45, 36, 29, 0.96) 0%, rgba(45, 36, 29, 0.78) 38%, rgba(45, 36, 29, 0.24) 68%, rgba(31, 37, 31, 0.18) 100%),
    linear-gradient(180deg, rgba(31, 37, 31, 0.08), rgba(31, 37, 31, 0.34));
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 6vw, 96px);
  padding-top: 78px;
}

.eyebrow,
.section-kicker,
.section-heading p {
  margin: 0 0 14px;
  color: var(--matcha);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(36px, 5.4vw, 62px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.hero h1 span {
  display: block;
}

.intro-layout h2 span,
.promise-copy h2 span {
  display: block;
}

.hero-copy {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.9;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-copy span {
  display: block;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 6px;
  font-weight: 700;
}

.button.primary {
  color: var(--deep);
  background: var(--matcha);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.hero-panel {
  position: absolute;
  z-index: 3;
  left: clamp(20px, 6vw, 96px);
  right: clamp(20px, 6vw, 96px);
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(920px, calc(100% - 40px));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(14px);
}

.hero-panel div {
  padding: 18px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-panel div:last-child {
  border-right: 0;
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  color: var(--cream);
  font-size: 25px;
  line-height: 1;
}

.hero-panel span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.intro-band {
  padding: clamp(70px, 8vw, 108px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(204, 214, 127, 0.2), rgba(243, 228, 201, 0.62)),
    var(--paper);
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.intro-layout h2,
.section-heading h2,
.promise-copy h2,
.contact-section h2,
.legal-hero h1 {
  margin: 0;
  color: var(--deep);
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 0;
}

.intro-copy {
  padding-left: clamp(20px, 3vw, 42px);
  border-left: 3px solid var(--matcha);
}

.intro-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.intro-copy p + p {
  margin-top: 18px;
}

.section {
  padding: clamp(72px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 40px;
}

.section-heading.narrow {
  width: min(620px, 100%);
}

.service-section {
  background: #fffdf7;
}

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

.service-feature {
  min-height: 270px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(45, 36, 29, 0.07);
}

.service-feature:first-child {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background:
    linear-gradient(150deg, rgba(204, 214, 127, 0.34), rgba(255, 255, 255, 0.92)),
    var(--white);
}

.service-feature h3,
.process-list h3,
.promise-grid strong,
.contact-card strong,
.legal-card h2 {
  margin: 0;
  color: var(--deep);
  font-size: 21px;
  line-height: 1.34;
  font-weight: 800;
}

.service-feature p,
.process-list p,
.promise-grid span,
.contact-section p,
.contact-card span,
.legal-hero p,
.legal-card dd {
  color: var(--muted);
}

.service-feature p {
  margin: 14px 0 0;
  line-height: 1.82;
}

.icon {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
  margin-bottom: 26px;
  border-radius: 8px;
  background: var(--cream);
  border: 1px solid rgba(138, 95, 65, 0.18);
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
}

.icon-site::before {
  inset: 15px 12px 14px;
  border: 3px solid var(--green);
  border-top-width: 8px;
  border-radius: 4px;
}

.icon-app::before {
  inset: 12px 18px;
  border: 3px solid var(--green);
  border-radius: 5px;
}

.icon-app::after {
  left: 25px;
  right: 25px;
  bottom: 17px;
  height: 3px;
  background: var(--matcha);
}

.icon-cloud::before {
  left: 12px;
  top: 27px;
  width: 34px;
  height: 15px;
  border-radius: 20px;
  background: var(--green);
}

.icon-cloud::after {
  left: 22px;
  top: 17px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: -10px 8px 0 var(--green), 11px 8px 0 var(--green);
}

.icon-data::before {
  left: 14px;
  right: 14px;
  bottom: 15px;
  height: 26px;
  background:
    linear-gradient(90deg, var(--green) 0 18%, transparent 18% 28%, var(--green) 28% 48%, transparent 48% 58%, var(--green) 58% 78%, transparent 78%);
}

.process-section {
  background:
    linear-gradient(180deg, rgba(243, 228, 201, 0.55), rgba(255, 253, 247, 0.95)),
    var(--paper);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-list li {
  min-height: 270px;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
}

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

.process-list span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 42px;
  place-items: center;
  color: var(--deep);
  background: var(--matcha);
  border-radius: 50%;
  font-weight: 900;
}

.process-list p {
  margin: 12px 0 0;
}

.promise-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(45, 36, 29, 0.96), rgba(79, 103, 72, 0.92)),
    var(--deep);
}

.promise-copy h2 {
  color: var(--white);
}

.promise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.promise-grid div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.promise-grid div:last-child {
  border-bottom: 0;
}

.promise-grid strong {
  color: var(--cream);
}

.promise-grid span {
  color: rgba(255, 255, 255, 0.76);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: clamp(72px, 9vw, 116px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(204, 214, 127, 0.24), rgba(243, 228, 201, 0.76)),
    #fffdf7;
}

.contact-section p:last-child {
  max-width: 620px;
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.9;
}

.contact-card,
.legal-card {
  display: grid;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  font-style: normal;
}

.contact-card a,
.legal-card a,
.site-footer a {
  color: var(--green);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.legal-link {
  margin-top: 8px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 22px;
  padding: 34px 20px;
  color: rgba(255, 255, 255, 0.76);
  background: var(--deep);
  text-align: center;
}

.site-footer strong {
  color: var(--white);
}

.legal-page {
  background:
    linear-gradient(180deg, rgba(204, 214, 127, 0.28), transparent 360px),
    var(--paper);
}

.legal-main {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 88px;
}

.legal-hero {
  margin-bottom: 34px;
}

.legal-hero p:last-child {
  max-width: 700px;
  margin-top: 18px;
}

.legal-card dl {
  margin: 6px 0 0;
}

.legal-card dl div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.legal-card dt {
  color: var(--deep);
  font-weight: 800;
}

.legal-card dd {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
}

@media (max-width: 1040px) {
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list li:nth-child(2) {
    border-right: 0;
  }

  .process-list li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  .site-header {
    height: 68px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 15px;
    white-space: normal;
  }

  .brand em {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav:not(.static) {
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    color: var(--ink);
    background: rgba(255, 250, 240, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav.static {
    display: none;
  }

  .hero {
    min-height: 720px;
    align-items: start;
  }

  .hero-inner {
    margin: 0 0 0 22px;
    width: calc(100vw - 44px);
    padding: 120px 0 0;
  }

  .hero-panel {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    width: calc(100% - 44px);
    margin: 34px auto 30px;
  }

  .hero-panel div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

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

  .intro-layout,
  .promise-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    padding-left: 22px;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 29px;
    line-height: 1.22;
    width: calc(100vw - 44px);
    max-width: calc(100vw - 44px);
  }

  .hero-copy {
    font-size: 15px;
    line-height: 1.86;
    width: calc(100vw - 44px);
    max-width: calc(100vw - 44px);
    word-break: break-all;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 26px;
  }

  .service-board,
  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li,
  .process-list li:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .promise-grid div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-card,
  .legal-card {
    padding: 26px;
  }
}
