/* ==========================================================================
   Formium Alliance — Blog (index: formium-blog.html, article: formium-blog-details.html)
   Same language as the rest of the site: pale blue-grey panels (#f4f5f8), ink #1a1a1c, pastel mono badges,
   pill buttons, big rounded cards. The five type roles come from formium-typography.css.
   Everything is scoped under .bl so it cannot leak into other pages.
   ========================================================================== */
html:has(body.bl-body), body.bl-body { overflow-x: clip !important; }   /* the site-wide patch sets hidden, which would stop the sticky contents rail */
body.bl-body { background: #fff; }

.bl {
  --ink: #1a1a1c; --ink-2: rgba(26, 26, 28, .64); --ink-3: rgba(26, 26, 28, .42);
  --line: rgba(26, 26, 28, .09); --line-2: rgba(26, 26, 28, .16); --paper: #f4f5f8; --paper-2: #eceef3;
  --lime: #e8fbc6; --cyan: #cdf5f8; --yellow: #fdf7bc;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --t-title: var(--fa-title, clamp(34px, calc(23px + 2.4vw), 56px));
  --t-sub: var(--fa-subtitle, clamp(20px, calc(17.6px + 0.6vw), 26px));
  --t-body: var(--fa-body, 16px); --t-small: var(--fa-small, 14px); --t-micro: var(--fa-micro, 12px);
  --f-sans: var(--fa-font, 'Geist', system-ui, sans-serif); --f-mono: var(--fa-mono, 'Geist Mono', ui-monospace, monospace);
  position: relative; color: var(--ink); font-family: var(--f-sans); overflow-x: clip; background: #fff;
}
.bl *, .bl *::before, .bl *::after { box-sizing: border-box; }
:where(.bl) :is(h1, h2, h3, p, ul, ol, figure, blockquote) { margin: 0; padding: 0; }
:where(.bl) button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
.bl [hidden] { display: none !important; }
.bl a { color: inherit; }
.bl :is(a, button, label, input, select) { min-height: 0; min-width: 0; }   /* undo the site-wide 44px floor; every control below sets its own size */
.bl :is(a, button, input, select, summary):focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.bl-wrap { width: 100%; max-width: 1290px; margin-inline: auto; padding-inline: 20px; }
.bl-micro { font-family: var(--f-mono); font-size: var(--t-micro); line-height: 1.4; letter-spacing: .02em; font-weight: 450; }
.bl h1 { font-size: var(--t-title) !important; line-height: var(--fa-title-lh, 1.06) !important; letter-spacing: var(--fa-title-ls, -.03em) !important; font-weight: 400 !important; color: var(--ink); text-wrap: balance; }
.bl h2, .bl h3 { font-size: var(--t-sub) !important; line-height: var(--fa-subtitle-lh, 1.22) !important; letter-spacing: var(--fa-subtitle-ls, -.02em) !important; font-weight: 450 !important; color: var(--ink); }
:where(.bl) p { font-size: var(--t-body); line-height: 1.6; }

/* badge — the site's mono pill */
.bl-badge { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 99px; font-family: var(--f-mono); font-size: var(--t-micro); line-height: 1; font-weight: 450; color: var(--ink); background: var(--paper-2); white-space: nowrap; text-decoration: none; }
.bl-badge.t-lime { background: var(--lime); } .bl-badge.t-cyan { background: var(--cyan); } .bl-badge.t-yellow { background: var(--yellow); }

/* ---------- buttons ---------- */
.bl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 99px; font-size: var(--t-body); font-weight: 450; line-height: 1; text-decoration: none; white-space: nowrap; border: 1px solid var(--line-2); background: #fff; color: var(--ink); transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.bl-btn:hover { border-color: var(--ink); }
.bl-btn:active { transform: scale(.98); }
.bl-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.bl-btn:hover svg { transform: translateX(3px); }
.bl a.bl-btn--dark, .bl-btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.bl-btn--dark:hover { background: #333338; border-color: #333338; }
.bl a.bl-btn--light, .bl-btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.bl-btn--light:hover { border-color: #fff; box-shadow: 0 8px 28px rgba(255, 255, 255, .22); }
.bl a.bl-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.bl-btn--ghost:hover { border-color: #fff; }
.bl a.bl-btn--dark { color: #fff; }

/* ==========================================================================
   Page hero (index and article share the band)
   ========================================================================== */
.bl-band { position: relative; background: var(--paper); overflow: hidden; isolation: isolate; }
.bl-band::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px 340px at 12% 8%, rgba(232, 251, 198, .95), transparent 70%),
    radial-gradient(560px 380px at 92% 18%, rgba(205, 245, 248, .9), transparent 70%),
    radial-gradient(420px 300px at 70% 110%, rgba(253, 247, 188, .7), transparent 70%); }
.bl-band::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(26, 26, 28, .16) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000, transparent 75%); }

.bl-hero { padding-top: 168px; padding-bottom: 120px; text-align: center; }
.bl-hero h1 { max-width: 15ch; margin: 22px auto 0; }
.bl-lede { margin: 20px auto 0; max-width: 52ch; color: var(--ink-2); text-wrap: pretty; }
.bl-find { margin: 40px auto 0; max-width: 720px; display: grid; gap: 18px; justify-items: center; }
.bl-search { position: relative; width: 100%; }
.bl-search svg { position: absolute; left: 24px; top: 50%; width: 19px; height: 19px; margin-top: -9.5px; stroke: var(--ink-3); fill: none; stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.bl-search input { width: 100%; height: 60px; border-radius: 99px; border: 1px solid rgba(26, 26, 28, .08); background: #fff; padding: 0 92px 0 58px; font: inherit; font-size: var(--t-body); color: var(--ink); box-shadow: 0 1px 2px rgba(26, 26, 28, .04), 0 18px 40px -18px rgba(26, 26, 28, .22); transition: border-color .25s, box-shadow .35s; -webkit-appearance: none; appearance: none; }
.bl-search input::placeholder { color: var(--ink-3); }
.bl-search input::-webkit-search-cancel-button { display: none; }
.bl-search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 5px rgba(26, 26, 28, .07), 0 18px 40px -18px rgba(26, 26, 28, .26); }
.bl-search kbd { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-family: var(--f-mono); font-size: var(--t-micro); color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 7px; padding: 3px 8px; pointer-events: none; }
.bl-search button { position: absolute; right: 12px; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); transition: background-color .25s; }
.bl-search button:hover { background: var(--paper-2); }
.bl-search button svg { position: static; width: 14px; height: 14px; margin: 0; stroke: var(--ink); }
.bl-cats { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.bl-chip { flex: none; height: 40px; padding: 0 18px; border-radius: 99px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(26, 26, 28, .06); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-small); font-weight: 450; white-space: nowrap; transition: background-color .3s, color .3s, transform .4s var(--ease), border-color .3s; }
.bl-chip:hover { background: #fff; border-color: var(--line-2); }
.bl-chip:active { transform: scale(.97); }
.bl-chip small { font-family: var(--f-mono); font-size: var(--t-micro); color: var(--ink-3); transition: color .3s; }
.bl-chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.bl-chip.is-on small { color: rgba(255, 255, 255, .6); }

/* white sheet that rises over the band */
.bl-sheet { position: relative; z-index: 1; margin-top: -48px; padding: 36px 0 112px; background: #fff; border-radius: 44px 44px 0 0; }
.bl-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.bl-status { display: flex; align-items: center; gap: 16px; min-height: 24px; color: var(--ink-3); }
.bl-status b { color: var(--ink); font-weight: 450; }
.bl-clear { color: var(--ink-2); font-size: var(--t-small); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); transition: color .2s; }
.bl-clear:hover { color: var(--ink); }
.bl-sort { position: relative; }
.bl-sort select { height: 44px; border-radius: 99px; border: 1px solid var(--line-2); background: #fff; padding: 0 42px 0 20px; font: inherit; font-size: var(--t-small); color: var(--ink); cursor: pointer; -webkit-appearance: none; appearance: none; transition: border-color .25s; }
.bl-sort select:hover { border-color: var(--ink); }
.bl-sort::after { content: ''; position: absolute; right: 19px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); transform: rotate(45deg); pointer-events: none; }

/* ---------- images / placeholder ---------- */
.bl-img { position: relative; overflow: hidden; border-radius: 22px; background: var(--paper-2); aspect-ratio: 16 / 10; isolation: isolate; }
.bl-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .5s ease; }
.bl-img img[data-bad] { opacity: 0; }
.bl-ph { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; padding: 18px 20px; background: var(--paper-2); overflow: hidden; }
.bl-ph.t-lime { background: var(--lime); } .bl-ph.t-cyan { background: var(--cyan); } .bl-ph.t-yellow { background: var(--yellow); }
.bl-ph::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(26, 26, 28, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(26, 26, 28, .07) 1px, transparent 1px); background-size: 36px 36px; -webkit-mask-image: linear-gradient(160deg, #000, transparent 75%); mask-image: linear-gradient(160deg, #000, transparent 75%); }
.bl-ph b { position: absolute; right: -2%; top: -14%; font-size: clamp(120px, 14vw, 200px); line-height: 1; font-weight: 400; letter-spacing: -.06em; color: rgba(26, 26, 28, .09); }
.bl-ph span { position: relative; font-family: var(--f-mono); font-size: var(--t-micro); letter-spacing: .02em; color: var(--ink-2); }

/* ---------- card ---------- */
.bl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bl-card { position: relative; display: flex; flex-direction: column; padding: 10px; border-radius: 30px; background: var(--paper); text-decoration: none; transition: transform .6s var(--ease), box-shadow .6s var(--ease), background-color .4s; }
.bl-card .bl-img { border-radius: 22px; }
.bl-card:hover { transform: translateY(-6px); background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -28px rgba(26, 26, 28, .28); }
.bl-card:hover .bl-img img { transform: scale(1.05); }
.bl-go { position: absolute; z-index: 2; right: 14px; top: 14px; width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(26, 26, 28, .18); transform: scale(.6) rotate(-45deg); opacity: 0; transition: transform .6s var(--ease), opacity .35s; }
.bl-go svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bl-card:hover .bl-go, .bl-card:focus-visible .bl-go { opacity: 1; transform: scale(1) rotate(-45deg); }
.bl-body-c { display: flex; flex-direction: column; flex: 1; padding: 20px 14px 12px; }
.bl-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; color: var(--ink-3); }
.bl-cat { color: var(--ink); }
.bl-dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }
.bl-card h3 { margin-top: 16px; text-wrap: balance; }
.bl-card .bl-ex { margin-top: 10px; color: var(--ink-2); font-size: var(--t-small); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bl-by { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 22px; color: var(--ink-2); font-size: var(--t-small); }
.bl-av { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0; flex: none; }
.bl-card, .bl-feature { opacity: 0; transform: translateY(26px); }
.bl-card.is-in, .bl-feature.is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease), box-shadow .6s var(--ease), background-color .4s; transition-delay: var(--d, 0ms); }
.bl-card.is-in:hover { transform: translateY(-6px); transition: transform .6s var(--ease), box-shadow .6s var(--ease), background-color .4s; }

