﻿.bfrp-page {
    --bfrp-navy: #0b2e59;
    --bfrp-blue: #1764a5;
    --bfrp-orange: #f28c28;
    --bfrp-gold: #f4b65f;
    --bfrp-text: #35465c;
    --bfrp-muted: #697b91;
    --bfrp-light: #f5f8fc;
    --bfrp-white: #ffffff;
    --bfrp-border: #e2e9f2;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--bfrp-light);
    color: var(--bfrp-text);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.8;
}

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

    .bfrp-page h1,
    .bfrp-page h2,
    .bfrp-page h3,
    .bfrp-page p {
        margin-top: 0;
    }

    .bfrp-page h1,
    .bfrp-page h2,
    .bfrp-page h3 {
        font-family: 'Outfit', sans-serif;
    }

.bfrp-container {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}

/* HERO */

.bfrp-hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 82px;
    color: var(--bfrp-white);
    background: radial-gradient( circle at 85% 15%, rgba(242, 140, 40, .20), transparent 28% ), radial-gradient( circle at 8% 100%, rgba(23, 100, 165, .55), transparent 35% ), linear-gradient(125deg, #071d39, #0b2e59 58%, #124c7d);
}

    .bfrp-hero::before,
    .bfrp-hero::after {
        content: "";
        position: absolute;
        pointer-events: none;
        border: 1px solid rgba(255, 255, 255, .10);
        border-radius: 50%;
    }

    .bfrp-hero::before {
        width: 400px;
        height: 400px;
        right: -130px;
        top: -220px;
        animation: bfrp-orbit 16s linear infinite;
    }

    .bfrp-hero::after {
        width: 280px;
        height: 280px;
        right: -65px;
        top: -160px;
        border-color: rgba(242, 140, 40, .35);
        animation: bfrp-orbit 22s linear infinite reverse;
    }

.bfrp-hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    animation: bfrp-fade-up .8s ease both;
}

.bfrp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 8px 15px;
    border: 1px solid rgba(255, 255, 255, .19);
    border-radius: 50px;
    background: rgba(255, 255, 255, .08);
    color: #ffd39e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

    .bfrp-eyebrow::before {
        content: "";
        width: 7px;
        height: 7px;
        flex-shrink: 0;
        border-radius: 50%;
        background: var(--bfrp-orange);
        box-shadow: 0 0 12px rgba(242, 140, 40, .8);
    }

.bfrp-hero h1 {
    max-width: 780px;
    margin-bottom: 20px;
    color: var(--bfrp-white);
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.13;
    letter-spacing: -1.6px;
}

    .bfrp-hero h1 span {
        color: var(--bfrp-gold);
    }

.bfrp-hero-description {
    max-width: 710px;
    margin-bottom: 28px;
    color: #d6e3f2;
    font-size: 16px;
    line-height: 1.9;
}

.bfrp-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: #d0deed;
    font-size: 13px;
}

    .bfrp-breadcrumb a {
        color: #ffffff;
        text-decoration: none;
        transition: color .3s ease;
    }

        .bfrp-breadcrumb a:hover {
            color: var(--bfrp-gold);
        }

    .bfrp-breadcrumb span {
        color: var(--bfrp-orange);
    }

/* INTRO STRIP */

.bfrp-intro-strip {
    position: relative;
    z-index: 2;
    margin-top: -30px;
}

.bfrp-intro-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 27px 32px;
    border: 1px solid rgba(226, 233, 242, .9);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(11, 46, 89, .08);
}

    .bfrp-intro-card h2 {
        margin-bottom: 6px;
        color: var(--bfrp-navy);
        font-size: 20px;
        font-weight: 700;
    }

    .bfrp-intro-card p {
        margin-bottom: 0;
        color: var(--bfrp-muted);
        font-size: 13px;
    }

.bfrp-intro-icon {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(145deg, #fff2df, #ffe0b8);
    color: var(--bfrp-navy);
}

    .bfrp-intro-icon svg {
        width: 31px;
        height: 31px;
    }

/* MAIN LAYOUT */

.bfrp-main {
    padding: 70px 0 95px;
}

.bfrp-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
    gap: 35px;
}

/* CONTENT NAVIGATION */

