:root {
  --bg: #f7f5ef;
  --paper: #fffdf7;
  --ink: #17231f;
  --muted: #64716d;
  --line: #ded8ca;
  --deep: #17352e;
  --green: #22856b;
  --mint: #dff2e8;
  --blue: #2f7ebd;
  --clay: #b85f35;
  --amber: #e8b64b;
  --shadow: 0 28px 80px rgba(32, 49, 43, 0.13);
  --radius: 8px;
  color: var(--ink);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Microsoft YaHei", "PingFang SC", serif;
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(23, 53, 46, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 53, 46, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 80% 8%, rgba(47, 126, 189, 0.13), transparent 30%),
    var(--bg);
  background-size: 46px 46px, 46px 46px, auto, auto;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent 45%),
    repeating-linear-gradient(90deg, transparent 0 5px, rgba(23, 35, 31, 0.02) 5px 6px);
  content: "";
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  padding: 0 clamp(18px, 4vw, 54px);
  background: rgba(247, 245, 239, 0.88);
  border-bottom: 1px solid rgba(222, 216, 202, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--deep);
  border: 2px solid rgba(232, 182, 75, 0.7);
  border-radius: 8px;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 8px 8px 0 rgba(34, 133, 107, 0.18);
}

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

.brand strong {
  font-size: 17px;
  letter-spacing: 0;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #344541;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  white-space: nowrap;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.nav-cta {
  color: #fff;
  background: var(--deep);
  box-shadow: 5px 5px 0 rgba(232, 182, 75, 0.36);
}

.btn:active,
.nav-cta:active {
  transform: translateY(1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  width: min(1240px, calc(100% - 40px));
  min-height: calc(100dvh - 74px);
  margin: 0 auto;
  padding: 54px 0 36px;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  position: absolute;
  top: -26px;
  left: -18px;
  width: 72px;
  height: 8px;
  background: var(--amber);
  content: "";
}

.kicker {
  margin: 0 0 18px;
  color: var(--clay);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 670px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  font-size: 24px;
  line-height: 1.24;
  letter-spacing: 0;
}

.hero-intro,
.section-heading p,
.platform-copy p,
.company-intro p,
.contact-card p {
  color: var(--muted);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 17px;
  line-height: 1.9;
}

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

.btn-primary {
  color: #fff;
  background: var(--deep);
  box-shadow: 6px 6px 0 rgba(34, 133, 107, 0.2);
}

.btn-primary:hover {
  background: #0f2924;
}

.btn-secondary {
  color: var(--deep);
  background: var(--paper);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: var(--green);
  box-shadow: 5px 5px 0 rgba(232, 182, 75, 0.28);
}

.hero-media {
  position: relative;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.hero-media::after {
  position: absolute;
  inset: auto 42px -18px 42px;
  height: 18px;
  background: var(--green);
  border-radius: 0 0 8px 8px;
  opacity: 0.18;
  content: "";
}

.hero-media img {
  width: 100%;
  border: 1px solid #d9e6ef;
  border-radius: var(--radius);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.88);
  box-shadow: 0 18px 50px rgba(23, 35, 31, 0.08);
}

.signal-strip div {
  padding: 24px 26px;
  border-right: 1px solid var(--line);
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.signal-strip span {
  color: var(--muted);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.65;
}

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

.product-section,
.platform-section,
.screens-section,
.company-section,
.flow-section {
  padding: 108px 0 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.product-card {
  min-height: 438px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(23, 35, 31, 0.07);
}

.product-card-featured {
  color: #fff;
  background: linear-gradient(145deg, #17352e, #235647);
  border-color: rgba(232, 182, 75, 0.44);
}

.product-card-featured p,
.product-card-featured li {
  color: rgba(255, 255, 255, 0.78);
}

.product-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 34px;
  margin-bottom: 46px;
  border: 1px solid rgba(34, 133, 107, 0.26);
  border-radius: var(--radius);
  color: var(--deep);
  background: var(--mint);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: 900;
}

.product-card-featured .product-index {
  color: var(--deep);
  background: var(--amber);
}

.product-card p,
.product-card li,
.capability-board p,
.screen-text p,
.value-grid p,
.flow-grid p {
  color: var(--muted);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.75;
}

.product-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.product-card li {
  position: relative;
  padding-left: 18px;
}

.product-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--amber);
  border-radius: 50%;
  content: "";
}

.platform-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 44px;
  align-items: start;
}

