/*
 * Findable-Public.css: public router pages and the public nav (PD2, approved 2026-10-19).
 * Loaded after Findable-Landing.css on public pages only; extends its tokens and components, never replaces them.
 * Sections: 1 nav · 2 page hero · 3 pricing · 4 directory · 5 shared bits · 6 responsive
 */


/* ── 1. PUBLIC NAV: transparent over the navy hero, solid deep navy once the page scrolls ── */

/* the nav sits outside .bsd-landing, so it carries the landing tokens it needs */
.bsd-pnav {
    --bsd-l-font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
    --bsd-l-brand-2: #DB1A21;
    --bsd-l-brand-2-dark: #B5141A;
    --bsd-pnav-h: 72px;

    position: fixed;
    inset: 0 0 auto;
    z-index: 60;
    font-family: var(--bsd-l-font);
    background: rgba(5, 18, 49, 0.96);
    border-bottom: 1px solid rgba(143, 180, 255, 0.16);
    transition: background-color 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

/* JS adds --top while the page is at the very top; without JS the bar stays solid */
.bsd-pnav.bsd-pnav--top {
    background: transparent;
    border-bottom-color: transparent;
}

.bsd-pnav.bsd-pnav--solid { box-shadow: 0 8px 24px -12px rgba(0, 8, 30, 0.6); }

.bsd-pnav__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    max-width: 1180px;
    min-height: var(--bsd-pnav-h);
    margin: 0 auto;
    padding: 0 24px;
}

.bsd-pnav__brand { display: inline-flex; flex: none; border-radius: 4px; }
/* white wordmark with the magnifier "b" (assets/brand) */
.bsd-pnav__brand img { display: block; width: auto; height: 30px; }

.bsd-pnav__links { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }

.bsd-pnav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.16s ease;
}

.bsd-pnav__link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--bsd-l-brand-2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.bsd-pnav__link[aria-current="page"] { color: #fff; }
.bsd-pnav__link[aria-current="page"]::after { transform: scaleX(1); }

.bsd-pnav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.bsd-pnav__login {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    transition: background-color 0.16s ease, border-color 0.16s ease;
}

/* the landing button rules are scoped to .bsd-landing, so the nav CTA is styled here */
.bsd-pnav .bsd-pnav__cta {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 20px;
    font: 700 13px/1 var(--bsd-l-font);
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    background: var(--bsd-l-brand-2);
    border: 0;
    border-radius: 50px;
    box-shadow: none;
    transition: background-color 0.16s ease;
}

.bsd-pnav :is(.bsd-pnav__link, .bsd-pnav__login, .bsd-pnav__cta, .bsd-pnav__brand, .bsd-pnav__toggle):focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.bsd-pnav__toggle {
    display: none;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    cursor: pointer;
}

/* three bars drawn with one element and two shadows */
.bsd-pnav__bars,
.bsd-pnav__bars::before,
.bsd-pnav__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.bsd-pnav__bars { position: relative; }
.bsd-pnav__bars::before,
.bsd-pnav__bars::after { content: ""; position: absolute; left: 0; }
.bsd-pnav__bars::before { top: -6px; }
.bsd-pnav__bars::after { top: 6px; }

.bsd-pnav.is-open .bsd-pnav__bars { background: transparent; }
.bsd-pnav.is-open .bsd-pnav__bars::before { transform: translateY(6px) rotate(45deg); }
.bsd-pnav.is-open .bsd-pnav__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (hover: hover) and (pointer: fine) {
    .bsd-pnav__link:hover { color: #fff; }
    .bsd-pnav__link:hover::after { transform: scaleX(1); }
    .bsd-pnav__login:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.6); }
    .bsd-pnav .bsd-pnav__cta:hover { background: var(--bsd-l-brand-2-dark); }
}

/* Log in and the free check repeat inside the phone menu, where the bar has no room for them */
.bsd-pnav__extra { display: none; }

/* the old in-flow top bar left room above the page; the fixed nav overlays the hero instead */
body.bsd-body:not(.bsd-app) #content-wrapper.bsd-landing { padding-top: 0; }

/* public content without a hero (the login form) starts below the fixed nav */
body.bsd-body:not(.bsd-app) #wrapper:not(:has(.bsd-lp-hero, .bsd-biz-hero, .bsd-blog-article__head)) { padding-top: calc(72px + 24px); }


/* ── 2. PAGE HERO: inner pages clear the fixed nav ── */

.bsd-landing .bsd-lp-page-hero { padding-top: calc(72px + 72px); }
.bsd-landing .bsd-pp-hero { padding-bottom: 96px; }
.bsd-landing .bsd-pp-hero .bsd-lp-stage-kicker { margin-bottom: 16px; }
.bsd-landing .bsd-pp-hero .bsd-lp-hero-inner > * { max-width: 720px; }
.bsd-landing .bsd-pp-hero .bsd-lp-hero-inner > .bsd-pp-search { max-width: 860px; }


/* ── 3. PRICING ── */

.bsd-landing .bsd-pp-plans { padding-top: 64px; }

.bsd-landing .bsd-pp-terms {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.bsd-landing .bsd-pp-term {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 22px;
    background: var(--bsd-l-surface);
    border: 1px solid var(--bsd-l-line);
    border-radius: var(--bsd-l-r-card);
}

/* comparison table: hairline rows, plan columns centred */
.bsd-landing .bsd-pp-table-wrap {
    overflow-x: auto;
    background: var(--bsd-l-surface);
    border: 1px solid var(--bsd-l-line);
    border-radius: var(--bsd-l-r-card);
    box-shadow: var(--bsd-l-sh-soft);
}

.bsd-landing .bsd-pp-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }

.bsd-landing .bsd-pp-table :is(th, td) {
    padding: 16px 22px;
    text-align: center;
    border-bottom: 1px solid var(--bsd-l-line);
}

.bsd-landing .bsd-pp-table tbody tr:last-child > * { border-bottom: 0; }
.bsd-landing .bsd-pp-table tbody th { text-align: left; font-weight: 600; color: var(--bsd-l-ink); }
.bsd-landing .bsd-pp-table td { color: var(--bsd-l-text); }

.bsd-landing .bsd-pp-table thead th {
    font: 800 16px/1.3 var(--bsd-l-font);
    color: var(--bsd-l-brand-1);
    background: var(--bsd-l-soft);
}

.bsd-landing .bsd-pp-table thead th span { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--bsd-l-text); }
.bsd-landing .bsd-pp-table thead th:last-child { color: var(--bsd-l-brand-2); }

.bsd-landing .bsd-pp-yes { font-weight: 800; color: var(--bsd-l-brand-2); }
.bsd-landing .bsd-pp-table td strong { font-weight: 700; color: var(--bsd-l-brand-1); }

/* section rows, as on the comparison sheet: small spaced capitals on a soft band */
.bsd-landing .bsd-pp-table .bsd-pp-table__section th {
    padding: 10px 22px;
    text-align: left;
    font: 700 12px/1.4 var(--bsd-l-font);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bsd-l-royal);
    background: var(--bsd-l-soft);
}

.bsd-landing .bsd-pp-table__note { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--bsd-l-text); }
.bsd-landing .bsd-pp-compare-cta { max-width: 60ch; margin-inline: auto; font-weight: 600; color: var(--bsd-l-brand-1); }

/* plan cards: the "added magic" line */
.bsd-landing .bsd-lp-price-tagline { margin: -8px 0 16px; font-size: 13.5px; font-weight: 600; color: var(--bsd-l-brand-2); }
.bsd-landing .bsd-lp-price-featured .bsd-lp-price-tagline { color: var(--bsd-l-brand-2-on-dark); }

