:root {
  --home-ink: #151817;
  --home-muted: #687270;
  --home-teal: #0a938a;
  --home-teal-deep: #08766f;
  --home-teal-soft: #eaf6f4;
  --home-coral: #ff6b57;
  --home-warm: #fff4ed;
  --home-surface: #f4f7f6;
  --home-line: #dfe7e4;
  --home-dark: #173b39;
  --home-shell: 1240px;
}

.download-home {
  color: var(--home-ink);
  background: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

.download-home .shell {
  width: min(calc(100% - 56px), var(--home-shell));
}

.download-home button,
.download-home a {
  -webkit-tap-highlight-color: transparent;
}

.download-home button {
  font: inherit;
}

.download-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(223, 231, 228, 0.82);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.download-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.download-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.download-brand img,
.footer-brand-block img,
.hero-app-icon {
  display: block;
  border-radius: 13px;
}

.download-brand > span {
  display: grid;
  line-height: 1.2;
}

.download-brand strong {
  font-size: 16px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.download-brand small {
  margin-top: 4px;
  color: var(--home-muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.download-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.7vw, 38px);
  color: #424947;
  font-size: 14px;
}

.download-nav a {
  transition: color 160ms ease;
}

.download-nav a:hover {
  color: var(--home-teal-deep);
}

.download-hero {
  position: relative;
  padding: clamp(34px, 3.2vw, 48px) 0 clamp(84px, 9vw, 132px);
  overflow: clip;
  background: #ffffff;
}

.hero-intro {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

.hero-app-icon {
  width: clamp(58px, 5vw, 72px);
  height: clamp(58px, 5vw, 72px);
  margin: 0 auto 15px;
  box-shadow: 0 16px 38px rgba(9, 147, 138, 0.18);
}

.hero-kicker {
  margin: 0 0 12px;
  color: var(--home-teal-deep);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.18em;
}

.hero-intro h1 {
  margin: 0;
  color: #0c0d0d;
  font-size: clamp(56px, 5.7vw, 78px);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 1;
}

.hero-subtitle {
  max-width: 860px;
  margin: 15px auto 0;
  color: #2f3735;
  font-size: clamp(18px, 1.75vw, 22px);
  line-height: 1.55;
}

.download-grid {
  position: relative;
  z-index: 15;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: clamp(28px, 2.6vw, 38px) auto 0;
}

.download-card {
  position: relative;
  min-width: 0;
  text-align: center;
}

.download-pill {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 20px;
  border: 0;
  color: #ffffff;
  background: #050505;
  border-radius: 999px;
  cursor: pointer;
  font-size: clamp(15px, 1.45vw, 18px);
  font-weight: 650;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.download-pill img {
  display: block;
  flex: 0 0 auto;
  filter: brightness(0) invert(1);
}

.download-pill-windows {
  gap: 8px;
  padding-inline: 8px;
  font-size: 14px;
}

.download-pill-windows span {
  line-height: 1.25;
  white-space: normal;
}

.download-install-guide {
  display: inline-flex;
  margin-top: 9px;
  color: var(--home-teal-deep);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: rgba(8, 118, 111, 0.3);
  text-underline-offset: 3px;
}

.download-install-guide:hover {
  color: var(--home-teal);
}

.download-pill:hover {
  background: var(--home-teal-deep);
  box-shadow: 0 14px 30px rgba(8, 118, 111, 0.2);
  transform: translateY(-2px);
}

.download-pill:focus-visible {
  outline-color: rgba(10, 147, 138, 0.7);
}

.download-card-upcoming .download-pill,
.download-card-upcoming .download-pill:disabled {
  color: rgba(255, 255, 255, 0.82);
  background: #252928;
  cursor: default;
  box-shadow: none;
  transform: none;
}

.download-popover {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 30;
  width: min(300px, calc(100vw - 36px));
  padding: 22px;
  border: 1px solid var(--home-line);
  border-radius: 22px;
  opacity: 0;
  visibility: hidden;
  translate: -50% 8px;
  color: var(--home-ink);
  background: #ffffff;
  box-shadow: 0 24px 54px rgba(24, 46, 43, 0.16);
  pointer-events: none;
  text-align: left;
  transition: opacity 160ms ease, translate 160ms ease, visibility 160ms ease;
}

.download-card:first-child .download-popover {
  left: 0;
  translate: 0 8px;
}

.download-card:last-child .download-popover {
  right: 0;
  left: auto;
  translate: 0 8px;
}

.download-card:focus-within .download-popover {
  opacity: 1;
  visibility: visible;
  translate: -50% 0;
  pointer-events: auto;
}

.download-card:first-child:focus-within .download-popover,
.download-card:last-child:focus-within .download-popover {
  translate: 0 0;
}

@media (hover: hover) and (pointer: fine) {
  .download-card:hover .download-popover {
    opacity: 1;
    visibility: visible;
    translate: -50% 0;
    pointer-events: auto;
  }

  .download-card:first-child:hover .download-popover,
  .download-card:last-child:hover .download-popover {
    translate: 0 0;
  }
}

.download-popover strong {
  display: block;
  font-size: 15px;
  line-height: 1.45;
}

.download-popover p {
  margin: 9px 0 0;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.65;
}

.popover-status {
  display: inline-flex;
  margin-top: 14px;
  padding: 5px 10px;
  color: var(--home-teal-deep);
  background: var(--home-teal-soft);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.popover-status-muted {
  color: #616967;
  background: #edf0ef;
}

.qr-popover {
  text-align: center;
}

.qr-popover > img {
  width: 184px;
  height: 184px;
  display: block;
  margin: 0 auto 13px;
  border-radius: 12px;
}

.ios-download-note {
  max-width: 1040px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 18px auto 0;
  padding: 14px 18px;
  border: 1px solid rgba(10, 147, 138, 0.14);
  border-radius: 18px;
  color: #53615e;
  background: #f7fbfa;
  font-size: 13px;
  line-height: 1.7;
  text-align: left;
}

.ios-download-note > img {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  margin-top: 2px;
  filter: invert(38%) sepia(58%) saturate(737%) hue-rotate(127deg) brightness(87%) contrast(94%);
}

.ios-download-note p {
  margin: 0;
}

.ios-download-note strong {
  display: block;
  margin-bottom: 2px;
  color: var(--home-ink);
  font-size: 13px;
}

.ios-download-note a {
  color: var(--home-teal-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(8, 118, 111, 0.3);
  text-underline-offset: 3px;
}

.hero-showcase {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  display: grid;
  grid-template-columns: minmax(190px, 0.68fr) minmax(480px, 1.64fr) minmax(220px, 0.78fr);
  gap: 24px;
  align-items: end;
  margin: clamp(40px, 3.8vw, 54px) auto 0;
}

.screen-card {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 13px;
  border: 1px solid var(--home-line);
  border-radius: 28px;
  background: var(--home-surface);
  box-shadow: 0 24px 64px rgba(30, 59, 55, 0.11);
}

.screen-card-main {
  padding: 15px;
  border-radius: 32px;
  background: var(--home-warm);
}

.screen-card-left {
  rotate: -2.5deg;
  translate: 0 -12px;
}

.screen-card-right {
  rotate: 2.5deg;
  translate: 0 -20px;
}

.screen-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 1px 0 11px;
  padding: 0 10px;
  color: var(--home-teal-deep);
  background: #ffffff;
  border: 1px solid rgba(10, 147, 138, 0.14);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
}

.screen-media {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(28, 51, 48, 0.1);
  border-radius: 18px;
  background: #fffaf7;
}

.screen-media img {
  display: block;
  max-width: 100%;
  height: auto;
}

.screen-card-phone .screen-media {
  padding: 12px 28px 0;
  background: #fffaf7;
}

.screen-card-phone .screen-media img {
  width: min(100%, 188px);
}

.screen-card figcaption {
  padding: 12px 6px 4px;
  color: #55605d;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.product-section {
  padding: clamp(88px, 10vw, 146px) 0;
  background: #f7f9f8;
}

.home-section-heading {
  max-width: 1020px;
  margin: 0 auto clamp(44px, 6vw, 72px);
  text-align: center;
}

.home-section-heading > p,
.company-kicker {
  margin: 0 0 13px;
  color: var(--home-teal-deep);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.16em;
}

.home-section-heading h2,
.company-card h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 820;
  letter-spacing: -0.055em;
  line-height: 1.16;
  text-wrap: balance;
}

.home-section-heading > span {
  display: block;
  margin-top: 18px;
  color: var(--home-muted);
  font-size: 16px;
}

.home-section-heading-left {
  max-width: 620px;
  margin: 0;
  text-align: left;
}

.feature-stack {
  display: grid;
  gap: 30px;
}

.feature-panel {
  min-height: 580px;
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 74px);
  align-items: center;
  padding: clamp(34px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(10, 147, 138, 0.1);
  border-radius: clamp(30px, 4vw, 52px);
  background: var(--home-teal-soft);
}

.feature-panel-reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  background: var(--home-warm);
}

.feature-panel-reverse .feature-copy {
  grid-column: 2;
  grid-row: 1;
}

.feature-panel-reverse .feature-visual {
  grid-column: 1;
  grid-row: 1;
}

.feature-panel-dark {
  color: #ffffff;
  background: var(--home-dark);
  border-color: rgba(255, 255, 255, 0.08);
}

.feature-copy {
  position: relative;
  z-index: 2;
}

.feature-index {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 13px;
  color: var(--home-teal-deep);
  background: rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.feature-panel-dark .feature-index {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
}

.feature-copy h3 {
  margin: 24px 0 0;
  font-size: clamp(32px, 3.3vw, 46px);
  font-weight: 810;
  letter-spacing: -0.05em;
  line-height: 1.16;
}

.feature-copy > p {
  margin: 22px 0 0;
  color: #53615e;
  font-size: 16px;
  line-height: 1.85;
}

.feature-panel-dark .feature-copy > p,
.feature-panel-dark .feature-copy li {
  color: rgba(255, 255, 255, 0.74);
}

.feature-copy ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding-left: 1.2em;
  color: #2f3c39;
  font-size: 14px;
}

.feature-copy li::marker {
  color: var(--home-teal);
}

.feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-visual img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(35, 58, 55, 0.12);
  border-radius: 22px;
  box-shadow: 0 26px 56px rgba(31, 68, 63, 0.16);
}

.feature-visual-phone img {
  width: min(100%, 286px);
  max-height: 510px;
  object-fit: contain;
  border-radius: 30px;
}

.feature-panel-dark .feature-visual img {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 66px rgba(0, 0, 0, 0.24);
}

.platform-section {
  padding: clamp(84px, 9vw, 132px) 0;
  background: #ffffff;
}

.platform-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.platform-grid article {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--home-line);
  border-radius: 26px;
  background: var(--home-surface);
}

.platform-grid strong {
  font-size: 21px;
  letter-spacing: -0.03em;
}

.platform-grid span {
  margin-top: 7px;
  color: var(--home-muted);
  font-size: 13px;
}

.platform-grid b {
  margin-top: auto;
  color: var(--home-teal-deep);
  font-size: 11px;
}

.platform-grid .platform-upcoming {
  background: #f1f2f2;
}

.platform-grid .platform-upcoming b {
  color: #737a78;
}

.company-section {
  padding: 0 0 clamp(86px, 9vw, 132px);
  background: #ffffff;
}

.company-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: end;
  padding: clamp(42px, 6vw, 80px);
  color: #ffffff;
  background: #111413;
  border-radius: clamp(32px, 4.5vw, 58px);
}

