.app-home {
  padding-block: 44px 70px;
}
.app-home h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-top: 14px;
}
.app-home h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.app-intro {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 34px;
}
.app-intro img {
  width: 86px;
  height: 86px;
  border-radius: 20px;
  flex: 0 0 86px;
}
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-block: 22px 36px;
}
.app-tile {
  display: block;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.app-tile strong {
  display: block;
  font-size: 1.2rem;
  font-family: var(--head);
  margin-bottom: 10px;
}
.app-tile span {
  display: block;
  color: var(--muted);
  font-size: 1rem;
}
.app-tile:hover {
  border-color: #467ab7;
}
.app-install {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  margin-top: 32px;
}
.app-install p,
.app-install details {
  margin: 12px 0;
}
.app-install summary {
  font-weight: 700;
  cursor: pointer;
}
.app-install .button {
  font: 700 1rem var(--body);
}
.app-install [hidden] {
  display: none;
}
.pwa-quickbar {
  display: none;
}
.pitchpoint-installed body {
  padding-bottom: calc(78px + env(safe-area-inset-bottom));
}
.pitchpoint-installed .pwa-quickbar {
  display: flex;
  position: fixed;
  inset: auto 0 0;
  z-index: 50;
  justify-content: space-around;
  gap: 4px;
  background: #0b1426;
  color: white;
  border-top: 1px solid #a2cbff66;
  padding: 12px 8px calc(12px + env(safe-area-inset-bottom));
  font:
    700 1rem/1.5 system-ui,
    sans-serif;
}
.pwa-quickbar a {
  padding: 10px 12px;
  color: white;
  text-decoration: none;
}
.pwa-quickbar a:focus-visible {
  outline: 2px solid #a2cbff;
}
.pitchpoint-installed [data-install-link] {
  display: none;
}
.pitchpoint-installed .sidebar-bottom {
  padding-bottom: 85px;
}
@media (max-width: 800px) {
  .app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .app-grid {
    grid-template-columns: 1fr;
  }
  .app-intro {
    align-items: flex-start;
  }
  .app-intro img {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }
  .app-install {
    padding: 20px;
  }
  .pwa-quickbar a {
    padding: 10px 7px;
  }
}
