﻿/* =========================================================================
   DIRECT SETTLEMENT PAGE — component styles
   Extends custom.css. Uses the same --im-* tokens (burgundy / grey /
   white / black) so this page sits visually in line with the homepage.
   ========================================================================= */

/* ---------------------------------------------------------------------
   HERO
--------------------------------------------------------------------- */
.width-max-820 {
    max-width:820px;
}
.width-max-200 {
    max-width: 200px;
}

.im-section {
    padding: 88px 0;
    background: #f1f1f1;
    overflow: hidden;
}

.im-section--cta {
    background: var(--burgundy);
    background-image: radial-gradient(circle at 85% 20%, rgba(140,42,66,0.14), transparent 45%), linear-gradient(180deg, var(--burgundy-dark) 0%, var(--burgundy) 100%);
    color: #fff;
}

.im-section--alt {
    background: #f3f2f2;
}
.ds-hero {
    position: relative;
    background: url('../images/benefits-bg.jpg') center center / cover no-repeat;
    padding: 36px 0 100px;
    overflow: hidden;
}

.ds-hero-dots {
    display: none;
}

.ds-h2 {
    color: #000;
    margin-bottom: 20px;
    line-height:1.25!important;
}

.ds-btn-outline {
    border: 1.5px solid var(--darkburgundy);
    color: var(--darkburgundy);
    
    font-weight: 600;
    font-size: 0.92rem;
    padding: 12px 24px;
    border-radius: 30px;
    background: transparent;
    transition: all .2s ease;
}

    .ds-btn-outline:hover {
        background: var(--darkburgundy);
        border-color: var(--darkburgundy);
        color: #ffffff;
    }

.ds-flow {
    position: relative;
    min-height: 420px;
    padding: 10px;
    max-width: 100%;
    overflow: hidden;
}

.ds-elbow {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.ds-elbow-v1,
.ds-elbow-v2 {
    position: absolute;
    width: 3px;
    background: var(--burgundy);
    border-radius: 2px;
}

.ds-elbow-h {
    position: absolute;
    height: 3px;
    background: var(--burgundy);
    border-radius: 2px;
}

.ds-elbow-v2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    transform: translateX(-50%);
    border-style: solid;
    border-width: 8px 6px 0 6px;
    border-color: var(--burgundy) transparent transparent transparent;
}

/* Desktop: down → right → down, landing on top edge of the next card */
.ds-elbow--1 .ds-elbow-v1 {
    left: 53px;
    top: 106px;
    height: 23px;
}

.ds-elbow--1 .ds-elbow-h {
    left: 53px;
    top: 129px;
    width: 16%;
}

.ds-elbow--1 .ds-elbow-v2 {
    left: calc(16% + 53px);
    top: 129px;
    height: 23px;
}

.ds-elbow--2 .ds-elbow-v1 {
    left: calc(16% + 53px);
    top: 248px;
    height: 23px;
}

.ds-elbow--2 .ds-elbow-h {
    left: calc(16% + 53px);
    top: 271px;
    width: 12%;
}

.ds-elbow--2 .ds-elbow-v2 {
    left: calc(28% + 53px);
    top: 271px;
    height: 23px;
}

.ds-flow-node {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 72%;
    background: #ffffff;
    border: 1px solid var(--grey);
    border-radius: 16px;
    padding: 8px 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .ds-flow-node:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    }

.ds-flow-node--1 {
    margin-left: 0;
}

.ds-flow-node--2 {
    margin-left: 16%;
    margin-top: 46px;
}

.ds-flow-node--3 {
    margin-left: 28%;
    margin-top: 46px;
    background: var(--darkburgundy);
    border-color: var(--darkburgundy);
}

    .ds-flow-node--3 .ds-flow-title,
    .ds-flow-node--3 .ds-flow-sub {
        color: #ffffff!important;
    }

    .ds-flow-node--3 .ds-flow-sub {
        color: rgba(255,255,255,0.72);
    }

