/* 使用项目内置的 Material Icons 字体，避免依赖第三方 CDN。 */
@font-face {
  font-family: "Material Icons";
  src: url("/official-assets/assets/MaterialIcons-Regular.otf") format("opentype");
  font-display: block;
}

/* 全站基础变量严格对应三张效果图中的橙色品牌、白色底面与紧凑圆角。 */
:root {
  --brand: #ff5a1f;
  --brand-dark: #e94a12;
  --ink: #111827;
  --muted: #667085;
  --line: #e7eaf0;
  --paper: #ffffff;
  --soft: #f7f8fa;
  --blue: #2878f0;
  --green: #19a857;
  --content: 1200px;
  --radius: 8px;
}

/* 重置浏览器默认样式，确保不同终端尺寸稳定。 */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

/* 模板配置返回前隐藏整站，消除首屏从默认模板跳到目标模板的闪烁。 */
.site-shell { opacity: 0; }
html.template-ready .site-shell { opacity: 1; }

/* 无障碍跳转入口仅在键盘聚焦时显示。 */
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 200;
  border: 2px solid var(--brand);
  background: #fff;
  padding: 10px 14px;
}
.skip-link:focus { top: 12px; }

/* Material Icons 通过字体连字显示，不产生额外网络请求。 */
.material-icons {
  display: inline-block;
  font-family: "Material Icons";
  font-size: 24px;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

/* 顶部导航：窄高度、水平居中、品牌按钮靠右，与效果图一致。 */
.site-header {
  position: relative;
  z-index: 60;
  height: 68px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.98);
}
.header-inner {
  width: min(calc(100% - 48px), var(--content));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand { width: 128px; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; }
.desktop-nav {
  margin-left: 26px;
  display: flex;
  align-items: stretch;
  gap: 36px;
  height: 100%;
  font-size: 14px;
}
.desktop-nav-ecosystem,
.desktop-nav-community,
.header-actions-ecosystem,
.header-actions-community { display: none; }
.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: transparent;
  content: "";
}
.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a.is-active { color: var(--brand); }
.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a.is-active::after { background: var(--brand); }
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 13px;
  white-space: nowrap;
}
.header-actions.header-actions-ecosystem,
.header-actions.header-actions-community { display: none; }
.header-actions > span { color: #c8ccd3; }
.header-actions p { margin: 0; color: #4b5563; }
.header-search {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
}
.header-search .material-icons { font-size: 20px; }
.header-download {
  margin-left: 10px;
  border-radius: 22px;
  background: var(--brand);
  color: #fff;
  padding: 11px 22px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(255, 90, 31, 0.2);
}
.header-download:hover { background: var(--brand-dark); }
.menu-button,
.mobile-nav { display: none; }

/* 首屏摄影图采用整幅铺满，叠加纯色透明遮罩保证文字可读。 */
.hero {
  position: relative;
  height: clamp(500px, 52vw, 690px);
  overflow: hidden;
  color: #fff;
}
.hero picture,
.hero picture img {
  width: 100%;
  height: 100%;
}
.hero picture img {
  object-fit: cover;
  object-position: center;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 22, 0.28);
}
.hero-shade::after {
  position: absolute;
  inset: 0 45% 0 0;
  background: rgba(7, 15, 20, 0.38);
  content: "";
}
.hero-content {
  position: absolute;
  top: 47%;
  left: max(30px, calc((100vw - var(--content)) / 2));
  z-index: 3;
  width: min(590px, 58vw);
  transform: translateY(-50%);
}
.hero-brand-logo { display: none; }
.hero-eyebrow {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 750;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(66px, 7vw, 106px);
  font-weight: 900;
  line-height: 0.95;
}
.hero-lead {
  max-width: 620px;
  margin: 0;
  font-size: clamp(24px, 2.7vw, 38px);
  font-weight: 850;
  line-height: 1.28;
}
.hero-copy {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.7;
}
.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
}
.button {
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
}
.button.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 90, 31, 0.24);
}
.button.primary:hover { background: var(--brand-dark); }
.button.secondary {
  border-color: rgba(255, 255, 255, 0.86);
  background: rgba(12, 20, 26, 0.22);
  color: #fff;
}
.hero-role {
  position: absolute;
  z-index: 4;
  min-width: 150px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.hero-role > img,
.hero-role > .role-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}
.hero-role > img { object-fit: cover; }
.hero-role > .role-icon {
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 21px;
}
.role-merchant > .role-icon { background: var(--blue); }
.role-rider > .role-icon { background: var(--green); }
.hero-role strong,
.hero-role small { display: block; }
.hero-role strong { font-size: 14px; }
.hero-role small { margin-top: 3px; color: #596273; font-size: 11px; }
.role-customer { top: 50%; right: 38%; }
.role-merchant { top: 31%; right: 8%; }
.role-rider { right: 7%; bottom: 20%; }
.hero-facts {
  position: absolute;
  right: max(30px, calc((100vw - var(--content)) / 2));
  bottom: 26px;
  left: max(30px, calc((100vw - var(--content)) / 2));
  z-index: 3;
  display: none;
  align-items: center;
  gap: 28px;
}
.hero-facts span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
}
.scroll-cue {
  position: absolute;
  bottom: 14px;
  left: 50%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  transform: translateX(-50%);
}

