.root {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-64, 64px) 0;
}

.container {
    width: 100%;
    min-width: fit-content;
    max-width: 1080px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 48px;
    padding: 0 5vw;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: var(--spacing-20);
    text-align: center;
    width: 100%;
    max-width: 940px;
}

.description {
    max-width: 570px;
}

.dot {
    height: var(--spacing-16, 16px);
    width: var(--spacing-16, 16px);
    color: var(--color-text-primary-disabled);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.tableContainer {
    width: 100%;
    background-color: var(--color-bg-neutral-light);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-24, 24px) 2vw;
    padding-left: 0;
    padding-bottom: 0;
}

.table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    position: relative;
    text-align: center;
}

.alternativeHeaderCell, .featuredHeaderCell {
    padding: 2vw;
    padding-bottom: 2vw;
    height: 137px;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    margin: 1vw;
    margin-bottom: 0;
}

.featuredHeaderCell {
    border-radius: var(--border-radius-md);
    background: linear-gradient(0deg, #7A87A6 0%, #496E8D 16%, #195675 33%, #13435B 50%, #0E3041 66%, #081D27 83%, #000 100%);
    color: var(--color-solar-200);
}

.alternativeCol, .featuredCol {
    padding-right: 0;
    padding-bottom: 32px;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 99; /* Use a large span so this subgrid column covers (effectively) all parent rows.
       If the parent grid ever has more than 99 rows, increase this value to match. */
}

.alternativeCol:not(.featuredCol) {
    border-top: 1px solid transparent;
}

.featuredCol {
    background-color: var(--color-bg-base-light);
    border: 1px solid var(--color-indigo-300);
    box-shadow: 0 44px 12px 0 rgba(0, 0, 0, 0.00), 0 28px 11px 0 rgba(0, 0, 0, 0.01), 0 16px 10px 0 rgba(0, 0, 0, 0.02), 0 7px 7px 0 rgba(0, 0, 0, 0.04), 0 2px 4px 0 rgba(0, 0, 0, 0.04);
    border-radius: var(--border-radius-lg);
}

.alternativeContent, .featuredContent {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: var(--spacing-8, 8px);
    padding: var(--spacing-24, 24px) 1vw;
    border-bottom: 1px solid var(--color-bg-fill-alpha-black-10);
    text-wrap: pretty;

    &:last-child {
        border-bottom: none;
    }
}

.featuredContent {
    padding-left: 0;
}

.featuredTitle, .alternativeTitle {
    align-self: flex-start;
}

.featuredTitle, .featuredDescription, .alternativeTitle, .alternativeDescription {
    padding-inline: 3vw;
    width: 100%;
}




.featuredDescription, .alternativeDescription {
    color: var(--color-text-secondary);
}

.rowDescriptionContainer {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ctaContainer {
    padding: var(--spacing-24, 24px) 2vw;
    padding-right: 0;
}

.ctaBlock {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-16, 16px);
    background-color: var(--color-bg-base-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-24, 24px) 2.22vw;
}

.ctaButton {
    flex-shrink: 0;
}

.hideMobile {
    display: none;
}

@media (width <= 1024px) {
    .header {
        gap: 16px;
    }
    .header h2 {
        font-size: var(--font-size-display-sm);
    }
}

@media (width <= 820px) {
    .header h2 {
        font-size: var(--font-size-display-xs);
    }
}

@media (min-width: 769px) {
    .hideMobile {
        display: block;
    }
}

.hideDesktop {
    display: block;
}

@media (min-width: 769px) {
    .hideDesktop {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 2vw;
        gap: var(--spacing-40, 40px);
    }
    .header {
        gap: var(--spacing-16, 16px);
    }
    .title {
        padding: 4rem;
    }
    .featuredTitle, .alternativeTitle {
        color: var(--color-text-secondary);
    }
    .activeDot, .activeTitle {
        color: var(--color-text-primary);
    }
    .ctaContainer {
        padding: 0;
    }
    .ctaBlock {
        flex-direction: column;
        align-items: center;
        background-color: transparent;
        padding: var(--spacing-24, 24px) 32px;
    }
    .ctaText {
        text-align: center;
        text-wrap: pretty;
    }
}

/* Tooltip */

.tooltip {
    padding: var(--spacing-24, 24px);
    background-color: var(--color-bg-base-light);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.10), 0 8px 10px -6px rgba(0, 0, 0, 0.10);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-16, 16px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: fit-content;
    z-index: 1000;
}

.tooltipOpening {
    animation: slideInDown 0.25s ease-in-out forwards;
}

.tooltipClosing {
    animation: slideOutUp 0.25s ease-in-out forwards;
}

.tooltipHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tooltipDescription {
    text-align: left;
}

.closeButtonWrapper {
    appearance: none;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: inherit;
}

.closeIcon {
    width: var(--spacing-28, 28px);
    height: var(--spacing-28, 28px);
    padding-inline: 8px;
    color: inherit;
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}