/* Best Signal Providers — bsp.css
   Light mode, slate + green #15803d. System sans for body;
   Zilla Slab (humanist slab) for display headings + nav brand only.
   bsp- prefixed. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bsp-bg: #ffffff;
  --bsp-bg-subtle: #f8fafc;
  --bsp-border: #e2e8f0;
  --bsp-text: #0f172a;
  --bsp-muted: #475569;
  --bsp-accent: #15803d;
  --bsp-accent-hover: #16a34a;
  --bsp-accent-tint: #f0fdf4;
  --bsp-accent-mid: #dcfce7;
  --bsp-warn: #b45309;
  --bsp-warn-bg: #fffbeb;
  --bsp-partial: #92400e;
  --bsp-unverified: #64748b;
  --bsp-radius: 8px;
  --bsp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --bsp-display: "Zilla Slab", "Rockwell", Georgia, var(--bsp-font);
  --bsp-mono: ui-monospace, "Cascadia Code", "Fira Code", Consolas, monospace;
  --bsp-max: 900px;
  --bsp-wide: 1100px;
}

/* Homepage feature layer: make the evidence standard visible before the ranking starts. */
:root {
  --bsp-ink: #07131c;
  --bsp-ink-soft: #10242d;
  --bsp-accent-bright: #42c77a;
}

.bsp-wrap--wide { max-width: var(--bsp-wide); }
.bsp-hero--feature {
  min-height: 570px;
  margin-top: 1.5rem;
  padding: 3.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  border: 1px solid #20313a;
  border-radius: 6px;
  background-color: var(--bsp-ink);
  background-image: url('/images/bsp-evidence-desk.png');
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 40px rgba(7,19,28,0.16);
}
.bsp-hero__copy {
  width: min(54%, 560px);
  padding: 2rem;
  background: rgba(7,19,28,0.91);
  border-left: 3px solid var(--bsp-accent-bright);
  color: #fff;
}
.bsp-hero--feature .bsp-hero__kicker {
  margin-bottom: 1rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--bsp-accent-bright);
  font-family: var(--bsp-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}
.bsp-hero--feature h1 {
  color: #fff;
  font-size: 3.75rem;
  line-height: 1.02;
  letter-spacing: 0;
  margin-bottom: 1.25rem;
}
.bsp-hero--feature .bsp-hero__sub {
  max-width: none;
  margin-bottom: 1.35rem;
  color: #d7e2e5;
  font-size: 1rem;
  line-height: 1.65;
}
.bsp-hero--feature .bsp-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: #a9b9be;
}
.bsp-hero--feature .bsp-hero__meta span {
  margin: 0;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(215,226,229,0.2);
  font-size: 0.7rem;
}
.bsp-hero__link {
  display: inline-flex;
  gap: 0.55rem;
  margin-top: 1.4rem;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.bsp-hero__link:hover { color: var(--bsp-accent-bright); }
.bsp-scorecard { display: none; }
.bsp-hero__proof {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  width: 250px;
  padding: 1rem;
  background: #fff;
  color: var(--bsp-text);
  border-top: 3px solid var(--bsp-accent);
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}
.bsp-hero__proof-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.6rem;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid var(--bsp-border);
}
.bsp-hero__proof-head span,
.bsp-hero__proof-row span {
  font-family: var(--bsp-mono);
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--bsp-muted);
}
.bsp-hero__proof-head strong {
  font-family: var(--bsp-display);
  font-size: 1.65rem;
  line-height: 1;
  color: var(--bsp-accent);
}
.bsp-hero__proof-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid #edf1ef;
}
.bsp-hero__proof-row:last-child { border-bottom: 0; }
.bsp-hero__proof-row b { color: var(--bsp-accent); font-size: 0.78rem; }

