html.investment-notice-open,
html.investment-notice-open body {
    overflow: hidden;
}

.investment-notice {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    width: 471px;
    max-width: calc(100% - 32px);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 58px 50px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    border-radius: 24px;
    box-shadow: 0 24px 60px #00000026;
    background: #fff;
    color: #080808;
    text-align: center;
}

.investment-notice:not([open]) {
    display: none;
}

.investment-notice::backdrop {
    background: rgba(0, 0, 0, 0.4);
}

.investment-notice[open] {
    animation: investment-notice-enter 320ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.investment-notice[open]::backdrop {
    animation: investment-notice-backdrop-enter 320ms ease-out both;
}

.investment-notice.is-closing {
    animation: investment-notice-leave 180ms ease-in both;
}

.investment-notice.is-closing::backdrop {
    animation: investment-notice-backdrop-leave 180ms ease-in both;
}

@keyframes investment-notice-enter {
    from { opacity: 0; transform: translateY(18px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes investment-notice-leave {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(8px) scale(0.98); }
}

@keyframes investment-notice-backdrop-enter {
    from { background: rgba(0, 0, 0, 0); }
    to { background: rgba(0, 0, 0, 0.4); }
}

@keyframes investment-notice-backdrop-leave {
    from { background: rgba(0, 0, 0, 0.4); }
    to { background: rgba(0, 0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .investment-notice[open],
    .investment-notice[open]::backdrop {
        animation: none;
    }
}

.investment-notice .investment-notice__logo {
    display: block;
    width: 105px;
    height: auto;
    margin: 0 auto 40px;
}

.investment-notice .investment-notice__title {
    margin: 0;
    padding: 0;
    font-family: 'Roboto Medium', Arial, sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 26px;
    letter-spacing: normal;
    text-transform: none;
    color: #080808;
}

.investment-notice__title::after {
    content: '';
    display: block;
    width: 39px;
    height: 2px;
    margin: 10px auto 14px;
    background: #58af2b;
}

.investment-notice .investment-notice__description {
    margin: 0;
    padding: 0;
    color: #606060;
    font-family: 'Roboto Light', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: normal;
    text-transform: none;
}

.investment-notice__actions {
    margin: 34px 0 0;
}

.investment-notice .investment-notice__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    width: 132px;
    height: 51px;
    padding: 0;
    border: 2px solid #606060;
    border-radius: 0;
    background: #fff;
    color: #555;
    font-family: 'Roboto Regular', Arial, sans-serif;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

.investment-notice__close span {
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.investment-notice .investment-notice__close:hover {
    color: #00703c;
    border-color: #00703c;
}

.investment-notice .investment-notice__close:focus-visible {
    outline: 2px solid #00703c;
    outline-offset: 4px;
}

@media (max-width: 480px), (max-height: 620px) {
    .investment-notice {
        padding: 32px 24px;
    }

    .investment-notice .investment-notice__logo {
        margin-bottom: 26px;
    }

    .investment-notice .investment-notice__title {
        font-size: 22px !important;
    }

    .investment-notice__actions {
        margin-top: 26px;
    }
}
