/* ListerScan — eBay Listing Health Audit */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #f6f7f9;
  color: #1a1f2b;
  line-height: 1.6;
}

.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 28px; background: #fff; border-bottom: 1px solid #e4e7ec;
  position: sticky; top: 0; z-index: 10;
}
.brand { font-weight: 800; font-size: 19px; color: #1a1f2b; text-decoration: none; letter-spacing: -0.3px; }
.brand span { color: #0d6efd; }
.topbar nav a { margin-left: 18px; color: #4a5264; text-decoration: none; font-size: 14px; }
.topbar nav a:hover { color: #0d6efd; }

.hero { max-width: 780px; margin: 0 auto; padding: 56px 24px 40px; text-align: center; }
.hero h1 { font-size: 38px; line-height: 1.15; letter-spacing: -0.8px; margin-bottom: 12px; }
.hero .sub { font-size: 17px; color: #4a5264; max-width: 620px; margin: 0 auto 28px; }

.audit-form { background: #fff; border: 1px solid #e4e7ec; border-radius: 14px; padding: 24px;
  box-shadow: 0 4px 18px rgba(16, 24, 40, 0.06); text-align: left; }
.audit-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.audit-form input[type="email"], .audit-form input[type="url"], .audit-form input[type="text"],
.audit-form textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #d0d5dd; border-radius: 8px;
  font-size: 15px; margin-bottom: 14px; font-family: inherit;
}
.audit-form textarea { resize: vertical; }
.audit-form .row { display: flex; gap: 12px; }
.audit-form .row > * { flex: 1; }
.tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.tab { padding: 8px 14px; border: 1px solid #d0d5dd; background: #fff; border-radius: 8px;
  cursor: pointer; font-size: 14px; color: #4a5264; }
.tab.active { background: #0d6efd; color: #fff; border-color: #0d6efd; }
.pane { display: none; }
.pane.active { display: block; }
.hint { font-size: 12.5px; color: #667085; margin: -8px 0 14px; }
.error { background: #fef3f2; color: #b42318; border: 1px solid #fda29b; border-radius: 8px;
  padding: 10px 14px; margin-bottom: 14px; font-size: 14px; }
.cta { width: 100%; background: #0d6efd; color: #fff; border: none; border-radius: 8px;
  padding: 14px; font-size: 16px; font-weight: 700; cursor: pointer; }
.cta:hover { background: #0a5cd8; }

.section { max-width: 780px; margin: 0 auto; padding: 32px 24px; }
.section h2 { font-size: 24px; margin-bottom: 16px; letter-spacing: -0.4px; }
.steps li { margin-bottom: 10px; font-size: 15.5px; }
.steps { padding-left: 22px; }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.card { background: #fff; border: 1px solid #e4e7ec; border-radius: 14px; padding: 22px; }
.card.featured { border: 2px solid #0d6efd; box-shadow: 0 6px 22px rgba(13, 110, 253, 0.12); }
.card h3 { font-size: 16px; margin-bottom: 6px; }
.card .price { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.card .price span { font-size: 14px; font-weight: 500; color: #667085; }
.card ul { padding-left: 18px; margin-bottom: 16px; }
.card li { font-size: 13.5px; margin-bottom: 6px; color: #344054; }
.btn { display: block; text-align: center; text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 11px; border-radius: 8px; }
.btn.primary { background: #0d6efd; color: #fff; }
.btn.primary:hover { background: #0a5cd8; }
.btn.outline { border: 1px solid #d0d5dd; color: #1a1f2b; }
.btn.outline:hover { border-color: #0d6efd; color: #0d6efd; }
.note.small { font-size: 12.5px; color: #667085; }

details { background: #fff; border: 1px solid #e4e7ec; border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
details summary { font-weight: 600; cursor: pointer; }
details p { margin-top: 8px; font-size: 14.5px; color: #4a5264; }

footer { text-align: center; padding: 30px; color: #667085; font-size: 13px; border-top: 1px solid #e4e7ec; margin-top: 30px; }
footer a { color: #667085; }

.score { font-weight: 800; }
.score.good { color: #12b76a; }
.score.mid { color: #f79009; }
.score.bad { color: #d92d20; }
.meta { font-size: 13px; color: #667085; margin-top: 10px; }
.meta a { color: #0d6efd; }

.bars { margin: 10px 0 20px; }
.bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.bar-label { width: 190px; font-size: 13.5px; color: #344054; }
.bar-label small { color: #98a2b3; }
.bar-track { flex: 1; background: #eef0f3; border-radius: 6px; height: 12px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 6px; }
.bar-fill.good { background: #12b76a; }
.bar-fill.mid { background: #f79009; }
.bar-fill.bad { background: #d92d20; }
.bar-val { width: 36px; text-align: right; font-weight: 700; font-size: 13.5px; }

.issues { padding-left: 22px; }
.issues li { margin-bottom: 8px; font-size: 14.5px; }
.sev-critical { border-left: 3px solid #d92d20; padding-left: 8px; }
.sev-high { border-left: 3px solid #f79009; padding-left: 8px; }
.sev-medium { border-left: 3px solid #fdb022; padding-left: 8px; }

.rewrite { background: #fff; border: 1px solid #e4e7ec; border-radius: 12px; padding: 18px; margin-bottom: 16px; }
.rewrite h3 { font-size: 15px; margin-bottom: 8px; }
.copy-row { display: flex; align-items: center; gap: 10px; background: #f8f9fc; border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; }
.copy-row code { flex: 1; font-size: 14px; word-break: break-word; }
.copy-btn { background: #0d6efd; color: #fff; border: none; border-radius: 6px; padding: 6px 12px;
  cursor: pointer; font-size: 13px; font-weight: 600; }
.specs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs-table th, .specs-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #eef0f3; }
.specs-table th { color: #667085; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.4px; }
.checklist { padding-left: 20px; }
.checklist li { margin-bottom: 6px; font-size: 14.5px; }

#delta { margin-top: 14px; }
.hidden { display: none; }
.delta-val { font-weight: 800; }

.selftest { max-width: 780px; margin: 0 auto; padding: 32px 24px; }
.selftest table { width: 100%; border-collapse: collapse; font-size: 14px; }
.selftest th, .selftest td { padding: 8px 10px; border-bottom: 1px solid #eef0f3; text-align: left; }
.pass { color: #12b76a; font-weight: 700; }
.fail { color: #d92d20; font-weight: 700; }