.ds-flow-icon {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--verylightgrey);
    border: 2px solid var(--burgundy);
    color: var(--burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.ds-flow-icon--final {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: #ffffff;
}

.ds-flow-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.ds-flow-tag {
    
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9a9a9a;
}

.ds-flow-tag--accent {
    color: #fff;
}

.ds-flow-title {
    
    font-weight: 800;
    font-size: 1.05rem;
    color: #000;
}

.ds-flow-sub {
    font-size: 0.8rem;
    color: #7a7a7a;
}

/*.ds-flow-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--burgundy);
    color: #ffffff;
    
    font-weight: 700;
    font-size: 0.78rem;
    padding: 8px 16px;
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(140,42,66,0.35);
    display: flex;
    align-items: center;
    gap: 6px;
    animation: dsFloat 3s ease-in-out infinite;
}*/

@keyframes dsFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@media (max-width: 991.98px) {
    .ds-flow {
        min-height: auto;
        padding: 44px 4px 10px;
        overflow: visible;
    }

    .ds-flow-node {
        width: 88%;
    }

    .ds-flow-node--2 {
        margin-left: 6%;
        margin-top: 24px;
    }

    .ds-flow-node--3 {
        margin-left: 12%;
        margin-top: 24px;
    }

    /*.ds-flow-badge {
        top: 0;
        right: 4%;
    }*/

    .ds-elbow--1 .ds-elbow-v1 {
        left: 47px;
        top: 130px;
        height: 12px;
    }

    .ds-elbow--1 .ds-elbow-h {
        left: 47px;
        top: 142px;
        width: 6%;
    }

    .ds-elbow--1 .ds-elbow-v2 {
        left: calc(6% + 47px);
        top: 142px;
        height: 12px;
    }

    .ds-elbow--2 .ds-elbow-v1 {
        left: calc(6% + 47px);
        top: 240px;
        height: 12px;
    }

    .ds-elbow--2 .ds-elbow-h {
        left: calc(6% + 47px);
        top: 252px;
        width: 6%;
    }

    .ds-elbow--2 .ds-elbow-v2 {
        left: calc(12% + 47px);
        top: 252px;
        height: 12px;
    }
}

/* ---------------------------------------------------------------------
   MANDATE CLARIFY BOX (no / yes rows)
--------------------------------------------------------------------- */
.ds-clarify-box {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ds-clarify-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border-radius: 10px;
    padding: 16px 18px;
    border: 1px solid var(--grey);
}

    .ds-clarify-row i {
        flex: 0 0 auto;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.85rem;
        margin-top: 2px;
    }

    .ds-clarify-row p {
        margin: 0;
        font-size: 0.95rem;
    }

.ds-clarify-row--no {
    background: #f8f7f7;
}

    .ds-clarify-row--no i {
        background: #e6e4e5;
        color: #1a1a1a;
    }

.ds-clarify-row--yes {
    background: rgba(140,42,66,0.06);
}

    .ds-clarify-row--yes i {
        background: var(--burgundy);
        color: #ffffff;
    }

/* ---------------------------------------------------------------------
   NOTIFICATION CARD
--------------------------------------------------------------------- */
.ds-notification-card {
    background: #ffffff;
    border: 1px solid var(--grey);
    border-top: 4px solid var(--burgundy);
    border-radius: 14px;
    padding: 20px 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.ds-notification-icon {
    font-size: 1.6rem;
    color: var(--darkburgundy);
    margin-bottom: 14px;
    display: block;
}

.ds-notification-tag {
    display: inline-block;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background: var(--darkburgundy)!important;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.ds-notification-date {
    font-size: 0.85rem;
    color: #7a7a7a;
    margin-bottom: 0;
}

.ds-notification-card hr {
    border-color: var(--grey);
    margin: 18px 0;
}

.ds-notification-card p {
    font-size: 0.92rem;
}

/* ---------------------------------------------------------------------
   STEP TIMELINE — interactive tabs
--------------------------------------------------------------------- */
#how-it-works{

}
.ds-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 40px;
    gap: 0;
}

.ds-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.ds-step {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(140, 42, 66, 0.06);
    border: none;
    padding: 10px 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: background .2s ease;
}

    .ds-step:hover {
        background: rgba(140, 42, 66, 0.06);
    }

.ds-step-num {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--grey);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

.ds-step.active .ds-step-num {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: #fff;
}

.ds-step-title {
    font-weight: 600;
    font-size: 0.88rem;
    transition: color .2s ease;
    white-space: nowrap;
}

.ds-step.active .ds-step-title {
    color: var(--darkburgundy);
}

/* Connecting line */
.ds-step-line {
    width: 50px;
    height: 2px;
    background: var(--grey);
    margin: 25px 4px 0;
}

/* White information box */
.ds-step-info {
    width: 260px;
    min-height: 100px;
    margin-top: 12px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    font-size: 0.88rem;
    line-height: 1.6;
    text-align: center;
}

/* Hide the old panel if you don't need it */
.ds-step-panels {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
}

@media (max-width: 767px) {

    .ds-steps {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .ds-step-item {
        width: 100%;
        align-items: stretch;
    }

    .ds-step {
        width: 100%;
        justify-content: flex-start;
        padding: 10px 12px;
    }

    .ds-step-title {
        white-space: normal;
        text-align: left;
    }

    .ds-step-line {
        width: 2px;
        height: 25px;
        margin: 0 0 0 27px;
    }

    .ds-step-info {
        width: 100%;
        min-height: auto;
        margin: 0 0 15px;
        padding: 18px;
        text-align: left;
    }
}

/* ---------------------------------------------------------------------
   TOGGLE — Direct Settlement vs Invoice Discounting
--------------------------------------------------------------------- */
.ds-toggle-wrap {
    max-width: 860px;
    margin: 0 auto;
}

.ds-toggle {
    position: relative;
    display: flex;
    background: var(--verylightgrey);
    border-radius: 40px;
    padding: 6px;
    margin-bottom: 30px;
    border: 1px solid var(--grey);
}

.ds-toggle-btn {
    flex: 1;
    position: relative;
    z-index: 2;
    background: transparent;
    border: none;
    padding: 13px 18px;
    
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 30px;
    transition: color .25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .ds-toggle-btn.active {
        color: #ffffff;
    }

.ds-toggle-slider {
    position: absolute;
    top: 6px;
    left: 6px;
    width: calc(50% - 6px);
    height: calc(100% - 12px);
    background: var(--darkburgundy);
    background-image: linear-gradient(120deg, var(--darkburgundy), var(--burgundy));
    border-radius: 30px;
    transition: transform .3s cubic-bezier(.65,0,.35,1);
    z-index: 1;
}

.ds-toggle-panel {
    display: none;
    animation: dsFadeIn .3s ease;
}

    .ds-toggle-panel.active {
        display: block;
    }

.ds-panel-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--verylightgrey);
    border: 2px solid var(--burgundy);
    color: var(--burgundy);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.ds-panel-stat {
    
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--darkburgundy);
}

.ds-panel-stat-label {
    font-size: 0.8rem;
    color: #7a7a7a;
}

/* ---------------------------------------------------------------------
   FAQ ACCORDION
--------------------------------------------------------------------- */
.ds-faq-item {
    border-bottom: 1px solid var(--grey);
}

.ds-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: transparent;
    border: none;
    text-align: left;
    padding: 20px 4px;
    
    font-weight: 600;
    font-size: 1rem;
    color: #000;
    cursor: pointer;
}

    .ds-faq-q i {
        color: var(--burgundy);
        transition: transform .25s ease;
        flex: 0 0 auto;
    }

    .ds-faq-q[aria-expanded="true"] i {
        transform: rotate(180deg);
    }

