.casey-payment {
    --cp-green: #2bc52f;
    --cp-green-dark: #1f9f27;
    --cp-navy: #1e2d44;
    --cp-text: #1e2d44;
    --cp-muted: #71829d;
    --cp-line: #e1e8ef;
    --cp-soft: #eefbf0;
    color: var(--cp-text);
    font-family: inherit;
}

.block:has(.casey-payment) > .block__header { display: none; }
.block:has(.casey-payment) > .block--boxed { padding: 0; border: 0; background: transparent; box-shadow: none; }
.block:has(.casey-payment) > .block--boxed > .block__description { margin: 0; }

.casey-payment *, .casey-payment *::before, .casey-payment *::after { box-sizing: border-box; }
.casey-payment h1, .casey-payment h2, .casey-payment p { margin-top: 0; }

.casey-payment__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 78px;
    gap: 20px;
    align-items: center;
    min-height: 0;
    padding: 25px 30px;
    border: 1px solid #d5ead8;
    border-radius: 24px;
    background: linear-gradient(120deg, #f5fff5 0%, #edf9ef 100%);
}

.casey-payment__eyebrow, .casey-payment__section-label {
    margin-bottom: 8px;
    color: var(--cp-green-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
}

.casey-payment__title {
    max-width: 760px;
    margin-bottom: 10px;
    color: var(--cp-navy);
    font-size: clamp(28px, 2.3vw, 40px) !important;
    font-weight: 800;
    line-height: 1.08 !important;
}

.casey-payment__lead {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--cp-muted);
    font-size: 16px !important;
    line-height: 1.45 !important;
}

.casey-payment__hero-icon {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: 20px;
    background: var(--cp-navy);
    box-shadow: 0 22px 46px rgba(30,45,68,.18);
    font-size: 30px;
}

.casey-payment__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 24px;
}

.casey-payment__card, .casey-payment__methods-main, .casey-payment__steps-panel {
    padding: clamp(26px, 3vw, 42px);
    border: 1px solid var(--cp-line);
    border-radius: 26px;
    background: #fff;
}

.casey-payment__card-icon {
    display: grid;
    width: 68px;
    height: 68px;
    margin-bottom: 28px;
    place-items: center;
    border-radius: 20px;
    background: var(--cp-soft);
    font-size: 30px;
}

.casey-payment__card h2, .casey-payment__methods h2, .casey-payment__process h2, .casey-payment__important h2 {
    margin-bottom: 14px;
    color: var(--cp-navy);
    font-size: clamp(24px, 2.2vw, 34px);
    font-weight: 750;
    line-height: 1.2;
}

.casey-payment__card p, .casey-payment__methods p, .casey-payment__process p, .casey-payment__important p {
    margin-bottom: 0;
    color: var(--cp-muted);
    font-size: 18px;
    line-height: 1.65;
}

.casey-payment__methods, .casey-payment__process {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, .75fr);
    gap: 22px;
    margin-top: 24px;
}

.casey-payment__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.casey-payment__pills span {
    padding: 12px 18px;
    border: 1px solid #cae8ce;
    border-radius: 999px;
    background: var(--cp-soft);
    color: var(--cp-green-dark);
    font-size: 15px;
    font-weight: 750;
}

.casey-payment__security, .casey-payment__notice {
    padding: clamp(28px, 3.5vw, 48px);
    border-radius: 26px;
    background: var(--cp-navy);
    color: #fff;
}

.casey-payment__security-icon { margin-bottom: 26px; font-size: 42px; }
.casey-payment__security h2, .casey-payment__notice h2 { color: #fff; }
.casey-payment__security p, .casey-payment__notice p { color: #c9d4e3; }
.casey-payment__security a, .casey-payment__important a {
    display: inline-block;
    margin-top: 24px;
    color: #61e267;
    font-size: 17px;
    font-weight: 750;
    text-decoration: none;
}

.casey-payment__steps { display: grid; gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.casey-payment__steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: center; }
.casey-payment__steps span {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 16px;
    background: var(--cp-soft);
    color: var(--cp-green-dark);
    font-size: 20px;
    font-weight: 800;
}

.casey-payment__notice p + p { margin-top: 18px; }

.casey-payment__important {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 24px;
    padding: clamp(28px, 3.5vw, 48px);
    border: 1px solid #d7ead9;
    border-radius: 26px;
    background: linear-gradient(120deg, #f8fff8, #eef9f0);
}

@media (max-width: 991px) {
    .casey-payment__hero { grid-template-columns: minmax(0, 1fr) 66px; gap: 16px; padding: 22px 24px; }
    .casey-payment__hero-icon { width: 62px; height: 62px; border-radius: 18px; font-size: 26px; }
    .casey-payment__cards { grid-template-columns: 1fr; }
    .casey-payment__methods, .casey-payment__process { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
    .casey-payment__hero { grid-template-columns: minmax(0, 1fr) 50px; gap: 10px; padding: 17px 15px; border-radius: 20px; }
    .casey-payment__hero-icon { width: 48px; height: 48px; border-radius: 14px; font-size: 21px; }
    .casey-payment__eyebrow { font-size: 11px; }
    .casey-payment__title { font-size: 25px !important; }
    .casey-payment__lead { font-size: 14px !important; }
    .casey-payment__cards, .casey-payment__methods, .casey-payment__process { gap: 14px; margin-top: 14px; }
    .casey-payment__card, .casey-payment__methods-main, .casey-payment__steps-panel, .casey-payment__security, .casey-payment__notice { padding: 22px; border-radius: 21px; }
    .casey-payment__card-icon { width: 56px; height: 56px; margin-bottom: 20px; border-radius: 16px; font-size: 25px; }
    .casey-payment__card p, .casey-payment__methods p, .casey-payment__process p, .casey-payment__important p { font-size: 16px; }
    .casey-payment__important { grid-template-columns: 1fr; gap: 28px; margin-top: 14px; padding: 24px 22px; border-radius: 21px; }
    .casey-payment__steps li { grid-template-columns: 44px minmax(0, 1fr); gap: 13px; }
    .casey-payment__steps span { width: 44px; height: 44px; border-radius: 14px; }
}