:root {
  --paper: #f7f8f4;
  --paper-deep: #edf2e8;
  --white: #ffffff;
  --ink: #161a19;
  --text: #38403d;
  --muted: #6c7772;
  --line: #dce2db;
  --forest: #0f4c3f;
  --jade: #1d8b74;
  --blue: #2e6eea;
  --amber: #d79a2b;
  --coral: #d96752;
  --shadow: 0 22px 52px rgba(26, 37, 33, 0.14);
  --soft-shadow: 0 14px 34px rgba(26, 37, 33, 0.09);
  --max: 1180px;
  --hero-max: 1320px;
  --radius: 8px;
  --header: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: #ffffff;
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 900;
  line-height: 1.04;
}

h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  line-height: 1.15;
}

h3 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 900;
  line-height: 1.24;
}

p {
  margin-bottom: 0;
  line-height: 1.82;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  padding: 12px clamp(18px, 4vw, 48px);
  background: rgba(247, 248, 244, 0.92);
  border-bottom: 1px solid rgba(220, 226, 219, 0.88);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 45%),
    linear-gradient(135deg, var(--forest), var(--jade));
  border-radius: var(--radius);
}

.brand-name {
  overflow: hidden;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  color: #59645f;
  font-size: 14px;
  font-weight: 800;
  border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: #ffffff;
  background: var(--forest);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  color: #ffffff;
  background: #101918;
}

.hero-media,
.hero-bg,
.hero::after {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 900ms ease;
}

.hero-bg.is-active {
  opacity: 1;
}

.hero::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(10, 17, 15, 0.9) 0%, rgba(10, 17, 15, 0.72) 45%, rgba(10, 17, 15, 0.36) 100%),
    radial-gradient(circle at 22% 16%, rgba(29, 139, 116, 0.32), transparent 30%),
    linear-gradient(180deg, rgba(10, 17, 15, 0.10) 0%, rgba(10, 17, 15, 0.55) 100%);
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.46fr);
  width: min(100%, var(--hero-max));
  min-height: 86svh;
  margin: 0 auto;
  padding: clamp(72px, 8vw, 112px) 24px 86px;
  gap: clamp(38px, 5vw, 70px);
  align-items: center;
}

.hero-copy p {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.86;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 900;
  border-radius: var(--radius);
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #ffffff;
}

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

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.hero-panel {
  display: grid;
  gap: 0;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.panel-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px 16px;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

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

.panel-row span {
  color: #9ce5d8;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.4;
}

.panel-row strong {
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.3;
}

.panel-row p {
  grid-column: 2;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.7;
}

.hero-controls {
  position: absolute;
  z-index: 2;
  bottom: 32px;
  left: 50%;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 34px;
  height: 4px;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.42);
  border: 0;
  border-radius: 999px;
}

.hero-dot.is-active {
  background: #ffffff;
}

.section-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-intro,
.about-shell,
.partners-shell {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 0 20px;
  align-items: start;
}

.section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
  background: var(--forest);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.section-intro p,
.partners-shell p {
  max-width: 720px;
  color: var(--muted);
  font-size: 16px;
}

.section-intro .section-number,
.partners-intro .section-number {
  grid-row: 1 / span 2;
}

.section-intro h2,
.partners-shell h2 {
  align-self: center;
  grid-column: 2;
  margin-bottom: 0;
}

.section-intro p,
.partners-shell p {
  grid-column: 2;
  margin-top: 8px;
}

.service-section {
  padding: 92px 24px 104px;
  background: linear-gradient(180deg, var(--paper) 0%, #ffffff 100%);
}

.service-path {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 52px;
}

.service-rail {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
}

.service-rail::before {
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 29px;
  width: 2px;
  content: "";
  background: var(--line);
}

.service-tab {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 74px;
  padding: 0 18px 0 0;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.service-tab span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--forest);
  font-size: 14px;
  font-weight: 900;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.service-tab strong {
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
}

.service-tab.is-active span {
  color: #ffffff;
  background: var(--jade);
  border-color: var(--jade);
}

.service-tab.is-active strong,
.service-tab:hover strong,
.service-tab:focus-visible strong {
  color: var(--forest);
}

.service-tab:focus-visible {
  outline: 2px solid rgba(46, 110, 234, 0.28);
  outline-offset: 4px;
}

.service-detail {
  min-height: 430px;
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(135deg, rgba(29, 139, 116, 0.10), transparent 44%),
    linear-gradient(135deg, #ffffff, #f5f8f3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-panel {
  max-width: 780px;
}

.service-panel p {
  color: var(--muted);
  font-size: 17px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 36px 0 0;
  list-style: none;
}

.service-list li {
  min-height: 92px;
  padding: 16px;
  color: #22302b;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.58;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.about-section {
  padding: 98px 24px;
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(215, 154, 43, 0.16), transparent 38%),
    linear-gradient(135deg, #14211e 0%, #18362f 56%, #0f4c3f 100%);
}

.about-title h2,
.about-title .section-number + h2 {
  color: #ffffff;
}

.about-title {
  display: contents;
}

.about-title h2 {
  align-self: center;
  grid-column: 2;
  margin-bottom: 0;
  white-space: nowrap;
}

.about-title .section-number {
  grid-row: 1 / span 2;
  color: var(--ink);
  background: #f4c56a;
}

.about-copy {
  grid-column: 2;
  margin-top: 8px;
}

.about-lead {
  max-width: 880px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 1.55vw, 24px);
  font-weight: 800;
  line-height: 1.68;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
}

.about-metrics div {
  min-height: 112px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.about-metrics strong,
.about-metrics span {
  display: block;
}

.about-metrics strong {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
}

.about-metrics span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.55;
}

.scope-section {
  padding: 96px 24px;
  background: var(--paper-deep);
}

.compact-intro {
  margin-bottom: 42px;
}

.scope-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.38fr) minmax(0, 1fr);
  gap: 18px;
}