/* small print */
.bsd-landing .bsd-pp-small { padding: 48px 0 56px; background: var(--bsd-l-surface); border-top: 1px solid var(--bsd-l-line); }
.bsd-landing .bsd-pp-small__title { margin: 0 0 14px; font: 800 14px/1.3 var(--bsd-l-font); letter-spacing: 1.6px; text-transform: uppercase; color: var(--bsd-l-brand-1); }
.bsd-landing .bsd-pp-small__list { display: grid; gap: 10px; max-width: 92ch; padding-left: 14px; border-left: 3px solid var(--bsd-l-brand-2); }
.bsd-landing .bsd-pp-small__list li { font-size: 13.5px; line-height: 1.65; color: var(--bsd-l-text); }

/* FAQ: native details, no script */
.bsd-landing .bsd-pp-faq { display: grid; gap: 12px; text-align: left; }

.bsd-landing .bsd-pp-faq__item {
    background: var(--bsd-l-surface);
    border: 1px solid var(--bsd-l-line);
    border-radius: var(--bsd-l-r-card);
}

.bsd-landing .bsd-pp-faq__item summary {
    position: relative;
    padding: 18px 52px 18px 22px;
    font: 700 16px/1.4 var(--bsd-l-font);
    color: var(--bsd-l-brand-1);
    list-style: none;
    cursor: pointer;
    border-radius: var(--bsd-l-r-card);
}

.bsd-landing .bsd-pp-faq__item summary::-webkit-details-marker { display: none; }

.bsd-landing .bsd-pp-faq__item summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 600;
    color: var(--bsd-l-brand-2);
    transition: transform 0.2s ease;
}

.bsd-landing .bsd-pp-faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.bsd-landing .bsd-pp-faq__item summary:focus-visible { outline: 2px solid var(--bsd-l-brand-1); outline-offset: 2px; }
.bsd-landing .bsd-pp-faq__item p { margin: 0; padding: 0 22px 20px; font-size: 15px; line-height: 1.7; }


/* ── 4. DIRECTORY ── */

/* search bar on the hero: a white panel with two fields and the red button */
.bsd-landing .bsd-pp-search {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px;
    margin-top: 34px;
    padding: 14px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 48px -20px rgba(0, 8, 30, 0.6);
}

.bsd-landing .bsd-pp-search__field { display: grid; gap: 6px; margin: 0; }

.bsd-landing .bsd-pp-search__label {
    padding-left: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--bsd-l-text);
}