.bsp-signalbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: var(--bsp-ink-soft);
  color: #fff;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 10px 24px rgba(7,19,28,0.12);
}
.bsp-signalbar > div {
  min-height: 88px;
  padding: 1.05rem 1.25rem;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.bsp-signalbar > div:first-child { border-left: 0; }
.bsp-signalbar strong {
  display: block;
  color: var(--bsp-accent-bright);
  font-family: var(--bsp-display);
  font-size: 1.65rem;
  line-height: 1.05;
}
.bsp-signalbar span { display: block; margin-top: 0.25rem; color: #b7c6ca; font-size: 0.74rem; line-height: 1.35; }

.bsp-verdict {
  background: var(--bsp-ink-soft);
  border: 0;
  border-left: 4px solid var(--bsp-accent-bright);
  border-radius: 4px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 10px 24px rgba(7,19,28,0.1);
}
.bsp-verdict__label { color: var(--bsp-accent-bright); }
.bsp-verdict p { color: #d7e2e5; }
.bsp-verdict p strong { color: #fff; }
.bsp-verdict a { color: var(--bsp-accent-bright); }

.bsp-evidence-band {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3.5rem 0;
  border-top: 1px solid var(--bsp-border);
  border-bottom: 1px solid var(--bsp-border);
}
.bsp-evidence-band img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 16px 32px rgba(15,23,42,0.14);
}
.bsp-section__eyebrow {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--bsp-accent);
  font-family: var(--bsp-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.bsp-evidence-band h2 {
  font-family: var(--bsp-display);
  font-size: 2.25rem;
  line-height: 1.08;
  margin-bottom: 0.85rem;
}
.bsp-evidence-band__copy > p { color: var(--bsp-muted); }
.bsp-evidence-band__copy ul {
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem 0 1.5rem;
  list-style: none;
}
.bsp-evidence-band__copy li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--bsp-text);
  font-size: 0.92rem;
}
.bsp-evidence-band__copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--bsp-accent);
}
.bsp-evidence-band .bsp-btn--ghost { border-color: var(--bsp-accent); }

.bsp-section { padding: 3.5rem 0; }
.bsp-h2 { font-size: 2rem; letter-spacing: 0; }
.bsp-card-grid { gap: 1rem; }
.bsp-card { min-height: 180px; padding: 1.35rem; border-radius: 4px; }
.bsp-card:hover { transform: translateY(-2px); }

@media (max-width: 900px) {
  .bsp-hero--feature { min-height: 620px; padding: 2rem; }
  .bsp-hero__copy { width: 62%; }
  .bsp-hero--feature h1 { font-size: 3rem; }
}
@media (max-width: 680px) {
  .bsp-hero--feature {
    min-height: 690px;
    margin-top: 0.75rem;
    padding: 1rem;
    align-items: flex-end;
    background-position: 30% center;
  }
  .bsp-hero__copy { width: 100%; padding: 1.35rem; margin-top: 180px; align-self: flex-start; }
  .bsp-hero--feature h1 { font-size: 2.25rem; }
  .bsp-hero--feature .bsp-hero__sub { font-size: 0.94rem; }
  .bsp-hero__proof { left: 1rem; top: 1rem; bottom: auto; width: calc(100% - 2rem); }
  .bsp-signalbar { grid-template-columns: repeat(2, 1fr); }
  .bsp-signalbar > div:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,0.12); }
  .bsp-signalbar > div:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.12); }
  .bsp-evidence-band { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.5rem 0; }
  .bsp-evidence-band h2 { font-size: 1.85rem; }
  .bsp-section { padding: 2.5rem 0; }
}

html { color-scheme: light; scroll-behavior: smooth; }

body {
  font-family: var(--bsp-font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--bsp-text);
  background: var(--bsp-bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--bsp-accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--bsp-accent-hover); }

/* ── Layout ── */
.bsp-wrap { max-width: var(--bsp-max); margin: 0 auto; padding: 0 1.25rem; }
.bsp-wrap--wide { max-width: var(--bsp-wide); }

