/* BestOnlyFans — 2026 redesign (v9)
   Design system for gfstargroup.com money site.
   Palette, chips, cards, comparison table, compare tray, planner, FAQ.
   Light + dark themes, 1440 / 1024 / 768 / 390. */

:root {
  --brand: #0db1f2;
  --brand-strong: #036a99;
  --brand-deep: #053f5c;
  --brand-tint: #e8f6fd;
  --good: #0b6b3a;
  --good-tint: #e7f7ef;
  --warn: #8a4b00;
  --warn-tint: #fdf1e0;
  --danger: #b42318;
  --danger-tint: #fdeceb;

  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --ink: #0f1b2d;
  --ink-2: #33415a;
  --muted: #5b6879;
  --line: #e1e7ef;
  --line-2: #cdd6e2;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, 0.06), 0 1px 3px rgba(15, 27, 45, 0.04);
  --shadow: 0 10px 30px rgba(15, 27, 45, 0.09);
  --shadow-lg: 0 24px 60px rgba(15, 27, 45, 0.16);

  --hero-bg: #0b1220;
  --hero-ink: #eaf2fb;
  --hero-muted: #9fb2c8;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --max: 1240px;
  --gap: 24px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html[data-theme="dark"] {
  --bg: #070c15;
  --surface: #0f1724;
  --surface-2: #16202f;
  --ink: #e9f0f9;
  --ink-2: #c3d0e0;
  --muted: #94a4ba;
  --line: #1f2b3c;
  --line-2: #2c3a4e;
  --brand-strong: #4cc7f7;
  --brand-deep: #b9e8ff;
  --brand-tint: #0d2233;
  --good: #6ee7a8;
  --good-tint: #0c2419;
  --warn: #f0c07a;
  --warn-tint: #2a2013;
  --danger: #ff9b91;
  --danger-tint: #2d1714;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.6);
  --hero-bg: #060a12;
  --hero-ink: #eaf2fb;
  --hero-muted: #9fb2c8;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body.bf {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
}

a { color: inherit; }
body.bf img { max-width: 100%; height: auto; }

h1, h2, h3 {
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--ink);
}

p { margin: 0; }

.bf-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.bf-skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--brand-strong);
  color: #fff;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top .18s ease;
}
.bf-skip:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}
html[data-theme="dark"] :focus-visible { outline-color: #7fd7ff; }

/* ---------- progress ---------- */
.bf-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  z-index: 120;
  background: transparent;
  pointer-events: none;
}
.bf-progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--brand), #6ee7b7);
}

/* ---------- header ---------- */
.bf-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.bf-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.bf-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.bf-brand img { display: block; border-radius: 9px; }
.bf-brand__name {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.bf-brand__tag {
  display: none;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand-strong);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.bf-nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
}
.bf-nav a {
  color: var(--ink-2);
  text-decoration: none;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.bf-nav a:hover { color: var(--brand-strong); border-bottom-color: var(--brand); }
.bf-header__tools { display: flex; align-items: center; gap: 10px; }

.bf-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.bf-icon-btn:hover { border-color: var(--brand); color: var(--brand-strong); }

/* ---------- buttons ---------- */
.bf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 650;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease, box-shadow .18s ease;
}
.bf-btn:active { transform: translateY(1px); }
.bf-btn--primary {
  background: var(--brand-strong);
  color: #fff;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--brand-strong) 28%, transparent);
}
.bf-btn--primary:hover { background: var(--brand-deep); color: #fff; }
html[data-theme="dark"] .bf-btn--primary { color: #05202e; }
html[data-theme="dark"] .bf-btn--primary:hover { background: #8ddcff; color: #05202e; }
.bf-btn--outline {
  border-color: var(--line-2);
  background: var(--surface);
  color: var(--ink);
}
.bf-btn--outline:hover { border-color: var(--brand); color: var(--brand-strong); }
.bf-btn--ghost {
  border-color: var(--line-2);
  background: transparent;
  color: var(--ink-2);
}
.bf-btn--ghost:hover { border-color: var(--brand); color: var(--brand-strong); }
.bf-btn--quiet {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
  padding: 10px 12px;
}
.bf-btn--quiet:hover { color: var(--brand-strong); background: var(--surface-2); }
.bf-btn--lg { min-height: 50px; padding: 13px 24px; font-size: 16px; }
.bf-btn--block { width: 100%; }
.bf-only-sm { display: none; }
.bf-linkbtn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--brand-strong);
  text-decoration: underline;
  cursor: pointer;
}

/* ---------- language row ---------- */
.language-nav {
  max-width: var(--max);
  margin: 14px auto 0;
  padding: 0 20px;
  gap: 7px;
}
.language-nav a {
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 12.5px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.language-nav a:hover { border-color: var(--brand); }
.language-nav a[aria-current="page"] {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  color: #fff;
}
html[data-theme="dark"] .language-nav a[aria-current="page"] { color: #05202e; }
.language-prices {
  max-width: 900px;
  margin: 10px auto 0;
  padding: 0 20px;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- hero ---------- */
.bf-hero {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(120% 130% at 88% -10%, rgba(13, 177, 242, .28) 0%, rgba(13, 177, 242, 0) 58%),
    radial-gradient(90% 90% at 0% 100%, rgba(110, 231, 183, .12) 0%, rgba(110, 231, 183, 0) 60%),
    var(--hero-bg);
  color: var(--hero-ink);
}
.bf-hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 20px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 48px;
  align-items: start;
}
.bf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}
.bf-hero .bf-eyebrow { color: #7fd7ff; }
.bf-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 0 4px rgba(110, 231, 183, .18);
}
.bf-hero h1 {
  color: #fff;
  font-size: clamp(34px, 4.2vw, 56px);
  margin: 18px 0 0;
  letter-spacing: -0.035em;
}
.bf-hero h1 span {
  color: #7fd7ff;
  text-decoration: underline;
  text-decoration-color: rgba(13, 177, 242, .45);
  text-decoration-thickness: .1em;
  text-underline-offset: .14em;
}
.bf-dek {
  margin-top: 18px;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--hero-muted);
}
.bf-hero__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.bf-hero .bf-btn--primary { background: #7fd7ff; color: #05202e; box-shadow: 0 10px 30px rgba(13, 177, 242, .3); }
.bf-hero .bf-btn--primary:hover { background: #a5e4ff; color: #05202e; }
.bf-hero .bf-btn--outline { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .28); color: #eaf2fb; }
.bf-hero .bf-btn--outline:hover { border-color: #7fd7ff; color: #7fd7ff; background: rgba(255, 255, 255, .1); }

.bf-kpis {
  margin: 34px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.bf-kpis > div {
  padding: 14px 16px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
}
.bf-kpis dt {
  font-size: 11.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #8fa5bd;
}
.bf-kpis dd {
  margin: 4px 0 0;
  font-size: 21px;
  font-weight: 750;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.bf-trust {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13.5px;
  color: var(--hero-muted);
}
.bf-trust li { display: flex; align-items: center; gap: 8px; }
.bf-trust li::before {
  content: "";
  width: 16px; height: 16px;
  flex: none;
  border-radius: 50%;
  background: rgba(110, 231, 183, .16);
  box-shadow: inset 0 0 0 1px rgba(110, 231, 183, .5);
}

/* hero panel */
.bf-hero__panel {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--r-lg);
  padding: 18px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}
.bf-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.bf-panel__title { font-weight: 700; color: #fff; font-size: 15px; }
.bf-freshness {
  font-size: 11.5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(110, 231, 183, .18);
  color: #8df0c4;
  border: 1px solid rgba(110, 231, 183, .3);
}
.bf-mini {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  text-decoration: none;
  color: inherit;
  transition: background .18s ease;
}
.bf-mini:hover { background: rgba(255, 255, 255, .05); }
body.bf .bf-mini img {
  width: 56px; height: 62px;
  object-fit: cover;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
}
.bf-mini__body { display: flex; flex-direction: column; min-width: 0; }
.bf-mini__rank {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7fd7ff;
  font-weight: 700;
}
.bf-mini__body strong { color: #fff; font-size: 16px; }
.bf-mini__meta { color: var(--hero-muted); font-size: 12.5px; }
.bf-mini__score {
  font-size: 17px;
  font-weight: 800;
  color: #8df0c4;
  font-variant-numeric: tabular-nums;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(110, 231, 183, .14);
}
.bf-panel__foot {
  margin-top: 12px;
  font-size: 12px;
  color: #8fa5bd;
  line-height: 1.5;
}

/* ---------- sections ---------- */
main > section { padding: 68px 20px; }
main > section.bf-shortlist { padding-top: 34px; }
main > section.bf-hero { padding: 0; background: var(--hero-bg); }
main > section.bf-quick,
main > section.bf-match,
main > section.bf-cost,
main > section.bf-method,
main > section.bf-editor { background: var(--bg); }
main > section.bf-live,
main > section.bf-compare,
main > section.bf-niches,
main > section.bf-safety,
main > section.bf-faq { background: var(--surface); }

.bf-section__head {
  max-width: var(--max);
  margin: 0 auto 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px 40px;
  align-items: end;
}
.bf-section__head h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 10px; }
.bf-section__head > p {
  color: var(--muted);
  font-size: 16px;
  max-width: 620px;
}

/* ---------- quick picks ---------- */
.bf-quick__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}
.bf-quick__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.bf-quick__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--brand);
}
.bf-quick__label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-strong);
}
.bf-quick__card strong { font-size: 20px; letter-spacing: -0.02em; }
.bf-quick__card span:last-child { color: var(--muted); font-size: 14.5px; }

/* ---------- live directory band ---------- */
main > section.bf-live { padding: 0; background: transparent; }
.bf-live__head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 68px 20px 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px 40px;
  align-items: end;
}
.bf-live__head h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 10px; }
.bf-live__head > p { color: var(--muted); font-size: 16px; max-width: 620px; }
.bf-live .directory {
  padding: 0 20px 68px;
  background: transparent;
  color: var(--ink);
}
.bf-live .directory__frame {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 980px) {
  .bf-live__head { grid-template-columns: minmax(0, 1fr); padding-top: 48px; }
}

/* ---------- filters ---------- */
.bf-filters {
  max-width: var(--max);
  margin: 0 auto 22px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bf-filters__top { display: flex; gap: 12px; align-items: center; }
.bf-search {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--bg);
  color: var(--muted);
}
.bf-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.bf-search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
}
.bf-search input:focus { outline: none; }