.ds-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

    .ds-faq-a p {
        padding: 0 4px 20px;
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.7;
    }

/* ---------------------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    .ds-hero {
        padding: 22px 0 64px;
    }

    .ds-steps {
        flex-direction: column;
        align-items: stretch;
    }

    .ds-step {
        justify-content: flex-start;
    }

    .ds-step-line {
        width: 2px;
        height: 24px;
        margin: 0 0 0 25px;
    }

    .ds-step-panel {
        padding: 30px 22px;
    }

    .ds-toggle-btn {
        font-size: 0.78rem;
        padding: 12px 10px;
        gap: 6px;
    }
}


/* =========================================================================
   BUTTONS & LINKS — match primary site's CTA language
   ========================================================================= */
.im-btn-primary {
    background: var(--burgundy);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 13px 26px;
    border-radius: 30px;
    transition: background .2s ease, transform .2s ease;
}

    .im-btn-primary:hover {
        background: var(--charcoal);
        color: #fff;
        transform: translateY(-2px);
    }

.im-btn-accent {
    background: #fff;
    border: none;
    color: var(--burgundy);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 26px;
    border-radius: 30px;
    transition: background .2s ease, transform .2s ease;
}

    .im-btn-accent:hover {
        background: var(--charcoal);
        transform: translateY(-2px);
        color: #fff;
    }