.bsd-landing .bsd-pp-search__control {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 14px;
    color: var(--bsd-l-brand-1);
    background: var(--bsd-l-soft);
    border: 1px solid var(--bsd-l-line);
    border-radius: 10px;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.bsd-landing .bsd-pp-search__control:focus-within { border-color: var(--bsd-l-royal); box-shadow: 0 0 0 3px rgba(26, 59, 142, 0.18); }

.bsd-landing .bsd-pp-search__control input {
    flex: 1;
    min-width: 0;
    font: 500 15px/1.4 var(--bsd-l-font);
    color: var(--bsd-l-ink);
    background: none;
    border: 0;
    outline: 0;
}

.bsd-landing .bsd-pp-search__control input::placeholder { color: #646b78; }
.bsd-landing .bsd-pp-search__btn { min-height: 50px; white-space: nowrap; }

.bsd-landing .bsd-pp-results-title { margin-bottom: 10px; }
.bsd-landing #results .bsd-lp-desc { margin-bottom: 28px; }

/* coming soon (workflow §3a): sample cards under a near-opaque panel */
.bsd-landing .bsd-pp-soon { position: relative; overflow: hidden; border-radius: var(--bsd-l-r-card); }

.bsd-landing .bsd-pp-soon__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.bsd-landing .bsd-pp-card {
    display: grid;
    gap: 12px;
    padding: 24px;
    background: var(--bsd-l-surface);
    border: 1px solid var(--bsd-l-line);
    border-radius: var(--bsd-l-r-card);
}

.bsd-landing .bsd-pp-skel { display: block; height: 12px; border-radius: 6px; background: #e3e8f0; }
.bsd-landing .bsd-pp-skel-title { width: 60%; height: 18px; background: #d6deea; }
.bsd-landing .bsd-pp-skel-line { width: 85%; }
.bsd-landing .bsd-pp-skel-short { width: 40%; }

.bsd-landing .bsd-pp-soon__panel {
    position: absolute;
    inset: 38% 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    text-align: center;
    background: rgba(244, 246, 250, 0.96);
    border-top: 3px solid var(--bsd-l-brand-2);
}

.bsd-landing .bsd-pp-soon__title {
    font: 800 13px/1.3 var(--bsd-l-font);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bsd-l-brand-2);
}

.bsd-landing .bsd-pp-soon__note { max-width: 46ch; margin-bottom: 8px; font-size: 16px; color: var(--bsd-l-ink); }

.bsd-landing .bsd-pp-steps { grid-template-columns: repeat(3, 1fr); }


/* ── 4b. BRAND INTRO (landing; the intro video rebuilt in SVG) ── */

.bsd-landing .bsd-lp-intro {
    padding: 96px 0;
    background: radial-gradient(ellipse 55% 75% at 50% 45%, #14398f 0%, #0a2463 42%, #051231 100%);
    overflow: hidden;
}

.bsd-lp-intro-svg { display: block; width: min(100%, 980px); height: auto; margin-inline: auto; overflow: visible; }

.bsd-lp-intro-tag { font-family: var(--bsd-l-font); font-size: 106px; font-weight: 700; fill: #fff; }
.bsd-lp-intro-find { fill: #E1232B; }
.bsd-lp-intro-flash { fill: #fff; opacity: 0; }
.bsd-lp-intro-dot { fill: #fff; opacity: 0; }

/* the magnifier: blue while it sits in the "b" (as in the logo), white once it lifts out */
.bsd-lp-intro-blue,
.bsd-lp-intro-white { fill: none; stroke-linecap: round; }
.bsd-lp-intro-blue { stroke: #2b4ea6; }
.bsd-lp-intro-white { stroke: #fff; }
:is(.bsd-lp-intro-blue, .bsd-lp-intro-white) circle { stroke-width: 22; }
:is(.bsd-lp-intro-blue, .bsd-lp-intro-white) path { stroke-width: 14; }
:is(.bsd-lp-intro-blue, .bsd-lp-intro-white) line { stroke-width: 32; }

@media (max-width: 767px) {
    .bsd-landing .bsd-lp-intro { padding: 64px 0; }
}


/* ── 5. SHARED BITS ── */

/* footer brand: the white logo with its tagline */
.bsd-landing .bsd-lp-footer-brand img { display: block; width: auto; height: 56px; max-width: 100%; }

.bsd-landing .bsd-pp-center { margin-top: 36px; text-align: center; }
.bsd-landing .bsd-pp-links { display: grid; gap: 14px; justify-items: start; }


/* ── 6. RESPONSIVE (landing breakpoints: 980 / 767 / 479) ── */

@media (max-width: 980px) {
    .bsd-pnav__toggle { display: inline-grid; }
    .bsd-pnav__inner { gap: 12px; }

    /* with JS the links fold into a panel under the bar; without JS they wrap onto a second row */
    .bsd-pnav-js .bsd-pnav__menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        padding: 12px 24px 20px;
        background: #051231;
        border-bottom: 1px solid rgba(143, 180, 255, 0.16);
        box-shadow: 0 16px 32px -16px rgba(0, 8, 30, 0.7);
    }

    .bsd-pnav-js .bsd-pnav.is-open .bsd-pnav__menu { display: block; }
    .bsd-pnav-js .bsd-pnav__links { flex-direction: column; align-items: stretch; gap: 2px; }
    .bsd-pnav-js .bsd-pnav__link { min-height: 48px; font-size: 16px; }
    .bsd-pnav-js .bsd-pnav__link::after { left: 12px; right: auto; width: 24px; bottom: 8px; }
    .bsd-pnav-js .bsd-pnav.is-open { background: #051231; }

    html:not(.bsd-pnav-js) .bsd-pnav__inner { flex-wrap: wrap; padding-block: 10px; }
    html:not(.bsd-pnav-js) .bsd-pnav__menu { order: 3; width: 100%; overflow-x: auto; }
    html:not(.bsd-pnav-js) .bsd-pnav__toggle { display: none; }

    .bsd-landing .bsd-pp-terms { grid-template-columns: 1fr; }
    .bsd-landing .bsd-pp-soon__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bsd-landing .bsd-pp-search { grid-template-columns: 1fr 1fr; }
    .bsd-landing .bsd-pp-search__btn { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
    .bsd-pnav { --bsd-pnav-h: 64px; }
    .bsd-pnav__inner { padding: 0 16px; }
    .bsd-pnav__brand img { height: 26px; }
    .bsd-pnav__login { display: none; }
    .bsd-pnav__extra { display: block; }
    .bsd-pnav__extra--cta { display: none; }
    .bsd-pnav .bsd-pnav__cta { padding: 0 14px; font-size: 12px; }

    .bsd-landing .bsd-lp-page-hero { padding-top: calc(64px + 48px); }
    .bsd-landing .bsd-pp-search { grid-template-columns: 1fr; }
    .bsd-landing .bsd-pp-steps { grid-template-columns: 1fr; }
    .bsd-landing .bsd-pp-soon__cards { grid-template-columns: 1fr; }
    .bsd-landing .bsd-pp-soon__panel { inset: 18% 0 0; }
    .bsd-landing .bsd-pp-table :is(th, td) { padding: 14px 14px; }
}

@media (max-width: 479px) {
    .bsd-pnav .bsd-pnav__cta { display: none; }
    .bsd-pnav__extra--cta { display: block; }
}

@media (prefers-reduced-motion: reduce) {
    .bsd-pnav,
    .bsd-pnav *,
    .bsd-pnav *::before,
    .bsd-pnav *::after { transition-duration: 0.01ms !important; }
}

/* L12 signature install page (/signature/{token}); the preview stays white because signatures are built for white mail */
.bsd-landing .bsd-sig__preview {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--bsd-l-line);
    border-radius: var(--bsd-l-r-card);
    box-shadow: var(--bsd-l-sh-soft);
    overflow-x: auto;
}
.bsd-landing .bsd-sig__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 48px; }
.bsd-landing .bsd-sig__hidden { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bsd-landing .bsd-sig__title { margin: 0 0 20px; color: var(--bsd-l-brand-1); font-size: 24px; font-weight: 700; }
.bsd-landing .bsd-sig__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.bsd-landing .bsd-sig__step { padding: 20px; background: var(--bsd-l-soft); border-radius: var(--bsd-l-r-card); }
.bsd-landing .bsd-sig__step h3 { margin: 0 0 8px; color: var(--bsd-l-brand-1); font-size: 16px; font-weight: 700; }
.bsd-landing .bsd-sig__step p { margin: 0; color: var(--bsd-l-text); font-size: 14px; line-height: 1.6; }
.bsd-landing .bsd-sig__step a { color: var(--bsd-l-royal); text-decoration: underline; }
.bsd-landing .bsd-sig__note { margin: 32px 0 0; color: var(--bsd-l-text); font-size: 14px; }
@media (max-width: 575px) {
    .bsd-landing .bsd-sig__preview { padding: 16px; }
    .bsd-landing .bsd-sig__actions .bsd-lp-btn { width: 100%; }
}

/* ---------- Back to top (public pages; InitBackToTop shows it after 100px of scroll) ---------- */
.scroll-to-top.is-visible { display: block; }
.scroll-to-top:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px var(--bsd-l-brand-2); }


/* ── 7. DIR1 DIRECTORY AND BLOG (PD1, approved 2026-11-05) ──
 * Cards, featured pill, filters, pagination and empty states (bsd-dir-*), the business page (bsd-biz-*)
 * and the blog (bsd-blog-*). Light only, landing tokens only; motion is hover lift and colour, nothing on its own.
 */

.bsd-landing {
    --bsd-dir-focus: 0 0 0 3px rgba(26, 59, 142, 0.28);
    --bsd-dir-pill-bg: #FDECEC;
    --bsd-dir-today: #EEF3FF;
}

/* breadcrumbs: on the navy heroes */
.bsd-landing .bsd-dir-crumbs { margin-bottom: 18px; }
.bsd-landing .bsd-dir-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--bsd-l-stage-text); }
.bsd-landing .bsd-dir-crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--bsd-l-stage-line); }
.bsd-landing .bsd-dir-crumbs a { color: var(--bsd-l-stage-title); text-decoration: none; border-bottom: 1px solid var(--bsd-l-stage-line); }
.bsd-landing .bsd-dir-crumbs a:hover { border-bottom-color: currentColor; }
.bsd-landing .bsd-dir-crumbs a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 2px; }
.bsd-landing .bsd-dir-crumbs [aria-current] { color: var(--bsd-l-stage-text); }

/* section heads (smaller than the landing's marketing heads: these are working pages) */
.bsd-landing .bsd-dir-section { padding-block: 56px; }
.bsd-landing .bsd-dir-head { margin-bottom: 24px; }
.bsd-landing .bsd-dir-head--row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.bsd-landing .bsd-dir-h2 { margin: 0; font: 800 clamp(22px, 2.4vw, 28px)/1.2 var(--bsd-l-font); letter-spacing: -0.2px; color: var(--bsd-l-brand-1); }
.bsd-landing .bsd-dir-intro { margin: 8px 0 0; font-size: 15px; color: var(--bsd-l-text); }
.bsd-landing .bsd-dir-count { margin: 0 0 16px; font-size: 14px; font-weight: 600; color: var(--bsd-l-text); }
.bsd-landing .bsd-dir-head--row .bsd-dir-count { margin: 0; }

/* business cards: whole card is the link (stretched ::after), logo or initials, featured pill top right */
.bsd-landing .bsd-dir-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.bsd-landing .bsd-dir-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
    background: var(--bsd-l-surface);
    border: 1px solid var(--bsd-l-line);
    border-radius: var(--bsd-l-r-card);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.bsd-landing .bsd-dir-card.is-featured { border-color: rgba(219, 26, 33, 0.32); }
.bsd-landing .bsd-dir-card__head { display: flex; align-items: flex-start; gap: 14px; }
.bsd-landing .bsd-dir-card.is-featured .bsd-dir-card__head { padding-right: 76px; }
.bsd-landing .bsd-dir-card__name { min-width: 0; }
.bsd-landing .bsd-dir-card__title { margin: 0 0 4px; font: 700 17px/1.3 var(--bsd-l-font); color: var(--bsd-l-brand-1); overflow-wrap: anywhere; }
.bsd-landing .bsd-dir-card__link { color: inherit; text-decoration: none; }
.bsd-landing .bsd-dir-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.bsd-landing .bsd-dir-card__link:focus-visible { outline: none; }
.bsd-landing .bsd-dir-card:has(.bsd-dir-card__link:focus-visible) { border-color: var(--bsd-l-royal); box-shadow: var(--bsd-dir-focus); }
.bsd-landing .bsd-dir-card__meta { margin: 0; font-size: 13px; line-height: 1.5; color: var(--bsd-l-text); }
/* the separator ends the first part, so a wrapped line never starts with a dot */
.bsd-landing .bsd-dir-card__meta > span:not(:last-child)::after { content: " · "; white-space: pre; }
.bsd-landing .bsd-dir-card__summary {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.6;
    color: var(--bsd-l-text);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

@media (hover: hover) and (pointer: fine) {
    .bsd-landing .bsd-dir-card:hover { border-color: rgba(0, 43, 100, 0.3); box-shadow: var(--bsd-l-sh-hover); transform: translateY(-2px); }
    .bsd-landing .bsd-dir-card:hover .bsd-dir-card__title { color: var(--bsd-l-brand-2); }
}

.bsd-landing .bsd-dir-card:active { transform: scale(0.99); }

.bsd-landing .bsd-dir-logo {
    display: grid;
    flex: none;
    place-items: center;
    width: 52px;
    height: 52px;
    overflow: hidden;
    background: var(--bsd-l-surface);
    border: 1px solid var(--bsd-l-line);
    border-radius: 10px;
}

.bsd-landing .bsd-dir-logo img { width: 100%; height: 100%; object-fit: contain; }
.bsd-landing .bsd-dir-logo--mono { font: 800 17px/1 var(--bsd-l-font); color: var(--bsd-l-brand-1); background: var(--bsd-l-soft); }

/* the one Featured marker, used the same way everywhere */
.bsd-landing .bsd-dir-pill {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 4px 10px;
    font: 700 11px/1.2 var(--bsd-l-font);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--bsd-l-brand-2-dark);
    background: var(--bsd-dir-pill-bg);
    border-radius: var(--bsd-l-r-pill);
}

.bsd-landing .bsd-dir-card .bsd-dir-pill { position: absolute; top: 18px; right: 18px; }

/* DIR2: the marks group (BNI member, Featured) top right of a card */
.bsd-landing .bsd-dir-card__marks { position: absolute; top: 18px; right: 18px; display: flex; align-items: center; gap: 6px; }
.bsd-landing .bsd-dir-card__marks .bsd-dir-pill { position: static; }
.bsd-landing .bsd-dir-card.is-bni .bsd-dir-card__head { padding-right: 52px; }
.bsd-landing .bsd-dir-card.is-featured.is-bni .bsd-dir-card__head { padding-right: 124px; }
.bsd-landing .bsd-dir-bni { display: inline-flex; align-items: center; padding: 4px 6px; background: #fff; border: 1px solid var(--bsd-l-line); border-radius: var(--bsd-l-r-pill); }
.bsd-landing .bsd-dir-bni img { display: block; width: 34px; height: auto; }

/* 2026-11-08: Utility Smart Smart Partner mark (migration 034). The round badge carries its own white ring, so no chip. */
.bsd-landing .bsd-dir-usp { display: inline-flex; flex: none; }
.bsd-landing .bsd-dir-usp img { display: block; width: 24px; height: 24px; }
.bsd-landing .bsd-dir-card.is-usp .bsd-dir-card__head { padding-right: 32px; }
/* Smart Partner plus another mark: the marks sit in a row above the name, so the name keeps the card width */
.bsd-landing .bsd-dir-card.is-usp:is(.is-featured, .is-bni) .bsd-dir-card__marks { position: static; order: -1; flex-wrap: wrap; }
.bsd-landing .bsd-dir-card.is-usp:is(.is-featured.is-bni, .is-featured, .is-bni) .bsd-dir-card__head { padding-right: 0; }
.bsd-landing .bsd-biz-bni.bsd-biz-usp img { width: 28px; height: 28px; }

/* DIR2: BNI member badge in the business page header (white chip: the BNI red does not read on navy) */
.bsd-landing .bsd-biz-marks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bsd-landing .bsd-biz-bni { display: inline-flex; align-items: center; gap: 8px; width: max-content; padding: 5px 12px 5px 10px; background: #fff; border-radius: var(--bsd-l-r-pill); }
.bsd-landing .bsd-biz-bni img { display: block; width: 55px; height: auto; }
.bsd-landing .bsd-biz-bni span { font: 700 11px/1.2 var(--bsd-l-font); letter-spacing: 0.6px; text-transform: uppercase; color: var(--bsd-l-brand-1); }

/* category tiles and chips */
/* grid-auto-rows: 1fr gives every row the height of the tallest tile, so all category tiles are the same size */
.bsd-landing .bsd-dir-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }

.bsd-landing .bsd-dir-tile {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    padding: 16px 18px;
    text-decoration: none;
    background: var(--bsd-l-surface);
    border: 1px solid var(--bsd-l-line);
    border-radius: var(--bsd-l-r-card);
    transition: border-color 0.18s ease, color 0.18s ease;
}

.bsd-landing .bsd-dir-tile__name { font: 700 15px/1.3 var(--bsd-l-font); color: var(--bsd-l-brand-1); }
.bsd-landing .bsd-dir-tile__count { font-size: 13px; color: var(--bsd-l-text); }
/* 2026-11-09: membership tiles after the categories (BNI members, Smart Partners). The logo sits on the right,
   out of the flow, so these tiles are no taller than a category tile (grid-auto-rows: 1fr would stretch them all) */
.bsd-landing .bsd-dir-tile--member { position: relative; padding-right: 88px; }
.bsd-landing .bsd-dir-tile__logo { position: absolute; top: 50%; right: 18px; display: flex; align-items: center; transform: translateY(-50%); }
.bsd-landing .bsd-dir-tile__logo img { display: block; width: auto; height: 36px; }
.bsd-landing .bsd-dir-tile--member .bsd-dir-tile__logo img[width="55"] { height: 21px; }
.bsd-landing .bsd-dir-tile:focus-visible { outline: none; border-color: var(--bsd-l-royal); box-shadow: var(--bsd-dir-focus); }

@media (hover: hover) and (pointer: fine) {
    .bsd-landing .bsd-dir-tile:hover { border-color: var(--bsd-l-brand-2); }
    .bsd-landing .bsd-dir-tile:hover .bsd-dir-tile__name { color: var(--bsd-l-brand-2); }
}

.bsd-landing .bsd-dir-chips { padding: 28px 0 0; }
.bsd-landing .bsd-dir-chips .bsd-lp-dir-cats { justify-content: flex-start; margin: 0; max-width: none; }
.bsd-landing .bsd-dir-chip-count { margin-left: 8px; font-size: 12px; font-weight: 700; color: var(--bsd-l-text); }

/* filter bar: plain selects with a visible Apply button, so it works without JS */
.bsd-landing .bsd-dir-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px;
    background: var(--bsd-l-soft);
    border: 1px solid var(--bsd-l-line);
    border-radius: var(--bsd-l-r-card);
}

.bsd-landing .bsd-dir-filter { display: grid; flex: 1 1 220px; gap: 6px; margin: 0; }
.bsd-landing .bsd-dir-filter > span { font-size: 12px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--bsd-l-text); }

.bsd-landing .bsd-dir-filter select {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    font: 500 15px/1.3 var(--bsd-l-font);
    color: var(--bsd-l-ink);
    background: var(--bsd-l-surface);
    border: 1px solid var(--bsd-l-line);
    border-radius: 8px;
}

.bsd-landing .bsd-dir-filter select:focus-visible { outline: none; border-color: var(--bsd-l-royal); box-shadow: var(--bsd-dir-focus); }

.bsd-landing .bsd-dir-apply {
    min-height: 44px;
    padding: 0 20px;
    font: 700 13px/1 var(--bsd-l-font);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #fff;
    background: var(--bsd-l-brand-1);
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.16s ease;
}

.bsd-landing .bsd-dir-apply:hover { background: var(--bsd-l-royal); }
.bsd-landing .bsd-dir-apply:focus-visible { outline: 3px solid var(--bsd-l-brand-2); outline-offset: 2px; }
.bsd-landing .bsd-dir-apply:active { transform: scale(0.98); }

.bsd-landing .bsd-dir-actives { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }

.bsd-landing .bsd-dir-active {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 12px 0 14px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--bsd-l-brand-1);
    text-decoration: none;
    background: var(--bsd-l-surface);
    border: 1px solid rgba(0, 43, 100, 0.22);
    border-radius: var(--bsd-l-r-pill);
}

.bsd-landing .bsd-dir-active__x { font-size: 17px; line-height: 1; color: var(--bsd-l-text); }
.bsd-landing .bsd-dir-active:hover { border-color: var(--bsd-l-brand-2); }
.bsd-landing .bsd-dir-active:hover .bsd-dir-active__x { color: var(--bsd-l-brand-2); }
.bsd-landing .bsd-dir-active:focus-visible { outline: none; box-shadow: var(--bsd-dir-focus); }

/* pagination */
.bsd-landing .bsd-dir-pages { margin-top: 36px; }
.bsd-landing .bsd-dir-pages ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }

.bsd-landing .bsd-dir-page {
    display: inline-grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 12px;
    font-weight: 700;
    font-size: 14px;
    color: var(--bsd-l-brand-1);
    text-decoration: none;
    border: 1px solid var(--bsd-l-line);
    border-radius: 8px;
    transition: border-color 0.16s ease, background-color 0.16s ease;
}

.bsd-landing a.bsd-dir-page:hover { border-color: var(--bsd-l-brand-1); }
.bsd-landing a.bsd-dir-page:focus-visible { outline: none; box-shadow: var(--bsd-dir-focus); }
.bsd-landing .bsd-dir-page[aria-current="page"] { color: #fff; background: var(--bsd-l-brand-1); border-color: var(--bsd-l-brand-1); }
.bsd-landing .bsd-dir-page--gap { border-color: transparent; }

/* empty state: never a dead end */
.bsd-landing .bsd-dir-empty { padding: 36px 28px; text-align: center; background: var(--bsd-l-soft); border: 1px dashed var(--bsd-l-line); border-radius: var(--bsd-l-r-card); }
.bsd-landing .bsd-dir-empty__title { margin: 0 0 8px; font: 800 18px/1.3 var(--bsd-l-font); color: var(--bsd-l-brand-1); }
.bsd-landing .bsd-dir-empty__text { max-width: 56ch; margin: 0 auto 18px; font-size: 15px; color: var(--bsd-l-text); }
.bsd-landing .bsd-dir-empty__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; margin: 0; padding: 0; list-style: none; }


/* business page: navy header, two columns, sticky contact card */
.bsd-landing .bsd-biz-hero {
    padding: calc(var(--bsd-pnav-h, 72px) + 40px) 0 44px;
    color: #fff;
    background: radial-gradient(ellipse 60% 85% at 74% 42%, var(--bsd-l-stage-2) 0%, var(--bsd-l-stage-1) 45%, var(--bsd-l-stage-0) 100%);
}

.bsd-landing .bsd-biz-hero__row { display: flex; align-items: center; gap: 28px; }
.bsd-landing .bsd-biz-hero__text { display: grid; gap: 10px; min-width: 0; }

.bsd-landing .bsd-biz-logo {
    display: grid;
    flex: none;
    place-items: center;
    width: 152px;
    height: 152px;
    padding: 10px;
    overflow: hidden;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14), 0 18px 40px rgba(0, 0, 0, 0.45);
}

