/* ==========================================================================
   Snaveo — Deal Score methodology page (P0-002)
   Additive, scoped to deal-score.html only. Reuses styles.css tokens
   (--brand, --ink, --line, --radius-*, --shadow-*) so it matches the rest
   of the site instead of introducing a new visual language.
   ========================================================================== */

/* ---------- Worked example box ---------- */

.deal-score-example {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  margin: 16px 0 32px;
}

.deal-score-example-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
}

.deal-score-example-price {
  text-align: center;
}

.deal-score-example-price .example-label {
  font-size: 12px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.deal-score-example-price .example-value {
  font-size: 20px;
  font-weight: 750;
  color: var(--ink);
}

.deal-score-example-price .example-value.is-old {
  text-decoration: line-through;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 16px;
}

.deal-score-example-arrow {
  color: var(--ink-soft);
  font-size: 20px;
  flex: none;
}

.deal-score-example-badge {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-weight: 750;
  font-size: 18px;
  flex: none;
  margin-left: auto;
}

.deal-score-example-badge span {
  font-size: 9px;
  font-weight: 500;
}

.deal-score-example-explain {
  font-size: 14.5px;
  color: var(--ink-muted);
  margin: 0;
}

/* ---------- Visual score scale (Section 5) ---------- */

.score-scale {
  display: flex;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 20px 0 8px;
  box-shadow: var(--shadow-sm);
}

.score-scale-segment {
  padding: 16px 10px;
  color: #fff;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.35;
}

.score-scale-segment .range {
  display: block;
  font-weight: 750;
  font-size: 15px;
  margin-bottom: 3px;
}

.score-scale-segment.low {
  background: #B3261E;
  flex: 49;
}

.score-scale-segment.fair {
  background: #C97A3B;
  flex: 20;
}

.score-scale-segment.good {
  background: #5B9E6E;
  flex: 20;
}

.score-scale-segment.excellent {
  background: #2E7D4F;
  flex: 11;
}

.score-scale-caption {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

@media (max-width: 600px) {
  .score-scale {
    flex-direction: column;
  }
  .score-scale-segment {
    flex: none !important;
    padding: 12px 16px;
  }
}

/* ---------- FAQ ---------- */

.deal-score-faq-item {
  margin-bottom: 20px;
}

.deal-score-faq-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.deal-score-faq-item p {
  color: var(--ink-muted);
  font-size: 15px;
  margin-bottom: 0;
}
