body {
  font-family: "Lexend", sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
  margin: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
}

main {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

h1 {
  font-size: 2.25rem;
  font-weight: 600;
  margin: 2rem 0;
  line-height: 1.25;
  color: #000000;
}

p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  text-align: left;
  color: #333333;
  font-weight: 300;
}

.signature {
  font-style: italic;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  font-weight: 600;
  color: #000000;
}

.grid {
  width: 100%;
  margin-bottom: 2rem;
  column-count: 3;
  column-gap: 15px;
}

.grid-item {
  break-inside: avoid;
  margin-bottom: 15px;
}

.grid-item img {
  display: block;
  width: 100%;
  height: auto;
  background-color: #f0f0f0;
}

@media (max-width: 480px) {
  .grid {
    column-count: 1;
  }
}

.hover-preview {
  position: relative;
  display: inline-block;
  cursor: help;
  border-bottom: 1px dashed #333333;
  font-weight: 400;
  color: #1a1a1a;
  transition: color 0.2s ease;
}

.hover-preview:hover {
  color: #000000;
}

.hover-preview .preview-img {
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease-out,
    visibility 0.2s ease-out,
    transform 0.2s ease-out;
  z-index: 100;
  pointer-events: none;
}

.hover-preview:hover .preview-img {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}
