/* app.era-wallet.com — the landing behind the QR on the hardware wallet. */

.hero { position: relative; overflow: hidden; padding: 40px 0 24px; }
.hero-in { position: relative; display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.hero-copy { padding-top: 12px; }
.hero-copy .h1 { margin-bottom: 22px; }
.hero-copy .lead { margin-bottom: 30px; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.cta .btn { width: 100%; }
.alt { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 18px; }
.req { margin-bottom: 10px; }
.hint { max-width: 420px; }

/* Platform-aware CTA. Without JavaScript both buttons show and the "other
   platform" links stay hidden — the page degrades to the desktop layout. */
.alt-ios, .alt-android, .hint-ios, .hint-android { display: none; }
html[data-platform="ios"] .cta-android,
html[data-platform="ios"] .stores { display: none; }
html[data-platform="ios"] .alt-android,
html[data-platform="ios"] .hint-ios { display: inline-flex; }
html[data-platform="ios"] .hint-ios { display: block; }
html[data-platform="android"] .cta-ios,
html[data-platform="android"] .stores { display: none; }
html[data-platform="android"] .alt-ios { display: inline-flex; }
html[data-platform="android"] .hint-android { display: block; }

.hero-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 420px; }
.hero-art .glow { width: 460px; height: 520px; }
.hero-art .device { position: relative; width: min(280px, 64vw); height: auto; }
.badge-beta { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); white-space: nowrap; }

.stores { margin-top: 48px; }
.stores .h2 { margin-bottom: 22px; }
.store-grid { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 720px; }
.store-card { display: grid; gap: 10px; justify-items: start; transition: border-color .2s; }
.store-card:hover { border-color: rgba(255,106,26,.35); }
.store-qr { width: 132px; height: 132px; padding: 8px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.02); margin-bottom: 6px; }
.store-card .btn-ghost { margin-top: 6px; }

.next { margin-top: 72px; }
.next .h2 { margin-bottom: 26px; }
.next-grid { display: grid; grid-template-columns: 1fr; gap: 16px; counter-reset: step; }
.next-grid .card { display: grid; gap: 10px; }
.next-grid .step-t { font-size: 17px; }

.beta-note { margin-top: 40px; max-width: 760px; }

@media (min-width: 640px) {
  .cta .btn { width: auto; }
  .store-grid { grid-template-columns: 1fr 1fr; }
  .next-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .hero { padding: 56px 0 40px; }
  .hero-in { grid-template-columns: 1.15fr 1fr; gap: 40px; }
  .hero-art { min-height: 560px; }
  .hero-art .glow { width: 560px; height: 620px; }
  .hero-art .device { width: 340px; }
  .badge-beta { left: auto; right: 0; bottom: 14%; transform: none; }
}