/* ── Nav ── */
.bsp-nav {
  background: var(--bsp-bg);
  border-bottom: 1px solid var(--bsp-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.bsp-nav__inner {
  max-width: var(--bsp-wide);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.bsp-nav__brand {
  font-family: var(--bsp-display);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--bsp-text);
  text-decoration: none;
  letter-spacing: -0.005em;
}
.bsp-nav__brand span { color: var(--bsp-accent); }
.bsp-nav__links {
  display: flex;
  gap: 0;
  list-style: none;
  align-items: center;
}
.bsp-nav__links a {
  font-size: 0.875rem;
  color: var(--bsp-muted);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--bsp-radius);
  transition: color 0.15s, background 0.15s;
}
.bsp-nav__links a:hover { color: var(--bsp-text); background: var(--bsp-bg-subtle); }
.bsp-nav__links a[aria-current="page"] { color: var(--bsp-accent); font-weight: 600; }
.bsp-nav__cta {
  background: var(--bsp-accent);
  color: #fff !important;
  padding: 0.45rem 1rem !important;
  border-radius: var(--bsp-radius) !important;
  font-weight: 600 !important;
}
.bsp-nav__cta:hover { background: var(--bsp-accent-hover) !important; color: #fff !important; }
.bsp-nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.bsp-nav__toggle svg { width: 22px; height: 22px; stroke: var(--bsp-text); fill: none; stroke-width: 2; stroke-linecap: round; }

@media (max-width: 680px) {
  .bsp-nav__toggle { display: flex; align-items: center; }
  .bsp-nav__links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 56px;
    left: 0; right: 0;
    background: var(--bsp-bg);
    border-bottom: 1px solid var(--bsp-border);
    padding: 0.5rem 1.25rem 1rem;
    gap: 0;
  }
  .bsp-nav__links.bsp-open { display: flex; }
  .bsp-nav__links li { width: 100%; }
  .bsp-nav__links a { display: block; padding: 0.6rem 0.25rem; }
  .bsp-nav__cta { margin-top: 0.5rem; text-align: center; }
}

/* ── Hero ── */
.bsp-hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--bsp-border);
}
.bsp-hero__kicker {
  display: inline-block;
  background: var(--bsp-accent-tint);
  color: var(--bsp-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  border: 1px solid var(--bsp-accent-mid);
}
.bsp-hero h1 {
  font-family: var(--bsp-display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
  color: var(--bsp-text);
}
.bsp-hero__sub {
  font-size: 1.125rem;
  color: var(--bsp-muted);
  max-width: 640px;
  margin-bottom: 1.5rem;
}
.bsp-hero__meta {
  font-size: 0.8125rem;
  color: var(--bsp-muted);
}
.bsp-hero__meta span { margin-right: 1.25rem; }

/* ── Verdict box ── */
.bsp-verdict {
  background: var(--bsp-accent-tint);
  border: 1px solid var(--bsp-accent-mid);
  border-left: 4px solid var(--bsp-accent);
  border-radius: var(--bsp-radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.bsp-verdict__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bsp-accent);
  margin-bottom: 0.5rem;
}
.bsp-verdict p {
  font-size: 1rem;
  color: var(--bsp-text);
  line-height: 1.6;
}

/* ── Ranking list ── */
.bsp-rank-list { list-style: none; margin: 2rem 0; display: flex; flex-direction: column; gap: 1rem; }

.bsp-rank {
  border: 1px solid var(--bsp-border);
  border-radius: var(--bsp-radius);
  background: var(--bsp-bg);
  overflow: hidden;
}
.bsp-rank--top {
  position: relative;
  border-color: var(--bsp-accent-mid);
  box-shadow: 0 1px 2px rgba(15,23,42,0.04), 0 8px 24px -12px rgba(21,128,61,0.28);
}
.bsp-rank--top::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bsp-accent), var(--bsp-accent-hover));
  border-radius: var(--bsp-radius) var(--bsp-radius) 0 0;
}
.bsp-rank__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
}
.bsp-rank__num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--bsp-bg-subtle);
  border: 1px solid var(--bsp-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--bsp-muted);
  margin-top: 0.125rem;
}
.bsp-rank--top .bsp-rank__num {
  background: var(--bsp-accent);
  border-color: var(--bsp-accent);
  color: #fff;
}
.bsp-rank__info { flex: 1; }
.bsp-rank__name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--bsp-text);
  margin: 0 0 0.2rem;
  line-height: 1.3;
}
.bsp-rank__cat {
  font-size: 0.8125rem;
  color: var(--bsp-muted);
  margin-bottom: 0.5rem;
}
.bsp-rank__desc {
  font-size: 0.9375rem;
  color: var(--bsp-text);
  line-height: 1.6;
}
.bsp-rank__scores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.bsp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}
.bsp-badge--verified { background: var(--bsp-accent-tint); color: var(--bsp-accent); border: 1px solid var(--bsp-accent-mid); }
.bsp-badge--partial { background: #fffbeb; color: var(--bsp-partial); border: 1px solid #fde68a; }
.bsp-badge--unverified { background: #f8fafc; color: var(--bsp-unverified); border: 1px solid var(--bsp-border); }

/* ── Capability matrix ── */
.bsp-matrix {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.875rem;
}
.bsp-matrix th, .bsp-matrix td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--bsp-border);
  vertical-align: middle;
}
.bsp-matrix thead th {
  background: var(--bsp-bg-subtle);
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--bsp-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.bsp-matrix thead th:first-child { text-align: left; }
.bsp-matrix td:not(:first-child) { text-align: center; }
.bsp-matrix th:not(:first-child) { text-align: center; }
.bsp-matrix tr:hover td { background: var(--bsp-bg-subtle); }
.bsp-matrix__name { font-weight: 600; color: var(--bsp-text); }
.bsp-matrix__name a { text-decoration: none; color: inherit; }
.bsp-matrix__name a:hover { color: var(--bsp-accent); }
.bsp-matrix tr.bsp-matrix__top td { background: var(--bsp-accent-tint); font-weight: 600; }
.bsp-check { color: var(--bsp-accent); font-size: 1rem; }
.bsp-partial-mark { color: var(--bsp-partial); font-size: 1rem; }
.bsp-cross { color: var(--bsp-unverified); font-size: 1rem; }

.bsp-matrix-wrap { overflow-x: auto; }

/* ── Cards (for guides/criteria) ── */
.bsp-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.bsp-card {
  border: 1px solid var(--bsp-border);
  border-radius: var(--bsp-radius);
  padding: 1.25rem;
  background: var(--bsp-bg);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.bsp-card:hover {
  border-color: var(--bsp-accent-mid);
  box-shadow: 0 2px 8px rgba(21,128,61,0.08);
  text-decoration: none;
}
.bsp-card__icon {
  width: 36px;
  height: 36px;
  background: var(--bsp-accent-tint);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.875rem;
}
.bsp-card__title { font-size: 0.9375rem; font-weight: 700; margin-bottom: 0.35rem; color: var(--bsp-text); }
.bsp-card__desc { font-size: 0.875rem; color: var(--bsp-muted); line-height: 1.55; }

/* ── Key facts aside ── */
.bsp-facts {
  border: 1px solid var(--bsp-border);
  border-radius: var(--bsp-radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: var(--bsp-bg-subtle);
}
.bsp-facts__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bsp-muted);
  margin-bottom: 0.75rem;
}
.bsp-facts dl { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1.25rem; }
.bsp-facts dt { font-size: 0.8125rem; font-weight: 600; color: var(--bsp-muted); white-space: nowrap; }
.bsp-facts dd { font-size: 0.8125rem; color: var(--bsp-text); }

/* ── CTA ── */
.bsp-cta {
  background: var(--bsp-accent-tint);
  border: 1px solid var(--bsp-accent-mid);
  border-radius: var(--bsp-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  margin: 2.5rem 0;
}
.bsp-cta h2 { font-family: var(--bsp-display); font-size: 1.45rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.5rem; }
.bsp-cta p { color: var(--bsp-muted); margin-bottom: 1.25rem; font-size: 0.9375rem; }
.bsp-btn {
  display: inline-block;
  background: var(--bsp-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.7rem 1.75rem;
  border-radius: var(--bsp-radius);
  text-decoration: none;
  transition: background 0.15s;
}
.bsp-btn:hover { background: var(--bsp-accent-hover); color: #fff; text-decoration: none; }
.bsp-btn--ghost {
  background: transparent;
  color: var(--bsp-accent);
  border: 1.5px solid var(--bsp-accent);
}
.bsp-btn--ghost:hover { background: var(--bsp-accent-tint); }

/* ── Section heading ── */
.bsp-section { padding: 2.5rem 0; }
.bsp-section + .bsp-section { border-top: 1px solid var(--bsp-border); }
.bsp-h2 {
  font-family: var(--bsp-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.bsp-h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.bsp-lead {
  font-size: 1rem;
  color: var(--bsp-muted);
  margin-bottom: 1.5rem;
  max-width: 680px;
}

/* ── Prose ── */
.bsp-prose p { margin-bottom: 1rem; }
.bsp-prose h2 { font-size: 1.25rem; font-weight: 700; margin: 1.75rem 0 0.5rem; }
.bsp-prose h3 { font-size: 1rem; font-weight: 700; margin: 1.25rem 0 0.4rem; }
.bsp-prose ul, .bsp-prose ol { margin: 0 0 1rem 1.5rem; }
.bsp-prose li { margin-bottom: 0.3rem; }
.bsp-prose strong { font-weight: 700; }
.bsp-prose code { font-family: var(--bsp-mono); font-size: 0.875em; background: var(--bsp-bg-subtle); padding: 0.1em 0.4em; border-radius: 3px; }

/* ── FAQ ── */
.bsp-faq { margin: 1rem 0; }
.bsp-faq details { border-bottom: 1px solid var(--bsp-border); }
.bsp-faq summary {
  padding: 1rem 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9375rem;
}
.bsp-faq summary::-webkit-details-marker { display: none; }
.bsp-faq summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--bsp-muted);
  flex-shrink: 0;
  margin-left: 1rem;
}
.bsp-faq details[open] summary::after { content: "−"; }
.bsp-faq__body { padding-bottom: 1rem; color: var(--bsp-muted); font-size: 0.9375rem; line-height: 1.65; }

/* ── Breadcrumb ── */
.bsp-breadcrumb {
  font-size: 0.8125rem;
  color: var(--bsp-muted);
  padding: 0.75rem 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  border-bottom: 1px solid var(--bsp-border);
}
.bsp-breadcrumb a { color: var(--bsp-muted); text-decoration: none; }
.bsp-breadcrumb a:hover { color: var(--bsp-accent); }
.bsp-breadcrumb__sep { color: var(--bsp-border); user-select: none; }

/* ── Cite-as box ── */
.bsp-cite {
  border: 1px solid var(--bsp-border);
  border-radius: var(--bsp-radius);
  padding: 1rem 1.25rem;
  margin: 2rem 0;
  background: var(--bsp-bg-subtle);
}
.bsp-cite__label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--bsp-muted); margin-bottom: 0.5rem; }
.bsp-cite p { font-size: 0.875rem; font-family: var(--bsp-mono); color: var(--bsp-text); line-height: 1.6; white-space: pre-wrap; word-break: break-word; }

/* ── Stats row ── */
.bsp-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.bsp-stat {
  background: var(--bsp-bg-subtle);
  border: 1px solid var(--bsp-border);
  border-radius: var(--bsp-radius);
  padding: 1rem;
  text-align: center;
}
.bsp-stat__val {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--bsp-accent);
  line-height: 1.1;
  display: block;
}
.bsp-stat__lbl { font-size: 0.75rem; color: var(--bsp-muted); margin-top: 0.25rem; display: block; }

/* ── Article head (criteria / explainer hero title) ── */
.bsp-article-head { padding: 0.5rem 0 0; }
.bsp-article-head__kicker {
  display: inline-block;
  font-family: var(--bsp-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bsp-accent);
  margin-bottom: 0.6rem;
}
.bsp-article-title {
  font-family: var(--bsp-display);
  font-size: clamp(1.7rem, 3.4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--bsp-text);
  margin: 0 0 0.75rem;
}
.bsp-article-head__rule {
  width: 44px;
  height: 3px;
  background: var(--bsp-accent);
  border-radius: 2px;
  margin: 0 0 1.25rem;
}

/* ── Five-criteria scorecard glyph (hero device — verifiability checklist) ── */
.bsp-scorecard {
  display: flex;
  justify-content: center;
  margin: 0.5rem auto 0;
  max-width: 320px;
}
.bsp-scorecard svg { width: 100%; height: auto; display: block; }
.bsp-hero--device {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 300px);
  gap: 2rem;
  align-items: center;
}
@media (max-width: 720px) {
  .bsp-hero--device { grid-template-columns: 1fr; }
  .bsp-scorecard { max-width: 260px; margin-top: 1.5rem; }
}

