:root {
    --navy: #1f2e69;
    --blue: #1676b8;
    --cyan: #43b8e6;
    --ink: #1d2a40;
    --muted: #66748a;
    --line: #d9e4ef;
    --bg: #eef7fc;
    --danger: #d64545
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: linear-gradient(135deg, #e0f6ff 0%, #f7fbff 46%, #e9f1fa 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.5
}

.shell {
    width: min(100% - 32px, 980px);
    margin: 36px auto 60px
}

.card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #dce8f3;
    border-radius: 26px;
    box-shadow: 0 24px 70px #23436b20
}

.brand {
    display: flex;
    gap: 28px;
    align-items: center;
    padding: 34px 42px;
    background: linear-gradient(115deg, #edfaff, #fff);
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    text-align: center;
}

.brand img {
    width: 164px;
    height: 116px;
    flex: 0 0 164px;
    object-fit: contain;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px #1e5c8514
}

.eyebrow {
    display: block;
    margin-bottom: 7px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .2em
}

h1 {
    margin: 0 0 9px;
    color: var(--navy);
    font-size: clamp(28px, 4vw, 43px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.035em
}

p {
    margin: 0;
    color: var(--muted)
}

.notice {
    margin: 30px 60px 0;
    padding: 17px 20px;
    border: 1px solid #43b8e6;
    border-radius: 14px;
    background: #f4fbff;
}

.notice strong {
    color: var(--navy)
}

.notice p {
    margin-top: 5px;
    font-size: 14px
}

.card form {
    padding: 30px 42px 36px
}

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

label {
    display: block;
    margin: 0 0 20px;
    color: #263552;
    font-size: 15px;
    font-weight: 800
}

label>span {
    color: var(--danger)
}

input,
textarea,
select {
    display: block;
    width: 100%;
    height: 48px;
    margin-top: 8px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: none;
    background: #fbfdff;
    color: var(--ink);
    font: inherit;
    transition: border-color .2s, box-shadow .2s, background .2s
}

textarea {
    height: auto;
    min-height: 110px;
    padding-top: 12px;
    resize: vertical
}

select {
    appearance: none;
    padding-right: 42px;
    background-image: linear-gradient(45deg, transparent 50%, #5e7795 50%), linear-gradient(135deg, #5e7795 50%, transparent 50%);
    background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat
}

input[type=file] {
    height: 50px;
    padding: 8px 10px;
    font-size: 13px;
    background: #f8fbfe;
    cursor: pointer
}

input[type=file]::file-selector-button {
    margin-right: 10px;
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
    background: #e1f2fb;
    color: #126b9f;
    font: inherit;
    font-weight: 800;
    cursor: pointer
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--cyan);
    background: #fff;
    box-shadow: 0 0 0 4px #43b8e620
}

small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500
}

.check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600
}

.check input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--blue)
}

button {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(110deg, var(--navy), var(--blue));
    color: #fff;
    font: inherit;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 24px #1f4e852b;
    transition: transform .2s, filter .2s
}

button:hover {
    filter: brightness(1.08);
    transform: translateY(-1px)
}

button:disabled {
    opacity: .65;
    cursor: wait;
    transform: none
}

.status {
    min-height: 24px;
    margin-top: 14px;
    font-weight: 800
}

.status.ok {
    color: #13865c
}

.status.err {
    color: #c23e48
}

.card footer {
    padding: 20px 24px;
    background: #f7fbff;
    color: var(--muted);
    font-size: 13px;
    text-align: center
}

@media(max-width:720px) {
    .shell {
        width: min(100% - 20px, 620px);
        margin: 16px auto 30px
    }
    .brand {
        display: block;
        padding: 26px 24px
    }
    .brand img {
        width: 145px;
        height: 88px;
        margin-bottom: 17px
    }
    .notice {
        margin: 18px 24px 0
    }
    .card form {
        padding: 24px 24px 30px
    }
    .grid {
        grid-template-columns: 1fr;
        gap: 0
    }
    label {
        margin-bottom: 17px
    }
}

@media(max-width:420px) {
    body {
        font-size: 15px
    }
    .shell {
        width: 100%;
        margin: 0
    }
    .card {
        border-radius: 0;
        border-left: 0;
        border-right: 0
    }
    .brand {
        padding: 24px 18px
    }
    .notice {
        margin: 15px 18px 0;
        padding: 14px 15px
    }
    .card form {
        padding: 22px 18px 28px
    }
    h1 {
        font-size: 31px
    }
    input,
    textarea,
    select {
        font-size: 16px
    }
}