﻿/* ============================================
   STYLE: Clutch-style listing for Calgary finance firms
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --accent: #1a1a1a;
  --accent-light: #f4f4f5;
  --accent-dark: #000000;
  --ink: #1a1a1a;
  --muted: #5f6368;
  --line: #ececec;
  --bg: #f2f3f5;
  --surface: #ffffff;
  --cta: #1a1a1a;
  --cta-dark: #000000;
  --star: #ffb800;
  --icon-bg: #f0f0f0;
  --icon-fg: #6b6b6b;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.03);
  --shadow-md: 0 4px 16px rgba(0,0,0,.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
.uil { line-height: 1; vertical-align: -.1em; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ---------- Main nav ---------- */
.mainnav {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: sticky; top: 0; z-index: 100;
}

.mainnav .wrap {
  max-width: 1200px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 36px;
}

.logo {
  font-size: 24px; font-weight: 800;
  color: var(--ink);
}

.logo span { color: var(--muted); }

.mainnav nav { display: flex; gap: 6px; margin-left: auto; }

.mainnav nav a {
  font-size: 13px; font-weight: 500; color: var(--muted); padding: 6px 12px;
  border-radius: 8px; transition: all .15s;
}

.mainnav nav a:hover { color: var(--ink); background: #f1f5f9; }

.mainnav nav a.active-page { color: var(--accent); background: var(--accent-light); font-weight: 700; }

.mainnav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 6px;
}

/* ---------- Page header ---------- */
.pagehead {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}

.pagehead .wrap { max-width: 1200px; margin: 0 auto; padding: 20px 24px 16px; }

.pagehead h1 {
  font-size: 28px; font-weight: 800; letter-spacing: -.3px;
  color: var(--ink);
}

.updated {
  display: inline-block; margin-bottom: 10px;
  font-size: 11px; color: var(--muted); font-weight: 500;
  background: transparent; padding: 0; border-radius: 0;
  box-shadow: none;
}

.tabs {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; gap: 4px; margin-top: 12px;
}

.tabs a {
  padding: 10px 14px; color: var(--muted); font-size: 13px; font-weight: 600;
  border-bottom: 2px solid transparent; transition: all .15s;
}

.tabs a:hover { color: var(--ink); }

.tabs a.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- Filters ---------- */
.filterbar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  margin-top: 20px;
}

.filterbar .wrap {
  max-width: 1200px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}

