.cx-market {
    color: #102f41;
    background: #fff;
    font-family: inherit;
    --market-ink: #102f41;
    --market-accent: #27357b;
}

.cx-market-wrap {
    width: min(calc(100% - 64px), 1190px);
    margin-inline: auto;
}

.cx-market-hero {
    padding: clamp(56px, 8vw, 118px) 0;
    background: linear-gradient(125deg, #f4f9fa 0%, #e9f3f6 100%);
}

.cx-market-hero-grid, .cx-market-terms-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 6vw, 88px);
}

.cx-market-type {
    margin: 0 0 18px;
    color: #27357b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.cx-market h1, .cx-market h2, .cx-market h3 {
    color: var(--market-ink);
}

.cx-market h1 {
    margin: 0 0 22px;
    font-size: clamp(42px, 6vw, 78px);
    line-height: 1.05;
    letter-spacing: -.055em;
    overflow-wrap: break-word;
}

.cx-market-lead {
    max-width: 38ch;
    margin: 0;
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.6;
}

.cx-market-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.cx-market-button {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 11px 20px;
    border: 1px solid var(--market-accent);
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
}

.cx-market-button-primary, .cx-market-button-primary:visited {
    color: #fff;
    background: var(--market-accent);
}

.cx-market-button-secondary, .cx-market-button-secondary:visited {
    color: var(--market-accent);
    background: #fff;
}

.cx-market-button-primary:hover {
    color: #fff;
    background: #1e2a63;
}

.cx-market-button-secondary:hover {
    color: var(--market-accent);
    background: #f1f3fa;
}

.cx-market-button:focus-visible {
    outline: 3px solid #126d9a;
    outline-offset: 4px;
}

.cx-market-status {
    margin: 16px 0 0;
    color: #395464;
    font-size: 15px;
}

.cx-market-hero-image {
    position: relative;
    overflow: hidden;
    min-width: 0;
    margin: 0;
    aspect-ratio: 5 / 4;
    border-radius: 23px;
    background: #d9e8ee;
}

.cx-market-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
}

.cx-market-flow {
    padding-block: clamp(48px, 7vw, 88px);
    scroll-margin-top: 120px;
}

.cx-market h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 47px);
    letter-spacing: -.04em;
    line-height: 1.14;
}

.cx-market-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 34px);
    margin: 30px 0 0;
    padding-left: 0;
    list-style-position: inside;
}

.cx-market-steps li {
    padding: 22px 18px 20px;
    border-top: 2px solid #98d8eb;
    background: #f6fafb;
}

.cx-market-steps li::marker {
    color: #27357b;
    font-weight: 700;
}

.cx-market-steps h3 {
    display: inline;
    margin: 0;
    font-size: 19px;
}

.cx-market-steps p, .cx-market-terms p {
    margin: 10px 0 0;
    font-size: 17px;
    line-height: 1.65;
}

.cx-market-terms {
    padding: 45px 0 50px;
    background: #eaf4f7;
}

.cx-market-terms p {
    margin: 0;
}

@media (max-width: 760px) {
    .cx-market-wrap {
        width: calc(100% - 38px);
    }

    .cx-market-hero-grid, .cx-market-terms-grid, .cx-market-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .cx-market-hero-image {
        max-height: 420px;
    }
}
