/* T27 Best Agency Call Tracking — bestagencycalltracking.com
   Palette: slate #334155 / dark #1E293B / soft #F1F5F9, blue highlight #2563EB on white.
   Typography: Inter Tight (display) + Inter (body).
   Layout: data-forward dashboard. Decisive "best for agencies" pick. The signature
   visuals are multi-client agency dashboard scorecards (per-client overhead, sub-account
   counts) and a per-client cost table. Dense, outlined cards with subtle shadow, 10px
   radii. Mono numerals via tabular-nums. Deliberately distinct from site 17's violet
   comparison-first roundup and the dark/lime terminal look of bestpaypercallplatform. */

:root {
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-soft-2: #F1F5F9;
  --bg-panel: #FBFCFE;
  --bg-card: #FFFFFF;
  --ink: #1E293B;
  --ink-soft: #334155;
  --muted: #64748B;
  --muted-2: #94A3B8;
  --rule: #E2E8F0;
  --rule-strong: #CBD5E1;
  --slate: #334155;
  --slate-dark: #1E293B;
  --accent: #2563EB;
  --accent-dark: #1D4ED8;
  --accent-soft: #EFF4FF;
  --accent-soft-2: #DBEAFE;
  --good: #15803D;
  --good-soft: #DCFCE7;
  --warn: #B45309;
  --bad: #B91C1C;
  --max: 1180px;
  --max-prose: 740px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16.5px;
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }

h1, h2, h3, h4, h5 {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 1.5em 0 .5em;
  font-weight: 700;
}
h1 { font-size: 46px; line-height: 1.08; letter-spacing: -0.035em; margin-top: 0; }
h2 { font-size: 29px; line-height: 1.2; margin-top: 1.8em; }
h3 { font-size: 21px; line-height: 1.3; margin-top: 1.6em; }
h4 { font-size: 16.5px; line-height: 1.35; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
strong { font-weight: 700; color: var(--ink); }
hr.divider { border: 0; border-top: 1px solid var(--rule); margin: 2.4em 0; }
.tnum { font-variant-numeric: tabular-nums; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  h3 { font-size: 19px; }
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.container-prose { max-width: var(--max-prose); margin: 0 auto; padding: 0 22px; }

/* === Header / brand === */
.site-header {
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 50;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 13px; padding-bottom: 13px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--accent-dark); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--slate-dark);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  flex: none; box-shadow: 0 1px 0 var(--accent) inset, 0 3px 8px rgba(30,41,59,.2);
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--accent); border-radius: 0 0 9px 9px;
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-words { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 16.5px; letter-spacing: -0.03em; }
.brand-tag { font-size: 9.5px; letter-spacing: 1.6px; color: var(--muted); font-weight: 700; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 22px; font-size: 14.5px; font-weight: 500; }
.nav a { color: var(--ink-soft); text-decoration: none; }
.nav a:hover { color: var(--accent-dark); }
.nav .btn-sm { color: #fff; }
.nav-toggle {
  display: none; background: var(--bg-soft-2); border: 1px solid var(--rule);
  border-radius: 8px; padding: 8px 13px; font-weight: 600; cursor: pointer; color: var(--ink);
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; top: 62px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--rule);
    flex-direction: column; gap: 0; padding: 8px 22px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; border-bottom: 1px solid var(--rule); width: 100%; }
  .nav a:last-child { border-bottom: 0; }
}

/* === Buttons === */
.btn {
  display: inline-block; padding: 13px 22px;
  border-radius: 9px; font-weight: 600; text-decoration: none;
  font-size: 15px; letter-spacing: 0; transition: transform .12s, box-shadow .12s, background .12s;
  border: 1px solid transparent; font-family: 'Inter Tight', sans-serif;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 12px rgba(37,99,235,.22); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 7px 18px rgba(37,99,235,.28); }
.btn-secondary { background: var(--bg); color: var(--ink); border-color: var(--rule-strong); }
.btn-secondary:hover { background: var(--bg-soft); color: var(--accent-dark); border-color: var(--accent); }
.btn-sm { padding: 9px 15px; font-size: 14px; border-radius: 8px; }