.platform-copy {
  position: static;
}

.capability-board {
  display: grid;
  gap: 14px;
}

.capability-board article {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 8px 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.86);
}

.capability-board span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  color: #fff;
  background: var(--deep);
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 900;
}

.capability-board h3,
.capability-board p {
  margin-bottom: 0;
}

.screen-showcase {
  display: grid;
  gap: 26px;
}

.screen-feature {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 28px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.screen-feature-alt {
  grid-template-columns: 0.58fr 0.42fr;
}

.screen-feature-alt .screen-text {
  order: 2;
}

.screen-text {
  padding: 18px 18px 18px 22px;
}

.screen-text span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--clay);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: 900;
}

.screen-feature img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.phone-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.phone-wall figure {
  margin: 0;
  padding: 12px 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(23, 35, 31, 0.08);
}

.phone-wall img {
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  background: #f4fbf8;
  border-radius: 6px;
}

.phone-wall figcaption {
  margin-top: 14px;
  color: #334541;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: 800;
  text-align: center;
}

.company-intro {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1fr;
  gap: 30px;
  padding: 38px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23, 53, 46, 0.98), rgba(47, 126, 189, 0.82)),
    var(--deep);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.company-intro .kicker,
.company-intro p {
  color: rgba(255, 255, 255, 0.82);
}

.company-intro h2 {
  color: #fff;
}

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

.value-grid div {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.value-grid strong {
  color: var(--clay);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.flow-grid div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.86);
}

.flow-grid span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 32px;
  color: #fff;
  background: var(--deep);
  border-radius: 50%;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: 900;
}

.flow-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 19px;
}

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

.contact-card {
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(120deg, rgba(223, 242, 232, 0.96), rgba(255, 253, 247, 0.98)),
    var(--paper);
  box-shadow: var(--shadow);
}

.contact-card h2,
.contact-card p {
  max-width: 760px;
}

.contact-phone {
  margin: 8px 0 0;
  color: var(--deep);
  font-size: 20px;
  font-weight: 900;
}

.contact-phone a {
  color: var(--clay);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  margin: 50px auto 0;
  padding: 28px 0 36px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  margin-bottom: 6px;
  color: var(--ink);
}

.site-footer a {
  color: var(--clay);
  font-weight: 900;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 1;
  transform: none;
  transition: opacity 700ms ease, transform 700ms ease;
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px 12px;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .hero,
  .platform-section,
  .company-intro {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .signal-strip,
  .product-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .signal-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-strip div:last-child {
    border-bottom: 0;
  }

  .platform-copy {
    position: static;
  }

  .screen-feature,
  .screen-feature-alt {
    grid-template-columns: 1fr;
  }

  .screen-feature-alt .screen-text {
    order: 0;
  }

  .phone-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .hero,
  .section,
  .signal-strip,
  .contact-section,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    height: 68px;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    top: 68px;
    right: 14px;
    left: 14px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-intro,
  .section-heading p,
  .platform-copy p,
  .company-intro p,
  .contact-card p {
    font-size: 16px;
  }

  .product-section,
  .platform-section,
  .screens-section,
  .company-section,
  .flow-section {
    padding-top: 76px;
  }

  .product-card,
  .contact-card,
  .company-intro {
    padding: 24px;
  }

  .capability-board article {
    grid-template-columns: 1fr;
  }

  .capability-board span {
    width: 62px;
    height: 62px;
  }

  .phone-wall,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .phone-wall img {
    max-height: none;
  }

  .site-footer {
    flex-direction: column;
  }
}
