/* T24 Twilio Alternatives — twilioalternatives.com
   Palette: dark navy #0B1220 bg / panels #131C2E / cyan accent #22D3EE / deep cyan #0E7490 /
   soft cyan rgba / light text #E2E8F0 / amber warn / coral bad.
   Typography: Outfit (display) + Inter (body) + JetBrains Mono (code-style callouts).
   Layout: build-vs-buy framing. Signature visual is a cost/effort comparison block plus
   monospace code-style callouts contrasting Twilio API work vs no-code setup. Cards use a
   subtle border + cyan glow, radius 12px. Distinct from site 6's dark/lime terminal look:
   this is navy/cyan, Outfit not IBM Plex, glow-card not box-shadow-card, and the structure
   leads with a build-vs-buy split rather than a routing-flow diagram. */

:root {
  --bg: #0B1220;
  --bg-soft: #0F1827;
  --panel: #131C2E;
  --panel-2: #18233A;
  --ink: #E2E8F0;
  --ink-soft: #C2CCDC;
  --muted: #8593AC;
  --rule: #243047;
  --rule-strong: #33415D;
  --accent: #22D3EE;
  --accent-deep: #0E7490;
  --accent-mid: #0891B2;
  --accent-soft: rgba(34, 211, 238, 0.12);
  --accent-soft-2: rgba(34, 211, 238, 0.18);
  --good: #34D399;
  --good-soft: rgba(52, 211, 153, 0.12);
  --warn: #FBBF24;
  --bad: #F87171;
  --glow: 0 0 0 1px rgba(34, 211, 238, 0.18), 0 8px 30px rgba(8, 145, 178, 0.10);
  --max: 1140px;
  --max-narrow: 780px;
  --max-prose: 730px;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background:
    radial-gradient(900px 480px at 82% -8%, rgba(34, 211, 238, 0.08) 0%, transparent 62%),
    radial-gradient(720px 400px at 6% 4%, rgba(14, 116, 144, 0.10) 0%, transparent 58%),
    var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: #67E8F9; }

h1, h2, h3, h4, h5 {
  font-family: 'Outfit', 'Inter', sans-serif;
  color: #F1F5F9;
  letter-spacing: -0.02em;
  margin: 1.4em 0 .5em;
  font-weight: 600;
}
h1 { font-size: 50px; line-height: 1.07; letter-spacing: -0.03em; margin-top: 0; font-weight: 700; }
h2 { font-size: 30px; line-height: 1.2; margin-top: 1.7em; font-weight: 600; }
h3 { font-size: 21px; line-height: 1.32; font-weight: 600; margin-top: 1.6em; }
h4 { font-size: 16.5px; line-height: 1.35; font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1.12em; }
strong { font-weight: 700; color: #F1F5F9; }
hr.divider { border: 0; border-top: 1px solid var(--rule); margin: 2.4em 0; }
code, .mono { font-family: var(--mono); }

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

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

/* === Header / brand === */
.site-header {
  background: rgba(11, 18, 32, 0.78);
  backdrop-filter: saturate(150%) blur(12px);
  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: 14px; padding-bottom: 14px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--accent); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #061018; display: inline-flex; align-items: center; justify-content: center;
  flex: none; box-shadow: 0 0 0 1px rgba(34,211,238,.3), 0 6px 16px rgba(8,145,178,.35);
}
.brand-mark svg { width: 21px; height: 21px; }
.brand-words { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; color: #F1F5F9; }
.brand-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; color: var(--accent); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink-soft); text-decoration: none; }
.nav a:hover { color: var(--accent); }
.nav .btn-sm { color: #061018; }
.nav-toggle {
  display: none; background: var(--panel); border: 1px solid var(--rule);
  border-radius: 9px; padding: 8px 14px; font-weight: 600; cursor: pointer; color: var(--ink);
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    background: var(--bg-soft); border-bottom: 1px solid var(--rule);
    flex-direction: column; gap: 0; padding: 8px 24px 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 24px;
  border-radius: 11px; font-weight: 600; text-decoration: none;
  font-size: 15px; letter-spacing: 0.005em; transition: transform .12s, box-shadow .12s, background .12s;
  border: 1px solid transparent; font-family: 'Outfit', sans-serif;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-mid) 100%); color: #061018;
  box-shadow: 0 0 0 1px rgba(34,211,238,.35), 0 8px 22px rgba(8,145,178,.30);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(34,211,238,.5), 0 12px 28px rgba(8,145,178,.42); color: #061018; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn-secondary:hover { background: var(--panel); color: var(--accent); border-color: var(--accent-deep); }
