:root {
    color-scheme: light;
    --ink: #102f43;
    --blue: #026094;
    --blue-deep: #004e7b;
    --muted: #526c7b;
    --sky: #eaf8fc;
    --orange: #f49a36;
    --line: #d3e0e7;
    --danger: #af3030;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--sky);
    font-synthesis: none
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    position: relative;
    isolation: isolate
}

button,
input {
    font: inherit
}

button,
a,
input {
    -webkit-tap-highlight-color: transparent
}

button,
a {
    touch-action: manipulation
}

a {
    color: var(--blue);
    text-decoration: none
}

button {
    cursor: pointer
}

button:disabled {
    cursor: wait
}

svg {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round
}

[hidden] {
    display: none !important
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 5px;
    border-radius: 5px
}

a:hover {
    text-decoration: underline;
    text-underline-offset: 4px
}

.backdrop {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(116deg, #eaf8fc 0%, #eaf8fc 48%, #f4fbfd 48%, #f4fbfd 100%)
}

.circle {
    position: absolute;
    border-radius: 50%
}

.circle-blue {
    width: 600px;
    height: 600px;
    left: -440px;
    top: 17%;
    background: #d3edf6
}

.circle-orange {
    width: 430px;
    height: 430px;
    right: -287px;
    bottom: 64px;
    background: var(--orange)
}

.circle-outline {
    width: 520px;
    height: 520px;
    right: -325px;
    bottom: 19px;
    border: 1px solid #f4c28a
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 48px;
    gap: 24px;
    font-size: .875rem;
    font-weight: 600
}

.quiet-link,
.help-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 32px
}

.quiet-link {
    color: var(--muted)
}

.quiet-link svg {
    width: 17px;
    height: 17px
}

.help-link {
    color: var(--ink)
}

.help-link svg {
    color: var(--blue)
}

main {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 20px 24px 52px
}

.login-wrap {
    width: 100%;
    max-width: 460px
}

.brand {
    display: block;
    width: 210px;
    height: 70px;
    margin: 0 auto 18px;
    overflow: hidden
}

.brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block
}

.login-card {
    position: relative;
    background: #fff;
    border: 1px solid #e0edf2;
    border-radius: 20px;
    padding: 38px 40px 0;
    box-shadow: 0 16px 46px -16px #23536c26, 0 3px 8px #23536c04;
    overflow: hidden
}

.login-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 40px;
    width: 40px;
    height: 4px;
    border-radius: 0 0 3px 3px;
    background: var(--orange)
}

.card-heading {
    margin-bottom: 28px
}

.eyebrow {
    font-size: .6875rem;
    letter-spacing: .15em;
    font-weight: 700;
    color: var(--blue);
    margin: 0 0 12px
}

h1 {
    font-size: 2rem;
    letter-spacing: -.035em;
    line-height: 1.15;
    margin: 0 0 10px;
    font-weight: 800
}

h1:focus {
    outline: none
}

.card-heading>p:last-child {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--muted);
    margin: 0
}

.field {
    margin-top: 20px
}

label {
    display: block;
    font-size: .875rem;
    font-weight: 700;
    margin-bottom: 9px;
    line-height: 1.3
}

input {
    display: block;
    width: 100%;
    height: 52px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    padding: 0 15px;
    font-size: 1rem;
    outline: none;
    transition: border-color .16s, box-shadow .16s
}

input::placeholder {
    color: #78909d;
    opacity: 1
}

input:hover {
    border-color: #9ab5c4
}

input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px #02609419
}

input[aria-invalid=true] {
    border-color: var(--danger)
}

input[aria-invalid=true]:focus {
    box-shadow: 0 0 0 3px #af30301a
}

.password-input {
    position: relative
}

.password-input input {
    padding-right: 53px
}

.eye-button {
    position: absolute;
    top: 5px;
    right: 5px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #637d8c
}

.eye-button:hover {
    color: var(--blue);
    background: #edf7fb
}

.eye-closed {
    display: none
}

.eye-button[aria-pressed=true] .eye-closed {
    display: block
}

.eye-button[aria-pressed=true] .eye-open {
    display: none
}

.recovery-row {
    display: flex;
    justify-content: flex-end;
    margin: 13px 0 25px
}

.text-button {
    border: 0;
    background: none;
    color: var(--blue);
    padding: 3px 0;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.5
}

.text-button:hover {
    text-decoration: underline;
    text-underline-offset: 4px
}

.primary-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    padding: 13px 18px;
    border: 1px solid #ee942d;
    border-radius: 9px;
    background: var(--orange);
    box-shadow: 0 3px 0 #d78024;
    color: #35200b;
    font-weight: 700;
    font-size: 1rem;
    transition: background .16s, transform .16s, box-shadow .16s
}

.primary-button svg {
    width: 19px;
    height: 19px
}

.primary-button:hover {
    background: #f9a847;
    transform: translateY(-1px);
    box-shadow: 0 4px 0 #d78024
}

.primary-button:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #d78024
}