.bf-chipset {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.bf-chipset__label {
  min-width: 74px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}
.bf-chip {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--ink-2);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.bf-chip:hover { border-color: var(--brand); color: var(--brand-strong); }
.bf-chip[aria-pressed="true"] {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  color: #fff;
}
html[data-theme="dark"] .bf-chip[aria-pressed="true"] { color: #05202e; }

/* ---------- toolbar ---------- */
.bf-toolbar {
  max-width: var(--max);
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.bf-toolbar__count { font-size: 15px; color: var(--muted); font-weight: 600; }
.bf-toolbar__right { display: flex; align-items: center; gap: 12px; }
.bf-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}
.bf-sort select {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 14.5px;
  cursor: pointer;
}

/* ---------- cards ---------- */
.bf-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
.bf-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.bf-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.bf-card[hidden] { display: none; }
.bf-card.is-picked { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 26%, transparent); }

.bf-card__media {
  position: relative;
  height: 296px;
  overflow: hidden;
  background: var(--surface-2);
}
body.bf .bf-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.bf-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.bf-badge {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(11, 18, 32, .82);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .03em;
  backdrop-filter: blur(6px);
}
.bf-badge--rank { background: rgba(127, 215, 255, .95); color: #05202e; }
.bf-badge--free { background: rgba(110, 231, 183, .95); color: #04301e; }

.bf-compare-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(11, 18, 32, .8);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.bf-compare-toggle input { accent-color: #7fd7ff; width: 15px; height: 15px; cursor: pointer; }
.bf-compare-toggle:hover { background: rgba(11, 18, 32, .92); }

.bf-credit {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(11, 18, 32, .72);
  font-size: 11.5px;
  color: #eef4fb;
  text-decoration: underline;
  backdrop-filter: blur(4px);
}
.bf-credit:hover { background: rgba(11, 18, 32, .88); color: #fff; }
.bf-credit:hover { color: #fff; }

.bf-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  flex: 1 1 auto;
}
.bf-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bf-card__head h3 { font-size: 21px; }
.bf-access {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.bf-access--paid { background: var(--brand-tint); color: var(--brand-strong); }
.bf-access--free { background: var(--good-tint); color: var(--good); }
.bf-card__tagline { color: var(--muted); font-size: 14.5px; margin-top: -4px; }

.bf-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: var(--r);
  background: var(--bg);
  border: 1px solid var(--line);
}
.bf-price strong { font-size: 22px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.bf-price strong span { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.bf-price__first { font-size: 12.5px; color: var(--muted); }

.bf-meter { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.bf-meter__label { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.bf-meter__bar {
  height: 7px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}
.bf-meter__bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), #6ee7b7);
}
.bf-meter__value { font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }

.bf-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
.bf-stats > div {
  text-align: center;
  padding: 9px 4px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.bf-stats dt { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.bf-stats dd { margin: 2px 0 0; font-size: 15px; font-weight: 750; font-variant-numeric: tabular-nums; }

.bf-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bf-tags li {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
}
.bf-card__text { color: var(--ink-2); font-size: 14.5px; }
.bf-card__best { font-size: 14px; color: var(--muted); }
.bf-card__best strong { color: var(--ink); }
.bf-card__actions { margin-top: auto; padding-top: 4px; display: flex; flex-direction: column; gap: 6px; }
.bf-card__actions .bf-btn--quiet { align-self: flex-start; }

.bf-empty {
  max-width: var(--max);
  margin: 24px auto 0;
  padding: 22px;
  border-radius: var(--r);
  background: var(--warn-tint);
  border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent);
  color: var(--warn);
}

/* ---------- table ---------- */
.bf-table-wrap {
  max-width: var(--max);
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.bf-table-wrap:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.bf-table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
  font-size: 14.5px;
}
.bf-table caption { text-align: left; }
.bf-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--surface-2);
  text-align: left;
  padding: 13px 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
.bf-table thead th[data-sort] { cursor: pointer; user-select: none; }
.bf-table thead th[data-sort]:hover { color: var(--brand-strong); }
.bf-table thead th[data-sort]::after { content: "↕"; opacity: .35; margin-left: 6px; font-size: 11px; }
.bf-table thead th[aria-sort="ascending"]::after { content: "↑"; opacity: 1; color: var(--brand-strong); }
.bf-table thead th[aria-sort="descending"]::after { content: "↓"; opacity: 1; color: var(--brand-strong); }
.bf-th-note { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .03em; text-transform: none; opacity: .8; }
.bf-table tbody th,
.bf-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  color: var(--ink-2);
}
.bf-table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--bg) 55%, transparent); }
.bf-table tbody tr:hover { background: var(--brand-tint); }
.bf-table tbody tr.is-picked { background: color-mix(in srgb, var(--brand) 12%, transparent); }
.bf-table__name { font-size: 15.5px; color: var(--ink); font-weight: 700; white-space: nowrap; }
.bf-table td { font-variant-numeric: tabular-nums; }
.bf-index {
  display: inline-block;
  min-width: 38px;
  text-align: center;
  padding: 3px 8px;
  border-radius: 8px;
  background: var(--brand-tint);
  color: var(--brand-strong);
  font-weight: 800;
}
.bf-compare-toggle--table {
  position: static;
  background: var(--bg);
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  min-height: 34px;
}
.bf-compare-toggle--table:hover { border-color: var(--brand); }
.bf-scroll-hint { display: none; }
.bf-table__note {
  max-width: var(--max);
  margin: 12px auto 0;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- compare tray ---------- */
main > section.bf-tray { padding: 10px 0; }
.bf-tray {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  border-top: 1px solid var(--line-2);
  box-shadow: 0 -12px 34px rgba(15, 27, 45, .14);
  backdrop-filter: blur(12px);
}
.bf-tray[hidden] { display: none; }
body.bf.has-tray { padding-bottom: 104px; }
body.bf.has-tray .bf-footer { padding-bottom: 112px; }
.bf-tray__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.bf-tray__label { font-weight: 750; font-size: 14.5px; color: var(--ink); }
.bf-tray__list { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; flex-wrap: wrap; }
.bf-tray__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 6px 12px;
  border-radius: 999px;
  background: var(--brand-tint);
  border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
  font-size: 13.5px;
  font-weight: 650;
  color: var(--brand-deep);
}
.bf-tray__list button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  border-radius: 50%;
}
.bf-tray__list button:hover { background: color-mix(in srgb, var(--brand) 22%, transparent); }
.bf-tray__actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }

/* ---------- compare panel ---------- */
.bf-compare-panel {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(6, 10, 18, .66);
  backdrop-filter: blur(4px);
  padding: 28px 16px;
  overflow-y: auto;
}
.bf-compare-panel[hidden] { display: none; }
.bf-panel__wrap {
  max-width: 1080px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 24px;
}
.bf-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.bf-panel__head h2 { font-size: 26px; }
.bf-compare-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.bf-cmp { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; background: var(--bg); min-width: 0; }
.bf-cmp__name { font-size: 19px; }
.bf-cmp__best { display: inline-block; margin-top: 6px; padding: 3px 9px; border-radius: 999px; background: var(--good-tint); color: var(--good); font-size: 11.5px; font-weight: 800; }
.bf-cmp dl { margin: 14px 0 0; display: grid; gap: 8px; }
.bf-cmp dl > div { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.bf-cmp dt { color: var(--muted); }
.bf-cmp dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.bf-cmp .bf-btn { margin-top: 14px; }
.bf-verdict {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--r);
  background: var(--brand-tint);
  border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
  color: var(--brand-deep);
  font-size: 15px;
}
.bf-verdict strong { color: var(--brand-deep); }

/* ---------- match quiz ---------- */
.bf-match__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
.bf-match__set {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bf-match__set legend {
  padding: 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--brand-strong);
}
.bf-match__set label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--bg);
  cursor: pointer;
  font-size: 15px;
}
.bf-match__set label:hover { background: var(--brand-tint); }
.bf-match__set input { accent-color: var(--brand-strong); width: 18px; height: 18px; flex: none; }
.bf-match__result {
  max-width: var(--max);
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.bf-pick {
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--r);
  background: var(--surface);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.bf-pick__why { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-strong); }
.bf-pick h3 { font-size: 20px; margin: 6px 0 4px; }
.bf-pick p { font-size: 14.5px; color: var(--muted); }
.bf-pick .bf-btn { margin-top: 12px; }

/* ---------- niches ---------- */
.bf-niches > * { max-width: var(--max); margin-inline: auto; }
.bf-niche {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 12px 40px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.bf-niche:first-of-type { border-top: 0; }
.bf-niche__head h3 { font-size: 20px; }
.bf-niche__head p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.bf-niche__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bf-niche__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
}
.bf-niche__list a { font-weight: 700; text-decoration: none; color: var(--ink); }
.bf-niche__list a:hover { color: var(--brand-strong); text-decoration: underline; }
.bf-niche__list span { color: var(--muted); font-size: 13.5px; text-align: right; }

/* ---------- cost ---------- */
.bf-cost__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
.bf-cost__card {
  padding: 24px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.bf-cost__card h3 { font-size: 19px; margin-bottom: 10px; }
.bf-cost__card p { color: var(--ink-2); font-size: 15px; }
.bf-planner {
  max-width: var(--max);
  margin: 30px auto 0;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.bf-planner__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.bf-planner__head h3 { font-size: 20px; }
.bf-planner__pick { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--muted); }
.bf-planner__pick select {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.bf-planner .bf-table-wrap { border-radius: var(--r); box-shadow: none; }
.bf-cost__link { max-width: var(--max); margin: 24px auto 0; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- safety ---------- */
.bf-checks {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.bf-check {
  padding: 20px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--good);
  box-shadow: var(--shadow-sm);
}
.bf-check h3 { font-size: 16.5px; margin-bottom: 8px; }
.bf-check p { color: var(--muted); font-size: 14.5px; }

/* ---------- method ---------- */
.bf-method__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}
.bf-method__col h3 { font-size: 20px; margin-bottom: 10px; }
.bf-method__col p { color: var(--ink-2); font-size: 15.5px; max-width: 620px; }
.bf-method__limits {
  max-width: var(--max);
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.bf-method__limits > div {
  padding: 18px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
}
.bf-method__limits dt { font-weight: 800; font-size: 15px; color: var(--ink); }
.bf-method__limits dd { margin: 6px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- faq ---------- */
.bf-faq__list { max-width: 900px; margin: 0 auto; display: grid; gap: 10px; }
.bf-faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
}
.bf-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 650;
  font-size: 16.5px;
  list-style: none;
}
.bf-faq__item summary::-webkit-details-marker { display: none; }
.bf-faq__item summary:hover { color: var(--brand-strong); }
.bf-faq__sign {
  position: relative;
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
}
.bf-faq__sign::before,
.bf-faq__sign::after {
  content: "";
  position: absolute;
  inset: 50% 6px auto;
  height: 2px;
  background: var(--brand-strong);
  transform: translateY(-50%);
  transition: transform .2s ease, opacity .2s ease;
}
.bf-faq__sign::after { transform: translateY(-50%) rotate(90deg); }
.bf-faq__item[open] .bf-faq__sign::after { transform: translateY(-50%) rotate(0deg); opacity: 0; }
.bf-faq__body { padding: 0 20px 18px; color: var(--ink-2); font-size: 15.5px; }

/* ---------- editor ---------- */
.bf-editor {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}
.bf-editor__card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.bf-editor__card img { border-radius: 12px; flex: none; }
.bf-editor__card h2 { font-size: 21px; margin: 8px 0 10px; }
.bf-editor__card p { color: var(--muted); font-size: 15px; }
.bf-editor__card .bf-btn { margin-top: 14px; }
.bf-editor__card--disclosure { background: var(--surface-2); }

/* ---------- guides + footer ---------- */
.bf-guides {
  padding: 52px 20px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.bf-guides h2 { max-width: var(--max); margin: 0 auto 20px; font-size: 24px; }
.bf-guides nav { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bf-guides a {
  display: block;
  padding: 16px 20px;
  border-radius: var(--r);
  background: var(--bg);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-weight: 650;
}
.bf-guides a:hover { border-color: var(--brand); color: var(--brand-strong); }

.bf-footer { padding: 52px 20px 28px; background: var(--bg); border-top: 1px solid var(--line); }
.bf-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}
.bf-footer__brand p { color: var(--muted); font-size: 14.5px; margin-top: 12px; max-width: 380px; }
.bf-footer__fresh { font-size: 12.5px; color: var(--muted); }
.bf-footer nav { display: flex; flex-direction: column; gap: 9px; }
.bf-footer nav h2 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.bf-footer nav a { color: var(--ink-2); text-decoration: none; font-size: 14.5px; }
.bf-footer nav a:hover { color: var(--brand-strong); text-decoration: underline; }
.bf-footer__copy { max-width: var(--max); margin: 30px auto 0; color: var(--muted); font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .bf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bf-quick__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bf-method__limits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  body.bf { font-size: 16px; }
  .bf-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 34px; padding: 48px 20px 54px; }
  .bf-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bf-section__head { grid-template-columns: minmax(0, 1fr); }
  .bf-match__grid { grid-template-columns: minmax(0, 1fr); }
  .bf-cost__grid { grid-template-columns: minmax(0, 1fr); }
  .bf-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bf-method__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .bf-editor { grid-template-columns: minmax(0, 1fr); }
  .bf-nav { display: none; }
  .bf-brand__tag { display: inline-block; }
}

@media (max-width: 760px) {
  main > section { padding: 48px 16px; }
  .bf-grid { grid-template-columns: minmax(0, 1fr); }
  .bf-quick__grid { grid-template-columns: minmax(0, 1fr); }
  .bf-checks { grid-template-columns: minmax(0, 1fr); }
  .bf-method__limits { grid-template-columns: minmax(0, 1fr); }
  .bf-niche { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .bf-niche__list li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .bf-niche__list span { text-align: left; }
  .bf-guides nav { grid-template-columns: minmax(0, 1fr); }
  .bf-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .bf-tray__inner { padding: 10px 16px; gap: 10px; }
  .bf-tray__actions { margin-left: 0; width: 100%; }
  .bf-tray__actions .bf-btn { flex: 1 1 auto; }
  .bf-card__media { height: 240px; }
  .bf-card__text, .bf-card__tagline, .bf-card__best, .bf-faq__body, .bf-method__col p,
  .bf-niche__head p, .bf-check p, .bf-cost__card p, .bf-section__head > p { font-size: 16px; }
  .bf-match__set label { min-height: 44px; font-size: 16px; }
  .bf-compare-toggle--table { min-height: 44px; }
  .bf-tray__list button { min-width: 44px; min-height: 44px; }
  .bf-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .bf-scroll-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: var(--max);
    margin: 0 auto 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--brand-tint);
    color: var(--brand-deep);
    font-size: 13.5px;
    font-weight: 650;
  }
  .bf-chipset__label { min-width: 100%; }
  .bf-chip { min-height: 44px; }
  .bf-toolbar { gap: 10px; }
  .bf-toolbar__right { width: 100%; justify-content: space-between; }
  .bf-planner { padding: 18px 14px; }
  .bf-sort select, .bf-planner__pick select { min-height: 44px; }
  .bf-icon-btn { width: 44px; height: 44px; }
  .bf-brand { min-height: 44px; }
  .bf-compare-toggle { min-height: 44px; padding: 9px 14px; }
  .bf-compare-toggle input { width: 20px; height: 20px; }
  .bf-compare-toggle--table { min-height: 38px; }
  .language-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
  .language-nav::-webkit-scrollbar { display: none; }
  .language-nav a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 14px;
  }
}

