:root{
  --bg:#0b1020;
  --card:#111a33;
  --text:#eaf0ff;
  --muted:#a9b6dd;
  --brand:#6ea8ff;
  --brand2:#8b5cf6;
  --danger:#ff5a7a;
  --ok:#34d399;
  --border:rgba(255,255,255,.12);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  background:
    radial-gradient(1200px 600px at 15% 10%, rgba(110,168,255,.25), transparent 60%),
    radial-gradient(900px 500px at 85% 15%, rgba(139,92,246,.22), transparent 60%),
    radial-gradient(900px 500px at 50% 90%, rgba(52,211,153,.12), transparent 65%),
    var(--bg);
  color:var(--text);
}

.wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 16px 56px;
}

header{
  display:flex;
  gap:16px;
  align-items:flex-start;
  justify-content:space-between;
  margin-bottom: 18px;
}

.brand{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.brand h1{
  margin:0;
  font-weight:750;
  letter-spacing:.2px;
  font-size: 26px;
}
.brand p{
  margin:0;
  color:var(--muted);
  line-height: 1.35;
}

.pill{
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  padding:8px 10px;
  border-radius:999px;
  color:var(--muted);
  font-size: 13px;
  display:inline-flex;
  gap:8px;
  align-items:center;
}
.pill b{color:var(--text); font-weight:650}

.grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items:start;
}
.grid--single{
  grid-template-columns: 1fr;
  max-width: 520px;
  margin: 0 auto;
}
@media (max-width: 860px){
  .grid{grid-template-columns:1fr}
}

.card{
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: 0 16px 60px rgba(0,0,0,.35);
  border-radius: 18px;
  padding: 18px;
  backdrop-filter: blur(10px);
}

.card h2{
  margin:0 0 10px;
  font-size: 16px;
  font-weight: 720;
}
.hint{
  color:var(--muted);
  margin:0 0 12px;
  line-height: 1.45;
  font-size: 14px;
}

.stepper{
  display:flex;
  gap:10px;
  align-items:center;
  margin: 0 0 14px;
}
.dot{
  width: 34px; height: 34px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  display:flex; align-items:center; justify-content:center;
  font-weight: 700;
  color: var(--muted);
}
.dot.active{
  color:var(--text);
  border-color: rgba(110,168,255,.55);
  background: rgba(110,168,255,.10);
}
.dot.done{
  color:var(--ok);
  border-color: rgba(52,211,153,.6);
  background: rgba(52,211,153,.08);
}

form{margin-top: 10px}
.row{display:grid; grid-template-columns:1fr 1fr; gap:12px}
@media(max-width:560px){.row{grid-template-columns:1fr}}

label{
  display:block;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 8px;
}
input, select, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border:1px solid var(--border);
  background: rgba(7,10,20,.55);
  color: var(--text);
  outline:none;
}
textarea{min-height: 92px; resize: vertical}
input:focus,select:focus,textarea:focus{
  border-color: rgba(110,168,255,.65);
  box-shadow: 0 0 0 4px rgba(110,168,255,.12);
}

.actions{
  display:flex;
  justify-content:space-between;
  gap: 10px;
  margin-top: 14px;
}

button{
  appearance:none;
  border:0;
  border-radius: 12px;
  padding: 11px 14px;
  font-weight: 720;
  cursor:pointer;
  color: var(--text);
}
.btn{
  background: rgba(255,255,255,.06);
  border:1px solid var(--border);
}
.btn:hover{background: rgba(255,255,255,.08)}
.btn.primary{
  border:1px solid rgba(110,168,255,.55);
  background: linear-gradient(135deg, rgba(110,168,255,.24), rgba(139,92,246,.18));
}
.btn.primary:hover{
  background: linear-gradient(135deg, rgba(110,168,255,.30), rgba(139,92,246,.22));
}
.btn.danger{
  border:1px solid rgba(255,90,122,.55);
  background: rgba(255,90,122,.14);
}
.btn:disabled{opacity:.55; cursor:not-allowed}

.msg{
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  line-height:1.4;
  font-size: 14px;
}
.msg.ok{
  border-color: rgba(52,211,153,.55);
  background: rgba(52,211,153,.08);
  color: rgba(234,240,255,.92);
}
.msg.err{
  border-color: rgba(255,90,122,.55);
  background: rgba(255,90,122,.10);
  color: rgba(234,240,255,.92);
}

.side ul{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.mini{
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.mini a{color: var(--brand)}

.thank-card{
  text-align:center;
  padding: 36px 28px;
}
.thank-icon{
  color: var(--ok);
  margin-bottom: 18px;
  display:flex;
  justify-content:center;
}
.thank-title{
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 750;
  letter-spacing: .2px;
}
.thank-lead{
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 15px;
}
.thank-steps{
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  text-align: left;
  display: inline-block;
}
.thank-steps li{
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: rgba(234,240,255,.88);
  font-size: 14px;
  line-height: 1.45;
}
.thank-steps li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 12px rgba(52,211,153,.45);
}
.thank-note{
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

