@font-face {
    font-family: Granate;
    font-style: normal;
    font-weight: 300;
    src:
            url('./fonts/ALSGranate-Light.woff') format('woff2'),
            url('./fonts/ALSGranate-Light.woff2') format('woff2');
}

@font-face {
    font-family: Granate;
    font-style: normal;
    font-weight: 400;
    src:
        url('./fonts/ALSGranate-Regular.woff') format('woff2'),
        url('./fonts/ALSGranate-Regular.woff2') format('woff2');
}

@font-face {
    font-family: Granate;
    font-style: normal;
    font-weight: 500;
    src:
        url('./fonts/ALSGranate-Medium.woff') format('woff2'),
        url('./fonts/ALSGranate-Medium.woff2') format('woff2');
}

@font-face {
    font-family: Granate;
    font-style: normal;
    font-weight: 700;
    src:
        url('./fonts/ALSGranate-Bold.woff') format('woff2'),
        url('./fonts/ALSGranate-Bold.woff2') format('woff2');
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 26px;
    font-family: Granate, sans-serif;
    font-weight: 300;
    line-height: 140%;
}

body {
    padding: 176px 20px 40px;
    background: #fff;
}

img,
video {
    display: block;
    max-width: 1049px;
    margin: 0 auto 64px;
    width: 100%;
    border-radius: 30px;
}

a {
    color: #2E7CF6 !important;
    text-decoration: none;
}

a.contacts-link {
    position: absolute;
    top: 40px;
    right: 52px;
    font-weight: 500;
    font-size: 18px;
    background: none;
}

h1 {
    font-size: 80px;
    line-height: 110%;
    font-weight: 400;
    margin-bottom: 30px;
    text-align: center;
}

.tagline {
    max-width: 673px;
    margin: 0 auto 98px;
    font-size: 32px;
    line-height: 120%;
    font-weight: 300;
    text-align: center;
}

p {
    width: 100%;
    max-width: 1049px;
    margin: 0 auto 64px;
}

ul {
    width: 100%;
    max-width: 1049px;
    margin: -64px auto 64px;
}

ul li {
    list-style: none;
    position: relative;
    padding-left: 40px;
}

ul li::before {
    content: '—';
    position: absolute;
    top: 0;
    left: 0;
}

.link-container {
    text-align: center;
    padding-bottom: 70px;
}

.link-container a {
    background: linear-gradient(to top, #2E7CF6 0, #2E7CF6 1px, transparent 1px, transparent 100%) left calc(100% - 2px)/cover no-repeat;
    font-weight: 700;
    font-size: 30px;
}

.price {
    width: 100%;
    max-width: 1049px;
    margin: 0 auto 64px;
}

.price__label {
    margin-bottom: 15px;
    font-size: 32px;
    font-weight: 500;
    text-align: center;
}

.table {
    width: 100%;
}

.table .row {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    min-height: 1rem;
    border-bottom: 1px dotted currentColor;
}

.first-row {
    margin-top: 30px;
}

.table .row div:first-child {
    width: 70%;
}

.table .row div:last-child {
    width: 30%;
    white-space: nowrap;
}

.table .th {
    font-size: 32px;
    padding-bottom: 10px;
}

.table .th + div {
    padding-bottom: 10px;
}

#contacts {
    margin-top: 123px;
    text-align: center;
}

.contacts__label {
    margin-bottom: 15px;
    font-size: 32px;
    font-weight: 500;
}

.contact {
    margin: 0 auto 15px;
}

footer {
    padding-top: 123px;
    line-height: 150%;
    width: 100%;
    margin: 0 auto;
    max-width: 1049px;
    font-weight: 400;
    font-size: 20px;
}

.footer__label {
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 100%;
}

.footer__wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 96px;
}

.footer__left {
    width: 259px;
}

.footer__right div:first-child {
    margin-bottom: 22px;
}

.footer__right span {
    white-space: nowrap;
}

.copyright {
    text-align: center;
    margin-top: 140px;
    line-height: 140%;
    font-size: 18px;
}

@media screen and (max-width: 1024px) {
    html {
        font-size: 18px;
    }

    body {
        padding: 60px 20px 30px;
    }

    h1 {
        font-size: 40px;
        margin-bottom: 20px;
    }

    a.contacts-link {
        top: 20px;
        right: 20px;
    }

    .tagline {
        font-size: 22px;
        margin-bottom: 21px;
    }

    .contact {
        font-size: 22px;
        max-width: 430px;
        white-space: nowrap;
    }

    .link-container {
        padding-bottom: 45px;
    }

    .link-container a {
        background: linear-gradient(to top, #2E7CF6 0, #2E7CF6 1px, transparent 1px, transparent 100%) left calc(100% - 2px)/cover no-repeat;
        font-weight: 700;
        font-size: 18px;
    }

    p,
    img,
    video {
        margin: 0 auto 40px;
    }

    ul {
        margin-top: -40px;
        margin-bottom: 40px;
    }

    ul li {
        padding-left: 30px;
    }

    .table .th {
        font-size: 22px;
    }
}

@media screen and (max-width: 762px) {
    .contact {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .key {
        width: 100%;
        text-align: center;
    }

    .footer__wrapper {
        flex-direction: column;
        gap: 22px;
    }
}
