.three-ways-rows {
    border-top: 1px solid var(--row-line);
}

.three-ways-row {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto;
    align-items: center;
    gap: 24px;
    padding-block: clamp(22px, 2.4vw, 34px);
    border-bottom: 1px solid var(--row-line);
    color: inherit;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.three-ways-title {
    font-size: clamp(30px, 3.4vw, 50px);
    font-weight: var(--h2-w);
    line-height: 1;
    letter-spacing: var(--tracking-h2);
}

.three-ways-description {
    color: var(--row-sub);
}

.three-ways-arrow {
    width: 34px;
    height: 34px;
    color: var(--accent-ink);
}

.three-ways-row:is(:hover, :focus-visible) .three-ways-title {
    color: var(--accent-ink);
}

.three-ways-row:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: -2px;
}

@media (max-width: 860px) {
    .three-ways-row {
        grid-template-columns: minmax(0, 1fr) auto;
        row-gap: 8px;
    }

    .three-ways-description {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .three-ways-arrow {
        grid-column: 2;
        grid-row: 1;
    }
}