.company-card h2 {
  max-width: 760px;
}

.company-card > div:first-child > p:last-child {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.85;
}

.company-kicker {
  color: #63d6cd;
}

.company-actions {
  display: grid;
  gap: 12px;
}

.company-actions a {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #ffffff;
  font-size: 13px;
  transition: border-color 160ms ease, background 160ms ease;
}

.company-actions a:hover {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.company-actions .company-primary {
  border-color: var(--home-teal);
  background: var(--home-teal);
  font-weight: 720;
}

.company-actions .company-primary:hover {
  border-color: var(--home-teal-deep);
  background: var(--home-teal-deep);
}

.download-footer {
  padding: 52px 0;
  border-top: 1px solid var(--home-line);
  background: #ffffff;
}

.download-footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px 56px;
  align-items: center;
}

.footer-brand-block {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-brand-block > div {
  display: grid;
  line-height: 1.3;
}

.footer-brand-block strong {
  font-size: 15px;
}

.footer-brand-block span {
  color: var(--home-muted);
  font-size: 11px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 28px;
  color: #4f5957;
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--home-teal-deep);
}

.download-footer-inner > p {
  grid-column: 1 / -1;
  margin: 0;
  color: #8a9390;
  font-size: 11px;
  text-align: right;
}

.wechat-guide-open {
  overflow: hidden;
}

