:root {
    color-scheme: light;
    --ink: #152238;
    --muted: #64748b;
    --line: #d7e0eb;
    --blue: #2563eb;
    --teal: #079b9d;
    --canvas: #edf3fa;
    --surface: #ffffff;
    --soft: #f6f9fc;
    --shadow: 0 28px 75px rgba(35, 62, 100, .15);
}
* { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: "DM Sans", sans-serif; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.shell { min-height: 100vh; padding: 112px 20px 56px; background: radial-gradient(circle at 8% 9%, #fff 0, transparent 25%), linear-gradient(140deg, #f1f6fc, #e6eef8); }
.brand { position: absolute; top: 27px; left: 38px; display: block; width: 176px; height: 52px; color: var(--ink); }
.brand img { display: block; width: 100%; height: 100%; }
.card { width: min(100%, 560px); margin: 0 auto; padding: 32px 44px 38px; border: 1px solid #c9d5e4; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.meta { display: flex; justify-content: space-between; color: #8a98ac; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.meta span:last-child { color: var(--teal); }
.track { height: 4px; margin: 15px 0 42px; background: #e8edf4; }
.track i { display: block; width: 33%; height: 100%; background: var(--teal); transition: width .25s; }
.eyebrow { margin-bottom: 13px; color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: .18em; }
h1 { margin: 0; font: 700 clamp(31px, 5vw, 43px)/1.08 "Space Grotesk", sans-serif; letter-spacing: 0; }
.lead { margin: 16px 0 27px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.login-steps { display: grid; gap: 9px; margin-bottom: 25px; }
.login-step, .completed-step { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--soft); }
.auth-cards { display: grid; gap: 12px; }
.auth-card { padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: var(--soft); }
.auth-card.active { border-color: #9cd8d9; background: #effbfb; }
.auth-card.locked { opacity: .76; }
.card-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.card-heading > div { display: grid; gap: 3px; }
.card-heading strong { font-size: 14px; }
.card-heading small, .locked-note { color: var(--muted); font-size: 11px; }
.card-number { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; color: var(--teal); background: #dff4f4; font: 700 11px "Space Grotesk", sans-serif; }
.card-status, .lock { margin-left: auto; color: var(--teal); font-size: 9px; font-weight: 700; letter-spacing: .11em; }
.lock { color: var(--muted); }
.phone-preview, .phone-input { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; }
.phone-preview span, .phone-input span { padding: 0 13px; color: var(--muted); font-weight: 700; }
.phone-preview input, .phone-input input { border: 0; border-left: 1px solid var(--line); border-radius: 0; }
.phone-preview input:disabled { color: var(--muted); background: var(--surface); }
.locked-note { display: block; margin-top: 9px; }
.login-step.active, .completed-step { border-color: #9cd8d9; background: #effbfb; }
.step-number { display: grid; place-items: center; width: 29px; height: 29px; flex: 0 0 auto; border-radius: 50%; color: var(--teal); background: #dff4f4; font: 700 11px "Space Grotesk", sans-serif; }
.login-step div, .completed-step div { display: grid; gap: 3px; }
.login-step strong, .completed-step strong { font-size: 13px; }
.login-step small, .completed-step small { color: var(--muted); font-size: 11px; }
.step-state { margin-left: auto; color: var(--teal); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.google, .primary { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 58px; border: 0; border-radius: 12px; color: #fff; background: var(--blue); font-weight: 700; transition: .2s; }
.google:hover, .primary:hover { background: #1d4ed8; box-shadow: 0 10px 24px rgba(37, 99, 235, .22); transform: translateY(-2px); }
.google b { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: var(--blue); background: #fff; }
.google strong { margin-left: auto; font-size: 21px; font-weight: 400; }
.note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 20px 0 0; color: #8795a8; font-size: 12px; }
.note i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
form { display: grid; gap: 10px; }
label { color: var(--ink); font-size: 13px; font-weight: 700; }
input, select { width: 100%; height: 56px; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px; outline: 0; color: var(--ink); background: var(--surface); }
input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .14); }
.field-hint { margin: 1px 0 0; color: var(--muted); font-size: 11px; }
.primary { margin-top: 16px; }
.primary span { margin-left: auto; font-size: 20px; }
.completed-step { margin-bottom: 24px; }
.completed-step > span { display: grid; place-items: center; width: 27px; height: 27px; flex: 0 0 auto; border-radius: 50%; color: #fff; background: var(--teal); font-weight: 700; }
.role-preview { display: grid; gap: 7px; margin-top: 23px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.role-preview label { font-size: 12px; }
.role-preview small { color: var(--muted); font-size: 11px; }
.role-preview select:disabled { color: var(--muted); opacity: 1; }
.link { display: block; margin: 18px auto 0; border: 0; color: var(--blue); background: transparent; font-size: 13px; font-weight: 700; }
.roles { display: grid; gap: 10px; }
.role { display: flex; justify-content: space-between; width: 100%; padding: 17px 18px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--soft); text-align: left; }
.role:hover { border-color: var(--teal); background: #effbfb; }
.role b { color: var(--teal); font-size: 20px; }
.success { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: 50%; color: #fff; background: var(--teal); font-size: 27px; }
.landing { display: grid; gap: 7px; padding: 18px; border-left: 3px solid var(--teal); background: #effbfb; }
.landing span, .landing small { color: var(--muted); font-size: 12px; }
.landing strong { font: 600 21px "Space Grotesk", sans-serif; }
.landing small { color: var(--teal); }
#error { min-height: 20px; margin: 21px 0 0; color: #c43b43; font-size: 13px; }
footer { position: fixed; right: 38px; bottom: 28px; color: #8795a8; font-size: 11px; }
footer span { margin-left: 18px; }
@media (max-width: 620px) { .shell { padding: 91px 14px 34px; } .brand { top: 19px; left: 21px; width: 155px; height: 46px; } .card { padding: 24px 22px 29px; border-radius: 18px; } .track { margin-bottom: 36px; } footer { position: static; margin: 22px auto 0; text-align: center; } footer span { margin-left: 10px; } }
@media (max-height: 720px) and (min-width: 621px) { .shell { padding-top: 88px; } .brand { top: 20px; } .card { min-height: 0; padding-top: 23px; padding-bottom: 25px; } .track { margin-bottom: 30px; } .lead { margin-bottom: 20px; } .login-steps { gap: 6px; margin-bottom: 18px; } .login-step { padding: 9px 12px; } .step-number { width: 25px; height: 25px; } }
