@font-face {
    font-family: "SF Pro Display";
    src:
        local("SF Pro Display Regular"),
        local("SFProDisplay-Regular"),
        url("../fonts/SF-Pro-Display-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SF Pro Display";
    src:
        local("SF Pro Display Medium"),
        local("SFProDisplay-Medium"),
        url("../fonts/SF-Pro-Display-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

input,
textarea {
    max-width: 100%;
}

p {
    margin: 0;
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: clamp(16px, 4vh, 32px);
    font-family: "SF Pro Display", -apple-system, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.3;
    text-align: center;
    overflow-x: hidden;
    position: relative;
    background-color: #1F45C2;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background:
        url(../img/bg-left-min.png) left 10% / auto 60% no-repeat,
        url(../img/bg-right-min.png) right bottom / auto 50% no-repeat,
        url(../img/cells-min.png) center / cover no-repeat;
}

strong {
    font-weight: 500;
}

.container {
    display: flex;
    flex-direction: column;
    max-width: 960px;
    padding: 24px;
    align-items: center;
    color: #fff;
    gap: 30px;
    height: 100%;
}

img.logo {
    height: 70px;
    width: auto;
}

.form-holder {
    gap: 20px;
    display: flex;
    flex-direction: column;
}

.info,
.form {
    background: #FFFFFF14;
    padding: 15px 32px;
    border: 1px solid #FFFFFF17;
    border-radius: 30px;
}

.info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

label.hp {
    display: none;
}

span.req {
    color: #F31260;
    margin: 0 3px;
}

.form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    padding: 30px;
}

label.field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

label.field input {
    width: 100%;
    height: 60px;
    opacity: 1;
    border-radius: 12px;
    border-width: 1px;
    padding-top: 8px;
    padding-right: 14px;
    padding-bottom: 8px;
    padding-left: 14px;
    border-color: #FFFFFF33;
    font-size: 16px;
}

label.field input::placeholder {
    color: #00000080;
}

button#submitBtn {
    width: 100%;
    height: 60px;
    opacity: 1;
    border-radius: 11px;
    padding-top: 14px;
    padding-bottom: 18px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background: #212121;
    border: 0;
    font-family: "SF Pro Display", -apple-system, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
}

button#submitBtn:hover {
    background: #212121c4;
    cursor: pointer;
}

button#submitBtn:disabled {
    background: #212121b8;
    cursor: not-allowed;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    line-height: 1.3;
    color: #fff;
    width: 100%;
}

.consent__box {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    flex: 0 0 auto;

    border: 1px solid #FFFFFF33;
    border-radius: 6px;
    background: transparent;

    accent-color: #212121;
    cursor: pointer;
}

.consent__box:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15);
    border-color: #FFFFFF66;
}

.consent__text {
    font-size: 14px;
    opacity: 0.95;
}

.consent .consent__text {
    cursor: pointer;
}

.consent input + .consent__text {
    user-select: none;
}

[hidden] {
    display: none !important;
}

.success p {
    text-align: left;
}

@media (max-height: 650px) {
    body {
        place-items: start center;
    }
}

@media (max-width: 1659px) {
    body::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: -1;
        pointer-events: none;

        background:
            url(../img/bg-left-min.png) -5% 10% / auto 50% no-repeat,
            url(../img/bg-right-min.png) 105% bottom / auto 40% no-repeat,
            url(../img/cells-min.png) center / cover no-repeat;
    }
}

@media (max-width: 1360px) {
    body::before {
        background:
            none,
            none,
            url("../img/cells-min.png") center / cover no-repeat;
    }
}

@media (max-width: 1280px) {
    body {
        font-size: 16px;
    }

    .info,
    .form {
        padding: 12px 26px;
        border-radius: 20px;
    }

    .form {
        gap: 20px;
        padding: 20px;
    }

    label.field input {
        height: 48px;
        font-size: 15px;
    }

    button#submitBtn {
        height: 48px;
        padding-top: 12px;
    }

    .container {
        padding: 24px 0;
    }
}

@media (max-width: 780px) {
    .success p {
        text-align: left;
    }

    body {
        font-size: 14px;
    }

    .info,
    .form {
        padding: 12px 14px;
        border-radius: 12px;
    }

    .form {
        gap: 10px;
        padding: 0;
        border: none;
        background: none;
    }

    label.field {
        gap: 8px;
    }

    label.field input {
        height: 32px;
        font-size: 14px;
    }

    button#submitBtn {
        border-radius: 12px;
        padding-top: 6px;
        padding-bottom: 8px;
        font-size: 14px;
    }

    .consent__text {
        font-size: 12px;
    }
}