.dropdown {
  background: var(--accent-light); border: 1px solid transparent; border-radius: 10px;
  padding: 9px 30px 9px 14px; font-size: 13px; font-weight: 500; cursor: pointer;
  transition: border-color .15s; color: var(--ink); font-family: inherit;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%238e8e93' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}

.dropdown:hover { border-color: var(--accent); }

.dropdown:focus { outline: none; border-color: var(--accent); }

.count { margin-left: auto; font-weight: 700; font-size: 13px; color: var(--muted); }

.no-results {
  text-align: center; color: var(--muted); font-size: 14px; font-weight: 500;
  padding: 48px 24px; display: none;
}

.no-results.show { display: block; }

/* ---------- Editorial intro block ---------- */
.editorial-intro {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.editorial-intro p {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 14px;
}

.editorial-intro p:first-child {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
}

.intro-highlight {
  background: #e8f7ef;
  border-left: 4px solid #047857;
  border-radius: 8px;
  padding: 16px 18px;
  margin: 18px 0 18px 0;
  font-size: 13px;
  color: #065f46;
  line-height: 1.75;
}

.intro-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.intro-section h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.intro-section ul li {
  margin-bottom: 8px;
}

.intro-section ul li strong {
  color: var(--ink);
}

/* ---------- Comparison table ---------- */
.comparison-table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.comparison-table-wrap h2,
.comparison-table-wrap h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  padding: 24px 24px 16px 24px;
  margin: 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.comparison-table thead {
  background: var(--accent-light);
}

.comparison-table thead tr {
  border-bottom: 1px solid var(--line);
}

.comparison-table thead th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.5px;
  font-size: 12px;
  text-transform: uppercase;
}

.comparison-table tbody tr {
  border-bottom: 1px solid var(--line);
  transition: background .15s;
}

.comparison-table tbody tr:hover {
  background: var(--accent-light);
}

.comparison-table tbody tr:last-child {
  border-bottom: none;
}

.comparison-table td {
  padding: 14px 16px;
  color: var(--ink);
  vertical-align: middle;
}

.comparison-table td:first-child {
  font-weight: 700;
  width: 40px;
  color: var(--muted);
}

.comparison-table .firm-name {
  font-weight: 600;
  color: var(--ink);
}

.comparison-table .rating {
  font-weight: 700;
  white-space: nowrap;
}

.comparison-table .rating .stars {
  color: var(--star);
  font-size: 12px;
  margin-left: 4px;
  letter-spacing: 1px;
}

.comparison-table .reviews {
  color: var(--muted);
  font-size: 12px;
}

.comparison-table .best-for {
  color: var(--muted);
  max-width: 240px;
}

.comparison-table .view-link {
  color: var(--cta);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.comparison-table .view-link:hover {
  text-decoration: underline;
}

/* ---------- Listing ---------- */
.listing { max-width: 1200px; margin: 28px auto; padding: 0 24px; }

.list-head {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px;
  margin-top: 8px;
}

.list-head h2 { font-size: 16px; font-weight: 700; }

.sortbox {
  background: var(--accent-light); border: none; border-radius: 10px;
  padding: 8px 14px; font-size: 12px; font-weight: 500; color: var(--muted);
  cursor: pointer; font-family: inherit;
}

.featured-wrap {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px; margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.featured-label {
  font-weight: 700; font-size: 11px; letter-spacing: 1px;
  color: var(--muted); text-transform: uppercase; margin: 10px 0 14px 14px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px; margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
  }

.card:hover {
  box-shadow: var(--shadow-md); transform: translateY(-1px);
}

.card-top { display: flex; gap: 14px; align-items: flex-start; }

.card-logo {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 700;
  color: var(--icon-fg); background: var(--icon-bg); font-size: 15px;
  box-shadow: none;
}

.card-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: space-between; }

.card-title { font-size: 18px; font-weight: 800; letter-spacing: -.3px; }

.verif {
  font-size: 11px; font-weight: 600; color: #047857;
  background: #d1fae5; border: none; border-radius: 20px; padding: 3px 10px;
  white-space: nowrap;
}

.not-verified {
  font-size: 11px; font-weight: 600; color: #b45309;
  background: #fef3c7; border: none; border-radius: 20px; padding: 3px 10px;
  white-space: nowrap;
}

.guarantee {
  font-size: 11px; font-weight: 600; color: var(--muted);
  background: #f1f5f9; border: none; border-radius: 20px; padding: 3px 10px;
}

.stars { color: var(--star); font-size: 14px; letter-spacing: 2px; }

.rating-row { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-top: 4px; }

.rating-row b { font-size: 16px; font-weight: 800; }

.rating-row .reviews { color: var(--accent); font-weight: 500; }

.rating-row .reviews:hover { text-decoration: underline; }

.card-actions { margin-left: auto; display: flex; gap: 8px; }

.btn {
  border-radius: 10px; padding: 10px 18px; font-size: 13px; font-weight: 600; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  transition: all .15s;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; line-height: 1;
}

.btn:hover { background: var(--accent-light); }

.btn-primary {
  background: var(--cta); color: #fff; border-color: var(--cta);
}

.btn-primary:hover { background: var(--cta-dark); }

.card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.meta { 
  font-size: 13px; 
  color: var(--ink);
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.meta li {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-weight: 500;
}

.meta li strong {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.meta li:last-child {
  color: var(--muted);
}

.meta .ic { 
  display: none;
}

.services-title {
  font-size: 10px; letter-spacing: 1px; color: var(--muted);
  font-weight: 700; margin-bottom: 10px; text-transform: uppercase;
}

.bar {
  display: none;
}

.bar span { display: block; border-radius: 3px; }

.svc-list { 
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.svc-list li {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  background: #f0f9f7;
  color: #047857;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #d1fae5;
}

.svc-list li .dot {
  display: none;
}

.svc-more { 
  display: none;
}

.svc-less {
  display: none;
}

.desc { 
  font-size: 13px; 
  color: var(--muted); 
  line-height: 1.7;
}

.desc .seeall {
  display: inline-block;
  margin-left: 4px;
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
}

.desc .seeall:hover { text-decoration: underline; }

.pills { 
  display: flex; 
  flex-wrap: wrap;
  gap: 8px; 
  margin-top: 14px;
}

.pill {
  background: var(--accent-light); 
  border: none; 
  border-radius: 6px; 
  padding: 8px 12px;
  font-size: 12px; 
  color: var(--muted); 
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: background .15s;
}

.pill:hover { background: #ececec; }

/* ---------- Top-pick card highlight + ribbon ---------- */
.card.top-pick {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding-top: 0; 
  overflow: hidden;
  background: #fafbfc;
}

.pick-ribbon {
  margin: 0 -24px 20px -24px;
  background: linear-gradient(135deg, #047857 0%, #047857 100%);
  color: #fff; padding: 11px 24px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  font-size: 12px;
}

.pick-label {
  font-weight: 800; letter-spacing: 1.2px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
}

.pick-fact {
  position: relative; opacity: .95; white-space: nowrap; font-weight: 500;
  padding-left: 18px;
}

.pick-fact::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.55);
}

.pick-cta {
  margin-left: auto; background: #fff; color: var(--ink);
  font-weight: 700; padding: 6px 14px; border-radius: 8px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px; transition: transform .15s;
}

.pick-cta:hover { transform: translateY(-1px); }

.compare {
  display: block; margin-top: 10px; font-size: 12px; font-weight: 700;
  color: var(--ink); background: var(--accent-light);
  border-radius: 8px; padding: 8px 12px;
}

.showing {
  text-align: center; font-size: 13px; color: var(--muted); font-weight: 600;
  margin: 8px 0 28px;
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--ink);
  color: #fff; border-radius: var(--radius); padding: 32px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  margin-bottom: 56px;
}

.final-cta h3 { font-size: 22px; font-weight: 800; letter-spacing: -.3px; }

.final-cta p { font-size: 14px; opacity: .75; margin-top: 6px; max-width: 560px; }

.final-cta .cta-btn {
  margin-left: auto; background: #fff;
  color: var(--ink); font-weight: 700; font-size: 14px; padding: 14px 26px; border-radius: 10px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s, box-shadow .15s; white-space: nowrap;
}

.final-cta .cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }

/* ---------- Expert section ---------- */
.expert-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.expert-section h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.3px;
  margin-bottom: 22px;
}

.expert-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 0;
}

.expert-card img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex: none;
}

