:root {
  --yellow: #fcd002;
  --yellow-soft: #ffeb8d;
  --green: #416f48;
  --paper: #fcf9e8;
  --surface: #ffffff;
  --muted: #777777;
  --text: #333333;
  --accent: #ff7051;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--yellow);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: var(--yellow);
}

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

.page-shell {
  min-height: calc(100vh - 82px);
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.desktop-view {
  width: min(95rem, calc(100vw - 32px));
  aspect-ratio: 3040 / 1756;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(51, 51, 51, 0.12);
}

.desktop-view img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mobile-view {
  display: none;
}

.site-footer {
  background: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(51, 51, 51, 0.08);
  color: #5f5f5f;
  font-size: 14px;
}

.footer-inner {
  width: min(1100px, calc(100% - 32px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  text-align: center;
}

@media (max-width: 760px) {
  html,
  body {
    background: #f8f8f8;
  }

  .page-shell {
    display: block;
    min-height: auto;
    padding: 0;
  }

  .desktop-view {
    display: none;
  }

  .mobile-view {
    display: block;
    position: relative;
    overflow: hidden;
    padding-bottom: 34px;
  }

  .mobile-hero {
    position: relative;
    height: 180px;
    background: linear-gradient(180deg, #fdd100 0%, #fedd00 54%, rgba(253, 209, 0, 0) 100%);
  }

  .brand-mark {
    position: absolute;
    z-index: 2;
    width: 32px;
    height: 32px;
    top: 8px;
    right: 16px;
  }

  .hero-logo {
    position: absolute;
    z-index: 2;
    width: 141px;
    height: 134px;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-cloud {
    position: absolute;
    z-index: 1;
    pointer-events: none;
  }

  .hero-cloud-left {
    width: 55px;
    height: 132px;
    left: 0;
    top: 50px;
  }

  .hero-cloud-right {
    width: 87px;
    height: 138px;
    right: 0;
    top: 17px;
  }

  .mobile-content {
    position: relative;
    z-index: 3;
    width: min(343px, calc(100% - 32px));
    margin: -4px auto 0;
  }

  .goods-card {
    min-height: 190px;
    margin: 8px 0;
    padding: 8px;
    display: grid;
    grid-template-columns: minmax(136px, 164px) 1fr;
    gap: 8px;
    background: var(--surface);
    border-radius: 8px;
    overflow: hidden;
  }

  .goods-image {
    width: 100%;
    height: 174px;
    border-radius: 8px;
    object-fit: cover;
  }

  .goods-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
  }

  .goods-copy h2 {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
  }

  .goods-copy p {
    min-height: 126px;
    margin: 0;
    padding: 8px;
    color: var(--muted);
    background: #f8f8f8;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 10px 0 24px;
  }

  .promo-card {
    min-height: 152px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fdd100;
    border-radius: 8px;
  }

  .promo-card h2 {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
  }

  .promo-card strong {
    color: var(--accent);
    font-size: 18px;
  }

  .promo-card p {
    min-height: 88px;
    margin: 0;
    padding: 6px;
    background: var(--yellow-soft);
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.45;
  }

  .wechat-panel {
    width: 150px;
    margin: 0 auto 40px;
    text-align: center;
  }

  .wechat-panel img {
    width: 150px;
    height: 150px;
  }

  .wechat-panel p {
    margin: 12px 0 0;
    font-size: 14px;
    font-weight: 700;
  }

  .bottom-logo {
    width: 173px;
    height: 22px;
    margin: 0 auto;
  }

  .journey-line,
  .service-line {
    margin: 8px 0 0;
    text-align: center;
  }

  .journey-line {
    font-size: 14px;
    font-weight: 700;
  }

  .service-line {
    margin-top: 30px;
    color: var(--muted);
    font-size: 12px;
  }

  .site-footer {
    background: #ffffff;
    font-size: 12px;
  }

  .footer-inner {
    width: min(343px, calc(100% - 32px));
    min-height: 96px;
    padding: 14px 0;
    gap: 6px;
    flex-direction: column;
  }
}

@media (max-width: 340px) {
  .mobile-content {
    width: calc(100% - 20px);
  }

  .goods-card {
    grid-template-columns: 124px 1fr;
  }

  .goods-image {
    height: 166px;
  }

  .goods-copy h2,
  .goods-copy p,
  .promo-card h2,
  .promo-card p {
    font-size: 13px;
  }
}
