/* =========================================================
   BluSup home MB visual refresh
   ---------------------------------------------------------
   Home-page-only polish inspired by the newer /mb look:
   wider canvas, cleaner Inter typography, paper cards,
   squarer professional corners, and stronger image blocks.
   ========================================================= */

body.bs-root-home {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.90), rgba(255, 255, 255, 0) 28%),
        linear-gradient(180deg, #d8f3fb 0%, #f7fcfb 46%, #eef7f4 100%);
}

body.bs-root-home .bs-app-shell {
    width: min(calc(100% - 1rem), 1420px);
    padding-top: 0.65rem;
    padding-bottom: 3rem;
}

body.bs-root-home .bs-public-brand-link,
body.bs-root-home .bs-common-brand,
body.bs-root-home .bs-logo-stage .bs-common-brand,
body.bs-root-home .bs-app-shell > .bs-common-brand {
    margin-bottom: 0.45rem !important;
}

body.bs-root-home .bs-copy,
body.bs-root-home .bs-root-copy {
    width: min(100%, 1380px);
}

body.bs-root-home .bs-home-intro {
    width: min(100%, 1060px);
    margin-top: 0.1rem;
}

body.bs-root-home .bs-home-intro-copy {
    width: min(94vw, 880px) !important;
    max-width: 880px !important;
    color: var(--bs-text-soft);
    font-size: clamp(1.06rem, 1.45vw, 1.28rem);
    line-height: 1.42;
    font-weight: 600;
}

body.bs-root-home .bs-divider {
    margin: 1.35rem auto 0.72rem;
    width: min(100%, 1320px);
}

body.bs-root-home .bs-divider span {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(34, 112, 143, 0.18);
    color: var(--bs-accent-dark);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(21, 79, 108, 0.08);
}

body.bs-root-home .bs-choice-card,
body.bs-root-home .bs-app-card,
body.bs-root-home .bs-access-callout,
body.bs-root-home .bs-trail-explainer,
body.bs-root-home .bs-tip-lead,
body.bs-root-home .bs-tip-card,
body.bs-root-home .bs-value-card,
body.bs-root-home .bs-build-card,
body.bs-root-home .bs-cta-band {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(34, 112, 143, 0.18);
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(21, 79, 108, 0.14);
    backdrop-filter: blur(10px);
}

body.bs-root-home .bs-choice-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 50px rgba(21, 79, 108, 0.18);
    border-color: rgba(34, 112, 143, 0.28);
}

body.bs-root-home .bs-access-callout,
body.bs-root-home .bs-family-showcase,
body.bs-root-home .bs-navigation-tips,
body.bs-root-home .bs-trail-explainer,
body.bs-root-home .bs-pattern-wrap,
body.bs-root-home .bs-build-grid,
body.bs-root-home .bs-cta-band,
body.bs-root-home .bs-value-grid,
body.bs-root-home .bs-tool-showcase {
    width: min(100%, 1320px);
}

body.bs-root-home .bs-access-callout {
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    gap: 1.15rem;
    padding: 1rem;
}

body.bs-root-home .bs-access-callout h2,
body.bs-root-home .bs-family-card-title,
body.bs-root-home .bs-tool-card-title,
body.bs-root-home .bs-tip-lead strong,
body.bs-root-home .bs-tip-card strong,
body.bs-root-home .bs-build-card strong,
body.bs-root-home .bs-value-card strong {
    color: var(--bs-text-strong);
    font-weight: 850;
    letter-spacing: -0.02em;
}

body.bs-root-home .bs-access-callout p,
body.bs-root-home .bs-family-card-copy,
body.bs-root-home .bs-tool-card-copy,
body.bs-root-home .bs-tip-lead span,
body.bs-root-home .bs-tip-card span,
body.bs-root-home .bs-build-card span,
body.bs-root-home .bs-value-card span {
    color: var(--bs-text-soft);
    line-height: 1.42;
}

body.bs-root-home .bs-family-showcase {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

body.bs-root-home .bs-family-card,
body.bs-root-home .bs-tool-card {
    border-radius: 12px;
    overflow: hidden;
}

body.bs-root-home .bs-family-media {
    aspect-ratio: 16 / 8.3;
    max-height: 225px;
}

body.bs-root-home .bs-tool-showcase {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.78rem;
}

body.bs-root-home .bs-tool-media {
    aspect-ratio: 16 / 9.2;
    max-height: 150px;
}

body.bs-root-home .bs-home-media-button,
body.bs-root-home .bs-access-callout-media,
body.bs-root-home .bs-tip-visual,
body.bs-root-home .bs-contact-vision-media {
    border-radius: 8px;
    border-color: rgba(34, 112, 143, 0.18);
}

body.bs-root-home .bs-home-cta,
body.bs-root-home .bs-app-home-link,
body.bs-root-home button.bs-home-cta {
    border-radius: 8px;
    border: 1px solid rgba(34, 112, 143, 0.26);
    background: #17617d;
    color: #fff;
    box-shadow: 0 10px 22px rgba(23, 97, 125, 0.20);
    font-weight: 850;
}

body.bs-root-home .bs-home-cta:hover,
body.bs-root-home .bs-app-home-link:hover,
body.bs-root-home button.bs-home-cta:hover {
    background: #104f68;
    color: #fff;
}

body.bs-root-home .bs-choice-kicker,
body.bs-root-home .bs-app-eyebrow,
body.bs-root-home .bs-project-kicker {
    color: var(--bs-accent);
    font-weight: 900;
}

body.bs-root-home .bs-value-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

body.bs-root-home .bs-build-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

body.bs-root-home .bs-contact-vision {
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
}

@media (max-width: 1180px) {
    body.bs-root-home .bs-family-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.bs-root-home .bs-tool-showcase {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    body.bs-root-home .bs-access-callout {
        grid-template-columns: 1fr;
    }

    body.bs-root-home .bs-tool-showcase,
    body.bs-root-home .bs-value-grid,
    body.bs-root-home .bs-build-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    body.bs-root-home .bs-app-shell {
        width: min(calc(100% - 0.85rem), 1420px);
    }

    body.bs-root-home .bs-family-showcase,
    body.bs-root-home .bs-tool-showcase,
    body.bs-root-home .bs-value-grid,
    body.bs-root-home .bs-build-grid,
    body.bs-root-home .bs-contact-vision {
        grid-template-columns: 1fr;
    }

    body.bs-root-home .bs-access-callout,
    body.bs-root-home .bs-choice-card {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    body.bs-root-home .bs-family-card,
    body.bs-root-home .bs-tool-card {
        padding: 0;
    }

    body.bs-root-home .bs-family-media,
    body.bs-root-home .bs-tool-media {
        aspect-ratio: 16 / 8.6;
        max-height: 190px;
    }
}
