/* The BaseLinker comparison page (/baselinker-alternatyva,
 * /en/baselinker-alternative; owner, 2026-12-02: mock-up v1,
 * https://claude.ai/artifact/XHZ1mWEgexU88oQcD84pri).
 *
 * Loaded only by templates/public/baselinker.html, after site.css, whose
 * tokens and shared parts (.wrap, .sec, .h1/.h2/.h3, .lead, .head, .btn,
 * .tag, .frame, .faq, .page-hero, .band) it builds on. Every rule names one
 * of this page's own classes (`bl-`) or hooks (`data-bl-`), so it restyles
 * nothing elsewhere. static/js/baselinker.js moves the cost slider; without
 * it the page is complete (served at 1 000 orders).
 */

.bl-ic { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bl-num { font-variant-numeric: tabular-nums; }

/* ── hero: words beside the month's cost ── */
.bl-hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.bl-hero-copy .h1 { overflow-wrap: anywhere; hyphens: auto; }
.bl-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.bl-calc { padding: clamp(18px, 2.6vw, 26px); }
.bl-calc-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bl-calc-h h2 { font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.bl-calc-h .tag { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .bl-calc-h .tag { display: none; } }
.bl-slide { margin-top: 22px; }
.bl-slide-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--muted); }
.bl-slide-top output { font-family: var(--display); font-weight: 600; font-size: 2.1rem; letter-spacing: -.03em; color: var(--text); line-height: 1; }
.bl-range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 28px; margin: 10px 0 0; background: transparent; cursor: pointer; }
.bl-range:focus { outline: none; }
.bl-range::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--ink) 0 var(--p, 50%), var(--line) var(--p, 50%)); }
.bl-range::-moz-range-track { height: 6px; border-radius: 99px; background: var(--line); }
.bl-range::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--ink); }
.bl-range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); box-shadow: 0 2px 8px rgba(29, 43, 63, .2); }
.bl-range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); }
.bl-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px color-mix(in srgb, var(--blue) 25%, transparent); }
.bl-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px color-mix(in srgb, var(--blue) 25%, transparent); }
.bl-ticks { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--faint); }
.bl-cost { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.bl-cost-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.bl-cost-row.bl-us { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.bl-cost-top { display: flex; align-items: baseline; gap: 10px; }
.bl-who { font-weight: 600; font-size: 15px; }
.bl-what { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--muted); }
.bl-sum { margin-left: auto; font-family: var(--display); font-weight: 600; font-size: 1.45rem; letter-spacing: -.02em; white-space: nowrap; }
.bl-bar { height: 8px; border-radius: 99px; background: var(--panel); overflow: hidden; }
.bl-bar i { display: block; height: 100%; width: var(--w, 50%); border-radius: 99px; background: var(--faint); }
.bl-us .bl-bar i { background: var(--blue); }
.motion .bl-bar i { transition: width .45s cubic-bezier(.2, .8, .2, 1); }
.bl-calc-note { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.bl-calc-note a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.bl-calc-note a:hover { color: var(--text); }

/* ── the comparison ── */
.bl-cmp-sec { padding-top: clamp(40px, 5vw, 72px); scroll-margin-top: 64px; }
.bl-narrow { max-width: calc(1080px + 2 * var(--gutter)); }
.bl-cmp { margin-top: 44px; }
.bl-cmp table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.55; }
.bl-cmp th, .bl-cmp td { text-align: left; vertical-align: top; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.bl-cmp thead th { position: sticky; top: 64px; z-index: 2; background: var(--bg); padding-block: 14px; font-size: 13px; font-weight: 600; color: var(--muted); }
.bl-cmp thead th.bl-us { color: var(--text); background: color-mix(in srgb, var(--blue-tint) 100%, var(--bg)); border-radius: 16px 16px 0 0; box-shadow: inset 0 2px 0 var(--ink); }
.bl-who-h { display: inline-flex; align-items: center; gap: 9px; }
.bl-mark { width: 22px; height: 22px; }
.bl-mark-b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; border: 1px solid var(--line-2); font-size: 11px; font-weight: 700; color: var(--muted); }
.bl-cmp tbody th { width: 22%; font-weight: 600; }
.bl-cmp td.bl-us { background: var(--blue-tint); color: var(--text); }
.bl-cmp tbody tr:last-child td.bl-us { border-radius: 0 0 16px 16px; }
.bl-cmp td.bl-base { color: var(--muted); }
.bl-src { display: flex; width: fit-content; align-items: center; gap: 4px; margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--line-2); }
.bl-src:hover { border-color: var(--ink); }
.bl-ext { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bl-plans { display: grid; gap: 4px; margin-bottom: 10px; }
.bl-plans li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.bl-plans b { min-width: 72px; font-weight: 600; }
.bl-plans span { color: var(--muted); font-size: 13.5px; }
.bl-foot { margin-top: 16px; font-size: 12.5px; color: var(--faint); }
@media (max-width: 760px) {
  .bl-cmp table, .bl-cmp tbody, .bl-cmp tr, .bl-cmp th, .bl-cmp td { display: block; }
  .bl-cmp thead { display: none; }
  .bl-cmp tbody tr { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--card); }
  .bl-cmp tbody th { width: auto; padding: 14px 16px 10px; border-bottom: 0; font-family: var(--display); font-size: 1.05rem; }
  .bl-cmp td { padding: 12px 16px 14px; border-bottom: 0; border-top: 1px solid var(--line); }
  .bl-cmp td.bl-us, .bl-cmp tbody tr:last-child td.bl-us { border-radius: 0; }
  .bl-cmp td::before { content: attr(data-who); display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
}

/* ── what Prekio does differently: three columns on hairlines ── */
.bl-three { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 44px; border-top: 1px solid var(--line); }
.bl-three > li { display: grid; gap: 12px; align-content: start; padding: 28px clamp(4px, 2.4vw, 30px); border-bottom: 1px solid var(--line); }
.bl-three p { color: var(--muted); font-size: 15px; }
@media (min-width: 860px) {
  .bl-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bl-three > li { border-bottom: 0; }
  .bl-three > li + li { border-left: 1px solid var(--line); }
  .bl-three > li:first-child { padding-left: 0; }
}
.bl-tile { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: var(--on-ink); }

/* ── when Base.com fits + how to switch ── */
.bl-duo { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 960px) { .bl-duo { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.bl-fair { padding: clamp(22px, 3vw, 32px); border: 1px dashed var(--line-2); border-radius: 22px; }
.bl-fair .h3 { margin-top: 14px; font-size: 1.3rem; }
.bl-fair ul { display: grid; gap: 12px; margin-top: 18px; }
.bl-fair li { display: flex; gap: 12px; font-size: 15px; color: var(--muted); }
.bl-fair li b { display: grid; place-items: center; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--panel); font-size: 12px; font-weight: 600; color: var(--text); }
.bl-move .h2 { margin-top: 16px; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.bl-tl { display: grid; margin-top: 24px; }
.bl-tl li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 16px; padding-bottom: 24px; }
.bl-tl li:last-child { padding-bottom: 0; }
.bl-tl li:not(:last-child)::before { content: ""; position: absolute; left: 19.5px; top: 40px; bottom: 0; width: 1px; background: var(--line-2); }
.bl-n { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); font-family: var(--display); font-weight: 600; }
.bl-tl li:first-child .bl-n { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.bl-tl h3 { padding-top: 8px; font-weight: 600; font-size: 1.05rem; }
.bl-tl p { color: var(--muted); font-size: 15px; }

.bl-faq-sec { padding-top: 0; }
