.screenshot-hint {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.screens figure {
  display: grid;
  margin: 0;
  justify-items: center;
  align-content: start;
  gap: 16px;
  padding: 18px 14px 22px;
  border: 1px solid var(--line, var(--stroke));
  border-radius: 18px;
  background: var(--surface, #fff);
}

.screens figcaption { font-weight: 650; text-align: center; }

.screens img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line, var(--stroke));
  border-radius: 14px;
}

.screens a {
  width: min(100%, 225px);
  border-radius: 14px;
}

.screens a:hover img { border-color: var(--accent); }

#preview { scroll-margin-top: 72px; }

@media (max-width: 520px) {
  .screens { gap: 6px; }

  .screens figure {
    gap: 8px;
    padding: 8px 4px;
    border-radius: 10px;
  }

  .screens figcaption { font-size: 12px; }
  .screens img { border-radius: 7px; }
}
