:root{
  --bg: #0b0c10;
  --card: #12151b;
  --muted: #a7b0c0;
  --text: #e9eef7;
  --accent: #ff4d4f;
  --accent-2: #ffb703;
  --border: #232733;
  --focus: #7cc5ff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -20%, #1b2230 0%, transparent 60%),
    radial-gradient(900px 500px at 110% 10%, #1a1f2a 0%, transparent 55%),
    var(--bg);
  line-height: 1.5;
}

.wrapper{
  min-height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
}

.card{
  max-width: 780px;
  margin: 48px auto 24px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.0)) , var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card__header{ margin-bottom: 8px; }

.brand{
  display: flex; align-items: center; gap: 12px;
}
.brand__logo{
  font-size: 30px;
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), #ff6a88);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(255,77,79,.35);
}

.title{
  font-size: clamp(1.4rem, 2vw + 1rem, 2rem);
  margin: 0;
  font-weight: 700;
  letter-spacing: .2px;
}

.subtitle{
  margin: 8px 0 0;
  color: var(--muted);
}

.fieldset{
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin: 18px 0;
}

.legend{
  padding: 0 10px;
  font-weight: 700;
  color: var(--text);
}

.grid{
  display: grid;
  gap: 16px;
}
@media (min-width: 640px){
  .grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field{ display: grid; gap: 8px; }

.label{
  font-weight: 600;
}

.req{ color: var(--accent-2); }

.input{
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #0f1218;
  color: var(--text);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input::placeholder{ color: #6b7486; }
.input:focus{
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(124,197,255,.25);
}

.textarea{ resize: vertical; min-height: 110px; }

.hint{
  color: #8f98aa;
  font-size: .875rem;
}

.choices{ display: flex; gap: 12px; flex-wrap: wrap; }
.choice{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #0e1117;
  cursor: pointer;
  transition: transform .05s ease, border-color .15s ease, background .15s ease;
}
.choice:hover{ border-color: #3a4253; transform: translateY(-1px); }
.choice input{ accent-color: var(--accent); width: 18px; height: 18px; }

.choices--grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.actions{ margin-top: 10px; }
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%;
  padding: 14px 18px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, #ff6a88 100%);
  color: white;
  font-weight: 700;
  letter-spacing: .3px;
  cursor: pointer;
  transition: transform .05s ease, filter .15s ease, box-shadow .15s ease;
  box-shadow: 0 10px 24px rgba(255,77,79,.28);
}
.btn:hover{ filter: brightness(1.05); transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

.footnote{
  margin-top: 10px;
  color: #8b95a7;
  font-size: .875rem;
  text-align: center;
}

.footer{
  color: #7d8698;
  text-align: center;
  padding: 16px;
  font-size: .9rem;
}
