:root {
  --bg:         #14161a;
  --panel:      #1c1f25;
  --panel-2:    #242831;
  --line:       #32363f;
  --steel:      #8b95a1;
  --text:       #eef0f2;
  --accent:     #ff6a1a;
  --accent-ink: #1a0e06;
  --good:       #3ddc84;
  --bad:        #ff5c5c;
  --radius:     14px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'Inter', sans-serif; line-height: 1.5;
}
h1, h2, h3 { font-family: 'Oswald', sans-serif; letter-spacing: 0.01em; margin: 0; }

.topbar {
  border-bottom: 1px solid var(--line); background: var(--panel);
  padding: 16px 20px;
}
.topbar-inner { max-width: 1000px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 20px; }
.phone-link { color: var(--accent); font-weight: 600; text-decoration: none; }

main { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

.hero {
  display: grid; gap: 40px; padding: 48px 0 60px;
}
@media (min-width: 860px) {
  .hero { grid-template-columns: 1fr 420px; align-items: start; }
}

.eyebrow {
  color: var(--accent); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 10px;
}
.hero-copy h1 { font-size: 34px; line-height: 1.15; margin-bottom: 20px; }
.check-list { list-style: none; margin: 0; padding: 0; color: var(--steel); font-size: 15px; }
.check-list li { padding: 6px 0 6px 26px; position: relative; }
.check-list li::before { content: '✓'; color: var(--good); position: absolute; left: 0; font-weight: 700; }

.offer-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.offer-card h2 { font-size: 18px; margin-bottom: 14px; }

.id-toggle { display: flex; gap: 8px; margin-bottom: 14px; }
.id-toggle-btn {
  flex: 1; background: var(--panel-2); border: 1px solid var(--line);
  color: var(--steel); font-family: 'Inter', sans-serif; font-weight: 600; font-size: 13px;
  padding: 10px 0; border-radius: 10px; cursor: pointer;
}
.id-toggle-btn.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.field {
  display: block; font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--steel); margin-bottom: 14px;
}
.vin-lookup-status { font-size: 12px; color: var(--steel); margin: -10px 0 14px; min-height: 15px; }
.vin-lookup-status.ok  { color: var(--good); }
.vin-lookup-status.err { color: var(--bad); }
.field-row { display: flex; gap: 10px; }
.field-row .field { flex: 1; }
.field input, .field select, .field textarea {
  display: block; width: 100%; margin-top: 6px; box-sizing: border-box;
  background: var(--panel-2); border: 1px solid var(--line);
  color: var(--text); font-family: 'Inter', sans-serif; font-size: 15px;
  padding: 11px 12px; border-radius: 10px;
}
.field textarea { resize: vertical; min-height: 60px; font-family: inherit; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

.photo-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 14px; }
.photo-thumb {
  position: relative; width: 64px; height: 64px; border-radius: 8px; overflow: hidden;
  background: var(--panel-2); border: 1px solid var(--line);
}
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-thumb.uploading, .photo-thumb.failed {
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 10px; color: var(--steel); padding: 4px;
}
.photo-thumb.failed { color: var(--bad); }
.photo-thumb-remove {
  position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 999px;
  background: rgba(0,0,0,0.7); color: #fff; border: none; font-size: 12px; line-height: 18px;
  cursor: pointer; padding: 0;
}

.btn-primary {
  width: 100%; background: var(--accent); color: var(--accent-ink);
  border: none; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 15px;
  padding: 14px 0; border-radius: 999px; cursor: pointer;
}
.btn-primary:disabled { opacity: 0.6; cursor: default; }
.btn-primary:active { transform: scale(0.985); }

.form-status { min-height: 18px; font-size: 13px; margin: 10px 0 0; }
.form-status.ok  { color: var(--good); }
.form-status.err { color: var(--bad); }
.fine-print { font-size: 12px; color: var(--steel); text-align: center; margin: 14px 0 0; }

.how-it-works { padding: 20px 0 60px; text-align: center; }
.how-it-works h2 { font-size: 24px; margin-bottom: 30px; }
.steps { display: grid; gap: 24px; }
@media (min-width: 720px) { .steps { grid-template-columns: 1fr 1fr 1fr; } }
.step {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 18px;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-family: 'Oswald', sans-serif; font-weight: 700; margin-bottom: 12px;
}
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--steel); margin: 0; }

.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 50;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; width: 100%; max-width: 380px; text-align: center;
}
.modal h3 { margin-bottom: 10px; }
.modal p { color: var(--steel); font-size: 14px; margin: 0 0 18px; }

.site-footer {
  text-align: center; padding: 24px 0; color: var(--steel); font-size: 12px;
  border-top: 1px solid var(--line);
}
.site-footer a { color: var(--steel); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
