.transaction-overview {
    padding: 22px 0 0;
    background: #fff;
}

.transaction-overview-panel {
    border: 1px solid var(--tx-line);
    background: linear-gradient(180deg, #f3f7ff 0%, #ffffff 34%);
}

.transaction-overview-head {
    padding: 44px 50px 30px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .52fr);
    gap: 42px;
    align-items: end;
    border-bottom: 1px solid var(--tx-line);
}

.transaction-overview-head h1 {
    max-width: 760px;
    margin: 12px 0 0;
    color: var(--tx-navy);
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 600;
    letter-spacing: -.055em;
    line-height: .96;
}

.transaction-overview-intro {
    max-width: 470px;
    justify-self: end;
    color: var(--tx-muted);
    font-size: .98rem;
    line-height: 1.55;
}

.transaction-overview-intro strong {
    color: var(--tx-navy);
    font-weight: 600;
}

.transaction-overview-intro .rate-review {
    margin-top: 12px;
}

.overview-flow {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
}

.overview-step {
    position: relative;
    min-height: 285px;
    padding: 26px 28px 24px;
    display: grid;
    grid-template-columns: minmax(140px, .76fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 24px;
    align-items: center;
    border-right: 1px solid var(--tx-line);
    border-bottom: 1px solid var(--tx-line);
    background: rgba(255,255,255,.88);
}

.overview-step:nth-child(3),
.overview-step:nth-child(4) {
    border-right: 0;
}

.overview-step:nth-child(n+4) {
    border-bottom: 0;
}

.overview-step:nth-child(4) {
    grid-column: 3;
    grid-row: 2;
}

.overview-step:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
}

.overview-step:nth-child(6) {
    grid-column: 1;
    grid-row: 2;
}

.overview-step::after {
    content: '→';
    position: absolute;
    top: 50%;
    right: -15px;
    z-index: 2;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border: 1px solid #bfd0e7;
    border-radius: 50%;
    color: var(--tx-blue);
    background: #fff;
    font-size: 1rem;
    font-weight: 600;
}

.overview-step:nth-child(3)::after {
    content: '↓';
    top: auto;
    right: 50%;
    bottom: -15px;
    transform: translateX(50%);
}

.overview-step:nth-child(4)::after,
.overview-step:nth-child(5)::after {
    content: '←';
    right: auto;
    left: -15px;
}

.overview-step:nth-child(6)::after {
    display: none;
}

.overview-meta {
    grid-column: 1 / -1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    align-self: start;
}

.overview-number {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--tx-blue);
    background: #e9f2ff;
    font-size: .73rem;
    font-weight: 700;
}

.overview-role {
    padding: 5px 8px;
    border: 1px solid #c6d6ea;
    border-radius: 999px;
    color: #65758d;
    background: #fff;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.overview-art {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    height: 155px;
    margin: 10px 0 0;
    display: grid;
    place-items: center;
}

.overview-art svg {
    width: min(100%, 178px);
    height: 140px;
}

.overview-copy {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
}

.overview-step h2 {
    color: var(--tx-navy);
    font-size: 1.28rem;
    font-weight: 600;
    line-height: 1.15;
}

.overview-step p {
    max-width: 260px;
    margin-top: 8px;
    color: var(--tx-muted);
    font-size: .86rem;
    line-height: 1.45;
}

.transaction-safety-bar {
    padding: 17px 22px;
    display: flex;
    gap: 12px;
    align-items: center;
    border-top: 1px solid var(--tx-line);
    background: #eef5ff;
}

.transaction-safety-bar > span {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--tx-blue);
    font-size: .72rem;
    font-weight: 700;
}

.transaction-safety-bar p {
    color: var(--tx-muted);
    font-size: .82rem;
}

.transaction-safety-bar strong {
    color: var(--tx-navy);
    font-weight: 600;
}

.platform-fee-strip {
    padding-top: 18px;
}

.provider-logos {
    padding-top: 66px;
}

@media (max-width: 1180px) {
    .transaction-overview-head {
        padding: 40px 38px 28px;
    }

    .overview-step {
        min-height: 285px;
        padding: 24px 22px 22px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .overview-meta {
        grid-column: auto;
    }

    .overview-art {
        width: 100%;
        height: 132px;
        margin: 12px 0 8px;
    }

    .overview-art svg {
        width: min(100%, 150px);
        height: 120px;
    }

    .overview-copy {
        align-self: auto;
    }

    .overview-step h2 {
        font-size: 1.12rem;
    }

    .overview-step p {
        max-width: none;
        font-size: .8rem;
    }
}

@media (max-width: 820px) {
    .transaction-overview-head {
        padding: 36px 26px 26px;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .transaction-overview-intro {
        justify-self: start;
    }

    .overview-flow {
        grid-template-columns: 1fr;
    }

    .overview-step,
    .overview-step:nth-child(3),
    .overview-step:nth-child(4),
    .overview-step:nth-child(5),
    .overview-step:nth-child(6) {
        min-height: 228px;
        padding: 22px 24px 18px;
        display: grid;
        grid-template-columns: 116px minmax(0, 1fr);
        grid-template-rows: auto 1fr;
        column-gap: 18px;
        align-items: center;
        grid-column: auto;
        grid-row: auto;
        border-right: 0;
        border-bottom: 1px solid var(--tx-line);
    }

    .overview-step:last-child {
        border-bottom: 0;
    }

    .overview-meta {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .overview-art {
        grid-column: 1;
        grid-row: 2;
        width: 112px;
        height: 108px;
        margin: 8px 0 0;
    }

    .overview-art svg {
        width: 108px;
        height: 102px;
    }

    .overview-copy {
        grid-column: 2;
        grid-row: 2;
        align-self: center;
    }

    .overview-step::after,
    .overview-step:nth-child(3)::after,
    .overview-step:nth-child(4)::after,
    .overview-step:nth-child(5)::after {
        content: '↓';
        top: auto;
        right: 50%;
        left: auto;
        bottom: -15px;
        transform: translateX(50%);
    }

    .overview-step:last-child::after {
        display: none;
    }
}

@media (max-width: 520px) {
    .transaction-overview-head h1 {
        font-size: clamp(2.75rem, 13vw, 3.8rem);
    }

    .overview-step,
    .overview-step:nth-child(3),
    .overview-step:nth-child(4),
    .overview-step:nth-child(5),
    .overview-step:nth-child(6) {
        min-height: 218px;
        grid-template-columns: 96px minmax(0, 1fr);
        padding-inline: 20px;
    }

    .overview-art {
        width: 92px;
    }

    .overview-art svg {
        width: 90px;
    }

    .overview-step h2 {
        font-size: 1.08rem;
    }

    .overview-step p {
        font-size: .78rem;
    }

    .transaction-safety-bar {
        align-items: flex-start;
    }
}
