/* Claim Your Market page */
.claim-page { background: var(--bg-deepest); min-height: 70vh; }
.claim-page-inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; padding: 90px 24px 110px; }

.claim-intro { display: flex; flex-direction: column; align-items: center; text-align: center; }
.claim-h1 { margin-top: 30px; font-size: clamp(42px, 6vw, 76px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; max-width: 16ch; text-wrap: balance; }
.claim-intro .lede { max-width: 56ch; }
.claim-intro .lede strong { color: var(--text); }

/* Form card */
.claim-form {
  margin-top: 56px;
  background: linear-gradient(165deg, #262b3c 0%, transparent 60%), var(--bg-elevated);
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 120px rgba(212, 168, 67, 0.08);
  display: flex; flex-direction: column; gap: 40px;
}
.claim-form[hidden] { display: none; }
@media (max-width: 640px) { .claim-form { padding: 26px 20px; } }

.form-section { display: flex; flex-direction: column; gap: 20px; }
.form-legend {
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
@media (max-width: 640px) { .field-grid { grid-template-columns: 1fr; } }
.field-wide { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-size: 14px; font-weight: 500; color: var(--text-soft); }
.field > span b { color: var(--gold); font-weight: 700; }

.field input, .field select {
  font-family: inherit; font-size: 15px; color: var(--text);
  background: rgba(18, 21, 31, 0.7);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 13px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.field input::placeholder { color: var(--text-faint); }
.field select:invalid { color: var(--text-faint); }
.field select option { color: var(--text); background: var(--bg-elevated); }
.field input:focus, .field select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.18);
}
.field input.invalid, .field select.invalid { border-color: #c0564f; }

/* Open a market radio pills */
.open-market { gap: 12px; }
.open-market-label { font-size: 14px; font-weight: 500; color: var(--text-soft); }
.open-market-label b { color: var(--gold); font-weight: 700; }
.radio-row { display: flex; flex-wrap: wrap; gap: 12px; }
.radio-pill { position: relative; cursor: pointer; }
.radio-pill input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pill span {
  display: inline-flex; align-items: center;
  padding: 12px 22px; border: 1px solid var(--border); border-radius: 999px;
  font-size: 14px; color: var(--text-soft);
  background: rgba(18, 21, 31, 0.7);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.radio-pill:hover span { border-color: rgba(212, 168, 67, 0.5); }
.radio-pill input:checked + span {
  border-color: var(--gold); color: var(--gold-bright);
  background: rgba(212, 168, 67, 0.1); font-weight: 700;
}
.radio-pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.18); }

/* Footer of form */
.form-footer { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.form-submit { margin-top: 0; border: none; cursor: pointer; font-family: inherit; }
.form-note { font-size: 13px; color: var(--text-muted); max-width: 46ch; line-height: 1.6; }
.form-error { font-size: 14px; color: #e08a84; font-weight: 500; }

/* Success state */
.form-success { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.form-success[hidden] { display: none; }
.form-success h2 { margin: 0; }
.form-success .section-lede { margin-top: 0; }
.form-success .section-lede strong { color: var(--text); }
.form-success .btn-outline { margin-top: 8px; }
