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

body {
  background: #f5f5f7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #1d1d1f;
  padding: 2rem 1.5rem;
}

header {
  text-align: center;
  margin-bottom: 3rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6e6e73;
  margin-bottom: 0.6rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1d1d1f;
  line-height: 1.1;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: min(92vw, 720px);
}

.cell {
  aspect-ratio: 1;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.cell.active {
  background: #fff;
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  cursor: pointer;
}

.cell.active:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.04);
}

.cell.active:active {
  transform: translateY(-1px);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.04);
}

.cell:not(.active) {
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.cell a {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.cell-icon {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1;
}

.cell-label {
  font-size: clamp(0.7rem, 1.8vw, 0.9rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1d1d1f;
  line-height: 1.3;
}

.cell-sub {
  font-size: clamp(0.6rem, 1.4vw, 0.72rem);
  font-weight: 400;
  color: #6e6e73;
  margin-top: 0.1rem;
}

footer {
  margin-top: 3rem;
  font-size: 0.72rem;
  font-weight: 400;
  color: #6e6e73;
  letter-spacing: 0.01em;
  text-align: center;
}
