/* ============================================================
   eCheck Referral Program — landing page
   Design language matched to the approved application design.
   ============================================================ */

:root {
    --rp-red: #ff3b3b;
    --rp-red-dark: #e92e2e;
    --rp-ink: #161b28;
    --rp-mute: #6b7280;
    --rp-line: #e7e9ef;
    --rp-field: #d9dde6;
    --rp-soft: #f5f6f8;
}


/* Shared bits ------------------------------------------------ */

.rp-eyebrow {
    display: inline-block;
    color: #ff382e;
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.rp-section-heading {
    font-family: 'Oswald', sans-serif;
    font-weight: 800;
    color: var(--rp-ink);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    line-height: 1.15;
    letter-spacing: -0.6px;
    margin: 0 0 6px;
}

.rp-section-sub {
    font-family: 'Inter', sans-serif;
    color: var(--rp-mute);
    font-size: 1.02rem;
    line-height: 1.6;
    margin: 14px 0 0;
}

.rp-head-center {
    max-width: 760px;
    margin: 0 auto 42px;
}


/* Buttons ---------------------------------------------------- */


/* `body .rp-btn` (not just `.rp-btn`) to match the equal specificity of the
   site-wide button rule in style.css — this file loads after style.css, so
   equal-specificity + !important here wins by source order. See
   feedback_verify-implementation-command memory: a plain, non-!important
   selector here silently loses the box-shadow/radius/hover fight to that
   global rule even though it looks fine in the diff. */

body .rp-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    background: #ff382e !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 30px !important;
    /* font-family: 'Oswald', sans-serif !important; */
    /* font-weight: 700 !important; */
    text-transform: uppercase !important;
    font-size: 0.92rem !important;
    letter-spacing: 0.7px !important;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    width: auto !important;
}

body .rp-btn:hover {
    background: #000 !important;
    color: #fff !important;
    transform: none !important;
    box-shadow: none !important;
}

.rp-btn-block {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
}


/* Check list (hero highlights) ------------------------------ */

.rp-check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.rp-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-family: 'Inter', sans-serif;
    font-size: 0.97rem;
    color: #374151;
    line-height: 1.5;
}

.rp-check-list li i {
    color: #ff382e;
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 1px;
}


/* ============ 1. HERO ============ */

.rp-hero {
    background: linear-gradient(180deg, #fdfaf7 0%, #ffffff 100%);
    padding: 70px 0;
}

.rp-hero-heading {
    font-family: 'Oswald', sans-serif;
    font-weight: 800;
    color: var(--rp-ink);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0;
}

.rp-hero-lead {
    font-family: 'Inter', sans-serif;
    color: var(--rp-mute);
    font-size: 1.02rem;
    line-height: 1.7;
    margin: 0 0 14px;
}

.rp-highlights {
    margin-top: 26px;
}

.rp-highlights-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--rp-ink);
    margin: 0 0 14px;
}


/* Hero form card */

.rp-form-card {
    background: #fff;
    border: 1px solid var(--rp-line);
    border-radius: 16px;
    padding: 32px 30px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.rp-form-heading {
    font-family: 'Oswald', sans-serif;
    font-weight: 800;
    color: var(--rp-ink);
    font-size: 1.5rem;
    margin: 0 0 4px;
}

.rp-form-sub {
    font-family: 'Inter', sans-serif;
    color: var(--rp-mute);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 0 20px;
}

.rp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
    margin-bottom: 16px;
}

.rp-col-2 {
    grid-column: 1 / -1;
}

.rp-field {
    display: flex;
    flex-direction: column;
}

.rp-field label {
    font-family: 'Inter', sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    color: #3a4250;
    margin-bottom: 7px;
}

.rp-field .rp-opt {
    color: var(--rp-mute);
    font-weight: 400;
}

.rp-form input[type="text"],
.rp-form input[type="email"],
.rp-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--rp-field);
    background: #fff;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--rp-ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rp-form input::placeholder {
    color: #9aa0ab;
}

.rp-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 38px;
}

.rp-form input:focus,
.rp-form select:focus {
    outline: none;
    border-color: var(--rp-red);
    box-shadow: 0 0 0 3px rgba(255, 59, 59, 0.12);
}

.rp-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: #3a4250;
    line-height: 1.45;
    margin: 0 0 12px;
    cursor: pointer;
}

.rp-check input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    accent-color: var(--rp-red);
    flex-shrink: 0;
}

.rp-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.rp-success {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ecfdf3;
    border: 1px solid #abefc6;
    color: #11823b;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
}

.rp-success i {
    font-size: 1.3rem;
    color: #17b26a;
}


/* ============ 2. OVERVIEW ============ */

.rp-overview {
    padding: 70px 0;
    background: #fff;
}

.rp-overview-card {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, #fff6f6 0%, #fff 100%);
    border: 1px solid #ffe0e0;
    border-radius: 22px;
    padding: 48px 44px;
}

.rp-overview-text {
    font-family: 'Inter', sans-serif;
    color: #4b5563;
    font-size: 1.04rem;
    line-height: 1.8;
    margin: 0 0 16px;
}

.rp-overview-text:last-child {
    margin-bottom: 0;
}


/* ============ 3. HOW IT WORKS ============ */