@media (max-width: 560px) {
  .bf-header__inner { gap: 12px; padding: 10px 16px; }
  .bf-brand__name { font-size: 17px; }
  .bf-brand__tag { display: none; }
  .bf-brand img { width: 30px; height: 30px; }
  .bf-header__tools { gap: 8px; }
  .bf-header__tools .bf-btn { padding: 10px 14px; font-size: 14px; }
  .bf-only-sm { display: inline; }
  .bf-hide-sm { display: none; }
}

@media (max-width: 420px) {
  .bf-dek { font-size: 17px; }
  .bf-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bf-kpis dd { font-size: 18px; }
  .bf-hero__actions .bf-btn { width: 100%; }
  .bf-compare-grid { grid-template-columns: minmax(0, 1fr); }
  .bf-price strong { font-size: 20px; }
}

/* ---------- motion + print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .bf-header, .bf-tray, .bf-progress, .bf-filters, .bf-compare-toggle, .bf-cta-row { display: none !important; }
  body.bf { background: #fff; color: #000; }
  .bf-hero { background: #fff; color: #000; }
  .bf-hero h1, .bf-hero .bf-dek { color: #000; }
}

/* ---------- budget, view switch, export (2026-10-24 additions) ---------- */
.bf-budget {
  max-width: var(--max);
  margin: 0 auto 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}
.bf-budget__label { font-weight: 700; font-size: 15px; }
.bf-budget__input {
  width: 122px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.bf-budget__result { flex: 1 1 240px; font-size: 14.5px; color: var(--muted); margin: 0; }
.bf-budget__result.is-active { color: var(--ink); font-weight: 650; }
.bf-budget__hint { flex: 1 1 100%; font-size: 12.5px; color: var(--muted); margin: 0; }

.bf-view {
  display: inline-flex;
  padding: 3px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.bf-view-btn {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.bf-view-btn:hover { color: var(--brand-strong); }
.bf-view-btn[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

.bf-table__actions { max-width: var(--max); margin: 12px auto 0; display: flex; gap: 10px; flex-wrap: wrap; }

/* compact card mode */
body.bf.bf-compact .bf-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
body.bf.bf-compact .bf-card { flex-direction: row; align-items: center; }
body.bf.bf-compact .bf-card__media { width: 148px; height: 104px; flex: none; }
body.bf.bf-compact .bf-card__body {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 18px;
}
body.bf.bf-compact .bf-card__head { min-width: 150px; }
body.bf.bf-compact .bf-card__tagline,
body.bf.bf-compact .bf-card__text,
body.bf.bf-compact .bf-card__best,
body.bf.bf-compact .bf-tags,
body.bf.bf-compact .bf-credit { display: none; }
body.bf.bf-compact .bf-price { min-width: 165px; }
body.bf.bf-compact .bf-stats { min-width: 210px; }
body.bf.bf-compact .bf-meter { min-width: 140px; }
body.bf.bf-compact .bf-card__actions { margin: 0; padding: 0; flex-direction: row; align-items: center; }
body.bf.bf-compact .bf-card__actions .bf-btn--quiet { display: none; }

/* table mode */
body.bf.bf-table-mode .bf-filters,
body.bf.bf-table-mode .bf-grid,
body.bf.bf-table-mode .bf-budget { display: none; }

@media (max-width: 760px) {
  body.bf.bf-compact .bf-card { flex-direction: column; align-items: stretch; }
  body.bf.bf-compact .bf-card__media { width: 100%; height: 170px; }
  body.bf.bf-compact .bf-card__body { flex-direction: column; align-items: stretch; }
  body.bf.bf-compact .bf-price,
  body.bf.bf-compact .bf-stats,
  body.bf.bf-compact .bf-meter { min-width: 0; width: 100%; }
  .bf-budget { padding: 14px 16px; gap: 10px; }
  .bf-budget__input { width: 100%; }
  .bf-budget__result { flex: 1 1 100%; }
  .bf-toolbar__right { flex-wrap: wrap; gap: 8px; }
  .bf-sort { flex: 1 1 160px; min-width: 0; }
  .bf-sort select { flex: 1 1 auto; min-width: 0; width: 100%; }
  .bf-toolbar__jump { flex: 0 0 auto; }
  .bf-view { order: 3; flex: 1 1 100%; width: 100%; }
  .bf-view-btn { flex: 1 1 0; padding: 0 8px; }
}

/* ---------- price ladder + attribute matrix (2026-10-24) ---------- */
.bf-ladder__scale {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 90px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.bf-ladder__inner { position: relative; min-width: 640px; height: 190px; }
.bf-ladder__axis { position: absolute; left: 0; right: 0; bottom: 40px; height: 2px; background: var(--line-2); }
.bf-ladder__tick {
  position: absolute;
  bottom: -22px;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.bf-ladder__mark {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 0;
  height: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transform: translateX(-50%);
}
.bf-ladder__mark::before {
  content: "";
  position: absolute;
  left: -34px;
  right: -34px;
  top: -74px;
  bottom: -26px;
}
.bf-ladder__dot {
  position: absolute;
  left: -7px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-strong);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent);
  transition: transform .16s ease, box-shadow .16s ease;
}
.bf-ladder__label {
  position: absolute;
  left: 0;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}
.bf-ladder__mark--high .bf-ladder__label { bottom: 68px; }
.bf-ladder__name { font-size: 12.5px; font-weight: 650; color: var(--ink); white-space: nowrap; }
.bf-ladder__price { font-size: 11.5px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bf-ladder__mark:hover .bf-ladder__dot, .bf-ladder__mark:focus-visible .bf-ladder__dot {
  transform: scale(1.25);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 28%, transparent);
}
.bf-ladder__hint {
  max-width: var(--max);
  margin: 26px auto 0;
  padding: 0 20px;
  font-size: 13px;
  color: var(--muted);
}

.bf-matrix-table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 14.5px; }
.bf-matrix-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--surface-2);
  text-align: left;
  padding: 12px 13px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
.bf-matrix-table tbody th,
.bf-matrix-table tbody td {
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  color: var(--ink-2);
  white-space: nowrap;
}
.bf-matrix-table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--bg) 55%, transparent); }
.bf-matrix__dot {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
}
.bf-matrix__dot--yes { background: var(--brand-strong); border-color: var(--brand-strong); }
.bf-matrix__index { display: inline-flex; align-items: center; gap: 9px; font-variant-numeric: tabular-nums; }
.bf-matrix__bar { width: 58px; height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bf-matrix__bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #6ee7b7); }
.bf-legend { max-width: var(--max); margin: 12px auto 0; padding: 0 20px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.bf-legend__item { display: inline-flex; align-items: center; gap: 8px; }
.bf-legend__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-2); }
.bf-legend__dot--on { background: var(--brand-strong); border-color: var(--brand-strong); }

.bf-card--flash { outline: 3px solid var(--brand); outline-offset: 3px; }

/* ==========================================================================
   Visual upgrade layer — 2026-10-24 (deeper colour system, iconography,
   richer cards, banded sections, micro data-graphics)
   ========================================================================== */

