.submit-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.submit-section {
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
}

.submit-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.submit-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-4);
}

@media (min-width: 640px) {
  .submit-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
}

.input,
.textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.625rem 0.75rem;
  line-height: var(--leading-normal);
}

.input:focus,
.textarea:focus {
  border-color: var(--black);
  outline: none;
}

.textarea {
  resize: vertical;
  min-height: 5rem;
}

.tier-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
}

.tier-card {
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border);
  transition: background 0.15s var(--ease);
}

.tier-card:last-child {
  border-bottom: none;
}

.tier-card:hover {
  background: var(--gray-100);
}

.tier-card input {
  margin: 0.25rem var(--space-3) 0 0;
  accent-color: var(--black);
  flex-shrink: 0;
}

.tier-card:has(input:checked) {
  background: var(--gray-100);
}

.tier-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.tier-card-body .tier-name {
  margin: 0;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.tier-card-body .tier-amount {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--black);
}

.tier-card-body .tier-sla {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.custom-amount-panel {
  margin-top: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--border);
  background: var(--gray-100);
}

.custom-amount-input {
  max-width: 12rem;
}

.custom-amount-hint {
  margin: var(--space-3) 0 0;
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-normal);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--text);
}

.consent:last-of-type {
  border-bottom: none;
}

.consent input {
  margin-top: 0.2rem;
  accent-color: var(--black);
  flex-shrink: 0;
}

.submit-note {
  margin: var(--space-3) 0 0;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.submit-status {
  min-height: 1.25rem;
  margin: var(--space-3) 0 0;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.submit-status.is-ok {
  color: #2e7d32;
}

.submit-status.is-error {
  color: #b00020;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
