/* ---------------------------------------------------------------------------
   TraceFind blog: the overview (blog/index.html) and every article.

   Standalone on purpose: the blog carries none of the Webflow/Tailwind
   bundles, so pages stay small and fast for search engines. Same tokens as
   the main page (css/home.css).
   --------------------------------------------------------------------------- */

@font-face {
    font-family: 'Geist';
    src: url(/static/fonts/d82a8a076d0105b5.p.70796b074e.woff2) format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --bg: #000;
    --raised: hsla(0, 0%, 100%, 0.035);
    --border: hsla(0, 0%, 100%, 0.12);
    --border-strong: hsla(0, 0%, 100%, 0.22);
    --fg: #ededed;
    --muted: #a1a1a1;
    --faint: #7d7d7d;
    --accent: #cf362d;
    --accent-text: #f0786f;
    --gold: #f5d984;
    --code: hsla(0, 0%, 100%, 0.07);
    color-scheme: dark;
}

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

html {
    -webkit-text-size-adjust: 100%;
    /* Like the main site (css/footer.css): nothing scrolls the page sideways.
       Set on the root, so it clips without making a nested scroll box. */
    overflow-x: clip;
    overscroll-behavior-x: none;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

a {
    color: var(--fg);
    text-decoration-color: var(--border-strong);
    text-underline-offset: 3px;
}

a:hover {
    color: #fff;
    text-decoration-color: var(--fg);
}

img {
    max-width: 100%;
    height: auto;
}

.wrap {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ---- header ------------------------------------------------------------- */
.bl-head {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(10px);
}

.bl-head .wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 60px;
}

.bl-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    text-decoration: none;
}

.bl-brand img {
    width: 28px;
    height: 28px;
}

.bl-brand span.tag {
    color: var(--faint);
    font-weight: 400;
}

.bl-nav {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-left: auto;
    font-size: 0.875rem;
}

.bl-nav a {
    color: var(--muted);
    text-decoration: none;
}

.bl-nav a:hover {
    color: var(--fg);
}

.bl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.bl-btn-primary {
    border-color: var(--fg);
    background: var(--fg);
    color: #000;
}

.bl-btn-primary:hover {
    background: #fff;
    color: #000;
}

/* "Back to searching": the one way back into the product from an article. */
.bl-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    margin-left: auto;
    padding: 0 10px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 0.875rem;
    text-decoration: none;
}

.bl-back:hover {
    color: var(--fg);
    background: var(--raised);
}

.bl-back-short {
    display: none;
}

@media (max-width: 480px) {
    .bl-back-long {
        display: none;
    }

    .bl-back-short {
        display: inline;
    }

    .bl-brand span.tag {
        display: none;
    }
}

.bl-foot .bl-nav-gold {
    color: var(--gold);
}

/* ---- overview ----------------------------------------------------------- */
.bl-hero {
    padding: 64px 0 28px;
    text-align: center;
}

.bl-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-text);
}

.bl-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 4.4vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.bl-hero p {
    max-width: 640px;
    margin: 14px auto 0;
    color: var(--muted);
    font-size: 1.0625rem;
}

.bl-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 0 28px;
}

.bl-filter {
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 0.875rem;
    cursor: pointer;
}

.bl-filter[aria-pressed='true'],
.bl-filter:hover {
    border-color: var(--border-strong);
    color: var(--fg);
}

.bl-filter[aria-pressed='true'] {
    background: var(--raised);
}

.bl-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 72px;
    padding: 0;
    list-style: none;
}

@media (max-width: 960px) {
    .bl-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .bl-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.bl-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--raised);
    text-decoration: none;
    transition: border-color 0.15s ease;
}

.bl-card:hover {
    border-color: var(--border-strong);
    color: var(--fg);
}

.bl-card[hidden],
.bl-grid > li[hidden] {
    display: none;
}