.bsd-landing .bsd-biz-logo img { width: 100%; height: 100%; object-fit: contain; }
.bsd-landing .bsd-biz-logo--mono { font: 800 48px/1 var(--bsd-l-font); color: var(--bsd-l-brand-1); }
.bsd-landing .bsd-biz-title { margin: 0; font: 800 clamp(28px, 3.6vw, 42px)/1.15 var(--bsd-l-font); letter-spacing: -0.4px; color: var(--bsd-l-stage-title); overflow-wrap: anywhere; }
.bsd-landing .bsd-biz-meta { margin: 0; font-size: 15px; line-height: 1.6; color: var(--bsd-l-stage-text); }
.bsd-landing .bsd-biz-meta > :not(:last-child)::after { content: " · "; white-space: pre; color: var(--bsd-l-stage-text); }
.bsd-landing .bsd-biz-meta a { color: var(--bsd-l-stage-title); text-decoration: none; border-bottom: 1px solid var(--bsd-l-stage-line); }
.bsd-landing .bsd-biz-meta a:hover { border-bottom-color: currentColor; }
.bsd-landing .bsd-biz-meta a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bsd-landing .bsd-biz-summary { max-width: 64ch; margin: 0; font-size: 16px; line-height: 1.6; color: var(--bsd-l-stage-title); }
.bsd-landing .bsd-biz-hero .bsd-dir-pill { color: #fff; background: rgba(255, 77, 85, 0.22); }

/* 2026-11-08: featured businesses: a QR code to their website on the right of the header (Site/business.php BusinessQr).
   White card so the code scans on any brand colour; hidden on phones (nobody scans their own screen). */
/* the card size, shared with the logo card on the left so the two match (room for a two-line label) */
.bsd-landing .bsd-biz-hero__row:has(.bsd-biz-qr) { --bsd-biz-card-w: 236px; --bsd-biz-card-h: 276px; }
.bsd-landing .bsd-biz-qr {
    display: grid;
    flex: none;
    justify-items: center;
    align-content: center;
    gap: 8px;
    width: var(--bsd-biz-card-w, 236px);
    height: var(--bsd-biz-card-h, auto);
    margin-left: auto;
    padding: 14px 14px 12px;
    color: var(--bsd-l-brand-1);
    text-decoration: none;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14), 0 18px 40px rgba(0, 0, 0, 0.45);
}
.bsd-landing .bsd-biz-qr__code { display: block; width: 208px; height: 208px; }
.bsd-landing .bsd-biz-qr__code svg { display: block; width: 100%; height: 100%; }
.bsd-landing .bsd-biz-qr__label { max-width: 100%; font: 600 13px/1.3 var(--bsd-l-font); text-align: center; overflow-wrap: anywhere; color: #3a4150; }
.bsd-landing .bsd-biz-qr:hover,
.bsd-landing .bsd-biz-qr:focus { color: var(--bsd-l-brand-1); text-decoration: none; }
.bsd-landing .bsd-biz-qr:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (min-width: 768px) {
    /* the logo card on the left: the same size, corners and padding as the QR card */
    .bsd-landing .bsd-biz-hero__row:has(.bsd-biz-qr) .bsd-biz-logo { width: var(--bsd-biz-card-w); height: var(--bsd-biz-card-h); padding: 14px; border-radius: 18px; }
    .bsd-landing .bsd-biz-hero__row:has(.bsd-biz-qr) .bsd-biz-logo--mono { font-size: 64px; }
}
@media (max-width: 1023px) {
    .bsd-landing .bsd-biz-hero__row:has(.bsd-biz-qr) { --bsd-biz-card-w: 164px; --bsd-biz-card-h: 208px; gap: 20px; }
    .bsd-landing .bsd-biz-qr__code { width: 136px; height: 136px; }
    .bsd-landing .bsd-biz-qr__label { font-size: 12px; }
}
@media (max-width: 767px) {
    .bsd-landing .bsd-biz-qr { display: none; }
}

/* visibility scores (migration 032): a navy card opening the main column, beside the contact card */
.bsd-landing .bsd-biz-score {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 16px 24px;
    padding: 22px;
    color: #fff;
    background: radial-gradient(ellipse 80% 120% at 20% 30%, var(--bsd-l-stage-2) 0%, var(--bsd-l-stage-1) 55%, var(--bsd-l-stage-0) 100%);
    border-radius: 18px;
}
.bsd-landing .bsd-biz-score > :is(.bsd-biz-score__cta, .bsd-biz-score__date) { grid-column: 1 / -1; }
.bsd-landing .bsd-biz-score__main { display: flex; align-items: center; gap: 18px; }
.bsd-landing .bsd-biz-score__dial { position: relative; flex: none; width: 120px; height: 120px; }
.bsd-landing .bsd-biz-score__dial svg { display: block; width: 100%; height: 100%; }
.bsd-landing .bsd-biz-score__track { fill: none; stroke: rgba(255, 255, 255, 0.14); stroke-width: 10; }
.bsd-landing .bsd-biz-score__fill { fill: none; stroke: #ff4d5e; stroke-width: 10; stroke-linecap: round; }
.bsd-landing .bsd-biz-score__value { position: absolute; inset: 0; display: grid; place-content: center; margin: 0; text-align: center; line-height: 1; }
.bsd-landing .bsd-biz-score__value strong { font: 800 40px/1 var(--bsd-l-font); letter-spacing: -0.03em; }
.bsd-landing .bsd-biz-score__value span { margin-top: 4px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bsd-l-stage-text); }
.bsd-landing .bsd-biz-score__title { margin: 0 0 4px; font: 700 20px/1.2 var(--bsd-l-font); color: #fff; }
.bsd-landing .bsd-biz-score__lead { margin: 0; font-size: 14px; line-height: 1.5; color: var(--bsd-l-stage-text); }
.bsd-landing .bsd-biz-score__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.bsd-landing .bsd-biz-score__list li { display: grid; gap: 2px; padding: 8px 10px; background: rgba(255, 255, 255, 0.05); border-radius: 10px; }
.bsd-landing .bsd-biz-score__name { font-size: 12px; color: var(--bsd-l-stage-text); }
.bsd-landing .bsd-biz-score__num { font: 700 18px/1.2 var(--bsd-l-font); color: #fff; }
.bsd-landing .bsd-biz-score__num span { font-size: 11px; font-weight: 500; color: var(--bsd-l-stage-text); }
.bsd-landing .bsd-biz-score__na { font-size: 14px; font-weight: 600; color: var(--bsd-l-stage-text); }
.bsd-landing .bsd-biz-score__cta { justify-content: center; width: 100%; text-align: center; }
.bsd-landing .bsd-biz-score__date { margin: 0; font-size: 12px; color: var(--bsd-l-stage-text); }
@media (max-width: 640px) {
    .bsd-landing .bsd-biz-score { grid-template-columns: 1fr; padding: 16px; }
    .bsd-landing .bsd-biz-score__dial { width: 96px; height: 96px; }
    .bsd-landing .bsd-biz-score__value strong { font-size: 32px; }
    .bsd-landing .bsd-biz-score__value span { font-size: 9px; letter-spacing: 0.04em; }
}

.bsd-landing .bsd-biz-body { padding-block: 48px 64px; }
.bsd-landing .bsd-biz-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 40px; }
.bsd-landing .bsd-biz-main { display: grid; gap: 40px; min-width: 0; }
.bsd-landing .bsd-biz-h2 { margin: 0 0 14px; font: 800 20px/1.25 var(--bsd-l-font); color: var(--bsd-l-brand-1); }
.bsd-landing .bsd-biz-prose p { margin: 0 0 14px; font-size: 16px; line-height: 1.75; color: var(--bsd-l-ink); }

.bsd-landing .bsd-biz-hours { width: 100%; max-width: 480px; border-collapse: collapse; font-size: 15px; }
.bsd-landing .bsd-biz-hours :is(th, td) { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--bsd-l-line); }
.bsd-landing .bsd-biz-hours th { font-weight: 600; color: var(--bsd-l-ink); }
.bsd-landing .bsd-biz-hours td { font-variant-numeric: tabular-nums; color: var(--bsd-l-text); }
.bsd-landing .bsd-biz-hours tr.is-today :is(th, td) { background: var(--bsd-dir-today); color: var(--bsd-l-brand-1); font-weight: 700; }
.bsd-landing .bsd-biz-hours__none { color: var(--bsd-l-text); font-style: italic; font-weight: 400; }
.bsd-landing .bsd-biz-today { margin-left: 6px; padding: 2px 8px; font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase; color: #fff; background: var(--bsd-l-royal); border-radius: var(--bsd-l-r-pill); }

.bsd-landing .bsd-biz-posts .bsd-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.bsd-landing .bsd-biz-side { position: sticky; top: calc(var(--bsd-pnav-h, 72px) + 20px); }

.bsd-landing .bsd-biz-contact {
    display: grid;
    gap: 18px;
    padding: 24px;
    background: var(--bsd-l-surface);
    border: 1px solid var(--bsd-l-line);
    border-top: 3px solid var(--bsd-l-brand-2);
    border-radius: var(--bsd-l-r-card);
    box-shadow: var(--bsd-l-sh-soft);
}

.bsd-landing .bsd-biz-contact__title { margin: 0; font: 800 18px/1.2 var(--bsd-l-font); color: var(--bsd-l-brand-1); }
.bsd-landing .bsd-biz-actions { display: grid; gap: 10px; }
.bsd-landing .bsd-biz-call { width: 100%; padding-inline: 16px; }

.bsd-landing .bsd-biz-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 16px;
    font: 700 14px/1.2 var(--bsd-l-font);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--bsd-l-brand-1);
    text-decoration: none;
    border: 2px solid var(--bsd-l-brand-1);
    border-radius: var(--bsd-l-r-pill);
    transition: background-color 0.16s ease, color 0.16s ease;
}