/* === Breadcrumbs === */
.breadcrumb { font-size: 13.5px; color: var(--muted); padding: 15px 0; font-weight: 500; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-dark); }

/* === Hero — dashboard split === */
.hero {
  background:
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  padding: 54px 0 46px;
  border-bottom: 1px solid var(--rule);
}
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--slate-dark); color: #fff;
  padding: 5px 12px; border-radius: 6px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 18px;
}
.hero .eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 { margin-bottom: 16px; max-width: 14ch; }
.hero h1 .hl { color: var(--accent); }
.hero .lede { font-size: 18.5px; color: var(--ink-soft); max-width: 52ch; margin-bottom: 24px; }
.hero-ctas { display: flex; gap: 11px; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 32px; }
}

/* Hero dashboard panel — signature visual */
.dash-panel {
  background: var(--bg-card); border: 1px solid var(--rule-strong);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 14px 40px rgba(30,41,59,.1);
}
.dash-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; background: var(--slate-dark); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
}
.dash-bar .dots { display: inline-flex; gap: 5px; margin-right: 6px; }
.dash-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #475569; display: inline-block; }
.dash-bar .dots i:first-child { background: #64748B; }
.dash-bar .grow { margin-left: auto; color: var(--accent-soft-2); font-variant-numeric: tabular-nums; }
.dash-body { padding: 16px; }
.dash-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.dash-kpi {
  background: var(--bg-soft-2); border: 1px solid var(--rule); border-radius: 9px; padding: 12px 14px;
}
.dash-kpi .k-num { font-family: 'Inter Tight', sans-serif; font-size: 24px; font-weight: 700; color: var(--slate-dark); line-height: 1; font-variant-numeric: tabular-nums; }
.dash-kpi .k-num.blue { color: var(--accent); }
.dash-kpi .k-lbl { font-size: 11.5px; color: var(--muted); margin-top: 5px; font-weight: 600; }
.dash-rows { border: 1px solid var(--rule); border-radius: 9px; overflow: hidden; }
.dash-row {
  display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center;
  padding: 9px 13px; font-size: 13px; border-bottom: 1px solid var(--rule);
}
.dash-row:last-child { border-bottom: 0; }
.dash-row .name { font-weight: 600; color: var(--ink-soft); }
.dash-row .meta { color: var(--muted); font-variant-numeric: tabular-nums; }
.dash-row.head { background: var(--bg-soft-2); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; }
.dash-row .pill { font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 5px; background: var(--good-soft); color: var(--good); }

/* === Stat strip under hero === */
.stat-strip { border-bottom: 1px solid var(--rule); background: var(--bg-panel); }
.stat-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-strip .cell { padding: 20px 14px; border-left: 1px solid var(--rule); }
.stat-strip .cell:first-child { border-left: 0; padding-left: 0; }
.stat-strip .s-num { font-family: 'Inter Tight', sans-serif; font-size: 26px; font-weight: 700; color: var(--slate-dark); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-strip .s-num.blue { color: var(--accent); }
.stat-strip .s-lbl { font-size: 12.5px; color: var(--muted); margin-top: 6px; font-weight: 500; }
@media (max-width: 760px) {
  .stat-strip .container { grid-template-columns: 1fr 1fr; }
  .stat-strip .cell { border-left: 0; border-top: 1px solid var(--rule); padding: 16px 0; }
  .stat-strip .cell:nth-child(odd) { padding-right: 14px; }
  .stat-strip .cell:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--rule); }
}