.scope-block {
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.license-block {
  background:
    linear-gradient(135deg, rgba(217, 103, 82, 0.12), transparent 58%),
    #ffffff;
}

.scope-block ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  margin: 0 0 18px;
}

.scope-block li {
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.55;
}

.scope-block p {
  color: var(--muted);
  font-size: 14px;
}

.scope-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.scope-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: #24302c;
  font-size: 14px;
  font-weight: 800;
  background: #f6f8f5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-detail {
  margin-top: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.legal-detail summary {
  padding: 18px 22px;
  color: var(--forest);
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.legal-detail p {
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 14px;
}

.partners-section {
  padding: 92px 24px 102px;
  background: #ffffff;
}

.partners-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  justify-items: stretch;
  text-align: left;
}

.partners-intro {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 0 20px;
  align-items: start;
  justify-content: start;
  width: 100%;
  max-width: 1180px;
}

.partners-shell h2 {
  white-space: nowrap;
}

.partners-shell p {
  grid-column: 2;
  max-width: 100%;
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
}

.partner-marquee {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(100%, 900px);
  justify-self: center;
}

.partner-card {
  display: grid;
  min-height: 154px;
  place-items: center;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(46, 110, 234, 0.08), transparent 48%),
    #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.partner-logo {
  width: auto;
  object-fit: contain;
}

.pingan-logo {
  max-height: 78px;
}

.alipay-logo {
  max-height: 62px;
}

.site-footer {
  display: grid;
  gap: 8px;
  padding: 34px 18px;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  background: #111816;
}

.site-footer strong {
  color: #ffffff;
  font-size: 17px;
}

.site-footer span,
.site-footer small {
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 680px;
  }

  .service-path,
  .scope-layout,
  .partners-shell {
    grid-template-columns: 1fr;
  }

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

  .partners-shell {
    gap: 30px;
  }
}

@media (min-width: 981px) {
  h1 {
    max-width: none;
    font-size: clamp(40px, 4.7vw, 64px);
    white-space: nowrap;
  }

  .panel-row p {
    font-size: 13px;
    line-height: 1.6;
    white-space: nowrap;
  }

  .service-section .section-intro p {
    max-width: 980px;
    font-size: 15px;
    line-height: 1.65;
    white-space: nowrap;
  }

  .partners-shell p {
    white-space: nowrap;
  }

}

@media (max-width: 760px) {
  :root {
    --header: 66px;
  }

  .site-header {
    min-height: var(--header);
    padding: 12px 16px;
  }

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

  .brand-name {
    max-width: 214px;
    font-size: 16px;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header) + 8px);
    right: 14px;
    left: 14px;
    display: grid;
    gap: 4px;
    padding: 10px;
    visibility: hidden;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a {
    justify-content: flex-start;
    min-height: 44px;
    padding: 0 14px;
  }

  .hero,
  .hero-shell {
    min-height: auto;
  }

  .hero-shell {
    min-height: calc(78svh - var(--header));
    padding: 56px 18px 70px;
    gap: 32px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(30px, 9vw, 38px);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .panel-row {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .panel-row p {
    grid-column: auto;
  }

  .hero-panel {
    display: none;
  }

  .section-intro,
  .about-shell {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 0 16px;
  }

  .service-section,
  .about-section,
  .scope-section,
  .partners-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .service-section {
    padding-top: 70px;
    padding-bottom: 76px;
  }

  .about-section,
  .scope-section,
  .partners-section {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .service-path {
    margin-top: 36px;
  }

  .service-rail::before {
    display: none;
  }

  .service-tab {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 62px;
    padding-right: 10px;
  }

  .service-tab span {
    width: 48px;
    height: 48px;
  }

  .service-detail,
  .scope-block {
    padding: 24px;
  }

  .about-metrics,
  .partner-marquee {
    grid-template-columns: 1fr;
  }

  .partner-card {
    min-height: 128px;
  }

  .pingan-logo {
    max-height: 66px;
  }

  .alipay-logo {
    max-height: 54px;
  }
}

@media (max-width: 430px) {
  .brand-name {
    max-width: 184px;
  }

  .scope-tags span {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
