:root {
    --green: #08df87;
    --ink: #111827;
    --muted: #64748b;
    --line: #dce3eb;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
}

.login-layout {
    display: grid;
    grid-template-columns: 48% 52%;
    min-height: 100vh;
}

.brand-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(24px, 5vw, 68px);
    color: white;
    background:
        radial-gradient(ellipse at 90% 60%, #064f36 0%, transparent 55%),
        linear-gradient(140deg, #07151b, #020c10);
}

.logo {
    display: inline-flex;
    align-items: center;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1.7px;
    color: inherit;
}

.logo .io {
    background: var(--green);
    color: #07151b;
    padding: 0 3px;
    border-radius: 2px;
}

.hero {
    position: relative;
    z-index: 1;
}

.hero h1 {
    max-width: 650px;
    font-size: clamp(38px, 4vw, 68px);
    line-height: 1.09;
    letter-spacing: -2px;
    margin: 0 0 20px;
}

.hero h1 span {
    color: var(--green);
}

.hero>p {
    max-width: 520px;
    color: #c2cdd2;
    font-size: clamp(16px, 1.3vw, 20px);
    line-height: 1.65;
}

.features {
    display: grid;
    gap: 20px;
    margin-top: 36px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 14px;
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 13px;
    background: #ffffff10;
    color: var(--green);
    font-size: 25px;
}

.feature strong {
    display: block;
    font-size: 17px;
}

.feature small {
    display: block;
    color: #aab8bf;
    margin-top: 4px;
    font-size: 14px;
}

.brand-footer {
    color: #7f969c;
    font-size: 12px;
    margin-top: 36px;
}

.form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 20px;
    background:
        radial-gradient(ellipse at 100% 100%, #e5fff4, transparent 55%),
        #f8fafc;
}

.login-card {
    width: 100%;
    max-width: 510px;
    padding: clamp(22px, 4vw, 44px);
    border: 1px solid #edf0f4;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 65px #0f172a08;
}

.card-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.login-card h2 {
    font-size: clamp(25px, 2.3vw, 34px);
    letter-spacing: -1px;
    text-align: center;
    margin: 0 0 12px;
}

.subtitle {
    color: var(--muted);
    text-align: center;
    line-height: 1.6;
    margin: 0 0 32px;
}

.field {
    margin-bottom: 20px;
}

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

.field input {
    width: 100%;
    height: 54px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0 12px;
    font: inherit;
    font-size: 15px;
    color: var(--ink);
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.field input::placeholder {
    color: #94a3b8;
}

.field input:focus {
    outline: none;
    border-color: #00bb71;
    box-shadow: 0 0 0 4px #08df8720;
}

.login-button {
    width: 100%;
    height: 55px;
    border: none;
    border-radius: 10px;
    background: var(--green);
    color: #071b14;
    font: inherit;
    font-weight: 750;
    font-size: 16px;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.login-button:hover {
    background: #00c979;
    transform: translateY(-1px);
}

.login-button:focus-visible {
    outline: 3px solid #078a57;
    outline-offset: 3px;
}

.security {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 13px;
}

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

    .brand-panel {
        padding: 20px;
    }

    .brand-panel .hero,
    .brand-footer {
        display: none;
    }

    .form-panel {
        min-height: calc(100vh - 90px);
        padding: 20px 12px;
    }

    .login-card {
        padding: 28px 20px;
    }
}

.login-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 12px;
    text-align: left;
    overflow-wrap: anywhere;
}

.login-notice>svg {
    flex: 0 0 24px;
    margin-top: 1px;
}

.login-notice strong {
    display: block;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
}

.login-notice p {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.65;
}

.login-notice a {
    display: inline-block;
    margin-top: 10px;
    color: inherit;
    font-size: 13px;
    font-weight: 600;
    text-underline-offset: 3px;
}

.login-notice a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
    border-radius: 2px;
}

.login-notice--pending {
    background: #fff6df;
    color: #805513;
}

.login-notice--error {
    background: #fff0ed;
    color: #9f2922;
}