/* === Sections === */
.section { padding: 56px 0; }
.section.alt { background: var(--bg-soft); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-head { margin-bottom: 26px; max-width: 64ch; }
.section-head .kicker {
  display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700;
  color: var(--accent-dark); letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 10px;
}
.section-head .kicker::before { content: ""; width: 18px; height: 2px; background: var(--accent); display: inline-block; }
.section-head h2 { margin-top: 0; }
.section-head .muted { font-size: 16px; }

/* === Ranked picks table (homepage) === */
.picks-table {
  width: 100%; border-collapse: collapse; margin: 22px 0;
  background: var(--bg-card); border: 1px solid var(--rule-strong); border-radius: 11px;
  overflow: hidden; font-size: 14.5px;
  box-shadow: 0 4px 16px rgba(30,41,59,.05);
}
.picks-table th, .picks-table td {
  padding: 14px 16px; text-align: left; vertical-align: middle;
  border-bottom: 1px solid var(--rule);
}
.picks-table th {
  background: var(--slate-dark); color: #CBD5E1; font-size: 11px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
}
.picks-table tr:last-child td { border-bottom: 0; }
.picks-table .tool { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.picks-table .tool strong { font-weight: 700; color: var(--ink); }
.picks-table .top-pick td { background: var(--accent-soft); }
.picks-table .top-pick td:first-child { border-left: 3px solid var(--accent); padding-left: 13px; }
.picks-table .badge {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: 9.5px; font-weight: 700; padding: 3px 7px; border-radius: 5px;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.picks-table td.rank-cell { width: 48px; font-family: 'Inter Tight', sans-serif; font-weight: 700; color: var(--muted-2); font-size: 17px; font-variant-numeric: tabular-nums; }
.picks-table td.score-cell { font-family: 'Inter Tight', sans-serif; font-weight: 700; color: var(--slate-dark); font-variant-numeric: tabular-nums; }
.picks-table .col-price { font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .picks-table { font-size: 13.5px; }
  .picks-table th, .picks-table td { padding: 11px 9px; }
  .picks-table .col-best, .picks-table .col-price { display: none; }
}

/* === Agency scorecards (signature data block) — per-client overhead === */
.agency-board { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin: 24px 0; }
.agency-card {
  background: var(--bg-card); border: 1px solid var(--rule-strong); border-radius: 10px;
  padding: 18px 18px 16px; box-shadow: 0 3px 10px rgba(30,41,59,.04);
  position: relative; overflow: hidden;
}
.agency-card.lead { border-color: var(--accent); box-shadow: 0 6px 20px rgba(37,99,235,.12); }
.agency-card.lead::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); }
.agency-card .ac-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.agency-card .ac-name { font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 17px; color: var(--ink); }
.agency-card .ac-tag { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); background: var(--accent-soft); padding: 3px 8px; border-radius: 5px; }
.agency-card .ac-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.agency-card .ac-stat { background: var(--bg-soft); padding: 10px 12px; }
.agency-card .ac-stat .v { font-family: 'Inter Tight', sans-serif; font-size: 18px; font-weight: 700; color: var(--slate-dark); line-height: 1.1; font-variant-numeric: tabular-nums; }
.agency-card.lead .ac-stat .v.hl { color: var(--accent); }
.agency-card .ac-stat .l { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* === Per-client cost table (signature) === */
.cost-table {
  width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14.5px;
  background: var(--bg-card); border: 1px solid var(--rule-strong); border-radius: 11px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(30,41,59,.05);
}
.cost-table caption { caption-side: top; text-align: left; font-size: 12px; color: var(--muted); padding: 0 0 10px; font-weight: 600; }
.cost-table th, .cost-table td { padding: 12px 15px; border-bottom: 1px solid var(--rule); text-align: right; font-variant-numeric: tabular-nums; }
.cost-table th:first-child, .cost-table td:first-child { text-align: left; }
.cost-table thead th { background: var(--bg-soft-2); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 700; }
.cost-table tbody tr:last-child td { border-bottom: 0; }
.cost-table .lo { color: var(--good); font-weight: 700; }
.cost-table .hi { color: var(--bad); font-weight: 600; }
.cost-table tr.total td { background: var(--accent-soft); font-weight: 700; color: var(--ink); border-top: 2px solid var(--accent); }
@media (max-width: 600px) { .cost-table { font-size: 13px; } .cost-table th, .cost-table td { padding: 9px 9px; } }

/* === Review cards === */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin: 24px 0; }
.review-card {
  background: var(--bg-card); border: 1px solid var(--rule); border-radius: 10px;
  padding: 20px; box-shadow: 0 3px 10px rgba(30,41,59,.04); transition: transform .14s, box-shadow .14s, border-color .14s;
}
.review-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(30,41,59,.1); border-color: var(--rule-strong); }
.review-card.featured { border-color: var(--accent); border-width: 1.5px; }
.review-card .rank {
  display: inline-block; font-size: 10.5px; font-weight: 700; color: var(--muted);
  background: var(--bg-soft-2); padding: 3px 9px; border-radius: 5px;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 11px;
}
.review-card.featured .rank { background: var(--accent); color: #fff; }
.review-card h3 { margin: 0 0 5px; font-size: 19px; }
.review-card .one-liner { font-size: 13.5px; color: var(--muted); margin-bottom: 13px; }
.review-card .stat-row { display: flex; gap: 18px; margin-bottom: 13px; font-size: 12.5px; }
.review-card .stat-row span { color: var(--muted); }
.review-card .stat-row strong { color: var(--ink); display: block; font-size: 15px; font-family: 'Inter Tight', sans-serif; font-variant-numeric: tabular-nums; }
.review-card a.read { font-weight: 600; font-size: 13.5px; }

/* === Scorecard (review pages) — horizontal bars === */
.scorecard {
  background: var(--bg-card); border: 1px solid var(--rule-strong); border-radius: 10px;
  padding: 18px 20px; margin: 22px 0; box-shadow: 0 3px 10px rgba(30,41,59,.04);
}
.scorecard h4 { margin: 0 0 14px; font-size: 12px; color: var(--muted); letter-spacing: 0.07em; text-transform: uppercase; }
.score-row { display: grid; grid-template-columns: 200px 1fr 42px; gap: 14px; align-items: center; margin: 10px 0; font-size: 13.5px; }
.score-row .lbl { color: var(--ink-soft); font-weight: 600; }
.score-row .bar { background: var(--bg-soft-2); height: 8px; border-radius: 999px; overflow: hidden; }
.score-row .bar span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.score-row .bar span.green { background: var(--good); }
.score-row .num { font-family: 'Inter Tight', sans-serif; font-weight: 700; color: var(--slate-dark); text-align: right; font-size: 14px; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .score-row { grid-template-columns: 1fr 42px; } .score-row .bar { grid-column: 1 / -1; } }

/* === Verdict callout (economics) === */
.econ-callout {
  display: grid; grid-template-columns: 50px 1fr; gap: 16px;
  background: var(--good-soft); border: 1px solid #BBF7D0;
  border-radius: 10px; padding: 16px 20px; margin: 22px 0;
}
.econ-callout .econ-ico {
  width: 40px; height: 40px; border-radius: 9px; background: #fff; color: var(--good);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 19px;
}
.econ-callout h4 { margin: 0 0 5px; font-size: 14.5px; color: #14532D; }
.econ-callout p { margin: 0; font-size: 13.5px; color: #166534; }

/* === TLDR / CTA blocks === */
.tldr {
  background: var(--bg-panel); border: 1px solid var(--rule-strong);
  border-left: 4px solid var(--slate); border-radius: 10px; padding: 20px 22px; margin: 26px 0;
}
.tldr h4 { margin: 0 0 10px; font-size: 11px; color: var(--slate); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 800; }
.tldr ul { margin: 0; padding-left: 18px; }
.tldr li { margin: 7px 0; color: var(--ink-soft); }
.tldr .overall {
  margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--rule);
  font-weight: 800; color: var(--accent-dark); font-size: 14px; letter-spacing: 0.02em;
}

.tldr-cta {
  background: var(--accent-soft); border: 1px solid var(--accent-soft-2);
  border-radius: 10px; padding: 20px; margin: 22px 0; text-align: center;
}
.tldr-cta .btn { margin-bottom: 8px; }
.tldr-cta .subtext { font-size: 12.5px; color: var(--ink-soft); margin: 0; font-weight: 500; }

.tldr-crosslink {
  background: var(--bg-soft); border: 1px solid var(--rule);
  border-left: 3px solid var(--accent); border-radius: 8px;
  padding: 15px 18px; margin: 20px 0; font-size: 14.5px; color: var(--ink-soft);
}
.tldr-crosslink p { margin: 0; }
.tldr-crosslink strong { color: var(--ink); }

.cta-card {
  background: var(--slate-dark); color: #fff;
  border-radius: 11px; padding: 28px 26px; margin: 32px 0; text-align: center;
  box-shadow: 0 12px 30px rgba(30,41,59,.2); position: relative; overflow: hidden;
}
.cta-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); }
.cta-card h4 { font-family: 'Inter Tight', sans-serif; color: #fff; margin: 0 0 14px; font-size: 19px; font-weight: 700; }
.cta-card .btn-primary { background: var(--accent); color: #fff; }
.cta-card .btn-primary:hover { background: #fff; color: var(--accent-dark); }
.cta-card .subtext { color: #94A3B8; font-size: 12.5px; margin: 12px 0 0; }

/* === Pros/cons === */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0; }
.proscons .pros, .proscons .cons {
  border: 1px solid var(--rule); border-radius: 10px; padding: 18px 20px; background: var(--bg-card);
}
.proscons .pros { border-top: 3px solid var(--good); }
.proscons .cons { border-top: 3px solid var(--warn); }
.proscons h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; }
.proscons ul { padding-left: 18px; margin: 0; }
.proscons li { margin: 6px 0; font-size: 13.5px; }
@media (max-width: 600px) { .proscons { grid-template-columns: 1fr; } }

/* === Pricing list === */
.pricing-list { list-style: none; padding: 0; margin: 18px 0; }
.pricing-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 17px; background: var(--bg-soft); border: 1px solid var(--rule);
  border-radius: 9px; margin: 8px 0;
}
.pricing-list .plan { font-weight: 700; color: var(--ink); }
.pricing-list .price { font-family: 'Inter Tight', sans-serif; font-weight: 700; color: var(--accent-dark); font-size: 15px; font-variant-numeric: tabular-nums; }

/* === Decision tree quick picks === */
.decision-tree { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 14px; }
.decision-tree .pick {
  background: var(--bg-card); border: 1px solid var(--rule); border-left: 3px solid var(--rule-strong);
  border-radius: 9px; padding: 18px;
}
.decision-tree .pick.lead { border-left-color: var(--accent); }
.decision-tree .pick .if {
  font-size: 11px; color: var(--muted); font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 7px;
}
.decision-tree .pick strong { display: block; font-family: 'Inter Tight', sans-serif; font-size: 16px; margin-bottom: 4px; color: var(--ink); }
.decision-tree .pick p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

/* === Methodology weight bars === */
.weight-row { display: grid; grid-template-columns: 230px 1fr 48px; gap: 14px; align-items: center; margin: 10px 0; font-size: 13.5px; }
.weight-row .bar { background: var(--bg-soft-2); height: 8px; border-radius: 999px; overflow: hidden; }
.weight-row .bar span { display: block; height: 100%; background: var(--accent); }
.weight-row .pct { font-family: 'Inter Tight', sans-serif; font-weight: 700; color: var(--accent-dark); text-align: right; font-size: 13px; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .weight-row { grid-template-columns: 1fr 48px; } .weight-row .bar { grid-column: 1 / -1; } }

/* === Article body === */
.article-header { padding: 32px 0 8px; }
.article-header .kicker {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  color: var(--accent-dark); letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 13px;
}
.article-header .lede { font-size: 18.5px; color: var(--ink-soft); margin-bottom: 18px; max-width: 62ch; }
.byline-row {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--muted); margin-bottom: 8px;
}
.byline-row img { width: 36px; height: 36px; border-radius: 50%; }
.byline-row .sep { color: var(--rule-strong); }
.author-name { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px dotted var(--muted); }
.author-mention { position: relative; }
.author-card {
  display: none; position: absolute; top: 24px; left: 0; z-index: 10;
  background: var(--slate-dark); color: #fff;
  padding: 13px 15px; border-radius: 10px; font-size: 13px;
  width: 290px; line-height: 1.55; box-shadow: 0 12px 28px rgba(30,41,59,.32);
}
.author-card strong { display: block; font-weight: 700; margin-bottom: 4px; color: #fff; }
.author-mention:hover .author-card,
.author-name:focus + .author-card { display: block; }

.article-body { max-width: var(--max-prose); margin: 0 auto; }
.article-body p, .article-body ul, .article-body ol, .article-body details, .article-body table { margin-bottom: 1.15em; }
.article-body details {
  background: var(--bg-soft); border: 1px solid var(--rule); border-radius: 9px; padding: 14px 17px;
}
.article-body details summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 2px 0; }
.article-body details[open] summary { margin-bottom: 8px; }

