* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}
body {
    font-family: 'Figtree', 'Arial';
    font-size: 16px;
    line-height: 24px;
    margin: 0;
    padding: 0;
    background-color: #411E29;
    color: #efe7da;
    font-weight: 300;
}
main {
    padding-bottom: 80px;
}
.container {
    width: 100%;
    max-width: 1540px;
    margin: auto;
}
.header .container {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #A78465;
    gap: 72px;
    max-width: 98%;
}
.header-nav {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: space-between;
}
.header-menu {
    display: flex;
    gap: 44px;
}
.header-menu a {
    color: #ffffff;
    text-decoration: none;
}
.header-menu a:hover {
    color: #A78465;
    text-decoration: none;
}
.menu-button {
    display: none;
    flex-direction: column;
    gap: 3px;
    cursor: pointer;
}
.menu-button div {
    width: 22px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(135deg, #372B21, #A78D77);
}
.header-buttons {
    display: flex;
    gap: 15px;
}
.button {
    height: 44px;
    padding-left: 40px;
    padding-right: 40px;
    border-radius: 40px;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.button1 {
    border: 1px solid #A78465;
}
.button1:hover {
    background-color: #A78D77;
}
.button2 {
    background: linear-gradient(135deg, #372B21, #A78D77);
}
.button2:hover {
    background: linear-gradient(35deg, #A78D77, #372B21);
}
h1 {
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
}
h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}
h2::after {
    content: '';
    display: block;
    width: 158px;
    height: 5px;
    background-color: #372B21;
    border-radius: 3px;
    margin-top: 12px;
}
h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}
p {
    margin: 1em 0;
}
.footer {
    background-color: #040915;
    min-height: 110px;
    display: flex;
    clear: both;
}
.footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.copyright {
    display: flex;
    align-items: center;
    gap: 12px;
}
.toc {
    margin-bottom: 40px;
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 12px;
    border-left: 1px solid #8762FE;
    border-right: 1px solid #8762FE;
    border-bottom: 1px solid #8762FE;
    border-radius: 0 0 20px 20px;
    background-color: #1B103E;
    padding: 35px;
    font-size: 20px;
}
.toc a {
    color: #ffffff;
    text-decoration: none;
}
.toc a:hover {
    color: #04DAFF;
}
.toc.toc-open {
    display: flex;
}
.toc-btn {
    margin: 40px 0;
    width: 100%;
    height: 69px;
    display: flex;
    align-items: center;
    border-radius: 35px;
    border: 1px solid #8762FE;
    background-color: #1B103E;
    padding-left: 35px;
    padding-right: 35px;
    font-size: 24px;
    cursor: pointer;
    position: relative;
    user-select: none;
}
.toc-btn::after {
    content: '';
    position: absolute;
    right: 35px;
    display: block;
    padding: 5px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    rotate: 135deg;
}
.toc-btn.toc-btn-open {
    margin-bottom: 0;
    border-radius: 20px 20px 0 0;
}
.toc-btn.toc-btn-open::after {
    rotate: -45deg;
}
.tocH3 {
    margin-left: 20px;
    font-size: 18px;
}
.block3 {
    margin: 40px 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    clear: both;
}
.block3item {
    border-radius: 20px;
    border: 1px solid #A78465;
    padding: 20px;
    min-height: 300px;
    background-color: #050A1F;
}
.block3item__title {
    font-size: 20px;
    font-weight: bold;
    padding-bottom: 15px;
    border-bottom: 1px solid #A78465;
}
.block3item__table {
    margin-top: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-size: 14px;
    line-height: 34px;
}
.block3item__table-column1 {
    grid-template-columns: 1fr;
}
.block3item__table div:nth-of-type(even) {
    color: #A78465;
    font-weight: 500;
    text-align: right;
}
.block3item__table-column1 div:nth-of-type(even) {
    color: #FFFFFF;
    font-weight: 400;
    text-align: left;
}
article img {
    border-radius: 20px;
}
.alignright {
    display: inline-block;
    float: right;
    margin: 10px 0 30px 20px;
}
.alignleft {
    display: inline-block;
    float: left;
    margin: 10px 20px 30px 0;
}
ul {
    margin: 20px;
}
.plus {
    margin: 30px 0 20px 0;
    line-height: 24px;
    font-size: 20px;
    font-weight: bold;
}
.plus::before {
    content: '+';
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    display: inline-flex;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    background-color: #3AB774;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}
.minus {
    margin: 30px 0 20px 0;
    line-height: 24px;
    font-size: 20px;
    font-weight: bold;
}
.minus::before {
    content: '-';
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    display: inline-flex;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    background-color: #F30832;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}
.steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.step {
    display: grid;
    grid-template-columns: 70px auto;
    gap: 25px;
}
.step__num {
    width: 70px;
    height: 70px;
    border-radius: 35px;
    color: #ffffff;
    font-size: 25px;
    font-weight: 800;
    background-color: #8762FE;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}
.step__content div:nth-of-type(1) {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 6px;
}
.step__content {
    position: relative;
}
.step__content::before {
    content: '';
    position: absolute;
    width: 1px;
    height: 100%;
    background-color: #8762FE;
    top: 35px;
    left: -60px;
}
.laststep .step__content::before {
    content: none;
}
.blockwithimage {
    background-color: #1B103E;
    border: 1px solid #8762FE;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    clear: both;
}
.blockwithimage-left {
    justify-content: flex-start;
}
.blockwithimage__text {
    padding: 0 20px;
}
.blockwithimage__image img {
    display: block;
}
.columns2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.columns2 > h3:nth-of-type(1) {
    order: 1;
}
.columns2 > h3:nth-of-type(2) {
    order: 2;
}
.columns2 > div:nth-of-type(1) {
    order: 3;
}
.columns2 > div:nth-of-type(2) {
    order: 4;
}
.table-wrapper {
    overflow-x: auto;
}
.striped {
    border-collapse: separate;
    border-radius: 20px;
    border-spacing: 0;
    border: 1px solid #8762FE;
    overflow: hidden;
    margin: auto;
}
.striped th {
    background-color: #8762FE;
    padding: 20px 30px;
}
.striped td {
    padding: 20px 30px;
}
.striped tr:nth-of-type(odd) td {
    background-color: #261851;
}
.striped tr:nth-of-type(even) td {
    background-color: #46318B;
}
.promosection {
    margin: 40px auto;
    width: 100%;
    max-width: 900px;
    height: 400px;
    border-radius: 50px;
/*    background-image: url(../images/bg1.webp);*/
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}
.promosection__content {
    width: 100%;
    max-width: 580px;
    height: 275px;
    border-radius: 20px;
    border: 1px solid #A78D77;
    backdrop-filter: brightness(0.5) blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}
.promosection__title {
    color: #efe7da;
    font-size: 30px;
    font-weight: 900;
}
.promosection__text {
    font-size: 24px;
}
.mr40 {
    margin-right: 40px;
}
.bottom-logo div {
    margin-bottom: 10px;
}
@media (max-width: 1600px) {
    .container {
        max-width: 100%;
        padding: 15px;
    }
}
@media (max-width: 1200px) {
    .header .container {
        position: relative;
    }
    .menu-button.open {
        rotate: 45deg;
    }
    .menu-button.open div:nth-of-type(1) {
        position: absolute;
        top: 0;
    }
    .menu-button.open div:nth-of-type(2) {
        rotate: 90deg;
    }
    .menu-button.open div:nth-of-type(3) {
        display: none;
    }
    .menu-button {
        display: flex;
        position: relative;
    }
    .header-nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        flex-grow: 0;
        gap: 20px;
        min-width: 300px;
        max-width: 450px;
        width: 100%;
        position: absolute;
        left: 0;
        top: 92px;
        padding: 20px;
        backdrop-filter: blur(50px);
        border-radius: 0 0 8px 8px;
        z-index: 10;
    }
    .header-nav.open {
        display: flex;
    }
    .header-menu {
        flex-direction: column;
        gap: 20px;
    }
    .header-buttons {
        display: flex;
        flex-direction: column;
    }
    .toc-btn {
        margin: 30px 0;
        height: 50px;
        border-radius: 25px;
        font-size: 20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .toc {
        margin-bottom: 30px;
        padding: 20px;
        font-size: 18px;
    }
    .tocH3 {
        font-size: 16px;
    }
    .block3 {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    .block3item {
        width: 360px;
    }
    .alignright, .alignleft {
        float: unset;
        margin: 10px 0;
        max-width: 100%;
        height: auto;
    }
    h2 {
        margin-top: 40px;
    }
    h3 {
        margin-top: 30px;
    }
    .step {
        grid-template-columns: 45px auto;
        gap: 15px;
    }
    .step__num {
        width: 45px;
        height: 45px;
        border-radius: 25px;
        font-size: 18px;
    }
    .step__content::before {
        top: 22px;
        left: -38px;
    }
    .step__content div:nth-of-type(1) {
        font-size: 18px;
        margin-bottom: 0;
    }
    .step__content div:nth-of-type(2) {
        font-size: 14px;
    }
    .blockwithimage {
        flex-direction: column;
    }
    .blockwithimage__text {
        order: 2;
    }
    .blockwithimage__image {
        order: 1;
    }
    .blockwithimage__image img {
        width: 100%;
        height: auto;
    }
    .columns2 {
        display: grid;
        grid-template-columns: 1fr;
    }
    .columns2 > h3:nth-of-type(1) {
        order: 1;
    }
    .columns2 > h3:nth-of-type(2) {
        order: 3;
    }
    .columns2 > div:nth-of-type(1) {
        order: 2;
    }
    .columns2 > div:nth-of-type(2) {
        order: 4;
    }
}
@media (max-width: 600px) {
    h1 {
        margin-top: 20px;
        font-size: 34px;
        font-weight: 800;
    }
    h2 {
        margin-top: 30px;
        font-size: 32px;
        font-weight: 700;
    }
    .promosection {
        margin: 30px auto;
        border-radius: 20px;
    }
    .promosection__content {
        max-width: 90%;
    }
    .promosection__title, .promosection__text {
        text-align: center;
        padding: 0 10px;
    }
    .block3item {
        width: 100%;
    }
    .footer .container {
        gap: 44px;
    }
    .bottom-logo div {
        font-size: 11px;
        line-height: 1;
        margin-bottom: 5px;
    }
 
    .copyright {
        gap: 6px;

    }
    .copyright span {
        font-size: 13px;
        line-height: 1.4;
    }
}