:root {
    --animo-color-bg: #FFF;
    --animo-color-bg-tint: #F7F7F7;
    --animo-color-border: #DDD;
    --animo-color-link: #666;
    --animo-color-link-hover: #000;
    --animo-color-text: #666;
    --animo-color-text-hc: #000;
    --animo-color-text-lc: #AAA;
    --animo-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --animo-font-size-xs: .75rem;
    --animo-font-size-s: .875rem;
    --animo-font-size-m: 1rem;
    --animo-font-size-l: 1.25rem;
}

/**
 * Index
 */

.animo-index {
    color: var(--animo-color-text);
    font-family: var(--animo-font);
    font-size: 16px;
}

.animo-index__companies {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: center;
    list-style: none;
    margin: 0 0 2em 0;
    padding: 0;
}

.animo-index__company {
    background: var(--animo-color-bg);
    border-radius: 1em;
    box-shadow: 0 0 0 1px var(--animo-color-border);
    display: flex;
    gap: 1em;
    flex: 0 1 100%;
    flex-direction: column;
    padding: 1.5em;
    text-align: center;
}

.animo-index__companyFlex {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1em;
}

.animo-index__companyAvatars {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.animo-index__companyAvatar,
.animo-index__companyRemaining {
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--animo-color-bg);
    height: 2.25rem;
    width: 2.25rem;

    &:not(:first-child) {
        margin-left: -.33rem;
    }
}

.animo-index__companyRemaining {
    align-items: center;
    background: var(--animo-color-bg-tint);
    display: flex;
    font-size: var(--animo-font-size-s);
    font-weight: 500;
    justify-content: center;
    line-height: 1;
    padding: 0;
    text-indent: -3px;
}

.animo-index__companyLogoLink {
    display: block;
    padding: 0 1em;
}

.animo-index__companyLogo {
    aspect-ratio: 16/9;
    display: block;
    margin: 0 auto;
    max-width: 160px;
    object-fit: contain;
    object-position: center;
}

.animo-index__companyName {
    font-size: 1.25em;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;

    a {
        color: var(--animo-color-text-hc);
        text-decoration: none;
    }
}

.animo-index__companyLogoLink + .animo-index__companyName {
    display: none;
}

.animo-index__companyTagline {
    font-size: var(--animo-font-size-s);
    line-height: 1.5;
    margin: 0;
}

.animo-index__companyFooter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.animo-index__companyFooterCtas {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.animo-index__footer {
    margin-top: auto;
    text-align: center;
}

.animo-index__poweredBy {
    display: inline-block;
    max-width: 180px;
    mix-blend-mode: difference;
}

@media (min-width: 768px) {
    .animo-index__company {
        flex: 0 1 256px;
    }
}

/**
 * Popout
 */

@keyframes animo-popout-menu-down {
    from {
        transform: translate3d(-50%, -8px, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes animo-popout-menu-up {
    from {
        transform: translate3d(-50%, 8px, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

.animo-popout {
    appearance: none;
    background: #FFF;
    border: 1px solid var(--animo-color-border);
    border-radius: .5rem;
    box-shadow: 0 2px 2px rgba(0, 0, 0, .05);
    color: #000;
    cursor: pointer;
    font-family: var(--animo-font-1);
    height: 2.25rem;
    padding: 1px 1em;
    position: relative;
    width: 100%;
}

.animo-popout:hover {
    background: var(--animo-color-bg-tint);
}

.animo-popout:active {
    padding-bottom: 0;
    padding-top: 2px;
}

.animo-popout:disabled {
    /* background-color: var(--animo-color-bg-tint); */
    cursor: not-allowed;
}

.animo-popout:disabled > .animo-popout__label {
    color: var(--animo-color-text-lc);
}

.animo-popout[aria-expanded=true] {
    .animo-popout__menu {
        display: block !important;
    }
}

.animo-popout__label {
    color: var(--animo-color-text-hc);
    display: flex;
    align-items: center;
    gap: .5em;
    justify-content: center;
    font-size: var(--animo-font-size-s);
    font-weight: 500;
    line-height: 1;
}

.animo-popout__menu {
    animation: animo-popout-menu-up both 125ms ease-out;
    background: #FFF;
    border-radius: .5rem;
    bottom: calc(100% + 8px);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, .075),
        0 .5em 2em rgba(0, 0, 0, .15);
    display: none;
    font-size: .875rem;
    left: 50%;
    max-height: 16rem;
    overflow: auto;
    padding: 0;
    position: absolute;
    text-align: left;
    transform: translate3d(-50%, 0, 0);
    width: 100%;
    z-index: 1000;
}

.animo-popout__menuItem {
    color: var(--animo-color-text-hc);
    display: flex;
    flex-direction: column;
    font-weight: 500;
    gap: .25rem;
    line-height: 1.5;
    padding: .75rem 1rem;
    text-decoration: none !important;
}

.animo-popout__menuItem:focus-visible,
.animo-popout__menuItem:hover {
    background-color: var(--animo-color-bg-tint);
    outline: none;
}

.animo-popout__menuItem:not(:first-child) {
    border-top: 1px solid var(--animo-color-border);
}

.animo-popout.is-menuBottom .animo-popout__menu {
    animation: animo-popout-menu-down both 125ms ease-out;
    bottom: auto;
    top: calc(100% + 8px);
}

/**
 * Meeting Type
 */

.animo-meetingType__duration {
    color: var(--animo-color-text-lc);
    font-weight: 400;
    white-space: nowrap;
}

.animo-meetingType__description {
    color: var(--animo-color-text);
    font-weight: 400;
    margin: 0;
}

/**
 * Goodie Bag
 */

.animo-goodieBag__company {
    overflow: hidden;
}

.animo-goodieBag__promos {
    margin: 0 -1.5rem -1.5rem -1.5rem;
    text-align: left;
}

.animo-goodieBag__promo {
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: .25rem;
    text-decoration: none;
    padding: .75rem 1.5rem;
}

.animo-goodieBag__promo:hover {
    background: var(--animo-color-bg-tint);
}

.animo-goodieBag__title {
    color: var(--animo-color-text-hc);
    font-weight: 500;
}

.animo-goodieBag__validUntil {
    color: var(--animo-color-text-lc);
    font-size: var(--animo-font-size-xs);
}

.label {
    background: var(--color-gray-tint);
    border-radius: .75rem;
    color: var(--color-text-light);
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 500;
    line-height: 2em;
    padding: 0 1em;
    user-select: none;
}

.label--danger {
        background: var(--color-danger-tint);
        color: var(--color-danger);
    }