@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Sora:wght@500;600;700&display=swap');

:root {
    font-family: 'DM Sans', sans-serif;
    color: #17212b;
    background: #f5f7f6;
    font-synthesis: none;
    text-rendering: optimizeLegibility
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(ellipse at 80% 0, #e8f8ff 0, transparent 40%), #f5f7f6
}

.topbar {
    height: 76px;
    background: #fff;
    border-bottom: 1px solid #e8ece9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(24px, calc((100% - 1160px)/2))
}

.brand {
    font: 700 20px Sora, sans-serif;
    letter-spacing: -.8px;
    color: #1e292c;
    text-decoration: none
}

.brand span {
    color: #1c9cd8
}

.back-home {
    color: #52605c;
    text-decoration: none;
    font-size: 14px
}

.page {
    width: min(1160px, calc(100% - 40px));
    margin: 64px auto
}

.intro {
    max-width: 650px;
    margin: 0 auto 32px;
    text-align: center
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 1.6px;
    font-weight: 700;
    color: #1c9cd8;
    margin: 0 0 9px
}

.intro h1 {
    font: 600 clamp(30px, 5vw, 45px)/1.15 Sora, sans-serif;
    letter-spacing: -1.7px;
    margin: 0 0 13px
}

.intro>p:last-child {
    color: #687470;
    line-height: 1.65;
    margin: 0
}

.card {
    max-width: 820px;
    margin: auto;
    background: #fff;
    border: 1px solid #e6ebe8;
    border-radius: 16px;
    padding: clamp(22px, 4vw, 42px);
    box-shadow: 0 15px 55px #20372a0a
}

.progress-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px
}

.progress-head .eyebrow {
    margin-bottom: 5px
}

.progress-head h2 {
    font: 600 23px Sora, sans-serif;
    margin: 0
}

.progress-head h2 span {
    font: 400 14px 'DM Sans', sans-serif;
    color: #89928f
}

.progress-label {
    font-size: 13px;
    color: #65716c
}

.progress {
    height: 5px;
    border-radius: 5px;
    background: #edf0ee;
    margin: 22px 0 18px;
    overflow: hidden
}

.progress span {
    display: block;
    height: 100%;
    background: #1c9cd8;
    border-radius: inherit;
    transition: width .2s
}

.step-list {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px
}

.step-dot {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #929b97;
    font-size: 12px
}

.step-dot i {
    width: 26px;
    height: 26px;
    border: 1px solid #dce2de;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-style: normal;
    font-size: 11px;
    background: #fff
}

.step-dot.active {
    color: #34423c;
    font-weight: 600
}

.step-dot.active i {
    border-color: #00b2ff;
    background: #eaf8ff;
    color: #0078ab
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px 20px
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0
}

.form-field>span,
.upload-field>span {
    font-size: 13px;
    font-weight: 600;
    color: #34413c
}

.form-field b,
.upload-field b {
    color: #d24c37
}

.form-field input,
.form-field select {
    width: 100%;
    height: 47px;
    border: 1px solid #dce2de;
    border-radius: 8px;
    padding: 0 13px;
    background: #fff;
    font: 400 14px 'DM Sans', sans-serif;
    color: #25322d;
    outline: none
}

.form-field input:focus,
.form-field select:focus,
.upload-field:focus-within {
    border-color: #0091d1;
    box-shadow: 0 0 0 3px #00b2ff1a
}

.hint {
    font-size: 12px;
    color: #78837e;
    line-height: 1.55;
    margin: 16px 0 0
}

.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid #edf0ee
}

.button {
    min-height: 45px;
    border-radius: 8px;
    padding: 0 18px;
    font: 600 14px 'DM Sans', sans-serif;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.button.primary {
    border: 1px solid #008fc9;
    background: #00b2ff;
    color: #fff
}

.button.primary:hover {
    background: #0091d1
}

.button.secondary {
    border: 1px solid #dce2de;
    background: #fff;
    color: #47544f
}

.button:disabled {
    color: #aab1ad;
    background: #f7f8f7;
    cursor: not-allowed
}

.section-title {
    font: 600 15px Sora, sans-serif;
    margin: 25px 0 13px
}

.upload-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px
}

.upload-field {
    border: 1px solid #e0e5e2;
    border-radius: 9px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0
}

.upload-field input {
    width: 100%;
    font-size: 12px;
    color: #66716d
}

.upload-field small {
    font-size: 11px;
    color: #8a9490
}

.upload-field.wide {
    max-width: 100%
}

.security-box {
    background: #f3fbff;
    border: 1px solid #cfedfa;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    gap: 13px;
    align-items: center;
    margin-bottom: 23px
}

.security-icon {
    width: 38px;
    height: 38px;
    background: #dbf2ff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #007cae;
    font-size: 23px
}

.security-box h3 {
    font: 600 14px Sora, sans-serif;
    margin: 0 0 3px
}

.security-box p {
    font-size: 12px;
    color: #69736e;
    margin: 0
}

.requirements {
    font-size: 12px;
    color: #66716d;
    line-height: 1.9;
    padding-left: 18px;
    margin: 15px 0
}

.alert {
    background: #fff0ed;
    color: #a23e2d;
    border: 1px solid #f3c8c0;
    border-radius: 8px;
    padding: 11px 13px;
    font-size: 13px
}

.success {
    text-align: center;
    padding: 58px 30px
}

.success-mark {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eaf7ef;
    color: #258448;
    font-size: 25px;
    margin: 0 auto 17px
}

.success h2 {
    font: 600 24px Sora, sans-serif;
    margin: 0 0 10px
}

.success p {
    color: #687470;
    line-height: 1.6;
    margin: 0 auto 22px;
    max-width: 440px
}

.registration-footer {
    text-align: center;
    color: #89938f;
    font-size: 12px;
    padding: 30px 0 0
}

@media(max-width:600px) {
    .topbar {
        height: 64px;
        padding: 0 18px
    }

    .page {
        width: calc(100% - 24px);
        margin: 38px auto
    }

    .intro {
        margin-bottom: 23px
    }

    .intro h1 {
        letter-spacing: -1px
    }

    .card {
        padding: 22px 17px;
        border-radius: 12px
    }

    .progress-label {
        font-size: 11px;
        text-align: right
    }

    .step-list {
        gap: 5px;
        margin-bottom: 24px
    }

    .step-dot {
        flex-direction: column;
        gap: 4px;
        font-size: 10px
    }

    .step-dot i {
        width: 24px;
        height: 24px
    }

    .form-grid,
    .upload-grid {
        grid-template-columns: 1fr;
        gap: 14px
    }

    .form-actions {
        margin-top: 23px
    }

    .button {
        padding: 0 13px;
        font-size: 13px
    }
}
