.swap-intro {
    max-width: 46rem;
}

.swap-intro p {
    color: var(--ink-1);
    font-size: .95rem;
    line-height: 1.65;
    margin: 0 0 .85rem;
}

.swap-intro p:last-child {
    margin-bottom: 0;
}

.swap-why.section,
.swap-assets.section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.page-section:has(.swap-widget-wrap),
.page-section:has(.swap-widget-wrap) .container {
    flex: 0 0 auto;
}

.page-section:has(.swap-widget-wrap) .container {
    display: block;
}

.page-section:has(.swap-widget-wrap) {
    padding-bottom: 1.25rem;
}

.swap-widget-wrap {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    line-height: 0;
}

.swap-widget-wrap iframe {
    display: block;
    width: 100%;
    height: 205px;
    border: 0;
    background: transparent;
}

.swap-widget-wrap iframe.is-vertical {
    height: 356px;
}

.swap-assets-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .75rem;
}

.swap-asset-chip {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .75rem .85rem;
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.swap-asset-mark {
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(243, 186, 47, .12);
    color: var(--gold);
    font-size: .85rem;
    font-weight: 700;
}

.swap-asset-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

.swap-asset-symbol {
    color: var(--ink-0);
    font-weight: 600;
    font-size: .92rem;
}

.swap-asset-label {
    color: var(--ink-2);
    font-size: .75rem;
}

.swap-faq.section {
    padding-top: 2.25rem;
    padding-bottom: 2.5rem;
}

@media (max-width: 991.98px) {
    .swap-assets-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .swap-widget-wrap {
        max-width: 100%;
    }

    .page-section:has(.swap-widget-wrap) {
        padding-bottom: 1rem;
    }

    .swap-faq.section {
        padding-top: 1.75rem;
    }

    .swap-assets-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
