:root {
  --buyers-bg: #f3f8f8;
  --buyers-panel: #ffffff;
  --buyers-muted-panel: #e8f2f5;
  --buyers-ink: #142534;
  --buyers-subtle: #456072;
  --buyers-brand-a: #0a8ca8;
  --buyers-brand-b: #0f5a9a;
  --buyers-border: #c9dbe3;
  --buyers-danger: #c24141;
}

.buyers-landing-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  min-height: 72vh;
  background:
    radial-gradient(circle at 9% 16%, #d3ebf5 0%, transparent 36%),
    radial-gradient(circle at 90% 84%, #c5e4ee 0%, transparent 32%),
    var(--buyers-bg);
  padding: 36px 20px 48px;
  gap: 0;
}

.buyers-info-panel,
.buyers-intake-panel {
  box-shadow: 0 12px 40px rgba(20, 37, 52, 0.14);
}

.buyers-info-panel {
  flex: 1 1 420px;
  max-width: 620px;
  background: var(--buyers-panel);
  border-radius: 20px 0 0 20px;
  padding: 38px 36px;
}

.buyers-kicker {
  display: inline-flex;
  margin: 0 0 12px;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #065f73;
  background: #d7eef3;
}

.buyers-info-panel h1 {
  margin: 0 0 10px;
  font-size: 2rem;
  line-height: 1.15;
  color: var(--buyers-ink);
}

.buyers-subtitle {
  margin: 0 0 16px;
  color: var(--buyers-subtle);
  line-height: 1.5;
}

.buyers-pilot-note {
  margin-bottom: 18px;
  border-left: 4px solid #0ea5e9;
  padding: 10px 12px;
  border-radius: 8px;
  color: #1d4e66;
  background: #e6f4fb;
}

.buyers-info-panel ul {
  margin: 0 0 20px 18px;
  padding: 0;
  color: #2a4153;
}

.buyers-info-panel li {
  margin-bottom: 8px;
  line-height: 1.42;
}

.buyers-benefit {
  font-weight: 700;
  color: #0d7790;
}

.buyers-help-line {
  margin-top: 16px;
  color: #5d7483;
}

.buyers-help-line a {
  color: #0f6883;
  text-decoration: underline;
}

.buyers-side-actions {
  margin-top: 22px;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  border: 1px solid #9dc2cf;
  border-radius: 999px;
  padding: 8px 14px;
  color: #0f6883;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.secondary-link:hover {
  background: #e5f3f7;
  border-color: #7eaebf;
}

.buyers-intake-panel {
  flex: 1 1 420px;
  max-width: 620px;
  background: var(--buyers-muted-panel);
  border-radius: 0 20px 20px 0;
  padding: 34px 30px;
}

.buyers-intake-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.buyers-intake-form h2 {
  margin: 0;
  color: #0b5f76;
  font-size: 1.45rem;
}

.form-intro {
  margin: 0 0 10px;
  color: #466072;
}

.form-section-title {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #c3d8e2;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #21506a;
}

.form-grid {
  display: grid;
  gap: 10px;
}

.form-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.buyers-intake-form label,
.verticals-grid legend {
  font-weight: 700;
  color: #264155;
  font-size: 0.92rem;
}

.buyers-intake-form input,
.buyers-intake-form select {
  border: 1px solid var(--buyers-border);
  border-radius: 8px;
  background: #fff;
  color: #102533;
  padding: 10px 12px;
  font-size: 0.96rem;
}

.buyers-intake-form input:focus,
.buyers-intake-form select:focus {
  outline: 2px solid rgba(14, 165, 233, 0.35);
  border-color: #0ea5e9;
}

.verticals-grid {
  margin: 2px 0 0;
  border: 1px solid var(--buyers-border);
  border-radius: 10px;
  padding: 10px;
  background: #fff;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.verticals-grid label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
  color: #314a5c;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 2px;
}

.checkbox-group input {
  margin-top: 3px;
}

.checkbox-group label {
  font-weight: 600;
  color: #334c5d;
  line-height: 1.4;
}

.inline-error {
  color: var(--buyers-danger);
  min-height: 20px;
  font-weight: 600;
}

.cta-btn {
  border: none;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(100deg, var(--buyers-brand-a) 0%, var(--buyers-brand-b) 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(10, 140, 168, 0.24);
}

.form-footnote {
  margin: 8px 0 0;
  color: #5e7482;
  font-size: 0.84rem;
  line-height: 1.4;
}

.is-hidden {
  display: none !important;
}

/* ── Thank-you / submitted state ─────────────────────────────────────── */
.buyers-submitted-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 32px;
  height: 100%;
  min-height: 400px;
  gap: 16px;
}

.submitted-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a8ca8, #0f5a9a);
  color: #fff;
  font-size: 2.2rem;
  line-height: 72px;
  text-align: center;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(10, 140, 168, 0.3);
}