.card-footer {
    border-top: 1px solid #e9eff3;
    margin-top: 30px;
    padding: 21px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: .8125rem;
    color: var(--muted);
    line-height: 1.5
}

.card-footer a {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-weight: 600
}

.card-footer svg {
    width: 15px;
    height: 15px
}

.prototype-note {
    margin: 21px 0 0;
    text-align: center;
    color: #617b89;
    font-size: .75rem;
    line-height: 1.6
}

.page-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 48px;
    color: var(--muted);
    font-size: .8125rem
}

.page-footer nav {
    display: flex;
    gap: 20px;
    align-items: center
}

.page-footer a {
    display: flex;
    gap: 5px;
    align-items: center;
    color: var(--muted)
}

.page-footer svg {
    width: 13px;
    height: 13px
}

.footer-divider {
    width: 1px;
    height: 12px;
    background: #cadce5
}

.footer-brandline {
    font-style: italic
}

.field-error {
    color: var(--danger);
    font-size: .8125rem;
    line-height: 1.5;
    margin: 7px 0 0
}

.form-notice {
    margin-top: 20px;
    padding: 13px 15px;
    border: 1px solid #c6e1ed;
    background: #f1f9fc;
    border-radius: 8px;
    font-size: .875rem;
    line-height: 1.65;
    color: var(--ink)
}

.form-notice.form-error {
    border-color: #f5b7b1;
    background: #fef2f2;
    color: #dc2626;
}

.recovery-submit {
    margin-top: 27px
}

.return-button {
    margin: 24px auto 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
    border: 0;
    background: none;
    color: var(--blue);
    font-size: .875rem;
    font-weight: 600
}

.return-button:hover {
    text-decoration: underline;
    text-underline-offset: 4px
}

.return-button svg {
    height: 16px;
    width: 16px
}

@media(min-width:1500px) {
    main {
        padding-bottom: 70px
    }

    .circle-blue {
        width: 750px;
        height: 750px;
        left: -530px
    }

    .circle-orange {
        width: 540px;
        height: 540px;
        right: -355px
    }

    .circle-outline {
        width: 650px;
        height: 650px;
        right: -405px;
        bottom: 9px
    }
}

@media(max-width:700px) {
    .page-header {
        padding: 20px 24px;
        font-size: .8125rem
    }

    .page-header svg {
        width: 17px;
        height: 17px
    }

    main {
        padding: 15px 20px 36px
    }

    .brand {
        width: 190px;
        height: 63px;
        margin-bottom: 18px
    }

    .page-footer {
        padding: 20px 24px;
        justify-content: center;
        flex-wrap: wrap;
        gap: 13px 28px
    }

    .footer-brandline {
        display: none
    }

    .circle-orange {
        right: -370px;
        bottom: -70px
    }

    .circle-outline {
        right: -450px;
        bottom: -115px
    }

    .circle-blue {
        left: -550px;
        top: 5%
    }

    .login-card {
        padding: 32px 28px 0;
        border-radius: 16px
    }

    .login-card:before {
        left: 28px
    }

    .card-heading {
        margin-bottom: 25px
    }

    h1 {
        font-size: 1.875rem
    }

    .card-footer {
        font-size: .8125rem
    }

    .eyebrow {
        font-size: .75rem
    }

    .prototype-note {
        font-size: .75rem
    }
}

@media(max-width:360px) {
    .page-header {
        padding: 16px;
        gap: 10px
    }

    .back-link {
        gap: 5px
    }

    main {
        padding-inline: 14px
    }

    .login-card {
        padding-inline: 22px
    }

    .card-footer {
        flex-direction: column;
        gap: 2px
    }

    .page-footer nav {
        gap: 15px
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *:before,
    *:after {
        transition: none !important;
        scroll-behavior: auto !important
    }
}

.eyebrow {
    font-size: .75rem
}

.card-footer {
    font-size: .875rem
}

.recovery-help {
    font-size: .875rem;
    line-height: 1.6;
    color: var(--muted);
    padding-top: 25px
}

.recovery-help strong {
    display: block;
    color: var(--ink);
    font-size: .875rem
}

.recovery-help p {
    margin: 5px 0 0
}

.return-button {
    width: max-content;
    max-width: 100%
}

@media(min-width:701px) and (max-height:800px) {
    .page-header {
        padding-block: 18px
    }

    main {
        padding-block: 0 15px
    }

    .brand {
        height: 56px;
        width: 190px;
        margin-bottom: 10px
    }

    .login-card {
        padding-top: 27px
    }

    .card-heading {
        margin-bottom: 20px
    }

    .card-footer {
        margin-top: 24px;
        padding-block: 18px
    }

    .prototype-note {
        margin-top: 15px
    }

    .page-footer {
        padding-block: 17px
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 28px
}

.status-link svg {
    width: 15px;
    height: 15px
}

@media(max-width:700px) {
    .page-header {
        flex-wrap: wrap;
        gap: 12px
    }

    .header-actions {
        margin-left: auto;
        gap: 20px
    }
}

.page-footer {
    justify-content: flex-end
}