:root {
  color-scheme: dark;
  font-family: "Press Start 2P", monospace;
  background: #000;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #000;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow-x: hidden;
  background: #000;
  color: #fff;
}

img {
  max-width: 100%;
}

.site {
  width: 100%;
  max-width: 500px;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 250px);
  max-height: calc(100svh - 250px);
  margin-inline: auto;
  object-fit: contain;
}

.store-information {
  width: 100%;
  margin-top: 10px;
}

.details-list {
  margin: 0;
  padding: 0;
  font-size: clamp(10px, 3vw, 12px);
  line-height: 2.04;
}

.details-row {
  display: block;
  margin: 0;
  overflow-wrap: break-word;
}

.details-row dt,
.details-row dd {
  display: inline;
  margin: 0;
}

.details-row dt span {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Desktop layout: every information item remains on one physical line. */
@media (min-width: 1024px) {
  body {
    padding: 24px;
    overflow-x: auto;
  }

  .site {
    width: max-content;
    max-width: calc(100vw - 48px);
  }

  .brand-logo {
    width: 500px;
    max-height: calc(100vh - 190px);
    max-height: calc(100svh - 190px);
  }

  .store-information {
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    padding-right: 40px;
  }

  .details-list {
    font-size: clamp(9.25px, 0.833vw, 12px);
  }

  .details-row {
    display: flex;
    align-items: baseline;
    gap: 0.65em;
    white-space: nowrap;
  }
}

/* Short mobile screens may scroll instead of shrinking content to illegibility. */
@media (max-height: 520px) {
  body {
    place-items: start center;
  }

  .brand-logo {
    max-height: 220px;
  }
}