.bfrp-sidebar {
    position: sticky;
    top: 25px;
    padding: 24px 18px;
    border: 1px solid var(--bfrp-border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 35px rgba(11, 46, 89, .045);
}

.bfrp-sidebar-heading {
    margin: 0 0 17px;
    padding: 0 8px 17px;
    border-bottom: 1px solid var(--bfrp-border);
    color: var(--bfrp-navy);
    font-size: 17px;
    font-weight: 700;
}

.bfrp-nav {
    display: grid;
    gap: 5px;
}

    .bfrp-nav a {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 11px 9px;
        border-radius: 10px;
        color: #586a80;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.55;
        text-decoration: none;
        transition: background .25s ease, color .25s ease, transform .25s ease;
    }

        .bfrp-nav a:hover {
            transform: translateX(3px);
            background: #f0f5fb;
            color: var(--bfrp-blue);
        }

.bfrp-nav-number {
    display: grid;
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    place-items: center;
    border: 1px solid #e1e9f4;
    border-radius: 8px;
    background: #f5f8fc;
    color: var(--bfrp-blue);
    font-size: 11px;
    font-weight: 800;
}

.bfrp-sidebar-note {
    margin-top: 20px;
    padding: 15px;
    border-left: 3px solid var(--bfrp-orange);
    border-radius: 0 10px 10px 0;
    background: #fff7ed;
    color: #775b3e;
    font-size: 12px;
    line-height: 1.7;
}

/* POLICY CONTENT */

.bfrp-content {
    min-width: 0;
}

.bfrp-section {
    position: relative;
    margin-bottom: 24px;
    padding: 31px 32px;
    overflow: hidden;
    scroll-margin-top: 25px;
    border: 1px solid var(--bfrp-border);
    border-radius: 17px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(11, 46, 89, .035);
    animation: bfrp-fade-up .7s ease both;
    transition: box-shadow .3s ease, border-color .3s ease, transform .3s ease;
}

    .bfrp-section:hover {
        border-color: #cbd9ea;
        box-shadow: 0 16px 40px rgba(11, 46, 89, .075);
        transform: translateY(-2px);
    }

    .bfrp-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 0;
        border-radius: 0 0 5px 0;
        background: var(--bfrp-orange);
        transition: height .35s ease;
    }

    .bfrp-section:hover::before {
        height: 65px;
    }

.bfrp-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    margin-bottom: 19px;
}

.bfrp-section-number {
    display: grid;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    place-items: center;
    border-radius: 13px;
   
    box-shadow: 0 7px 18px rgba(11, 46, 89, .17);
    color: var(--bfrp-navy);
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.bfrp-section-heading h2 {
    margin: 1px 0 0;
    color: var(--bfrp-navy);
    font-size: clamp(21px, 2.3vw, 25px);
    font-weight: 700;
    line-height: 1.4;
}

.bfrp-section p {
    margin-bottom: 15px;
    color: var(--bfrp-text);
    font-size: 13.5px;
    line-height: 1.95;
}

    .bfrp-section p:last-child {
        margin-bottom: 0;
    }

.bfrp-section strong {
    color: var(--bfrp-navy);
    font-weight: 700;
}

.bfrp-subheading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 23px 0 9px;
    color: var(--bfrp-navy);
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
}

    .bfrp-subheading::before {
        content: "";
        width: 7px;
        height: 7px;
        flex-shrink: 0;
        border-radius: 2px;
        background: var(--bfrp-orange);
        transform: rotate(45deg);
    }

/* POLICY LIST */

