:root {
    --ink: #07111f;
    --ink-2: #0c2b3a;
    --gold: #ffc857;
    --gold-2: #ffe29a;
    --green: #1f8a70;
    --paper: #ffffff;
    --soft: #f5f7fb;
    --text: #111827;
    --muted: #667085;
    --line: #d9e2ec;
    --danger: #b42318;
}
* {
    box-sizing: border-box;
}
html {
    min-height: 100%;
    background: var(--ink);
}
body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    color: var(--text);
    background:
        linear-gradient(145deg, rgba(31, 138, 112, .42), transparent 38%),
        linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 46%, var(--soft) 46%, var(--soft) 100%);
}
.auth-shell {
    width: min(440px, 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 24px 16px 18px;
}
.brand-panel {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px 4px 30px;
    color: #ffffff;
}
.brand-mark {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 20px;
    color: #111827;
    background: linear-gradient(145deg, var(--gold-2), var(--gold));
    font-size: 26px;
    font-weight: 900;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .28);
}
.eyebrow {
    margin: 0 0 7px;
    color: var(--gold-2);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
h1, h2, p {
    margin-top: 0;
}
h1 {
    margin-bottom: 9px;
    font-size: 34px;
    line-height: 1.05;
    letter-spacing: 0;
}
.hero-copy {
    max-width: 300px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 15px;
    line-height: 1.45;
}
.auth-card {
    width: 100%;
    margin-top: -8px;
    border: 1px solid rgba(7, 17, 31, .08);
    border-radius: 8px;
    padding: 24px 18px 20px;
    background: var(--paper);
    box-shadow: 0 20px 48px rgba(7, 17, 31, .2);
}
h2 {
    margin-bottom: 7px;
    font-size: 27px;
    line-height: 1.15;
    letter-spacing: 0;
}
.subtitle {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.45;
}
.alert {
    margin-bottom: 15px;
    border: 1px solid #fecdca;
    border-radius: 8px;
    padding: 12px;
    color: var(--danger);
    background: #fff4f2;
    font-size: 14px;
    line-height: 1.4;
}
label {
    display: block;
    margin: 14px 0 7px;
    color: #263447;
    font-weight: 900;
    font-size: 13px;
}
input {
    width: 100%;
    min-height: 54px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px 15px;
    color: var(--text);
    background: #fbfcfe;
    font-size: 16px;
    outline: none;
}
input::placeholder {
    color: #98a2b3;
}
input:focus {
    border-color: var(--green);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(31, 138, 112, .14);
}
button {
    width: 100%;
    min-height: 54px;
    margin-top: 20px;
    border: 0;
    border-radius: 8px;
    color: #101827;
    background: linear-gradient(145deg, var(--gold-2), var(--gold));
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 14px 24px rgba(180, 119, 0, .28);
}
button:active {
    transform: translateY(1px);
}
.switch {
    margin: 18px 0 0;
    color: var(--muted);
    text-align: center;
    line-height: 1.45;
}
.switch a {
    color: var(--green);
    font-weight: 900;
    text-decoration: none;
}
@media (max-height: 720px) {
    .auth-shell {
        padding-top: 16px;
    }
    .brand-panel {
        min-height: 204px;
        padding-bottom: 22px;
    }
    .brand-mark {
        width: 58px;
        height: 58px;
        margin-bottom: 14px;
        border-radius: 16px;
        font-size: 22px;
    }
    h1 {
        font-size: 30px;
    }
    .auth-card {
        padding-top: 20px;
    }
}