/* 标题区尺寸保持克制，避免脱离效果图的信息密度。 */
.section-heading {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto 30px;
}
.section-heading.centered { text-align: center; }
.section-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}
.section-heading h2,
.trust-heading h2,
.about-copy h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.25;
}
.section-heading > p:last-child,
.trust-heading > p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

/* 方案一应用详情：上方三端选项，下方手机、说明、商店按钮和二维码。 */
.app-section { padding: 62px 0 70px; background: #fff; }
.app-heading { text-align: center; }
.app-heading .section-kicker { display: none; }
.app-tabs {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #dfe3e9;
}
.app-tabs button {
  min-height: 78px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: #f6f7f9;
  padding: 13px 18px;
  display: grid;
  grid-template-columns: 40px auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  text-align: left;
  cursor: pointer;
}
.app-tabs button > img {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
}
.app-tabs button b { align-self: end; font-size: 17px; }
.app-tabs button small { align-self: start; color: var(--muted); font-size: 11px; }
.app-tabs button[aria-selected="true"] {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}
.app-tabs button[aria-selected="true"] small { color: #fff; }
.app-detail {
  width: min(calc(100% - 48px), var(--content));
  min-height: 430px;
  margin: 0 auto;
  background: #fbfbfc;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(360px, 1.2fr);
  gap: 60px;
  align-items: center;
  padding: 26px 70px 0;
  overflow: hidden;
}
.phone-frame {
  position: relative;
  overflow: hidden;
  border: 8px solid #111;
  border-radius: 34px 34px 0 0;
  background: #fff;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}
.phone-frame::before {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 36%;
  height: 18px;
  border-radius: 12px;
  background: #0a0a0a;
  content: "";
  transform: translateX(-50%);
}
.phone-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.app-detail-phone { width: min(100%, 250px); height: 405px; margin: 0 auto; }
.app-detail-copy { align-self: center; padding-bottom: 25px; }
.app-identity { display: flex; align-items: center; gap: 14px; }
.app-identity > img { width: 72px; height: 72px; border-radius: 16px; }
.app-identity p { margin: 0; color: var(--brand); font-size: 18px; font-weight: 800; }
.app-identity h3 { margin: 2px 0 0; font-size: 26px; }
.app-detail-copy h4 { margin: 22px 0 10px; font-size: 23px; }
.app-detail-copy > p:not(.availability) { margin: 0; color: var(--muted); line-height: 1.8; }
.app-download-row { margin-top: 24px; display: flex; align-items: center; gap: 28px; }
.download-actions { min-width: 220px; display: grid; gap: 10px; }
.store-button {
  min-height: 58px;
  border-radius: 5px;
  background: #111;
  color: #fff;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.store-button::before {
  width: 28px;
  flex: 0 0 auto;
  text-align: center;
  font-size: 28px;
  line-height: 1;
}
.store-button-ios::before { content: "\F8FF"; font-family: -apple-system, BlinkMacSystemFont, sans-serif; }
.store-button-android::before { content: "\e085"; font-family: "Material Icons"; }
.store-button small,
.store-button strong { display: block; }
.store-button small { color: #d0d3d7; font-size: 10px; }
.store-button strong { margin-top: 1px; font-size: 17px; }
.store-button.is-disabled,
.showcase-downloads a.is-disabled {
  pointer-events: none;
  background: #d9dde3;
  color: #7d8795;
}
.qr-block { width: 118px; text-align: center; }
.qr-block img { width: 104px; height: 104px; margin: 0 auto 5px; }
.qr-block span { color: var(--muted); font-size: 11px; }
.availability { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.app-showcase-grid { display: none; }

/* 方案一四步流程紧凑排列，与效果图中的四张等宽卡片一致。 */
.flow-section { padding: 58px 0 68px; background: #fff; }
.flow-grid {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
}
.flow-grid li img {
  width: 100%;
  aspect-ratio: 1.58;
  border-radius: 7px;
  object-fit: cover;
}
.flow-grid li:nth-child(1) img { object-position: 30% center; }
.flow-grid li:nth-child(2) img { object-position: 75% center; }
.flow-grid li:nth-child(3) img { object-position: 55% center; }
.flow-grid li:nth-child(4) img { object-position: 52% center; }
.flow-grid li > div { margin-top: 13px; display: flex; align-items: flex-start; gap: 11px; }
.flow-grid b {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.flow-grid li:nth-child(2) b { background: var(--blue); }
.flow-grid li:nth-child(3) b { background: var(--green); }
.flow-grid li:nth-child(4) b { background: #ff7a1a; }
.flow-grid strong,
.flow-grid small { display: block; }
.flow-grid strong { font-size: 17px; }
.flow-grid small { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.55; }

/* 三套模板的平台服务容器。 */
.services-section { padding: 60px 0 72px; background: var(--soft); }
.service-icon-grid {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.service-icon-grid article { text-align: center; }
.service-icon-grid .service-glyph {
  width: 66px;
  height: 66px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #fff0e8;
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
}
.service-icon-grid article:nth-child(2) .service-glyph,
.service-icon-grid article:nth-child(4) .service-glyph { background: #eaf3ff; color: var(--blue); }
.service-icon-grid article:nth-child(3) .service-glyph,
.service-icon-grid article:nth-child(6) .service-glyph { background: #e9f8ee; color: var(--green); }
.service-icon-grid h3 { margin: 0; font-size: 15px; }
.service-icon-grid p { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.service-image-grid,
.service-story-grid { display: none; }

/* 保障区使用白底线性分隔，与效果图保持轻量和可信感。 */
.trust-section {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  padding: 62px 0;
  display: grid;
  grid-template-columns: 1fr 2.25fr;
  gap: 44px;
  align-items: center;
}
.trust-heading h2 { font-size: 30px; }
.trust-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-list article {
  min-width: 0;
  border-left: 1px solid var(--line);
  padding: 8px 24px;
  text-align: center;
}
.trust-list .trust-glyph {
  width: 36px;
  height: 36px;
  margin: 0 auto;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 850;
}
.trust-list h3 { margin: 11px 0 5px; font-size: 15px; }
.trust-list p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

/* 方案一底部宣传横幅采用真实社区照片，不使用装饰性渐变。 */
.promo-banner {
  position: relative;
  width: min(calc(100% - 48px), var(--content));
  min-height: 190px;
  margin: 0 auto 56px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff2e8;
}
.promo-banner > img {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 52%;
}
.promo-banner > div {
  position: relative;
  z-index: 2;
  width: 48%;
  min-height: 190px;
  padding: 27px 32px;
  background: rgba(255, 242, 232, 0.95);
}
.promo-banner p { margin: 0; color: var(--brand); font-weight: 800; }
.promo-banner h2 { margin: 2px 0 7px; color: var(--brand); font-size: 27px; }
.promo-banner > div > span { display: block; color: #4b5563; font-size: 13px; }
.promo-banner .button { min-height: 38px; margin-top: 16px; padding: 0 18px; font-size: 13px; }
.promo-banner blockquote {
  position: absolute;
  top: 46px;
  right: 36px;
  z-index: 3;
  margin: 0;
  color: #1f2937;
  font-family: "Songti SC", "STSong", serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
  transform: rotate(-6deg);
}

/* 方案三才显示的品牌与动态模块，默认模板不占据空白。 */
.about-section { display: none; }

/* 页脚三列结构复现效果图中的品牌、导航与联系方式。 */
footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 40px max(24px, calc((100vw - var(--content)) / 2)) 20px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.15fr 1.2fr 0.85fr;
  gap: 38px;
  align-items: start;
}
.footer-brand img { width: 130px; }
.footer-brand p { max-width: 290px; margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: repeat(4, auto); gap: 13px 24px; font-size: 12px; }
.footer-links a:hover { color: var(--brand); }
.footer-contact p { margin: 0 0 9px; display: flex; align-items: center; gap: 10px; color: #4b5563; font-size: 12px; }
.footer-contact .contact-label { min-width: 26px; color: #111827; font-weight: 800; }
.footer-bottom {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #8a93a2;
  font-size: 11px;
}
.footer-bottom span:nth-child(2) { display: flex; gap: 18px; }

/* 模板一：长页社区门户，对应用户提供的 784×2006 效果图。 */
body.template-city .hero { height: clamp(470px, 60vw, 670px); }
body.template-city .hero picture img { object-position: center 52%; }
body.template-city .hero-lead { font-size: clamp(23px, 2.5vw, 35px); }
body.template-city .hero-eyebrow,
body.template-city .hero-actions .secondary { display: none; }
body.template-city .hero-content { display: flex; flex-direction: column; }
body.template-city .hero h1 { order: 1; }
body.template-city .hero-lead { order: 2; }
body.template-city .hero-actions { order: 3; }
body.template-city .hero-copy { order: 4; }
body.template-city .trust-section { grid-template-columns: 1fr; gap: 22px; text-align: center; }
body.template-city .trust-heading .section-kicker { display: none; }
body.template-city .trust-list { width: min(100%, 720px); margin: 0 auto; grid-template-columns: repeat(3, 1fr); }
body.template-city .trust-list article:nth-child(4) { display: none; }
body.template-city .trust-list article:first-child { border-left: 0; }
body.template-city .about-section { display: none; }

/* 模板二：轻盈三端产品页，对应骑手交付首屏与三端下载卡效果图。 */
body.template-ecosystem { --brand: #ff5a1f; --ink: #101820; --soft: #f7f8f8; }
body.template-ecosystem .desktop-nav-city,
body.template-ecosystem .header-actions-city { display: none; }
body.template-ecosystem .desktop-nav-ecosystem,
body.template-ecosystem .header-actions-ecosystem { display: flex; }
body.template-ecosystem .site-header { height: 56px; }
body.template-ecosystem .hero { height: clamp(520px, 52.7vw, 720px); }
body.template-ecosystem .hero picture img { object-position: center 45%; }
body.template-ecosystem .hero-shade { background: rgba(9, 17, 21, 0.2); }
body.template-ecosystem .hero-shade::after { inset: 0 54% 0 0; background: rgba(7, 13, 17, 0.5); }
body.template-ecosystem .hero-role,
body.template-ecosystem .scroll-cue,
body.template-ecosystem .app-tabs,
body.template-ecosystem .app-detail,
body.template-ecosystem .template-city-only,
body.template-ecosystem .service-icon-grid,
body.template-ecosystem .service-story-grid,
body.template-ecosystem .about-section { display: none; }
body.template-ecosystem .hero-eyebrow { display: none; }
body.template-ecosystem .hero-facts { display: flex; }
body.template-ecosystem .app-section { padding: 34px 0 22px; }
body.template-ecosystem .app-heading {
  text-align: left;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
}
body.template-ecosystem .app-heading .section-kicker { display: block; grid-column: 1; }
body.template-ecosystem .app-heading h2 { grid-column: 1; font-size: 32px; }
body.template-ecosystem .app-heading > p:last-child { grid-column: 2; grid-row: 1 / 3; }
body.template-ecosystem .app-showcase-grid {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.showcase-app-card {
  min-height: 290px;
  border-right: 1px solid var(--line);
  display: grid;
  grid-template-columns: 122px 1fr;
  gap: 18px;
  align-items: end;
  overflow: hidden;
}
.showcase-app-card:last-child { border-right: 0; }
.showcase-app-card > .phone-frame { width: 116px; height: 270px; border-width: 5px; border-radius: 22px 22px 0 0; }
.showcase-app-card > .phone-frame::before { top: 6px; height: 10px; }
.showcase-app-content { align-self: center; padding-right: 18px; }
.showcase-app-title { display: flex; align-items: center; gap: 10px; }
.showcase-app-title img { width: 54px; height: 54px; border-radius: 12px; }
.showcase-app-title h3 { margin: 0; font-size: 22px; }
.showcase-app-title p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.showcase-qr { width: 70px; height: 70px; margin: 15px 0 10px; }
.showcase-downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.showcase-downloads a {
  min-height: 38px;
  border-radius: 4px;
  background: #111;
  color: #fff;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11px;
}
.showcase-downloads a > span:last-child { display: grid; line-height: 1.05; }
.showcase-downloads a small { margin-top: 2px; font-size: 8px; font-weight: 500; }
.showcase-downloads .store-mark { font-size: 17px; line-height: 1; }
.showcase-downloads .store-mark-apple { font-family: -apple-system, BlinkMacSystemFont, sans-serif; }
.card-availability { display: none; margin: 8px 0 0; color: var(--muted); font-size: 10px; }
body.template-ecosystem .showcase-app-card {
  min-height: 160px;
  grid-template-columns: 1fr;
  align-items: stretch;
  padding: 0 26px;
}
body.template-ecosystem .showcase-app-card > .phone-frame { display: none; }
body.template-ecosystem .showcase-app-content {
  padding: 0;
  display: grid;
  grid-template-columns: 74px 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 14px;
  align-content: start;
}
body.template-ecosystem .showcase-app-title { grid-column: 1 / 3; }
body.template-ecosystem .showcase-qr { grid-column: 1; grid-row: 2 / 4; margin: 15px 0 0; }
body.template-ecosystem .showcase-downloads { grid-column: 2; grid-row: 2; margin-top: 15px; align-self: start; }
body.template-ecosystem .card-availability { grid-column: 2; grid-row: 3; margin-top: 7px; }
body.template-ecosystem .services-section { padding: 18px 0 14px; }
body.template-ecosystem .services-section > .section-heading { margin-bottom: 14px; }
body.template-ecosystem .services-section > .section-heading { text-align: left; }
body.template-ecosystem .service-image-grid {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.service-image-grid article {
  position: relative;
  aspect-ratio: 1.15;
  border-radius: 7px;
  overflow: hidden;
  background: #111;
}
.service-image-grid article::after {
  position: absolute;
  inset: 42% 0 0;
  background: rgba(0, 0, 0, 0.54);
  content: "";
}
.service-image-grid img { width: 100%; height: 100%; object-fit: cover; }
.service-image-grid article:nth-child(1) img { object-position: 64% center; }
.service-image-grid article:nth-child(2) img { object-position: 70% center; }
.service-image-grid article:nth-child(3) img { object-position: 48% center; }
.service-image-grid article:nth-child(4) img { object-position: 30% center; }
.service-image-grid article > div { position: absolute; right: 18px; bottom: 17px; left: 18px; z-index: 2; color: #fff; }
.service-image-grid .service-glyph {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 850;
}
.service-image-grid h3 { margin: 8px 0 3px; font-size: 20px; }
.service-image-grid p { margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 12px; }
body.template-ecosystem .trust-section { padding: 0; grid-template-columns: 1.25fr 2fr; }
body.template-ecosystem footer { padding-top: 14px; padding-bottom: 6px; }
body.template-ecosystem .footer-bottom { margin-top: 10px; padding-top: 8px; }

/* 模板三：横向品牌官网，对应 1536×1024 效果图。 */
body.template-community { --brand: #ff5a1f; --green: #144d2e; --soft: #f7f8f7; }
body.template-community .header-inner { width: min(calc(100% - 64px), 1400px); }
body.template-community .desktop-nav-city,
body.template-community .header-actions-city { display: none; }
body.template-community .desktop-nav-community,
body.template-community .header-actions-community { display: flex; }
body.template-community .site-header { height: 52px; }
body.template-community .hero { height: clamp(320px, 21.5vw, 350px); }
body.template-community .hero picture img { object-position: center 48%; }
body.template-community .hero-shade { background: rgba(8, 15, 12, 0.18); }
body.template-community .hero-shade::after { inset: 0 58% 0 0; background: rgba(7, 15, 12, 0.38); }
body.template-community .hero-content { top: 51%; }
body.template-community .hero-brand-logo {
  width: clamp(180px, 18vw, 286px);
  margin-bottom: 18px;
  display: block;
  filter: brightness(0) invert(1);
}
body.template-community .hero h1 { display: none; }
body.template-community .hero-lead { font-size: clamp(25px, 2.9vw, 40px); }
body.template-community .hero-role,
body.template-community .hero-facts,
body.template-community .scroll-cue,
body.template-community .app-heading,
body.template-community .app-tabs,
body.template-community .app-detail,
body.template-community .template-city-only,
body.template-community .service-icon-grid,
body.template-community .service-image-grid { display: none; }
body.template-community .app-section { padding: 0; border-bottom: 1px solid var(--line); }
body.template-community .app-showcase-grid {
  width: min(calc(100% - 48px), 1360px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
body.template-community .showcase-app-card { min-height: 220px; grid-template-columns: 118px 1fr; }
body.template-community .showcase-app-card > .phone-frame { width: 112px; height: 205px; }
body.template-community .showcase-qr { width: 60px; height: 60px; float: left; margin: 13px 12px 0 0; }
body.template-community .showcase-downloads { margin-top: 13px; }
body.template-community .services-section { padding: 0; background: #fff; }
body.template-community .services-section > .section-heading { display: none; }
body.template-community .service-story-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.service-story-grid article { position: relative; height: 140px; overflow: hidden; background: #111; }
.service-story-grid article::after { position: absolute; inset: 0; background: rgba(5, 13, 9, 0.33); content: ""; }
.service-story-grid img { width: 100%; height: 100%; object-fit: cover; }
.service-story-grid article:nth-child(1) img { object-position: 42% center; }
.service-story-grid article:nth-child(2) img { object-position: 68% center; }
.service-story-grid article:nth-child(3) img { object-position: 55% center; }
.service-story-grid article > div { position: absolute; top: 32px; left: 46px; z-index: 2; color: #fff; }
.service-story-grid h3 { margin: 0; font-size: 25px; }
.service-story-grid p { margin: 8px 0; font-size: 15px; }
body.template-community .trust-section {
  width: min(calc(100% - 48px), 1360px);
  padding: 10px 0;
  grid-template-columns: 0.9fr 2.1fr;
}
body.template-community .trust-heading h2 { font-size: 24px; }
body.template-community .trust-heading .section-kicker { display: none; }
body.template-community .trust-list article { text-align: left; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; }
body.template-community .trust-list .trust-glyph { grid-row: 1 / 3; color: var(--green); }
body.template-community .trust-list h3 { margin: 0; }
body.template-community .trust-list p { margin-top: 4px; }
body.template-community .about-section {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1.25fr 0.95fr;
  min-height: 130px;
  border-top: 1px solid var(--line);
}
body.template-community .about-image { height: 130px; min-height: 130px; overflow: hidden; }
body.template-community .about-image img { width: 100%; height: 100%; object-fit: cover; }
body.template-community .about-copy,
body.template-community .news-panel,
body.template-community .about-brand { padding: 8px 24px; }
body.template-community .about-copy .section-kicker,
body.template-community .news-panel .section-kicker { margin-bottom: 4px; }
body.template-community .about-copy h2 { font-size: 20px; }
body.template-community .about-copy > p:not(.section-kicker) { margin: 5px 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.text-link { color: var(--brand); font-size: 12px; font-weight: 800; }
.news-panel { border-left: 1px solid var(--line); }
.news-panel > div { display: flex; justify-content: space-between; }
.news-panel a { font-size: 11px; }
.news-panel ul { margin: 2px 0 0; padding: 0; list-style: none; }
.news-panel li { border-bottom: 1px solid var(--line); padding: 4px 0; display: flex; justify-content: space-between; gap: 12px; color: #4b5563; font-size: 10px; line-height: 1.25; }
.news-panel time { color: #99a1ac; }
.about-brand { border-left: 1px solid var(--line); background: #fafafa; display: grid; place-items: center; align-content: center; gap: 10px; }
.about-brand img { width: 126px; }
.about-brand strong { font-size: 12px; letter-spacing: 0; }
body.template-community footer { padding-top: 7px; padding-bottom: 4px; background: #f8f8f8; }
body.template-community .footer-main { grid-template-columns: 150px 1fr; gap: 24px; align-items: center; }
body.template-community .footer-brand { display: block; }
body.template-community .footer-brand img { width: 92px; }
body.template-community .footer-brand p,
body.template-community .footer-contact { display: none; }
body.template-community .footer-links { grid-template-columns: repeat(8, auto); gap: 7px 14px; font-size: 10px; }
body.template-community .footer-bottom { margin-top: 3px; padding-top: 3px; font-size: 9px; }

/* 中等宽度保留桌面导航，同时缩紧字距与页面留白以贴合 784 像素效果图。 */
@media (max-width: 980px) and (min-width: 721px) {
  :root { --content: 724px; }
  .site-header { height: 48px; }
  .header-inner { width: 724px; gap: 18px; }
  .brand { width: 82px; }
  .desktop-nav { margin-left: 24px; gap: 27px; font-size: 10px; }
  .header-actions { gap: 8px; font-size: 9px; }
  .header-download { margin-left: 6px; padding: 7px 16px; }
  body.template-city .hero { height: 470px; }
  .hero-content { left: 32px; width: 430px; }
  .hero h1 { font-size: 60px; }
  .hero-lead { font-size: 18px !important; }
  .hero-copy { font-size: 12px; }
  .button { min-height: 42px; padding: 0 20px; font-size: 12px; }
  .hero-role { min-width: 118px; padding: 7px 9px; }
  .hero-role > img,
  .hero-role > .role-icon { width: 31px; height: 31px; }
  .hero-role > .role-icon { font-size: 17px; }
  .hero-role strong { font-size: 11px; }
  .hero-role small { font-size: 8px; }
  .role-customer { right: 44%; }
  .section-heading h2 { font-size: 27px; }
  .section-heading > p:last-child { font-size: 13px; }
  .app-section { padding: 34px 0 0; }
  .app-heading { margin-bottom: 5px; }
  .app-tabs button { min-height: 58px; padding: 8px 11px; grid-template-columns: 31px auto; }
  .app-tabs button > img { width: 27px; height: 27px; }
  .app-tabs button b { font-size: 13px; }
  .app-tabs button small { font-size: 8px; }
  body.template-city .app-detail { min-height: 315px; grid-template-columns: 220px 1fr; gap: 35px; padding: 15px 46px 0; }
  body.template-city .app-detail-phone { width: 186px; height: 300px; }
  .app-identity > img { width: 56px; height: 56px; border-radius: 13px; }
  .app-identity h3 { font-size: 21px; }
  .app-detail-copy h4 { margin-top: 16px; font-size: 18px; }
  .app-detail-copy > p:not(.availability) { font-size: 11px; }
  .app-download-row { margin-top: 15px; gap: 18px; }
  .download-actions { min-width: 174px; }
  .store-button { min-height: 45px; padding: 6px 11px; }
  .store-button strong { font-size: 14px; }
  .qr-block { width: 91px; }
  .qr-block img { width: 82px; height: 82px; }
  body.template-city .flow-section { padding: 20px 0 14px; }
  .flow-section .section-heading { margin-bottom: 15px; }
  .flow-grid { gap: 16px; }
  .flow-grid strong { font-size: 13px; }
  body.template-city .services-section { padding: 16px 0 11px; }
  .services-section .section-heading { margin-bottom: 14px; }
  .service-icon-grid .service-glyph { width: 48px; height: 48px; font-size: 18px; }
  .service-icon-grid h3 { font-size: 12px; }
  body.template-city .trust-section { padding: 11px 0; gap: 8px; }
  .trust-heading h2 { font-size: 23px; }
  body.template-city .trust-heading > p:last-child { margin-top: 5px; font-size: 11px; }
  .trust-list article { padding: 4px 13px; }
  body.template-city .trust-list .trust-glyph { width: 32px; height: 32px; }
  body.template-city .trust-list h3 { margin: 7px 0 3px; font-size: 12px; }
  body.template-city .trust-list p { font-size: 10px; }
  body.template-city .promo-banner { min-height: 148px; margin-bottom: 2px; }
  body.template-city .promo-banner > div { min-height: 148px; padding: 12px 27px; }
  .promo-banner h2 { font-size: 22px; }
  .promo-banner .button { margin-top: 10px; }
  .promo-banner blockquote { top: 34px; right: 28px; font-size: 20px; }
  body.template-city footer { padding-top: 20px; padding-bottom: 12px; }
  .footer-main { gap: 22px; }
  .footer-brand img { width: 95px; }
  .footer-links { gap: 9px 15px; font-size: 9px; }
  .footer-contact p { font-size: 9px; }
  .footer-bottom { margin-top: 16px; padding-top: 12px; }
}

/* 手机端重新组织内容顺序，保留摄影、下载和三端业务，不压缩文字到不可读。 */
@media (max-width: 720px) {
  .site-header { height: 64px; }
  .header-inner { width: calc(100% - 32px); }
  .brand { width: 108px; }
  .desktop-nav,
  .header-actions { display: none; }
  body.template-ecosystem .desktop-nav-ecosystem,
  body.template-ecosystem .header-actions-ecosystem,
  body.template-community .desktop-nav-community,
  body.template-community .header-actions-community { display: none; }
  .menu-button {
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 0;
    background: transparent;
    padding: 9px;
    display: grid;
    align-content: center;
    gap: 5px;
    cursor: pointer;
  }
  .menu-button span { width: 100%; height: 2px; background: var(--ink); }
  .mobile-nav {
    position: fixed;
    top: 64px;
    right: 0;
    left: 0;
    z-index: 55;
    border-bottom: 1px solid var(--line);
    background: #fff;
    padding: 10px 18px 18px;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.15);
  }
  .mobile-nav.is-open { display: grid; }
  .mobile-nav a { border-bottom: 1px solid var(--line); padding: 13px 4px; }
  .hero,
  body.template-city .hero,
  body.template-ecosystem .hero,
  body.template-community .hero { height: 680px; min-height: 0; }
  .hero picture img,
  body.template-city .hero picture img,
  body.template-ecosystem .hero picture img,
  body.template-community .hero picture img { object-position: 58% center; }
  .hero-shade,
  body.template-ecosystem .hero-shade,
  body.template-community .hero-shade { background: rgba(5, 12, 16, 0.28); }
  .hero-shade::after,
  body.template-ecosystem .hero-shade::after,
  body.template-community .hero-shade::after { inset: 0; background: rgba(5, 12, 16, 0.24); }
  .hero-content,
  body.template-community .hero-content { top: 49%; right: 24px; left: 24px; width: auto; }
  .hero h1,
  body.template-community .hero h1 { font-size: 56px; }
  .hero-lead,
  body.template-city .hero-lead,
  body.template-community .hero-lead { font-size: 25px; }
  .hero-copy { font-size: 15px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  body.template-city .hero-actions { grid-template-columns: 1fr; width: max-content; }
  .hero-role { display: none !important; }
  .scroll-cue { display: none; }
  .hero-facts,
  body.template-ecosystem .hero-facts {
    right: 24px;
    bottom: 13px;
    left: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  body.template-city .hero-facts,
  body.template-community .hero-facts { display: none; }
  .section-heading,
  .app-tabs,
  .app-detail,
  body.template-ecosystem .app-showcase-grid,
  body.template-community .app-showcase-grid,
  .flow-grid,
  .service-icon-grid,
  body.template-ecosystem .service-image-grid,
  body.template-community .trust-section,
  .trust-section,
  .promo-banner { width: calc(100% - 36px); }
  .section-heading h2,
  .trust-heading h2,
  .about-copy h2 { font-size: 26px; }
  .app-section { padding: 52px 0; }
  .app-tabs button { min-height: 62px; padding: 9px; grid-template-columns: 30px auto; column-gap: 8px; }
  .app-tabs button > img { width: 25px; height: 25px; }
  .app-tabs button b { font-size: 13px; }
  .app-tabs button small { display: none; }
  .app-detail { min-height: 0; grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; }
  .app-detail-phone { width: 210px; height: 360px; border-radius: 28px; }
  .app-detail-copy { padding: 0; }
  .app-detail-copy h4 { font-size: 21px; }
  .app-download-row { align-items: flex-start; gap: 16px; }
  .download-actions { min-width: 0; flex: 1; }
  .qr-block { width: 92px; }
  .qr-block img { width: 82px; height: 82px; }
  .flow-section { padding: 52px 0; }
  .flow-grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .services-section { padding: 52px 0; }
  .service-icon-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .trust-section,
  body.template-community .trust-section { padding: 48px 0; grid-template-columns: 1fr; gap: 28px; }
  .trust-list { grid-template-columns: 1fr 1fr; }
  .trust-list article { border-top: 1px solid var(--line); padding: 20px 10px; }
  .promo-banner { min-height: 330px; }
  .promo-banner > img { width: 100%; height: 54%; top: auto; bottom: 0; }
  .promo-banner > div { width: 100%; min-height: 180px; padding: 24px; }
  .promo-banner blockquote { display: none; }
  body.template-ecosystem .app-heading { display: block; text-align: center; }
  body.template-ecosystem .app-heading > p:last-child { margin-top: 9px; }
  body.template-ecosystem .app-showcase-grid,
  body.template-community .app-showcase-grid { grid-template-columns: 1fr; gap: 0; }
  .showcase-app-card,
  body.template-community .showcase-app-card { min-height: 250px; border-right: 0; border-bottom: 1px solid var(--line); grid-template-columns: 120px 1fr; }
  .showcase-app-card > .phone-frame,
  body.template-community .showcase-app-card > .phone-frame { width: 112px; height: 232px; }
  body.template-ecosystem .service-image-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  body.template-community .service-story-grid { grid-template-columns: 1fr; }
  .service-story-grid article { height: 190px; }
  body.template-community .about-section { grid-template-columns: 1fr; }
  body.template-community .about-image { min-height: 240px; }
  .news-panel,
  .about-brand { border-left: 0; border-top: 1px solid var(--line); }
  .footer-main,
  body.template-community .footer-main { grid-template-columns: 1fr; }
  .footer-links,
  body.template-community .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { display: grid; justify-content: start; }
  body.template-community .footer-brand { display: block; }
}

/* 减少动态偏好的用户不显示滚动动画。 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