/* ── Stat strip (single bordered row with vertical dividers) ── */
.bsp-statstrip {
  display: flex;
  border: 1px solid var(--bsp-border);
  border-radius: var(--bsp-radius);
  background: var(--bsp-bg-subtle);
  overflow: hidden;
  margin: 1.5rem 0;
}
.bsp-statstrip__cell {
  flex: 1;
  text-align: center;
  padding: 1rem 0.75rem;
  border-left: 1px solid var(--bsp-border);
}
.bsp-statstrip__cell:first-child { border-left: 0; }
.bsp-statstrip__val {
  display: block;
  font-family: var(--bsp-display);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--bsp-accent);
  line-height: 1.1;
}
.bsp-statstrip__lbl {
  display: block;
  font-size: 0.75rem;
  color: var(--bsp-muted);
  margin-top: 0.25rem;
}
@media (max-width: 560px) {
  .bsp-statstrip { flex-wrap: wrap; }
  .bsp-statstrip__cell { flex: 1 1 50%; border-top: 1px solid var(--bsp-border); }
  .bsp-statstrip__cell:first-child, .bsp-statstrip__cell:nth-child(2) { border-top: 0; }
  .bsp-statstrip__cell:nth-child(odd) { border-left: 0; }
}

/* ── Table generic ── */
.bsp-table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.bsp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.bsp-table th, .bsp-table td { padding: 0.65rem 1rem; border-bottom: 1px solid var(--bsp-border); text-align: left; }
.bsp-table thead th { background: var(--bsp-bg-subtle); font-weight: 700; color: var(--bsp-muted); font-size: 0.8125rem; }
.bsp-table tr:hover td { background: var(--bsp-bg-subtle); }

