:root {
  --ink: #1f2a24;
  --green: #0d4b36;
  --green-2: #153f31;
  --orange: #c7632a;
  --orange-2: #e37a35;
  --paper: #faf7ef;
  --paper-deep: #f1e4d0;
  --surface: #ffffff;
  --line: rgba(31, 42, 36, 0.12);
  --muted: #6c675f;
  --shadow: 0 24px 70px rgba(54, 39, 20, 0.12);
  font-family: "PingFang SC", "Microsoft YaHei", "Heiti SC", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 10%, rgba(206, 124, 56, 0.12), transparent 28%),
    linear-gradient(180deg, #fffdfa 0%, var(--paper) 42%, #f7efe1 100%);
}

button {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 24px;
  align-items: center;
  min-height: 78px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(13, 75, 54, 0.1);
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 230px;
  padding: 0;
  color: var(--green);
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.brand-mark {
  font-family: "Songti SC", "STSong", serif;
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.brand-lockup strong,
.brand-lockup small {
  display: block;
}

.brand-lockup strong {
  font-size: 16px;
  font-weight: 700;
}

.brand-lockup small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav button,
.filter-bar button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: 0.2s ease;
}

.nav button:hover,
.nav button.active,
.filter-bar button:hover,
.filter-bar button.active {
  color: var(--green);
  border-color: rgba(13, 75, 54, 0.16);
  background: rgba(13, 75, 54, 0.07);
}

.cta,
.ghost,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta {
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, var(--orange), #e96f22);
  box-shadow: 0 14px 30px rgba(199, 99, 42, 0.28);
  font-weight: 700;
}

.cta:hover,
.ghost:hover,
.text-link:hover,
.image-button:hover,
.manual-card:hover {
  transform: translateY(-2px);
}

.cta.compact {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.ghost {
  color: var(--green);
  border: 1px solid rgba(13, 75, 54, 0.22);
  background: rgba(255, 255, 255, 0.56);
  font-weight: 700;
}

.text-link {
  padding: 0;
  color: var(--orange);
  border: 0;
  background: transparent;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--green);
  border: 1px solid rgba(13, 75, 54, 0.14);
  border-radius: 50%;
  background: #fff;
}

.hero,
.page-hero,
.section,
.manual-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  min-height: min(820px, calc(100vh - 78px));
  padding: 46px 0 38px;
}

.hero-copy h1,
.page-hero h1,
.section-intro h2 {
  margin: 0;
  color: var(--green);
  font-family: "Songti SC", "STSong", serif;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 680px;
  font-size: clamp(52px, 7vw, 92px);
  line-height: 1.04;
}

.hero-subtitle {
  margin: 18px 0 0;
  color: #8b3f1d;
  font-size: clamp(24px, 3.6vw, 42px);
  font-family: "Songti SC", "STSong", serif;
  font-weight: 800;
}

.hero-text {
  max-width: 660px;
  margin: 26px 0 0;
  color: #504941;
  font-size: 19px;
  line-height: 1.9;
}

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

.trust-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(74px, 1fr));
  gap: 12px;
  max-width: 620px;
  margin-top: 44px;
}

.trust-line span {
  min-height: 54px;
  display: grid;
  place-items: center;
  color: var(--green);
  border: 1px solid rgba(13, 75, 54, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.hero-media {
  position: relative;
  min-height: 540px;
}

.hero-card {
  position: absolute;
  right: 4%;
  top: 0;
  width: min(390px, 90%);
  height: 515px;
  padding: 0;
  overflow: hidden;
  border: 10px solid #fff;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.hero-card img,
.page-hero-image img,
.gallery-card img,
.manual-card img,
.image-stack img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.floating-panel {
  position: absolute;
  left: 2%;
  bottom: 62px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  max-width: 350px;
  padding: 18px 20px;
  color: var(--green);
  border: 1px solid rgba(13, 75, 54, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 55px rgba(36, 31, 24, 0.1);
  font-weight: 800;
}

.stats-band {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 58px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(13, 75, 54, 0.11);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,255,255,0.8)),
    radial-gradient(circle at 90% 20%, rgba(199, 99, 42, 0.18), transparent 30%);
  box-shadow: 0 22px 60px rgba(48, 33, 20, 0.08);
}

.stat {
  min-height: 132px;
  padding: 26px 24px;
  border-right: 1px solid rgba(13, 75, 54, 0.1);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--orange);
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 12px;
  color: var(--green);
  font-weight: 800;
}

.stat small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.5;
}

