:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #18243b;
  background: #f4f7fb;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: #f4f7fb; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 5%, rgba(91,178,190,.16), transparent 28rem),
    radial-gradient(circle at 94% 20%, rgba(241,157,0,.13), transparent 24rem),
    #f4f7fb;
}

.page-shell {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 52px 0 90px;
  display: grid;
  grid-template-columns: minmax(0, 580px) 260px;
  gap: 28px;
  align-items: start;
}

.app-card,
.desktop-qr {
  border: 1px solid rgba(59,77,109,.1);
  border-radius: 28px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 22px 60px rgba(39,62,98,.1);
}

.app-card { padding: 32px; }

.app-hero {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 20px;
  align-items: center;
}

.app-icon {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 23px;
  box-shadow: 0 12px 28px rgba(22,42,75,.2);
}

.eyebrow {
  margin: 0 0 7px;
  color: #8290a8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

.app-heading h1 { margin: 0; font-size: 28px; letter-spacing: -.02em; }

.trust-line {
  margin: 8px 0 0;
  color: #617087;
  font-size: 13px;
}

.trust-line span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #38b982;
  box-shadow: 0 0 0 4px rgba(56,185,130,.12);
}

.install-button,
.sticky-install a {
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #21a86f, #42c18b);
  box-shadow: 0 10px 24px rgba(33,168,111,.24);
}

.install-button { min-width: 106px; height: 44px; padding: 0 20px; }
.install-button:hover { filter: brightness(.96); transform: translateY(-1px); }

.stats {
  margin-top: 30px;
  padding: 20px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #edf0f5;
  border-bottom: 1px solid #edf0f5;
}

.stats div { text-align: center; }
.stats div + div { border-left: 1px solid #edf0f5; }
.stats strong { display: block; color: #24344f; font-size: 19px; }
.stats span { display: block; margin-top: 6px; color: #8a97aa; font-size: 12px; }

.content-section { padding-top: 28px; }
.content-section h2 { margin: 0 0 14px; font-size: 20px; }
.content-section p { margin: 0; color: #617087; font-size: 15px; line-height: 1.85; }
.download-options { display: grid; gap: 12px; }
.platform-download { display: block; padding: 18px 20px; border-radius: 16px; text-decoration: none; }
.platform-download strong { display: block; font-size: 17px; }
.platform-download span { display: block; margin-top: 7px; font-size: 12px; line-height: 1.6; }
.android-download { color: #fff; background: linear-gradient(135deg, #21a86f, #36bba0); }
.apple-download { color: #263a59; background: #eef3fc; border: 1px solid #dbe5f4; }
.install-steps { margin: 0; padding-left: 22px; color: #617087; font-size: 14px; line-height: 1.85; }

.info-list { margin: 0; }
.info-list div {
  min-height: 47px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #f0f2f6;
}
.info-list dt { color: #8692a5; font-size: 14px; }
.info-list dd { margin: 0; color: #34435b; font-size: 14px; text-align: right; }

.safe-note {
  margin-top: 28px;
  padding: 18px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  border: 1px solid #dff2e9;
  border-radius: 16px;
  background: #f3fbf7;
}
.safe-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  border-radius: 50%;
  background: #39b880;
}
.safe-note strong { display: block; font-size: 14px; }
.safe-note p { margin: 5px 0 0; color: #6b7c8e; font-size: 13px; line-height: 1.55; }

.disclaimer { margin: 24px 0 0; color: #a0a9b7; font-size: 12px; line-height: 1.7; text-align: center; }

.desktop-qr {
  position: sticky;
  top: 28px;
  padding: 28px;
  text-align: center;
}
.desktop-qr img { width: 196px; height: 196px; display: block; margin: 0 auto 18px; }
.desktop-qr strong { display: block; font-size: 17px; }
.desktop-qr span { display: block; margin-top: 8px; color: #8794a7; font-size: 12px; }

.sticky-install { display: none; }

@media (max-width: 760px) {
  body { background: #f5f7fa; }
  .page-shell { width: 100%; padding: 0 0 92px; display: block; }
  .app-card { padding: max(22px, env(safe-area-inset-top)) 20px 30px; border: 0; border-radius: 0; box-shadow: none; }
  .app-hero { grid-template-columns: 82px 1fr; gap: 16px; }
  .app-icon { width: 82px; height: 82px; border-radius: 20px; }
  .app-heading h1 { font-size: 24px; }
  .app-hero .install-button { display: none; }
  .stats { margin-top: 25px; }
  .desktop-qr { display: none; }
  .sticky-install {
    position: fixed;
    z-index: 20;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 74px;
    padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: rgba(255,255,255,.96);
    border-top: 1px solid rgba(39,62,98,.1);
    backdrop-filter: blur(14px);
    box-shadow: 0 -10px 34px rgba(41,59,87,.09);
  }
  .sticky-install strong, .sticky-install span { display: block; }
  .sticky-actions { display: flex; gap: 8px; }
  .sticky-install strong { font-size: 15px; }
  .sticky-install span { margin-top: 3px; color: #8a97aa; font-size: 11px; }
  .sticky-install a { min-width: 86px; height: 42px; padding: 0 14px; font-size: 13px; }
  .sticky-install .apple-button { color: #344e77; background: #eaf0fa; box-shadow: none; }
}

@media (max-width: 360px) {
  .app-card { padding-left: 16px; padding-right: 16px; }
  .app-hero { grid-template-columns: 72px 1fr; gap: 13px; }
  .app-icon { width: 72px; height: 72px; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

:focus-visible { outline: 3px solid rgba(33,168,111,.45); outline-offset: 3px; }