.bsd-landing .bsd-biz-secondary:hover { color: #fff; background: var(--bsd-l-brand-1); }
.bsd-landing .bsd-biz-secondary:focus-visible { outline: 3px solid var(--bsd-l-brand-2); outline-offset: 2px; }

.bsd-landing .bsd-biz-contact__list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.bsd-landing .bsd-biz-contact__list li { display: grid; gap: 2px; font-size: 15px; overflow-wrap: anywhere; }
.bsd-landing .bsd-biz-contact__label { font-size: 12px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--bsd-l-text); }
.bsd-landing .bsd-biz-contact__list a { color: var(--bsd-l-royal); text-decoration: underline; text-underline-offset: 3px; }
.bsd-landing .bsd-biz-contact__list a:hover { color: var(--bsd-l-brand-2); }
.bsd-landing .bsd-biz-contact__list address { margin: 0; font-style: normal; line-height: 1.6; color: var(--bsd-l-ink); }
.bsd-landing .bsd-biz-contact__none { margin: 0; font-size: 14px; color: var(--bsd-l-text); }
.bsd-landing .bsd-biz-socials { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }

.bsd-landing .bsd-biz-social {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--bsd-l-brand-1);
    text-decoration: none;
    border: 1px solid var(--bsd-l-line);
    border-radius: var(--bsd-l-r-pill);
}

