:root {
  --brand: #7c5cf0;
  --soft: #eeebfb;
  --ink: #1f1b2e;
  --muted: #8a8794;
  --line: #eceaf2;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f3f2f8;
  font-family:
    Pretendard,
    -apple-system,
    sans-serif;
  color: var(--ink);
}
.wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 26px 18px 60px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: 0 10px 34px rgba(20, 10, 40, 0.06);
}
.head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 6px;
}
.logo {
  width: 36px;
  height: 36px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo.fallback {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(135deg, #a78bfa, #7c5cf0);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 4px 12px rgba(124, 92, 240, 0.28);
}
.logo.fallback::after {
  content: "B";
}
.brand {
  font-size: 13px;
  color: var(--muted);
}
h1 {
  font-size: 20px;
  margin: 14px 0 6px;
}
.intro {
  font-size: 14px;
  color: #4b4757;
  line-height: 1.6;
  margin: 0 0 18px;
  white-space: pre-line;
}
.q {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.qt {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.5;
}
.scale {
  display: flex;
  gap: 7px;
}
.opt {
  flex: 1;
}
.opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.opt label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 4px 9px;
  cursor: pointer;
  text-align: center;
  transition: 0.12s;
}
.opt label .n {
  font-size: 17px;
  font-weight: 800;
  color: var(--muted);
}
.opt label .l {
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.25;
}
.opt input:checked + label {
  border-color: var(--brand);
  background: var(--soft);
}
.opt input:checked + label .n {
  color: var(--brand);
}
.opt input:checked + label .l {
  color: var(--brand);
}
textarea {
  width: 100%;
  font: inherit;
  font-size: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 92px;
  resize: vertical;
}
.submit {
  width: 100%;
  margin-top: 22px;
  padding: 14px;
  border: none;
  border-radius: 13px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.submit:disabled {
  opacity: 0.6;
}
.foot {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin: 16px auto 0;
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: break-word;
  max-width: 400px;
}
.consent {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 18px 16px;
  margin: 0 0 4px;
  background: #fbfaff;
}
.consent h2 {
  font-size: 14.5px;
  margin: 0 0 10px;
  color: var(--brand);
}
.consent .cbody {
  font-size: 13px;
  color: #4b4757;
  line-height: 1.85;
  white-space: pre-line;
  margin-bottom: 14px;
}
.consent label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.consent input {
  width: 17px;
  height: 17px;
  flex: none;
  margin: 1px 0 0;
  accent-color: var(--brand);
}
.consent .req {
  color: #ec4899;
  font-weight: 700;
  margin-left: 2px;
}
.consent .docs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.consent .docs a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
  background: #fff;
  border: 1px solid #ddd6f7;
  border-radius: 999px;
  padding: 7px 13px;
  text-decoration: none;
}
.consent .docs a:hover {
  background: var(--soft);
}
.consent .docs a svg {
  width: 11px;
  height: 11px;
  flex: none;
}
.consent .ver {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 9px;
}
.step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand);
  background: var(--soft);
  border-radius: 999px;
  padding: 5px 11px;
  margin: 14px 0 0;
}
.stitle {
  font-size: 19px;
  margin: 12px 0 6px;
}
.sdesc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 18px;
}
.submit.ghost {
  background: #fff;
  color: var(--brand);
  border: 1px solid #ddd6f7;
  margin-top: 10px;
}
.submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.done {
  text-align: center;
  padding: 22px 6px;
}
.done .ic {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
}
.done h1 {
  margin: 0 0 8px;
}
.done p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
