:root {
  --bg: #fafbfc;
  --tile: #ffffff;
  --border: #e9ecf0;
  --text: #14171c;
  --accent: #4f6bff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, #e8edff 0, transparent 40%),
    radial-gradient(circle at 90% 100%, #ffeede 0, transparent 40%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

main {
  max-width: 880px;
  margin: 0 auto;
  padding: 80px 24px;
}

h1 {
  margin: 0 0 8px;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h1::after {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  margin-top: 14px;
  border-radius: 2px;
  background: var(--accent);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.tile {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px;
  background: var(--tile);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 1px 2px rgba(20, 23, 28, .04), 0 8px 24px rgba(20, 23, 28, .06);
  color: inherit;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.tile:hover,
.tile:focus-visible {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 2px 4px rgba(20, 23, 28, .05), 0 16px 32px rgba(79, 107, 255, .16);
  outline: none;
}

.tile img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 16px;
}

.letter {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 1.9rem;
  font-weight: 700;
}

.name {
  font-size: .95rem;
  font-weight: 600;
  text-align: center;
  overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
  .tile { transition: none; }
  .tile:hover, .tile:focus-visible { transform: none; }
}
