:root {
  color-scheme: light;
  --ink: #18314d;
  --muted: #64748b;
  --blue: #0751ed;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
h1, h2, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
a:focus-visible { outline: 3px solid #94b9ff; outline-offset: 5px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1; padding: 10px 16px; background: #fff; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.site-header { display: flex; justify-content: center; padding: 54px 20px 0; }
.brand { display: inline-flex; align-items: center; gap: 18px; }
.brand img { display: block; width: 126px; height: 40px; object-fit: contain; }
.brand span { padding-left: 18px; border-left: 1px solid #dce4ee; color: var(--muted); font-size: 15px; line-height: 24px; }
main { width: min(100% - 40px, 720px); margin: 38px auto 0; }
.page-intro { text-align: center; }
h1 { font-size: 32px; line-height: 1.3; letter-spacing: -.035em; font-weight: 650; }
.page-intro p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 34px; }
.download-card { min-width: 0; padding: 30px 28px 26px; border: 1px solid #e3e9f1; border-radius: 20px; background: #fafcff; text-align: center; }
.download-card h2 { display: flex; justify-content: center; align-items: center; gap: 9px; font-size: 23px; line-height: 1.4; font-weight: 600; }
.download-card h2 svg { width: 23px; height: 23px; fill: currentColor; flex: none; }
.platform-description { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.6; }
figure { margin-top: 22px; }
.qr-image { display: block; width: min(100%, 220px); height: auto; aspect-ratio: 1; margin-inline: auto; background: #fff; -webkit-touch-callout: default; }
figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.install-button { display: flex; justify-content: center; align-items: center; min-height: 46px; margin-top: 22px; padding: 10px 12px; border: 1px solid var(--blue); border-radius: 9px; background: var(--blue); color: #fff; font-size: 14px; line-height: 1.4; font-weight: 550; transition: background .15s ease; }
.install-button:hover { background: #0645cf; }
.browser-notice { margin-top: 20px; padding: 14px 18px; border: 1px solid #dce8ff; border-radius: 10px; background: #f3f7ff; color: #37567c; font-size: 13px; line-height: 1.7; text-align: center; }
footer { margin: 32px 20px 28px; color: var(--muted); text-align: center; font-size: 12px; line-height: 1.6; }

@media (max-width: 600px) {
  .site-header { padding-top: 36px; }
  .brand { gap: 14px; }
  .brand img { width: 108px; height: 34px; }
  .brand span { padding-left: 14px; font-size: 13px; }
  main { width: calc(100% - 32px); margin-top: 28px; }
  h1 { font-size: 26px; }
  .page-intro p { font-size: 13px; margin-top: 10px; }
  .download-grid { gap: 12px; margin-top: 26px; }
  .download-card { padding: 22px 12px 16px; border-radius: 14px; }
  .download-card h2 { gap: 6px; font-size: 18px; }
  .download-card h2 svg { width: 19px; height: 19px; }
  .platform-description { font-size: 10px; }
  figure { margin-top: 17px; }
  figcaption { font-size: 10px; margin-top: 8px; }
  .install-button { font-size: 12px; padding: 10px 5px; margin-top: 17px; min-height: 44px; }
  footer { margin-top: 26px; font-size: 11px; }
}

@media (max-width: 340px) {
  main { width: calc(100% - 24px); }
  .download-grid { gap: 10px; }
  .download-card { padding-inline: 8px; }
  .download-card h2 { font-size: 16px; }
  html[lang="en"] .platform-description { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .install-button { transition: none; }
}
