.pwa-install-modal[hidden] {
    display: none;
}

.pwa-install-modal {
    align-items: end;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 1rem;
    position: fixed;
    z-index: 100;
}

.pwa-install-backdrop {
    background: rgba(9, 37, 30, .5);
    inset: 0;
    position: absolute;
}

.pwa-install-card {
    background: #fff;
    border: 1px solid #cce4d6;
    border-radius: 1.25rem;
    box-shadow: 0 1.25rem 3.5rem rgba(9, 37, 30, .28);
    max-width: 28rem;
    padding: 1.4rem;
    position: relative;
    width: 100%;
}

.pwa-install-close {
    align-items: center;
    border: 1px solid #d7e8de;
    border-radius: 50%;
    color: #365e4e;
    display: inline-flex;
    font-size: 1.25rem;
    height: 2rem;
    justify-content: center;
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 2rem;
}

.pwa-install-kicker {
    color: #02a66a;
    font-family: 'DM Mono', monospace;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .09em;
    margin: 0 2.5rem .55rem 0;
}

.pwa-install-card h2 {
    color: #10231f;
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1.25;
    margin: 0;
}

.pwa-install-copy {
    color: #547066;
    font-size: .9rem;
    line-height: 1.65;
    margin: .7rem 0 0;
}

.pwa-ios-steps {
    background: #effcf4;
    border-radius: .8rem;
    color: #274b3e;
    font-size: .84rem;
    line-height: 1.6;
    margin: 1rem 0 0;
    padding: .85rem .85rem .85rem 2rem;
}

.pwa-install-actions {
    display: flex;
    gap: .65rem;
    justify-content: flex-end;
    margin-top: 1.15rem;
}

@media (min-width: 768px) {
    .pwa-install-modal {
        align-items: center;
    }
}
