/* best-cards.css — Styles for the FeeWorth Best Cards listicle page
   Self-contained. Only loaded/used by best-cards.html.
   Uses bc- prefix to avoid collisions with landing/app styles. */

/* ── Base ── */
.bc { background: #fff; color: #1a2332; line-height: 1.6; -webkit-font-smoothing: antialiased; font-family: 'Inter', -apple-system, system-ui, sans-serif; }
.bc *, .bc *::before, .bc *::after { box-sizing: border-box; }
.bc-container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
body:has(.bc) #bg { display: none; }

/* ── Nav ── */
.bc-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e8ecf0; padding: 16px 0;
}
.bc-nav .bc-container { display: flex; align-items: center; justify-content: space-between; }
.bc-nav-logo {
  font-family: 'Georgia', serif; font-size: 1.6rem; font-style: italic;
  color: #2d4a3e; font-weight: 700; letter-spacing: -0.5px; text-decoration: none;
}
.bc-nav-links { display: flex; align-items: center; gap: 16px; }
.bc-nav-link { color: #4a5568; font-size: 0.95rem; font-weight: 500; text-decoration: none; transition: color 0.2s; }
.bc-nav-link:hover { color: #1a6b5a; }
.bc-nav-cta {
  background: #1a6b5a; color: #fff; padding: 10px 24px; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem; transition: background 0.2s, transform 0.15s;
  cursor: pointer; border: none; font-family: inherit; text-decoration: none;
}
.bc-nav-cta:hover { background: #145a4b; transform: translateY(-1px); }

/* ── Breadcrumb ── */
.bc-breadcrumb { padding: 16px 0 0; font-size: 0.85rem; color: #8a94a6; }
.bc-breadcrumb a { color: #1a6b5a; text-decoration: none; }
.bc-breadcrumb a:hover { text-decoration: underline; }
.bc-breadcrumb-sep { margin: 0 6px; color: #c0c8d4; }

/* ── Hero ── */
.bc-hero { padding: 48px 0 40px; text-align: center; }
.bc-hero h1 {
  font-family: 'Georgia', serif; font-size: 2.6rem; line-height: 1.15;
  font-weight: 700; color: #1a2332; margin-bottom: 16px; letter-spacing: -1px;
}
.bc-hero-sub {
  font-size: 1.1rem; color: #4a5568; line-height: 1.7;
  max-width: 680px; margin: 0 auto 20px;
}
.bc-hero-link {
  color: #1a6b5a; font-weight: 600; font-size: 1rem; text-decoration: none;
}
.bc-hero-link:hover { text-decoration: underline; }

/* ── Sections ── */
.bc-section { padding: 48px 0; }
.bc-section-alt { background: #f8faf9; }
.bc-section-title {
  font-family: 'Georgia', serif; font-size: 1.8rem; font-weight: 700;
  color: #1a2332; margin-bottom: 16px; letter-spacing: -0.5px;
}
.bc-section-text { color: #4a5568; font-size: 1.05rem; line-height: 1.7; max-width: 720px; }

/* ── Methodology ── */
.bc-methodology {
  background: #fff; border: 1px solid #e8ecf0; border-radius: 12px;
  padding: 24px 28px; max-width: 720px;
}
.bc-methodology p { color: #4a5568; font-size: 0.95rem; line-height: 1.7; margin: 0 0 12px; }
.bc-methodology p:last-child { margin-bottom: 0; }

/* ── Tier Titles ── */
.bc-tier-title {
  font-family: 'Georgia', serif; font-size: 1.35rem; font-weight: 700;
  color: #2d4a3e; margin: 36px 0 20px; padding-bottom: 10px;
  border-bottom: 2px solid #e0e8e4;
}
.bc-tier-title:first-of-type { margin-top: 12px; }

/* ── Rankings Grid ── */
.bc-rankings-grid { display: flex; flex-direction: column; gap: 16px; }

.bc-rank-card {
  background: #fff; border: 1px solid #e8ecf0; border-radius: 12px;
  padding: 24px; display: flex; gap: 20px; align-items: flex-start;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.bc-rank-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.06); border-color: #d0d8e0; }

.bc-rank-number {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: #1a6b5a; color: #fff; font-weight: 700; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
}

.bc-rank-art {
  flex-shrink: 0; width: 64px; height: 40px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 1px;
}

.bc-rank-body { flex: 1; min-width: 0; }

.bc-rank-header { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.bc-rank-name {
  font-weight: 700; font-size: 1.05rem; color: #1a2332;
}
.bc-rank-name a { color: inherit; text-decoration: none; }
.bc-rank-name a:hover { color: #1a6b5a; text-decoration: underline; }
.bc-rank-fee { color: #6b7280; font-size: 0.9rem; font-weight: 500; }

.bc-rank-stats { display: flex; gap: 20px; margin: 8px 0; flex-wrap: wrap; }
.bc-rank-stat { font-size: 0.85rem; color: #4a5568; }
.bc-rank-stat-label { color: #8a94a6; }
.bc-rank-stat-value { font-weight: 700; color: #1a2332; }
.bc-rank-roi-positive .bc-rank-stat-value { color: #16653a; }
.bc-rank-roi-negative .bc-rank-stat-value { color: #991b1b; }

.bc-rank-verdict { font-size: 0.9rem; color: #4a5568; line-height: 1.5; margin: 6px 0 0; }

.bc-rank-link {
  display: inline-block; margin-top: 8px; font-size: 0.85rem;
  color: #1a6b5a; font-weight: 600; text-decoration: none;
}
.bc-rank-link:hover { text-decoration: underline; }

/* ── Loading ── */
.bc-loading { color: #8a94a6; font-size: 0.9rem; text-align: center; padding: 20px; }

/* ── Summary Table ── */
.bc-table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid #e8ecf0; border-radius: 12px;
  margin-top: 16px;
}
.bc-table {
  width: 100%; border-collapse: collapse; font-size: 0.9rem;
  min-width: 600px;
}
.bc-table thead { background: #f8faf9; }
.bc-table th {
  text-align: left; padding: 12px 16px; font-weight: 600;
  color: #4a5568; font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.5px; border-bottom: 2px solid #e8ecf0;
  white-space: nowrap;
}
.bc-th-right { text-align: right; }
.bc-th-sortable { cursor: pointer; user-select: none; }
.bc-th-sortable:hover { color: #1a6b5a; }
.bc-th-sortable.bc-sorted-asc::after { content: ' ▲'; font-size: 0.7rem; }
.bc-th-sortable.bc-sorted-desc::after { content: ' ▼'; font-size: 0.7rem; }
.bc-table td {
  padding: 12px 16px; border-bottom: 1px solid #f0f2f4;
  vertical-align: middle;
}
.bc-table tbody tr:hover { background: #f8faf9; }
.bc-table tbody tr:last-child td { border-bottom: none; }
.bc-td-name a { color: #1a2332; font-weight: 600; text-decoration: none; }
.bc-td-name a:hover { color: #1a6b5a; text-decoration: underline; }
.bc-td-right { text-align: right; font-variant-numeric: tabular-nums; }
.bc-td-roi-good { color: #16653a; font-weight: 700; }
.bc-td-roi-ok { color: #92400e; font-weight: 600; }
.bc-td-roi-bad { color: #991b1b; font-weight: 600; }
.bc-td-cat {
  display: inline-block; padding: 2px 8px; border-radius: 4px;
  font-size: 0.75rem; font-weight: 600; background: #f0f2f4; color: #4a5568;
  white-space: nowrap;
}

/* ── CTA Button ── */
.bc-btn-primary {
  background: #1a6b5a; color: #fff; padding: 16px 36px; border-radius: 10px;
  font-weight: 700; font-size: 1.05rem; border: none; cursor: pointer;
  transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit; text-decoration: none;
}
.bc-btn-primary:hover { background: #145a4b; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,107,90,0.25); }

/* ── FAQ ── */
.bc-faq-list { max-width: 720px; }
.bc-faq-item { border-bottom: 1px solid #e8ecf0; }
.bc-faq-item:last-child { border-bottom: none; }
.bc-faq-q {
  width: 100%; background: none; border: none; padding: 20px 0;
  font-size: 1.05rem; font-weight: 600; color: #1a2332; text-align: left;
  cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; font-family: inherit; line-height: 1.4;
}
.bc-faq-q:hover { color: #1a6b5a; }
.bc-faq-arrow { transition: transform 0.3s; flex-shrink: 0; }
.bc-faq-q[aria-expanded="true"] .bc-faq-arrow { transform: rotate(180deg); }
.bc-faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s;
  color: #4a5568; font-size: 0.95rem; line-height: 1.7; padding: 0;
}
.bc-faq-a.open { max-height: 300px; padding: 0 0 20px; }
.bc-faq-a a { color: #1a6b5a; }

/* ── CTA Banner ── */
.bc-cta-banner {
  background: linear-gradient(135deg, #1a6b5a 0%, #0d7377 100%);
  padding: 60px 0; text-align: center; color: #fff;
}
.bc-cta-banner h2 { font-family: 'Georgia', serif; font-size: 2rem; margin-bottom: 12px; color: #fff; }
.bc-cta-banner p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 28px; max-width: 520px; margin-left: auto; margin-right: auto; }
.bc-cta-banner .bc-btn-primary { background: #fff; color: #1a6b5a; }
.bc-cta-banner .bc-btn-primary:hover { background: #f0f5f3; box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* ── Footer ── */
.bc-footer { padding: 40px 0; text-align: center; border-top: 1px solid #e8ecf0; }
.bc-footer-logo {
  font-family: 'Georgia', serif; font-size: 1.3rem; font-style: italic;
  color: #2d4a3e; font-weight: 700; margin-bottom: 12px;
}
.bc-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 16px; }
.bc-footer-links a { color: #4a5568; font-size: 0.9rem; text-decoration: none; }
.bc-footer-links a:hover { color: #1a6b5a; }
.bc-footer-disclosure { font-size: 0.8rem; color: #8a94a6; max-width: 600px; margin: 0 auto; line-height: 1.5; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .bc-hero h1 { font-size: 2rem; }
  .bc-hero-sub { font-size: 1rem; }
  .bc-section-title { font-size: 1.5rem; }
  .bc-rank-card { flex-direction: column; gap: 12px; padding: 20px; }
  .bc-rank-number { width: 30px; height: 30px; font-size: 0.8rem; }
  .bc-rank-stats { gap: 12px; }
  .bc-methodology { padding: 20px; }
  .bc-tier-title { font-size: 1.15rem; }
}

@media (max-width: 480px) {
  .bc-hero h1 { font-size: 1.7rem; }
  .bc-section-title { font-size: 1.3rem; }
  .bc-rank-card { padding: 16px; }
  .bc-rank-name { font-size: 0.95rem; }
  .bc-table { font-size: 0.8rem; }
  .bc-table th, .bc-table td { padding: 10px 12px; }
}
