html { scroll-behavior: smooth; }
body { min-width: 0; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 3px solid #54b8ff; outline-offset: 3px; }
.h5-header { position: relative; z-index: 2; gap: 12px; }
.h5-header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 20px; border-radius: 999px; background: #fff; color: #5734c9; font-weight: 700; white-space: nowrap; }
.h5-hero-grid { gap: 28px; }
.h5-hero-visual { min-width: 0; }
.h5-hero-visual img[src*="pc.png"] { width: 100%; height: auto; }
.h5-features-grid { gap: 24px; }
.h5-features-grid > div { text-align: center; padding: 16px; }
.h5-features-grid img { width: 52px; height: 52px; object-fit: contain; margin-bottom: 12px; }
.h5-download-grid > div { flex: 1 1 0; }
.h5-download-grid a { display: flex; justify-content: center; align-items: center; min-height: 44px; text-align: center; }
.h5-download-grid a:has(img) { min-height: 62px; }
#all-apps { scroll-margin-top: 24px; }
footer li a { display: inline-flex; align-items: center; min-height: 38px; }
.aspect-square:empty { display: none; }

@media (max-width: 639px) {
  .h5-header { flex-direction: row !important; margin: 0 !important; padding: 16px 0; }
  .h5-header img { width: 86px; }
  .h5-header-cta { margin-left: auto; }
  .main[data-v-d2ebed8d] { padding-bottom: 75px !important; }
  .h5-hero-grid { margin-top: 12px !important; display: flex !important; flex-direction: column; }
  .h5-hero-grid h1 { padding: 0 0 16px; text-align: left; font-size: clamp(1.9rem, 8vw, 2.65rem); line-height: 1.18; }
  .h5-hero-grid .py-2 { padding: 7px 0; }
  .h5-hero-grid .py-2 img { flex: none; width: 32px; height: 32px; }
  .h5-hero-grid .py-2 span { font-size: .94rem; line-height: 1.45; }
  .h5-hero-visual { margin-top: 0 !important; padding: 0 5%; }
  .h5-hero-visual img[src*="mobile.png"] { left: 2% !important; top: 13% !important; }
  .h5-hero-visual .block.sm\:hidden { display: flex !important; gap: 10px; margin-top: 20px !important; }
  .h5-hero-visual .block.sm\:hidden > * { flex: 1; min-height: 48px; }
  .h5-features-grid { grid-template-columns: 1fr 1fr !important; gap: 10px; margin-top: 26px !important; }
  .h5-features-grid > div { padding: 14px 8px; border: 1px solid #eeeaf9; border-radius: 18px; }
  .h5-features-grid h3 { line-height: 1.35; }
  .h5-features-grid span { font-size: .82rem; line-height: 1.4; padding-block: 4px; }
  #all-apps { margin-top: 64px !important; }
  #all-apps h2 { text-align: center; line-height: 1.25; }
  .h5-download-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px !important; }
  .h5-download-grid > div { padding: 12px; border: 1px solid #ebe9f4; border-radius: 18px; }
  .h5-download-grid a:has(img) { min-height: 54px; }
  .h5-download-grid img { width: 30px; }
  footer { margin-top: 64px !important; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  footer > div:first-child { gap: 24px 16px; }
  .max-w-4xl.p-6 { padding: 16px; }
}

@media (max-width: 360px) {
  .h5-features-grid { grid-template-columns: 1fr !important; }
  footer > div:first-child { grid-template-columns: 1fr !important; }
}

.download-pending { min-height: 100vh; display: grid; place-items: center; margin: 0; padding: 24px; background: linear-gradient(140deg,#3620a7,#7352dc); color: white; font-family: system-ui,-apple-system,sans-serif; text-align: center; }
.download-pending main { width: min(420px,100%); }
.download-pending img { margin: 0 auto 24px; }
.download-pending h1 { font-size: 1.65rem; margin: 0 0 12px; }
.download-pending p { line-height: 1.65; opacity: .9; }
.download-pending a { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 10px 24px; margin-top: 16px; border-radius: 999px; background: #fff; color: #4c2cbe; font-weight: 700; }
