/* Register page — split layout on landing.css */

.so-auth-page { background: #fff; }

.so-auth-shell {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    min-height: 100vh;
}

.so-auth-aside {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(32px, 4vw, 56px);
    overflow: hidden;
    color: #f5f5f7;
    background:
        radial-gradient(520px 380px at 18% 8%, rgba(41, 151, 255, .28), transparent 68%),
        radial-gradient(460px 360px at 92% 88%, rgba(52, 199, 214, .16), transparent 70%),
        linear-gradient(160deg, #101418, #05070a 62%);
}
.so-auth-aside::after {
    position: absolute;
    right: -120px;
    bottom: -160px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}
.so-auth-brand { position: relative; z-index: 1; color: #fff; }
.so-auth-brand .so-brand-mark { border-radius: 8px; }
.so-auth-aside-copy { position: relative; z-index: 1; margin: auto 0; padding: 60px 0; }
.so-auth-aside .so-eyebrow { color: #6fc3ff; }
.so-auth-aside-copy h1 {
    font-size: clamp(40px, 4.6vw, 60px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -.05em;
}
.so-auth-aside-copy > p:last-child {
    max-width: 390px;
    margin-top: 22px;
    color: #a9b2bd;
    font-size: 16px;
    line-height: 1.6;
}
.so-auth-points {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}
.so-auth-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cfd6df;
    font-size: 13px;
}
.so-auth-points .so-icon {
    width: 15px;
    height: 15px;
    color: #6fc3ff;
    stroke-width: 2;
}
.so-auth-aside-foot {
    position: relative;
    z-index: 1;
    margin-top: 30px;
    color: #59616c;
    font-size: 11px;
}

.so-auth-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
    background: var(--bg);
}
.so-auth-card {
    width: min(520px, 100%);
}
.so-auth-back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 34px;
    color: var(--muted);
    font-size: 12.5px;
    transition: color .2s var(--ease);
}
.so-auth-back:hover { color: var(--ink); }
.so-auth-back .so-icon { width: 14px; height: 14px; }

.so-auth-head h2 {
    font-size: clamp(32px, 3.4vw, 42px);
    font-weight: 600;
    letter-spacing: -.045em;
}
.so-auth-head p { margin-top: 10px; color: var(--muted); font-size: 14px; }
.so-auth-head a { color: var(--blue); }
.so-auth-head a:hover { text-decoration: underline; }

.so-auth-form { margin-top: 34px; }
.so-auth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.so-field { display: block; margin-bottom: 16px; }
.so-field > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 500;
}
.so-field > span em { color: var(--muted-light); font-style: normal; font-weight: 400; }
.so-field input {
    width: 100%;
    height: 46px;
    padding: 0 13px;
    border: 1px solid #dcdce1;
    border-radius: 11px;
    background: #fff;
    font-size: 14px;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.so-field input::placeholder { color: #b0b0b6; }
.so-field input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, .12);
}

.so-password { position: relative; }
.so-password input { padding-right: 46px; }
.so-eye {
    position: absolute;
    top: 50%;
    right: 7px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0;
    border-radius: 8px;
    color: var(--muted-light);
    background: transparent;
    font-size: 13px;
    cursor: pointer;
    transform: translateY(-50%);
}
.so-eye:hover { color: var(--ink); background: var(--mist); }

.so-agree {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 4px 0 22px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.5;
    cursor: pointer;
}
.so-agree input {
    width: 15px;
    height: 15px;
    margin: 2px 0 0;
    accent-color: var(--blue);
    flex: none;
}
.so-agree a { color: var(--blue); }
.so-agree a:hover { text-decoration: underline; }

.so-auth-submit { width: 100%; min-height: 48px; }
.so-auth-note {
    margin-top: 14px;
    color: var(--muted-light);
    font-size: 11px;
    line-height: 1.55;
    text-align: center;
}

@media (max-width: 900px) {
    .so-auth-shell { grid-template-columns: 1fr; min-height: 0; }
    .so-auth-aside { padding: 26px 24px 34px; }
    .so-auth-aside-copy { padding: 40px 0 30px; }
    .so-auth-aside-copy h1 { font-size: 40px; }
    .so-auth-aside-copy > p:last-child { margin-top: 14px; font-size: 14px; }
    .so-auth-points { display: none; }
    .so-auth-aside-foot { display: none; }
    .so-auth-main { padding: 36px 20px 56px; }
    .so-auth-back { margin-bottom: 24px; }
}

@media (max-width: 560px) {
    .so-auth-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Simple centered auth (reset / appeal) ---------- */

.so-auth-simple {
    background:
        radial-gradient(760px 420px at 50% -8%, rgba(0, 113, 227, .08), transparent 68%),
        var(--bg);
}
.so-auth-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 56px 24px;
}
.so-auth-center .so-auth-card { width: min(460px, 100%); }
.so-auth-center-brand { margin-bottom: 40px; }
.so-auth-head h1 {
    font-size: clamp(32px, 3.4vw, 40px);
    font-weight: 600;
    letter-spacing: -.045em;
}
.so-auth-head h2 {
    font-size: clamp(32px, 3.4vw, 40px);
    font-weight: 600;
    letter-spacing: -.045em;
}

.so-auth-account {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 24px;
    padding: 13px 15px;
    border-radius: 12px;
    background: var(--mist);
}
.so-auth-account span { color: var(--muted); font-size: 11px; }
.so-auth-account b {
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 500;
    overflow-wrap: anywhere;
    text-align: right;
}

.so-field textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #dcdce1;
    border-radius: 11px;
    background: #fff;
    font-size: 14px;
    line-height: 1.55;
    resize: vertical;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.so-field textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, .12);
}
.so-field input[readonly] { color: var(--muted); background: #fafafc; }

.so-code-row { display: flex; gap: 10px; }
.so-code-row input { flex: 1; min-width: 0; }
.so-code-btn {
    flex: none;
    padding: 0 15px;
    border: 1px solid #dcdce1;
    border-radius: 11px;
    color: var(--ink);
    background: #fff;
    font-size: 12.5px;
    cursor: pointer;
    transition: background .2s var(--ease), border-color .2s var(--ease);
}
.so-code-btn:hover:not(:disabled) { border-color: #b8b8c0; background: #fafafc; }
.so-code-btn:disabled { color: var(--muted-light); cursor: default; }

.so-strength {
    height: 4px;
    margin-top: 9px;
    overflow: hidden;
    border-radius: 99px;
    background: #ececf0;
}
.so-strength i { display: block; width: 0; height: 100%; border-radius: inherit; transition: width .25s var(--ease); }
.so-strength i.weak { width: 33%; background: #e25b52; }
.so-strength i.medium { width: 66%; background: #e5a13a; }
.so-strength i.strong { width: 100%; background: #2fbf71; }
.so-strength-text { display: block; margin-top: 6px; font-size: 11px; }

.so-counter { display: block; margin-top: 6px; color: var(--muted-light); font-size: 11px; text-align: right; }

.so-auth-tips {
    margin: 4px 0 22px;
    padding: 16px;
    border-radius: 12px;
    background: var(--mist);
}
.so-auth-tips b { display: block; margin-bottom: 8px; color: var(--ink); font-size: 12px; font-weight: 600; }
.so-auth-tips ul { display: grid; gap: 5px; }
.so-auth-tips li {
    position: relative;
    padding-left: 13px;
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.55;
}
.so-auth-tips li::before {
    position: absolute;
    top: 7px;
    left: 2px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #b0b0b6;
    content: "";
}

.so-auth-foot { margin-top: 26px; text-align: center; }
.so-auth-foot a { color: var(--blue); font-size: 13px; }
.so-auth-foot a:hover { text-decoration: underline; }

@media (max-width: 560px) {
    .so-auth-center { padding: 36px 20px; align-items: flex-start; }
    .so-auth-center-brand { margin-bottom: 30px; }
}