.bfrp-list {
    display: grid;
    gap: 11px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

    .bfrp-list li {
        position: relative;
        padding: 12px 14px 12px 42px;
        border: 1px solid #e9eef5;
        border-radius: 10px;
        background: #f8fafd;
        color: var(--bfrp-text);
        font-size: 13px;
        line-height: 1.75;
        transition: border-color .25s ease, background .25s ease, transform .25s ease;
    }

        .bfrp-list li::before {
            content: "✓";
            position: absolute;
            top: 13px;
            left: 14px;
            display: grid;
            width: 19px;
            height: 19px;
            place-items: center;
            border-radius: 6px;
            background: #fff0dc;
            color: #b86610;
            font-size: 11px;
            font-weight: 800;
        }

        .bfrp-list li:hover {
            transform: translateX(3px);
            border-color: #f2c68e;
            background: #fffaf4;
        }

/* FRAMEWORK STEPS */

.bfrp-framework {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-top: 23px;
}

.bfrp-framework-card {
    padding: 19px;
    border: 1px solid #e6edf6;
    border-radius: 13px;
    background: linear-gradient(145deg, #ffffff, #f7faff);
    transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

    .bfrp-framework-card:hover {
        transform: translateY(-4px);
        border-color: #c5d8ed;
        box-shadow: 0 12px 25px rgba(11, 46, 89, .07);
    }

.bfrp-framework-top {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 11px;
}

.bfrp-framework-icon {
    display: grid;
    width: 37px;
    height: 37px;
    flex-shrink: 0;
    place-items: center;
    border-radius: 10px;
    background: #eaf2fc;
    color: var(--bfrp-blue);
}

    .bfrp-framework-icon svg {
        width: 19px;
        height: 19px;
    }

.bfrp-framework-card h3 {
    margin: 0;
    color: var(--bfrp-navy);
    font-size: 15px;
    font-weight: 700;
}

.bfrp-framework-card p {
    margin: 0;
    color: var(--bfrp-muted);
    font-size: 12px;
    line-height: 1.8;
}

/* RISK CATEGORY TAGS */

.bfrp-risk-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.bfrp-risk-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 66px;
    padding: 13px;
    border: 1px solid #e4ebf5;
    border-radius: 11px;
    background: #f8fafd;
    color: var(--bfrp-navy);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    transition: .3s ease;
}

    .bfrp-risk-item:hover {
        border-color: #f1c28a;
        background: #fff8ef;
        transform: translateY(-3px);
    }

.bfrp-risk-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 3px;
    background: var(--bfrp-orange);
    box-shadow: 0 0 0 4px rgba(242, 140, 40, .11);
}

/* RESPONSIBILITIES */

.bfrp-responsibility {
    display: grid;
    grid-template-columns: 175px minmax(0, 1fr);
    gap: 17px;
    padding: 18px 0;
    border-bottom: 1px solid #e9eef5;
}

    .bfrp-responsibility:first-of-type {
        padding-top: 5px;
    }

    .bfrp-responsibility:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .bfrp-responsibility h3 {
        margin: 0;
        color: var(--bfrp-blue);
        font-size: 15px;
        font-weight: 700;
        line-height: 1.6;
    }

    .bfrp-responsibility p {
        margin: 0;
    }

/* CLOSING BANNER */

.bfrp-closing {
    position: relative;
    overflow: hidden;
    margin-top: 30px;
    padding: 30px;
    border-radius: 16px;
    background: radial-gradient(circle at 100% 0%, rgba(242, 140, 40, .2), transparent 32%), linear-gradient(120deg, #082447, #104b7e);
    color: #ffffff;
}

    .bfrp-closing h2 {
        margin-bottom: 12px;
        color: #ffffff;
        font-size: 22px;
        line-height: 1.4;
    }

    .bfrp-closing p {
        margin-bottom: 0;
        color: #d6e3f2;
        font-size: 13px;
        line-height: 1.9;
    }

    .bfrp-closing strong {
        color: #ffd19b;
    }

.bfrp-bottom-note {
    margin-top: 22px;
    padding: 16px 19px;
    border: 1px solid var(--bfrp-border);
    border-radius: 12px;
    background: #ffffff;
    color: var(--bfrp-muted);
    font-size: 12px;
    line-height: 1.8;
}

    .bfrp-bottom-note strong {
        color: var(--bfrp-navy);
    }

/* ANIMATIONS */

@keyframes bfrp-fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bfrp-orbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* RESPONSIVE */

@media (max-width: 1000px) {
    .bfrp-layout {
        grid-template-columns: 235px minmax(0, 1fr);
        gap: 22px;
    }

    .bfrp-section {
        padding: 26px 24px;
    }

    .bfrp-risk-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bfrp-responsibility {
        grid-template-columns: 135px minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .bfrp-container {
        width: min(100% - 32px, 620px);
    }

    .bfrp-hero {
        padding: 65px 0 65px;
    }

        .bfrp-hero h1 {
            letter-spacing: -.8px;
        }

    .bfrp-hero-description {
        font-size: 14px;
    }

    .bfrp-intro-card {
        padding: 22px;
        gap: 15px;
    }

        .bfrp-intro-card h2 {
            font-size: 17px;
        }

    .bfrp-intro-icon {
        width: 48px;
        height: 48px;
    }

    .bfrp-main {
        padding: 48px 0 65px;
    }

    .bfrp-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .bfrp-sidebar {
        position: relative;
        top: auto;
        padding: 20px;
    }

    .bfrp-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

        .bfrp-nav a {
            padding: 9px 7px;
            font-size: 11px;
        }

    .bfrp-sidebar-note {
        margin-top: 15px;
    }

    .bfrp-section {
        padding: 24px 20px;
    }

    .bfrp-framework {
        grid-template-columns: 1fr;
    }

    .bfrp-responsibility {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .bfrp-closing {
        padding: 25px 22px;
    }
}

@media (max-width: 480px) {
    .bfrp-container {
        width: calc(100% - 26px);
    }

    .bfrp-hero {
        padding: 52px 0 58px;
    }

        .bfrp-hero h1 {
            font-size: 34px;
        }

    .bfrp-eyebrow {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .bfrp-intro-card {
        padding: 18px;
    }

        .bfrp-intro-card p {
            font-size: 12px;
        }

    .bfrp-intro-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .bfrp-nav {
        grid-template-columns: 1fr;
    }

        .bfrp-nav a {
            align-items: center;
            font-size: 12px;
        }

    .bfrp-section {
        padding: 21px 16px;
        border-radius: 13px;
    }

    .bfrp-section-heading {
        gap: 12px;
    }

    .bfrp-section-number {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        font-size: 16px;
    }

    .bfrp-section-heading h2 {
        font-size: 21px;
    }

    .bfrp-section p {
        font-size: 12.5px;
    }

    .bfrp-risk-grid {
        grid-template-columns: 1fr;
    }

    .bfrp-risk-item {
        min-height: 52px;
    }

    .bfrp-closing h2 {
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bfrp-page *,
    .bfrp-page *::before,
    .bfrp-page *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
