/* Shared styling for register / login / welcome.
   Same tokens as index.html so the account pages are not a different product. */

:root{
  --page:#e9ebee;
  --paper:#ffffff;
  --ink:#22262b;
  --ink-mid:#4a525b;
  --ink-soft:#6a727c;
  --rule:#dcdfe4;
  --rule-strong:#b4bac2;
  --mark:#1f4d8f;
  --mark-soft:#eaf0f8;
  --point:#c25a2e;
  --ok:#2f6b4f;
  --ok-soft:#e8f0eb;
  --alert:#b3453f;
  --alert-soft:#fbeeed;
}
*{box-sizing:border-box;margin:0;padding:0;}
body{
  font-family:'Jost',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  background:var(--ink);color:#fff;
  font-size:15.5px;line-height:1.55;-webkit-font-smoothing:antialiased;
  min-height:100vh;display:flex;flex-direction:column;
}
h1,h2{letter-spacing:-0.018em;font-weight:600;line-height:1.2;}
a{color:#fff;}

.topstrip{padding:22px 0;}
.wrap{width:100%;max-width:430px;margin:0 auto;padding:0 22px;}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none;}
.brand .wm{color:#fff;font-size:18px;font-weight:500;letter-spacing:0.22em;}

main{flex:1;display:flex;align-items:center;padding:14px 0 50px;}

h1{font-size:27px;margin-bottom:8px;}
.lead{color:rgba(255,255,255,0.72);font-size:15px;margin-bottom:26px;line-height:1.55;}

.field{margin-bottom:15px;}
.field label{
  display:block;font-size:13px;color:rgba(255,255,255,0.78);margin-bottom:6px;font-weight:500;
}
.field input{
  width:100%;font:inherit;font-size:15.5px;padding:12px 14px;
  background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.24);
  border-radius:4px;color:#fff;
}
.field input::placeholder{color:rgba(255,255,255,0.4);}
.field input:focus{outline:none;border-color:#fff;background:rgba(255,255,255,0.13);}
.field .hint{font-size:12.5px;color:rgba(255,255,255,0.5);margin-top:6px;line-height:1.45;}

.btn{
  width:100%;font:inherit;font-size:15.5px;font-weight:500;padding:13px 20px;cursor:pointer;
  background:#fff;color:var(--ink);border:1px solid #fff;border-radius:4px;margin-top:6px;
}
.btn:hover{background:#e9ebee;}
.btn:disabled{opacity:.55;cursor:not-allowed;}

.msg{
  border-radius:4px;padding:12px 14px;font-size:14px;line-height:1.5;margin-bottom:18px;display:none;
}
.msg.show{display:block;}
.msg.err{background:#3a2422;border:1px solid #6b3d39;color:#f0a8a4;}
.msg.ok{background:#1e3328;border:1px solid #375a45;color:#9ed3b4;}

.alt{
  margin-top:22px;padding-top:18px;border-top:1px solid rgba(255,255,255,0.13);
  font-size:14px;color:rgba(255,255,255,0.62);text-align:center;
}
.alt a{color:#fff;text-decoration:underline;}

.card{
  background:rgba(255,255,255,0.055);border:1px solid rgba(255,255,255,0.14);
  border-radius:6px;padding:20px 22px;margin-bottom:18px;
}
.card h2{font-size:16px;margin-bottom:9px;}
.card p{font-size:14px;color:rgba(255,255,255,0.74);line-height:1.6;}
.card ol{margin:10px 0 0 18px;font-size:14px;color:rgba(255,255,255,0.74);line-height:1.75;}

.applink{
  display:block;background:#fff;color:var(--ink);text-decoration:none;text-align:center;
  font-size:16px;font-weight:500;padding:14px 20px;border-radius:4px;margin:4px 0 6px;
}
.applink:hover{background:#e9ebee;}

footer{padding:20px 0 26px;font-size:12.5px;color:rgba(255,255,255,0.42);text-align:center;}
footer a{color:rgba(255,255,255,0.66);text-decoration:none;}

@media(max-width:480px){ h1{font-size:23px;} }
