:root{
  --bg:#eef2ff;
  --card:#ffffff;
  --muted:#6b7280;
  --border:#e5e7eb;
  --hero1:#2f55ff;
  --hero2:#2750d7;
}

*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial}
.page{min-height:100vh;background:var(--bg);padding:18px;display:flex;justify-content:center}
.card{width:min(520px,100%);background:var(--card);border-radius:16px;box-shadow:0 10px 25px rgba(0,0,0,.08);overflow:hidden}

.hero{padding:22px 18px;background:linear-gradient(180deg,var(--hero1),var(--hero2));color:white}
.hero-title{font-size:20px;font-weight:700}
.hero-sub{margin-top:6px;opacity:.95}
.pin{margin-right:6px}

.section{padding:18px}
h2{margin:0 0 14px 0;font-size:18px}
.label{display:block;margin:12px 0 6px 0;font-weight:600}
.input{
  width:100%;padding:12px 12px;border:1px solid var(--border);
  border-radius:10px;background:#f9fafb;outline:none
}
.input:focus{background:#fff;border-color:#9aa7ff}

.row2{display:grid;grid-template-columns:1fr 1fr;gap:12px}

.terms{margin-top:16px;border:1px solid var(--border);border-radius:12px;padding:12px;background:#f3f4f6}
.terms h3{margin:0 0 10px 0;font-size:14px;color:#111827}
.check{display:flex;gap:10px;align-items:flex-start;margin:10px 0;color:#111827}
.check input{margin-top:3px}
.muted{color:var(--muted)}

.btn{
  width:100%;margin-top:16px;padding:12px 14px;border:0;border-radius:12px;
  background:#6b7280;color:white;font-weight:700;cursor:pointer
}
.btn:hover{filter:brightness(.97)}
.btn-secondary{display:inline-block;text-align:center;text-decoration:none}

.toast-wrap{width:min(520px,100%);position:fixed;top:12px;left:50%;transform:translateX(-50%);padding:0 12px}
.toast{background:#111827;color:#fff;padding:10px 12px;border-radius:10px;margin-bottom:8px;box-shadow:0 10px 20px rgba(0,0,0,.15)}
.toast-error{background:#b91c1c}

@media (max-width:420px){
  .row2{grid-template-columns:1fr}
}

