:root {
    --bg: #0b1020;
    --bg2: #111936;
    --panel: #ffffff;
    --text: #121826;
    --muted: #667085;
    --line: #dbe2ea;
    --primary: #2b6ef2;
    --primary-hover: #1f5dd6;
    --primary-soft: #eaf1ff;
    --success: #10b981;
    --shadow: 0 24px 70px rgba(6, 15, 40, 0.28);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 18px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 20%, rgba(67, 120, 255, .18), transparent 28%),
        radial-gradient(circle at 85% 10%, rgba(84, 197, 255, .12), transparent 24%),
        linear-gradient(135deg, var(--bg), var(--bg2));
}

.shell {
    width: min(1120px, 100%);
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 28px;
    background: rgba(255, 255, 255, .05);
    box-shadow: var(--shadow);
}

.info {
    padding: 42px;
    color: #eef4ff;
    background:
        linear-gradient(180deg, rgba(255,255,255,.02), transparent),
        linear-gradient(145deg, rgba(43,110,242,.18), rgba(255,255,255,.01));
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 38px;
}

.logo {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 21px;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, #72a3ff, #2b6ef2);
    box-shadow: 0 8px 24px rgba(43, 110, 242, .35);
}

.brand-name {
    font-size: 18px;
    font-weight: 750;
    letter-spacing: .02em;
}

.brand-sub {
    margin-top: 2px;
    font-size: 13px;
    color: rgba(238,244,255,.68);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: #cfe0ff;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 6px rgba(16,185,129,.10);
}

h1 {
    max-width: 600px;
    margin: 0 0 18px;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.04;
    letter-spacing: -.035em;
}

.intro {
    max-width: 570px;
    margin: 0 0 30px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(238,244,255,.76);
}

.statuses {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.status {
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.055);
    font-size: 13px;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.feature {
    padding: 17px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    background: rgba(255,255,255,.055);
}

.feature strong {
    display: block;
    margin-bottom: 7px;
    font-size: 15px;
}

.feature span {
    font-size: 13px;
    line-height: 1.55;
    color: rgba(238,244,255,.68);
}

.panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 34px;
    background: var(--panel);
}

.login {
    width: min(420px, 100%);
}

.login h2 {
    margin: 0;
    font-size: 30px;
    letter-spacing: -.03em;
}

.subtitle {
    margin: 10px 0 28px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.field {
    margin-bottom: 17px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #243043;
    font-size: 14px;
    font-weight: 650;
}

input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid var(--line);
    border-radius: 14px;
    outline: none;
    background: white;
    font: inherit;
    transition: border-color .2s, box-shadow .2s;
}

input:focus {
    border-color: #8ab2ff;
    box-shadow: 0 0 0 4px rgba(43,110,242,.10);
}

.options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 20px;
    font-size: 13px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 400;
    color: #475467;
}

.remember input {
    width: auto;
    accent-color: var(--primary);
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button {
    width: 100%;
    padding: 14px 16px;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.primary {
    color: white;
    background: var(--primary);
}

.primary:hover {
    background: var(--primary-hover);
}

.secondary {
    margin-top: 11px;
    color: #344054;
    border: 1px solid var(--line);
    background: white;
}

.secondary:hover {
    background: #f8faff;
}

.notice {
    display: none;
    margin-top: 16px;
    padding: 13px 15px;
    border-radius: 13px;
    color: #31456b;
    background: var(--primary-soft);
    font-size: 13px;
    line-height: 1.5;
}

.notice.visible {
    display: block;
}

.security {
    margin-top: 24px;
    padding-top: 19px;
    border-top: 1px solid var(--line);
    color: #98a2b3;
    font-size: 12px;
    line-height: 1.6;
}

.footer {
    margin-top: 22px;
    color: #98a2b3;
    font-size: 12px;
}

@media (max-width: 900px) {
    body {
        align-items: flex-start;
    }

    .shell {
        grid-template-columns: 1fr;
    }

    .info {
        padding: 30px 24px;
    }

    .panel {
        padding: 32px 22px;
    }
}

@media (max-width: 520px) {
    body {
        padding: 0;
        background: var(--bg);
    }

    .shell {
        border: 0;
        border-radius: 0;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .info {
        padding: 26px 18px;
    }

    .panel {
        padding: 30px 18px;
    }
}
