/* ============================================================
   Homepage polish layer — senior-level refinements only.
   Loads AFTER homepage.css; purely additive (no re-layout) so it
   can't break the mature v2 design. Token-driven, both themes,
   mobile-safe, perf-light. Scope: hero trust row, stats strip,
   FAQ scannability, card focus states, final-CTA note.
   ============================================================ */

/* ---- Hero trust signals → premium pills ---- */
.hero-reassure { gap: 10px; }
.hero-reassure-item {
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
  font-weight: 600;
}
[data-theme="dark"] .hero-reassure-item {
  background: rgba(148, 163, 184, 0.10);
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: none;
}

/* ---- Stats strip → more air + hairline dividers ---- */
.stats-banner-grid > div {
  position: relative;
  padding: 8px 14px;
}
.stat-label { opacity: 0.92; }
@media (min-width: 641px) {
  .stats-banner-grid > div:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 46px;
    background: rgba(255, 255, 255, 0.20);
  }
}
@media (max-width: 640px) {
  .stats-banner-grid { row-gap: 18px; }
}

/* ---- FAQ → bigger tap target, hover hint, smooth open ---- */
.faq-question { padding: 18px 22px; gap: 16px; }
.faq-item:not([open]):hover { border-color: var(--primary); }
.faq-item[open] .faq-answer { animation: homeFaqReveal 0.22s ease both; }
@keyframes homeFaqReveal {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

/* ---- Keyboard a11y: visible focus on clickable cards ---- */
.featured-card:focus-visible,
.tool-card:focus-visible,
.compare-cta__btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ---- Final CTA: inline sign-up link inside the trust note ---- */
.m3u-final-cta-note-link {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.m3u-final-cta-note-link:hover { opacity: 0.85; }

@media (prefers-reduced-motion: reduce) {
  .faq-item[open] .faq-answer { animation: none; }
}