.im-btn-accent-outline {
    background: var(--burgundy);
    border: 2px solid #fff;
    color:#fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 26px;
    border-radius: 30px;
    transition: background .2s ease, transform .2s ease;
}

    .im-btn-accent-outline:hover {
        background: var(--charcoal);
        transform: translateY(-2px);
        color: #fff;
    }



/* =========================================================================
   SELLER PAGE — HERO
   Generic, reusable light hero: background image + centered intro copy.
   ========================================================================= */
.im-hero {
    background: var(--lightgrey) url('benefits-bg.jpg') center center / cover no-repeat;
    padding: 96px 0 76px;
}

.im-h1 {
    font-weight: 800;
    font-size: clamp(1.9rem, 3.6vw, 2.6rem);
    line-height: 1.25;
    margin-bottom: 20px;
}

.im-eyebrow--center {
    display: block;
    text-align: center;
    padding-left: 0;
}

    .im-eyebrow--center::before {
        display: none;
    }

.im-btn-outline-dark {
    border: 1.5px solid var(--burgundy);
    color: var(--burgundy);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 12px 24px;
    border-radius: 30px;
    background: transparent;
    transition: all .2s ease;
}

    .im-btn-outline-dark:hover {
        background: var(--burgundy);
        border-color: var(--burgundy);
        color: #ffffff;
    }

/* =========================================================================
   SELLER PAGE — STAT CARD
   ========================================================================= */
.im-stat-card {
    background: #ffffff;
    border: 1px solid var(--grey);
    border-radius: 10px;
    padding: 34px 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.im-stat-icon {
    font-size: 1.8rem;
    color: var(--burgundy);
    margin-bottom: 12px;
    display: block;
}

.im-stat-num {
    font-weight: 800;
    font-size: 2.4rem;
    color: var(--burgundy);
    line-height: 1;
}

.im-stat-label {
    font-size: 0.9rem;
    color: #7a7a7a;
    margin-top: 6px;
    margin-bottom: 20px;
}

.im-stat-card hr {
    border-color: var(--grey);
    margin-bottom: 20px;
}

.im-stat-card .im-vs-list {
    text-align: left;
}

.im-vs-list i{
    color:var(--burgundy);
    margin-right:12px;
}
/* =========================================================================
   SELLER PAGE — CHIP LIST (light variant, for tags / city lists on
   light or grey sections)
   ========================================================================= */
.im-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

    .im-chip-list span {
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--burgundy);
        background: #ffffff;
        border: 1px solid var(--grey);
        border-radius: 20px;
        padding: 7px 16px;
    }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 991.98px) {
    .im-section {
        padding: 64px 0;
    }

    .im-register-strip .text-lg-end {
        text-align: left !important;
        margin-top: 18px;
    }

    .im-link-help {
        margin-left: 0;
        display: block;
        margin-top: 10px;
    }

    .im-hero {
        padding: 72px 0 56px;
    }
}

@media (max-width: 575.98px) {
    .im-vs-col {
        flex-basis: 100%;
    }
}



/* =========================================================================
   SECTION 8 — Registration mandate cards + strip
   ========================================================================= */