.wechat-browser-guide {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  align-items: start;
  padding: max(118px, calc(env(safe-area-inset-top) + 92px)) 22px 32px;
  color: #ffffff;
  background: rgba(5, 12, 11, 0.9);
  backdrop-filter: blur(8px);
}

.wechat-browser-guide[hidden] {
  display: none;
}

.wechat-browser-guide-panel {
  position: relative;
  width: min(380px, 100%);
  margin: 0 auto;
  padding: 31px 25px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.wechat-guide-arrow {
  position: absolute;
  right: -7px;
  bottom: calc(100% + 6px);
  width: 118px;
  height: 92px;
  overflow: visible;
  fill: none;
  stroke: #ffffff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.22));
}

.wechat-guide-kicker {
  margin: 0 0 12px;
  color: #77e1c6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.wechat-browser-guide h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.wechat-browser-guide-panel > p:not(.wechat-guide-kicker) {
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.75;
}

.wechat-browser-guide button {
  width: 100%;
  min-height: 48px;
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #0d302b;
  background: #ffffff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.desktop-download-dialog {
  width: min(420px, calc(100vw - 36px));
  padding: 32px;
  border: 0;
  border-radius: 28px;
  color: var(--home-ink);
  background: #ffffff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.desktop-download-dialog:not([open]) {
  display: none;
}

.desktop-download-dialog::backdrop {
  background: rgba(8, 13, 12, 0.68);
}

.dialog-fallback-open {
  overflow: hidden;
}

.dialog-fallback-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(8, 13, 12, 0.68);
}

