:root {
  --ink: #17211f;
  --ink-strong: #081412;
  --muted: #5f6d68;
  --paper: #fbfcf8;
  --white: #ffffff;
  --soft: #edf4ef;
  --mist: #f6f2e8;
  --line: #d7dfdc;
  --pine: #123c33;
  --teal: #0f766e;
  --cobalt: #1f4f8f;
  --amber: #a66f16;
  --rose: #9d3f4c;
  --shadow: 0 18px 48px rgba(8, 20, 18, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 72px;
  padding: 14px 56px;
  border-bottom: 1px solid rgba(215, 223, 220, 0.9);
  background: rgba(251, 252, 248, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-weight: 800;
  color: var(--ink-strong);
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--pine);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: var(--muted);
  font-size: 15px;
}

.nav a,
.header-action {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--ink-strong);
}

.header-action,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  white-space: nowrap;
}

.header-action,
.button.secondary {
  border: 1px solid var(--line);
  background: var(--white);
}

.header-action:hover,
.button.secondary:hover {
  border-color: var(--pine);
}

.button.primary {
  border: 1px solid var(--pine);
  background: var(--pine);
  color: var(--white);
}

.button.primary:hover {
  background: #0b2f28;
}

.section,
.hero,
.page-hero {
  padding: 78px 56px;
}

.section {
  max-width: 1280px;
  margin: 0 auto;
}

.section-band {
  max-width: none;
  background: var(--soft);
}

.section-ink {
  max-width: none;
  background: var(--ink-strong);
  color: var(--white);
}

.hero-home {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 620px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(251, 252, 248, 1) 0%, rgba(251, 252, 248, 0.98) 46%, rgba(251, 252, 248, 0.88) 72%, rgba(251, 252, 248, 0.68) 100%);
}

.hero-home::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: url("/wu-hua-ai-training.jpg");
  background-position: center right;
  background-size: cover;
  filter: blur(5px) saturate(0.74);
  opacity: 0.2;
  transform: scale(1.04);
}

.hero-home::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  content: "";
  background: rgba(215, 223, 220, 0.9);
}

.hero-copy,
.page-hero,
.section-heading,
.contact > div {
  max-width: 820px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.section-heading.wide {
  max-width: 980px;
}

.section-heading.light p,
.section-heading.light h2 {
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

.section-ink .eyebrow {
  color: #8dd6ca;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--ink-strong);
  font-size: 60px;
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--ink-strong);
  font-size: 38px;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink-strong);
  font-size: 22px;
  line-height: 1.28;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  color: #3f4d49;
  font-size: 20px;
}

.section-heading > p:not(.eyebrow),
.card p,
.service-item p,
.split p,
.faq-list p,
.contact p,
.founder-copy p,
.route-card p,
.model-step p,
.source-item p,
.method-panel p {
  color: var(--muted);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions {
  margin-top: 30px;
}

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

.hero-proof div {
  min-width: 138px;
  border: 1px solid rgba(18, 60, 51, 0.16);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 30px rgba(8, 20, 18, 0.08);
}

.hero-proof dt {
  color: var(--pine);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.hero-proof dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding-top: 28px;
  padding-bottom: 28px;
}

.proof-strip span,
.proof-strip a,
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--white);
  color: var(--pine);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 1px 0 var(--line);
}

.tag {
  margin-bottom: 14px;
  background: var(--soft);
  color: var(--teal);
  box-shadow: none;
}

.card-grid,
.route-grid,
.operating-model,
.source-stack {
  display: grid;
  gap: 18px;
}

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

.card-grid.two,
.source-stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.route-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 32px;
}

.card,
.service-item,
.route-card,
.source-item,
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card,
.service-item,
.route-card,
.source-item {
  padding: 26px;
}

.card,
.route-card,
.source-item {
  min-height: 100%;
}

.route-card {
  position: relative;
  overflow: hidden;
}

.route-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--pine);
}

.route-card:nth-child(2)::before {
  background: var(--cobalt);
}

.route-card:nth-child(3)::before {
  background: var(--amber);
}

.route-card:nth-child(4)::before {
  background: var(--rose);
}

.route-card span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.service-card:hover,
.route-card:hover,
.source-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.operating-model {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1280px;
  margin: 34px auto 0;
}

.model-step {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
}

.model-step span {
  display: inline-flex;
  margin-bottom: 24px;
  color: #8dd6ca;
  font-size: 14px;
  font-weight: 900;
}

.model-step h3 {
  color: var(--white);
}

.model-step p {
  color: rgba(255, 255, 255, 0.72);
}

.section-band .model-step {
  border-color: var(--line);
  background: var(--white);
}

.section-band .model-step span {
  color: var(--teal);
}

.section-band .model-step h3 {
  color: var(--ink-strong);
}

.section-band .model-step p {
  color: var(--muted);
}

.founder-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 58px;
  align-items: center;
}

.founder-photo-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.founder-photo-card img {
  display: block;
  width: 100%;
  height: auto;
}

.credential-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.credential-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--white);
  font-weight: 800;
}

.team-strip {
  display: grid;
  gap: 6px;
  border-left: 4px solid var(--pine);
  border-radius: 8px;
  padding: 18px 20px;
  background: var(--soft);
}

.team-strip strong {
  font-size: 22px;
  line-height: 1.2;
}

.team-strip span {
  color: var(--muted);
}

.method-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 46px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.home-flow {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.home-flow li {
  counter-increment: step;
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.home-flow li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 24px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.source-stack {
  margin-top: 24px;
}

.source-item {
  border-left: 4px solid var(--pine);
}

.source-item:nth-child(2) {
  border-left-color: var(--cobalt);
}

.source-item:nth-child(3) {
  border-left-color: var(--amber);
}

.source-item:nth-child(4) {
  border-left-color: var(--rose);
}

.split,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 56px;
  align-items: start;
}

.cta-band {
  max-width: 1280px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 78px;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}

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

details {
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 12px 0 0;
}

.service-list {
  display: grid;
  gap: 18px;
}

.facts {
  display: grid;
  gap: 12px;
  margin: 0;
}

.facts div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 12px;
}

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

.facts dd {
  margin: 0;
  font-weight: 800;
}

.page-hero {
  max-width: none;
  background: var(--soft);
}

.page-hero .lead {
  color: var(--muted);
}

.visibility-panel {
  display: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 56px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 1120px) {
  .route-grid,
  .operating-model,
  .home-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr;
    padding: 14px 20px;
  }

  .nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-action {
    justify-self: start;
  }

  .section,
  .hero,
  .page-hero {
    padding: 58px 20px;
  }

  .hero-home {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(251, 252, 248, 1) 0%, rgba(251, 252, 248, 0.96) 68%, rgba(251, 252, 248, 0.9) 100%);
  }

  .hero-home::before {
    background-position: center top;
    opacity: 0.12;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 18px;
  }

  .card-grid.three,
  .card-grid.two,
  .route-grid,
  .operating-model,
  .source-stack,
  .home-flow,
  .split,
  .contact,
  .founder-section {
    grid-template-columns: 1fr;
  }

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

  .cta-band {
    margin: 0 20px 58px;
  }

  .site-footer {
    flex-direction: column;
    padding: 28px 20px;
  }
}