.btn-sm { padding: 9px 17px; font-size: 14px; border-radius: 9px; }

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

/* === Hero === */
.hero {
  padding: 66px 0 54px;
  border-bottom: 1px solid var(--rule);
}
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--panel); border: 1px solid var(--rule-strong); color: var(--accent);
  padding: 6px 14px; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.hero h1 { margin-bottom: 18px; max-width: 16ch; }
.hero h1 .grad { background: linear-gradient(100deg, var(--accent), #818CF8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: 20px; color: var(--ink-soft); max-width: 60ch; margin-bottom: 26px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 620px; }
.hero-stats .stat {
  background: var(--panel); border: 1px solid var(--rule); border-radius: 12px;
  padding: 16px 18px; box-shadow: var(--glow);
}
.hero-stats .stat-num { font-family: 'Outfit', sans-serif; font-size: 26px; font-weight: 700; color: var(--accent); line-height: 1; }
.hero-stats .stat-lbl { font-size: 12.5px; color: var(--muted); margin-top: 6px; font-weight: 500; }

/* === Signature visual: build vs buy cost/effort comparison === */
.buildbuy {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 26px 0;
}
.buildbuy .bb-col {
  background: var(--panel); border: 1px solid var(--rule); border-radius: 12px;
  padding: 22px 22px 20px; position: relative; overflow: hidden;
}
.buildbuy .bb-build { border-top: 3px solid var(--warn); }
.buildbuy .bb-buy { border-top: 3px solid var(--accent); box-shadow: var(--glow); }
.buildbuy .bb-tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 500; margin-bottom: 4px;
}
.buildbuy .bb-build .bb-tag { color: var(--warn); }
.buildbuy .bb-buy .bb-tag { color: var(--accent); }
.buildbuy .bb-col h4 { margin: 0 0 14px; font-size: 18px; }
.buildbuy .bb-meter { margin: 12px 0; }
.buildbuy .bb-meter .bb-mlbl { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-bottom: 5px; }
.buildbuy .bb-meter .bb-mlbl b { color: var(--ink-soft); font-weight: 600; }
.buildbuy .bb-bar { background: var(--bg); height: 8px; border-radius: 999px; overflow: hidden; border: 1px solid var(--rule); }
.buildbuy .bb-bar span { display: block; height: 100%; border-radius: 999px; }
.buildbuy .bb-build .bb-bar span { background: linear-gradient(90deg, #F59E0B, var(--warn)); }
.buildbuy .bb-buy .bb-bar span { background: linear-gradient(90deg, var(--accent-mid), var(--accent)); }
.buildbuy ul { margin: 14px 0 0; padding-left: 18px; font-size: 14px; color: var(--ink-soft); }
.buildbuy li { margin: 6px 0; }
@media (max-width: 640px) { .buildbuy { grid-template-columns: 1fr; } }

/* === Code-style callout (monospace, Twilio API work vs no-code) === */
.codeblock {
  background: var(--bg-soft); border: 1px solid var(--rule); border-radius: 12px;
  margin: 24px 0; overflow: hidden; box-shadow: var(--glow);
}
.codeblock .cb-bar {
  display: flex; align-items: center; gap: 7px; padding: 11px 16px;
  border-bottom: 1px solid var(--rule); background: var(--panel);
}
.codeblock .cb-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.codeblock .cb-dot.r { background: #F87171; }
.codeblock .cb-dot.y { background: #FBBF24; }
.codeblock .cb-dot.g { background: #34D399; }
.codeblock .cb-file { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-left: 8px; }
.codeblock pre {
  margin: 0; padding: 18px 20px; font-family: var(--mono); font-size: 13.5px;
  line-height: 1.75; color: var(--ink-soft); overflow-x: auto; white-space: pre;
}
.codeblock .c-com { color: var(--muted); }
.codeblock .c-key { color: var(--accent); }
.codeblock .c-str { color: var(--good); }
.codeblock .c-warn { color: var(--warn); }

/* === TLDR / CTA blocks === */
.tldr {
  background: var(--panel); border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: 12px; padding: 22px 24px; margin: 28px 0;
}
.tldr h4 {
  margin: 0 0 10px; font-family: var(--mono); font-size: 11px; color: var(--accent);
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
}
.tldr ul { margin: 0; padding-left: 20px; }
.tldr li { margin: 7px 0; color: var(--ink-soft); }
.tldr .overall {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule);
  font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--accent); font-size: 14px; letter-spacing: 0.02em;
}

/* Inline TL;DR CTA */
.tldr-cta {
  background: linear-gradient(135deg, var(--accent-soft) 0%, rgba(14,116,144,.18) 100%);
  border: 1px solid var(--rule-strong);
  border-radius: 14px; padding: 24px; margin: 24px 0; text-align: center;
}
.tldr-cta .btn { margin-bottom: 8px; }
.tldr-cta .subtext { font-size: 13px; color: var(--ink-soft); margin: 0; font-weight: 500; }

.tldr-crosslink {
  background: var(--panel); border: 1px solid var(--rule);
  border-left: 3px solid var(--good);
  border-radius: 12px; padding: 16px 20px; margin: 22px 0;
  font-size: 15px; color: var(--ink-soft);
}
.tldr-crosslink p { margin: 0; }
.tldr-crosslink strong { color: #F1F5F9; }

.cta-card {
  background:
    radial-gradient(420px 180px at 80% 0%, rgba(34,211,238,.16) 0%, transparent 70%),
    var(--panel-2);
  border: 1px solid var(--rule-strong);
  border-radius: 14px; padding: 30px 28px; margin: 34px 0; text-align: center;
  box-shadow: var(--glow);
}
.cta-card h4 { font-family: 'Outfit', sans-serif; color: #F1F5F9; margin: 0 0 14px; font-size: 19px; font-weight: 600; }
.cta-card .subtext { color: var(--muted); font-size: 13px; margin: 12px 0 0; }

/* === Picks / alternatives matrix (homepage) === */
.picks-table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
  background: var(--panel); border: 1px solid var(--rule); border-radius: 12px;
  overflow: hidden; font-size: 15px;
}
.picks-table th, .picks-table td {
  padding: 15px 16px; text-align: left; vertical-align: middle;
  border-bottom: 1px solid var(--rule);
}
.picks-table th {
  background: var(--bg-soft); font-family: var(--mono); font-size: 11px; font-weight: 500;
  color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase;
}
.picks-table tr:last-child td { border-bottom: 0; }
.picks-table .tool { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.picks-table .tool strong { font-weight: 700; color: #F1F5F9; }
.picks-table .top-pick { background: var(--accent-soft); }
.picks-table .top-pick td:first-child { border-left: 3px solid var(--accent); padding-left: 13px; }
.picks-table .baseline-row { background: rgba(251,191,36,.06); }
.picks-table .badge {
  display: inline-block; background: var(--accent); color: #061018;
  font-family: var(--mono); font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 6px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.picks-table .badge.base {
  background: transparent; color: var(--warn); border: 1px solid rgba(251,191,36,.4);
}
.picks-table td.rank-cell { width: 52px; font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--muted); font-size: 18px; }
.picks-table td.score-cell { font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--accent); }
@media (max-width: 760px) {
  .picks-table { font-size: 14px; }
  .picks-table th, .picks-table td { padding: 11px 9px; }
  .picks-table .col-best, .picks-table .col-price { display: none; }
}

/* === Review cards on homepage === */
.review-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px; margin: 26px 0;
}
.review-card {
  background: var(--panel); border: 1px solid var(--rule); border-radius: 12px;
  padding: 24px; transition: transform .14s, box-shadow .14s, border-color .14s;
}
.review-card:hover { transform: translateY(-3px); border-color: var(--accent-deep); box-shadow: var(--glow); }
.review-card.featured { border-color: var(--accent); box-shadow: var(--glow); }
.review-card .rank {
  display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--muted);
  background: var(--bg-soft); padding: 3px 10px; border-radius: 999px;
  letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 12px;
}
.review-card.featured .rank { background: var(--accent); color: #061018; }
.review-card h3 { margin: 0 0 6px; font-size: 20px; }
.review-card .one-liner { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.review-card .stat-row { display: flex; gap: 20px; margin-bottom: 14px; font-size: 13px; }
.review-card .stat-row span { color: var(--muted); }
.review-card .stat-row strong { color: var(--ink); display: block; font-size: 16px; font-family: 'Outfit', sans-serif; }
.review-card a.read { font-weight: 600; font-size: 14px; }

/* === Scorecard data block === */
.scorecard {
  background: var(--panel); border: 1px solid var(--rule); border-radius: 12px;
  padding: 20px 22px; margin: 22px 0;
}
.scorecard h4 { margin: 0 0 14px; font-family: var(--mono); font-size: 12px; color: var(--ink); letter-spacing: 0.04em; text-transform: uppercase; }
.score-row { display: grid; grid-template-columns: 200px 1fr 46px; gap: 14px; align-items: center; margin: 11px 0; font-size: 14px; }
.score-row .lbl { color: var(--ink-soft); font-weight: 500; }
.score-row .bar { background: var(--bg); height: 9px; border-radius: 999px; overflow: hidden; border: 1px solid var(--rule); }
.score-row .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-mid), var(--accent)); border-radius: 999px; }
.score-row .bar span.green { background: linear-gradient(90deg, #10B981, var(--good)); }
.score-row .num { font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--accent); text-align: right; font-size: 14px; }
@media (max-width: 600px) { .score-row { grid-template-columns: 1fr 46px; } .score-row .bar { grid-column: 1 / -1; } }

/* === Cost callout (per-call/per-number economics emphasis) === */
.econ-callout {
  display: grid; grid-template-columns: 52px 1fr; gap: 16px;
  background: var(--good-soft); border: 1px solid rgba(52,211,153,.28);
  border-radius: 12px; padding: 18px 22px; margin: 22px 0;
}
.econ-callout .econ-ico {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--bg); color: var(--good); font-family: 'Outfit', sans-serif;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px;
}
.econ-callout h4 { margin: 0 0 6px; font-size: 15px; color: #6EE7B7; }
.econ-callout p { margin: 0; font-size: 14px; color: #A7F3D0; }

/* === Pros/Cons === */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px 0; }
.proscons .pros, .proscons .cons {
  border: 1px solid var(--rule); border-radius: 12px; padding: 20px 22px; background: var(--panel);
}
.proscons .pros { border-top: 3px solid var(--good); }
.proscons .cons { border-top: 3px solid var(--warn); }
.proscons h4 { margin: 0 0 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.proscons .pros h4 { color: var(--good); }
.proscons .cons h4 { color: var(--warn); }
.proscons ul { padding-left: 20px; margin: 0; }
.proscons li { margin: 6px 0; font-size: 14px; color: var(--ink-soft); }
@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: 13px 18px; background: var(--panel); border: 1px solid var(--rule);
  border-radius: 11px; margin: 9px 0;
}
.pricing-list .plan { font-weight: 600; color: var(--ink); }
.pricing-list .price { font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--accent); font-size: 15px; }

/* === Compare table (head-to-head) === */
.compare-table {
  width: 100%; border-collapse: collapse; margin: 8px 0 4px;
  background: var(--panel); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden;
  font-size: 14.5px;
}
.compare-table th, .compare-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--rule); }
.compare-table thead th { background: var(--bg-soft); font-family: 'Outfit', sans-serif; color: #F1F5F9; font-weight: 700; font-size: 15px; }
.compare-table tbody td:first-child { color: var(--muted); font-size: 13.5px; }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table td.winner { color: var(--accent); font-weight: 700; }
.compare-table td.winner strong { color: var(--accent); }

/* === Build-vs-buy ledger callout (compare/review accent) === */
.ledger-callout {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px;
  background: var(--accent-soft); border: 1px solid var(--rule-strong);
  border-radius: 12px; padding: 18px 22px; margin: 24px 0;
}
.ledger-callout .lc-ico {
  width: 40px; height: 40px; border-radius: 11px; background: var(--bg);
  color: var(--accent); display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 20px;
}
.ledger-callout h4 { margin: 0 0 6px; font-size: 15px; color: #67E8F9; }
.ledger-callout p { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* === Article body === */
.article-header { padding: 34px 0 8px; }
.article-header .kicker {
  display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 500;
  color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px;
}
.article-header .lede { font-size: 20px; color: var(--ink-soft); margin-bottom: 18px; max-width: 64ch; }
.byline-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 14px; color: var(--muted); margin-bottom: 8px;
}
.byline-row img { width: 38px; height: 38px; 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(--panel-2); color: var(--ink); border: 1px solid var(--rule-strong);
  padding: 13px 15px; border-radius: 12px; font-size: 13px;
  width: 290px; line-height: 1.55; box-shadow: 0 16px 36px rgba(0,0,0,.45);
}
.author-card strong { display: block; font-weight: 700; margin-bottom: 4px; color: #F1F5F9; }
.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(--panel); border: 1px solid var(--rule); border-radius: 12px;
  padding: 15px 18px;
}
.article-body details summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 2px 0; }
.article-body details[open] summary { margin-bottom: 8px; }

.tool-screenshot {
  margin: 30px 0; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden;
  background: var(--bg-soft); box-shadow: var(--glow);
}
.tool-screenshot img { width: 100%; display: block; }
.tool-screenshot figcaption {
  font-size: 13px; color: var(--muted); padding: 11px 16px;
  background: var(--panel); border-top: 1px solid var(--rule);
}

/* === Section chrome on homepage === */
.section { padding: 60px 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: 66ch; }
.section-head .kicker {
  display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 500;
  color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px;
}
.section-head h2 { margin-top: 0; }

/* Decision-tree quick picks */
.decision-tree { display: grid; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); gap: 16px; }
.decision-tree .pick {
  background: var(--panel); border: 1px solid var(--rule); border-radius: 12px; padding: 20px;
}
.decision-tree .pick:hover { border-color: var(--accent-deep); }
.decision-tree .pick .if {
  font-family: var(--mono); font-size: 12px; color: var(--muted); font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 8px;
}
.decision-tree .pick strong { display: block; font-family: 'Outfit', sans-serif; font-size: 17px; margin-bottom: 4px; color: #F1F5F9; }
.decision-tree .pick p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* === Methodology weight bars === */
.weight-row { display: grid; grid-template-columns: 220px 1fr 52px; gap: 14px; align-items: center; margin: 11px 0; font-size: 14px; }
.weight-row span:first-child { color: var(--ink-soft); }
.weight-row .bar { background: var(--bg); height: 9px; border-radius: 999px; overflow: hidden; border: 1px solid var(--rule); }
.weight-row .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-mid), var(--accent)); }
.weight-row .pct { font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--accent); text-align: right; font-size: 13px; }
@media (max-width: 600px) { .weight-row { grid-template-columns: 1fr 52px; } .weight-row .bar { grid-column: 1 / -1; } }

/* === Footer === */
.site-footer {
  background: #070C16; color: var(--muted); padding: 52px 0 26px; margin-top: 64px;
  border-top: 1px solid var(--rule);
}
.site-footer h4 { font-family: 'Outfit', sans-serif; color: #F1F5F9; font-size: 14px; margin: 0 0 14px; letter-spacing: 0.02em; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; padding-bottom: 26px;
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.site-footer ul li { margin: 7px 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.disclosure { padding-top: 22px; font-size: 13px; color: #6B7890; line-height: 1.6; }
.disclosure strong { color: var(--ink-soft); }

/* References */
.references { font-size: 14px; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 14px; margin-top: 32px; }
.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); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--panel-2); border: 1px solid var(--rule-strong); border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,.5);
  min-width: 290px; padding: 8px 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); }
.nav-dropdown-menu .pick-tag {
  font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--good); background: var(--good-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); }
}