.im-h5 {
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--dark-grey);
    margin-bottom: 14px;
}
.im-mandate-card {
    background: #fff;
    border: 1px solid var(--lightburgundy);
    border-radius: 10px;
    padding: 32px 28px;
    height: 100%;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.im-mandate-card-2 {
    background: rgba(140,42,66,0.14);
    border: 1px solid var(--lightburgundy);
    border-radius: 10px;
    padding: 32px 28px;
    height: 100%;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.im-mandate-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(140,42,66,0.14);
    color: var(--darkburgundy);
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 12px;
    border-radius: 20px;
}

.im-mandate-icon {
    font-size: 1.8rem;
    color: var(--burgundy);
    margin-bottom: 16px;
    display: block;
}

.im-mandate-card p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.65;
}

.im-register-strip {
    margin-top: 44px;
    background: var(--burgundy);
    background-image: linear-gradient(120deg, var(--burgundy) 0%, var(--lightburgundy) 100%);
    border-radius: 10px;
    padding: 34px 38px;
    color: #fff;
}

    .im-register-strip h4 {
        color: #fff;
    }

    .im-register-strip p {
        color: rgba(255,255,255,0.8);
    }



/* =========================================================================
   ONBOARDING RIBBON — connected 5-step process with chevron flow
   ========================================================================= */
.im-ribbon {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.im-ribbon-step {
    position: relative;
    flex: 1 1 180px;
    max-width: 210px;
    background: #ffffff;
    border: 1px solid var(--grey);
    border-radius: 10px;
    padding: 30px 18px 22px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.18);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .im-ribbon-step:hover {
        transform: translateY(-6px);
        box-shadow: var(--im-shadow-hover);
        border-color: rgba(140,42,66,0.35);
    }

.im-ribbon-num {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--burgundy);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

.im-ribbon-icon {
    font-size: 1.5rem;
    color: var(--burgundy);
    margin: 10px 0 14px;
    display: block;
}

.im-ribbon-step p {
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

.im-ribbon-chevron {
    align-self: center;
    color: var(--grey);
    font-size: 1rem;
    flex: 0 0 auto;
}

.im-reassure-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 40px;
}

.im-reassure-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid var(--grey);
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.im-reassure-item i {
    color: var(--burgundy);
    font-size: 0.95rem;
}

@media (max-width: 767.98px) {
    .im-ribbon {
        flex-direction: column;
        align-items: stretch;
    }

    .im-ribbon-step {
        max-width: 100%;
    }

    .im-ribbon-chevron {
        transform: rotate(90deg);
        margin: 4px 0;
    }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 991.98px) {
    .im-section {
        padding: 64px 0;
    }

    .im-register-strip .text-lg-end {
        text-align: left !important;
        margin-top: 18px;
    }

    .im-link-help {
        margin-left: 0;
        display: block;
        margin-top: 10px;
    }

    .im-hero {
        padding: 72px 0 56px;
    }
}

@media (max-width: 575.98px) {
    .im-vs-col {
        flex-basis: 100%;
    }
}



.im-flow-card {
    background: var(--burgundy);
    background-image: linear-gradient(160deg, var(--darkburgundy) 0%, var(--burgundy) 100%);
    border-radius: 10px;
    padding: 36px 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

.im-flow-step {
    display: flex;
    align-items: center;
    gap: 18px;
}

.im-flow-num {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 2px solid var(--burgundy);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.im-flow-step--final .im-flow-num {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: var(--burgundy);
}

.im-flow-label {
    display: block;
    font-weight: 600;
    color: #fff;
    font-size: 1rem;
}

.im-flow-sub {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.62);
}

.im-flow-connector {
    width: 2px;
    height: 26px;
    background: rgba(255,255,255,0.18);
    margin-left: 20px;
}



/* =========================================================================
   SECTION 6 — Stakeholder cards
   ========================================================================= */
.im-party-card{
  background: #fff;
  border: 1px solid var(--im-border);
  border-radius: 10px;
  padding: 34px 28px;
  height: 100%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
  transition: transform .25s ease, box-shadow .25s ease;
}
.im-party-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--im-shadow-hover);
}
.im-party-icon{
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--burgundy), var(--lightburgundy));
  color: var(--burgundy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.im-step-list{
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0 0 18px 0;
}
.im-step-list li{
  counter-increment: step;
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  font-size: 0.94rem;
  line-height: 1.55;
}
.im-step-list li::before{
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grey);
  border: 1.5px solid var(--burgundy);
  color: var(--darkburgundy);
  font-family: var(--im-font-display);
  font-weight: 700;
  font-size: 0.72rem;
  display: flex; align-items: center; justify-content: center;
}
.im-party-footnote{
  border-top: 1px dashed var(--im-border);
  padding-top: 16px;
  font-size: 0.9rem;
  color: var(--im-heading-text);
}
.im-party-footnote strong{ color: var(--darkburgundy); }

