/* Reuse the game-page layout and typography, with Memendar's icon color. */
:root {
  --purple: #d52b26;
}

.page-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.header-actions {
  display: flex;
  align-items: center;
}

.hero-headline {
  text-wrap: balance;
}

.hero-copy {
  max-width: 56ch;
}

.icon-frame {
  filter: drop-shadow(var(--object-shadow));
}

.download-actions {
  align-self: center;
}

a:focus-visible {
  outline: 3px solid #3a6d96;
  outline-offset: 5px;
}

#screenshots .screenshots {
  scrollbar-color: var(--purple) transparent;
}

#screenshots .screenshot-card:focus-visible {
  outline: 3px solid #3a6d96;
  outline-offset: -3px;
  border-radius: 16px;
}

#screenshots .screenshot-card img,
.screenshot-overlay-image {
  border-radius: 0;
}

@media (min-width: 1025px) {
  #screenshots .screenshot-card {
    flex: 1 1 0;
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .header-actions {
    display: contents;
  }

  .brand-name {
    font-size: 25px;
  }

  .home-link {
    margin-right: 20px;
  }

  .home-link::after {
    right: -10px;
  }

  .hero-headline {
    font-size: clamp(36px, 9.5vw, 48px);
  }
}

@media (max-width: 360px) {
  .brand {
    gap: 6px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 21px;
  }
}

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