body {
  overflow-x: hidden;
}

.home {
  width: 100%;
  min-height: calc(100svh - clamp(92px, 14svh, 128px));
  display: grid;
  place-items: center;
  padding: 18px 24px max(36px, env(safe-area-inset-bottom));
}

.home-links {
  width: min(430px, 100%);
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 0;
  -webkit-tap-highlight-color: transparent;
}

/* Title styles and the 48px row height are shared in glass.css. */

@media (max-width: 700px) {
  .home {
    min-height: calc(100svh - 86px);
    padding: 8px 20px max(28px, env(safe-area-inset-bottom));
  }
}

@media (max-height: 620px) {
  .site-header { height: 76px; }
  .home {
    min-height: calc(100svh - 76px);
    padding-top: 4px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }
}
