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

body {
    margin: 0;
    background: #fff;
    color: #111;
    font-family: Jost, sans-serif;
}

.profile-banner {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.profile-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-avatar {
    width: 130px;
    height: 130px;
    margin-top: -65px;
    border: 4px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    background: #d9d9d9;
}

.profile-name {
    margin: 12px 0 0;
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.profile-role {
    margin: 4px 0 0;
    color: #6b6b6b;
    font-family: Inter, sans-serif;
    font-size: 16px;
}

.profile-social {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 12px;
}

.profile-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e6e6e6;
}

.lead {
    max-width: 560px;
    margin: 0 auto;
    padding: 32px 20px 64px;
}

.lead h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
}

.lead-subtitle {
    margin: 16px 0 32px;
    font-size: 18px;
    font-weight: 300;
    text-align: center;
}

.field {
    margin-bottom: 24px;
}

.field label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

.field > input,
.field > textarea {
    width: 100%;
    height: 60px;
    padding: 0 22px;
    border: 1px solid #000;
    border-radius: 30px;
    font: 18px Jost, sans-serif;
    background: #fff;
}

.field > input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.field > input[type="number"]::-webkit-outer-spin-button,
.field > input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.field textarea {
    height: 120px;
    padding: 18px 22px;
    resize: vertical;
}

.field > input.is-invalid,
.field > textarea.is-invalid {
    border-color: #c0392b;
}

.field-error,
.form-error {
    margin: 8px 0 0;
    color: #c0392b;
    font-size: 14px;
}

.form-error {
    text-align: center;
}

button[type="submit"] {
    width: 100%;
    height: 60px;
    border: 0;
    border-radius: 30px;
    background: #2b1a2e;
    color: #f0b3f5;
    font: 18px Jost, sans-serif;
    cursor: pointer;
}

.lead-note {
    margin: 40px 0 0;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.lead-back {
    margin-top: 24px;
    text-align: center;
}

.hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.site-privacy {
    max-width: 560px;
    margin: 0 auto 32px;
    padding: 0 20px;
    font-size: 14px;
    text-align: center;
}

.site-privacy a,
.privacy a,
.cookie-banner a {
    color: #2b1a2e;
}

.privacy h1,
.privacy h2,
.privacy p {
    text-align: left;
}

.privacy h1 {
    font-size: 28px;
}

.privacy h2 {
    margin: 28px 0 8px;
    font-size: 20px;
    font-weight: 500;
}

.privacy p {
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.5;
}

body.has-cookie-banner {
    padding-bottom: 180px;
}

.cookie-banner {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    padding: 16px 20px 20px;
    background: #fff;
    border-top: 1px solid #2b1a2e;
}

.cookie-banner p {
    max-width: 720px;
    margin: 0 auto 16px;
    font-size: 15px;
    line-height: 1.45;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    max-width: 720px;
    margin: 0 auto;
}

.cookie-banner button {
    flex: 1;
    height: 48px;
    border-radius: 24px;
    font: 16px Jost, sans-serif;
    cursor: pointer;
}

.cookie-banner button[data-consent="all"] {
    border: 0;
    background: #2b1a2e;
    color: #f0b3f5;
}

.cookie-banner button[data-consent="necessary"] {
    border: 1px solid #2b1a2e;
    background: #fff;
    color: #2b1a2e;
}

@media (min-width: 768px) {
    .profile-banner {
        height: 255px;
    }

    .profile-meta {
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 24px;
        padding: 0 44px;
        text-align: left;
    }

    .profile-avatar {
        width: 160px;
        height: 160px;
        margin-top: -56px;
    }

    .profile-text {
        padding-top: 76px;
    }

    .profile-name {
        margin: 0;
        font-size: 20px;
        font-weight: 500;
    }

    .profile-role {
        margin: 8px 0 0;
        color: #4d4f5b;
        font-size: 14px;
    }

    .profile-social {
        justify-content: flex-start;
        margin-top: 12px;
    }

    .profile-social a {
        width: 24px;
        height: 24px;
    }

    .lead h1 {
        font-size: 40px;
    }
}
