/* ============================================
   SCORESENTRY — Credit Score Health Check (lead magnet)
   Dark / gold theme matching blog.css; adds quiz-specific classes.
   ============================================ */

.lhm-body { background: #0d0d0d; }
.lhm-navbar { background: rgba(13, 13, 13, 0.97); border-bottom: 1px solid rgba(212, 175, 55, 0.12); }

/* ---- Hero ---- */
.lhm-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  padding: 80px 24px 56px;
  text-align: center;
}
.lhm-hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #D4AF37;
  margin-bottom: 18px;
}
.lhm-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  color: #f0ede6;
  margin: 0 auto 18px;
  max-width: 820px;
  line-height: 1.1;
}
.lhm-hero-sub {
  color: rgba(240, 237, 230, 0.55);
  font-size: 1.02rem;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ---- Container ---- */
.lhm-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* ---- Quiz ---- */
.lhm-quiz fieldset {
  background: #161616;
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 12px;
  padding: 22px 24px 18px;
  margin: 0 0 22px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lhm-quiz fieldset:focus-within {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08);
}
.lhm-quiz legend {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: #D4AF37;
  padding: 0 8px;
  margin-left: -8px;
}
.lhm-question {
  font-size: 0.95rem;
  color: rgba(240, 237, 230, 0.65);
  margin: 4px 0 16px;
  line-height: 1.55;
}
.lhm-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin: 0 0 8px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  color: rgba(240, 237, 230, 0.85);
  background: rgba(255, 255, 255, 0.015);
  transition: background 0.15s, border-color 0.15s;
  border: 1px solid transparent;
}
.lhm-option:hover {
  background: rgba(212, 175, 55, 0.05);
  border-color: rgba(212, 175, 55, 0.15);
}
.lhm-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #D4AF37;
  flex-shrink: 0;
}
.lhm-option:has(input:checked) {
  background: rgba(212, 175, 55, 0.10);
  border-color: rgba(212, 175, 55, 0.35);
}

/* ---- Email Capture + CTA ---- */
.lhm-capture {
  display: flex;
  gap: 10px;
  margin: 28px 0 8px;
  flex-wrap: wrap;
}
.lhm-capture input[type="email"] {
  flex: 1 1 240px;
  background: #161616;
  border: 1px solid rgba(212, 175, 55, 0.18);
  color: #f0ede6;
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 14px 16px;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.lhm-capture input[type="email"]:focus {
  border-color: #D4AF37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}
.lhm-cta-primary {
  display: inline-block;
  background: #D4AF37;
  color: #0d0d0d;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  font-family: var(--font-body);
}
.lhm-cta-primary:hover { background: #c9a030; }
.lhm-cta-primary:disabled { opacity: 0.6; cursor: wait; }

.lhm-fineprint {
  font-size: 0.78rem;
  color: rgba(240, 237, 230, 0.32);
  text-align: center;
  margin-top: 4px;
}

.lhm-error {
  background: rgba(180, 50, 50, 0.12);
  border: 1px solid rgba(220, 80, 80, 0.4);
  color: #f0a4a4;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  margin: 14px 0 0;
}

/* ---- Result block (post-submit) ---- */
.lhm-result {
  background: #161616;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 14px;
  padding: 36px 32px;
  text-align: center;
  animation: lhm-fade-in 0.5s ease-out;
}
@keyframes lhm-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lhm-tier-badge {
  display: inline-block;
  background: #D4AF37;
  color: #0d0d0d;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.lhm-result-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  color: #f0ede6;
  margin: 0 0 14px;
  line-height: 1.25;
}
.lhm-result p {
  color: rgba(240, 237, 230, 0.65);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 540px;
  margin: 0 auto 24px;
}
.lhm-result .lhm-cta-primary {
  font-size: 1rem;
  padding: 16px 28px;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .lhm-hero { padding: 56px 20px 40px; }
  .lhm-container { padding: 32px 16px 56px; }
  .lhm-quiz fieldset { padding: 18px 18px 14px; }
  .lhm-capture { flex-direction: column; }
  .lhm-capture input[type="email"] { flex: 1 1 auto; }
  .lhm-result { padding: 28px 22px; }
}
