:root {
    --black: #000;
    --main-grey: #D9D9D9;
    --gutter: 1rem;
}

*, :after, :before {
    box-sizing: border-box;
}

a {
    color: var(--main-grey);
    text-decoration: none;
    transition: opacity .2s;
}

a:hover {
    opacity: .8;
}

p {
    margin: 0;
}

body {
    margin: 0;
    min-height: 100dvh;
    background: var(--black);
    color: var(--main-grey);
    padding: 1.81rem var(--gutter);
    font-family: 'Helvetica', Arial, sans-serif;
    font-size: 0.875rem;
    line-height: 1.35;
    display: flex;
    flex-direction: column;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.header__logo {
    display: block;
    width: 7.5935rem;
    height: auto;
}

.header__copy {
    white-space: nowrap;
}

.main__video {
    display: block;
    aspect-ratio: 66 / 53;
    width: 100%;
    margin: 2rem 0;
}

.main__content {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.footer {
    margin-top: auto;
    padding-top: 3rem;
}

.footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer__policy {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid;
}

@media (width >= 768px) {
    :root {
        --gutter: 2rem;
    }

    .main__video {
        width: min(100%, 36rem);
        margin-inline: auto;
    }

    .footer__policy {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (width >= 1024px) {
    :root {
        --gutter: clamp(1.5rem, 2vw, 2.5rem);
    }

    body {
        padding-block: clamp(1.5rem, 2vw, 2.5rem);
        height: 100dvh;
        min-height: 36rem;
        font-size: clamp(0.8125rem, 0.69vw, 1.125rem);
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 36%);
        grid-template-rows: auto minmax(0, 1fr) auto;
        grid-template-areas:
            "logo    copy"
            "video   text"
            "socials policy";
        column-gap: clamp(2rem, 4vw, 6rem);
    }

    .header, .main, .footer {
        display: contents;
    }

    .header__logo {
        grid-area: logo;
        width: clamp(6.5rem, 6.2vw, 9.5rem);
    }

    .header__copy {
        grid-area: copy;
        justify-self: end;
        align-self: center;
    }

    .footer__socials {
        grid-area: socials;
        align-self: end;
        margin: 0;
        gap: clamp(1rem, 1.6vw, 2rem);
    }

    .main__video {
        grid-area: video;
        align-self: center;
        justify-self: center;
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        margin: 0;
    }

    .main__content {
        grid-area: text;
        align-self: center;
        max-width: 32em;
    }

    .footer__policy {
        grid-area: policy;
        align-self: end;
        padding-top: clamp(1rem, 1.25vw, 1.5rem);
    }
}

@media (width >= 1440px) {
    :root {
        --gutter: calc(29 / 1440 * 100vw);
    }

    body {
        padding-block: calc(29 / 1440 * 100vw);
        font-size: calc(13 / 1440 * 100vw);
        column-gap: calc(58 / 1440 * 100vw);
    }

    .header__logo {
        width: calc(104 / 1440 * 100vw);
    }

    .footer__socials {
        gap: calc(23 / 1440 * 100vw);
    }

    .main__video {
        width: calc(836 / 1440 * 100vw);
    }

    .footer__policy {
        padding-top: calc(18 / 1440 * 100vw);
    }
}