.section,
.manual-page {
  padding: 72px 0;
}

.split-section,
.revenue-teaser {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 54px;
  align-items: center;
}

.section-intro {
  max-width: 760px;
}

.section-intro.center {
  margin: 0 auto 34px;
  text-align: center;
}

.section-intro p,
.page-label {
  margin: 0 0 12px;
  color: var(--orange);
  font-weight: 900;
}

.section-intro h2 {
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.16;
}

.section-intro span {
  display: block;
  margin-top: 20px;
  color: #514b44;
  font-size: 17px;
  line-height: 1.9;
}

.image-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.image-stack {
  position: relative;
  min-height: 520px;
}

.image-stack .image-button {
  position: absolute;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.image-stack .image-button:first-child {
  right: 0;
  top: 0;
  width: 360px;
  height: 470px;
}

.image-stack .image-button:last-child {
  left: 0;
  bottom: 0;
  width: 300px;
  height: 390px;
}

.solution-grid,
.article-grid,
.requirements,
.comparison-grid,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card,
.article-block,
.metric-card,
.comparison-panel {
  border: 1px solid rgba(13, 75, 54, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(44, 31, 19, 0.07);
}

.feature-card,
.article-block,
.metric-card {
  padding: 26px;
}

.feature-card svg,
.metric-card svg {
  color: var(--orange);
}

.feature-card h3,
.article-block h3,
.metric-card h3,
.process-step h3 {
  margin: 18px 0 10px;
  color: var(--green);
  font-size: 19px;
}

.feature-card p,
.article-block p,
.metric-card p,
.process-step p,
.revenue-row p,
.model-callout p,
.comparison-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.revenue-teaser {
  width: min(1180px, calc(100% - 40px));
  padding: 52px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 24px 70px rgba(13, 75, 54, 0.2);
}

.revenue-teaser .section-intro h2,
.revenue-teaser .section-intro p,
.revenue-teaser .section-intro span {
  color: #fff;
}

.revenue-list {
  display: grid;
  gap: 14px;
}

.revenue-row {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.revenue-row svg {
  color: #f7c092;
}

.revenue-row strong {
  color: #fff;
}

.revenue-row p {
  color: rgba(255, 255, 255, 0.76);
}

.process-section {
  text-align: center;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.process-step {
  position: relative;
  min-height: 176px;
  padding: 24px 18px;
  border: 1px solid rgba(13, 75, 54, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.75);
}

.step-index {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  color: #fff;
  border-radius: 50%;
  background: var(--green);
  font-weight: 900;
}

.center-button {
  margin: 34px auto 0;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 18px;
  margin-top: 32px;
}

details {
  border: 1px solid rgba(13, 75, 54, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}

summary::-webkit-details-marker {
  display: none;
}

summary span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
}

summary svg {
  color: var(--orange);
  flex: 0 0 auto;
}

details p {
  margin: 0;
  padding: 0 20px 20px 50px;
  color: var(--muted);
  line-height: 1.75;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 58px;
  align-items: center;
  padding: 72px 0 54px;
}

.page-hero h1 {
  max-width: 760px;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.1;
}

.page-hero p:not(.page-label) {
  max-width: 720px;
  margin: 24px 0 0;
  color: #514b44;
  font-size: 18px;
  line-height: 1.9;
}

.page-hero-image {
  height: 470px;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.content-section {
  padding-top: 34px;
}

.article-grid,
.requirements,
.comparison-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 36px;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.gallery-card {
  overflow: hidden;
  border: 1px solid rgba(13, 75, 54, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(44, 31, 19, 0.08);
}

.gallery-card img {
  height: 310px;
}

.gallery-card span {
  display: block;
  padding: 15px 16px;
  color: var(--green);
  text-align: left;
  font-weight: 800;
}

.comparison-panel {
  padding: 32px;
  margin-bottom: 28px;
}

.comparison-panel h2 {
  margin: 0 0 20px;
  color: var(--green);
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(30px, 3vw, 44px);
}

.metric-grid {
  grid-template-columns: repeat(5, 1fr);
  margin-bottom: 28px;
}

.model-callout {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
  padding: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(13, 75, 54, 0.95), rgba(20, 82, 62, 0.9));
  color: #fff;
}

.model-callout svg {
  color: #f6b47d;
}

.model-callout strong {
  display: block;
  font-size: 20px;
}

.model-callout p {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 8px;
}

.manual-page {
  min-height: calc(100vh - 78px);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 12px auto 34px;
}

.manual-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.manual-card {
  display: block;
  padding: 0;
  overflow: hidden;
  text-align: left;
  border: 1px solid rgba(13, 75, 54, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(42, 29, 17, 0.08);
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.manual-card img {
  height: 270px;
  object-position: top center;
}

.manual-card span,
.manual-card strong {
  display: block;
  padding-inline: 15px;
}

.manual-card span {
  padding-top: 14px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.manual-card strong {
  min-height: 58px;
  padding-top: 6px;
  padding-bottom: 16px;
  color: var(--green);
  line-height: 1.45;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(15, 22, 18, 0.82);
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.lightbox-content {
  max-width: min(92vw, 980px);
  max-height: 92vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
}

.lightbox-caption {
  color: #fff;
  display: flex;
  gap: 14px;
  align-items: baseline;
}

.lightbox-caption span {
  color: #f6b47d;
  font-weight: 900;
}

.lightbox-content img {
  max-width: 100%;
  max-height: calc(92vh - 50px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.32);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 72px);
  color: #fff;
  background:
    radial-gradient(circle at 92% 20%, rgba(230, 130, 61, 0.22), transparent 26%),
    var(--green-2);
}

.footer strong {
  font-family: "Songti SC", "STSong", serif;
  font-size: 34px;
}

.footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1040px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .topbar > .cta {
    display: none;
  }

  .nav {
    position: absolute;
    top: 78px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    padding: 14px;
    border: 1px solid rgba(13, 75, 54, 0.12);
    border-radius: 10px;
    background: #fffdf8;
    box-shadow: var(--shadow);
  }

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

  .nav button {
    justify-content: flex-start;
    text-align: left;
  }

  .hero,
  .page-hero,
  .split-section,
  .revenue-teaser {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media,
  .image-stack {
    min-height: 500px;
  }

  .hero-card {
    left: 50%;
    right: auto;
    transform: translateX(-50%) rotate(1.5deg);
  }

  .stats-band,
  .solution-grid,
  .process-line,
  .metric-grid,
  .manual-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-grid,
  .requirements,
  .comparison-grid,
  .image-gallery,
  .faq-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    min-height: 68px;
    padding: 12px 16px;
  }

  .brand-lockup {
    min-width: 0;
  }

  .brand-mark {
    font-size: 30px;
  }

  .brand-lockup small {
    display: none;
  }

  .nav {
    top: 68px;
  }

  .hero,
  .page-hero,
  .section,
  .manual-page,
  .stats-band {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding-top: 36px;
    padding-bottom: 24px;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 25px;
  }

  .hero-text,
  .page-hero p:not(.page-label),
  .section-intro span {
    font-size: 16px;
  }

  .trust-line {
    display: none;
  }

  .stats-band,
  .solution-grid,
  .process-line,
  .metric-grid,
  .manual-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(13, 75, 54, 0.1);
  }

  .hero-media {
    min-height: 270px;
  }

  .hero-card {
    width: min(230px, 74%);
    height: 260px;
  }

  .floating-panel {
    display: none;
  }

  .image-stack {
    min-height: 580px;
  }

  .image-stack .image-button:first-child,
  .image-stack .image-button:last-child {
    position: relative;
    inset: auto;
    width: 100%;
    height: 280px;
    display: block;
    margin-bottom: 16px;
  }

  .revenue-teaser {
    padding: 32px 20px;
  }

  .page-hero-image {
    height: 360px;
  }

  .footer {
    display: block;
  }

  .footer .cta {
    margin-top: 20px;
  }
}
