.feedback-intro { padding-bottom: 2.25rem; }
.feedback-section { max-width: 57rem; }
.feedback-card {
  padding: clamp(1.25rem, 4vw, 3rem);
  border: 1px solid var(--line);
  background: var(--paper-light);
  box-shadow: 0 1.25rem 3rem rgb(57 36 95 / 5%);
}
.feedback-card-heading { max-width: 43rem; }
.feedback-card-heading h2 {
  margin: .55rem 0 .8rem;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: 1.05;
}
.feedback-card-heading > p:last-child { margin-bottom: 0; color: var(--muted); }
.feedback-form { display: grid; gap: 1.45rem; margin-top: 2rem; }
.feedback-type-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.feedback-type-fieldset legend,
.feedback-field > label { display: block; margin-bottom: .5rem; color: var(--ink); font-size: .9rem; font-weight: 750; }
.feedback-type-fieldset legend > span,
.feedback-field > label > span[aria-hidden="true"] { color: var(--coral); }
.feedback-type-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.feedback-choice {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  min-height: 5.4rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.feedback-choice:has(input:checked) { border-color: var(--purple); background: var(--purple-wash); }
.feedback-choice:focus-within { outline: 3px solid var(--coral); outline-offset: 3px; }
.feedback-choice input { width: 1.1rem; height: 1.1rem; margin: .2rem 0 0; accent-color: var(--purple); }
.feedback-choice span { display: grid; gap: .16rem; }
.feedback-choice strong { color: var(--purple-deep); font-size: .9rem; }
.feedback-choice small { color: var(--muted); font-size: .78rem; line-height: 1.4; }
.feedback-field { min-width: 0; }
.feedback-field input,
.feedback-field textarea {
  display: block;
  width: 100%;
  min-height: 3.1rem;
  padding: .72rem .85rem;
  border: 1px solid #b9b0a4;
  border-radius: .2rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  line-height: 1.5;
}
.feedback-field textarea { min-height: 12rem; resize: vertical; }
.feedback-field input:focus-visible,
.feedback-field textarea:focus-visible { border-color: var(--purple); outline-color: var(--coral); }
.feedback-fields-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.optional-label { margin-left: .35rem; color: var(--muted); font-size: .75rem; font-weight: 500; }
.feedback-help { margin: .4rem 0 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.feedback-help a { color: var(--purple-deep); font-weight: 700; }
.feedback-protection { padding-top: .2rem; }
.feedback-turnstile { width: min(100%, 22rem); min-height: 4.1rem; margin-top: .8rem; overflow-x: auto; }
.feedback-submit-row { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1.2rem; }
.feedback-submit-row .button { flex: 0 0 auto; }
.feedback-submit-row .button:disabled { transform: none; border-color: #8b83a0; background: #8b83a0; color: #fff; cursor: not-allowed; }
.feedback-status { flex: 1 1 15rem; min-height: 1.5rem; margin: 0; color: var(--muted); font-size: .84rem; }
.feedback-status[data-state="success"] { color: #246346; font-weight: 650; }
.feedback-status[data-state="error"] { color: #9a372d; }
.feedback-noscript { margin: 1.25rem 0 0; padding: .9rem 1rem; border-left: 3px solid var(--coral); background: #fff7ef; }
.feedback-back-link { margin-top: 1.25rem; }
.support-actions { display: grid; justify-items: start; gap: .75rem; }
.support-actions .button { white-space: nowrap; }
.support-actions .support-email { margin-top: .2rem; font-family: var(--sans); font-size: .85rem; }

@media (max-width: 620px) {
  .feedback-type-options,
  .feedback-fields-row { grid-template-columns: 1fr; }
  .feedback-choice { min-height: 0; }
  .feedback-fields-row { gap: 1.45rem; }
  .feedback-submit-row { align-items: stretch; flex-direction: column; }
  .feedback-submit-row .button { width: 100%; }
}

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