.feedback-page {
  --feedback-red: #bf3434;
  --feedback-tint: #f3f3f3;
  padding-block: calc(var(--nav-height) + 24px) 64px;
}

.feedback-page h1 {
  margin-bottom: 22px;
  font-size: clamp(30px, 3.5vw, 36px);
  font-weight: 600;
  line-height: 1.35;
}

.feedback-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 2.875fr);
  align-items: start;
  gap: 24px 16px;
}

.feedback-intro,
.feedback-form {
  grid-column: 1;
}

.feedback-intro {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.feedback-form {
  display: grid;
  gap: 20px;
}

.feedback-form :is(input, textarea) {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--feedback-tint);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
}

.feedback-form :is(input, textarea)::placeholder { color: var(--muted); }
.feedback-form :is(input, textarea):focus-visible {
  outline: 2px solid var(--feedback-red);
  outline-offset: 2px;
}

.feedback-form textarea {
  min-height: 300px;
  padding: 18px;
  resize: vertical;
}

.feedback-submit {
  min-height: 44px;
  padding: 8px 16px;
  border: 0;
  border-radius: 4px;
  background: var(--feedback-red);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.feedback-submit:hover:not(:disabled) { background: #a72929; }
.feedback-submit:disabled { opacity: .65; cursor: default; }

.feedback-delivery,
.feedback-status {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.feedback-delivery a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

.feedback-status:not(:empty) { margin-top: 6px; }

.feedback-resources {
  grid-column: 2;
  display: grid;
  gap: 16px;
}

.feedback-resource {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 6px;
  min-height: 120px;
  padding: 20px;
  border-radius: 4px;
  background: var(--feedback-tint);
}

.feedback-resource__icon {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--feedback-red);
  font-size: 11px;
  line-height: 1;
}

.feedback-resource h3 { font-size: 16px; font-weight: 650; line-height: 1.5; }
.feedback-resource__link { margin-top: 4px; color: var(--muted); font-size: 14px; }
.feedback-resource:hover .feedback-resource__link { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 767px) {
  .feedback-layout { grid-template-columns: minmax(0, 1fr); }
  .feedback-form textarea { min-height: 220px; }
  .feedback-resources { grid-column: 1; }
}
