:root {
    --nexus-ink: #111827;
    --nexus-muted: #64748b;
    --nexus-orange: #d97706;
    --nexus-orange-light: #f59e0b;
    --nexus-panel: #ffffff;
    --nexus-line: #e2e8f0;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--nexus-ink);
    background: #f8fafc;
    font-family: Arial, sans-serif;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
}

.login-intro {
    display: flex;
    flex-direction: column;
    padding: 64px clamp(32px, 7vw, 110px);
    color: #fff;
    background: linear-gradient(145deg, #0f172a, #1e293b);
}

.login-logo {
    width: min(294px, 100%);
    height: auto;
}

.intro-copy {
    margin: auto 0;
}

.intro-label,
.eyebrow {
    color: var(--nexus-orange-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.intro-copy h1 {
    max-width: 680px;
    margin: 18px 0;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.02;
}

.intro-copy p {
    max-width: 640px;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.6;
}

.intro-footnote {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
}

.login-panel {
    display: flex;
    align-items: center;
    padding: 44px;
    background: var(--nexus-panel);
}

.login-form {
    width: 100%;
}

h2 {
    margin: 10px 0 8px;
    font-size: 36px;
}

.help {
    color: var(--nexus-muted);
    line-height: 1.5;
}

label {
    display: block;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 700;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    margin-top: 7px;
    padding: 14px;
    border: 1px solid var(--nexus-line);
    border-radius: 8px;
    font-size: 16px;
}

input:focus {
    border-color: var(--nexus-orange-light);
    outline: 3px solid #fef3c7;
}

.form-options,
.login-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 0;
    color: var(--nexus-muted);
    font-weight: 400;
}

.form-options {
    margin-top: 18px;
    font-size: 14px;
}

a {
    color: var(--nexus-orange);
    font-weight: 700;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button {
    width: 100%;
    margin-top: 24px;
    padding: 14px 18px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--nexus-orange);
    font-weight: 700;
    cursor: pointer;
}

button:hover {
    background: #b45309;
}

.errors {
    margin: 18px 0;
    padding: 14px;
    border-radius: 8px;
    color: #991b1b;
    background: #fef2f2;
    line-height: 1.5;
}

.login-meta {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--nexus-line);
    color: var(--nexus-muted);
    font-size: 12px;
}

.customer-link {
    display: inline-block;
    margin-top: 26px;
    font-size: 14px;
}

@media (max-width: 860px) {
    .login-shell {
        display: block;
    }

    .login-intro {
        min-height: 330px;
        padding: 32px 24px;
    }

    .intro-copy {
        margin: 56px 0 34px;
    }

    .intro-copy h1 {
        font-size: 42px;
    }

    .login-panel {
        padding: 34px 24px;
    }
}
