body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5
}

a:hover {
    color: #173dba
}

.site-header {
    max-width: 1160px;
    margin: auto;
    padding: 25px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.header-link {
    font-size: 14px;
    font-weight: 650
}

.shell {
    max-width: 1160px;
    margin: 8px auto 48px;
    padding: 0 24px
}

.card {
    display: grid;
    grid-template-columns:1fr 1fr;
    overflow: hidden
}

.visual {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    background: linear-gradient(145deg, #fff, #f0f5ff)
}

.badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 750;
    color: #2448a2;
    background: #fff;
    border: 1px solid #edf1fb;
    border-radius: 40px;
    padding: 10px 15px
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 0 0 5px #e8efff
}

.visual h1 {
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.15;
    letter-spacing: -1.3px;
    margin: 0;
    max-width: 420px
}

.intro {
    color: #566781;
    font-size: 16px;
    margin: 0;
    max-width: 400px
}

.benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
    color: #334155;
    font-size: 14px
}

.benefits li {
    display: flex;
    gap: 10px
}

.check {
    color: #2563eb;
    font-weight: 800
}

.photo {
    margin-top: auto;
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    height: 245px
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.photo-caption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 12px 16px;
    border: 1px solid #fff;
    border-radius: 16px;
    background: #ffffffed;
    font-size: 13px;
    color: #566781
}

.photo-caption strong {
    display: block;
    color: #0f172a;
    font-size: 14px
}

.form-side {
    padding: 36px 40px
}

.eyebrow {
    color: #2563eb;
    font-size: 12px;
    letter-spacing: 1.5px;
    font-weight: 750;
    text-transform: uppercase;
    margin: 0 0 8px
}

h2 {
    margin: 0 0 8px;
    letter-spacing: -.7px;
    font-size: 28px
}

.subtext {
    color: #64748b;
    font-size: 14px;
    margin: 0 0 24px
}

.form-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 16px
}

.full {
    grid-column: 1/-1
}

label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 7px
}

.optional {
    font-weight: 400;
    color: #64748b
}

input {
    display: block;
    width: 100%;
    min-height: 48px;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    background: #f8faff;
    padding: 11px 13px;
    color: #0f172a;
    font: inherit;
    font-size: 14px
}

input:focus {
    outline: 0;
    border-color: #2563eb;
    background: white;
    box-shadow: 0 0 0 3px #2563eb1c
}

input[aria-invalid=true] {
    border-color: #dc2626
}

.hint {
    font-size: 12px;
    color: #64748b;
    margin: 6px 0 0
}

.field-error {
    color: #b91c1c;
    font-size: 12px;
    margin: 6px 0 0
}

.alert {
    background: #fff1f2;
    color: #9f1239;
    border: 1px solid #fecdd3;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    margin-bottom: 18px
}

.button {
    display: block;
    text-align: center;
    width: 100%;
    background: #1667f5;
    color: white;
    border: 0;
    border-radius: 12px;
    padding: 14px 16px;
    font: inherit;
    font-size: 15px;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer
}

.button:hover {
    background: #1857cc;
    color: white
}

.submit {
    margin-top: 22px
}

.sign-in {
    text-align: center;
    font-size: 14px;
    color: #64748b;
    margin: 18px 0 0
}

.sign-in a {
    font-weight: 700
}

.note {
    font-size: 12px;
    text-align: center;
    color: #64748b;
    margin: 20px 0 0
}

.success {
    max-width: 530px;
    margin: 60px auto;
    background: white;
    border: 1px solid #dde5f1;
    border-radius: 22px;
    padding: 40px;
    box-shadow: 0 24px 70px #16386a0d
}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ecfdf5;
    color: #047857;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    font-size: 25px;
    margin-bottom: 20px
}

.success p {
    color: #64748b;
    margin: 14px 0 24px
}

@media (max-width: 850px) {
    .visual {
        padding: 30px
    }

    .form-side {
        padding: 30px
    }

    .form-grid {
        gap: 14px
    }

    .photo {
        height: 220px
    }
}

@media (max-width: 700px) {
    .shell {
        padding: 0 16px
    }

    .site-header {
        padding: 20px 16px
    }

    .card {
        grid-template-columns:1fr
    }

    .visual {
        padding: 26px
    }

    .visual h1 {
        font-size: 30px
    }

    .photo, .benefits {
        display: none
    }

    .visual {
        gap: 16px
    }

    .form-side {
        padding: 26px
    }

    .success {
        margin: 24px auto;
        padding: 28px
    }
}

@media (max-width: 380px) {
    .form-grid {
        grid-template-columns:1fr
    }

    .full {
        grid-column: auto
    }

    .header-link {
        font-size: 12px
    }

    .form-side {
        padding: 22px
    }

    .visual {
        padding: 22px
    }
}

input[type=hidden] {
    display: none
}
