:root {
  color-scheme: light;
  --brand: #176b5b;
  --brand-dark: #105346;
}

* { box-sizing: border-box; }
html, body { min-width: 320px; min-height: 100%; }

body {
  margin: 0;
  color: #17202f;
  background:
    radial-gradient(circle at 12% 8%, rgba(94, 196, 168, .18), transparent 30rem),
    radial-gradient(circle at 92% 88%, rgba(61, 112, 191, .12), transparent 28rem),
    #f5f7fb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

.download-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
}

.download-button {
  width: min(100%, 420px);
  min-height: 60px;
  display: grid;
  place-items: center;
  padding: 16px 24px;
  border-radius: 16px;
  color: white;
  background: var(--brand);
  box-shadow: 0 14px 30px rgba(23, 107, 91, .22);
  text-align: center;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
}

.download-button:hover { background: var(--brand-dark); }
.download-button:focus-visible, button:focus-visible { outline: 3px solid rgba(23, 107, 91, .3); outline-offset: 3px; }

.wechat-guide {
  position: fixed;
  z-index: 20;
  inset: 0;
  padding: max(110px, calc(env(safe-area-inset-top) + 86px)) 28px max(30px, env(safe-area-inset-bottom));
  color: white;
  background: #0a0f16;
}

.guide-arrow { position: absolute; top: max(18px, env(safe-area-inset-top)); right: 28px; font-size: 72px; font-weight: 200; transform: rotate(-8deg); }
.guide-content { width: min(100%, 460px); display: grid; grid-template-columns: 42px 1fr; gap: 14px; margin: 0 auto; }
.guide-content.second { margin-top: 28px; }
.guide-step { width: 36px; height: 36px; display: grid; place-items: center; margin: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; font-weight: 800; }
.guide-content h1, .guide-content h2 { margin: 2px 0 8px; font-size: 22px; }
.guide-content p { margin: 0; color: rgba(255,255,255,.74); line-height: 1.75; }

.guide-copy {
  width: min(100%, 460px);
  min-height: 54px;
  display: grid;
  place-items: center;
  margin: 34px auto 0;
  border: 0;
  border-radius: 14px;
  color: #12251f;
  background: #9ce0cc;
  font: 700 16px/1 inherit;
  cursor: pointer;
}

.guide-status { text-align: center; color: #9ce0cc; font-size: 13px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