/* ── Disclaimer ── */
.bsp-disclaimer {
  font-size: 0.8125rem;
  color: var(--bsp-muted);
  background: var(--bsp-bg-subtle);
  border: 1px solid var(--bsp-border);
  border-radius: var(--bsp-radius);
  padding: 1rem 1.25rem;
  margin: 2rem 0;
  line-height: 1.55;
}

/* ── Footer ── */
.bsp-foot {
  border-top: 1px solid var(--bsp-border);
  background: var(--bsp-bg-subtle);
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
  font-size: 0.875rem;
}
.bsp-foot__inner {
  max-width: var(--bsp-wide);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.bsp-foot__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.bsp-foot__brand { font-weight: 700; font-size: 0.9375rem; margin-bottom: 0.5rem; color: var(--bsp-text); }
.bsp-foot__brand span { color: var(--bsp-accent); }
.bsp-foot__tagline { color: var(--bsp-muted); font-size: 0.8125rem; line-height: 1.55; max-width: 240px; }
.bsp-foot__col h4 { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--bsp-muted); margin-bottom: 0.75rem; }
.bsp-foot__col ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.bsp-foot__col a { color: var(--bsp-muted); text-decoration: none; font-size: 0.875rem; }
.bsp-foot__col a:hover { color: var(--bsp-accent); }
.bsp-foot__bottom {
  border-top: 1px solid var(--bsp-border);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--bsp-muted);
}
.bsp-foot__legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.bsp-foot__legal a { color: var(--bsp-muted); text-decoration: none; }
.bsp-foot__legal a:hover { color: var(--bsp-accent); }