.expert-card figcaption {
  flex: 1;
}

.expert-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 4px 0;
}

.expert-role {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 12px 0;
}

.expert-verdict {
  margin: 0;
  padding: 16px;
  background: #f8fafc;
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  font-style: italic;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.8;
}

.expert-verdict p {
  margin: 0;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  z-index: 1000;
}

.skip-link:focus {
  top: 0;
}

/* ---------- Focus styles ---------- */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- No-JS handling ---------- */
html.no-js .faq-answer {
  grid-template-rows: 1fr;
  max-height: none;
  opacity: 1;
  padding: 16px 0;
}

/* ---------- Trust chips ---------- */
.trust-chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trust-chips li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
}

.trust-chips li::before {
  content: '✓';
  font-weight: 700;
  color: #047857;
  flex: none;
}

/* ---------- Facts list ---------- */
.facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.facts li {
  font-size: 13px;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.facts li::before {
  content: '•';
  color: var(--muted);
  flex: none;
}

/* ---------- Company-stated tag ---------- */
.stated-tag {
  background: #fef3c7;
  color: #b45309;
  font-weight: 600;
  border-radius: 3px;
  padding: 1px 6px;
  font-size: 11px;
  margin-left: 4px;
}

/* ---------- Sources details ---------- */
.sources {
  margin-top: 16px;
}

.sources summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  font-size: 12px;
  padding: 6px 0;
}

.sources summary:hover {
  text-decoration: underline;
}

.sources ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
}

