.sell-lego {
    padding-top: 2.75rem;
    padding-bottom: 2rem;
    color: #101c4b;
    overflow-wrap: break-word;
}

.sell-lego h1,
.sell-lego h2,
.sell-lego h3,
.sell-lego p {
    margin: 0;
}

.sell-lego h1 {
    font-size: clamp(2.25rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.035em;
}

.sell-lego h2 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.025em;
}

.sell-lego h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.02em;
}

.sell-lego [hidden] {
    display: none !important;
}

.sell-lego__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr);
    gap: 2rem;
    align-items: center;
    padding: 1.5rem 2.25rem;
    border-radius: 10px;
    background: #f6f8fc;
}

.sell-lego__hero-copy {
    min-width: 0;
}

.sell-lego .sell-lego__eyebrow {
    margin-bottom: .85rem;
    color: #164bbc;
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.sell-lego__hero-art {
    min-width: 0;
    border-radius: 10px;
    background: #fff;
}

.sell-lego__hero-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 11rem;
    object-fit: contain;
}

.sell-lego__section {
    margin-top: 2.25rem;
}

.sell-lego__pathways {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.sell-lego__pathway {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .65rem;
    min-width: 0;
    min-height: 44px;
    padding: 1.5rem;
    border: 1px solid #dfe5ee;
    border-radius: 10px;
    background: #fff;
    color: #101c4b;
    text-align: left;
    text-decoration: none;
}

.sell-lego__pathway:hover {
    background: #f6f8fc;
    color: #101c4b;
    text-decoration: none;
}

.sell-lego__pathway[aria-pressed="true"] {
    border-color: #164bbc;
    background: #eef3ff;
    box-shadow: inset 0 0 0 1px #164bbc;
}

.sell-lego__pathway-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    margin-bottom: .25rem;
    color: #164bbc;
}

.sell-lego__pathway-title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.02em;
}

.sell-lego__pathway-description {
    color: #52627b;
    font-size: .9375rem;
    line-height: 1.6;
}

.sell-lego__pathway-link {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: auto;
    padding-top: .4rem;
    color: #164bbc;
    font-size: .8125rem;
    font-weight: 600;
}

.sell-lego__pathway-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.sell-lego__details {
    margin-top: 1.25rem;
    padding: 2rem;
    border: 1px solid #dfe5ee;
    border-radius: 10px;
    background: #fff;
    scroll-margin-top: 7rem;
}

.sell-lego__detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 2rem;
}

.sell-lego .sell-lego__detail-intro {
    margin-top: .6rem;
    color: #52627b;
    font-size: .9375rem;
    line-height: 1.65;
}

.sell-lego__requirements {
    display: grid;
    gap: .85rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.sell-lego__requirements li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    color: #52627b;
    font-size: .9375rem;
    line-height: 1.6;
}

.sell-lego__requirements li::before {
    content: "\2713";
    flex: 0 0 18px;
    color: #267354;
    font-weight: 700;
}

.sell-lego__requirements .sell-lego__exclusion::before {
    content: "\2212";
    color: #52627b;
}

.sell-lego .sell-lego__note {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #dfe5ee;
    color: #52627b;
    font-size: .875rem;
    line-height: 1.65;
}

.sell-lego__next-step {
    align-self: start;
    min-width: 0;
    padding: 1.5rem;
    border-radius: 8px;
    background: #f6f8fc;
}

.sell-lego__next-step .sell-lego__next-label {
    margin: 0 0 .65rem;
    color: #164bbc;
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sell-lego__next-step h3 {
    font-size: 1.125rem;
}

.sell-lego__next-step p {
    margin-top: .75rem;
    color: #52627b;
    font-size: .9375rem;
    line-height: 1.65;
}

.sell-lego__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-height: 44px;
    padding: .75rem 1rem;
    border: 1px solid transparent;
    border-radius: 5px;
    background: #101c4b;
    color: #fff;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
}

.sell-lego__button:hover {
    background: #243c75;
    color: #fff;
    text-decoration: none;
}

.sell-lego__button svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.sell-lego__next-step .sell-lego__button {
    margin-top: 1.25rem;
}

.sell-lego__visit-address {
    margin: 1.25rem 0 0;
    font-size: .9375rem;
    font-style: normal;
    line-height: 1.8;
}

.sell-lego__text-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 44px;
    color: #164bbc;
    font-size: .875rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sell-lego__text-link:hover {
    color: #101c4b;
}

.sell-lego__text-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.sell-lego__next-step .sell-lego__text-link {
    margin-top: .5rem;
}

.sell-lego__other {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.75rem;
}

.sell-lego__other h2,
.sell-lego__other h3 {
    font-size: 1.0625rem;
}

.sell-lego__other p {
    margin-top: .35rem;
    color: #52627b;
    font-size: .9375rem;
    line-height: 1.6;
}

.sell-lego a:focus-visible,
.sell-lego button:focus-visible {
    outline: 3px solid #164bbc;
    outline-offset: 4px;
}

@media (max-width: 991px) {
    .sell-lego__hero {
        gap: 1.5rem;
        padding: 1.25rem 1.75rem;
    }

    .sell-lego__pathway {
        padding: 1.25rem;
    }

    .sell-lego__detail-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .sell-lego__details {
        padding: 1.75rem;
    }
}

@media (max-width: 767px) {
    .sell-lego {
        padding-top: 2rem;
    }

    .sell-lego__hero {
        grid-template-columns: minmax(0, 1fr);
        padding: 1.5rem;
    }

    .sell-lego__hero-art {
        display: none;
    }

    .sell-lego__pathways {
        grid-template-columns: minmax(0, 1fr);
        gap: .85rem;
    }

    .sell-lego__pathway {
        display: grid;
        grid-template-columns: 30px minmax(0, 1fr);
        gap: .35rem 1rem;
        padding: 1.25rem;
    }

    .sell-lego__pathway-icon {
        grid-row: 1 / 4;
    }

    .sell-lego__pathway-title,
    .sell-lego__pathway-description,
    .sell-lego__pathway-link {
        grid-column: 2;
    }

    .sell-lego__details {
        padding: 1.5rem;
    }

    .sell-lego__next-step {
        padding: 1.25rem;
    }

}
