:root {
  color-scheme: light;
  --paper: #faf8f5;
  --ink: #282520;
  --muted: #6a645c;
  --line: #e8e2d9;
  --accent: #ac470b;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.site-header, main, footer { width: min(1056px, calc(100% - 80px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 30px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 24px; font-weight: 750; letter-spacing: -.8px; min-height: 44px; }
.brand img { border-radius: 10px; }
.site-link { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; font-size: 14px; color: var(--muted); text-decoration: none; }
.site-link:hover, .footer-links a:hover { color: var(--accent); text-decoration: underline; }
main { display: grid; grid-template-columns: minmax(0, 1fr) 380px; column-gap: 84px; align-items: center; padding-top: 52px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 22px; color: var(--accent); font-size: 12px; font-weight: 650; letter-spacing: 2px; }
.eyebrow span { width: 7px; height: 7px; background: #d96217; border-radius: 50%; }
h1 { font-size: clamp(36px, 4.4vw, 56px); font-weight: 700; letter-spacing: -1.8px; line-height: 1.3; margin: 0 0 24px; text-wrap: balance; }
.description { color: var(--muted); font-size: 17px; line-height: 1.9; margin: 0; }
.features { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; color: var(--muted); font-size: 13px; }
.features span + span { border-left: 1px solid #cdc4b8; padding-left: 18px; }
.scan-desktop { display: flex; align-items: center; gap: 20px; margin-top: 46px; }
.scan-desktop img { width: 132px; height: 132px; border: 1px solid var(--line); border-radius: 8px; }
.scan-desktop p { margin: 0; }
.scan-title { font-size: 15px; font-weight: 600; }
.muted { font-size: 13px; color: var(--muted); margin-top: 5px !important; }
.scan-url { font-size: 12px; color: var(--muted); margin-top: 12px !important; }
.download-panel { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: 0 12px 42px rgb(56 35 10 / 4%); }
.app-icon { display: block; margin-inline: auto; border-radius: 19px; outline: 1px solid rgb(0 0 0 / 6%); outline-offset: -1px; }
h2 { font-size: 26px; letter-spacing: -.6px; line-height: 1.4; margin: 20px 0 6px; }
.download-panel h2 { text-align: center; }
.platform-hint { font-size: 14px; color: var(--muted); margin: 0 0 24px; text-align: center; }
.store-links { display: flex; flex-direction: column; gap: 12px; }
.store-link { display: flex; align-items: center; gap: 14px; padding: 15px 17px; min-height: 78px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; transition: background-color 150ms ease, border-color 150ms ease; }
.store-link:hover { background: #f8f5f0; border-color: #c5b9a7; }
.store-link:active { background: #efe9df; }
.store-symbol { width: 34px; flex-shrink: 0; font-size: 14px; font-weight: 700; text-align: center; }
.play-symbol { font-size: 28px; font-weight: 400; }
.store-label { min-width: 0; }
.store-label strong, .store-label small { display: block; }
.store-label strong { font-size: 16px; line-height: 1.5; }
.store-label small { margin-top: 3px; font-size: 11px; color: var(--muted); }
.link-arrow { margin-left: auto; font-size: 20px; }
.store-link.is-recommended { background: #2e2a25; border-color: #2e2a25; color: #fff; }
.store-link.is-recommended small { color: #e4ddd4; }
.store-link.is-recommended:hover { background: #443b31; }
.store-note { font-size: 12px; line-height: 1.8; text-align: center; color: var(--muted); margin: 22px 0 0; }
.wechat-hint { background: #fff5e7; border: 1px solid #e7d1af; padding: 14px; border-radius: 10px; color: #754410; font-size: 13px; margin-bottom: 18px; }
.wechat-hint p { margin: 5px 0 0; }
.device-note { grid-column: 1 / -1; color: var(--muted); font-size: 12px; margin: 50px 0 32px; }
footer { padding: 24px 0 30px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; color: var(--muted); font-size: 12px; }
footer p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }

@media (max-width: 900px) {
  main { column-gap: 36px; grid-template-columns: minmax(0, 1fr) 340px; }
  .download-panel { padding: 26px; }
}

@media (max-width: 700px) {
  .site-header, main, footer { width: min(460px, calc(100% - 40px)); }
  .site-header { padding: 18px 0; }
  .brand { font-size: 22px; }
  .brand img { width: 32px; height: 32px; border-radius: 8px; }
  main { display: block; padding-top: 22px; }
  .eyebrow { font-size: 11px; margin-bottom: 14px; }
  h1 { font-size: 36px; margin-bottom: 16px; letter-spacing: -1px; }
  .description { font-size: 15px; }
  .desktop-break, .scan-desktop { display: none; }
  .features { margin-top: 16px; font-size: 12px; }
  .download-panel { margin-top: 30px; padding: 24px; border-radius: 20px; }
  .app-icon { width: 60px; height: 60px; border-radius: 14px; }
  h2 { font-size: 24px; margin-top: 15px; }
  .platform-hint { margin-bottom: 20px; }
  .store-link { padding: 14px; }
  .device-note { margin: 22px 0; line-height: 1.8; }
  footer { display: block; padding-top: 14px; }
  footer p { margin-top: 6px; }
}

@media (max-width: 360px) {
  .site-header, main, footer { width: calc(100% - 32px); }
  h1 { font-size: 32px; }
  .download-panel { padding: 20px; }
  .store-link { gap: 10px; padding: 12px; }
}

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