:root {
    --olive: #394438;
    --sand: #d8cbb5;
    --terra: #a65f45;
    --char: #252724;
    --bone: #f3efe6;
    --white: #fffdf8;
    --line: rgba(37, 39, 36, .14);
    --serif: Georgia, 'Times New Roman', serif;
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    background: var(--white);
    color: var(--char);
    font-family: var(--sans);
}

a { color: inherit; text-decoration: none; }

.portal-header {
    min-height: 82px;
    padding: 0 max(28px, calc((100vw - 1180px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--olive);
    color: var(--white);
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.mark {
    width: 38px;
    height: 38px;
    border: 1.5px solid var(--sand);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--sand);
    font: 20px var(--serif);
}

.brandname {
    font: 23px var(--serif);
    letter-spacing: .03em;
}

.back-home {
    color: rgba(255,255,255,.72);
    font-size: 12px;
}

.back-home:hover { color: var(--white); }

.login-shell {
    width: min(1050px, calc(100% - 56px));
    margin: 0 auto;
    padding: 110px 0;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 90px;
    align-items: start;
}

.eyebrow {
    color: var(--terra);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
}

.login-copy h1 {
    margin: 14px 0 22px;
    font: 400 clamp(54px, 7vw, 84px)/.95 var(--serif);
    letter-spacing: -.045em;
}

.login-copy p {
    max-width: 460px;
    margin: 0;
    color: #50534d;
    font-size: 18px;
    line-height: 1.65;
}

.login-card {
    background: var(--bone);
    border: 1px solid var(--line);
    padding: 34px;
}

.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    margin-bottom: 7px;
    color: #5a5d57;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.field-label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.field-label-row a {
    color: var(--terra);
    font-size: .68rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .18em;
}

.field input {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--white);
    padding: 13px;
    outline: none;
}

.field input:focus {
    border-color: var(--terra);
}

.form-message {
    min-height: 20px;
    margin: 2px 0 8px;
    color: var(--terra);
    font-size: 11px;
}

.submit {
    width: 100%;
    border: 0;
    border-radius: 3px;
    background: var(--olive);
    color: var(--white);
    padding: 14px;
    cursor: pointer;
    font-weight: 800;
}

.submit:disabled {
    opacity: .65;
    cursor: default;
}

.login-note {
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: #6b6d66;
    font-size: 11px;
    line-height: 1.55;
}

.login-note a {
    color: inherit;
    text-underline-offset: .18em;
}

@media (max-width: 760px) {
    .portal-header {
        padding: 0 20px;
    }

    .login-shell {
        width: min(100% - 36px, 1050px);
        padding: 72px 0;
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .login-copy h1 {
        font-size: 56px;
    }
}
