.ocf-how-we-work {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--ocf-bg-dark);
    color: var(--ocf-body-alt);
}

.ocf-how-we-work::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 14% 18%, color-mix(in srgb, var(--ocf-accent) 28%, transparent) 0, transparent 28rem),
        linear-gradient(135deg, color-mix(in srgb, var(--ocf-accent) 18%, transparent), transparent 46%);
    opacity: 0.9;
}

.ocf-how-we-work__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 6vw, 4.5rem);
    align-items: start;
}

.ocf-how-we-work .eyebrow {
    color: var(--ocf-label-alt);
}

.ocf-how-we-work .heading-section {
    color: var(--ocf-heading-alt);
    max-width: 12ch;
}

.ocf-how-we-work__text {
    max-width: 58ch;
    margin: 1.25rem 0 0;
    color: var(--ocf-body-alt);
    font-size: var(--text-lg);
}

.ocf-how-we-work__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem 1.1rem;
    margin-top: clamp(1.5rem, 3vw, 2rem);
}

.ocf-how-we-work .btn-primary {
    background: var(--ocf-heading-alt);
    color: var(--ocf-heading);
}

.ocf-how-we-work .btn-primary:hover {
    background: color-mix(in srgb, var(--ocf-heading-alt) 88%, var(--ocf-secondary));
    color: var(--ocf-heading);
}

.ocf-how-we-work__phone {
    color: var(--ocf-heading-alt);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--ocf-heading-alt) 34%, transparent);
    text-underline-offset: 0.25em;
}

.ocf-how-we-work__phone:hover {
    text-decoration-color: currentColor;
}

.ocf-how-we-work__steps {
    position: relative;
    display: grid;
    gap: 0.85rem;
}

.ocf-how-step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    padding: clamp(1.1rem, 2.2vw, 1.45rem);
    border: 1px solid var(--ocf-border-alt);
    border-radius: var(--card-radius);
    background: color-mix(in srgb, var(--ocf-heading-alt) 7%, transparent);
    box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.12);
}

.ocf-how-step__number {
    display: inline-grid;
    width: 2.65rem;
    height: 2.65rem;
    place-items: center;
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--ocf-heading-alt) 12%, transparent);
    color: var(--ocf-heading-alt);
    font-size: var(--text-sm);
    font-weight: 800;
    line-height: 1;
}

.ocf-how-step h3 {
    margin: 0 0 0.35rem;
    color: var(--ocf-heading-alt);
    font-size: var(--text-xl);
}

.ocf-how-step p {
    margin: 0;
    color: var(--ocf-body-alt);
}

@media (max-width: 880px) {
    .ocf-how-we-work__grid {
        grid-template-columns: 1fr;
    }

    .ocf-how-we-work .heading-section {
        max-width: 16ch;
    }
}

@media (max-width: 560px) {
    .ocf-how-step {
        grid-template-columns: 1fr;
    }

    .ocf-how-we-work__actions {
        align-items: stretch;
    }

    .ocf-how-we-work .btn-primary {
        width: 100%;
    }
}

/* OCF_AGENT_BLOCK:qa-shadow-fix START */
.ocf-how-step {
    box-shadow: none;
}
/* OCF_AGENT_BLOCK:qa-shadow-fix END */