.tool-screenshot {
  margin: 28px 0; border: 1px solid var(--rule-strong); border-radius: 11px; overflow: hidden;
  background: var(--bg-soft); box-shadow: 0 6px 20px rgba(30,41,59,.07);
}
.tool-screenshot img { width: 100%; display: block; }
.tool-screenshot figcaption {
  font-size: 12.5px; color: var(--muted); padding: 11px 16px;
  background: var(--bg-card); border-top: 1px solid var(--rule);
}

/* === Footer === */
.site-footer { background: var(--slate-dark); color: #94A3B8; padding: 48px 0 24px; margin-top: 60px; }
.site-footer h4 { font-family: 'Inter Tight', sans-serif; color: #fff; font-size: 13.5px; margin: 0 0 13px; letter-spacing: 0.03em; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; padding-bottom: 24px; border-bottom: 1px solid #334155; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; font-size: 13.5px; }
.site-footer ul li { margin: 7px 0; }
.site-footer a { color: #94A3B8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.disclosure { padding-top: 20px; font-size: 12.5px; color: #64748B; line-height: 1.6; }
.disclosure strong { color: #CBD5E1; }

/* References */
.references { font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 14px; margin-top: 30px; }
.references a { color: var(--ink-soft); }

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

/* === Reviews dropdown === */
.nav-dropdown { position: relative; }
.nav-dropdown > .dropdown-trigger { cursor: pointer; display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.nav-dropdown > .dropdown-trigger::after {
  content: "\25BE"; font-size: 0.72em; margin-left: 3px; opacity: 0.6; color: currentColor;
  transition: opacity .15s ease, color .15s ease;
}
.nav-dropdown:hover > .dropdown-trigger,
.nav-dropdown:focus-within > .dropdown-trigger { color: var(--accent-dark); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 11px); left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--bg-card); border: 1px solid var(--rule); border-radius: 10px;
  box-shadow: 0 16px 34px rgba(30,41,59,.14);
  min-width: 280px; padding: 7px 0;
  opacity: 0; visibility: hidden;
  transition: opacity .15s ease, transform .15s ease, visibility .15s; z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 18px; font-size: 14px; color: var(--ink); text-decoration: none; font-weight: 500;
}
.nav-dropdown-menu a:hover { background: var(--accent-soft); color: var(--accent-dark); }
.nav-dropdown-menu .pick-tag {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 999px; margin-left: 12px;
}
@media (max-width: 860px) {
  .nav-dropdown { width: 100%; }
  .nav-dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    border: none; box-shadow: none; background: transparent;
    padding: 4px 0 0 14px; min-width: 0; margin-top: 4px; border-left: 2px solid var(--rule);
  }
  .nav-dropdown-menu a { padding: 8px 0; font-size: 13px; color: var(--muted); }
  .nav-dropdown-menu a:hover { background: transparent; color: var(--accent); }
}
