.tabbed-panels {
    padding: 72px 0;
    background: #F4F7FE;
}

.tabbed-panels h2,
.tabbed-panels h3 {
    color: #0A1430;
}
.tabbed-panels .head {
    margin-bottom: 34px;
}
.tabbed-panels .head h2 {
    max-width: 800px;
}
.tabbed-panels .eyebrow {
    color: #0D4DCE;
}
.tabbed-panels .tp-nav {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 6px;
    margin-bottom: 28px;
    padding: 6px;
    border-radius: 16px;
    background: #E8EEFE;
}
.tabbed-panels .tp-nav button {
    all: unset;
    box-sizing: border-box;
    padding: 15px 16px;
    border-radius: 12px;
    color: #4E5B7A;
    font-size: 1.02rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}
.tabbed-panels .tp-nav button.active {
    background: #0D4DCE;
    color: #fff;
    box-shadow: 0 6px 18px rgba(13, 77, 206, .25);
}
.tabbed-panels .tp-nav button:focus-visible {
    outline: 3px solid #32BAED;
    outline-offset: -3px;
}

/* tab 1: focus cards */
.tabbed-panels .tp-cols {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.tabbed-panels .tp-card {
    padding: 22px;
    border: 1px solid #D9E2F6;
    border-radius: 16px;
    background: #fff;
}
.tabbed-panels .tp-card .tp-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 15px;
}
.tabbed-panels .tp-card .tp-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.tabbed-panels .tp-card h3 {
    margin: 10px 0 6px;
}
.tabbed-panels .tp-card p {
    font-size: .92rem;
    color: #4E5B7A;
}
.tabbed-panels .tp-note {
    margin-top: 18px;
    color: #4E5B7A;
}
.tabbed-panels .tp-note b {
    color: #0A1430;
}

.tabbed-panels .tp-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
.tabbed-panels .tp-filter button {
    all: unset;
    box-sizing: border-box;
    padding: 7px 14px;
    border: 1px solid #D9E2F6;
    border-radius: 999px;
    color: #4E5B7A;
    font-size: .86rem;
    font-weight: 600;
    cursor: pointer;
}
.tabbed-panels .tp-filter button[aria-pressed="true"] {
    background: #0A1430;
    border-color: #0A1430;
    color: #fff;
}
.tabbed-panels .tp-filter button:focus-visible {
    outline: 3px solid #32BAED;
    outline-offset: 2px;
}
.tabbed-panels .tp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.tabbed-panels .tp-item {
    position: relative;
    padding: 22px;
    border: 1px solid #D9E2F6;
    border-radius: 16px;
    background: #fff;
}
.tabbed-panels .tp-item--dark {
    background: #0A1430;
    border-color: #0A1430;
    color: #fff;
}
.tabbed-panels .tp-item--dark h3 {
    color: #fff;
}
.tabbed-panels .tp-item-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.tabbed-panels .tp-item .tp-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #E8EEFE;
    padding: 10px;
}
.tabbed-panels .tp-item--dark .tp-icon {
    background: rgba(255, 255, 255, .1);
}
.tabbed-panels .tp-tag {
    padding: 3px 10px;
    border-radius: 999px;
    background: #E8EEFE;
    color: #0D4DCE;
    font-size: .74rem;
    font-weight: 600;
}
.tabbed-panels .tp-item--dark .tp-tag {
    background: rgba(50, 186, 237, .16);
    color: #32BAED;
}
.tabbed-panels .tp-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #32BAED;
    color: #0A1430;
    font-size: .7rem;
    font-weight: 700;
}
.tabbed-panels .tp-item ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .9rem;
    color: #4E5B7A;
}
.tabbed-panels .tp-item--dark ul {
    color: #B7C4E3;
}
.tabbed-panels .tp-item li::before {
    content: "✓";
    margin-right: 8px;
    color: #32BAED;
    font-weight: 700;
}

/* tab 3: steps + facts */
.tabbed-panels .tp-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}
.tabbed-panels .tp-steps::before {
    content: "";
    position: absolute;
    left: 4%;
    right: 4%;
    top: 22px;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, #0D4DCE, #32BAED);
}
.tabbed-panels .tp-step {
    position: relative;
    display: grid;
    gap: 8px;
    justify-items: center;
    padding: 0 10px;
    text-align: center;
}
.tabbed-panels .tp-dot {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 3px solid #0D4DCE;
    border-radius: 50%;
    background: #fff;
    color: #0D4DCE;
    font-weight: 800;
}
.tabbed-panels .tp-step h3 {
    font-size: .95rem;
}
.tabbed-panels .tp-step p {
    font-size: .82rem;
    color: #4E5B7A;
}
.tabbed-panels .tp-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}
.tabbed-panels .tp-facts p {
    border-radius: 14px;
    background: #F4F7FE;
    color: #4E5B7A;
}
.tabbed-panels .tp-fact {
    position: relative;
    padding-left: 30px;
}
.tabbed-panels .tp-fact:before {
    content: "✓";
    margin-right: 0px;
    color: #32BAED;
    font-weight: 700;
    position: absolute;
    top: 0;
    left: 0;
}
@media (max-width: 991px) {
    .tabbed-panels .tp-cols,
    .tabbed-panels .tp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .tabbed-panels .tp-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
    .tabbed-panels .tp-steps::before {
        left: 27px;
        right: auto;
        top: 0;
        bottom: 0;
        width: 3px;
        height: auto;
    }
    .tabbed-panels .tp-step {
        grid-template-columns: 46px 1fr;
        column-gap: 16px;
        justify-items: start;
        text-align: left;
    }
    .tabbed-panels .tp-dot {
        grid-row: span 2;
         width: 35px;
        height: 35px;
    }
}
@media (max-width: 767px) {
    .tabbed-panels .tp-facts {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 560px) {
    .tabbed-panels .tp-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .tabbed-panels .tp-nav button {
        padding: 12px 6px;
    }
}
@media (max-width: 520px) {
    .tabbed-panels .tp-cols {
        grid-template-columns: minmax(0, 1fr);
    }
}