.frp {
    --frp-navy: #0d2137;
    --frp-blue: #1565c0;
    --frp-blue-dark: #0e4a8e;
    --frp-bg: #f7f9fc;
    --frp-border: #dde3ec;
    --frp-text: #1a2332;
    --frp-text-mid: #3d4f63;
    --frp-text-muted: #5e7082;
}

.frp {
    font-family: 'Figtree', -apple-system, 'Segoe UI', 'Helvetica Neue', sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: var(--frp-text);
    padding-bottom: 2rem;
}

.frp p,
.frp span,
.frp label,
.frp li {
    font-family: 'Figtree', -apple-system, 'Segoe UI', 'Helvetica Neue', sans-serif !important;
    color: var(--frp-text) !important;
    font-size: 17px !important;
    line-height: 1.8 !important;
}

.frp p {
    margin-bottom: 0.65rem !important;
    padding-bottom: 0 !important;
}

.frp h1,
.frp h2,
.frp h3 {
    font-family: 'Barlow Condensed', 'Figtree', sans-serif !important;
    color: var(--frp-navy) !important;
    letter-spacing: -0.01em;
    text-transform: none !important;
}

.frp h1 {
    font-size: 2.6rem !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    margin-top: 0.25rem !important;
    margin-bottom: 1.25rem !important;
}

.frp h2 {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-top: 2rem !important;
    margin-bottom: 0.85rem !important;
    padding-bottom: 0.5rem;
    position: relative;
    display: block !important;
    border-bottom: none !important;
}

.frp h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2.25rem;
    height: 3px;
    background: var(--frp-blue);
    border-radius: 2px;
}

.frp h3 {
    font-family: 'Figtree', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--frp-navy) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.35rem !important;
}

.frp-lead {
    font-size: 1.08rem !important;
    color: var(--frp-text-mid) !important;
    line-height: 1.85 !important;
    margin-bottom: 1.25rem !important;
}

.frp-trust-line {
    font-size: 15px !important;
    color: var(--frp-text-muted) !important;
    font-style: italic;
    margin-top: -0.25rem !important;
    margin-bottom: 1.5rem !important;
}

.frp-quote.frp-quote-condensed {
    padding-bottom: 0.5rem;
}

.frp-quote.frp-quote-condensed .frp-lead {
    margin-bottom: 0.35rem !important;
}

.frp-steps {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0.75rem 0 1.75rem !important;
    counter-reset: frp-step;
}

.frp-steps li {
    counter-increment: frp-step;
    position: relative !important;
    padding: 0.55rem 0 0.55rem 3rem !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    border-bottom: 1px solid var(--frp-border);
}

.frp-steps li:last-child {
    border-bottom: none;
}

.frp-steps li::before {
    content: counter(frp-step);
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 1.75rem;
    height: 1.75rem;
    background: var(--frp-blue);
    color: #fff;
    font-family: 'Figtree', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1 !important;
}

.frp-steps li p {
    margin: 0 !important;
    display: inline;
}

.frp-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0.5rem 0 1.5rem !important;
}

.frp-list li {
    position: relative;
    padding: 0.3rem 0 0.3rem 1.5rem !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
}

.frp-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.82rem;
    width: 7px;
    height: 7px;
    background: var(--frp-blue);
    border-radius: 50%;
}

.frp-list li p {
    margin: 0 !important;
    display: inline;
}

.frp table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0.75rem 0 1.75rem !important;
    border: 1px solid var(--frp-border) !important;
    border-radius: 8px !important;
    overflow: hidden;
    font-family: 'Figtree', sans-serif !important;
}

.frp table thead tr {
    background-color: var(--frp-navy) !important;
}

.frp table thead tr td,
.frp table thead tr th {
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 0.78rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    padding: 0.85rem 1rem !important;
}

.frp table tbody tr:nth-child(even) {
    background-color: var(--frp-bg);
}

.frp table tbody tr:hover {
    background-color: #eef4fc !important;
}

.frp table td,
.frp table th {
    padding: 0.8rem 1rem !important;
    border-bottom: 1px solid var(--frp-border) !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    vertical-align: top !important;
    color: var(--frp-text) !important;
}

.frp table td p,
.frp table td span {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    color: inherit !important;
}

.frp table td:first-child {
    font-weight: 700 !important;
    color: var(--frp-navy) !important;
    width: 20%;
    white-space: nowrap;
}

.frp table tbody th[scope="row"] {
    font-weight: 700 !important;
    color: var(--frp-navy) !important;
    width: 20%;
    white-space: nowrap;
}

.frp table td:nth-child(2) {
    width: 35%;
}

.frp table tr:last-child td {
    border-bottom: none !important;
}

.frp table tr:last-child th[scope="row"] {
    border-bottom: none !important;
}

.frp-callout {
    background: var(--frp-bg);
    border-left: 3px solid var(--frp-blue);
    border-radius: 0 6px 6px 0;
    padding: 0.9rem 1.2rem;
    margin: 1rem 0 1.5rem;
}

.frp-callout p,
.frp-callout span {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: var(--frp-text) !important;
}

.frp-home-review-widget .fr-review-partial {
    --fr-review-width: 86%;
    --fr-review-margin-left: 7%;
    margin-top: 0.35rem !important;
    margin-bottom: 1.75rem !important;
}

.frp-review-block {
    background: #fff;
    border: 1px solid var(--frp-border);
    border-top: 3px solid #f5b800;
    border-radius: 0 0 8px 8px;
    padding: 1.25rem 1.4rem;
    margin: 0.5rem 0 1.75rem;
}

.frp-review-block .frp-stars {
    font-size: 1.1rem;
    color: #f5b800;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.frp-review-block .frp-review-summary {
    font-size: 15px !important;
    color: var(--frp-text-mid) !important;
    margin-bottom: 1rem !important;
}