.rp-hiw {
    padding: 70px 0;
    background: var(--rp-soft);
}

.rp-hiw-steps {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 8px;
}

.rp-step-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--rp-line);
    border-radius: 14px;
    padding: 20px 22px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.rp-step-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
    border-color: #ffd6d6;
}

.rp-step-num {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--rp-red) 0%, #ff6b6b 100%);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(255, 59, 59, 0.3);
}

.rp-step-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    color: var(--rp-ink);
    font-size: 1.1rem;
    margin: 0 0 6px;
}

.rp-step-desc {
    font-family: 'Inter', sans-serif;
    color: var(--rp-mute);
    font-size: 0.93rem;
    line-height: 1.6;
    margin: 0;
}

.rp-hiw-img-wrap {
    border-radius: 20px;
    overflow: hidden;
    /* border: 1px solid var(--rp-line); */
    aspect-ratio: 4 / 3;
}

.rp-hiw-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ============ 4. WHO CAN JOIN ============ */

.rp-who {
    padding: 70px 0;
    background: #fff;
}

.rp-who-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.rp-who-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 1 calc(25% - 12px);
    background: #fff;
    border: 1px solid var(--rp-line);
    border-radius: 12px;
    padding: 18px 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.94rem;
    color: var(--rp-ink);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.rp-who-item:hover {
    transform: translateY(-4px);
    border-color: #ffd6d6;
    box-shadow: 0 12px 26px rgba(255, 59, 59, 0.12);
}

.rp-who-item i {
    color: #ff382e;
    font-size: 1.2rem;
    background: #fff1f1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rp-who-note {
    text-align: center;
    margin: 34px auto 0;
    max-width: 760px;
    font-family: 'Inter', sans-serif;
    font-size: 0.98rem;
    color: var(--rp-mute);
}

.rp-who-note i {
    color: #ff382e;
}


/* ============ 5. PARTNER BENEFITS ============ */

.rp-benefits {
    padding: 70px 0;
    background: var(--rp-soft);
}

.rp-benefit-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.rp-benefit-card {
    flex: 1 1 calc(33.333% - 18px);
    max-width: calc(33.333% - 18px);
    background: #fff;
    border: 1px solid var(--rp-line);
    border-radius: 14px;
    padding: 26px 18px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rp-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
}

.rp-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--rp-red);
    color: #fff;
    font-size: 1.35rem;
    margin: 0 auto 16px;
}

.rp-benefit-card p {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--rp-ink);
    line-height: 1.45;
}

.rp-warning {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 22px;
    background: #fff8ed;
    border: 1px solid #ffe2b8;
    border-radius: 12px;
    padding: 6px 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.1rem;
    line-height: 1.55;
    color: #8a5a12;
    max-width: 320px;
}

.rp-warning span {
    font-size: 10px !important;
}

.rp-warning i {
    color: #f0a020;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 1px;
}


/* ============ 6. GUIDELINES ============ */

.rp-guidelines {
    padding: 70px 0;
    background: #fff;
}

.rp-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 980px;
    margin: 0 auto;
}

.rp-guide-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    background: var(--rp-soft);
    border: 1px solid var(--rp-line);
    border-radius: 12px;
    padding: 20px 22px;
    font-family: 'Inter', sans-serif;
    font-size: 0.97rem;
    color: #374151;
    line-height: 1.5;
}

.rp-guide-item i {
    color: #ff382e;
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 1px;
}


/* ============ 7. FINAL CTA ============ */

.rp-cta {
    padding: 30px 0 80px;
    background: #fff;
}

.rp-cta-inner {
    background: linear-gradient(135deg, #1a1f2e 0%, #2a1717 100%);
    border-radius: 22px;
    padding: 60px 44px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
    position: relative;
    overflow: hidden;
}

.rp-cta-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 90% at 80% 0%, rgba(255, 59, 59, 0.25) 0%, rgba(255, 59, 59, 0) 60%);
    pointer-events: none;
}

.rp-cta-heading {
    position: relative;
    font-family: 'Oswald', sans-serif;
    font-weight: 800;
    color: #fff;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    line-height: 1.15;
    margin: 0 0 14px;
}

.rp-cta-sub {
    position: relative;
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto 28px;
}

.rp-cta .rp-btn-light {
    position: relative;
    background: #fff;
    color: #ff382e !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.rp-cta .rp-btn-light:hover {
    background: var(--rp-red);
    color: #fff !important;
}


/* ============ Responsive ============ */

@media (max-width: 991px) {
    .rp-hero {
        padding: 50px 0;
    }
    .rp-form-card {
        margin-top: 10px;
    }
    .rp-who-item {
        flex: 0 1 calc(50% - 8px);
    }
    .rp-benefit-card {
        flex: 1 1 calc(50% - 18px);
        max-width: calc(50% - 18px);
    }
}

@media (max-width: 575px) {
    .rp-overview-card {
        padding: 32px 22px;
    }
    .rp-grid {
        grid-template-columns: 1fr;
    }
    .rp-who-item {
        flex: 1 1 100%;
    }
    .rp-guide-grid {
        grid-template-columns: 1fr;
    }
    .rp-benefit-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .rp-cta-inner {
        padding: 40px 24px;
    }
}