/* ---------- featured: the dark panel ---------- */
.bl-feature { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 10px; margin-bottom: 20px; padding: 10px; border-radius: 36px; background: var(--ink); color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; }
.bl-feature::before { content: ''; position: absolute; z-index: -1; left: -10%; top: -40%; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(232, 251, 198, .16), transparent 70%); pointer-events: none; }
.bl-feature .bl-img { order: 2; aspect-ratio: auto; min-height: 420px; border-radius: 28px; background: #2a2a2e; }
.bl-feature:hover .bl-img img { transform: scale(1.04); }
.bl-feature .bl-txt { order: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(24px, 4vw, 56px); }
.bl-feature .bl-meta { color: rgba(255, 255, 255, .55); }
.bl-feature .bl-cat { color: #fff; }
.bl-feature .bl-meta .bl-badge + .bl-badge { background: rgba(255, 255, 255, .12); color: #fff; }
.bl-feature h2 { font-size: clamp(28px, 3vw, 40px) !important; line-height: 1.1 !important; letter-spacing: -.03em !important; font-weight: 400 !important; color: #fff; margin: 22px 0 16px; text-wrap: balance; }
.bl-feature .bl-ex { color: rgba(255, 255, 255, .64); max-width: 46ch; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.bl-feature .bl-by { margin-top: 28px; padding-top: 0; color: rgba(255, 255, 255, .64); }
.bl-feature .bl-av { background: #fff; color: var(--ink); }
.bl-feature .bl-btn { margin-top: 32px; }
.bl-feature:hover .bl-btn svg { transform: translateX(3px); }
.bl-feature .bl-ph { background: #2a2a2e; } .bl-feature .bl-ph::before { background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); }
.bl-feature .bl-ph b { color: rgba(255, 255, 255, .08); } .bl-feature .bl-ph span { color: rgba(255, 255, 255, .6); }

.bl-more { display: flex; justify-content: center; margin-top: 56px; }
.bl-empty { grid-column: 1 / -1; text-align: center; padding: 80px 20px; border-radius: 32px; background: var(--paper); }
.bl-empty h3 { margin-bottom: 8px; }
.bl-empty p { color: var(--ink-2); margin: 0 auto 24px; max-width: 42ch; }
.bl-skel { aspect-ratio: 16 / 13; border-radius: 30px; background: linear-gradient(100deg, #f1f2f6 30%, #f9fafc 50%, #f1f2f6 70%) 0 0 / 200% 100%; animation: bl-shimmer 1.4s linear infinite; }
@keyframes bl-shimmer { to { background-position: -200% 0; } }

/* ---------- closing call to action ---------- */
.bl-cta { max-width: 1290px; margin: 72px auto 0; padding-inline: 20px; }
.bl-cta > div { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: clamp(32px, 5vw, 64px); border-radius: 36px; background: var(--ink); color: #fff; }
.bl-cta > div::before { content: ''; position: absolute; z-index: -1; right: -8%; top: -60%; width: 50%; height: 220%; background: radial-gradient(closest-side, rgba(205, 245, 248, .18), transparent 70%); pointer-events: none; }
.bl-cta h2 { color: #fff; font-size: var(--t-title) !important; line-height: var(--fa-title-lh, 1.06) !important; letter-spacing: var(--fa-title-ls, -.03em) !important; font-weight: 400 !important; max-width: 16ch; text-wrap: balance; }
.bl-cta p { color: rgba(255, 255, 255, .62); margin-top: 16px; max-width: 44ch; }
.bl-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ==========================================================================
   Article
   ========================================================================== */
.bl-progress { position: fixed; z-index: 70; left: 0; top: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: left; background: var(--ink, #1a1a1c); pointer-events: none; }
.bl-art-head { max-width: 860px; margin-inline: auto; padding: 160px 20px 0; text-align: center; }
.bl-back { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 99px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(26, 26, 28, .06); color: var(--ink-2); font-size: var(--t-small); text-decoration: none; margin-bottom: 32px; transition: color .25s, background-color .25s; }
.bl-back svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.bl-back:hover { color: var(--ink); background: #fff; }
.bl-back:hover svg { transform: translateX(-3px); }
.bl-art-head .bl-meta { justify-content: center; gap: 8px 14px; }
.bl-art-head h1 { margin-top: 24px; }
.bl-dek { margin: 22px auto 0; max-width: 56ch; color: var(--ink-2); text-wrap: pretty; }
.bl-art-by { display: inline-flex; align-items: center; gap: 12px; margin-top: 32px; padding: 8px 20px 8px 8px; border-radius: 99px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(26, 26, 28, .06); text-align: left; }
.bl-art-by .bl-av { width: 40px; height: 40px; font-size: 13px; }
.bl-art-by b { display: block; font-weight: 450; font-size: var(--t-small); line-height: 1.3; }
.bl-art-by > div > span { display: block; color: var(--ink-3); font-size: var(--t-micro); line-height: 1.3; font-family: var(--f-mono); }
.bl-art-band { padding-bottom: 150px; }
.bl-cover { position: relative; z-index: 2; max-width: 1290px; margin: -110px auto 0; padding-inline: 20px; }
.bl-cover .bl-img { aspect-ratio: 16 / 7.4; border-radius: 36px; box-shadow: 0 40px 80px -40px rgba(26, 26, 28, .45); }
.bl-cover .bl-img img { transition: none; object-position: 50% 18%; }

.bl-layout { display: grid; grid-template-columns: 220px minmax(0, 700px) 220px; justify-content: center; gap: 48px; max-width: 1290px; margin: 72px auto 0; padding-inline: 20px; }
.bl-rail-r .bl-rail-in { justify-items: end; }
.bl-rail-r h4 { text-align: right; }
.bl-rail { position: relative; }
.bl-rail-in { position: sticky; top: 110px; display: grid; gap: 34px; }
.bl-rail h4 { margin: 0 0 14px; font-family: var(--f-mono); font-size: var(--t-micro) !important; line-height: 1.4 !important; letter-spacing: .02em !important; letter-spacing: .02em; color: var(--ink-3); font-weight: 450; }
.bl-toc { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.bl-toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: var(--t-small); line-height: 1.4; color: var(--ink-2); text-decoration: none; transition: color .25s, border-color .25s; }
.bl-toc a:hover { color: var(--ink); }
.bl-toc a.is-on { color: var(--ink); border-left-color: var(--ink); }
.bl-share { display: flex; gap: 8px; flex-wrap: wrap; }
.bl-share a, .bl-share button { width: 42px; height: 42px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; text-decoration: none; transition: background-color .3s, color .3s, transform .4s var(--ease); }
.bl-share a:hover, .bl-share button:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.bl-share svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.bl-share svg.f { fill: currentColor; stroke: none; }

/* the article text */
.bl-prose { min-width: 0; }
.bl-prose > * + * { margin-top: 1.25em; }
.bl-prose p, .bl-prose li { font-size: var(--t-body); line-height: 1.85; color: rgba(26, 26, 28, .84); }
.bl-prose > p:first-child { font-size: var(--t-sub); line-height: 1.5; letter-spacing: -.01em; color: var(--ink); }
.bl-prose h2 { margin-top: 2.2em; scroll-margin-top: 110px; text-wrap: balance; }
.bl-prose h2:first-child { margin-top: 0; }
.bl-prose h3 { margin-top: 2em; font-size: var(--t-body) !important; font-weight: 500 !important; letter-spacing: -.01em !important; scroll-margin-top: 110px; }
.bl-prose strong, .bl-prose b { font-weight: 500; color: var(--ink); }
.bl-prose a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); transition: text-decoration-color .25s; }
.bl-prose a:hover { text-decoration-color: var(--ink); }
.bl-prose ul, .bl-prose ol { padding-left: 1.3em; display: grid; gap: .6em; }
.bl-prose ul { list-style: none; padding-left: 0; }
.bl-prose ul li { position: relative; padding-left: 1.4em; }
.bl-prose ul li::before { content: ''; position: absolute; left: 0; top: .78em; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: inset 0 0 0 1.5px var(--ink); }
.bl-prose ol li::marker { font-family: var(--f-mono); font-size: .85em; color: var(--ink-3); }
.bl-prose blockquote { padding: 28px 32px; border-radius: 28px; background: var(--paper); }
.bl-prose blockquote p { font-size: var(--t-sub); line-height: 1.35; letter-spacing: -.01em; color: var(--ink); }
.bl-prose img { display: block; width: 100%; height: auto; border-radius: 24px; margin-block: 2em; }
.bl-prose figure figcaption { margin-top: .8em; font-size: var(--t-small); color: var(--ink-3); text-align: center; }
.bl-prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.4em; }
.bl-prose pre, .bl-prose code { font-family: var(--f-mono); font-size: .88em; }
.bl-prose pre { background: var(--paper); padding: 18px 20px; border-radius: 18px; overflow-x: auto; }
.bl-prose :not(pre) > code { background: var(--paper); padding: .15em .45em; border-radius: 6px; }
.bl-prose table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--t-small); display: block; overflow-x: auto; border-radius: 22px; background: var(--paper); padding: 6px; }
.bl-prose th, .bl-prose td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.bl-prose tr:last-child td { border-bottom: 0; }
.bl-prose th { font-family: var(--f-mono); font-size: var(--t-micro); font-weight: 450; color: var(--ink-2); }

.bl-end { max-width: 1290px; margin: 72px auto 0; padding-inline: 20px; display: grid; grid-template-columns: 220px minmax(0, 700px) 220px; justify-content: center; gap: 48px; }
.bl-end > div { grid-column: 2; }
.bl-tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 28px; border-top: 1px solid var(--line); }
.bl-tag { height: 36px; padding: 0 16px; border-radius: 99px; background: var(--paper); display: inline-flex; align-items: center; font-size: var(--t-small); color: var(--ink-2); text-decoration: none; transition: background-color .25s, color .25s; }
.bl-tag:hover { background: var(--ink); color: #fff; }
.bl-related { margin-top: 112px; }
.bl-related-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.bl-related-h a { color: var(--ink-2); font-size: var(--t-small); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.bl-related-h a:hover { color: var(--ink); }
.bl-after { padding-bottom: 112px; }

.bl-state { max-width: 560px; margin: 0 auto; padding: 200px 20px 140px; text-align: center; }
.bl-state h1 { margin: 22px 0 14px; }
.bl-state p { color: var(--ink-2); margin: 0 auto 28px; max-width: 42ch; }
.bl-load { max-width: 820px; margin: 0 auto; padding: 170px 20px 140px; display: grid; gap: 18px; justify-items: center; }
.bl-load i { display: block; height: 14px; border-radius: 8px; background: linear-gradient(100deg, #eceef3 30%, #f6f7fa 50%, #eceef3 70%) 0 0 / 200% 100%; animation: bl-shimmer 1.4s linear infinite; }
.bl-toast { position: fixed; z-index: 90; left: 50%; bottom: 28px; transform: translate(-50%, 20px); padding: 12px 20px; border-radius: 99px; background: var(--ink, #1a1a1c); color: #fff; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .35s ease, transform .5s cubic-bezier(.16, 1, .3, 1); }
.bl-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.bl-share-m { display: none; margin-top: 36px; }

@media (max-width: 1180px) {
  .bl-layout, .bl-end { grid-template-columns: 200px minmax(0, 700px); gap: 48px; }
  .bl-rail-r { display: none; }
  .bl-share-m { display: flex; }
}
@media (max-width: 980px) {
  .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bl-feature { grid-template-columns: 1fr; }
  .bl-feature .bl-img { order: 1; min-height: 0; aspect-ratio: 16 / 10; }
  .bl-feature .bl-txt { order: 2; }
  .bl-layout, .bl-end { grid-template-columns: minmax(0, 700px); gap: 0; }
  .bl-layout { margin-top: 52px; }
  .bl-rail { display: none; }
  .bl-end > div { grid-column: 1; }
  .bl-share-m { display: flex; }
}
@media (max-width: 640px) {
  .bl-wrap, .bl-cta { padding-inline: 14px; }
  .bl-hero { padding-top: 128px; padding-bottom: 96px; }
  .bl-find { margin-top: 30px; }
  .bl-search input { height: 54px; padding-left: 52px; padding-right: 60px; }
  .bl-search svg { left: 20px; }
  .bl-search kbd { display: none; }
  .bl-cats { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -14px; padding-inline: 14px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); width: calc(100% + 28px); }
  .bl-cats::-webkit-scrollbar { display: none; }
  .bl-sheet { margin-top: -36px; padding: 28px 0 80px; border-radius: 30px 30px 0 0; }
  .bl-grid { grid-template-columns: 1fr; gap: 14px; }
  .bl-card { border-radius: 26px; padding: 8px; }
  .bl-body-c { padding: 18px 12px 10px; }
  .bl-feature { border-radius: 28px; padding: 8px; }
  .bl-feature .bl-img { border-radius: 22px; }
  .bl-go { opacity: 1; transform: scale(1) rotate(-45deg); width: 40px; height: 40px; }
  .bl-art-head { padding-top: 124px; }
  .bl-art-band { padding-bottom: 96px; }
  .bl-cover { margin-top: -70px; padding-inline: 12px; }
  .bl-cover .bl-img { border-radius: 24px; aspect-ratio: 16 / 10; }
  .bl-cta > div { border-radius: 28px; }
  .bl-related { margin-top: 80px; }
  .bl-prose blockquote { padding: 22px; border-radius: 22px; }
}
@media (hover: none) { .bl-go { opacity: 1; transform: scale(1) rotate(-45deg); } .bl-card:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .bl-card, .bl-feature { opacity: 1; transform: none; }
  .bl *, .bl *::before, .bl *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- header on the blog pages: once it turns into the glass pill, keep it readable over white text ---------- */
body.bl-body header .header-six.header-six-scroll::before { backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
body.bl-body header .header-six.header-six-scroll::after { background: rgba(24, 24, 27, .74); border-color: rgba(255, 255, 255, .1); box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .12), 0 10px 36px rgba(26, 26, 28, .22); }
