:root {
  --bg: #020b18;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top right, rgba(25, 80, 160, 0.18), transparent 32%),
    radial-gradient(circle at bottom left, rgba(0, 168, 255, 0.08), transparent 24%),
    var(--bg);
  padding: 24px;
}

picture {
  display: block;
  width: 100%;
}

.hero-image {
  display: block;
  width: min(100%, 1440px);
  height: auto;
  max-height: calc(100vh - 48px);
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
  background: var(--bg);
}

@media (max-width: 900px) {
  .app-shell {
    padding-top: max(12px, env(safe-area-inset-top));
    padding-right: max(12px, env(safe-area-inset-right));
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    padding-left: max(12px, env(safe-area-inset-left));
  }

  picture {
    display: flex;
    justify-content: center;
  }

  .hero-image {
    width: min(92vw, 430px);
    max-width: 430px;
    max-height: calc(100svh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    height: auto;
    object-fit: contain;
    object-position: top center;
    border-radius: 20px;
  }
}

@media (max-width: 420px) {
  .hero-image {
    width: min(93vw, 390px);
    max-width: 390px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}
