:root {
  --bg: #ffffff;
  --ink: #1c1b18;
  --muted: #6b675e;
  --line: #e8e1d3;
  --gold: #c9952e;
  --gold-2: #e7bd64;
  --graphite: #252420;
  --green: #2f8d61;
  --soft: #faf7f0;
  --shadow: 0 22px 70px rgba(32, 27, 18, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui,
    sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 12px clamp(22px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(232, 225, 211, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  white-space: nowrap;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.desktop-nav a:hover,
.text-link:hover {
  color: var(--gold);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button.primary {
  background: var(--graphite);
  color: #fff;
}

.button.secondary {
  background: #fff;
  color: var(--graphite);
  border-color: var(--line);
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.mobile-nav {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  min-height: min(780px, calc(100vh - 76px));
  padding: clamp(34px, 5vw, 68px) clamp(22px, 5vw, 72px) clamp(26px, 4vw, 48px);
  overflow: hidden;
}

.hero-copy {
  max-width: 650px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(64px, 9vw, 132px);
  font-weight: 900;
  line-height: 0.96;
}

.hero-lead {
  margin: 26px 0 0;
  color: var(--gold);
  font-size: clamp(25px, 3vw, 43px);
  font-weight: 850;
  line-height: 1.18;
}

.hero-text {
  max-width: 580px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

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

.hero-media {
  position: relative;
  justify-self: end;
  width: min(720px, 100%);
}

.hero-media::before {
  position: absolute;
  inset: 10% 5% auto auto;
  width: 62%;
  aspect-ratio: 1;
  content: "";
  background: radial-gradient(circle, rgba(231, 189, 100, 0.22), rgba(231, 189, 100, 0));
  z-index: -1;
}

.hero-media img {
  width: 100%;
  filter: drop-shadow(0 34px 42px rgba(30, 26, 18, 0.18));
}

section {
  padding: clamp(64px, 8vw, 112px) clamp(22px, 5vw, 72px);
}

.intro-band {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 36px;
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.section-heading h2,
.footer h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 880;
  line-height: 1.08;
}

.section-heading p,
.footer p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

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

.intro-panel,
.capability,
.steps article,
.scenario-row article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.intro-panel,
.capability {
  padding: 28px;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.35;
}

.intro-panel p,
.capability p,
.steps p,
.steps p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.text-link {
  color: var(--graphite);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.capability-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.capability {
  min-height: 238px;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: var(--gold);
  background: #fbf3df;
  border-radius: 8px;
}

.icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process {
  background: linear-gradient(180deg, #fff 0%, #fff 45%, var(--soft) 45%, var(--soft) 100%);
}

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

.steps article {
  min-height: 250px;
  padding: 30px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
}

.steps article:last-child {
  border-right: 0;
}

.steps span {
  display: block;
  margin-bottom: 48px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 900;
}

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

.scenario-row article {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  padding: 18px;
  color: var(--graphite);
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.footer {
  margin: 0 clamp(22px, 5vw, 72px) 40px;
  padding: 44px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.footer img {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 8px;
}

.footer-records {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer-records p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.section-reveal {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .desktop-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-nav {
    position: fixed;
    inset: 76px 16px auto 16px;
    z-index: 30;
    display: grid;
    gap: 4px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .mobile-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav a {
    padding: 14px 12px;
    color: var(--muted);
    font-weight: 700;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
  }

  .hero-media {
    justify-self: center;
    max-width: 680px;
  }

  .capability-grid,
  .steps,
  .scenario-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps article {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .steps article:nth-child(2n) {
    border-right: 0;
  }

  .steps article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .intro-layout {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding: 10px 16px;
  }

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

  .mobile-nav {
    inset: 68px 12px auto 12px;
  }

  .hero,
  section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-lead {
    font-size: 26px;
  }

.hero-text,
.section-heading p,
.footer p {
    font-size: 16px;
  }

  .section-heading.split {
    align-items: start;
    flex-direction: column;
  }

  .capability-grid,
  .steps,
  .scenario-row {
    grid-template-columns: 1fr;
  }


  .steps article,
  .steps article:nth-child(2n),
  .steps article:nth-last-child(-n + 2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .steps article:last-child {
    border-bottom: 0;
  }

  .steps span {
    margin-bottom: 26px;
  }

  .footer {
    margin: 0 18px 24px;
    padding: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
