:root {
    font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color: #0b2624;
    background: #f4f5ef;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    --ink: #0b2624;
    --muted: #455c55;
    --cream: #fbf9f4;
    --teal: #062c2d;
    --line: #82958d
}

* {
    box-sizing: border-box
}

html,body {
    min-width: 320px;
    min-height: 100%;
    margin: 0
}

body {
    background: #f4f5ef;
    color: var(--ink)
}

button,input {
    font: inherit
}

::selection {
    background: #b9e2d8;
    color: #062c2d
}

a {
    color: #005d54;
    text-underline-offset: 3px
}

a:focus-visible,button:focus-visible,input:focus-visible {
    outline: 3px solid #a66a16;
    outline-offset: 3px
}

.login-scene {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 42% 58%
}

.brand-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 35px clamp(28px,5vw,72px);
    color: #e9f4ef;
    background: #062c2d
}

.wordmark {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 750;
    letter-spacing: -.035em
}

.wordmark>span:last-child {
    display: grid;
    gap: 2px
}

.wordmark small {
    color: #bfd4cc;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em
}

.brand-symbol {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 30px;
    gap: 5px
}

.brand-symbol i {
    display: block;
    width: 7px;
    height: 25px;
    border: 1.5px solid #66e1cf;
    border-radius: 50%
}

.brand-symbol i:first-child {
    transform: rotate(-15deg)
}

.brand-symbol i:last-child {
    transform: rotate(15deg)
}

.brand-copy {
    max-width: 390px;
    margin: auto 0
}

.brand-copy h2 {
    max-width: 10ch;
    margin: 0;
    font-size: 38px;
    line-height: 1.1;
    letter-spacing: -.035em
}

.brand-copy p {
    max-width: 34ch;
    margin: 18px 0 0;
    color: #c6d9d2;
    font-size: 16px;
    line-height: 1.6
}

.brand-foot {
    color: #b2c9c1;
    font-size: 12px;
    letter-spacing: .12em
}

.form-side {
    display: grid;
    place-items: center;
    padding: 48px 32px;
    background: var(--cream)
}

.login-panel {
    width: min(100%,420px)
}

h1 {
    max-width: 17ch;
    margin: 0;
    font-size: 32px;
    line-height: 1.16;
    letter-spacing: -.035em
}

.intro {
    margin: 12px 0 26px;
    color: #455c55;
    font-size: 16px;
    line-height: 1.55
}

.field {
    margin-top: 18px
}

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

.field input {
    display: block;
    width: 100%;
    height: 50px;
    padding: 0 13px;
    color: #243d36;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: 16px
}

.field input::placeholder {
    color: #5f7069;
    opacity: 1
}

.field input:focus-visible {
    border-color: #007f73
}

.enter-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    margin-top: 23px;
    padding: 10px 16px;
    color: #fff;
    background: var(--teal);
    border: 1px solid var(--teal);
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer
}

.enter-button:hover {
    background: #08413d
}

.enter-button:active {
    background: #041f20
}

.enter-button:disabled {
    background: #657a74;
    border-color: #657a74;
    cursor: not-allowed
}

.admin-note {
    margin: 18px 0 0;
    color: #52645f;
    text-align: center;
    font-size: 14px;
    line-height: 1.5
}

.form-error {
    margin: 16px 0 0;
    padding: 12px;
    color: #653b17;
    background: #fff5e8;
    border: 1px solid #c99a60;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5
}

.field-errors {
    margin: 7px 0 0;
    padding-left: 20px;
    color: #653b17;
    font-size: 14px
}

.error-page {
    max-width: 620px;
    margin: 15vh auto;
    padding: 32px
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0
}

@media(max-width:680px) {

    .login-scene {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr
    }

    .brand-panel {
        min-height: 190px;
        padding: 20px 22px
    }

    .brand-copy {
        margin: 25px 0 0
    }

    .brand-copy h2 {
        max-width: 20ch;
        font-size: 27px
    }

    .brand-copy p,.brand-foot {
        display: none
    }

    .form-side {
        align-items: start;
        padding: 34px 22px
    }

    .login-panel {
        max-width: 460px
    }

    .login-panel h1 {
        font-size: 28px
    }

    .intro {
        margin: 9px 0 20px
    }

    .field {
        margin-top: 14px
    }

    .enter-button {
        margin-top: 18px
    }

    .admin-note {
        margin-top: 14px
    }
}

@media(prefers-reduced-motion:reduce) {

    * {
        scroll-behavior: auto!important;
        transition: none!important
    }
}