@media (max-width: 680px) {
  .bsp-foot__grid { grid-template-columns: 1fr 1fr; }
  .bsp-foot__bottom { flex-direction: column; align-items: flex-start; }
  .bsp-matrix th, .bsp-matrix td { padding: 0.5rem 0.6rem; font-size: 0.8125rem; }
}
@media (max-width: 480px) {
  .bsp-foot__grid { grid-template-columns: 1fr; }
  .bsp-hero h1 { font-size: 1.625rem; }
}

/* ── Utility ── */
.bsp-mt0 { margin-top: 0; }
.bsp-mb0 { margin-bottom: 0; }
.bsp-mt1 { margin-top: 0.5rem; }
.bsp-mb1 { margin-bottom: 0.5rem; }
.bsp-mt2 { margin-top: 1rem; }
.bsp-mb2 { margin-bottom: 1rem; }
.bsp-text-muted { color: var(--bsp-muted); }
.bsp-text-sm { font-size: 0.875rem; }
.bsp-text-xs { font-size: 0.8125rem; }
.bsp-fw700 { font-weight: 700; }
.bsp-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* a11y + responsive polish */
:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:3px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation-duration:.01ms !important;transition-duration:.01ms !important}}
@media(max-width:719px){table{min-width:0}th,td{padding:8px 10px}}

