:root {
  --theme: #2990F6;
  --theme-dark: #1565C0;
  --theme-light: #E3F0FD;
  --bg: #fafbfd;
  --card: #ffffff;
  --text: #1a1a1a;
  --text-sub: #5a5a5a;
  --text-light: #999;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: var(--theme-dark); }
.hero {
  background: linear-gradient(160deg, #1565C0 0%, #2990F6 45%, #6FB6FF 100%);
  color: #fff;
  text-align: center;
  padding: 72px 24px 56px;
}
.hero .icon {
  width: 92px; height: 92px; border-radius: 22px; overflow: hidden;
  display: inline-block; margin-bottom: 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,.15); background: #fff;
}
.hero .icon img { width: 100%; height: 100%; object-fit: cover; }
.hero h1 { font-size: 30px; margin-bottom: 8px; }
.hero p { opacity: .92; font-size: 15px; }
.container { max-width: 760px; margin: 0 auto; padding: 40px 20px 64px; }
.card {
  background: var(--card); border-radius: 14px; padding: 24px 22px;
  margin-bottom: 18px; box-shadow: 0 1px 4px rgba(20,50,90,.06);
}
.card h2 { font-size: 18px; color: var(--theme-dark); margin-bottom: 10px; }
.card h3 { font-size: 15px; margin: 14px 0 6px; }
.card p, .card li { font-size: 14.5px; color: var(--text-sub); }
.card ul, .card ol { padding-left: 22px; margin: 6px 0; }
.step {
  display: flex; gap: 14px; align-items: flex-start; margin: 14px 0;
}
.step .num {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--theme-light); color: var(--theme-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.nav { text-align: center; padding: 18px 12px; font-size: 14px; }
.nav a { margin: 0 12px; }
.footer {
  text-align: center; color: var(--text-light); font-size: 12.5px;
  padding: 24px 12px 40px;
}
.badge-row { margin-top: 22px; }
.badge-row span {
  display: inline-block; background: rgba(255,255,255,.16);
  border-radius: 999px; padding: 6px 16px; margin: 4px; font-size: 13px;
}
.updated { color: var(--text-light); font-size: 12.5px; margin-top: 10px; }
/* platform icons in hero */
.badge-row span svg { width: 16px; height: 16px; vertical-align: -2px; margin-right: 6px; fill: #fff; }
/* download section */
.dl-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; margin-top: 10px; }
.dl-row img { display: block; }
/* Apple's badge is tightly cropped; Google's PNG has heavy transparent
   padding — oversize it and trim with negative margins so both render at
   the same visual height. */
.badge-appstore { height: 52px; }
/* measured: content occupies 76.8% of the PNG height, no horizontal padding */
.badge-play { height: 68px; margin: -8px 0; }
.dl-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--theme); color: #fff; border-radius: 10px;
  padding: 13px 20px; font-size: 14.5px; font-weight: 600;
}
.dl-btn svg { width: 18px; height: 18px; fill: #fff; }
.dl-btn:hover { background: var(--theme-dark); }
.dl-note { text-align: center; color: var(--text-light); font-size: 12.5px; margin-top: 10px; }

/* screenshot gallery */
.shots { display: flex; gap: 14px; overflow-x: auto; padding: 6px 2px 10px; -webkit-overflow-scrolling: touch; }
.shots img { width: 220px; border-radius: 16px; box-shadow: 0 4px 16px rgba(20,50,90,.18); flex: 0 0 auto; }
