.page-feedback {
  width: min(calc(100% - 3rem), 46rem);
  margin: 4rem auto 5rem;
  padding: 2.8rem 1.5rem;
  text-align: center;
}

.feedback-copy p {
  margin-bottom: 0.2rem;
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 800;
}

.feedback-copy h2 {
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 2.4rem);
  line-height: 1.25;
}

.feedback-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: clamp(1.3rem, 7vw, 3.5rem);
}

.feedback-actions button {
  width: clamp(7.2rem, 19vw, 9.2rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 50%;
  cursor: pointer;
  font: inherit;
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  font-weight: 800;
  transition: transform 360ms ease, background-color 360ms ease, color 360ms ease,
    box-shadow 360ms ease;
}

.feedback-actions button:hover {
  color: var(--white);
  background: var(--ink);
  transform: translateY(-0.35rem);
  box-shadow: 0 0.9rem 1.8rem rgba(23, 63, 52, 0.14);
}

.feedback-actions button:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 5px;
}

.feedback-thanks {
  margin: 2rem 0 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
}

.feedback-actions[hidden],
.feedback-thanks[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .page-feedback {
    width: min(calc(100% - 1.5rem), 34rem);
    margin: 2.7rem auto 3.5rem;
    padding: 2rem 0.5rem;
  }

  .feedback-actions {
    gap: 1.2rem;
  }

  .feedback-actions button {
    width: min(34vw, 7.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .feedback-actions button {
    transition: none;
  }
}