.buyers-submitted-panel h2 {
  margin: 0;
  font-size: 1.7rem;
  color: #0b5f76;
}

.submitted-lead {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: #1a4a5c;
}

.submitted-body {
  margin: 0;
  color: #466072;
  line-height: 1.6;
  max-width: 440px;
}

.submitted-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 380px;
  margin-top: 8px;
}

.submitted-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #c3d8e2;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #264155;
  text-align: left;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a8ca8, #0f5a9a);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
}

.submitted-footer {
  margin: 4px 0 0;
  color: #5e7482;
  font-size: 0.88rem;
}

.submitted-footer a {
  color: #0f6883;
  text-decoration: underline;
}

/* Required / optional label markers */
.req {
  color: var(--buyers-danger);
  font-weight: 700;
}

.form-optional {
  font-weight: 400;
  color: #7a97a8;
  font-size: 0.82em;
}

/* Radio groups */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--buyers-border);
  border-radius: 8px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #314a5c;
  cursor: pointer;
  font-size: 0.9rem;
}

.radio-label input[type="radio"] {
  width: auto;
  padding: 0;
  border: none;
  background: none;
}

/* Checkbox row groups (contact methods, compliance flags) */
.checkbox-row-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--buyers-border);
  border-radius: 8px;
}

.checkbox-row-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #314a5c;
  cursor: pointer;
  font-size: 0.9rem;
}

.checkbox-row-label input[type="checkbox"] {
  width: auto;
  padding: 0;
  border: none;
  background: none;
}

/* States grid */
.states-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
  gap: 6px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--buyers-border);
  border-radius: 8px;
  max-height: 200px;
  overflow-y: auto;
}

.state-check {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #314a5c;
  cursor: pointer;
}

.state-check input[type="checkbox"] {
  width: auto;
  padding: 0;
  border: none;
  background: none;
}

/* Textarea */
.buyers-intake-form textarea {
  border: 1px solid var(--buyers-border);
  border-radius: 8px;
  background: #fff;
  color: #102533;
  padding: 10px 12px;
  font-size: 0.92rem;
  font-family: inherit;
  resize: vertical;
}

.buyers-intake-form textarea:focus {
  outline: 2px solid rgba(14, 165, 233, 0.35);
  border-color: #0ea5e9;
}

@media (max-width: 1080px) {
  .buyers-info-panel,
  .buyers-intake-panel {
    max-width: 100%;
    border-radius: 20px;
  }

  .buyers-landing-main {
    gap: 16px;
  }
}

@media (max-width: 780px) {
  .form-grid.two-up,
  .form-grid.three-up,
  .verticals-grid {
    grid-template-columns: 1fr;
  }

  .buyers-info-panel,
  .buyers-intake-panel {
    padding: 24px 18px;
  }
}

/* ── USPS Address Suggestion Card ──────────────────────────────── */
.buyers-intake-form .address-suggestion-card {
  border: 1.5px solid var(--buyers-brand-a);
  border-radius: 8px;
  background: rgba(10, 140, 168, 0.06);
  padding: 14px 16px;
  margin-bottom: 16px;
}
.buyers-intake-form .asc-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.buyers-intake-form .asc-icon { color: var(--buyers-brand-a); flex-shrink: 0; }
.buyers-intake-form .asc-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--buyers-brand-a);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.buyers-intake-form .asc-address-text {
  font-size: 0.9375rem;
  color: var(--buyers-ink);
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.5;
}
.buyers-intake-form .asc-warning {
  font-size: 0.8125rem;
  color: #D97706;
  margin-bottom: 10px;
}
.buyers-intake-form .asc-actions { display: flex; gap: 8px; }
.buyers-intake-form .asc-use-btn {
  padding: 7px 16px;
  background: linear-gradient(100deg, var(--buyers-brand-a) 0%, var(--buyers-brand-b) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.buyers-intake-form .asc-use-btn:hover { opacity: 0.88; }
.buyers-intake-form .asc-edit-btn {
  padding: 7px 16px;
  background: transparent;
  color: var(--buyers-subtle);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1.5px solid var(--buyers-border);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.buyers-intake-form .asc-edit-btn:hover { border-color: var(--buyers-subtle); color: var(--buyers-ink); }
.buyers-intake-form .address-verified-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #16a34a;
  margin-bottom: 16px;
}
/* ────────────────────────────────────────────────────────────── */
