.feedback-main {
  width: min(100% - 32px, 980px);
  margin-inline: auto;
  padding: 30px 0 80px;
}

.feedback-page [hidden] {
  display: none !important;
}

.feedback-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 700;
  text-underline-offset: 4px;
}

.feedback-layout {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

.feedback-intro h1 {
  max-width: 680px;
  margin: 14px 0 17px;
  font-size: clamp(2.5rem, 8vw, 5.1rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.feedback-intro > p:not(.eyebrow) {
  max-width: 600px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.context-summary {
  width: fit-content;
  margin-top: 20px;
  padding: 10px 13px;
  border: 1px solid rgba(55, 96, 77, 0.24);
  border-radius: 999px;
  color: #315542;
  background: rgba(216, 255, 114, 0.18);
  font-size: 0.8rem;
  font-weight: 700;
}

.context-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: #6e9d35;
}

.feedback-form,
.feedback-success {
  padding: clamp(22px, 5vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feedback-form fieldset {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

.feedback-form legend,
.field-label {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 760;
}

.feedback-form fieldset label,
.context-control {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  cursor: pointer;
}

.feedback-form input[type="radio"],
.feedback-form input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  accent-color: var(--forest);
}

.field-label {
  display: block;
}

.feedback-form textarea,
.feedback-form input[type="email"] {
  width: 100%;
  border: 1px solid rgba(18, 36, 29, 0.28);
  border-radius: 13px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-size: 1rem;
}

.feedback-form textarea {
  min-height: 180px;
  padding: 14px;
  resize: vertical;
}

.feedback-form input[type="email"] {
  min-height: 48px;
  padding: 0 14px;
}

.feedback-form textarea:focus,
.feedback-form input:focus,
.feedback-form button:focus,
.language-picker select:focus {
  outline: 3px solid #8aad45;
  outline-offset: 2px;
}

.field-hint,
.privacy-callout,
.context-control small {
  color: #66736d;
  font-size: 0.78rem;
  line-height: 1.55;
}

.field-hint {
  margin: 7px 0 22px;
}

.context-control {
  align-items: flex-start;
  margin: 3px 0 22px;
}

.context-control span,
.context-control small {
  display: block;
}

.context-control small {
  margin-top: 3px;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-widget {
  min-height: 66px;
  max-width: 100%;
}

.privacy-callout {
  margin: 13px 0;
  padding: 12px 14px;
  border-left: 3px solid #8aad45;
  background: #f3f6e9;
}

.form-status {
  min-height: 1.4em;
  margin: 10px 0 0;
  color: #9d3328;
  font-size: 0.83rem;
  font-weight: 700;
}

.feedback-form .primary-action {
  margin-top: 12px;
  border: 0;
  cursor: pointer;
}

.feedback-form .primary-action:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
}

.feedback-success {
  text-align: center;
}

.feedback-success > span {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--acid);
  background: var(--forest);
  font-size: 1.5rem;
  font-weight: 850;
}

.feedback-success h2 {
  margin: 18px 0 12px;
  font-size: clamp(1.6rem, 5vw, 2.5rem);
}

.feedback-success code {
  font-size: 0.9rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.feedback-success .secondary-action {
  margin: 22px auto 0;
  cursor: pointer;
}

@media (min-width: 800px) {
  .feedback-main {
    width: min(100% - 64px, 980px);
  }

  .feedback-layout {
    grid-template-columns: minmax(0, 0.75fr) minmax(430px, 1.25fr);
    align-items: start;
  }

  .feedback-success {
    grid-column: 2;
  }
}
