*, *:before, *:after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent
}

body {
    font-family: 'Jost', sans-serif;
    margin: 0;
    background-color: #140b1e;
    height: 100dvh;
    color: white;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    flex-direction: column;
    padding: 24px 20px;
    gap: 16px;
    max-width: 768px;

    @media (min-width: 1024px) {
        padding: 54px 20px;
    }
}

.logo {
    margin-bottom: calc(50px - 16px);
    z-index: 1;
    width: 109px;

    @media (min-width: 1024px) {
        margin-bottom: calc(116px - 16px);
        width: 200px;
    }
}

.image {
    width: 164px;

    @media (min-width: 1024px) {
        width: 240px;
    }
}

.text {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;

    @media (min-width: 1024px) {
        align-items: center;
        gap: 8px;
    }
}

img {
    z-index: 1;
}

h1 {
    color: #81FFFF;
    text-align: center;
    font-family: 'Jost', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px; /* 116.667% */
    letter-spacing: -0.24px;
    z-index: 1;

    @media (min-width: 1024px) {
        margin-top: calc(54px - 16px);
        font-size: 32px;
        letter-spacing: -0.32px;
        line-height: 100%;
    }
}

p {
    color: #FFF;
    font-feature-settings: 'clig' off, 'liga' off;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
    z-index: 1;
    margin: 0px;
    text-align: left;

    @media (min-width: 1024px) {
        text-align: center;
        font-size: 16px;
        line-height: 24px;
    }
}

.app-main {
    background-color: var(--page-bg, var(--layer-bg));
    grid-area: app-main;
    min-height: 23.4375rem;
    overflow: hidden;
    padding: var(--padding, 0 0);
    pointer-events: var(--main-pointer-events, initial);
    position: relative;
    z-index: auto;
}

.app-main {
    margin: 0 auto;
    max-width: 141.5rem;
    width: 100%;
}

.not-found {
    display: grid;
    max-width: 43.4375rem;
    grid-gap: 1.6875rem;
    justify-content: center;
    margin: 0 auto;
    position: relative;
}

.not-found--static, .not-found.error-page {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
    width: 100%;
}

.not-found .img {
    max-width: 22.5rem;
    position: absolute;
}

.not-found .title {
    color: var(--text-azure);
    font-size: var(--font-size, 2rem);
    font-weight: var(--font-weight, 700);
    font-weight: 900;
    letter-spacing: var(--letter-spacing, -.32px);
    line-height: var(--line-height, 1);
    text-align: center;
    z-index: 1;
    margin-bottom: 150px;
}

@media (min-width: 64rem) {
    .not-found .title {
        --font-size: 3rem;
        --font-weight: 700;
        --line-height: 1;
        --letter-spacing: -1.44px;
    }
}

.not-found .code {
    color: var(--text-secondary);
    font-size: var(--font-size, 8.75rem);
    font-weight: var(--font-weight, 900);
    justify-self: center;
    letter-spacing: var(--letter-spacing, -2.55px);
    letter-spacing: -10px;
    line-height: var(--line-height, 1);
    margin: 0;
    text-align: center;
    z-index: 1;
}

@media (min-width: 64rem) {
    .not-found .code {
        --font-size: 12.5rem;
        --font-weight: 900;
        --line-height: 1;
        --letter-spacing: 0;
    }
}

.not-found .text {
    color: var(--text-secondary);
    font-size: var(--font-size, 1.25rem);
    font-weight: var(--font-weight, 700);
    font-weight: 400 !important;
    justify-self: center;
    letter-spacing: var(--letter-spacing, 0);
    line-height: var(--line-height, 1.3);
    margin: 0;
    max-width: 30rem;
    text-align: center;
    z-index: 1;
}

.not-found .text--bold {
    font-weight: 700 !important;
}

@media (min-width: 64rem) {
    .not-found .text {
        --font-size: 1.5rem;
        --font-weight: 700;
        --line-height: 1.2;
        --letter-spacing: -0.72px;
    }
}

.icon {
    flex-shrink: 0;
    width: var(--icon-size, 24px);
    height: var(--icon-size, 24px);
    color: var(--color, var(--icon-contrast));
    transition: color .2s ease-in-out;
    fill: transparent;
}
.btn,.btn-ghost,.btn-primary,.btn-secondary {

    --bg: var(--button-bg-primary);
    --color: var(--button-text-primary);
    box-shadow: inset 0 2px #fface899, 0 10px 14px #0000004a;

    border-radius: var(--radius, 12px);
    padding: var(--btn-padding, .5rem 1.5rem);
    grid-column-gap: .25rem;

    display: flex;
    --width: auto;

    align-items: center;
    background: var(--bg, transparent);
    border: var(--border, 0);
    color: var(--color, var(--button-icn-secondary));
    color: var(--color, var(--button-text-ghost-high-contrast));
    display: flex;
    font-family: Jost, sans-serif;
    justify-content: center;
    -webkit-text-decoration: var(--text-decoration, none);
    text-decoration: var(--text-decoration, none);
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
}