.frp-review-block blockquote {
    margin: 0 0 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--frp-bg);
    border-left: none;
    border-radius: 6px;
    font-style: italic;
    font-size: 15px !important;
    color: var(--frp-text-mid) !important;
    line-height: 1.6 !important;
}

.frp-review-block blockquote cite {
    display: block;
    font-style: normal;
    font-size: 13px !important;
    color: var(--frp-text-muted) !important;
    margin-top: 0.4rem;
}

.frp-faq {
    margin: 0.5rem 0 1.75rem;
}

.frp-faq-item {
    border-bottom: 1px solid var(--frp-border);
}

.frp-faq-item:last-child {
    border-bottom: none;
}

.frp-faq-item h3 {
    margin: 0 !important;
    padding: 0.9rem 0 !important;
    cursor: default;
    font-size: 1rem !important;
}

.frp-faq-item p {
    margin: 0 0 0.9rem !important;
    font-size: 16px !important;
    color: var(--frp-text-mid) !important;
    line-height: 1.75 !important;
}

.frp a,
.frp-body a {
    color: var(--frp-blue) !important;
    text-decoration: underline;
    text-decoration-color: rgba(21, 101, 192, 0.35);
    text-underline-offset: 2px;
    transition: color 0.15s ease;
}

.frp a:hover {
    color: var(--frp-blue-dark) !important;
    text-decoration-color: var(--frp-blue-dark);
}

.frp-cta-inline {
    font-size: 15px !important;
    color: var(--frp-text-mid) !important;
    margin: 0.75rem 0 1.25rem !important;
}

.frp-cta-inline a {
    font-weight: 600 !important;
}

.frp-divider {
    border: none;
    border-top: 1px solid var(--frp-border);
    margin: 2rem 0;
}

.fr-jq-ftl-wizard.hide,
.fr-jq-ltl-wizard.hide {
    display: none !important;
    visibility: hidden !important;
}

.fr-jq-ftl-wizard[style*='visibility: hidden'] {
    display: none !important;
}

.frp #quote-frm p,
.frp #quote-frm span,
.frp #quote-frm label,
.frp #quote-frm li,
.frp #quote-frm input,
.frp #quote-frm select,
.frp #quote-frm button,
.frp #quote-frm textarea,
.frp #quote-frm div,
.frp #quote-frm a {
    font-family: revert !important;
    font-size: revert !important;
    color: revert !important;
    line-height: revert !important;
    margin-bottom: revert !important;
    padding-bottom: revert !important;
    text-decoration: revert !important;
}

.frp #quote-frm ul {
    list-style: revert !important;
    padding-left: revert !important;
    margin: revert !important;
}

.frp #quote-frm li {
    padding: revert !important;
    position: revert !important;
    border-bottom: revert !important;
    counter-increment: revert !important;
}

.frp #quote-frm li::before {
    display: none !important;
}

.frp .k-widget p,
.frp .k-widget span,
.frp .k-widget label,
.frp .k-widget input,
.frp .k-widget select,
.frp .k-widget button,
.frp .k-widget div {
    font-family: revert !important;
    font-size: revert !important;
    color: revert !important;
    line-height: revert !important;
}

.frp [id^="frm"] p,
.frp [id^="frm"] span,
.frp [id^="frm"] input,
.frp [id^="frm"] select,
.frp [id^="frm"] button {
    font-family: revert !important;
    font-size: revert !important;
    color: revert !important;
    line-height: revert !important;
}

@media (max-width: 640px) {
    .frp h1 {
        font-size: 1.75rem !important;
    }

    .frp h2 {
        font-size: 1.35rem !important;
    }

    .frp p,
    .frp li,
    .frp span {
        font-size: 16px !important;
    }

    .frp-rate-factor-table-wrap {
        margin: 0.75rem 0 1.75rem !important;
    }

    .frp-rate-factor-table {
        border: none !important;
        margin: 0 !important;
        border-collapse: separate !important;
        border-spacing: 0 !important;
        background: transparent !important;
    }

    .frp-rate-factor-table thead {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    .frp-rate-factor-table,
    .frp-rate-factor-table tbody,
    .frp-rate-factor-table tr,
    .frp-rate-factor-table th,
    .frp-rate-factor-table td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .frp-rate-factor-table tbody tr {
        background: #fff !important;
        border: 1px solid var(--frp-border) !important;
        border-radius: 10px !important;
        overflow: hidden;
        box-shadow: 0 6px 16px rgba(13, 33, 55, 0.05);
    }

    .frp-rate-factor-table tbody tr + tr {
        margin-top: 0.95rem !important;
    }

    .frp-rate-factor-table tbody tr:nth-child(even),
    .frp-rate-factor-table tbody tr:hover {
        background: #fff !important;
    }

    .frp-rate-factor-table tbody th[scope="row"] {
        width: auto !important;
        white-space: normal !important;
        background: var(--frp-navy) !important;
        color: #fff !important;
        padding: 0.95rem 1rem 0.85rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
        font-size: 1rem !important;
        line-height: 1.35 !important;
    }

    .frp-rate-factor-table td {
        padding: 0.8rem 1rem !important;
        border-bottom: 1px solid var(--frp-border) !important;
    }

    .frp-rate-factor-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 0.3rem;
        color: var(--frp-text-muted) !important;
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.08em !important;
        text-transform: uppercase !important;
        line-height: 1.4 !important;
    }

    .frp-rate-factor-table tbody tr > :last-child {
        border-bottom: none !important;
    }
}

@media (max-width: 991px) {
    .frp-home-review-widget .fr-review-partial {
        --fr-review-width: 100%;
        --fr-review-margin-left: 0%;
    }
}