:root {
  --wash: #edf6fd;
  --wash-2: #f3f8fd;
  --ink-band: #0d1626;
  --accent-free: #0f8f4d;
  --accent-free-tint: #e6f6ee;
  --accent-offer: #a35a06;
  --accent-offer-tint: #fdf1e1;
  --accent-live: #7a3ff2;
  --accent-live-tint: #f1ebff;
  --radius-lg: 22px;
  --ring: 0 0 0 4px color-mix(in srgb, var(--brand) 26%, transparent);
  --shadow-card: 0 1px 2px rgba(13, 22, 38, .06), 0 8px 20px -12px rgba(13, 22, 38, .28);
  --shadow-lift: 0 2px 4px rgba(13, 22, 38, .08), 0 22px 44px -20px rgba(13, 22, 38, .42);
  --grad-brand: linear-gradient(135deg, #1fc0f7 0%, #0a8fce 58%, #036a99 100%);
  --grad-line: linear-gradient(90deg, var(--brand) 0%, #6ee7b7 100%);
}

html[data-theme="dark"] {
  --wash: #0a1622;
  --wash-2: #0c1926;
  --ink-band: #050a12;
  --accent-free: #6ee7a8;
  --accent-free-tint: #0d2a1d;
  --accent-offer: #f3bd7c;
  --accent-offer-tint: #2c1f11;
  --accent-live: #c4a5ff;
  --accent-live-tint: #1c1433;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .5), 0 10px 26px -14px rgba(0, 0, 0, .8);
  --shadow-lift: 0 2px 6px rgba(0, 0, 0, .55), 0 26px 52px -22px rgba(0, 0, 0, .9);
  --grad-brand: linear-gradient(135deg, #56d2fb 0%, #1b9dd6 58%, #0b6ea3 100%);
}

/* ---------- icon system (inline SVG masks, no external assets) ---------- */
:root {
  --i-check: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  --i-coin: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='8.5' fill='none' stroke='black' stroke-width='2'/><path d='M12 7.5v9M14.5 9.5c-.6-.8-1.5-1.2-2.5-1.2-1.4 0-2.4.8-2.4 2s1 1.8 2.4 2c1 0 1.8.4 2.4 1.2-.7.8-1.6 1.2-2.4 1.2-1 0-1.9-.4-2.5-1.2' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/></svg>");
  --i-stack: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='4' y='4' width='16' height='5' rx='1.6' fill='none' stroke='black' stroke-width='2'/><rect x='4' y='12' width='16' height='5' rx='1.6' fill='none' stroke='black' stroke-width='2'/><path d='M9 17.5h6' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>");
  --i-globe: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='8.5' fill='none' stroke='black' stroke-width='2'/><path d='M3.5 12h17M12 3.5c2.4 2.4 2.4 14.6 0 17M12 3.5c-2.4 2.4-2.4 14.6 0 17' fill='none' stroke='black' stroke-width='1.7'/></svg>");
  --i-chat: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 15.5a2 2 0 0 1-2 2H8l-4 3.2V6.5a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/></svg>");
  --i-live: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='3' y='6' width='18' height='12' rx='2.5' fill='none' stroke='black' stroke-width='2'/><path d='M10 10.5v3l4-1.5z' fill='black'/></svg>");
  --i-dumbbell: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 9v6M7 7.5v9M17 7.5v9M20 9v6M7 12h10' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>");
  --i-sparkle: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 3.5 13.8 9 19.5 10.8 13.8 12.6 12 18.2 10.2 12.6 4.5 10.8 10.2 9z' fill='none' stroke='black' stroke-width='1.9' stroke-linejoin='round'/></svg>");
  --i-clock: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='8.5' fill='none' stroke='black' stroke-width='2'/><path d='M12 7.5V12l3 2' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>");
  --i-wallet: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='3' y='6' width='18' height='13' rx='2.5' fill='none' stroke='black' stroke-width='2'/><path d='M3 10h18M16.5 14.5h1.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>");
  --i-shield: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 3.5 19 6v6c0 4-3 6.8-7 8.5-4-1.7-7-4.5-7-8.5V6z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/><path d='m9 12 2 2 4-4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  --i-scale: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 4v16M6 8h12M6 8l-2.5 6h5zM18 8l-2.5 6h5zM8 20h8' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  --i-download: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 4v10M8 10.5l4 3.5 4-3.5M5 19h14' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  --i-link: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M10 13.5a3.5 3.5 0 0 0 5 0l2.5-2.5a3.5 3.5 0 0 0-5-5L11 7.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/><path d='M14 10.5a3.5 3.5 0 0 0-5 0L6.5 13a3.5 3.5 0 0 0 5 5L13 16.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>");
  --i-layout: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='3.5' y='4' width='7' height='16' rx='1.6' fill='none' stroke='black' stroke-width='2'/><rect x='13.5' y='4' width='7' height='7' rx='1.6' fill='none' stroke='black' stroke-width='2'/><rect x='13.5' y='13.5' width='7' height='6.5' rx='1.6' fill='none' stroke='black' stroke-width='2'/></svg>");
  --i-rows: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 6h16M4 12h16M4 18h16' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'/></svg>");
  --i-table: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='3.5' y='5' width='17' height='14' rx='2' fill='none' stroke='black' stroke-width='2'/><path d='M3.5 10h17M9.5 10v9' fill='none' stroke='black' stroke-width='1.8'/></svg>");
}
.bf-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 10px;
  background: var(--brand-tint);
  color: var(--brand-strong);
}
.bf-ico::before {
  content: "";
  width: 17px;
  height: 17px;
  background: currentColor;
  -webkit-mask: var(--i-check) center / contain no-repeat;
  mask: var(--i-check) center / contain no-repeat;
}
.bf-ico--coin { background: var(--accent-offer-tint); color: var(--accent-offer); }
.bf-ico--coin::before { -webkit-mask: var(--i-coin) center / contain no-repeat; mask: var(--i-coin) center / contain no-repeat; }
.bf-ico--stack { background: var(--brand-tint); color: var(--brand-strong); }
.bf-ico--stack::before { -webkit-mask: var(--i-stack) center / contain no-repeat; mask: var(--i-stack) center / contain no-repeat; }
.bf-ico--globe { background: var(--accent-free-tint); color: var(--accent-free); }
.bf-ico--globe::before { -webkit-mask: var(--i-globe) center / contain no-repeat; mask: var(--i-globe) center / contain no-repeat; }
.bf-ico--chat { background: var(--accent-live-tint); color: var(--accent-live); }
.bf-ico--chat::before { -webkit-mask: var(--i-chat) center / contain no-repeat; mask: var(--i-chat) center / contain no-repeat; }
.bf-ico--live { background: var(--accent-free-tint); color: var(--accent-free); }
.bf-ico--live::before { -webkit-mask: var(--i-live) center / contain no-repeat; mask: var(--i-live) center / contain no-repeat; }
.bf-ico--dumbbell { background: var(--accent-offer-tint); color: var(--accent-offer); }
.bf-ico--dumbbell::before { -webkit-mask: var(--i-dumbbell) center / contain no-repeat; mask: var(--i-dumbbell) center / contain no-repeat; }
.bf-ico--sparkle { background: var(--brand-tint); color: var(--brand-strong); }
.bf-ico--sparkle::before { -webkit-mask: var(--i-sparkle) center / contain no-repeat; mask: var(--i-sparkle) center / contain no-repeat; }
.bf-ico--clock { background: var(--accent-offer-tint); color: var(--accent-offer); }
.bf-ico--clock::before { -webkit-mask: var(--i-clock) center / contain no-repeat; mask: var(--i-clock) center / contain no-repeat; }
.bf-ico--wallet { background: var(--accent-free-tint); color: var(--accent-free); }
.bf-ico--wallet::before { -webkit-mask: var(--i-wallet) center / contain no-repeat; mask: var(--i-wallet) center / contain no-repeat; }
.bf-ico--shield { background: var(--accent-free-tint); color: var(--accent-free); }
.bf-ico--shield::before { -webkit-mask: var(--i-shield) center / contain no-repeat; mask: var(--i-shield) center / contain no-repeat; }
.bf-ico--scale { background: var(--brand-tint); color: var(--brand-strong); }
.bf-ico--scale::before { -webkit-mask: var(--i-scale) center / contain no-repeat; mask: var(--i-scale) center / contain no-repeat; }
.bf-ico--download { background: var(--surface-2); color: var(--ink-2); }
.bf-ico--download::before { -webkit-mask: var(--i-download) center / contain no-repeat; mask: var(--i-download) center / contain no-repeat; }
.bf-ico--link { background: var(--surface-2); color: var(--ink-2); }
.bf-ico--link::before { -webkit-mask: var(--i-link) center / contain no-repeat; mask: var(--i-link) center / contain no-repeat; }
.bf-ico--layout { background: var(--surface-2); color: var(--ink-2); }
.bf-ico--layout::before { -webkit-mask: var(--i-layout) center / contain no-repeat; mask: var(--i-layout) center / contain no-repeat; }
.bf-ico--rows { background: var(--surface-2); color: var(--ink-2); }
.bf-ico--rows::before { -webkit-mask: var(--i-rows) center / contain no-repeat; mask: var(--i-rows) center / contain no-repeat; }
.bf-ico--table { background: var(--surface-2); color: var(--ink-2); }
.bf-ico--table::before { -webkit-mask: var(--i-table) center / contain no-repeat; mask: var(--i-table) center / contain no-repeat; }

/* ---------- banded sections ---------- */
main > section.bf-quick { background: var(--wash-2); }
main > section.bf-shortlist,
main > section.bf-match,
main > section.bf-method,
main > section.bf-editor { background: var(--bg); }
main > section.bf-niches,
main > section.bf-faq { background: var(--wash-2); }
main > section.bf-cost { background: var(--bg); }
main > section.bf-safety { background: var(--wash); }

.bf-section__head { position: relative; }
.bf-section__head::before {
  content: "";
  position: absolute;
  left: 0;
  top: -18px;
  width: 54px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-line);
}

/* ---------- hero: aurora + grid ---------- */
.bf-hero {
  background:
    radial-gradient(90% 120% at 88% -20%, rgba(13, 177, 242, .38) 0%, rgba(13, 177, 242, 0) 60%),
    radial-gradient(70% 90% at 6% 108%, rgba(110, 231, 183, .16) 0%, rgba(110, 231, 183, 0) 62%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .028) 0 2px, rgba(255, 255, 255, 0) 2px 46px),
    var(--hero-bg);
}
.bf-hero__inner { padding: 58px 20px 58px; }
.bf-hero h1 { letter-spacing: -0.045em; }
.bf-kpis {
  margin-top: 30px;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, .045);
  backdrop-filter: blur(6px);
}
.bf-kpis > div {
  padding: 16px 20px;
  border: 0;
  background: none;
  border-right: 1px solid rgba(255, 255, 255, .1);
}
.bf-kpis > div:last-child { border-right: 0; }
.bf-kpis dt { color: #93a9c1; }
.bf-kpis dd { font-size: 24px; letter-spacing: -0.02em; }
.bf-trust li::before {
  content: "";
  width: 17px; height: 17px;
  background: #6ee7b7;
  -webkit-mask: var(--i-check) center / contain no-repeat;
  mask: var(--i-check) center / contain no-repeat;
}

/* ---------- hero panel ---------- */
.bf-hero__panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .035));
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8);
}
.bf-panel__head { border-bottom-color: rgba(255, 255, 255, .14); }
.bf-mini { padding: 14px 6px; border-bottom-color: rgba(255, 255, 255, .08); }
.bf-mini img { width: 62px; height: 68px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .12); }
.bf-mini__score {
  background: linear-gradient(135deg, rgba(110, 231, 183, .3), rgba(13, 177, 242, .18));
  border: 1px solid rgba(110, 231, 183, .34);
  color: #a8f5d2;
}
.bf-mini__rank { color: #7fd7ff; }

/* ---------- buttons ---------- */
.bf-btn--primary {
  background: var(--grad-brand);
  color: #04202c;
  box-shadow: 0 10px 26px -10px color-mix(in srgb, var(--brand) 70%, transparent);
}
.bf-btn--primary:hover { background: var(--grad-brand); filter: brightness(1.07); }
html[data-theme="dark"] .bf-btn--primary { color: #04202c; }
.bf-btn--outline { background: var(--surface); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.bf-btn--quiet { border-radius: 10px; }
.bf-btn:focus-visible { outline: none; box-shadow: var(--ring); border-color: var(--brand); }

/* ---------- cards ---------- */
.bf-card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border-color: var(--line);
  position: relative;
  overflow: hidden;
}
.bf-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-line);
  opacity: .55;
  z-index: 2;
}
.bf-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
}
.bf-card__media { height: 268px; }
.bf-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(9, 15, 26, 0) 0%, rgba(9, 15, 26, .72) 100%);
  pointer-events: none;
}
.bf-card__media img { transition: transform .5s cubic-bezier(.2, .7, .3, 1); }
.bf-card:hover .bf-card__media img { transform: scale(1.05); }
.bf-badge {
  background: rgba(9, 15, 26, .78);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px);
}
.bf-badge--rank { background: var(--grad-brand); color: #04202c; border-color: transparent; }
.bf-badge--free { background: linear-gradient(135deg, #6ee7b7, #34d399); color: #04301e; border-color: transparent; }
.bf-price {
  background: linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--brand-tint) 60%, transparent));
  border-color: color-mix(in srgb, var(--brand) 18%, var(--line));
}
.bf-price__first { color: var(--accent-offer); font-weight: 600; }
.bf-meter__bar { background: color-mix(in srgb, var(--brand) 12%, var(--surface-2)); }
.bf-meter__bar > span { background: var(--grad-brand); }
.bf-stats > div { background: color-mix(in srgb, var(--surface) 70%, var(--bg)); }
.bf-tags li { background: var(--surface-2); border-color: transparent; }
.bf-card__actions .bf-btn--primary { color: #04202c; }
.bf-access--paid { background: var(--brand-tint); color: var(--brand-strong); }
.bf-access--free { background: var(--accent-free-tint); color: var(--accent-free); }

/* ---------- chips and filters ---------- */
.bf-filters,
.bf-budget {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border-color: var(--line);
}
.bf-chip {
  border-color: var(--line-2);
  background: var(--surface);
  transition: transform .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.bf-chip:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.bf-chip[aria-pressed="true"] {
  background: var(--grad-brand);
  border-color: transparent;
  color: #04202c;
  box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--brand) 80%, transparent);
}
html[data-theme="dark"] .bf-chip[aria-pressed="true"] { color: #04202c; }
.bf-chipset__label { color: var(--muted); }
.bf-toolbar { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.bf-view-btn[aria-pressed="true"] { background: var(--surface); color: var(--brand-strong); }

/* ---------- tables ---------- */
.bf-table thead th,
.bf-matrix-table thead th {
  background: var(--ink-band);
  color: #cfe0f2;
  border-bottom: 0;
}
.bf-table tbody tr:hover,
.bf-matrix-table tbody tr:hover { background: color-mix(in srgb, var(--brand) 9%, transparent); }
.bf-table tbody tr.is-picked { background: color-mix(in srgb, var(--brand) 16%, transparent); }
.bf-index { background: var(--grad-brand); color: #04202c; }
.bf-matrix__bar > span { background: var(--grad-brand); }
.bf-matrix__dot--yes { background: var(--grad-brand); border-color: transparent; }

/* ---------- quick picks, niches, cost, safety ---------- */
.bf-quick__card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.bf-quick__card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--grad-brand);
}
.bf-quick__card:hover { box-shadow: var(--shadow-lift); }
.bf-niche__list li {
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.bf-niche__list li:hover {
  transform: translateX(3px);
  box-shadow: var(--shadow-card);
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
}
.bf-cost__card,
.bf-check,
.bf-pick,
.bf-editor__card,
.bf-planner {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.bf-check { border-left: 0; border-top: 3px solid var(--accent-free); }
.bf-check:nth-child(3n + 2) { border-top-color: var(--brand); }
.bf-check:nth-child(3n + 3) { border-top-color: var(--accent-offer); }
.bf-planner { background: color-mix(in srgb, var(--surface) 72%, var(--brand-tint)); }
.bf-editor__card--disclosure { background: linear-gradient(135deg, var(--surface-2), color-mix(in srgb, var(--brand-tint) 70%, var(--surface-2))); }

/* ---------- method ---------- */
.bf-method__limits > div {
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--brand);
}

/* ---------- faq ---------- */
.bf-faq__item { border-radius: var(--r); box-shadow: var(--shadow-sm); }
.bf-faq__item[open] { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }

/* ---------- compare panel / tray ---------- */
.bf-tray { background: color-mix(in srgb, var(--surface) 94%, transparent); }
.bf-cmp { border-radius: var(--r); box-shadow: var(--shadow-sm); background: var(--bg); }
.bf-cmp__best { background: var(--accent-free-tint); color: var(--accent-free); }
.bf-verdict {
  background: linear-gradient(135deg, var(--brand-tint), color-mix(in srgb, var(--surface) 80%, transparent));
  border-color: color-mix(in srgb, var(--brand) 35%, transparent);
}

/* ---------- ladder + matrix ---------- */
.bf-ladder__axis { background: linear-gradient(90deg, var(--brand), var(--line-2)); height: 3px; }
.bf-ladder__dot { background: var(--grad-brand); }
.bf-ladder__mark:hover .bf-ladder__dot,
.bf-ladder__mark:focus-visible .bf-ladder__dot { background: var(--grad-brand); }
.bf-legend { color: var(--muted); }

/* ---------- footer ---------- */
.bf-footer { background: color-mix(in srgb, var(--bg) 70%, var(--ink-band)); color: var(--ink); }
.bf-footer__inner { color: var(--ink); }
.bf-guide-link-icon { display: none; }

@media (max-width: 760px) {
  .bf-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bf-kpis > div { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .bf-card__media { height: 240px; }
}

/* ==========================================================================
   Critique pass — 2026-10-24 (independent design review)
   ========================================================================== */

/* --- filter wall: budget + search on one row, chip groups 2x2 --- */
@media (min-width: 900px) {
  .bf-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; align-items: start; }
  .bf-filters__top { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; }
  .bf-filters__budget {
    margin: 0;
    padding: 0 0 0 18px;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    background: none;
    flex-wrap: nowrap;
  }
  .bf-filters__budget .bf-budget__label { white-space: nowrap; }
  .bf-filters__budget .bf-budget__hint,
  .bf-filters__budget .bf-budget__result { flex: none; }
  .bf-filters__budget .bf-budget__hint { display: none; }
  .bf-filters__budget .bf-budget__result { font-size: 13px; max-width: 260px; }
  .bf-chipset { align-items: center; }
  .bf-chipset__label { min-width: 62px; }
}

/* --- hero panel: bigger portraits, index bar --- */
.bf-mini { grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; padding: 15px 6px; }
.bf-mini img { width: 76px; height: 88px; border-radius: 14px; }
.bf-mini__meta { font-size: 13px; }
.bf-mini__score { min-width: 54px; text-align: center; padding: 8px 10px; }
.bf-mini__bar {
  grid-column: 3;
  display: block;
  width: 54px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  overflow: hidden;
  margin-top: 6px;
}
.bf-mini__bar > span { display: block; height: 100%; background: var(--grad-line); }
.bf-mini { grid-template-areas: "img body score" "img body bar"; }
.bf-mini img { grid-area: img; }
.bf-mini__body { grid-area: body; }
.bf-mini__score { grid-area: score; align-self: end; }
.bf-mini__bar { grid-area: bar; align-self: start; }

/* --- quick picks: portrait, price, arrow --- */
.bf-quick__card { padding: 0 22px 22px; display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 4px 16px; align-items: start; }
.bf-quick__card img {
  grid-row: 1 / span 4;
  width: 68px;
  height: 86px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  margin-top: 18px;
}
.bf-quick__card::before { width: 4px; }
.bf-quick__label { grid-column: 2; margin-top: 18px; }
.bf-quick__card strong { grid-column: 2; }
.bf-quick__card span:last-of-type { grid-column: 2; }
.bf-quick__price {
  grid-column: 2;
  margin-top: 10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-strong);
  font-variant-numeric: tabular-nums;
}
.bf-quick__arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted);
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.bf-quick__arrow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  -webkit-mask: var(--i-link) center / 14px no-repeat;
  mask: var(--i-link) center / 14px no-repeat;
  transform: scaleX(-1);
}
.bf-quick__card:hover .bf-quick__arrow { background: var(--brand-strong); color: #fff; transform: translateX(3px); }

/* --- safety checklist: numbered, icon-led --- */
.bf-check { padding: 20px 20px 22px; }
.bf-check__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.bf-check__num {
  margin-left: auto;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* --- method: the published weights --- */
.bf-method__weights { max-width: var(--max); margin: 0 auto 26px; }
.bf-weights {
  display: flex;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.bf-weights__seg {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: #04202c;
  white-space: nowrap;
}
.bf-weights__price { background: linear-gradient(135deg, #56d2fb, #1b9dd6); }
.bf-weights__catalog { background: linear-gradient(135deg, #6ee7b7, #2fb98a); }
.bf-weights__reach { background: linear-gradient(135deg, #cbd5e1, #94a3b8); }
html[data-theme="dark"] .bf-weights__reach { color: #0b1220; }

/* --- matcher: numbered questions, highlighted answers --- */
.bf-match__set { position: relative; padding-top: 42px; }
.bf-match__set::before {
  content: attr(data-step);
  position: absolute;
  top: 16px;
  left: 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--brand-strong);
}
.bf-match__set legend { position: absolute; top: 14px; left: 54px; padding: 0; }
.bf-match__set label:has(input:checked) {
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 45%, transparent);
}
.bf-pick { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 4px 16px; align-items: start; }
.bf-pick__photo { grid-row: 1 / span 4; width: 76px; height: 94px; object-fit: cover; object-position: center top; border-radius: 12px; }
.bf-pick__why { grid-column: 2; }
.bf-pick h3 { grid-column: 2; }
.bf-pick__price { grid-column: 2; font-size: 18px; font-weight: 800; color: var(--brand-strong); font-variant-numeric: tabular-nums; }
.bf-pick p { grid-column: 2; }

/* --- price ladder: three label rows with leader lines --- */
.bf-ladder__inner { height: 232px; }
.bf-ladder__mark--high .bf-ladder__label { bottom: 62px; }
.bf-ladder__mark--top .bf-ladder__label { bottom: 118px; }
.bf-ladder__label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -16px;
  width: 1px;
  height: 16px;
  background: var(--line-2);
}
.bf-ladder__mark--high .bf-ladder__label::after { height: 46px; bottom: -46px; }
.bf-ladder__mark--top .bf-ladder__label::after { height: 102px; bottom: -102px; }

/* --- matrix: centred features, bigger index bar, row hover --- */
.bf-matrix-table tbody td:nth-child(n+4):nth-child(-n+9) { text-align: center; }
.bf-matrix__dot { width: 15px; height: 15px; }
.bf-matrix__bar { width: 92px; height: 8px; }
.bf-matrix-table tbody tr:hover { background: color-mix(in srgb, var(--brand) 8%, transparent) !important; }

/* --- table: emphasise the decisive columns --- */
.bf-table tbody td:nth-child(3), .bf-table tbody td:nth-child(9) { font-weight: 750; color: var(--ink); }
.bf-table thead th:nth-child(3), .bf-table thead th:nth-child(9) { color: #7fd7ff; }

/* --- niche groups: two columns on wide screens, no dead space --- */
@media (min-width: 1000px) {
  .bf-niche { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
  .bf-niche__list { grid-template-columns: 1fr 1fr; gap: 10px 14px; }
}
.bf-niche__list li { position: relative; }

/* --- guides as rows with arrows --- */
.bf-guides nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bf-guides a {
  position: relative;
  padding-right: 52px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.bf-guides a:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.bf-guides a::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%) scaleX(-1);
  background: var(--brand-strong);
  -webkit-mask: var(--i-link) center / contain no-repeat;
  mask: var(--i-link) center / contain no-repeat;
  opacity: .65;
}

/* --- cost cards with a themed icon --- */
.bf-cost__card { position: relative; padding-top: 64px; }
.bf-cost__card:nth-child(1) .bf-ico { position: absolute; top: 20px; left: 22px; }
.bf-cost__card:nth-child(2) .bf-ico { position: absolute; top: 20px; left: 22px; background: var(--accent-free-tint); color: var(--accent-free); }
.bf-cost__card:nth-child(3) .bf-ico { position: absolute; top: 20px; left: 22px; background: var(--accent-live-tint); color: var(--accent-live); }
.bf-cost__card::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  width: 24px;
  height: 24px;
  background: var(--accent-offer);
  -webkit-mask: var(--i-wallet) center / contain no-repeat;
  mask: var(--i-wallet) center / contain no-repeat;
}
.bf-cost__card:nth-child(2)::before { background: var(--accent-free); -webkit-mask: var(--i-coin) center / contain no-repeat; mask: var(--i-coin) center / contain no-repeat; }
.bf-cost__card:nth-child(3)::before { background: var(--accent-live); -webkit-mask: var(--i-clock) center / contain no-repeat; mask: var(--i-clock) center / contain no-repeat; }
.bf-cost__card::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-offer-tint);
  z-index: -1;
}
.bf-cost__card:nth-child(2)::after { background: var(--accent-free-tint); }
.bf-cost__card:nth-child(3)::after { background: var(--accent-live-tint); }

/* --- faq open state --- */
.bf-faq__item[open] { box-shadow: var(--shadow-card); }
.bf-faq__item[open] .bf-faq__sign { background: var(--brand-strong); border-color: var(--brand-strong); }
.bf-faq__item[open] .bf-faq__sign::before { background: #fff; }

/* --- editor: compact editorial byline --- */
.bf-editor__card { align-items: center; }
.bf-editor__card h2 { font-size: 19px; }

@media (max-width: 760px) {
  .bf-mini { grid-template-columns: 62px minmax(0, 1fr) auto; }
  .bf-mini img { width: 62px; height: 72px; }
  .bf-mini__bar { width: 44px; }
  .bf-quick__card { padding-left: 18px; padding-right: 18px; }
  .bf-ladder__inner { height: 268px; }
  .bf-pick { grid-template-columns: 64px minmax(0, 1fr); }
  .bf-pick__photo { width: 64px; height: 80px; }
  .bf-guides nav { grid-template-columns: minmax(0, 1fr); }
  .bf-cost__card { padding-top: 60px; }
}

/* --- hero showcase panel: real rows built from the reviewed picks --- */
.bf-panel__list { display: block; }
.bf-panel__list .bf-mini { grid-template-areas: "img body score" "img body bar"; }
.bf-panel__list .bf-mini img { grid-area: img; }
.bf-panel__list .bf-mini__body { grid-area: body; }
.bf-panel__list .bf-mini__score { grid-area: score; align-self: end; }
.bf-panel__list .bf-mini__bar { grid-area: bar; align-self: start; }
.bf-panel__foot { color: #8fa5bd; font-size: 12px; line-height: 1.5; margin-top: 14px; }

/* --- quick picks: aligned labels, full-width description --- */
.bf-quick__label { min-height: 2.1em; display: flex; align-items: flex-start; }
.bf-quick__card span:nth-of-type(2) { grid-column: 1 / -1; }
.bf-quick__card strong { align-self: start; }

/* --- hero KPI strip: no wrapping values --- */
.bf-kpis dd { font-size: 21px; white-space: nowrap; }
.bf-kpis dt { font-size: 11px; }

/* --- chevron for the quick-pick arrow --- */
:root {
  --i-arrow: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12h13M13 6.5 18.5 12 13 17.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.bf-quick__arrow::after {
  -webkit-mask: var(--i-arrow) center / 15px no-repeat;
  mask: var(--i-arrow) center / 15px no-repeat;
  transform: none;
}
@media (max-width: 760px) {
  .bf-quick__label { min-height: 0; }
}

/* --- mobile: the merged filter row must wrap --- */
@media (max-width: 760px) {
  .bf-filters__top { flex-wrap: wrap; }
  .bf-filters__top .bf-search { flex: 1 1 100%; }
  .bf-filters__budget {
    flex: 1 1 100%;
    width: 100%;
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .bf-filters__budget .bf-budget__result { max-width: none; flex: 1 1 100%; }
  .bf-view-btn { min-height: 44px; }
  .bf-weights { flex-direction: column; border-radius: var(--r); }
  .bf-weights__seg { width: 100% !important; justify-content: flex-start; }
  .bf-quick__card { grid-template-columns: 56px minmax(0, 1fr); }
  .bf-quick__card img { width: 56px; height: 70px; }
  .bf-match__set legend { left: 54px; }
}

/* ==========================================================================
   Editorial pass — 2026-10-24
   Display serif, real illustrations, asymmetric editorial layouts
   ========================================================================== */

:root {
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

.bf-hero h1,
.bf-section__head h2,
.bf-quick__card strong,
.bf-niche__head h3,
.bf-editor__card h2,
.bf-cost__card h3,
.bf-pick h3,
.bf-check h3,
.bf-method__col h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
}
.bf-hero h1 { letter-spacing: -0.03em; }
.bf-section__head h2 { font-size: clamp(30px, 3.2vw, 42px); }

/* ---------- editorial layouts with real illustrations ---------- */
.bf-quick__layout,
.bf-match__layout,
.bf-cost__layout,
.bf-safety__layout,
.bf-method__layout,
.bf-editor__layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 30px;
  align-items: start;
}
@media (min-width: 1000px) {
  .bf-quick__layout { grid-template-columns: minmax(0, 1fr) 286px; }
  .bf-match__layout { grid-template-columns: minmax(0, 1fr) 286px; }
  .bf-cost__layout { grid-template-columns: minmax(0, 1fr) 330px; }
  .bf-safety__layout { grid-template-columns: minmax(0, 1fr) 420px; }
  .bf-method__layout { grid-template-columns: minmax(0, 1fr) 420px; }
  .bf-editor__layout { grid-template-columns: minmax(0, 1fr) 300px; }
}
.bf-quick__layout .bf-quick__grid,
.bf-match__layout .bf-match__grid,
.bf-cost__layout .bf-cost__grid,
.bf-safety__layout .bf-checks,
.bf-method__layout .bf-method__grid,
.bf-editor__layout .bf-editor { max-width: none; margin: 0; }
.bf-quick__layout .bf-quick__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bf-cost__layout .bf-cost__grid { grid-template-columns: minmax(0, 1fr); }
.bf-method__layout .bf-method__grid { grid-template-columns: minmax(0, 1fr); }

.bf-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}
.bf-figure__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bf-figure--tall { aspect-ratio: 3 / 4; }
.bf-figure--wide { aspect-ratio: 16 / 10; }
.bf-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 15, 26, 0) 55%, rgba(9, 15, 26, .28) 100%);
  pointer-events: none;
}

/* niches: illustration in the left rail, groups on the right */
.bf-niches__layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 1000px) {
  .bf-niches__layout { grid-template-columns: 286px minmax(0, 1fr); }
}
.bf-niches__groups { min-width: 0; }
.bf-niches__groups .bf-niche { max-width: none; }

/* method: the weights bar sits above the two columns */
.bf-method__layout .bf-method__grid { margin-top: 4px; }

/* editor band: illustration beside the byline */
.bf-editor__layout .bf-editor { grid-template-columns: minmax(0, 1fr); }

@media (max-width: 760px) {
  .bf-quick__layout .bf-quick__grid { grid-template-columns: minmax(0, 1fr); }
  .bf-figure--tall { aspect-ratio: 16 / 10; }
  .bf-figure--wide { aspect-ratio: 16 / 10; }
  .bf-niches__layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* ==========================================================================
   Cover pass — 2026-10-25
   Break the kicker-headline-card-grid anatomy: a cover rail of every profile,
   a price-versus-catalog scatter, a hairlined checklist.
   ========================================================================== */

.bf-hero__shelf {
  grid-column: 1 / -1;
  margin-top: 42px;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 4px 16px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.bf-shelf__item {
  position: relative;
  flex: 0 0 auto;
  width: 168px;
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.bf-shelf__item:hover {
  transform: translateY(-5px);
  border-color: rgba(127, 215, 255, .6);
  box-shadow: 0 20px 44px -22px rgba(0, 0, 0, .9);
}
.bf-shelf__item img {
  display: block;
  width: 100%;
  height: 196px;
  object-fit: cover;
  object-position: center top;
}
.bf-shelf__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 13px 13px;
}
.bf-shelf__name { color: #fff; font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bf-shelf__price { color: #8fa5bd; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.bf-shelf__bar { display: block; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, .14); overflow: hidden; margin-top: 5px; }
.bf-shelf__bar > span { display: block; height: 100%; background: var(--grad-line); }
.bf-shelf__item::after {
  content: attr(data-rank);
  position: absolute;
  top: 10px;
  left: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(9, 15, 26, .72);
  color: #7fd7ff;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(6px);
}

.bf-scatter { max-width: 760px; margin: 30px auto 0; padding: 0 20px; }
.bf-scatter__svg { width: 100%; height: auto; display: block; overflow: visible; }
.bf-scatter__grid { stroke: var(--line); stroke-width: 1; }
.bf-scatter__tick { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.bf-scatter__tick--x { text-anchor: middle; }
.bf-scatter__dot { fill: color-mix(in srgb, var(--brand) 75%, transparent); stroke: var(--surface); stroke-width: 1.5; }
.bf-scatter__dot:hover { fill: var(--brand); }
.bf-scatter__label { fill: var(--ink-2); font-size: 11px; font-family: var(--font); }

/* safety as a hairline list, not six equal cards */
.bf-safety__layout .bf-checks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.bf-safety__layout .bf-check {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  background: none;
  padding: 18px 0 18px 4px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 4px 16px;
  align-items: start;
}
.bf-safety__layout .bf-check__head { grid-row: 1 / span 2; margin: 0; display: block; }
.bf-safety__layout .bf-check__num { display: block; margin: 4px 0 0; text-align: center; }
.bf-safety__layout .bf-check h3 { margin: 0 0 4px; }
.bf-safety__layout .bf-check p { margin: 0; }

@media (max-width: 760px) {
  .bf-shelf__item { width: 140px; }
  .bf-shelf__item img { height: 164px; }
  .bf-hero__shelf { margin-top: 30px; }
}

/* ---------- public directory grid (25 more creators, public source data) ---------- */
.bf-directory { background: var(--bg); }
.bf-directory__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.bf-card--compact .bf-card__media { height: 190px; }
.bf-card--compact .bf-card__body { padding: 12px 14px 14px; gap: 8px; }
.bf-card--compact .bf-card__head h3 { font-size: 16px; }
.bf-card--compact .bf-stats > div { padding: 7px 4px; }
.bf-card--compact .bf-stats dt { font-size: 10px; }
.bf-card--compact .bf-stats dd { font-size: 13.5px; }
.bf-card--compact .bf-card__cta {
  display: block;
  text-align: center;
  padding: 9px 12px;
  border-radius: 9px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
.bf-card--compact .bf-card__cta:hover { background: var(--brand-strong); color: #fff; }
.bf-card--compact .bf-credit { font-size: 10.5px; }

@media (max-width: 1180px) {
  .bf-directory__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .bf-directory__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .bf-directory__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bf-card--compact .bf-card__media { height: 168px; }
}

/* ==========================================================================
   Bento pass — 2026-10-25
   The hero becomes a photo wall, and the filter panel stays reachable.
   ========================================================================== */

.bf-hero__panel { padding: 16px; }
.bf-panel__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 96px;
  gap: 9px;
}
.bf-bento__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 13px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: transform .2s ease, border-color .2s ease;
}
.bf-bento__item--lead { grid-column: span 2; grid-row: span 2; }
.bf-bento__item:hover { transform: translateY(-3px); border-color: rgba(127, 215, 255, .55); }
.bf-bento__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .45s cubic-bezier(.2, .7, .3, 1);
}
.bf-bento__item:hover img { transform: scale(1.06); }
.bf-bento__veil {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 10px 9px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: linear-gradient(180deg, rgba(7, 12, 20, 0) 0%, rgba(7, 12, 20, .86) 62%);
  color: #fff;
}
.bf-bento__chip {
  align-self: flex-start;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(127, 215, 255, .18);
  border: 1px solid rgba(127, 215, 255, .34);
  color: #bfe9ff;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.bf-bento__name { font-size: 12.5px; font-weight: 700; line-height: 1.2; }
.bf-bento__foot { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #9fb2c8; }
.bf-bento__score {
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(110, 231, 183, .2);
  color: #a8f5d2;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* the filter panel stays reachable while the roster is scrolled */
@media (min-width: 1000px) {
  .bf-filters {
    position: sticky;
    top: 64px;
    z-index: 30;
    box-shadow: 0 18px 40px -24px rgba(13, 22, 38, .45);
  }
}

@media (max-width: 760px) {
  .bf-panel__list { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 88px; }
  .bf-bento__item--lead { grid-column: span 2; grid-row: span 1; }
}

/* ==========================================================================
   House style restore — 2026-10-25
   The chain's money pages (primepro247.com, 3pluscreativemedia.com) run on the
   bestonlyfans family: white page, sans headings, 22px cards, soft shadow,
   cyan accent. This page now speaks that language again while keeping every
   tool that was added. The dark theme stays available as a user choice.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --ink: #111827;
  --ink-2: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --line-2: #dde3e9;
  --wash: #f8fafc;
  --wash-2: #f8fafc;
  --brand: #0db1f2;
  --brand-strong: #0995d0;
  --brand-deep: #046b8f;
  --brand-tint: #e8f7fe;
  --shadow-card: 0 10px 34px rgba(17, 24, 39, .07);
  --shadow-lift: 0 16px 42px rgba(17, 24, 39, .12);
  --shadow: 0 8px 30px rgba(17, 24, 39, .07);
  --radius-lg: 22px;
  --r: 16px;
  --r-sm: 10px;
  --max: 1280px;
  --font-display: inherit;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --grad-brand: linear-gradient(135deg, #2ec6f7 0%, #0db1f2 58%, #0995d0 100%);
  --grad-line: linear-gradient(90deg, #0db1f2 0%, #22c55e 100%);
}

html[data-theme="dark"] {
  --bg: #0b1220;
  --surface: #111a2b;
  --surface-2: #18243a;
  --ink: #f3f7fc;
  --ink-2: #cfd9e6;
  --muted: #94a3b8;
  --line: #22304a;
  --line-2: #2d3d5a;
  --wash: #0d1524;
  --wash-2: #0d1524;
  --brand-strong: #4cc7f7;
  --brand-deep: #bfeaff;
  --brand-tint: #0f2b3d;
  --shadow-card: 0 10px 34px rgba(0, 0, 0, .45);
  --shadow-lift: 0 16px 42px rgba(0, 0, 0, .6);
}

body.bf { font-family: var(--font); font-size: 16px; line-height: 1.65; background: var(--bg); color: var(--ink); }

/* sans headings at the house weight and scale */
.bf-hero h1,
.bf-section__head h2,
.bf-quick__card strong,
.bf-niche__head h3,
.bf-editor__card h2,
.bf-cost__card h3,
.bf-pick h3,
.bf-check h3,
.bf-method__col h3 {
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--ink);
}
.bf-hero h1 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -0.04em; }
.bf-section__head h2 { font-size: clamp(28px, 3vw, 39px); }
.bf-section__head { margin-bottom: 28px; }
.bf-section__head > p { color: var(--muted); font-size: 16px; max-width: 640px; }
.bf-eyebrow { color: var(--brand-strong); }
.bf-section__head::before { background: var(--grad-line); width: 44px; }

/* sections alternate white and the soft house background, never tinted */
main > section.bf-quick,
main > section.bf-niches,
main > section.bf-safety,
main > section.bf-match,
main > section.bf-cost,
main > section.bf-method,
main > section.bf-editor { background: var(--bg); }
main > section.bf-shortlist,
main > section.bf-directory,
main > section.bf-compare,
main > section.bf-faq { background: var(--soft); }
main > section.bf-live { background: var(--bg); }

/* hero in the house pattern: white, big bold title, cyan actions */
main > section.bf-hero {
  background: var(--bg);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.bf-hero::before,
.bf-hero::after { display: none; }
.bf-hero__inner { padding: 52px 20px 56px; }
.bf-hero .bf-eyebrow { color: var(--brand-strong); }
.bf-hero h1 { color: var(--ink); }
.bf-hero h1 span { color: var(--brand-strong); text-decoration-color: rgba(13, 177, 242, .35); }
.bf-dek { color: var(--muted); }
.bf-btn--primary { background: var(--brand-strong); color: #fff; box-shadow: 0 8px 20px rgba(13, 177, 242, .25); }
.bf-btn--primary:hover { background: var(--brand); color: #fff; }
.bf-btn--outline { background: #fff; border-color: var(--line-2); color: var(--ink); }
.bf-btn--quiet { color: var(--muted); }
.bf-trust li { color: var(--muted); }
.bf-trust li::before { background: var(--brand-strong); }
.bf-kpis {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.bf-kpis > div { border-right-color: var(--line); }
.bf-kpis dt { color: var(--muted); }
.bf-kpis dd { color: var(--ink); }
.bf-hero__panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.bf-panel__head { border-bottom-color: var(--line); }
.bf-panel__title { color: var(--ink); }
.bf-freshness { background: var(--brand-tint); color: var(--brand-deep); border-color: transparent; }
.bf-bento__item { border-color: var(--line); background: var(--surface-2); }
.bf-bento__item:hover { border-color: var(--brand); }
.bf-bento__veil { background: linear-gradient(180deg, rgba(17, 24, 39, 0) 0%, rgba(17, 24, 39, .84) 62%); }
.bf-bento__chip { background: rgba(13, 177, 242, .22); border-color: rgba(13, 177, 242, .4); color: #e6f8ff; }
.bf-bento__foot { color: #d2dbe6; }
.bf-bento__score { background: rgba(34, 197, 94, .22); color: #bbf7d0; }
.bf-panel__foot { color: var(--muted); }

/* cover rail and shelf in the house palette */
.bf-hero__shelf { margin-top: 34px; }
.bf-shelf__item { background: #fff; border-color: var(--line); box-shadow: var(--shadow-card); }
.bf-shelf__name { color: var(--ink); }
.bf-shelf__price { color: var(--muted); }
.bf-shelf__bar { background: var(--surface-2); }
.bf-shelf__bar > span { background: var(--grad-line); }
.bf-shelf__item::after { background: rgba(17, 24, 39, .78); color: #fff; }

/* cards: house radius, border and shadow */
.bf-card,
.bf-quick__card,
.bf-cost__card,
.bf-check,
.bf-pick,
.bf-editor__card,
.bf-planner,
.bf-faq__item,
.bf-method__limits > div,
.bf-niche__list li,
.bf-guides a {
  border-radius: 22px;
  border-color: var(--line-2);
  box-shadow: var(--shadow-card);
}
.bf-card::before { background: var(--grad-line); opacity: .35; }
.bf-card:hover { border-color: var(--brand); box-shadow: var(--shadow-lift); }
.bf-quick__card::before { background: var(--brand); opacity: 1; }
.bf-price { background: var(--soft); border-color: var(--line); }
.bf-stats > div { background: var(--soft); }
.bf-tags li { background: var(--surface-2); }
.bf-btn--quiet:hover { background: var(--surface-2); color: var(--brand-strong); }
.bf-chip { background: #fff; border-color: var(--line-2); }
.bf-chip[aria-pressed="true"] { background: var(--brand-strong); color: #fff; }
.bf-toolbar { border-bottom-color: var(--line); }
.bf-view { background: var(--surface-2); border-color: var(--line); }
.bf-view-btn[aria-pressed="true"] { color: var(--brand-strong); }
.bf-filters, .bf-budget { border-radius: 22px; border-color: var(--line-2); box-shadow: var(--shadow-card); }

/* tables keep the house look: soft header, no black band */
.bf-table thead th,
.bf-matrix-table thead th {
  background: var(--surface-2);
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.bf-table thead th:nth-child(3),
.bf-table thead th:nth-child(9) { color: var(--brand-strong); }
.bf-index { background: var(--brand-tint); color: var(--brand-strong); }
.bf-table tbody tr:nth-child(even) { background: #fbfcfd; }
.bf-table tbody tr:hover,
.bf-matrix-table tbody tr:hover { background: var(--brand-tint); }
.bf-matrix__dot--yes { background: var(--brand-strong); }
.bf-matrix__bar > span { background: var(--grad-brand); }
.bf-ladder__axis { background: var(--line-2); }
.bf-ladder__dot { background: var(--brand-strong); }
.bf-weights__price { background: linear-gradient(135deg, #2ec6f7, #0db1f2); }
.bf-weights__catalog { background: linear-gradient(135deg, #4ade80, #22c55e); }
.bf-weights__reach { background: linear-gradient(135deg, #e5e7eb, #cbd5e1); }
.bf-weights__reach { color: #111827; }
.bf-footer { background: var(--soft); border-top-color: var(--line); }
.bf-tray { background: rgba(255, 255, 255, .96); border-top-color: var(--line); }
.bf-cmp { background: var(--soft); }

@media (max-width: 1000px) {
  .bf-filters { position: static; }
}

/* the hero buttons follow the light house surface too */
main > section.bf-hero .bf-btn--outline {
  background: #fff;
  border-color: var(--line-2);
  color: var(--ink);
}
main > section.bf-hero .bf-btn--outline:hover { border-color: var(--brand); color: var(--brand-strong); }

/* ==========================================================================
   Guide layer — 2026-10-25
   The chain's money pages answer first, then elaborate. This section gives the
   same shape, plus a contents strip that is built from the page's own
   headings, so it is localised without extra strings.
   ========================================================================== */

.bf-quickanswer { background: var(--soft); }
.bf-quickanswer__inner { max-width: var(--max); margin: 0 auto; padding: 48px 20px; }
.bf-quickanswer h2 {
  margin: 8px 0 14px;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--ink);
}
.bf-quickanswer__lead {
  max-width: 880px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
}
.bf-quickanswer__list {
  max-width: 880px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.bf-quickanswer__list li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}
.bf-quickanswer__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
}
.bf-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.bf-toc__link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: border-color .16s ease, color .16s ease, transform .16s ease;
}
.bf-toc__link:hover { border-color: var(--brand); color: var(--brand-strong); transform: translateY(-1px); }
@media (max-width: 760px) {
  .bf-quickanswer__inner { padding: 36px 16px; }
  .bf-quickanswer__lead { font-size: 16px; }
  .bf-toc__link { min-height: 44px; }
}

/* ==========================================================================
   Profile drawer — 2026-10-25
   Every one of the 38 profiles opens into a full sheet: the price, the
   recorded counts and how the Match index adds up.
   ========================================================================== */

.bf-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(17, 24, 39, .55);
  backdrop-filter: blur(3px);
}
.bf-drawer[hidden] { display: none; }
.bf-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(460px, 100%);
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 60px rgba(17, 24, 39, .18);
  padding: 28px 28px 32px;
  overflow-y: auto;
}
.bf-drawer__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
}
.bf-drawer__close:hover { border-color: var(--brand); color: var(--brand-strong); }
.bf-drawer__head { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 34px; }
.bf-drawer__photo { width: 120px; height: 150px; object-fit: cover; object-position: center top; border-radius: 16px; }
.bf-drawer__head h2 { margin: 6px 0 4px; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.bf-drawer__price { font-size: 17px; font-weight: 750; color: var(--brand-strong); }
.bf-drawer__stats {
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.bf-drawer__stats > div {
  padding: 11px 14px;
  border-radius: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
}
.bf-drawer__stats dt { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.bf-drawer__stats dd { margin: 3px 0 0; font-size: 16px; font-weight: 750; color: var(--ink); font-variant-numeric: tabular-nums; }
.bf-drawer__index { margin-top: 24px; }
.bf-drawer__parts { display: grid; gap: 10px; margin-top: 10px; }
.bf-drawer__part { display: grid; gap: 5px; }
.bf-drawer__parthead { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }
.bf-drawer__parthead span:last-child { font-variant-numeric: tabular-nums; }
.bf-drawer__bar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bf-drawer__bar > span { display: block; height: 100%; background: var(--grad-brand); }
.bf-drawer__fact {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--brand-tint);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  font-size: 14.5px;
  color: var(--ink-2);
}
.bf-drawer__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.bf-card__open { cursor: pointer; }
.bf-card__open:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
@media (max-width: 560px) {
  .bf-drawer__panel { width: 100%; padding: 24px 18px 28px; }
  .bf-drawer__stats { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Internal pages — 2026-10-25
   The same house system, applied to the legal, editorial and guide pages.
   Rules are written down in docs/internal-pages-plan.md.
   ========================================================================== */

.bf-page { background: var(--bg); }
.bf-page__main { padding: 40px 20px 56px; }
.bf-page__main > article,
.bf-page__main > .guide-layout { max-width: var(--max); margin: 0 auto; }

/* breadcrumbs */
.bf-page__crumbs {
  max-width: var(--max);
  margin: 0 auto 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
}
.bf-page__crumbs a { color: var(--muted); text-decoration: none; }
.bf-page__crumbs a:hover { color: var(--brand-strong); }
.bf-page__crumbs span[aria-current] { color: var(--ink); font-weight: 650; }

/* page heading block */
.bf-page__head { max-width: var(--max); margin: 0 auto 30px; }
.bf-page__head .eyebrow,
.bf-page__head .guide-kicker { color: var(--brand-strong); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.bf-page__head h1,
.bf-page__head .guide-title {
  margin: 10px 0 12px;
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--ink);
}
.bf-page__lead,
.bf-page__head .service-lead,
.bf-page__head .guide-lead {
  max-width: 820px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* prose */
.bf-page article,
.bf-page .guide-article { max-width: 880px; }
.bf-page article p,
.bf-page article li,
.bf-page .guide-article p,
.bf-page .guide-article li { font-size: 16.5px; line-height: 1.68; color: var(--ink-2); }
.bf-page article h2,
.bf-page .guide-article h2 {
  margin: 44px 0 14px;
  font-size: clamp(23px, 2.2vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--ink);
  scroll-margin-top: 96px;
}
.bf-page article h3,
.bf-page .guide-article h3 { margin: 30px 0 10px; font-size: 19px; font-weight: 750; color: var(--ink); }
.bf-page article ul,
.bf-page article ol,
.bf-page .guide-article ul,
.bf-page .guide-article ol { padding-left: 22px; margin: 14px 0 22px; }
.bf-page article li,
.bf-page .guide-article li { margin: 8px 0; }
.bf-page article li::marker,
.bf-page .guide-article li::marker { color: var(--brand); }
.bf-page article a,
.bf-page .guide-article a { color: var(--brand-strong); text-underline-offset: 3px; }

/* sections and the closing block */
.bf-page article section { padding: 26px 0; border-top: 1px solid var(--line); }
.bf-page article section:first-of-type { border-top: 0; padding-top: 6px; }
.bf-page .service-closing {
  margin-top: 30px;
  padding: 22px 24px;
  border-radius: 22px;
  background: var(--brand-tint);
  border: 1px solid color-mix(in srgb, var(--brand) 24%, transparent);
  color: var(--ink-2);
}
.bf-page .service-closing p { margin: 0; font-size: 16px; }
.bf-page .legal-page__updated,
.bf-page .guide-meta {
  display: inline-block;
  margin: 6px 0 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.bf-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.bf-page .back-link:hover { border-color: var(--brand); color: var(--brand-strong); }

/* guide index */
.bf-page .guide-index-grid {
  max-width: var(--max);
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.bf-page .guide-index-card {
  position: relative;
  display: block;
  padding: 24px 26px 26px;
  border-radius: 22px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.bf-page .guide-index-card:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow-lift); }
.bf-page .guide-index-card h2 { margin: 0 0 8px; font-size: 20px; font-weight: 800; letter-spacing: -0.025em; }
.bf-page .guide-index-card p { margin: 0; font-size: 15px; color: var(--muted); }

/* guide article layout */
.bf-page .guide-layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  align-items: start;
}
.bf-page .guide-sidebar {
  position: sticky;
  top: 84px;
  padding: 20px 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  font-size: 14px;
}
.bf-page .guide-sidebar h2 { margin: 0 0 10px; font-size: 13px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.bf-page .guide-sidebar a { display: block; padding: 7px 0; color: var(--ink-2); text-decoration: none; line-height: 1.4; }
.bf-page .guide-sidebar a:hover { color: var(--brand-strong); }
.bf-page .guide-related {
  margin-top: 42px;
  padding: 24px 26px;
  border-radius: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
}
.bf-page .guide-related h2 { margin: 0 0 12px; font-size: 19px; font-weight: 800; }
.bf-page .guide-related a { display: block; padding: 8px 0; color: var(--ink-2); text-decoration: none; border-top: 1px solid var(--line); }
.bf-page .guide-related a:hover { color: var(--brand-strong); }
.bf-page .guide-table-wrap { margin: 24px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.bf-page .guide-table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
.bf-page .guide-table-wrap th,
.bf-page .guide-table-wrap td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.bf-page .guide-table-wrap thead th { background: var(--surface-2); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }

/* table of contents inside a guide */
.bf-page__toc { margin: 0 0 26px; padding: 0; list-style: none; display: grid; gap: 7px; }
.bf-page__toc a {
  display: block;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 14px;
  text-decoration: none;
}
.bf-page__toc a:hover { border-color: var(--brand); color: var(--brand-strong); }

@media (max-width: 980px) {
  .bf-page .guide-layout { grid-template-columns: minmax(0, 1fr); }
  .bf-page .guide-sidebar { position: static; }
  .bf-page .guide-index-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .bf-page__main { padding: 28px 16px 40px; }
  .bf-page article p, .bf-page article li, .bf-page .guide-article p, .bf-page .guide-article li { font-size: 16px; }
}

/* guide breadcrumb inside the article pages */
.bf-page .guide-breadcrumb {
  max-width: var(--max);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
}
.bf-page .guide-breadcrumb a { color: var(--muted); text-decoration: none; }
.bf-page .guide-breadcrumb a:hover { color: var(--brand-strong); }
.bf-page .guide-sidebar summary { cursor: pointer; font-weight: 800; font-size: 13px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.bf-page .guide-sidebar ul { margin: 12px 0 0; padding-left: 18px; }
.bf-page .guide-sidebar li { margin: 6px 0; }
.bf-page .guide-sidebar a { color: var(--ink-2); }

/* ==========================================================================
   Service pages, side rail — 2026-10-25
   The legal, editorial and contact pages get the same two column rhythm as the
   guides: the text on the left, a sticky rail with the page outline and the
   useful next steps on the right.
   ========================================================================== */

.bf-page__layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 880px) 280px;
  gap: 40px;
  align-items: start;
}
.bf-page__column { min-width: 0; }
.bf-page__aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}
.bf-page__toc {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.bf-page__toc summary {
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}
.bf-page__toc ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.bf-page__toc a {
  display: block;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--ink-2);
  text-decoration: none;
}
.bf-page__toc a:hover { color: var(--brand-strong); }
.bf-page__next {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.bf-page__next h2 {
  margin: 0 0 6px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}
.bf-page__next a {
  display: block;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
  text-decoration: none;
}
.bf-page__next a:hover { color: var(--brand-strong); }
@media (max-width: 1020px) {
  .bf-page__layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .bf-page__aside { position: static; }
}

/* the markup the other chain rows bring with them */
.bf-page .breadcrumbs {
  max-width: var(--max);
  margin: 0 auto 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
}
.bf-page .breadcrumbs a { color: var(--muted); text-decoration: none; }
.bf-page .breadcrumbs a:hover { color: var(--brand-strong); }
.bf-page .service-note {
  margin-top: 30px;
  padding: 22px 24px;
  border-radius: 22px;
  background: var(--brand-tint);
  border: 1px solid color-mix(in srgb, var(--brand) 24%, transparent);
  color: var(--ink-2);
}
.bf-page .service-note p { margin: 0; font-size: 16px; line-height: 1.62; }
.bf-page .service-meta {
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13.5px;
  color: var(--muted);
}
.bf-page .service-meta a { color: var(--brand-strong); text-underline-offset: 3px; }

/* ==========================================================================
   The home pages of the other chains, 2026-10-25
   Their own content stays, the frame around it becomes the house frame:
   the same header, the same rail, the same cards and the same table.
   ========================================================================== */

.bf-home { background: var(--bg); }
.bf-home__main { max-width: var(--max); margin: 0 auto; padding: 34px 20px 64px; }

/* the answer card at the top */
.bf-home .disclosure {
  max-width: 880px;
  margin: 0 0 28px;
  padding: 26px 28px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.bf-home .disclosure h2 {
  margin: 6px 0 12px;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.bf-home .disclosure p { margin: 0 0 12px; font-size: 16.5px; line-height: 1.68; color: var(--ink-2); }
.bf-home .disclosure p:last-child { margin-bottom: 0; }
.bf-home .disclosure a { color: var(--brand-strong); text-underline-offset: 3px; }

/* the guide and its rail */
.bf-home .editorial-shell {
  display: grid;
  grid-template-columns: minmax(0, 880px) 300px;
  gap: 40px;
  align-items: start;
}
.bf-home .article-nav {
  position: sticky;
  top: 96px;
  order: 2;
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.bf-home .article-nav .eyebrow { margin: 0 0 2px; }
.bf-home .article-nav a {
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--ink-2);
  text-decoration: none;
}
.bf-home .article-nav a:hover { color: var(--brand-strong); }
.bf-home .editorial-copy { order: 1; max-width: 880px; }
.bf-home .editorial-copy__intro {
  padding: 26px 28px 22px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.bf-home .editorial-copy__intro h1,
.bf-home .editorial-copy__intro h2 {
  margin: 8px 0 12px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--ink);
}
.bf-home .editorial-copy__intro p { margin: 0 0 12px; font-size: 17.5px; line-height: 1.62; color: var(--ink-2); }
.bf-home .editorial-copy__intro img { max-width: 100%; height: auto; border-radius: 16px; }
.bf-home .editorial-copy h2 {
  margin: 42px 0 14px;
  font-size: clamp(23px, 2.2vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--ink);
  scroll-margin-top: 96px;
}
.bf-home .editorial-copy h3 { margin: 28px 0 10px; font-size: 19px; font-weight: 750; color: var(--ink); }
.bf-home .editorial-copy p { margin: 0 0 16px; font-size: 16.5px; line-height: 1.68; color: var(--ink-2); }
.bf-home .editorial-copy ul,
.bf-home .editorial-copy ol { padding-left: 22px; margin: 14px 0 20px; }
.bf-home .editorial-copy li { margin: 8px 0; font-size: 16.5px; line-height: 1.64; color: var(--ink-2); }
.bf-home .editorial-copy li::marker { color: var(--brand); }
.bf-home .editorial-copy a { color: var(--brand-strong); text-underline-offset: 3px; }
.bf-home .editorial-copy table,
.bf-home .comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  font-size: 15px;
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.bf-home .comparison-table th,
.bf-home .editorial-copy th {
  background: var(--hero-bg);
  color: var(--hero-ink);
  text-align: left;
  padding: 12px 14px;
  font-weight: 700;
}
.bf-home .comparison-table td,
.bf-home .editorial-copy td { padding: 12px 14px; border-top: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.bf-home .comparison-table tr:nth-child(even) td,
.bf-home .editorial-copy tbody tr:nth-child(even) td { background: var(--surface-2); }
.bf-home .table-wrap { overflow-x: auto; }

/* the author card and the closing blocks */
.bf-home .author-card {
  max-width: 880px;
  margin: 30px 0 0;
  padding: 24px 26px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.bf-home .author-card h2 { margin: 0 0 10px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.bf-home .author-card p { margin: 0 0 10px; font-size: 16px; line-height: 1.64; color: var(--ink-2); }
.bf-home .author-card a { color: var(--brand-strong); text-underline-offset: 3px; }

/* the directory home page of the third chain */
.bf-home .hero {
  max-width: var(--max);
  margin: 0 auto 30px;
  padding: 34px 30px;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.bf-home .hero h1 {
  margin: 10px 0 14px;
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--ink);
}
.bf-home .hero p { font-size: 17.5px; line-height: 1.62; color: var(--ink-2); margin: 0 0 16px; }
.bf-home .hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.bf-home .hero__chips a {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink-2);
  text-decoration: none;
}
.bf-home .hero__chips a:hover { border-color: var(--brand); color: var(--brand-strong); }
.bf-home .directory { max-width: var(--max); margin: 0 auto 30px; }
.bf-home .creator-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.bf-home .creator-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.bf-home .creator-card img { width: 100%; height: auto; display: block; }
.bf-home .creator-card__body { padding: 14px 16px 16px; }
.bf-home .creator-card__name { font-size: 16px; font-weight: 750; color: var(--ink); }
.bf-home .filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.bf-home .filters button,
.bf-home .filters a {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink-2);
  cursor: pointer;
}
.bf-home .content-section {
  max-width: var(--max);
  margin: 0 auto 26px;
  padding: 28px 30px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.bf-home .content-section--soft { background: var(--surface-2); box-shadow: none; }
.bf-home .content-heading h2,
.bf-home .section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.bf-home .profile-guide { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.bf-home .profile-guide__feature {
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.bf-home .profile-guide__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bf-home .profile-guide__tags span {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--brand-tint);
  font-size: 12.5px;
  font-weight: 650;
  color: var(--brand-strong);
}

/* the jump row under the header */
.bf-jump {
  max-width: var(--max);
  margin: 0 auto 6px;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bf-jump a {
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 650;
  color: var(--ink-2);
  text-decoration: none;
}
.bf-jump a:hover { border-color: var(--brand); color: var(--brand-strong); }

@media (max-width: 1020px) {
  .bf-home .editorial-shell { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .bf-home .article-nav { position: static; order: 1; }
}
.bf-home .eyebrow {
  margin: 0 0 6px;
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