.bsd-landing .bsd-biz-social:hover { border-color: var(--bsd-l-brand-1); }
.bsd-landing :is(.bsd-biz-social, .bsd-biz-contact__list a):focus-visible { outline: 2px solid var(--bsd-l-royal); outline-offset: 2px; }
.bsd-landing .bsd-biz-updated { margin: 0; padding-top: 14px; font-size: 12.5px; color: var(--bsd-l-text); border-top: 1px solid var(--bsd-l-line); }


/* blog: chips, lead post, cards, article */
.bsd-landing .bsd-blog-search { display: flex; gap: 10px; max-width: 560px; margin-top: 28px; padding: 10px; background: #fff; border-radius: 14px; box-shadow: 0 24px 48px -20px rgba(0, 8, 30, 0.6); }
.bsd-landing .bsd-blog-search input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; font: 500 15px/1.3 var(--bsd-l-font); color: var(--bsd-l-ink); background: var(--bsd-l-soft); border: 1px solid var(--bsd-l-line); border-radius: 10px; }
.bsd-landing .bsd-blog-search input:focus-visible { outline: none; border-color: var(--bsd-l-royal); box-shadow: var(--bsd-dir-focus); }
.bsd-landing .bsd-blog-search .bsd-lp-btn { min-height: 48px; padding-inline: 22px; }

.bsd-landing .bsd-blog-chips { padding-top: 28px; }
.bsd-landing .bsd-blog-chips ul,
.bsd-landing .bsd-blog-tags ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }

.bsd-landing .bsd-blog-chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    font: 600 14px/1.2 var(--bsd-l-font);
    color: var(--bsd-l-brand-1);
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(0, 43, 100, 0.18);
    border-radius: var(--bsd-l-r-pill);
    transition: border-color 0.16s ease, color 0.16s ease;
}