.sources li {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  line-height: 1.6;
}

.sources a {
  color: var(--accent);
  font-weight: 600;
}

.sources a:hover {
  text-decoration: underline;
}

/* ---------- Rating labels ---------- */
.rating-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.google-snapshot {
  display: flex !important;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #f0f9f7;
  border: 1px solid #d1fae5;
  border-radius: 6px;
  font-size: 12px;
  color: #047857;
  font-weight: 500;
}

.editorial-score {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

/* ---------- CTA buttons for home vs external ---------- */
.btn-primary-cta {
  background: var(--cta);
  color: #fff;
  border-color: var(--cta);
  font-weight: 700;
}

.btn-primary-cta:hover {
  background: var(--cta-dark);
}

.btn-outline-cta {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-outline-cta:hover {
  background: var(--accent-light);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .meta { gap: 24px; }
  .expert-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .meta { gap: 16px; flex-direction: column; }
  .pick-cta { margin-left: 0; }
  .final-cta { flex-direction: column; align-items: flex-start; }
  .final-cta .cta-btn { margin-left: 0; }
  .expert-card {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .mainnav .wrap { flex-wrap: wrap; gap: 10px 16px; padding: 12px 16px; }
  .mainnav nav { margin-left: 0; width: 100%; }
  .pagehead .wrap { padding: 20px 0 20px 16px; }
  .pagehead h1 { font-size: 26px; }
  .filterbar .wrap { padding: 12px 16px; }
  .filterbar .dropdown { flex: 1; min-width: 0; }
  .count { margin-left: 0; width: 100%; }
  .listing { padding: 0 16px; margin: 20px auto; }
  .list-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .featured-wrap { padding: 12px; }
  .card { padding: 18px; }
  .card-top { flex-wrap: wrap; }
  .card-actions { margin-left: 0; width: 100%; }
  .card-actions .btn { flex: 1; text-align: center; }
  .pick-ribbon { margin: 0 -18px 16px -18px; padding: 10px 18px; gap: 8px 14px; }
  .pick-cta { width: 100%; justify-content: center; margin-top: 4px; }
  .final-cta { padding: 24px; }
  .final-cta h2 { font-size: 19px; }
  .final-cta .cta-btn { width: 100%; justify-content: center; }
  .expert-section { padding: 20px 16px; }
  .expert-card {
    flex-direction: column;
    text-align: center;
  }
  .expert-verdict {
    margin-top: 12px;
  }
}

@media (max-width: 400px) {
  .pagehead h1 { font-size: 24px; }
  .card-actions { flex-direction: column; }
  .pick-fact { white-space: normal; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ============================================
   v2 additions: semantic layout, FAQ, cards
   ============================================ */
.mainnav .logo a { color: inherit; }
.mainnav nav a { color: #44474b; }

.crumbbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.crumbbar .wrap { max-width: 1200px; margin: 0 auto; padding: 12px 24px; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a { text-decoration: underline; }

.hero {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; margin-bottom: 28px; box-shadow: var(--shadow-sm);
}
.hero h1 { font-size: 30px; font-weight: 800; letter-spacing: -.3px; margin-bottom: 8px; }
.eyebrow { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 10px; }
.intro { font-size: 15px; line-height: 1.8; max-width: 820px; }
.intro a { text-decoration: underline; font-weight: 700; color: var(--ink); }

.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; margin-bottom: 28px; box-shadow: var(--shadow-sm);
}
.panel h2, .expert-section h2, .comparison-table-wrap h2 { font-size: 20px; font-weight: 800; letter-spacing: -.3px; margin-bottom: 14px; }
.panel p { font-size: 14px; line-height: 1.8; margin-bottom: 12px; }
.panel ol, .panel ul.plain { margin: 0 0 14px 20px; font-size: 14px; line-height: 1.8; }
.panel ol li, .panel ul.plain li { margin-bottom: 8px; }
.panel h3 { font-size: 16px; font-weight: 800; margin: 16px 0 8px; }
.disclosure {
  background: #e8f7ef; border-left: 4px solid #047857; border-radius: 8px;
  padding: 14px 16px; font-size: 13px; color: #065f46; line-height: 1.75;
}
.panel .disclosure { margin-bottom: 0; }

.expert-independence { font-size: 12px; font-weight: 600; color: #065f46; margin: 0 0 12px 0; }

.comparison-table-wrap h2 { padding: 24px 24px 16px; margin: 0; border-bottom: 1px solid var(--line); text-align: center; }
.table-scroll { overflow-x: auto; }
.comparison-table caption { text-align: left; font-size: 12px; color: var(--muted); padding: 12px 16px; }
.comparison-table tbody th { padding: 14px 16px; text-align: left; font-weight: 600; color: var(--ink); }
.comparison-table tbody th a { text-decoration: underline; }
.comparison-table .view-link { text-decoration: underline; }

.list-head h2 { font-size: 20px; font-weight: 800; }

.company-position { font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: 1px; }
.card-top > .card-logo { margin-top: 2px; }
.company-id { flex: 1; min-width: 0; }
.best-for-line { font-size: 13px; color: var(--muted); margin-top: 2px; }
.best-for-line strong { color: var(--ink); }
.scores { margin-top: 8px; display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.editorial-block { margin: 0; }
.editorial-block .rating-row { margin-top: 0; }
.google-snapshot { margin: 0; }
.google-snapshot.google-missing { background: #fef3c7; border-color: #fcd34d; color: #92400e; }
.logo-1 { background: #0052cc; color: #fff; }
.logo-2 { background: #0f766e; color: #fff; }
.logo-3 { background: #b91c1c; color: #fff; }
.logo-4 { background: #b45309; color: #fff; }
.logo-5 { background: #0e7490; color: #fff; }

.card-body h4 { font-size: 13px; font-weight: 700; color: var(--ink); margin: 6px 0 -4px; }
.card-body .desc { font-size: 13px; color: #44474b; }
.highlight-strip {
  background: var(--accent-light); border-radius: 8px; padding: 10px 14px;
  font-size: 13px; color: var(--ink); line-height: 1.7;
}
.card-cta { margin-top: 4px; }
.card-cta .btn { padding: 12px 20px; }
.cta-arrow { margin-left: 6px; }
.btn-primary-cta { background: var(--cta); color: #fff; border-color: var(--cta); }
.btn-outline-cta { background: var(--surface); color: var(--ink); border: 1px solid #b8bbc0; }
.stated-tag { margin-left: 4px; }
.pick-ribbon { margin: 0 -24px 20px -24px; }

.final-cta h2 { font-size: 22px; font-weight: 800; letter-spacing: -.3px; margin: 0; }

/* ---------- FAQ accordion (content always in DOM) ---------- */
.faq-item { margin-bottom: 12px; }
.faq-item h3 { margin: 0; font-size: 14px; }
.faq-trigger {
  width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; font: inherit; font-size: 14px; font-weight: 600;
  color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-trigger:hover { background: var(--accent-light); }
.faq-trigger::after { content: '\25BC'; font-size: 11px; transition: transform .2s; flex: none; }
.faq-trigger[aria-expanded="true"]::after { transform: rotate(180deg); }
.faq-answer { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .2s; }
.faq-answer-inner { min-height: 0; overflow: hidden; }
.faq-answer-inner p { padding: 12px 16px 16px; font-size: 13px; color: #44474b; line-height: 1.8; margin: 0; opacity: 1; }
html:not(.no-js) .faq-answer[data-open="false"] { grid-template-rows: 0fr; }
html.no-js .js-only { display: none; }

@media (max-width: 640px) {
  .hero h1 { font-size: 26px; }
  .crumbbar .wrap { padding: 12px 16px; }
  .pick-ribbon { margin: 0 -18px 16px -18px; }
}

/* ---------- Footer and narrow layout ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); margin-top: 56px; padding: 40px 24px; text-align: center; font-size: 13px; line-height: 1.8; }
.site-footer a { text-decoration: underline; font-weight: 600; }
.site-footer .small { font-size: 12px; color: var(--muted); margin-top: 8px; }
.listing.narrow { max-width: 860px; }

.comparison-table .btn { white-space: nowrap; padding: 9px 14px; text-decoration: none; }
