/* Blog: sits on the same canvas, tokens and hero as the other pages (bf-sub-v3.css). */
.bfb-section { position: relative; padding: clamp(36px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); color: var(--bfs-ink); }
.bfb-wrap { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 48px); box-sizing: border-box; }
.bfb-article { max-width: 880px; }
.bfb-byline { margin: 18px 0 0; font: 600 13px/1.5 Inter, sans-serif; color: var(--bfs-muted); }

.bfb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bfb-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; border: 1px solid var(--bfs-line); border-radius: 22px; background: var(--bfs-surface); color: var(--bfs-ink); text-decoration: none; box-shadow: var(--bfs-shadow); transition: transform .3s ease, border-color .3s ease; }
.bfb-card:hover { transform: translateY(-4px); border-color: var(--bfs-line-strong); }
html body main .bfb-card h3 { margin: 0; font: 800 20px/1.25 Outfit, Inter, sans-serif; letter-spacing: -0.01em; }
.bfb-card p { flex: 1; margin: 0; font: 400 14.5px/1.65 Inter, sans-serif; color: var(--bfs-muted); }
.bfb-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; background: linear-gradient(160deg, #a67bff, #6216fb 55%, #2a0f6b); }
.bfb-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.bfb-tag { align-self: flex-start; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--bfs-line); background: var(--bfs-surface-2); color: var(--bfs-accent); font: 700 12px/1 Inter, sans-serif; }
.bfb-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 600 12.5px/1.4 Inter, sans-serif; color: var(--bfs-muted); }
.bfb-meta i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-style: normal; color: #fff; background: linear-gradient(135deg, #8f5cff, #6216fb); }

.bfb-toc { margin: 0 0 30px; padding: 22px 26px; border: 1px solid var(--bfs-line); border-radius: 22px; background: var(--bfs-surface); }
.bfb-toc b { font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--bfs-accent); }
.bfb-toc ol { margin: 14px 0 0; padding-left: 20px; columns: 2; column-gap: 32px; font: 600 14.5px/1.5 Inter, sans-serif; }
.bfb-toc li { margin-bottom: 7px; break-inside: avoid; color: var(--bfs-muted); }
.bfb-toc a { color: var(--bfs-ink); text-decoration: none; }
.bfb-toc a:hover { color: var(--bfs-accent); }

.bfb-body { font: 400 17px/1.85 Inter, sans-serif; color: var(--bfs-muted); }
.bfb-body p, .bfb-body ul, .bfb-body ol { margin: 0 0 18px; }
.bfb-body strong { color: var(--bfs-ink); }
.bfb-body h2, .bfb-faq h2, .bfb-cta h2 { scroll-margin-top: 96px; margin: 46px 0 14px; font: 800 clamp(26px, 3.2vw, 38px)/1.12 Outfit, Inter, sans-serif; letter-spacing: -0.02em; color: var(--bfs-ink); }
.bfb-body h3 { margin: 28px 0 10px; font: 700 21px/1.3 Outfit, Inter, sans-serif; color: var(--bfs-ink); }
.bfb-body ul, .bfb-body ol { padding-left: 24px; }
.bfb-body li { margin-bottom: 8px; }
.bfb-body li::marker { color: var(--bfs-accent); }
.bfb-body a { color: var(--bfs-accent); text-decoration: underline; text-underline-offset: 3px; }
.bfb-body table { width: 100%; margin: 0 0 24px; border-collapse: separate; border-spacing: 0; border: 1px solid var(--bfs-line); border-radius: 18px; overflow: hidden; background: var(--bfs-surface); font: 500 14.5px/1.55 Inter, sans-serif; }
.bfb-body th, .bfb-body td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--bfs-line); vertical-align: top; }
.bfb-body tr:last-child td { border-bottom: 0; }
.bfb-body th { background: var(--bfs-surface-2); color: var(--bfs-ink); font-weight: 700; }
.bfb-body td { color: var(--bfs-muted); }
.bfb-body td:first-child { color: var(--bfs-ink); }