.bsd-landing .bsd-blog-chip:hover { border-color: var(--bsd-l-brand-2); color: var(--bsd-l-brand-2); }
.bsd-landing .bsd-blog-chip:focus-visible { outline: none; box-shadow: var(--bsd-dir-focus); }
.bsd-landing .bsd-blog-chip[aria-current="page"] { color: #fff; background: var(--bsd-l-brand-1); border-color: var(--bsd-l-brand-1); }
.bsd-landing .bsd-blog-chip--small { min-height: 32px; padding: 0 12px; font-size: 13px; }

.bsd-landing .bsd-blog-section { padding-block: 40px 72px; }
.bsd-landing .bsd-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.bsd-landing .bsd-blog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--bsd-l-surface);
    border: 1px solid var(--bsd-l-line);
    border-radius: var(--bsd-l-r-card);
    transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.bsd-landing .bsd-blog-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bsd-l-soft); }
.bsd-landing .bsd-blog-card__media img { width: 100%; height: 100%; object-fit: cover; }
.bsd-landing .bsd-blog-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.bsd-landing .bsd-blog-card__body .bsd-lp-kicker { margin: 0; font-size: 12px; }
.bsd-landing .bsd-blog-card__title { margin: 0; font: 700 18px/1.35 var(--bsd-l-font); color: var(--bsd-l-brand-1); }
.bsd-landing .bsd-blog-card__link { color: inherit; text-decoration: none; }
.bsd-landing .bsd-blog-card__link::after { content: ""; position: absolute; inset: 0; }
.bsd-landing .bsd-blog-card__link:focus-visible { outline: none; }
.bsd-landing .bsd-blog-card:has(.bsd-blog-card__link:focus-visible),
.bsd-landing .bsd-blog-lead:has(.bsd-blog-card__link:focus-visible) { border-color: var(--bsd-l-royal); box-shadow: var(--bsd-dir-focus); }
.bsd-landing .bsd-blog-card__excerpt { flex: 1; margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--bsd-l-text); }
.bsd-landing .bsd-blog-meta { margin: 0; padding-top: 12px; border-top: 1px solid var(--bsd-l-line); }
.bsd-landing .bsd-blog-meta > span + span::before { content: none; }
.bsd-landing .bsd-blog-meta > span:not(:last-child)::after { content: ""; display: inline-block; width: 4px; height: 4px; margin-left: 12px; border-radius: 50%; background: var(--bsd-l-brand-2); vertical-align: middle; }
.bsd-landing .bsd-blog-tag-sponsored { width: max-content; padding: 3px 9px; font-size: 11px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--bsd-l-text); background: var(--bsd-l-soft); border-radius: var(--bsd-l-r-pill); }

@media (hover: hover) and (pointer: fine) {
    .bsd-landing :is(.bsd-blog-card, .bsd-blog-lead):hover { border-color: rgba(0, 43, 100, 0.3); box-shadow: var(--bsd-l-sh-hover); transform: translateY(-2px); }
    .bsd-landing :is(.bsd-blog-card, .bsd-blog-lead):hover :is(.bsd-blog-card__title, .bsd-blog-lead__title) { color: var(--bsd-l-brand-2); }
}