.dialog-fallback-open .desktop-download-dialog[open],
.dialog-fallback-open .service-dialog[open] {
  position: fixed;
  inset: 50% auto auto 50%;
  z-index: 1000;
  margin: 0;
  translate: -50% -50%;
}

.desktop-dialog-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 18px;
  background: var(--home-teal-soft);
}

.desktop-dialog-icon img {
  filter: invert(43%) sepia(63%) saturate(707%) hue-rotate(127deg) brightness(92%) contrast(96%);
}

.desktop-download-dialog h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.desktop-download-dialog > p {
  margin: 14px 0 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.75;
}

.desktop-dialog-actions {
  display: grid;
  margin-top: 26px;
}

.desktop-dialog-actions button {
  min-height: 48px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.dialog-primary {
  border: 1px solid var(--home-teal);
  color: #ffffff;
  background: var(--home-teal);
}

/* 首屏客服微信入口：页头常驻按钮 + 首屏二维码卡片 + 放大弹层。 */

.nav-service {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  margin-left: 4px;
  padding: 0 15px;
  border: 1px solid rgba(10, 147, 138, 0.26);
  border-radius: 999px;
  color: var(--home-teal-deep);
  background: var(--home-teal-soft);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.nav-service svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-service:hover {
  border-color: var(--home-teal-deep);
  color: #ffffff;
  background: var(--home-teal-deep);
}

/* 刻意不做定位与层级：保证下载卡片的悬浮说明层仍盖在卡片之上。 */
.hero-service {
  max-width: 1200px;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 30px);
  margin: clamp(22px, 2.4vw, 30px) auto 0;
  padding: clamp(18px, 2vw, 24px) clamp(20px, 2.4vw, 30px);
  border: 1px solid rgba(10, 147, 138, 0.18);
  border-radius: clamp(22px, 2.4vw, 28px);
  background: linear-gradient(115deg, var(--home-teal-soft) 0%, #ffffff 62%);
}

.service-qr {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 10px 10px 8px;
  border: 1px solid rgba(10, 147, 138, 0.2);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(10, 147, 138, 0.14);
  cursor: zoom-in;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-qr img {
  display: block;
  width: clamp(120px, 9.6vw, 150px);
  height: auto;
  border-radius: 12px;
}

.service-qr > span {
  color: var(--home-teal-deep);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.service-qr:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(10, 147, 138, 0.2);
}

.service-copy {
  min-width: 0;
}

.service-copy h2 {
  margin: 0;
  font-size: clamp(21px, 1.75vw, 25px);
  font-weight: 820;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.service-copy p {
  margin: 9px 0 0;
  color: #4e5c59;
  font-size: 14px;
  line-height: 1.75;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.service-tags li {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 12px;
  border: 1px solid rgba(10, 147, 138, 0.16);
  border-radius: 999px;
  color: var(--home-teal-deep);
  background: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.service-dialog {
  width: min(430px, calc(100vw - 32px));
  padding: 30px 28px 26px;
  border: 0;
  border-radius: 28px;
  color: var(--home-ink);
  background: #ffffff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.service-dialog:not([open]) {
  display: none;
}

.service-dialog::backdrop {
  background: rgba(8, 13, 12, 0.68);
}

.service-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #6d7775;
  background: #f1f4f3;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.service-dialog-close svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.service-dialog-close:hover {
  color: #ffffff;
  background: var(--home-teal-deep);
}

.service-dialog-kicker {
  margin: 0 0 8px;
  color: var(--home-teal-deep);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.14em;
}

.service-dialog h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 820;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.service-dialog-qr {
  width: min(240px, 60vw);
  height: auto;
  display: block;
  margin: 18px auto 0;
  border: 1px solid var(--home-line);
  border-radius: 18px;
}

.service-dialog-hint {
  max-width: 300px;
  margin: 14px auto 0;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.7;
}

.service-dialog-tags {
  justify-content: center;
  margin-top: 14px;
}

/* 首页不公开客服微信号，弹层只呈现二维码与服务时间。 */
.service-dialog-hours {
  margin: 18px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--home-line);
  color: var(--home-muted);
  font-size: 12px;
}

.service-dialog-more {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  border: 1px solid rgba(10, 147, 138, 0.24);
  border-radius: 999px;
  color: var(--home-teal-deep);
  font-size: 13px;
  font-weight: 700;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.service-dialog-more:hover {
  border-color: var(--home-teal-deep);
  color: #ffffff;
  background: var(--home-teal-deep);
}

@media (max-width: 1040px) {
  .download-grid {
    gap: 12px;
  }

  .download-pill {
    min-height: 58px;
    padding: 0 14px;
  }

  .download-pill-windows {
    padding-inline: 8px;
    font-size: 12px;
  }

  .hero-showcase {
    grid-template-columns: minmax(170px, 0.65fr) minmax(390px, 1.55fr) minmax(180px, 0.7fr);
    gap: 16px;
  }

  .screen-card-phone .screen-media {
    padding-inline: 18px;
  }

  .feature-panel {
    min-height: 520px;
  }
}

@media (max-width: 860px) {
  .download-home .shell {
    width: min(calc(100% - 36px), var(--home-shell));
  }

  .download-nav {
    gap: 18px;
  }

  .nav-legal {
    display: none;
  }

  .download-grid {
    max-width: 680px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
  }

  .download-card:nth-child(odd) .download-popover {
    right: auto;
    left: 0;
    translate: 0 8px;
  }

  .download-card:nth-child(even) .download-popover {
    right: 0;
    left: auto;
    translate: 0 8px;
  }

  .download-card:nth-child(odd):focus-within .download-popover,
  .download-card:nth-child(even):focus-within .download-popover {
    translate: 0 0;
  }

  .download-card:last-child {
    width: calc((100% - 14px) / 2);
    grid-column: 1 / -1;
    justify-self: center;
  }

  .download-card:last-child .download-popover {
    right: auto;
    left: 50%;
    translate: -50% 8px;
  }

  .download-card:last-child:hover .download-popover,
  .download-card:last-child:focus-within .download-popover {
    translate: -50% 0;
  }

  .hero-showcase {
    width: calc(100vw - 18px);
    margin-left: calc((100% - 100vw) / 2 + 9px);
    padding: 8px 18px 22px;
    grid-template-columns: 72vw 82vw 72vw;
    gap: 16px;
    align-items: start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .hero-service {
    gap: 20px;
  }

  .service-qr img {
    width: clamp(112px, 15vw, 132px);
  }

  .hero-showcase::-webkit-scrollbar {
    display: none;
  }

  .screen-card {
    scroll-snap-align: center;
  }

  .screen-card-main {
    grid-column: 1;
    grid-row: 1;
  }

  .screen-card-left {
    grid-column: 2;
    grid-row: 1;
    rotate: 0deg;
    translate: 0 0;
  }

  .screen-card-right {
    grid-column: 3;
    grid-row: 1;
    rotate: 0deg;
    translate: 0 0;
  }

  .screen-card-phone .screen-media img {
    width: min(100%, 220px);
  }

  .feature-panel,
  .feature-panel-reverse {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-panel-reverse .feature-copy,
  .feature-panel-reverse .feature-visual {
    grid-column: 1;
  }

  .feature-panel-reverse .feature-copy {
    grid-row: 1;
  }

  .feature-panel-reverse .feature-visual {
    grid-row: 2;
  }

  .platform-shell,
  .company-card {
    grid-template-columns: 1fr;
  }

  .home-section-heading-left {
    max-width: 720px;
  }

  .platform-grid {
    margin-top: 8px;
  }

  .company-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .download-home .shell {
    width: min(calc(100% - 28px), var(--home-shell));
  }

  .download-header-inner {
    min-height: 66px;
    gap: 14px;
  }

  .download-brand img {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .download-brand strong {
    font-size: 14px;
  }

  .download-brand small,
  .download-nav > a:first-child,
  .download-nav .nav-legal {
    display: none;
  }

  .download-nav {
    gap: 10px;
  }

  .nav-service {
    min-height: 34px;
    margin-left: 0;
    padding: 0 12px;
    font-size: 12px;
  }

  .nav-service svg {
    width: 14px;
    height: 14px;
  }

  .hero-service {
    gap: 14px;
    margin-top: 20px;
    padding: 14px;
    border-radius: 20px;
  }

  /* 窄屏下文案比二维码高，顶对齐可让二维码尽量留在首屏内。 */
  .service-qr {
    align-self: flex-start;
    gap: 5px;
    padding: 8px 8px 7px;
    border-radius: 16px;
  }

  .service-qr img {
    width: 120px;
    border-radius: 10px;
  }

  .service-qr > span {
    font-size: 10px;
  }

  .service-copy h2 {
    font-size: 19px;
  }

  .service-copy p {
    margin-top: 7px;
    font-size: 13px;
    line-height: 1.65;
  }

  .service-tags {
    gap: 6px;
    margin-top: 10px;
  }

  .service-tags li {
    min-height: 24px;
    padding: 0 9px;
    font-size: 11px;
  }

  .service-dialog {
    padding: 28px 20px 22px;
    border-radius: 24px;
  }

  .service-dialog h2 {
    font-size: 22px;
  }

  .service-dialog-qr {
    width: min(232px, 64vw);
  }

  .download-hero {
    padding: 58px 0 78px;
    overflow: hidden;
  }

  .hero-app-icon {
    margin-bottom: 18px;
  }

  .hero-kicker {
    margin-bottom: 9px;
    font-size: 11px;
  }

  .hero-intro h1 {
    font-size: clamp(48px, 15vw, 64px);
    letter-spacing: -0.07em;
  }

  .hero-subtitle {
    max-width: 330px;
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.65;
  }

  .download-grid {
    gap: 16px 10px;
    margin-top: 38px;
  }

  .download-card:last-child {
    width: 100%;
    grid-column: 1 / -1;
  }

  .download-pill {
    min-height: 54px;
    gap: 8px;
    padding: 0 10px;
    font-size: 13px;
  }

  .download-pill img {
    width: 20px;
    height: 20px;
  }

  .download-popover {
    display: none;
  }

  .ios-download-note {
    gap: 10px;
    margin-top: 16px;
    padding: 13px 14px;
    border-radius: 15px;
    font-size: 12px;
  }

  .hero-showcase {
    grid-template-columns: 86vw 78vw 86vw;
    margin-top: 40px;
    padding-inline: 14px;
  }

  .screen-card {
    padding: 10px;
    border-radius: 22px;
  }

  .screen-card-main {
    padding: 11px;
  }

  .screen-media {
    border-radius: 14px;
  }

  .screen-card figcaption {
    font-size: 11px;
  }

  .product-section,
  .platform-section {
    padding: 78px 0;
  }

  .home-section-heading {
    margin-bottom: 38px;
  }

  .home-section-heading h2,
  .company-card h2 {
    font-size: 36px;
  }

  .home-section-heading > span {
    margin-top: 14px;
    font-size: 14px;
  }

  .feature-stack {
    gap: 18px;
  }

  .feature-panel {
    gap: 34px;
    padding: 28px 22px;
    border-radius: 28px;
  }

  .feature-copy h3 {
    margin-top: 20px;
    font-size: 34px;
  }

  .feature-copy > p {
    margin-top: 17px;
    font-size: 14px;
  }

  .feature-copy ul {
    margin-top: 18px;
    font-size: 13px;
  }

  .feature-visual img {
    border-radius: 16px;
  }

  .feature-visual-phone img {
    width: min(100%, 236px);
    border-radius: 24px;
  }

  .platform-shell {
    gap: 38px;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .platform-grid article {
    min-height: 130px;
    padding: 22px;
  }

  .company-section {
    padding-bottom: 78px;
  }

  .company-card {
    gap: 34px;
    padding: 34px 24px;
    border-radius: 30px;
  }

  .company-actions {
    grid-template-columns: 1fr;
  }

  .download-footer {
    padding: 42px 0;
  }

  .download-footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-links {
    justify-content: flex-start;
    gap: 12px 22px;
  }

  .download-footer-inner > p {
    text-align: left;
  }

  .desktop-download-dialog {
    padding: 28px 24px 22px;
    border-radius: 24px;
  }

  .desktop-download-dialog h2 {
    font-size: 21px;
  }
}

@media (max-width: 380px) {
  /* 极窄屏优先保留「联系客服」入口，帮助入口仍在页脚与 iOS 说明中可达。 */
  .download-nav > a {
    display: none;
  }

  .download-nav {
    gap: 8px;
  }

  .nav-service {
    padding: 0 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .download-home *,
  .download-home *::before,
  .download-home *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
