@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("../assets/fonts/PlusJakartaSans-VariableFont_wght.ttf") format("truetype");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("../assets/fonts/PlusJakartaSans-Italic-VariableFont_wght.ttf") format("truetype");
    font-weight: 200 800;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Capture it";
    src: url("../assets/fonts/Capture it.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
:root{
    --bg: #fbf7f3;
    --footer-bg: #333333;
    --dot-color: #8f807c;
    --text: #151515;
    --muted: rgba(0,0,0,.55);
    --accent: #f28c28;
    --dark: #1b1b1b;
    --border: rgba(0,0,0,.12);

    --container: 1600px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
    margin:0;
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background-color: var(--bg);
    background-image: radial-gradient(var(--dot-color) 1px, transparent 1px), repeating-linear-gradient(45deg, rgba(0, 0, 0, .05) 0px, rgba(0, 0, 0, .05) 28px, transparent 12px, transparent 42px);
    background-repeat: repeat, no-repeat;
    background-size: 50px 50px, 100% 42px;
    background-position: 0 0, 0 920px;
    overflow-x: hidden;
}
body[data-page="text"]{
    background-color: var(--bg);
    background-image: radial-gradient(var(--dot-color) 1px, transparent 1px), repeating-linear-gradient(45deg, rgba(0, 0, 0, .05) 0px, rgba(0, 0, 0, .05) 28px, transparent 12px, transparent 42px);
    background-repeat: repeat, no-repeat;
    background-size: 50px 50px, 100% 42px;
    background-position: 0 0, 0 175px;
}
body[data-page="power-up"]{
    background-color: var(--bg);
    background-image: radial-gradient(var(--dot-color) 1px, transparent 1px), repeating-linear-gradient(45deg, rgba(0, 0, 0, .05) 0px, rgba(0, 0, 0, .05) 28px, transparent 12px, transparent 42px);
    background-repeat: repeat, no-repeat;
    background-size: 50px 50px, 100% 42px;
    background-position: 0 0, 0 175px;
}
body[data-page="calc"]{
    background-color: var(--bg);
    background-image: repeating-linear-gradient(45deg, rgba(0, 0, 0, .05) 0px, rgba(0, 0, 0, .05) 28px, transparent 12px, transparent 42px);
    background-repeat: no-repeat;
    background-size: 100% 42px;
    background-position: 0 175px;
}

.container{
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}
.mw-1300{
    max-width: 1300px;
    margin: 0 auto;
}
.main{ padding: 48px 0 80px; }
a{ color: inherit; text-decoration: none; }

.header{
    padding: 28px 0;
    max-height: 126px;
}
.header__inner{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    align-items: center;
    column-gap: 20px;
    justify-content: space-between;
}
.brand__logo{
    position: relative;
    display: inline-block;
    width: 272px;
    height: 67px;
}
.brand__logo-img{
    position: absolute;
    inset: 0;
    width: 100%;
    display: block;
    transition: opacity .25s ease;
}
.brand__logo-img.is-hover{
    opacity: 0;
}
.brand:hover .brand__logo-img.is-default,
.brand:focus-visible .brand__logo-img.is-default{
    opacity: 0;
}
.brand:hover .brand__logo-img.is-hover,
.brand:focus-visible .brand__logo-img.is-hover{
    opacity: 1;
}
.header__drawer{
    display: contents;
}
.header__drawer-overlay{
    display: none;
}
.header__drawer-panel{
    display: contents;
}
.drawer__close{
    display: none;
}
.nav{
    display: contents;
}
.nav a{
    font-size: 18px;
    letter-spacing: 4px;
    line-height: 30px;
    text-transform: uppercase;
    color: #333333;
    font-weight: 600;
}
.nav a:hover{
    color: #fb992b;
}
.lang{
    display: flex;
    align-items: center;
    gap: 5px;
}
.lang__link{
    font-size: 18px;
    letter-spacing: 4px;
    line-height: 30px;
    text-transform: uppercase;
    color: #999999;
    font-weight: 400;
}
.lang__link:hover{
    color: #fb992b;
}
.lang__link.is-active{
    color: #333333;
    cursor: default;
}
.lang__sep{
    width: 2px;
    height: 20px;
    background: #333333;
    display: block;
}
.burger{
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}
.burger__lines{
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    margin: 0 auto;
    position: relative;
}
.burger__lines::before,
.burger__lines::after{
    content: "";
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: currentColor;
}
.burger__lines::before{ top: -7px; }
.burger__lines::after{ top: 7px; }

.footer{
    position: relative;
    overflow: visible;
    background-color: var(--footer-bg);
    background-image: radial-gradient(var(--dot-color) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0;
    padding: 60px 0 30px;
}
.footer::before{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -35px;
    height: 35px;

    background-image: repeating-linear-gradient(
            -45deg,
            #333333 0px,
            #333333 40px,
            transparent 12px,
            transparent 70px
    );
    background-repeat: no-repeat;
    background-size: 100% 35px;
    background-position: 0 0;

    pointer-events: none;
    z-index: 1;
}
.footer__inner{
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 100px;
}
.footer-nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-nav a{
    font-size: 18px;
    letter-spacing: 4px;
    line-height: 30px;
    text-transform: uppercase;
    color: #f0ebde;
    font-weight: 100;
}
.footer-nav a:hover{
    color: #fb992b;
}
.footer-info{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.footer-contacts{
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
}
.footer-contacts-title{
    font-size: 18px;
    letter-spacing: 4px;
    line-height: 30px;
    text-transform: uppercase;
    color: #f0ebde;
    font-weight: 100;
}
.footer-contacts-wrap{
    display: flex;
    gap: 80px;
}
.footer-contacts-text{
    font-size: 18px;
    letter-spacing: 4px;
    line-height: 30px;
    color: #f0ebde;
    font-weight: 100;
}
.footer-contacts-text a:hover{
    color: #fc932e;
}
.footer-bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    letter-spacing: 3px;
    color: #f0ebde;
    font-weight: 400;
    gap: 20px;
}
.footer-bottom-powered{
    display: flex;
    align-items: center;
    gap: 30px;
}
.footer-bottom-copyright{
    text-align: center;
}
.footer-bottom-copyright a:hover{
    color: #fc932e;
}
.footer-bottom-soc{
    display: flex;
    align-items: center;
    gap: 30px;
    text-align: end;
}
.footer-bottom-soc-list{
    display: flex;
    gap: 20px;
}
.footer-bottom-soc-list a:hover svg{
    fill: #fc932e;
}

@media (max-width: 1199px){
    .header__inner{
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .burger{
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .header__drawer{
        display: block;
    }
    .header__drawer-overlay{
        display: block;
        position: fixed;
        inset: 0;
        opacity: 0;
        pointer-events: none;
    }
    .header__drawer-panel{
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        height: 100dvh;
        width: min(360px, 92vw);
        transform: translateX(100%);
        transition: transform .25s ease;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        padding: 20px;
        z-index: 1;
        background: #fbf7f3;
    }
    body.menu-open .header__drawer-overlay{
        opacity: 1;
        pointer-events: auto;
    }
    body.menu-open .header__drawer-panel{
        transform: translateX(0);
    }
    .drawer__close{
        display: inline-flex;
        align-items: center;
        justify-content: center;

        width: 44px;
        height: 44px;
        border: 0;
        background: transparent;
        cursor: pointer;
        font-size: 28px;
        line-height: 44px;
    }
    .nav{
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-top: 16px;
    }
    .lang{
        margin-top: 24px;
        display: flex;
        gap: 12px;
        align-items: center;
    }
}
@media (max-width: 991px){
    .footer-nav{
        flex-direction: column;
        gap: 20px;
    }
    .footer-info{
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }
    .footer-contacts-wrap{
        flex-direction: column;
        gap: 30px;
    }
    .footer-bottom{
        flex-direction: column;
    }
}