/* /alternativ-till-fortnox, -spiris, -bokio (2026-11-24): sidan för den som vill byta program. Ligger ovanpå
   undersidor.css, byt.css och sidor.css (säljsidans färger, typsnitt och ljust/mörkt läge). */

.bf-page .bt-hero h1 { font-size: clamp(38px, 5vw, 62px); }
.bf-page .bt-hero h1 em { color: var(--green); }
.bf-page section { scroll-margin-top: 90px; }
.bf-page .section-head { margin-bottom: 24px; }
.bf-page .section-head h2 { font-size: clamp(30px, 3.4vw, 44px); max-width: 760px; }
.bf-page .section-head .lede { margin-top: 10px; max-width: 680px; }

/* ───── Jämförelsen */
.bf-compare { margin: clamp(24px, 4vw, 48px) auto clamp(56px, 8vw, 100px); }
.bf-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.bf-table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 640px; }
.bf-table th, .bf-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.bf-table tbody tr:last-child :is(th, td) { border-bottom: 0; }
.bf-table thead th { font: 600 17px/1.2 var(--serif); padding-top: 18px; color: var(--ink); }
.bf-table thead small { display: block; font: 400 13px/1.4 var(--sans); color: var(--ink-3); margin-top: 3px; }
.bf-table tbody th { font-weight: 500; color: var(--ink-2); width: 26%; }
.bf-table td small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; line-height: 1.35; }
.bf-table .bf-price b { font: 500 26px/1.1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.bf-table .bf-year td { color: var(--ink-2); }
.bf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.bf-table .yes { color: var(--ink); }
.bf-table .yes::before { content: ""; display: inline-block; width: 9px; height: 5px; margin: 0 8px 3px 1px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.bf-table .extra { color: var(--ink-2); }

/* Numeras kolumn lyfts fram, och programmet man kommer från markeras */
.bf-table .c-numera { background: var(--green-wash); }
.bf-table thead .c-numera { border-top-left-radius: 0; color: var(--green); }
.bf-table .c-numera b { color: var(--ink); }
.fran-fortnox .bf-table .c-fortnox, .fran-bokio .bf-table .c-bokio, .fran-spiris .bf-table .c-spiris, .fran-bl .bf-table .c-bl { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.fran-fortnox .bf-table thead .c-fortnox, .fran-bokio .bf-table thead .c-bokio, .fran-spiris .bf-table thead .c-spiris, .fran-bl .bf-table thead .c-bl { box-shadow: inset 0 3px 0 var(--line-2); }
/* Björn Lundén (2026-11-30) syns bara på sin egen sida, så att de tre första sidorna ser ut som förut */
.bf-page:not(.fran-bl) .bf-table .c-bl { display: none; }

.bf-note { font-size: 13.5px; color: var(--ink-3); max-width: 860px; margin: 14px 0 0; line-height: 1.55; }

/* ───── Bytet */
.bf-switch { margin-bottom: clamp(56px, 8vw, 100px); }
.bf-switch .bt-time { margin-bottom: 28px; }
.bf-switch .bt-what { margin-bottom: 0; }
.bf-switch .bt-what h3 { font-size: 22px; margin: 0 0 10px; }
.bf-guide { margin: 26px 0 0; }

/* ───── Varför byta */
.bf-why { margin-bottom: clamp(56px, 8vw, 100px); }
.bf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bf-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; }
.bf-card h3 { font-size: 22px; margin: 0 0 8px; }
.bf-card p { margin: 0; color: var(--ink-2); font-size: 16.5px; }

/* ───── Mobil: bara Numera och programmet man kommer från, så att tabellen får plats utan att rulla */
@media (max-width: 720px) {
  .bf-table { min-width: 0; font-size: 15px; }
  .bf-table th, .bf-table td { padding: 12px 12px; }
  .bf-table tbody th { width: 38%; }
  .fran-fortnox .bf-table :is(.c-bokio, .c-spiris),
  .fran-bokio .bf-table :is(.c-fortnox, .c-spiris),
  .fran-spiris .bf-table :is(.c-fortnox, .c-bokio),
  .fran-bl .bf-table :is(.c-fortnox, .c-bokio, .c-spiris) { display: none; }
  .bf-table .bf-price b { font-size: 22px; }
  .bf-grid { grid-template-columns: minmax(0, 1fr); }
  .bf-card { padding: 22px; }
}
@media (max-width: 620px) {
  .bf-page .bt-time ol { grid-template-columns: minmax(0, 1fr); }
  .bf-page .bt-time li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-2); }
}

/* ───── Om programmet (2026-12-05): eget avsnitt per program */
.bf-own { margin-bottom: clamp(56px, 8vw, 100px); }
.bf-own-text { max-width: 760px; display: grid; gap: 14px; }
.bf-own-text p, .bf-own-text li { color: var(--ink-2); font-size: 17px; line-height: 1.6; margin: 0; }
.bf-own-text .doc-list { margin: 0; }
.bf-own-text b { color: var(--ink); font-weight: 600; }
