:root { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #e9eef5; background: #09111b; color-scheme: dark; font-synthesis: none; --muted: #9aaabd; --green: #b6f271; --border: rgba(168, 189, 210, .15); }
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; min-height: 100svh; background: radial-gradient(ellipse at 10% 35%, #18302d66, transparent 45%), radial-gradient(ellipse at 85% 0%, #18304466, transparent 42%), #09111b; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
svg { flex: 0 0 auto; }
[hidden] { display: none !important; }
.page-shell { width: min(100%, 1224px); min-height: 100svh; margin: auto; padding: 32px 48px 22px; display: flex; flex-direction: column; }
.page-header, .page-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { border-radius: 12px; }
.brand > span { display: flex; flex-direction: column; font-size: 25px; letter-spacing: -.07em; font-weight: 750; line-height: 1; }
.brand small { margin-top: 6px; color: #8b9bad; font-size: 8px; letter-spacing: .2em; font-weight: 600; }
.private-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; color: #a6b5c4; border: 1px solid var(--border); border-radius: 100px; padding: 9px 12px; }
.auth-layout { width: 100%; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: center; gap: 90px; padding: 58px 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #a3b3b4; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 600; margin: 0 0 26px; }
.eyebrow span { display: block; width: 18px; height: 2px; background: var(--green); }
.story h2 { font-size: clamp(36px, 4.5vw, 56px); line-height: 1.08; letter-spacing: -.055em; font-weight: 650; margin: 0 0 22px; }
.story h2 em { color: var(--green); font-style: normal; }
.story-description { color: var(--muted); font-size: 15px; line-height: 1.75; max-width: 345px; margin: 0; }
.market-art { position: relative; margin-top: 38px; max-width: 470px; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(140deg, #14272a99, #10202a44); padding: 18px 20px 14px; overflow: hidden; }
.art-header, .art-footer { display: flex; align-items: center; justify-content: space-between; font-size: 9px; letter-spacing: .06em; color: #8197a3; }
.art-header > span:first-child { display: flex; align-items: center; gap: 7px; color: #b3c6c7; font-size: 10px; letter-spacing: .025em; }
.art-header i, .page-footer i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); display: inline-block; }
.chart { width: 100%; height: auto; display: block; margin-top: 26px; }
.chart-grid { stroke: #8babc0; stroke-opacity: .07; }
.art-footer { justify-content: flex-start; gap: 21px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #9bbdb00e; }
.story-note { display: flex; align-items: center; gap: 8px; color: #8ea5a5; font-size: 11px; margin: 22px 0 0; }
.auth-card { padding: 32px; border: 1px solid #a8bdd229; border-radius: 26px; background: linear-gradient(155deg, #14222f, #0f1b27); box-shadow: 0 28px 90px #0004, inset 0 1px 0 #ffffff05; }
.steps { list-style: none; margin: 0 0 34px; padding: 0; display: flex; align-items: center; gap: 22px; font-size: 11px; }
.steps li { display: flex; align-items: center; gap: 7px; color: #7f90a3; }
.step-number { display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid #657b923b; border-radius: 50%; font-size: 10px; font-weight: 600; }
.steps .current { color: #e9eef5; }
.steps .current .step-number { background: #b6f27114; border-color: #b6f2716b; color: var(--green); }
.steps .complete { color: #a8bdad; }
.steps .complete .step-number { background: #b6f271; color: #112016; border-color: transparent; }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #b6f27126; border-radius: 13px; color: var(--green); background: #b6f27109; margin-bottom: 21px; }
.card-eyebrow { text-transform: uppercase; letter-spacing: .13em; color: #92a6b6; font-size: 9px; font-weight: 650; margin: 0 0 9px; }
h1 { font-size: 27px; line-height: 1.15; letter-spacing: -.045em; margin: 0 0 12px; font-weight: 650; }
.card-description { font-size: 13px; line-height: 1.65; color: var(--muted); margin: 0 0 27px; }
.login-form { display: flex; flex-direction: column; gap: 20px; }
.field { min-width: 0; }
label { display: block; margin: 0 0 9px; font-size: 12px; font-weight: 600; color: #d1dbe6; }
input { width: 100%; min-height: 50px; border: 1px solid #a8bdd233; border-radius: 11px; background: #08131b80; color: #f1f5f9; font-size: 16px; padding: 13px 14px; transition: border-color .15s, box-shadow .15s; }
input::placeholder { color: #8191a3; opacity: 1; font-size: 13px; }
input:hover { border-color: #a8bdd255; }
input:focus { border-color: #b6f271; outline: 0; box-shadow: 0 0 0 3px #b6f27115; }
input:autofill { background: #11221f; color: #e9eef5; }
.password-field { position: relative; }
.password-field:has(.password-toggle:not([hidden])) input { padding-right: 52px; }
.password-toggle { position: absolute; inset: 4px 4px 4px auto; width: 44px; border: 0; border-radius: 8px; color: #9dafc0; background: transparent; display: grid; place-items: center; }
.password-toggle:hover, .password-toggle[aria-pressed="true"] { background: #ffffff06; color: #e9eef5; }
.primary-button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 50px; margin-top: 4px; padding: 13px 16px; border: 1px solid transparent; border-radius: 11px; color: #112016; background: var(--green); font-weight: 700; font-size: 13px; box-shadow: 0 6px 24px #b6f2710d; transition: background .15s, transform .15s; }
.primary-button:hover { background: #c8fa92; transform: translateY(-1px); }
.primary-button:active { transform: translateY(0); }
.primary-button:disabled { cursor: wait; opacity: .75; transform: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 7px; }
.form-hint { display: flex; align-items: flex-start; gap: 7px; font-size: 11px; line-height: 1.55; color: #95a9b6; margin: 19px 0 0; }
.form-hint svg { margin-top: 1px; color: #9bb9a3; }
.card-footer { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 27px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 10px; color: #a0b1bd; }
.verified-account { display: flex; align-items: center; gap: 7px; border: 1px solid #b6f27120; background: #b6f27107; padding: 11px 12px; border-radius: 10px; color: #c2d1ca; font-size: 11px; margin-bottom: 26px; min-width: 0; }
.verified-account svg { color: var(--green); }
.verified-account strong { margin-left: auto; max-width: 105px; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
input.code-input { height: 66px; text-align: center; font-size: 29px; letter-spacing: .31em; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; padding-left: 22px; }
input.code-input::placeholder { font-size: 29px; color: #778b9d; }
input.recovery-input { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 15px; }
input.recovery-input::placeholder { font-size: 12px; }
.input-hint { color: #96a8b7; font-size: 11px; line-height: 1.5; margin: 10px 0 0; }
.alternatives { margin-top: 20px; text-align: center; }
.alternative { display: inline-block; color: #c4dea9; font-size: 12px; line-height: 1.6; padding: 8px 0; }
.alternative:hover { text-decoration: underline; text-underline-offset: 4px; }
.back-button { display: inline-flex; align-items: center; justify-content: center; gap: 2px; min-height: 40px; color: #a3b4c2; background: transparent; border: 0; padding: 6px 0; font-size: 11px; }
.back-button:hover { color: #e9eef5; }
.alert { display: flex; align-items: flex-start; gap: 9px; padding: 12px; margin: -5px 0 22px; border: 1px solid #edaf7544; border-radius: 11px; background: #edaf750a; color: #f6c899; }
.alert svg { margin-top: 1px; width: 16px; height: 16px; }
.alert p { margin: 0; font-size: 12px; line-height: 1.6; }
.form-error { margin: 0; color: #f6c899; font-size: 12px; line-height: 1.6; }
.page-footer { color: #8b9dab; font-size: 10px; }
.page-footer > span:last-child { display: flex; align-items: center; gap: 7px; }
@media (max-width: 1000px) { .auth-layout { gap: 42px; } .page-shell { padding-left: 32px; padding-right: 32px; } .story h2 { font-size: 43px; } }
@media (max-width: 800px) {
  .page-shell { width: min(100%, 480px); padding: 24px 20px 20px; }
  .page-header { padding: 0 4px; }
  .brand img { width: 36px; height: 36px; border-radius: 10px; }
  .brand > span { font-size: 23px; }
  .private-badge { font-size: 10px; padding: 8px 10px; }
  .story { display: none; }
  .auth-layout { display: block; flex: 1; padding: 36px 0 30px; align-content: center; }
  .auth-card { padding: 28px; border-radius: 23px; }
  .page-footer { padding: 0 4px; }
}
@media (max-width: 359px) {
  .page-shell { padding: 20px 14px 18px; }
  .auth-layout { padding-top: 26px; }
  .auth-card { padding: 22px; }
  .steps { gap: 18px; margin-bottom: 28px; font-size: 10px; }
  h1 { font-size: 24px; }
  .verified-account { gap: 5px; font-size: 10px; }
  .verified-account strong { max-width: 70px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } .primary-button:hover { transform: none; } }
