/* ==========================================================================
   www/shared/mnc-compare.css — the "My Next Car" comparison card (2026-11-11).
   Uses only the tokens both pages already define (--bg-card, --border-subtle,
   --radius-lg/-md, --text-*, --accent-gold, --accent-gold-soft). The surface,
   border and shadow copy .feature-card (index.html) / .card (members.html):
   white in the light theme, the site's dark card surface in the dark theme
   (the default).
   ========================================================================== */
.mnc-section { padding: 48px 24px 24px; }
.mnc-section-inner { max-width: 640px; margin: 0 auto; }
.mnc-section h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: center;
  margin: 0 0 20px;
}

.mnc-card {
  background: linear-gradient(145deg, #1a202a, #141a24);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.03);
  padding: 20px;
  color: var(--text-primary);
  text-align: left;
}
[data-theme="light"] .mnc-card {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(30, 58, 95, 0.06), 0 1px 3px rgba(30, 58, 95, 0.04);
  border: 1px solid rgba(30, 58, 95, 0.08);
}

.mnc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.mnc-icon {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--accent-gold-soft); color: var(--accent-gold);
  display: inline-flex; align-items: center; justify-content: center;
}
.mnc-head-text { flex: 1 1 auto; min-width: 0; }
.mnc-title { font-weight: 600; font-size: 1rem; line-height: 1.3; }
.mnc-subtitle { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.4; }

/* "Example": muted, but never faint. Secondary text colour (not --text-muted),
   bold uppercase, with an outline so it reads as a label, not decoration.
   Contrast: #a0a8b8 on the dark card ≈ 7:1; #3d3d5c on white ≈ 10:1. */
.mnc-example {
  flex: 0 0 auto; align-self: flex-start;
  border: 1px solid var(--border-medium);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-secondary);
  line-height: 1.4;
  white-space: nowrap;
}
.mnc-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.mnc-rows { list-style: none; margin: 0; padding: 0; }
/* Rows look tappable (padding, hover tint, chevron) but do nothing yet. */
.mnc-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; margin: 0 -12px;
  border-radius: var(--radius-md);
  transition: background 0.15s ease;
}
.mnc-row + .mnc-row { margin-top: 4px; }
.mnc-row:hover { background: var(--accent-gold-soft); }
.mnc-row-main { flex: 1 1 auto; min-width: 0; }
.mnc-label {
  color: var(--accent-gold); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 2px;
}
.mnc-name { font-weight: 700; font-size: 1rem; line-height: 1.3; overflow-wrap: anywhere; }
.mnc-meta { color: var(--text-secondary); font-size: 0.82rem; margin-top: 2px; }
.mnc-amount { flex: 0 0 auto; text-align: right; }
.mnc-amount-value { font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.mnc-amount-sub { color: var(--text-secondary); font-size: 0.75rem; }
.mnc-chevron {
  flex: 0 0 auto; width: 8px; height: 8px; margin-left: 2px;
  border-right: 2px solid var(--text-muted); border-top: 2px solid var(--text-muted);
  transform: rotate(45deg); opacity: 0.7;
}

.mnc-divider {
  display: flex; align-items: center; gap: 12px; margin: 10px 0;
  color: var(--text-muted); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
}
.mnc-divider::before, .mnc-divider::after { content: ''; flex: 1 1 auto; height: 1px; background: var(--border-subtle); }

.mnc-footer { color: var(--text-secondary); font-size: 0.82rem; line-height: 1.5; margin: 14px 0 0; }

/* Phones: the price wraps under the name instead of squeezing it. */
@media (max-width: 480px) {
  .mnc-section { padding: 36px 16px 16px; }
  .mnc-card { padding: 16px; }
  .mnc-row { flex-wrap: wrap; row-gap: 4px; position: relative; padding-right: 28px; }
  .mnc-row-main { flex-basis: 100%; }
  .mnc-amount { text-align: left; display: flex; align-items: baseline; gap: 6px; }
  .mnc-chevron { position: absolute; right: 12px; top: 50%; margin-top: -4px; }
}

/* Sample rows show no price (2026-11-25): a quiet placeholder bar instead. */
.mnc-amount-blank { width: 64px; height: 10px; margin: 6px 0 4px auto; border-radius: 999px; background: var(--border-medium); }
