:root {
  color: #1c2636;
  background: #fff;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; margin: 0; }
main { flex: 1; display: grid; place-items: center; padding: 52px 22px 56px; }
.intro { width: min(100%, 560px); margin-inline: auto; text-align: center; }
.logo { display: block; width: 116px; height: 116px; margin: 0 auto 18px; }
h1, p { margin: 0; }
h1 { font-size: clamp(32px, 4vw, 43px); font-weight: 720; letter-spacing: .015em; line-height: 1.35; }
.summary { margin: 14px auto 0; color: #505c6d; font-size: 17px; line-height: 1.85; }
.links { display: flex; justify-content: center; gap: 14px; margin: 29px auto 0; }
.links > div { width: 150px; min-width: 0; }
.button { display: grid; place-items: center; min-height: 48px; padding: 10px 6px; border: 1px solid transparent; border-radius: 9px; font-size: 16px; font-weight: 620; text-decoration: none; }
.wechat { background: #fff; border-color: #bfcadd; color: #293d5d; }
.wechat:hover { border-color: #697e9e; background: #f6f8fc; }
.android { background: #295fca; color: #fff; }
.android:hover { background: #214eaa; }
small { display: block; margin-top: 7px; color: #657083; font-size: 13px; }
a:focus-visible { outline: 3px solid #427af0; outline-offset: 3px; }
footer { width: min(calc(100% - 40px), 840px); margin: 0 auto; padding: 18px 0 21px; border-top: 1px solid #e6eaf0; color: #616b79; font-size: 13px; text-align: center; }
footer div { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px 18px; margin-top: 3px; }
footer a { color: inherit; text-decoration: none; }footer a:hover { text-decoration: underline; }
.wechat-note { max-width: 320px; margin: 18px auto 0; font-size: 14px; color: #455b7b; }
.scan h1 { font-size: clamp(25px, 4vw, 34px); }
.code { display: block; width: min(216px, 70vw); height: auto; margin: 22px auto 12px; }
.scan .summary { font-size: 16px; }
.back { display: inline-block; color: #295fca; padding: 8px 10px; margin-top: 14px; text-underline-offset: 4px; }
@media (max-width: 540px) {
  main { padding: 35px 18px 50px; }
  .logo { width: 100px; height: 100px; margin-bottom: 15px; }
  .summary { font-size: 16px; max-width: 25em; margin-top: 12px; }
  .links { margin-top: 23px; gap: 11px; }
  .links > div { width: 138px; }
  footer { font-size: 12px; }
  footer div { gap: 4px 12px; }
}
@media (max-width: 360px) { .wide { display: none; } .links { gap: 8px; } }