.bsd-landing .bsd-blog-lead {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    margin-bottom: 32px;
    overflow: hidden;
    background: var(--bsd-l-surface);
    border: 1px solid var(--bsd-l-line);
    border-radius: var(--bsd-l-r-card);
    transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.bsd-landing .bsd-blog-lead--plain { grid-template-columns: 1fr; border-top: 3px solid var(--bsd-l-brand-2); }
.bsd-landing .bsd-blog-lead__media { display: block; min-height: 260px; background: var(--bsd-l-soft); }
.bsd-landing .bsd-blog-lead__media img { width: 100%; height: 100%; object-fit: cover; }
.bsd-landing .bsd-blog-lead__body { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 32px; }
.bsd-landing .bsd-blog-lead__body .bsd-lp-kicker { margin: 0; }
.bsd-landing .bsd-blog-lead__title { margin: 0; font: 800 clamp(22px, 2.6vw, 30px)/1.25 var(--bsd-l-font); color: var(--bsd-l-brand-1); }
.bsd-landing .bsd-blog-lead__excerpt { margin: 0; font-size: 16px; line-height: 1.65; color: var(--bsd-l-text); }

/* article */
.bsd-landing .bsd-blog-narrow { max-width: 760px; }

.bsd-landing .bsd-blog-article__head {
    padding: calc(var(--bsd-pnav-h, 72px) + 40px) 0 44px;
    background: radial-gradient(ellipse 60% 85% at 74% 42%, var(--bsd-l-stage-2) 0%, var(--bsd-l-stage-1) 45%, var(--bsd-l-stage-0) 100%);
}

.bsd-landing .bsd-blog-kicker { display: inline-block; margin-bottom: 12px; font: 700 13px/1.2 var(--bsd-l-font); letter-spacing: 1.6px; text-transform: uppercase; color: var(--bsd-l-stage-kicker); text-decoration: none; }
.bsd-landing .bsd-blog-kicker:hover { color: #fff; }
.bsd-landing .bsd-blog-kicker:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bsd-landing .bsd-blog-title { margin: 0 0 18px; font: 800 clamp(28px, 4vw, 44px)/1.15 var(--bsd-l-font); letter-spacing: -0.4px; color: var(--bsd-l-stage-title); overflow-wrap: anywhere; }
.bsd-landing .bsd-blog-article__head .bsd-blog-meta { padding: 0; border: 0; color: var(--bsd-l-stage-text); }
.bsd-landing .bsd-blog-article__head .bsd-blog-meta > span:not(:last-child)::after { background: var(--bsd-l-stage-accent); }
.bsd-landing .bsd-blog-updated { margin: 8px 0 0; font-size: 13px; color: var(--bsd-l-stage-text); }

.bsd-landing .bsd-blog-preview { position: relative; z-index: 1; margin-top: var(--bsd-pnav-h, 72px); padding: 12px 24px; text-align: center; font-size: 14px; color: #5a3b00; background: #FFF2D6; border-bottom: 1px solid #EBCB8B; }
.bsd-landing .bsd-blog-preview + .bsd-blog-article .bsd-blog-article__head { padding-top: 40px; }

.bsd-landing .bsd-blog-figure { margin: 36px 0 0; }
.bsd-landing .bsd-blog-figure img { display: block; width: 100%; height: auto; border-radius: var(--bsd-l-r-card); }
.bsd-landing .bsd-blog-figure figcaption { margin-top: 8px; font-size: 13px; color: var(--bsd-l-text); }

.bsd-landing .bsd-blog-sponsored { margin: 28px 0 0; padding: 14px 18px; font-size: 14px; line-height: 1.6; color: var(--bsd-l-ink); background: var(--bsd-l-soft); border-left: 3px solid var(--bsd-l-brand-1); border-radius: 0 8px 8px 0; }

/* sanitised post body (Core\Content\Sanitiser allow-list) */
.bsd-landing .bsd-blog-prose { padding: 32px 0 8px; font-size: 17px; line-height: 1.8; color: var(--bsd-l-ink); overflow-wrap: break-word; }
.bsd-landing .bsd-blog-prose > * { margin: 0 0 20px; }
.bsd-landing .bsd-blog-prose :is(h2, h3, h4) { margin: 40px 0 14px; font-family: var(--bsd-l-font); font-weight: 800; line-height: 1.3; color: var(--bsd-l-brand-1); }
.bsd-landing .bsd-blog-prose h2 { font-size: clamp(22px, 2.4vw, 27px); }
.bsd-landing .bsd-blog-prose h3 { font-size: 20px; }
.bsd-landing .bsd-blog-prose h4 { font-size: 17px; }
.bsd-landing .bsd-blog-prose a { color: var(--bsd-l-royal); text-decoration: underline; text-underline-offset: 3px; }
.bsd-landing .bsd-blog-prose a:hover { color: var(--bsd-l-brand-2); }
.bsd-landing .bsd-blog-prose a:focus-visible { outline: 2px solid var(--bsd-l-royal); outline-offset: 2px; }
.bsd-landing .bsd-blog-prose :is(ul, ol) { padding-left: 24px; }
.bsd-landing .bsd-blog-prose ul { list-style: disc; }
.bsd-landing .bsd-blog-prose ol { list-style: decimal; }
.bsd-landing .bsd-blog-prose li::marker { color: var(--bsd-l-brand-2); }
.bsd-landing .bsd-blog-prose li + li { margin-top: 6px; }
.bsd-landing .bsd-blog-prose blockquote { padding: 16px 22px; font-weight: 600; color: var(--bsd-l-brand-1); background: var(--bsd-l-soft); border-left: 4px solid var(--bsd-l-brand-2); border-radius: 0 8px 8px 0; }
.bsd-landing .bsd-blog-prose blockquote > :last-child { margin-bottom: 0; }
.bsd-landing .bsd-blog-prose img { display: block; max-width: 100%; height: auto; border-radius: 8px; }
.bsd-landing .bsd-blog-prose figure { margin-inline: 0; }
.bsd-landing .bsd-blog-prose figcaption { margin-top: 6px; font-size: 13px; color: var(--bsd-l-text); }
.bsd-landing .bsd-blog-prose iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; }
.bsd-landing .bsd-blog-prose :is(code, pre) { font-family: ui-monospace, Consolas, monospace; font-size: 0.9em; background: var(--bsd-l-soft); border-radius: 4px; }
.bsd-landing .bsd-blog-prose code { padding: 1px 5px; }
.bsd-landing .bsd-blog-prose pre { padding: 14px 16px; overflow-x: auto; }
.bsd-landing .bsd-blog-prose pre code { padding: 0; background: none; }
.bsd-landing .bsd-blog-prose hr { height: 1px; background: var(--bsd-l-line); border: 0; }
.bsd-landing .bsd-blog-prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15px; }
.bsd-landing .bsd-blog-prose :is(th, td) { padding: 8px 12px; text-align: left; border: 1px solid var(--bsd-l-line); }
.bsd-landing .bsd-blog-prose th { background: var(--bsd-l-soft); font-weight: 700; }

.bsd-landing .bsd-blog-tags { padding: 16px 0 56px; border-top: 1px solid var(--bsd-l-line); }

/* responsive (landing breakpoints) */
@media (max-width: 980px) {
    .bsd-landing .bsd-dir-grid,
    .bsd-landing .bsd-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bsd-landing .bsd-dir-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bsd-landing .bsd-biz-layout { grid-template-columns: 1fr; gap: 32px; }
    /* small screens: scores first, then contact (calling is why most visitors came), then the rest */
    .bsd-landing .bsd-biz-main { display: contents; }
    .bsd-landing .bsd-biz-score { order: -2; }
    .bsd-landing .bsd-biz-side { position: static; order: -1; }
    .bsd-landing .bsd-blog-lead { grid-template-columns: 1fr; }
    .bsd-landing .bsd-blog-lead__media { min-height: 0; aspect-ratio: 16 / 9; }
}

@media (max-width: 767px) {
    .bsd-landing .bsd-dir-section { padding-block: 40px; }
    /* minmax(0, 1fr), not 1fr: a card with several marks must not widen the column past the screen (mobile audit 2026-11-08) */
    .bsd-landing .bsd-dir-grid,
    .bsd-landing .bsd-blog-grid,
    .bsd-landing .bsd-biz-posts .bsd-blog-grid { grid-template-columns: minmax(0, 1fr); }
    /* phones: the marks sit in a row above the name, so the name keeps the full card width */
    .bsd-landing .bsd-dir-card__marks { position: static; order: -1; flex-wrap: wrap; }
    .bsd-landing .bsd-dir-card:is(.is-featured.is-bni.is-usp, .is-featured, .is-bni, .is-usp) .bsd-dir-card__head { padding-right: 0; }
    .bsd-landing .bsd-dir-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bsd-landing .bsd-biz-hero { padding-top: calc(var(--bsd-pnav-h, 64px) + 28px); }
    .bsd-landing .bsd-biz-hero__row { gap: 16px; }
    .bsd-landing .bsd-biz-logo { width: 96px; height: 96px; padding: 6px; border-radius: 16px; }
    .bsd-landing .bsd-biz-logo--mono { font-size: 32px; }
    .bsd-landing .bsd-blog-article__head { padding-top: calc(var(--bsd-pnav-h, 64px) + 28px); }
    .bsd-landing .bsd-blog-lead__body { padding: 22px; }
    .bsd-landing .bsd-blog-prose { font-size: 16px; }
    .bsd-landing .bsd-dir-apply { flex: 1 1 100%; }
}

@media (max-width: 479px) {
    .bsd-landing .bsd-dir-tiles { grid-template-columns: 1fr; }
    .bsd-landing .bsd-blog-search { flex-direction: column; }
    .bsd-landing .bsd-dir-card { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .bsd-landing :is(.bsd-dir-card, .bsd-dir-tile, .bsd-blog-card, .bsd-blog-lead, .bsd-dir-page, .bsd-blog-chip, .bsd-biz-secondary, .bsd-dir-apply) { transition: none; }
    .bsd-landing :is(.bsd-dir-card, .bsd-blog-card, .bsd-blog-lead):hover { transform: none; }
}

/*
 * Free visibility check form (/free-check, 2026-11-07): plain HTML form, no JS. Light only, landing tokens.
 */
.bsd-landing .bsd-fc { max-width: 720px; }
.bsd-landing .bsd-fc__form { display: grid; gap: 20px; }
.bsd-landing .bsd-fc__group { display: grid; gap: 16px; margin: 0; padding: 20px; background: var(--bsd-l-soft); border: 1px solid var(--bsd-l-line); border-radius: var(--bsd-l-r-card); min-width: 0; }
.bsd-landing .bsd-fc__group legend { float: left; width: 100%; margin: 0 0 4px; padding: 0; font: 700 18px/1.3 var(--bsd-l-font); color: var(--bsd-l-ink); }
.bsd-landing .bsd-fc__field { display: grid; gap: 6px; }
.bsd-landing .bsd-fc__field > label { font-size: 14px; font-weight: 700; color: var(--bsd-l-ink); }
.bsd-landing .bsd-fc__opt, .bsd-landing .bsd-fc__hint { font-size: 13px; font-weight: 500; color: var(--bsd-l-text); }
.bsd-landing .bsd-fc__field :is(input, select, textarea) {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    font: 500 16px/1.4 var(--bsd-l-font);
    color: var(--bsd-l-ink);
    background: var(--bsd-l-surface);
    border: 1px solid var(--bsd-l-line);
    border-radius: 8px;
}
.bsd-landing .bsd-fc__field textarea { resize: vertical; min-height: 110px; }
.bsd-landing .bsd-fc__field :is(input, select, textarea):focus-visible { outline: none; border-color: var(--bsd-l-royal); box-shadow: var(--bsd-dir-focus); }
.bsd-landing .bsd-fc__field [aria-invalid="true"] { border-color: #B3141B; }
.bsd-landing .bsd-fc__error { font-size: 13px; font-weight: 600; color: #B3141B; }
.bsd-landing .bsd-fc__consent label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--bsd-l-ink); }
.bsd-landing .bsd-fc__consent input { flex: none; width: 20px; height: 20px; min-height: 0; margin-top: 2px; padding: 0; accent-color: var(--bsd-l-royal); }
.bsd-landing .bsd-fc__notice { margin: 0; padding: 12px 16px; font-size: 14px; font-weight: 600; color: #7A0E13; background: #FDECEC; border: 1px solid #F5C2C4; border-radius: 8px; }
.bsd-landing .bsd-fc__small, .bsd-landing .bsd-fc__lede { margin: 0; font-size: 14px; color: var(--bsd-l-text); }
.bsd-landing .bsd-fc__lede { margin-bottom: 18px; font-size: 16px; }
.bsd-landing .bsd-fc__form > .bsd-lp-btn { justify-self: start; }
.bsd-landing .bsd-fc__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 575px) {
    .bsd-landing .bsd-fc__group { padding: 16px; }
    .bsd-landing .bsd-fc__form > .bsd-lp-btn { justify-self: stretch; }
}