/* ── Mobile: stack comparison tables into cards (no side-scroll) ── */
@media (max-width: 768px) {
  .bsp-matrix-wrap, .bsp-table-wrap { overflow-x: visible; }

  .bsp-matrix, .bsp-table { display: block; width: 100%; font-size: 0.875rem; }
  .bsp-matrix thead, .bsp-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .bsp-matrix tbody, .bsp-table tbody { display: block; }

  .bsp-matrix tbody tr, .bsp-table tbody tr {
    display: block;
    border: 1px solid var(--bsp-border);
    border-radius: var(--bsp-radius);
    margin: 0 0 0.875rem;
    padding: 0.5rem 0.85rem;
    background: var(--bsp-bg);
  }
  .bsp-matrix tr.bsp-matrix__top { border-color: var(--bsp-accent-mid); background: var(--bsp-accent-tint); }
  .bsp-matrix tbody tr:hover td, .bsp-table tbody tr:hover td { background: transparent; }

  .bsp-matrix tbody td, .bsp-table tbody td {
    display: block;
    border: 0;
    border-bottom: 1px solid var(--bsp-border);
    text-align: left !important;
    padding: 0.5rem 0;
  }
  .bsp-matrix tbody td:last-child, .bsp-table tbody td:last-child { border-bottom: 0; }

  /* First cell becomes the card title */
  .bsp-matrix tbody td:first-child, .bsp-table tbody td:first-child {
    font-weight: 700;
    font-size: 1rem;
    color: var(--bsp-text);
    padding-top: 0.15rem;
    border-bottom: 1px solid var(--bsp-border);
  }
  .bsp-matrix__name { font-size: 1rem; }

  /* Surface each capability glyph's status word so the column meaning survives the stack */
  .bsp-matrix tbody td:not(:first-child) .bsp-check::after,
  .bsp-matrix tbody td:not(:first-child) .bsp-partial-mark::after,
  .bsp-matrix tbody td:not(:first-child) .bsp-cross::after {
    content: " " attr(aria-label);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.01em;
  }
}

/* Final homepage overrides. */
.bsp-hero--feature {
  min-height: 570px;
  margin-top: 1.5rem;
  padding: 3.5rem;
  border-bottom: 0;
}
.bsp-hero--feature h1 {
  color: #fff;
  font-size: 3.75rem;
  line-height: 1.02;
  letter-spacing: 0;
  margin-bottom: 1.25rem;
}
.bsp-scorecard { display: none; }
.bsp-verdict {
  background: var(--bsp-ink-soft);
  border: 0;
  border-left: 4px solid var(--bsp-accent-bright);
  border-radius: 4px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 10px 24px rgba(7,19,28,0.1);
}
.bsp-verdict__label { color: var(--bsp-accent-bright); }
.bsp-verdict p { color: #d7e2e5; }
.bsp-verdict p strong { color: #fff; }
.bsp-verdict a { color: var(--bsp-accent-bright); }
.bsp-section { padding: 3.5rem 0; }
.bsp-h2 { font-size: 2rem; letter-spacing: 0; }
.bsp-card { min-height: 180px; padding: 1.35rem; border-radius: 4px; }

@media (max-width: 900px) {
  .bsp-hero--feature { min-height: 620px; padding: 2rem; }
  .bsp-hero__copy { width: 62%; }
  .bsp-hero--feature h1 { font-size: 3rem; }
}
@media (max-width: 680px) {
  .bsp-hero--feature {
    min-height: 690px;
    margin-top: 0.75rem;
    padding: 1rem;
    align-items: flex-end;
    background-position: 30% center;
  }
  .bsp-hero__copy { width: 100%; padding: 1.35rem; margin-top: 180px; align-self: flex-start; }
  .bsp-hero--feature h1 { font-size: 2.25rem; }
  .bsp-hero__proof { left: 1rem; top: 1rem; bottom: auto; width: calc(100% - 2rem); }
  .bsp-signalbar { grid-template-columns: repeat(2, 1fr); }
  .bsp-signalbar > div:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,0.12); }
  .bsp-signalbar > div:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.12); }
  .bsp-evidence-band { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.5rem 0; }
  .bsp-evidence-band h2 { font-size: 1.85rem; }
  .bsp-section { padding: 2.5rem 0; }
}
