:root {
  --bg: #f6f7f9;
  --text: #111;
  --muted: #333;
  --line: #cfd6dd;
  --card: #fff;
  --shadow: rgba(0,0,0,0.06);
  --brand: #111;
}

* { box-sizing: border-box; }

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

.wrap { max-width: 760px; margin: 0 auto; padding: 20px; }

.card {
  background: var(--card);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 20px var(--shadow);
}

.header { margin-bottom: 12px; }
.brand { font-weight: 800; letter-spacing: 0.2px; }
.headline { font-size: 20px; font-weight: 700; margin-top: 4px; }
.blurb { margin-top: 8px; color: var(--muted); line-height: 1.35; }

label { display: block; font-size: 13px; margin: 12px 0 6px; color: var(--text); }

input, select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 16px;
  background: #fff;
}

textarea { min-height: 96px; resize: vertical; }

.row { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .row.two { grid-template-columns: 1fr 1fr; } }

button {
  width: 100%;
  margin-top: 16px;
  padding: 12px 14px;
  border: 0;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  background: var(--brand);
  color: #fff;
}

button:disabled { opacity: 0.6; cursor: not-allowed; }

.small { font-size: 12px; color: #555; margin-top: 10px; }

.msg { margin-top: 12px; }
.msg.ok {
  padding: 12px;
  border-radius: 10px;
  background: #eaffea;
  border: 1px solid #bfe7bf;
}
.msg.err {
  padding: 12px;
  border-radius: 10px;
  background: #ffecec;
  border: 1px solid #f0bcbc;
}

.footer { text-align: center; margin-top: 14px; }
.req { color: #b00020; margin-left: 4px; }

.hint { font-size: 12px; color: #666; margin-top: 6px; }