/* =========================================================================
   SECTION 7 — Factoring vs TReDS: image + text stacked, VS divider
   Mobile-first: single column, stacked blocks, horizontal VS divider.
   Desktop: two columns side by side with a vertical VS divider between.
   ========================================================================= */
.im-vs-tag{
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.im-vs-tag--accent{ color: var(--darkburgundy); }
.im-vs-list{ list-style: none; padding: 0; margin: 0; }
.im-vs-list li{
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.94rem;
  margin-bottom: 12px;
  color: var(--im-body-text);
}
.im-vs-list i{ margin-top: 4px; flex: 0 0 auto; }
.im-compare-block:first-child .im-vs-list i{ color: #1a1a1a; }
.im-compare-block:last-child .im-vs-list i{ color: var(--burgundy); }

.im-compare-wrap{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}
.im-compare-block{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 0 32px;
}
.im-compare-img-frame{
  width: 100%;
  max-width: 360px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--im-border);
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
  margin-bottom: 22px;
}
.im-compare-img-frame--accent{
  border: 1px solid rgba(140,42,66,0.35);
  box-shadow: 0 10px 30px rgba(140,42,66,0.14);
}
.im-compare-img{
  display: block;
  width: 100%;
  height: auto;
}
.im-compare-text{ max-width: 380px; }
.im-compare-text .im-vs-tag{ display: block; margin-bottom: 14px; }
.im-compare-text .im-vs-list{ text-align: left; display: inline-block; }

.im-compare-divider{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 4px 0 28px;
}
.im-compare-divider::before,
.im-compare-divider::after{
  content: "";
  height: 1px;
  width: 60px;
  background: var(--im-border);
}
.im-compare-divider span{
  flex: 0 0 auto;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--darkburgundy);
  color: #ffffff;
  font-family: var(--im-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

@media (min-width: 768px){
  .im-compare-wrap{
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
  }
  .im-compare-block{ flex: 1 1 0; padding: 8px 12px 0; }
  .im-compare-divider{
    flex-direction: column;
    padding: 40px 0 0;
    align-self: stretch;
  }
  .im-compare-divider::before,
  .im-compare-divider::after{
    width: 1px;
    height: 70px;
  }
}

/* =========================================================================
   SECTION 8 — Registration mandate cards + strip
   ========================================================================= */
.im-mandate-card{
  background: #fff;
  border: 1px solid var(--im-border);
  border-radius: 10px;
  padding: 32px 28px;
  height: 100%;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}
.im-mandate-badge{
  position: absolute;
  top: 20px; right: 20px;
  background: rgba(140,42,66,0.14);
  color: var(--darkburgundy);
  font-family: var(--im-font-display);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 20px;
}
.im-mandate-icon{
  font-size: 1.8rem;
  color: var(--darkburgundy);
  margin-bottom: 16px;
  display: block;
}
.im-mandate-card p{ margin: 0; font-size: 0.94rem;  line-height: 1.65; }

.im-register-strip{
  margin-top: 44px;
  background: var(--burgundy);
  border-radius: 10px;
  padding: 34px 38px;
  color: #fff;
}
.im-register-strip h4{ color: #fff; }
.im-register-strip p{ color: rgba(255,255,255,0.8); }
