:root {
  color-scheme: light;
  --ink: #18231f;
  --muted: #68726d;
  --line: #dce3dd;
  --surface: #f5f7f3;
  --paper: #fbfcfa;
  --green: #126b51;
  --green-dark: #0d4938;
  --green-soft: #dcefe6;
  --yellow: #e7b84f;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 28px;
}

.wordmark { display: inline-flex; align-items: center; gap: 12px; }
.wordmark-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-size: 24px;
  font-weight: 700;
}
.wordmark strong, .wordmark small { display: block; }
.wordmark strong { font-size: 16px; letter-spacing: .04em; }
.wordmark small { color: var(--muted); font-size: 11px; }

.site-nav { display: flex; align-items: center; gap: 26px; color: #47534d; font-size: 13px; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--green); }
.site-nav .nav-cta { padding: 9px 14px; color: #fff; background: var(--green); border-radius: 5px; }

main { overflow: hidden; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  gap: 72px;
  align-items: center;
  max-width: var(--max);
  min-height: 560px;
  margin: 0 auto;
  padding: 74px 28px 92px;
}

.eyebrow { margin: 0 0 16px; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 620px; margin-bottom: 24px; font-size: clamp(38px, 5vw, 68px); line-height: 1.12; letter-spacing: 0; }
h2 { margin-bottom: 14px; font-size: clamp(28px, 3vw, 42px); line-height: 1.2; letter-spacing: 0; }
h3 { margin-bottom: 9px; font-size: 19px; line-height: 1.3; }
.hero-lede { max-width: 580px; margin-bottom: 30px; color: var(--muted); font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--green); border-radius: 5px; font-size: 13px; font-weight: 700; }
.button-primary { color: #fff; background: var(--green); }
.button-secondary { color: var(--green); background: transparent; }
.button:focus-visible, .site-nav a:focus-visible { outline: 3px solid rgba(231, 184, 79, .65); outline-offset: 3px; }

.system-visual { min-height: 356px; padding: 24px; color: #eaf3ee; background: var(--green-dark); border-radius: 8px; }
.visual-caption, .visual-foot { color: #a9c8bb; font-size: 10px; letter-spacing: .14em; }
.visual-grid { display: grid; grid-template-columns: 1fr 34px 1fr 34px 1fr; align-items: center; min-height: 260px; }
.visual-node { min-height: 126px; padding: 16px 12px; border: 1px solid #3c806c; background: #195c49; }
.visual-node span { display: block; color: var(--yellow); font-size: 11px; }
.visual-node strong { display: block; margin-top: 21px; font-size: 16px; }
.visual-node small { color: #b6d1c5; font-size: 11px; }
.visual-line { height: 1px; background: #76ad98; }
.visual-foot { border-top: 1px solid #3c806c; padding-top: 14px; }

.trust-strip { display: flex; justify-content: center; gap: 0; max-width: 100%; color: #fff; background: var(--green); }
.trust-strip span { min-width: 210px; padding: 15px 20px; border-right: 1px solid rgba(255,255,255,.2); text-align: center; font-size: 12px; }
.trust-strip span:last-child { border-right: 0; }

.section { max-width: var(--max); margin: 0 auto; padding: 110px 28px; }
.section-heading { max-width: 620px; margin-bottom: 48px; }
.section-heading > p:last-child { color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.service-item { min-height: 230px; padding: 25px 28px 25px 0; border-right: 1px solid var(--line); }
.service-item + .service-item { padding-left: 28px; }
.service-item:last-child { border-right: 0; }
.item-number { display: inline-block; margin-bottom: 60px; color: var(--green); font-size: 12px; font-weight: 700; }
.service-item p { max-width: 270px; margin-bottom: 0; color: var(--muted); font-size: 13px; }

.case-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 68px; align-items: center; padding: 94px max(28px, calc((100vw - var(--max)) / 2)); color: #f1f6f2; background: #153d31; }
.case-copy { max-width: 530px; }
.case-copy .eyebrow { color: #a9d7c4; }
.case-copy p { color: #bed2c9; }
.case-facts { margin: 34px 0 0; }
.case-facts div { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.16); }
.case-facts dt { color: #a9d7c4; font-size: 12px; }
.case-facts dd { margin: 0; font-size: 13px; }
.case-panel { min-height: 286px; padding: 18px; border: 1px solid #4b7a6a; background: #1b5543; }
.case-panel-top { display: flex; justify-content: space-between; color: #a9d7c4; font-size: 10px; letter-spacing: .13em; }
.case-panel-body { display: grid; grid-template-columns: 74px 1fr 130px; gap: 22px; align-items: end; min-height: 205px; }
.case-column { display: grid; gap: 9px; }
.case-column i { display: block; height: 20px; background: #76ad98; }
.case-column i:nth-child(2) { width: 80%; background: #e7b84f; }
.case-column i:nth-child(3) { width: 58%; }
.case-column i:nth-child(4) { width: 72%; background: #b6d1c5; }
.case-chart { display: flex; align-items: end; justify-content: center; gap: 10px; height: 190px; padding: 0 18px; border-bottom: 1px solid #76ad98; }
.case-chart span { display: block; width: 19px; height: 30%; background: #76ad98; }
.case-chart span:nth-child(2) { height: 47%; }
.case-chart span:nth-child(3) { height: 70%; background: #e7b84f; }
.case-chart span:nth-child(4) { height: 55%; }
.case-chart span:nth-child(5) { height: 84%; background: #b6d1c5; }
.case-status { padding: 14px; border: 1px solid #4b7a6a; }
.case-status strong, .case-status small { display: block; }
.case-status strong { font-size: 15px; }
.case-status small { margin-top: 8px; color: #b6d1c5; font-size: 11px; }

.compact-heading { margin-bottom: 35px; }
.boundary-grid { display: grid; grid-template-columns: 1fr 60px 1fr; align-items: stretch; }
.boundary-card { padding: 28px; border: 1px solid var(--line); }
.boundary-developer { background: var(--green-soft); border-color: #bcdccc; }
.boundary-merchant { background: #f5f1e5; border-color: #e6d9b4; }
.boundary-label { color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.boundary-card ul { display: grid; gap: 10px; margin: 24px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.boundary-divider { display: grid; place-items: center; color: var(--green); font-size: 26px; }

.contact-section { display: flex; justify-content: space-between; gap: 30px; align-items: center; max-width: var(--max); margin: 0 auto; padding: 72px 28px; border-top: 1px solid var(--line); }
.contact-section h2 { margin-bottom: 8px; font-size: 30px; }
.contact-section p:last-child { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.contact-note { max-width: 260px; padding: 16px; border-left: 3px solid var(--yellow); color: var(--muted); font-size: 13px; }

.site-footer { display: flex; justify-content: space-between; gap: 30px; max-width: var(--max); margin: 0 auto; padding: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.site-footer strong { color: var(--ink); font-size: 13px; }
.site-footer p { margin: 5px 0 0; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 20px; text-align: right; }

@media (max-width: 820px) {
  .site-header { align-items: flex-start; }
  .site-nav { gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
  .hero { grid-template-columns: 1fr; gap: 38px; min-height: auto; padding-top: 52px; }
  .system-visual { max-width: 650px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-item, .service-item + .service-item { min-height: auto; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-item:last-child { border-bottom: 0; }
  .item-number { margin-bottom: 24px; }
  .case-section { grid-template-columns: 1fr; gap: 40px; }
  .contact-section, .site-footer { align-items: flex-start; flex-direction: column; }
  .footer-meta { justify-content: flex-start; text-align: left; }
}

@media (max-width: 560px) {
  .site-header { display: block; padding: 18px 18px; }
  .site-nav { margin-top: 18px; justify-content: flex-start; font-size: 12px; }
  .site-nav a:nth-child(-n+3) { display: none; }
  .hero, .section, .contact-section, .site-footer { padding-right: 18px; padding-left: 18px; }
  h1 { font-size: 39px; }
  .visual-grid { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .visual-line { width: 1px; height: 18px; justify-self: center; }
  .trust-strip { display: grid; grid-template-columns: 1fr; }
  .trust-strip span { min-width: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .trust-strip span:last-child { border-bottom: 0; }
  .boundary-grid { grid-template-columns: 1fr; gap: 10px; }
  .boundary-divider { min-height: 28px; }
  .case-panel-body { grid-template-columns: 52px 1fr; gap: 12px; }
  .case-status { grid-column: 1 / -1; }
}
