html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  color: #1c1915;
  background: #f4efe6 url("paper.jpg") center / cover no-repeat;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
}

main {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: safe center;
  gap: 1.35rem;
  padding: 1.1rem 1.2rem calc(2.5rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
}

h1 {
  margin: 0;
  font-size: 0;
  line-height: 0;
}

.lockup {
  width: min(32rem, calc(100vw - 4.8rem));
  max-width: 100%;
  height: auto;
}

p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.45;
}

.notice {
  color: #1c1915;
}

a {
  color: #243027;
  text-underline-offset: 0.18em;
}

a:focus-visible {
  outline: 2px solid #243027;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  main {
    padding: 0.85rem 0.9rem calc(1.8rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-height: 760px) {
  .lockup { width: min(22rem, calc(100vw - 4.8rem)); }
  main { gap: 0.85rem; }
}
