
:root {
    --brown: #603b2a;
    --terracotta: #b86f4b;
    --cream: #f8f3eb;
    --paper: #fffdf9;
    --text: #30251f;
    --muted: #81766e;
    --border: #e7ded3;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 sans-serif;
    background: var(--paper);
    color: var(--text);
}

.login-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.brand-panel {
    padding: 48px clamp(28px, 6vw, 88px);
    background:
        radial-gradient(ellipse at 15% 85%, #e5c5a6 0, transparent 40%),
        linear-gradient(145deg, #f2e4d2, #e9d3bb);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 25px;
    font-weight: 750;
    color: var(--brown);
}

.brand-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: white;
    background: var(--brown);
}

.brand-message {
    max-width: 480px;
    margin: 70px 0;
}

.eyebrow {
    color: var(--terracotta);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.brand-message h1 {
    max-width: 460px;
    font-family: Georgia, serif;
    font-size: clamp(36px, 4vw, 57px);
    line-height: 1.12;
    letter-spacing: -1.5px;
    color: var(--brown);
}

.brand-message > p:last-child {
    max-width: 370px;
    line-height: 1.8;
    color: #735d4f;
}

.brand-footer {
    color: #735d4f;
    font-size: 12px;
}

.form-panel {
    display: grid;
    place-items: center;
    padding: 32px;
}

.login-form {
    width: 100%;
    max-width: 390px;
}

.login-form h2 {
    margin: 12px 0;
    font-family: Georgia, serif;
    font-size: 35px;
}

.form-description {
    margin-bottom: 32px;
    color: var(--muted);
}

.login-form label {
    display: block;
    margin: 20px 0 8px;
    font-size: 13px;
    font-weight: 650;
}

.login-form input {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: white;
    font: inherit;
    outline: none;
}

.login-form input:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px #b86f4b20;
}

.login-form button {
    width: 100%;
    margin-top: 12px;
    padding: 15px;
    border: none;
    border-radius: 9px;
    background: var(--brown);
    color: white;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.login-form button:hover {
    background: var(--terracotta);
}

.login-form button:disabled {
    opacity: 0.65;
    cursor: wait;
}

#login-message {
    font-size: 13px;
    line-height: 1.5;
}

.security-note {
    margin-top: 26px;
    text-align: center;
    color: var(--muted);
    font-size: 11px;
}

@media (max-width: 760px) {
    .login-layout {
        grid-template-columns: 1fr;
    }

    .brand-panel {
        min-height: 300px;
        padding: 28px;
    }

    .brand-message {
        margin: 40px 0 20px;
    }

    .brand-message h1 {
        font-size: 37px;
    }

    .brand-footer {
        margin-bottom: 0;
    }

    .form-panel {
        padding: 45px 24px;
    }
}
