@font-face {
    font-family: "HelveticaNeueCyr";
    src: url('../fonts/helveticaneuecyr-roman.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "HelveticaNeueCyr";
    src: url('../fonts/helveticaneuecyr-medium1.ttf') format('truetype');
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: "HelveticaNeueCyr";
    src: url('../fonts/helveticaneuecyr-heavy.ttf') format('truetype');
    font-style: normal;
    font-weight: 900;
}

::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none;
}

/*(Firefox)*/
html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html, body {
    font-family: "HelveticaNeueCyr", sans-serif;
    font-size: 14px;
    font-weight: 400;
}

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

*,
*::before,
*::after {
    font-family: inherit;
    color: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    margin: 0 auto;
    width: 350px;
    height: 600px;
    max-width: 350px;
    max-height: 600px;
    background: #fff;
    color: #000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}

.display-none {
    display: none !important;
}

a {
    transition: 0.5s ease;
}

a:not(.disabled):hover {
    transition: 0.5s ease;
}

.link-underline {
    text-decoration: underline;
}

.container {
    max-width: 446px;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.disabled {
    cursor: default !important;
    opacity: 0.2;
    pointer-events: none;
}

.btn {
    width: 100%;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    cursor: pointer;
    transition: 0.5s ease;

    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -0.01em;
    padding: 16px;
}

.btn:hover {
    transition: 0.5s ease;
}

.btn:disabled {
    cursor: default;
}

.btn--one {
    color: #fff;
    background: #0e0e0e;
    padding: 20px;
    text-align: center;
    font-weight: 900;
    font-size: 18px;
    border-radius: 28px;
}

.btn--one:not(:disabled):hover {

}

.btn--one:disabled {
    background: #f3f3f3;
    color: #afafad;
}

.btn--two {
    color: #0e0e0e;
    font-weight: 900;
    font-size: 18px;
    text-align: center;
    border: 1px solid #0e0e0e;
    border-radius: 28px;
    background: transparent;
}

.btn--two:not(:disabled):hover {

}

.btn--three {
    background: #4459ff;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -0.01em;
    text-align: center;
    color: #fff;
}

.btn--three:disabled {
    background: #a0aaff;
}

.btn:disabled {
    cursor: not-allowed;
}

.fade-in {
    display: inline;
    animation: fadeIn 0.3s forwards;
}

.fade-out {
    animation: fadeOut 0.3s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.input {
    border: 1px solid #e4e4e4;
    border-radius: 8px;
    padding: 12px 8px;
    background: #fff;
    font-weight: 400;
    font-size: 16px;
    line-height: 80%;
    color: #121314;
}

.input::placeholder {
    font-weight: 400;
    font-size: 14px;
    line-height: 114%;
    color: #939393;
}

.input:focus {
    outline: none;
}

.input--error {
    border: 1px solid #fe5c5c !important;
}

.home {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 600px;

    padding: 0;
}

.home__logo {
    height: 354px;
}

.home__logo video {
    height: 354px;
    max-width: 350px;
}

.home__title {
    font-weight: 900;
    font-size: 24px;
    text-align: center;
    color: #0e0e0e;
    line-height: 100%;
    margin-bottom: 11px;
}

.home__desc {
    margin-bottom: 41px;
    font-weight: 400;
    font-size: 13px;
    text-align: center;
    color: #858585;

    line-height: 100%;

    display: flex;
    align-items: center;
    gap: 4px;
}

.home__btns {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 320px;
    width: 100%;
    padding-bottom: 28px;
}

.home__btns .btn {
    width: 100%;
    height: 57px;
}

.header {
    padding: 24px 15px;
    border-bottom: 1px solid #e6e6e6;
    display: flex;
    align-items: center;
    width: 100%;
    height: 63px;
}

.header__title {
    margin-left: 22px;
    font-weight: 500;
    font-size: 16px;
    color: #0e0e0e;
}

.back-btn {
    min-width: 24px;
    min-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    max-width: max-content;
    padding: 0;
}

.back-btn:hover {
    background: #F3F3F3;
}

.first-screen {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}