/* mobile.html 始终在 PC 样式之后加载此文件。手机页面无需 JavaScript 也能显示。 */
/* 手机布局基准：缩短入场位移与时长，页面最大宽度为 767px。 */
:root {
  --reveal-distance: 16px;
  --reveal-duration: 550ms;
}
.page {
  width: 100%;
  max-width: 767px;
  margin-inline: auto;
}
.container {
  width: calc(100% - 40px);
  max-width: none;
}
/* 模块 01：首页 Banner。独立手机图使用 750:640 比例，品牌标题靠左上。 */
.hero {
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 750 / 640;
}
.hero__image::after {
  background: linear-gradient(110deg, rgb(19 25 30 / 48%), rgb(19 25 30 / 15%) 75%);
}
.hero__inner {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.hero__copy {
  position: absolute;
  left: 28px;
  top: 21%;
  margin-left: 0;
  transform: none;
}
.hero__mark {
  width: 26px;
  height: 4px;
}
.hero h1 {
  font-size: 36px;
}
.hero p {
  margin-top: 5px;
  font-size: 15px;
}
/* 主内容区与图片比例：减小上下留白，并使用手机素材对应的纵横比。 */
.main {
  padding-top: 40px;
  padding-bottom: 56px;
}
.media--about,
.media--brand {
  aspect-ratio: 670 / 418;
}
.media--card {
  aspect-ratio: 670 / 448;
}
/* 模块 02 / 04：关于我们、品牌理念。覆盖 PC 双列，改为上图下文。 */
.about,
.brand {
  display: block;
}
.about__content,
.brand__content {
  margin-top: 24px;
  padding-top: 0;
}
.about h2,
.brand h2 {
  margin-bottom: 16px;
  font-size: 24px;
  line-height: 1.4;
}
.about p,
.brand p {
  font-size: 14px;
  line-height: 1.85;
}
.about p + p {
  margin-top: 14px;
}
/* 模块 03：平台优势。标题与卡片列表改为单列，采用手机端错峰延迟。 */
.advantages,
.brand {
  margin-top: 48px;
}
.advantages h2 {
  font-size: 26px;
  line-height: 1.4;
}
.advantages__grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 26px;
}
.advantage-card {
  border-radius: 16px;
  box-shadow: 0 3px 12px rgb(0 0 0 / 6%);
  --reveal-delay: var(--mobile-reveal-delay, 0ms);
}
.advantage-card__body {
  min-height: 0;
  padding: 18px 18px 22px;
}
.advantage-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}
.advantage-card p {
  font-size: 14px;
  line-height: 1.8;
}
/* 模块 05：生活理念横幅。固定容器宽度防止最小高度撑宽，文案靠左居中。 */
.life {
  height: auto;
  min-height: 170px;
  max-height: none;
  aspect-ratio: 750 / 360;
}
.life__image::after {
  background: linear-gradient(90deg, rgb(19 25 30 / 52%), rgb(19 25 30 / 12%));
}
.life__inner {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.life__copy {
  position: absolute;
  top: 50%;
  left: 24px;
  width: auto;
  padding-top: 0;
  transform: translateY(-50%);
}
.life__mark {
  width: 16px;
  height: 3px;
  margin-bottom: 10px;
}
.life__title {
  font-size: 22px;
  line-height: 1.5;
}
.life__name {
  margin-top: 8px;
  font-size: 11px;
}
/* 模块 06：页脚。品牌、渠道码和版权依次排列，二维码每张 144px。 */
.footer {
  min-height: 0;
  padding: 28px 0 22px;
}
.footer__inner {
  display: block;
  padding-top: 0;
  padding-bottom: 0;
}
.footer .brand-logo {
  padding-top: 0;
}
/* 渠道码窄屏适配：空间不足时整张换行，保持二维码尺寸和正方形比例。 */
.footer__channels {
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 16px;
  margin-top: 28px;
}
.channel {
  width: 144px;
}
.channel__pc-size {
  display: none;
}
.channel__mobile-size {
  display: inline;
}
/* 手机版权信息：取消 PC 绝对定位，允许长文字换行。 */
.copyright {
  position: static;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 8px;
  margin-top: 28px;
  transform: none;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
  white-space: normal;
}
/* 超窄手机适配：小于 360px 时收紧生活横幅的文案字号及左边距。 */
@media (max-width: 359px) {
  .life__copy {
    left: 20px;
  }
  .life__title {
    font-size: 19px;
  }
}
