/* 移动端首页 · iPhone 14 Pro 基准 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #222;
  font-family: "Source Han Serif CN", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: inherit;
}

.m-page {
  width: 100%;
  overflow-x: hidden;
}

/* Hero */
.m-hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 640px;
  max-height: 900px;
  overflow: hidden;
  background: #111;
}

.m-hero-media {
  position: absolute;
  inset: 0;
}

.m-hero-media img,
.m-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
}

/* 视频模式隐藏图；图片模式隐藏视频（由 CMS mediaType / aria-hidden 控制） */
.m-hero-media:has(video.m-hero-video[aria-hidden="false"]) > img.m-hero-img {
  display: none !important;
}
.m-hero-media:has(img.m-hero-img[aria-hidden="false"]) > video.m-hero-video {
  display: none !important;
}

.m-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.1) 42%, rgba(0,0,0,.48) 100%);
  pointer-events: none;
}

.m-hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 22px calc(44px + env(safe-area-inset-bottom, 0px));
  color: #fff;
}

.m-hero-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .03em;
  white-space: pre-line;
}

.m-hero-sub {
  margin: 14px 0 0;
  font-size: 15px;
  letter-spacing: .14em;
}

.m-hero-features {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.6;
  opacity: .9;
}

.m-hero-cta {
  display: inline-flex;
  margin-top: 20px;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.75);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .06em;
}

/* Blocks */
.m-block {
  padding: 48px 20px;
}

.m-block-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
}

.m-block-body {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: #444;
  white-space: pre-line;
}

.m-block-cta {
  display: inline-flex;
  margin-top: 22px;
  padding: 10px 18px;
  border: 1px solid #333;
  text-decoration: none;
  color: #1a1a1a;
  font-size: 13px;
}

.m-mission-img,
.m-lead-img {
  width: 100%;
  height: auto;
  margin-top: 24px;
  border-radius: 4px;
}

.m-lead {
  background: #f7f5f0;
}

.m-lead .m-lead-img {
  margin: 0 0 22px;
}

/* Advantage */
.m-adv {
  position: relative;
  min-height: 520px;
  padding: 56px 20px 48px;
  overflow: hidden;
  background: #1a1a1a;
}

.m-adv-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-adv-card {
  position: relative;
  z-index: 1;
  padding: 28px 22px;
  border-radius: 18px;
  background: rgba(255,255,255,.45);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid rgba(255,255,255,.4);
}

.m-adv-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  color: #1a1a1a;
}

.m-adv-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
}

.m-adv-body {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: #333;
}

.m-adv-cta {
  display: inline-flex;
  margin-top: 20px;
  padding: 10px 18px;
  border: 1px solid #333;
  border-radius: 999px;
  text-decoration: none;
  color: #1a1a1a;
  font-size: 13px;
  background: rgba(255,255,255,.35);
}

/* ECM */
.m-ecm {
  padding: 48px 18px 40px;
  background: #fffdf6;
}

.m-ecm-title {
  margin: 0 0 22px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: #caa009;
}

.m-ecm-grid {
  display: grid;
  gap: 12px;
}

.m-ecm-card {
  padding: 20px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(202,160,9,.18);
}

.m-ecm-name {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.m-ecm-desc {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: #555;
}

.m-ecm-cta {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  color: #caa009;
  text-decoration: none;
}

/* Lab */
.m-lab {
  padding: 40px 16px 36px;
  background: #f5f3ee;
}

.m-lab-title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: #111;
}

.m-lab-scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.m-lab-scroller::-webkit-scrollbar {
  display: none;
}

.m-lab-card {
  position: relative;
  flex: 0 0 86%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1a1a1a;
  scroll-snap-align: start;
}

.m-lab-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-lab-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 14px;
  color: #fff;
  background: rgba(20,18,16,.58);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
}

.m-lab-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 11px;
}

.m-lab-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #fff;
  flex: 0 0 auto;
}

.m-lab-desc {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

/* Coop */
.m-coop {
  padding: 44px 16px 40px;
  background: #f7f8fa;
}

.m-coop-title {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 700;
}

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

.m-coop-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
}

.m-coop-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.m-coop-body {
  padding: 14px 16px 16px;
}

.m-coop-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 2px;
  background: #caa009;
  color: #fff;
  font-size: 11px;
}

.m-coop-tag.is-solution {
  background: #2f6fed;
}

.m-coop-body h3 {
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.m-coop-body p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: #555;
}

/* Footer */
.m-footer {
  padding: 36px 20px calc(28px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  color: #1a1a1a;
  font-size: 12px;
  line-height: 1.8;
  border-top: 1px solid #8b6f47;
}

.m-footer a {
  color: #333;
  text-decoration: none;
}

.m-footer-brand {
  margin-bottom: 14px;
  color: #1a1a1a;
  font-size: 14px;
  letter-spacing: .08em;
}

.m-footer-copy {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #8b6f47;
  font-size: 10px;
  color: #999;
  opacity: 1;
}