.bfb-quick { margin: 0 0 30px; padding: 24px 26px; border-radius: 22px; border: 1px solid var(--bfs-line-strong); background: linear-gradient(135deg, #6216fb, #8f5cff); box-shadow: 0 22px 50px rgba(98, 22, 251, .35); }
.bfb-quick b { display: block; margin-bottom: 10px; font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.bfb-quick p { margin: 0; font: 500 17px/1.7 Inter, sans-serif; color: #fff; }
.bfb-quick strong, .bfb-quick a { color: #fff; }
.bfb-note { margin: 20px 0; padding: 16px 20px; border: 1px solid var(--bfs-line); border-left: 4px solid var(--bfs-accent); border-radius: 0 16px 16px 0; background: var(--bfs-surface); font: 500 15.5px/1.7 Inter, sans-serif; color: var(--bfs-muted); }
.bfb-warn { border-left-color: #f87171; }

.bfb-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 18px 0 26px; padding: 0 !important; list-style: none; }
.bfb-steps li { margin: 0; padding: 22px 20px; border: 1px solid var(--bfs-line); border-radius: 20px; background: var(--bfs-surface); }
.bfb-steps img { display: block; width: 54px; height: 54px; margin-bottom: 12px; object-fit: contain; }
.bfb-steps strong { display: block; margin-bottom: 4px; font: 800 17px/1.3 Outfit, Inter, sans-serif; }
.bfb-steps span { font: 400 14px/1.6 Inter, sans-serif; color: var(--bfs-muted); }
.bfb-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 22px; padding: 0 !important; list-style: none; }
.bfb-chips li { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 16px 8px 8px; border: 1px solid var(--bfs-line); border-radius: 999px; background: var(--bfs-surface); color: var(--bfs-ink); font: 700 14px/1 Inter, sans-serif; }
.bfb-chips img { width: 28px; height: 28px; border-radius: 8px; object-fit: contain; }
.bfb-svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 16px 0 26px; }
.bfb-svc a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--bfs-line); border-radius: 18px; background: var(--bfs-surface); color: var(--bfs-ink); text-decoration: none; transition: transform .3s ease, border-color .3s ease; }
.bfb-svc a:hover { transform: translateY(-3px); border-color: var(--bfs-line-strong); }
.bfb-svc img { flex: none; width: 46px; height: 46px; object-fit: contain; }
.bfb-svc b { display: block; font: 800 16px/1.3 Outfit, Inter, sans-serif; }
.bfb-svc small { display: block; margin-top: 3px; font: 400 13px/1.5 Inter, sans-serif; color: var(--bfs-muted); }

.bfb-faq { margin-top: 10px; }
.bfb-faq details { margin-bottom: 10px; padding: 2px 20px; border: 1px solid var(--bfs-line); border-radius: 16px; background: var(--bfs-surface); }
.bfb-faq details[open] { border-color: var(--bfs-line-strong); }
.bfb-faq summary { padding: 16px 0; cursor: pointer; font: 700 16.5px/1.45 Inter, sans-serif; color: var(--bfs-ink); }
.bfb-faq details p { margin: 0 0 16px; font: 400 15.5px/1.75 Inter, sans-serif; color: var(--bfs-muted); }
.bfb-cta { margin-top: 46px; padding: 30px; border: 1px solid var(--bfs-line-strong); border-radius: 26px; background: var(--bfs-surface); box-shadow: var(--bfs-shadow); }
.bfb-cta h2 { margin: 0 0 8px; }
.bfb-cta p { margin: 0 0 20px; font: 400 16px/1.7 Inter, sans-serif; color: var(--bfs-muted); }
.bfb-cta .bfp-btn { display: inline-flex; margin: 0 10px 10px 0; }
@media (max-width: 960px) { .bfb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bfb-grid { grid-template-columns: 1fr; } .bfb-toc ol { columns: 1; } .bfb-body { font-size: 16px; } .bfb-body table { display: block; overflow-x: auto; } }

/* plain lists inside articles: undo the site-wide card-style list rules */
html body main .bfb-body ul:not([class]), html body main .bfb-body ol:not([class]) { display: block; margin: 0 0 18px; padding: 0 0 0 24px !important; border: 0; background: none; box-shadow: none; border-radius: 0; list-style: revert; }
html body main .bfb-body ul:not([class]) { list-style: disc; }
html body main .bfb-body ol:not([class]) { list-style: decimal; }
html body main .bfb-body ul:not([class]) > li, html body main .bfb-body ol:not([class]) > li { display: list-item; margin: 0 0 8px; padding: 0; border: 0; background: none; box-shadow: none; border-radius: 0; color: var(--bfs-muted); font: inherit; }
html body main .bfb-body ul:not([class]) > li::before, html body main .bfb-body ol:not([class]) > li::before { content: none; display: none; }
html body main .bfb-body li::marker { color: var(--bfs-accent); }
html body main .bfb-body ul.bfb-chips, html body main .bfb-body ol.bfb-steps { border: 0; background: none; box-shadow: none; border-radius: 0; padding: 0 !important; list-style: none; }
html body main .bfb-body ul.bfb-chips { display: flex; }
html body main .bfb-body ol.bfb-steps { display: grid; }
html body main .bfb-body .bfb-steps > li::before, html body main .bfb-body .bfb-chips > li::before { content: none; display: none; }
html body main .bfb-body .bfb-steps > li { display: block; border: 1px solid var(--bfs-line); border-radius: 20px; background: var(--bfs-surface); padding: 22px 20px; }
html body main .bfb-body .bfb-chips > li { display: flex; border: 1px solid var(--bfs-line); border-radius: 999px; background: var(--bfs-surface); padding: 8px 16px 8px 8px; }
html body main .bfb-body ol.bfb-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bfb-steps span { display: block; line-height: 1.55 !important; }
@media (max-width: 860px) { html body main .bfb-body ol.bfb-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { html body main .bfb-body ol.bfb-steps { grid-template-columns: 1fr; } }