.bl-card .bl-cat {
    color: var(--accent-text);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.bl-card h2 {
    margin: 8px 0 8px;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.bl-card p {
    flex: 1;
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 0.9375rem;
}

.bl-card .bl-meta {
    color: var(--faint);
    font-size: 0.8125rem;
}

/* ---- article ------------------------------------------------------------ */
.bl-article-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 56px;
    /* Vertical only: the sides come from .wrap (16px), so text never touches
       the screen edge on a phone. */
    padding-top: 40px;
    padding-bottom: 24px;
}

@media (max-width: 960px) {
    .bl-article-wrap {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .bl-toc {
        display: none;
    }
}

.bl-crumbs {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--faint);
    font-size: 0.8125rem;
}

.bl-crumbs li + li::before {
    content: '/';
    margin-right: 6px;
}

.bl-crumbs a {
    color: var(--muted);
    text-decoration: none;
}

article.bl-post {
    max-width: 720px;
    min-width: 0;
}

article.bl-post h1 {
    margin: 6px 0 14px;
    font-size: clamp(1.875rem, 4vw, 2.625rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.bl-lede {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 1.1875rem;
    line-height: 1.6;
}

.bl-byline {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin: 0 0 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    color: var(--faint);
    font-size: 0.875rem;
}

.bl-body h2 {
    margin: 44px 0 12px;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.3;
    scroll-margin-top: 80px;
}

.bl-body h3 {
    margin: 30px 0 8px;
    font-size: 1.125rem;
    font-weight: 600;
    scroll-margin-top: 80px;
}

.bl-body p,
.bl-body ul,
.bl-body ol {
    margin: 0 0 16px;
}

.bl-body ul,
.bl-body ol {
    padding-left: 22px;
}

.bl-body li {
    margin: 6px 0;
}

.bl-body li::marker {
    color: var(--faint);
}

.bl-body strong {
    color: #fff;
    font-weight: 600;
}

.bl-body code {
    padding: 2px 6px;
    border-radius: 5px;
    background: var(--code);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.875em;
    overflow-wrap: anywhere;
}

.bl-body pre {
    margin: 0 0 18px;
    padding: 14px 16px;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--raised);
    font-size: 0.875rem;
    line-height: 1.55;
}

.bl-body pre code {
    padding: 0;
    background: none;
}

.bl-body blockquote {
    margin: 0 0 18px;
    padding: 2px 0 2px 16px;
    border-left: 2px solid var(--accent);
    color: var(--muted);
}

.bl-body table {
    display: block;
    width: 100%;
    margin: 0 0 20px;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.bl-body th,
.bl-body td {
    padding: 9px 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.bl-body th {
    color: var(--muted);
    font-weight: 500;
}

/* A highlighted aside: "Note", "Tip", "Legal". */
.bl-note {
    margin: 0 0 20px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
    border-radius: 8px;
    background: var(--raised);
    font-size: 0.9375rem;
}

.bl-note p:last-child {
    margin-bottom: 0;
}

/* The call to action into the matching search. */
.bl-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 36px 0;
    padding: 20px 22px;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(207, 54, 45, 0.14), rgba(255, 255, 255, 0.02));
}

.bl-cta p {
    margin: 0;
    max-width: 460px;
}

.bl-cta strong {
    display: block;
    margin-bottom: 2px;
}

.bl-faq details {
    border-bottom: 1px solid var(--border);
}

.bl-faq summary {
    padding: 14px 0;
    font-weight: 500;
    cursor: pointer;
}

.bl-faq details p {
    margin: 0 0 16px;
    color: var(--muted);
}

/* ---- rich article blocks (tools/blog/STYLE.md lists them all) ---------- */

/* Cover image under the byline (written by tools/build-blog.mjs). */
.bl-cover {
    display: block;
    width: 100%;
    margin: -8px 0 32px;
    border: 1px solid var(--border);
    border-radius: 14px;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
    background: #0a0a0a;
}

/* "In short": the three to five things to take away, right at the top. */
.bl-tldr {
    margin: 0 0 32px;
    padding: 18px 20px 6px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--raised);
}

.bl-tldr > b {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-text);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bl-tldr ul {
    padding-left: 20px;
}

/* Figures: screenshots, diagrams, illustrations. */
.bl-figure {
    margin: 28px 0 32px;
}

.bl-figure img {
    display: block;
    width: 100%;
    border-radius: 10px;
}

.bl-figure figcaption {
    margin-top: 10px;
    color: var(--faint);
    font-size: 0.875rem;
    line-height: 1.5;
    text-align: center;
}

.bl-figure a[data-zoom] {
    display: block;
    cursor: zoom-in;
}

/* A screenshot sits in a small browser frame. */
.bl-shot .bl-frame {
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    background: #0b0b0b;
    box-shadow: 0 24px 60px -24px rgba(207, 54, 45, 0.28), 0 8px 24px rgba(0, 0, 0, 0.5);
}

.bl-shot .bl-frame::before {
    content: '';
    display: block;
    height: 28px;
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(circle at 16px 14px, #ff5f57 4.5px, transparent 5px),
        radial-gradient(circle at 32px 14px, #febc2e 4.5px, transparent 5px),
        radial-gradient(circle at 48px 14px, #28c840 4.5px, transparent 5px),
        hsla(0, 0%, 100%, 0.04);
}

.bl-shot .bl-frame img {
    border-radius: 0;
}

/* Two screenshots side by side (stacked on phones). */
.bl-shots {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 28px 0 32px;
}

.bl-shots .bl-figure {
    margin: 0;
}

@media (max-width: 620px) {
    .bl-shots {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* A diagram rendered from tools/blog/diagrams/*.mmd. */
.bl-diagram .bl-canvas {
    padding: 22px 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background:
        radial-gradient(ellipse at top, rgba(207, 54, 45, 0.08), transparent 60%),
        linear-gradient(hsla(0, 0%, 100%, 0.025) 1px, transparent 1px) 0 0 / 22px 22px,
        linear-gradient(90deg, hsla(0, 0%, 100%, 0.025) 1px, transparent 1px) 0 0 / 22px 22px,
        #050505;
}

/* Never larger than drawn (a small diagram would get huge text), centred. */
.bl-diagram img {
    width: auto;
    max-width: 100%;
    max-height: 680px;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 0;
}

/* A step-by-step walkthrough. */
.bl-steps {
    position: relative;
    margin: 24px 0 32px;
    padding: 0 !important;
    list-style: none;
    counter-reset: step;
}

.bl-steps > li {
    position: relative;
    margin: 0;
    padding: 0 0 26px 52px;
    counter-increment: step;
}

.bl-steps > li::before {
    content: counter(step);
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(240, 120, 111, 0.45);
    border-radius: 50%;
    background: rgba(207, 54, 45, 0.14);
    color: var(--accent-text);
    font-size: 0.875rem;
    font-weight: 600;
}

.bl-steps > li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    bottom: 6px;
    left: 17px;
    width: 1px;
    background: var(--border);
}

.bl-steps > li > h3 {
    margin: 4px 0 6px;
}

.bl-steps > li > :last-child {
    margin-bottom: 0;
}

.bl-steps .bl-figure {
    margin: 16px 0 8px;
}

/* Callouts. .bl-note (gold) stays the plain "Note". */
.bl-callout {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    margin: 0 0 22px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--raised);
    font-size: 0.9375rem;
}

.bl-callout::before {
    content: 'i';
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    border-radius: 50%;
    background: hsla(0, 0%, 100%, 0.1);
    color: var(--fg);
    font-size: 0.75rem;
    font-weight: 700;
}

.bl-callout > div > :last-child {
    margin-bottom: 0;
}

.bl-callout.is-tip {
    border-color: rgba(52, 199, 89, 0.35);
    background: rgba(52, 199, 89, 0.06);
}

.bl-callout.is-tip::before {
    content: '✓';
    background: rgba(52, 199, 89, 0.2);
    color: #6fe08f;
}

.bl-callout.is-warn {
    border-color: rgba(240, 120, 111, 0.4);
    background: rgba(207, 54, 45, 0.08);
}

.bl-callout.is-warn::before {
    content: '!';
    background: rgba(207, 54, 45, 0.25);
    color: var(--accent-text);
}

.bl-callout.is-legal {
    border-color: rgba(245, 217, 132, 0.35);
    background: rgba(245, 217, 132, 0.05);
}

.bl-callout.is-legal::before {
    content: '§';
    background: rgba(245, 217, 132, 0.18);
    color: var(--gold);
}

/* A row of numbers. */
.bl-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin: 24px 0 28px;
}

.bl-stats > div {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--raised);
}

.bl-stats b {
    display: block;
    color: #fff;
    font-size: 1.625rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.bl-stats span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.8125rem;
    line-height: 1.4;
}

/* Do / don't, or before / after, side by side. */
.bl-compare {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0 28px;
}

.bl-compare > div {
    padding: 16px 18px 6px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--raised);
}

.bl-compare > div > b {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9375rem;
}

.bl-compare .is-good > b {
    color: #6fe08f;
}

.bl-compare .is-bad > b {
    color: var(--accent-text);
}

.bl-compare ul {
    padding-left: 18px !important;
    font-size: 0.9375rem;
}

@media (max-width: 620px) {
    .bl-compare {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* A checklist readers can tick off (the boxes are only drawn). */
.bl-checklist {
    padding: 0 !important;
    list-style: none;
}

.bl-checklist li {
    position: relative;
    padding-left: 30px;
}

.bl-checklist li::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--border-strong);
    border-radius: 4px;
}

/* A terminal or code window with a title bar. */
.bl-term {
    margin: 0 0 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #070707;
}

.bl-term > span {
    display: block;
    padding: 7px 14px;
    border-bottom: 1px solid var(--border);
    background: hsla(0, 0%, 100%, 0.04);
    color: var(--faint);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.75rem;
}

.bl-term pre {
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
}

.bl-term .c {
    color: var(--faint);
}

.bl-term .k {
    color: var(--accent-text);
}

.bl-term .s {
    color: #9fe3b0;
}

/* A worked example / case file. */
.bl-case {
    margin: 28px 0;
    padding: 20px 22px 8px;
    border: 1px dashed var(--border-strong);
    border-radius: 12px;
    background: hsla(0, 0%, 100%, 0.02);
}

.bl-case > b:first-child {
    display: inline-block;
    margin-bottom: 10px;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(207, 54, 45, 0.16);
    color: var(--accent-text);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* A pull quote. */
.bl-pull {
    margin: 32px 0;
    padding: 0 0 0 20px;
    border-left: 3px solid var(--accent);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.45;
}

/* Zoomed screenshot (blog.js). */
.bl-zoom {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.88);
    cursor: zoom-out;
}

.bl-zoom img {
    max-width: min(1400px, 100%);
    max-height: 100%;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
}

/* The newest article on the overview: across the grid, picture beside text. */
.bl-grid > li.is-featured {
    grid-column: 1 / -1;
}

.is-featured .bl-card {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr auto;
    column-gap: 32px;
    align-content: center;
}

.is-featured .bl-card .bl-thumb {
    grid-row: 1 / -1;
    width: calc(100% + 22px);
    margin: -22px 0 -22px -22px;
    border-right: 1px solid var(--border);
    border-bottom: 0;
    border-radius: 12px 0 0 12px;
    height: calc(100% + 44px);
}

.is-featured .bl-card h2 {
    font-size: 1.625rem;
    letter-spacing: -0.02em;
}

.is-featured .bl-card .bl-cat,
.is-featured .bl-card h2,
.is-featured .bl-card p,
.is-featured .bl-card .bl-meta {
    align-self: end;
}

.is-featured .bl-card p {
    flex: none;
    align-self: start;
}

@media (max-width: 760px) {
    .is-featured .bl-card {
        display: flex;
    }

    .is-featured .bl-card .bl-thumb {
        width: calc(100% + 44px);
        height: auto;
        margin: -22px -22px 18px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
        border-radius: 12px 12px 0 0;
    }
}

/* Card thumbnails on the overview. */
.bl-card .bl-thumb {
    display: block;
    width: calc(100% + 44px);
    max-width: none;
    margin: -22px -22px 18px;
    border-bottom: 1px solid var(--border);
    border-radius: 12px 12px 0 0;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
}

/* Table of contents (filled by blog.js from the h2s). */
.bl-toc {
    position: sticky;
    top: 92px;
    align-self: start;
    font-size: 0.875rem;
}

.bl-toc h2 {
    margin: 0 0 10px;
    color: var(--faint);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bl-toc ol {
    margin: 0;
    padding: 0;
    list-style: none;
    border-left: 1px solid var(--border);
}

.bl-toc a {
    display: block;
    margin-left: -1px;
    padding: 5px 0 5px 12px;
    border-left: 1px solid transparent;
    color: var(--muted);
    text-decoration: none;
    line-height: 1.4;
}

.bl-toc a:hover,
.bl-toc a.on {
    border-left-color: var(--fg);
    color: var(--fg);
}

.bl-related {
    margin: 56px 0 0;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.bl-related h2 {
    margin: 0 0 16px;
    font-size: 1.125rem;
}

.bl-related .bl-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 24px;
}

@media (max-width: 760px) {
    .bl-related .bl-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---- footer ------------------------------------------------------------- */
/* Same columns and links as the main site's footer (tools/chrome.mjs). */
.bl-foot {
    margin-top: 48px;
    padding: 48px 0 40px;
    border-top: 1px solid var(--border);
    color: var(--faint);
    font-size: 0.875rem;
}

.bl-foot-cols {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 24px;
}

.bl-foot-cols div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.bl-foot-cols b {
    margin-bottom: 6px;
    color: var(--fg);
    font-weight: 500;
}

.bl-foot a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    color: var(--muted);
    text-decoration: none;
}

.bl-foot a:hover {
    color: var(--fg);
}

.bl-foot .bl-nav-gold {
    color: var(--gold);
}

.bl-foot-base {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px 24px;
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.bl-foot-base span:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
}

@media (max-width: 760px) {
    .bl-foot-cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bl-foot a {
        min-height: 40px;
    }
}
